:root {
    --clr-bg-main: rgb(240, 242, 245);
    --clr-bg-item: rgb(255, 255, 255);
    --clr-bg-nav: rgb(58, 58, 58);
    --clr-item-bord: rgb(221, 221, 221);
    --clr-nav-bord: rgb(205, 207, 211);
    --clr-main: rgb(32, 32, 32);
    --clr-txt-fade: rgb(181, 181, 181);
    --clr-nav-a: rgb(24, 118, 242);
    --clr-count: rgb(255, 0, 0);
    --w-inner: 980px;
    --w-m: 1880;
    --h-m: 600;
    --m-ar: calc(var(--w-m)/var(--h-m));
    --h-nav: 60px;
    --w-ava: 115px;
    --clr-bg-item-fade: rgba(255, 255, 255, .4)
}

* {
    position: relative;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box
}

:active,
:focus {
    outline: 0
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    background: var(--clr-bg-main);
    font-family: Roboto, sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    color: var(--clr-main)
}

form,
h1,
h2,
h3,
h4,
h5,
h6,
input,
p,
ul {
    margin: 0;
    padding: 0;
    outline: 0;
    list-style-type: none
}

h1 {
    font-size: 1.5em
}

.to_reg,
a {
    cursor: pointer
}

.p-head {
    min-height: 350px;
    background: var(--clr-bg-item);
    padding: 0 20px var(--h-nav)
}

main {
    min-height: 100vh;
    display: grid;
    grid-gap: 30px;
    padding: 30px 20px
}

.p-foot {
    min-height: 35px;
    padding: 30px 20px;
    background: var(--clr-bg-item);
    border-top: 1px solid var(--clr-item-bord);
    display: flex;
    justify-content: space-between;
    align-items: center
}

@media screen and (max-width:600px) {
    .p-foot {
        flex-direction: column
    }
}

.n-top {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    min-height: var(--h-nav);
    background: var(--clr-bg-nav);
    color: var(--clr-bg-item)
}

.inner {
    max-width: var(--w-inner);
    margin: 0 auto
}

.n-top .inner {
    display: grid;
    grid-template-columns: 1fr auto;
    height: var(--h-nav);
    padding: 0 10px;
    align-items: center
}

.n-top .sb {
    display: none
}

.n-top .logo {
    order: 2;
    font-size: 1.5em;
    font-weight: 700
}

.nt-icons {
    display: grid;
    grid-template-columns: repeat(3, minmax(25px, max-content))
}

.nt-icons>* {
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 5px
}

[data-count]:after {
    content: attr(data-count);
    display: block;
    background: var(--clr-count);
    padding: 0 4px;
    border-radius: 3px;
    color: var(--clr-bg-item)
}

.nt-icons [data-count]:after {
    display: grid;
    position: absolute;
    top: -5px;
    left: -5px;
    font-size: .8em;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    align-items: center;
    justify-content: center;
    padding: 0
}

.p-head>.inner {
    top: var(--h-nav)
}

.p-head>.inner:before {
    content: "";
    display: inline-block;
    width: 100%;
    min-height: 230px;
    background: url("../img/m.jpg") top center no-repeat;
    background-size: cover;
    object-fit: cover;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px
}

.acc {
    top: -30px;
    display: grid;
    grid-template-columns: var(--w-ava) 1fr;
    grid-gap: 5px;
    align-items: center
}

.acc:before {
    content: "";
    display: block;
    width: var(--w-ava);
    height: var(--w-ava);
    background: var(--clr-bg-item) url("../img/ava.png") top center no-repeat;
    background-size: contain;
    border: 4px solid #fff;
    border-radius: 50%;
    justify-self: center
}

.p-head>.inner[data-bg="2"] .acc:before {
    background: var(--clr-bg-item) url("../img/ava-1.png") top center no-repeat
}

.p-head>.inner[data-bg="1"] .acc:before {
    background: var(--clr-bg-item) url("../img/ava-2.png") top center no-repeat
}

.n-main {
    border-top: 1px solid var(--clr-nav-bord);
    margin-bottom: 12.5px
}

.n-main ul {
    display: flex;
    align-items: center
}

.n-main ul a {
    padding: 7.5px 5px;
    line-height: 1.3125em;
    letter-spacing: .32px;
    transition: .3s ease;
    display: block;
    font-weight: 500
}

.n-main ul a:before {
    content: "";
    position: absolute;
    top: -1px;
    height: 3px;
    width: 0%;
    left: 50%;
    background: var(--clr-nav-a);
    transform: translate(-50%, 0)
}

.n-main ul a.current {
    color: var(--clr-nav-a)
}

.n-main ul a.current:before {
    width: 100%
}

.icons {
    position: absolute;
    bottom: 235px;
    display: grid;
    width: 100px;
    grid-gap: 5px;
    justify-content: center
}

.button {
    display: grid;
    grid-template-columns: 1fr auto;
    width: 80px;
    padding: 7px 8px 6px;
    background: var(--clr-bg-item);
    border-radius: 6px;
    cursor: pointer;
    align-items: center
}

.likes:after {
    content: url("../img/like.png")
}

.col {
    display: grid;
    grid-gap: 30px;
    height: fit-content;
    justify-items: center
}

.item {
    padding: 20px 15px;
    border: 1px solid #e5e1e1;
    border-radius: 8px;
    background: #fff
}

.item ul {
    display: grid;
    grid-gap: 20px
}

.item ul li {
    display: grid;
    grid-template-columns: 1fr 25px;
    grid-gap: 3px
}

.item ul li:after {
    content: url("../img/chck.png")
}

.fl-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px
}

@media only screen and (max-width:767px) {
    .fl-wrap {
        grid-template-columns: repeat(2, 1fr)
    }
}

.f-single {
    display: grid;
    justify-items: center;
    text-align: center
}

.f-single:before {
    content: "";
    position: absolute;
    width: 25px;
    height: 25px;
    margin: 5px;
    background: url("../img/flag.png") center center no-repeat;
    background-size: 100% 100%;
    justify-self: start;
    z-index: 1
}

.f-single img {
    max-width: 120px;
    max-height: 120px;
    object-fit: cover;
    height: 120px;
    width: fit-content
}

.pb {
    width: max-content;
    margin: 20px auto 0;
    padding: 8px 9px;
    background: var(--clr-nav-a);
    color: var(--clr-bg-item);
    grid-gap: 5px
}

.f-pics:after {
    content: url("../img/pics.svg")
}

.post {
    width: 100%;
    padding: 10px
}

.post header {
    display: grid;
    grid-template-columns: 45px 1fr;
    grid-gap: 5px;
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--clr-txt-fade)
}

.p-name {
    color: var(--clr-nav-a);
    font-size: 15px;
    font-weight: 550;
    cursor: pointer
}

.post header>img {
    grid-row: 1/span 2
}

.post img {
    width: 100%;
    max-width: 100%;
    height: auto
}

.post footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    margin: 10px 0 0
}

.post footer>a {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-gap: 5px
}

.com:after {
    content: url("../img/com.png")
}

.share:after {
    content: url("../img/share.svg");
    width: 18px
}

.rf-wrap {
    position: absolute;
    top: 6%;
    width: calc(100% - 20px);
    min-height: 250px;
    padding: 10px;
    z-index: 1
}

.rf-wrap:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--clr-bg-item-fade);
    backdrop-filter: blur(30px)
}

.form-field {
    padding: 0 10px
}

.form-field h3 {
    margin: 5px 0 10px;
    text-align: center;
    font-size: 2em;
    color: var(--clr-bg-item);
    font-weight: 400
}

.form-field>p {
    color: var(--clr-bg-item);
    margin: 10px 0;
    font-size: 1.3em;
    text-align: center
}

.actions {
    display: grid;
    grid-gap: 5px
}

.rf-wrap form {
    z-index: 2
}

.rf-wrap fieldset {
    display: grid;
    grid-gap: 20px;
    border: 0;
    margin: 0;
    padding: 0
}

.rf-wrap input,
.rf-wrap select {
    width: 100%;
    height: 40px;
    background: var(--clr-bg-item);
    background-image: url("../img/down-arrow.svg");
    background-repeat: no-repeat;
    background-size: 10px 10px;
    background-position: 95% 16px;
    border-radius: 8px;
    padding: 2px 10px;
    margin-bottom: 5px;
    appearance: none;
    font-size: 1.3em;
    border: none
}

.rf-wrap label {
    display: block;
    position: relative;
    cursor: pointer;
    font-size: 1.5em;
    font-weight: 700;
    text-align: center;
    color: var(--clr-bg-item)
}

.rf-wrap label.error {
    position: absolute;
    color: #f20000;
    font-size: 14px;
    font-weight: 400
}

.button.action {
    width: 70%;
    height: 42px;
    margin: 0 auto;
    padding: 8px;
    background: var(--clr-nav-a);
    border: 2px solid var(--clr-bg-item);
    border-radius: 8px;
    font-size: 1.3em;
    color: var(--clr-bg-item)
}

.rf-wrap input {
    background-image: none
}

.birth-input {
    display: grid;
    grid-gap: 5px;
    grid-template-columns: repeat(3, 1fr)
}

.loader {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, .8) url("../img/ajax-loader2.gif") no-repeat center center;
    z-index: 999
}

.van {
    color: var(--clr-txt-fade)
}

h2 .van {
    font-size: calc(100% - .3em)
}

@media only screen and (min-width:48em) {
    .n-top .inner {
        grid-template-columns: 1fr auto auto
    }

    .n-top .logo {
        font-size: xx-large
    }

    .nt-icons {
        grid-template-columns: repeat(3, minmax(85px, max-content))
    }

    h1 {
        font-size: 2em;
        color: var(--clr-bg-item)
    }

    .p-head>.inner {
        display: grid
    }

    .p-head>.inner:before {
        min-height: 300px
    }

    .icons {
        grid-auto-flow: column;
        bottom: 165px;
        width: 230px;
        justify-self: end
    }

    .acc {
        --w-ava: 200px;
        grid-template-columns: calc(var(--w-ava) + 80px) 1fr;
        margin-top: -110px
    }

    main {
        grid-template-columns: 1.3fr 1fr
    }

    .rf-wrap {
        padding: 50px 30px
    }

    .button.action {
        width: 40%
    }
}

@media only screen and (min-width:64em) {
    .n-top .inner {
        grid-template-columns: auto 1fr auto
    }

    .n-top .sb {
        order: 1;
        display: grid;
        grid-template-columns: 1fr auto;
        width: 220px;
        height: 60%;
        border-radius: 25px;
        background: var(--clr-bg-item);
        align-self: center;
        justify-self: center;
        align-items: center;
        color: var(--clr-txt-fade);
        justify-content: end;
        padding: 0 10px
    }

    .n-top .sb:before {
        content: url("s.svg")
    }

    main {
        padding: 30px 0
    }
}

body,
html {
    position: relative;
    overflow-x: hidden
}

.ribbon {
    position: absolute;
    top: 30px;
    right: -45px;
    padding: 5px 45px;
    transform: rotate(45deg);
    z-index: 10;
    background-color: #1876f2;
    color: #fff
}

@media screen and (max-width:600px) {
    .ribbon {
        font-size: 12px;
        top: 20px
    }
}

.footer-list {
    display: flex;
    gap: 10px
}

.footer-list a {
    color: #000;
    text-decoration: none
}

.footer-list a:focus,
.footer-list a:hover {
    color: #1876f2
}

.disclaimer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    color: #fff;
    background-color: rgba(0, 0, 0, .8);
    backdrop-filter: blur(95px);
    text-align: center;
    z-index: 1010
}

.disclaimer.hide {
    display: none
}

.disclaimer__wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 600px;
    background-color: transparent;
    padding: 0 10px
}

.disclaimer__number {
    background-color: #d00500;
    border-radius: 50%;
    padding: 24px;
    font-weight: 700;
    font-size: 44px;
    line-height: 52px;
    font-family: Rubik, sans-serif;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px
}

.disclaimer__title {
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 44px;
    margin-bottom: 40px
}

.disclaimer__text {
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 20px
}

.disclaimer__text span.bold {
    font-weight: 700
}

.disclaimer__text a.disclaimer__link {
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    text-decoration-line: underline;
    color: #2a9d36
}

.disclaimer__text.disclaimer__text--mb {
    margin-bottom: 40px
}

.disclaimer__button {
    display: block;
    width: 100%;
    max-width: 360px;
    background: #2a9d36;
    box-shadow: 1px 2px 4px 2px rgba(0, 0, 0, .25);
    border-radius: 12px;
    padding: 19px 10px;
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    border: none;
    color: #fff;
    margin: 0 auto;
    transition: all .2s linear;
    cursor: pointer
}

.disclaimer__button:hover {
    background: #275e2c
}

.disclaimer__button span {
    text-transform: uppercase
}

.eller {
    display: block;
    text-align: center;
    margin: 5px 0
}

.buttonDiv iframe {
    margin: 10px -10px
}

.loading.loading--show {
    display: block
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    z-index: 1099;
    display: none
}

.overlay.overlay--show {
    display: block
}

.modal-error {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 300px;
    background-color: #fff;
    color: #000;
    border: 2px solid #202124;
    padding: 20px;
    text-align: center;
    z-index: 1100;
    display: none;
    font-size: 16px
}

.modal-error .close {
    position: absolute;
    top: 0;
    right: 10px;
    cursor: pointer;
    font-size: 26px;
    color: #3f3f3f;
    transition: all .3s linear
}

.modal-error .close:hover {
    color: #000
}

.modal-error a {
    font-weight: 700;
    text-decoration: underline
}

.modal-error a {
    font-weight: 700;
    text-decoration: underline
}

.modal-error__loading img {
    width: 40px
}

.modal-error.modal-error--show {
    display: block
}

.modal-error__loading.modal-error__loading--hide {
    display: none
}

.modal-error__text {
    display: none
}

.modal-error__text.modal-error__text--show {
    display: block
}

.eller {
    font-size: 20px
}

#buttonDiv {
    width: 206px;
    margin: 0 auto
}

.form-error {
    text-align: center;
    margin-top: 10px
}

.form-error a {
    font-weight: 700;
    color: #f20000
}

.footer__disclamer {
    max-width: 980px;
    margin: 0 auto 10px
}

.footer__copy {
    max-width: 980px;
    margin: 0 auto 10px
}

.address {
    font-style: normal;
    max-width: 980px;
    margin: 0 auto 20px
}

.footer {
    min-height: 35px;
    padding: 30px 20px;
    background: #fff;
    border-top: 1px solid #ddd;
    width: 100%;
    padding-bottom: 57px
}

.footer a {
    color: #000
}

.footer.footer--reductions {
    padding-bottom: 10px
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    max-width: 980px;
    margin: 0 auto 35px
}

.footer__links li {
    margin-right: 40px;
    margin-bottom: 5px
}

.footer__links li:last-child {
    margin-right: 0
}

@media screen and (max-width:767px) {
    .footer {
        padding-bottom: 77px
    }

    .footer.footer--reductions {
        padding-bottom: 10px
    }

    .footer .container {
        display: block
    }

    .footer__links {
        margin-bottom: 10px
    }
}

@media screen and (max-width:576px) {
    .footer__links li {
        margin-right: 0;
        margin-bottom: 5px;
        flex-basis: calc(50% - 20px)
    }

    .footer__links li:nth-child(2n-1) {
        margin-right: 40px
    }
}

@media screen and (max-width:425px) {
    .footer {
        padding-bottom: 115px
    }

    .footer.footer--reductions {
        padding-bottom: 10px
    }
}

.cookies {
    background-color: #fff;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1100
}

.cookies.hide {
    display: none
}

.cookies__wrapper {
    background: #343c66;
    font-size: 14px;
    line-height: 17px;
    padding: 14px 0;
    color: #fff
}

.cookies__wrapper .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 10px
}

.cookies__content {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin-right: 40px
}

.cookies__button {
    color: #fff;
    padding: 6px 26px;
    border: none;
    cursor: pointer;
    background: #f71559;
    border-radius: 6px;
    display: block;
    width: 100%;
    max-width: 120px
}

.cookies__link {
    color: #fff;
    font-weight: 700;
    text-decoration: underline
}

@media screen and (max-width:767px) {
    .cookies__content {
        margin-right: 10px
    }

    .cookies__img {
        margin-right: 10px
    }
}