/*
 Theme Name:     Divi Child Theme by WebNexus
 Theme URI:      https://www.webnexus.nl/
 Description:    Divi Child Theme by WebNexus
 Author:         WebNexus
 Author URI:     https://www.webnexus.nl
 Template:       Divi
 Version:        2.0
*/
 
/* Start your custom CSS below this comment
============================================ */ 

/* /////////////////////////////////////////*/
/* ------------- LOADING SCREEN ----------- */
/* /////////////////////////////////////////*/
@media only screen and (min-width: 981px) {
    div#page-container {
        padding-top: 99px!important; /* CHANGE THIS VALUE TO MATCH THE ONE SET ON THE WEBSITE IN JS */
    }
}

/* /////////////////////////////////////////*/
/* ------ FULLWIDTH SLIDER HOMEPAGE ------- */
/* /////////////////////////////////////////*/

.wn_fullwidth_slider_home .et_pb_slide_description {
    padding: 120px 0;
}

@media only screen and (max-width: 767px) {
    .wn_fullwidth_slider_home .et_pb_slide_description {
        padding: 50px 0;
    }

    .wn_fullwidth_slider_home .et_pb_slides .et_pb_container {
        width: 100%!important;
    }
}

@media only screen and (max-height: 500px) {
    .wn_fullwidth_slider_home .et_pb_slide_description {
        padding: 20px 0;
    }
}

@media only screen and (min-width: 767px) {
    .et_pb_slider .et_pb_slide_description {
        width: 70%;
    }
}


/* /////////////////////////////////////////*/
/* ------- FULLWIDTH HEADER HOMEPAGE ------ */
/* /////////////////////////////////////////*/

.wn_fullwidth_header_home {
    padding: 230px 0 250px 0;
}

@media only screen and (max-width: 767px) {
    .wn_fullwidth_header_home {
        padding: 130px 0;
    }
}

/* Specifically for the iPhone 4 */
@media only screen and (max-height: 500px) {
    .wn_fullwidth_header_home {
        padding: 80px 0;
    }
}

.wn_fullwidth_header_home.et_pb_fullwidth_header p {
    line-height: 1.3em!important;
}


/* /////////////////////////////////////////*/
/* ------------ FULLWIDTH HEADER ---------- */
/* /////////////////////////////////////////*/

.wn_fullwidth_header {
    padding: 80px 0 70px 0;
}

@media only screen and (max-width: 767px) {
    .wn_fullwidth_header {
        padding: 50px 0;
    }
}

/* Specifically for the iPhone 4 */
@media only screen and (max-height: 500px) {
    .wn_fullwidth_header {
        padding: 30px 0;
    }
}


/* /////////////////////////////////////////*/
/* ------------ GENERAL SETTINGS ---------- */
/* /////////////////////////////////////////*/

/* Setting the breakpoint of the mobile menu */
@media only screen and (max-width: 1080px) {
    #top-menu-nav, #top-menu {
        display: none;
    }

    #et_top_search {
        display: none;
    }

    #et_mobile_nav_menu {
        display: block;
    }
}

@media only screen and (max-width: 980px) {
    .et_header_style_left #logo, .et_header_style_split #logo {
        max-width: 60%;
    }
}

#main-content {
    min-height: calc(100vh - 153px);
}

/* /////////////////////////////////////////*/
/* ---------------- SUBMENU --------------- */
/* /////////////////////////////////////////*/

.nav li ul {
    padding: 10px 0;
    width: 220px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

#top-menu li {
    cursor: pointer;
}

#top-menu li li {
    padding: 0 10px;
}

/* /////////////////////////////////////////*/
/* -------------- MOBILE MENU ------------- */
/* /////////////////////////////////////////*/

/* Change the width of the mobile menu */
@media only screen and (max-width: 980px) {
    .et_mobile_menu {
        margin-left: -12.5%;
        width: 125%;
    }
}

/* Change the icon of the mobile menu to an X ("\4d") when opened */
.mobile_nav.opened .mobile_menu_bar:before {
    content: "\4d";
}

/* ////////// Mobile menu nested ///////// */
.et_mobile_menu .menu-item-has-children > a {
    background-color: transparent;
}

#main-header .et_mobile_menu li ul.sub-menu.hide {
    display: none !important;
    visibility: hidden !important;
    transition: all 1.5s ease-in-out;
}

#main-header .et_mobile_menu li ul.sub-menu.visible {
    display: block !important;
    visibility: visible !important;
}

.et_mobile_menu .menu-item-has-children > a:after {
  content: '';
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #ff7043;
  position: absolute;
  right: 25px;
}

.et_mobile_menu .menu-item-has-children > a.change-arrow:after {
    border-bottom: 7px solid #ff7043;
    border-top: none;
}


/* /////////////////////////////////////////*/
/* --------------- TYPOGRAPHY --------------*/
/* /////////////////////////////////////////*/

h1 {
    font-size: 45px!important;
    font-weight: bold!important;
}

@media only screen and (max-width: 980px) {
    h1 {
        font-size: 36px!important;
    }
}

@media only screen and (max-width: 767px) {
    h1 {
        font-size: 32px!important;
    }
}

@media only screen and (max-width: 479px) {
    h1 {
        font-size: 26px!important;
    }
}

h2 {
    font-size: 37px!important;
    font-weight: bold;
}

@media only screen and (max-width: 980px) {
    h2 {
        font-size: 33px!important;
    }
}

@media only screen and (max-width: 767px) {
    h2 {
        font-size: 29px!important;
    }
}

h3 {
    font-size: 30px!important;
    font-weight: bold;
}

@media only screen and (max-width: 980px) {
    h3 {
        font-size: 26px!important;
    }
}

@media only screen and (max-width: 767px) {
    h3 {
        font-size: 22px!important;
    }
}

h4 {
    font-weight:bold;
    padding-bottom:3px;
}

.lead, .wn_fullwidth_header_home .et_pb_fullwidth_header_subhead, .wn_fullwidth_header .et_pb_fullwidth_header_subhead {
    font-weight: 400;
    font-size: 20px;
    line-height: 1.3em;
}

@media only screen and (max-width: 980px) {
    .lead, .wn_fullwidth_header_home .et_pb_fullwidth_header_subhead {
        font-size: 16px;
    }
}


/* /////////////////////////////////////////*/
/* ----------------- FORMS ---------------- */
/* /////////////////////////////////////////*/

.caldera-grid .form-control {
    background-color: #fff;
    border: 1px solid #d1d1d1!important;
    width: 100%;
    border-radius: 4px;
    font-size: 16px!important;
    color: #212121;
    padding: 15px!important;
    box-sizing: border-box;
    height: unset !important;
    box-shadow: unset !important;
}

textarea {
    resize: vertical;
}



/* /////////////////////////////////////////*/
/* ------------------ BLOG ---------------- */
/* /////////////////////////////////////////*/


.wn-blog .et_pb_post a img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.wn-blog .et_pb_post.has-post-thumbnail {
    display: -webkit-flex;
    display: -webkit-box;
    display: -moz-box;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: column wrap;
    flex-flow: column wrap;
}

.wn-blog .et_pb_post.has-post-thumbnail a + .blog-meta {
    -webkit-box-ordinal-group: -1;
    -moz-box-ordinal-group: -1;
    -webkit-order: -1;
    -ms-flex-order: -1;
    order: -1;
}

.wn-blog .et_pb_posts .et_pb_post {
    background-color: #fff;
    margin-bottom: 0;
    border-bottom: 1px solid #e2e2e2;
}

.wn-blog .et_pb_posts .et_pb_post .blog-meta {
    padding: 30px 30px 20px 30px;
}

.wn-blog .et_pb_posts .et_pb_post .blog-meta > a {
    background: #c1c1c1;
    padding: 6px 12px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    color: #fff!important;
    font-family: 'Source Sans Pro', helvetica, sans-serif;
}

.wn-blog .et_pb_posts .et_pb_post .blog-meta > .entry-title {
    margin-top: 10px;
    padding-bottom: 5px;
    font-size: 33px;
    line-height: 1.1em;
}

.wn-blog .et_pb_posts .et_pb_post .blog-meta > .post-meta {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

.wn-blog .et_pb_posts .et_pb_post .blog-meta > .post-meta > .published {
    margin-right: 20px;
}

.wn-blog .et_pb_posts .et_pb_post .post-content p {
    font-size: 16px!important;
    padding: 20px 30px 10px 20px;
    line-height: 1.6em;
}

.wn-blog .et_pb_posts .et_pb_post .post-content > .more-link {
    font-size: 16px!important;
    margin: 5px 30px 30px 20px;
    padding:  2px 12px;
    background-color: #ff7043;
    border-radius: 6px;
    display: inline-block;
    color: #fff;
    border: 2px solid #ff7043;
    -webkit-transition: all 0.15s linear;
    -moz-transition: all 0.15s linear;
    transition: all 0.15s linear;
    box-shadow: 0 2px 0 #c76f45;
}

.wn-blog .et_pb_posts .et_pb_post .post-content > .more-link:hover {
    background-color: transparent!important;
    color: #ff7043!important;
    box-shadow: none;
}

.wn-blog p, .wn-blog .et_pb_sidebar_0 li {
    font-size: 16px;
    line-height: 1.6em;
}

.wn-blog .et_pb_sidebar_0 #text-19 {
    padding: 30px 20px 30px 20px;
    background-color: #d2d2d2;
}

@media only screen and (max-width: 767px) {
    .wn-blog .et_pb_row {
        width: 100%;
        padding: 0;
    }
    .wn-blog .pagination {
        padding: 0 20px;
    }
    .wn-blog .et_pb_widget_area.et_pb_sidebar_0 #bloomwidget-7 {
        margin-bottom: 0!important;
    }
}

.et_bloom .with_edge .et_bloom_form_header:after, .et_bloom .with_edge .et_bloom_form_content:before { 
    display: none!important; 
} 
.et_bloom .et_bloom_widget_content .et_bloom_form_container .et_bloom_form_content { 
    padding: 0 20px 30px 20px!important; 
} 

#main-footer .et_bloom .et_bloom_form_header img { 
    margin:0!important; 
    padding: 15px 0!important; 
}
.wn-blog #bloomwidget-7 > div > div > div > div.et_bloom_header_outer > div { 
    padding: 30px 20px 0 20px!important;  
}

.wn-blog #bloomwidget-7 > div > div > div > div.et_bloom_header_outer > div > div > p {
    margin-bottom: 10px;
}

/* /////////////////////////////////////////*/
/* ----------- SINGLE POST LAYOUT --------- */
/* /////////////////////////////////////////*/

.single-post div#left-area .et_pb_post {
    padding: 40px!important;
    background-color: #fff;
    box-shadow: 0 3px 3px #e2e2e2;
    border-radius: 4px;
    margin-bottom: 20px;
}

.single-post #main-content {
    background-color: #f2f2f2!important;
}

.single-post h1.entry-title {
    font-size: 36px!important;
}

@media only screen and (max-width: 767px) {
    .single-post #main-content > .container {
        width: 90%;
    }

    .single-post h1.entry-title {
        font-size: 30px!important;
    }
}

@media (min-width: 981px) {
    .single-post #left-area {
        width: 70%;
    }
}

@media (min-width: 981px) {
    .single-post #content-area > div#sidebar {
        padding-left: 0;
        width: 25.5%;
    }
}

@media (min-width: 981px) {
    .single-post #main-content .container:before {
        width: 0;
    }
}

@media only screen and (max-width: 980px) {
    .single-post .et_pb_widget.widget_bloomwidget {
        display: none;
    }
}

/* /////////////////////////////////////////*/
/* ----------- HEADER CTA BUTTON ---------- */
/* /////////////////////////////////////////*/

.menu-btn a {
    color: #fff!important;
    font-size: 16px!important;
    background-color: #4caf50!important;
    display: inline-block!important;
    border-radius: 3px;
}

.menu-btn a:hover {
    background-color: transparant;
}

.et-fixed-header {
    border-bottom: 1px solid #e2e2e2;
}

.et-fixed-header .menu-btn a {
    color: #fff!important;
}

.et-fixed-header.menu-btn a:hover {
    color: #fff!important;
}

li.menu-btn {
    padding: 9px 12px!important;
}

.et-fixed-header #top-menu .menu-btn a {
    color: #fff!important;
}

.menu-btn li.current-menu-ancestor > a, .menu-btn li.current-menu-item > a {
    color: #fff!important;
}

#header-btn {
    float: right;
    font-size: 18px!important;
    padding: 0.3em 1em!important;
    display: inline-block;
    color: #ffffff;
    text-align: center;
    margin: 29px 0 0 20px;
    vertical-align: middle;
    background-color: #009688;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    border: 2px solid #009688;
}

.et-fixed-header #header-btn {
	margin-top: 12px;
}

#header-btn:hover {
    background: transparent;
    border: 2px solid #009688;
    color: #009688;
}

@media only screen and (max-width: 1080px) {
    #header-btn {
        display: none;
    }
}

@media only screen and (min-width: 1081px) {
    li.menu-btn {
        display: none!important;
    }
}

/* /////////////////////////////////////////*/
/* -------------- OTHER BUTTONS ----------- */
/* /////////////////////////////////////////*/
.btn, .et_pb_button {
    font-size: 18px;
    font-family: 'Source Sans Pro', Helvetica, Arial, Lucida, sans-serif;
    color: #fff;
    line-height: 1.7em;
    display: inline-block;
    border-radius: 6px!important;
    position: relative;
    -webkit-transition: all 0.15s linear;
    -moz-transition: all 0.15s linear;
    transition: all 0.15s linear;
    cursor: pointer;
    font-weight: 500;
    padding: .3em 1em;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    border: 2px solid ##009688;
}

.caldera-grid .caldera-btn.btn {
    font-size: 18px;
    padding: .3em 1em;
    background-color: #009688;
    border: 2px solid #009688;
}

.caldera-grid .caldera-btn.btn:hover {
    background-color: transparent;
    border: 2px solid #009688;
    color: #009688;
}

.btn:hover, .et_pb_button:hover {
    background-color: transparent;
    color: #009688;
}

.green-btn {
    background: #4caf50;
    color: #fff;
    border: 2px solid #4caf50;
}

.green-btn:hover {
    background: transparent;
    box-shadow: none;
    border: 2px solid #4caf50;
    color: #4caf50;
}

.morecontent span {
    display: none;
}
.morelink {
    display: block;
}

.et_pb_sum, .et_pb_pricing li a, 
.et_pb_pricing_table_button, 
.et_overlay:before, .et_pb_member_social_links a:hover, 
.woocommerce-page #content input.button:hover .et_pb_widget li a:hover, 
.et_pb_bg_layout_light .et_pb_promo_button, .et_pb_bg_layout_light.et_pb_module.et_pb_button, 
.et_pb_bg_layout_light .et_pb_more_button, .et_pb_filterable_portfolio .et_pb_portfolio_filters li a.active, 
.et_pb_filterable_portfolio .et_pb_portofolio_pagination ul li a.active, 
.et_pb_gallery .et_pb_gallery_pagination ul li a.active, .et_pb_contact_submit, 
.et_pb_bg_layout_light .et_pb_newsletter_button {
    color: #fff;
}

/* Contact menu item on mobile */

@media only screen and (min-width: 1081px) {
    .contactmenu {
		display: none !important;
	}
}

/* Submit Button Gravity Forms
-----------------------------*/
body .gform_wrapper .gform_footer input[type=submit] {
color: #FFFFFF;
background: green;
font-size: 19px;
letter-spacing: 1px;
float: left;
height: 40px;
min-width: 180px;
border: none;
border-radius: 5px;
margin-left: 12px;
transition: 0.3s;
}
body .gform_wrapper .gform_footer input:hover[type=submit] {
background: #494949;
}
