﻿@font-face {
    font-family: 'karla-reg'; /*Karla Regular for Slider Subtitle, body copy*/
    src: url('../fonts/karla-regular-webfont.woff') format('woff');
}

@font-face {
    font-family: 'fat-face'; /*Abril Fatface for Large Numbers and Countdown*/
    src: url('../fonts/abrilfatface-regular-webfont.woff') format('woff');
}

@font-face {
    font-family: 'din-med'; /*DIN Medium for Headers*/
    src: url('../fonts/din-med-webfont.woff') format('woff');
}

@font-face {
    font-family: 'din-bold'; /*DIN Bold for Slider Titles.*/
    src: url('../fonts/din-bold-webfont.woff') format('woff');
}


body {
    margin: 0;
    padding: 0;
    font-family: karla-reg;
    color: #231f20;
    background-color: #fff;
    line-height:1.3;
}

html, body, #body_liner {
    height: 100%;
}

html {
    overflow-x: hidden;
}

#body_liner {
    position: relative;
}

.body-liner-lock {
    overflow: hidden;
}

/*spacing and margins*/
.padding-tb-80
{
    padding-top:80px;
    padding-bottom:80px;
}

.padding-tb-50 {
    padding-top: 50px;
    padding-bottom: 50px;
}

.padding-tb-20 {
    padding-top: 20px;
    padding-bottom: 20px;
}

.padding-t-50 {
    padding-top: 50px;
}

.padding-t-70 {
    padding-top: 70px;
}

.margin-tb-50 {
    margin-top: 50px;
    margin-bottom: 50px;
}

.container {
    max-width:1390px;
    width: 70%;
    margin-right: auto;
    margin-left: auto;
}

.container-50 {
    max-width: 1290px;
    width: 50%;
    margin-right: auto;
    margin-left: auto;
}

.fullwidth
{
    max-width:1920px;
    margin-left:auto;
    margin-right:auto;
}

.w-100 {
    width:100px;
}

.w-50
{
    width:50%;
}

.w-25
{
    width:25%;
}

.ml-auto
{
    margin-left:auto;
}

.ml-auto {
    margin-right: auto;
}

.inline
{
    display:inline-block;
}

/*backgrounds*/
.texture
{
    background-image:url(images/tex.jpg);
}

.background
{
    background-position:center !important;
    background-size:cover !important;
    background-repeat:no-repeat !important;
}

.parallax
{
    background-attachment:fixed;
}

.parallax-min-height
{
    min-height:450px;
}

/* positioning */
.text-center
{
    text-align:center;
}

.text-right
{
    text-align:right;
}

/*colours*/
.gold {
    color: #e0c38b;
}

.white
{
    color:#fff;
}

.grey
{
    color:#b1acae;
}

.black
{

}

.back-black
{
    background-color:#000;
}

* {
    box-sizing: border-box;
}

b, .b
{
    font-weight:bold;

}

/* psuedo elements */
.underline
{
    position:relative;
}

.underline::after
{
    content:"";
    position:absolute;
    background-color:#e0c38b;
    width:150px;
    height:10px;
    left:50%;
    bottom:-30px;
    transform:translate(-50%, 0);
    -webkit-transform:translate(-50%, 0);

}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    font-weight: normal;
    letter-spacing: 1px;
    line-height: 1.3;
    margin: 0;
    font-weight:bold;
    margin-bottom:15px;
}

h1{
    font-size:30px;
}

h2 {
    font-size: 43px;
}

h3 {
    font-size: 35px;
}

h4 {
    font-size: 30px;
}

h5
{
    font-size:22px;
}

h6
{
    font-size:20px;
}

ul, menu, dir {
    line-height: 26px;
    display: block;
    /*list-style-type: disc;*/
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 0px;
    list-style: none !important;
}



/* for centering li */
ul {
    text-align: center;
    list-style: inside;
    padding-left: 5px;
}

    ul li:before {
        content: "•";
        position: absolute;
        font-size: 20px;
        margin-left: -12px;
        margin-top: -1px;
    }

a {
    color: #fff;
    font-style: normal;
    text-decoration: none;
}

.back-white
{
    background-color:#fff;
}

.dark-grey {

    color: #3a3a3a;
}

/* forms */
.newsletter-email
{
    width:100%;
    max-width:400px;
    margin-left:auto;
    margin-right:auto;
}

.form .float-50 
{
    width:48.5%;
    margin-right:1.5%;
}

.form .float-50:last-of-type
{
    margin-left:1.5%;
    margin-right:0;
}

input, select, textarea
{
    display:block;
    width:100%;
    border:3px solid #fff;
    background-color:#312f30;
    color:#fff;
    font-size:22px;
    padding:10px 20px;
    font-weight:bold;
    font-family:karla-reg, 'verdana';
    margin-bottom:20px;
}

button {
    color: #fff;
    background-color: #e0c38b;
    text-align: center;
    display: block;
    width: 100px;
    font-size: 25px;
    border: none;
    outline: none;
    box-shadow: none;
    font-family: karla-reg;
    font-weight:bold;
    padding:5px 10px;
    margin-left:auto;
    margin-right:auto;
    cursor:pointer;
}

textarea
{
    height:200px;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #fff;
    opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #fff;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: #fff;
}

/* images */
img {
    -khtml-user-select: none;
    -o-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}
/* end images */

/* header */
header {
    position: absolute;
    top: 0px;
    width: 100%;
    left: 0;
}

.site-logo {
    width: 179px;
    position: absolute;
    left: 0;
    top:0;
    z-index: 90;
}


#menu_bar {
    position: relative;
    background-color: #fff;
    height: 123px;
    top: 50px;
}

#menu_bar a {
    color: #fff;
    
}

    #menu_bar a:hover {
        color: #e0c38b;
    }

#menu_link_container {
    top: 40px;
    position: relative;
    display:inline-block;
    width:80%;
    z-index:80;
}

#menu_link_container a {

    font-size:18px;
    margin-right:2%;
    font-family:karla-reg;

}

/* burger */
.burger-container {
    display: none;
    cursor: pointer;
    background-color: #fff;
    padding: 6px 9px 6px 9px;
    position:relative;
    top:32px;
    z-index:500;
}

.burger-container:hover {

    background-color: #000;
}

.burger-container:hover .bar1, .burger-container:hover .bar2, .burger-container:hover .bar3
{
    background-color:#fff;
}

.bar1, .bar2, .bar3 {
    width: 30px;
    height: 2px;
    background-color: #000;
    margin: 7px 0;
    transition: 0.4s;
}

.change .bar1 {
    -webkit-transform: translate(0px, 11px);
    transform: translate(0px, 11px);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    -webkit-transform: translate(0px, -11px);
    transform: translate(0px, -11px);
}

/* burger menu */
#burger_menu {
    text-align: center;
    width: 0;
    overflow: hidden;
    transition: width 0s;
    transition-delay: 0.3s;
    -webkit-transition: width 0s;
    -webkit-transition-delay: 0.3s;
}


.nav {
    padding: 10px;
}

.menu-item
{
    display:block;
    font-size:20px;
    margin-bottom:10px;
}

.menu-icon
{
    display:none;
}

.menu-item:hover {
    color: #e0c38b;
}



.burger-active {
    top: 50% !important;
    visibility: visible !important;
}

header .page-link
{
    margin-bottom:0 !important;
}

.margin-center
{
    margin:0 auto;
}


.menu-link:hover 
{
    color: #58c6d2;
}

.content-link 
{
    text-decoration: underline;
    margin-right:30px;
    position:relative;
    display:inline-block;
    cursor:pointer;
}


#link_header
{
   color: #003153;
}

.link-separator
{
    margin:0 10px;
    color:#fff;
}


.content-link:last-of-type
{
    margin-right:0 !important;
}

.content-link:last-of-type:after
{
    content:none !important;
}


.content-link:after {
    content: "";
    position: absolute;
    width: 1px;
    height: 50%;
    margin-left: 15px;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
}

#link_header .content-link:after {
    background-color: #003153;
}

#link_header_ecd .content-link:after {
    background-color: #fff;
}
/* end links */

/* home */
.open-day-container
{
    position:relative;
}

.large-number, .x-large-number
{
    font-family:fat-face;
    font-size: 1.7em;
    top: 10px;
    position: relative;
}

.x-large-number
{
    font-size:2.3em;
}

.open-day-container::before {
    content:"";
    background-color:#707070;
    width:3px;
    height:100%;
    position:absolute;
    left:0;
    top: 10px;
}

.open-day-container::after {
    content:"";
    background-color:#707070;
    width:3px;
    height:100%;
    position:absolute;
    right:0;
    top: 10px;
}

.tile
{
    height:297px;
    position:relative;
    cursor:pointer;
}

.tile .tile-overlay
{
    background-color:rgba(0, 0, 0, 0.3);
    position:absolute;
    width:100%;
    height:100%;
    opacity:0;
    transition-property:opacity;
    transition-duration:0.4s;
    -webkit-transition-property:opacity;
    -webkit-transition-duration:0.4s;
}

.tile-overlay h6
{
    color:#fff;
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    -webkit-transform:translate(-50%, -50%);

}

.tile:hover .tile-overlay
{
    opacity:1;
}

#stats .float-33
{
    padding:0 10px 0 10px;
}

.brand-icon
{
    position:absolute;
    width:80%;
    left:50%;
    top:50%;
    transform:translate(-50%, -50%);
    -webkit-transform:translate(-50%, -50%);

}

#lightbox_overlay
{
    background-color:rgba(0, 0, 0, 0.9);
    position:fixed;
    width:100%;
    height:100%;
    left:0;
    top:0;
    z-index:1000;
    display:none;
}

#lightbox_container
{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%, -50%);
    -webkit-transform:translate(-50%, -50%);
    height:100%;
    max-height:800px;
    width:100%;
    max-width:800px;

}

#lightbox {
    width:100%;
    height:100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


#forward, #backward
{
    position:absolute;
    top:50%;
    width:50px;
    height:50px;
    background-color:#fff;
    z-index:1050;
    transform:translate(0, -50%);
    -webkit-transform:translate(0, -50%);
    cursor:pointer;
}

#close {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
    right: -80px;
    width: 50px;
    height: 50px;
    z-index: 1050;
    cursor: pointer;
    background-color: #000;
}

#forward img, #backward img, #close img
{
    position: absolute;
    top: 50%;
    left: 50%;
    width:50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);

}

#close img
{
    width:35%;
}


#backward
{
    left:0;
}

#forward
{
    left:auto;
    right:0;
}

.mailchimp-submit
{
    display:none;
    height: 51px;
    width: 50px;
    vertical-align: top

}

.mailchimp-submit img
{
    padding-top:5px;
}

.newsletter-email
{
    display:inline-block;
}

.newsletter-message
{
    color:#fff;
    font-size:1.7em;
}
/* banner */
.banner {
    background-repeat: no-repeat !important;
    background-position: center top !important;
    background-attachment: fixed !important;
    height: 526px;
    position: relative;
}

.banner-text {
    position: absolute;
    top: 55px;
    left: 20%;
    padding: 10px;
    width:300px;
    font-size:20px;
}

.banner-text-author
{
    font-weight:bold;
    font-size:16px;
}

#quote_form {
    padding: 39px 15px 15px 15px;
    position: absolute;
    height: 492px; width: 33.3%;
    background-color: #ebebeb;
    right: 0;
}

#quote_form h3 {
   color: #2e328d;
   margin-bottom:20px;
}

.form-field {
    
}


#form_captcha
{
    display:none;
}

#form_overlay {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.9);
    height: 100%;
    width: 100%;
    z-index: 9998;
    display: none;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

#form_message
{
    color:#fff;
}


/* end banner */

/* triple info blocks */

#info_blocks_container {
    position: relative;
    top: -50px;
    z-index:125;
    background-color:#2e328d;
    width:100%;
    padding:50px;
    text-align:center;
}

.info-block {
    float: left;
    width: 33.3%;
    height: 150px;
    background-color: #064c6f;
    position:relative;
}

.info-block img
{
    margin-right:20px;
}

.info-block img, .info-block div
{
    display:inline-block;
}


.inner-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}

.inner-center div {
        text-align: left;
        position: relative;
        top: -16px;
}


/* end triple info blocks */


#products_container
{
    text-align:center;
    margin:0 auto;
}

/*.product-tile
{
    display:inline-block;
    background-color:#ededed;
    color:#fff;
    margin:5px;
    width:323px;
    height:235px;
    vertical-align:top;
    text-align:center;
    position:relative;
    cursor:pointer;
}*/

/*.product-tile h4
{
    text-align:center;
    text-transform:uppercase;
    font-size:23px;
}

.product-categories .product-tile > div {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px;
}

.product-tile img
{
    width:50%;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}*/

#heading, #footing
{
    position:relative;
    text-align:center;
}

#pdf_container
{
    bottom:0;
    color:#929397;
}

#pdf_container a
{
    color:#929397;
    text-decoration:underline;
}

.back-btn
{
    background-color:#929397;
    color:#fff;
    text-align:center;
    text-decoration:underline;
    font-family:karla-reg;
    padding:5px;
    width:70px;
    position:absolute;
    top:0;
    right:0;
    cursor:pointer;
}

.back-btn:hover
{
    background-color:#2e328d;
}

#category_name {
    text-transform: uppercase;
    color:#2e328d;
    margin-bottom:80px;
}

.product-description
{
    color:#abacaf;
    width:50%;
    float:left;
}

.product-color
{
    width:50%;
    float:left;
    text-align:left;
}

.product-image
{
    height:200px;
}

.products .product-tile
{
    height:356px;
    border-bottom:2px solid #929397;
    cursor:default;
}

.products#products_container
{
    margin-bottom:100px;
}

.products .product-image
{
    height:200px;
    position:relative;
}

.products .product-image img
{
    top:50%;
}

.product-text-container {
    height: 153px;
    text-align: left;
}

.products .product-tile h4
{
   color:#2e328d;
   text-align:left;
   padding: 20px 0 20px 0;
   text-transform:uppercase;    
}

.product-color > p
{
    font-family:'FuturaStd Bold';
    color:#abacaf;
    font-size:14px;
    margin-bottom:10px;
}

.product-color ul {
    text-align: left;
    padding-left: 0;
}

.product-color ul li
{
    display:inline-block;
    border-radius:50%;
    height:15px;
    width:15px;
    background-color:red;
    margin-right:15px;
}

.product-color ul li:last-of-type
{
    margin-right:0;
}

.product-color ul li:before
{
    content:none;
}

/*.product-tile:nth-child(2n+1)
{
    background-color:#064c6f;
}*/

/* end products */



/* about us */
#about_container
{
    background-color:#939498;
}

.about-us-outer
{
    margin-top:50px;
    padding-bottom:100px;
    position:relative;
    text-align:center;
    
}

#about_us_outer_container
{
    position:relative;
}

#about_us_logo {
    width: 80px;
    height: auto;
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
}

.about-us-outer h4
{
    margin-bottom:50px;
}
/* end about us */


/* lab */
.lab-outer {
    padding-top: 100px;
    background-color: #f2f2f2;
    padding-bottom: 100px;
    text-align: center;
    margin-top:100px;
}

#lab_images 
{
    margin-top: 100px;
}

.lab-tile {
    display: inline-block;
    margin: 5px;
    width: 370px;
    height: 250px;
    vertical-align: top;
    text-align: center;
}

.lab-tile img
{
    width:100%;
}


.caption
{
    color:#3a3a3a;
    text-align:center;
    margin:5px;
}

/* end lab */

/* social responsibility */
#social_background {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    background-position: top center;
    position:relative;
    z-index:90;
}

.banner-overlay {
    width: 100%;
    height: 100%;
    background-color: rgba(46, 50, 141, 0.7);
}

#social_responsibility_text
{
    padding:100px 0 100px 0;
    text-align:center;
    color:#3a3a3a;
}

#social_responsibility_text h4
{
    margin-bottom:50px;
    color:#2e328d;
}

#social_responsibility_logo {
    width: 80px;
    height: auto;
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
}

.social-responsibility-outer {
    position: relative;
    background-color: #f2f2f2;
    padding-bottom:100px;
}

#social_responsibility_images {
    text-align: center;
}

.social-tile {
    display: inline-block;
    margin: 5px;
    width: 370px;
    vertical-align: top;
    text-align: center;
}

.background-image {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    height: 250px;
}


.background-image iframe {
    width: 100%;
    height: 100%;
}

/* end social responsibility */



/* vision */

.vision-outer {
    position: relative;
}

#vision_text {

    padding: 150px 0 150px 0;
    text-align: center;
}

#vision_outer {
    padding-top:100px;
    background-color: #f2f2f2;
    padding-bottom:100px;
    text-align:center;
}

#vision_container
{
    position:relative;
}

.vision-tile {
    display: inline-block;
    width: 33%;
    position: relative;
    padding: 10px;
    text-align: center;
    vertical-align: top;
}

.vision-tile div
{
    text-align:center;
    width:90%;
    margin:0 auto;
}

.vision-tile-line {
    content: "";
    width: 2px;
    height: 100%;
    max-height: 150px;
    background-color: #c3c3c3;
    position: absolute;
}


/* end vision */

/* contact */


#map
{
    width:100%;
    height:400px;
}

#map_overlay {
    position: absolute;
    z-index: 9999;
    bottom: 0;
    right: 0;
    background-color: #f4f4f4;
    width:50%;
    padding:15px;
}

#map_overlay a 
{
    text-decoration:none !important;
    color:rgb(85, 85, 85) !important;
}

.map-popup {
    color: rgb(85, 85, 85);
}

/* end contact */

/* floats stuff */

.table-row {
    display: table;
    width: 100%;
}

.table-row > div {
    display: table-cell;
}

.table-row.align-bottom > div {
   
    vertical-align:bottom;
}


.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.row {
    display: block;
}

.row:after {
        clear: both;
        content: ' ';
        display: table;
}


.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}


.float-50 {
    float: left;
    width: 45%;
    margin-right: 5%;
}

.float-50:last-child {
        margin-right: 0;
}

.float-50-true {
    float: left;
    width: 50%;
}

.float-25
{
    float:left;
    width:25%;
}

.float-20 {
    float: left;
    width: 20%;
    margin-right: 5%;
}

.float-16 {
    float:left;
    width:16.66%;
}

.float-30
{
    float:left;
    width:29%;
}

.float-33 {
    float: left;
    width: 33.33%;
}
.float-40 {
    float: left;
    width: 40%;
}

.float-60 {
    float: left;
    width: 60%;
}

.float-70
{
    float:left;
    width:70%;
}

.layer {
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4) !important;
    height: 100%;
}


#screen_overlay {
    background-color: rgba(0, 49, 83, 0.8);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 550;
    width: 0%;
    height: 100%;
    position: fixed;
}

.screen-overlay-active {
    width: 100% !important;
}

#burger_overlay {
    background-color: rgba(0, 0, 0, 0.9);
    top: 0;
    right: 0;
    width: 0;
    height: 100vh;
    position: absolute;
    z-index: 400;
    -webkit-transition: width 1s;
    transition: width 1s;
}

.burger-overlay-active 
{
    width:100% !important;
    max-width:800px;
}

.burger-overlay-active #burger_menu
{
    width:100% !important;
}




/*footer*/



/* end footer */



@media (min-width:1925px)
{
    .banner {
        background-size: cover !important;
        background-position:center center !important;
    }
}

@media (max-width:1645px)
{
    .lab-tile, .social-tile {
        width: 285px;
        height: 228px;
    }

    .social-tile
    {
        height:auto;
    }
}

@media (max-width:1450px)
{
    .container
    {
        width:80%;
    }

}

@media (max-width:1200px)
{
    #menu_link_container a {

        font-size:15px;
    }
}

@media (max-width:1140px)
{
    #career_container
    {
        width:24%;
    }

    #map_outer
    {
        width:75%;
    }
}

@media (max-width:1081px)
{
    .container
    {
        width:90%;
    }


}

@media (max-width:994px)
{
    #menu_link_container
    {
        display:none;
    }
    
    .burger-container
    {
        top:27px;
        display:inline-block;
    }
}

@media (max-width:975px)
{
    #close
    {
        top:56%;
        right:0;
    }
}

@media (max-width:960px)
{
    .container-50
    {
        width:80%; 
    }

    .float-25
    {
        width:50%;
    }

    .float-16 
    {
        width:25%;
    }

    x-large-number
    {
        font-size:1.7em !important;
    }

    h2
    {
        font-size:36px !important;
    }

    #stats .float-33
    {
        width:100%;
    }

}

@media (max-width:950px) {

    .info-block {
        left: 50%;
        transform: translate(-50%, 0);
        -webkit-transform: translate(-50%, 0);
        float:none;
        width:50%;
    }

    #quote_form
    {
        right:-3%;
        width:40%;
    }

    .container
    {
        width:95%;
    }
}

@media (max-width:900px)
{
    #close
    {
        right:0px;
    }

    #home_slider_container {
        height: 95vh !important;
    }
}

@media (max-width:752px)
{
    footer .container
    {
        font-size:11px;
    }
}

@media (max-width:740px) {
    h2 {
        font-size: 37px;
    }

    h3 {
        font-size: 24px;
    }

    #quote_btn
    {
        bottom:24px;
    }
}

@media (max-width:700px)
{
    #map_container, #directions_container
    {
        float:none;
        width:100%;
    }
}

@media (max-width:680px)
{
    .footer-site-logo
    {
        width:160px;
        height:83px;
    }

    #footer_backing_logo
    {
        width:90px !important;
    }

    .parallax {
        background-attachment: scroll;
    }
}

@media (max-width:650px)
{
    .footer-site-logo {
        left: -26px;
        bottom: -26px;
    }

    #menu_bar {
        top: 10px;
    }


}

@media (max-width:630px)
{

    #below_contact .w-25, #below_contact .w-50 {
        width: 100%;
        text-align:center;
    }

    #below_contact.table-row > div
    {
        display:block;
    }

   
}

@media (max-width:610px)
{
    .float-16 {
        width: 50%;
    }

    h1
    {
        font-size:32px !important;
    }
    
    .slide-content-container
    {
        width:98% !important;
        bottom:60px !important; 
        top:auto!important;
        transform: translate(-50%, 0) !important;
        -webkit-transform: translate(-50%, 0) !important;
    }

    .slide-additional-image
    {
        width:60% !important;
        top:60% !important
    }

    #control_box
    {
        bottom:20px !important;
    }

    .slide-text p *
    {
        font-size:20px !important;
    }
}

@media (max-width:580px) {



    .nav {
        padding-top: 0;
    }

    .vision-tile-line {
        display: none;
    }

    .vision-tile {
        width: 100%;
        display: block;
    }

    .vision-tile div {
            width: 100%;
    }

    .banner
    {
        background-position:center center !important;
        background-attachment:unset !important;
    }
}

@media (max-width:530px)
{
    #very_top_header a
    {
        font-size:14px;
    }

}

@media (max-width:520px) {
   
    #career_container {
        width: 100%;
    }

    #map_overlay
    {
        width:100%;
    }
}


@media (max-width:490px) {
    h2 {
        font-size: 33px;
    }

    h3 {
        font-size: 21px;
    }
}

@media (max-width:460px) {
    .site-logo, .footer-site-logo {
        width: 161px;
        height: 82px;
    }

    #logo_text {
        width: 120px !important;
    }
}

@media (max-width:450px)
{

    #very_top_header {
        height: 70px;
    }

    footer
    {
        padding-top:15px;
    }


}

@media (max-width:450px)
{
    .float-50
    {
        width:100%;
        margin-right:0;
    }
}

@media (max-width:400px) {
    
    .padding-50, .padding-25
    {
        padding:15px !important;
    }

    .width-25-block img
    {
        width:100%;
    }

    .product-tile
    {
        width:98%;
    }

    .banner-text
    {
        left:auto !important;
    }

    .footer-site-logo {
        width: 127px;
        height: 64px;
    }
    #footer_backing_logo
    {
        top:45%;
    }
}




@media(max-width:340px) {
    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 19px;
    }
}

@media (max-width:370px) {
    

    
}



