/*
Theme Name: DDReps
Author: GWP Inc
Description: DDReps Child Theme
Version: 1.0
Template: bootstrap-component-blox
*/

:root {
    --dd-primary: #282828;
    --dd-secondary: #282828;
    --dd-dark: #000;
    --dd-accent: #F3AF5A;
    --dd-grey: #282828;
    --dd-font: 'Montserrat', sans-serif;;
}

/* ===== Global ===== */

html,
body {
    overflow-x: hidden;
    font-family: var(--dd-font);
}

.row {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

.row-full {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto; 
}

a,
a:hover {
    text-decoration: none;
}

.z-front {
    z-index: 5;
}

.z-back {
    z-index: 1;
}

/* ===== Header ===== */

#dd-main-header {
    background: url(/wp-content/uploads/2021/01/header.jpg) center/cover;
}

#post-114 #dd-main-header {
	background: #000!important;
}

#dd-main-header h1 {
    font-weight: 300;
}

#dd-main-header p {
    line-height: 1.9em;
}

#dd-main-header .overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(0deg , rgba(0,1,1,.7) 0%, rgba(0,0,0,0) 100%);
}

#dd-main-header .row-2 {
    padding-top: 300px;
}

/* ===== Custom Classes ===== */

.pe-10 {
    padding-right: 200px;
}

.ps-10 {
    padding-left: 200px;
}

.dd-titles {
    position: relative;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.dd-titles:before {
    content: '';
    height: 2px;
    background: #000;
    width: 50%;
    position: absolute;
    top: 0;
    left: 0;
}

.dd-titles:after {
    content: '';
    height: 2px;
    background: #000;
    width: 50%;
    position: absolute;
    bottom: 0;
    right: 0;
}

.dd-vertical-title {
    position: relative;
    display: inline-block;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 10px;
}

.dd-vertical-title:before {
    content: '';
    background: #000;
    top: 0;
    left: 0;
    height: 80px;
    width: 100%;
    position: absolute;
    display: block;
    transform: translatey(-100%);
}

.mw-900 {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.no-wrap {
    white-space: nowrap;
}

/* ===== Form ===== */

.has-form input {
   padding: 25px 20px!important;
   border: 0!important;
   background: #eee!important;
}

.has-form textarea {
   padding: 25px 20px!important;
   border: 0!important;
   background: #eee!important;
}

.has-form .wpforms-submit {
    border: 0!important;
    background: #000!important;
    color: #fff!important;
    font-size: 14px!important;
    text-transform: uppercase!important;
    padding-left: 20px;
    padding-right: 20px;
}

/* ===== Text Color ===== */

.dd-text-primary {
    background: var(--dd-primary);
}

.dd-text-secondary {
    background: var(--dd-secondary);
}

.dd-text-dark {
    background: var(--dd-dark);
}

/* ===== Background Color ===== */

.dd-bg-primary {
    background: var(--dd-primary);
}

.dd-bg-grey {
    background: var(--dd-grey);
}

.dd-bg-accent {
    background: var(--dd-accent);
}

.dd-bg-secondary {
    background: var(--dd-secondary);
}

.dd-bg-dark {
    background: var(--dd-dark);
}

/* ===== Button Color ===== */

.btn {
    text-transform: uppercase;
    font-size: 14px;
    border-radius: 0;
    border: 0;
    
}

.dd-btn-primary,
.dd-btn-primary:visited,
.dd-btn-primary:focus {
    background: #000;
    color: #fff;
    padding: 20px 30px;
    letter-spacing: 3px;
    position: relative;
    transition: all .3s;
}

.dd-btn-primary:hover:before,
.dd-btn-primary:hover:after {
    width: 100%;
}

.dd-btn-primary:before {
    content: '';
    height: 2px;
    background: #fff;
    width: 50%;
    position: absolute;
    top: 5px;
    left: 0;
    transition: all .3s;
}

.dd-btn-primary:after {
    content: '';
    height: 2px;
    background: #fff;
    width: 50%;
    position: absolute;
    bottom: 5px;
    right: 0;
    transition: all .3s;
}

.dd-btn-primary:hover {
    color: #fff;
    background: #000;
}

.dd-btn-accent {
    background: #F3AF5A;
    color: #000;
    padding: 20px 30px;
    letter-spacing: 3px;
    position: relative;
    transition: all .3s;
}

.dd-btn-accent:before {
    content: '';
    height: 2px;
    background: #000;
    width: 50%;
    position: absolute;
    top: 5px;
    left: 0;
    transition: all .3s;
}

.dd-btn-accent:after {
    content: '';
    height: 2px;
    background: #000;
    width: 50%;
    position: absolute;
    bottom: 5px;
    right: 0;
    transition: all .3s;
}

.dd-btn-accent:hover:before,
.dd-btn-accent:hover:after {
    width: 100%;
}

/* ===== Light ===== */

.dd-btn-light {
    background: #fff;
    color: #000;
    padding: 20px 30px;
    letter-spacing: 3px;
    position: relative;
    transition: all .3s;
}

.dd-btn-light:hover:before,
.dd-btn-light:hover:after {
    width: 100%;
}

.dd-btn-light:before {
    content: '';
    height: 2px;
    background: #000;
    width: 50%;
    position: absolute;
    top: 5px;
    left: 0;
    transition: all .3s;
}

.dd-btn-light:after {
    content: '';
    height: 2px;
    background: #000;
    width: 50%;
    position: absolute;
    bottom: 5px;
    right: 0;
    transition: all .3s;
}

.dd-btn-light:hover {
    color: #000;
}

/* ===== Video ===== */

#dd-main-header video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

/* ===== Intro ===== */

#dd-intro p {
    font-size: 18px;
    line-height: 1.8em;
}

/* ===== Navbar ===== */

#navbar-main-menu .nav-link {
    text-transform: uppercase;
    color: #000;
    margin-left: 10px;
    margin-right: 10px;
    letter-spacing: 1px;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    transition: all .3s;
}

#navbar-main-menu .nav-link:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 1px;
    background: #000;
    left: 8px;
    transition: all .3s;
}

#navbar-main-menu .nav-link:hover:before {
    width: 50%;
}

/* ===== Toggler ===== */

#toggler:focus, 
#toggler:active {
    outline: 0;
}

#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) {
    -webkit-transform: translatey(10px) rotate(-45deg);
        -ms-transform: translatey(10px) rotate(-45deg);
            transform: translatey(10px) rotate(-45deg);
}
#toggler span:nth-child(2) {
    opacity: 1;
    width: 0;
}
#toggler span:nth-child(3) {
    -webkit-transform: translatey(-10px) rotate(45deg);
        -ms-transform: translatey(-10px) rotate(45deg);
            transform: translatey(-10px) rotate(45deg);  
}

#toggler.collapsed span {
    -webkit-transform: translatey(0) rotate(0deg);
        -ms-transform: translatey(0) rotate(0deg);
            transform: translatey(0) rotate(0deg);
    opacity: 1;
    width: 30px;   
}

/* ===== Comparison ===== */

#dd-comparison h4 {
    position: relative;
    letter-spacing: 3px;
}

#dd-comparison p {
    line-height: 1.8em;
}

#dd-comparison .col-12:nth-child(2) h4:before {
    content: '';
    position: absolute;
    background: #fff;
    top: 0;
    height: 100%;
    right: -100%;
    width: 100%;
}

/* ===== Carousel ===== */

.swiper-container p {
    font-size: 14px;
    letter-spacing: 3px;
}

.swiper-pagination-bullet {
    background: var(--dd-secondary);
    border: 2px solid var(--dd-secondary);
    opacity: .6;
    border-radius: 0!important;
    height: 12px;
    width: 12px;
}

.swiper-pagination-bullet-active {
    background: #fff;
    border: 2px solid #000;
}

/* ===== Virtual Staging ===== */

#dd-comparison .col-12:nth-child(4) h4:before {
    content: '';
    position: absolute;
    background: #fff;
    top: 0;
    height: 100%;
    left: -100%;
    width: 100%;
}

#dd-comparison .image-compare-viewer {
    border-radius: 0!important;
}

/* ===== Contact ===== */

.underline {
    position: relative;
}

.underline:before {
    content: '';
    position: absolute;
    height: 1px;
    width: 90px;
    background: #fff;
    display: inline-block;
    bottom: 7px;
    right: 0;
}

/* ===== Footer ===== */

footer {
    font-size: 14px;
}

footer a {
    color: #000;
    font-weight: bold;
}

@media (max-width: 1250px) {
    #navbar-main-menu .nav-link {
        text-transform: uppercase;
        color: #000;
        margin-left: 0;
        margin-right: 0;
        letter-spacing: 1px;
        font-size: 14px;
        font-weight: 600;
    }
    
}

@media (max-width: 992px) {
    
    .pe-10 {
        padding-right: 0;
    }

    .ps-10 {
        padding-left: 0;
    }
    
    #dd-comparison .col-12:nth-child(4) h4:before {
        content: '';
        right: -100%;
        left: auto;
    }
    
    .dd-vertical-title:before {
        content: '';
        top: 0px;
        height: 50px;
        z-index: 999;
    }
	
	#post-114 #dd-main-header .row {
		padding-top: 30px;
		padding-bottom: 30px;
	}

}

@media (max-width: 768px) {
    
    #dd-main-header .display-4 {
       font-size: 24px; 
    }
    
    #dd-main-header .row-2 {
        padding-top: 150px;
    }
}

@media (max-width: 576px) {}