/*

 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0



/* 1. COLORS */

/* Force Poppins everywhere */
body,
body * {
    font-family: 'Poppins', sans-serif !important;
}

/* Ensure headings use Poppins too */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif !important;
}

/* Target Divi-specific elements */
#main-content,
.et_pb_text,
.et_pb_module,
.et_pb_section {
    font-family: 'Poppins', sans-serif !important;
}


/*  2. GENERAL STYLES   */

body:not(.logged-in) .hide-when-logged-out {
      display: none !important;
    }

/*  3. HEADER STYLES   */
#menu-services-menu a
 {
    border-bottom: 7px solid var(--gcid-primary-color);
    padding: 0px 20px 15px;
}

#menu-services-menu .sub-menu a
 {
    border-bottom: none;
    padding: 10px 20px;
	 color: #4d466f;
	 text-transform: capitalize;
}

#menu-services-menu .sub-menu li.current-menu-item a
 {
    color: var(--gcid-primary-color) !important;
}

.et_pb_blurb_position_left .et_pb_blurb_container {
    padding-left: 100px;
}

/*  4. HOME STYLES   */



/*  5. PAGE STYLES   */
.page-title h1.et_pb_module_header {
    font-size: 3em;
    text-transform: uppercase;
}

.page-title {
    padding: 1% 0 !important;
}

.page-content {
    padding-top: 0 !important;
}

.submenu .et_pb_menu__menu>nav>ul>li, .submenu ul.wp-block-categories>li  {
    position: relative;
    display: block;
    margin: 0;
    width: 100%;
}

.submenu .et_pb_menu__menu>nav>ul>li>a, .submenu ul.wp-block-categories>li>a {
    padding: 15px;
    font-size: 1.2em;
    background-color: #4d466f;
    color: #ffffff;
    margin-bottom: 5px;
	display: block;
	line-height: 1.2em;
}

.submenu .et_pb_menu__menu>nav>ul>li>a:hover, .submenu ul.wp-block-categories>li>a:hover { opacity: 1 !important}

.people .submenu .et_pb_menu__menu>nav>ul>li.current-menu-item>a, .people .submenu .et_pb_menu__menu>nav>ul>li>a:hover { background-color: #d5af62; color: #4d466f; }
.values .submenu .et_pb_menu__menu>nav>ul>li.current-menu-item>a, .values .submenu .et_pb_menu__menu>nav>ul>li>a:hover { background-color: #ee2e30; color: #ffffff; }
.staff .submenu .et_pb_menu__menu>nav>ul>li.current-menu-item>a, .staff .submenu .et_pb_menu__menu>nav>ul>li>a:hover { background-color: #35af63; color: #ffffff; }
.policies .submenu .et_pb_menu__menu>nav>ul>li.current-menu-item>a, .policies .submenu .et_pb_menu__menu>nav>ul>li>a:hover { background-color: #ffc828; color: #4d466f; }
.submenu ul.wp-block-categories>li.current-menu-item>a, .submenu ul.wp-block-categories>li.current-menu-item>a:hover { background-color: #5d8fd3; color: #ffffff; }


.home h2.entry-title { font-size: 1.1em; line-height: 1.2em; }
.home .post-content p { line-height: 1.1em; color: #4d466f; }
.home .entry-categories a { font-size: .8em; }
.home p.post-meta { color: #5d8fd3 !important; }




/* Home & News - Blue */
#menu-services-menu li:nth-child(1).current-menu-item a,
#menu-services-menu li:nth-child(1).current-menu-ancestor a,
#menu-services-menu li:nth-child(1).current-menu-parent a, #menu-services-menu li:nth-child(2).current-menu-item a,
#menu-services-menu li:nth-child(2).current-menu-ancestor a,
#menu-services-menu li:nth-child(2).current-menu-parent a
{ border-bottom-color: #5d8fd3 !important; }

/* Policies - Yellow */
#menu-services-menu li:nth-child(3).current-menu-item a,
#menu-services-menu li:nth-child(3).current-menu-ancestor a,
#menu-services-menu li:nth-child(3).current-menu-parent a { 
    border-bottom-color: #ffc828 !important; 
}

/* Staff Info - Green */
#menu-services-menu li:nth-child(4).current-menu-item a,
#menu-services-menu li:nth-child(4).current-menu-ancestor a,
#menu-services-menu li:nth-child(4).current-menu-parent a { 
    border-bottom-color: #35af63 !important; 
}

/* Values - Red */
#menu-services-menu li:nth-child(5).current-menu-item a,
#menu-services-menu li:nth-child(5).current-menu-ancestor a,
#menu-services-menu li:nth-child(5).current-menu-parent a { 
    border-bottom-color: #ee2e30 !important; 
}

/* Jobs - Pink */
#menu-services-menu li:nth-child(6).current-menu-item a,
#menu-services-menu li:nth-child(6).current-menu-ancestor a,
#menu-services-menu li:nth-child(6).current-menu-parent a { 
    border-bottom-color: #ef9aa7 !important; 
}

/* People - Mustard */
#menu-services-menu li:nth-child(7).current-menu-item a,
#menu-services-menu li:nth-child(7).current-menu-ancestor a,
#menu-services-menu li:nth-child(7).current-menu-parent a { 
    border-bottom-color: #d5af62 !important; 
}


#main-header { border-bottom: 10px solid var(--gcid-primary-color) !important; }

/* Search Styles */

.archive fieldset.asp_filter_tax.asp_filter_tax_policy-category.asp_checkboxes_filter_box.asp_filter_id_1.asp_filter_n_0 {
    display: none;
}

article.policy h2, asp_r_policy h3 {
    font-size: 1.1em;
    font-weight: normal;
}

article.policy.icon a:before, .asp_r_policy.icon a:before { 
  	content: '';
  	display: inline-block;
  	width: 20px;
  	height: 20px;
  	margin-right: 8px;
  	background-size: contain;
	position: relative;
    top: 3px;
}

article.policy.icon.pdf a:before, 
article.policy.icon a:before, .asp_r_policy.icon.pdf a:before { background-image: url('icons/icon-pdf.svg'); }
article.policy.icon.doc a:before, 
article.policy.icon a:before, .asp_r_policy.icon.doc a:before { background-image: url('icons/icon-doc.svg'); }
article.policy.icon.ppt a:before, 
article.policy.icon a:before, .asp_r_policy.icon.ppt a:before { background-image: url('icons/icon-ppt.svg'); }
article.policy.icon.xls a:before, 
article.policy.icon a:before, .asp_r_policy.icon.xls a:before { background-image: url('icons/icon-xls.svg'); }
article.policy.icon.url a:before, 
article.policy.icon a:before, .asp_r_policy.icon.url a:before { background-image: url('icons/icon-url.svg'); }
article.policy.icon.img a:before, 
article.policy.icon a:before, .asp_r_policy.icon.img a:before { background-image: url('icons/icon-img.svg'); }

/* Force 3 column layout */
#ajaxsearchprores11_1 .results .resdrg {
    display: flex !important;
    flex-wrap: wrap !important;
}

/* Force all items to be exactly 33.333% width */
#ajaxsearchprores11_1 .results .item {
    width: 33.333% !important;
    max-width: 33.333% !important;
    flex: 0 0 33.333% !important;
    box-sizing: border-box !important;
    padding: 10px !important;
}

/* Make images square and full width */
#ajaxsearchprores11_1 .results .item .asp_res_image_url {
    display: block !important;
    width: 100% !important;
}

#ajaxsearchprores11_1 .results .item .asp_image {
    width: 100% !important;
    height: 0 !important;
    padding-bottom: 100% !important;
    position: relative !important;
    overflow: hidden !important;
}

#ajaxsearchprores11_1 .results .item .asp_image img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transform: none !important;
}

#ajaxsearchprores11_1 .results .item .asp_image .void {
    display: none !important;
}

#ajaxsearchprores11_1 .results .item h3 {
    padding: 10px !important;
    margin: 0 !important;
    display: block !important;
    width: 100% !important;
    clear: both !important;
	text-align: center !important;
}

#ajaxsearchprores11_1 .results .item .asp_content h3 a, #ajaxsearchprores11_2 .results .item .asp_content h3 a, div.asp_r.asp_r_11 .results .item .asp_content h3 a {
    color: #5d8fd3 !important;
    display: block !important;
    text-decoration: none !important;
	text-align: center !important;
	font-weight: 700 !important;
	font-size: 1.4em !important;
}

.people-meta .position, .people-meta .team {
    display: block;
    text-align: center !important;
	font-size: 1.2em;
}



/* Responsive */
@media (max-width: 768px) {
    #ajaxsearchprores11_1 .results .item {
        width: 50% !important;
        max-width: 50% !important;
        flex: 0 0 50% !important;
    }
}

@media (max-width: 480px) {
    #ajaxsearchprores11_1 .results .item {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}






/* WP Users Styles */
.uwp-login-class .uwp-lf-icon { display: none; }
.uwp-login-form input[type="submit"] { background: #5d8fd3; border: none; color: #ffffff; font-weight: bold; padding: 10px; width: 100%; margin-top: 10px; }
.uwp-footer-link.uwp-forgotpsw { margin-top: 10px; }


/*  6. BLOG STYLES   */

.support-blurb .et_pb_blurb_description a.et_pb_button { background: #4d466f !important; border-radius: 15px; color: #ffffff; border: none; }
.support-blurb .et_pb_main_blurb_image { margin-bottom: 10px; }

.et_pb_post.has-post-thumbnail img { float: left; max-width: 40%; padding-right: 5%; }
p.post-meta a { background: #5d8fd3; border-radius: 30px; padding: 2px 10px; color: #FFFFFE !important; }
p.post-meta a:hover { background: #4d466f; }
p.post-meta { color: #5d8fd3; }
.et_pb_post h2 a:hover { color: #5d8fd3; }

.blog .et_pb_image_container, .archive .et_pb_image_container {
    max-width: 300px;
}

.blog p.post-meta a, .archive p.post-meta a {
    font-size: .8em;
}

.et_pb_blog_grid .et_pb_post {
	border: none !important;
}

/*  7. FORM STYLES   */



/*  8. FOOTER STYLES   */



/*  9. MOBILE STYLES   */

/*** Responsive Styles Large Desktop And Above ***/
@media all and (min-width: 1405px) {
    
  }
   
  /*** Responsive Styles Standard Desktop Only ***/
  @media all and (min-width: 1100px) and (max-width: 1405px) {
   
  }
   
  /*** Responsive Styles Tablet And Below ***/
  @media all and (max-width: 980px) {
   
  }
   
  /*** Responsive Styles Tablet Only ***/
  @media all and (min-width: 768px) and (max-width: 980px) {
   
  }
   
  /*** Responsive Styles Smartphone Only ***/
  @media all and (max-width: 767px) {
   
  }
   
  /*** Responsive Styles Smartphone Portrait ***/
  @media all and (max-width: 479px) {
   
  }
  


