﻿/* 

    Custom CSS for Ralph's Homes.

*/

html {
    height: 100%;
    min-height: 100%;
}

body {
    height: 100%;
    min-height: 100%;
    margin: 0 0;
    padding: 0 0;
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 175%;
    background-color: #1C1D1C;
    color: #FFFFFF;
}

/* The Form */

#frmMaster {
    background-color: #FFFFFF;
    color: #000000;
}

/* The Header */
.header {
}

.header-logo {
    padding: 15px 0;
}

.header-logo img {
    width: 100%;
    margin: 0 auto;
}

.header-contact {
    padding-bottom: 15px;
    text-align: center;
    color: #000000;
}

.header-contact .free-delivery {
    display: block;
    padding-left: 5px;
    padding-right: 5px;
    color: #12803C;
    line-height: 150%;
}

.header-contact .phone,
.header-contact .phone a,
.header-contact .phone a:visited,
.header-contact .phone a:hover {
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
    color: #606060;
    text-decoration: none;
}

.header-contact .facebook, .header-contact .instagram, .header-contact .youtube {
    display: inline-block;
    position: relative;
    top: -1px;
    padding-left: 5px;
    padding-right: 5px;
}

.header-contact .facebook a, .header-contact .facebook a:visited {
    color: #3B5998;
}

.header-contact .facebook a:hover {
    color: #3B5998;
}

.header-contact .instagram a, .header-contact .instagram a:visited {
    color: #000000;
}

.header-contact .instagram a:hover {
    color: #000000;
}

.header-contact .youtube a, .header-contact .youtube a:visited {
    color: #FF0033;
}

.header-contact .youtube a:hover {
    color: #FF0033;
}

.header .menu-bar {
    background-color: #12803C;
}

@media only screen and (max-width : 768px) {

    .header-logo img {
        width: auto;
        margin: 0 auto;
    }

}

@media only screen and (min-width : 768px) {

    .header {
        position: fixed;
	    width: 100%; 
	    background-color: #FFFFFF;
	    z-index: 9999;
        box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.66);
    }

    .header .valign-middle {
        display: flex;
        align-items: center;
    }

    .header-left {
    }

    .header-logo {
        position: absolute;
        top: 5px;
        margin: 0 0;
        padding: 0 0;
        z-index: 9999;
    }

    .header-right {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .header-contact {
        position: relative;
        top: 2px;
        padding-bottom: 0px;       
        text-align: right;
    }

    .header-contact .free-delivery {
        display: inline-block;
    }

    .header-contact .facebook {

    }

    /* Fancybox Z-Index */

    .fancybox-overlay {
        z-index: 99990 !important;
    }

    .fancybox-opened {
        z-index: 99999 !important;
    }

}

@media only screen and (min-width : 1024px) {

    .header-logo {
        top: 15px;
    }

    .header-logo img {
    }

    .header-contact {
        font-size: 22px;
        line-height: 100%;
    }

}

/* The Footer */

.footer {
    padding-top: 40px;
    padding-bottom: 40px;
    font-size: 16px;
    color: #FFFFFF;
    line-height: 150%;
    text-align: center;
    background-color: #1C1D1C;
}

.footer-menu {
    color: #DDDDDD;
}

.footer-menu a, .footer-menu a:visited {
    color: #DDDDDD;
    text-decoration: none;
}

.footer-menu a:hover {
    color: #FFFFFF;
    text-decoration: none;
}

.footer-copyright {
    margin-bottom: 0 !important;
    color: #BBBBBB;
}

.footer-copyright a, .footer-copyright a:visited {
    color: #BBBBBB;
    text-decoration: none;
}

.footer-copyright a:hover {
    color: #FFFFFF;
    text-decoration: none;
}

@media only screen and (max-width : 1100px) {

    .footer {
        font-size: 14px;
    }

}

/* Marquee */

.marquee-background {
    background-color: #12803C;
}

.marquee-wrapper {
    height: 72px;
    margin-bottom: 16px;
    overflow:hidden;
}

.marquee {
    height: 72px;
    margin: 0 15px;
    font-size: 30px;
    font-weight: normal;
    color: #ffffff;
    line-height: 90px;
}

.marquee-background > .container {
    padding-left: 0;
    padding-right: 0;
}

.marquee-background > .container > .row {
    margin-left: 0;
    margin-right: 0;
}

.marquee-background > .container > .row > .col-xs-12 {
    padding-left: 5px;
    padding-right: 5px;
}

@media only screen and (max-width : 1024px) {

    .marquee-background .container {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .marquee-background > .container > .row > .col-xs-12 {
        width: 100%;
    }
}

/* Some general stuff. */

p {
    margin-bottom: 20px;
}

h1, h2, h3 {
    font-family: Garamond, Baskerville, Baskerville Old Face, Hoefler Text, Times New Roman, serif;
    margin-bottom: 20px;
}

h1 {
    margin-top: 0;
    font-size: 250%;
    line-height: 100%;
}

h2 {
    font-size: 200%;
    line-height: 100%;
}

ul {
    margin-bottom: 20px;
}

hr {
    border-color: #CCCCCC;
}

.photo {
    border: 1px solid #cccccc;
}

.centered {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Swiper */

.swiper-container {
    width: 100%;
    height: auto;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.66);
}

.swiper-slide {
    text-align: center;
}

    .swiper-slide .img-responsive {
        width: 100%;
        height: auto;
    }

    .swiper-slide .slide-title {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        justify-content: center;
        flex-direction: column;
        font-family: Garamond, Baskerville, Baskerville Old Face, Hoefler Text, Times New Roman, serif;
        font-size: 40px;
        font-weight: bold;
        color: #FFFFFF;
        line-height: 150%;
        text-align: center;
        text-shadow: 0px 0px 8px rgba(0, 0, 0, 1);
        background: url('/Images/overlay.png');
        background-position: bottom center;
        background-repeat: repeat-x;
        background-size: contain;
    }

        .swiper-slide .slide-title .slide-title-text {
            align-self: center;
            padding: 1rem 2rem;
            line-height: 120%;
            margin-bottom: 14px !important;
            font-weight: bold;
            font-size: 150%;
        }

/*--Tablet--*/
@media (min-width: 768px) and (max-width: 992px) {

    .swiper-slide .slide-title .slide-title-text {
        font-size: 100%;
    }
}

.swiper-pagination-bullet {
    width: 16px;
    height: 16px;
    background-color: #000000;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background-color: #FFFFFF;
    opacity: 0.9;
}


/*--Mobile--*/
@media (max-width : 767px) {

    .swiper-container {
        border-bottom: 0px none;
        background-color: #FFFFFF;
    }

    .swiper-pagination {
        display: none;
    }

    .swiper-slide {
        display: flex;
        flex-direction: column-reverse;
    }

        .swiper-slide .slide-title {
        }

            .swiper-slide .slide-title .slide-title-text {
                margin-bottom: 0;
                padding: 16px 8px;
                font-size: 32px;

            }

    .swiper-button-next.swiper-button-white,
    .swiper-button-prev.swiper-button-white {
        display: none;
    }
}

/* Big Picture Box. */

.big-picture {
    background-color: #FFFFFF;
    border-bottom: solid 2px #485A4C;
}

.big-picture .container-fluid {
    margin: 0 auto;
    padding: 0 0;
}

.big-picture .container-fluid .row {
    margin: 0 0;
    padding: 0 0;
}

.big-picture .container-fluid .row .col-xs-12 {
    margin: 0 0;
    padding: 0 0;
}

.big-picture .nivoSlider {
    margin: 0 auto;
    padding: 0 0;
}

.big-picture .slider-wrapper {
    overflow: hidden;
    margin: 0 auto;
    padding: 0 0;
}

.big-picture .nivo-controlNav {
    display: none;
}

.theme-default a.nivo-prevNav, .theme-default a.nivo-nextNav {
    background-image: url('/Images/Layout/arrows.png');
}

/**** Hides the arrows on the other pages ****/
.theme-default .no-arrows a.nivo-prevNav, .theme-default .no-arrows a.nivo-nextNav {
    display: none;
}

div.big-picture .slider-wrapper div.slider-caption {
    display: none;
}

div.big-picture .slider-wrapper div.nivo-caption {
    display: none;
    position: absolute;
    padding-top:140px;
    font-size: 130%;
    font-weight: bold;
    line-height: 120%;
    left: 0px;
    overflow: hidden;
    color: #FFFFFF;
    text-align: center;
    background: none;
    bottom: 0;
    box-sizing: border-box;
    opacity: 10.0;
    text-shadow: 0px 0px 8px rgba(0, 0, 0, 1);
    background: url('/Images/layout/overlay.png');
    background-position: bottom center;
    background-repeat: repeat-x;
    background-size:contain;
}

div.big-picture div.slider-wrapper div.nivo-caption h1 {
    line-height: 120%;
    margin-bottom:14px !important;
    font-weight: bold;
    text-shadow: 0 0 0.1em #141414, 0 0 0.1em #141414, 0 0 0.1em #141414, 0 0 0.1em #141414;
}


@media (max-width: 1240px) {

    div.big-picture div.slider-wrapper div.nivo-caption h1 {
        font-size:150%;
    }

}

@media (max-width: 900px) {
    div.big-picture div.slider-wrapper div.nivo-caption h1 {
        font-size:100%;
    }
}

@media (max-width: 767px) {

    .big-picture {
        border-top: 0 !important;
        border-bottom: 1px solid #408040;
    }

    div.big-picture div.slider-wrapper div.nivo-caption {
        display:none !important;
    }

}

/* White Background */

.white-bg {
    color: #595959;
    background-color: #FFFFFF;
}

.white-bg .container {
    padding-top: 40px;
    padding-bottom: 40px;
}

.white-bg .container > .row {
    margin-left: 0;
    margin-right: 0;
}

.white-bg .container > .row:first-child > div > :first-child {
    margin-top: 0;
}

.white-bg .container > .row:last-child > div > :last-child {
    margin-bottom: 0;
}

.white-bg h1, .white-bg h2, .white-bg h3 {
    color: #595959;
}

.white-bg h1 {
    margin-top: 0;
}

.white-bg .container a:not(.btn), .white-bg .container a:not(.btn):visited {
    color: #990000;
    text-decoration: none;
}

.white-bg .container a:not(.btn):hover {
    color: #000099;
    text-decoration: none;
}

/* Alert Background */

.alert-bg {
    color: #FFFFFF;
    font-weight: bold;
    background-color: #DD0000;
}

.alert-bg .container {
    padding-top: 40px;
    padding-bottom: 40px;
}

.alert-bg .container > .row {
    margin-left: 0;
    margin-right: 0;
}

.alert-bg .container > .row:first-child > div > :first-child {
    margin-top: 0;
}

.alert-bg .container > .row:last-child > div > :last-child {
    margin-bottom: 0;
}

.alert-bg h1, .alert-bg h2, .alert-bg h3 {
    color: #FFFFFF;
}

.alert-bg h1 {
    margin-top: 0;
}

.alert-bg .container a, .alert-bg .container a:visited {
    color: #FFFFCC;
    text-decoration: none;
}

.alert-bg .container a:hover {
    color: #FFFF00;
    text-decoration: none;
}

/* XMas Background */

.xmas-bg {
    color: #FFFFFF;
    background-color: #006a14;
    background-image: url('/Images/Layout/xmas-bg.jpg');
    background-position: center center;
    background-size: cover;
}

    .xmas-bg .container {
        padding-top: 40px;
        padding-bottom: 40px;
    }

        .xmas-bg .container > .row {
            margin-left: 0;
            margin-right: 0;
        }

            .xmas-bg .container > .row:first-child > div > :first-child {
                margin-top: 0;
            }

            .xmas-bg .container > .row:last-child > div > :last-child {
                margin-bottom: 0;
            }

    .xmas-bg .photo {
        border-color: #000000;
    }

    .xmas-bg h1 {
        margin-top: 0;
        color: #FFFFFF;
    }

    .xmas-bg h2, .xmas-bg h3 {
        color: #FFFFFF;
    }

    .xmas-bg .container a, .xmas-bg .container a:visited {
        color: #FFFF00;
        text-decoration: none;
    }

        .xmas-bg .container a:hover {
            color: #FFFFFF;
            text-decoration: none;
        }


/* Wood Background */

.wood-bg {
    color: #FFFFFF;
    background-color: #485A4C;
    background-image: url('/Images/Layout/green-wood-background.jpg');
    background-position: center;
    background-size: cover;
}

.wood-bg .container {
    padding-top: 40px;
    padding-bottom: 40px;
}

.wood-bg .container > .row {
    margin-left: 0;
    margin-right: 0;
}

.wood-bg .container > .row:first-child > div > :first-child {
    margin-top: 0;
}

.wood-bg .container > .row:last-child > div > :last-child {
    margin-bottom: 0;
}

.wood-bg h1 {
    margin-top: 0;
    color: #FFFFFF;
}

.wood-bg h2, .wood-bg h3 {
    color: #FFFFFF;
}

.wood-bg .container a, .wood-bg .container a:visited {
    color: #FFFF00;
    text-decoration: none;
}

.wood-bg .container a:hover {
    color: #FFFFFF;
    text-decoration: none;
}

/* Video Background */

.video-bg {
    color: #FFFFFF;
    background-color: #485A4C;
    background-image: url('/Images/Layout/green-wood-background.jpg');
    background-position: center;
    background-size: cover;
}

.video-bg .container {
    padding-top: 40px;
    padding-bottom: 0px;
}

.video-bg .container > .row {
    margin-left: 0;
    margin-right: 0;
}

.video-bg .container > .row:first-child > div > :first-child {
    margin-top: 0;
}

.video-bg .container > .row:last-child > div > :last-child {
    margin-bottom: 0;
}

.video-bg h1 {
    margin-top: 0;
    color: #FFFFFF;
}

.video-bg h2, .video-bg h3 {
    color: #FFFFFF;
}

.video-bg .container a, .video-bg .container a:visited {
    color: #FFFF00;
    text-decoration: none;
}

.video-bg .container a:hover {
    color: #FFFFFF;
    text-decoration: none;
}

/* Wide Picture Box */

.wide-picture {
    background-color: #FFFFFF;
    border-bottom: solid 2px #485A4C;
}

.wide-picture .container-fluid {
    margin: 0 auto;
    padding: 0 0;
}

.wide-picture .container-fluid .row {
    margin: 0 0;
    padding: 0 0;
}

.wide-picture .container-fluid .row .col-xs-12 {
    margin: 0 0;
    padding: 0 0;
}

@media only screen and (min-width: 1920px) {

    /* This is a fix for screens larger than 1920px */
    .wide-picture img {
        width: 100%;
    }
}

/* Home Page */

.img-shadow {
    -webkit-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.33);
    -moz-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.33);
    box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.33);
}

.bg-light {
    background-color: #FCFCFC !important;
}

/* Contact Page */

table.contact-info {
    width: 100%;
    margin: 0 auto 20px auto;
}

table.contact-info td {
    padding: 0 0 8px 0;
    vertical-align: top;
}

table.contact-info tr td:first-child {
    width: 40%;
    padding-right: 6px;
    font-weight: bold;
    text-align: right;    
}

table.contact-info tr td:last-child {
    width: 60%;
    padding-left: 6px;
    text-align: left;
}

.contact-form {
    margin-bottom: 20px;
    padding: 4px 4px;
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.contact-form-header {
    padding: 10px 10px;
    color: #FFFFFF;
    font-weight: bold;
    text-align: center;
    background-color: #408040;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.contact-form-content {
    padding: 15px 15px;
}

.contact-form textarea {
    resize: none;
}

.contact-form div.captcha {
    margin-bottom: 16px;
}

.contact-form #recaptcha_widget_div {
    margin: 0 0;
    text-align: center;
}

.contact-form #recaptcha_area {
    margin: 0 auto;
    text-align: left;
}

.contact-form .input-group-addon {
}

/* Hidden Cycle */

.hidden-cycle-outer {
    padding: 5px 5px;
    background-color: #FFFFFF;
    border: 1px solid #DDDDDD;
    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
}

.hidden-cycle-inner {
    margin: 0 0;
    padding: 0 0;
}

/**** Other Styles ****/

.green-font {
    font-weight: bold;
    color: #30663D;
}

div.map-wrapper {
    border: 1px solid #830628;
}

div.map-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    margin-bottom: 10px;
    height: 0;
    border: 1px solid #000000;
}

div.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0px none;
}

/* Synchrony Banner */

.synch-banner {
    margin: 0 auto 20px auto;
    padding: 20px 20px;
    font-size: 133%;
    color: #000000;
    border: 3px solid #FBC600;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.25);
}

.synch-banner .synch-logo {
    width: 100%;
    height: auto;
    margin: 0 auto 20px auto;
}

.synch-banner a:not(.btn),
.synch-banner a:not(.btn):visited,
.synch-banner a:not(.btn):hover {
    color: #000000 !important;
    text-decoration: none;
}

.synch-banner a.btn,
.synch-banner a.btn:visited {
    padding: 15px 30px 13px 30px;
    color: #000000;
    text-transform: uppercase;
    text-decoration: none;
    border: 0px none;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    background-color: #FBC600;
}

.synch-banner a.btn:hover {
    background-color: #E0B000;
}

@media (min-width: 1199px) {

    .synch-banner p:last-child {
        margin-bottom: 0px;
    }

}
