﻿/* 

    CV Metal Services

*/

html {
    height: 100%;
    min-height: 100%;
    min-height: 100vh;
}

body {
    height: 100%;
    min-height: 100%;
    min-height: 100vh;
    margin: 0 0;
    padding: 0 0;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 20px;
    line-height: 150%;
    color: #FFFFFF;
    background-color: #000000;
}

#frmMaster {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    min-height: 100vh;
}

/* 

    Boostrap Customizations

*/

.container-xl {
    max-width: 1370px;
}

.img-fluid {
    width: 100%;
    height: auto;
}

textarea {
    resize: none;
}

/* 

    Header

*/

header {
    position: relative;
    z-index: 99990;
    color: #000000;
    background-color: #CCCCCC;
    background-image: url('/Images/layout/desktop-header-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    -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);
}

header .header-logo,
header .header-nav {
    padding-top: 25px;
    padding-bottom: 25px;
}

header .header-contact {
    margin-bottom: 15px;
    padding-right: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    line-height: 150%;
    text-align: right;
}

header .header-contact a,
header .header-contact a:visited,
header .header-contact a:hover {
    color: #000000;
}

@media (max-width : 991px) {

    header {
        background-image: url('/Images/layout/mobile-header-bg.jpg');
        background-size: cover;
        background-position: center top;
    }

    header .header-logo {
        padding-left: 60px;
        padding-right: 60px;
        padding-bottom: 0;
    }

    header .header-nav {
        padding-top: 0;
        padding-bottom: 0;
    }

    header .header-contact {
        padding-bottom: 10px;
        font-weight: bold;
        text-align: center;
    }

}

@media (max-width : 767px) {

    header {
        background-size: 100%;
        background-position: center top;
    }


    header .header-logo {
        padding-left: 30px;
        padding-right: 30px;
    }

}

/*

    Nav Bar

*/

nav {
    background-color: transparent;
}

@media (max-width : 991px) {

    nav .container-xl {
        padding-left: 0;
        padding-right: 0;
    }

}

/* Main */

main {
    color: #FFFFFF;
    background-color: #dfdfdf;
}

/* Footer */

footer {
    padding: 40px 0 0 0;
    color: #DDDDDD;
    font-size: 18px;
    line-height: 150%;
    background-color: #101010;
}

footer > .container-xl {
    padding-bottom: 20px;
}

footer h3 {
    margin-bottom: 4px;
    font-size: 120%;
    font-weight: bold;
    color: #FFFFFF;
    text-transform: uppercase;
}

footer hr {
    margin-top: 0;
    margin-bottom: 0.75rem;
    border-color: #FFFFFF;
}

footer a,
footer a:visited {
    color: #DDDDDD;
}

footer a:hover {
    color: #FFFF00;
    text-decoration: none;
}

footer i {
    position: relative;
    top: 2px;
    color: #FFFFFF;
}

footer .fa-ul {
    margin-left: 2.0rem;
}

footer .fa-ul li {
    margin-bottom: 1rem;
}

footer .fa-ul li:last-child {
    margin-bottom: 0;
}

footer .fa-ul i {
    margin-right: 0.25rem;
}

footer .card-logos {
    margin-left: 2.0rem;
}

footer .copyright {
    padding: 30px 30px;
    font-size: 18px;
    line-height: 150%;
    background-color: #000000;
    border-top: 1px solid transparent;
    border-image-source: linear-gradient(to right, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.33) 50%, rgba(255,255,255,0.0) 100%);
    border-image-slice: 5;
}

/* 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);
}

/* Big Photo */

.big-photo {
    width: 100%;
}

.big-photo img,
.big-photo picture {
    width: 100%;
    height: auto
}

.big-photo .img-fluid {
    width: 100%;
    height: auto;
}

/* Content Areas */

.content {
    padding-top: 40px;
    padding-bottom: 40px;
    color: #000000;
    background-color: #FDFDFD;
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5 {
    margin-bottom: 1.5rem;
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-weight: normal;
    line-height: 125%;
    color: #134c83;
}

.content h1 {
    font-size: 175%;
}

.content h2 {
    font-size: 150%;
}

.content h3 {
    font-size: 125%;
}

.content h4,
.content h5 {
    font-size: 100%;
}

.content p {
    margin-bottom: 1.5rem;
}

.content ul {
    margin-bottom: 1.5rem;
}

.content a,
.content a:visited,
.content a:hover {
    text-decoration: none;
}

.content a,
.content a:visited {
    color: #FF0000;
}

.content a:hover {
    color: #0000FF;
    text-decoration: none;
}

@media (max-width : 767px) {

    .content h1 {
        font-size: 150%;
    }

    .content h2 {
        font-size: 125%;
    }

    .content h3 {
        font-size: 100%;
    }

}

/* Color Sections */

.content.welding-bg {
    color: #FFFFFF;
    background-image: url('/Images/Layout/welding-bg.jpg');
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
}

    .content.welding-bg h1,
    .content.welding-bg h2,
    .content.welding-bg h3,
    .content.welding-bg h4,
    .content.welding-bg h5 {
        color: #FFFFFF;
    }

.content.welding-bg .bs-1 {
    border: 1px solid #FFFFFF;
}

.content.welding-bg .drop-shadow {
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,1);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,1);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,1);
}

.content.welding-bg a:not(.btn),
.content.welding-bg a:not(.btn):visited {
    color: #FFFF00;
    text-decoration: none;
}

.content.welding-bg a:not(.btn):hover {
    color: #FFFFCC;
    text-decoration: underline;
}

/* Photo Group 100% width w/no gutters */

.photo-group-100 {
}

.photo-group-100 .container-fluid {
    margin: 0 0;
    padding: 0 0;
}

.photo-group-100 .row,
.photo-group-100 .col,
.photo-group-100 .col-4,
.photo-group-100 .col-12 {
    margin: 0 0;
    padding: 0 0;
}

.photo-group-100 img {
    width: 100%;
}

/* Vertical Video Fix */

.embed-responsive-9by16 {
    padding-bottom: 177.8%;
}

/* Google Map */

.map .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.embed-google-map {
    padding-bottom: 33%;
    color: #000000;
    border-top: 1px solid #CCCCCC;
    border-bottom: 1px solid #CCCCCC;
}

@media only screen and (max-width: 1199px) {

    .embed-google-map {
        padding-bottom: 42%;
    }
}

@media only screen and (max-width: 991px) {

    .embed-google-map {
        padding-bottom: 56%;
    }
}

@media only screen and (max-width: 767px) {

    .embed-google-map {
        padding-bottom: 75%;
    }
}

/* Borders */

.bs-1 {
    border: 1px solid #000000;
}

/* Overlay On Home Page */

.overlay {
    position: relative;
    z-index: 9990;
    top: -200px;
    margin-top: 0;
    margin-bottom: -175px;
    margin-left: -15px;
    margin-right: -15px;
    padding: 0 0;
    background-color: #FDFDFD;
    -webkit-box-shadow: 0px -3px 2px 0px rgba(0,0,0,0.33);
    -moz-box-shadow: 0px -3px 2px 0px rgba(0,0,0,0.33);
    box-shadow: 0px -3px 2px 0px rgba(0,0,0,0.33);
    -webkit-border-top-left-radius: 6px;
    -webkit-border-top-right-radius: 6px;
    -moz-border-radius-topleft: 6px;
    -moz-border-radius-topright: 6px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

    .overlay a,
    .overlay a:visited,
    .overlay a:hover {
        text-decoration: none;
    }

    .overlay .row {
        margin: 0 0;
        padding: 10px 10px
    }

    .overlay .col {
        margin-left: 0;
        margin-right: 0;
        padding: 10px 10px;
    }

    .overlay .card {
        background-color: #F8F8F8;
    }

        .overlay .card:hover {
            color: #FFFFFF;
            background-color: #134c83;
        }

        .overlay .card .overlay-icon {
            margin-bottom: 20px;
            font-size: 64px;
            line-height: 100%;
            text-align: center;
        }

            .overlay .card .overlay-icon img {
                width: 96px;
                height: 64px;
                margin: 0 auto;
                background-position: center center;
                background-repeat: no-repeat;
            }

            .overlay .card .overlay-icon img.icon-metalwork {
                background-image: url('/images/home/icon-ornamental-iron-blue.png');
            }

            .overlay .card:hover .overlay-icon img.icon-metalwork {
                background-image: url('/images/home/icon-ornamental-iron-white.png');
            }

            .overlay .card .overlay-icon img.icon-industrial-construction {
                background-image: url('/images/home/icon-welding-blue.png');
            }

            .overlay .card:hover .overlay-icon img.icon-industrial-construction {
                background-image: url('/images/home/icon-welding-white.png');
            }

        .overlay .card .overlay-icon img.icon-estimate {
            background-image: url('/images/home/icon-construction-blue.png');
        }

        .overlay .card:hover .overlay-icon img.icon-estimate {
            background-image: url('/images/home/icon-construction-white.png');
        }

        .overlay .card .overlay-title {
            font-weight: bold;
            color: #134c83;
            line-height: 100%;
            text-transform: uppercase;
            text-align: center;
        }

        .overlay .card:hover .overlay-title {
            color: #FFFFFF;
        }

@media (max-width : 1799px) {

    .overlay {
        top: -125px;
        margin-bottom: -95px;
        margin-left: 5%;
        margin-right: 5%;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

        .overlay .card .overlay-icon {
            font-size: 48px;
        }
}

@media (max-width : 1369px) {

    .overlay {
        top: -40px;
        margin-bottom: -20px;
        margin-left: 0;
        margin-right: 0;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

        .overlay .card .overlay-icon {
            font-size: 48px;
        }
}

/* Multi-Column Lists */

.two-col-list {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
}

.three-col-list {
    columns: 3;
    -webkit-columns: 3;
    -moz-columns: 3;
}

.four-col-list {
    columns: 4;
    -webkit-columns: 4;
    -moz-columns: 4;
}

@media (max-width : 767px) {

    .two-col-list,
    .three-col-list,
    .four-col-list {
        columns: initial;
        -webkit-columns: initial;
        -moz-columns: initial;
    }
}

@media (min-width : 768px) And (max-width : 991px) {

    .two-col-list {
        columns: initial;
        -webkit-columns: initial;
        -moz-columns: initial;
    }

    .three-col-list,
    .four-col-list {
        columns: 2;
        -webkit-columns: 2;
        -moz-columns: 2;
    }
}

/* ********************************************************************************************* */
/* Fixes for IE 11 */
/* ********************************************************************************************* */

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {

    .two-col-list,
    .three-col-list,
    .four-col-list {
        margin-left: 0;
    }

        .two-col-list .fa-li,
        .three-col-list .fa-li,
        .four-col-list .fa-li {
            position: relative;
            display: inline-block;
            left: 0;
        }
}

@media (max-width : 767px) and (-ms-high-contrast: none), (-ms-high-contrast: active) {

    .two-col-list,
    .three-col-list,
    .four-col-list {
        columns: 1;
        -webkit-columns: 1;
        -moz-columns: 1;
    }
}

/* ********************************************************************************************* */
/* Fixes for Edge */
/* ********************************************************************************************* */

@supports (-ms-ime-align: auto) {

    .two-col-list,
    .three-col-list,
    .four-col-list {
        margin-left: 0;
    }

        .two-col-list .fa-li,
        .three-col-list .fa-li,
        .four-col-list .fa-li {
            position: relative;
            display: inline-block;
            left: 0;
        }
}
