/*
	Theme Name: Karina 2017 Theme
	Author: Mathias Bär
	Author URI: http://mathiasbaer.com
	Version: 0.1 alpha
*/

@media (min-width: 1681px) {
  .schedule-entry {
    width: 33.3%;
  }
}

@media (max-width: 1680px) {
  .mbc-font {
    font-size: 80px;
  }
  .nav-link-sub:not(.nav-link-break):not(.special-link) {
    display: inline-block;
  }
  .nav-link-sub-container {
    padding-right: 18px;
  }
}

@media (max-width: 1440px) {
  .mbc-font {
    font-size: 70px;
  }
  html,
  .image-entry .wp-caption-text {
    font-size: 16px;
    line-height: 19px;
  }
  .entry {
    line-height: 19px;
  }
  .about-entry p, .press-entry .entry-content {
    line-height: 20px;
  }
  .entry-title,
  .entry h1,
  .press-entry .entry-title {
    font-size: 24px;
    line-height: 26px;
  }



}


/* 1280 */
@media (max-width: 1280px) {

  nav.desktop {
    width: 260px;
    padding: 20px 0px;
  }
  .social-media-links {
    padding-left: 0;
  }

  .about-entry p {
    line-height: 22px;
  }
  .press-entry .entry-content {
    line-height: 21px;
  }

  .header-container-top {
    padding-right: 300px;
  }

  /* entries */

  .about-entry {
    width: 50vw;
    padding-right: 40px;
  }

  .image-entry.is-enlarged {
    width: calc(100vw - 280px);
  }

  .contact-entry {
    width: 50%;
  }
}

@media (min-width: 1024px) {
  .sub-section-title {
    width: 79vw;
  }
}

/* from tablet portrait down */

@media (max-width: 1024px) {

  .sub-section-title {
    margin-bottom: 20px;
  }

  .image-entry.is-enlarged {
    width: 93vw;
  }

  .mbc-font {
    font-size: 50px;
  }

  section .section-wrapper {
    width: 100%;
    padding-right: 220px;
  }
  section .entry {
    width: 50%;
  }

  section .about-entry {
    display: block;
  }

  .header-container-bottom {
    bottom: 35px;
  }

  .social-media-links {
    width: 100%;
    position: static;
  }

  nav.desktop {
    width: 50%;
    top: 0;
    left: 100%;
    /*left: 0;*/
    border: 0;
    padding-left: 20px;
    padding-top: 11px;
    /*right: -180px;*/
    background: #1d2d62;
  }

  nav.desktop .nav-page-link-wrapper {
    display: block;
    height: auto;
    margin-bottom: 1.1em;
  }

  .nav-link-break span,
  nav a {
    line-height: 30px;
  }

  nav.desktop .nav-link-sub-container {
    margin-bottom: 15px;
  }

  nav.desktop > * {
    flex-grow: 0 !important;
  }

  nav.mobile {
    display: block;
  }

  .nav-link-container.is-active {
    min-height: auto;
  }

  .nav-link-container.is-active .nav-link-sub-container {
    position: static;
  }

  nav.desktop .nav-page-link-wrapper .nav-link-container.is-active {
    min-height: auto;
  }

  section .section-wrapper {
    padding-right: 35px;
  }

  body.show-nav-mobile .section-wrapper {
    margin-left: -100%;
  }

  body.show-nav-mobile .mobile-title-background-container {
    display: none;
  }

  /* font size */
  html,
  .image-entry .wp-caption-text {
    font-size: 16px;
    line-height: 19px;
  }
  .entry {
    line-height: 19px;
  }
  .season-title,
  .entry-title,
  .entry h1 {
    font-size: 23px;
    line-height: 1em;
  }

  /* margins */

  .entry-wrapper {
    padding: 15px 15px;
  }

  .entry-title, h1 {
    margin-bottom: 16px;
  }

  .entry-venue {
    margin-bottom: 0px;
  }

  .title-font {
    height: 30px;
    /*margin-left: 20px;*/
  }

  .schedule-entry .entry-head {
    padding-right: 0px;
  }

  .schedule-entry-start {
    display: none;
  }

  .about-entry .entry-wrapper {
    padding-left: 15px;
  }
  .about-entry {
    padding-right: 0;
  }

  .about-entry p, .press-entry .entry-content {
    line-height: 20px;
  }

  .header-container-top {
     padding-right: 0px;
  }

  /* pre launch index */

  #pre-launch-index {
    height: 100vh;
    font-size: 16px;
  }


  .pre-launch-title {
    text-transform: uppercase;
    font-size: 36px;
    letter-spacing: 0.06em;
    margin-left: -0.06em;
    line-height: 0.95em;
    width: calc(100vw - 20px);
  }

  .pre-launch-bottom,
  .pre-launch-top {
    padding-left:  0;
  }

  .pre-launch-bottom li:not(:first-child):not(:last-child) {
    margin-bottom: 1em;
  }
}

@media (max-height: 400px) {
  .nav-link-sub-container {
    display: none;
  }
}

@media (max-width: 500px) {
  nav.desktop {
    width: 90%;
  }
  body.show-nav-mobile nav.desktop {
    left: 10%;
  }
  .mbc-font {
    font-size: 39px;
  }
  section {
    min-height: auto;
    padding: 200px 50px 0px 0px;
  }
  section .entry {
    width: 100%;
  }

  section .entry .entry-head {
    padding-left: 0px !important;
  }

  section .section-wrapper {
    padding-right: 0;
  }

  .header-container-bottom {
    padding-left: 0;
    bottom: 55px;
  }
  .header-container-top {
    width: 100%;
  }

  .super-title,
  .season-title {
    padding-left: 15px;
  }
  .super-title {
    letter-spacing: 0.03em;
  }
  .header-container-top {
    padding-left: 45px;
    padding-left: 0px;
    width: 100%;
    /* padding-right: 18.5vw; */
  }

  section[data-template-id="schedule"] .header-container-top,
  section[data-template-id="press"] .header-container-top,
  section[data-template-id="contact"] .header-container-top,
  section[data-template-id="about"] .header-container-top,
  section[data-template-id="media"] .header-container-top {
    height: 200px;
    padding-bottom: 0;
    padding-top: 0;
  }
  section[data-template-id="media"] {
    padding-left: 20px;
  }
  section[data-template-id="media"] .entry {
    padding: 0 10px 20px 0;
  }
  section:last-child .section-wrapper {
    min-height: auto;
  }
}

@media (max-width: 350px) {
  .sub-section-title .char {
    letter-spacing: 0.5em !important;
  }
}
