﻿/* 

    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: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 20px;
    line-height: 175%;
    background-color: #242424;
    color: #FFFFFF;
}


/* The Form */

#frmMaster {
    background-color: #FFFFFF;
    color: #000000;
}

/* The Header */

.header {
    
}

.header-logo {
    padding-top:20px;
    padding-bottom:10px;
}

    .header-logo img, .header-well, .header-well-alt {
        margin: 20px auto 15px auto;
    }



@media only screen and (min-width : 768px) {

    .affix-top, .affix {
        /* position: fixed; */
    }

    .header {
        /*position: fixed;*/
        width: 100%;
        background-color: #FFFFFF;
        background-image: url('/Images/Layout/header-bg.png');
        background-position: top;
        background-repeat:repeat-x;
        max-height:244px;
        height:100%;
        z-index: 9999;
        box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.66);
    }

    .header .valign-middle {
        display: flex;
        align-items: center;
    }

    .header-logo {
        text-align: left;
    }

    .header-logo img {
        position: relative;
        top: -5px;
        margin: 0 0;
    }

    .header-right {

    }

    .header-contact {
        padding:30px 0;
        text-align: right;
    }

    .header-contact ul li {
        list-style:none;
        line-height:28px;
    }

    .header-contact a, .header-contact a:visited {
        color: #000000;
        text-decoration: none;
    }

    .header-contact a:hover {
        color: #8f8f8f;
        text-decoration: none;
    }

}

@media only screen and (max-width : 991px) {

    .header-logo {
        text-align: left;
        padding-top:20px;
    }

}

@media only screen and (max-width : 768px) {

    .header-contact {
        text-align: center !important;
    }

    .header-contact ul {
        padding-left: 0 !important;
    }

    .header-contact ul li {
        list-style: none;
        line-height: 28px;
    }

    .header-well, .header-well-alt {
        margin: 0 0 20px 0;
    }

}

.header .menu {
    background-color: #677076;
    padding: 8px 0 8px 0;
}

/* No Gutter */

.no-gutters {
    background-color: #242424;
}

    .no-gutters .container-fluid {
        margin: 0 auto;
        padding: 0 0;
    }

        .no-gutters .container-fluid .row {
            margin: 0 0;
            padding: 0 0;
        }

            .no-gutters .container-fluid .row .col-xs-12, .no-gutters .container-fluid .row .col-md-4 {
                margin: 0 0;
                padding: 0 0;
            }

.wide-pics img {
    width: 100%;
}

@media only screen and (min-width: 1920px) {

    /* This is a fix for screens larger than 1920px */
    .wide-picture img {
        width: 100%;
    }
}

    /* The Footer */

    .footer {
        padding-top: 40px;
        padding-bottom: 40px;
        font-size: 16px;
        line-height: 150%;
        background-color: #242424;
    }


    .footer a, .footer a:visited {
        color: #ffffff;
        text-decoration: none;
    }

        .footer a:hover {
            color: #fff7c0;
            text-decoration: none;
        }

        .footer a.phone:hover {
            color:#ffffff;
        }

        .footer h3 {
            margin-bottom: 10px !important;
            font-size: 24px;
            color: #fff3b1;
            line-height: 100%;
        }

    .footer p {
        color:#ffffff !important;
    }

    .footer ul {
        margin: 0 0;
        padding: 0 0;
        color: #D0D0D0;
    }

    .footer ul li {
        list-style: none !important;
    }

        .footer .footer-city {
            font-weight: bold;
            color: #f96a43;
        }

    .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;
    }

    .footer hr {
        margin-top: 0px;
        margin-bottom: 10px;
    }

    @media only screen and (max-width : 768px) {

        .header-contact {
            padding-bottom: 20px;
        }

        .big-picture {
            border-top: 0 !important;
        }
    }

    @media only screen and (max-width : 1100px) {

        .footer {
            font-size: 14px;
        }
    }

    /* Some general stuff. */

    p {
        margin-bottom: 20px;
    }

h1 {
    margin-top: 0;
}

h3 {
    margin-top:0;
    font-size:20px;
}

    h1, h2, h3 {
        margin-bottom: 20px;
        font-weight:bold;
    }


    ul {
        margin-bottom: 20px;
    }

    ul li.facebook {
        display:inline;
        font-size: 28px;
        height:100%;
        vertical-align:middle;
    }

    .noHover {
        pointer-events: none !important;
    }

    .photo {
        border: 1px solid #000000;
    }

    .caption {
        color: #a12020;
        margin-bottom: 10px;
    }

    /* Big Picture Box. */

    .big-picture {
        background-color: #FFFFFF;
    }

    .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');
    }

    div.big-picture .slider-wrapper div.slider-caption {
        display: none;
    }

    div.big-picture .slider-wrapper div.nivo-caption {
        display: none;
        position: absolute;
        font-size: 500%;
        font-weight: bold;
        line-height: 100%;
        left: 0px;
        top: 60%;
        margin-top: -100px;
        overflow: hidden;
        color: #FFFFFF;
        text-align: center;
        background: none;
        bottom: 0;
        box-sizing: border-box;
        opacity: 1.0;
        text-shadow: 0px 0px 40px rgba(0, 0, 0, 1);
        padding: 5px 10px;
        width: 100%;
        z-index: 8;
    }

    div.big-picture div.slider-wrapper div.nivo-caption h1 {
        font-size: 65%;
        line-height: 100%;
        font-weight: bold;
        text-shadow: 0 0 0.2em #323232, 0 0 0.2em #323232, 0 0 0.2em #323232, 0 0 0.2em #323232;
    }

    div.big-picture div.slider-wrapper div.nivo-caption h2 {
        font-size: 52%;
        line-height: 100%;
        font-weight: bold;
        text-shadow: 0 0 0.2em #323232, 0 0 0.2em #323232, 0 0 0.2em #323232, 0 0 0.2em #323232;
    }


@media (max-width: 1920px) {
    div.big-picture div.slider-wrapper div.nivo-caption h1 {
        font-size: 50%;
        line-height: 100%;
        font-weight: bold;
        text-shadow: 0 0 0.2em #323232, 0 0 0.2em #323232, 0 0 0.2em #323232, 0 0 0.2em #323232;
    }
}

    @media (max-width: 1360px) {
        div.big-picture div.slider-wrapper div.nivo-caption h1 {
            font-size: 42%;
            margin-top: 24px;
        }
    }

    @media (max-width: 1200px) {
        div.big-picture div.slider-wrapper div.nivo-caption {
            top: 64%;
            font-size: 500%;
        }
    }

    @media (max-width: 998px) {
        div.big-picture div.slider-wrapper div.nivo-caption h1 {
            font-size: 34%;
            margin-top:24px;
        }
    }

    @media (max-width: 768px) {
        div.big-picture div.slider-wrapper div.nivo-caption h1, div.big-picture div.slider-wrapper div.nivo-caption h2 {
            display: none !important;
        }
    }


@media only screen and (min-width : 1920px) {

    .big-picture img {
        width: 100%;
    }
}


/* White Background */

.white-bg {
    color: #000000;
    background-color: #ffffff;
}

    .white-bg .container {
        padding-top: 30px;
        padding-bottom: 30px;
    }

        .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 {
            text-align:center;
        }

    .white-bg .container a, .white-bg .container a:visited {
        color: #a31c1c !important;
        text-decoration: none;
    }

        .white-bg .container a:hover {
            color: #888888 !important;
            text-decoration: none;
        }

    /* Blue Background */

.blue-bg {
    color: #ffffff;
    background-image: url('/Images/Layout/blue-bg.jpg');
    background-position:center;
}

    .blue-bg .container {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .blue-bg .container > .row {
        margin-left: 0;
        margin-right: 0;
    }

    .blue-bg .container > .row:first-child > div > :first-child {
        margin-top: 0;
    }

    .blue-bg .container > .row:last-child > div > :last-child {
        margin-bottom: 0;
    }

    .blue-bg .container a, .blue-bg .container a:visited {
        color: #000088;
        text-decoration: none;
    }

    .blue-bg .container a:hover {
        color: #880000;
        text-decoration: none;
    }

    .blue-bg h1, .blue-bg h2, .blue-bg h3 {
        text-align: center;
        color: #ffffff;
        margin-bottom: 10px;
    }

    .blue-bg .well, .blue-bg .well h1, .blue-bg .well h2, .blue-bg .well-alt, .blue-bg .well-alt h1, .blue-bg .well-alt h2 {
        color: #2a3359
    }


/* Color Background */

.grey-bg {
    color: #ffffff;
    background-color: #979ba2;
    background-size: cover;
}

    .grey-bg .container {
        padding-top: 30px;
        padding-bottom: 30px;
    }

        .grey-bg .container > .row {
            margin-left: 0;
            margin-right: 0;
        }

            .grey-bg .container > .row:first-child > div > :first-child {
                margin-top: 0;
            }

            .grey-bg .container > .row:last-child > div > :last-child {
                margin-bottom: 0;
            }

        .grey-bg .container a, .grey-bg .container a:visited {
            color: #000088;
            text-decoration: none;
        }

            .grey-bg .container a:hover {
                color: #880000;
                text-decoration: none;
            }

    .grey-bg h1, .grey-bg h2, .grey-bg h3 {
        text-align: center;
        color: #ffffff;
        margin-bottom: 10px;
    }

/* Contact Page */

table.contact-info {
    margin: 0 auto;
}

    table.contact-info td {
        padding: 0 0 8px 0;
        vertical-align: top;
    }

        table.contact-info td.contact-info-left {
            padding-right: 4px;
            font-weight: bold;
            text-align: right;
        }

        table.contact-info td.contact-info-right {
            padding-left: 4px;
            text-align: left;
        }

.contact-info {
    margin-bottom: 30px;
}

    .contact-info .row .col-xs-12:first-child {
        font-weight: bold;
        text-align: right;
    }

@media only screen and (max-width: 768px) {

    .contact-info .row .col-xs-12 {
        text-align: center !important;
    }
}

/* Travel Program Page */

.panel.contact-form .panel-body {
    padding: 20px 30px 30px 30px;
}

/* Swiper */

.swiper-slide .slide-title {
    position: absolute;
    bottom: 40%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 35px;
    font-weight: bold;
    color: #FFFFFF;
    line-height: 150%;
    text-align: center;
    text-shadow: 0 0 0.2em #323232, 0 0 0.2em #323232, 0 0 0.2em #323232, 0 0 0.2em #323232;
}

.swiper-slide.company-pic .slide-title {
    bottom: 8%;
}

    .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%;
    }

    @media(max-width:1500px){
        .swiper-slide .slide-title{
            font-size:25px;
        }
    }

    @media(max-width:1000px){
        .swiper-slide .slide-title{
            font-size:18px;
        }
    }

@media(max-width:768px) {

    .swiper-button-next.swiper-button-white,
    .swiper-button-prev.swiper-button-white {
        display: none;
    }

    .swiper-slide .slide-title {
        bottom: 0;
        left: 0;
        right: 0;
        padding: 1.25rem 0;
        background-color: rgba(0,0,0,0.66);
    }

    .swiper-slide .slide-title .slide-title-text {
        padding: 0 0;
        margin: 0 auto !important;
        font-size: 16px;
        line-height: 1.5;
    }
/*
    .swiper-slide .slide-title .slide-title-text{
        display:none !important;
    }*/

}

