@font-face {
    font-family: 'PFBeauSansPro Black';
    src: url('/assets/website/fonts/PFBeauSansPro/PFBeauSansPro-Black.ttf');
    font-style: normal;
}

@font-face {
    font-family: 'PFBeauSansPro Bold';
    src: url('/assets/website/fonts/PFBeauSansPro/PFBeauSansPro-Bold.ttf');
    font-style: normal;
}

@font-face {
    font-family: 'PFBeauSansPro';
    src: url('/assets/website/fonts/PFBeauSansPro/PFBeauSansPro-Reg.ttf');
    font-style: normal;
}

html, body {
    margin: 0;
    height: 100%;
    position: relative;
}

* {
    border: 0;
    margin: 0;
}

:root {
    --white: #FFFFFF;
    --mimi-bday-bg: #73B43E;
    --mimi-bday-participants-bg: #ED97C8;
    --mimi-bday-main: #F6313B;
    --mimi-bday-header-text: #F6313B;
    --mimi-bday-footer: #E381CA;
}

body.lock {
    overflow: hidden;
}

body.table {
    display: flex;
    flex-direction: column;
}

a:focus,
button:focus {
    -webkit-user-select: none !important;
    -khtml-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    outline: none !important;
    box-shadow: none !important;
}

img {
    user-select: none;
}

.lazy,
.lazy-bg {
    opacity: 0;
}

.lazy.loaded,
.lazy-bg.loaded {
    animation: fadeIn 0.3s ease forwards;
}

.blockall {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0.6;
    filter: alpha(opacity=60);
    -moz-opacity: 0.6;
    background: #000;
    z-index: 999990;
}

/* базовые стили кнопок */

.btn {
    font-family: 'PFBeauSansPro Bold', sans-serif;
    background-image: url('/assets/konkurs-mimi-bday/img/button_1.png');
    width: 273px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white) !important;
    font-size: 22px;
    outline: 0;
    border: none;
    transform: scale(0.9);
    transition: 0.2s all ease-out;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: transparent;
    text-transform: uppercase;
}

.btn:hover {
    transform: scale(1);
}

/* анимации */

/* анимация лоадера на странице оформления заказа */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* анимация ленивой загрузки изображений */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* шапка */

header * {
    font-family: 'PFBeauSansPro Bold', sans-serif;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 50;
    -webkit-box-shadow: 0 2px 8px 2px rgba(34, 60, 80, 0.5);
    -moz-box-shadow: 0 2px 8px 2px rgba(34, 60, 80, 0.5);
    box-shadow: 0 2px 8px 2px rgba(34, 60, 80, 0.5);
}

header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 2;
}

header .block {
    max-width: 980px;
    margin: 0 auto;
}

header .body {
    position: relative;
    display: flex;
    justify-content: space-between;
    height: 60px;
    align-items: center;
}

header .logo {
    display: block;
    width: 140px;
    background-image: url('/assets/konkurs-mimi-bday/img/logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 2;
    height: 32px;
}

header .burger {
    display: none;
}

header .navbar {
    width: 100%;
    z-index: 50;
}

header .list {
    display: flex;
    margin: 0;
    height: 60px;
    width: 100%;
    position: relative;
    padding: 0;
}

header .list li {
    list-style: none;
    margin-left: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

header .list li:first-of-type {
    margin-left: auto;
}

header .list li a {
    text-transform: uppercase;
    color: var(--mimi-bday-header-text);
    font-size: 24px;
    cursor: pointer;
    outline: 0;
}

header .list li a:hover,
header .list li a:focus {
    color: var(--mimi-bday-header-text) !important;
}

header .socials {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: auto;
}

header .socials .vk,
header .socials .ok,
header .socials .tg,
header .socials .likee {
    width: 32px;
    height: 32px;
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-left: 15px;
}

header .socials .vk {
    background-image: url('/assets/konkurs-mimi-bday/img/vk.png');
}

header .socials .ok {
    background-image: url('/assets/konkurs-mimi-bday/img/ok.png');
}

header .socials .tg {
    background-image: url('/assets/konkurs-mimi-bday/img/tg.png');
}

header .socials .likee {
    background-image: url('/assets/konkurs-mimi-bday/img/likee.png');
}

/* бургер меню */

@media screen and (min-width: 320px) and (max-width: 767px) {
    header .block {
        width: 100%;
        margin: 0 auto;
        padding: 0;
        max-width: 767px;
        position: relative;
    }

    header .body {
        height: 60px;
        width: 100%;
        margin: 0 auto;
        padding: 0;
        flex-direction: row-reverse;
    }

    header .burger {
        display: block;
        position: absolute;
        width: 30px;
        height: 22px;
        z-index: 3;
        cursor: pointer;
        left: 0;
    }

    header .burger:before,
    header .burger:after {
        content: '';
        position: absolute;
        background-color: var(--mimi-bday-header-text);
        width: 100%;
        height: 5px;
        left: 0;
        z-index: 3;
        cursor: pointer;
        transition: all .3s ease 0s;
        border-radius: 10px;
        margin-left: 10px;
    }

    header .burger:before {
        top: 0;
    }

    header .burger:after {
        bottom: 0;
    }

    header .burger span {
        position: absolute;
        background-color: var(--mimi-bday-header-text);
        left: 0;
        width: 100%;
        height: 5px;
        top: 8px;
        z-index: 3;
        transition: all .3s ease 0s;
        border-radius: 10px;
        margin-left: 10px;
    }

    header .logo {
        z-index: 4;
        margin: 0 auto;
    }

    header .navbar {
        position: fixed;
        top: -100%;
        left: auto;
        width: 100%;
        height: 100%;
        background-color: var(--white);
        z-index: 1;
        padding-top: 70px;
        transition: all .3s ease 0s;
        overflow: auto;
        max-width: 767px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        box-shadow: 0 8px 8px 0 rgba(0,0,0,.16);
    }

    header .list {
        display: flex;
        max-width: 320px;
        flex-direction: column;
        height: unset;
    }

    header .list li {
        padding: 10px;
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }

    header .socials {
        padding: 20px 10px;
        margin-right: auto;
    }

    header .socials .vk {
        margin-left: 0;
    }

    header.active {
        z-index: 52;
    }

    header.active .navbar {
        top: 0;
        z-index: 1;
        background-color: var(--white);
    }

    header.active .burger {
        z-index: 4;
    }

    header.active .burger:before,
    header.active .burger:after {
        background-color: var(--mimi-bday-header-text);
    }

    header.active .burger:before {
        transform: rotate(45deg);
        top: 8px;
    }

    header.active .burger span {
        transform: scale(0);
    }

    header.active .burger:after {
        transform: rotate(-45deg);
        bottom: 9px
    }
}

/* фон */

.wrapper {
    position: absolute;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    top: 60px;
    left: 0;
    min-height: 100%;
}

.fixed-bg {
    background-repeat: no-repeat;
    background-position: top center;
    height: 100vh;
    width: 100vw;
    position: fixed;
    z-index: -1;
    background-image: url('/assets/konkurs-mimi-bday/img/background.jpg');
    background-color: var(--mimi-bday-bg);
}

.fixed-content {
    position: absolute;
    width: 100%;
}

/* баннер */

section.promo .block {
    background-image: url('/assets/konkurs-mimi-bday/img/section1.jpg');
    background-size: contain;
    width: 980px;
    height: 764px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
}

section.promo .block .btn {
    margin: 0 auto 60px;
}

/* условия конкурса */

section.contest .block {
    width: 980px;
    height: 1238px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    justify-content: end;
}

section.contest .block .step {
    background-size: contain;
    width: 980px;
    height: 413px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
}

section.contest .block .step1 {
    background-image: url('/assets/konkurs-mimi-bday/img/section2_1.jpg');
}

section.contest .block .step2 {
    background-image: url('/assets/konkurs-mimi-bday/img/section2_2.jpg');
}

section.contest .block .step2 .cypa {
    width: 517px;
    height: 475px;
    right: 0;
    margin-left: auto;
}

section.contest .block .step3 {
    background-image: url('/assets/konkurs-mimi-bday/img/section2_3.jpg');
    height: 412px;
}

section.contest .block .rules {
    background-image: url('/assets/konkurs-mimi-bday/img/button_2.png');
    margin: 0 auto 40px;
}

/* призы */

section.prizes .block {
    background-image: url('/assets/konkurs-mimi-bday/img/presents.jpg');
    width: 980px;
    height: 439px;
    background-size: contain;
    margin: 0 auto;
    position: relative;
    display: block;
    padding: 30px;
}

section.prizes .block .title {
    font-family: 'PFBeauSansPro Bold', sans-serif;
    color: var(--white);
    position: relative;
    font-size: 40px;
    line-height: 40px;
    text-transform: uppercase;
    margin: 0;
    text-align: center;
}

/* участники */

section.participants .block {
    display: block;
    width: 980px;
    margin: 0 auto;
    position: relative;
    background-position: bottom;
    background-color: var(--mimi-bday-participants-bg);
}

section.participants .title {
    font-family: 'PFBeauSansPro Bold', sans-serif;
    color: var(--white);
    text-transform: uppercase;
    font-size: 32px;
    padding-top: 50px;
    position: relative;
    text-align: center;
    margin: 0;
}

section.participants .block.winners .title {
    margin-bottom: 30px;
}

section.participants .content {
    position: relative;
}

section.participants .search {
    position: relative;
    display: flex;
    width: 90%;
    margin: 30px auto;
    justify-content: center;
    align-items: center;
}

section.participants .search .body {
    width: 100%;
}

section.participants .search .form {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 37px;
    padding: 0 5px;
}

section.participants .search .form input {
    margin: 0 5px;
    height: 100%;
    border: 2px solid var(--mimi-bday-header-text);
    border-radius: 25px;
    padding: 10px;
}

section.participants .search .form .btn.find {
    background-image: unset;
    max-width: 150px;
    margin-left: 20px;
    margin-right: 0;
    line-height: 30px;
    width: 100%;
    height: 100%;
    background-color: var(--mimi-bday-header-text);
    border-radius: 25px;
    color: var(--white);
}

section.participants .search .form input::placeholder {
    color: #000;
    font-size: 14px;
    opacity: 1;
    text-align: left;
}

section.participants .list {
    list-style: none;
    padding: 0;
    margin: 30px 10px 0;
    display: flex;
    flex-wrap: wrap;
    height: auto;
}

section.participants .list li {
    width: 33.333333333333333333333%;
    display: block;
    position: relative;
    padding: 10px;
    height: auto;
	margin: 0 auto;
}

section.participants .list li .info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

section.participants .list li .place {
    font-family: 'PFBeauSansPro Bold', sans-serif;
    text-align: center;
    color: var(--white);
    font-size: 32px;
    text-transform: capitalize;
    margin-bottom: 20px;
}

section.participants .list li .image-container {
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

section.participants .list li .image-container img {
    object-fit: contain;
    width: 100%;
    height: 200px;
}

section.participants .list li .name {
    font-family: 'PFBeauSansPro', sans-serif;
    text-align: center;
    color: var(--white);
    font-size: 20px;
    text-transform: capitalize;
}

section.participants .list li .city {
    font-family: 'PFBeauSansPro', sans-serif;
    text-align: center;
    color: var(--white);
    font-size: 20px;
    text-transform: capitalize;
}

section.participants .block .bottom {
    width: 980px;
    height: 686px;
    margin: 20px auto 0;
}

section.participants .btn {
    margin: 0 auto;
}

/* пагинация */

section.participants .pagination {
    border: none;
    display: flex;
    justify-content: center;
    margin: 10px auto 30px;
    padding: 0;
    position: relative;
}

section.participants .pagination li {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    width: 35px;
    height: 35px;
    border: 2px solid var(--white);
    border-radius: 50%;
}

section.participants .pagination li:last-of-type {
    margin-right: 0;
}

section.participants .pagination li a {
    color: var(--white);
    font-size: 26px;
    padding: 0;
    outline: 0;
    user-select: none;
    border: 0;
    line-height: 31px;
    width: 31px;
    height: 31px;
    position: relative;
    text-align: center;
}

section.participants .pagination li a img {
    object-fit: contain;
    width: 12px;
    height: 21px;
}

section.participants .pagination li.active {
    border: 2px solid var(--mimi-bday-main) !important;
}

section.participants .pagination li.active a {
    color: var(--mimi-bday-main) !important;
}

section.participants .pagination li.active a img {
    filter: invert(42%) sepia(64%) saturate(5074%) hue-rotate(345deg) brightness(103%) contrast(92%);
}

section.participants .pagination li.prev a,
section.participants .pagination li.next a {
    font-size: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

section.participants .pagination li:hover > a,
section.participants .pagination li.active:hover > a {
    color: var(--mimi-bday-main) !important;
}

section.participants .pagination li:hover,
section.participants .pagination li.active:hover {
    border: 2px solid var(--mimi-bday-main) !important;
}

section.participants .pagination li:hover > a img,
section.participants .pagination li.active:hover > a img {
    filter: invert(42%) sepia(64%) saturate(5074%) hue-rotate(345deg) brightness(103%) contrast(92%);
}

/* подвал */

footer {
    background-color: var(--mimi-bday-footer);
}

body.table footer {
    bottom: 0;
    position: relative;
    margin-top: auto;
}

footer .block {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 10px;
    max-width: 980px;
    margin: 0 auto;
}

footer .links {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 5px 0 5px 0;
    margin-bottom: 20px;
}

footer .links .vk,
footer .links .ok,
footer .links .tg,
footer .links .likee {
    width: 40px;
    height: 40px;
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 25px;
    background-size: contain;
    border-radius: 50%;
}

footer .links .vk {
    background-image: url('/assets/konkurs-mimi-bday/img/vk_white.png');
}

footer .links .ok {
    background-image: url('/assets/konkurs-mimi-bday/img/ok_white.png');
}

footer .links .tg {
    background-image: url('/assets/konkurs-mimi-bday/img/tg_white.png');
}

footer .links .likee {
    background-image: url('/assets/konkurs-mimi-bday/img/likee_white.png');
}

footer .links .ct {
    background-image: url('/assets/konkurs-mimi-bday/img/ct.png');
    display: block;
    margin-left: auto;
    background-repeat: no-repeat;
    background-size: contain;
    width: 120px;
    height: 60px;
}

footer .rights {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;
    justify-content: space-between;
}

footer .rights .copyright {
    font-size: 11px;
    font-weight: 300;
    color: var(--white);
    max-width: 85%;
    line-height: normal;
    font-family: 'Roboto', sans-serif;
}

footer .rights .copyright a {
    color: var(--white);
    text-decoration: underline !important;
}

/* Флэш-сообщение */

.flash-message {
    position: absolute;
    max-width: 500px;
    background-color: var(--white);
    display: none;
    align-items: center;
    left: 0;
    right: 0;
    margin: 0 auto;
    height: 400px;
    top: calc(50% - 200px);
    z-index: 999991;
    border-radius: 10px;
    border: 1px solid #A5A5A5;
}

.flash-message.has-message {
    display: flex;
}

.flash-message .alert {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.flash-message .title {
    font-size: 36px;
    text-align: center;
    margin: 0;
    color: var(--mimi-bday-main);
}

.flash-message .title.danger {
    color: #ff0000;
}

.flash-message .text {
    color: var(--mimi-bday-main);
    font-size: 28px;
    padding: 15px 30px 30px;
    text-align: center;
}

.flash-message .btn {
    margin: 0 auto;
}

/* Таблица */

body.table .title {
    max-width: 980px;
    margin: 70px auto 20px;
    font-size: 28px;
    text-align: center;
}

body.table .content {
    display: block;
    overflow-x: auto;
}

body.table .table {
    max-width: 980px;
    margin: 0 auto 70px;
}

body.table .table thead tr .row-grey {
    background-color: #e3e3e3;
}

body.table .table thead tr th {
    font-size: 12px;
    text-align: left;
    padding: 0 10px;
}

body.table .table tbody tr td {
    font-size: 12px;
    text-align: left;
    padding: 0 10px;
}

@media screen and (min-width: 582px) and (max-width: 979px) {
    /* базовые стили кнопок */

    .btn {
        width: 220px;
        height: 56px;
        font-size: 18px;
    }

    /* баннер */

    section.promo .block {
        width: 582px;
        height: 454px;
    }

    section.promo .block .btn {
        margin: 0 auto 25px;
    }

    /* условия конкурса */

    section.contest .block {
        width: 582px;
        height: 735px;
    }

    section.contest .block .step {
        width: 582px;
        height: 245px;
    }

    section.contest .block .step2 .cypa {
        width: 327px;
        height: 300px;
    }

    section.contest .block .rules {
        margin: 0 auto 20px;
    }

    /* призы */

    section.prizes .block {
        width: 582px;
        height: 261px;
        padding: 15px;
    }

    section.prizes .block .title {
        font-size: 26px;
        line-height: 26px;
    }

    /* участники */

    section.participants .block {
        width: 582px;
    }

    section.participants .title {
        font-size: 26px;
        padding-top: 30px;
    }

    section.participants .list {
        margin: 0;
    }

    section.participants .list li {
        width: 100%;
        padding: 10px;
    }

    section.participants .list li .info {
        padding: 15px;
    }

    section.participants .list li .image-container img {
        height: auto;
    }

    section.participants .list li .name {
        font-size: 16px;
    }

    section.participants .list li .city {
        font-size: 16px;
    }

    section.participants .block .bottom {
        width: 100%;
        height: auto;
        margin: 20px auto 0;
    }

    /* пагинация */

    section.participants .pagination {
        margin: 10px auto 30px;
    }

    section.participants .pagination li {
        width: 30px;
        height: 30px;
    }

    section.participants .pagination li a {
        font-size: 22px;
        line-height: 25px;
        width: 25px;
        height: 25px;
    }

    section.participants .pagination li a img {
        width: 10px;
        height: 18px;
    }

    section.participants .pagination li.prev a,
    section.participants .pagination li.next a {
        font-size: 26px;
    }

    /* флэш-сообщение */

    .flash-message {
        width: 95%;
        height: auto;
        padding: 20px;
    }

    .flash-message .title {
        font-size: 28px;
    }

    .flash-message .text {
        font-size: 22px;
        padding: 15px 20px 30px;
        line-height: 28px;
    }

    /* таблица */

    body.table .title {
        max-width: 90%;
        font-size: 18px;
    }
}

@media screen and (min-width: 320px) and (max-width: 581px)  {
    /* базовые стили кнопок */

    .btn {
        width: 150px;
        height: 38px;
        font-size: 13px;
    }

    /* баннер */

    section.promo .block {
        background-image: url('/assets/konkurs-mimi-bday/img/section1_m.jpg');
        width: 320px;
        height: 316px;
    }

    section.promo .block .btn {
        margin: 0 auto 20px;
    }

    /* условия конкурса */

    section.contest .block {
        width: 320px;
        height: 474px;
    }

    section.contest .block .step {
        width: 320px;
        height: 135px;
    }

    section.contest .block .step2 .cypa {
        width: 174px;
        height: 160px;
    }

    section.contest .block .step3 {
        background-image: url('/assets/konkurs-mimi-bday/img/section2_3_m.jpg');
        width: 320px;
        height: 204px;
    }

    section.contest .block .rules {
        margin: 0 auto 15px;
    }

    /* призы */

    section.prizes .block {
        width: 320px;
        height: 143px;
        padding: 10px;
    }

    section.prizes .block .title {
        font-size: 20px;
        line-height: 22px;
    }

    /* участники */

    section.participants .block {
        width: 320px;
    }

    section.participants .title {
        font-size: 20px;
        padding-top: 20px;
    }

    section.participants .search {
        margin: 20px auto 30px;
        width: 100%;
    }

    section.participants .search .form input {
        font-size: 12px;
    }

    section.participants .search .form input::placeholder {
        font-size: 12px;
    }

    section.participants .list {
        margin: 0;
    }

    section.participants .list li {
        width: 100%;
        padding: 5px;
    }

    section.participants .list li .info {
        padding: 10px;
    }

    section.participants .list li .image-container img {
        height: auto;
    }

    section.participants .list li .place {
        font-size: 20px;
    }

    section.participants .list li .name {
        font-size: 14px;
    }

    section.participants .list li .city {
        font-size: 14px;
    }

    section.participants .block .bottom {
        width: 100%;
        height: auto;
        margin: 20px auto 0px;
    }

    /* пагинация */

    section.participants .pagination {
        margin: 10px auto 30px;
    }

    section.participants .pagination li {
        width: 30px;
        height: 30px;
    }

    section.participants .pagination li a {
        font-size: 22px;
        line-height: 25px;
        width: 25px;
        height: 25px;
    }

    section.participants .pagination li a img {
        width: 10px;
        height: 18px;
    }

    section.participants .pagination li.prev a,
    section.participants .pagination li.next a {
        font-size: 26px;
    }

    /* подвал */

    footer .links .vk,
    footer .links .ok,
    footer .links .tg,
    footer .links .likee {
        margin-right: 15px;
        width: 35px;
        height: 35px;
    }

    footer .links .ct {
        width: 80px;
        height: 40px;
    }

    /* флэш-сообщение */

    .flash-message {
        width: 95%;
        height: auto;
        padding: 20px;
    }

    .flash-message .title {
        font-size: 28px;
    }

    .flash-message .text {
        font-size: 22px;
        padding: 15px 20px 30px;
        line-height: 28px;
    }

    /* Таблица */

    body.table .title {
        max-width: 90%;
        font-size: 14px;
    }

    body.table .table thead tr th {
        font-size: 10px;
        padding: 0 5px;
    }

    body.table .table tbody tr td {
        font-size: 10px;
        padding: 0 5px;
    }
}
