/*

 Theme Name:   ByLaw Child

 Theme URI:    https://bylaw.wpengine.com/

 Description:  ByLaw Child Theme

 Author:       the WeDesignTech team

 Author URI:   https://wedesignthemes.com/

 Template:     bylaw

 Version:      1.0.0

 Text Domain:  bylaw-child

*/

.wdt-dark-bg.header-top-absolute{margin: 0 0 100px !important; position: relative !important;}
.header-top-absolute{ margin: 0 0 0 !important; position: absolute !important;}
.sticky-header-active{background-color: rgba(0, 0, 0, 1) !important;}
footer .contact-emailbox .wdt-content-title h5 a{color: #ffffff !important;}
footer .contact-emailbox .wdt-content-title h5 a:hover{color: #cb935d !important;}

.custom-breadcrumb{margin: 0 0 100px; min-height: 404px; }
.custom-breadcrumb::before{content: ""; position: absolute; background-image: linear-gradient(180deg,rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)); width: 100%; height: 100%; left: 0; bottom: 0; background-color: transparent;}
.custom-breadcrumb::after{ background-color:rgba(0, 0, 0, 0.3) !important;}
.custom-breadcrumb .breadcrumb-heading{padding: 160px 0px 0px;}
.custom-breadcrumb .breadcrumb-heading a{color: #ffffff;}
.custom-breadcrumb .wdt-heading-content-wrapper{max-width: 900px; margin: 23px auto 0px;}
.practice-grid .wdt-custom-grid-box-style-1 .wdt-content-item:hover .wdt-content-media-group .wdt-media-image-cover .wdt-content-image-wrapper::before{ background-color:#000 !important; }

/*.home-page-form input::placeholder{color: #fff !important;}
.home-page-form input::-moz-placeholder{color: #fff !important;}
.home-page-form .column{margin-bottom: 50px;}
.home-page-form .column.msg-box{width: 100%;}*/

.main-title-section-wrapper.dark-bg-breadcrumb.aligncenter.overlay-wrapper{background-color: rgba(0, 0, 0, 0.3);}

.main-custom-slider-style .wdt-content-item-holder .wdt-content-item .wdt-content-button>a .wdt-button-text:after{display: none;}
.wdt-custom-content-tabs .wdt-tabs-container .wdt-tabs-list-wrapper ul.wdt-tabs-list li.ui-state-active > a::before{background-color: rgba(0,0,0,0.9);}
.wdt-custom-content-tabs .wdt-tabs-container .wdt-tabs-list-wrapper ul.wdt-tabs-list li.ui-state-hover > a::before{background-color: rgba(0,0,0,0.9);}
.wdt-custom-imagebox-style-03 .wdt-content-item .wdt-content-media-group .wdt-media-image-cover-container{background-color: Rgba(0,0,0, .8);}

/* Home */
.main-custom-slider-style .wdt-media-group.wdt-media-image-cover{min-height: 1080px !important;}
.home-page-form{ column-gap: 30px !important; }
.home-page-form .column{ width: 46% !important; margin: 0px 0px 50px 0px !important; }
.home-page-form .column p{ margin-bottom: 0px !important; }
.home-page-form .column.dt-sc-one-third{ width: 30% !important; margin: 0px 0px 50px 0px !important; }
.home-page-form .column.dt-sc-one-third .selection .select2-selection__arrow b{ border-bottom: 1px solid #ffffff; border-right: 1px solid #ffffff; transition: var(--wdtBaseTransition); }
.home-page-form .column.dt-sc-one-third .select2-container{ width: 100% !important; }
.home-page-form .column.msg-box{ width: 100% !important; }
.home-page-form .column .wpcf7-form-control{ min-height: 56px; color: #ffffff !important; opacity: 1 !important; }
.home-page-form .column .wpcf7-form-control::placeholder{ color: #ffffff !important; opacity: 1 !important; }
.select2-container--default .select2-results__option--selected{background-color:#000 !important;}
.select2-container--default .select2-results .select2-results__option--highlighted[aria-selected]{background-color:#000 !important;}
.home-form-sec form.wpcf7-form .wpcf7-response-output{background-color: #000 !important; border: 1px solid #ffffff !important; color: #ffffff !important;}
.home-page-form .column.aligncenter { width: 100% !important; margin-bottom: 20px !important; }
@media (max-width: 575px) {
	.home-page-form .column { width: 100% !important; margin: 0px 0px 20px 0px !important; }
	.home-page-form .column.dt-sc-one-third { width: 100% !important; margin: 0px 0px 20px 0px !important; }
}



/* Contact */
.contact-page-form input[type="submit"]{background-color: #000;}
.contact-page-form input[type="submit"]:hover{background-color: #cb935d;}
.contact-emailbox .wdt-content-item{margin-left: 0px !important; margin-right: 0px !important;}
.wpcf7-response-output {color: #000000 !important; border: 1px solid #000000 !important; background-color: transparent !important;}
.contact-page-leftbox-inner-section { height: 100%; }


/* Sub practices */
.practice-form-main .wpcf7-response-output{background-color: transparent !important; border: 1px solid #000000 !important; color: #000000 !important;}
.practice-form input[type="submit"]{background-color: #000;}
.practice-form input[type="submit"]:hover{background-color: #cb935d;}
.practice-faqs .wdt-accordion-toggle-description{color: #fff !important;}
    /** Impaired Driving **/
.penalties-icon-main{margin-bottom: 10px !important;}
.penalties-icon li{padding-bottom: 0px !important; margin-top: 3px !important;}

@media (max-width: 1540px) {
    .main-custom-slider-style .wdt-media-group.wdt-media-image-cover{min-height: 980px !important;}
}

@media (max-width: 1024px) {
    .main-custom-slider-style .wdt-media-group.wdt-media-image-cover{min-height: 885px !important;}
    .main-custom-slider-style .wdt-media-group.wdt-media-image-cover .wdt-content-image a{min-height: 885px !important;}
    .custom-breadcrumb{margin: 0 0 60px; }
}

@media (max-width: 767px) {
    .custom-breadcrumb .wdt-heading-content-wrapper{ margin: 20px auto 20px;}
    .contact-page-form p{flex-wrap: wrap;}
}

@media (max-width: 575px) {
    .custom-breadcrumb {min-height: 480px;}
}


.practice-side-img{  }
.practice-side-img .elementor-widget-wrap{  }
 @media (max-width: 1280px) {
	.practice-side-img .elementor-widget-wrap{ min-height: 600px; }
}
@media (max-width: 575px) {
	.practice-side-img .elementor-widget-wrap{ min-height: 500px; }
}



/*@media only screen and (min-width: 1025px) and (max-width: 1280px) {
	.practice-side-img-bail { }
	.practice-side-img-bail .elementor-widget-wrap{ background-position: center -500px !important; }
}*/
/*@media only screen and (min-width: 900px) and (max-width: 1024px) {
	.practice-side-img-bail .elementor-widget-wrap{ background-position: center -800px !important; }
}
@media only screen and (min-width: 800px) and (max-width: 900px) {
	.practice-side-img-bail .elementor-widget-wrap{ background-position: center -800px !important; }
}*/

/* About page */
.about-icon-box .wdt-content-item{ height: 100% !important; align-items: flex-start !important; }
.about-icon-box .wdt-content-icon{background: #000000 !important; border-color: #000000 !important;}

.about-icon-box.wdt-cus-home-icon-section .wdt-content-item .wdt-content-icon-wrapper .wdt-content-icon{ width: 90px; height: 90px; background-color: #000000 !important; }
.about-icon-box.wdt-cus-home-icon-section .wdt-content-item:hover .wdt-content-icon-wrapper .wdt-content-icon{ background: #cb935d !important; border-color: #ffffff !important; }
.about-icon-box.wdt-cus-home-icon-section .wdt-content-item .wdt-content-icon-wrapper .wdt-content-icon span{ width: 56px !important; height: 56px !important; }

@media (max-width: 767px) {

	.about-icon-box.wdt-cus-home-icon-section .wdt-content-item .wdt-content-media-group{ margin-inline: auto; }

}
