@media screen and (min-width: 767px) and (max-width: 1300px) {
  body.text-page nav.subnav ul li {
    margin: 0 10px;
  }
}
@media screen and (min-width: 767px) and (max-width: 1100px) {
  nav ul.main-menu li {
    font-size: 17px;
  }
  nav ul.main-menu li.left {
    margin-right: 30px;
  }
  nav ul.main-menu li.right {
    margin-left: 30px;
  }
}
@media screen and (max-width: 768px) {
  .event-info-def {
    border-top: none !important;
    min-height: 205px;
    height: auto;
  }
  .event-info-def h1 {
    font-size: 24px;
    line-height: 28px;
    font-weight: 400;
    margin-bottom: 14px;
    height: auto;
  }
  .event-info-def .event-date {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .event-info-def .event-short-description a > .link-hover-icon {
    opacity: 1;
  }
  .container {
    padding: 0 10px;
  }
  .mobile-only {
    display: block !important;
  }
  .desktop-only {
    display: none !important;
  }
  body.menu-open .nav-wrapper .main-menu-nav {
    height: 100px;
  }
  body.menu-open > main {
    margin-top: 100px;
  }
  .nav-wrapper .main-menu-nav {
    height: 60px;
    width: 100% !important;
    -webkit-transition: height 0.2s cubic-bezier(0.51, 0.01, 0.18, 1.03) !important;
    -moz-transition: height 0.2s cubic-bezier(0.51, 0.01, 0.18, 1.03) !important;
    -o-transition: height 0.2s cubic-bezier(0.51, 0.01, 0.18, 1.03) !important;
    transition: height 0.2s cubic-bezier(0.51, 0.01, 0.18, 1.03) !important;
  }
  .nav-wrapper .main-menu-nav .toggle-menu {
    position: absolute;
    top: 19px;
    right: 14px;
    width: 20px;
    height: 20px;
    transform: rotate(45deg);
    -webkit-transition: transform 0.2s cubic-bezier(0.51, 0.01, 0.18, 1.03) !important;
    -moz-transition: transform 0.2s cubic-bezier(0.51, 0.01, 0.18, 1.03) !important;
    -o-transition: transform 0.2s cubic-bezier(0.51, 0.01, 0.18, 1.03) !important;
    transition: transform 0.2s cubic-bezier(0.51, 0.01, 0.18, 1.03) !important;
  }
  .nav-wrapper .main-menu-nav .toggle-menu svg {
    width: 100%;
    height: 100%;
  }
  .nav-wrapper .main-menu-nav .toggle-menu.menu-open {
    transform: rotate(0deg);
  }
  .nav-wrapper .main-menu-nav .language-menu {
    top: 5px;
    left: 10px;
    right: auto;
    padding: 0;
  }
  .nav-wrapper .main-menu-nav .language-menu li {
    margin-left: 0;
  }
  .nav-wrapper .main-menu-nav .language-menu li.current {
    display: none;
  }
  .nav-wrapper .main-menu-nav .main-menu.mobile-only {
    padding-top: 60px;
    text-align: justify;
    border-bottom: 1px solid #4d4785;
  }
  .nav-wrapper .main-menu-nav .main-menu.mobile-only:after {
    content: "";
    width: 100%;
    display: inline-block;
  }
  .nav-wrapper .main-menu-nav .main-menu.mobile-only .logo {
    width: 75px;
    height: 27px;
    top: 18px;
  }
  .nav-wrapper .main-menu-nav .main-menu.mobile-only .logo svg {
    width: 100% !important;
    height: 100% !important;
  }
  .nav-wrapper .main-menu-nav .main-menu.mobile-only li {
    display: inline;
    line-height: 30px;
    font-size: 14px;
    margin: auto;
  }
  .nav-wrapper .main-menu-nav .main-menu.mobile-only li a {
    display: inline-block;
    text-align: left;
    position: relative;
  }
  .nav-wrapper .main-menu-nav .main-menu.mobile-only li .menu-hover-icon {
    display: none;
  }
  .nav-wrapper .main-menu-nav .main-menu.mobile-only li.selected a {
    color: #878787;
  }
  .nav-wrapper .main-menu-nav .main-menu.mobile-only li.child.left,
  .nav-wrapper .main-menu-nav .main-menu.mobile-only li.child.right {
    float: none;
  }
  body {
    font-size: 14px;
    line-height: 18px;
    padding-bottom: 0;
  }
  body > main {
    margin-top: 61px;
    -webkit-transition: margin-top 0.2s cubic-bezier(0.51, 0.01, 0.18, 1.03) !important;
    -moz-transition: margin-top 0.2s cubic-bezier(0.51, 0.01, 0.18, 1.03) !important;
    -o-transition: margin-top 0.2s cubic-bezier(0.51, 0.01, 0.18, 1.03) !important;
    transition: margin-top 0.2s cubic-bezier(0.51, 0.01, 0.18, 1.03) !important;
  }
  #homepage-carousel {
    height: 200px;
  }
  #homepage-carousel .carousel-control {
    display: none;
  }
  #homepage-carousel .carousel-inner .item .item-overlay {
    text-align: center;
  }
  #homepage-carousel .carousel-inner .item .item-overlay .play-icon {
    margin: 0;
  }
  .welcome {
    text-align: center;
  }
  .upcoming-events-container {
    margin: 7px -8px 0 -8px;
  }
  .upcoming-events-container .events-col .event-info {
    border-top: none !important;
    min-height: 205px;
    height: auto;
  }
  .upcoming-events-container .events-col .event-info h1 {
    font-size: 24px;
    line-height: 28px;
    font-weight: 400;
    margin-bottom: 14px;
    height: auto;
  }
  .upcoming-events-container .events-col .event-info .event-date {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .upcoming-events-container .events-col .event-info .event-short-description a > .link-hover-icon {
    opacity: 1;
  }
  .upcoming-events-container .events-col.last .event-info {
    border-bottom: none !important;
  }
  #footer {
    height: 230px;
  }
  #footer .first-col {
    display: none;
  }
  #footer .second-col {
    padding: 0 10px;
    max-width: 140px;
    margin: 0 auto;
    margin-bottom: 40px;
  }
  #footer .third-col {
    padding: 0 10px;
    width: 240px;
    margin: 0 auto;
  }
  #footer .third-col a {
    margin: 0 5px;
  }
  body.home .films-grid,
  body.home .films-grid-filter,
  body.home .loading-vijuga {
    display: none !important;
  }
  .films-grid-filter {
    margin: 20px 0;
  }
  .films-grid-filter .filter {
    font-size: 12px;
    width: 100%;
  }
  .films-grid-filter .filter .current-selection.open + .filter-dropdown {
    height: auto;
  }
  .films-grid-filter .filter .filter-dropdown {
    width: auto;
    height: auto;
    padding: 0 10px 10px 10px;
  }
  .films-grid .col-md-4 {
    padding: 0;
  }
  .films-grid .film-grid-element {
    height: 235px;
    margin-bottom: 10px;
  }
  body.film-detail .film-container .film-info {
    padding: 0 0 5px 0;
  }
  body.film-detail .film-container .film-info h1 {
    font-size: 22px;
    line-height: 26px;
    margin-top: 20px;
  }
  body.film-detail .film-container .film-info .toggle-button {
    margin: 15px 0 10px 0;
  }
  body.film-detail .film-container .film-info .film-description,
  body.film-detail .film-container .film-info .film-date {
    font-size: 12px;
    line-height: 16px;
  }
  body.film-detail .film-container .film-info .film-colophon,
  body.film-detail .film-container .film-info .colophon-button,
  body.film-detail .film-container .film-info .film-festivals,
  body.film-detail .film-container .film-info .film-festivals-button {
    font-size: 10px;
    line-height: 13px;
  }
  body.film-detail .film-container .film-info .film-colophon .toggle-icon,
  body.film-detail .film-container .film-info .colophon-button .toggle-icon,
  body.film-detail .film-container .film-info .film-festivals .toggle-icon,
  body.film-detail .film-container .film-info .film-festivals-button .toggle-icon {
    font-size: inherit;
    line-height: inherit;
  }
  body.film-detail .toggle-button {
    font-size: 12px;
    line-height: 16px;
  }
  body.film-detail .film-gallery .image {
    height: 235px !important;
    margin-bottom: 10px;
  }
  body.film-detail .film-gallery .gallery-count {
    display: none;
  }
  body.film-detail .film-bottom {
    position: relative;
    margin: -10px 0 0 0;
    font-size: 14px;
    line-height: 58px;
  }
  body.film-detail .film-bottom .arrow {
    padding: 0 !important;
  }
  body.film-detail .film-bottom .left-col {
    text-align: left;
  }
  body.film-detail .film-bottom .right-col {
    text-align: right;
  }
  body.film-detail .film-bottom .bottom-col {
    border-top: 1px solid #4d4785;
    text-align: center;
  }
  .footer-z {
    display: none;
  }
  body:not(.home) #footer {
    display: none;
  }
  body.text-page .mobile-invisible {
    display: none;
  }
  body.text-page main.container {
    min-height: 100vh;
  }
  body.text-page.zvviks-edu .gallery {
    margin-top: 20px;
  }
  body.text-page.zvviks-edu .gallery .gallery-item-grid-element {
    height: 235px;
    pointer-events: none;
  }
  body.text-page.zvviks-edu .films-grid {
    margin-top: 0;
  }
  body.text-page.zvviks-edu .films-grid-filter {
    padding-bottom: 10px;
    background: none;
  }
  body.text-page.zvviks-edu .films-grid-filter .filter-dropdown {
    top: -37px;
  }
  body.text-page.zvviks-edu.projections .text-content p:first-of-type {
    margin-top: 0;
  }
  body.text-page.zvviks-edu.projections .text-content p:last-child {
    margin-bottom: 14px !important;
  }
  body.text-page.zvviks-edu main.container {
    background-color: #f9eae9;
  }
  body.text-page.zvviks-edu main.container .bottom-placeholder {
    position: relative;
    top: -15px;
  }
  body.text-page.zvviks-edu main.container .bottom-placeholder::after {
    content: "";
    margin: 26px 0 26px 0;
    display: block;
    height: 1px;
    background-color: #4d4785;
  }
  body.text-page.zvviks-edu main.container .content-wrapper::after {
    display: none !important;
  }
  body.text-page.about-us main.container,
  body.text-page.about main.container {
    background-color: #eae7f0;
  }
  body.text-page.about-us .three-col-text p:last-child,
  body.text-page.about .three-col-text p:last-child {
    margin-bottom: 0;
  }
  body.text-page .content-wrapper {
    margin: 0 -10px 0 -10px;
    padding: 0 10px 0 10px;
  }
  body.text-page .content-wrapper nav.subnav {
    margin: 0;
  }
  body.text-page .content-wrapper nav.subnav ul li {
    position: relative;
    width: 100%;
    vertical-align: middle;
    line-height: 47px;
    border-bottom: 1px solid #4d4785;
    max-width: none;
    margin: 0;
    font-size: 14px;
  }
  body.text-page .content-wrapper nav.subnav ul li .menu-hover-icon {
    display: none;
  }
  body.text-page .content-wrapper nav.subnav ul li a {
    display: block;
    width: 100%;
    height: 100%;
  }
  body.text-page .content-wrapper nav.subnav ul li a .open-icon {
    position: absolute;
    top: 0;
    right: 6px;
  }
  body.text-page .content-wrapper::after {
    content: "";
    display: none;
    margin: 10px 0 26px 0;
    height: 1px;
    background-color: #4d4785;
  }
  body.text-page .content-wrapper.closed-menu nav.subnav {
    display: none;
  }
  body.text-page .content-wrapper.closed-menu::after {
    display: block;
  }
  body.text-page .content-wrapper .text-content-header {
    position: relative;
    text-align: center;
    margin-bottom: 14px !important;
  }
  body.text-page .content-wrapper .text-content-header h1 {
    font-size: 14px;
    line-height: 18px;
    font-weight: normal;
    margin-top: 0;
  }
  body.text-page .content-wrapper .text-content-header .close {
    position: absolute;
    top: 5px;
    right: 6px;
    width: 14px;
    height: 14px;
  }
  body.text-page .content-wrapper .text-content-header .close svg {
    height: 100%;
    width: 100%;
  }
  body.text-page .content-wrapper .three-col-text {
    column-count: 1;
    max-width: none;
  }
  body.text-page .content-wrapper .text-content-container {
    padding: 14px 0;
    text-align: left;
  }
  body.text-page .content-wrapper .text-content-container h1 {
    font-size: 14px;
    line-height: 18px;
    margin: 0;
  }
  body.text-page .content-wrapper .text-content-container .text-content:last-of-type p:last-of-type {
    margin-bottom: 0;
  }
  body.text-page .content-wrapper .map {
    margin-top: 17px;
  }
  body.text-page .newsletter-form {
    max-width: 282px;
    margin: 0 auto;
  }
  body.text-page .newsletter-form form {
    width: 100%;
  }
  body.text-page .newsletter-form form input {
    width: 175px;
  }
  body.text-page .newsletter-form form input[type='submit'] {
    width: 89px;
    padding: 0;
  }
  body.text-page .newsletter-description {
    margin: 0 auto 33px auto;
    max-width: 282px;
  }
  body.text-page .team-member {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 16px;
    margin-right: 0;
  }
  body.text-page.zvviks .text-content,
  body.text-page.zvviks-edu .text-content {
    text-align: left;
  }
  body.text-page.partnerji .three-col-text,
  body.text-page.partners .three-col-text,
  body.text-page.partnerji-prijatelji .three-col-text,
  body.text-page.associates-and-friends .three-col-text {
    column-count: 2;
  }
  body.text-page.partnerji .text-content,
  body.text-page.partners .text-content,
  body.text-page.partnerji-prijatelji .text-content,
  body.text-page.associates-and-friends .text-content {
    text-align: center;
  }
  body.text-page.about .content-wrapper::after,
  body.text-page.o-nas .content-wrapper::after {
    display: none !important;
  }
  body.text-page.materials .content-wrapper {
    min-height: 100vh;
    padding-bottom: 26px;
  }
  body.text-page.materials .content-wrapper .text-content {
    margin: 20px 0;
  }
  body.text-page.materials .content-wrapper .materials-wrapper > h1 {
    margin: 20px;
  }
  body.text-page.materials .content-wrapper .materials-wrapper .row {
    padding: 0 10px;
  }
  body.text-page.materials .content-wrapper .materials-wrapper .row .material {
    width: 100%;
    margin: 0;
  }
  body.text-page.materials .content-wrapper .materials-wrapper .row .material .zoom,
  body.text-page.materials .content-wrapper .materials-wrapper .row .material .image {
    display: none;
  }
  body.text-page.materials .content-wrapper .materials-wrapper .row .material h1 {
    font-weight: 400;
    font-size: 14px;
    line-height: 47px;
    border-top: 1px solid #4d4785;
    margin: 0;
  }
  body.text-page.materials .content-wrapper .materials-wrapper .row .material h1 .open-icon {
    position: absolute;
    top: 0;
    right: 6px;
  }
  body.text-page.materials .content-wrapper .materials-wrapper .row .material-popup {
    position: static;
    height: auto;
    top: auto;
    left: auto;
    display: none;
  }
  body.text-page.materials .content-wrapper .materials-wrapper .row .material-popup.open {
    display: block;
  }
  body.text-page.materials .content-wrapper .materials-wrapper .row .material-popup .material-popup-wrapper {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    height: auto;
  }
  body.text-page.materials .content-wrapper .materials-wrapper .row .material-popup .material-popup-wrapper .description {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    text-align: center;
    transform: none;
  }
  body.text-page.materials .content-wrapper .materials-wrapper .row .material-popup .material-popup-wrapper .description .image {
    float: none;
    height: 235px;
    width: 100%;
    min-height: 0;
    margin-bottom: 10px;
    background-size: contain;
  }
  body.text-page.materials .content-wrapper .materials-wrapper .row .material-popup .material-popup-wrapper .description .title {
    margin-bottom: 10px;
  }
  body.text-page.materials .content-wrapper .materials-wrapper .row .material-popup .material-popup-wrapper .isbn {
    position: static;
    bottom: auto;
    left: auto;
    transform: none;
    margin-bottom: 10px;
  }
  body.text-page.materials .content-wrapper .materials-wrapper .row .material-popup .close,
  body.text-page.materials .content-wrapper .materials-wrapper .row .material-popup .title > h1 {
    display: none;
  }
  body.text-page.materials .content-wrapper .materials-wrapper .row .separator {
    height: 1px;
    width: 100%;
    background-color: #4d4785;
  }
  .newsletter-small-form {
    left: -25px;
  }
  body .main-menu > li:not(.logo) {
    opacity: 0;
    -webkit-transition: opacity 0.2s cubic-bezier(0.51, 0.01, 0.18, 1.03) !important;
    -moz-transition: opacity 0.2s cubic-bezier(0.51, 0.01, 0.18, 1.03) !important;
    -o-transition: opacity 0.2s cubic-bezier(0.51, 0.01, 0.18, 1.03) !important;
    transition: opacity 0.2s cubic-bezier(0.51, 0.01, 0.18, 1.03) !important;
  }
  body.loaded .main-menu > li:not(.logo) {
    opacity: 1;
  }
  .mentor {
    margin: 0;
    width: 100%;
    text-align: left;
  }
  .mentor strong {
    color: #dd5553;
  }
  .mentor .vijuga,
  .mentor .name,
  .mentor .image,
  .mentor .description,
  .mentor .zoom {
    display: none;
  }
  .mentor .long-description a {
    display: none;
  }
  .events-grid-filter {
    margin: 20px 0;
  }
  .events-grid-filter .filter {
    width: 100%;
    font-size: 12px;
  }
  .events-grid-filter .filter .filter-dropdown {
    width: auto;
    padding: 0 10px 10px 10px;
  }
  .events-grid-filter .filter:hover .filter-dropdown {
    height: auto !important;
  }
  .events-grid {
    padding: 0;
  }
  .events-grid .event-grid-element {
    height: auto;
  }
  .events-grid .event-grid-element .event-thumbnail {
    height: 235px;
  }
  .events-grid .event-grid-element .event-info {
    border-top: none !important;
    min-height: 205px;
    height: auto;
    padding-top: 30px;
  }
  .events-grid .event-grid-element .event-info h1 {
    font-size: 24px;
    line-height: 28px;
    font-weight: 400;
    margin-bottom: 14px;
    height: auto;
  }
  .events-grid .event-grid-element .event-info .event-date {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .events-grid .event-grid-element .event-info .event-short-description a > .link-hover-icon {
    opacity: 1;
  }
  .events-grid .event-grid-element .event-info h1 {
    margin-bottom: 10px;
  }
  body.event-detail .event-container .event-info {
    border-top: none !important;
    min-height: 205px;
    height: auto;
    padding: 0 0 15px 0;
    margin-bottom: 26px;
    border-bottom: 1px solid #4d4785;
  }
  body.event-detail .event-container .event-info h1 {
    font-size: 24px;
    line-height: 28px;
    font-weight: 400;
    margin-bottom: 14px;
    height: auto;
  }
  body.event-detail .event-container .event-info .event-date {
    font-size: 12px;
    margin-bottom: 10px;
  }
  body.event-detail .event-container .event-info .event-short-description a > .link-hover-icon {
    opacity: 1;
  }
  body.event-detail .event-container .event-info h1 {
    margin-bottom: 15px;
  }
  body.event-detail .event-container #event-mobile-carousel {
    height: 235px;
    margin-bottom: 40px;
  }
  body.event-detail .event-container #event-mobile-carousel .carousel-inner {
    width: 100%;
    height: 100%;
  }
  body.event-detail .event-container #event-mobile-carousel .carousel-inner .item {
    width: 100%;
    height: 100%;
    cursor: pointer;
  }
  body.event-detail .event-container #event-mobile-carousel .carousel-inner .item .image-container {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  body.event-detail .event-container #event-mobile-carousel .dots {
    position: static;
    bottom: auto;
    left: auto;
    width: auto;
    margin-left: 0;
  }
  body.event-detail .event-container #event-mobile-carousel .dots .dot {
    margin: 0 4px;
    line-height: 40px;
    fill: #878787 !important;
  }
  body.event-detail .event-container #event-mobile-carousel .dots .dot.active circle {
    fill: #4d4785;
  }
  body.event-detail .event-container .share .share-label,
  body.event-detail .event-container .share .print-link {
    display: none;
  }
  body.event-detail .event-container .share .copy-link {
    display: inline-block !important;
  }
  #cookies-prompt {
    font-size: 14px;
    line-height: 18px;
    height: 100px;
  }
  #cookies-prompt .prompt-container {
    min-height: 100px;
  }
  #cookies-prompt #cookie-notice-text {
    line-height: 18px;
  }
  #cookies-details-window {
    font-size: 14px;
    line-height: 18px;
    padding: 10px 10px 10px 10px;
    min-height: 100vh;
  }
  #cookies-details-window h1 {
    font-size: 14px;
    line-height: 18px;
  }
  #cookies-details-window h2 {
    font-size: 14px;
    line-height: 18px;
    margin: 0;
  }
  #cookies-details-window .row {
    margin-top: 20px;
  }
  #fullscreen-homepage-player iframe {
    position: static;
    top: auto;
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
  }
}
