/* temporary remove lang changer */
#menu-item-3683 {
    display: none;
}

#download-nav {
    min-height: 45px;
    position: absolute;
    width: 100%;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    font-size: 13px;
    line-height: 1.65em;
    z-index: 301;
}

#menu-download-menu {
    text-align: right;
    margin: 0;
}

#menu-download-menu li {
    padding: 15px 0;
    position: relative;
    display: inline-block;
    margin: 0;
}

#menu-download-menu li:first-child a{
    border-left: none;
}

#menu-download-menu li a{
    padding: 0px 10px 0px 10px;
    margin: 12px 0px;
    display: block;
    border: 0px;
    border-right: 1px solid #ccc;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 0;
    line-height: 15px;
}

.menu-item > a > span {
    color: #4b4b4c;
}

#download-hero {
    height: 307px;
    overflow: hidden;
    position: relative;
}

#download-hero img {
    width: 100%;
    min-width: 1400px;
    display: block;
    z-index: -1;
    height: auto;
}

#download-hero .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

#download-hero .banner-overlay .overlay-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

#download-hero .banner-overlay .overlay-content .small-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: start;
}
    @media only screen and (max-width: 768px) {
        #download-hero .banner-overlay .overlay-content .small-banner-overlay {
            display: block;
        }
    }

.blue-left {
    background: rgba(0,174,229,0.55);
    float: left;
    margin-left: 37px;
    margin-right: 102px;
    width: 550px;
    height: 307px;
    padding-top: 90px;
    padding-left: 144px;
    padding-right: 32px;
}

.small-banner-overlay .blue-left {
    background: rgba(0,174,229,0.55);
    float: left;
    margin-left: 37px;
    margin-right: 102px;
    width: 550px;
    height: 307px;
    padding-top: 90px;
    padding-left: 144px;
    padding-right: 32px;
}
    @media screen and (max-width: 768px) {
        .small-banner-overlay .blue-left {
            width: 94%;
            margin: 9px 0 0 3%;
            padding: 5px;
            height: 100px;
            text-align: center;
        }
    }
    @media screen and (max-width: 1260px) and (min-width: 769px) {
        .small-banner-overlay .blue-left {
            padding: 90px 5px 0 25px;
            width: 30%;
            margin-left: 2%;
            margin-right: 5%;
        }
    }

.blue-left h1 {
    margin-bottom: 45px;
    color: #FFF!important;
    text-transform: uppercase!important;
    font-size: 30px!important;
    font-weight: 700;
    line-height: 30px;
}
    @media only screen and (max-width: 768px) {
        .blue-left h1 { margin-bottom: 20px; }
    }

.blue-left p {
    color: #FFF;
    margin-bottom: 0;
}

.search-right {
    float: left;
    width: 550px;
    padding-top: 90px;
}

.small-banner-overlay .search-right {
    float: left;
    width: 550px;
    padding-top: 90px;
}
    @media screen and (max-width: 1260px) and (min-width: 769px) {
        .small-banner-overlay .search-right {
            width: 61%;
        }
    }
    @media screen and (max-width: 768px) {
        .small-banner-overlay .search-right {
            padding: 0;
            width: 94%;
            margin: 8px 3% 0 3%;
        }
    }

.search-right h1 {
    color: #FFF!important;
    text-transform: uppercase!important;
    font-size: 30px!important;
    font-weight: 700;
    line-height: 30px;
    margin-bottom: 45px;
}
    @media only screen and (max-width: 768px) {
        .search-right h1 { display: none; }
    }

.search-wrapper a.advanced {
    float: left;
    background: url(../images/advanced-search-icon.png) center left no-repeat;
    font-size: 16px;
    font-weight: normal;
    padding: 10px 0 10px 28px;
    color: #FFF!important;
    height: 40px;
    line-height: 20px;
    cursor: pointer;
    text-decoration: none;
}
/* @media only screen and (max-width: 768px) {
    .search-wrapper a.advanced {
        color: rgba(0,0,0,0.25) !important;
        background: url(../images/advanced-search-icon-grey.png) center left no-repeat;
    }
} */

.search-wrapper a.reset {
    float: left;
    background: url(../images/advanced-search-reset.png) center left no-repeat;
    font-size: 16px;
    font-weight: normal;
    padding: 10px 0 10px 28px;
    margin-left: 15px;
    color: #FFF!important;
    height: 40px;
    line-height: 20px;
    cursor: pointer;
    text-decoration: none;
}
    /* @media only screen and (max-width: 768px) {
        .search-wrapper a.reset {
            color: rgba(0,0,0,0.25) !important;
            background: url(../images/advanced-search-reset-grey.png) center left no-repeat;
        }
    } */

#search-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4000;
    background: rgba(0,0,0,0.7);
    display: none;
}
    @media only screen and (max-width: 1035px) {
        #search-popup {
            position: fixed;
            z-index: 100000;
        }
    }

.search-wrapper button.search-button {
    float: right;
    width: 120px;
    height: 40px;
    border: 3px solid #FFF;
    color: #FFF;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 13px;
    line-height: 34px;
    text-align: center;
    cursor: pointer;
    background-color: transparent;
}
    /* @media only screen and (max-width: 768px) {
        .search-wrapper button.search-button {
            color: rgba(0,0,0,0.25);
            border: 3px solid rgba(0,0,0,0.25);
        }
    } */
    /* @media screen and (max-width: 786px) and (min-width: 769px) {
        #downloads-search-accordian-submit {
            width: 20%;
        }
    } */

.search-wrapper button.search-button:hover {
    background: #fff;
    color: #3091d1;
    border-color: #3091d1;
}

.search-wrapper #date-sort {
    float: right;
    margin-left: 15px;
    width: 34%;
    line-height: 2.5;
}
/* these media queries make the Sort By label and drop down menu more responsive and positioned more nicely on various screen widths*/
    @media screen and (min-width: 447px) and (max-width: 497px) {
        .search-wrapper #date-sort  {
            width: 55%;
        }
    }
    @media screen and (min-width: 498px) and (max-width: 509px) {
        .search-wrapper #date-sort  {
            width: 40%;
        }
    }
    @media only screen and (min-width: 510px) and (max-width: 601px) {
        .search-wrapper #date-sort {
            width: 39%;
        }
    }
    @media only screen and (min-width: 602px) and (max-width: 829px) {
        .search-wrapper #date-sort {
            width: 33%;
        }
    }
    @media only screen and (min-width: 830px) and (max-width: 874px) {
        .search-wrapper #date-sort {
            width: 37%;
        }
    }
    @media only screen and (min-width: 875px) and (max-width: 901px) {
        .search-wrapper #date-sort {
            width: 35%;
        }
    }

.search-wrapper #date-sort label {
    padding: 10px 0 0 0;
    color: #FFF;
    font-size: 16px;
    line-height: 20px;
    width: auto;
    float: none;
}
/* @media screen and (max-width: 768px) {
    .search-wrapper #date-sort label {
        color: rgba(0,0,0,0.25) !important;
    }
} */

#top label {
    font-weight: normal;
}

.search-wrapper #date-sort select {
    background: rgba(0,0,0,0.25) url(../images/year-dropdown-icon.jpg) no-repeat;
    background-position: 91px 14px;
    background-size: 14px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'din-2014',sans-serif;
    color: #FFF;
    border: 3px solid #FFF;
    width: 120px;
    height: 40px;
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-border-radius: 0;
    line-height: 16px;
    padding: 0 0 0 13px;
    margin: 0 0 0 15px;
}
/* @media screen and (max-width: 768px) {
    .search-wrapper #date-sort select {
        border: none;
    }
} */

#search-popup #search-popup-inner {
    position: absolute;
    background: #FFF;
    width: 1024px;
    height: 630px;
    top: 150px;
    left: 50%;
    margin-top: 0;
    margin-left: -512px;
    padding: 25px;
    border: 3px solid #4b4b4c;
    box-shadow: 0 0 8px #000;
}
    @media screen and (max-width: 1035px) {
        #search-popup #search-popup-inner {
            width: 96%;
            height: 96%;
            top: 2%;
            left: 2%;
            margin: 0;
            padding: 10px;
            overflow: scroll;
        }
    }

#search-popup-inner .close-search-popup {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 30px;
    height: 30px;
    display: inline-block;
    background: #00b0ed url(../images/contact-us-popup-close.jpg) center center no-repeat;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 0 8px #000;
}
    @media screen and (max-width: 1035px) {
    #search-popup-inner .close-search-popup {
            top: 2px;
            right: 8px;
        }
    }

#search-popup #search-popup-inner .search-top {
    float: left;
    width: 100%;
    margin-bottom: 20px;
}
    @media screen and (max-width: 1035px) {
        #search-popup #search-popup-inner .search-top {
            margin-top: 27px;
        }
    }

#search-popup #search-popup-inner .search-top input[type=text] {
    float: left;
    width: 64%;
    margin-right: 3%;
    height: 40px;
    /* background: #FFF url(../images/download-search-magnify.jpg) no-repeat; */
    border: 3px solid #edeeee;
    /* background-position: 98% 5px; */
}
    @media screen and (max-width: 1035px) {
    #search-popup #search-popup-inner .search-top input[type=text] {
            width: 100%;
            margin-right: 0;
            margin-bottom: 10px;
        }
    }

.search-wrapper .search-box input[type=text]  {
    background: #FFF url(../images/download-search-magnify.jpg) no-repeat !important;
    background-position: 98% 5px !important;
}
    @media screen and (max-width: 768px) {
        .search-wrapper .search-box input[type=text] {
            width: 78%;
            background-position: 97% 9px !important;
            margin-bottom: 13px;
            margin-right: 2%;
            font-size: 16px;
        }
    }
    @media screen and (max-width: 510px) {
        .search-right .search-wrapper .search-box input#downloads-search-accordian.txtSearchTerm {
            width: 100% !important;
        }
    }
    @media screen and (max-width: 829px) and (min-width: 769px) {
        .search-right .search-wrapper .search-box input#downloads-search-accordian.txtSearchTerm {
            width: 71% !important;
        }
    }

#search-popup #search-popup-inner .search-top button.search-button {
    float: left;
    width: 15%;
    margin-right: 3%;
    height: 40px;
    display: inline-block;
    border: 3px solid #00acf1;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    color: #00acf1;
    line-height: 34px;
    cursor: pointer;
}
@media screen and (max-width: 1035px) {
    #search-popup #search-popup-inner .search-top button.search-button{
        width: 48%;
        margin-right: 4%;
    }
}
#search-popup #search-popup-inner .search-top button.search-button:hover {
    background-color: #00acf1;
    color: #fff;
}

#search-popup #search-popup-inner .search-top a.reset-btn {
    float: left;
    width: 15%;
    height: 40px;
    display: inline-block;
    border: 3px solid #000;
    color: #000;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    line-height: 34px;
}
    @media screen and (max-width: 1035px) {
        #search-popup #search-popup-inner .search-top a.reset-btn {
            width: 48%;
        }
    }

#search-popup #search-popup-inner .search-top a.reset-btn:hover {
    background-color: #000;
    color: #fff;
}

#search-popup #search-popup-inner .search-col {
    float: left;
    width: 16%;
    text-align: center;
}
    @media screen and (max-width: 1035px) {
        #search-popup #search-popup-inner .search-col {
            width: 100%;
            text-align: left;
        }
    }

#search-popup #search-popup-inner .search-col h4 {
    color: #00b0ed;
    text-transform: uppercase !important;
    font-weight: 700;
    font-size: 18px;
}
@media screen and (max-width: 1035px) {
    #search-popup #search-popup-inner .search-col h4.close {
        background: url(../images/download-open-blue-mobile.png) center right no-repeat!important;
    }
}

@media screen and (max-width: 1035px) {
    #search-popup #search-popup-inner .search-col h4.open {
        background: url(../images/download-close-blue-mobile.png) center right no-repeat;
    }
}

.front table {
    margin: 0 0 1em 0;
    width: 100%;
    background: #FFF;
    border: 0;
}

#search-popup-inner .search-col table tr td {
    padding: 0 0 3px 0;
    border: 0;
}

#search-popup-inner .search-col table tr td label {
    width: 80%;
    font-size: 13px;
    padding: 6px 0 0 5px;
}

#downloads-tabs {
    background-color: #ffffff;
    color: #383838;
    border-color: #f8f8f8;
}

.container-wrapper {
    clear: both;
    position: relative;
    border-top-style: solid;
    border-top-width: 1px;
}

.container {
    position: relative;
    width: 95%;
    margin: 0 auto;
    padding: 0px 50px;
    clear: both;
}

#downloads-tabs .container {
    max-width: 1236px;
    padding: 45px 18px;
    margin: 0 auto;
    position: relative;
}

.tabs-content, .accordian-content {
    width: 100%;
    margin-left: 0;
    clear: left;
    padding-top: 50px;
    padding-bottom: 50px;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    min-height: 1px;
    position: relative;
    min-height: 1px;
}
    @media screen and (max-width: 768px) {
        .tabs-content, .accordian-content {
            padding-top: 10px;
        }
    }

ul.mytabd {
    list-style: none;
    width: 100%;
}

#mytabd {
    display: flex;
    /* justify-content: space-flex-start; */
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
    margin-left: 0 !important;
}

li.tabd {
    margin-left: 10px;
    margin-bottom: 10px;
    width: 24%;
    border: 3px solid #000;
    font-size: 13px;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none !important;
    min-height: 40px;
    opacity: .25;
    display: flex;
    justify-content: center;
    align-items: center;
}

    /* set various tab widths for fluid resizing across screen */
    @media screen and (max-width: 768px) {
        li.tabd {
            width: 30.6%;
        }
    }
    @media screen and (min-width: 769px) and (max-width: 1035px)  {
        li.tabd {
            width: 23.3%;
        }
    }
    @media screen and (min-width: 1036px) {
        li.tabd {
            width: 15.3%;
        }
    }

li.tabd a{
    display: inline-block;
    color: #000;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none !important;
    /* height: 40%; */
    opacity: 1;
    padding: 10px;
    width: 100%;
    text-align: center;
}

li.tabd.activated, li.tabd.activated a {
    opacity: 1 !important;
    text-decoration:none !important;
    color: #000;
    border-color: #000;
    /* margin: 0; */
}

#downloads-accordian {
    background-color: #dcddde;
    color: #383838;
    clear: both;
    width: 100%;
    float: left;
    min-height: 100px;
    position: static;
}
#downloads-accordian .container {
    max-width: 1236px;
    padding: 0px 18px 0px 18px;
    margin: 0 auto;
}

#downloads-accordian img {
    position: relative;
    top: 8px;
    margin-right: 2px;
}

.download-accordian-container .single_toggle {
    margin: 0 0 7px 0;
    padding-bottom: 0px;
}

.download-accordian-container .toggle_content {
    border-radius: 0;
    border: none;
    float: left;
    width: 100%;
    background: #FFF;
    padding: 20px 40px 0;
    position: relative;
}

/* .accordian-section {
    float: left;
    width: 100%;
    margin-bottom: 28px;
} */

.download-file {
    float: left;
    /* width: 9.5%; */
    width: 100px;
    margin-right: 3.4%;
    position: relative;
    min-height: 260px;
}

.download-file a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.download-file img {
    float: left;
    width: 100%;
    margin-bottom: 14px;
}

.download-file .file-name {
    font-size: 16px!important;
    font-weight: 600;
    line-height: 20px!important;
    display: inline-block;
    width: 100%;
    text-align: center;
    height: auto;
    overflow: hidden;
    padding-bottom: 20px;
}

p.toggler {
    font-size: 24px !important;
}

.toggle_icon {
    left: 95%;
}
    @media only screen and (max-width: 768px) {
        .toggle_icon { left: 92%; }
    }

.toggle_icon .vert_icon {
    top: -3px;
    height: 21px;
}

.toggle_icon .hor_icon {
    left: -4px;
    width: 21px;
}

@media only screen and (max-width: 1035px) {

    .search-cat-table {
        height: 0;
        overflow: hidden;
    }

    .search-cat-table.active {
        height: auto;
    }

    .search-col > h4 {
        margin-bottom: 14px;
    }

}

span.toggle_name {
    display: inline-block;
    position: absolute;
    top: 50%;
    transform: translateY( -50% );
    padding-left: 10px;;
}


/* 29-06-2020 - Additional styling added to Downloads page */

/* Add space between search field and search button on mobile */
@media only screen and (max-width: 510px) {
    button#downloads-search-accordian-submit.search-button {
        margin-top: 20px;
    }
}
/* Make submenu dropdowns shorter on mobile */
@media only screen and (max-width: 768px) {
    #downloads-accordian .accordian-content .download-accordian-container .single_toggle p.toggler {
        height: 45px;
    }
    #downloads-accordian img {
        top: -5px;
    }
}
/* Make submenu link blue when selected */
#download-nav span:hover, 
#download-nav span:active,
/* Make the 'ALL' link permanently blue */
#download-nav #menu-download-menu #menu-item-all span {
    color: #00b0ed;
}
/* Fix the Sort By label pushing things around on mobile */
@media screen and (max-width: 446px) {
    .search-wrapper a.advanced {
        margin-top: -50px;
    }
    .search-wrapper a.reset {
        margin-left: 0;
    }
    .search-wrapper #date-sort {
        width: 55%;
    }
}
@media screen and (max-width: 361px) {
    .search-wrapper #date-sort {
        width: 60%;
    }
}

/* 16-07-2020 - Additional styling added to Downloads page */
@media only screen and (max-width: 768px) {
    #downloads-accordian .single_toggle p img {
        top: 0;
        width: 25px;
    }
}

#search-popup #search-popup-inner .search-top button.search-button {
    background: #fff;
}

#search-popup #search-popup-inner .search-col {
    text-align: left;
}