/* Structure */

html {
  scroll-behavior: smooth;
}

body {
    background: #eee;
}

#mainWrapper {
    position: relative;
    margin-top: -200px;
    width: 100%;
    background-image: linear-gradient(177deg, transparent 15%, #eee calc(15% + 2px), #eee calc(50% - 2px), transparent 50%);
}

main {
    position: relative;
}

#hero {
    height: 600px;
    overflow: hidden;
}

.heroImage {
    position: relative;
}

#navRow {
    position: absolute;
    top: 20px;
    z-index: 1000;
    display: block;
    width: 100%;
    background: rgba(255,255,255,.95);
}

#navRow nav {
    top: 0;
}

#rightColumn {
    background: #e6e6e6;
    box-shadow: 0 0 100px rgba(0,0,0,.2);
}

#testimonials {
    overflow: hidden;
    background-image: linear-gradient(177deg, #fff 70%, #eee calc(70% + 2px));
}

#ctaSpacerWrapper {
    margin-top: -400px;
    padding-top: 350px;
    background-image: linear-gradient(177deg, #eee 15%, transparent calc(15% + 2px)), url('../img/main.jpg');
    background-size: cover;
}

#ctaSpacer {
    height: 500px;
}

#moreWrapper {
    background: #c34436;
}

footer {
    position: relative;
}


/* Text */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lato', sans-serif;
    text-transform: capitalize;
    color: #000;
}

h1 {
    font-size: 1.4em;
    font-weight: 700;
    text-transform: uppercase;
}

h2 {
    font-size: 1.3em;
    font-weight: 700;
    font-style: italic;
}

h3 {
    font-size: 1.6em;
    font-weight: bold;
    font-style: italic;
}

h4 {
    font-size: 2.6em;
    font-weight: 300;
    font-style: italic;
    line-height: 1.4em;
}

h5 {
    text-transform: uppercase;
    font-size: 1.4em;
    font-weight: 700;
}

#testimonials h5 {
    background: url(../img/marker.png) center center no-repeat;
}

.highlight {
    color: #c34436;
}

p, li, a, button, input, label, textarea, code, blockquote {
    font-family: 'Lato', sans-serif;
    font-size: 1em;
    line-height: 1.6em;
    font-weight: 400;
    color: #000;
}

p {
    margin-bottom: 20px;
}

p:last-of-type {
    margin-bottom: 0;
}

p.testimonial {
    font-size: 1.2em;
    line-height: 1.2em;
    font-style: italic;
}

input, textarea {
    padding: 5px 10px;
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    box-sizing: border-box;
    transition: all .3s ease;
}

input:focus, textarea:focus {
    border: 1px solid #c34436;
}

label.error {
    color: #c34436;
}

span.validation {
    position: fixed;
    top: -500px;
    left: -500px;
}

#success {
    display: none;
    font-weight: bold;
}


/* Links, Buttons, Navigation */

* :focus {
	outline: 0px none !important;
}

a, a:visited {
    color: #c34436;
    text-decoration: underline;
    transition: all .3s ease;
}

#more a, #more a:visited {
    color: #fff;
}

a:hover, a:active {
    color: #000;
}

a button {
    text-decoration: none !important;
}

nav a, nav a:visited {
    color: #333;
    text-decoration: none;
}

footer nav {
    border-top: 1px solid #dfdfdf;
    text-align: center;
    font-size: .75em;
}

button {
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
    background: transparent;
    color: #000;
    border: 1px solid #000;
    cursor: pointer;
}

button.whiteButton {
    border: 1px solid #fff;
    color: #fff;
    transition: all .1s ease;
}

button.whiteButton:hover {
    box-shadow: 0 0 10px rgba(255,255,255,.7);
}

input.formSubmit {
    border: 2px solid #de7a6f;
    background: #c34436;
    color: #fff;
    font-weight: 700;
    font-size: 1.1em;
    text-transform: uppercase;
}

input.formSubmit:hover {
    cursor: pointer;
    opacity: .8;
}

nav li {
    display: inline;
    text-align: center;
    text-transform: uppercase;
    font-weight: 300;
}

nav li::after {
    content: '|';
    color: #c34436;
    opacity: .5;
    margin-left: 10px;
    margin-right: 5px;
}

nav li:last-child::after {
    content: '';
}

nav li a:hover, nav li a:active {
    color: #c34436;
}

footer nav li a, footer nav li a:visited {
    color: #aaa;
}

footer nav li a:hover, footer nav li a:active {
    color: #000;
}

/* Google Map */

#googleMap {
    position: relative;
    height: 0;
    overflow: hidden;
    box-shadow: 0 0 100px rgba(0,0,0,.1);
    height: 350px !important;
}

#googleMap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 350px !important;
}


/* Owl Carousel Overrides */

.carouselNav {
    position: absolute;
    top: -30px;
}

.carouselNavLeft {
    left: -100px;
}

.carouselNavRight {
    right: -100px;
}

#hero .owl-item {
    position: relative;
    bottom: 100px;
    -webkit-animation-duration: 6s !important;
    animation-duration: 6s !important;
}


/* Responsiveness */

@media screen and (max-width: 1279px) {
    #hero {
        height: 500px;
    }
    
    #hero .owl-item img {
        height: 800px !important;
        width: auto !important;
    }
    
    #ctaSpacerWrapper {
        padding-top: 250px;
    }
    
    #ctaSpacer {
        height: 400px;
    }
}

@media screen and (max-width: 767px) {
    #hero {
        height: 400px;
    }
    
    #hero .owl-item img {
        height: 400px !important;
        width: auto !important;
    }
    
    #mainWrapper {
        margin-top: -200px;
    }
    
    #ctaSpacerWrapper {
        padding-top: 250px;
        height: 300px;
    }
    
    #ctaSpacerWrapper {
        width: auto;
        background-position: bottom left -200px;
    }
    
    h4 {
        font-size: 2em;
        line-height: 1.4em;
    }
    
    .carouselNavLeft. .carouselNavRight {
        display: none;
    }
    
}

@media screen and (max-width: 599px) {
    header nav {
        display: none;
    }
    
    footer nav ul {
        float: none;
    }
}