﻿:root {
    --primary: #16356A;
    --secondary: #0270EB;
    --other: #70A200;
    --fontprimary: "Oxygen";
    --fontsecondary: "Oswald";
    --fontweightsecondary: 400;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    /*font-size: calc(1em + 1vw);
    font-size: 16px;
    font-family: Arial, sans-serif;*/
    font-family: var(--fontprimary);
    font-size: 1em;
    word-spacing: normal;
    height: 100%;
}

.header-topwrapper {
    max-height: 4em;
    background-color: #303030;
    padding: .09em;
}

.header-bottomwrapper {
    /*max-height:4em;*/
    /*light*/
    /*border-bottom: 7px solid #006caa;*/
    width: 100%;
    padding: 5px 0px;
    background-color: var(--primary);
}

    .header-bottomwrapper img {
        /*max-height:2.6em;*/
        /*max-width:90px;*/
        /*max-width: 280px;*/
        max-width: 75%;
        margin: auto;
    }

#logo {
    /*width: 29%;*/
    width: 100%;
    float: left;
}

.mobilelogo {
    display: block;
    margin-left: 1vw;
}

.desktoplogo {
    display: none;
    margin-left: 1em;
}

.mobilephone {
    display: block;
}

    .mobilephone a {
        color: white;
        text-decoration: none;
    }

#contactus {
    /*width: 50%;*/
    /*float: left;*/
    text-align: center;
}

.contact {
    /*padding-top: 8px;
    height: 100%;*/
    display: flex;
    align-items: left;
    justify-content: left;
}
/*#mainnav,*/ .phone {
    display: none;
}

/* hamburger menu */
#mobilemenu {
    display: block;
}

.hammenu {
    cursor: pointer;
    /*float: right;*/
    /*width: 15%;*/
    /*width: 45px;*/
    /*padding: 12px 3px;
    margin-right: 8px;*/
}

.bar1, .bar2, .bar3 {
    width: 35px;
    height: 5px;
    background-color: white;
    margin: 3px 0;
    transition: 0.4s;
    float: right;
}

.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
    transform: rotate(-45deg) translate(-9px, 6px);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-9px, -5px);
    transform: rotate(45deg) translate(-9px, -5px);
}

/* end of hamburger menu */

/* main content styles */
.pageheader {
    background-image: url(/media/design/page_header_bg.jpg);
    padding-bottom: 20px;
    margin-bottom: 15px;
    color: white;
}

.pageheader h1, .pageheader a {
    color: white;
}

.wrap {
    width: 100%;
    margin: 0;
}



main {
    position: relative;
}

    main .content {
        padding: 5px 5px 50px 5px;
    }

        main .container li {
            margin-bottom: 1em;
            font-size: 16px;
        }

        main .container ul li ul {
            margin-top: 1em;
        }

        main .content .contentwrapper {
            width: 100%;
            margin: 0;
        }

            main .content .contentwrapper iframe {
                width: 100%;
            }

    main a {
        color: var(--primary);
        text-decoration: none;
        word-wrap: break-word;
    }

        main a:hover {
            text-decoration: underline;
        }

        main a:focus {
            /*color:#0D83C6;*/
            border: solid 1px #0D83C6;
        }

.landingbanner {
    color: #303030;
    background-image: url('../media/design/landing_banner.jpg');
    /*background-size:cover;*/
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position-y: 0;
    min-height: 200px;
    position: relative;
    background-size: 100%;
}

    .landingbanner .bottom {
        font-family: var(--fontsecondary);
        font-weight: var(--fontweightsecondary);
        position: absolute;
        bottom: 0;
        padding: 10px 0px;
        width: 100%;
        color: white;
        background-color: rgba(22, 53, 106, 0.9);
        font-size: 1.25em;
    }

.form {
    width: 100%;
}

.productwrap {
    width: 100%;
    margin-top: 3px;
    /*background-color: black;
    opacity: 0.5;*/
}

    .productwrap .square {
        display: flex;
        align-items: center;
        float: none;
        width: 100%;
        border: solid 1px var(--primary);
        border-top: none;
    }

    .productwrap .square.first {
        border-top: 1px solid var(--primary);
    }

    .productwrap .square span {
        margin-left: 10px;
    }

    .productwrap .square a:hover {
        text-decoration: none;
        color: var(--secondary);
    }

.linkwrap {
    display: block;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.capabilities {
    border: solid 1px var(--primary);
    width: 100%;
    display: inline-block;
    padding-bottom: 10px;
    position: relative;
    padding-bottom: 0px;
    margin-right: 0;
    margin-bottom: 1em;
    font-size: 140%;
    padding: 0px 10px 0px 0px;
    display:flex;
    align-items:center;
    font-weight: bold;
}

.capabilities img {
    float: left;
    margin-right: 5px;
}

    .capabilities .bottom {
        position: absolute;
        bottom: 0;
        height: 0px;
        background-color: var(--primary);
        width: 100%;
    }

    .capabilities:hover .bottom {
        height: 15px;
    }

    .capabilities a:hover {
        text-decoration: none;
    }

.services {
    display: inline-block;
    width: 100%;
    font-size: 130%;
    font-weight: bold;
    border-bottom: solid 6px silver;
    margin-bottom: 1em;
}

.servicetype {
    padding: 20px;
}

    .servicetype img {
        float: left;
        margin-right: 2em;
    }

    .servicetype p {
        overflow: hidden;
    }

.serviceborder {
    border-bottom: solid 6px var(--secondary);
}

.industries {
    display: block;
}

    .industries .items {
        width: 100%;
        position: relative;
        float: left;
    }

        .industries .items:before {
            content: "";
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translateY(-50%);
            border-left: 15px solid rgba(22, 53, 106, 0.96);
            border-top: 15px solid transparent;
            border-bottom: 15px solid transparent;
            z-index: 1;
        }

        .industries .items:after {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            width: 50%;
            height: 100%;
            background-color: rgba(22, 53, 106, 0.96);
            z-index: 1;
        }

        .industries .items img {
            display: block;
            width: 100%;
        }

        .industries .items h3 {
            position: absolute;
            left: 0;
            width: 50%;
            top: 50%;
            transform: translateY(-50%);
            z-index: 2;
            text-align: center;
            color: white;
        }

.about {

}

    .about .text {
        font-family: var(--fontsecondary);
        font-weight: var(--fontweightsecondary);
        color: #333;
        font-size: 1.25em;
    }

    .about .heading {
        font-family: var(--fontsecondary);
        font-weight: var(--fontweightsecondary);
        font-size: 2.25em;
        max-width: 22em;
        margin: 1em auto 0 auto;
        color: var(--primary);
    }

        .about .heading:before {
            content: '';
            width: 17px;
            height: 17px;
            display: inline-block;
            vertical-align: top;
            background-image: url(/media/design/quote-marks.png);
            background-position: right top;
            background-repeat: no-repeat;
            -moz-transform: rotate(-180deg);
            -webkit-transform: rotate(-180deg);
            -ms-transform: rotate(-180deg);
            -o-transform: rotate(-180deg);
            transform: rotate(-180deg);
        }

        .about .heading:after {
            content: '';
            width: 17px;
            height: 17px;
            display: inline-block;
            vertical-align: top;
            background-image: url(/media/design/quote-marks.png);
            background-position: right top;
            background-repeat: no-repeat;
        }

.container .products {
    border: solid 1px black;
    max-width: 300px;
    margin: auto;
    height: 100%;
    transition: transform 0.3s ease;
    transform: scale(1);
}

.container .products:hover {
    box-shadow: 0px 2px 29px -1px rgba(0,0,0,0.75);
    transform: scale(1.1);
}

.container .products h3 {
    padding: 0 5px;
}
/* end of main content styles */

/* footer styles */
footer {
    margin-top: 3em;
}

    footer .rfq {
        background-image: url(/media/design/fullwidth_bg.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        padding: 0px;
        margin-bottom:3em;
    }

        footer .rfq .rfqwrap {
            max-width: 100%;
            margin: 0 auto;
        }

    footer .rfq .rfqheading {
        display: block;
        color: white;
        margin-right:0;
    }

    footer .rfq .rfqheading h2 {
        font-size: 2em;
        color: white;
    }

    footer .rfq .rfqbutton {
        display: block;
    }

    footer .trusted {
        padding: 0px 70px 0px 70px;
    }

    footer .trustedwrap {
        width: 73%;
        margin: 0 auto;
    }

    footer .companyinfo {
        padding-bottom: 15px;
    }

        footer .companyinfo a {
            color: var(--primary);
            text-decoration: none;
        }

            footer .companyinfo a:hover {
                color: var(--secondary);
            }

    footer .copyrightwrapper {
        background-color: var(--primary);
    }

    footer .copyright {
        /*padding: 5px 70px 50px 70px;
            padding: 10px 0px;*/
        color: white;
    }
/* end of footer styles */

/* misc styles */
h1 {
    font-family: var(--fontsecondary);
    font-weight: var(--fontweightsecondary);
    color: #33475B;
    /*font-size: 1.875em;*/
    /*font-size: 1.675em;*/
    font-size: calc(.75em + 2.3vw);
    line-height: 1.25em;
    letter-spacing: 0em;
    padding: 5px 0px;
}

h2 {
    font-family: var(--fontsecondary);
    font-weight: var(--fontweightsecondary);
    font-size: calc(1.5em + 1vw);
    line-height: 1.25em;
    letter-spacing: 0em;
    padding: 5px 0px;
    color: var(--primary);
}

h3 {
    font-family: var(--fontsecondary);
    font-weight: var(--fontweightsecondary);
    font-size: 170%;
    line-height: 1.25em;
    letter-spacing: 0em;
    margin: 1em 0;
}

p {
    font-size: 100%;
}

.mhidden {
    display: none;
}

.dthidden {
    display: block;
}

img {
    max-width: 100%;
    height: auto;
}

.dropdown-search {
    display: none;
    position: absolute;
    /*background-color: #ececec;*/
    min-width: 160px;
    z-index: 100;
    margin-top: 6px;
    border-bottom: solid 2px black;
}

.searchddcontent {
    width: 100%;
    padding: 10px 0px;
    top: 40px;
    height: 65px;
}

.searchbox {
    padding: 10px 12px;
    border-radius: 25px;
    border-width: 1px;
    margin-right: .5em;
    font-size: 18px;
}

.searchbtn {
    padding: 12px 7px;
    margin-bottom: 0px;
}

button {
    border: none;
    background-color: var(--primary);
}

    button ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
    }

        button ul li {
            --c: #0D83C6;
            /*color: var(--c);*/
            color: white;
            font-size: 14px;
            /*border: 1px solid var(--c);*/
            border: 1px solid var(--other);
            border-radius: 25px;
            width: 12em;
            /*height: 3em;*/
            text-transform: uppercase;
            font-weight: bold;
            font-family: sans-serif;
            letter-spacing: 0.1em;
            text-align: center;
            /*line-height: 3em;*/
            position: relative;
            overflow: hidden;
            z-index: 1;
            transition: border 2s;
            /*margin: 1em;*/
            margin: 5px 0px;
            padding: 10px 0px;
            background-color: var(--other);
        }

            button ul li span {
                position: absolute;
                width: 25%;
                height: 100%;
                /*background-color: var(--c);*/
                background-color: white;
                transform: translateY(150%);
                border-radius: 50%;
                left: calc((var(--n) - 1) * 25%);
                transition: 0.5s;
                transition-delay: calc((var(--n) - 1) * 0.1s);
                z-index: -1;
            }

            button ul li a {
                text-decoration: none;
                color: white;
                transition: color 1s;
            }

                button ul li a:hover {
                    color: #0D83C6;
                }

            button ul li:hover, button ul li:hover a {
                color: #0D83C6;
            }

            button ul li:hover {
                border: solid 1px #0D83C6;
                transition: 1s;
            }

                button ul li:hover span {
                    transform: translateY(0) scale(2);
                }

            button ul li span:nth-child(1) {
                --n: 1;
            }

            button ul li span:nth-child(2) {
                --n: 2;
            }

            button ul li span:nth-child(3) {
                --n: 3;
            }

            button ul li span:nth-child(4) {
                --n: 4;
            }

.buttonprimary, .buttonother, .buttontertiary {
    border: none;
    padding: 12px 33px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    /*margin: 4px 2px;*/
    cursor: pointer;
    font-weight: bold;
    border-radius: 25px;
    margin-bottom: 1em;
    color: white;
    text-transform: uppercase;
}

.buttonprimary {
    border: solid 1px var(--primary);
}
.buttonother {
    border: solid 1px var(--other);
}

.buttontertiary {
    border: solid 1px var(--other);
    color: var(--other);
    background-color: transparent;
    font-weight: bold;
}


.buttonprimary:hover {
    background-color: transparent;
    border: solid 1px var(--primary);
    color: var(--primary);
    text-decoration: none;
}

    .buttonother:hover {
        background-color: transparent;
        border: solid 1px var(--other);
        color: var(--other);
    }

.buttontertiary:hover {
    background-color: var(--other);
    color: white;
}

.primarybg {
    background-color: var(--primary);
}

.otherbg {
    background-color: var(--other);
}

.fontother {
    color: var(--other);
}

.progress-container {
    width: 100%;
    height: 8px;
    /*background-color: #0D83C6;*/
    background-color: var(--secondary);
}

.progress-bar {
    height: 8px;
    width: 0%;
    background: #70A200;
    background: linear-gradient(to right, #009ED2, #70a200);
}

hr {
    border: solid 1px var(--primary);
    margin: 30px 0px;
}

.emph {
    font-size: 120%;
    color: var(--other);
}

.dot {
    height: 12px;
    width: 12px;
    background-color: var(--other);
    border-radius: 50%;
    display: inline-block;
}

/* product mouse rollover */
.productroll .rollover {
    padding: 1em 0px;
    border-bottom: 1px solid black;
    position: relative;
}

.productroll .icon {
    position: absolute;
    right: 20px;
    top: 28px;
}

.productroll .roll {
    display: none;
    /*min-height: 500px;*/
}

    .productroll .roll img {
        width: 300px;
        margin-top: 1em;
    }

.productroll .rollshow {
    display: block;
}

    .productroll .rollshow p {
        font-size: 15px;
    }

.productroll .rollbold {
    font-weight: bold;
}

/* end product mouse rollover */

/* end of misc styles */

@media (min-width:1340px) {
    .header-bottomwrapper {
        padding: 5px 70px;
    }
}

/* tablet screens */
@media (min-width:768px) {
    header {
        /*position: fixed;*/
        z-index: 100;
        width: 100%;
        transition: top 0.2s ease-in-out;
    }

    .header-bottomwrapper img {
        max-width: 50%;
    }

    .mobilelogo {
        display: block;
    }

    .desktoplogo {
        display: none;
    }

    .mobilephone {
        display: block;
    }

    #mobilemenu {
        display: block;
    }

    .contactus {
        text-align: left;
    }

    .contact {
        justify-content: left;
        margin-left: 1em;
    }

    /* hamburger menu */
    .hammenu {
        /*width: 8%;*/
        /*width: 45px;*/
    }

    /* end hamburger menu */

    /* main content styles */
    .form {
        width: 100%
    }

    /* end of main content styles */

    /* misc styles */

    .mhidden {
        display: none;
    }

    /* end of misc styles */

}

/* Desktop Screens */
@media (min-width:1200px) {
    body {
        font-size: 18px;
    }

    header {
        position: fixed;
        z-index: 100;
        width: 100%;
        transition: top 0.2s ease-in-out;
    }

    .header-topwrapper {
        /*max-height: 100%;*/
        max-height: 35px;
    }

    .header-bottomwrapper {
        /*light*/
    }

        .header-bottomwrapper img {
            max-width: 95%;
        }

    #logo {
        width: 30%;
    }

    .mobilelogo {
        display: none;
    }

    .desktoplogo, .phone {
        display: block;
        padding-right: 65px;
    }

    .phone {
        /*margin-bottom: 17px;*/
        padding-top: 25px;
        color: white;
        /*font-size: 18px;*/
    }

    .mobilephone {
        display: none;
    }

    #middlelinks {
        float: left;
        width: 50%;
        display: block;
        position: relative;
        min-height: 103px;
    }

    #mobilemenu {
        display: none;
    }

    #contactus {
        width: 15%;
        float: right;
        text-align: right;
    }

    .contact {
        /*min-height: 85px;*/
        align-items: center;
        justify-content: center;
    }

    /* main Content styles */
    .wrap {
        width: 73%;
        margin: 0 auto;
        padding-top:25px;
    }
    main .content {
        padding: 0px 70px;
        padding: 0px 70px 70px 70px;
    }

    main {
        padding-top: 225px;
    }

        main .content .contentwrapper {
            width: 73%;
            margin: 0 auto;
        }

    #toolsidenav {
        display: none;
    }

    .landingbanner {
        background-size: cover;
        /*background-repeat: repeat;*/
        background-attachment: scroll;
        /*background-position: center;*/
        background-position-y: -110px;
    }

        .landingbanner .bottom {
            font-size: 1.875em;
        }

    .form {
        width: 60%;
    }

    .productwrap .square {
        float: left;
        width: 33.33%;
        border: solid 1px var(--primary);
        border-left: none;
    }


    .linkwrap {
        display: flex;
    }

        .linkwrap a:hover {
            text-decoration: none;
        }

    .capabilities {
        max-width: 171px;
        padding: 0px;
        padding-bottom: 20px;
        margin-right: 1em;
        margin-bottom: 0px;
        font-size: 100%;
        min-height: 270px;
        display: block;
        align-items: normal
    }

    .capabilities img {
        float: none;
        margin-right: 0px;
    }

    .capabilities .bottom {
        position: absolute;
        bottom: 0;
        height: 4px;
        background-color: var(--primary);
        width: 100%;
    }

    .capabilities:hover .bottom {
        height: 15px;
    }

    .services {
        width: 33%;
        margin-bottom: 0px;
    }


    .servicetype img {
        margin-right: 1em;
    }

    .serviceborder {
        border-bottom: solid 6px var(--secondary);
    }

    .industries {
        display: block;
    }

    .industries .items {
        width: 33.33%;
    }

        .industries .items:nth-of-type(4):before, .industries .items:nth-of-type(5):before, .industries .items:nth-of-type(6):before {
            left: auto;
            right: 50%;
            border-left: 0;
            border-right: 15px solid rgba(22, 53, 106, 0.96);
        }

        .industries .items:nth-of-type(4):after, .industries .items:nth-of-type(5):after, .industries .items:nth-of-type(6):after {
            left: auto;
            right: 0;
        }

        .industries .items:nth-of-type(4) h3, .industries .items:nth-of-type(5) h3, .industries .items:nth-of-type(6) h3 {
            left: auto;
            right: 0;
        }

    /* End of main Content Styles */

    /* footer styles */
    footer .rfq {
        padding-top: 1.25em;
        padding-bottom: 1.75em;
        padding: 50px 70px 50px 70px;
        margin-bottom: 3em;
    }

        footer .rfq .rfqwrap {
            width: 73%;
        }

    footer .rfq .rfqheading {
        display: inline-block;
        margin-right: 5em;
    }

    footer .rfq .rfqbutton {
        display: inline-block;
    }

    /* end of footer styles */

    /* misc styles */
    .heading1 {
        /*padding: 25px 0px;*/
        padding-top: 0px;
        color: white;
        font-size: calc(.75em + 1vw);
    }

    .heading2 {
        font-size: calc(.4em + 1vw);
    }

    p {
        font-size: 16px;
        line-height: 27px;
        padding-left: 5px;
    }

    .mhidden {
        display: block;
    }

    .dthidden {
        display: none;
    }

    .dropdown-search {
        border-bottom: none;
    }

    .searchbox {
        width: 75%;
        float: left;
    }

    .searchbtn {
        padding: 12px 13px;
    }

    /* end of misc styles */

}
