/* 
 Theme Name:     valliant divi child theme
 Author:         Mark Hendriksen
 Author URI:     https://www.markhendriksen.com/
 Template:       Divi
 Version:        1.0
 Description:   A Divi Child Theme 
*/ 


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 

/* ### REVIEW BUTTON MENU ### */

.review_button h3 {
	background-color: rgba(245, 245, 245, 0.43);
    border: 1px solid #e2e2e2;
}

.review_button h3:hover {
	background-color: #1e3d7e;
}

.review_button .fas {
	color: #dad41b;
}

/* ### PHONE NUMBER MENU ### */

.cta_menu.menu-item {
	background-color: #fff;
}

.phonetext {	
	color: #e30c16;
}

.phonenumber {
	color: #1e3d7e;
}

/* ### MENU DROPDOWN LINE ### */

.custom_menu .et_pb_fullwidth_menu ul.fullwidth-menu li ul.sub-menu li a {
	border-bottom: 1px solid #8e1515;
}

/* ### MENU DROPDOWN CURRENT MENU ITEM ### */

.custom_menu .et_pb_fullwidth_menu ul.fullwidth-menu li ul.sub-menu li.current-menu-item a {
	color: #fff !important;
}

/* ### MENU DROPDOWN CURRENT PARENT MENU ITEM ### */

.custom_menu li.current-menu-item ul.sub-menu li a {
    color: #fff !important;
}

/* ### MENU HAMBURGER ICON ### */

.mobile_menu_bar:before {
 	color: #fff !important;
}

/* ### MOBILE MENU ### */

@media (max-width: 980px) {
.et_mobile_menu .cta_menu.menu-item  {
    background-color: #cc1c1c !important;
}
	
.phonenumber {
    color: #fff !important;
}

.phonetext {
    color: #fff !important;
}}

/* ### SIDEBAR MENU ### */

.et_pb_widget_area .menu .menu-item {
	border-bottom: 1px solid #cc1c1c;
}

.et_pb_widget_area .menu .menu-item:hover {
	background-color: #e8e8e8;
}

.et_pb_widget_area .menu .menu-item:hover a {
	color: #cc1c1c;
}

.et_pb_widget_area .menu .menu-item a {
	color: #000;
}

.et_pb_widget_area .menu .current-menu-item {
	background-color: #e8e8e8;
}

.et_pb_widget_area .menu .current-menu-item a {
	color: #cc1c1c !important;
}

/* ### BUTTON SINGLE BLOG POST ### */

.more-link {
    background-color: #cc1c1c;
    color: #fff;
}

/* ### SIDEBAR WIDGETS ### */

.et_pb_widget {
border: 1px solid #e5e5e5;
border-top: 5px solid #cc1c1c;
}

/* ### CONTACT BG SERVICES ### */

.contact_header .et_pb_contact_select option,
.custom_contact_button .et_pb_contact_select option {
	background-color: #cc1c1c;
}

.et_pb_contact_field[data-type=select]:after {
    border-color: #fff transparent transparent transparent !important;
}

/* ###### END COLORS ###### */


#main-header {
	display: none;
}

#page-container {
	padding-top: 0px !important;
	overflow-y: hidden;
}


/* ### GENERAL ### */

body {
	font-weight: 400;
}

/* ### HOME HEADER COTACT FORM ### */

.contact_header .et_pb_button,
.custom_contact_button .et_pb_button {
	width: 100%;
	margin-left: 0px !important;
	padding: .5em 1em;
}

.contact_header .et_contact_bottom_container,
.custom_contact_button .et_contact_bottom_container {
	width: 100% !important;
	padding-left: 3%;
}

.contact_header .et_pb_button:hover,
.custom_contact_button .et_pb_button:hover {
    padding: .5em 1em;
    border: 0px solid transparent;
}

/* ### TOP HEADER ### */

.top_header {
	height: 55px;
}

.top_header .et_pb_row,
.top_header .et_pb_column {
	height: 100%;
}

.custom_logo {
	height: 140px;
}

.review_button h3 {
	padding: 12px 15px 5px 15px;
    display: inline-block;
    border-radius: 25px;
	-webkit-transition: all .3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.review_button h3:hover {
	cursor: pointer;
}

.review_button .fas {
    font-size: 18px;
    margin-top: -5px;
    vertical-align: middle;
}

.review_button .first_star {
	padding-left: 25px;
}

/* ### MENU ### */

@media (min-width: 981px) {
.custom_menu .et_pb_fullwidth_menu.et_pb_fullwidth_menu_fullwidth .et_pb_row {
    padding: 0px!important;
}}

.custom_menu .et_pb_fullwidth_menu ul.fullwidth-menu {
	padding-top: 0px !important;
	height: 85px;
}

.custom_menu .et_pb_fullwidth_menu ul.fullwidth-menu li a {
	padding-top: 0px !important;
	padding-bottom: 0px !important;
	line-height: 85px;
}

@media (min-width: 1650px){
.fullwidth-menu li {
    padding-right: 65px !important;
}}

@media (min-width: 1350px) and (max-width:1649px){
.fullwidth-menu li {
    padding-right: 40px !important;
}}

.cta_menu.menu-item {
	float: right;
    display: inline-block;
	height: 100%;
	padding: 0 35px !important;
}

.cta_menu a {
	text-align:center;
}

.custom_menu .et_pb_fullwidth_menu ul.fullwidth-menu li.cta_menu a {
	padding: 0px !important;
	line-height: 1.7em;
	margin-top: 15px;
}

.phonetext {
	font-size: 16px;	
}

.phonenumber {
	font-size: 30px;
	font-weight: bold;
}


@media (min-width: 981px) and (max-width: 1465px){
.phonenumber {
	font-size: 24px;	
}

.cta_menu {
	padding: 0 15px !important;
}}

@media (min-width: 981px) and (max-width: 1175px){
.custom_menu .fullwidth-menu li {
    font-size: 13px !important;
}

.custom_menu .et_pb_fullwidth_menu {
    margin-left: 22% !important;
}}

@media (min-width: 981px) and (max-width: 1100px){
.custom_menu .fullwidth-menu li {
    padding-right: 10px !important;
}}

@media (min-width: 1101px) and (max-width: 1175px){
.custom_menu .fullwidth-menu li {
    padding-right: 20px !important;
}}


/* ### MOBILE MENU ### */
@media (max-width: 980px) {
.et_mobile_menu .cta_menu.menu-item  {
	width: 100% !important;
	padding: 0 20px !important;
}
	
.phonenumber {
    font-size: 28px !important;
    font-weight: bold;
}

.phonetext {
    font-size: 16px;
}}

.footer_middle_row.et_pb_row_inner {
	margin: 0 auto !important;
}

/* ###### DROPDOWN ###### */

.custom_menu .fullwidth-menu li li {
    padding-right: 20px !important;
}

.custom_menu .et_pb_fullwidth_menu ul.fullwidth-menu li ul.sub-menu li a {
    width: 220px !important;
    font-size: 14px !important;
    padding: 10px 0px 10px 0 !important;
	line-height: 1.8em;
}

.nav li ul {
    width: 260px !important;
}

.nav li ul {
    padding: 5px 0 !important;
}

/* ###### SIDEBAR MENU ###### */

.et_pb_widget_area .menu .menu-item {
	padding: 15px 20px 15px 20px;
	-webkit-transition: all .3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.et_pb_widget_area .menu .menu-item a {
	-webkit-transition: all .3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.et_pb_widget_area .widget_nav_menu {
	margin-bottom: 0px !important;
}

.et_pb_widget_area .widget_nav_menu ul li {
    margin-bottom: 0em;
}

.et_pb_widget.widget_nav_menu {
    padding: 0px;
    border-radius: 0px;
}

.et_pb_widget.widget_nav_menu {
    border: unset;
    border-top: unset;
}

.header_thumbnail .et_pb_image_wrap  {
	z-index: -1;
}

/* ###### SINGLE BLOG PAGE ###### */

.et_pb_pagebuilder_layout.single.et_full_width_page #page-container .et_pb_row, .et_pb_pagebuilder_layout.single.et_full_width_portfolio_page #page-container .et_pb_row {
    width: 100%;
}

.single .et_pb_post {
    margin-bottom: 0px;
}

.single .post {
    padding-bottom: 0px;
}

#left-area {
    padding-bottom: 0px;
}

.more-link {
	display: inline-block !important;
    padding: 1px 15px;
    margin-top: 15px;
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.25);
    text-transform: uppercase;
    font-size: 14px;
}

.single .custom_footer {
	padding-left: 35px;
    padding-right: 35px;
}

/* ######### SIDEBAR ########## */

.et_pb_widget {
	padding: 30px;
	border-radius: 5px;
}

h4.widgettitle {
	font-size: 24px;
	font-weight: bold;
}

.category .container,
.search .container {
	max-width: 1200px !important;
}

/* ###### SEARCH RESULT PAGE ###### */

@media (min-width: 981px) {
.search #left-area {
	width: 64.833%;
}

.search #sidebar {
	width: 29.666%;
	border-left: 1px solid #e2e2e2;
}

.search #main-content .container:before {
    display: none !important;
}}

.search .et_pb_post a img {
    padding-bottom: 25px;
}

.search h2 {
	font-size: 30px;
	font-weight: bold;
}

.search h4.widgettitle {
	font-size: 20px;
	font-weight: bold;
}

.search #sidebar .et_pb_widget {
	padding: 25px;
	margin-bottom: 20px;
}

#search-header {
	display: none;
}

.search #search-header {
	display:block;
}	

/* ###### CATEGORY RESULT PAGE ###### */
@media (min-width: 981px) {
.category #left-area {
	width: 64.833%;
}

.category #sidebar {
	width: 29.666%;
	border-left: 1px solid #e2e2e2;
}

.category #main-content .container:before {
    display: none !important;
}}

.category .et_pb_post a img {
    padding-bottom: 25px;
}

.category h2 {
	font-size: 30px;
	font-weight: bold;
}

.category h4.widgettitle {
	font-size: 20px;
	font-weight: bold;
}

.category #sidebar .et_pb_widget {
	padding: 25px;
	margin-bottom: 20px;
}

#search-header {
	display: none;
}

.search #search-header {
	display:block;
}	
#category-header {
	display: none;
}

.category #category-header {
	display:block;
}

/* ### FOOTER ### */

.contact_mail_icon .et_pb_image_wrap {
	float: right;
}

.et_pb_contact_select {
    padding-left: 16px !important;
}


/* ### DIVI 4.0+ FIXES ### */

#et-boc {
	overflow-x: hidden;
}

.et_pb_menu__menu,
.fullwidth-menu-nav,
.et-menu.fullwidth-menu {
	width: 100% !important
}


.custom_menu li.cta_menu {
	right: 0;
    position: absolute !important;
    margin-top: 0px !important;
}

.et_pb_fullwidth_menu--without-logo .et_pb_menu__menu>nav>ul>li.cta_menu>a {
    display: block;
}