/* Britdoc - james@britdoc.org */


/* Typography
----------------------------------------------------------------------------------------*/

h1 {
    font-size: clamp(40px, 5.5vw, 5em);
}

h2 {
    font-size: clamp(30px, 3.5vw, 3em);
}

h3 {
    font-size: clamp(25px, 3vw, 2.5em);
}

h4 {
    font-size: clamp(22px, 2.5vw, 2em);
}

h5 {
    font-size: clamp(20px, 2vw, 1.5em);
}

h6 {
    font-size: clamp(18px, 1.5vw, 1em);
}


/* Layout
----------------------------------------------------------------------------------------*/

body {
    padding-top: 74px;
}

.container {
    max-width: 1300px;
}

.container-wide {
    max-width: 85vw;
}

.container-admin {
    max-width: 84vw;
    width: 100%;
    padding-right: .75rem;
    padding-left: .75rem;
    margin-right: auto;
    margin-left: 15vw;
}

.footer_nav .container {
    max-width: 900px;
}

.supporters img {
    max-width: 23%;
}

.supporters img.major {
    max-width: 31%;
}


/* Menu
----------------------------------------------------------------------------------------*/

header {
    height: 74px;
    margin: 0 auto 0 auto;
    background-color: #ff9933;
    -webkit-box-shadow: 0 0 6px rgba(33, 33, 33, 0.4);
    -moz-box-shadow: 0 0 6px rgba(33, 33, 33, 0.4);
    box-shadow: 0 0 6px rgba(33, 33, 33, 0.4);
}

nav {
    height: 68px;
    background-color: #1d1d1b;
    text-transform: uppercase;
    font-family: 'Grotesque';
}

nav ul {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: right;
}

nav ul li {
    display: inline-block;
}

nav>ul>li {
    border-right: solid 1px rgba(0, 0, 0, 0.2);
}

nav ul li.nav-home {
    margin-left: 40px;
}

nav ul li.nav-lang .btn {
    font-size: 16px;
    padding: 6px 6px;
    background-color: #1d1d1b;
}

nav ul li.nav-lang .btn:hover {
    background-color: #ffffff;
    color: #1d1d1b;
}

nav ul li.nav-lang-selected .btn {
    color: #ff9933;
}

nav ul li a,
nav ul li a:visited {
    display: block;
    height: 68px;
    padding: 0 1px;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    -webkit-transition: background 190ms linear, color 190ms linear;
    -moz-transition: background 190ms linear, color 190ms linear;
    -ms-transition: background 190ms linear, color 190ms linear;
    -o-transition: background 190ms linear, color 190ms linear;
    transition: background 190ms linear, color 190ms linear;
}

nav ul li a.active,
nav ul li a:hover.active {
    /* background:#ff9933; */
    background-image: linear-gradient(160deg, #ff0080 0%, #ff9933 75%);
    color: #fff;
}

nav ul li a:hover {
    color: #ff9933;
    /*background-image: linear-gradient(160deg,#543211 0%, #1d1d1d 80%);*/
}

nav ul li.active>a,
nav ul li.active:hover>a {
    color: #79bb59;
}

nav ul li>a:active,
nav ul li.active>a:active {
    background: #8f8777;
}

nav ul li.social-icon.s-facebook a {
    color: #627aac !important;
    border: none;
}

nav ul li.social-icon.s-twitter a {
    color: #4099FF !important;
    border: none;
}

nav ul li.social-icon.s-email a {
    color: #79bb59 !important;
    border: none;
    padding: 0 30px 0 5px;
    border-right: solid 3px rgba(0, 0, 0, 0.2);
}

nav ul li.social-icon:hover a {
    background-color: transparent;
    opacity: 0.6;
}

nav ul ul {
    position: absolute;
    left: 0;
    width: 980px;
    height: 36px;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all 230ms linear 20ms;
    -moz-transition: all 230ms linear 20ms;
    -ms-transition: all 230ms linear 20ms;
    -o-transition: all 230ms linear 20ms;
    transition: all 230ms linear 20ms;
}

nav ul:hover li.active ul {
    visibility: hidden;
    opacity: 0;
}

nav ul li.active ul,
nav ul li:hover ul,
nav ul li.active:hover ul {
    visibility: visible;
    opacity: 1;
}

nav ul ul li a {
    height: 36px;
    padding: 0 13px;
    font-size: 19px;
    color: #c7c3bb;
    text-transform: uppercase;
    line-height: 35px;
    -webkit-transition: color 250ms ease-out 20ms;
    -moz-transition: color 250ms ease-out 20ms;
    -ms-transition: color 250ms ease-out 20ms;
    -o-transition: color 250ms ease-out 20ms;
    transition: color 250ms ease-out 20ms;
}

nav ul ul li:first-child a {
    padding-left: 15px;
}

nav ul ul li:hover a {
    color: #79bb59;
}

nav ul ul li a:active {
    color: #79bb59;
}

nav span.logo {
    position: absolute;
    top: -4px;
    left: 14px;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 19px;
    color: #FFF;
}

nav span.logo a {
    position: relative;
    height: 60px;
    width: 180px;
    z-index: 1;
    display: block;
}

nav span.logo img {
    max-width: 180px;
}

header {
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    z-index: 1;
}

nav {
    height: 68px;
}

nav ul li a {
    height: 68px;
    line-height: 66px;
    min-width: 100px;
    text-align: center;
    padding: 0 10px;
}

nav ul li.social-icon a {
    min-width: 28px;
    font-size: 18px;
    padding: 0;
}

nav ul li.social-icon.s-facebook a {
    /*min-width: 15px; */
}

nav input,
nav label {
    display: none;
}

nav ul {
    max-width: 1350px;
    margin: 0 auto;
}

nav ul ul {
    width: 100%;
    margin: 0;
    text-align: right;
}

nav ul ul li {
    border-left: 2px solid #c7c3bb;
}

nav ul ul li:nth-child(1) {
    border-left: none;
}

nav ul:hover li.active ul {
    margin: 0;
}

#search_box {
    display: none;
}

nav span.logo {
    margin: 0 auto;
    max-width: 1350px;
    right: 0;
}

.sub-nav {
    /*background-color: transparent;
  background-image: linear-gradient(310deg,#ff0080 0%,#ff9933 60%);*/
    margin-right: auto !important;
    margin-left: auto !important;
    /* height: 35px; */
}

.sub-nav input#sub-dropdown,
.sub-nav label {
    display: none;
}

.sub-nav-bg {
    background-color: #ffffffbb;
}

.sub-nav ul {
    display: block;
    max-width: 1350px;
    margin: 0 auto 0 auto;
    list-style: none;
    text-align: right;
}

.sub-nav li {
    display: inline-block;
}

.sub-nav a,
.sub-nav p {
    font-family: 'Grotesque', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: normal !important;
    text-transform: uppercase;
    padding: 0 13px;
    font-size: 19px;
    line-height: 35px;
    display: inline-block;
    color: #333;
}

.sub-nav a {
    border-right: 2px rgba(255, 255, 255, 0.2) solid;
    transition: background-color 300ms;
}

.sub-nav li:first-child,
.sub-nav li:first-child a {
    border: none !important;
}

.sub-nav li:nth-child(2) {
    border-left: 2px rgba(255, 255, 255, 0.2) solid;
}

.sub-nav a:hover,
.sub-nav a.selected {
    background-color: #fff;
    color: #333 !important;
}

.sub-nav li.left {
    float: left;
}

.sub-nav li.left a {
    /* color: #fff; */
}

.sort-arrows {
    position: absolute;
    max-width: 12px;
    max-height: 12px;
    margin-left: 5px;
    padding-right: 20px;
    overflow: hidden;
}

.sort-arrows.sort-down {
    margin-top: 12px;
}

.sort-arrows.sort-down i,
.sort-arrows.sort-down svg {
    margin-bottom: 11px;
    margin-top: -8px;
}


/*
Button Groups
--------------------------------------------------
*/

.btn-l {
    border-radius: 2rem 0 0 2rem;
}

.btn-r {
    border-radius: 0 2rem 2rem 0;
}

.btn-t {
    border-radius: 0 0 2rem 0;
}

.btn-b {
    border-radius: 2rem 0 0 0;
}

.btn {
    font-size: 24px;
}

.btn-tab,
.btn-tab:visited {
    background-color: rgba(255, 255, 255, 0);
}

.btn-label,
.btn-label:visited {
    background-color: rgba(255, 0, 0, 0);
}


/* layout
--------------------------------------*/

.apply-stamp {
    width: 17vw;
    max-width: 100%;
    opacity: 50%;
    top: -5vw;
    right: -80px;
}


/* Helpers
----------------------------------------------------------------------------------------*/

.text-offset {
    margin-bottom: -3em;
}

.text-offset-large {
    margin-bottom: -6em;
}

.div-offset {
    margin-top: -3em;
}

.div-offset-large {
    margin-top: -6em;
}


/*
 * Reusable layout components
 */

.col1,
.col2,
.col3,
.col4,
.col5,
.col6,
.col {
    margin-bottom: 0;
}

.one-col {
    width: 100%;
    margin: 0;
    position: relative;
}

.full-width {
    width: 100%;
}

.two-col-one-primary {
    /* two column layout with .col1 as the primary (larger) column */
}

.two-col-one-primary .col1 {
    width: 66%;
    float: left;
    margin-right: 4%;
}

.two-col-one-primary .col2 {
    width: 30%;
    float: left;
}

.two-col-two-primary {
    /* two column layout with .col1 as the primary (larger) column */
}

.two-col-two-primary .col2 {
    width: 66%;
    float: left;
}

.two-col-two-primary .col1 {
    width: 30%;
    float: left;
    margin-right: 4%;
}

.two-col {
    width: 100%;
    overflow: hidden;
}

.two-col ul {
    margin-bottom: 0;
}

.two-col li {
    width: 45%;
    margin: 0 5% 5% 0;
    float: left;
}

.two-col li a {
    border: none;
}

.two-col li:nth-child(2n+2) {
    margin-right: 0;
}

.two-col li:nth-child(2n+1) {
    clear: left;
}

.three-col {
    width: 100%;
    overflow: hidden;
}

.three-col ul {
    margin-bottom: 0;
}

.three-col li {
    width: 30%;
    margin: 0 5% 5% 0;
    float: left;
}

.three-col li a {
    border: none;
}

.three-col li:nth-child(3n+3) {
    margin-right: 0;
}

.three-col li:nth-child(3n+1) {
    clear: left;
}


/*
	Four equal column layout
*/

.four-col {}

.four-col li {
    width: 21.25%;
    margin: 0 5% 5% 0;
    float: left;
}

.four-col li:nth-child(4n+4) {
    margin-right: 0;
}


/*
	Five equal column layout
*/

.five-col {}

.five-col li {
    width: 16%;
    margin: 0 5% 1em 0;
    float: left;
}

.five-col li:nth-child(5n+5) {
    margin-right: 0;
}


/*
	Six equal column layout
*/

.six-col {}

.six-col li {
    width: 13%;
    margin: 0 4% 1em 0;
    float: left;
}

.six-col li:nth-child(6n+6) {
    margin-right: 0;
}
