﻿
/* General Stuff */

html {
    height: 100%;
    min-height: 100%;
}

body {
    height: 100%;
    min-height: 100%;
    margin: 0 0;
    padding: 0 0;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 175%;
    color: #000000;
    background-image:url("/Images/Layout/background.jpg");
    background-size:cover;
    background-repeat:no-repeat;
    background-color: #424242;
    background-attachment:fixed;
}

.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/* App */

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #FFFFFF;
    background-color: #333333;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
}

.wrapper.container-lg {
    padding-left: 0;
    padding-right: 0;

}

@media(min-width:1400px){
    .container-lg {
        max-width: 1140px !important;
    }
}

/* Header */

header {
    flex-grow: 0;
    margin: 0 0;
    padding: 30px 30px;
    color: #fff;
    background-image:url("/Images/Layout/header-bg.webp");
    background-repeat:no-repeat;
    background-size:cover;
    background-position:center center;
    background-color: #000;
}

header .header-left {
    text-align: left;
}

header .header-right {
    font-weight: bold;
    text-align: right;
}

header .header-right .phone,
header .header-right .phone:visited {
    color: #fff;
    text-decoration: none;
}

header .header-right .phone:hover {
    color: #fff;
}

@media (max-width : 767px) {

    header .header-left {
        text-align: center;
        padding-bottom: 1.0rem;
    }

    header .header-right {
        text-align: center;
    }

}

/* ADA Skip Links */

.skip_links {
    text-align: left;
    position: fixed;
    z-index: 99999;
}

    .skip_links a {
        position: absolute;
        left: -10000px;
        width: 1px;
        height: 1px;
        overflow: hidden;
    }

        .skip_links a:focus, .skip_links a:active {
            position: static;
            left: 5px;
            top: 5px;
            width: auto;
            height: auto;
            padding: 10px 10px;
            overflow: visible;
            text-decoration: none;
            color: #000000;
            border: 1px solid #FFFFFF;
            background-color: #FCFCFC;
        } 

/* Nav */

nav {
    flex-grow: 0;
}

/* Main */

main {
    flex-grow: 1;
    margin: 0 0;
    padding: 30px 30px;
    color: #000000;
    background-color: #FFFFFF;
}

main .photo {
    border: 1px solid #333333;
}

main p {
    margin-bottom: 1.5rem;
}

main h1,
main h2,
main h3,
main h4,
main h5 {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-weight: normal;
    text-wrap:balance;
}

main h1 {
    margin-bottom: 1rem;
    font-size: 175%;
    line-height: 150%;
}

main h2 {
    margin-bottom: 1rem;
    font-size: 150%;
    line-height: 150%;
}

main h3 {
    margin-bottom: 1rem;
    font-size: 125%;
    line-height: 150%;
}

main h4, 
main h5 {
    margin-bottom: 0;
    font-size: 110%;
    line-height: 150%;
}

main .card {
    background-color: #FCFCFC;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}

main .card .card-header {
    border-radius:0;
}

@media (max-width : 767px) {

    main {
        padding-left: 15px;
        padding-right: 15px;
    }

}


/* Footer */

footer {
    flex-grow: 0;
    margin: 0 0;
    padding: 30px 30px;
    font-size: 16px;
    line-height: 150%;
    color: #fff;
    background-color: #000;
}

footer h2 {
    margin: 0 0;
    padding: 0 0 4px 0;
    font-size: 125%;
    font-weight: bold;
    color: #FFFFFF;
    line-height: 100%;
}

footer hr {
    margin: 0 0 1.0rem 0;
    padding: 0 0;
    border-color: #FFFFFF;
}

footer p {
    margin-bottom: 1.0rem;
}

footer a,
footer a:visited {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    color: #FFFF00;
    text-decoration: none;
}

footer ul.fa-ul {
    margin-left: 2rem;
}

footer ul.fa-ul li {
    margin-bottom: 1rem;
}

footer ul.fa-ul li span.fa-li i {
    position: relative;
    top: 1px;
    padding-right: 8px;
    color: #FFFFFF;
}

@media (max-width : 767px) {

    footer {
        padding-left: 15px;
        padding-right: 15px;
    }

}

/* Back To Top Button */

.back-to-top {
    z-index: 99999;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    -webkit-box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.33);
    -moz-box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.33);
    box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.33);
}

/* Swiper */

.swiper-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    background-color: #333333;
    border: 1px solid #333333;
}

.swiper-slide {
    width: 100%;
    height: auto;
}

.swiper-slide .img-fluid {
    width: 100%;
    height: auto;
}

.swiper-horizontal > .swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 0 !important;
}

.swiper-pagination {
    position: relative;
    width: 100%;
    margin-top: 5px;
    margin-bottom: 15px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    margin: 0 4px;
    background-color: #000000;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 0.9;
}

.swiper-button-next, .swiper-button-prev {
    color: #ffffff !important;
}

/* Swiper Slide Titles */

.swiper-overlay-box {
    position: absolute;
    /*margin-top: 55px;
    margin-left: 45px;*/
    top:55px;
    left:45px;
    z-index: 9999;
    color: #011d51;
    font-weight: bold;
}

    .swiper-overlay-box .swiper-overlay-title {
        font-size: 250%;
        margin-bottom:16px;
    }

    .swiper-overlay-box .swiper-overlay-subtitle {
        font-size: 175%;
    }

.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-center {
    text-align: center;
}

    .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('https://cdn.phdcon.com/swiper/11.1.5/img/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('https://cdn.phdcon.com/swiper/11.1.5/img/slide-title-right-bg.png');
        background-position: bottom left;
        background-repeat: repeat-y;
    }

    .swiper-slide .slide-title.slide-title-center .slide-title-text {
        width: 100%;
        margin-bottom: 0;
        margin-top: auto;
        margin-left: auto;
        margin-right: auto;
        padding-bottom: 20px;
        padding-top: 28px;
        /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.8+15 */
        background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.8) 15%,rgba(0,0,0,0.95) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        text-wrap:balance;
    }

.swiper-slide .slide-title .slide-title-text .slide-title-text-lg {
    margin-bottom: 0.75rem;
    font-size: 225%;
    line-height: 100%;
    font-weight:bold;
}

.swiper-slide .slide-title .slide-title-text .slide-title-text-sm {
    font-size: 150%;
    line-height: 100%;
}

@media(max-width:1199px) and (min-width:992px) {

    .swiper-slide .slide-title .slide-title-text .slide-title-text-lg {
        font-size: 200%;
    }

    .swiper-slide .slide-title .slide-title-text .slide-title-text-sm {
        font-size: 125%;
    }
}

@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: 175%;
        line-height: 100%;
    }

    .swiper-slide .slide-title .slide-title-text .slide-title-text-sm {
        font-size: 100%;
        line-height: 100%;
    }

    .swiper-overlay-box .swiper-overlay-title{
        font-size:200%;
        margin-bottom:8px;
    }

    .swiper-overlay-box .swiper-overlay-subtitle {
        font-size:100%;
    }

}

@media (max-width : 767px) {

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .swiper-slide {
        display: flex;
        flex-direction: column-reverse;
    }

        .swiper-slide .slide-title {
            position: relative;
            background-color: #333333;
        }

        .swiper-slide .slide-title .slide-title-text {
            padding: 20px 12px !important;
        }

            .swiper-slide .slide-title .slide-title-text .slide-title-text-lg {
                font-size: 16px;
                font-weight: bold;
                line-height: 125%;
                margin: 0 0 0 0;
            }

            .swiper-slide .slide-title .slide-title-text .slide-title-text-sm {
                font-size: 14px;
                line-height: 125%;
                margin: 0 0 0 0;
            }

    .swiper-overlay-box {
        top: 20px;
        left:15px;
        /*display:none;*/
    }

        .swiper-overlay-box .swiper-overlay-title {
            font-size: 125%;
            margin-bottom: -6px;
        }

        .swiper-overlay-box .swiper-overlay-subtitle {
            font-size: 75%;
        }
}

@media(max-width:424px){
    .swiper-overlay-box .swiper-overlay-title {
        font-size: 100%;
        margin-bottom:-10px;
    }

    .swiper-overlay-box .swiper-overlay-subtitle {
        font-size: 65%;
    }

}

@media(max-width:395px){

    .swiper-overlay-box {
        top: 10px;
    }

    .swiper-slide .slide-title .slide-title-text {
        padding: 20px 0px !important;
    }

    .swiper-slide .slide-title .slide-title-text .slide-title-text-lg {
        font-size: 14px;
    }

    .swiper-slide .slide-title .slide-title-text .slide-title-text-sm {
        font-size: 10px;
    }
}

@media(max-width:320px){

    .swiper-overlay-box {
        top: 5px;
    }

    .swiper-overlay-box .swiper-overlay-title {
        font-size: 85%;
        margin-bottom: -12px;
    }

    .swiper-overlay-box .swiper-overlay-subtitle {
        font-size: 60%;
    }
}

/* Top Photo */

.top-photo {
    margin-bottom: 24px;
    border: 1px solid #333333;
}

/* Marquee */

.marquee-wrapper {
    overflow: hidden;
    display: none;
    width: 100%;
    margin: 0 auto 24px auto;
    background-color: #333333;
    border-left: 15px solid #333333;
    border-right: 15px solid #333333;
    outline: 1px solid #000000;
}

.marquee {
    font-size: 32px;
    color: #FFFFFF;
    line-height: 72px;
}

/* Forms (Contact / Employment / Rental / Etc) */

.app-form .card {
    margin-bottom: 1.5rem;
}

.app-form .card:last-child {
    margin-bottom: 0;
}

.app-form .card-header {
    color: #FFFFFF;
    font-family: Roboto, sans-serif;
    font-size: 133%;
    text-align: center;
    line-height: 150%;
    background-color: #333333;
}

.app-form label {
    font-size: 16px;
    font-weight: bold;
    line-height: 150%;
    margin-bottom: 0.25rem;
}

.app-form .mb-2 {
    margin-bottom: 10px;
}

.app-form hr {
    margin-top:1rem;
    margin-bottom:1rem;
    border-color: #DDDDDD;
    opacity:1.0;

}

.app-form textarea {
    resize: none;
}

/*.input-group-prepend {
    display:flex;
}*/

    .input-group-text {
        background-color: #e9ecef;

    }
/**/
textarea {
    resize: none;
}

/* Contact Information */

.contact-photo {
    width: 100%;
    height: 100%;
    object-position: 50% 50%;
    object-fit: cover;
    border: 1px solid #333333;
}

.contact-info {
    width: auto;
    margin: 0 auto;
}

.contact-info .contact-info-left {
    padding-bottom: 1rem;
    padding-right: 1rem;
    font-weight: bold;
    text-align: right;
    vertical-align: top;
}

.contact-info .contact-info-right {
    padding-bottom: 1rem;
    vertical-align: top;
}

.contact-info tr:last-child .contact-info-left,
.contact-info tr:last-child .contact-info-right {
    padding-bottom: 0;
}

/* Google Map */

.embed-google-map {
    padding-bottom: 56%;
    border: 1px solid #000000;
}

@media only screen and (max-width: 767px) {

    .embed-google-map {
        padding-bottom: 75%;
    }

}

/* Multi Column Lists */

.list-four-col {
    columns: 4;
    column-gap: 1.5rem;
}

.list-three-col {
    columns: 3;
    column-gap: 1.5rem;
}

.list-two-col {
    columns: 2;
    column-gap: 1.5rem;
}

@media (max-width : 991px) {

    .list-four-col,
    .list-three-col,
    .list-two-col {
        columns: 2;
    }
}

@media (max-width : 767px) {

    .list-four-col,
    .list-three-col,
    .list-two-col {
        columns: 1;
    }
}

/* Homepage Cards */

.scada-cards .card {
    background-color: #012F84;
    border-radius:10px;
}

.scada-cards .card .card-body h2, 
.scada-cards .card .card-body ul, 
.scada-cards .card .card-body p {
    color:#fff !important;
}

    .scada-cards .card .photo {
        border: 2px solid #F9A623;
    }

    .scada-cards .card strong {
        color: #F9A623 !important;
    }

    .scada-cards .card.card-alt h2 {
        color: #F9A623 !important;
    }

    .scada-cards .card.card-alt strong {
        color: #fff !important;
    }


    .scada-cards .card .inner-card.card {
        background-color: #133e8d !important;
        border-radius: 10px;
        border-left: 4px solid #F9A623;
    }

    .scada-cards .card .inner-card.card p{
        color:#fff !important;
        margin-bottom:0 !important;
    }


.vtscada-badge {
    width: 225px; /* size it however you like */
    height: auto;
}

@media (min-width: 1200px) {
    .vtscada-badge {
        width: 200px;
        padding-right:10px;
    }
}

/* Mobile / tablet: stacked, so keep the image's natural proportions */
.image-col .photo {
    width: 100%;
    height: auto;
}

/* Desktop: side by side, so fill the height of the row */
@media (min-width: 1200px) {
    .image-col {
        position: relative;
    }

        .image-col .photo {
            position: absolute;
            inset: calc(var(--bs-gutter-y) * 0) calc(var(--bs-gutter-x) * .5);
            width: calc(100% - var(--bs-gutter-x));
            height: 100%;
            object-fit: cover;
            object-position: center;
        }
}