/* General */
:root {
    --index: calc(1vw + 1vh);
    --ind: 1vw;
    --scrollbar_width: 17px;
    --button-size: calc(var(--index) * 2.7);
}
@media (orientation: portrait) {
    :root {
        --index: calc((1vh + 1vw) * 2);
        --ind: 1vh;
        --button-size: calc(var(--index) * 1.5);
    }
}
* {
    word-wrap: anywhere;
    overflow-wrap: anywhere;
}
.custom {
    all: revert;
}
.custom_hr {
    all: unset;
    display: inline-block;
    width: 100%;
    height: 1px;
    margin: 0 !important;
    background-color: #777;
}
.icon.custom {
    width: 44px;
    height: 44px;
}
@media screen and (max-width: 1280px) {
    .icon.custom {
        width: 30px;
        height: 30px;
    }
}
.inner.custom {
    padding-top: 1em !important;
    padding-bottom: 1em !important;
}
.tiles article:nth-child(6n - 2)::before {
    cursor: pointer;
}
.tiles article:nth-child(6n - 2) * {
    cursor: pointer;

}
.scroll_box {
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.scroll_box::-webkit-scrollbar {
    display: none;
}
h4, h5 {
    margin: 0;
}
html.no-scrollbar {
    width: calc(100% - var(--scrollbar_width));
}
#two > h2 {
    text-align: center;
    margin-top: 1.5em;
}

/* FAQ */
#faq {
    margin-bottom: 1em;
}
#faq > article {
    font-style: italic;   
    margin-bottom: 1em;
}
#faq summary {
    cursor: pointer;
}
#faq details p {
    margin: 
        calc(var(--index) * .1) 0 
        calc(var(--index) * .5) calc(var(--index) * .5);
}

/* Team */
.team {
    display: flex;
    justify-content: space-between;
    gap: calc(var(--index) * 1);
    padding: 0;
    margin: calc(var(--index) * 2) 0;
    text-align: center;
}
.team div {
    width: fit-content;
}
.team img {
    width: calc(var(--index) * 8);
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 0 calc(var(--index) * .5) calc(var(--index) * .1) #53e3fb;
}
.team li {
    all: revert;
    white-space: nowrap;
    list-style: none;
}
@media (max-width: 980px) {
    .team {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-items: center;
        justify-content: center;
    }
    .team > :first-child {
        grid-column: span 2;
    }
    .team img {
        width: calc(var(--index) * 7);
    }
}

/* Buttons */
.button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: var(--button-size);
    margin-top: .5em;
    margin-bottom: .5em;
    font-size: .85em !important;
    font-weight: 500;
}
.button.float {
    display: inline-flex;
}
.block-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--index) * .25);
    width: fit-content;
    margin: calc(var(--index) * .5) 0;
}
.button.review {
    width: 100%;
    margin: calc(var(--index) * .5) 0;
}
.block-buttons.lk_panel {
    justify-content: end;
}
.block-buttons.lk_panel > * {
    min-width: calc(var(--index) * 10);
}
.platform-button--grid {
    display: grid;
    grid-template-rows: auto auto;
    margin-bottom: calc(var(--index) * 1);
}
.platform-button--grid .button {
    width: 100%;
    margin: calc(var(--index) * .1);
}
@media(orientation: portrait) {
    .block-buttons {
        flex-direction: column-reverse;
        width: clamp(50%, calc(var(--index) * 10), 90%);
        margin: calc(var(--index) * .5) auto;
    }
    .block-buttons .button {
        width: 100%;
    }
    .platform-button--grid {
        width: clamp(50%, calc(var(--index) * 10), 90%);
        margin: calc(var(--index) * .5) auto;
    }
}

/* Project Page */
.block {
    display: block;
    width: fit-content;
    margin: 0;
}
.call_support_form {
    display: block;
    margin: calc(var(--index) * 1) auto;
    font-size: .8em;
}
input, select {
    font-size: .85em;
}
.pay #timer {
    font-weight: 500;
}
.payok * {
    text-align: center;
}

/* Popup */
.popup {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: calc(var(--index) * .25);
    text-align: center;
    padding: calc(var(--index) * 3);
    padding-bottom: calc(var(--index) * 1);
    position: fixed;
    inset: 0;
    overflow: auto;
    z-index: 10000;
        background-color: rgba(44, 44, 44, .98);
        opacity: 0;
            transition: opacity .3s, backdrop-filter .3s;
            pointer-events: none;
            overscroll-behavior: none;
            scrollbar-width: none;
            -ms-overflow-style: none;
}
.popup input[type="text"]::placeholder {
    text-align: center;
        color: #9bf1ff !important;
}
.popup .block-buttons {
    margin-left: auto;
    margin-right: auto;
}
.popup::-webkit-scrollbar {display: none;}
.popup > * {
    flex: 0 0 auto;
    margin-left: auto;
    margin-right: auto;
}
.popup :is(h2, h3, h4) {
    display: inline-block;
    padding: 0;
    margin-bottom: 0;
}
.popup p {
    margin: calc(var(--index) * .5);
}
.popup-close {
    all: unset;
    position: fixed;
    right: calc(var(--index) * 2);
    top: calc(var(--index) * 2);
    font-size: calc(var(--index) * 2);
    line-height: .5;
    cursor: pointer;
}
#close {
    all: unset;
    position: fixed;
    right: calc(var(--index) * 2);
    top: calc(var(--index) * 2);
    font-size: calc(var(--index) * 2);
    line-height: .5;
    cursor: pointer;
}
#close:hover {
    color: #53e3fb;
    transition: color .5s;
}
@media(orientation: portrait) {
    #close {
        right: calc(var(--index) * .75);
        top: calc(var(--index) * .75);
    }
    .popup-close {
        right: calc(var(--index) * .75);
        top: calc(var(--index) * .75);
    }
}
.popup .custom_paragraph {
    max-width: 90%;
    margin: calc(var(--index) * .5);
}
.popup:target {
    display: flex;
        opacity: 1;
            pointer-events: auto;
}
.popup pre {
    width: fit-content;
    max-width: 80%;
    white-space: pre-line;
    overflow-wrap: break-word;
}
.popup img {
    display: block;
    max-width: 100%;
    object-fit: contain;
    overflow: hidden;
    margin: calc(var(--index) * 1) auto;
}
.popup h2,
.popup strong 
{
    display: block;
    width: fit-content;
    margin: 0 auto;
    text-decoration: underline;
}
/* - */

/* image viewer */
#image_viewer {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: calc(var(--index) * 1);
    position: fixed;
    inset: 0;
    z-index: 10000;
    background-color: rgba(44, 44, 44, .98);
    overscroll-behavior: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
#image_viewer img {
    max-width: 95%;
    height: 80%;
    object-fit: contain;
    margin: calc(var(--index) * 1);
    border: calc(var(--index) * .1) solid #fff;
    user-select: none;
    cursor: pointer;
}
/* - */

/* Moodboard */
.moodboard {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 75%;
    margin: calc(var(--index) * 1) 0;
}
.moodboard img {
    all: unset;
    display: block;
    width: 50%;
    object-fit: cover;
    cursor: pointer;
}
@media(orientation: portrait) {
    .moodboard img {
        width: 100%;
    }
}

.underline {
    text-decoration: underline;
}

/* Notify */
.notify > h3 {
    text-align: center;
    margin: auto;
}
.notify > .flex-switch {
    width: fit-content;
    justify-content: start; 
    gap: calc(var(--index) * 1) 2%;
    flex-wrap: wrap;
    text-align: center;
    margin: calc(var(--index) * 1) auto;
}
.notify > .flex-switch > .notify__blocks {
    flex: 0 0 31%;
    min-width: 15em;
    height: fit-content;
    padding: calc(var(--index) * .5);
}
.notify > .flex-switch > .notify__blocks p {
    margin: 0;
}
.notify > .flex-switch p {
    hyphens: auto;
}
.notify > .flex-switch > .notify__blocks:nth-child(1) {
        border: 1px solid #B64;
}
.notify > .flex-switch > .notify__blocks:nth-child(2) {
        border: 1px solid #5A8;
}
.notify > .flex-switch > .notify__blocks:nth-child(3) {
        border: 1px solid #37C;
}
.notify > .flex-switch > .notify__blocks:nth-child(4) {
        border: 1px solid #A58;
}
#blocker_notify {
    width: 90%;
    margin: auto;
    border-color: #FF0000FF;
    hyphens: manual;
}
#empty_notify {
    margin: auto;
}
.notify-cell {
    padding: calc(var(--index) * 1);
    border-bottom: solid calc(var(--index) * .1) rgba(0, 0, 0, .25);
}

.flex-switch {
    display: flex;
}
.vacant_places  {
    margin: calc(var(--index) * 1) 0;
}
.vacant_places span {
    font-size: 1.5em;
}
.vacant_places * {
    font-weight: 500;
}

/* Time board */
#time-board {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25em;
    font-size: 1.2em;
}
#time-board #msc_time {
    font-size: 1.4em;
    font-weight: 500;
}
input:focus,
textarea:focus {
    border: none !important;
    box-shadow: inset 0 0 0 .1em #9bf1ff !important;
}
.field_default {
    border: none !important;
    box-shadow: 
        0 0 .1em 0 #888,
        inset 0 0 0 .1em #888 !important;
}
.field_invalid {
    border: none !important;
    box-shadow: inset 0 0 0 .1em #ec8d81 !important;
}
.field_valid{
    border: none !important;
    box-shadow: inset 0 0 0 .1em #87c5a4 !important;
}

/* Withdraw */
#withdraw_swap_block {
    min-height: calc(var(--index) * 17);
}
@media (orientation: portrait) {
    #withdraw_swap_block {
        min-height: calc(var(--index) * 13);
    }
}
#withdraw_image_set {
    display: grid;
    grid-template-columns: auto auto auto auto;
    grid-template-rows: auto;
    justify-content: center;
    justify-items: center;
    width: 90%;
    padding: 1em;
    margin: auto;
}
#withdraw_image_set > img {
    width: 100%;
    aspect-ratio: 1;
    padding: 1em;
}

/* Withdraw */
#withdraw_history {
    box-sizing: border-box;
    display: block;
    position: relative;
    width: 100%;
    height: 5em;
    margin: calc(var(--index) * 1) auto;
    overflow: hidden;
    border: calc(var(--index) * .05) solid #fff;
    background: rgba(0, 0, 0, .25);
}
#withdraw_history output {
    display: block;
    width: 100%;
    height: 6em;
    padding: calc(var(--index) * .2);
    user-select: none;
}
#history_scroll_box {
    box-sizing: border-box;
    position: relative;
    height: 100%;
    overflow: hidden;
}
#history_scroll {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: calc(var(--index) * .3);
    border-radius: 25px;
    background-color: rgba(255, 255, 255, .5);
}

/* Withdraw */
#withdraw_panel {
    margin: 2em auto;
}
.call_withdraw {
    display: flex;
    align-items: center;
    height: var(--button-size);
}
.call_withdraw > input,
.call_withdraw > a {
    width: 50%;
}
.withdraw_input__block {
    width: 100%;
}
.choice_withdraw {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    margin: auto;
}
.choice_withdraw > a {
    width: 50%;
    margin: 0;
}
#withdraw_panel input {
    height: var(--button-size);
    text-align: center;
}
#withdraw_panel a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--button-size);
}

/* withdraw_block */
.withdraw_block {
    --font-size: calc(var(--index) * .425);
    box-sizing: border-box;
    display: block;
    width: 100%;
    padding: calc(var(--font-size) * .5);
    margin: calc(var(--font-size) * 1) auto;
    overflow: hidden;
    border: calc(var(--index) * .05) solid #fff;
    background: rgba(0, 0, 0, .25);
}
#withdraw {
    display: block;
    height: calc(var(--font-size) * 9);
    overflow: hidden;
    user-select: none;
}
#withdraw div {
    box-sizing: border-box;
    all: unset;
    display: block;
    margin: 0;
    font-size: var(--font-size);
    line-height: calc(var(--font-size) * 1.5);
    font-family: 'Courier New';
}
#withdraw span {
    color: #53e3fb;
    font-size: var(--font-size);
}
@media(orientation: portrait) {
    .withdraw_block {
        --font-size: calc(var(--index) * .325);
    }
    .choice_withdraw .button {
        width: 100%;
    }
}
/* - */
#reg_form {
    margin: calc(var(--index) * 1) auto;
}
.small-annot {
    display: block;
    margin-top: calc(var(--index) * .25);
    margin-bottom: calc(var(--index) * 1);
    font-size: .95em;
    text-transform: none;
    font-style: italic !important;
    font-weight: 100;
    letter-spacing: .05em;
}
.big-annot {
    all: revert;
    display: block;
    margin-top: calc(var(--index) * .25);
    margin-bottom: calc(var(--index) * 1);
    font-size: 1.2em;
    text-transform: none;
    font-weight: 500;
    letter-spacing: .05em;  
}
.button.active-projects {
    width: 100%;
    margin: calc(var(--index) * 1) auto;
}
.vacant_title {
    text-decoration: underline;
    text-underline-offset: calc(var(--index) * .25);
    text-decoration-skip-ink: auto;
}
.image_link {
    all: revert;
    flex: 0 0 30%;
}
.image.float {
    display: block;
    float: right;
    width: 40%;
    margin: 1em;
}
@media(orientation: portrait) {
    .image.float {
        width: 90%;
        float: none;
    }
}
.spotlights_custom > section {
    display: flex;
}
.spotlights_custom > section:nth-child(2n) {
    -moz-flex-direction: row-reverse;
    -webkit-flex-direction: row-reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    background-color: #333856;
}
.spotlights_custom .services_frame {
    align-self: center;
    display: block;
    width: 60%;
    margin: calc(var(--index) * 1) auto;
}
.spotlights_custom .services_image {
    display: block;
    width: 90%;
    height: 90%;
    margin: 5% auto;
    text-align: center;
}

/**/
.table-wrapper {
    --line: calc(var(--index) * 7);
    display: flex;
    flex-direction: column;
        border: calc(var(--index) * .1) solid rgba(0, 0, 0, .25);
}
.table-wrapper > div:nth-child(2n+1) {
    background-color: rgba(212, 212, 255, 0.035);
}
.table-wrapper * {
    text-align: center;
    margin: 0;
}
.table-wrapper > span {
    padding: 1em;
}
.projects_cells {
    display: flex;
    height: var(--line);
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: .25%;
}
.projects_cells > div {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: calc(var(--index) * .5) calc(var(--index) * .5);
        font-size: calc(var(--index) * .7);
            background-color: rgba(0, 0, 0, 0.05);
}
.projects_cells.active_project {
    box-shadow: inset 0 0 0 calc(var(--index) * .1) #53e3fb;
}
.projects_cells > div:nth-child(1) {flex-basis: 25%;}
.projects_cells > div:nth-child(2) {flex-basis: 50%;}
.projects_cells > div:nth-child(3) {flex-basis: 24.5%;}
.projects_cells.projects_head {
    height: calc(var(--index) * 5);
            border-bottom: calc(var(--index) * .1) solid rgba(0, 0, 0, .75);
}
.projects_cells.projects_head > div {
        font-size: calc(var(--index) * .8);
        font-weight: 500;
            background-color: rgba(0, 0, 0, 0.25);
}
@media(orientation: portrait) {
    .table-wrapper {
                    --line: calc(var(--index) * 12);
    }
    .projects_cells  {
        flex-direction: column;
    } 
    .projects_cells > div {
            background-color: rgba(0, 0, 0, 0.25);
    }
    .projects_cells.projects_head {
        height: var( --line);
    }
    .projects_cells.projects_head > div {
        flex-basis: 33%;
    }
}

.object-pdf {
    width: 600pt; 
    height: 90%;
}
input::placeholder,
textarea::placeholder
{
    font-style: italic;
}

@media(orientation: portrait) {
    .object-pdf {
        width: 95%; 
        height: 50%;
    }
}
#pdf-plug {
    width: 100%; 
    height: 100%;
        background-color: #fff; 
}
#main_title {
    width: 100%;
    font-size: calc(var(--index) * 2);
    text-transform: uppercase;
}
.ident1 {
    margin: 2ex;
}
@media(orientation: portrait) {
    #main_title {
        font-size: calc(var(--index) * 1.2);
    }
    #main_title > span {
        display: none;
    }
}
.timer_blocks {
    display: block;
    width: fit-content;
    margin: 0 auto;
}
#load_svg, #qr_canvas, #order_img {
    width: clamp(100px, var(--index) * 10, 250px);
    aspect-ratio: 1;
    object-fit: contain;
}

/* user_info */
#user_info > h3 {
    cursor: default;
}
@media (orientation: portrait) {
    #user_info > h3 {
        font-size: calc(var(--index) * 0.75);
    }
}

/* curator */
#curator {
    display: flex;
    gap: calc(var(--index) * 1.5);
    margin-bottom: 1em;
}
#curator > h3 {
    margin: 0;
}
#curator > a {
    display: block;
    width: fit-content;
    height: fit-content;
    position: relative;
    border-bottom: none;
    font-style: italic;
    font-weight: 600;
    line-height: 2;
    margin: 0;
    cursor: pointer;
}
#curator > a::before {
    content: '';
    width: calc(var(--index) * .05);
    height: calc(100% - .3em);
    position: absolute;
    top: .3em;
    left: -.4em;
    background-color: #fff;
}
#curator > a::after {
    content: '';
    width: calc(100% + 1em);
    height: calc(var(--index) * .05);
    position: absolute;
    top: 100%;
    left: -.4em;
    background-color: #fff;
}
#curator > a:hover::before {
    background-color: #53e3fb;
}
#curator > a:hover::after {
    background-color: #53e3fb;
}
@media(orientation: portrait) {
    #curator {
        gap: calc(var(--index) * .5);
    }
    #curator > a {
        margin-left: calc(var(--index) * .25);
    }
}
/* - */
.anchors {
    scroll-margin: calc(var(--index) * 1.5);
}
@keyframes color_flash {
    to {color: #53e3fb;}
}
:target .flash-anchor,
.flash-anchor:target 
{
    animation: color_flash .25s linear .5s 6 alternate;
}
.row.panel_flex {
    row-gap: calc(var(--index) * 1);
}
#access_projects {
    text-align: center;
}
#project_done {
    width: 100%;
}

/* Transaction */
#transaction {
    min-height: 100vh;
    align-items: center;
    gap: calc(var(--index) * .2);
    text-align: center;
    padding: 5%;
    background-color: rgba(44, 44, 44, .98);
}
#transaction * {
    flex: 0 0 auto;
    margin-left: auto;
    margin-right: auto;
}
#transaction strong { 
    font-size: 2em;
    text-decoration: underline;
}
#transaction h2 {
    display: block;
    width: fit-content;
    margin: 0 auto;
    font-size: 2em;
    text-decoration: underline;
}
#transaction :is(h3, h5) {
    padding: 0;
    margin-bottom: calc(var(--index) * .0);
}
/*-*/
/* Chat */
.chat-block {
    margin-bottom: 1.5em;
}
.chat-block.admin {
    text-align: right;
}
.chat-block.admin * {
    color: #9bf1ff;
}
.chat-msg.head {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #21273f;
}
.chat-msg.head * {
    flex: 1;
    width: 100%;
    padding: .5em 0;
    border: calc(var(--index) * .1) solid rgba(0, 0, 0, .25);
}
.chat-msg.head :nth-child(1) {
    border-bottom: none;
}
.chat-msg.body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1em;
    border: calc(var(--index) * .1) solid rgba(0, 0, 0, .25);
    border-top: none;
}
.chat-msg p {
    all: revert;
    width: fit-content;
    max-width: 75%;
    margin: 0;
    font-style: italic;
    white-space: pre-line;
    overflow-wrap: break-word;
    word-break: normal;
}
.chat-block.emplo p {
    padding-left: 2.5%;
    margin-right: auto;
    text-align: left;
}
.chat-block.admin p {
    padding-right: 2.5%;
    margin-left: auto;
    text-align: left;
}
.chat-block.emplo p {
    padding-left: 2.5%;
}
.chat-block.admin a:hover {
    color: #53e3fb !important;
}
.chat-cite {
    margin-top: 1em;
    font-size: .85em;
    font-style: italic; 
}
.chat-cite.admin {
    margin-left: auto;
}
.chat-cite.emplo {
    margin-right: auto;
}
@media(orientation: portrait) {
    .chat-msg p {
        max-width: 95%;
    }
}
#admin_answers > span {
    font-size: .85em;
    font-style: italic;
}
#admin_answers > textarea {
    height: 10em;
}
.answers {
    display: block;
    width: 100%;
    margin: 0;
    margin-top: 1em;
    border-top: calc(var(--index) * .1) solid rgba(0, 0, 0, .25);
    text-align: left;
}
.answers > span {
    font-size: .85em;
    font-style: italic;
}
.answers > textarea {
    height: 10em;
    color: #fff !important;
}

/* Custom */
.margin {
    margin: calc(var(--index) * .8) 0;
}
.center {
    width: fit-content;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
img.custom {
    object-fit: cover;
}
h4.custom {
    margin: 0;
}
h2.underline {
    text-decoration: underline;
}
hr.custom {
    all: unset;
    display: block;
    width: clamp(25%, calc(var(--index) * 25), 90%);
    margin: calc(var(--index) * .5) auto;
    border-bottom: solid calc(var(--index) * .05) rgba(255, 255, 255, .25);
}
br.custom {
    display: none;
}
ul.custom {
    display: block;
    text-align: center;
    padding: 0;
}
ul.custom > li {
    display: block;
    width: fit-content;
    margin: auto;
}
ul.custom > li::before {
    content: '— ';
}

.space_block, .space_blocks, div.space {
    display: block;
    height: calc(var(--ind) * 1); 
}
input.big {
    width: 150%;
}
form.off {
    display: contents;
}
.flex-switch {
    flex-direction: row;
}
#lk_passwd_wrap {
    font-size: 1em;
    position: relative;
}
.passwd-icon::before {
    content: url('/assets/svg/passwd-icon.svg');
    display: block;
    width: 2.25em;
    aspect-ratio: 1;
    position: absolute;
    right: 2.5%;
    top: 50%;
    object-position: center;
    transform: translateY(-50%);
    line-height: 1;
    color: #1113;
    cursor: pointer;
}
.passwd-revert-icon::before {
    content: url('/assets/svg/passwd-revert-icon.svg');
    display: block;
    width: 2.25em;
    aspect-ratio: 1;
    position: absolute;
    right: 2.5%;
    top: 50%;
    object-position: center;
    transform: translateY(-50%);
    line-height: 1;
    cursor: pointer;
}
#profile .data-block {
    display: flex;
    width: fit-content;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.two-cols-block {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    column-gap: calc(var(--index) * 1);
}
.two-rows-block {
    display: grid;
    grid-template-rows: auto auto;
}

/* Portfolio*/
h2.portfolio {
    text-align: center;
}
img.portfolio {
    display: inline-block;
    width: 20%;
    height: calc(var(--index) * 15);
    object-fit: cover;
}
.description-portfolio {
    width: calc(100% - 6em);
    margin: 0 auto;
    text-align: center;
}
.section-portfolio section {
    text-align: center;
}

/* Chat */
.num_lists {
    display: block;
    width: fit-content;
    margin: calc(var(--index) * 1) auto;
    cursor: default;
}
.num_lists a {
    text-decoration: none;
    border-bottom: none;
}
.num_lists .list-num {
    position: relative;
}
.num_lists .list-num::before {
    content: '';
    width: .25em;
    aspect-ratio: 3;
    position: absolute;
    border-radius: 50%;
    background-color: #fff;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}
.num_lists .list-num:hover::before {
    background-color: #9bf1ff;
}

/* list */
.list_header {
    display: block;
    margin: 0;
    font-size: 1.1em;
    font-weight: 600;
}
.list-popup-block {
    all: revert;
    width: 50em;
    max-width: 88%;
    margin-top: calc(var(--index) * .5);
    margin-bottom: calc(var(--index) * .75);
    text-align: left;
}
.list-popup-block.center {
    width: fit-content;
}

/* Popup project*/
.popup.project #curator_phone {
    width: 15em;
    height: 2.75em;
    margin: calc(var(--index) * .2) auto;
    text-align: center;
    font-size: .85em;
}
/* Project time getting */
#project_gettime_block {
    all: revert;
    display: flex;
    width: 15em;
    justify-content: center;
    align-items: center;
    height: 2.75em;
    margin: calc(var(--index) * .2) auto;
    position: relative;
    outline: 1px solid #87c5a4;
    background-color: rgba(212, 212, 255, 0.035);
    font-size: .85em;
    color: #9bf1ff;
    user-select: none;
}
@keyframes gettime_before_anim {
    from {border-right-color: #53e3fb}, 
    to {border-right-color: #fff}, 
}
@keyframes gettime_after_anim {
    from {border-left-color: #53e3fb}, 
    to {border-left-color: #fff}, 
}
#project_gettime_block::before {
    content: '';
    position: absolute;
    right: 102.5%;
    border-top: calc(var(--ind) * 1) solid transparent;
    border-bottom: calc(var(--ind) * 1) solid transparent;
    border-right: calc(var(--ind) * 1.5) solid #fff;
    cursor: pointer;
}
#project_gettime_block::after {
    content: '';
    position: absolute;
    left: 102.5%;
    border-top: calc(var(--ind) * 1) solid transparent;
    border-bottom: calc(var(--ind) * 1) solid transparent;
    border-left: calc(var(--ind) * 1.5) solid #fff;
    cursor: pointer;
}
#project_gettime_block.animate-before::before {
    animation: gettime_before_anim .5s linear;
}
#project_gettime_block.animate-after::after {
    animation: gettime_after_anim .5s linear;
}
/*-*/

@media (orientation: portrait) {
    body {
        font-size: .8rem;
    }
    br.custom {
        display: inline;
    }
    .spotlights_custom .services_frame {
        width: 90%;
        margin: calc(var(--index) * 1) auto;
    }
    .spotlights_custom > section {
        display: flex;
        flex-direction: column;
    }
    .spotlights_custom > section:nth-child(2n) {
        display: flex;
        flex-direction: column;
        -webkit-flex-direction: column;
    }
    .flex-switch {
        flex-direction: column;
    }
    .popup {
        padding: calc(var(--index) * 1);
    }
}

/* Slider */
input[type="checkbox"] + .slider-label:before,
input[type="radio"] + .slider-label:before,
input[type="checkbox"]:checked + .slider-label:before,
input[type="radio"]:checked + .slider-label:before,
input[type="checkbox"]:focus + .slider-label:before,
input[type="radio"]:focus + .slider-label:before {
    all: revert !important;
}
input[type="checkbox"] + .slider-label, 
input[type="radio"] + .slider-label {
    all: revert;
}
.slaider_frame {
    display: block;
    position: relative;
    width: 100%;
    margin-bottom: 1em;
    user-select: none;
}
.slider p {
    all: revert;
    text-align: center;
    margin: 2em 0;
}
.cadre_frame {
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: fit-content;
    overflow: hidden;
    position: relative;
}
.slaider_frame .cadre_frame .slider-label {
    position: absolute;
    left: 50%;
    top: 0%;
    display: block;
    width: .5em;
    aspect-ratio: 1;
    cursor: pointer;
    border-radius: 50%;
    border: 1px solid #53e3fb;
    background-color: #fff;
    z-index: 10;
}
.cadre_frame label:nth-of-type(1) { margin: 10px -25px }
.cadre_frame label:nth-of-type(2) { margin: 10px 0px }
.cadre_frame label:nth-of-type(3) { margin: 10px 25px }
.cadre_frame input {
    display: none;
}
.slaider_frame .cadre_frame input:checked + label {
    background-color: #53e3fb;
    transform: scale(1.5);
}
.slider {
    display: flex;
    position: relative;
    transition: all 1s;
    cursor: pointer;
}
.slider picture {
    display: flex;
    align-items: center;
    width: 100%;
    height: fit-content;
    flex: 0 0 auto;
    position: relative;
}
.slider img {
    display: block;
    height: calc(var(--index) * 8);
    aspect-ratio: 1;
    margin: 1em;
    object-fit: contain;
    border-radius: 50%;
}
.slider cite {
    font-weight: 500;
}
@media (max-width: 480px) {
    .slaider_frame {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .cadre_frame label {
        position: absolute;
        left: 50%;
        display: block;
        width: 10px;
        height: 10px;
        cursor: pointer;
        border-radius: 50%;
        border: 1px solid #000;
        background-color: #fff;
        z-index: 10;
    }
    .cadre_frame label:nth-of-type(1) { margin: 10px -25px }
    .cadre_frame label:nth-of-type(2) { margin: 10px 0px }
    .cadre_frame label:nth-of-type(3) { margin: 10px 25px }
    .cadre_frame label:hover {
        transform: scale(1.5);
    }
    .cadre_frame input {
        display: none;
    }
    .cadre_frame input:checked + label {
        border-color: #E19700;
        background-color: #000;
        transform: scale(1.5);
    }
    .cadre_frame .slaider {
        display: flex;
        position: relative;
        transition: all 1s;
        cursor: pointer;
    }
    .slider picture {
        flex-direction: column;
        margin-top: 2em;
    }
}
/* reviews */
#reviews p {
    font-style: italic;
}
#reviews img {
    box-shadow: 0 0 calc(var(--index) * .5) calc(var(--index) * .1) #53e3fb;
}
/* - */
/* Map */
#map { 
    width: 100%;
    height: 50vh;
    min-height: 400px;
    font-size: .8rem;
    border-top: calc(var(--index) * .1) solid rgba(212, 212, 255, 0.1);
    border-bottom: calc(var(--index) * .1) solid rgba(212, 212, 255, 0.1);
}
.leaflet-control-attribution.leaflet-control {
    display: none;
}
.custom-map {
    width: fit-content;
}
#map_popup {
    font-family: 'Arial', sans-serif;
    color: #000;
}
#map_popup h4 {
    display: block;
    width: fit-content;
} 
#map_popup h4, 
#map_popup h5,
#map_popup ul {
    margin: 0;
    margin-bottom: .1em;
    color: #000;
}
#map_popup p {
    margin: 0;
}
#map_popup .image-set {
    display: flex;
    gap: 1px;
    margin: .5em 0;
}
#map_popup img {
    display: block;
    width: calc(var(--index) * 5);
    object-fit: cover;
}
@media (orientation: portrait) {
    #map { 
        font-size: .65rem;
    }
}
/* - */
/* Counter */
.counter-header {
    display: inline-block;
    position: relative;
    margin-left: 2.5em;
    text-decoration: underline;
    text-underline-offset: .5em;
    text-decoration-thickness: .1em;
    line-height: 2em;
}
.counter {
    color: #53e3fb;
}
.counter-block:nth-child(1) > .counter-header::before {
    content: url('/assets/svg/ibm-watson--orders.svg');
    display: block;
    width: 2em;
    aspect-ratio: 1;
    padding: 0 .25em;
    position: absolute;
    right: 100%;
    top: 50%;
    object-position: center;
    transform: translateY(-50%);
    line-height: 1;
}
.counter-block:nth-child(2) > .counter-header::before {
    content: url('/assets/svg/heart-handshake.svg');
    display: block;
    width: 2em;
    aspect-ratio: 1;
    padding: 0 .25em;
    position: absolute;
    right: 100%;
    top: 50%;
    object-position: center;
    transform: translateY(-50%);
    line-height: 1;
}
.counter-block:nth-child(3) > .counter-header::before {
    content: url('/assets/svg/briefcase-business.svg');
    display: block;
    width: 2em;
    aspect-ratio: 1;
    padding: 0 .25em;
    position: absolute;
    right: 100%;
    top: 50%;
    object-position: center;
    transform: translateY(-50%);
    line-height: 1;
}

/* Form */
#contact_form select {
    height: 2em;
}

/* Subsribe */
#subscribe #mailing_mail {
    display: flex;
}
#subscribe #mailing_init {
    line-height: 3;
}
#subscribe button {
    margin: 0;
    height: 3.5em;
}
#subscribe input {
    width: 12em;
    height: 3.5em;
}
#subscribe_annot {
    font-size: 1.1em;
    font-weight: 500;
}

#intro {
    font-size: .88em !important;
}

/* Video */
video {
    width: 50vw;
    height: fit-content;
}
@media (orientation: portrait) {
    video {
        width: 90vw;
    }
}

.fa-facebook-f::before {
    scale: 1 -1;
    letter-spacing: 5px;
    line-height: 2.1em !important;
}
.fa-instagram::before {
    scale: 1 -1;
    letter-spacing: -2px;
}
.contact.user {
    border-top: solid 1px rgba(212, 212, 255, 0.1);
}
.contact.user > section {
    margin: calc(var(--index) * 2) 0; 
}
.vac-head, .vac-head > li {
    list-style: none;
    padding: 0;
}
header.custom_header {
    width: 100%;
}
header.custom_header > h2 {
    max-width: 95%;
}

.input-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: calc(var(--index) * .25);
    width: max-content;
    margin: calc(var(--index) * .5) 0;
}
.input-block > input {
    border: calc(var(--index) * .05) solid #fff;
    text-align: center;
    font-size: .9em;
}
.container-block {
    display: block;
    margin-top: 1em;
    margin-bottom: 2em;
}

@font-face {
    font-family: 'Open Sans';
    src: url('/assets/webfonts/OpenSans-Variable.ttf') format('truetype'),
       local('Book Antiqua');
    font-weight: 100 900;
    font-style: normal;
    font-display: block;
}
@font-face {
    font-family: 'Open Sans';
    src: url('/assets/webfonts/OpenSans-Italic-VariableFont.ttf') format('truetype'),
       local('Book Antiqua');
    font-weight: 100 900;
    font-style: italic;
    font-display: block;
}

/*
#9bf1ff
#53e3fb
#242943
#ec8d81
#87c5a4
*/
