/* Content */
.home .entry-header {
    display: none;
}
.page-template-template-homepage .entry-content {
    font-size: 1.6em;
    line-height: 1.4;
    margin-top: 35px;
}
    .entry-content p {
        margin: 25px 50px !important; /* Storefront/WooCommerce Override */
        font-weight: 300;
    }

/* Industries */
#product-tabs ul#tabs {
    margin: 0;
}
    ul#tabs li {
        display: block;
        float: left;
        width: calc(100%/3);
    }
    ul#tabs li:after {
        display: block;
        height: 0;
        width: 0;
        margin: auto;
        border-left: 30px solid transparent;
        border-right: 30px solid transparent;
        content: '';
    }
    ul#tabs li#life-sciences-trigger.ui-state-active:after {
        border-top: 35px solid #002b5c;
        border-top: 35px solid var(--mtblue);
    }
    ul#tabs li#food-processing-trigger.ui-state-active:after {
        border-top: 35px solid #717174;
        border-top: 35px solid var(--mdgrey);
    }
    ul#tabs li#industrial-trigger.ui-state-active:after {
        border-top: 35px solid #a7a8aa;
        border-top: 35px solid var(--grey);
    }
        ul#tabs li a {
            display: block;
            padding: 15px 15px 20px 15px;
        }
        ul#tabs a#life-sciences {
            background-color: #002b5c;
            background-color: var(--mtblue);
        }
        ul#tabs a#food-processing {
            background-color: #717174;
            background-color: var(--mdgrey);
        }
        ul#tabs a#industrial {
            background-color: #a7a8aa;
            background-color: var(--grey);
        }
            a#life-sciences img#life-sciences-tab-image,
            a#food-processing img#food-processing-tab-image,
            a#industrial img#industrial-tab-image {
                margin: auto;
            }
#product-tabs .product-tab {
    margin: 0 50px;
}
#product-tabs #life-sciences-tab {
    border: 5px solid #002b5c;
    border: 5px solid var(--mtblue);
}
#product-tabs #food-processing-tab {
    border: 5px solid #717174;
    border: 5px solid var(--mdgrey);
}
#product-tabs #industrial-tab {
    border: 5px solid #a7a8aa;
    border: 5px solid var(--grey);
}
#product-tabs .product-tabs-heading {
    height: 47px;
    color: white;
    font-size: 1.9em;
    font-weight: 600;
    text-align: center;
}
#life-sciences-tab .product-tabs-heading {
    background-color: #002b5c;
    background-color: var(--mtblue);
}
#food-processing-tab .product-tabs-heading {
    background-color: #717174;
    background-color: var(--mdgrey);
}
#industrial-tab .product-tabs-heading {
    background-color: #a7a8aa;
    background-color: var(--grey);
}
#product-tabs .product-tabs-content {
    width: 90%;
    margin: 40px auto;
}
    #product-tabs ul.product-list {
        margin: 0;
    }
        ul.product-list li.product {
            display: block;
            margin-bottom: 30px;
        }
        ul.product-list li.product:last-child {
            margin-bottom: 0;
        }
            li.product a.product-list-link,
            li.product a.product-list-link:hover {
                display: block;
                color: #464646;
                color: var(--dkgrey);
            }
                a.product-list-link .product-img-wrapper {
                    display: inline-block;
                    width: 100%;
                    vertical-align: middle ;
                }
                    .product-img-wrapper img {
                        margin: auto;
                    }
                a.product-list-link .product-details-wrapper {
                    display: inline-block;
                    width: 100%;
                    text-align: center;
                    vertical-align: middle;
                }
                    .product-details-wrapper span.product-name {
                        display: block;
                        font-size: 1.1em;
                        font-weight: 600;
                    }
                    .product-details-wrapper span.product-description {
                        font-weight: 300;
                    }

.product-help {
    padding: 25px 0;
    text-align: center;
}
.product-help.desktop {
    display: none;
}
.product-help.mobile{
    margin: 0 50px;
}
    .product-help.mobile .help-text,
    .product-help.mobile .phone-text {
        width: 100%;
    }
        .product-help .help-text,
        .product-help .phone-text {
            width: 150px;
            font-size: 1.2em;
            line-height: 1.2;
        }
        .product-help .help-text {
            font-weight: 600;
        }

body span.product-name,
body span.services-sub-heading,
body span.services-heading,
body span#mailing-list-header,
body div.help-text,
body div.phone-text{
    color: #002b5c;
    color: var(--mtblue);
}

/* Services */
section#services #calibration-services,
section#services #rental-services,
section#services #on-site-services {
    margin: 0 50px 25px 50px;
    padding: 30px 25px 15px 25px;
    text-align: center;
}
    .services-wrapper .services-image {
        margin: auto;
    }
   /* .services-wrapper #calibration-services-image {
        height: 68px;
        width: 68px;
    }
    .services-wrapper #rental-services-image {
        height: 57px;
        width: 66px;
        margin-top: 11px;
        background-position: -69px 0;
    }
    .services-wrapper #on-site-services-image {
        height: 56px;
        width: 53px;
        margin-top: 12px;
        background-position: -136px 0;
    }*/
    .services-wrapper span.services-heading {
        display: block;
        padding: 10px 10px 10px 0;
        font-size: 1.5em;
        font-weight: 600;
        color: black;
        text-align: center;
    }
    /*.services-wrapper span.services-sub-heading {
        display: block;
        font-size: 1.2em;
    }*/
    .services-wrapper p.services-description {
        margin: 0;
        padding-top: 10px;
        color: #464646;
        color: var(--dkgrey);
        font-weight: 400;
        text-align: center;

    }

    .services-wrapper hr.services-hr{
        background-color: #93ACC1;
        border: 0;
        height: 2px;
        width: 75px;
        margin: auto;

    }

    .services-wrapper a.button {
        margin-bottom: 0;
    }



/* Trusted */

section#trusted
{
    padding: 25px 50px 40px 50px;
}

section#trusted h2#trusted-header
{
    color: black;
    font-size: 40px;
    font-weight: 600;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 40px;
}

section#trusted .box
{
    display: block;
    width: 100%;
    text-align: center;
}

section#trusted .box img
{
    margin: auto;
    display: inline;
    max-height: 100px;
}

section#trusted #lower
{
    margin-top: 25px;
}

section#trusted .shrunk
{
    width: 70%;
}

section#trusted .ec .ec__nav--next
{
    right: -20px;
    bottom: 65%;
}

section#trusted .ec .ec__nav--prev
{
    left: -20px;
    bottom: 65%;
}


/* Advantage */

section#advantage{
    padding: 50px 50px;
    color: #464646;
    color: var(--dkgrey);
    background-color: #002b5c;
    background-color: var(--mtblue);
    text-align: center;
}

#advantage-image
{
    width: 100%;
    float: left;
    text-align: center;
}

#advantage-text
{
    padding: 1%;
    width: 100%;
    float: right;
    color: white;
    text-align: center;

}

#advantage-text h1
{
    color: white;
    font-weight: 600;
    font-size: 40px;
}

section#advantage a.button
{
    margin-left: 0;
}

/* Quality */
section#quality {
    padding: 35px 50px;
    color: white;
    /*background-color: #002b5c;
    background-color: var(--mtblue); */
    text-align: center;
}
    section#quality div.row
    {
        width: 100%;
    }

    section#quality div.row div.group
    {
        width: 100%;
        margin-bottom: 25px;
    }

    section#quality div.row div.group img
    {
        margin: auto;
    }


    section#quality span.quality-subheader
    {
        color: #0A246A;
        color: var(--mtblue);
        font-weight:450;
    }

    section#quality h1.quality-header
    {
        margin-bottom: 0;
        font-weight: 450
    }


    /*
    section#quality span {
        display: block;
        margin: 10px 0;
        font-size: 1.9em;
        font-weight: 600;
        text-transform: uppercase;
    }
    section#quality p {
        margin: 5px 0;
        font-size: 1.2em;
        font-weight: 300;
        line-height: 1.1;
    }
    section#quality a.button.white:hover {
        color: #002b5c;
        color: var(--mtblue);
    }
    section#quality div{
        display: none;
    }
    section#quality div#quality-center{
        display: block;
    }*/

/* Subscriptions */
section#subscriptions {
    padding: 40px 50px 25px 50px;
    border-top: 1px #0A246A solid;
    border-bottom: 1px #0A246A solid;
}

    #blog-body p,
    #mailing-list p{
        margin: 0;
        padding: 10px 0;
        color: #464646;
        color: var(--dkgrey);
    }

    /* Blog Post */
    section#subscriptions #blog {
        margin-bottom: 25px;
    }
        #blog #blog-image {
            float: left;
            width: 100%;
        }
            #blog-image img {
                width: 100%;
            }
        #blog #blog-body {
            float: left;
            width: 100%;
            margin-top: 15px;
            padding-left: 0;
            font-weight: 300;
            text-align: center;
        }
            #blog-body a#blog-heading {
                color: #002b5c;
                color: var(--mtblue);
                font-size: 1.2em;
                font-weight: 600;
                line-height: 1;
            }
            #blog-body a#blog-link {
                color: #002b5c;
                color: var(--mtblue);
                font-size: 1em;
                font-weight: 600;
                text-transform: uppercase;
                white-space: nowrap;
            }
            #blog-body a#blog-link:hover{
                color: #ee3526;
                color: var(--mtred);
            }
            #blog-subscribe{
                float: left;
                width: 100%;
            }
            #blog-subscribe a{
                display: block;
                margin: 20px auto;
                width: 66%;
            }


    /* Mailing List */
    section#subscriptions #mailing-list {
        padding-top: 40px;
        border-top: 2px solid #a7a8aa;
        border-top: 2px solid var(--grey);
        text-align: center;
    }
        #mailing-list span {
            line-height: 1;
        }
        #mailing-list span#mailing-list-preheader {
            display: block;
            font-size: 1.2em;
            font-weight: 300;
            text-transform: uppercase;
        }
        #mailing-list span#mailing-list-header {
            display: block;
            font-size: 1.9em;
            font-weight: bold;
            text-transform: uppercase;
        }


/* Larger Mobile Screens */
@media only screen and (min-width: 500px) {
    a.product-list-link .product-img-wrapper {
        width: 33%;
    }
    a.product-list-link .product-details-wrapper {
        width: 66%;
        text-align: left;
    }

    #blog #blog-image {
        width: 33%;
    }
    #blog-image img {
        width: 100%;
    }
    #blog #blog-body {
        width: 66%;
        margin-top: 0px;
        padding-left: 25px;
        text-align: left;
    }
    #blog #blog-body.no-image {
        width: 100%;
        padding-left: 0;
    }
    #blog #blog-subscribe {
        text-align: center;
    }
}

/* Desktop */
@media only screen and (min-width: 768px) {

    .page-template-template-homepage .entry-content p {
        width: 80%;
        margin: 50px auto !important; /* Storefront/WooCommerce Override */
        font-weight: 300;
    }

    ul.product-list li.product {
        float: left;
        width: calc(100% / 3);
        margin: 0;
    }
        a.product-list-link .product-img-wrapper {
            margin-bottom: 15px;
            width: 100%;
        }
        a.product-list-link .product-details-wrapper {
            width: 100%;
            margin: auto;
            padding: 0 20px;
            text-align: center;
        }

    section#services {
        display: table;
        margin: 15px 50px;
    }
        section#services #calibration-services,
        section#services #rental-services,
        section#services #on-site-services {
            display: table-cell;
            width: 32%;
            margin: 0;
            padding: 0;
        }
        section#services .services-wrapper {
            margin: 25px;
        }
        section#services .services-divider {
            display: table-cell;
            width: 2%;
            vertical-align: middle;
        }
        section#services .services-divider div {
            height: 400px;
            width: 2px;
            margin: 0 auto;
            background-color: #a7a8aa;
            background-color: var(--grey);
        }

    .services-wrapper p.services-description {
        text-align: left;
    }

    .services-wrapper span.services-heading {
        text-align: left;
    }

    .services-wrapper hr.services-hr
    {
        margin: 0;
        margin-top: 5px;
    }

    .services-wrapper a.button {
        float: left;
        margin: 0;
    }

    section#advantage{
        padding: 50px 50px;
        color: #464646;
        color: var(--dkgrey);
        background-color: #002b5c;
        background-color: var(--mtblue);
        text-align: center;
    }

    #advantage-image
    {
        width: 49%;
        text-align: left;
    }

    #advantage-text
    {
        padding: 1%;
        width: 50%;
        text-align: left;

    }


    section#subscriptions #mailing-list-signup .button {
        margin-left: 0px;
    }

    #blog-subscribe{
        float: none;
        width: auto;
    }

    #blog-subscribe a{
        float: left;
        display: inline;
        width: auto;
        margin: 20px;
    }

    /* Quality */

    section#quality #row-one div.group
    {
        display: inline-block;
        width: 30%;
        text-align: center;
    }

    section#quality #row-two div.group
    {
        display: inline-block;
        width: 33%;
        text-align: center;
    }

}


/* Medium Desktop */
@media only screen and (min-width: 900px) {

    #product-tabs .product-tabs-content {
        margin: 40px auto 10px;
    }
    .product-help.desktop {
        display: block;
    }
    .product-help.mobile {
        display: none;
    }
    .product-help div {
        display: inline-block;
    }
    .product-help .help-text,
    .product-help .phone-text {
        margin: 20px 0;
    }
    .product-help .help-text {
        text-align: left;
    }

    section#subscriptions {
        margin: 50px;
    }
    section#subscriptions #blog {
        float: left;
        width: 66%;
        margin-bottom: 0;
        padding-right: 30px;
        border-right: 2px solid #a7a8aa;
        border-right: 2px solid var(--grey);
    }
    section#subscriptions #mailing-list {
        float: left;
        width: 33%;
        padding-top: 0;
        padding-left: 30px;
        border-top: none;
        text-align: left;
    }
}


/* Larger Desktop */
@media only screen and (min-width: 1200px) {

    /* Quality */
   /* section#quality div {
        max-width: 13%;
    }

    section#quality div#quality-center {
        width: 70%;
    }*/
}