    
/* =================
 *  FONTS
 * ================= */

@font-face {
    font-family: 'Avara_Bold';
    src:    url('https://timberfestival.org.uk/wp-content/themes/simplemag/fonts/AvaraBold/Avara-Bold_web.eot');
    src:    url('https://timberfestival.org.uk/wp-content/themes/simplemag/fonts/AvaraBold/Avara-Bold_web.eot?#iefix') format('embedded-opentype'),
            url('https://timberfestival.org.uk/wp-content/themes/simplemag/fonts/AvaraBold/Avara-Bold_web.woff') format('woff'),
            url('https://timberfestival.org.uk/wp-content/themes/simplemag/fonts/AvaraBold/Avara-Bold_web.woff2') format('woff2'),
            url('https://timberfestival.org.uk/wp-content/themes/simplemag/fonts/AvaraBold/Avara-Bold_web.ttf') format('truetype'),
            url('https://timberfestival.org.uk/wp-content/themes/simplemag/fonts/AvaraBold/Avara-Bold_web.svg#svgFontName') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Avara_Bold Italic';
    src:    url('https://timberfestival.org.uk/wp-content/themes/simplemag/fonts/AvaraBoldItalic/Avara-Bold_Italic_web.eot');
    src:    url('https://timberfestival.org.uk/wp-content/themes/simplemag/fonts/AvaraBoldItalic/Avara-Bold_Italic_web.eot?#iefix') format('embedded-opentype'),
            url('https://timberfestival.org.uk/wp-content/themes/simplemag/fonts/AvaraBoldItalic/Avara-Bold_Italic_web.woff') format('woff'),
            url('https://timberfestival.org.uk/wp-content/themes/simplemag/fonts/AvaraBoldItalic/Avara-Bold_Italic_web.woff2') format('woff2'),
            url('https://timberfestival.org.uk/wp-content/themes/simplemag/fonts/AvaraBoldItalic/Avara-Bold_Italic_web.ttf') format('truetype'),
            url('https://timberfestival.org.uk/wp-content/themes/simplemag/fonts/AvaraBoldItalic/Avara-Bold_Italic_web.svg#svgFontName') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Avara_Black';
    src:    url('https://timberfestival.org.uk/wp-content/themes/simplemag/fonts/AvaraBlack/Avara-Black_web.eot');
    src:    url('https://timberfestival.org.uk/wp-content/themes/simplemag/fonts/AvaraBlack/Avara-Black_web.eot?#iefix') format('embedded-opentype'),
            url('https://timberfestival.org.uk/wp-content/themes/simplemag/fonts/AvaraBlack/Avara-Black_web.woff') format('woff'),
            url('https://timberfestival.org.uk/wp-content/themes/simplemag/fonts/AvaraBlack/Avara-Black_web.woff2') format('woff2'),
            url('https://timberfestival.org.uk/wp-content/themes/simplemag/fonts/AvaraBlack/Avara-Black_web.ttf') format('truetype'),
            url('https://timberfestival.org.uk/wp-content/themes/simplemag/fonts/AvaraBlack/Avara-Black_web.svg#svgFontName') format('svg');
    font-weight: normal;
    font-style: normal;
}
    
    
/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}ul{list-style:none}button,input,select,textarea{margin:0}html{box-sizing:border-box}*,*::before,*::after{box-sizing:inherit}img,video{height:auto;max-width:100%}iframe{border:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}td:not([align]),th:not([align]){text-align:left}

html {
  box-sizing: border-box;
  font-size: 62.6.5%;
    margin: 0;
    padding: 0;
}
*, *:before, *:after {
  box-sizing: inherit;
}
* {
    -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
    
    
body { 
    margin:0;
    padding:0;
    font-family: 'Avara_Bold', Georgia, sans-serif;
}


    
a {
    text-decoration: none;
    color: #FFF;
    cursor: pointer;
    -webkit-transition: all 0.14s ease;
    -moz-transition: all 0.14s ease;
    -ms-transition: all 0.14s ease;
    -o-transition: all 0.14s ease;
    transition: all 0.14s ease
}

a:hover {
    text-decoration: none;
    color: #abba52;
    cursor: pointer;
}

p {
    line-height: 1.35;
    margin-bottom: 0.7em;
}

    
    h1,h2,h3,h4,h5,h6 {
        margin: 0; padding: 0;font-weight: normal;font-size: 1em;
        font-family: 'Avara_Bold', Georgia, sans-serif;
    }

.btn {
    border: none;
    margin: 0;
    padding: 0;
    width: auto;
    overflow: visible;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: normal;
    -webkit-font-smoothing: inherit;
    -moz-osx-font-smoothing: inherit;
    -webkit-appearance: none;
}

.btn {
    display: inline-block;
    vertical-align: top;
    font-size: 1rem;
    min-width: 1.5em;
    border-radius: 10em;
    border: 1px solid transparent;
    /*text-transform: uppercase;*/
    margin: .15em .1em;
    padding: .4em .8em .2em;
}

.btn:hover {
    border-color: transparent;
}



/**** BODY OF PAGE ************/


.container {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-flow: row wrap;
}
p a {
    text-decoration: underline;
    text-decoration-color: #abba52; 
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
} 
p a:hover {
    text-decoration: underline;
    text-decoration-color: #abba52; 
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

aside {
    width: 380px;
    min-height: 100vh;
    max-height: 100vh;
    font-size: 90%;
    padding: 1.5em;
    overflow-y: scroll;
    color: #FFF;
    background: #a08b89;
    background-image: url('assets/aside-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: 2px 2px 6px rgba(146,166,176,0.5);
    z-index: 99;
}


.logotype {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    margin-bottom: 1em;
}
.logotype img {
    width: 100%;
    height: auto;
}

.main-menu {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    margin-bottom: 1em;
    justify-content: space-between;
}

.main-menu li {
    text-align: center;
    color: #3f5368;
    margin: 0 0 0.35em 0;
    text-transform: uppercase;
    letter-spacing: 0.23em;
    vertical-align: top;
    font-size: 90%;
    width: 49%;
}

.main-menu li:nth-child(3) {
    width: 100%;
}

.main-menu li a {
    display: inline-block;
    width: 100%;
    padding: .4em .8em .2em;
    border-radius: 6px;
    border-left: 1px solid #abba52;
    border-right: 1px solid #abba52;
    -webkit-transition: all 0.14s ease;
    -moz-transition: all 0.14s ease;
    -ms-transition: all 0.14s ease;
    -o-transition: all 0.14s ease;
    transition: all 0.14s ease;
}

.main-menu li a:hover {
    padding: .4em .8em .2em 20px;
    background: #abba52;
    color: #FFF;
    border-left: 1px solid #FFF;
    border-right: 1px solid #FFF;
}

.button-menu {
    width: 100%;
    margin: 1em 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.button-menu li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-height: 100px;
    text-align: center;
    border-radius: 6px;
    /*background-image: url('assets/yourforest-button-bg.png');
    background-repeat: no-repeat;
    background-size: 40px 40px;
    background-position: center center;*/
    border-left: 1px solid #abba52;
    border-right: 1px solid #abba52;
    margin: 0.15em 0;
    -webkit-transition: all 0.14s ease;
    -moz-transition: all 0.14s ease;
    -ms-transition: all 0.14s ease;
    -o-transition: all 0.14s ease;
    transition: all 0.14s ease;
    text-transform: uppercase;
    font-size: 90%;
    letter-spacing: 0.15em;
}

.button-menu li:hover {
    cursor: pointer;
    color: #FFF;
    padding-left: 30px;
    background: #abba52; 
    border-left: 1px solid #FFF;
    border-right: 1px solid #FFF;
}

main {
    position: relative;
    min-height: 100vh;
    width:calc(100% - 380px);
}

#map { 
    position:absolute;
    top:0;
    right: 0;
    bottom:0;
    width: 100%;
}

.textarea h2 {
    text-align: center;
    font-size: 130%;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1em;
    padding-bottom: 0.2em;
    border-bottom: 1px dotted #abba52;
}

.partner-logos {
    display: flex;
    justify-content: flex-start;
    border-top: 1px solid #fff;
    padding: 1em 0;
    margin: 2em 0 1.5em 0;
    flex-flow: row wrap;
    align-content: center;
    align-items: center;
} 
.partner-logos img {
    max-width: 150px;
    max-height: 70px;
    object-fit: contain;
    margin-right: 0.5em;
}

.read-more {
    display: block;
    margin-bottom: 1em;
}
.more {
    display: none;
}

.audio-packages {
    display: block;
    position: relative;
    border-top: 1px solid #abba52;
    border-bottom: 1px solid #abba52;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 2em calc(10% + 3em) 2em 0;
    margin: 2em 0;
    background-image: url(assets/Arrow-Right.svg);
    background-repeat: no-repeat;
    background-position: 90% center;
    background-size: 30px auto;
}
.audio-packages:after {
    display: block;
    position: absolute;
    content: " ";
    top: calc(50% - 15px);
    right: 0.5em;
    width: 30px;
    height: 100%;
}



/**** TOP BAR *******************/
.topbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #4a788e;
    background-image: url('assets/topbar-bg.jpg');
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
    box-shadow: 2px 2px 8px rgba(198,157,129,0.7);
    color: #FFF;
    z-index: 99;
    padding: 0.8em;
    align-items: center;
    justify-content: flex-start;
    display: none;
}

.tb-main {
    display: flex;
    flex-direction: row wrap;
    width: 70%;
    height: 80px;
    padding: 0.8em 0;
    justify-content: flex-start;
}
.tb-main img {
    align-self: flex-start;
    max-width: 100%;
    max-height: calc(80px - 1.6em);
    object-fit: contain;
    height: auto;
}

.tb-menu {
    display: flex;
    width: 30%;
    height: 80px;
    justify-content: flex-end;
}

.tb-menu a img {
    max-height: 80px;
    object-fit: contain;
    width: auto;
    padding: 0.8em 0;
}


/**** MAP STUFF *****************/  
.radio-logo {
    display: flex;
    width: 100%;
    margin-bottom: 1em;
    max-height: 160px;
    justify-content: center;
}
.radio-logo img {
    object-fit: contain;
    width: 100%;
    height: auto;
}


    .marker {
      background-image: url('assets/soundmarker.png');
      background-size: contain;
      width: 32px;
      height: 32px;
      cursor: pointer;
        background-repeat: no-repeat;
        background-position: center center;
    }
    
    .mapboxgl-popup {
        width: 100%;
        max-width: 280px !important;
      }
    .mapboxgl-popup-content {
        font-family: 'Avara_Bold', Georgia, sans-serif;
        background: #4a788e;
        border-top: 2px solid #3f5368;
        border-bottom: 2px solid #3f5368;
        color: #FFF;
        line-height: 1.48;
        padding: 10px;
        box-shadow: 0 2px 2px rgba(0,0,0,0.3);
            background-image: url();
        background-size: cover;
        background-position: top right;
        background-repeat: no-repeat;
    }
    
    .mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip {
        border-top-color: #3f5368;
    }
    
    .mapboxgl-popup-anchor-right .mapboxgl-popup-tip {
        border-left-color: #3f5368;
    }
    
    .mapboxgl-popup-anchor-left .mapboxgl-popup-tip {
        border-right-color: #3f5368;
    }
    
    .mapboxgl-popup-anchor-top .mapboxgl-popup-tip,
    .mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip,
    .mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip {
        border-bottom-color: #3f5368;
    }
    
    .mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip,
    .mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip {
        border-top-color: #3f5368;
    }
    
        .mapboxgl-popup-close-button {
        background: #4a788e;
        border-radius: 20px;
        color: #FFF;
        font-size: 150%;
        padding-bottom: 0.3rem;
        top: -11px;
        right: -11px;
        -webkit-transition: all 0.14s ease;
        -moz-transition: all 0.14s ease;
        -ms-transition: all 0.14s ease;
        -o-transition: all 0.14s ease;
        transition: all 0.14s ease;
    }
    
    .mapboxgl-popup-close-button:hover {
    background: #3f5368;
        color: #FFF;
}
    
    .mapboxgl-ctrl-top-right .mapboxgl-ctrl {
    margin: 1em 1em 0 0;
    }
    
    .mapboxgl-popup h3 {
        margin-bottom: 0.4em;
        padding: 0.1em 0 0.2em 0;
        font-size: 130%;
        font-weight: normal;
        border-bottom: 1px dotted #98bcbc;
    }

    .mapboxgl-popup .sound-popup {
        display: inline-block;
        color: #abba52;
        font-size: 90%;
        letter-spacing: 0.08em;
        padding-right: 0.5em;
        text-transform: uppercase;
    }

    .mapboxgl-popup .sound-popup:after {
        content: ']';
        display: inline;
        padding-left: 0.3em;
    }
    .mapboxgl-popup .sound-popup:before {
        content: '[';
        display: inline;
        padding-right: 0.3em;
    }
    
    .share-buttons {
        width: 100%;
        display: flex;
        flex-flow: row wrap;
        justify-content: flex-end;
        margin-top: 1em;
    }

    .share-buttons div {
        margin: 0;
        padding: 0 0 0 0.5em;
        display: flex;
        flex-direction: row;
        align-content: center;
    }

    .share-buttons div a {
        line-height: 1;
        border-bottom: 1px solid #abba52;
        color: #FFF;
    }

    .share-buttons div a:hover {
        border-bottom: 1px solid #FFF;
    }

/*********** TOP BAR ********/
    
    #top-bar {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 99;
        width: 100%;
        background: #1c2619;
        background-image: url('assets/SOTF-Banner-Background-2.jpg');
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        padding: 1em 65px 0.8em 1em;
        color: #FFF;
        display: flex;
        flex-flow: row wrap;
        align-content: center;
        align-items: center;
        box-shadow: 0 0 6px rgba(0,0,0,0.7);
    }
    
#top-bar h2 {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 80%;
    margin-right: 1em;
    padding-top: 0.2em;
    padding-right: 2.5em;
    background-image: url(assets/sotf-logo-white.png);
    background-repeat: no-repeat;
    background-position: center right;
    background-size: contain;
}

.aside-footer {
    margin: 2em 0;
}

.tb-share {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    justify-content: space-between;
}

.tb-share div {
    text-align: center;
    width: 49%;
}

.tb-share div a {
    width: 100%;
    padding: .4em .8em .2em 1em;
    display: inline-block;
    text-transform: uppercase;
    font-size: 80%;
    letter-spacing: 0.2em;
    border-left: 1px solid #abba52;
    border-right: 1px solid #abba52;
    border-radius: 6px; 
    -webkit-transition: all 0.14s ease;
    -moz-transition: all 0.14s ease;
    -ms-transition: all 0.14s ease;
    -o-transition: all 0.14s ease;
    transition: all 0.14s ease;
}

.tb-share div a:hover {
    border-left: 1px solid #abba52;
    border-right: 1px solid #abba52;
    display: inline-block;
    width: 100%;
    padding-left: 20px;
    border-radius: 6px;
}

/**** RADIO SERIES ************/

.radio {
    background: url(assets/aside-bg.jpg);
    height: 100%;
    min-height: 100vh;
}

.radio-series {
    padding: 3em 5%;
    color: white;
    min-height: 100%;
    display: flex;
    flex-flow: row wrap;
    align-content: flex-start;
    justify-content: flex-start;
    line-height: 1.45;
}
.back-link {
    display: block;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.2em;
}
.series-section {
    padding: 2em 0;
    width: 100%;
}
.series-section h2 {
    font-size: 180%;
    font-family: 'Avara_Bold Italic', serif;
    margin-bottom: 1em;
}

.episode-section {
    max-width: 1020px;
    display: flex;
    flex-flow: row wrap;
    margin-top: 2em;
    opacity: 1;
    border-top: 1px solid white;
}
.tbc {
    opacity: 0.4;
}
.episode-section figure {
    width: 30%;
}
.episode-meta {
    padding-top: 1em;
    padding-left: 2.6em;
    width: 70%;
}
.episode-meta h3 {
    font-size: 150%;
    margin-bottom: 0.6em;
}
.episode-meta h6 {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.2em;
    overflow: visible;
    display: inline-block;
    vertical-align: top;
    border-radius: 10em;
    border: 1px solid white;
    margin: .15em .1em 1.5em .1em;
    padding: .4em 1em .1em;
}

.ep-soundcloud {
    margin-top: 1.5em;
    padding: 0.5em 0 0.2em 0;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
}

.series-section footer {
    margin-top: 4em;
}
.series-section footer:before {
    display: block;
    content: " ";
    height: 1px;
    width: 30%;
    min-width: 200px;
    background: white;
    margin-bottom: 2em;
}

@media only screen and (max-width: 626px) {
    
    .radio-series {
        font-size: 13px;
    }
    
    .episode-meta {
    padding-left: 1em;
    }
    
    .episode-meta h6 {
    font-size:8px;
    }
    
}



    
/***** MEDIA QUERIES *********/

@media only screen and (min-width: 960px) {
    aside {
        width: 380px !important; 
    }
    
    .closebtn {
        display: none;
    }
}
    
@media only screen and (max-width: 960px) {
    
    .topbar {
    display: flex;
    }
    
    aside {
        padding: 0;
        margin: 0;
    }
    
    #aside-overlay {
        width: 0;
        z-index: 103;
        height: 100%;
        width: 0;
        position: fixed;
        z-index: 101;
        left: 0;
        top: 0;
        overflow-x: hidden;
        transition: 0.5s;
    }
    
    .mobile-padding {
        max-width: 480px;
        padding: 1.5em;
        margin: 0 auto;
    }
    
    .closebtn {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1rem;
        font-size: 50px;
        z-index: 1099;
    }
    
    main {
        width: 100%;
    }
    .mapboxgl-ctrl-top-right .mapboxgl-ctrl {
    margin: calc(80px + 1em) 1em 0 0;
    }

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