﻿html, body {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 15px;
    padding: 0;
    margin: 0;
    background-color: #073c7e !important;
    height: 100%;
}

html {
    margin: 0;
    padding: 0;
    height: 100%;
}

input:focus, textarea:focus {
    outline: none;
}

form {
    height: 100%;
    background: #F2F2F2;
    overflow-x: hidden;
    position: fixed;
    width: 100%;
}

.macontainer {
    width: 100%;
    overflow: hidden;
    padding-bottom: 50%;
    padding-top: 40px;
}

#searchIconContainer {
    height: 33px;
    width: 33px;
    position: absolute;
    z-index: 999;
    transition-duration: 1s;
    transition-delay: 1s;
    left: auto;
    right: 6%;
    top: -200px;
    margin: 0;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

    #searchIconContainer.on {
        top: 50%;
    }

.masearchwrap {
    /*background-color: #457bbb;*/
    padding: 0;
    width: 90%;
    position: absolute;
    transition-duration: .2s;
    top: 40px;
    height: 0;
    overflow: hidden;
}

    .masearchwrap.active {
        padding: 5px 5% 5px;
        z-index: 600;
        background-color: #073c7e;
        height: auto;
        /*box-shadow: 3px 3px 5px rgba(0,0,0,.4);*/
    }

#masearch {
    width: 90%;
    padding: 10px 5%;
    border: none;
    /*transition-duration: .2s;*/
    /*transition-timing-function: ease-out;*/
    /*border-bottom: solid 3px #ec4936;
    border-radius: 0 7px 7px 7px;*/
    border-radius: 20px;
    border: solid 2px #4a7cbd;
}

    #masearch.open {
    }

    #masearch.error {
        border: solid 2px red;
        box-shadow: 3px 3px 5px rgba(255,255,255,.5), -3px -3px 5px rgba(255,255,255,.5);
        background-color: #ffe2e7;
    }

.searchtab {
    text-align: center;
    font-size: 11px;
    text-transform: uppercase;
    color: #f1f2f2;
    padding: 1px 9px 2px;
    position: relative;
    border-bottom: solid 2px #457bbb;
}

    .searchtab.active {
        color: #fff;
        /*background-color: #fff;*/
        border-bottom: solid 2px #ec4936;
    }

        .searchtab.active::before {
            content: '▲';
            color: #ec4936;
            text-align: center;
            position: absolute;
            top: -9px;
            width: 100%;
            left: 0;
        }

.msr-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 5px;
    /*border-top: solid 1px #ec4936;*/
}

.masbg {
    background-color: #EB4A36;
    padding: 9px;
    text-align: center;
    color: #fff;
    font-weight: normal;
    border-radius: 5vw;
    position: absolute;
    top: 10%;
    left: 4.5%;
}

.msearch-results {
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    z-index: 300;
    height: 0;
    overflow: hidden;
    transition-property: all;
    transition-duration: .2s;
    width: 100%;
    overflow-x: hidden;
}

    .msearch-results.active {
        height: 45px;
        overflow: visible;
        background-color: #073c7e;
        z-index: 600;
        box-shadow: 3px 3px 5px rgba(0,0,0,.4);
        margin-top: -1px;
    }

    .msearch-results .sr-close {
        position: absolute;
        top: 10px;
        right: 10px;
        border: solid 1px #000;
        border-radius: 20px;
        width: 30px;
        height: 27px;
        text-align: center;
        padding-top: 3px;
        background-color: rgba(255,255,255,.1);
    }

        .msearch-results .sr-close:active {
            background-color: rgba(255,255,255,.5);
        }

#searchIcon, #searchCloseIcon {
    position: fixed;
    top: 4px;
    right: 5px;
    height: 32px;
    z-index: 800;
}

#backIcon {
    position: fixed;
    top: 5px;
    left: 5px;
    height: 30px;
    max-height: 30px;
    opacity: .7;
    z-index: 800;
}

#matoolbar .mat .imgwrap img {
    width: 90%;
}

#matoolbar .mat .imgwrap.active, #matoolbar .mat .imgwrap:active {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#83a8d6+0,467bbc+100 */
    background: #83a8d6; /* Old browsers */
    background: -moz-linear-gradient(top, #83a8d6 0%, #467bbc 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #83a8d6 0%,#467bbc 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #83a8d6 0%,#467bbc 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#83a8d6', endColorstr='#467bbc',GradientType=0 ); /* IE6-9 */
}

h1 {
    margin: 0;
    font-weight: 100;
    background-size: cover;
    padding: 1% 3% 1%;
    font-size: 20px;
    box-shadow: 0 3px 5px rgba(0,0,0,.6);
    opacity: 0;
}

.slide-in-top {
    -webkit-animation: slide-in-top 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: slide-in-top 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation-delay: 1s;
}
/**
 * ----------------------------------------
 * animation slide-in-top
 * ----------------------------------------
 */
@-webkit-keyframes slide-in-top {
    0% {
        -webkit-transform: translateY(-1000px);
        transform: translateY(-1000px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slide-in-top {
    0% {
        -webkit-transform: translateY(-1000px);
        transform: translateY(-1000px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}

.morelist {
    padding: 0 !important;
    list-style: none !important;
}

    .morelist li {
        border-right: none;
        display: block;
        float: none;
        background-color: #fff;
        border-radius: 5px;
        margin: 2000px 10px 0 10px;
        -webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);
        -moz-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);
        box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);
        font-weight: 100;
        padding: 7px 10px;
    }

        .morelist li a {
            color: #000;
            display: block;
        }
        .morelist li:active {
            background-color: #457bbb;
            color: #fff;
        }
        .morelist li:active a {
            color: #fff;
        }



.logo {
    text-align: center;
    max-width: 80%;
    margin: 40% auto;
}

.maback {
    display: none;
}

#logo-wrapper {
    position: fixed;
    z-index: 700;
    height: 40px;
    background: #073c7e;
}

.scale-in-top {
    -webkit-animation: scale-in-top 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: scale-in-top 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

#mawhiteout {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 998;
    background-color: rgba(255,255,255,.8);
    display: none;
}

#maloading {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255,255,255,.5);
    z-index: 999;
}
.loader {
    border: 10px solid #457bbb;
    border-top: 10px solid #073c7e;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -20px;
    margin-left: -20px;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
    /* BANNER */
    .banner-container {
        margin: 200% -25% 0;
        background-color: #fff;
        border-radius: 50% 50% 0 0;
        height: 20vh;
        width: 150%;
        box-shadow: 0 -5px 10px #042d61;
        transition-property: margin;
        transition-duration: .8s;
        transition-timing-function: linear;
        transition-delay: .5s;
    }

    .banner-container.loaded {
        margin-top: 10%;
    }

    .mhbanner {
        margin: -20px auto 0;
        width: 60%;
        transform: translate3d(0,0,0);
    }

    .mhbanner.loaded {
    }

    .flip-in-hor-bottom {
        -webkit-animation: flip-in-hor-bottom 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
        animation: flip-in-hor-bottom 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
        animation-delay: 1.3s;
    }
    /**
 * ----------------------------------------
 * animation flip-in-hor-bottom
 * ----------------------------------------
 */
    @-webkit-keyframes flip-in-hor-bottom {
        0% {
        -webkit-transform: rotateX(80deg);
        transform: rotateX(80deg);
        opacity: 0;
    }

    100% {
        -webkit-transform: rotateX(0);
        transform: rotateX(0);
        opacity: 1;
    }
}

@keyframes flip-in-hor-bottom {
    0% {
        -webkit-transform: rotateX(80deg);
        transform: rotateX(80deg);
        opacity: 0;
    }

    100% {
        -webkit-transform: rotateX(0);
        transform: rotateX(0);
        opacity: 1;
    }
}


#slide1 {
    background: url(/images/Home-Page/bhp_gmov_bg.png);
    background-size: cover;
    border-radius: 7px;
    position: relative;
    height: 23.5vh;
}

    #slide1 .title {
        font-size: 28px;
        padding: 5%;
    }

    #slide1 img {
        position: absolute;
        bottom: 0;
    }

    #slide1 .learn-more {
        background-color: #ec4936;
        color: #fff;
        font-size: 13px;
        text-transform: uppercase;
        text-decoration: none;
        text-align: center;
        padding: 7px 15px;
        border-radius: 20px;
        position: absolute;
        bottom: 10px;
        right: 10px;
        box-shadow: 1px 3px 6px rgba(0, 0, 0, 0.7);
    }

/* PRODUCTS */
.products-container {
    padding-top: 3%;
    background-color: #fff;
}

.products-title {
    background-color: #457bbb;
    color: #fff;
    text-transform: uppercase;
    margin: auto;
    width: 89.5%;
    padding: 3px 0 4px;
    text-align: center;
    border-radius: 7px 7px 0 0;
    font-size: 14px;
    font-weight: 100;
}

.item {
    opacity: 0.4;
    transition: .4s ease all;
    margin: 0 20px;
    transform: scale(.8);
}

.owl-carousel {
    margin-left: -2000px;
    transition-property: margin-left;
    transition-duration: 1s;
    transition-timing-function: ease-in;
    transition-delay: 1.4s;
    height: 19vh;
}

    .owl-carousel .owl-item {
        height: 13vh;
        background-size: cover;
    }

        .owl-carousel .owl-item li {
            position: absolute;
            bottom: -35px;
            width: 100%;
            text-align: center;
            background-color: #034a7e;
            color: #fff;
            font-size: 12px;
            border-radius: 0 0 7px 7px;
            line-height: 1.3;
            height: 35px;
            display: grid;
        }

            .owl-carousel .owl-item li a {
                color: #fff;
                -webkit-box-align: center !important;
                -ms-flex-align: center !important;
                align-items: center !important;
                -webkit-box-pack: center !important;
                -ms-flex-pack: center !important;
                justify-content: center !important;
                display: -webkit-box !important;
                display: -ms-flexbox !important;
                display: flex !important;
            }

    .owl-carousel.owl-loaded {
        margin-left: 0;
    }

    .owl-carousel .owl-stage-outer {
        height: 100%;
    }

    .owl-carousel .active {
    }

@media(max-width:1000px) {
    .item {
        margin: 0;
        transform: scale(.9)
    }
}

.active .item {
    opacity: 1;
    transform: scale(1);
}

.owl-item {
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0) scale(1.0, 1.0);
}

.inner {
    position: absolute;
    bottom: -37px;
    left: 0;
    right: 0;
    text-align: center;
    height: 35px;
    background-color: #073c7e;
    padding: 2px 4px;
    border-radius: 0 0 7px 7px;
}

    .inner a, .black .inner a {
        color: #fff;
        text-decoration: none;
        transition: .3s ease border-color;
        font-size: 11px;
        line-height: 1.2;
    }

        .inner a:hover, .black .inner a:hover {
            border-color: #fff;
        }

.owl-controls {
    position: absolute;
    margin-top: 300px;
}

/* TILES */
.tiles-container {
    padding-top: 3%;
    background-color: #fff;
    padding-bottom: 60px;
}

#parmsearch-btn {
    width: 84%;
    margin: 0 auto 15px;
    background: url(/images/mobile/parmsearchbg.jpg);
    background-size: cover;
    border-radius: 7px;
    padding: 1vh 15px;
    font-size: 18px;
    color: #fff;
    box-shadow: 3px 3px 5px rgba(0,0,0,.7);
}

.tile {
    margin-left: 5%;
    float: left;
    width: 26.75%;
    height: auto;
    overflow: hidden;
    box-shadow: 3px 3px 5px rgba(0,0,0,.7);
    border-radius: 7px;
}

    .tile:active {
        box-shadow: none;
    }

    .tile img {
        display: block;
        height: 7vh;
        width: auto;
        float: right;
        max-width: none;
    }

    .tile span {
        text-align: center;
        display: block;
        font-size: 12px;
        color: #fff;
        background-color: #034a7e;
        padding: 2px;
        line-height: 2;
    }

    .tile:active span {
        background-color: #457bbb;
    }


/* FX */
@keyframes scale-in-top {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
        -webkit-transform-origin: 50% 0%;
        transform-origin: 50% 0%;
        opacity: 1;
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-transform-origin: 50% 0%;
        transform-origin: 50% 0%;
        opacity: 1;
    }
}
