.derev-dance-participate .derev-dance__form-wrapper {
    margin-top: 60px;
    background-image: url('/assets/konkurs-derev-dance/img/background.jpg');
    background-size: cover;
    width: 100%;
    background-color: #FDC516;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.derev-dance-participate .derev-dance__form {
    position: relative;
    padding: 0 70px;
    display: flex;
    flex-direction: column;
    background:#fff;
    max-width: 960px;
    margin: 0 auto;
}

.derev-dance-participate .derev-dance__go-back-button {
    display: block;
    width: 27px;
    background-image: url('/assets/konkurs-derev-dance/img/back.png');
    background-repeat: no-repeat;
    background-position: 0;
    z-index: 2;
    height: 26px;
    margin-top: 30px;
}

.derev-dance-participate .derev-dance__form-title {
    font-family: 'PFBeauSansPro Bold';
    font-size: 32px;
    text-align: center;
    color: #ff2f6c;
}

.derev-dance-participate .derev-dance__form-description {
    font-family: 'PFBeauSansPro Bold';
    font-size: 24px;
    text-align: center;
    color: #ff2f6c;
}

.derev-dance-participate .derev-dance__form .form__group {
    margin-bottom: 30px;
}

.derev-dance-participate .derev-dance__form .form__group.agree-group {
    display: flex;
    justify-content: center;
}

.derev-dance-participate .derev-dance__form .form__data label {
    font-family: 'PFBeauSansPro';
    display: block;
    text-align: center;
    color: #000;
    font-size: 18px;
}

.derev-dance-participate .derev-dance__form .form__data input {
    font-family: 'PFBeauSansPro';
    display: flex;
    width: 100%;
    background: #fff;
    min-height: 40px;
    border: 1px solid #b4b4b4;
    padding: 10px;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;
    color: #000;
    margin: 5px auto;
    max-width: 580px;
}

.derev-dance-participate .derev-dance__form .participant-agree {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    user-select: none;
    display: block;
    text-align: left;
    color: #000;
    font-size: 18px;
    margin: 5px auto;
    width: max-content;
    max-width: 580px;
    font-size: 14px !important;
}

.derev-dance-participate .derev-dance__form .participant-agree input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.derev-dance-participate .derev-dance__form .participant-agree .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #fff;
    border: 1px solid #b4b4b4;
}

.derev-dance-participate .derev-dance__form .participant-agree:hover input ~ .checkmark {
    background-color: #fff;
}

.derev-dance-participate .derev-dance__form .participant-agree input:checked ~ .checkmark {
    background-color: #fff;
}

.derev-dance-participate .derev-dance__form .participant-agree .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.derev-dance-participate .derev-dance__form .participant-agree input:checked ~ .checkmark:after {
    display: block;
}

.derev-dance-participate .derev-dance__form .participant-agree .checkmark:after {
    left: 9px;
    top: -7px;
    width: 16px;
    height: 26px;
    border: solid #5cd4ff;
    border-width: 0 5px 4px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.derev-dance-participate .derev-dance__form .participate-button,
.derev-dance-participate .derev-dance__form .upload-button {
    background-image: url('/assets/konkurs-derev-dance/img/button1.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-color: transparent;
    max-width: 230px;
    width: 100%;
    max-height: 66px;
    height: 64px;
    margin: 0 auto 50px;
    border: none;
    color: #fff;
    border-radius: 25px;
    text-align: center;
    font-size: 18px;
    text-transform: uppercase;
    outline: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'PFBeauSansPro Black';
}

.derev-dance-participate .derev-dance__form .participate-button {
    background-image: url('/assets/konkurs-derev-dance/img/button2.png');
}

.derev-dance-participate .derev-dance__form .participate-button:hover,
.derev-dance-participate .derev-dance__form .upload-button:hover {
    color: #faca2c;
}

.derev-dance-participate .derev-dance__form .g-recaptcha {
    width: 304px;
    margin: auto;
}

.derev-dance-participate .derev-dance__form input.error {
    border: 1px solid #ff0000;
}

.derev-dance-participate .derev-dance__form label.error {
    color: #ff0000;
    font-weight: normal;
}

.derev-dance-participate .derev-dance__form .participant-agree input.error ~ .checkmark {
    border: 1px solid #ff0000;
}

.derev-dance-participate .derev-dance__form #filename {
    display: none;
}

.derev-dance-participate .derev-dance__form .after-submit__form {
    width: 100%;
    position: fixed;
    background: #f7f7f7;
    padding: 15px;
    line-height: 23px;
    border-radius: 10px;
    border: 1px solid #A5A5A5;
    z-index: 9999999;
    top: 250px;
    overflow: hidden;
    margin: 0px auto;
    text-align: center;
    font-size: 16px;
    max-width: 410px;
    left: 50%;
    transform: translateX(-50%);
    min-height: 200px;
    height: 200px;
}

.derev-dance-participate .blockall {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    opacity: 0.8;
    filter: alpha(opacity=80);
    -moz-opacity: 0.8;
    background: #000;
    cursor: pointer;
    z-index: 999990;
}

.derev-dance-participate .derev-dance__form .after-submit__form #progress {
    width: 50px;
    height: 50px;
    margin: 20px auto 10px;
}

.lds-spinner {
    display: block;
    position: relative;
    width: 80px;
    height: 80px;
    margin: 25px auto;
}

.lds-spinner div {
    transform-origin: 40px 40px;
    animation: lds-spinner 1.2s linear infinite;
}

.lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3px;
    left: 37px;
    width: 6px;
    height: 18px;
    border-radius: 20%;
    background: #000;
}

.lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}

.lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}

.lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}

.lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}

.lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}

.lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}

.lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}

.lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}

.lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}

.lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}

.lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}

.lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}

@keyframes lds-spinner {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
}

.derev-dance-participate .derev-dance__ezh_mouse {
    display: flex;
    width: 100%;
    max-width: 960px;
    position: relative;
    background-color: #fff;
    margin: 0 0 20px;
    padding-left: 26px;
    justify-content: center;
}

.derev-dance-participate .derev-dance__ezh_mouse img {
    position: relative;
    margin: auto 50px 0;
}

#ezh {
    width: 74px;
    height: 133px;
}

#mouse {
    width: 125px;
    height: 95px;
}

@media screen and (min-width: 582px) and (max-width: 979px) {
    .derev-dance-participate .derev-dance__form-wrapper {
        background-image: unset;
        background-color: #fff;
    }

    .derev-dance-participate .derev-dance__form-title {
        font-size: 26px;
    }

    .derev-dance-participate .derev-dance__form {
        padding: 0 40px;
        max-width: 582px;
    }

    .derev-dance-participate .derev-dance__form .form__data label {
        font-size: 16px;
    }

    .derev-dance-participate .derev-dance__form .form__data input {
        font-size: 16px;
    }

    .derev-dance-participate .derev-dance__form .participate-button,
    .derev-dance-participate .derev-dance__form .upload-button {
        max-width: 220px;
        max-height: 60px;
        margin: auto auto 30px;
        font-size: 16px;
    }
}

@media screen and (min-width: 320px) and (max-width: 581px)  {
    .derev-dance-participate .derev-dance__form-wrapper {
        background-image: unset;
        background-color: #fff;
    }

    .derev-dance-participate .derev-dance__form-title {
        font-size: 24px;
    }

    .derev-dance-participate .derev-dance__form {
        padding: 0px 10px;
    }

    .derev-dance-participate .derev-dance__form .participant-agree {
        width: auto;
    }

    .derev-dance-participate .derev-dance__form .form__data label {
        font-size: 16px;
    }

    .derev-dance-participate .derev-dance__form .form__data input {
        font-size: 16px;
    }

    .derev-dance-participate .derev-dance__form .participate-button,
    .derev-dance-participate .derev-dance__form .upload-button {
        max-width: 170px;
        max-height: 46px;
        margin: auto auto 30px;
        font-size: 12px;
    }

    .derev-dance-participate .derev-dance__form .after-submit__form {
        font-size: 14px;
        max-width: 300px;
    }

    #mouse {
        margin: auto 10px 0;
    }
}
