.work-item .img {
    cursor: pointer;
}
img {
	max-width: 100%;
}
body {
	font-family: 'AvertaCY';
	min-width: 320px;
}
:focus {
    outline: none;
}
header {
	padding: 3rem 0;
}
body.modal-open {
    overflow: auto;
}
body.modal-open[style] {
    padding-right: 0px !important;
}

.modal::-webkit-scrollbar {
    width: 0 !important;
}
section {
    position: relative;
}
section .container-fluid {
    min-height: 100vh;
    padding: 5rem 12rem 1rem 12rem;
}
.nav {
    margin-bottom: 2rem;
}
.nav a {
    color: #c584cb;
    padding: .5rem 1rem .5rem 0rem;
}
.nav a:hover,
.nav a.active {
    color: #fff;
}
#page1 {
    background: #930ca0 url('../../img/1.png') no-repeat bottom;
}
#page1 .full {
    min-height: calc(100vh - 56px - 7rem);
}
#page1 .title1 {
    margin-bottom: 4rem;
}
#page1 .title2 {
    font-size: 3.75rem;
    line-height: 1.2;
    font-weight: bold;
    color: #fff;
    margin-bottom: 4rem;
}
#page1 .descr {
    font-size: 1.25rem;
    color: #c486ca;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 4rem;
	text-shadow: 1px 1px black;
}
.btn-red,
.btn-white,
.more a {
    display: inline-block;
    padding: 1rem 3rem;
    background: #c00c40;
    color: #fff !important;
    -webkit-box-shadow: 0px 15px 7px 0px rgba(0,0,0,1);
    -moz-box-shadow: 0px 15px 7px 0px rgba(0,0,0,1);
    box-shadow: 0px 15px 7px 0px rgba(0,0,0,1);
    border-radius: 2rem;
    transition: all .5s;
    margin-bottom: 4rem;
    cursor: pointer;
    border: none;
    font-size: 1rem !important;
}
.btn-red:hover,
.btn-white:hover,
.more a:hover {
    text-decoration: none;
    color: #fff !important;
    -webkit-box-shadow: 0px 5px 7px 0px rgba(0,0,0,1);
    -moz-box-shadow: 0px 5px 7px 0px rgba(0,0,0,1);
    box-shadow: 0px 5px 7px 0px rgba(0,0,0,1);
    transition: all .5s;
}
.btn-white {
    background: #fff;
    color: #9403a1 !important;
    margin-bottom: 0;
    padding: .5rem 2rem !important;
    top: -.5rem;
    position: relative;
}
.btn-white:hover {
    color: #9403a1 !important;
}
.btn-red {
    margin-bottom: 0;
    padding: .5rem 2rem !important;
    top: -.5rem;
    position: relative;
}
.instructor {
    color: #a240ac;
    font-size: .75rem;    
}
.left-info {
    position: absolute;
    color: #fff;
    top: 0;
    bottom: 0;
    left: 3rem;
    text-align: center;
}

#page2 {
    background: #930ca0 url('../../img/2.png') no-repeat top;
}
section .full {
    min-height: calc(100vh - 56px - 7rem);
}
#page2 .title1 {
    margin-bottom: 2rem;
    margin-top: 4rem;
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
}
#page2 .title2 {
    font-size: 1.625rem;
    line-height: 1.4;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4rem;
}
#page2 .descr {
    font-size: 1.25rem;
    color: #c486ca;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 4rem;
	text-shadow: 1px 1px black;
}

#page3 {
    background: #930ca0 url('../../img/bg.png') no-repeat center center / cover;
    overflow: hidden;
}
#page4 {
    background: #930ca0 url('../../img/bg.png') no-repeat center center / cover;
    overflow: hidden;
}
.work-item {
    padding: 2rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    opacity: .5;
}
.juri-item {
    padding: 2rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    opacity: .5;
}
.slick-active .juri-item,
.slick-active .work-item {
    opacity: 1;
}
.juri-slider .slick-list,
.work-slider .slick-list {
    overflow: visible;
}
.work-item img {
    width: 100%;
    margin-bottom: 2rem;
}
.juri-item img {
    margin-bottom: 2rem;
}
#page4 .full,
#page3 .full {
    margin-left: calc(-2rem - 15px);
    margin-right: calc(-2rem - 15px);
}
.juri-item .name {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.juri-item .descr {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #c685cc;
    font-weight: 600;
	text-shadow: 1px 1px black;
}
.juri-item a {
    color: #fff;
    word-break: break-word;
}
#page5 {
    background: #930ca0 url('../../img/5.png') no-repeat center center / cover;
    color: #fff;
}
.iframe {
  position: relative;
  padding-bottom: 56.25%; /* задаёт высоту контейнера для 16:9 (если 4:3 — поставьте 75%) */
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}
.iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#page5 .descr {
    max-height: calc(100vh - 6rem - 72px);
    overflow-y: scroll;
    padding-bottom: 5rem;
    position: relative;
	text-shadow: 1px 1px black;
}
#page5 .zz {
    position: relative;
}
#page5 .zz:before {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 25px;
    height: 109px;
    background: rgba(148,3,161,1);
    background: -moz-linear-gradient(top, rgba(148,3,161,0) 0%, rgba(148,3,161,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(148,3,161,0)), color-stop(100%, rgba(148,3,161,1)));
    background: -webkit-linear-gradient(top, rgba(148,3,161,0) 0%, rgba(148,3,161,1) 100%);
    background: -o-linear-gradient(top, rgba(148,3,161,0) 0%, rgba(148,3,161,1) 100%);
    background: -ms-linear-gradient(top, rgba(148,3,161,0) 0%, rgba(148,3,161,1) 100%);
    background: linear-gradient(to bottom, rgba(148,3,161,0) 0%, rgba(148,3,161,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9403a1', endColorstr='#9403a1', GradientType=0 );
    z-index: 9;
}
#page5 .descr {
    padding-right: 1rem;
}
#page5 .descr::-webkit-scrollbar { width: 10px; height: 10px;}
#page5 .descr::-webkit-scrollbar-track {  background-color: #999;}
#page5 .descr::-webkit-scrollbar-track-piece { background-color: #ffffff;}
#page5 .descr::-webkit-scrollbar-thumb { height: 50px; background-color: #930ca0; border-radius: 0px;}
#page5 .descr::-webkit-scrollbar-corner { background-color: #999;}
#page5 .descr::-webkit-resizer { background-color: #666;}

.lg-backdrop {
    background-color: #8c1198;
}
.lg-backdrop.in {
    opacity: .9;
}
.fade.show {
    display: -webkit-box!important;
    display: -ms-flexbox!important;
    display: flex!important;
    background: #9728a2;
}
.modal-content {
    background-color: #9728a2;
    border: none;
}
.modal-dialog {
    margin: auto;
    padding-bottom: 3rem;
}
.modal-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 2rem;
}
.modal-header {
    border: none;
}
.modal input {
    border-radius: 2rem;
    font-size: 1.25rem;
    font-weight: 600;
    padding: .7rem 2rem;
    height: 54px;
}
.file {
    position: relative;
    background: #fff;
    border-radius: 2rem;
}
.file:before {
    content: 'Загрузить работу';
    position: absolute;
    top: .7rem;
    left: 2rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #717a82;
}
.file:after {
    content: '';
    width: 94px;
    height: 54px;
    background: url('../../img/up.png') no-repeat center center / contain;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
}

.file input {
    opacity: 0;
    cursor: pointer;
    position: relative;
    z-index: 2;
}
.modal-header .close {
    position: absolute;
    margin: 0;
    top: -4rem;
    right: calc(50% - 25px);
    opacity: 1;
    padding: 0;
}
.modal-header .close>div {
    width: 50px;
    height: 50px;
    background: transparent;
    border-radius: 3px;
    position: relative;
    border: none;
    transition: all .5s;
    border: 2px solid #fff;
    border-radius: 50%;
}
.modal-header .close>div:before, .modal-header .close>div:after {
    content: '';
    display: block;
    width: 20px;
    height: 3px;
    background: #fff;
    position: absolute;
    transform: rotate(45deg);
    top: 22px;
    left: 13px;
    transition: all .5s;
}
.modal-header .close>div:after {
    transform: rotate(-45deg);
}
#video {
    opacity: 0 !important;
}
#video.show {
    opacity: 1 !important;
}
.v-start {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
    z-index: 99;
}
@media (min-width: 1200px) {
    .col-xl-5 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 45.4%;
        flex: 0 0 45.4%;
        max-width: 45.4%;
    }
    .col-xl-7 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 54.6%;
        flex: 0 0 54.6%;
        max-width: 54.6%;
    }
}
@media (min-width: 992px) {
    .col-lg-5 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 45.4%;
        flex: 0 0 45.4%;
        max-width: 45.4%;
    }
    .col-lg-7 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 54.6%;
        flex: 0 0 54.6%;
        max-width: 54.6%;
    }
}
@media (max-height: 880px) {
    #page1 .title1,
    #page1 .title2,
    #page1 .descr,
    .more a {
        margin-bottom: 2rem;
    }
}
@media (max-height: 1000px) {
    #page1 .title1,
    #page1 .title2,
    #page1 .descr,
	#page2 .title1,
    #page2 .title2,
    #page2 .descr {
        padding-left: 2rem;
    }
}
@media (max-width: 1366px) {
    #page1 .title2 {
        font-size: 3rem;
    }
    section .container-fluid {
        padding: 5rem 6rem 1rem 6rem;
    }
}
@media (min-width: 992px) {
    .mob-nav {
        display: none;
    }
}
@media (max-width: 991px) {
    #page1 .title2 {
        font-size: 2.5rem;
    }
    section .container-fluid {
        padding: 5rem 2rem 1rem 2rem;
    }
    #page3,
    #page4 {
        padding: 5rem 4rem 1rem 4rem;
    }
    .nav {
        background: #880d94;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        padding: 2rem;
        z-index: 999;
        display: none;
    }
    .nav>div.nav-item {
        display: block;
        width: 100%;
        padding: .8rem 1rem;
    }
    .btn-white {
        top: 0;
        margin-top: 2rem;
    }
    .nav>.mob-nav {
        margin-bottom: 2rem;
    }
    .nav>.mob-nav .bar img {
        padding-left: 5px;
    }
    #page5 .iframe {
        margin-top: 2rem;
    }
}
@media (max-width: 767px) {
    .left-info {
        position: relative;
        transform: none;
    }
    #page1 {
        background: #ae03a6 url('../../img/1_m.png') no-repeat top center / 767px auto;
    }
    #page1 .iframe {
        margin-bottom: 20rem;
        min-height: 450px;
    }
    #page3,
    #page4 {
        padding: 1rem 2rem 1rem 2rem;
    }
    .juri-item,
    .work-item {
        padding: 2rem 1rem 1rem;
    }
    #page5 .descr {
        padding-right: 1rem;
        margin-top: 3rem;
    }
    .left-info {
        display: none !important;
    }
    section .container-fluid {
        min-height: inherit;
        padding: 2rem 2rem 1rem 2rem;
    }
    #page2 {
        background: #ae03a6 url('../../img/2_m.png') no-repeat top center / 767px auto;
    }
    #page2 .full {
        padding-top: 650px;
    }
    #page5 .descr {
        max-height: inherit;
        overflow: visible;
        padding-bottom: 1rem;
    }
    #page5 .zz:before {
        display: none;
    }
}
@media (max-width: 575px) {
    #page1 {
        background: #930ca0 url('../../img/1_m.png') no-repeat top center / 575px auto;
    }
    #page1 .iframe {
        margin-bottom: 10rem;
    }
    .juri-item .name {
        font-size: 1.7rem;
    }
    #page1 .title2 {
        font-size: 2rem;
    }
    #page1 .title1, #page1 .title2, #page1 .descr, #page2 .title1, #page2 .title2, #page2 .descr {
        padding-left: 0;
    }
    #page2 .title1 {
        margin-top: 5rem;
    }
    section .container-fluid {
        padding: 2rem 2rem 1rem 1rem;
    }
    .modal-content {
        padding: 0 2rem;
    }
}

.work-item .img img {
    min-width: 464px;
    max-height: 245px;
    min-height: 245px;
}
@media (max-width: 767px) {
    .work-item .img img {
        min-height: 180px;
        min-width: auto;
    }
}



