﻿/******MAIN NAVIGATION END******/
#pagetext a {
    color: #a63b3b;
    text-decoration: none;
}

#pagetext a:hover {
    color: #000;
    text-decoration: none;
}

#mainproduct {
    border: 1px solid #000;
    padding: 10px;
    margin: 10px 5px 5px 5px;
    float: left;
    width: 46%;
    text-align: center;
    height: 230px;
}

#product {
    border: 1px solid #000;
    padding: 10px;
    margin: 10px 3px;
    float: left;
    width: 30%;
    text-align: center;
    height: 105px;
}

#precisionwrap {
    border: 1px solid #ccc;
    padding: 15px;
    margin: 10px auto;
    line-height: 20px;
    background: white;
    /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(white, #D3D3D3);
    /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(white, #D3D3D3);
    /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(white, #D3D3D3);
    /* For Firefox 3.6 to 15 */
    background: linear-gradient(white, #D3D3D3);
    /* Standard syntax */
}

.banner {
    float: left;
    width: 30%;
}

.description {
    float: right;
    width: 70%;
}

.parts {
    float: left;
    padding: 10px;
    border-right: 1px solid #000;
}

.service {
    float: left;
    padding: 10px;
}

.invlinks {
    width: 20%;
    float: left;
    margin-top: 10px;
}

.invlinks a {
    text-decoration: none;
}

.invwrap {
    width: 77%;
    float: right;
}

.button {
    width: 100%;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background: #a63b3b;
    padding: 10px;
    color: #fff;
    margin: 2px 0;
}

.button:hover {
    background: #000;
}

.contacts {
    width: 31%;
    float: left;
}

.map {
    width: 64%;
    float: right;
    padding-top: 10px;
}

.grain {
    width: 100%;
    max-width: 600px;
}


/*--------Scrolling Inventory--------*/

.scrolling-wrap {
    width: 100%;
    height: 90px;
    overflow: hidden;
}

.scrolling {
    width: 100%;
    height: 92px;
}

.mobilecontainer {
    overflow: hidden;
    /* must have this property for mobile phones and tablet display! */
    width: 100%;
    max-width: 1900px;
    margin: 0 auto;
    height: 92px;
    padding: 15px 0 15px 0;
    background: #fff;
}

iframe.banner {
    width: 100%;
    height: 92px;
    background: #fff;
}


/***** ZOOM *****/
.zoom-container h4 {
    margin-bottom: 0px;
}

.zoom-container {
    float: left;
    width: 20%;
    position: relative;
    overflow: hidden;
    display: inline-block;
    border: 2px solid #fff;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.zoom-container img {
    display: block;
    width: 100%;
    height: auto;
    -webkit-transition: all .5s ease;
    /* Safari and Chrome */
    -moz-transition: all .5s ease;
    /* Firefox */
    -ms-transition: all .5s ease;
    /* IE 9 */
    -o-transition: all .5s ease;
    /* Opera */
    transition: all .5s ease;
}

.zoom-container .zoom-caption {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    background: rgba(0, 0, 0, .3);
    -webkit-transition: all .5s ease;
    /* Safari and Chrome */
    -moz-transition: all .5s ease;
    /* Firefox */
    -ms-transition: all .5s ease;
    /* IE 9 */
    -o-transition: all .5s ease;
    /* Opera */
    transition: all .5s ease;
}

.zoom-container .zoom-caption h4 {
    display: block;
    text-align: center;
    font-size: 37px;
    text-transform: uppercase;
    /* font-weight: bold; */
    color: #FFFFFF;
    text-shadow: 0px 2px 5px rgba(0, 0, 0, 1);
    width: 95%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.zoom-container:hover .zoom-caption {
    background: none;
    color: #fff;
}

.zoom-container:hover .zoom-caption h4 {
    color: #fff;
}


/************************************************ Responsive Styles **/

@media screen and (max-width: 1600px) and (min-width:1350px) {
    .show-menu-for-mobile {
        display: none;
    }

    #logo {
        font-size: 49px;
    }

    #contentwrap {
        width: 85%;
    }
}

@media screen and (max-width: 1349px) and (min-width:1082px) {
    .show-menu-for-mobile {
        display: none;
    }

    body {
        overflow-x: hidden;
    }

    #site-width {
        width: 95%;
    }

    #logo {
        font-size: 40px;
        padding-top: 20px;
    }

    #contentwrap {
        width: 95%;
    }

    .location {
        width: 19%;
    }

    .location img {
        width: 75%;
    }

}


@media screen and (max-width: 1081px) and (min-width:768px) {
    .show-menu-for-mobile {
        display: block;
    }

    .hide-for-mobile {
        display: none;
    }

    .hide {
        display: none;
    }

    #site-width {
        width: 95%;
        margin: 0 auto;
    }

    #contentwrap {
        width: 95%;
        margin: 0 auto;
    }

    #logo {
        font-size: 40px;
        float: none;
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .logos {
        float: none;
        width: 100%;
        margin: 15px auto 0 auto;
    }

    .logos img {
        width: 20%;
        padding: 5px 8px;
    }

    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 13px;
    }

    #mainproduct {
        width: 43%;
        margin: 10px 7px;
    }

    #product {
        width: 27%;
        margin: 10px 8px;
    }

    .banner {
        float: left;
        width: 25%;
    }

    .banner img {
        width: 95%;
    }

    .description {
        float: right;
        width: 75%;
    }

    .invlinks {
        width: 28%;
        float: left;
    }

    .invwrap {
        width: 69%;
        float: right;
    }

    .contacts {
        width: 31%;
        float: left;
    }

    .map {
        width: 60%;
        float: right;
    }

    .zoom-container {
        width: 25%;
    }




    /******************styles for the main site navigation during mobile display*************/
    #navicon {
        float: left;
        font-size: 32px;
        font-size: 2em;
        text-decoration: none;
        position: relative;
        z-index: 99999999999999999;
        margin: 0.25rem 0 0 0.5rem;
        color: #000;
    }

    #nav {
        display: none;
    }
}



@media screen and (max-width: 767px) and (min-width:361px) {
    .show-menu-for-mobile {
        display: block;
    }

    .hide-for-mobile {
        display: none;
    }

    .hide {
        display: none;
    }

    #site-width {
        width: 95%;
        margin: 0 auto;
    }

    #contentwrap {
        width: 95%;
        margin: 0 auto;
    }

    #logo {
        font-size: 40px;
        float: none;
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .logos {
        float: none;
        width: 100%;
        margin: 15px auto 0 auto;
    }

    .logos img {
        width: 30%;
        padding: 5px 8px;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 11px;
    }

    #submenu a {
        font-size: 9px;
        padding: 0;
    }

    .divfooter {
        width: 90%;
        margin: 0 auto;
    }

    #mainproduct {
        float: none;
        width: 95%;
        margin: 10px auto;
        text-align: center;
    }

    #product {
        float: none;
        width: 95%;
        margin: 10px auto;
        text-align: center;
    }

    .banner {
        float: none;
        width: 100%;
        text-align: center;
    }

    .description {
        float: none;
        width: 100%;
        padding-top: 10px;
    }

    .invlinks {
        width: 95%;
        float: left;
        margin: 10px auto;
        text-align: center;
        margin-right: 2px;
    }

    .invwrap {
        width: 100%;
        float: none;
    }

    .contacts {
        width: 100%;
        float: none;
    }

    .map {
        width: 100%;
        float: none;
    }

    .zoom-container {
        width: 33%;
    }

    .zoom-container .zoom-caption h4 {
        font-size: 16px;
    }





    /******************styles for the main site navigation during mobile display*************/
    #navicon {
        float: left;
        font-size: 32px;
        font-size: 2em;
        text-decoration: none;
        position: relative;
        z-index: 99999999999999999;
        margin: 0.25rem 0 0 0.5rem;
        color: #000;
    }

    #nav {
        display: none;
    }
}

@media screen and (max-width: 450px) {
    .zoom-container {
        width: 50%;
    }

    .zoom-container .zoom-caption h4 {
        font-size: 16px;
    }
}


@media screen and (max-width: 360px) {
    .show-menu-for-mobile {
        display: block;
    }

    .hide-for-mobile {
        display: none;
    }

    .hide {
        display: none;
    }

    #site-width {
        width: 90%;
        margin: 0 auto;
    }

    #contentwrap {
        width: 95%;
        margin: 0 auto;
    }

    #logo {
        font-size: 29px;
        float: none;
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .logos {
        float: none;
        width: 100%;
        margin: 15px auto 0 auto;
    }

    .logos img {
        width: 60%;
        padding: 5px 0;
    }

    h2 {
        font-size: 20px;
    }

    p {
        font-size: 15px;
        line-height: 20px;
    }

    #pagetext a {
        color: #a63b3b;
        font-size: 13px;
        text-decoration: none;
    }

    #mainproduct {
        float: none;
        width: 90%;
        margin: 10px auto;
        text-align: center;
    }

    #product {
        float: none;
        width: 90%;
        margin: 10px auto;
        text-align: center;
    }

    #submenu a {
        font-size: 9px;
        padding: 0;
    }

    .divfooter {
        width: 90%;
        margin: 0 auto;
    }

    .banner {
        float: none;
        width: 100%;
        text-align: center;
    }

    .banner img {
        width: 95%;
    }

    .description {
        float: none;
        width: 100%;
        padding-top: 10px;
        font-size: 12px;
    }

    .description img {
        width: 95%;
    }

    .invlinks {
        width: 90%;
        float: none;
        margin: 0 atuo;
        text-align: center;
    }

    .invwrap {
        width: 100%;
        float: none;
    }

    .contacts {
        width: 100%;
        float: none;
    }

    .map {
        width: 100%;
        float: none;
    }


    .zoom-container {
        float: none;
        width: 100%;
    }

    .zoom-container .zoom-caption h4 {
        font-size: 16px;
    }


    /******************styles for the main site navigation during mobile display*************/
    #navicon {
        float: left;
        font-size: 32px;
        font-size: 2em;
        text-decoration: none;
        position: relative;
        z-index: 99999999999999999;
        margin: 0.25rem 0 0 0.5rem;
        color: #000;
    }

    #nav {
        display: none;
    }
}