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

  .donate_ribbon.index {
    position: fixed;
    top: 40px;
  }

  .donate_ribbon.inside {
    position: fixed;
    top: 40px !important;
  }

  .container {
    top: 40px;
    /*top: 70px;*/
  }

  .panel.blue {
    height: auto !important;
    min-height: 66px;
  }

  .panel .back {
    display: none !important;
  }

  .panel.blue.size1x2 .front,
  .panel.blue.size1x2_5 .front,
  .panel.blue.size1x2_75 .front {
    position: static; /*todo can make a lot of bugs, sorry */
  }

  .header .bg {
    height: 40px !important;
  }

  .header .logo {
    background: url(i/dd-logo.svg);
    width: 51px;
    height: 64px;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
  }

  .header .leftside .indent {
    margin-left: 10px;
  }

  .header a.lang {
    position: absolute;
    left: 100px;
    top: 13px;
  }

  .header .leftside {
    margin-right: 0;
    width: 100%;
    position: relative;
    z-index: 1001;
  }

  .menu-toggler {
    position: absolute;
    right: 5px;
    width: 40px;
    height: 30px;
    font-size: 0;
    top: 5px;
    cursor: pointer;
  }

  .menu-toggler span {
    display: block;
    position: absolute;
    left: 5px;
    right: 5px;
    top: 50%;
    margin-top: -1px;
    height: 2px;
    background: #fff;
    -moz-transition: all .5s;
    -webkit-transition: all .5s;
    transition: all .5s;
  }

  .menu-toggler:before {
    content: '';
    display: block;
    position: absolute;
    margin: 0 5px;
    top: 5px;
    height: 2px;
    background: #fff;
    width: 30px;
    -moz-transition: all .5s;
    -webkit-transition: all .5s;
    transition: all .5s;
  }

  .menu-toggler:after {
    content: '';
    display: block;
    position: absolute;
    margin: 0 5px;
    bottom: 5px;
    height: 2px;
    background: #fff;
    width: 30px;
    -moz-transition: all .5s;
    -webkit-transition: all .5s;
    transition: all .5s;
  }

  .menu-toggler.opened span {
    display: none;
  }

  .menu-toggler.opened:before {
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 14px;
  }

  .menu-toggler.opened:after {
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    bottom: 14px;
  }

  .header .box,
  .header {
    width: 100%;
    min-width: 1px;
  }

  .menu {
    position: relative;
    display: none;
    visibility: hidden;
    opacity: 0;
    z-index: -1000;
    padding: 10px 30px;
    text-align: center;
    /*width: 100%;*/
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-transition: opacity .5s, visibility .5s;
    -webkit-transition: opacity .5s, visibility .5s;
    transition: opacity .5s, visibility .5s;
  }

  .menu .row {
    display: block;
  }

  .menu .row div {
    display: block;
  }

  .header .leftside {
    float: none;
  }

  .menu .row a {
    display: block;
    /*width: 100%;*/
    padding: 0 !important;
    line-height: 32px;
    font-size: 14px !important;
  }

  .menu a.active {
    border-bottom: none;
  }

  .menu .row a:active,
  .menu .row a:focus,
  .menu .row a:hover,
  .menu .row a:visited {
/*     background: none !important; */
    outline: none !important;
  }

  .menu.outside a, .menu.inside a {
    white-space: initial;
    width: initial;
  }

  .header {
    -moz-transition: background .5s;
    -webkit-transition: background .5s;
    transition: background .5s;
    height: 40px;
  }

  .header.opened .menu {
    visibility: visible;
    opacity: 1;
    z-index: 1000;
    display: block;
    margin-top: 70px;
    margin-right: 0;
  }

  .header.opened {
    height: 100%;
    bottom: 0;
    background: #0b4056;
    overflow: auto;
  }

  .header .box {
  }

  .header.opened .box {
  }

  .ovhidden {
    overflow: hidden;
  }

  /*.bg-inside,
  .filtr {
    display: none;
  }*/

  .panel {
    margin-bottom: 10px;
  }

  .panel.size2x2 {
    width: 220px;
    height: 340px;
    overflow: hidden;
  }

  .panel.size2x2 .front .shadow {
    display: none;
  }

  .panel.size2x2 .front .title {
    font-size: 14px;
    width: auto;
    position: absolute;
    top: auto;
    left: 20px;
    bottom: 60px;
    right: 20px;
    padding: 0;
  }

  .panel.size2x2 .front .category {
    padding: 0;
    left: 20px;
    bottom: 20px;
  }

  .panel.size2x2 .front .shadow {
    display: block;
    height: 160px;
  }

  .panel.award.size2x2 .front .title {
    top: 240px;
  }


  .panel.size2x2 .front div:first-child {
    /*overflow: hidden;*/
  }

  .panel.size2x1 {
    width: 220px;
    height: 380px;
  }

  .panel.size2x1 table,
  .panel.size2x1 tr,
  .panel.size2x1 td {
    display: block;
  }

  .panel .front .fsize18 {
    padding: 20px;
  }

  .panel img {
    max-width: 100%;
    height: auto;
  }

  .panel.long-panel .front,
  .panel.long-panel .back,
  .panel.long-panel {
    width: 100%;
  }

  .panel.size1x3 {
    width: 100%;
    height: 220px;
  }

  .panel.size1x3 .front2 {
    left: 240px;
    top: 0;
    height: 220px;
  }

  .container.inside {
    top: 80px;
  }

  .footer {

  }

  .footer-menu__row {
    flex-wrap: wrap;
  }

  .footer-menu__item {
    flex-basis: 30%;
    margin-bottom: 30px;
  }

  .footer-menu__item-spacer {
    flex-basis: 5%;
  }

  .footer-menu__item-spacer:nth-child(3n) {
    display: none;
  }

  .footer-menu__item-spacer:nth-child(4n) {
    display: initial;
  }

  .footer a.perev,
  .footer .copy {
    float: none;
    display: inline-block;
  }

  .panel.size2x1 .front img {
    width: auto;
  }

  .container .panel.size1x2 {
    /*height: 460px;*/
  }

  .container .panel.size1x2.donate {
    height: auto;
  }

  .panel.donate .souvenir__buy-button {
    display: inline-block;
    margin-left: 20px;
    margin-bottom: 20px;
    position: static;
  }

  .bg-inside {
    display: none;
  }

  .filtr .items {
    right: -150px;
  }

  .filtr .search_one .inputsearch {
    right: -200px;
  }

  .filtr .icon,
  .filtr .icon.groups {
    right: 0;
  }

  .inside .panel.size1x3 .front2 {
    top: 220px;
    left: 0;
    width: 100%;
    height: 260px;
  }

  .inside .panel.size1x3 {
    height: 480px;
  }

  .locations .panel.long-panel {
    height: 700px !important;
  }

  .locations .panel.long-panel .image,
  .locations .panel.long-panel .image img {
    width: 100%;
  }

  .locations .panel.long-panel .info,
  .locations .panel.long-panel .description {
    padding: 0 10px;
  }

  .location-info {
    position: fixed;
    top: 50px;
    opacity: .9;
    z-index: 100;
  }

  .location-info .size1x1 {
    display: none;
  }

  .location-map {
    position: relative;
    top: 40px;
    height: 100vh;
    margin-bottom: -80px;
  }

  .panel.blue.size1x2.mobile-only {
	  border: 1px solid #335cae;
  }
  .panel.blue.size1x2.mobile-only a {
	  background: #222426;
  }
  .panel.blue.size1x2.mobile-only a.active {
	  background: #335bad;
  }
  .panel.flip .front{
	-webkit-transform: rotateY(00deg);
    -moz-transform: rotateY(00deg);
    -moz-box-shadow: none;
    -webkit-box-shadow:none;
    box-shadow: none;
  }
}

@media all and (min-width: 769px) {
  .menu {
    opacity: 1 !important;
    visibility: visible !important;
    /* display: table !important; */
    display: table ;
  }

  .menu-toggler {
    display: none;
  }
}











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

  .panel-docuhelp__link {
    position: static;
  }

  .panel-docuhelp__description-wrapper {
    position: static;
    min-height: 80px;
    text-align: right;
    margin-right: 30px;
  }
  .panel-docuhelp__description-text {
    position: absolute;
    bottom: 30px;
    right: 30px;
  }

  .directors .director .image {
    float: none;
  }

  .directors .director .image img {
    margin-left: 20px;
  }

  .directors .director .info {
    margin-left: 20px;
    font-size: 14px;
    line-height: 23px;
  }

  .movie-desc {
    position: static;
  }

  .panel.award .front .shadow {
    /* background-color: black; */
    width: 100%;
    height: 160px;
  }

  .panel.award.size2x2 .front .shadow {
    display: block;
    height: 130px;
  }

  .panel.size2x2.panel.award .front .title {
    left: 0;
    top: 210px;
    width: 100%;
    position: absolute;
    font-size: 19px;
  }

  .panel.size5x2 {
    /*padding-bottom: 56.4%;*/
    padding-bottom: 36.8%;
    margin-bottom: 10px;

  }

  .panel.partner {
    width: 100%;
    height: auto;
  }

  .panel.partner .front {
    position: static;
  }

  .panel.award .front .title {
    top: 0;
    left: 0;
    position: relative;
  }

  .footer-menu__row {
    flex-wrap: wrap;
  }

  .footer-menu__item {
    flex-basis: 45%;
    margin-bottom: 20px;
  }

  .footer-menu__item-spacer {
    flex-basis: 10%;
  }

  .footer-menu__item-spacer:nth-child(3n) {
    display: initial;
  }

  .footer-menu__item-spacer:nth-child(4n) {
    display: none;
  }

  .container {
    top: 50px;
  }

  .panel .front .title {
    width: 100%;
  }

  .panel {
    width: calc(100% - 20px) !important;
    margin: 0 10px 12px 10px;
    height: auto;
  }

  .panel.dates-panel {
    height: 300px;
  }


  .panel.dates-panel .layer2.position-b-65 {
    bottom: 85px;
  }

  .panel.inst {
    height: auto;
    /*padding-bottom: 140%;*/
  }

  .panel * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  .panel .back,
  .panel .front {
    width: 100% !important;
  }

  .panel .back,
  .panel .front {
    width: 100% !important;
    position: relative;
  }

  .panel .front .title {
    margin: 0 !important;
    padding: 20px;
    left: 0;
    top: 220px;
  }

  .panel.size2x2 .front .link {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: auto;
    width: auto;
  }

  .panel .front .category {
    right: 20px;
    width: auto !important;
    position: static;
    padding: 20px;
  }

  .panel-calendar {
    height: 720px !important;
    max-height: 9999px !important;
  }

  .panel.panel-calendar .front,
  .panel .front.front-right {
    position: static !important;
  }

  .panel.long-panel .news img {
    margin: 0 -20px;
    width: calc(100% + 40px);
    max-width: calc(100% + 40px);
  }

  .panel .front img {
    margin: 0;
    width: 100%;
    max-width: 100%;
    display: block;
  }

  .panel.timer .front img.wizard__logo {
    margin: 0;
    width: 40%;
    max-width: initial;
    display: initial;
  }

  .panel.timer .front img.wizard__appstore,
  .panel.timer .front img.wizard__play {
    margin: 0;
    width: 40%;

    max-width: initial;
    display: initial;
  }

  .panel.timer .front .app-link {
    display: block;
    margin-right: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .nivoSlider {
    width: 100%;
  }

  .panel .front .link,
  .panel .back .link {
    width: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }

  .panel .front .link img,
  .panel .back .link img {
    max-width: 100%;
  }

  .container .panel.size1x2 {
    height: auto;
  }

  .docudays-index {
    height: 300px;
  }

  .panel-index__cancel_text {
    top: 100px;
    right: 30px;
    left: 30px;
  }

  .docudays-index .layer2.position-b-50 {
    bottom: 90px;
  }

  .layer1 {
    width: inherit;
  }

  .app-link {
    display: inline;
    margin-right: 10px;
  }


  /*.panel.panel-festival-pass,*/
  /*.panel.panel-industry-pass {*/
  /*  height: 190px;*/
  /*}*/

  .panel.panel-festival-pass .front,
  .panel.panel-industry-pass .front {
    animation: none;
    background-size: 58px, 73px;
    background-repeat: no-repeat;
    background-position: top 5px left 5px, bottom 5px left 5px;
  }

  .panel.panel-festival-pass .panel-festival-pass__title,
  .panel.panel-industry-pass .panel-industry-pass__title {
    height: auto;
    margin-bottom: 20px;
  }

  .panel.panel-festival-pass .panel-festival-pass__image{
    height: 210px;
    background-position: center 25%;
    background-size: 70%;
  }

  .panel.panel-industry-pass .panel-industry-pass__image {
    height: 280px;
    background-position: center 40%;
    background-size: 180px;
  }

  .panel.panel-festival-pass .panel-festival-pass__buy {
    font-size: 30px;
  }

  .panel.panel-festival-pass .panel-festival-pass__barcode,
  .panel.panel-industry-pass .panel-industry-pass__barcode {
    display: none;
  }


  .panel.blue a.panel_bottom-button {
    position: static;
    margin-top: 18px;
    display: block;
  }

  .panel-logo {
    display: none;
  }


  .newsletter_panel__border_one,
  .newsletter_panel__border_two {
    width: calc(100% - 20px);
  }

  .panel .newsletter_panel__border_one,
  .panel .newsletter_panel__border_two {
    height: 180px;
  }

  .festival_newsletter .panel,
  .industry_mailing_list .panel {
    height: 200px;
  }

  .panel .front_newsletter {
    height: 200px;
  }

  .panel .front_newsletter_img {
    width: 50px;
  }


  .nivo-caption {
    position: static;
    width: 100%;
    height: 230px;
  }

  .theme-dark .nivo-controlNav {
    top: auto;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
  }

  .theme-dark .nivoSlider {
    background-image: none !important;
  }

  .nivoSlider a,
  .nivoSlider a:active,
  .nivoSlider a:focus {
    outline: none;
  }

  .layer1 {
    left: 30px;
    right: 30px;
  }

  .theme-dark .nivo-directionNav {
    position: static;
    width: 0;
    height: 0;
  }

  .theme-dark .nivo-directionNav {
    position: static;
  }

  .theme-dark .nivo-directionNav a {
    bottom: -60px;
  }
  .theme-dark a.nivo-nextNav {
    right: 20px;
    background-position: top right;
  }

  .button-more-block {
    margin-left: 5% !important;
    left: auto !important;
  }

  /*.container.inside > .panel.size1x3:first-child {*/
  /*  display: none;*/
  /*}*/

  .gallery-image, img,
  .long-content img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .gallery-box .panel {
    overflow: hidden;
  }

  .panel.seance .front {
    right: 10px;
    width: auto !important;
    position: absolute;
  }

  .schedule_full {
    /* word-wrap: none;
    white-space: nowrap;
    overflow-x: scroll */
  }

  .schedule-search {
    display: none;
  }
  .schedule_tab__label {
    width: 8%;
    font-size: 80%;
  }

  .schedule_tab__label_day {
    line-height: 1.8;
    width: 20px;
    height: 20px;
  }

  .schedule_tab__content_event {
    margin-right: 30px;
  }

  .schedule_tab__content_event_ticket {
    padding: 15px;
    height: 30px;
  }

  .schedule_tab__content_event_ticket_title {
    display: none;
  }

  .slider-title {
    font-size: 21px;
    margin: 0;
    font-weight: bold;
    margin-bottom: 8px;
    line-height: 1.2;
  }

  .slider-text {
    padding: 20px 20px;
    min-height: 145px;
    line-height: 1.2;
  }

  .theme-dark .nivo-directionNav {
    display: none;
  }

  .social-link {
    padding: 12px 30px;
  }

  .social-link li {
    padding: 0;
  }

  .social-link li:not(:last-child) {
    margin-right: 18px;
  }

  .instagram-link a, .facebook-link a, .twitter-link a, .flickr-link a, .telegram-link a {
    width: 24px;
    height: 24px;
  }

  .youtube-link a {
    width: 26px;
    height: 26px;
  }

  .panel-qrcode .content-block {
    max-width: 300px;
    margin: 0 auto;
  }

  .panel-donate .content-block {
    background-image: url("i/hurt_mobile.jpg");
    padding: 10px 40px 20px;
    min-height: 300px;
    background-size: contain;
    background-position-x: center;
    background-repeat: no-repeat;
  }

  .panel-radio-donate .content-block {
    padding: 0 12px 20px;
  }

  .panel-radio-donate .header-block {
    padding: 0;
  }

  .panel-radio-donate .text-block {
    margin-bottom: 5px;
  }

  .panel-radio-donate .text-block .text-elem {
    font-size: 17px;
  }

  .panel-radio-donate .qrcode-block {
    margin-top: 0;
  }
}

@media all and (min-width: 1180px) {
  .panel.size5x2 {
    width: 1180px;
    padding-bottom: 454px;
  }
}

@media all and (max-width: 960px) {
  .nivo-caption {
    position: static;
    width: 100%;
    height: 230px;
  }

  .theme-dark .nivo-controlNav {
    top: auto;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
  }

  .theme-dark .nivoSlider {
    background-image: none !important;
  }

  .nivoSlider a,
  .nivoSlider a:active,
  .nivoSlider a:focus {
    outline: none;
    bottom: 0;
  }

  .layer1 {
    left: 30px;
    right: 30px;
  }

  .theme-dark .nivo-directionNav {
    position: static;
    width: 0;
    height: 0;
  }

  .theme-dark .nivo-directionNav {
    position: static;
  }

  .theme-dark .nivo-directionNav a {
    bottom: -28px;
    height: 30px !important;
  }
  .theme-dark a.nivo-nextNav {
    right: 20px;
    background-position: top right;
  }

  .theme-dark .nivoSlider img {
    height: auto !important;
  }

  .slider-wrapper.theme-dark {
    width: 100%;
    height: auto;
  }

  .nivoSlider {
    width: 100%;
    height: auto;
  }

  .panel.size5x2.docudays .front {
    width: 100%;
    height: auto;

    position: absolute;
    overflow: hidden;
  }

  .nivo-caption {
    height: auto;
  }

  .nivo-box {
    display: none;
  }

  .nivoSlider a {
    height: auto !important;
    width: 100% !important;
    display: block;
    overflow: hidden;
    outline: none !important;
    text-decoration: none !important;
    border: none !important;
  }
}

iframe {
  max-width: 100%;
}
@media all and (min-width: 769px) {
  .menu .menu.inside {
    display: none !important;
  }

  .mobile-only {
    display: none;
  }
}
@media all and (max-width: 768px) {
  .menu.inside {
/*     display: none !important; */
  }

  .menu .menu.inside {
/*     display: block !important; */
    margin-bottom: 20px;
    background: #156284;
    -webkit-transition: all .5s;
    transition: all .5s;

    position: absolute;
    left: 15%;
    margin-top: -32px;
    right: 0;
  }

  .menu.outside > .row > a.active {
    background: #125471;
  }

  .menu {
    padding-left: 0;
    padding-right: 0;
  }

  .menu .row a {
    font-size: 18px !important;
    height: auto !important;
    text-align: left;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .menu.inside .row a {
    font-size: 14px !important;
    /*height: 24px !important;*/
    line-height: 18px !important;
    margin-bottom: 12px;
    margin-top: 12px;
  }

  .panel.blue.size1x2.mobile-only {
    height: auto;
  }

  .panel.blue.size1x2.mobile-only .front {
    position: static;
  }

  .panel.blue .items a {
    display: block;
    height: 39px;
    border-bottom: 1px solid #434548;
    font-size: 11px;
    line-height: 40px;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    padding-left: 10px;
    padding-right: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 1;
  }

  .panel.blue .items a:last-child {
    border-bottom: none;
  }

  [src="/css/i/googleplay.png"],
  [src="/css/i/appstore.png"] {
    width: 120px;
  }

  .panel.size5x2 {
    margin-bottom: 10px;
  }

  .logo-tr, .logo-tr-eng {
    width: 170px;
    height: 140px;
  }

  .logo-main, .logo-main-eng {
    width: 170px;
    height: 140px;
  }

  .logo-tr-inner {
    padding-left: 50px;
  }
}
