/* Код для подключения шрифта в /css/stylename.css */
@font-face {
    font-family: "CeraProThin";
    src: url("../fonts/CeraPro/CeraPro-Thin.eot");
    src: url("../fonts/CeraPro/CeraPro-Thin.eot?#iefix") format("embedded-opentype"),
    url("../fonts/CeraPro/CeraPro-Thin.woff") format("woff"),
    url("../fonts/CeraPro/CeraPro-Thin.ttf") format("truetype");
    font-style: normal;
    font-weight: 100;
}

@font-face {
    font-family: "CeraProLight";
    src: url("../fonts/CeraPro/CeraPro-Light.eot");
    src: url("../fonts/CeraPro/CeraPro-Light.eot?#iefix") format("embedded-opentype"),
    url("../fonts/CeraPro/CeraPro-Light.woff") format("woff"),
    url("../fonts/CeraPro/CeraPro-Light.ttf") format("truetype");
    font-style: normal;
    font-weight: 300;
}

@font-face {
    font-family: "CeraProRegular";
    src: url("../fonts/CeraPro/CeraPro-Regular.eot");
    src: url("../fonts/CeraPro/CeraPro-Regular.eot?#iefix") format("embedded-opentype"),
    url("../fonts/CeraPro/CeraPro-Regular.woff") format("woff"),
    url("../fonts/CeraPro/CeraPro-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "CeraProMedium";
    src: url("../fonts/CeraPro/CeraPro-Medium.eot");
    src: url("../fonts/CeraPro/CeraPro-Medium.eot?#iefix") format("embedded-opentype"),
    url("../fonts/CeraPro/CeraPro-Medium.woff") format("woff"),
    url("../fonts/CeraPro/CeraPro-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
}

@font-face {
    font-family: "CeraProBold";
    src: url("../fonts/CeraPro/CeraPro-Bold.eot");
    src: url("../fonts/CeraPro/CeraPro-Bold.eot?#iefix") format("embedded-opentype"),
    url("../fonts/CeraPro/CeraPro-Bold.woff") format("woff"),
    url("../fonts/CeraPro/CeraPro-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
}

@font-face {
    font-family: "CeraProBlack";
    src: url("../fonts/CeraPro/CeraPro-Black.eot");
    src: url("../fonts/CeraPro/CeraPro-Black.eot?#iefix") format("embedded-opentype"),
    url("../fonts/CeraPro/CeraPro-Black.woff") format("woff"),
    url("../fonts/CeraPro/CeraPro-Black.ttf") format("truetype");
    font-style: normal;
    font-weight: 900;
}

/*Размеры текста*/
.fs-16 {
    font-size: 16px;
}

.fs-14 {
    font-size: 14px;
}

.fs-12 {
    font-size: 12px;
}

.txt-xxlarge {
    font-size: 45px;
    font-weight: 600;
    line-height: 57px;
    /*letter-spacing: 1px;*/
}

.txt-xlarge {
    font-size: 30px;
    font-weight: 600;
    line-height: 57px;
    /*letter-spacing: 1px;*/
}

.txt-large {
    font-size: 20px;
    font-weight: 600;
    line-height: 25px;
    /*letter-spacing: 1px;*/
}

.txt-middle {
    font-size: 15px;
    font-weight: 500;
    line-height: 19px;
}

.txt-small {
    font-size: 12px;
    font-weight: 500;
    line-height: 19px;
}

/*Отступы*/
.p-sides {
    padding: 0 18px;
}

.m-sides {
    margin-left: 18px;
    margin-right: 18px;
}

.p-all {
    padding: 18px;
}

.m-all {
    margin: 18px;
}

.p-15 {
    padding: 0 18px;
}

.pall-15 {
    padding: 18px;
}

.m-15 {
    margin: 18px;
}

.mx-w-content {
    margin: 0 auto;
    max-width: 420px;
    width: 100%;
}

/*Оформление*/
.white-text {
    color: white !important;
}

.dark-textc {
    color: var(--dark-chio-color) !important;
}

.red-text {
    color: var(--red-chio-color) !important;
}

.bg-red {
    background-color: var(--red-chio-color) !important;
}

.bg-shadow {
    background-color: var(--shadow-chio-color) !important;
}

.bg-darkch {
    background-color: var(--dark-chio-color) !important;
}

.bold {
    font-weight: 700;
}

.light {
    font-weight: 400;
}

.w-40 {
    width: 40%;
}

.w-60 {
    width: 60%;
}

/*Основное*/
:root {
    --red-chio-color: #E40136;
    --dark-chio-color: #0D263F;
    --shadow-chio-color: #f5f5f5;
}

* {
    outline: none;
    color: black;

    color: var(--dark-chio-color);
    font-family: 'CeraProRegular', sans-serif;
}

body {
    margin: 0;
    padding: 0;

    box-sizing: border-box;
}

.main {
    margin: 0 auto;
    padding: 0;

    height: 100%;
    width: 100%;

    position: relative;
}

.content {
    padding-top: 0;
    padding-bottom: 120px;
}


/*Главная*/
/*Главная -> заголовок*/
.home header {
    padding-top: 30px;
    padding-bottom: 30px;
    /*margin-bottom: 80px;*/

    background-color: var(--dark-chio-color);

    display: flex;
    flex-direction: column;
    align-items: center;

}

.home header .header-wrap {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.home header .img-profile {
    width: 50px;
    height: 50px;

    border-radius: 25px;
}

.home header .ico-notifications {
    width: 24px;
    height: 24px;
}

.home .choose-town {
    width: 100%;

    position: absolute;
    top: 105px;
}

.home .choose-town div {
    height: 100%;

    background-color: white;
    border-radius: 20px;
    border: 1px solid var(--shadow-chio-color);

    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

/* Главная страница: слайдер*/
.home .slick-slider {
    width: 100%;
    z-index: 10;
}

.home .slick-slider .slick-next, .home .slick-slider .slick-prev {
    display: none !important;
}

.home .slick-dots {
    bottom: -15px;
}

.choose-town .ic-town {
    width: 20px;
}

.choose-town .ic-arrow {
    height: 16px;
}

/*Наполнение главной страницы*/
.home .chiocoins {
    padding: 10px 16px;
    border-radius: 20px;
    color: white;
    background-color: #0D263F;
}

.home .chiocoins-button {
    margin-left: 8px;
    padding: 10px 16px;
    font-weight: 700;
    border-radius: 20px;
    /*border: 1px solid #0D263F;*/
    background-color: var(--shadow-chio-color);
    background-image: url("/img/home/benefit-bg.svg");
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 100px;

    flex-grow: 1;
}

.chio-mark {
    margin-bottom: -40px;
    height: 90px;

    display: inline-block;

    border-radius: 20px;
    color: white;
    background-color: var(--red-chio-color);

    position: relative;
    z-index: 1;
}

.chio-mark-back {
    margin-bottom: -40px;
    margin-left: -25px;
    height: 90px;
    width: 100%;

    text-align: center;
    border-radius: 20px;
    background-color: var(--shadow-chio-color);

    position: relative;
    z-index: 0;
}

.chio-card-subheader {
    height: 75px;
    margin-bottom: -40px;

    border-radius: 20px;
    color: white;
    background-color: var(--dark-chio-color);

    position: relative;
    z-index: 2;
}

.chio-card {
    border-radius: 20px;
    background-color: var(--shadow-chio-color);
    box-sizing: border-box;

    position: relative;
    z-index: 3;
}

.lesson p, .lesson ul {
    margin-bottom: 0 !important;
}

.card-img-wh {
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.chio-card .more {
    right: 20px;
    bottom: 8px;
}


/*Секция работы*/
.work {
    display: flex;
    flex-direction: row;
}

.work .left {
    margin-right: 5px;
}

.work .right {
    margin-left: 5px;
}

.work .left div:first-child {
    margin-bottom: 5px;
}

.work .chio-card img {
    margin-right: 7px;
    display: block;
}

/*Статья*/
.event p img {
    width: 100%;
}

.event a {
    color: #104472 !important;
    text-decoration: underline !important;
}

/*База знаний*/

.knowledge-base .chio-card {
    display: flex;
    flex-direction: row;

    /*border-right: 3px solid var(--red-chio-color);*/
}

.knowledge-base .chio-card .card-img-left {
    min-width: 30%;
    width: 175px;
    min-height: 120px;
    border-radius: 20px;
    object-fit: cover;
}

.knowledge-base .chio-card .ico, .ico {
    width: 15px;
    height: 15px;
}

.knowledge-base .chio-card h2 {
    font-size: 18px;

    overflow: hidden;
    text-overflow: ellipsis;
    display: -moz-box;
    -moz-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    box-orient: vertical;
}

.knowledge-base .chio-card span {
    font-size: 14px;
}


/*Страница урок*/
.lesson h2 {
    font-family: 'CeraProRegular', sans-serif;
    font-size: 24px;
}

.lesson p, .lesson ul {
    font-size: 18px;
}

/*Страница: Аналитика*/
.analytic .chio-card-subheader {
    padding-bottom: 45px;
    margin-bottom: -25px;

    display: flex;
    justify-content: center;
    align-items: center;
}

/*Странца: Мои записи*/
.my-record table tr:first-child td {
    border-top: none;
}

/*Страница: Старт*/
.start-page .top-block {
    background-position: center;
    background-image: url("/img/start-image.png");
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    height: 70vh;
}

.start-page .top-block div {
    height: 110px;
    width: 25%;
}

/*Страница: Чаевые*/
.tips img {
    width: 100%;
}
.tips p {
    font-size: 18px;
}


/*Компонент: Заголовок страницы*/
.pt-header {
    padding-top: 100px;
}

.page-header {
    width: 100%;
    position: fixed;
    background-color: white;
    z-index: 1000;
}

h1.page-header img {
    height: 20px;
}

/*Компонент: Меню*/
.bottom-menu {
    margin: 0;
    padding: 0;

    width: 100%;
    color: var(--dark-chio-color);
    background-color: white;
    border-top: 1px solid var(--shadow-chio-color);

    position: fixed;
    bottom: -2px;

    z-index: 1000;
}

.bottom-menu .menu-wrap {
    height: 100%;

    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.bottom-menu a {
    display: flex;
    flex-direction: column;
    align-items: center;

    color: white;
    font-size: medium;
}

.bottom-menu img {
    height: 25px;
}

/*Компонент: Формы*/
.txt-input {
    width: 100%;

    border-radius: 20px;
    background-color: var(--shadow-chio-color);
    border: none;
    outline: none;
}

/*Страница график работы*/
.schedule .outer {
    padding: 10px 0 0 0;
    position: relative;
    background-color: var(--shadow-chio-color);
}

.schedule .inner {
    overflow-x: scroll;
    overflow-y: visible;
    width: auto;
    /*margin-left: 60px; !* Сдвинет всю таблицу внутри на 100 пикселей *!*/
}

.schedule table {
    width: 100%;
}

.schedule tr {
    position: relative;
}

.schedule th {
    position: sticky;
    left: 0; /* Прижмет к левому краю .outer, который на 100 пикселей шире .inner */
    width: 60px; /* Занимаем отведенное место */
    height: 100%;
    /*border: none!important;*/
    border: 1px solid var(--dark-chio-color) !important;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 100;
    background-color: white !important;
    outline: 1px solid var(--dark-chio-color) !important;
}

.schedule td {
    padding: 0.5rem 5px !important;
    max-width: 80px;
    min-width: 80px;
    border: black 1px solid !important;
}


.schedule .choose-time {
    position: absolute;
    top: 100px;
    left: 0;

    width: 100%;
    min-height: 70vh;
    border-radius: 18px;
    background-color: var(--shadow-chio-color);
    z-index: 1000;
}

.schedule .time-row {

    border-top: 1px solid var(--dark-chio-color);
}

.schedule .choose-time input {
    /*width: 80px;*/
    border-radius: 5px;
    border: none;
    padding: 0 5px;
    background-color: white;
}

.schedule .choose-time .plus-btn {
    line-height: 1;
    padding-right: 12px;
    background-color: white;
    border-radius: 20px;
}
/* === Intro full-screen modal (light theme) === */
.intro-modal-overlay {
    position: fixed; inset: 0;
    background: rgba(13, 38, 63, 0.20);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
}

.intro-modal {
    position: relative;
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
}

.intro-modal-content {
    max-width: 960px;
    width: 100%;
    max-height: 100%;
    overflow: auto;
    background: #ffffff;
    color: #0d263f;
    border: 1px solid #e6e9ef;
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(13, 38, 63, 0.12);
    padding: 20px;
}

.intro-modal-title {
    margin: 0 0 12px;
    font-size: 22px;
    color: #0d263f;
}

.intro-modal-text {
    margin-bottom: 16px;
    line-height: 1.5;
    color: #33405a;
}

.intro-modal-video-wrap { width: 100%; }
.intro-modal-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    background: #f3f6fb;
    border: 1px solid #e6e9ef;
}

/* Close button */
.intro-modal-close {
    position: absolute; top: 12px; right: 12px;
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid #d5dbe7;
    border-radius: 50%;
    background: #f3f6fb;
    color: #0d263f;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(13, 38, 63, 0.08);
}
.intro-modal-close:hover {
    background: #e9eef7;
    border-color: #cfd7e6;
}
.intro-modal-close:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(50, 115, 220, 0.25);
}
