/*
Theme Name: Kelly Builders & Developers
Author: Colossus Media Group
Description: Kelly Builders & Developers Child Theme
Version: 1.0
Template: bootstrap-component-blox
*/

:root {
    --kbd-primary: #1F79C2;
    --kbd-secondary: #031A3C;
    --kbd-accent: #70333e;
    --kbd-dark: #353535;
    --kbd-font-header: ;
    --kbd-font-body: ;
    --kbd-font-script: ;
}

/* ===== Global ===== */

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

p {
    line-height: 1.7em; 
}

a {
    opacity: 1;
    color: var(--kbd-primary);
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}

a:hover {
    text-decoration: none;
    opacity: .9;
}

/* ===== Custom Classes ===== */

.bg-pattern {
    background: url(../../uploads/2020/09/bg-pattern.jpg);
    background-repeat: repeat;
}

.kbd-titles .display-3 {
	font-weight: 900!important;
	text-transform: uppercase!important;
	color: var(--kbd-secondary)!important;
	margin-bottom: 0!important;
}

.kbd-titles h4 {
	font-weight: 900;
}

.kbd-titles .line {
	width: 10%;
	background: var(--kbd-primary);
	height: 4px;
}

.kbd-border-left {
    border-left: 5px solid var(--kbd-secondary);
}

.rr-n30 {
    position: relative; 
    right: -30px;
}

.kbd-float-left {
	float: left;
}

/* ===== Contact Form ===== */

.has-form .wpforms-container {
    margin-bottom: 0!important;
}

.has-form input {
    padding: 25px 20px!important;
    background: rgba(3 , 26 , 60 , 0.05)!important;
    border: none!important;
}

.has-form textarea {
    padding: 20px!important;
    background: rgba(3 , 26 , 60 , 0.05)!important;
    border: none!important;
}

.has-form select {
    height: 52px!important;
    background: rgba(3 , 26 , 60 , 0.05)!important;
    border: none!important;
}

.has-form .wpforms-submit {
    background: var(--kbd-primary)!important;
    color: #fff!important;
    border: none!important;
    text-transform: uppercase!important;
    font-size: 14px!important;
    letter-spacing: 1px!important;
    padding: 15px 30px!important;
    font-weight: 600!important;
    -webkit-transition: all .3s!important;
    -o-transition: all .3s!important;
    transition: all .3s!important;
}

.has-form .wpforms-submit:hover {
    opacity: .9!important;
}

#wpforms-62-field_5-container .wpforms-one-half {
    width: 100%;
    float: none;
    margin-left: 0%;
}

#wpforms-62-field_5-container .wpforms-field-row-block.wpforms-one-half.wpforms-first {
    padding-bottom: 10px!important;
}

/* ===== Text ===== */

.kbd-text-primary {
    color: var(--kbd-primary);
}

.kbd-text-secondary {
    color: var(--kbd-secondary);
}

.kbd-text-accent {
    color: var(--kbd-accent);
}

.kbd-text-dark {
    color: var(--kbd-dark);
}

/* ===== Background ===== */

.kbd-bg-primary {
    background-color: var(--kbd-primary);
}

.kbd-bg-secondary {
    background-color: var(--kbd-secondary);
}

.kbd-bg-accent {
    background-color: var(--kbd-accent);
}

.kbd-bg-dark {
    background-color: var(--kbd-dark);
}

/* ===== Button ===== */

.btn {
    text-transform: uppercase;
    padding: 15px 30px;
    border-radius: 0;
    font-size: 14px;
    border: none;
    font-weight: 600;
    letter-spacing: 1px;
}

.kbd-btn-primary {
    background: var(--kbd-primary);
    color: #fff;
}

.kbd-btn-primary:hover,
.kbd-btn-secondary:hover{
    color: #fff;
}

.kbd-btn-secondary {
    background: var(--kbd-secondary);
    color: #fff;
}

/* ===== Carousel ===== */

.swiper-button-next, 
.swiper-button-prev {
    color: #fff;
    background: rgba(0,0,0,0.1)!important;
    padding: 30px!important;
    border-radius: 3px;
}

.swiper-pagination-bullet {
    width: 20px;
    height: 20px;
}

.swiper-scrollbar-drag {
    background: var(--kbd-secondary);
}

.swiper-pagination-bullet-active-main {
     background: var(--kbd-secondary);
}

/* ===== Navbar ===== */

#navbar-brand-logo img {
    padding: 10px;
}

#navbar-main-menu .nav-link {
    color: var(--kbd-dark);
}

#kbd-service-navbar .col a {
    letter-spacing: 2px;
    color: #fff;
}

#kbd-service-navbar .col:hover {
    background-color: #eee;
}

#kbd-service-navbar .col:hover a {
    color: var(--kbd-secondary);
}

#kbd-top-navbar a {
    color: var(--kbd-dark);
}

#kbd-top-navbar .fas {
    color: var(--kbd-primary);
    margin-right: 5px;
}

#kbd-top-navbar .fab {
    width: 35px;
    height: 35px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    border-radius: 3px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    color: #fff;
    background: var(--kbd-secondary);
    margin-right: 5px;
}

#kbd-top-navbar .fa-facebook-f {
    background: #4DBC14;
}

#kbd-top-navbar .fa-pinterest {
    background: #E10C22;
}

#kbd-top-navbar .fa-houzz {
    background: #4267B2;
}

#navbar-main-menu .kbd-navber-btn .nav-link {
    background: var(--kbd-primary);
    color: #fff;
    padding: 10px 15px;
    margin-left: 15px;
    text-transform: uppercase;
    font-weight: 600;
}

#kbd-service-navbar .row {
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
}

/* ===== Toggler ===== */

#toggler:focus, 
#toggler:active {
    outline: 0;
}

#toggler  {
    -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
            transform: rotate(180deg)
}

#toggler span {
    width: 30px;
    height: 3px;
    display: block;
    background-color: #333;
    margin: 7px 0;
    -webkit-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
}

#toggler span:nth-child(1) {
    width: 5px;
}

#toggler span:nth-child(2) {
    width: 15px
}

#toggler span:nth-child(3) {
    width: 30px;
}

#toggler.collapsed span {
    -webkit-transform: translatey(0) translatex(0) rotate(0deg);
        -ms-transform: translatey(0) translatex(0) rotate(0deg);
            transform: translatey(0) translatex(0) rotate(0deg);
    width: 30px;   
}

/* ===== Header ===== */

#kbd-main-header .display-3 {
    line-height: 1.2em!important;
	font-size: 3em;
}

#kbd-main-header {
    background: url(../../uploads/2020/09/background.jpg);
    background-size: cover;
}

/* ===== Services ===== */

#kbd-service-archive .card {
	background: #000;
	border-radius: 0;
	overflow: hidden;
	position: relative;
	border: 0;
}

#kbd-service-archive .card img {
	width: 100%;
	height: auto;
	-webkit-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

#kbd-service-archive .card:hover img {
	opacity: 0.5;
}

#kbd-service-archive .card .card-body {
	position: absolute;
	top: 50%;
	left: 50%;
	opacity: 1;
	-webkit-transform: translate(-50%, -50%);
	    -ms-transform: translate(-50%, -50%);
	        transform: translate(-50%, -50%);
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	-webkit-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}


#kbd-service-archive .card .card-body:before, 
#kbd-service-archive .card .card-body:after {
	content: "";
	width: 400px;
	height: 3px;
	background: var(--kbd-primary);
	position: absolute;
	top: 0;
	left: 10px;
	-webkit-transform: translateX(100%);
	    -ms-transform: translateX(100%);
	        transform: translateX(100%);
	-webkit-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

#kbd-service-archive .card .card-body:after {
	top: auto;
	left: auto;
	bottom: 0;
	right: 10px;
	-webkit-transform: translateX(-100%);
	    -ms-transform: translateX(-100%);
	        transform: translateX(-100%);
}

#kbd-service-archive .card:hover .card-body:before, 
#kbd-service-archive .card:hover .card-body:after {
	-webkit-transform: translate(0, 0);
	    -ms-transform: translate(0, 0);
	        transform: translate(0, 0);
	-webkit-transition-delay: 0.15s;
	     -o-transition-delay: 0.15s;
	        transition-delay: 0.15s;
}

#kbd-service-archive .card h4 {
	display: block;
	padding: 10px 20px;
	background: rgba(255,255,255,0.8);
	text-transform: capitalize;
	margin: 0;
	color: var(--kbd-dark);
	-webkit-transition: all .3s;
	-o-transition: all .3s;
	transition: all .3s;
}

#kbd-service-archive .card:hover .card-body {
	background: rgba(255,255,255,.4);
}

#kbd-service-archive .card h4:before, 
#kbd-service-archive .card h4:after {
	content: "";
	width: 3px;
	height: 300px;
	background: #fff;
	position: absolute;
	top: 10px;
	right: 0;
	-webkit-transform: translateY(100%);
	    -ms-transform: translateY(100%);
	        transform: translateY(100%);
	-webkit-transition: all 0.55s ease 0s;
	-o-transition: all 0.55s ease 0s;
	transition: all 0.55s ease 0s;
}

#kbd-service-archive .card h4:after {
	top: auto;
	right: auto;
	bottom: 10px;
	left: 0;
	-webkit-transform: translateY(-100%);
	    -ms-transform: translateY(-100%);
	        transform: translateY(-100%);
}

#kbd-service-archive .card:hover h4:before, 
#kbd-service-archive .card:hover h4:after {
	-webkit-transform: translate(0, 0);
	    -ms-transform: translate(0, 0);
	        transform: translate(0, 0);
}

/* ===== Content ===== */

#kbd-content h4 {
    color: var(--kbd-secondary);
}

/* ===== Listings Archive ===== */

#kbd-listings-archive .select-css {
	display: block;
	font-size: 16px;
	font-family: sans-serif;
	font-weight: 700;
	color: #444;
	line-height: 1.3;
	padding: .6em 1.4em .5em .8em;
	width: 100%;
	max-width: 100%;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	margin: 0;
	border: 1px solid #ddd;
	border-radius: 3px;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background-color: #fff;
	background-repeat: no-repeat, repeat;
	background-position: right .7em top 50%, 0 0;
	background-size: .65em auto, 100%;
}

#kbd-listings-archive .select-css::-ms-expand {
	display: none;
}

#kbd-listings-archive .select-css:hover {
	border-color: #888;
}

#kbd-listings-archive .select-css:focus {
	border-color: #aaa;
	-webkit-box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
	        box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
	box-shadow: 0 0 0 3px -moz-mac-focusring;
	color: #222;
	outline: none;
}

#kbd-listings-archive .select-css option {
	font-weight: normal;
}

*[dir="rtl"] .select-css, 
:root:lang(ar) .select-css, 
:root:lang(iw) .select-css {
	background-position: left .7em top 50%, 0 0;
	padding: .6em .8em .5em 1.4em;
}

#kbd-listings-archive .select-css:disabled, 
#kbd-listings-archive .select-css[aria-disabled=true] {
	color: graytext;
	background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22graytext%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'), -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#e5e5e5));
	background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22graytext%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'), -o-linear-gradient(top, #ffffff 0%, #e5e5e5 100%);
	background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22graytext%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'), linear-gradient(to bottom, #ffffff 0%, #e5e5e5 100%);
}
#kbd-listings-archive .select-css:disabled:hover, 
#kbd-listings-archive .select-css[aria-disabled=true] {
	border-color: #aaa;
}

#kbd-listings-archive .card,
#kbd-related-properties .card {
    overflow: hidden;
}

#kbd-listings-archive .sold,
#kbd-related-properties .sold{
    color: #fff;
    position: absolute;
    width: 200px;
    top: 0;
    text-align: center;
    left: -40px;
    display: block;
    -webkit-transform-origin: 0;
        -ms-transform-origin: 0;
            transform-origin: 0;
    -webkit-transform: translatey(85px) rotate(-45deg);
        -ms-transform: translatey(85px) rotate(-45deg);
            transform: translatey(85px) rotate(-45deg);
    font-weight: bold;
}

#kbd-listings-archive .other,
#kbd-related-properties .other{
    color: #fff;
    position: absolute;
    top: 15px;
    text-align: center;
    left: 0px;
    display: inline-block;
    font-weight: bold;
    border-radius: 0 4px 4px 0;
}

.modal .close {
    position: absolute;
    right: -40px;
    top: -40px;
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
    cursor: pointer
}

.modal .btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
}

/* ===== Footer ===== */

#footer-widgets i {
	position: relative;
	top: 5px;
}

#footer-widgets,
footer {
    background: var(--kbd-secondary);
}

#footer-widgets h4 {
    color: #fff;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(255,255,255,0.5);
    display: inline-block;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

#footer-widgets .row {
    max-width: 90%;
    margin: auto;
}

#footer-widgets ul {
    list-style: none!important;
    padding-left: 0!important;
}

#footer-widgets p,
#footer-widgets a,
footer .site-info {
    color: rgba(255,255,255,0.5);
}

footer .site-info a {
    color: #fff;
}

#footer-widgets .col {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    margin: 10px;
}

.footer-widgets .row {
    padding-bottom: 20px!important;
}

@media (max-width: 1400px) {
		
	#kbd-main-header .display-3 {
	    font-size: 3em;
	}
}

@media (max-width: 992px) {
	
	.kbd-titles .display-3 {
        font-size: 3em!important;
    }
    
    .rr-n30 {
        right: 0px;
    }
    
    #navbar-main-menu .kbd-navber-btn .nav-link {
        margin-left: 0px;
        margin-bottom: 15px;
    }
	
	#kbd-service-archive .line {
		width: 30%;
	}
	
	#kbd-main-header .display-3 {
	    font-size: 2.5em;
	}
	
	#footer-widgets .row {
        max-width: 100%;
        margin: auto;
    }
}

@media (max-width: 768px) {
	.kbd-float-left {
		float: none;
		width: 100%;
	}
	.kbd-float-left img {
		width: 100%!important;
	}
}