/*
 Theme Name:   Eventus
 Description:  Twenty Nineteen Child Theme
 Author:       ggeugene
 Template:     twentynineteen
 Version:      1.0.0
 Text Domain:  eventus
*/

body ul.push {
    list-style: none;
}

.push li {
    position: relative;
    padding: 20px 0 20px 40px;
    color: #3d3d3d;
    cursor: pointer;
}

.push li:before {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4F5151;
    content: "";
    left: 0;
    transition: .3s ease-in-out;
    top: 27px;
}

.push li:after {
    position: absolute;
    border-left: 1px dotted #4F5151;
    width: 1px;
    bottom: -12px;
    content: "";
    left: 3px;
    top: 48px;
}

.push li:hover:before {
    box-shadow: 0 0 0 10px rgba(36, 53, 89, 0.3);
}

.push li:last-child:after {
    content: none;
}

.timeline {
    position: relative;
    width: 660px;
    margin: 0 auto;
    margin-top: 20px;
    padding: 1em 0;
    list-style-type: none;
}

.timeline:before {
    position: absolute;
    left: 50%;
    top: 0;
    content: ' ';
    display: block;
    width: 6px;
    height: 100%;
    margin-left: -3px;
    background: rgb(80, 80, 80);
    background: -moz-linear-gradient(top, rgba(80, 80, 80, 0) 0%, rgb(80, 80, 80) 8%, rgb(80, 80, 80) 92%, rgba(80, 80, 80, 0) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(30, 87, 153, 1)), color-stop(100%, rgba(125, 185, 232, 1)));
    background: -webkit-linear-gradient(top, rgba(80, 80, 80, 0) 0%, rgb(80, 80, 80) 8%, rgb(80, 80, 80) 92%, rgba(80, 80, 80, 0) 100%);
    background: -o-linear-gradient(top, rgba(80, 80, 80, 0) 0%, rgb(80, 80, 80) 8%, rgb(80, 80, 80) 92%, rgba(80, 80, 80, 0) 100%);
    background: -ms-linear-gradient(top, rgba(80, 80, 80, 0) 0%, rgb(80, 80, 80) 8%, rgb(80, 80, 80) 92%, rgba(80, 80, 80, 0) 100%);
    background: linear-gradient(to bottom, rgba(80, 80, 80, 0) 0%, rgb(80, 80, 80) 8%, rgb(80, 80, 80) 92%, rgba(80, 80, 80, 0) 100%);

    z-index: 5;
}

.timeline li {
    padding: 1em 0;
}

.timeline li:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.direction-l {
    position: relative;
    width: 300px;
    float: left;
    text-align: right;
}

.direction-r {
    position: relative;
    width: 300px;
    float: right;
}

.flag-wrapper {
    position: relative;
    display: inline-block;

    text-align: center;
}

.flag {
    position: relative;
    display: inline;
    background: rgb(248, 248, 248);
    padding: 6px 10px;
    border-radius: 5px;

    font-weight: 600;
    text-align: left;
}

.direction-l .flag {
    -webkit-box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
    box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
}

.direction-r .flag {
    -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.15);
}

.direction-l .flag:before,
.direction-r .flag:before {
    position: absolute;
    top: 50%;
    right: -40px;
    content: ' ';
    display: block;
    width: 12px;
    height: 12px;
    margin-top: -10px;
    background: #fff;
    border-radius: 10px;
    border: 4px solid rgb(255, 80, 80);
    z-index: 10;
}

.direction-r .flag:before {
    left: -40px;
}

.direction-l .flag:after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    height: 0;
    width: 0;
    margin-top: -8px;
    border: solid transparent;
    border-left-color: rgb(248, 248, 248);
    border-width: 8px;
    pointer-events: none;
}

.direction-r .flag:after {
    content: "";
    position: absolute;
    right: 100%;
    top: 50%;
    height: 0;
    width: 0;
    margin-top: -8px;
    border: solid transparent;
    border-right-color: rgb(248, 248, 248);
    border-width: 8px;
    pointer-events: none;
}

.time-wrapper {
    display: inline;

    line-height: 1em;
    font-size: 0.66666em;
    color: rgb(250, 80, 80);
    vertical-align: middle;
}

.direction-l .time-wrapper {
    float: left;
}

.direction-r .time-wrapper {
    float: right;
}

.time {
    display: inline-block;
    padding: 4px 6px;
    background: rgb(248, 248, 248);
}

.desc {
    margin: 1em 0.75em 0 0;

    font-size: 0.77777em;
    font-style: italic;
    line-height: 1.5em;
}

.direction-r .desc {
    margin: 1em 0 0 0.75em;
}

.partners-grid {
    display: flex;
    height: 100%;
    flex-wrap: wrap;
    align-items: center;
}

.partners-grid .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    /*height: 100%;*/
}

.about-image::after {
    display: none;
}

.flex-block {
    display: flex;
    flex-wrap: wrap;
}


.swiper-container {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}
.swiper-slide {
    background-size: cover;
    background-position: center;
}
.gallery-top {
    height: 80%;
    width: 100%;
}
.partners-slider{
    width: 100%;
    height: 150px;
}
.gallery-thumbs {
    height: 20%;
    box-sizing: border-box;
    padding: 10px 0;
}
.gallery-thumbs .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
}
.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}

.partners-slider .swiper-slide{
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.about-area .gallery-top{
    height: 300px;
    margin-bottom: 8px;
}
.about-area .gallery-thumbs{
    height: 110px;
}

.footer-logo img{
    height: 100px;
}

#scrollUp{
    position: fixed;
    z-index: 2;
    cursor: pointer;
}

/* ================ Timeline Media Queries ================ */

.mobile-menu .logo img{
    height: 50px;
}


.mobile-menu-area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}
@media (max-width: 992px) {
.page-area {
    padding-top: 60px; 
}
}
@media screen and (max-width: 660px) {
    .about-area .gallery-top{
        height: 180px;
    }
    .about-area .gallery-thumbs{
        height: 70px;
    }

    .timeline {
        width: 100%;
        padding: 4em 0 1em 0;
    }

    .timeline li {
        padding: 2em 0;
    }

    .direction-l,
    .direction-r {
        float: none;
        width: 100%;

        text-align: center;
    }

    .flag-wrapper {
        text-align: center;
    }

    .flag {
        background: rgb(255, 255, 255);
        z-index: 15;
    }

    .direction-l .flag:before,
    .direction-r .flag:before {
        position: absolute;
        top: -30px;
        left: 50%;
        content: ' ';
        display: block;
        width: 12px;
        height: 12px;
        margin-left: -9px;
        background: #fff;
        border-radius: 10px;
        border: 4px solid rgb(255, 80, 80);
        z-index: 10;
    }

    .direction-l .flag:after,
    .direction-r .flag:after {
        content: "";
        position: absolute;
        left: 50%;
        top: -8px;
        height: 0;
        width: 0;
        margin-left: -8px;
        border: solid transparent;
        border-bottom-color: rgb(255, 255, 255);
        border-width: 8px;
        pointer-events: none;
    }

    .time-wrapper {
        display: block;
        position: relative;
        margin: 4px 0 0 0;
        z-index: 14;
    }

    .direction-l .time-wrapper {
        float: none;
    }

    .direction-r .time-wrapper {
        float: none;
    }

    .desc {
        position: relative;
        margin: 1em 0 0 0;
        padding: 1em;
        background: rgb(245, 245, 245);
        -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.20);
        -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.20);
        box-shadow: 0 0 1px rgba(0, 0, 0, 0.20);

        z-index: 15;
    }

    .direction-l .desc,
    .direction-r .desc {
        position: relative;
        margin: 1em 1em 0 1em;
        padding: 1em;

        z-index: 15;
    }

}
.fa-sort-down:before {
    /* font-size: 18px; */
    color: white;
    position: absolute;
}





/* Dropdown Button */
.dropbtn {
    /* background-color: #4CAF50; */
    color: white;
    /* font-size: 16px; */
    border: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #243559;
    min-width: 170px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #099cb5;
    min-width: 204px;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
    min-width: 204px;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    background-color: #099cb5;
    min-width: 204px;
}

.fa-phone:before {
    color: #099cb5;
    font-size: 30px;
    padding-right: 20px;
    
}

.topbar-right a {
    margin-right: 0;
}

.topbar-right ul li a i {
    padding-right: 0; 
    padding-left: 10px;
}

.dropdown:hover .dropdown-content {
  
    min-width: auto;
}

.fa-phone:hover:before {
    color: whitesmoke !important; /* любой нужный цвет */
}

.dropdown-content a:hover {
  
    min-width: 180px;
    background-color: #243559;
}

.topbar-right .telephone :selection {
    background-color: #243559;
}


.chaty-channel {
    left: auto !important;
}

@media (min-width: 992px) {
    .main-menu ul.nav li:last-child a {
        margin-right: 0;
    }
    
}

@media (min-width: 768px) {
   
    .fa-phone:before {
        font-size: 16px;
        padding-right: 7px; 
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .main-menu ul.nav li a {
        font-size: 15px;
    }
    .stick .main-menu ul.nav li a {
        font-size: 13px;
        margin: 0 7px;
    }
}

@media (max-width: 500px) {
    .hire-btn {
        font-size: 14px; 
        padding: 8px 16px; 
    }
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
  }
  
  .video-facade {
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background-color: #000;
  }
  
  .video-facade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    border: none;
    color: #fff;
    font-size: 2rem;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
  }
  
  /* Стиль для списка */

  .custom-numbered-list {
    padding-left: 15px;
  }

ol.custom-numbered-list {
    list-style: none; /* Убираем стандартные маркеры */
    padding-left: 0; /* Убираем отступ */
    counter-reset: custom-counter; /* Сброс счетчика */
}

ol.custom-numbered-list li {
    position: relative; /* Для позиционирования */
    padding-left: 30px; /* Отступ для маркера */
    margin-bottom: 10px; /* Расстояние между элементами */
    font-size: 16px; /* Размер шрифта */
}

ol.custom-numbered-list li:before {
    content: counter(custom-counter) " "; /* Генерация числа */
    counter-increment: custom-counter; /* Увеличиваем счетчик */
    position: absolute; /* Абсолютное позиционирование */
    left: 0; /* Расположение слева */
    top: 50%; /* Центрируем по вертикали */
    transform: translateY(-50%); /* Центрируем */
    background-color: #099cb5; /* Цвет фона кружка */
    color: #fff; /* Цвет текста */
    font-weight: bold; /* Жирный шрифт */
    font-size: 14px; /* Размер шрифта числа */
    width: 24px; /* Ширина кружка */
    height: 24px; /* Высота кружка */
    display: flex; /* Для выравнивания текста внутри */
    justify-content: center; /* Горизонтальное выравнивание */
    align-items: center; /* Вертикальное выравнивание */
    border-radius: 50%; /* Круглая форма */
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 40px 0;
}
.product-item {
    border: 1px solid #ddd;
    padding-bottom: 20px;
    text-align: center;
    background: #fff;
}
.product-image img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}
.product-details h4 {
    font-size: 18px;
    margin: 10px 0;
}
@media (min-width: 769px) {
    .product-name {
        min-height: 68px;
    }
}
.order-button {
    display: inline-block;
    text-decoration: none;
    padding: 10px 20px;
    background-color: #099cb5;
    color: #fff;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    transition: background-color .3s ease;
}
.order-button:hover {
    background: #099cb5;
}


.categories-menu {
    background: #0a9bb510;
    padding: 15px;
    border: 1px solid #e4f3f7;
    margin-bottom: 20px;
   
}

.categories-menu nav {
    margin-bottom: 20px;
}

.categories-menu .categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-menu .categories-list li {
    margin-bottom: 10px;
}

.categories-menu .categories-list li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.categories-menu .categories-list li a:hover {
    color: #099cb5;
}


/* .blog-content ul li {
    list-style: none !important; 
   
} */


.form-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    max-width: 400px;
    background-color:#099cb5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    text-align: center;
    font-size: 18px; 
    font-family: 'Roboto', sans-serif; 
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out; 
}

.form-message.success {
    color: #ffffff;
    border: 2px solid #099cb5;
}

.form-message.error {
    color: #dc3545;
    
}

.hidden {
    display: none;
}



@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.products-grid {
    margin-top: 0;
}

@media (min-width: 1200px) {
    .project-dec p {
        min-height: 78px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .project-dec p {
        min-height: 104px;
    }
}

@media (min-width: 768px) {
    .categories-menu.mobile-only {
        display: none;
    }
}

@media screen and (max-width: 479px) {
    .br-title {
        font-size: 32px;
    }
}

@media screen and (max-width: 480px) {
    .project-area .col-sm-12 {
      width: 100%;
      padding-left: 0;
      padding-right: 0;
    }
  
    .single-awesome-project {
      margin-left: auto;
      margin-right: auto;
    } 
    
    
    .project-single .container, .mobile-move-sidebar .container {
        margin: 0;
        width: 100%;
    }
        
  }
  
  /* div[data-id="Link-0"] .chaty-svg {
    display: none !important;
}

div[data-id="Link-0"] .chaty-icon.channel-icon-Link {
    background-image: url('/wp-content/uploads/2025/04/Image-CallBack.png'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
 */

 @media (min-width: 992px) {
    .single-page-head .review-img {
      width: 235px !important;
      height: 235px !important;
    }
  }

  .products-grid .product-name {
    padding-right: 5px;
    padding-left: 5px;
  }
  
  .blog-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

