/*
Theme Name: Mediamind
Template: Divi
Description: Divi Child Theme
Author: Mediamind
*/

.et_pb_section.hero-home {
	display: flex;
	min-height: 70vh;
	background-repeat: no-repeat;
	background-size: 50% auto;
	background-position: right 0px top;
}

.hero-home .et_pb_row {
	align-items: center;
}

.hero-subpage .et_pb_row h1, 
.hero-subpage .et_pb_row p {
	color: #fff;
}

.hero-subpage .et_pb_row .et_pb_text {
	text-align: center;
}

.bg-primary {
	background: #0c2626;
}

.bg-secondary {
	background: #b9dbcd;
}

.bg-light {
	background: #f1f1f1;
}

.mobile_menu_bar:before {
	color: #fff !important;
}

.section-subpage {
	padding-bottom: 0 !important;
}

.card-services {
	padding: 40px;
}

.card-services:hover {
	background: #0c2626;
}

.card-services:hover .et_pb_text h3 {
	color: #fff;
}

.card-services .et_pb_text {
	text-align: center;
}

.card-services .et_pb_text h3 {
	margin: 0;
	padding: 0;
}

.site-footer a {
	color: #b9dbcd !important;
}

a.cn-button {
	color: #fff !important;
}



@media (max-width: 980px) {
		.et_header_style_left #logo {
	    	max-width: 65% !important;
	    	max-height: none !important;
	    	
	}

	#logo {
		height: inital !important;
	}
}

/* Fixed Navigation Bar on mobile devices */
@media screen and (max-width: 980px) {
    #main-header.et-fixed-header {
        position: fixed;
    }
	
    .logged-in #main-header.et-fixed-header {
        top: 0 !important;
	transition: all .3s 0s;
    }
}
