/*
 Theme Name:   Divi Child
 Theme URI:    http://www.elegantthemes.com/gallery/divi/
 Description:  Divi Child Theme
 Author:       Fabricio Q
 Author URI:   http://www.circleback.com
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  divi-child
*/

/************************** OVERRIDDEN STUFF **********************/
@import url('override.css');

/************************** SECTIONS STUFF ************************/
@import url('sections.css');

/************************** HEADSHOTS ************************/
@import url('custom_modules/person_overlay.css');

/************************** CF7 STYLES ************************/
@import url('contact_form.css');

/************************** RESPONSIVE ****************************/
@import url('responsive.css');

/************************** FONTS  *******************************/
@import url('fonts.css');


/************************** BODY *******************************/

body {
    font-family: "MuseoSans-300", "Open Sans", Helvetica, Arial, sans-serif;
}

/************************** TOP BANNER *******************************/

.et_fixed_nav #top-header {
    max-height: 27px;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(36,36,36,0.51);
}

#cb-banner {
    max-height: 27px;
    overflow: hidden;
}

/************************** HEADER *******************************/

#top-menu-nav {
    font-family: MuseoSans-300, serif;
    font-weight: 300;
}

#top-menu-nav li a {
    color:#666;
}

.et-fixed-header ul#top-menu a.current_page_item,
ul#top-menu a.current_page_item,
ul#top-menu a.current_page_parent {
    color: #568CE8 !important;
}
#top-menu-nav .menu-item-has-children > a:first-child {
	padding-right:0px;
	padding-bottom:17px !important;
}
#top-menu .menu-item-has-children > a:first-child:after {
    content: '';
    margin-top: -2px;
}
    /* home not fixed navbar*/

body.home .logo_container > a { /* hide default logo image only in home = black voodoo */
    display: inline-block;
    width: 191px;
    height: 31px;
    background: transparent url('images/cb_logo_white_201x41.svg') no-repeat 0 0;
    margin-top:21px;
    background-size: 191px 31px;
}
body.home .logo_container #logo {
    display: none;
	height:31px;
	width:158px;
}
body.home #top-menu-nav > #top-menu > li > a {
    color: #FFFFFF;
}

body.home #top-menu-nav > #top-menu > li > a:first-child:after {
	content:'';
	margin-top:-2px;
}

    /* not home pages and homepage's fixed navbar */

body.home #main-header.et-fixed-header .logo_container > a {
    background: none;
}

body.home #main-header.et-fixed-header .logo_container #logo {
    display: inline-block;
    max-height: none;
}

body.home #main-header.et-fixed-header #top-menu > li a {
    color: #666;
}

body:not(.home) #main-header {
    background-color: white;
    box-shadow:         rgba(0, 0, 0, 0.0980392) 0 1px 0 0;
    -webkit-box-shadow: rgba(0, 0, 0, 0.0980392) 0 1px 0 0;
    -moz-box-shadow:    rgba(0, 0, 0, 0.0980392) 0 1px 0 0;
}

body #main-header.et-fixed-header {
    box-shadow:         0 0 7px rgba(0, 0, 0, 0.1) !important;
    -webkit-box-shadow: 0 0 7px rgba(0, 0, 0, 0.1) !important;
    -moz-box-shadow:    0 0 7px rgba(0, 0, 0, 0.1) !important;
    left: 0;
    top: 0 !important;
    -webkit-transition: top 0.3s;
    transition: top 0.3s;
}

#top-menu-nav li.current_page_ancestor > a {
    color: #568ce8;
    font:500 18px MuseoSans-500, sans-serif;
}

#top-menu-nav li.current_page_ancestor .children li.current_page_item a{
    color: #568ce8;
    font:500 18px MuseoSans-500, sans-serif;
}

.et-show-dropdown .et-hover a:hover {
    color:#568ce8 !important;
}
/************************** STICKY MENU **************************/

body:not(.home) .et-fixed-header { display:none; }

#stickymenu li.current-menu-item a {
    color: #568ce8;
    /*font:500 18px MuseoSans-500, sans-serif;*/
}
/************************** BUTTONS ******************************/

.cb_button_big,
.cb_button_big:hover,
body #page-container a.cb_button_big,
body #page-container a.cb_button_big:hover { /* need to win precedence over Divi's styles */
    height: 41px !important;
    max-height: 41px !important;
    padding-top: 7px !important;
    background: #568CE8 !important;
    border: 1px solid #FFFFFF !important;
    border-radius: 4px;
    font-family: MuseoSans-700, serif !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    color: #FFFFFF !important;
    white-space: nowrap !important;
}

/************************** FOOTER ******************************/

/* since the copyright line and the social icons have to be inline with the menu widget */
#menu-footer {
    float: left;
    color: #919191;
}
    #menu-footer a {
        font: 300 14px MuseoSans-300, sans-serif;
        color: #919191
    }
    #menu-footer a:hover {
        color: #bbbbbb;
    }


/* social icons */
#footer-bottom {
    float: right;
    background: transparent;
}
    /* crunch base icon */
    #footer-bottom .et-social-icon.et-social-crunchbase a.icon {
        width: 24px;
        height: 26px;
        display: inline-block;
        background: transparent url('images/crunchbase-icon.svg') no-repeat 0 4px;
        -webkit-background-size: 24px 22px;
        background-size: 24px 22px;
    }
    #footer-bottom .et-social-icon.et-social-crunchbase a.icon:hover {
        background-image: url('images/crunchbase-icon-active.svg');
    }


/* Copyright */
#footer-info {
    display: block;
    padding: 15px 278px 10px 450px;
    margin-bottom: -45px;
    float: none;
    text-align: center;
    font: 500 14px MuseoSans-500, sans-serif;
    color: #919191;
}

/* ROI Calculator */
#calculator {
    /*max-width:800px;*/
    float:none;
    overflow:hidden;
    margin:0 auto;
    padding:0;
 	font-size: 18px !important;
}
#calculator input {
  -webkit-appearance: unset !important;
 display: block;
 border: 1px solid #666666;
 margin-bottom: 20px;
 padding: 10px 5px;
 color:#4a4a4a;
 font-weight: bolder;
 font-family: "MuseoSans-600", "Open Sans", Helvetica, Arial, sans-serif !important;
 font-size: 18px !important;
}
#calculator label { 
    float:left;
    margin:0 auto 3px;
    padding:0;
 width: 100%;
}
#calculator p { 
    line-height:1.5;
}
#calculator strong {
 display: block !important;
 font-weight: 600 !important;
 margin: 0px;
}
#calculator h2 strong {
    margin: 15px 0 0px;
}
#calculator fieldset {
 border: 1px solid #dedede;
 grid-gap: 20px;
 padding:20px !important;
 margin-bottom: 50px !important;
	background:#fbfbfb;
	border-radius: 3px;
}
#calculator fieldset h2 {
    margin:30px 0 0px !important
}
#calculator fieldset h3 {
    background: #568ce8;
    color: #fff;
    padding: 5px 9px !important;
    border-radius: 3px;
    font-size: 18px;
}
#calculator #step1 {
 grid-template-columns: 1fr 1fr 1fr;
}
#calculator #step2 {
 grid-template-columns: 1fr 1fr;
 grid-template-rows: 1fr 1fr;
}
#calculator #step3 {
 grid-template-columns: 1fr 1fr 1fr;
 grid-template-rows: 1fr 1fr;
}
#calculator #step3 > .inputWrapper {
 grid-column: 1/4;
}
#calculator #step5 {
 grid-template-columns: 1fr 1fr;
 grid-template-rows: 1fr 1fr;
}
#calculator #step5 > h2 {
 grid-column: 1/3;
}
#calculator input[type=number]::-webkit-inner-spin-button, 
#calculator input[type=number]::-webkit-outer-spin-button {  
   opacity: 1;
}

@media(max-width:980px){
	#step5 {
		position: static !important;
		max-width: 100% !important;
	}
}

@media(max-width:479px){
	#calculator input[type="number"] {
		width: 100%;
		float: left;
	}
}	
.scroll-head #step5 {
	position:fixed;
	top:10px;
	width: 100%;
	max-width: 320px;
}
.et_pb_section_parallax .et_pb_parallax_css, .et_pb_slides .et_parallax_bg.et_pb_parallax_css{
	background-attachment: inherit;
}

.cb_per_info{overflow-x: auto;overflow-y: auto;max-height:700px;}
.cb_per_info table tbody tr td{padding: 6px 10px;border: 1px solid #ddd;vertical-align:top;}
.cb_per_info table tbody tr:first-child {background-color:#f3f3f3;}
.cb_per_info table tbody tr:first-child td{padding: 10px;}
.cookieconsent{position: fixed;padding: 20px;left: 0;bottom: 0;background-color: #222;color: #FFF;text-align: center;width: 100%;z-index: 99999;}
.cookieconsent span {margin-right: 15px;line-height: 25px;}
.cookieconsent span a{color: #568ce8;}
.cookieconsent a:nth-child(2) {color: #ffffff!important;background: #0daeba;border-color: #ffffff;border-radius: 4px;letter-spacing: 0px;font-size: 16px;padding: 10px 10px;display: inline-block;border: 2px solid #fff;}
.cookieconsent a:nth-child(2) span {color: #FFFFFF;margin-right: 5px;}
