@charset "UTF-8"; .clear {
    clear: both;
}

body {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: white;
    overflow-x: hidden;
    min-height: 100vh;
    height: 100%;
    position: relative;
    background: #222222;
}

#preload-01 {
    background: url(../img/constructive_bg_02.webp) no-repeat -9999px -9999px;
}

#preload-02 {
    background: url(../img/constructive_bg_02.webp) no-repeat -9999px -9999px;
}

#preload-03 {
    background: url(../img/constructive_bg_02.webp) no-repeat -9999px -9999px;
}

#preload-04 {
    background: url(../img/constructive_bg_04qw.webp) no-repeat -9999px -9999px;
    background: url(../img/constructive_bg_02.webp) no-repeat -9999px -9999px;
}

#preload-05 {
    background: url(../img/constructive_bg_04-1.webp) no-repeat -9999px -9999px;
    background: url(../img/constructive_bg_02.webp) no-repeat -9999px -9999px;
}

ul {
    margin: 0;
    padding: 0;
}

a, button {
    transition: all 0.3s ease;
}

button:focus {
    outline: none;
}

a:focus {
    text-decoration: none;
    outline: none;
}

a {
    color: #FFF;
    text-decoration: none;
    gap: 5px;
}

a:hover {
    color: #FF0;
    text-decoration: none;
}

h1,h2,h3 {
    font-weight: 300;
}

p {
    font-size: 1rem;
    line-height: 2.2;
}

p:last-child {
    margin-bottom: 0;
}

.tm-bg-transparent-black {
    background-color: rgba(0,0,0,0.25);
    background-color: rgb(255 255 255 / 81%);
    background-color: #f2f1f0;
    background-image: radial-gradient(80% 80% at 80% 20%,#f4eefe 0%,rgba(243,236,254,0) 100%),radial-gradient(60% 60% at 0 100%,#d9f1ff 0%,rgba(219,242,255,0) 100%),linear-gradient(#e6f6ff,#e6f6ff);
    background-position: 50%;
    padding: 10px 30px;
    border-radius: 0;
}

/*  #tm-section-4 .col-md-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%
    }*/
#tm-section-4 .tm-text-shadow {
    margin: 40px 0 0;
    font-weight: 600;
    font-family: 'Roboto';
}

.tm-contact-box-pad {
    padding: 60px 55px;
}

#tm-section-4 .tm-contact-box-pad {
    padding: 10px 0
}

.tm-contact-box-pad p, .tm-address-box {
    color: black;
    font-family: 'Roboto';
    line-height: normal;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.tm-address-box .phone {
    display: flex;
    background-color: #009cde;
    background-image: radial-gradient(circle farthest-side at center bottom,#009cde,#003087 125%);
    color: white;
    padding: 12px;
    margin: 10px 0;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
}

.tm-border-white {
    border: 1px solid white;
}

.media {
    align-items: center;
}

.section-3-team {
    display: flex;
    gap: 5px;
    width: 100%;
    justify-content: space-evenly;
    background: url(/img/background-team.webp) no-repeat;
    background-size: 100% 100%;
    min-height: 160px;
    align-items: center;
}

.tm-icon-circled {
    font-size: 3rem;
    border-radius: 50%;
    border: 1px solid white;
    padding: 4px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 160px;
    height: 160px;
}

.tm-background-p {
    /* background-color: white; */
}

.tm-open-poup-span, .tm-open-poup-a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tm-header-span {
    color: #ffffff;
    background: var(--primary-color);
    background: linear-gradient(90deg, #007bff, #00c6ff);
    /* background-color: #869197; */
    background-image: linear-gradient(77.24deg,#fd8925 7.17%,#ff0c00 86.3%);
    padding: 6px;
    font-size: 1.4rem;
    line-height: 2.8rem;
    font-weight: bold;
    border: 1px outset black;
    border-radius: 4px;
    text-shadow: 1px 1px 1px black;
    display: block;
    height: 60px;
    width: 100%;
    max-width: 250px;
    text-align: center;
}

.tm-font-big {
    font-size: 1.3rem;
    line-height: normal;
    font-weight: 500;
    filter: drop-shadow(1px 0 1px black);
    word-wrap: break-word;
    margin: 0;
}

p.tm-font-big {
    color: black;
    filter: none;
}

.ml-auto h2 {
    color: black;
    font-weight: 500;
    font-family: 'Roboto';
    text-transform: uppercase;
    line-height: normal;
    margin-top: 5px;
}

.tm-header-text, .tm-item {
    background-color: rgb(255 255 255 / 81%);
    background-color: #f2f1f0;
    background-image: radial-gradient(80% 80% at 80% 20%,#f4eefe 0%,rgba(243,236,254,0) 100%),radial-gradient(60% 60% at 0 100%,#d9f1ff 0%,rgba(219,242,255,0) 100%),linear-gradient(#e6f6ff,#e6f6ff);
    background-position: 50%;
    font-family: 'Roboto';
}

.tm-item {
    padding: 10px 20px;
    border: 2px rgb(2 2 2 / 50%) inset;
    border-radius: 10px;
    margin-top: 15px;
}

.tm-item h3 {
    color: #ffffff;
    text-align: center;
    font-weight: 500;
    padding: 8px;
    background-color: #03A9F4;
}

.tm-item-1 {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.tm-item-1 label {
    display: block;
    color: black;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    font-family: 'Roboto';
}

.tm-item-2 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 33.3334%;
}

.tm-open-clients {
    box-sizing: border-box;
    padding: 10px 20px;
    background-color: #f2f1f0;
    background-image: radial-gradient(80% 80% at 80% 20%,#f4eefe 0%,rgba(243,236,254,0) 100%), radial-gradient(60% 60% at 0 100%,#d9f1ff 0%,rgba(219,242,255,0) 100%), linear-gradient(#e6f6ff,#e6f6ff);
    background-position: 50%;
    border: 2px rgb(2 2 2 / 50%) inset;
    border-radius: 10px;
    margin-top: 15px;
    overflow: hidden;
    /* Скрываем лишнее */
    position: relative;
}

.tm-open-clients h3 {
    display: block;
    text-align: center;
    font-weight: 600;
    color: black;
    padding: 8px;
}

.tm-open-clients-hide {
    overflow: hidden;
}

.tm-clients-img {
    display: flex;
    gap: 20px;
    height: 100px;
    width: max-content;
    /* Важно: контейнер подстраивается под ширину всех фото */
    animation: scroll 20s linear infinite;
    /* Запуск анимации */
}

.tm-clients-img:hover {
    animation-play-state: paused;
    /* При наведении слайдер остановится */
}

.tm-clients-img-slide {
    flex-shrink: 0;
    /* Чтобы картинки не сжимались */
    padding: 4px;
    background-color: white
}

.tm-clients-img-slide img {
    height: 100%;
    display: block;
    border-radius: 10px;
    border: 1px solid #ccc;
}

/* Анимация движения */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Сдвигаем на половину длины ленты */
    }
}

.tm-ul {
    background-color: rgb(255 255 255 / 81%);
    background-color: #f2f1f0;
    background-image: radial-gradient(80% 80% at 80% 20%,#f4eefe 0%,rgba(243,236,254,0) 100%),radial-gradient(60% 60% at 0 100%,#d9f1ff 0%,rgba(219,242,255,0) 100%),linear-gradient(#e6f6ff,#e6f6ff);
    background-position: 50%;
    padding: 10px 30px;
    border-radius: 12px;
    width: 100%;
    border-top: 2px inset black;
    margin-top: 15px;
}

.tm-ul ul {
    padding: 10px 30px
}

#tm-section-1 .tm-background-p {
    /* background: rgb(255 255 255 / 66%); */
    padding: 10px 30px;
    border-radius: 12px;
    width: 100%;
    /* border-top: 2px inset black; */
    margin-top: 5px;
}

#tm-section-1.tm-section li , #tm-section-1 .tm-background-p p {
    list-style: none;
    font-size: 20px;
    font-weight: 500;
    color: #000000;
    background: url(/img/checkmark.png) left no-repeat;
    background-size: 28px;
    padding: 10px;
    padding-left: 40px;
    border-bottom: 1px solid rgb(158 158 158 / 35%);
    max-width: 80%;
}

.ml-auto .tools {
}

.ml-auto .tools {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 33.3334%;
    max-width: 150px;
    /* background: white; */
    /* padding: 8px; */
    /* border-radius: 20px; */
    /* margin: 5px; */
}

.ml-auto .tools img {
    width: 100%;
    max-width: 150px;
    /* border: 2px solid #03a9f4; */
    /* border-radius: 20px; */
}

.tm-advantages {
    /* background: rgb(255 255 255 / 66%); */
    padding: 10px;
    border-radius: 12px;
    width: 100%;
    /* border-top: 2px inset black; */
    margin-top: 15px;
}

.tm-advantages h2 {
    color: black;
    font-weight: 500;
    font-family: 'Roboto';
    text-transform: uppercase;
    line-height: normal;
    text-shadow: none;
    filter: none;
}

.tm-advantages h3 {
    font-size: 1rem;
    font-weight: bold;
    color: black;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tm-advantages p {
    line-height: normal;
    font-size: 0.9rem;
    min-height: 60px;
    display: flex;
    align-items: flex-start;
}

.tm-advantages-img {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto 20px;
}

.tm-advantages-span {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    max-width: 200px;
    padding: 8px;
    border-bottom: 2px inset #00a800;
    border-top: 2px inset #00a800;
    border-radius: 20px;
    background-color: white;
}

.gphoto {
    width: 100%;
    max-width: 100px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.tm-advantages-span span {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: auto;
    margin-left: auto;
}

.tm-main {
    height: 100%;
    min-height: 100vh;
    padding: 0;
}

.tm-main-row {
    height: 100%;
    min-height: 100vh;
    position: relative;
}

#tmMainNavToggle {
    display: none;
}

.inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    text-align: center;
    font-weight: 500;
    line-height: normal;
    border: 1px solid #ffffff;
    border-radius: 100px;
    height: auto;
    padding: 10px;
    background: #47472c;
    background: linear-gradient(to top, rgb(16 26 50), rgb(255 255 255 / 20%));
    filter: drop-shadow(0 0 5px black);
}

.logo-avito-tme {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.logo span , .logo sup {
    font-size: 28px;
    font-weight: 500;
    text-transform: uppercase;
    /* filter: drop-shadow(0 0 1px black); */
}

span.logo-text-mini {
    border-top: 1px solid white;
    padding-top: 5px;
    margin-top: 5px;
    font-size: 1rem;
    letter-spacing: 0.8px;
    font-weight: 600;
}

img.logo-avito {
    width: 100%;
    max-width: 35px!important;
}

.logo img {
    max-width: 100px;
}

.sidebar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: flex-start;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 60px 50px;
    cursor: default;
    z-index: 100;
    background: transparent;
    color: white;
    z-index: 1000;
}

.tm-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-item-align: stretch;
    align-self: stretch;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 50px 15px;
    width: 100%;
    position: relative;
}

.tm-nav-fa-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 1px solid white;
    padding: 8px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-right: 0;
}

.tm-main-nav {
    font-size: 1.4rem;
}

.tm-main-nav li {
    list-style: none;
    background-color: rgb(255 255 255 / 10%);
    background: #47472c;
    background: linear-gradient(to top, rgb(28 54 128 / 70%), rgb(255 255 255 / 20%));
    border-radius: 20px 20px 0 0;
}

.tm-main-nav a {
    background-image: url(../img/nav-item.png);
    background-repeat: no-repeat;
    background-position: left bottom;
    color: white;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 20px 0 40px 0;
    padding-bottom: 20px;
    padding-right: 80px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: normal;
}

.tm-main-nav a:hover, .tm-main-nav a:focus, .tm-main-nav a.active {
    background-image: url(../img/nav-item-highlight.png);
    background-color: #e5e5e587;
    color: gold;
    text-decoration: none;
    filter: drop-shadow(0 1px 0 black);
    border-radius: 20px 20px 0 0;
}

.tm-main-nav a:hover .tm-nav-fa-icon, .tm-main-nav a:focus .tm-nav-fa-icon, .tm-main-nav a.active .tm-nav-fa-icon {
    border-color: #fc616200;
}

.fa-menu {
    width: 50px;
    height: 50px;
}

.tm-btn {
    font-size: 1.4rem;
    font-weight: bold;
    background: var(--primary-color);
    background: linear-gradient(90deg, #007bff, #00c6ff);
    background-image: linear-gradient(77.24deg,#fd8925 7.17%,#ff0c00 86.3%);
    background-color: #869197;
    /* border-color: white; */
    color: white;
    cursor: pointer;
    height: 60px;
    max-width: 250px;
    line-height: 2.8rem;
}

.submit-popup-btn {
    font-size: 1.4rem;
    font-weight: 500;
    background: var(--primary-color);
    background: linear-gradient(90deg, #007bff, #00c6ff);
    background-image: linear-gradient(77.24deg,#fd8925 7.17%,#ff0c00 86.3%);
    border-color: white;
    color: white;
    cursor: pointer;
    height: 60px;
    line-height: 2.8rem;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a#open-popup {
    text-shadow: 1px 1px 1px black;
    width: 100%;
    max-width: 250px;
}

a#open-popup:hover, .submit-popup-btn:hover {
    background: var(--primary-color);
    background: linear-gradient(-90deg, #007bff, #00c6ff);
    color: white;
}

.header-popup {
    display: flex;
    align-items: center;
    background: var(--primary-color);
    background: linear-gradient(-135deg, #007bff, #00c6ff);
    padding: 4px;
    margin-bottom: 15px;
}

.header-popup img {
    width: 100%;
    max-width: 60px;
    margin-left: 10px;
}

.btn.focus, .btn:focus {
    box-shadow: none
}

.tm-btn:hover, .tm-btn:focus {
    color: #ffffff;
    border-color: transparent;
}

.tm-btn-submit {
    border-radius: 0;
    display: block;
    padding: 15px 43px;
}

.slick-dots {
    bottom: -45px;
}

.slick-dots li button:before {
    font-size: 20px;
}

.slick-slide {
    margin: 0 10px;
}

.slick-list {
    margin: 0 -10px;
}

#tm-section-3 .col-xl-6 {
    max-width: 100%!important;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%
}

#tm-section-3 .container {
    width: 100%;
    max-width: 1366px;
}

#tm-section-3 .mb-4 {
    padding: 0;
    border-radius: 0;
}

#tm-section-3 h2 {
    color: black;
    text-align: center;
    padding: 30px;
    margin: 0;
    font-family: 'Roboto';
    font-weight: 700;
}

#tm-section-4 h2 {
}

#tm-section-3 .mb-4 {
}

.mb-4 {
    padding: 10px 25px 40px 25px;
    border-radius: 0;
}

#tm-section-5 .mb-4 {
    padding: 5px 10px;
}

#tm-section-1 h1 {
    font-size: 2.3rem;
    font-weight: 500;
    line-height: normal;
    color: #ffffff;
    /* margin-bottom: 25px; */
    padding: 10px 25px;
    text-shadow: 1px 2px 0 black
}

#tm-section-1 .tm-text-shadow {
    background: url(/img/__1.png.webp) no-repeat;
    background-size: cover;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.stroke {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background: inherit!important;
    display: none!important;
}

.tm-text-shadow span {
    font-size: 1.2rem;
    line-height: 2.2rem;
}

.tm-text-shadow strong {
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: normal;
    font-size: 1.4rem;
    font-family: 'Roboto';
    font-weight: 500;
    text-align: center;
    border-bottom: 1px solid #cdcbcb;
    border-right: 1px solid #cdcbcb;
    padding: 2px 16px;
    display: flex;
    margin: 5px;
    background-color: #1c3681;
    background: linear-gradient(135deg, #9E9E9E, #607D8B);
    text-shadow: 1px 0 0 black;
}

.tm-text-shadow strong:hover {
    background: linear-gradient(-135deg, #9E9E9E, #607D8B);
}

.header-text-mini {
    display: block;
    width: 100%;
    text-align: right;
    color: #1c367f;
    font-weight: 500;
    font-size: 1rem;
}

.tm-text-shadow span {
    font-weight: 600;
    font-family: 'Roboto';
    margin: 20px 0 15px;
    padding: 0;
    text-transform: uppercase;
    line-height: normal;
}

.fantasy {
    color: #fafafa!important;
    font-size: 1.4rem!important;
    font-family: 'Roboto'!important;
    letter-spacing: 1px!important;
    font-weight: 600!important;
    text-align: center;
    width: 100%!important;
    display: block!important;
    padding: 8px!important;
    background-color: #1d3885;
    background: linear-gradient(135deg, #1d3885, #10192e);
    margin: 5px 0!important;
    display: none!important;
}

.tm-section {
    max-width: 95%;
    width: auto;
    padding: 0;
    border: 1px inset rgb(0 0 0 / 14%);
    border-bottom: none;
    border-radius: 0;
}

#tm-section-4 h3 {
    color: black;
    font-weight: 400;
}

.col-md-6.tm-contact-col {
    margin-bottom: 0;
}

.tm-img-slider {
    max-width: 940px;
}

.poupwindow {
    background: white;
    background-color: rgb(255 255 255 / 100%);
    padding: 30px;
    max-width: 400px;
    margin: 20px auto;
    border-radius: 10px;
    position: relative;
}

#tm-section-1, #tm-section-news {
    max-width: 95%;
}

.tm-icon-media {
    margin-right: 1.5rem;
    margin-bottom: 0;
}

address {
    font-size: 1rem;
}

.form-control placeholder {
    color: grey
}

.form-control {
    color: rgb(0, 0, 0);
    border: 1px solid rgb(170, 170, 170);
    background-color: rgb(255, 255, 255);
    border-radius: 5px;
    font-size: 14px;
    font-weight: 400;
    height: 40px;
}

#tm-section-3 .media {
    flex-direction: column;
}

#tm-section-3 .media-body p {
    margin: 0;
    padding: 0;
    color: black;
    font-family: 'Roboto';
    font-weight: 400;
    line-height: 1.4rem;
}

.form-control:focus {
    background: transparent;
    color: white;
    border-color: #af3329;
    box-shadow: none;
}

::-webkit-input-placeholder {
    color: #607D8B !important;
    opacity: 1.0;
}

:-moz-placeholder {
    color: rgba(255, 255, 255, 1) !important;
    opacity: 1.0;
}

::-moz-placeholder {
    color: rgba(255, 255, 255, 1) !important;
    opacity: 1.0;
}

:-ms-input-placeholder {
    color: rgba(255, 255, 255, 1) !important;
    opacity: 1.0;
}

.footer-link {
    position: absolute;
    bottom: 20px;
    right: 20px;
    margin-left: 20px;
    color: white;
    text-align: right;
    width: 100%;
    z-index: 999;
}

.footer-link.relative {
    position: relative;
}

.tm-copyright-text {
    display: inline-block;
    padding: 5px 30px;
    background-color: rgba(0,0,0,0.5);
}

footer a {
    color: white;
}

@media (max-width: 1800px) {
    .tm-section {
        margin: 0 auto;
    }
}

@media (max-width: 1724px) {
    .tm-nav-fa-icon {
        margin-right: 0;
    }

    .tm-main-nav a {
        margin: 20px 0 35px 0;
        padding-right: 10px;
    }

    .tm-content {
        padding: 50px 15px;
    }
}

@media (max-width: 1400px) {
    .tm-main-nav {
        font-size: 1.1rem;
    }

    .tm-main-nav a {
        padding-right: 10px;
    }

    .tm-nav-fa-icon {
        margin-right: 0;
    }

    .sidebar {
        padding: 60px 30px;
    }
}

@media (max-width: 1340px) {
    .logo span, .logo sup {
        font-size:20px
    }

    .tm-content {
        padding: 50px 10px;
        margin: 0 auto;
    }
}

@media (max-width: 1200px) {
    .flok-select {
        flex-wrap: wrap;
        align-content: center;
        align-items: flex-start;
        justify-content: center;
    }

    .flok-select-left, .flok-select-right {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 30px;
    }

    .flok-select img {
        width: 100%!important;
        max-width: 300px;
        /* height: auto!important; */
    }

    .flok-select ul {
        margin: 10px 0
    }

    .flok-select li {
        margin: 0!important;
        padding: 0!important;
    }
}

@media (max-width: 1140px) {
    .tm-btn {
        padding:8px;
        height: 60px;
        width: 100%;
        line-height: 2.4rem;
    }

    .tm-item-1 {
        flex-wrap: wrap;
        padding: 15px;
    }

    .ml-auto .tools {
        /* order: 1; */
        /* margin-bottom: 10px; */
    }

    .tm-open-poup-span {
        width: auto!important;
        order: 2;
    }

    .tm-open-poup-a {
        width: auto!important;
        order: 3;
    }

    .img-tools {
        max-width: 200px;
        height: auto;
    }
}

@media (max-width: 1199px) {
    .col-md-6.tm-contact-col {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 991px) {
    .tm-item-2, .ml-auto .tools {
        width:100%;
        max-width: 190px;
    }

    #tm-section-5, #tm-section-6, #tm-section-7 {
        margin-top: 15px
    }

    .tm-main-row {
        position: relative;
    }

    .ml-auto h2 {
        font-size: 1.6rem
    }

    #tm-section-1 {
        max-width: 95%;
        margin: 10px auto;
        padding: 10px;
    }

    #tm-section-2 .mb-4 {
        padding: 10px 15px;
        margin: 20px auto;
        width: 90%;
    }

    #tm-section-1 h1 {
        font-size: 1.6rem;
        padding: 5px 4px;
    }

    .mb-4 {
        /* padding: 0; */
    }

    .mb-4 h1 {
        font-size: 1.4rem;
        line-height: normal;
        padding: 8px 10px;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .stroke {
        display: block;
    }

    .tm-text-shadow span {
        line-height: 1.6rem;
        padding: 4px 8px;
        margin: 10px 0;
        font-size: 1.1rem;
    }

    .tm-text-shadow strong {
        font-size: 1.2rem;
        line-height: normal;
        margin: 10px 0;
        padding: 15px;
        text-align: left;
        float: none;
    }

    .mb-4 h2 {
        font-size: 1.3rem;
        padding: 0!important;
        margin: 10px 0!important;
    }

    #tm-section-2 .tm-header-text h3 {
        font-size: 1.2rem
    }

    .tm-item-1 {
        display: flex;
        align-items: center;
        justify-content: space-around;
    }

    .ml-auto .tm-open-poup-span, .ml-auto .tm-open-poup-a {
        width: 100%!important;
    }

    .ml-auto .tools img {
        margin: 0 auto 5px;
    }

    .tm-font-big {
        width: 100%;
        max-width: 100%;
    }

    #tmMainNavToggle {
        display: block;
        position: absolute;
        right: -60px;
        top: 0;
    }

    .menu-icon {
        padding: 10px 15px;
        background: #000000c4;
        border: 1px solid;
        color: #ffffff;
        cursor: pointer;
        margin-top: 4px;
        margin-left: 4px;
        border-radius: 5px;
        width: 60px;
        height: 50px;
        z-index: 1001;
    }

    #tmSideBar {
        width: 300px;
        position: absolute;
        min-height: 100vh;
        height: auto;
        left: -300px;
        transition: all .3s ease-in-out;
        -webkit-transition: all .3s ease-in-out;
        -moz-transition: all .3s ease-in-out;
        -ms-transition: all .3s ease-in-out;
        -o-transition: all .3s ease-in-out;
    }

    #tmSideBar.show {
        left: 0;
    }

    .sidebar {
        background: rgba(0,0,0,0.9);
        padding: 20px;
    }

    .tm-main-nav a {
        padding-bottom: 20px;
        margin: 20px 0 25px 0;
    }

    .tm-section {
        margin-left: auto;
    }

    .tm-section-carousel {
        max-width: 95%;
        width: 100%;
    }

    #tm-section-3 .mb-4 {
        padding: 5px;
        border-radius: 0;
    }

    #tm-section-3.tm-section, #tm-section-4.tm-section {
        width: 95%!important;
        padding: 0!important;
        margin: 15px auto!important;
    }

    #tm-section-3 .tm-bg-transparent-black {
        padding: 10px!important;
    }

    #tm-section-3 .direction-card h3 {
        font-size: 1.4rem
    }

    #tm-section-4 .tm-contact-col {
    }

    .page.active#page_two,.page.active#page_tree,.page.active#page_four,.page.active#page_five,.page.active#page_sex {
        display: flex;
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .stroke-page, .page-image {
        margin-bottom: 15px;
        width: 100%!important;
    }

    .address .tm-address-box {
        width: 100%;
        max-width: 100%!important
    }

    .back-to-top {
        right: 60px!important
    }

    .call-phone {
        right: 50px!important
    }

    #tm-section-news {
        width: 90%!important;
    }

    .vk-widget-wrapper {
        display: none!important
    }

    .call-phone {
        display: flex!important;
    }
}

@media (max-width: 768px) {
    .tm-item-1 {
    }

    .tm-item-2, .ml-auto .tools {
        max-width: 32%;
        gap: 10px;
    }
}

@media (max-width: 767px) {
    .tm-header-span , a#open-popup {
        font-size:1.2rem
    }

    .tm-item-2, .ml-auto .tools {
        /* max-width: 170px; */
    }

    .tm-item-1 {
        margin: 0 auto;
        width: 100%;
        display: flex;
        padding: 8px;
        gap: 5px;
        max-width: none;
    }

    #tm-section-1.tm-section li, #tm-section-1 .tm-background-p p {
        max-width: 100%;
    }

    .tm-content {
        padding: 50px 0;
    }

    .tm-advantages-img {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .tm-advantages-span {
        width: 100%;
        min-height: 260px;
    }

    .gphoto {
        max-width: 100px;
    }

    .tm-advantages-span span {
        font-size: 16px;
    }

    .page.active#page_two,.page.active#page_tree,.page.active#page_four,.page.active#page_five,.page.active#page_sex {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .page-image, .page-toggle {
        width: 100%!important;
        display: flex;
        align-items: flex-end;
        margin: 0!important;
    }

    .page-image img {
        max-width: 100%;
    }

    .tm-img-container {
        width: 100%!important;
        padding: 0 15px!important;
        margin: 0!important;
    }

    .warning-block {
        max-width: 95%!important
    }

    .phone-link {
        width: 80%!important
    }

    .tm-ul ul, #tm-section-1 .tm-background-p {
        padding: 0;
    }

    .topten-item {
        flex-direction: column;
    }

    .topten-image-col {
        width: 50%!important
    }

    .news-table {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .news-cover-img {
        max-width: 50%!important;
        margin-bottom: 20px;
    }
}

@media (max-width: 640px) {
    .tm-section-carousel {
        max-width: 95%;
        padding-bottom: 50px;
        margin: 10px auto;
        padding: 0;
    }

    .image-item {
        width: 100%!important;
    }

    .image-caption {
        font-size: 1.2rem!important
    }
}

@media (max-width: 600px) {
    .tm-advantages h3 {
        font-size:1rem;
        line-height: 1rem;
        margin-bottom: 1rem;
    }

    .tm-advantages p {
        font-size: 0.9rem
    }

    .tm-item-1 {
        display: flex;
        flex-direction: column;
    }

    .tm-item-2, .ml-auto .tools {
        /* width:100%; */
        max-width: none;
        /* background: none; */
    }

    .tm-contact-box-pad {
        padding: 10px 0;
        /* margin-top: 10px; */
    }

    .flok-select {
        flex-direction: column;
    }

    .flok-select-left, .flok-select-right {
        width: 100%!important
    }

    .item-advantages {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .advantages-item-img-1 img, .advantages-item-img-2 img, .advantages-item-img-3 img {
        width: 100%!important;
    }

    .footer-link {
        margin: 0 auto;
        width: 90%;
    }
}

@media (max-width: 500px), (max-width: 809px) and (min-width: 767px) {
    .media {
        flex-direction: column!important;
    }

    .tm-icon-media {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }

    .tm-advantages-img {
        display: flex;
        flex-direction: column;
    }

    .phone-link {
        width: 100%!important
    }

    .floor-main-content h2 {
        font-size: 1.6em!important
    }
}

#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #3498db;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    z-index: 1001;
}

#loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #e74c3c;
    -webkit-animation: spin 3s linear infinite;
    animation: spin 3s linear infinite;
}

#loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #f9c922;
    -webkit-animation: spin 1.5s linear infinite;
    animation: spin 1.5s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

#loader-wrapper .loader-section {
    position: fixed;
    top: 0;
    width: 51%;
    height: 100%;
    background: #222222;
    z-index: 1000;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}

#loader-wrapper .loader-section.section-left {
    left: 0;
}

#loader-wrapper .loader-section.section-right {
    right: 0;
}

.loaded #loader-wrapper .loader-section.section-left {
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

.loaded #loader-wrapper .loader-section.section-right {
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

.loaded #loader {
    opacity: 0;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.loaded #loader-wrapper {
    visibility: hidden;
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
    -webkit-transition: all 0.3s 1s ease-out;
    transition: all 0.3s 1s ease-out;
}

.no-js #loader-wrapper {
    display: none;
}

.fa-calculator:before {
    content: "\f1ec";
    background: red;
    background-image: radial-gradient(circle farthest-side at center bottom,#009cde,#003087 125%)!important;
}

#dostavka {
    position: fixed;
    bottom: 0%;
    /* Начальное положение: полностью скрыто слева */
    left: -250px;
    /* Центрирование относительно собственной ширины */
    transform: translateX(-50%);
    z-index: 1000;
    /* Название анимации */
    animation-name: moveFromLeft;
    /* Длительность движения */
    animation-duration: 12s;
    /* Задержка перед стартом — 4 секунд */
    animation-delay: 4s;
    /* Плавность */
    animation-timing-function: ease-out;
    /* Оставить элемент в конечной точке (на 50%) */
    animation-fill-mode: forwards;
    4 }

@keyframes moveFromLeft {
    from {
        left: -250px;
    }

    to {
        left: 50%;
    }
}

#dostavka img {
    display: block;
    /* opacity:0.5; */
}

#dostavka img:hover {
    opacity: 1;
    zoom:1.2; transition: 1s easy;
}

/* Уникальные стили с префиксом sz- */
#sz-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* Затемнение фона */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    /* Выше всех остальных элементов */
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Класс для скрытия окна */
.sz-modal-hidden {
    visibility: hidden;
    opacity: 0 !important;
    pointer-events: none;
}

.sz-modal-container {
    background: #e7e7e7;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    overflow: hidden;
    position: relative;
    animation: szSlideDown 0.4s ease;
}

@keyframes szSlideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.sz-modal-header {
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sz-modal-title {
    font-weight: bold;
    font-size: 18px;
    color: #333;
}

.sz-modal-close-btn {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.sz-modal-close-btn:hover {
    color: #000;
}

.sz-modal-body {
    padding: 20px;
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

.sz-modal-footer {
    padding: 15px 20px;
    text-align: right;
    border-top: 1px solid #eee;
}

.sz-btn-action {
    background-color: #ffcc00;
    /* В стиле вашего сайта */
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.sz-btn-action:hover {
    background-color: #e6b800;
}
