/**

Theme Name: Alba Longa Дочерняя тема
Theme URI: https://goodwinpress.ru/wp-tema-alba-longa
Author: GoodwinPress
Author URI: https://goodwinpress.ru/
Description: Используем дочернюю тему лишь в тех случаях, когда собрались менять стили, разметку или функции темы. Просто так ее ставить не требуется.
Text Domain: alba-longa
Domain Path: /languages
Template: alba-longa
*/

/* Размещайте ваши стили под этой строкой. */
.exc-days.tour-date .excursion-week {
    max-width: 100%;
    margin-bottom: 1rem;
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    font-size: 0.9rem;
    line-height: 1;
    font-weight: var(--medium);
}
.exc-days.tour-date .excursion-week__day {
    padding: 5px 8px;
    background-color: var(--lightColor);
    margin:0 8px 8px 0;
    width: 23%;
}

.modal-form .data select {
    padding: 0.6rem 1rem;
    display: block;
    width: 100%;
    min-height: 3rem;
    height: 52px;
    margin: 10px 0;
    -webkit-transition: border-color .15s ease-in-out;
    transition: border-color .15s ease-in-out;
    color: var(--mainColor);
    border: 1px solid #c9c5db;
    border-radius: var(--bradius);
    outline: none;
    background-color: var(--lightColor);
    -webkit-box-shadow: none;
    box-shadow: none;
    font-family: var(--primeFont);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
    -webkit-appearance: none;
    -webkit-backface-visibility: hidden;
    appearance: none;
    backface-visibility: hidden;
}
.site-search__submit {
    position: absolute;
    right: 3px;
    top: 3px;
    z-index: 10;
    border: 0;
    width: 47px;
    height: 46px;
}
.site-header__branding {
    padding: 0.5rem 0;
}
.site-title {
    max-width: 160px;
}
.site-title__logo {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
    max-height: 84px;
    width: auto;
}
.site-header__nav {
    margin-left: 50px;
}
.site-header-phone {
    /*display: none;*/
}
.headhesive .site-title__logo {
    width: 110px;
}
.headhesive .site-header__branding {
    padding: 0 0px 0 0px;
}
.headhesive .site-header__nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: auto;
    margin-left: 0;
}
.headhesive .site-header-phone {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: auto;
    margin-left: 0;
}
.site-header-phone a, .headhesive .site-header-phone a {
    text-decoration: none;
}
.nav-menu .sub-menu .nav-menu__item a {
    padding: 0.7rem 1rem;
    padding-right: 2rem;
    display: block;
    color: var(--mainColor);
}
.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption):before {
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    content: "";
    height: 100%;
    -webkit-mask-image: linear-gradient(0deg, #000 20%, #0000);
    mask-image: linear-gradient(0deg, #000 20%, #0000);
    max-height: 20%;
}
figure.wp-block-gallery.has-nested-images
{
    display: flex !important;
    flex-wrap: wrap;
}
.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
    margin: 0;
    width: calc(50% - var(--wp--style--unstable-gallery-gap, 16px) / 2);
}
.wp-block-gallery {
    --wp--style--unstable-gallery-gap: var(--wp--style--gallery-gap-default, var(--gallery-block--gutter-size, var(--wp--style--block-gap, 0.5em)));
    gap: var(--wp--style--gallery-gap-default, var(--gallery-block--gutter-size, var(--wp--style--block-gap, 0.5em)));
}

.headhesive {
    max-width: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid #ff0000;
    border-top: 2px solid #ff0000;
}
.site-header {
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #ff0000;
}
.header-outer {
    /*max-width: calc(var(--width) + 4rem);*/
    max-width: 1280px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}
.site-header__search {
    margin: 0 0 0 15px;
    position: relative;
    width: 48px;
    max-width: 48px;
}
.nav-menu__item a {
    display: inline-block;
    text-decoration: none;
    color: var(--mainColor);
    font-size: 16px;
}
/*#searchwp-form-1 .swp-input {
    width: 48px;
}*/
.page__header {
    margin-bottom: 1.5rem;
}
.asp_w_container_2 {
    width: 100%;
    height: 44px;
}
#ajaxsearchpro2_1.asp_compact[asp-compact="open"] {
    width: 80% !important;
    max-width: 1200px !important;
    position: fixed;
    margin: 0 auto;
    left: 0;
    right: 0;
}
.ajaxsearchpro-bg {
    content: "";
    display: none;
    width: 100vw;
    height: 100vh;
    background-color: rgb(255 255 255 / 86%);
    position: fixed;
    z-index: 101;
    top: 0;
    left: 0;
}
#ajaxsearchprores2_1 p.showmore a, #ajaxsearchprores2_2 p.showmore a, div.asp_r.asp_r_2 p.showmore a {
    font-weight: normal;
    font-family: "Open Sans";
    color: #666 !important;
    font-size: 16px !important;
    line-height: 15px;
    text-shadow: none;
    padding: 10px 5px;
    margin: 0 auto;
    background: rgb(255, 255, 255);
    display: block;
    text-align: center;
}
#ajaxsearchpro2_1.asp_compact .prosettings {
    display: none !important;
}
#ajaxsearchpro2_1[asp-compact="open"] {
    width: auto;
    display: inline-block;
    float: none;
    position: static;
    top: 30% !important;
    bottom: auto;
    right: 100px;
    left: auto;
    z-index: 1000;
    border: 4px solid #dc3232 !important;
    border-radius: 12px !important;
}
div.asp_m.asp_m_2#ajaxsearchpro2_1 .probox .proinput input.orig {
    font-size: 16px;
    line-height: 15px !important;
    text-shadow: none;
    border: 0;
    box-shadow: none;
    height: 30px;
    position: relative;
    z-index: 2;
    padding: 0 !important;
    padding-top: 0px !important;
    margin: -1px 0 0 -4px !important;
    width: 100%;
    background: transparent !important;
}
#ajaxsearchprores2_1.vertical .results .item .asp_content, #ajaxsearchprores2_2.vertical .results .item .asp_content, div.asp_r.asp_r_2.vertical .results .item .asp_content {
    overflow: hidden;
    width: auto;
    height: auto;
    background: transparent;
    margin: 0;
    padding: 8px;
    display: flex;
    align-items: center;
}
#ajaxsearchprores2_1.vertical .results .item .asp_image, #ajaxsearchprores2_2.vertical .results .item .asp_image, div.asp_r.asp_r_2.vertical .results .item .asp_image {
    width: 70px;
    height: 70px;
    margin: 2px 15px 0 0;
}
div.asp_r.asp_r_2#ajaxsearchprores2_1 {
    position: absolute;
    z-index: 11000;
    width: auto;
    margin: -8px 0 0 0;
    z-index: 999;
    border: 4px solid #dc3232;
    border-radius: 0 0 10px 10px;
}
.top-submenu {
    background-color: #ededed;
    color: #7b7b7b;
    font-size: 12px;
    display: flex;
    width: 100%;
    align-content: center;
    align-items: center;
    justify-content: center;
    padding: 5px 0 5px 10px;
    border-bottom: 2px solid #ddd;
}
#menu-topmenu {
    display: flex;
}
#menu-topmenu li {
    display: inline-block;
    padding: 0 0 0 10px;
}
#menu-topmenu li:before {
    display: inline-block;
    content: "|";
    padding: 0 8px 0 0;
    color: #ccc;
}
#menu-topmenu li a {text-decoration: none}
#menu-topmenu li a:hover {text-decoration: underline}

.guide-list {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(3, 1fr);
}
.dist-item, .rest-item, .eat-item, .exc-item {
    height: 270px;
    border-radius: 10px;
    align-items: flex-start;
    color: #ffffff;
    font-size: 20px;
}
.guide-list__item {
    background-repeat: no-repeat;
    background-size: cover;
}
.guide-list__item a {
    border-radius: 10px;
    background-color: transparent;
    box-shadow: none;
    transition: background-color 0.4s, box-shadow 0.4s;
}
.guide-list__item a:hover, .guide-list__item a:focus {
    text-decoration: none;
    /* background-color: rgba(29, 32, 35, 0.20);*/
    box-shadow: inset 0px 0px 30px 10px rgba(15, 8, 49, .32);
}
.guide-list__item span {
    display: block;
    margin: 0 0 0 0;
    line-height: 120%;
    padding: 20px 20px 20px 20px;
    color: #fff;
    background-color: #00000033;
    border-radius: 10px 10px 0 0;
}
.guide-list__item.kos{
    background-image: url("images/kos1.jpg");
}
.guide-list__item.kos-auto{
    background-image: url("images/kos-auto.jpg");
}
.guide-list__item.kos-gd{
    background-image: url("images/kos-gd.jpg");
}
.guide-list__item.kos-sea{
    background-image: url("images/kos-sea.jpg");
}
.guide-list__item.kos-russia{
    background-image: url("images/kos-russia.jpg");
}
.guide-list__item.kos-avia{
    background-image: url("images/kos-avia.jpg");
}
.page-list--exc .list-item:nth-of-type(2) {
    transform: none;
}
.services-list__item:nth-of-type(2), .services-list__item:nth-of-type(5) {
    transform: none;
}
.section-header__title::after {
    content: "";
    width: 70px;
    height: 2px;
    background: linear-gradient(90deg, #dc3232, transparent);
    position: absolute;
    left: 0;
    bottom: -0.8rem;
    z-index: 1;
}
a.btn {
    max-width: 300px;
}
.attr-gallery {
    margin-top: 0;
}
.home-section--services {
    margin-bottom: 5rem;
}
.poster__wrap {
    margin-top: 7px;
}
#excursions {
    margin-bottom: 0px;
}
.credits {
    font-size: 0.8rem;
}
.post-content b {
    font-weight: bold;
}
.list-item__info.small-text {
    font-size: 13px;
    padding: 0 0 10px 0;
    border-bottom: solid 1px;
    margin-bottom: 15px;
}
.small-text ul {
    padding-top: 5px;
}
.small-text ul li {
    padding-left: 1rem;
    position: relative;
}
.small-text ul li::before {
    content: "";
    width: 4px;
    height: 4px;
    background-color: var(--accent1);
    position: absolute;
    left: 0;
    top: 8px;
    border-radius: 50%;
}
.exc-info__item.program {
    text-align: center;
    margin-top: 5px;
    border-top: 1px solid var(--borderColor);
    padding: 15px 0;
}
.exc-info__item.program a {
    background-color: #3bbd63;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    margin: 0 auto;
    text-align: center;
    text-decoration: none;
    display: block;
}
.exc-info__item.program a:hover {
    background-color: #1ea648;
}
.poster-btn--bottom {
    padding: 18px 15px;
    bottom: 2px;
    left: 7px;
}
.poster-btn--top {
    padding: 18px 15px;
    top: 6px;
    right: 0;
}
.poster-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: absolute;
    color: var(--lightColor);
    background-color: var(--accent1);
    border-radius: 1.6rem;
    text-align: center;
    text-decoration: none;
    transition: box-shadow 0.4s, transform 0.4s;
    box-shadow: 0 11px 20px 0 rgba(15, 8, 49, .2);
    font-size: 15px;
    width: 223px;
    font-weight: bold;
}
/* календарь */

.overlay {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255 255 255 / 86%); /* Белый фон с прозрачностью */
    z-index: 1000;
}
.calend {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  width: 65vw;
  height: 80vh; /* обязательно! */
  overflow: hidden;
  display: flex;
  flex-direction: column;
border: 4px solid #dc3232 !important;
    border-radius: 12px !important;	
}
#calendar {
  flex: 1;           /* занимает всю доступную высоту родителя */
  min-height: 0;     /* нужно для flex-контейнеров */
}
.cal-btn {
    padding: 3px 10px 4px 10px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    background-color: #ff0000;
    color: #fff;
}
.cal-opener:before {
    background-image: url(images/calendar.png);
    background-repeat: no-repeat;
    background-position: 0px 4px;
    background-size: 26px;
    display: inline-block;
    width: 34px;
    height: 34px;
    content: "";
}
.cal-btn:hover {
    background-color: #e90000;
}
.cal-opener {
position: relative;
    right: 2px;
    top: 0;
    display: flex;
    align-content: flex-start;
    align-items: center;
    height: auto;
    justify-content: flex-end;
}
.page-categories-list__link {
    padding: 0.25rem 1rem;
}
.current-cat-item::before, .base-item::before {
    background-color: #dc3232;
    left: 0.4rem;
}
/* Общий цвет текста и иконок в календаре — ярко-красный */
.fc {
  color: #ff0000;
}
.fc-theme-standard .fc-list-day-cushion {
    background-color: rgb(204 204 204 / 30%);
}
.fc .fc-list-table tr > * {
    border-left: 0px;
    border-right: 0px;
    font-size: 14px;
}
/* Верхняя панель (toolbar) */
.fc-toolbar {
    background-color: #ffffff;
    color: #ff0000;
    border-radius: 6px;
    padding: 10px 15px;
    margin-bottom: 20px;
    box-shadow: none;
}

/* Заголовок месяца */
.fc-toolbar-title {
  color: #333333;
  font-weight: 700;
  font-size: 1.6rem;
}

/* Кнопки навигации */
.fc-button {
  background-color: #990000;
  border: none;
  color: #ff4d4d;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.fc .fc-button {
    padding: 5px 10px;
}
.fc-button:hover,
.fc-button:focus {
  background-color: #cc0000;
  color: #fff0f0;
  outline: none;
}
.fc-list-event-time {
	display: none;
}
/* Активная кнопка */
.fc-button-primary.fc-button-active {
  background-color: #cc0000;
  color: #fff;
}

/* Ячейки дней */
.fc-daygrid-day {
  border: 1px solid #660000;
  transition: background-color 0.3s ease;
}

.fc-daygrid-day:hover {
  background-color: #ffffff;
  cursor: pointer;
}
.fc-h-event:hover .fc-event-main {
    color: #ffffff !important;
}
.fc .fc-list-event-dot {
    border: calc(var(--fc-list-event-dot-width) / 2) solid #ff0000;
    border-radius: calc(var(--fc-list-event-dot-width) / 2);
    box-sizing: content-box;
    display: inline-block;
    height: 0px;
    width: 0px;
}
/* События */
.fc-h-event .fc-event-main {
    color: #cc0000;
    padding: 0 5px;
    font-size: 12px;
}
.fc-event {
    background-color: #ffffff !important;
    border: 1px solid #660000 !important;
    color: #252525 !important;
    font-weight: 600 !important;
    border-radius: 3px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease;
}
.fc .fc-button-primary:not(:disabled).fc-button-active:focus, .fc .fc-button-primary:not(:disabled):active:focus, .fc .fc-button-primary:focus
{
    box-shadow: none;
    background-color: #ff0000;
}
.fc-event:hover {
  background-color: #ff3333 !important;
  color: #fff !important;
}
.fc-event:hover .fc-list-event-time, .fc-event:hover .fc-list-event-title {
    color: #fff !important;
}
.fc-event:hover .fc-list-event-dot {
    border: calc(var(--fc-list-event-dot-width) / 2) solid #ffffff;
}
.fc .fc-list-event:hover td {
    background-color: transparent;
}
/* Заголовки столбцов (дни недели) */
.fc-col-header-cell {
    background-color: #ddd;
    color: #2b2b2b;
    font-weight: 700;
    border-bottom: 2px solid #ff0000;
}

/* Текущий день */
.fc-day-today {
  background-color: #ffebeb !important;
  border: 2px solid #cc0000 !important;
}

/* Список событий (listMonth) */
.fc-list-event:hover {
     color: #cc0000 !important;
}
.fc-direction-ltr .fc-list-day-text, .fc-direction-rtl .fc-list-day-side-text {
    float: left;
    text-decoration: none !important;
    font-size: 16px;
    color: #000;
}
.fc-list-day-side-text {
    text-decoration: none !important;
}
/* Горизонтальные линии */
.fc-scrollgrid-section {
  border-color: #660000 !important;
}
/*
figure.wp-caption {
    margin: 0;
    width: calc(50% - var(--wp--style--unstable-gallery-gap, 16px) / 2) !important;
}
*/
figure.gallery {
    display: flex !important;
    flex-wrap: wrap;
}
.gallery figure {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    max-width: 100%;
    position: relative;
}
.gallery figure:has(figcaption):before {
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    content: "";
    height: 100%;
    -webkit-mask-image: linear-gradient(0deg, #000 20%, #0000);
    mask-image: linear-gradient(0deg, #000 20%, #0000);
    max-height: 20%;
}
.gallery figure figcaption, .gallery figure:has(figcaption):before  {
    bottom: 0;
    left: 0;
    /*max-height: 100%;*/
    position: absolute;
    right: 0;
}
.gallery figure figcaption {
    background: linear-gradient(0deg, #0006, #0000);
    box-sizing: border-box;
    color: #fff;
    font-size: 13px;
    margin: 0;
    overflow: auto;
    padding: 1em;
    scrollbar-color: #0000 #0000;
    scrollbar-gutter: stable both-edges;
    scrollbar-width: thin;
    text-align: center;
    text-shadow: 0 0 1.5px #000;
    will-change: transform;
}
.gallery figcaption {
    flex-basis: 100%;
    flex-grow: 1;
    text-align: center;
}
.gallery-item {
    overflow: hidden;
    border-radius: 5px;
}
.cat-filter {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
}

.page-categories-list {
    max-width: 1070px;
}
.opener {
    position: relative;
}
.s-partnership {
	display: flex !important;
	justify-content: center;
}
#stellsPartner1 {
	width: 1200px !important;
	
}

    .contact-container {
        display: flex;
        flex-wrap: wrap; /* Позволяет блокам переноситься на мобильных */
        /*gap: 30px; /* Расстояние между контактами и картой */
        align-items: flex-start;
    }

    .contact-info {
            flex: 0 0 400px;
    padding: 0 60px 0 0;
    }

    .contact-map {
        flex: 1 1 400px; /* Базовая ширина 400px для карты */
        min-height: 300px;
    }

    .contact-map iframe {
        width: 100%;
        /*height: 300px; /* Высота карты */
        border: 0;
        border-radius: 8px; /* Скругление углов (по желанию) */
    }

    /* Настройка для мобильных: убираем лишние отступы */
    @media (max-width: 600px) {
        .contact-container {
            flex-direction: column;
        }
        .contact-map {
            width: 100%;
            flex: none;
        }
    }

/* адаптив =========== */
@media (max-width: 500px) {
#stellsPartner1 {
	width: 100% !important;
}

	.site-header {
        margin-bottom: 15px;
    }
    .gallery {
        display: grid;
        gap: 1rem;
        grid-template-columns: repeat(1, 1fr);
    }
    .gallery figure {
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        justify-content: center;
        max-width: 100%;
        position: relative;
    }
    #text-2 {
        display: none;
    }
    .site-header__branding {
        padding: 0.5rem 0;
        height: 60px;
    }
    .site-title {
        max-width: 100px;
    }
    .site-header-phone {
    position: absolute;
    left: 124px;
    }
    .site-header__search {
        margin: 0 0 0 15px;
        position: relative;
        width: 48px;
        max-width: 48px;
        right: 48px;
    }
    .site-header__mobile {
        top: 10px;
        width: 40px;
        height: 40px;
        right: 12px;
    }
    #nav_menu-2 {
        width: 100%;
    }
    #menu-topmenu {
        display: flex;
        width: 100%;
        justify-content: center;
    }
    #menu-topmenu li:first-child:before {
        display: none;
    }
    .poster-btn--top {
        padding: 14px;
        top: 0;
        right: 0;
        margin: 0;
    }
    .poster-btn--bottom {
        padding: 14px;
        bottom: 0;
        left: 0;
    }
    .headhesive {
        display: none;
    }
    .guide-list {
        display: grid    ;
        gap: 0rem;
        grid-template-columns: repeat(1, 1fr);
    }
    .attr-gallery {
        margin-top: 30px;
    }
    .page-header__title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    .cal-opener {
        right: 0;
        top: -6px;
        height: 28px;
    }
    .cal-opener:before {
        display: none;
    }
    .cal-btn {
        padding: 3px 7px 3px 7px;
        border-radius: 5px;
        font-size: 14px;
    }
    .calend {
        padding: 5px;
        width: 95vw;
        height: 80vh;

    }
    .fc-toolbar {
    padding: 5px 15px 10px 5px;
    margin-bottom: 0px;
    box-shadow: none;
}
    .fc .fc-toolbar {
        align-items: flex-start;
        justify-content: space-between;
    }
    .fc .fc-toolbar.fc-header-toolbar {
        margin-bottom: 0;
        height: 50px;
    }
    .fc-toolbar-title {
        position: absolute;
        top: 11px;
        width: auto;
        left: 115px;
        right: 0;
        text-align: left;
        font-size: 18px !important;
        max-width: 230px;
}
    .fc-dayGridMonth-button, .fc-listMonth-button {
        display: none !important;
    }

}