﻿@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: local('Open Sans'), local('OpenSans'), url(https://themes.googleusercontent.com/static/fonts/opensans/v6/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff) format('TrueType');
}

body {
    /*margin-top: 40px;
    padding-top: 50px;*/
    font-family: 'Open Sans';
}

/* Wrapping element 
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 0px;
    padding-right: 0px;
}

.name {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #003362;
    margin-right: 20px;
}

/*Nav bar*/
#bootstrap-overrides .custom-nav-link {
    /*font-size: 14px;*/
    //font-size: calc(12px + 1.05vw);
    font-size: calc(12px + .5vw);
    /*color: #719b9a;*/
    padding-left: 20px;
    padding-right: 20px;
    font-weight: bold;
}

#bootstrap-overrides .navbar-custom {
    color: #FFFFFF;
    background-color: #CC3333;

}

/*this set the clicked nav link (from JS)*/
.active {
    font-size: 14px;
}

/*.navbar-form .form-group input {
    width: calc(100% - 50px);
    display: inline-block;
    vertical-align: top

}*/

/*positions the sections/anchors*/
section {
    padding-top: 172px;
    margin-top: -172px
}

/*the following three are for image aspect ratio*/
.wrapper {
    width: 100%;
    /* whatever width you want */
    display: inline-block;
    position: relative
}

    .wrapper:after {
        /*padding-top: 56.25%;*/
        /* 16:9 ratio */
        padding-top: 63.27%;
        /*
        ratio calc: A:B === B/(A/100) = C%
        980:620 = 49:31; 31/.49 = 63.27% 
        */
        //padding-bottom: 63.27%;
        /*1920:939;*/
        display: block;
        content: '';
    }

.main {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    /*background-image: url("https://placehold.it/980x620");*/
    background-image: url("../Content/Images/trucks_sun_large.jpg");
    /*keeps the background image displayed fully, even when on small viewports*/
    background-size: contain;
    /* fill parent - color while the image is loading*/
    background-color: white;
    /* let's see it (text color)! */
    color: white;
    /* Background image is centered vertically and horizontally at all times */
    background-position: center center;
    /* Background image doesn't tile */
    background-repeat: no-repeat;
    /*max-width: 980px;
    max-height: 620px;*/
    max-width: 1920px;
    max-height: 939px;
}

/*this removes the padding from the "body" container*/
.container-fluid {
    padding: 0px;
}

/*padding inside the divs*/
#text {
    padding-left: 3%;
    padding-right: 3%;
}

/* Centered text */
.services-text {
    padding-top: 10%;
    font-size: 3.5vw;
    //position: absolute;
    //transform: translate(-50%, -50%);
    line-height: 9.5vw;
    text-shadow: 2px 2px 4px #000000;
}

.contactus-text {
    padding-top: 10%;
    font-size: 3.5vw;
    //position: absolute;
    //transform: translate(-50%, -50%);
    line-height: 9.5vw;
    text-shadow: 2px 2px 4px #000000;
}

.services-text-sub {
    margin-top: 0%;
    color: white;
    font-size: 3.5vw;
    padding-left: 10%;
    padding-right: 10%;
    text-shadow: 2px 2px 4px #000000;
}

.services-text-overlay {
    background-color: rgba(0, 0, 0, 0.3);
    border: 5px solid #719b9a;
}

.services-desc {
    background-color: #181b27;
    //height: 220px;
    margin-top: 0%;
    color: white;
    font-size: 2.0vw;
    padding-left: 5%;
    padding-right: 5%;
    text-align: left;
}

.contactus-desc {
    background-color: #181b27;
    //height: 60px;
    margin-top: 0%;
    color: white;
    font-size: 2.0vw;
    padding-left: 5%;
    padding-right: 5%;
    text-align: left;
}

.buffer-gradient {
    background: linear-gradient(#719b9a, #181b27);
    font-size: 2.5vw;
}

.buffer-gradient-opposite {
    background: linear-gradient(#181b27, #719b9a);
    font-size: 2.5vw;
}

.form-section-custom {
    padding-left: 30px;
    font-size: 2.5vw;
    padding-right: 15px;
}

.legend-custom {
    padding-left: 15px;
    font-size: 3.0vw
}

/* Change behaviour of footer phone link on MOBILE */
@media screen and (max-width: 750px) {
    .phone-mobile {
        display: inline;
    }

    .phone-nonmobile {
        display: none;
    }

    /*this is for body/nav padding on mobile*/
    body {
        padding-top: 110px;
    }

    .services-desc {
        //height: 120px;
    }

    .services-text-overlay {
        border: 2px solid #719b9a;
    }

    #text {
        padding-top: 3%;
        padding-left: 3%;
        padding-right: 3%;
    }
}
/* Change behaviour of footer phone link on NON-MOBILE */
@media screen and (min-width: 750px) {
    .phone-mobile {
        display: none;
    }

    .phone-nonmobile {
        display: inline;
    }

    /*add padding after the logo*/
    #logonav {
        margin-right: 120px;
        margin-left: 20px;
    }

    /*this is for body/nav padding on desktop*/
    body {
        padding-top: 110px;
    }

    .form-section-custom {
        font-size: 1.5vw;
    }

    .contactus-desc {
        //height: 120px;
    }
}

/*TESTING*/
.sixteen-nine {
    position: relative;
}

    .sixteen-nine:before {
        display: block;
        content: "";
        width: 100%;
        padding-top: calc((678 / 1021) * 100%)
    }

    .sixteen-nine > .content {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url("../content/images/excavation_new.png");
        /*keeps the background image displayed fully, even when on small viewports*/
        background-size: cover;
        /* fill parent - color while the image is loading*/
        background-color: white;
        /* let's see it (text color)! */
        color: white;
        /* Background image is centered vertically and horizontally at all times */
        background-position: center bottom;
        /* Background image doesn't tile */
        background-repeat: no-repeat;
        /*max-width: 980px;
    max-height: 620px;*/
        /*max-width: 1920px;
    max-height: 939px;*/
    }

.sixteen-nine-about {
    position: relative
}

    .sixteen-nine-about:before {
        display: block;
        content: "";
        width: 100%;
        /*padding-top: calc((865 / 1300) * 100%);*/
        padding-top: calc((1037 / 1549) * 100%)
    }

    .sixteen-nine-about > .content {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url("../content/images/BackhoeSun.png");
        /*keeps the background image displayed fully, even when on small viewports*/
        background-size: cover;
        /* fill parent - color while the image is loading*/
        background-color: white;
        /* let's see it (text color)! */
        color: white;
        /* Background image is centered vertically and horizontally at all times */
        background-position: center bottom;
        /* Background image doesn't tile */
        background-repeat: no-repeat
        /*max-width: 980px;
        max-height: 620px;*/
        /*max-width: 1920px;
        max-height: 939px;*/
    }

.sixteen-nine-contactus {
    position: relative
}

    .sixteen-nine-contactus:before {
        display: block;
        content: "";
        width: 100%;
        /*padding-top: calc((865 / 1300) * 100%)*/
        padding-top: 68.94%
    }

    .sixteen-nine-contactus > .content {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url("../content/images/dozer.png");
        /*keeps the background image displayed fully, even when on small viewports*/
        background-size: cover;
        /* fill parent - color while the image is loading*/
        background-color: white;
        /* let's see it (text color)! */
        color: white;
        /* Background image is centered vertically and horizontally at all times */
        background-position: center bottom;
        /* Background image doesn't tile */
        background-repeat: no-repeat
        /*max-width: 980px;
    max-height: 620px;*/
        /*max-width: 1920px;
    max-height: 939px;*/
    }

.sixteen-nine-ratequote {
    position: relative
}

    .sixteen-nine-ratequote:before {
        display: block;
        content: "";
        width: 100%;
        padding-top: calc((1359 / 2589) * 100%)
    }

    .sixteen-nine-ratequote > .content {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        /*background-image: url("../content/images/RateQuote.png");*/
        background-image: url("../content/images/skidloader_foundation.png");
        /*keeps the background image displayed fully, even when on small viewports*/
        background-size: cover;
        /* fill parent - color while the image is loading*/
        background-color: white;
        /* let's see it (text color)! */
        color: white;
        /* Background image is centered vertically and horizontally at all times */
        background-position: center bottom;
        /* Background image doesn't tile */
        background-repeat: no-repeat
        /*max-width: 980px;
        max-height: 620px;*/
        /*max-width: 1920px;
        max-height: 939px;*/
    }

.testcontainer {
    position: relative;
    width: 100%;
    padding-top: 63.27%;
}

.testtext {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../content/images/trucks_sun_large.jpg");
    /*keeps the background image displayed fully, even when on small viewports*/
    background-size: cover;
    /* Background image doesn't tile */
    background-repeat: no-repeat;
    /* Background image is centered vertically and horizontally at all times */
    background-position: top left;
    text-align: center;
    font-size: 20px;
    color: white;
    max-width: 1920px;
    max-height: 939px
}

.image-container {
    postion: relative;
}

.image-services-text {
    position: absolute;
    top: 20%;
    font-size: 3.0vh;
}

.image-aspect {
    background-size: contain;
    position: relative;
    width: 100%;
    top: 0px;
    //z-index: -1;
}

.container {
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
}

.services-sixteen-nine {
    position: relative;
    /* fill parent - color while the image is loading*/
    background-color: white;
    /* let's see it (text color)! */
    color: white;
    /* Background image is centered vertically and horizontally at all times */
    //background-position: center bottom;
    /* Background image doesn't tile */
    background-repeat: no-repeat;
    /*keeps the background image displayed fully, even when on small viewports*/
    background-size: contain;
    background-image: url("../content/images/trucks_sun_large.jpg")
}

    .services-sixteen-nine:before {
        display: block;
        content: " ";
        width: 100%;
        /*padding-top: 63.27%*/
        padding-top: calc((939 / 1920) * 100);
        /*1920:939;*/
    }

    .services-sixteen-nine > .content {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        /*max-width: 980px;
    max-height: 620px;*/
        /*max-width: 1920px;
    max-height: 939px;*/
    }


fieldset.scheduler-border {
    border: 1px groove #ddd !important;
    padding: 0 1.4em 1.4em 1.4em !important;
    margin: 0 0 1.5em 0 !important;
    -webkit-box-shadow: 0px 0px 0px 0px #000;
    box-shadow: 0px 0px 0px 0px #000
}

nav.navbar.shrink {
    min-height: 35px
}

nav.shrink a {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    font-size: 12px
}

nav.shrink .navbar-brand {
    font-size: 25px
}

nav.shrink .navbar-toggle {
    padding: 4px 5px;
    margin: 8px 15px 8px 0
}