﻿/* ---------------------------------------------------------------------------------------------

    PHD Responsive Website Template
    Requires Twitter Bootstrap 3.2.0 (or compatible).
     
   --------------------------------------------------------------------------------------------- */

/* We need to override Bootstrap's default container sizes to work with our standard template. */
/* We also need to set the width of the wrapper div. */

@media (min-width: 1084px) {

    div.container {
        width: 1054px;
    }

    div.wrapper {
        width: 1084px;
        border-left: 1px solid #000000;
        border-right: 1px solid #000000;
    }

    div.footer-inner {
        font-size: 14px;
        line-height: 20px;
    }

}

/* Our default Template HTML (colors, etc). */

html {
    height: 100%;
}

body {
    height: 100%;
    font-size: 16px;
    color: #000000;
    line-height: 24px;
    background-color: #CCCCCC;
}

form#frmMaster {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
}

div.gradient {
    position: relative;
    top: 0;
    height: 600px;
    margin: 0 0 -600px 0;
    z-index: 1;
}

div.wrapper {
    position: relative;
    height: auto !important;
    height: 100%;
    min-height: 100%;
    margin: 0 Auto;
    padding-bottom: 104px;
    z-index: 2;
    background-color: #FFFFFF;
}

/* Footer */

div.header {
    position: relative;
    width: 100%;
    padding: 20px 0;
}

/* Menu */

div.menu {
    position: relative;
    width: 100%;
    /* height: 50px; */
    background-color: #DDDDDD;
}

.navbar-custom {
    margin-bottom: 0 !important;
}

.navbar-custom .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.navbar-custom .navbar-toggle {
    margin-top: 12px !important;
    margin-bottom: 12px !important;
}

.navbar-custom .dropdown-menu {
    font-size: 16px;
    line-height: 175%;
}

.navbar-custom .dropdown-menu > li > a {
    line-height: 175%;
}

.navbar-custom .navbar-left, .navbar-custom .navbar-collapse {
    margin-left: -14px !important;
    padding-left: 0 !important;
}

.navbar-custom .navbar-right {
    margin-right: 0 !important;
    padding-right: 0 !important;
}

.navbar-custom .navbar-toggle .fa-chevron-circle-down {
    margin-left: 10px;
}

.navbar-custom .navbar-left .dropdown-toggle .fa-caret-down {
    margin-left: 10px;
}

.navbar-custom .nav.navbar-nav.navbar-right .fa {
    font-size: 24px;
    line-height: 100%;
}

.navbar-custom .nav.navbar-nav.navbar-right li > a {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 13px !important;
    padding-bottom: 0 !important;
    margin-left: 15px !important;
}

/* Right side icons */

.navbar-custom .nav.navbar-nav.navbar-right.navbar-icons li > a {
    padding-top: 12px !important;
}

.navbar-custom .nav.navbar-nav.navbar-right.navbar-icons li > a:hover {
    background-color: transparent;
}

/* These are color picker icons used by the tax site template. */

.chooser-red a, .chooser-red a:visited {
    color: #CC0000 !important;
}

.chooser-red a:hover {
    color: #FF0000 !important;
    background-color: transparent !important;
}

.chooser-green a, .chooser-green a:visited {
    color: #00CC00 !important;
}

.chooser-green a:hover {
    color: #00FF00 !important;
    background-color: transparent !important;
}

.chooser-blue a, .chooser-blue a:visited {
    color: #0000CC !important;
}

.chooser-blue a:hover {
    color: #0000FF !important;
    background-color: transparent !important;
}

@media (max-width: 1024px) {

    .navbar-custom .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

}

@media (max-width:767px) { 

    .navbar-custom .navbar-right {
        float: right;
    }

    .navbar-custom .nav.navbar-nav.navbar-right li {
        display: inline-block;
    }

    .navbar-custom .nav.navbar-nav.navbar-right li > a {
        padding-top: 15px !important;
    }

    .navbar-custom .navbar-toggle {
        float: left
    }

    .navbar-custom .navbar-header {
        float: left;
        width: auto !important;
    }

    .navbar-custom .navbar-collapse {
        clear: both;
        float: none;
    }

    /* Right side icons */

    .navbar-custom .nav.navbar-nav.navbar-right.navbar-icons li > a {
        padding-top: 0 !important;
    }

    .navbar-custom .nav.navbar-nav.navbar-right.navbar-icons .fa {
        font-size: 40px !important;
        line-height: 50px !important;
    }

}

/* Content */

div.content {
    padding-top: 30px;
    z-index: 5;    
}

/* Footer */

div.footer {
    clear: both;
    position: absolute;
    height: 104px;
    width: 100%;
    bottom: 0px;
    margin: 0 0;
    z-index: 5;
    font-size: 14px;
    line-height: 20px;
    color: #000000;
    text-align: center;
    background-color: #DDDDDD;
}

div.footer a, div.footer a:visited {
    color: #000000;
    text-decoration: none;
}

div.footer a:hover {
    color: #FF0000;
    text-decoration: none;
}

div.footer div.footer-inner {
    margin: 22px 20px 0 20px;
}

/* Other stuff. */

div.content h1 {
    padding: 0 0;
    margin: 0 0 20px 0;
    font-size: 175%;
    line-height: 125%;
}

div.content h2 {
    padding: 0 0;
    margin: 0 0 20px 0;
    font-size: 150%;
    line-height: 125%;
}

div.content h3 {
    padding: 0 0;
    margin: 0 0 20px 0;
    font-size: 125%;
    line-height: 125%;
}

@media only screen and (max-width: 992px) {

    div.content h1, div.content h2, div.content h3 {
        font-size: 125%;
        font-weight: bold;
        line-height: 125%;
    }

}

.text-center img {
    margin: 0 auto;
}

div.content p {
    margin-bottom: 20px;
}

div.content .bottom24px {
    margin-bottom: 24px;
}

div.content .photo {
    border: 1px solid #000000;
}

div.content .withmargin {
    margin-bottom: 24px;
}

div.content .withlessmargin {
    margin-bottom: 12px;
}

div.content .withnomargin {
    margin-bottom: 0px;
}

/* Here are some styles for NivoSlider plus some fixes for NivoSlider's wonky responsiveness. */

#slider {
    border: 1px solid #000000;
}

.nivoSlider img {
    position:absolute;
    top: 0px;
    left: 0px;
    vertical-align: baseline !important;
    max-width: none !important;
}

.theme-default .nivo-controlNav {
    padding-top: 5px;
    padding-bottom: 15px;
}

/* The 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;
}

div.contact-form {
    margin-bottom: 20px;
    padding: 20px 20px 0 20px;
    border: 1px solid #CCCCCC;
}

div.contact-form textarea {
    resize: none;
}

div.contact-form div.captcha {
    margin-bottom: 16px;
}

div.contact-form #recaptcha_widget_div {
    margin: 0 0;
    text-align: center;
}

div.contact-form #recaptcha_area {
    margin: 0 auto;
    text-align: left;
}

div.map-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    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;
}

div.map-caption {
    text-align: center;
    margin-bottom: 24px;
    font-size: 100%;
    line-height: 100%;
}

/* Swiper */

.swiper-container {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border: 1px solid #000000;
}

.swiper-slide {
    width: 100%;
    height: auto;
    text-align: center;
}

    .swiper-slide img {
        width: 100%;
        height: auto;
    }

.swiper-pagination {
    position: relative;
    width: 100%;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    margin: 0 4px;
    background-color: #000000;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1.0;
}

.swiper-slide .slide-title {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(0, 0, 0, 1);
}

    .swiper-slide .slide-title .slide-title-text {
    }

    .swiper-slide .slide-title.slide-title-left {
        text-align: left;
    }

    .swiper-slide .slide-title.slide-title-right {
        text-align: right;
    }

    .swiper-slide .slide-title.slide-title-left .slide-title-text {
        width: auto;
        margin-bottom: 0;
        margin-top: auto;
        margin-left: 0;
        margin-right: auto;
        padding: 18px 144px 18px 27px;
        background-image: url('/phdmodules/bootstrap/3.3.6/phd-template/slide-title-left-bg.png');
        background-position: bottom right;
        background-repeat: repeat-y;
    }

    .swiper-slide .slide-title.slide-title-right .slide-title-text {
        width: auto;
        margin-bottom: 0;
        margin-top: auto;
        margin-left: auto;
        margin-right: 0;
        padding: 18px 27px 18px 144px;
        background-image: url('/phdmodules/bootstrap/3.3.6/phd-template/slide-title-right-bg.png');
        background-position: bottom left;
        background-repeat: repeat-y;
    }

    .swiper-slide .slide-title .slide-title-text .slide-title-text-lg {
        margin-bottom: 0.75rem;
        font-size: 200%;
        line-height: 100%;
    }

    .swiper-slide .slide-title .slide-title-text .slide-title-text-sm {
        font-size: 150%;
        line-height: 100%;
    }

@media (max-width : 767px) {

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .swiper-slide .slide-title {
    }

        .swiper-slide .slide-title .slide-title-text {
            padding: 10px 10px !important;
        }

        .swiper-slide .slide-title.slide-title-left .slide-title-text {
            width: 100%;
            margin-bottom: 0;
            margin-top: auto;
            padding: 18px 27px;
            background-image: url('/phdmodules/bootstrap/3.3.6/phd-template/slider-title-phone.png');
            background-repeat: repeat-y;
        }

        .swiper-slide .slide-title.slide-title-right .slide-title-text {
            width: 100%;
            margin-bottom: 0;
            margin-top: auto;
            padding: 18px 27px;
            background-image: url('/phdmodules/bootstrap/3.3.6/phd-template/slider-title-phone.png');
            background-repeat: repeat-y;
        }

        .swiper-slide .slide-title .slide-title-text .slide-title-text-lg {
            margin-bottom: 9px;
            font-size: 85%;
            line-height: 100%;
        }

        .swiper-slide .slide-title .slide-title-text .slide-title-text-sm {
            font-size: 60%;
            line-height: 100%;
        }
}

@media (min-width : 768px) and (max-width : 991px) {

    .swiper-slide .slide-title {
    }

        .swiper-slide .slide-title .slide-title-text {
        }

            .swiper-slide .slide-title .slide-title-text .slide-title-text-lg {
                margin-bottom: 0.5rem;
                font-size: 125%;
                line-height: 100%;
            }

            .swiper-slide .slide-title .slide-title-text .slide-title-text-sm {
                font-size: 100%;
                line-height: 100%;
            }
}
