/*
Theme Name: wejazz2020
Author: Web-veistamö
Author URI: http://web-veistamo.fi

Template: twentyfifteen
*/

/*@import url(https://fonts.googleapis.com/css?family=Quicksand:400,300);*/

/**
 * @license
 * MyFonts Webfont Build ID 3804281, 2019-09-05T06:34:44-0400
 * 
 * The fonts listed in this notice are subject to the End User License
 * Agreement(s) entered into by the website owner. All other parties are 
 * explicitly restricted from using the Licensed Webfonts(s).
 * 
 * You may obtain a valid license at the URLs below.
 * 
 * Webfont: Walbaum06pt-Regular by Monotype
 * URL: https://www.myfonts.com/fonts/mti/walbaum/06-regular/
 * Copyright: Copyright &#x00A9; 2018 Monotype Imaging Inc. All rights reserved.
 * Licensed pageviews: 250,000
 * 
 * 
 * License: https://www.myfonts.com/viewlicense?type=web&buildid=3804281
 * 
 * © 2019 MyFonts Inc
*/


/* @import must be at top of file, otherwise CSS will not work */
@import url("//hello.myfonts.net/count/3a0c79");

  
@font-face {font-family: 'Walbaum06pt-Regular';src: url('fonts/3A0C79_0_0.eot');src: url('fonts/3A0C79_0_0.eot?#iefix') format('embedded-opentype'),url('fonts/3A0C79_0_0.woff2') format('woff2'),url('fonts/3A0C79_0_0.woff') format('woff'),url('fonts/3A0C79_0_0.ttf') format('truetype');}
 
@font-face {
    font-family: 'Avenir LT Std';
    src: url('fonts/AvenirLTStd-Book.eot');
    src: url('fonts/AvenirLTStd-Book.eot?#iefix') format('embedded-opentype'),
        url('fonts/AvenirLTStd-Book.woff') format('woff'),
        url('fonts/AvenirLTStd-Book.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir LT Std';
    src: url('fonts/AvenirLTStd-Medium.eot');
    src: url('fonts/AvenirLTStd-Medium.eot?#iefix') format('embedded-opentype'),
        url('fonts/AvenirLTStd-Medium.woff') format('woff'),
        url('fonts/AvenirLTStd-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir LT Std';
    src: url('fonts/AvenirLTStd-Light.eot');
    src: url('fonts/AvenirLTStd-Light.eot?#iefix') format('embedded-opentype'),
        url('fonts/AvenirLTStd-Light.woff') format('woff'),
        url('fonts/AvenirLTStd-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir LT Std';
    src: url('fonts/AvenirLTStd-BookOblique.eot');
    src: url('fonts/AvenirLTStd-BookOblique.eot?#iefix') format('embedded-opentype'),
        url('fonts/AvenirLTStd-BookOblique.woff') format('woff'),
        url('fonts/AvenirLTStd-BookOblique.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Avenir LT Std';
    src: url('fonts/AvenirLTStd-BlackOblique.eot');
    src: url('fonts/AvenirLTStd-BlackOblique.eot?#iefix') format('embedded-opentype'),
        url('fonts/AvenirLTStd-BlackOblique.woff2') format('woff2'),
        url('fonts/AvenirLTStd-BlackOblique.woff') format('woff'),
        url('fonts/AvenirLTStd-BlackOblique.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}

body, button, input, select, textarea {
    font-family: 'Avenir LT Std';
}

article.hentry {
    font-size: 15px;
    background: transparent;
}
article.hentry .post-thumbnail {
    padding-right: 10%;
    padding-left: 10%;
}
article.hentry .post-thumbnail img {
    width: 100%;
}

/* Hide stuff */
.site-info, .entry-header, footer, body:before, .site-title {
    display: none;
}
article.post .entry-header {
    display: block;
    padding: 0 10%;
}

/*site width stuff */
html {
    background-color: #eff0f1;
}
body {
    margin-left: 330px;
    color: black;
    background-color: transparent;
}

a{
    color: black;
    text-decoration: none;
    border: none!important;
    outline: none!important;
}
body .entry-content, body .entry-summary {
    padding: 0;
}

#page {
    max-width: 100%;
}

#sidebar {
    z-index:9;
    position: fixed; 
    top: 0;
    left: 0;
    width: 330px;
    height: 100vh;
    background: transparent;
}
#sidebar a{
    color: black;
    font-weight: 500;
    font-style: normal;
}
.admin-bar #sidebar {
    padding-top: 32px;
}
#sidebar div#secondary {
    padding-left: 13%;
}
#content {
    width: 100%;
    margin: 0;
}
#main {
    padding: 0;
}

article.hentry {
    width: 100%;
    -webkit-box-shadow: none;
            box-shadow: none;
    margin: 0;
    padding: 50px 0;
}

nav.navigation.post-navigation {
    display: none;
}

/* menu */
ul, li {
    border: none !important;
}
#site-navigation {
    margin: -10% 10% 0%;
    font-size: 18px;
}
.main-navigation a, .main-navigation  a {
    font-weight: 100;
    text-transform: lowercase;
}
.main-navigation .current-menu-item > a, .main-navigation .current-menu-ancestor > a {
    font-weight: 100;
    text-transform: uppercase;
}

.language_menu {
    /*display: none;*/
}
    .language_menu a {
        display: inline;
    }
    .language_menu .current {
        text-transform: uppercase;
    }

#sidebar #newsletter {
    text-transform: lowercase;
}
input[type="text"] {
    font-size: 0.7em;
}

.social-links {
    text-align: left;
    margin: 0 0 10% 10%;
    font-size: 0.6em;
}
    .social-links a {
        font-size: 2em;
        margin: 5px;
    }

.secondary-toggle {
    border: none;
    right: 15px;
}
.secondary-toggle:hover {
    border: none;
}
.secondary-toggle:focus {
    border: none;
}
.secondary-toggle:before {
    font-size: 40px;
}
.secondary-toggle.toggled-on:before {
    font-size: 60px;
}
@media screen and (max-width: 739px) {
    .secondary-toggle {
        width: 40px;
        height: 40px;
    }
    .secondary-toggle.toggled-on:before {
        font-size: 50px;
        top: 0px;
        left: -5px;
    }
}

@media screen and (min-width: 55em) {
    .secondary-toggle {
        height: 62px;
        width: 62px;
    }
}
@media screen and (min-width: 46.25em) {
    .secondary-toggle {
        height: 54px;
        width: 54px;
    }
}

/* home page */

/* Rotation image */
div#em-wrapper div.gallery {
    margin-bottom: 0;
}
div#em-wrapper div.gallery figure.gallery-item {
    display: none;
    padding: 0 1.4%;
}
div#em-wrapper div.gallery figure.gallery-item img {
    width: 100%;
    margin-left: 0;
}
div#em-wrapper div.gallery .gallery-icon {
    text-align: left
}
div#em-wrapper div.gallery figure.gallery-item figcaption {
    display: none;
}

/* Top image */
.wejazz-top-image {
    width: 98%;
    height: 250px;
    margin: 1%;
    margin-bottom: 2%;
    background-position: center;
    background-size: cover;
}
.wejazz-top-image.pink {
    background-position: 100% 80%;
}
.wejazz-top-image.gray,
.wejazz-top-image.white {
    background-position: 0% 20%;
}
.wejazz-top-image.black {
    background-position: 80% 80%;
}

/* Images between event blocks */
.image-between-events {
    width: 98%;
    height: 250px;
    margin: 1%;
    background-position: center;
    background-size: cover;
}

/* Ohjelma */
.program-unit-container {
    position: relative;
    /* widows: 100%; */
    margin: 0 0.66%;

}
.program-unit {
    width: 98%;
    margin: 1%;
    margin-top: 4px;
    margin-bottom: 0;
    border: solid 4px;
    border-color: black;
    font-size: 16px;
    padding: 10px 10px 5px 10px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
}
p.event_text {
    margin-bottom: 0;
}
p.event_text.program-unit-number {
    display: none;
    font-weight: 300;
    font-style: normal;
    font-size: 4em;
    line-height: 150%;
    margin-bottom: 0.2em;
}
p.event_text.event_date {
    display: inline-block;
}
span.door-open-time {
    font-weight: 300;
    font-style: normal;
    font-size: 0.88em;
    display: inline-block;
    padding-left: 0.3em;
}
p.event_text.event_date,
p.event_text.event_place {
    font-weight: 900;
    font-style: italic;
    font-size: 2em;
    line-height: 120%;
}

p.event_text.event_place {
    margin-bottom: 0.8em;
}
p.event_text.group-name {
    font-family: 'Walbaum06pt-Regular'; 
    font-weight: normal; 
    font-style: normal; 
    font-size: 2em;
    line-height: 110%;
    margin-bottom: 10px;
    margin-top: 20px;
    -webkit-hyphens: none;
        -ms-hyphens: none;
            hyphens: none;
}
p.event_text.performer-name {
    font-weight: normal;
    font-style: normal;
    font-size: 0.8em;
    margin-bottom: 1em;
}
.info-ticket {
    font-size: 0.8em;
    text-transform: uppercase;
}
.info-ticket a:hover {
    text-decoration: underline;
}

/* Ohjelma single page */

body.single-event .entry-content {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    padding: 0;
    padding-right: 10%;
    padding-top: 105px;
}
body.single-event nav.navigation.post-navigation {
    display: none;
}
body.single-event .post-thumbnail {
    display: none;
}
body.single-event .single-event-image {
    width: 47%;
    padding: 0px 0 5% 0;
}
body.single-event .single-event-image img {
    margin-bottom: 5%;
}
body.single-event .single-event-image img:last-child {
    margin-bottom: 0;
}
body.single-event .social-media {
    font-size: 25px;
    margin: 0px 10px;
}
body.single-event .social-media a {
    margin-right: 12px;
}
div.single-event-container {
    width: 47%;
    display: flex;
    flex-direction: column;
}
div.single-event-container:after {
    content: "";
    display: table;
    clear: both;
}
div.single-event-container .program-unit {
    width: 100%;
    margin: 0 0.66%;
    margin-left: 0;
    float: left;
    padding: 0;
    border: none;
}
.single-program-unit-inner {
    border: solid black 4px;
    padding: 12px 10px 0px;
}
div.single-event-container .info-ticket {
    font-weight: 300;
    font-style: normal;
    font-size: 1em;
    text-transform: lowercase;
    margin-top: 0;
    margin-left: 0;
    margin-bottom: 1rem;
}
div.single-event-container .info-ticket a {
    text-decoration: underline;
}
div.single-event-container .event-note {
    font-weight: normal;
    font-style: italic;
    width: 100%;
    float: right;
    margin-top: 2rem;
}
/* home page taeggiebar */

#taeggiebar {
    width: 20%;
    float: right;
    height: 100vh;
}
#taeggiebar p{
    color: rgb(63, 169, 245) !important;
}

.taeggie-feed-widget {
    max-width: 285px !important;
    max-height: 100vh;
}

.taeggie-feed-widget .icon{
    font-size: 20px;
    color: rgb(63, 169, 245) !important;
}
.font-icon-external-link, .font-icon, .font-icon-calendar{
    color: rgb(63, 169, 245) !important;
}

#taeggie-feed-widget-wejazz2016 {
    height: 100vh;
    overflow-y: scroll;
    background: transparent;
}

#taeggie-feed-widget-wejazz2016 .header, #taeggie-feed-widget-wejazz  .footer {
    background: rgba(204, 46, 120, 0.76);
}

.taeggie-feed-widget .header {
    position: fixed!important;
    width: 20%;
    z-index: 9;
    border-radius: 0!important;
}

.taeggie-feed-widget .posts-container {
    padding-top: 3em!important;
}

#taeggie-feed-widget-wejazz2016 .posts {
    background: rgba(255, 255, 255, 0.76);
    height: 100%;
}
#taeggie-feed-widget-wejazz2016  .footer {
    position: fixed !important;
    bottom: 0;
    width:20%;
    border-radius: 0!important;
}
#taeggie-feed-widget-wejazz2016 a, #taeggie-feed-widget-wejazz2016 .text span {
    color: rgb(63, 169, 245) !important;
}
.taeggie-feed-widget .image{
    width: 100% !important;
    height: auto !important;
    max-height: none !important; 
}

.taeggie-feed-widget .post-image {
    width: 100%!important;
}

.taeggie-feed-widget {
    width: 100%!important;
    max-width: none !important;
}


/* events */
.event_row {
    display: inline-block;
    line-height: 1.2em;
    font-size: 15px;
    width: 100%;
    border: solid 4px;
    width: 98%;
    margin: 0 1%;
}
.event_column {
    width: 30%;
    float: left;
    padding: 15px;
}
.event_column .location_link {
    margin-top: 15px;
}
.event_column.location_desc {
    width: 25%;
}
.event_column.location_map {
    width: 35%;
    min-width: 260px;
    float: right;
    padding: 0;
}
    .event_column.location_map .em-location-map-container {
        width: 100% !important;
    }

.event_column p {
    margin: 0;
}

.event_column a {
    border: 0;
    color: inherit;
}
.em-location-map-container,
.em-location-map {
    background: transparent!important;
}

/* normal pages */
body .entry-content {
    padding: 0 10%;
}
body.home .entry-content,
body.page-id-5 .entry-content,
body.page-id-6 .entry-content,
body.page-id-181 .entry-content,
body.page-id-183 .entry-content,
body.page-id-840 .entry-content,
body.page-id-846 .entry-content {
    padding: 0;
}


/* news */
body span.EMAIL-label {
    display: none;
}
body span.edit-link {
    display: none;
}
body .yikes-easy-mc-form .yikes-easy-mc-submit-button {
    display: none!important;
}
body .yikes-easy-mc-success-message {
    display: none!important;
}

#sidebar #newsletter {
    text-transform: lowercase;
    max-width: 220px;
    padding: 1.025em;
    padding-bottom: 0;
    padding-left: 0;
    margin-left: 10%;
    font-weight: 500;
    font-style: normal;
}
input#yikes-easy-mc-form-1-EMAIL {
    background: rgba(255,255,255,0.3);
    padding: 7px 7px;
    font-size: 0.7em;
}
body .yikes-easy-mc-form input[type=email] {
    border: 1px solid rgba(51,51,51,.1);
}
form#frmSS27 input[type="text"] {
    background: rgba(255,255,255,0.3);
}
.rssmi_wrap .title, .rssmi_wrap .imagefix, .rssmi_wrap span.source {
    display: none;
}

.rssmi_wrap span.date {
    color: #ccc;
}

/* news list page */
body.page-template-template-news .entry-content {
    max-width: 550px;
    box-sizing: content-box;
}
body.page-template-template-news .entry-content .thumbnail-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
}
body.page-template-template-news .entry-content .thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}
body.page-template-template-news .entry-content .thumbnail:after {
    content: "";
}
body.page-template-template-news .entry-content h2 {
    font-size: 18px;
    margin-top: 1em;
    margin-bottom: 0;
    text-transform: uppercase;
}
body.page-template-template-news .entry-content .date {
    font-size: 12px;
}
body.page-template-template-news article {
    padding-bottom: 3rem;
    font-size: 15px;
}
body.page-template-template-news article:first-child {
    padding-top: 50px;
}
article.post header h1 {
    margin-bottom: 0;
}
article.post header .date {
    display: block;
    margin-bottom: 2rem;
}

/* media */
.gallery-caption {
    font-family: 'Avenir LT Std';
}

/* taggie */
body .taeggie-feed-widget .text {
    color: black;
}

@media all and (max-width: 1199px) {

    div#em-wrapper div.gallery figure.gallery-item {
        padding: 0 1.6%;
    }
    body.single-event .entry-content {
        padding-right: 5%;
    }

}

/* 404 page */

body.error404 .page-header {
    background-color: transparent;
    -webkit-box-shadow: none;
            box-shadow: none;
    border-left: none;
}

body.error404 .page-content {
    background-color: transparent;
    -webkit-box-shadow: none;
            box-shadow: none;
}

body.error404 form.search-form input {
    background-color: rgba(0,0,0,0.05);
}


/* mobile */

@media(max-width:1250px) {
    .wejazz-top-image {
        /* background-position: 65% 50%; */
    }
}
@media(max-width:1090px) {
    .wejazz-top-image {
        /* background-position: 72% 50%; */
    }
}
@media(max-width:954px){

    .main-navigation a {
        padding: 0;
        margin: 10px 0;
    }
    .site-branding {
        padding-right: 57px;
    }
    body {
        margin-left:0;
    }
    #sidebar {
        background: transparent !important;
        width: 100%;
        height: auto;
        z-index: 1;
    }
    #masthead {
        display: inline-block;
        float: right;
        padding: 0;
    }
    #site-navigation {
        margin: 0% 10% 0%;
        font-size: 20px;
    }
    #secondary {
        background: rgba(0, 0, 0, 0.85);
        margin-top: 0;
    }
    #secondary a {
        color: white!important;
    }
    #sidebar #newsletter {
        color: white;
    }
    .language_menu {
        color: white;
    }
    #content {
        padding-left: 0px;
    }
    
    .home #content, #taeggiebar {
        width: 100%;
    }
    /* hide taggibar when device width is smaller than 955px*/
    div#taeggiebar {
        display: none;
    }
    body.single-event .entry-content {
        padding-right: auto;
        padding: 0 10%;
        padding-top: 12%;
    }
}

@media(max-width:739px){
    .site-branding {
        padding-right: 43px;
    }
    body.single-event .entry-content {
        display: block;
    }
    body.single-event .single-event-image {
        width: 100%;
    }
    div.single-event-container {
        width: 100%;
    }
    div.single-event-container .program-unit {
        width: 100%;
        margin: 0%;
        float: none;
        padding: 0;
    }
    div.single-event-container .event-note {
        width: 100%;
        float: none;
    }


}
@media(min-width:801px) {
    .event_row {
        display: flex;
        justify-content: space-between;
        align-items: stretch;
        min-height: 308px;
        margin-bottom: 8px;
    }
    .event_column.location_desc {
        width: 35%;
        padding-right: 10%;
    }
    .em-location-map-container {
        height: 100%!important;
    }
}
@media(max-width:800px){
    .event_column {
        width: 50%;
    }
    .event_column.location_desc {
        width: 50%;
    }
    .event_column.location_map {
        width: 100%;
    }
}

@media all and (max-width: 590px) {
    .program-unit-container {
        position: relative;
        margin: 0 0%;

    }
    .program-unit {
        width: 90%;
        margin: 5%;
        margin-top: 4px;
        margin-bottom: 0;
    }
    div#em-wrapper div.gallery figure.gallery-item {
        padding: 0 5%;
    }
    .wejazz-top-image {
        width: 90%;
        height: 120px;
        margin: 1% 5%;
        margin-bottom: 5%;
        /* background-position: 73% 50%; */
    }
    .image-between-events {
        width: 90%;
        height: 120px;
        margin: 1% 5%;
    }
    .event_row {
        width: 90%;
        margin: 0 5%;
    }
    .event_column {
        width: 100%;
    }
    .event_column.location_desc {
        width: 100%;
    }
    .event_column.location_map {
        padding-top: 15px;
    }
}

@media all and (max-width: 430px) {
    body.single-event .entry-content {
        padding: 12% 5%;
    }
}

#taeggie-feed-widget-wejazz{
    width: 100%;
}
.site-header {
    background-color: transparent;
    border-bottom: 0px solid rgba(51, 51, 51, 0.1);
}

.css-events-list > .event_row {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-blend-mode: lighten;
}

.css-locations-list .event-image, .css-events-list .event-image {
    max-width: 200px;
    margin-top: .5em;
}

/* Plaintext template*/
.plaintext .entry-content {
    font-size: 1.5em;
    font-family: "Arial", sans-serif;
}