/*
Theme Name:     Oldhaven Child
Theme URI: 		http://wedesignthemes.com/themes/old-haven/
Author: 		the DesignThemes team
Author URI: 	http://themeforest.net/user/designthemes
Description:    Child theme for the Oldhaven theme powered by DesignThemes
Template:       oldhaven
Version:        1.0
*/

.text-white,
.text-white h4,
.text-white strong{
	color: #fff !important;
}
.page-template-tpl-blog #main{
    margin-top: 80px !important;
}
.banner-header span {
	color: #D95560;
}
#main-menu li.contact-nav {
	position:relative;
}
#main-menu li.contact-nav a:hover {
	color: #1F2640 !important;
}
#main-menu li.contact-nav a {
	font-family: 'Questrial' !important;
	color: #D95560 !important;
	position: relative;
    z-index: 9;
	transition: all .5s ease;
}
#main-menu li a:hover,
#main-menu li.current_page_item > a{
	color: #D95560 !important;
	transition: all .5s ease;
}
#main-menu li.contact-nav:hover::before {
	border: 2px solid #1F2640;
}
#main-menu li.contact-nav::before {
	content: '';
	position: absolute;
	background-color: transparent;
	border: 2px solid #D95560;
	border-radius: 5px;
	left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 50%;
	transition: all .5s ease
}
.cta-bar input::placeholder, 
.cta-bar textarea::placeholder,
.cta-bar input[type="text"]:focus, 
.cta-bar input[type="email"]:focus, 
.cta-bar input[type="tel"]:focus, 
.cta-bar textarea:focus, 
.cta-bar input.text:focus,
.cta-bar input[type="text"], 
.cta-bar input[type="email"], 
.cta-bar input[type="tel"], 
.cta-bar textarea, 
.cta-bar input.text{
	color: #fff;
	border-color: #fff;
}
.home-options .home-options-five-col img {
	height: 180px;
	object-fit:cover;
}
.dt-sc-title.script-with-sub-title h3,
.dt-sc-title.script-with-sub-title h4{
	line-height: 30px;
	margin-bottom: 20px
}
.dt-sc-testimonial.type3 .dt-sc-testimonial-author:before {
    display: none;
}
.testimonial-row .vc_column-inner .vc_row-flex {
    column-gap: 20px;
}
.testimonial-row .vc_column-inner .wpb_column {
    border: 1px solid #D95560;
    position: relative;
}
.testimonial-row .dt-sc-testimonial-author span {
    position: absolute !important;
    height: 80px;
    width: 100%;
    left: 0;
    top: -125px;
    object-fit: cover;
}
.testimonial-row .dt-sc-testimonial-author span img {
    background-color: #fff;
    border: 1px solid #D95560;
    max-width: 100%;
    width: 90px;
    margin: 0 auto;
}
.blue-link-txt a {
    color: #1f2640;
}
.font-weight-400 {
    font-weight: 400;
}
.vc_column_container img.contact-logo-img, 
.wpb_column img.contact-logo-img {
    width: 150px;
    max-width: 100%;
}
.vc_row-o-equal-height .vc_column-inner .wpb_wrapper{
    height: 100%;
}
.vc_row-o-equal-height .vc_column-inner .wpb_wrapper img {
    height: 100%;
    object-fit: cover;
}
.footer-widgets:before {
	background: #1f2640 !important;
}
.widget_text ul.dt-sc-sociable li {
	float: inherit;
}
#menu-sitemap li {
    border: none;
}
#menu-sitemap li a{
    text-transform: capitalize;
}
footer a:hover {
    transition: all .5s ease;
    color: #84DAD1 !important;
}
.dt-sc-sociable.rounded-border li a:hover, 
.dt-sc-dark-bg .dt-sc-sociable.rounded-border li a:hover {
    transition: all .5s ease;
    border-color: #84DAD1 !important;
}
footer .footer-widgets .widget.widget_nav_menu ul.menu li > a{
	padding: 0px !important;
	text-transform: uppercase;
	font-size: 17px;
}
.footer-logo li{
    color: #ffffff !important;
    width: 50px !important;
    padding: 0 !important;
    display: -webkit-box !important; 
	display: -moz-box !important;
	display: -ms-flexbox !important;
	display: -webkit-flex !important; 
	display: flex !important;
    border: 1px solid #fff !important;
    height: 50px;
}
.footer-logo li a {
    display: -webkit-box !important; 
    display: -moz-box !important;
    display: -ms-flexbox !important;
    display: -webkit-flex !important; 
    display: flex !important;
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
     justify-content: center !important;
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
}
footer .widget ul li:before {
	display: none;
}
footer .footer-widgets .column:nth-child(1) {
	width: 30%
}
footer .footer-widgets .column:nth-child(2) {
	width: 35%;
}
footer .footer-widgets .column:nth-child(3) {
	width: 30%;
}
footer p {
    font-size: 17px;
}
.widget_text ul.dt-sc-sociable li {
    margin: 0px 2px !important;
}
footer h3.widgettitle {
    font-size: 22px;
    position:relative;
    padding-bottom: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}
footer h3.widgettitle::after {
    content: '';
    position: absolute;
    height: 100%;
    width: 55px;
    left: 0;
    top: 0;
    z-index: 1;
    border-bottom: 5px solid #84DAD1;
}
footer #text-7.widget_text {
    margin-bottom: 0;
}
.footer-copyright {
    border: none !important;
    background: #171c2e !important;
}
.footer-copyright .first{
    font-size: 20px;
    color: #777777 !important;
}
footer .wp-block-button__link{
    border-radius: 5px;
    background-color: #D95560;
    padding: 5px 20px;
    transition: all .5s ease;
    font-size: 14px;
}
footer .wp-block-button__link:hover{
    background-color: #A63740;
}
.footer-copyright .first{
    width: 100%;
}
.footer-copyright .first .bottom-footer .left-copyright {
    font-size: 18px;
}
.footer-copyright .first .bottom-footer .copyright-footer-menu {
    font-size: 18px;
}
.vertical-align {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.line-height-1-2 h3{
    line-height: 1.2 !important;
}
.gform {
    border-bottom: 1px solid #727272;
}
.gform_footer{
	display: -webkit-box; 
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex; 
	display: flex;
}
.gform_footer input[type="submit"]:hover {
	background-color: #A63740;
}
.gform_footer input[type="submit"] {
	margin: 0 auto;
	background-color: #D95560;
}
#toTop {
    display: none !important;
}
.cta-bar .dt-sc-stretch-row-content{
    width: 100% !important;
}


/********************** MEDIA QUERIES **********************/
@media only screen and (min-width: 1440px) {
	.home-history {
		padding-top: 30px;
		padding-right: 200px;
		padding-bottom: 30px;
		padding-left: 100px;
	}
}

@media only screen and (min-width: 1025px) {
	footer .footer-widgets .column:nth-child(2) {
        padding-left: 170px;
    }
    .testimonial-row .vc_column-inner .wpb_column.vc_col-sm-4 {
        width: 31%;
    }
    .testimonial-row .vc_column-inner .vc_col-sm-2\/5 {
        width: 38%;
    }
	.home-history {
		padding-top: 30px;
		padding-right: 100px;
		padding-bottom: 30px;
		padding-left: 50px;
	}
}

@media only screen and (min-width: 769px) {
    .footer-copyright .first .bottom-footer {
            display: -webkit-box; 
            display: -moz-box;
            display: -ms-flexbox;
            display: -webkit-flex; 
        display: flex;
            -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .footer-copyright .first .bottom-footer .left-copyright {
        width: 50%;
    }
    .footer-copyright .first .bottom-footer .copyright-footer-menu {
        width: 50%;
        text-align: right;
    }
}

@media only screen and (max-width: 1440px) {
    footer .footer-widgets .column:nth-child(2) {
        padding-left: 120px;
    }
}
@media only screen and (max-width: 1280px){
    #main-menu > ul.menu > li > a {
        padding: 0px 15px;
    }
}
@media only screen and (max-width: 1024px) {
    .testimonial-row .vc_column-inner .wpb_column.vc_col-sm-4 {
        width: 31%;
    }
    .testimonial-row .vc_column-inner .vc_col-sm-3\/5 {
        width: 55%;
    }
    footer .footer-widgets .column:nth-child(2) {
        padding-left: 50px;
    }
    #menu-sitemap li.menu-item {
        width: 35% !important;
    }
    .footer-copyright .first .bottom-footer .left-copyright {
        font-size: 15px;
    }
    .footer-copyright .first .bottom-footer .copyright-footer-menu {
        font-size: 15px;
    }
    footer .widget_text ul.dt-sc-sociable li a {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        width: 30px;
        height: 30px;
    }
}
@media only screen and (max-width: 768px) {
    .testimonial-row .vc_column-inner .wpb_column.vc_col-sm-4,
    .testimonial-row .vc_column-inner .vc_col-sm-2\/5,
    .testimonial-row .vc_column-inner .vc_col-sm-3\/5 {
        width: 100%;
        margin-bottom: 60px;
    }
    .header-on-slider.page-with-slider .main-header-wrapper {
        background-color: #fff !important;
    }
    #main-menu > ul.menu > li > a {
        padding: 0px 10px;
    }
     .footer-copyright .first .bottom-footer .left-copyright {
        text-align: center;
    }
    .footer-copyright .first .bottom-footer .copyright-footer-menu {
        text-align: center;
    }
}
@media only screen and (max-width: 540px) {
    #main-menu li.contact-nav::before {
        height: 100%;
    }
    .dt-sc-title.script-with-sub-title h2 {
        font-size: 40px;
    }
    footer .footer-widgets .column:nth-child(1),
    footer .footer-widgets .column:nth-child(2),
    footer .footer-widgets .column:nth-child(3){
        width: 100%;
    }
}