/* #Media Queries
================================================== */
	
/* Styles just for iPad and desktop */
@media only screen and (min-width: 768px) {
    .old-styles-wrapper .desktop-hidden {
        display: none;
    }
    
    .old-styles-wrapper #main-nav .level1 li {
        margin: 0px;
    }
    
    .old-styles-wrapper #main-nav .level1 li .level2 {
        position: absolute;
        top: 17px;
        left: 0px;
        width: 300px;
        background: #fff;
        box-shadow: 1px 1px 4px #e4e4e4;
    }
    
    .old-styles-wrapper #left-side-nav li .level2, #left-side-nav li .sub-nav {
        position: absolute;
        left: 100%;
        top: 0px;
        width: 300px;
        visibility: inherit; 
        display: none;
        background: #ebebeb;
    }
    
    .old-styles-wrapper #main-nav .level2 li .level3 {
        position: absolute;
        margin-top: 0px;
        top: 0px;
        left: 300px;
        width: 300px;
        background: #fff;
        box-shadow: 1px 1px 4px #e4e4e4;
    }
    
    .old-styles-wrapper #left-side-nav li .level3 {
        display: none;
    }
    
    .old-styles-wrapper .coloured-blocks > section .inner-content {
        min-height: 200px;
    }
    .old-styles-wrapper .coloured-blocks > section .inner-content .pure-button {
        position: absolute;
        bottom: 1em;
    }
    .old-styles-wrapper .coloured-blocks > section:nth-of-type(1) .inner-box {
        margin-right: 1em;
    }
    .old-styles-wrapper .coloured-blocks > section:nth-of-type(2) .inner-box {
        margin-left: 1em;
    }
    .old-styles-wrapper .coloured-blocks > section:nth-of-type(3) .inner-box {
        margin-right: 1em;
    }
    .old-styles-wrapper .coloured-blocks > section:nth-of-type(4) .inner-box {
        margin-left: 1em;
    }
    
    .old-styles-wrapper #left-side-nav li .level2 {
        padding-left: 0px;
    }
    .old-styles-wrapper #left-side-nav li .level3 {
        padding-left: 0px;
    }
    
    /* Hidden Elements
    ****************************************************/
    nav.hamburger-nav {
        display: none;
    }
    
    body {

    }
    
    footer {
        bottom:0px;
        left:0px;
        right:0px;
    }
}

/* iPad Portrait/Browser */
@media only screen and (min-width: 768px) and (max-width: 991px) {

}

/* Mobile/Browser */
@media only screen and (max-width: 767px) {
    body {
        background: 0;
    }
    
    header[role="banner"] {
        background: none;
        margin-bottom: 0px;
    }
    
    header .login-cta {
        margin: 0px 1em 1em 1em !important;
    }
    
    header .verify-form {
        width: 100%;
        text-align: center;
    }
    header .verify-form .pure-button {
        float: none;
    }
    header .verify-form .pure-input {
        float: none;
    }
    
    .old-styles-wrapper .mobile-image-container {
        background: url("/v2images/common/headbg.jpg") 50% 0 repeat fixed #003d7d;
        width: 100%;
    }
    
    header #nav-container {
        padding: 1em 0px !important;
    }
    
    .old-styles-wrapper #main-nav .level1 {
        text-align: left;
        padding: 0.5em 0px;
    }
    
    .old-styles-wrapper #main-nav ul li {
        width: 99%;
        clear: both;
    }
    .old-styles-wrapper #main-nav .level1 li a {
        width: 92%;
        padding: 8px 5% 8px 3%;
        display: inline-block;
        color: #fff !important;
    }
    
    /* Hide Items */
    .old-styles-wrapper .social-icons {
        display: none;
    }
    
    /* Resets */
    .old-styles-wrapper .padded-box {
        padding-left: 1.5em !important;
        padding-right: 1.5em !important;
    }

    /* Mobile Accessible Class Styles
    ****************************************************/
    .old-styles-wrapper .mobile-centered {
        text-align: center !important;
    }
    .old-styles-wrapper .float-right.mobile-centered {
        float: none;
        margin: 0 auto;
    }
    .old-styles-wrapper .layunder-container {
        margin: 0 auto;
    }
      
    /* Hamburger Nav Styles
    ****************************************************/
    /* Move nav off screen, setup transitions */
    .old-styles-wrapper nav.hamburger-nav {
        width: 70%;
        position: absolute;
        left: -70%;
        top: 0;
        height: 100%;
        background: #e4e4e4;
    }
    .old-styles-wrapper nav.hamburger-nav ul {
        background: #e4e4e4;
    }
    
    /* Display nav items vertically */
    .old-styles-wrapper .hamburger-nav ul.menu {
        border-top: 1px solid #888;
    }
    
    .old-styles-wrapper .hamburger-nav li {
        float: none;
        width: 100%;
        text-align: left;
        padding: .8em 1em .6em;
        box-sizing: border-box;
        border-bottom: 1px solid #888;
    }
    
    .old-styles-wrapper .hamburger-nav .level2 li {
        border-bottom: 0px;
    }
    .old-styles-wrapper .hamburger-nav .level3 li {
        border-bottom: 0px;
    }
    
    /* Reveal open/close buttons */
    .old-styles-wrapper a.open-panel {
        display: inline-block;
    }
    
    .openNav .old-styles-wrapper .content-container {
        left: 0;
        -webkit-transform: translate3d(70%, 0, 0);
        -moz-transform: translate3d(70%, 0, 0);
        -ms-transform: translate3d(70%, 0, 0);
        -o-transform: translate3d(70%, 0, 0);
        transform: translate3d(70%, 0, 0);
        -webkit-transition: -webkit-transform 500ms ease;
        -moz-transition: -moz-transform 500ms ease;
        -o-transition: -o-transform 500ms ease;
        transition: transform 500ms ease;
    }
    
    /* When the panel is closed, transition the page back to the left */
    .old-styles-wrapper .content-container {
        left: 0;
        -webkit-transform: translate3d(0, 0, 0);
        -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
        -o-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        -webkit-transition: -webkit-transform 500ms ease;
        -moz-transition: -moz-transform 500ms ease;
        -o-transition: -o-transform 500ms ease;
        transition: transform 500ms ease;
    }
    
    /* Header Styles
    ****************************************************/
    .old-styles-wrapper #logo {
        width: 100%;
        display: inline-block;
        text-align: center;
    }
    
    .old-styles-wrapper #social-icons {
        float: none;
        margin: 0 auto;
    }
    
    header .search-form {
        width: 100%;
    }
    header .search-form .search-input {
        margin: 0 auto;
    }
    
    header .full-image-container {
        padding-bottom: 1px;
        background: none;
        border-bottom: 0px;
    }
    
    header .login-cta {
        margin-top: 0px;
    }
    header .login-cta a {
        width: 100%;
        padding-left: 0px;
        padding-right: 0px;
    }
    
    header #secondary-nav .supplier-search-button {
        padding-left: 0px;
        padding-right: 0px;
        border-radius: 0px;
        width: 100%;
        clear: both;
        margin: 4px 0px;
    }
    
    /* Hidden Elements
    ****************************************************/
    .old-styles-wrapper .hamburger-nav-parent {
        display: none;
    }
    
    /* Displayed Elements
    ****************************************************/
    .old-styles-wrapper .email_certificate {
        display: inline-block;
    }
    
    
    .old-styles-wrapper .coloured-blocks > section .inner-box {
        margin-left: 1em;
        margin-right: 1em;
    }
    
    .old-styles-wrapper .coloured-banner .section-box {
        margin-left: 1em;
        margin-right: 1em;
    }
    .old-styles-wrapper .coloured-banner .cell.icon {
        padding-top: 0.7em;
    }
    .old-styles-wrapper .coloured-banner .cell.message {
        text-align: center !important;
        margin: 0;
    }
    .old-styles-wrapper .coloured-banner .cell.message p {
        margin-top: 0.5em;
        margin-bottom: 0.5em;
    }
    .old-styles-wrapper .coloured-banner .cell.action {
        text-align: center !important;
        font-size: 1.4em;
        padding-right: 0 !important;
    }
    .old-styles-wrapper .coloured-banner .cell.action p {
        margin-top: 0.5em;
        margin-bottom: 0.5em;
    }
}

/* Mobile Landscape/Browser */
@media only screen and (min-width: 480px) and (max-width: 767px) {
	.mobile-hidden {
        display: none;
    }
}

/* Mobile Portrait */
@media only screen and (max-width: 479px) {
    .old-styles-wrapper .mobile-hidden {
        display: none;
    }
    
    .old-styles-wrapper .coloured-blocks > section .inner-content h1 {
        font-size: 1.5em;
        margin-top: 0px;
    }
    .old-styles-wrapper .coloured-blocks > section .inner-content p {
        font-size: 1em;
        line-height: 1.2em;
    }
}

/* Anything smaller than standard 960 */
@media only screen and (max-width: 959px) {

}

/* iPad Portrait Only */
@media only screen and (min-width: 768px) and (max-width: 991px) and (max-device-width: 1000px) {}

/* Mobile Only */
@media only screen and (max-width: 767px) and (max-device-width: 1000px) {}

/* Mobile Landscape Only */
@media only screen and (min-width: 480px) and (max-width: 767px) and (max-device-width: 1000px) {}