/*
 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: 126px!important; /* CHANGE THIS VALUE TO MATCH THE ONE SET ON THE WEBSITE IN JS */
    }
}

.lead {
    font-size: 18px;
    line-height: 1.6em;
}

@media only screen and (max-width: 980px) {
    .et_header_style_left #logo, .et_header_style_split #logo {
        max-width: 75%;
    }
}

#main-header {
    border-bottom: 2px solid #F6BD5A;
}

#main-footer #footer-bottom, #main-footer {
    border-top: 1px solid #d1d1d1;
}

body {
    overflow-x: hidden;
}

h4.title {
    padding-bottom: 10px
}

/* /////////////////////////////////////////*/
/* ------- FULLWIDTH HEADER HOMEPAGE ------ */
/* /////////////////////////////////////////*/

h1.home-header-text {
    font-size: 40px;
}

.home-header h4 {
    font-size: 24px;
}

.header-text {
    max-width: 230px;
}

.header-arrow {
    float: right;
    margin-top: -30px;
}

@media only screen and (max-width: 1330px) {
    h1.home-header-text {
        font-size: 35px;
    }
    .header-arrow {
        margin-top: -10px;
        margin-left: 20px;
    }
}

@media only screen and (max-width: 640px) {
    h1.home-header-text {
        font-size: 30px;
    }
    .home-header.et_pb_section_0 {
        padding: 10px 0;
        background-size: 120%!important;
    }
    .header-text .lead {
        font-size: 16px;
    }
}

@media only screen and (max-width: 479px) {
    h1.home-header-text {
        font-size: 24px;
    }
    .home-header.et_pb_section_0 {
        padding: 0;
        background-size: 150%!important;
    }
}

@media only screen and (max-width: 390px) {
    h1.home-header-text {
        display: none;
    }
    .home-header.et_pb_section_0 {
        padding: 0;
        background-size: 200%!important;
    }
}


@media only screen and (max-width: 980px) {
    .header-arrow {
        display: none;
    }
    .header-column-2 {
        display: none;
    }
    .swirl {
        display: none;
    }
    .header-text {
        max-width: 100%;
    }
}

.et_pb_fullwidth_header.wn_fullwidth_header_home .et_pb_fullwidth_header_container.center .header-content {
	width: 100%;
}

@media only screen and (max-width: 767px) {
    .wn_fullwidth_header_home {
        padding: 50px 0;
    }
}

/* Specifically for the iPhone 4 */
@media only screen and (max-height: 500px) {
    .wn_fullwidth_header_home {
        padding: 30px 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;
    }
}

/* /////////////////////////////////////////*/
/* --------- FULLWIDTH HEADER HOME -------- */
/* /////////////////////////////////////////*/

.wn_fullwidth_header_home .et_pb_fullwidth_header_overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45) url(/wp-content/uploads/2016/12/pattern.png) center top repeat;
    z-index: 0;
}

/* /////////////////////////////////////////*/
/* ------------ GENERAL SETTINGS ---------- */
/* /////////////////////////////////////////*/

/* Setting the breakpoint of the mobile menu */
@media only screen and (max-width: 981px) {
    #top-menu-nav, #top-menu {
        display: none;
    }

    #et_top_search {
        display: none;
    }

    #et_mobile_nav_menu {
        display: block;
    }
}

#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 #ed143d;
  position: absolute;
  right: 25px;
}

.et_mobile_menu .menu-item-has-children > a.change-arrow:after {
    border-bottom: 7px solid #ed143d;
    border-top: none;
}

@media only screen and (min-width: 1081px) and (max-width: 1250px) {
    #main-header .container {
        width: 95%;
        margin: auto;
    }
}

@media only screen and (max-width: 981px) {
    #main-header .container {
        width: 80%;
        max-width: 1080px;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 980px) {
	.home-header .box {
		background-color: #fff
	}
}

/* /////////////////////////////////////////*/
/* --------------- TYPOGRAPHY --------------*/
/* /////////////////////////////////////////*/

h1 {
    font-size: 45px;
}

@media only screen and (max-width: 980px) {
    h1 {
        font-size: 36px;
    }
}

@media only screen and (max-width: 767px) {
    h1 {
        font-size: 32px;
    }
}

@media only screen and (max-width: 479px) {
    h1 {
        font-size: 26px;
    }
}

h2 {
    font-size: 37px;
    font-weight: bold;
}

@media only screen and (max-width: 980px) {
    h2 {
        font-size: 33px;
    }
}

@media only screen and (max-width: 767px) {
    h2 {
        font-size: 29px;
    }
}

@media only screen and (min-width: 341px) and (max-width: 377px) {
	#header-section h1 {
		font-size: 24px;
	}
}

@media only screen and (max-width: 340px) {
    body h2 {
        font-size: 20px;
    }
    body h1 {
    	font-size: 22px;
    }
}

h3 {
    font-size: 30px;
    font-weight: bold;
}

@media only screen and (max-width: 980px) {
    h3 {
        font-size: 26px;
    }
}

@media only screen and (max-width: 767px) {
    h3 {
        font-size: 22px;
    }
}

h4 {
    font-weight:bold;
    padding-bottom:3px;
}

.list li {
    padding-bottom: 10px;
}

.big-intro, .wn_fullwidth_header_home .et_pb_fullwidth_header_subhead, .wn_fullwidth_header .et_pb_fullwidth_header_subhead {
    font-weight: 400;
    font-size: 24px;
    line-height: 1.2em;
}

@media only screen and (max-width: 980px) {
    .wn_fullwidth_header_home .et_pb_fullwidth_header_subhead {
        font-size: 16px;
    }
}

.intro {
    font-size: 18px;
    line-height: 1.6em;
}

/* /////////////////////////////////////////*/
/* ----------------- FORMS ---------------- */
/* /////////////////////////////////////////*/

.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), 
.gform_wrapper select, 
.gform_wrapper textarea {
    background-color: #fff;
    border: 1px solid #c1c1c1;
    border-radius: 2px;
    font-size: 14px;
    color: #212121;
    padding: 6px 15px;
    box-sizing: border-box;
}

.gform_wrapper input[type=button], .gform_wrapper input[type=submit] {
    font-size: 18px!important;
    font-weight: bold;
    display: inline-block;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    border-radius: 3px;
    background-color: #0c71c3;
    cursor: pointer;
    transition: all 0.2s linear;
    border: 1px;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    line-height: 1.7em;
    display: inline-block;
    padding: 0.4em 1em;
    box-shadow: 0 4px 0 #085ea0;
    border: none;
    backface-visibility: hidden;
}

.gform_wrapper input[type=button]:hover, .gform_wrapper input[type=submit]:hover {
    background-color: #085ea0;
    box-shadow: 0 4px 0 #054a7f;
}

.gform_wrapper .gf_readonly input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
    background-color: #f2f2f2;
}



@media only screen and (min-width: 641px) {

    body .gform_wrapper ul li.field_description_below div.ginput_container_checkbox {
        margin-top: 0!important;
    }

    .gfield.gf_list_inline.no_top_margin.field_sublabel_below.field_description_below.hidden_label.gfield_visibility_visible {
        margin-top: 8px!important;
    }
}

.gform_wrapper ul.gform_fields .gsection {
    margin: 0;
}

.ui-datepicker-header {
    background-color: #1e73be!important;
    border-color: #1e73be!important;
}

body .gform_wrapper ul.gfield_checkbox li input[type=checkbox], body .gform_wrapper ul.gfield_radio li input[type=radio] {
    width: 20px!important;
    height: 20px!important;
}

body .gform_wrapper .gform_page_footer .button.gform_previous_button {
    display:none;
}

@media only screen and (min-width: 640px) {
    #field_1_56 {
        float: right;
        padding-left: 30px;
        margin-top: -60px;
    }
}

.invisible_field {
    padding: 0;
    margin: 0;
    height: 0;
    width: 0;
}

/* /////////////////////////////////////////*/
/* ----------- HEADER CTA BUTTON ---------- */
/* /////////////////////////////////////////*/

li.contact-us {
    padding: 10px 3%;
}

@media only screen and (min-width: 981px) {
    li.contact-us {
        display:none!important;
    }
}

.contact-us a,.et-fixed-header .contact-us a {
    color: #444!important;
    font-size: 16px!important;
    display: inline-block!important;
    border-radius: 7px;
    background-color: #F6C55A!important;
    cursor: pointer;
}

.contact-us a:hover,.et-fixed-header .contact-us a:hover,.contact-us a:focus,.et-fixed-header .contact-us a:focus,.contact-us a:active,.et-fixed-header .contact-us a:active {
    background-color: #d6ab4f!important;
}

.et-fixed-header.contact-us a:hover {
    color: #fff!important;
}

#header-btn {
    font-size: 18px!important;
    float: right;
    margin: 41px 0 0 20px;
    font-size: 20px;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    transition: all .2s linear;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    background-color: #F6C55A;
    color: #444;
    padding: 0.6em 1.2em;
    border-radius: 7px;
    transition: all .4s ease-in-out;
}

.et-fixed-header #header-btn {
    margin: 16px 0 0 20px;
}

#header-btn:hover {
    background: #d6ab4f;
    color: #212121;
}

@media only screen and (max-width: 1080px) {
    #header-btn {
        display: none;
    }
}

@media only screen and (min-width: 1081px) {
    li.menu-btn {
        display: none!important;
    }
}

.link-arrow:after {
    content: "";
    width: 6px;
    height: 6px;
    border: 3px solid #444;
    border-width: 3px 3px 0 0;
    transform: rotate(45deg);
    display: inline-block;
    position: relative;
    left: 8px;
    top: -1px;
    transition: all .2s linear;
}

.menu-item.link-arrow:after {
    left: initial;
    right: 20px;
}

/* /////////////////////////////////////////*/
/* -------------- 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 #ed143d;
}

.caldera-grid .caldera-btn.btn {
    font-size: 18px;
    padding: .3em 1em;
    background-color: #ed143d;
    border: 2px solid #ed143d;
}

.caldera-grid .caldera-btn.btn:hover {
    background-color: transparent;
    border: 2px solid #ed143d;
    color: #ed143d;
}

.btn:hover, .et_pb_button:hover {
    background-color: transparent;
    color: #ed143d;
}

.green-btn {
    background: #4caf50;
    color: #fff;
    border: 2px solid #4caf50;
}

.green-btn:hover {
    background: transparent;
    border: 2px solid #4caf50;
    color: #4caf50;
}

/* Essential grid hover */

.fade:hover    {
        opacity:0.9;
        background-color: rgba(12,113,195,0.25) !important; 
}

/* Footer widget styling */

#footer-widgets p {
font-size: 18px;
color: #f2f2f2;
}


.wn-quote-form .caldera-grid .form-control {
    background-color: #f9f9f9;
    border: 1px solid #d1d1d1!important;
    width: 100%;
    border-radius: 4px;
    color: #212121;
    padding: 10px 15px!important;
    box-sizing: border-box;
    box-shadow: unset !important;
}

.wn-quote-form {
    text-align: left;
}

.wn-quote-form .caldera-grid label {
    font-size: 16px!important;
}

#quote-header.wn_fullwidth_header {
    padding: 220px 0!important;
}

#overlap-section.et_pb_section h2 {
    font-size: 52px;  
}

#overlap-section.et_pb_section .quote-row.et_pb_row {
    margin-top: -580px;
}

@media only screen and (max-width: 1117px) {
    #overlap-section.et_pb_section .quote-row.et_pb_row {
        margin-top: -550px;
    }
}

@media only screen and (max-width: 980px) {
    #overlap-section.et_pb_section .quote-row.et_pb_row {
        margin-top: -445px;
    }
    #quote-header.wn_fullwidth_header {
        padding: 170px 0!important;
    }
}

@media only screen and (max-width: 479px) {
    #overlap-section.et_pb_section .quote-row.et_pb_row {
        width: 85%;
    }
}

.box {
    background-color: #fff;
    box-shadow: 0 0 3px 0 #e2e2e2;
    border-radius: 4px;
    margin-bottom: 30px;
}

@media only screen and (min-width: 768px) {
    .quote-form-bottom {
        max-width: 400px;
    }
}

.line-break {
    display: none;
}

@media only screen and (min-width: 981px) and (max-width: 1237px) {
    .line-break {
         display: initial;
    }
}

@media only screen and (min-width: 981px) {
    #mobile-btn {
        display: none;
    }
}

@media only screen and (max-width: 980px) {
	.usp-row .et_pb_column .et_pb_blurb {
		border-right: none;
	}
}