/*
Theme Name: Divi Child 01
Theme URI: 
Description: Child 01 theme for the Divi theme
Author: <a href="http://www.elegantthemes.com">Elegant Themes</a>
Author URI: 
Template: Divi
Version: 2.6.4.1
*/

/* Generated by Orbisius Child Theme Creator (http://club.orbisius.com/products/wordpress-plugins/orbisius-child-theme-creator/) on Thu, 18 Feb 2016 23:31:38 +0000 */ 

@import url('../Divi/style.css');

/* font weight issue ccr 20170210 */
#top-header .container, #et-top-navigation {
font-weight: 600;
}

/* bullet list padding  -- ccr 20160329*/
.entry-content ul {
padding:10px 10px 20px 20px;
}
.et_pb_text p {
	padding-bottom: 0.75em !important;
}

/* change h1 color ccr 20160325 */
h1 {
        color: #111E90 !important;
}

/* shrink image title on gallery page */
@media (min-width: 981px)
.et_pb_gallery_grid .et_pb_gallery_item h3, .et_pb_portfolio_grid .et_pb_portfolio_item h2, .et_pb_filterable_portfolio_grid .et_pb_portfolio_item h2 {
    font-size: 14px !important;
}

/* blurb module image spacing - reduce | ccr 20160308*/
.et_pb_main_blurb_image {
margin-bottom:10px;
}

/* Emphasize GTM mega menu top row */

#top-menu li.mega-menu > ul > li > a:first-child
{
  font-size: 1.2em !important;
  font-weight: 600 !important;
}

#top-menu li.mega-menu:hover > ul > li > a:first-child {
	visibility: visible !important;
	opacity: 2 !important;
}


/* align full width header left */
.et_pb_fullwidth_header .et_pb_fullwidth_header_container.left .header-content {
margin-left: 0;
padding-left: 0;
}

/* change blog title color to green */
/* Post title */
.et_pb_post h1:first-child { color: #46A510; }

/*** Modifications below for Gtm.com by Enervision Media (before Feb 25, 2016) ***/

/* Prevent 'My Account' menu from displaying on hover (must click to see it, else hides main menu below) */
.nav li a.gtm-fix {
    cursor: pointer;  
}

.nav li:hover > ul.gtm-fix {
    visibility: hidden;
    display: none;
}

.nav li:hover > ul.gtm-fix.show-me {
    visibility: visible;
    display: block;
}

/* line spacing nav menu */
#top-menu li li a {
    padding: 8px 20px;
    line-height: 15px;
}

/*** Top Blue-background Menu (top light-blue strip) ***/
#et-secondary-menu {
    float: none; /**** override style's choice of pushing it right: we want it flush left ****/
}

#et-secondary-menu .et-social-icons {
    float: right;
    margin-right: 0;    
}

/*** Top White-background Menu (right below top light-blue strip) ***/
.et_header_style_left .logo_container {
    position: relative;
    padding-top: 5px;
    margin-bottom: -25px;
}

.et_fixed_nav #logo {
    vertical-align: top;
    max-height: 1000px; /* simply has to be same or bigger than actual logo size so as to not reduce its size */
}

/* search box when displayed */
.container.et_search_form_container.et_pb_search_visible {
    margin-top: 30px;
}

/*** Extra Gtm.com Menu options as per Manny's design ***/
div#gtm-extra-menu {
    position: absolute;
    right: 0;
    top: 25px;
    width: 450px;
    text-align: right;
}

div#gtm-extra-menu a.sign-up {
    display: block;
    float: right;
    padding: 6px;
    border: 2px #46A510 solid;
    margin-right: 40px;
    position: relative;
    top: -7px;
    color: #46A510;
    font-family: "Lato", Arial, sans-serif;
    font-size: 0.9em;
}

div#gtm-extra-menu span.main-gtm-number {
    display: block;
    float: right;
    
   	font-family: 'Lato', sans-serif;
	font-size: 24px;
        font-weight: 600;
	color: #46A510;
	background: url("images/phone-120x135.png") no-repeat;
	background-size: 15px 17px;
	background-position: 0px 5px;
	padding-left: 18px; /* to not overwrite the bkg icon */
}

/* shrink space specialty header */
.et_pb_fullwidth_menu.et_pb_fullwidth_menu_0 .et_pb_row {
    padding: 0; /*** todo: Cliff to comment ***/
}

/* footer widget color */
.et_pb_widget a {
    color: #b2b2b2; 
}

/* REMOVE??? full width header to left */
.et_pb_fullwidth_header .et_pb_fullwidth_header_container.left .header-content {
    xmargin-left: 0 !important;
    xpadding-left: 0 !important;
}

/* Footer-Area Social Links (implemented as a sprite) */
div.social-links a {
	display: inline-block;
	width: 50px;
	height: 50px;
	background: no-repeat;
}

div.social-links a.facebook       { background: url(images/social-icons-sprite-50x50.png) 0 0; }
div.social-links a.facebook:hover { background: url(images/social-icons-sprite-50x50.png) 0 -50px; }
div.social-links a.twitter        { background: url(images/social-icons-sprite-50x50.png) -50px 0; }
div.social-links a.twitter:hover  { background: url(images/social-icons-sprite-50x50.png) -50px -50px; }
div.social-links a.linkedin       { background: url(images/social-icons-sprite-50x50.png) -100px 0; }
div.social-links a.linkedin:hover { background: url(images/social-icons-sprite-50x50.png) -100px -50px; }


@media only screen and (min-width: 981px) {

    /*** REMOVE??? ***/
    .et_header_style_split .mobile_menu_bar, 
    .et_header_style_left .mobile_menu_bar {
        xpadding-bottom: 12px; /* when hamburger not displayed, reduce space between end of header content and bottom of header edge */
    }

    .et_header_style_left #et-top-navigation {
        padding-top: 0;
    }
    
    /* remove white space between main nav and info above */
    .et_header_style_left #et-top-navigation, 
    .et_header_style_split #et-top-navigation {
        padding: 2px 0 0 0 !important;
    }

    .et_header_style_left #et-top-navigation nav > ul > li > a, 
    .et_header_style_split #et-top-navigation nav > ul > li > a {
        padding-bottom: 15px !important;
    }
}

@media only screen and (max-width: 1190px) {
    #top-menu li {
        padding-right: 12px; /* space between top-menu nav options */
    }
}

@media only screen and (max-width: 1130px) {
    #top-menu li {
        padding-right: 5px; /* space between top-menu nav options */
        font-size: 70%; /* also shrink overall menu width */
    }
    
    #logo {
        width: 155px; /* shrink logo */
    }
    
    div#gtm-extra-menu {
        width: 370px; /* shrink extra menu */
        top: 15px;
    }
    
    div#gtm-extra-menu span.main-gtm-number {
        font-size: 16px;
    }
    
    div#gtm-extra-menu a.sign-up {
        font-size: 14px;
    }

    .et_header_style_left .et-fixed-header #et-top-navigation, 
    .et_header_style_left #et-top-navigation {
        padding-top: 0;
    }
}


@media only screen and (max-width: 980px) {
    .fullwidth-menu {
        display: block;
    }
    
    .et_pb_fullwidth_menu .fullwidth-menu-nav {
        xdisplay: block !important; /*** REMOVE??? ***/
    }

    .et_pb_fullwidth_menu .mobile_menu_bar:before {
        xdisplay: none; /*** REMOVE??? ***/
    }

    .et_header_style_split .mobile_menu_bar, 
    .et_header_style_left .mobile_menu_bar {
        padding-bottom: 6px;    
    }

    /* SHOW SECONDARY ON MOBILE */
    #et-secondary-nav, 
    #et-secondary-menu {
        display: block !important;
    }

    #et-info, #et-secondary-menu > ul > li a {
	padding: 7px 0; /* change by frederic rudman sept 27, 2016 */
    }
}

@media only screen and (max-width: 768px) {
    div#gtm-extra-menu {
        width: 330px;
    }
    
    div#gtm-extra-menu a.sign-up {
        margin-right: 20px;
    }
    
    #et-secondary-menu {
        text-align: left;
    }
}

@media only screen and (max-width: 645px) {
    #logo {
        display: none;
    }
    
    div#gtm-extra-menu {
        width: 320px;
        left: 0;
        right: none;
    }
    
    .et_header_style_left .et-fixed-header #et-top-navigation, 
    .et_header_style_left #et-top-navigation {
        padding-top: 10px;
    }
    
    .et_header_style_split .mobile_menu_bar,
    .et_header_style_left .mobile_menu_bar {
        padding-bottom: 12px;
    }

    div#gtm-extra-menu a.sign-up {
        margin-right: 20px;
    }

    /* search box when displayed */
    .container.et_search_form_container.et_pb_search_visible {
        margin-top: 0;
        background: white; /* hides rest of header */
    }
}

@media only screen and (max-width: 535px) {
    #et_top_search {
        display: none;
    }
    
    div#gtm-extra-menu span.main-gtm-number {
        font-size: 14px;
    	background: none;
    	padding-left: 0;
    }

    
    div#et-secondary-menu ul.et-social-icons {
        display: none;
    }
    
    div#et-secondary-menu ul#et-secondary-nav {
        position: relative;
    }
    
    div#et-secondary-menu ul#et-secondary-nav li {
        display: none;
    }

    div#et-secondary-menu ul#et-secondary-nav li:first-child {
        display: block;
        text-align: center;
    }
}

/* HEADER - Smartphones/Small-screens */
@media only screen and (max-width: 480px) {
    div#gtm-extra-menu {
        width: 275px;
        padding-right: 7px;
    }
    
    div#gtm-extra-menu a.sign-up {
        margin-right: 10px;
    }
}

/* mostly for iPhones and very small screens */
@media only screen and (max-width: 400px) {
    div#gtm-extra-menu {
        width: 295px;
        padding-right: 17px;
    }

    #main-header .container {
        width: 100%;
    }
    
    #main-header nav .fullwidth-menu {
        padding-left: 5px;
    }
    
    #main-header .nav li:hover > ul {
        margin-top: -6px;
        margin-left: -5px;
    }
}

/* DEPRECATED modify bloom optin width 
.et_bloom_flyin {
max-width: 200 !important;
max-height: 500px !important;
}
*/

/* DEPRECATED change blog title color on blog summary page to orange 
.et_pb_post h2 a{
color:#ff6a02 !important;
}
*/