/* BASIC ---------------------------------------------- */


html,
body {
    height: 100%;
}

* {
    margin: 0px;
    padding: 0px;
}

a img {
    border: none;
}

a {
    outline: none;
}


html {
    font-family: 'Muli', sans-serif;
    font-weight: 400;
    color: #808181;
    font-size: 62.5%;
    line-height: 150%;
}


body {
    font-size: 1.6rem;
}

/* FIXES ---------------------------------------------- */


/* Correct `block` display not defined in IE 6/7/8/9 and Firefox 3. */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
    display: block;
}


/* Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3. */
audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}


/* COOKIES MSG ---------------------------------------- */


.cookiemsg {
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    padding: 15px 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0.75);
}

.cookiemsg div p {
    color: #fff;
    margin-bottom: 0;
    font-size: 1.5rem;
}

.cookiemsg span a {
    color: #ccc;
}

.cookiemsg a.button {
    display: inline-block;
    margin: 10px 15px 0 0;
    padding: 2px 20px;
    background-color: #c3d77e;
    color: #000;
}

.cookiemsg a.button:hover {
    background-color: #b5e21a;
}

.cookiemsg span a:hover {
    color: #fff;
}


/* HEADER --------------------------------------------- */


header {
    width: 100%;
    /* margin: 23px 0 0; */
    margin: 23px 0;
    float: left;
}

header .inner-wrapper {
    position: relative;
}

.logo {
    display: block;
    float: left;
    width: 174px;
    height: auto;
}

.tagline {
    float: left;
    font-size: 1.45rem;
    line-height: 130%;
    width: 410px;
    margin: 77px 0 0 42px;
}

.dots,
.more {
    display: none;
}

.more:after {
    content: "more";
    text-decoration: underline;
    cursor: pointer;
}

ul.social {
    list-style: none;
    position: absolute;
    top: 0;
    right: 0;
}

ul.social li {
    width: 45px;
    height: 45px;
    list-style: none;
    display: inline-block;
    padding: 0;
    margin: 0 19px 0 0;
}

ul.social li:last-child {
    margin: 0;
}

ul.social li img {
    width: 100%;
    height: auto;
    display: block;
}

/*ul.social li.facebook a { background-position: 0 0; }
    ul.social li.insta a { background-position: -64px 0; }
    ul.social li.youtube a { background-position: -128px 0; }
    ul.social li a { display: block; width: 100%; height: 100%; background: url('/img/icon-social.png') no-repeat top left; background-size: cover; }*/
.filters {
    position: absolute;
    top: 2px;
    left: 42px;
    display: none;
    border-radius: 50%;
    color: #fff;
    background: #EF896B;
    font-size: 1.0rem;
    padding: 1px 0 0 0;
    text-align: center;
    box-sizing: border-box;
    height: 18px;
    width: 18px;
}

.mobmenu,
.close {
    position: absolute;
    top: 0;
    left: 10px;
    cursor: pointer;
    display: none;
}

.close {
    width: 28px;
    height: 28px;
}

.menu {
    position: relative;
    background: #fff;
    float: left;
    width: 100%;
    margin-top: 25px;
}

.menu ul {
    list-style: none;
    border-top-width: 1px;
    border-top-style: solid;
    padding: 0;
    margin-bottom: 0;
}

ul.filterLevel1 {
    border-top-color: #FCE7DB;
    width: 100%;
    float: left;
    margin-bottom: 20px;
    position: relative;
    z-index: 5;
}

.filterLevel2 {
    border-top-color: #E3E3E3;
    width: 65.5%;
    float: left;
}

.filterLevel3 {
    border-top-color: #DFECBB;
    width: 31%;
    float: right;
}

.menu li {
    list-style: none;
    display: inline-block;
    padding: 0 0 0 0;
    margin: -1px 45px 0 0;
    padding-top: 9px;
    border-top: 3px solid transparent;
    cursor: pointer;
    float: left;
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: uppercase;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    transition: border-color 0.25s linear;
}

.filterLevel3 li {
    width: auto;
    margin-right: 0;
}

/*.filterLevel3 li:first-child { margin-right: 15%; }*/
.menu ul li:last-child {
    margin-right: 0;
}

.filterLevel1 li:last-child

/*,
    .filterLevel3 li:last-child*/
    {
    float: right;
}

.menu ul li.active {
    border-top-width: 3px;
}

.filterLevel1 li.active {
    border-top-color: #ea5b0c;
    color: #ea5b0c;
}

.filterLevel2 li.active {
    border-top-color: #000;
    color: #000;
}

.filterLevel3 li.active {
    border-top-color: #8ab625;
    color: #8ab625;
}

.menu li span {
    display: none;
}

.menuLevel2 {
    transition: all 0.25s linear;
    transform: translateY(0);
    opacity: 1;
    position: relative;
    z-index: 5;
}

.menuLevel2.fade {
    transform: translateY(-50px);
    opacity: 0;
    z-index: 4;
}

.filterLevel3 {
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    justify-content: space-between;
    -webkit-flex-direction: row;
    -webkit-justify-content: space-between;
}


/* CONTAINERS ----------------------------------------- */


#page-wrapper,
footer {
    width: 100%;
}

#page-wrapper {
    height: auto;
    min-height: 100%;
    margin: 0 auto;
}

.inner-wrapper {
    width: 932px;
    margin: 0 auto;
}

main#page-content {
    width: 100%;
    margin: 0 auto;
    padding: 22px 0 0;
    position: relative;
    overflow: auto;
}

.overlay {
    position: fixed;
    z-index: 100;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: none;
}

.grid-item {
    float: left;
    margin-right: 3.5%;
    margin-bottom: 3.5%;
    width: 31%;
    background: #fafafa;
    padding-bottom: 31%;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.grid-item:nth-child(3n) {
    margin-right: 0;
}

.grid-wrapper {
    width: 100%;
    padding-bottom: 100%;
    position: absolute;
    height: auto;
    opacity: 1;
    -webkit-transition: opacity 0.3s linear;
    -moz-transition: opacity 0.3s linear;
    transition: opacity 0.3s linear;
}

.grid-wrapper.hide {
    opacity: 0;
}

.grid-item p {
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 50px 10px 10px;
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.75) 100%);
}

.grid-item a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 80;
}

.grid-item img {
    display: block;
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
}

.nothing {
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 30px;
}

.grid-item img.video-watermark {
    width: 19%;
    z-index: 70;
    top: 5%;
    left: 5%;
    min-width: 35px;
}

.grid {
    opacity: 1;
    transition: opacity 0.2s linear;
}

.grid.hide {
    opacity: 0;
}


/* MODAL ---------------------------------------------- */
/* .fade-in {
    animation: fadeIn 5s;
    -webkit-animation: fadeIn 5s;
    -moz-animation: fadeIn 5s;
    -o-animation: fadeIn 5s;
    -ms-animation: fadeIn 5s;
  } */
@keyframes smooth-large {
    0% {
        /* opacity:0; */
        /* height: 585px; */
        height: 62.5vh;
    }

    100% {
        /* opacity:1; */
        height: 80vh;
    }

}

body.modalshow .overlay {
    display: block;
    cursor: pointer;
}

/*body.modalshow { overflow: hidden; position: fixed; width: 100%; }*/

.modal {
    z-index: 150;
    display: none;
    padding: 0;
    background: #fff;
    position: fixed;
    width: 931px;
    top: 50%;
    left: 50%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);

}

.modal.video {
    /* position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); */
    /* width: 520px; */
    /* width: 930px; */
    max-width: 100%;
    /* height: 585px; */
    height: 80vh;
    max-height: 100%;

    animation: smooth-large 0.2s linear;

    /* z-index: 150; 
        display: none; 
        padding: 0;
        background: #fff;
        -moz-box-sizing: border-box; 
        -webkit-box-sizing: border-box; 
        box-sizing: border-box;
        -webkit-transform: translate(-50%,-50%); 
        -moz-transform: translate(-50%,-50%); */
}

.modal-inner {
    background: #fff;
    position: relative;
    float: left;
    padding-bottom: 63.2%;
    width: 100%;
    overflow: hidden;
    /* transition: all 0.2s linear;  */
    transform: translateX(0);
    opacity: 1;
    left: -1px;

}

.modal-inner.video {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    /* width: 100%; */
    /* height: 100%;
        padding-bottom: 0; */
    overflow: auto;
    transition: none;
    /* background: #fff;
         
        width: 100%;
         
        transform: translateX(0); 
        opacity: 1; */
    left: -1px;

}



.modal-inner.move-left {
    opacity: 0;
}

.modal-inner.move-right {
    opacity: 0;
}

.modal-inner.back-left {}

.modal-inner.back-right {}

body.modalshow .modal {
    display: block;
}

.arrow {
    position: absolute;
    top: 50%;
    width: 19px;
    height: 32px;
    cursor: pointer;
    -webkit-transform: translate(0, -50%);
    -moz-transform: translate(0, -50%);
    transform: translate(0, -50%);
}

.arrow.left {
    left: -30px;
}

.arrow.right {
    right: -30px;
}

.mainMedia {
    width: 63.4%;
    float: left;
    position: absolute;
}

.mainImage {
    width: 100%;
    display: block;
    float: left;
}

.mainText-wrapper {
    position: absolute;
    overflow-y: auto;
    height: 100%;
    right: 0;
    float: right;
    -webkit-overflow-scrolling: touch;
    width: calc(36.6% - 25px);
    background: #fff;
    padding: 20px 20px 20px 0;
    box-sizing: border-box;
}

.mainText-wrapper.video {
    /* position: absolute; */
    top: 88%;

    /* height: 100%; 
        right: 0; 
        float: right; */
    /* -webkit-overflow-scrolling: touch;  */
    width: 100%;
    /* background: #fff; */
    padding: 20px;
    /* box-sizing: border-box;  */
    overflow: unset;
}


.mainText {
    color: #000;
}

.mainText h2 {
    margin-bottom: 22px;
}

.mainText p {
    margin-bottom: 20px;
}

.mainText p:last-child {
    margin-bottom: 0;
}

.date {
    color: #bbb;
    margin: 5px 0 11px;
    font-size: 1.2rem;
}

/* .mainMedia.video { padding-bottom: 63.4%; background: #000; } */

.mainMedia.video {
    padding-bottom: 0;
    background: #000;
    width: 100%;
    position: static;
}

/*.videoWrapper { width: 100%; transform: translateY(-50%); top: 50%; position: absolute; }
    .videoWrapper iframe { width: 100%; border: 0; }*/
.videoWrapper {
    position: absolute;
    padding-bottom: 57%;
    overflow: hidden;
    height: auto;
    transform: translateY(-50%);
    top: 50%;
    width: 100%;
}

.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.modal-close {
    display: none;
    width: 28px;
    height: 28px;
    position: absolute;
    right: 0;
    top: 0;
}


/* UPDATES 26Sept2018 ---------------------------- */


.grid-item:nth-child(19) {
    background: #fff;
}

/* .homePage .modal-inner.video { padding-bottom: 35.3%; } */
/* .homePage .modal-inner.video { 
        padding-bottom: 0; 
    } */

.homePage .mainMedia.video {
    padding-bottom: 0;
}

.homePage .videoWrapper {
    transform: none;
    top: -1px;
}


/* SEARCH ---------------------------------------- */
.search-container {
    position: absolute;
    top: 99px;
    right: 0;
    border: solid 1px #E3E3E3;
    border-radius: 2px;
    padding-right: 5px;
}

.search-container-mobile {
    display: none;
    z-index: 10000000;
    border: solid 1px #E3E3E3;
    border-radius: 2px;
    padding-right: 5px;
}

.search-submit {
    font-size: 22px;
    color: #cdcece;
    border: none;
    background: none;
    cursor: pointer;
    outline: none;
}

#search-input {
    z-index: 10000000;
    border: none;
    font-size: 1.6rem;
    color: #808181;
    padding: 5px 3px 6px 8px;
    display: block;
    outline: none;
}

.search-input-container {
    display: block;
    margin-top: 2px;
    float: left;
    margin-right: 10px;
}

.search-submit-container {
    display: block;
    float: left;
    padding-top: 2px;
    padding-bottom: 3px;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #9a9b9b;
}

input:-moz-placeholder,
textarea:-moz-placeholder {
    color: #9a9b9b;
}

/* SINGLE PAGE ---------------------------------------- */
.itemPage .mobmenu,
.itemPage .filters {
    display: none;
}

.itemPage .modal {
    display: block;
    position: static;
    margin-top: 15px;
    transform: none;
    -webkit-transform: none;
    -moz-transform: none;
}

.itemPage .modal-inner {
    overflow: unset;
    /* padding-top: 3rem; */
}

.itemPage .modal.video {
    height: 100%;
}

.itemPage .mainText-wrapper.video {
    top: 100%;
}

.itemPage #page-content {

    overflow: unset;
}

/* TEXT ----------------------------------------------- */


h1 {
    font-size: 1.8rem;
    line-height: 125%;
}

h2 {
    font-size: 2.1rem;
    line-height: 130%;
}

/* modal title */
p,
ul li {
    font-size: 1.4rem;
    line-height: 130%;
}

ul {
    list-style-type: disc;
    padding-bottom: 20px;
}

ul li {
    padding-left: 0;
    margin-left: 20px;
}


/* LINKS AND COLOURS  --------------------------------- */


a {
    color: #00a6dd;
    text-decoration: none;
}

a:hover {
    color: #fb5133;
}


.black {
    color: #000000;
}

.white {
    color: #ffffff;
}

.red {
    color: #ea0000;
}


.bg_black {
    background-color: #000000;
}

.bg_white {
    background-color: #ffffff;
}

.bg_red {
    background-color: #ea0000;
}


/* RESPONSIVE  ---------------------------------------- */


@media only screen and (max-width : 1023px) {
    .modal {
        width: 90vw;
    }

    .modal.video {
        width: 90vw;
    }

    .itemPage .modal-inner {
        overflow: visible;
    }

    .itemPage .modal {
        width: 100%;
        /* overflow: auto; */
        overflow: unset;
        padding-bottom: 0;
    }

    .itemPage .mainText-wrapper.video {
        top: 100%;
    }

    /* .itemPage .modal-inner {
        overflow: auto;
    } */
}


@media only screen and (max-width : 980px) {
    .inner-wrapper {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
        margin: 0 auto;
    }

    ul.social {
        right: 20px;
    }

    .search-container {
        right: 20px;
        top: 121px;
    }

    .itemPage .search-container {
        /* top: 0; */
    }

    /*.filterLevel3 li:first-child { margin-right: 10%; }*/

}


@media only screen and (max-width : 767px) {
    .hide-mobile {
        display: none;
    }

    /* mobile menu*/
    body {
        transition: transform 0.42s ease-in-out;
    }

    .inner-wrapper {
        width: 100%;
        padding: 0 10px;
    }

    #page-content .inner-wrapper {
        padding: 0;
    }

    header {
        margin-top: 11px;
    }

    .menu {
        position: fixed;
        width: 205px;
        height: 100%;
        left: 0;
        top: 50px;
        margin-top: 0;
        background: #fff;
        transform: translateX(-205px);
        z-index: 200;
        padding: 0 45px 0 15px;
        box-sizing: border-box;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    }

    body.menushow .overlay {
        display: block;
        background: rgba(0, 0, 0, 0.5);
    }

    body.menushow {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    body.menushow {
        transform: translateX(205px);
    }

    .mobmenu {
        width: 36px;
        height: auto;
    }

    .mobmenu,
    .filters.show {
        display: block;
    }

    ul.social {
        right: 8px;
    }

    ul.social li {
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }

    /*ul.social li.insta a { background-position: -43px 0; }
    ul.social li.youtube a { background-position: -86px 0; }*/
    .logo {
        float: none;
        margin: 0 auto;
        width: 110px;
    }

    .tagline {
        float: none;
        width: auto;
        clear: both;
        margin: 15px auto 0;
        text-align: center;
    }

    .rest {
        display: none;
    }

    .dots,
    .more {
        display: inline;
        padding-left: 5px;
    }

    .tagline.full .more:after {
        content: "less";
    }

    .tagline.full .rest {
        display: inline;
    }

    .tagline.full .dots {
        display: none;
    }

    .menu ul,
    .menu ul li {
        display: block;
        float: left !important;
        width: 100%;
        padding: 7px 0 6px;
        position: relative;
    }

    .menu ul {
        border-top: none;
        margin-bottom: 20px;
    }

    .menu ul.filterLevel3 {
        margin-bottom: 70px;
        display: block;
    }

    .filterLevel1 {
        margin-top: 25px;
    }

    .filterLevel1 li {
        border-top: 1px solid #FCE7DB;
    }

    .filterLevel2 li {
        border-top: 1px solid #E3E3E3;
    }

    .filterLevel3 li {
        border-top: 1px solid #DFECBB;
    }

    .filterLevel1 li:last-child {
        border-bottom: 1px solid #FCE7DB;
    }

    .filterLevel2 li:last-child {
        border-bottom: 1px solid #E3E3E3;
    }

    .filterLevel3 li:last-child {
        border-bottom: 1px solid #DFECBB;
    }

    .menu li span {
        display: inline-block;
        right: -26px;
        width: 20px;
        height: 20px;
        position: absolute;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: -999px -999px;
    }

    .close {
        display: block;
    }

    .filterLevel1 li.active span {
        background-image: url('/img/tick_red.svg');
        background-position: 0px 0px;
    }

    .filterLevel2 li.active span {
        background-image: url('/img/tick_grey.svg');
        background-position: 0px 0px;
    }

    .filterLevel3 li.active span {
        background-image: url('/img/tick_green.svg');
        background-position: 0px 0px;
    }

    .grid-item {
        margin-right: 3px;
        margin-bottom: 3px;
        width: calc(33.33% - 2px);
        padding-bottom: calc(33.33% - 1px);
    }

    .grid-item p {
        font-size: 1.45rem;
    }

    .menu ul li.active {
        padding-top: 5px;
    }

    .modal {
        background: none;
        transform: translate(-50%, -0%);
        top: 100px;
        -webkit-overflow-scrolling: touch;
        overflow: scroll;
        max-height: 80%;
        /* touch-action: none; */
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    }

    .modal.video {
        /* transform: translate(-50%, -0%); */
        top: 100px;
        height: 80%;
        -webkit-overflow-scrolling: touch;
        overflow: unset;
        max-height: 100%;
        /* padding: 0 0 130px; */
        /*touch-action: none;*/
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);

        animation: none;
    }

    .modal .arrow {
        display: none;
    }

    .modal-inner {
        left: 0;
        padding-bottom: 0;
        /* overflow: scroll;  */
        max-height: 100%;
    }

    .modal-inner.video {
        bottom: 0;
    }

    .mainMedia {
        width: 100%;
        padding-bottom: 0;
        position: static;
        overflow: auto;
    }

    .mainMedia.video {
        overflow: unset;
    }

    .mainText-wrapper {
        float: left;
        overflow-y: initial;
        position: static;
        width: 100%;
        padding: 20px;
    }

    .mainText-wrapper.video {
        height: 100%;
    }

    body.modalshow {
        overflow: hidden;
        /*max-height: 100vh; position: fixed;*/
    }

    .modal-close {
        position: fixed;
        top: 60px;
        z-index: 101;
        right: 20px;
    }

    body.modalshow .modal-close {
        display: block;
    }

    .videoWrapper {
        top: 0;
        transform: none;
    }

    .mainMedia.video {
        padding-bottom: 56.25%;
    }

    .modal-inner.move-left {
        opacity: 0;
        transform: translateX(-100vw);
    }

    .modal-inner.move-right {
        opacity: 0;
        transform: translateX(100vw);
    }

    .modal-inner.back-left {
        transform: translateX(100vw);
    }

    .modal-inner.back-right {
        transform: translateX(-100vw);
    }

    .search-container-mobile {
        display: block;
        /*z-index: 10000000;*/
        border: solid 1px #E3E3E3;
        border-radius: 2px;
        padding-right: 5px;
        position: fixed;
        left: 0;
        top: 0;
        width: 150px;
        transform: translateX(-205px);
        z-index: 200;
        box-sizing: border-box;
        margin-left: 10px;
        margin-top: 18px;
    }

    .search-input-container,
    .search-submit-container {
        float: left;
    }

    .search-input-container {
        width: 122px;
        margin-right: 0;
        margin-top: 6px;
    }

    .search-input-container input {
        width: 95%;
        border: none;
        font-size: 16px;
        padding-left: 5px;
        color: #808181;
        outline: none;
    }

    .search-input-container {
        margin-top: 6px;
    }

    .search-submit-container {
        margin-top: 0;
        padding-top: 1px;
        padding-bottom: 1px;
    }

    .search-container {
        left: 0;
        top: 0;
        z-index: 500;
    }

    .nothing {
        margin-left: 10px;
        margin-right: 10px
    }

    /* Updates 26sept2018 */
    .homePage .mainMedia.video {
        padding-bottom: 56.25%;
    }

}


@media only screen and (max-width : 479px) {
    ul.social li {
        width: 28px;
        height: 28px;
        margin: 0 5px 0 0;
    }

    /*ul.social li.insta a { background-position: -40px 0; }
    ul.social li.youtube a { background-position: -80px 0; }*/
    .grid-item p {
        font-size: 1.2rem;
    }

}


@media only screen and (max-width : 374px) {
    ul.social li {
        display: block;
        margin: 0 0 5px 0;
    }

    .logo {
        width: 115px;
    }

    .grid-item:nth-child(1n) {
        width: calc(50% - 1px);
        padding-bottom: calc(50% - 2px);
        margin-right: 2px;
        margin-bottom: 2px;
    }

    .grid-item:nth-child(2n) {
        margin-right: 0;
    }


}