@font-face {
    font-family: Open-Sans;
    src: url('../fonts/Open-Sans.ttf');
}

@font-face {
    font-family: 'times-new-roman';
    src: url('../fonts/times-new-roman.ttf');
}

html {
    font-size: 14px;
}

body {
    font-size: inherit;
    font-family: Open-Sans;
}

hr {
    margin-top: 14px;
    margin-bottom: 14px;
}

a {
    color: inherit;
}

a:hover,
a:focus,
a:active,
a.active {
    color: #3078c0;
    text-decoration: none;
}

.skin-color {
    color: #3078c0;
}

.color-grey {
    color: grey;
}

.btn {
    outline: none !important;
}

.btn-default.active,
.btn-default.active:hover,
.btn-default.active:focus,
.btn-default.active:active {
    color: #fff;
    background-color: #3078c0;
    border-color: #3078c0;
}

.btn-primary {
    background-color: #3078c0;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
    background-color: #00296c;
}

.btn-lg {
    font-size: 14px;
    border-radius: 4px;
}

.btn-select {
    margin: 5px;
}

.text-row-ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
}

.text-paragraph-2-ellipsis {
    word-break: break-all;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.line-height-2 {
    line-height: 2em;
}

.rich-text {
    line-height: 2em;
}

.rich-text img {
    max-width: 100%;
}

.rich-text video {
    max-width: 100%;
}

.area-overflow-x-auto {
    overflow-x: auto;
    margin-bottom: 14px;
}

.area-overflow-x-auto > *:last-child {
    margin-bottom: 0;
}

.container-fluid {
    padding-left: 24px;
    padding-right: 24px;
}

.min-width-768 {
    min-width: 768px;
}

.page-title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.page-title.center {
    justify-content: center;
}

.page-title.header {
    justify-content: space-between;
    color: #fff;
    background-image: linear-gradient(120deg, #3f4ab1 0%, #009dc4 100%);
    padding: 1.8em 0;
    font-family: times-new-roman;
    text-transform: uppercase;
}

.page-title.header .back-btn {
    background-color: transparent;
    color: #fff;
    margin-left: 10px;
    font-size: 28px;
    height: 34px;
    display: flex;
    align-items: center;
}

.page-title .text {
    font-size: 20px;
    line-height: 34px;
}

.page-title.header .text {
    width: calc(100% - 80px);
    text-align: center;
    margin-right: 40px;
}

.page-loading-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}

.page-loading-mask .loading-round {
    border: 6px solid #aaa;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border-left-color: #3078c0;
    animation: loading-round-animation 1s linear infinite;
    margin: 0 auto;
}

@keyframes loading-round-animation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.empty-area {
    padding: 4em;
    text-align: center;
}

.loading-area {
    padding: 4em;
    text-align: center;
}

.panel-box {
    display: inline-block;
    width: 100%;
    padding: 14px;
    background-color: white;
    margin-bottom: 20px;
    border: 1px solid #e4e4e4;
    border-radius: 6px;
}

.panel-box > *:first-child {
    margin-top: 0;
}

.panel-box > *:last-child {
    margin-bottom: 0;
}

.panel-box .panel-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-box .panel-box-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-data-form {
    padding: 0 24px;
}

.page-data-form .page-data-form-row {
    margin: 0 -10px;
}

.page-data-form .page-data-form-row .page-data-form-col {
    padding: 0 10px;
}

.page-data-form input[type=radio] {
    width: 18px;
    aspect-ratio: 1;
    margin-top: 0;
}

.form-required::before {
    content: '*';
    color: #f44336;
    margin-right: 4px;
}

#app .has-error .btn {
    border-color: #f44336 !important;
}

#app .has-error .form-control {
    border-color: #f44336 !important;
}

#app .has-error .help-block {
    color: #f44336;
}

.form-control {
    border-color: #e4e4e4 !important;
    box-shadow: none !important;
    background-color: #f8f8f8;
}

.form-control::placeholder {
    color: #ccc;
    opacity: 1;
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    color: #555;
    background-color: #f8f8f8;
}

.input-lg {
    font-size: 16px;
    border-radius: 2px;
}

.input-group .input-group-btn .btn {
    color: #555;
    border-color: #e4e4e4 !important;
    background-color: #f8f8f8 !important;
    box-shadow: none !important;
}

.input-group .input-group-btn .dropdown-menu {
    max-height: 300px;
    overflow: auto;
}

.input-group-lg > .form-control, .input-group-lg > .input-group-addon, .input-group-lg > .input-group-btn > .btn {
    font-size: 16px;
}

.select2-container {
    display: block !important;
}

.alert {
    margin-bottom: 14px;
}

.display-block {
    display: block !important;
}

.app-page-header {
    color: #fff;
    background-image: linear-gradient(120deg, #3f4ab1 0%, #009dc4 100%);
    padding: 1.8em 0;
    margin-bottom: 14px;
}

.app-page-header .logo {
    max-width: 50%;
}

.app-page-content {
    min-height: 90vh;
}

.app-page-footer {
    margin-top: 14px;
    font-size: clamp(14px, 1rem, 28px);
}

.app-page-footer .copyright {
    text-align: center;
    padding: 2em 0;
}

.app-page-bottom-action-buttons {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 10;
    background-color: #fff;
    padding: 15px 0;
    border-top: 1px solid #e4e4e4;
}

.app-page-bottom-action-buttons > .container-fluid {
    max-width: 750px;
}

.panel-box.article-list-panel-box .article-list {
    margin-bottom: 14px;
}

.panel-box.article-list-panel-box .article-list .article-item {
    line-height: 3em;
    padding: 0 5px;
    border-bottom: 1px solid #ddd;
}

.panel-box.article-list-panel-box .article-list .article-item .text-row-ellipsis {
    display: block;
}

.panel-box.article-info-panel-box {
    padding-top: 40px;
    padding-bottom: 40px;
}

.panel-box.article-info-panel-box .title {
    font-size: 24px;
    text-align: center;
}

.panel-box.article-info-panel-box .time {
    text-align: center;
    margin: 1em 0;
}

.panel-box.article-info-panel-box .content {
    color: #555;
    min-height: 300px;
}

.panel-box.article-info-panel-box .content img {
    max-width: 100%;
}

.panel-box.org-info-panel-box {
    border: 1px solid #3078c0;
}

.panel-box.org-info-panel-box .info-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center
}

.panel-box.org-info-panel-box .info-row .main-icon {
    font-size: 36px;
}

.panel-box.qr-code-panel-box {
    text-align: center;
}

.panel-box.qr-code-panel-box .thumbnail {
    width: 100%;
    margin-bottom: 1rem;
}

.page-pagination-block {
    display: flex;
    justify-content: center;
}

.left-menus-panel {
    line-height: 2em;
}

.left-menus-panel .cat-item {
    margin-bottom: 1em;
}

.left-menus-panel .cat-item .cat-title {
    font-weight: bold;
}

.left-menus-panel .cat-item .cat-menus {
    padding-left: 14px;
}

.left-menus-panel .cat-item .cat-menus .menu-item a {
    display: inline-block;
    width: 100%;
    word-break: break-all;
}

.menu-list-label-block {
    color: grey;
    padding: 0 14px;
    margin-bottom: 7px;
}

.menu-list-block {
    margin-bottom: 14px;
    background-color: #fff;
}

.menu-list-block .menu-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e4e4e4;
    padding: 14px;
}

.menu-list-block .menu-item:first-child {
    border-top: 1px solid #e4e4e4;
}

.menu-list-block .menu-item .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin-right: 14px;
}

.menu-list-block .menu-item .icon img {
    width: 100%;
    height: 100%;
}

.menu-list-block .menu-item .icon .fa {
    font-size: 28px;
}

.menu-list-block .menu-item .text {
    width: calc(100% - 54px);
}

.steps-block {
    display: flex;
    overflow: hidden;
    margin-bottom: 14px;
    padding: 0 40px;
}

.steps-block .step-item {
    flex: 1;
    position: relative;
}

.steps-block .step-item.active .bottom {
    color: #333;
}

.steps-block .step-item.active .bottom .number {
    background-color: #3078c0;
}

.steps-block .step-item.active .line {
    background-color: #3078c0;
}

.steps-block .step-item.active .line:after {
    background-color: #3078c0;
}

.steps-block .step-item .bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #9b9b9c;
    text-align: center;
}

.steps-block .step-item .bottom .number {
    font-size: 12px;
    width: 18px;
    height: 18px;
    text-align: center;
    line-height: 18px;
    color: #fff;
    background-color: #d9d9d9;
    border-radius: 50%;
}

.steps-block .step-item .line {
    position: relative;
    height: 2px;
    background-color: #d9d9d9;
    transform: translate(-50%, 9px);
    z-index: -1;
}

.steps-block .step-item:first-child .line {
    display: none;
}

.index-page {
    font-size: clamp(1px, 2vw, 100vw);
}

.index-page .app-page-footer .copyright {
    color: #fff;
}

.index-page body {
    background-image: linear-gradient(120deg, #3f4ab1 0%, #009dc4 100%);
}

.index-page #app {
    max-width: 750px;
    min-height: 100vh;
    margin: 0 auto;
}

.index-page .option-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 60px);
    padding: 3rem 0;
}

.index-page .option-block .logo {
    display: block;
    width: 33%;
    aspect-ratio: 1;
    border-radius: 50%;
    margin: 0 auto;
}

.index-page .option-block .please-choose-text {
    color: #fff;
    text-transform: uppercase;
    margin: clamp(1px, 3rem, 70px) 0 clamp(1px, 6rem, 140px);
    font-size: clamp(14px, 1rem, 28px);
    font-family: times-new-roman;
}

.index-page .option-block .menus {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    margin: 0 -15px;
    padding: 0 2rem;
}

.index-page .option-block .menus .menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: calc((100% - 3rem) / 2);
    aspect-ratio: 1;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 0.5rem;
}

.index-page .option-block .menus .menu-item .top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: 50%;
}

.index-page .option-block .menus .menu-item .top .icon {
    width: 27%;
    aspect-ratio: 1;
    object-fit: contain;
}

.index-page .option-block .menus .menu-item .text {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 50%;
    color: rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    font-size: clamp(14px, 1rem, 24px);
    font-family: times-new-roman;
}

.index-page .option-block .menus .menu-item .text small {
    font-size: clamp(12px, 0.77rem, 24px);
}

.address-page {
}

.address-page .opt-col {
    text-align: center;
    width: 90px;
}

.address-page .opt-col div {
    display: flex;
    justify-content: space-between;
}

.visitor-registration-page .page-data-form {
    margin: 0 -15px;
}

.visitor-calendar-page {
}

.visitor-calendar-page .custom-calendar.vc-container {
    --day-border: 1px solid #b8c2cc;
    --day-border-highlight: 1px solid #b8c2cc;
    --day-width: 90px;
    --day-height: 90px;
    --weekday-bg: #f8fafc;
    --weekday-border: 1px solid #eaeaea;

    border-radius: 0;
    width: 100%;

    & .vc-header {
        background-color: #f1f5f8;
        padding: 10px 0;
    }

    & .vc-weeks {
        padding: 0;
        overflow-x: auto;
    }

    & .vc-weekday {
        background-color: var(--weekday-bg);
        border-bottom: var(--weekday-border);
        border-top: var(--weekday-border);
        padding: 5px 0;
    }

    & .vc-day {
        padding: 0 5px 3px 5px;
        text-align: left;
        height: var(--day-height);
        min-width: var(--day-width);
        background-color: white;

        &.weekday-1,
        &.weekday-7 {
            background-color: #eff8ff;
        }

        &:not(.on-bottom) {
            border-bottom: var(--day-border);

            &.weekday-1 {
                border-bottom: var(--day-border-highlight);
            }
        }

        &:not(.on-right) {
            border-right: var(--day-border);
        }
    }

    & .vc-day-dots {
        margin-bottom: 5px;
    }
}

@media (min-width: 768px) {
}
