/*
 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
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */


/* ****************************************
 * MENU 
 * ***************************************/
#top-menu li.mega-menu>ul>li>a {
    line-height: 1.5;
}

@media (max-width: 981px){
	#main-header .et_mobile_menu li.mega-menu ul.sub-menu{
		display: none !important;
	}
	
	.et_mobile_menu .menu-item-has-children>a {
		background-color: transparent;
	}
	
	.mobile_menu_bar{
		margin-right: 25px;
	}
	
	#mobile_menu{
		width: 95%;
	}
}

/* ****************************************
 * MENU WHITE
 * ***************************************/
header#main-header.et-fixed-header, #main-header{ 
	-webkit-box-shadow:none !important; 
	-moz-box-shadow:none !important; 
	box-shadow:none !important; 
}

.et_header_style_left #logo {
    max-width: 100%;
    max-height: 100%;
}

#main-header{
 padding: 15px 0px;
}

/* ****************************************
 * MENU: TRANSPARENT
 * ***************************************/
body.transparent-background #main-header:not(.et-fixed-header){
 background: transparent;
}

body.transparent-background #main-header:not(.et-fixed-header) #top-menu a,
body.transparent-background #main-header:not(.et-fixed-header) #et_search_icon:before,
body.transparent-background .mobile_menu_bar:before{
    color: white !important;
}

body.transparent-background #main-header:not(.et-fixed-header) #top-menu .sub-menu a{
	color: #5e6a71 !important;
	line-height: 1.4;
}

body.transparent-background #main-header.et-fixed-header{
	background: #00b9e4;
}

body.transparent-background #main-header.et-fixed-header #top-menu a,
body.transparent-background #main-header.et-fixed-header #et_search_icon:before{
	color: white !important;
}
body.transparent-background #main-header.et-fixed-header #top-menu .sub-menu a{
	color: #5e6a71 !important
}

body.transparent-background #main-header.et-fixed-header .et-fixed-header #top-menu li.current_page_item>a {
    color: #00b9e4;
}

/* ****************************************
 * CONTAINERS
 * ***************************************/
.container.et_menu_container {
    z-index: 99;
    width: 100%;
    padding: 0 30px;
}

.et_pb_section_0{
	margin-top: 15px;
}

.single article.category-jobs {
    padding-bottom: 0;
    margin-bottom: 0;
}

/* ****************************************
 * ARCHIVE / SEARCH / 404 PAGES
 * ***************************************/
#left-area .entry-title{
	color: #00b9e4;
	font-weight: 650;
}

#sidebar h1, #sidebar h2, #sidebar h3, #sidebar h4{
	font-weight: 600;
	font-size: 22px;
}

#left-area .post-meta{
	padding-bottom: 0;
	font-weight: 600;
}

body.search #left-area .et_pb_post {
	margin-bottom: 25px;
	background: #eaeaea;
	padding: 25px;
	border-radius: 10px;
}

body.search #left-area .et_pb_post img,
body.search #left-area .et_pb_post .entry-featured-image-url{
	display: none;
}

body.search-no-results  .entry{
	margin-bottom: 25px;
	background: #eaeaea;
	padding: 25px;
	border-radius: 10px;
}

body.search-no-results .not-found-title{
	color: #00b9e4;
	font-weight: 650;
}

@media (min-width: 981px){
	.et_right_sidebar #main-content .container:before {
		right: 25% !important;
	}

	.et_right_sidebar #left-area {
		float: left;
		padding-right: 40px;
		width: calc(78% - 40px);
	}

	.et_right_sidebar #sidebar {
		padding-left: 40px;
		width: calc(25% - 40px);
	}
}


@media(max-width: 981px){
	.flex-row .et_pb_column{
		margin-bottom: 5px !important;
		width: 100% !important;
	}
}


.left-image .et_pb_main_blurb_image {
	width: 170px;
	height: 45px !important;
	position: relative;
}

.et_pb_blog_grid h2 {
	min-height: 45px;
	line-height: 1.3 !important;
}

/* ****************************************
 * DOWNLOAD BUTTON / PRINT
 * ***************************************/

.btn-download{
	background: #00b9e4;
	border: 2px solid #00b9e4;
	color: white;
	padding: 10px 25px;
	border-radius: 15px;
	font-size: 17px !important;
	transition: all 300ms ease 0ms;
}

.btn-download:hover, .gform-button:hover{	
	padding: 10px 30px;
	background: none;
	color: #00b9e4;
}


/* ****************************************
 * TYPOGRAPHY
 * ***************************************/
.strong strong{
	color: #00b9e4;
	font-weight: bold;
}

.big{
	font-size: 3rem;
	line-height: 1.3;
}

.alter-text{
	color: #00b9e4
}

/* ****************************************
 * CONTAINERS
 * ***************************************/
#page-container{
	padding-top: 100px !important;
}

.flex-row .et_pb_column{
	width: auto !important;
}

@media (max-width: 981px){
	#page-container .bg-float{
		background-image: none !important;
	}
}


/* ****************************************
 * Buttons
 * ***************************************/
.inline-buttons .et_pb_button_module_wrapper {
  display: inline-block;
}

/* ****************************************
 * SLANTED SECTION TOP: EG footer 
 * ***************************************/
.top-slant{
	border-radius: 0 30px 0 0;
}

.top-slant:before {
    content: "";
    background: white;
    height: 65px;
    transform: skewY(-1.5deg);
    position: absolute;
    left: 0;
    right: 0;
    z-index: 99999;
}

.top-slant:before{    
	top: -12%;
}

/* ****************************************
 * LEFT BLURB: BIG IMAGE
 * ***************************************/
.left-image .et_pb_main_blurb_image{
	width: 165px;
}

.left-image .et_pb_blurb_container{
	vertical-align: middle;
}

.left-image .et_pb_module_header{
	padding: 0;
}

.et_pb_blurb_position_left .et_pb_blurb_container, .et_pb_blurb_position_right .et_pb_blurb_container{
	vertical-align: middle;
}

.et_pb_blurb_position_left .et_pb_blurb_container .et_pb_module_header, 
.et_pb_blurb_position_right .et_pb_blurb_container .et_pb_module_header{
	padding-bottom: 0 !important;
}

/* ****************************************
 * JOB OPENINGS
 * ***************************************/
article.category-job-opening{
	min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

article.category-job-opening .entry-title{
	min-height: 45px;
}

/* ****************************************
 * CONTACT PAGE
 * ***************************************/
.contact-info .et_pb_column{
	width: auto !important;
}


/* ****************************************
 * ACCORDIONS
 * ***************************************/
.et_pb_accordion_item{
	border: none;
    border-bottom: 1px solid #5E6A71;
    padding: 20px 0 !important;
    margin: 0 !important;
}

.et_pb_toggle_open .et_pb_toggle_title{
	padding-bottom: 5px !important;
}

/* ****************************************
 * GRAVITY FORMS
 * ***************************************/
.gform_wrapper.gravity-theme .gfield input, .gform_wrapper.gravity-theme .gfield select, .textarea {
	min-height: 40px!important;
    border-radius: 20px;
    background: #E5E5E5;
    padding: 12px 20px !important;
    color: #5E6A71 !important;
}

.textarea{
	padding: 15px 20px !important;
}

#page-container .gform_button, #page-container .gform-button{
	background: #00b9e4;
    border: 2px solid #00b9e4 !important;
    color: white !important;
    font-size: 16px !important;
    font-weight: bold;
    text-transform: uppercase;
    padding: 12px 20px !important;
    border-radius: 20px;
	cursor: pointer;
} 

.gform_wrapper.gravity-theme .gform_footer, .gform_wrapper.gravity-theme .gform_page_footer {
    margin-top: 10px!important;
    padding: 0 !important;
}

/* ****************************************
 * GRAVITY FORMS
 * ***************************************/
footer a{
	color: white !important;
}

footer a:hover{
	opacity: .85 !important;
}



/* ****************************************
 * END CUSTOMISATIONS
 * ***************************************/