/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating will be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/

.single-naytelma .content {
  border: 0 !important;
}
.avia-section:first {
  background-repeat: no-repeat;
  background-image: url(../../uploads/at_background-2000.png);
  background-position: 100% 0%;
  background-attachment: scroll;
}
.avia-section .av-section-color-overlay {
  opacity: 0.5;
  background-color: #ffffff;
}
  .av-special-heading-tag {
    margin-bottom: .5rem !important;
  }
  #top .hr.hr-invisible{
    height: 15px;
  }
  #top .av-special-heading {
    padding-bottom: 10px;
    font-size: 40px;
  }
  .page-template-template-ohjelmisto .container_wrap {
    border: 0;
  }
  p.ajankohta {
    font-size: 0.8em;
    color: #444;
    font-style: italic;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  p.ajankohta + p {
    margin-top: 0;
    padding-top: 0;
  }
  .h28 {
    font-size: 28px;
  }
  
  .list-item-separator {
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .list-item-separator .hr-inner {
    width: 1300px;
    border-color: #ebebeb;
  }
  
  .event-info {
    clear: both;
    line-height: 1.65em;
  }
  .event-date-p {
    font-size: 16px;
    text-align: left;
    line-height: 1.65em;
  
  }
  .event-date-p span {
    font-size: 16px;
    font-weight: bold;
    color: #96733b;;
  }
  .event-image-container {
    display: block;
    position: relative;
    max-width: 100%;
    margin: 0 auto 10px auto;
    text-align: center;
    clear: both;
    margin-bottom: 0;
    margin-top: 0;
  }
  .event-image-container-inner {
    border-radius: 3px;
    display: block;
    position: relative;
    max-width: 100%;
  }
  .event-text-container {
    padding-bottom: 10px;
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
    clear: both;
    display: block;
    position: relative;
    margin-top: 0;
    margin-bottom: 0;
  }
  .event-ingress {
    font-size: 15px;
    margin-bottom: 0.3em;
    line-height: 1.3em;
  }
  .event-ingress p {
    margin-top: 0;
    margin-bottom: 0;
  }
  .event-title-h1 {
    font-size: 1em;
    color: #85021a;
    font-weight: bold;
    padding: 0;
    margin: 0;
  }
  .event-ticket-button {
    background-color:rgb(133, 2, 26);
    border-bottom-color:rgb(99, 0, 8);
    border-bottom-left-radius:3px;
    border-bottom-right-radius:3px;
    border-bottom-style:solid;
    border-bottom-width:1px;
    border-image-outset:0px;
    border-image-repeat:stretch;
    border-image-slice:100%;
    border-image-source:none;
    border-image-width:1;
    border-left-color:rgb(99, 0, 8);
    border-left-style:none;
    border-left-width:0px;
    border-right-color:rgb(99, 0, 8);
    border-right-style:none;
    border-right-width:0px;
    border-top-color:rgb(99, 0, 8);
    border-top-left-radius:3px;
    border-top-right-radius:3px;
    border-top-style:none;
    border-top-width:0px;
    box-sizing:border-box;
    color:rgb(255, 255, 255);
    cursor:pointer;
    display:inline-block;
    font-family:lato, HelveticaNeue, "Helvetica Neue", Helvetica-Neue, Helvetica, Arial, sans-serif;
    font-size:13px;
    font-stretch:100%;
    font-style:normal;
    font-variant-caps:normal;
    font-variant-east-asian:normal;
    font-variant-ligatures:normal;
    font-variant-numeric:normal;
    font-weight:400;
    height:38px;
    line-height:15.6px;
    margin-bottom:3px;
    margin-left:0px;
    margin-right:0px;
    margin-top:3px;
    max-width:100%;
    min-width:90px;
    outline-color:rgb(255, 255, 255);
    outline-style:none;
    outline-width:0px;
    padding-bottom:10px;
    padding-left:16px;
    padding-right:16px;
    padding-top:12px;
    position:relative;
    text-align:center;
    text-decoration-color:rgb(255, 255, 255);
    text-decoration-line:none;
    text-decoration-style:solid;
    text-size-adjust:100%;
    vertical-align:baseline;
    width:90.2031px;
  }
  
  #h2-esityskalenteri {
    display: inline-block;
  }
  
  #select-month {
    /*font-size: 20px !important;
    width: 300px !important;
    float: right;
    color: #85021a !important;
    background: #fff !important;
    border: 2px solid #85021a !important;
    */
    appearance: none;
    background-color: #f8f8f8;
    border-radius: 0;
    border-width: 0;
    box-shadow: none;
    box-sizing: border-box;
    color: #a68550;
    cursor: text;
    display: block;
    font-family: HelveticaNeue,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 1em;
    font-weight: 400;
    height: 40px;
    line-height: 40px;
    margin: 0;
    outline: none;
    padding: 0 24px !important;
    position: relative;
    width: 100%;
    z-index: 1;
    text-transform: uppercase;
  }
  
  @media only screen and (max-width: 767px) {
    .production-lift {
      text-align: center !important;
    }
  
    .production-lift h2,
    .production-lift p {
      text-align: center !important;
    }
  
  
    article.event-list-item {
      text-align: center;
    }
  
  
    .event-date-p {
      text-align: center !important;
    }
  
    .event-title-h1 {
      text-align: center !important;
    }
  
    #select-month {
      margin: 20px 0 !important;
      float: none;
    }
  
  }
  
  #teatteri-exception .content {
    padding-top: 0;
    padding-bottom: 0;
  }
  .exception-hr {
    height: 50px;
  }
  body.page-id-1261 .exception-hr {
    height: 30px;
  }
  
  p.email-double-check {
    color: #85021a;
    font-weight: bold;
    font-size: 13px;
    margin: 0;
    padding: 4px 0;
  }


body.single-naytelma .production-events-table tr,
body.single-naytelma .production-events-table th,
body.single-naytelma .production-events-table td {
  text-align: left;
}
body.single-naytelma .production-events-table tr:nth-child(even) {
  background: #f8f8f8 !important;
}
body.single-naytelma .production-events-table tr:nth-child(odd) {
  background: #fff !important;
}

.wpcf7-list-item {
  margin: 0;
}

html.password-protected-page {
  height: 100%;
  background-color: #888;
  background: url(images/password-protected-page.jpg) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  height: 100%;
  overflow: hidden;
}
html.password-protected-page body {
  height: 100%;
}
body#password-protected .protected-login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;  
  height: 100%;
}
/*
body#password-protected .protected-login-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
*/
body#password-protected .protected-login-container {
  text-align: center;
  background: inherit;
  opacity: 1;
  position: relative;
  max-width: 504px;
  width: 100%;
  padding: 0 1rem;
}

body#password-protected .icon-wrapper {
  margin: 0 auto 36px auto;
  display: block;
  position: relative;
  overflow: hidden;
  transform: translatez(0);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid;
  box-sizing: border-box;
  border-color: #a2a2a2;
}
body#password-protected .icon-wrapper .use-background {
  fill: transparent;
}
body#password-protected .icon-wrapper .icon-wrapper svg {
  pointer-events: none;
}
body#password-protected .icon-wrapper .use-icon {
  fill: #a2a2a2;
}
body#password-protected .icon-wrapper .use-mask {
  fill: transparent;
}
body#password-protected .at-logo {
  width: 145px;
  height: 60px;
}
body#password-protected .protected-login-container p {
  text-align: center;
  font-family: "Helvetica Neue","Arial","sans-serif";
  font-size: 1rem;
  line-height: 1.3rem;
  text-transform: none;
  letter-spacing: .05rem;
  font-weight: normal;
  font-style: normal;
  color: #3a3a3a;
  
}
body#password-protected .protected-login-container p a {
  color: #3a3a3a;
  text-decoration: none;
  border-bottom: solid 1px rgba(58,58,58,.2);
  transition: border-color 170ms ease-in-out;
}
body#password-protected .protected-login-container p a:hover,
body#password-protected .protected-login-container p a:focus {
  color: #3a3a3a;
  border-bottom-color: #3a3a3a;
}
body#password-protected .protected-login-container input.password-protected-password {
  background-color: #fff;
  color: #3a3a3a;
  padding: 14px 48px 14px 15px;
  height: 44px;
  transition: padding-right .1s ease-in-out;
  font-family: "Helvetica Neue","Arial","sans-serif";
  letter-spacing: .05em;
  font-size: 1rem;
  text-transform: none;
  font-weight: normal;
  font-style: normal;
  box-sizing: border-box;
  line-height: 1rem;
  border-color: #555;
  background-color: #f8f8f8;
  -webkit-appearance: none;
  border: 1px solid #e1e1e1;
  outline: none;
  font: 1rem "HelveticaNeue","Helvetica Neue",Helvetica,Arial,sans-serif;
  color: #777;
  margin: .5rem 0;
}
body#password-protected .protected-login-container input.password-protected-submit {
  height: 44px;
  margin: .5rem 0;
  background-color: #efefef;
  color: #000;
  border: 1px solid #e1e1e1;
  font-family: "Helvetica Neue","Arial","sans-serif";
  letter-spacing: .05em;
  font-size: 1rem;
  text-transform: none;
  font-weight: normal;
  font-style: normal;
  box-sizing: border-box;
  line-height: 1rem;
  font: 1rem "HelveticaNeue","Helvetica Neue",Helvetica,Arial,sans-serif;
  outline: none;
}
body#password-protected .protected-login-container input.password-protected-submit:hover {
  background-color: #e2e2e2;
  border-color: #d5d5d5;
}

/* Frontpage */
.production-lift.flex_column.av_one_third {
  /*width: 30.666666666667%;*/
  width: 28.666667%;
}
.production-lift .av-special-heading {
  margin-top: 0 !important;
}
.production-lift .av-special-heading .av-special-heading-tag {
  font-size: 22px !important;
}


/* Esityskalenteri */
.page-template-template-esityskalenteri #h1-esityskalenteri.av-special-heading-tag {
  font-size: 50px !important;
}

.page-template-template-esityskalenteri .milkcoffee.avia-section {
  background: #a68550;
}
.page-template-template-esityskalenteri .milkcoffee.avia-section .av-special-heading-tag {
  color: #ffffff !important;
  font-size: 30px !important;
}
p.event-date-p {
  border-color: #ebebeb;
  border-width: 0;
  box-sizing: border-box;
  color: #000;
  font-family: lato,Helvetica,Arial,sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 33px;
  margin: 17px 0;
  overflow-wrap: break-word;
  padding: 0;
  vertical-align: baseline;
  word-wrap: break-word;
}

p.event-date-p strong {
  border-color: #ebebeb;
  border-width: 0;
  box-sizing: border-box;
  color: #96733b;
  font-family: inherit;
  font-size: inherit;
  font-stretch: inherit;
  font-style: inherit;
  font-variant-caps: inherit;
  font-variant-east-asian: inherit;
  font-variant-ligatures: inherit;
  font-variant-numeric: inherit;
  font-weight: 700;
  line-height: inherit;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  word-wrap: break-word;
}

p.event-date-p span {
  color: #96733B;
  font-size: 20px;
}
h2.event-title-h2 {
  font-size: 24px !important;
}

@media only screen and (max-width: 767px) {
  #top #wrap_all .av-special-heading .av-special-heading-tag {
    font-size: 50px;
  }
  .page-template-template-esityskalenteri .av-special-heading-tag {
    text-align: center;
  }

  .page-template-template-esityskalenteri .avia-button-right {
    display: block;
    text-align: center;
    clear: both;
    float: none;
    max-width: 105px;
    margin: 0 auto;
  }
  .page-template-template-esityskalenteri .avia-button.avia-position-right {
    text-align: center;
    clear: both;
    float: none;
  }
  /*
  article.event-list-item div.avia_textblock > p.event-date-p {
    text-align: left !important;
  }
  article.event-list-item div.av-special-heading,
  article.event-list-item div.av-special-heading h2 {
    text-align: left !important;
  }
  */
}
