/* global */
* {
    font-size: 0px;
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    margin-block-start: 0px;
    margin-block-end: 0px;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    text-size-adjust: none;
}

a {
    text-decoration: none;
    cursor: pointer;
}

.link-hover:hover {
    text-decoration: underline;
}

.link-black, .link-black:visited, .link-black:active {
    color: #0d0d0d;
}

.link-blue, .link-blue:visited, .link-blue:active {
    color: #3C21ED !important;
}

.link-blue:hover {
    text-decoration: underline !important;
}

.link-p7s, .link-p7s:visited, .link-p7s:active {
    color: #f2f2f2;
    background-color: #1a0b82;
    font-weight: bold;
    font-size: 10px !important;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 6px;
    padding-right: 6px;
    border-radius: 3px;
    vertical-align: top;
}

.link-p7s:hover {
    text-decoration: underline !important;
}

.link-inherit, .link-inherit:visited, .link-inherit:active {
    color: inherit;
}

.link-with-icon {
    display: flex;
    gap: 8px;
    align-items: center;
    width: fit-content;
}

.link-with-icon > p {
    font-size: 16px;
}

.link-with-icon > img {
    height: 12px;
}

.link-bigger-icon > img {
    height: 24px;
}

a > *, p > *, span > *, font, b > *, i > *, li > * {
    font-size: inherit;
}

/* specific */

/* default */
.button-big {
    display: inline-block;
    font-size: 16px;
    color: #f2f2f2 !important;
    background-color: #1a0b82;
    border: none;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5);
    font-weight: bold;
    transition: 0.2s;
    text-align: center !important;
}

.button-small {
    display: inline-block;
    font-size: 16px;
    color: #f2f2f2 !important;
    background-color: #1a0b82;
    border: none;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 6px;
    padding-bottom: 6px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0px 2.5px 5px rgba(0, 0, 0, 0.5);
    font-weight: bold;
    transition: 0.2s;
    text-align: center !important;
}

.button-tiny {
    display: inline-block;
    font-size: 16px;
    color: #f2f2f2 !important;
    background-color: #1a0b82;
    border: none;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 3px;
    padding-bottom: 3px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0px 2.5px 5px rgba(0, 0, 0, 0.5);
    transition: 0.2s;
    text-align: center !important;
}

.button-big:hover, .button-small:hover, .button-tiny:hover {
    transition: 0.1s;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.5);
}

.field-default {
    font-size: 16px;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 4px;
    padding-bottom: 4px;
    border-radius: 8px;
    border: 2px solid #7f7f7f;
}

.test {
    color: #f2f2f2;
    background-color: #0d0d0d;
    font-size: 16px;
}

.container-common {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
}

.view-common {
    display: flex;
    width: 1024px;
    align-items: center;
}

body {
    background-color: #f2f2f2;
}

.table-left > tbody > tr * {
    text-align: left !important;
}

.table-center > tbody > tr * {
    text-align: center !important;
}

.table-right > tbody > tr * {
    text-align: right !important;
}

.table-column-left, .table-column-left * {
    margin-right: auto;
    text-align: left !important;
}

.table-column-center, .table-column-center * {
    margin-right: auto;
    margin-left: auto;
    text-align: center !important;
}

.table-column-right, .table-column-right * {
    margin-left: auto;
    text-align: right !important;
}

.table-column-top, .table-column-top * {
    vertical-align: top;
}

.table-column-bottom, .table-column-bottom * {
    vertical-align: bottom;
}

.table-default {
    outline: 2px solid #7f7f7f;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 2px;
    outline-offset: -2px;
}

.table-default > tbody > tr > td:not(:last-of-type) {
    border-right: 2px solid #b9b9b9;
}

.table-default > tbody > tr:not(:last-of-type) > td {
    border-bottom: 2px solid #b9b9b9;
}

.table-default > tbody > tr > td {
    /*text-align: center;*/
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 8px;
    padding-right: 8px;
}

.table-default > tbody > tr * {
    font-size: 16px;
}

.table-wrapper {
    overflow-x: scroll;
}

.input-text {
    font-size: 16px;
    border: 1px solid #b9b9b9;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 4px;
    padding-bottom: 4px;
    border-radius: 2px;
}

select {
    font-size: 16px;
}

/* overriders */
.align-left {
    text-align: left !important;
}

.align-right {
    text-align: right !important;
}

.align-justify {
    text-align: justify !important;
}

.decoration-underline {
    text-decoration: underline !important;
}

/* reusable */
.page-name {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    margin-bottom: 64px;
    max-width: 1024px;
}

.page-name > p, .page-name > a {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #0d0d0d;
    text-align: center;
}

.page-name > div {
    display: block;
    width: 128px;
    height: 2px;
    background-color: #0d0d0d;
    opacity: 25%;
    border-radius: 1px;
}

/* main */
#main {
    font-family: "Arial";
    color: #0d0d0d;
}

/* medium-scaledown */
@media (max-width: 1056px) {
    body {
        zoom: 0.8;
    }
}

.mobile-only-flex {
    display: none !important;
}

.mobile-only-initial {
    display: none !important;
}

@media (max-width: 864px) {
/*@media (max-width: 1056px) {*/
    .mobile-only-initial {
        display: initial !important;
    }

    .mobile-only-flex {
        display: flex !important;
    }

    .mobile-hide {
        display: none !important;
    }
    
    .page-name {
        max-width: 100%;
        padding-left: 32px;
        padding-right: 32px;
    }

    body {
        zoom: 1.0;
    }

    .mobile-scaledown {
        zoom: 0.5;
    }

    .view-common {
        width: 100%;
        padding-left: 32px;
        padding-right: 32px;
    }

    .mobile-width-100 {
        width: 100% !important;
    }

    .mobile-max-width-100 {
        max-width: 100% !important;
    }

    .mobile-center {
        margin-left: auto;
        margin-right: auto;
        text-align: center !important;
        justify-self: center !important;
    }
}

@media (max-width: 400px) {
    .mobile-hide-small {
        display: none !important;
    }
}

/* footer */
#desktopSpacer {
    display: block;
}

#footer {
    margin-top: 80px;
    padding-bottom: 32px;
}

#footer-view {
    display: flex;
    flex-direction: column;
}

#footer-view > p {
    font-size: 16px;
    text-align: center;
}

#footer .copyright {
    margin-top: 32px;
}

/* place and time */
#place-time {
    padding-top: 32px;
    border-top: 2px solid rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 64px;
    justify-content: space-between;
}
/*
#place-time > div:nth-child(1), #place-time > div:nth-child(3) {
    flex: 0 0 auto;
}

#place-time > div:nth-child(2) {
    flex: 1;
}*/

#place-time img {
    height: 80px;
}

#place-time > div {
    display: flex;
    gap: 8px;
    flex-direction: column;
}

#place-time > div > p {
    font-size: 16px;
    font-weight: bold;
}

#place-time > div > div > p, #place-time > div > div > div > p {
    font-size: 16px;
}

#place-time .schedule {
    display: flex;
    flex-direction: column;
}

#place-time > div > div > div {
    display: grid;
    grid-template-columns: 160px 1fr;
}

#place-time .contacts {
    display: flex;
    flex-direction: column;
}

#place-time .contacts > div {
    display: flex;
    flex-direction: column;
}

#place-time .contacts > div > a {
    font-size: 16px;
    text-decoration: none;
    color: #0d0d0d;
}

#place-time .contacts > div > a:hover {
    text-decoration: underline;
}

@media (max-width: 864px) {
/*@media (max-width: 1056px) {*/
    #footer {
        padding-top: 48px !important;
        padding-bottom: 64px !important;
        margin-top: initial;
    }

    #place-time {
        flex-direction: column;
        gap: 24px;
        padding-top: 48px;
    }

    #footer .copyright {
        margin-top: 48px;
    }
}

@media (max-width: 320px) {
    #place-time > div > div > div {
        grid-template-columns: 1fr;
        margin-bottom: 8px;
    }
}

/* scroller */
#desktopScoller {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background-color: #1a0b82;
    border-radius: 24px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

#desktopScoller > img {
    width: 50%;
    height: 50%;
}
/* switch to legacy */
/*#switch-to-legacy-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 4px;
    padding-bottom: 4px;
}

#switch-to-legacy-view > a {
    font-size: 16px;
    font-weight: bold;
}*/

#switch-to-legacy {
    background-color: #1a0b82;
}

#switch-to-legacy-view {
    display: flex;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 6px;
    padding-bottom: 6px;
}

#switch-to-legacy-view > a {
    color: #f2f2f2;
    font-size: 16px;
}

#switch-to-legacy-view > a:hover {
    text-decoration: underline;
}

/* hot links */
#hot-links {
    background-color: #1a0b82;
    z-index: 2;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5);
}

#hot-links-view {
    justify-content: space-between;

}

.hot-links-span {
    display: flex;
    align-items: center;
    gap: 32px;
}

.hot-link-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.hot-link-wrapper:hover > .hot-link-item > p {
    text-decoration: underline;
}

.hot-link-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 16px;
    padding-bottom: 16px;
    cursor: pointer;
    align-self: stretch;
}

.hot-link-icon {
    height: 16px;
}

.hot-link-hint-dropdown {
    width: 12px;
    opacity: 50%;
}

.hot-link-item > p {
    font-size: 16px;
    color: #f2f2f2;
    font-weight: bold;
    white-space: nowrap;
    transform: translateY(1.25px);
}

.hot-link-separator > img {
    height: 24px;
    opacity: 25%;
}

.hot-link-translation {
    height: 16px;
    border-radius: 2px;
}

.hot-link-dropdown {
    position: absolute;
    display: flex;
    top: 100%;
    width: max-content;
    background-color: #1a0b82;
    flex-direction: column;
    border-radius: 0px 0px 8px 8px;
    z-index: 1;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    display: none;
}

.hot-link-dropdown > p {
    background-color: transparent;
    color: #f2f2f2;
}

.hot-link-dropdown-left {
    left: 0px;
}

.hot-link-dropdown-right {
    right: 0px;
}

.dropdown-item {
    padding-right: 16px;
    padding-left: 16px;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-item:hover .dropdown-cabinet-status p {
    opacity: 90%;
}

.dropdown-item > div:nth-child(1) {
    display: flex;
    gap: 8px;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
}

.dropdown-item > div:nth-child(1) > p {
    font-size: 16px;
    color: #f2f2f2;
}

.dropdown-item-disabled {
    pointer-events: none;
    opacity: 50%;
}

.dropdown-item-disabled:hover {
    background-color: initial !important;
}

.dropdown-link {
    height: 12px;
    opacity: 50%;
}

.dropdown-cabinet-status {
    background-color: #f2f2f2;
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 2px;
    padding-bottom: 2px;
    border-radius: 4px;
}

.dropdown-cabinet-status > p {
    color: #1a0b82;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}

.dropdown-cabinet-status-loading {
    height: 12px;
}

.dropdown-separator {
    width: 100%;
    height: 2px;
    background-color: #f2f2f2;
    opacity: 25%;
}

.hot-link-dropdown-country {
    height: 16px;
    border-radius: 2px;
    /*border: 1px solid #f2f2f2;*/
}

/*#translationItem {
    opacity: 50%;
    cursor: not-allowed;
}*/

/* customer info */
#customer-info {
    padding-top: 16px;
    padding-bottom: 16px;
}

#customer-info-view {
    justify-content: space-between;
    height: fit-content;
}

#customer-info-logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

#customer-info-logo > img {
    width: 128px;
}

#customer-info-logo > p {
    font-size: 16px;
    font-weight: bold;
    color: #0d0d0d;
}

.customer-info-separator {
    display: inline-block;
    width: 2px;
    align-self: stretch;
    background-color: #0d0d0d;
    border-radius: 1px;
    opacity: 25%;
}

#customer-info-support {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#customer-info-support > div:nth-of-type(1) > p {
    font-size: 16px;
}

#customer-info-support-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#customer-info-support-links > a {
    display: flex;
    align-items: center;
    gap: 8px;
}

#customer-info-support-links > a > img {
    height: 16px;
}

#customer-info-support-links > a > p {
    font-size: 18px;
    color: #0d0d0d;
}

#customer-info-submit {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

#customer-info-submit > div:nth-child(1) {
    display: flex;
    align-items: center;
    gap: 8px;
}

#customer-info-submit > div:nth-child(1) > p {
    font-size: 16px;
}

.customer-cabinet-status {
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 2px;
    padding-bottom: 2px;
    border-radius: 4px;
}

.customer-cabinet-status-error {
    background-color: #A80000;
}

.customer-cabinet-status-ok {
    background-color: #006000;
}

.customer-cabinet-status > p {
    font-size: 12px;
    font-weight: bold;
    color: #f2f2f2;
}

#customer-info-submit > div:nth-child(2) {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#customer-info-submit > div:nth-child(2) > a {
    font-size: 16px;
}

#customer-info-submit img {
    height: 16px;
}

#customer-info-methods {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#customer-info-methods > div:nth-of-type(1) > p {
    font-size: 16px;
}

#customer-info-methods > div:nth-of-type(2) {
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

#customer-info-methods > div:nth-of-type(2) > div > img {
    width: 64px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0px 2.5px 5px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

/* navbar */
#navbar {
    background-color: #1a0b82;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5);
    /*margin-bottom: 48px;*/
}

#navbar-view {
    justify-content: space-between;
}

.navbar-item-wrapper {
    display: flex;
    position: relative;
    align-self: stretch;
    align-items: center;
}

.navbar-item-wrapper:hover > .navbar-item > div > p {
    text-decoration: underline;
}

.navbar-item {
    cursor: pointer;
    display: flex;
    align-items: center;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 8px;
    align-self: stretch;

}

.navbar-item > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.navbar-item > div > p {
    font-size: 16px;
    color: #f2f2f2;
    font-weight: bold;
    text-align: center;
}

.navbar-dropdown {
    position: absolute;
    display: flex;
    top: 100%;
    width: max-content;
    background-color: #1a0b82;
    flex-direction: column;
    border-radius: 0px 0px 8px 8px;
    z-index: 1;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5);
    overflow: hidden;

    display: none;
}

.nav-bar-hint-dropdown {
    width: 12px;
    opacity: 50%;
}

.nav-bar-separator > img {
    height: 24px;
    opacity: 25%;
}

/* mobile */
#header-mobile {
    position: fixed;
    background-color: #1a0b82;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 48px;
    z-index: 4;
    touch-action: none;
}

#header-mobile-view {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    gap: 32px;
}

#header-mobile-view > div {
    display: flex;
    width: 80px;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    -webkit-tap-highlight-color: transparent;
}

#header-mobile-view > div:first-of-type {
    justify-content: left;
}

#header-mobile-view > div:last-child {
    justify-content: right;
    gap: 8px;
}

.header-mobile-logo > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.header-mobile-logo > a > img {
    width: 64px;
}

.header-mobile-item {
    cursor: pointer;
}

.header-mobile-item > img:nth-child(1) {
    width: 24px;
}

.header-mobile-item > img:nth-child(2) {
    width: 18px;
    opacity: 50%;
}

.header-mobile-dropdown {
    position: fixed;
    width: 100%;
    background-color: #1a0b82;
    padding-top: 80px;
    flex-direction: column;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5);
    overflow: auto;
    max-height: 100%;
    z-index: 3;
    border-radius: 0px 0px 16px 16px;
    display: none;
}

*.mobile-dropdown-item {
    display: flex;
    flex-direction: row;
    padding-left: 32px;
    padding-right: 32px;
    gap: 16px;
    align-items: center;
    cursor: pointer;
}

*.mobile-dropdown-cabinet-item {
    display: flex;
    flex-direction: column;
    padding-left: 32px;
    padding-right: 32px;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 16px;
    cursor: pointer;
}

.mobile-dropdown-cabinet-item-nest {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-dropdown-cabinet-item-nest > p {
    font-size: 18px;
    color: #f2f2f2;
    font-weight: bold;
}

.mobile-dropdown-cabinet-item-nest > img {
    height: 18px;
}

.header-mobile-dropdown > *:not(:last-child) {
    border-bottom: 2px solid rgba(255, 255, 255, 0.25);
}

*.mobile-dropdown-item > p {
    font-size: 18px;
    color: #f2f2f2;
    font-weight: bold;
    margin-top: 16px;
    margin-bottom: 16px;
}

*.mobile-dropdown-item > .country {
    height: 18px;
    border-radius: 2px;
}

*.mobile-dropdown-item > .arrow-right {
    width: 18px;
    margin-left: auto;
}

*.mobile-dropdown-cabinet-item > .cabinet-status {
    width: 18px;
    align-self: center;
}

*.mobile-dropdown-item > .arrow-left {
    width: 18px;
    opacity: 100%;
}

*.mobile-dropdown-item > .spacer-left {
    display: inline-block;
    min-width: 18px;
    min-height: 18px;
    max-width: 18px;
    max-height: 18px;
}

.header-mobile-dropdown > *.disabled {
    opacity: 50%;
    pointer-events: none;
}

*.mobile-dropdown-cabinet-item > .status-box {
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 3px;
    padding-bottom: 3px;
    background-color: #f2f2f2;
    border-radius: 6px;
    align-self: center;
}

*.mobile-dropdown-cabinet-item > .status-box > p {
    font-size: 14px;
    font-weight: bold;
    color: #1a0b82;
    white-space: nowrap;
}

.mobile-dropdown-cabinet-status {
    display: flex;
    background-color: rgba(0, 0, 0, 0.25);
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding-left: 32px;
    padding-right: 32px;
    flex-direction: column;
    padding-top: 16px;
    padding-bottom: 16px;
}

.mobile-dropdown-cabinet-status > p {
    font-size: 18px;
    font-weight: bold;
    color: #f2f2f2;
    text-align: center;
}

.mobile-dropdown-cabinet-status > img {
    width: 18px;
    opacity: 50%;
}

.mobile-dropdown-cabinet-status > div {
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 3px;
    padding-bottom: 3px;
    border-radius: 6px;
}

.mobile-dropdown-cabinet-status > div.ok {
    background-color: #006000;
}

.mobile-dropdown-cabinet-status > div.error {
    background-color: #A80000;
}

.mobile-dropdown-cabinet-status > div > p {
    font-size: 14px;
    font-weight: bold;
    color: #f2f2f2;
    white-space: nowrap;
}

#headerMobileDropdownBackground {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 50%;
    z-index: 2;

    display: none;
}

#headerMobileTopPadding {
    display: block;
    width: 100%;
    height: 80px;
}

/* weird thingy */
#navbar-margin-replace {
    width: 100%;
    height: 48px;
}
/* quick page recreation */
.simple-render, .simple-render > form {
    width: 100%;
    /*display: flex;
    flex-direction: column;
    /*gap: 16px;*/
}

.simple-render iframe {
    width: 510px;
    height: 290px;
}

.simple-render p.center {
    text-align: center !important;
}

.simple-render .box-center {
    margin-left: auto !important;
    margin-right: auto !important;
}

.simple-render .left {
    justify-self: start;
}

.simple-render .right {
    justify-self: end;
}

.simple-render * {
    font-size: 16px;
}

.simple-render small {
    font-size: 12px;
}

.simple-render a, .simple-render p, .simple-render span
{
    text-align: justify;
}

.simple-render .error {
    text-align: center !important;
    font-weight: bold;
    color: #A80000;
}

.simple-render .top-margin {
    margin-top: 2em;
}

.simple-render .bold {
    font-weight: bold;
}

.simple-render .underline {
    text-decoration: underline;
}

.simple-render .float-left {
    float: left;
}

.simple-render .float-right {
    float: right;
}

.gap-box > *:not(:last-child) {
    margin-bottom: 1em;
}

.gap-box img.float-left {
    margin-right: 16px;
}

.gap-box img.float-right {
    margin-left: 16px;
}

.simple-render .bigger, .simple-render .bigger * {
    font-size: 18px !important;
}

.simple-render ul {
    list-style-position: outside;
    list-style-type: disc;
    margin-left: 1em;
}

.simple-render ol {
    list-style-position: outside;
}

.simple-render ul li ul {
    list-style-type: circle;
}

.simple-render ul li ul li ul, .simple-render ul li ul li ul li ul {
    list-style-type: square;
}

.button-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    width: fit-content;
}

.gap-box .inline-input {
    display: flex;
    align-items: center;
}

.grid-table {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 2.5px;
}

.grid-row {
    display: grid;
    grid-template-columns: 256px 1fr;
    align-items: start;
}

.portrait-grid {
    max-width: 100%;
    display: grid;
    row-gap: 64px;
    column-gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.portrait-grid > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.portrait-grid > div > div {
    display: block;
    position: relative;
    width: 150px;
    height: 200px;
    margin-bottom: 16px;
}

.portrait-grid > div > div > img {
    position: absolute;
}

.portrait-grid > div > div > img:nth-child(2) {
    top: 12%;
    left: 15%;
    width: 70%;
    height: 76%;
}

.portrait-grid > div > div > img:nth-child(1) {
    width: 100%;
    height: 100%;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.25);
    border-radius: 2px;
}

.portrait-grid > div > p {
    text-align: center;
}

.portrait-grid > div > p:nth-child(2) {
    font-weight: bold;
}

.portrait-grid > div > p:nth-child(3) {
    font-style: italic;
}

textarea.textarea-default-height {
    min-height: 192px;
}

@media (max-width: 864px) {
/*@media (max-width: 1056px) {*/
    textarea.textarea-default-height {
        min-height: 384px;
    }

    .simple-render iframe {
        max-width: 100%;
        height: 256px;
    }

    .button-grid {
        flex-direction: column;
        gap: 16px;
        width: fit-content;
    }

    .button-grid > * {
        text-align: center !important;
        width: 100%;
    }

    /*
    .simple-render .gap-box .mobile-center {
        display: block;
        margin-left: auto;
        margin-right: auto;
        text-align: center !important;
    }

    .simple-render .mobile-center {
        justify-self: center;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    */

    .mobile-center {
        text-align: center;
    }

    .grid-row {
        grid-template-columns: 1fr;
    }

    .grid-row:nth-child(2n):not(:first-child) {
        margin-top: 8px;
    }

    .grid-row:nth-child(2n):not(:last-child) {
        margin-bottom: 8px;
    }
}

/* scale down the video for really small screens */
@media (max-width: 512px) {
    iframe {
        height: 200px !important;
    }
}

@media (max-width: 384px) {
    iframe {
        height: 150px !important;
    }
}
/* reminder */
#reminder-view > p {
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: underline;
    text-align: center;
}

/* banners */
#banners-view {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.banners-warning {
    display: flex;
    border: 2px solid rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
    align-items: center;
}

.banners-warning > img {
    width: 32px;
    height: 32px;
    margin-right: 16px;
}

.banners-warning > p {
    font-size: 16px;
    font-weight: bold;
    text-align: justify;
}

#good-will {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 256px;
    gap: 16px;
}

/* good will */
#good-will > * {
    height: 100%;
    border-radius: 8px;
}

#good-will > iframe {
    width: 512px;
}

/* news */
#info-news {
    margin-top: 48px;
}

#info-news-view {
    flex-direction: row;
    gap: 16px;
    align-items: start;
}

#info-news-view > div {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

#info-section {
    position: relative;
    flex: 7;
}

#info-news-top {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

#info-news-top > p, #info-news-top > a {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #0d0d0d;
    text-align: center;
}

#info-news-top > div {
    display: block;
    width: 128px;
    height: 2px;
    background-color: #0d0d0d;
    opacity: 25%;
    border-radius: 1px;
}

#info-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 48px;
}

.info-list-item {
    position: relative;
    display: flex;
    flex-direction: column;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 16px;
}

.info-list-item-separator {
    position: absolute;
    width: 2px;
    left: 0px;
    height: 100%;
    background-color: #0d0d0d;
    border-radius: 1px;
    opacity: 25%;
    top: 0px;
}

.info-list-item > p {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 8px;
    /*text-indent: 16px;*/
}

.info-list-item-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-list-item-text > p, .info-list-item-text > a, .info-list-item-text > span {
    font-size: 16px;
    text-align: justify;
    /*text-indent: 16px;*/
}

.info-list-item-text > *:not(:last-child) {
    margin-bottom: 8px;
}

.info-list-item-text > img {
    border-radius: 2px;
}

.info-list-item-text a:hover {
    text-decoration: underline;
}

.info-list-item-img-float {
    float: left;
    margin-right: 16px;
    width: 200px;
    margin-bottom: 8px;
}

.info-list-item-content a {
    font-weight: bold;
    color: #b51616;
}

.info-link-special {
    color: #0d0d0d !important;
}

#info-section-separator {
    position: absolute;
    width: 2px;
    border-radius: 1px;
    height: 100%;
    background-color: #0d0d0d;
    opacity: 25%;
    right: 0px;
}

.theft-phone {
    display: flex;
    flex-direction: row;
    padding-left: 16px;
    /*text-indent: 0px !important;*/
    text-decoration: none !important;
    color: #0d0d0d !important;
    gap: 8px;
    font-weight: initial !important;
}

.theft-phone > img {
    width: 16px;
}

#news-section {
    flex: 3;
}

#news-section-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-section-list-item:hover > span {
    text-decoration: underline;
}

.news-section-list-item > span {
    font-size: 16px;
    color: #3C21ED;
    text-align: justify;
}

.news-section-list-item:not(:last-child) {
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.25);
}

#news-section-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

#news-section-list-wrapper > a {
    font-size: 16px;
    font-weight: bold;
}

/* mobile readings */
#mobile-readings-view {
    display: flex;
    flex-direction: row;
    margin-top: 16px;
    margin-bottom: 32px;
    gap: 32px;
}

#mobile-readings-view > .default {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    width: 100%;
    flex: 1;
}

#mobile-readings-view > .default > .label {
    font-size: 16px;
    text-align: center;
    font-weight: bold;
}

#mobile-readings-view > .separator {
    display: block;
    width: 2px;
    align-self: stretch;
    background-color: #0d0d0d;
    opacity: 25%;
    border-radius: 1px;
}

#mobile-readings-view > .bottom {
    display: none;
}

#mobile-readings-view > .bots {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    flex: 1;
}

#mobile-readings-view > .bots > p {
    font-size: 16px;
    text-align: center;
}

#mobile-readings-view > .bots > .apps {
    display: flex;
    gap: 8px;
    justify-content: space-evenly;
}

#mobile-readings-view > .bots > .apps > div {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-direction: column;
}

#mobile-readings-view > .bots > .apps > div > img {
    width: 64px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0px 2.5px 5px rgba(0, 0, 0, 0.25);
}

#mobile-readings-view > .bots > .apps > div > p {
    font-size: 16px;
    color: #0d0d0d;
    font-weight: bold;
}

/* thank you */
#thank-you {
    background-image: url('/new/images/misc/pixel.png');
    margin-bottom: 48px;
}

#thank-you-view {
    flex-direction: row;
    justify-content: space-between;
    padding-top: 32px;
    padding-bottom: 32px;
}

#thank-you-view > .text-box {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

#thank-you-view a {
    font-weight: bold;
    font-size: 20px;
    color: #f29e51;
}

#thank-you-view a:hover {
    text-decoration: underline;
}

#thank-you-view > .text-box > div {
    display: flex;
    flex-direction: column;
}

#thank-you-view > .text-box > div > p {
    color: #f2f2f2;
    font-weight: bold;
}

#thank-you-view > .text-box > div > p:nth-child(1) {
    font-size: 40px;
}

#thank-you-view > .text-box > div > p:nth-child(2) {
    font-size: 60px;
}

#thank-you-view > .image-wrap {
    display: flex;
    align-items: center;
}

#thank-you-view > .image-wrap > img {
    height: 180px;
}

/* mobile */
@media (max-width: 864px) {
/*@media (max-width: 1056px) {*/
    .banners-warning > p {
        text-align: initial;
    }

    #info-news-view {
        flex-direction: column;
        gap: 48px;
    }

    #good-will {
        flex-direction: column;
        height: auto;
    }

    #good-will > * {
        width: 100%;
        height: initial;
    }

    #good-will > iframe {
        width: 100%;
        height: 256px;
    }

    #info-news-view {
        align-items: center;
    }

    #news-section {
        flex: initial;
        width: 100%;
    }

    #info-section {
        flex: initial;
    }

    #news-section-list-wrapper {
        width: 100%;
    }

    #news-section-list {
        width: 100%;
    }

    #thank-you-view {
        flex-direction: column;
        gap: 32px;
    }

    #thank-you-view a {
        font-size: 24px;
    }

    #thank-you-view > .text-box, #thank-you-view > .text-box > div {
        align-items: center;
    }

    #thank-you-view > .image-wrap {
        flex-direction: row;
        align-items: center;
    }

    #thank-you-view > .text-box > div {
        gap: 8px;
    }

    #thank-you-view > .text-box > div > p {
        text-align: center;
    }

    #thank-you-view > .text-box > div > p:nth-child(1) {
        font-size: 32px;
    }

    #thank-you-view > .text-box > div > p:nth-child(2) {
        font-size: 48px;
    }
}

/* scale down the video for really small screens */
@media (max-width: 512px) {
    #good-will > iframe {
        height: 200px;
    }

    #mobile-readings-view {
        flex-direction: column;
        gap: 16px;
    }

    #mobile-readings-view > .default {
        margin-bottom: 16px;
        flex: 0;
    }

    #mobile-readings-view > .bots {
        flex: 0;
    }

    #mobile-readings-view > .separator {
        width: 100%;
        height: 2px;
        border-radius: 1px;
    }

    #mobile-readings-view > .bottom {
        display: block;
    }
}

@media (max-width: 384px) {
    #good-will > iframe {
        height: 150px;
    }

    #thank-you-view > .text-box > div > p:nth-child(1) {
        font-size: 24px;
    }

    #thank-you-view > .text-box > div > p:nth-child(2) {
        font-size: 36px;
    }

    #thank-you-view > .image-wrap > img {
        height: 120px;
    }
}
/* news */
#news-view {
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

#news-topbar {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

#news-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

#news-nav > a {
    font-size: 16px;
    font-weight: bold;
}

#news-nav > img {
    height: 12px;
    opacity: 50%;
}

#news-search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

#news-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.news-list-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.news-list-item:hover {
    text-decoration: none !important;
}

.news-list-item:hover > p:first-of-type {
    text-decoration: underline;
}

.news-list-item > p {
    font-size: 16px;
}

.news-list-item > div > div > p {
    color: #0d0d0d !important;
    text-align: justify;
    font-size: 16px;
    position: relative;
    word-break: break-word;
}

.news-list-item > div {
    position: relative; /* Set stacking context for the overlay */
}

.news-list-item-overlay {
    position: absolute;
    width: 100%;
    max-height: 32px;
    height: 100%;
    /*background-color: red;*/
    opacity: 75%;
    background: linear-gradient(0deg, #f2f2f2, transparent);
    bottom: 0;
    left: 0;
    pointer-events: none;
}

#news-display {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 100%;
}

#news-display-title {
    display: flex;
    flex-direction: column;
}

#news-display-title > p:nth-of-type(1) {
    font-size: 16px;
}

#news-display-title > p:nth-of-type(2) {
    font-size: 22px;
    font-weight: bold;
}

#newsDisplayContents * {
    font-size: 12px;
}

#newsDisplayContents > *:not(:last-child) {
    margin-bottom: 8px;
}

#newsDisplayContents iframe, #newsDisplayContents table, #newsDisplayContents img {
    margin-left: auto;
    margin-right: auto;
}

#newsDisplayContents table {
    border-collapse: collapse;
}

#newsDisplayContents a, #newsDisplayContents a:visited, #newsDisplayContents a:active {
    color: #3C21ED !important;
    font-weight: bold;
}

#newsDisplayContents a:hover {
    text-decoration: underline !important;
}

#news-list-control {
    display: flex;
    width: 100%;
}

#newsButtonForward {
    margin-left: auto;
}

@media (max-width: 864px) {
/*@media (max-width: 1056px) {*/
    #news-topbar {
        gap: 16px;
        flex-direction: column;
    }

    #news-search {
        margin-left: initial;
    }
}
/* useful links */
#useful-links-list {
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    gap: 32px;
}

.useful-links-list-subitem {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.useful-links-list-subitem > div {
    display: grid;
    flex-direction: column;
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
}

.useful-links-list-subitem > div > a {
    display: flex;
    gap: 8px;
    align-items: center;
    width: fit-content;
}

.useful-links-list-subitem > div > a:hover {
    text-decoration: underline;
}

.useful-links-list-subitem > p {
    font-size: 16px;
    font-weight: bold;
}

.useful-links-list-subitem > div > a > p {
    font-size: 16px;
}

.useful-links-list-subitem > div > a > img {
    height: 12px;
}

@media (max-width: 864px) {
/*@media (max-width: 1056px) {*/
    .useful-links-list-subitem > div {
        grid-template-columns: 1fr;
    }
}
/* videos */
#video-view {
    flex-direction: column;
    gap: 32px;
}

#video-controls {
    display: flex;
    width: 100%;
}

#buttonVideoForward {
    margin-left: auto;
}

#video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

#video-grid > iframe {
    border-radius: 8px;
    width: 100%;
    height: 180px;
}

@media (max-width: 864px) {
/*@media (max-width: 1056px) {*/
    #video-grid {
        grid-template-columns: 1fr 1fr;
    }

    #video-grid > iframe {
        height: 200px;
    }
}

@media (max-width: 640px) {
    #video-grid {
        grid-template-columns: 1fr;
    }

    #video-grid > iframe {
        height: 200px;
    }
}
#unhooking-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;
}

#unhooking-content p {
    line-height: 22px;
}

.unhooking-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;
}

.unhooking-item:not(:last-child) {
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.25);
}

.unhooking-item-top-columns {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.unhooking-item-top-columns > div {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 16px;
}

.unhooking-item-top-columns > div > p {
    font-size: 16px;
}

.unhooking-item-top-columns > div > p:nth-child(2n+1) {
    font-weight: bold;
}

.unhooking-item-top-columns > div > p:nth-child(4n):not(:last-child) {
    margin-bottom: 8px;
}

.unhooking-item-addresses {
    display: flex;
    flex-direction: column;
}

.unhooking-item-addresses > p {
    font-weight: bold;
    font-size: 16px;
}

.unhooking-item-addresses > div {
    display: flex;
    flex-direction: column;
}

.unhooking-item-addresses > div > p {
    font-size: 16px;
}

@media (max-width: 864px) {
/*@media (max-width: 1056px) {*/
    .unhooking-item-top-columns > div {
        grid-template-columns: 1fr;
    }

    .unhooking-item-top-columns > div > p:nth-child(4n):not(:last-child) {
        margin-bottom: initial;
    }

    .unhooking-item-top-columns > div > p:nth-child(2n):not(:last-child) {
        margin-bottom: 8px;
    }
}
.documents-list-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.documents-list-items > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.documents-list-items > div > div:nth-child(1) {
    display: flex;
    gap: 4px;
}

.documents-list-item-file > a, .documents-list-item-dropdown > p {
    font-size: 16px;
    font-weight: bold;
    color: #3c21ed;
}

.documents-list-item-dropdown > p {
    cursor: pointer;
}

.documents-list-item-limited > p {
    font-size: 16px;
    font-style: italic;
}

.documents-list-item-file > a:hover, .documents-list-item-dropdown > p:hover  {
    text-decoration: underline;
}

.documents-list-item-dropdown {
    align-items: center;
}

.documents-list-item-file > img {
    height: 16px;
}

.documents-list-item-dropdown > img {
    height: 12px;
}

.documents-list-items > div {
    font-size: 16px;
    margin-left: 2em;
}

#documentsMain > div {
    margin-left: 0px;
}

.documents-list-item-hide {
    display: none !important;
}
