/*!
Theme Name: Hello Elementor Child
Theme URI: https://crocoblock.com/
Author: Crocoblock
Author URI: https://crocoblock.com/
Description: Child theme for Hello Elementor with all CrocoBlock features compatibility.
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hello-elementor-child
*/

/*@import url('https://fonts.googleapis.com/css2?family=Cormorant+Infant:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');*/

body {
    background-color: #fbfeff;
}
h1 {
    font-size: 2rem
}

h2 {
    font-size: 1,5rem
}

h3 {
    font-size: 1.3rem
}

h4 {
    font-size: 1.15rem
}

h5 {
    font-size: 0.9rem
}

h6 {
    font-size: 0.8rem
}
h1, h2, h3, h4, h5, h6, .elementor-widget-container .elementor-heading-title {
    margin: 0;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight: var(--e-global-typography-primary-font-weight);
    color: var(--e-global-color-primary);
    text-transform: var(--e-global-typography-primary-text-transform);
}

/*---Блок меню---*/

.custom-mega-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;         /* Горизонтальное меню */
    gap: 20px;             /* Расстояние между пунктами */
}

.custom-mega-menu > li {
    position: relative;    /* Для позиционирования подменю */
}
.custom-mega-menu>li>a, .custom-mega-menu .mega-menu {
    padding: 5px 15px;
    color: #fff;
}
.custom-mega-menu a {
    text-decoration: none;
    color: inherit;
    padding: 10px 15px;
    display: block;
}

.custom-mega-menu .mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    background: #33223b;
    padding: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    min-width: 300px;
    border-radius: 5px;
    border: 1px solid #4c3557;
}

.custom-mega-menu > li:hover .mega-menu {
    display: block;
}

.custom-mega-menu .mega-menu-inner {
    display: flex;
    gap: 10px;
    align-items: stretch;
}
.custom-mega-menu .mega-menu-inner>ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 1rem;
    list-style: none;
    padding: 25px;
    margin: 0;
    min-width: 500px;
}
.custom-mega-menu .mega-menu-inner li {
    width: 100%;
    min-width: 250px;   
    display: flex;
    align-items: center;
}

.mega-menu-list li:before {
    content: "\f30b";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    padding-right: 10px;
    font-size: 10px;
    transition: all 0.5s;
}

ul.mega-menu-list li:hover:before {
    padding-left: 5px;
    padding-right: 5px;
    transition: all 0.5s;
}

.right-mega-banner, .banner-overlay {
    border-radius: 0 5px 5px 0;
}
.right-mega-banner {
    background-image:url(http://localhost/web2/wp-content/themes/hello-elementor-child/inc/banner-praha.jpg);
    width: 450px;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    /*border: 1px solid #4c3557;*/
}
.banner-overlay {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #07021f52;
    position: absolute;
}
.right-mega-banner .banner-textblock {
    z-index: 10;
    padding: 1em;
    text-align: center;
    width: 100%;
    text-shadow: 1px 2px 2px black;
}
.right-mega-banner .banner-textblock p {
    margin: 0;
}
.banner-textblock>div {
    display: flex;
    gap: 10px;
}
.banner-textblock-values span:not(:last-child)::after {
    content: ", ";
}
.banner-textblock-title {
    font-weight: bold;
}
.banner-textblock-values {
    text-align: left;
    font-style: italic;
}
/*---Конец блока меню---*/

/*блок отображения сетки галереи свадьбы*/

.svadba-gallery-grid {
    column-count: 3;
    /* Количество колонок */
    column-gap: 6px;
}

.svadba-gallery-grid a {
    display: inline-block;
    /*margin-bottom: 3px;*/
    width: 100%;
}

.svadba-gallery-grid img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

/*конец блока отображения сетки галереи свадьбы*/

.place-wrap-header {
    text-align: center;
    padding: 20px 10px 40px;
}

.packet-price::after {
    content: "€";
    padding-left: 5px;
    font-size: 0.8em;
}
.price-value, .new-price {
    font-size: 1.5em;
}
.send-caption-price-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    background-color:var(--e-global-color-b41297c);
    padding: 3%;
    border: 1px solid var(--e-global-color-28b9e25);
    font-style: italic;
    font-weight: 500;
    color: var(--e-global-color-primary);
}
.send-caption-price-wrap .send-price span {
    font-size: 1.5em;
}

.send-success,
.send-error {
    padding: 10px;
    background-color: #fbfbfb;
    margin: 10px 0;
    border: 1px dashed;
    font-size: 0.9em;
}

.send-success {
    color: green;
}

.send-error {
    color: red;
}

.main-place-price span.old-price {
    font-size: 0.7em;
    text-decoration: line-through;
}

.individFormWrap {
    position: relative;
}

#customForm {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 40px;

}
h3.main-place-price {
    text-align: center;
}
.send-button-wrap {
    text-align: center;
    padding: 10px 0 30px;
    margin-bottom: 10px;
}
.calcresult-block {
    background: #eafeff;
    position: sticky;
    position: -webkit-sticky;
    top: 40px;
    display: flex;
    gap: 30px;
    justify-content: space-around;
    background-color: var(--e-global-color-b41297c);
    padding: 12px 5px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
    color: var(--e-global-color-dda24b8);
    border: 1px solid var(--e-global-color-28b9e25);
}
.grid-item.header {
    position: sticky;
    position: -webkit-sticky;
    top: 40px;
}
.check-block {
    padding: 20px
}

.select-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 800px;
}

.check-block .error-message {
    color: red;
    padding-left: 25px;
    font-size: 0.9em;
}

.check-block label.chk-lbl {
    display: flex;
    padding: 6px 4px;
    align-items: flex-start;
}

.check-block .chk-lbl span {
    padding-left: 10px;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Стиль для всплывающего окна */
.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    z-index: 2;
    min-width: 350px;
}
.modal-header .close-button {
    position: absolute;
    top: -14px;
    right: -14px;
    padding: 2px 10px;
}
.modal.active,
.modal-overlay.active {
    display: block;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 5%;
    align-content: flex-start;
    align-items: flex-start;
}

.modal-info-header {
    text-align: center;
    margin: 10% 0;
}

.close-button {
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    border: none;
    background: none;
}

#message {
    margin-top: 20px;
    display: none;
    padding: 10px;
    border-radius: 5px;
}

#message.success {
    background-color: #d4edda;
    color: #155724;
}

#message.error {
    background-color: #f8d7da;
    color: #721c24;
}

#sending-process {
    display: none;
    padding-right: 30px;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    align-items: center;
    height: 100px;
}

.place-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 5px;
    flex-wrap: wrap;
}

.place-container>div {
    flex: 1 0 0;
    border: #94c0e6 solid 1px;
    color: white;
    display: flex;
    background-size: cover;
}

.place-container>div.place-item>div {
    padding: 50px 10px;
    background: #f5deb38c;
    margin: 5px;
    flex: 1 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    text-shadow: 0 0 4px black;
}

.place-container>div.place-item.active-place>div {
    background: none;
}

.grid-item {
    border-right: 1px solid var(--e-global-color-28b9e25);
    border-bottom: 1px solid var(--e-global-color-28b9e25);
    padding: 12px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-item.first-col {
    text-align: left;
    justify-content: left;
}

.grid-item.header, .grid-item.grid-footer {
    font-weight: 500;
    background-color: var(--e-global-color-b41297c);
    display: flex;
    flex-direction: column;
    text-align: center;
    color: var(--e-global-color-dda24b8);
}

.form-comtainer {
    max-width: 850px!important;
}

.grid-2-col {
    display: grid;
    grid-template-columns: auto 110px;
}

.grid-2-col>span,
.grid-3-col>span {
    padding: 7px 10px;
}

.grid-3-col {
    display: grid;
    grid-template-columns: auto auto auto;
    border-left: 1px solid var(--e-global-color-28b9e25);
    border-top: 1px solid var(--e-global-color-28b9e25);
}

.grid-4-col {
    display: grid;
    grid-template-columns: auto auto auto auto;
}

.grid-4-col>span:nth-child(8n+1),
.grid-4-col>span:nth-child(8n+2),
.grid-4-col>span:nth-child(8n+3),
.grid-4-col>span:nth-child(8n+4),
.grid-3-col>span:nth-child(6n+1),
.grid-3-col>span:nth-child(6n+2),
.grid-3-col>span:nth-child(6n+3),
.grid-2-col>span:nth-child(4n+1),
.grid-2-col>span:nth-child(4n+2) {
    background-color: var(--e-global-color-b41297c);
}

.price-head {
    padding: 10px;
    font-weight: bold;
    background: var(--e-global-color-28b9e25);
}

.prices-tabs h3 {
    margin: 30px 0 15px;
}

/*.header-carousel .elementor-image-carousel-wrapper img.swiper-slide-image {
    object-fit: cover;
    max-height: 50vh;
}


a.jet-listing-dynamic-link__link {
    height: 50px;
    display: flex;
    align-items: center;
    text-align: center;
}

a.jet-listing-dynamic-link__link:after {
    content: "";
    height: 1px;
    width: 0;
    background: #D232E0;
    position: absolute;
    bottom: 0;
    transition: all 0.5s;
    left: 10%;
}

a.jet-listing-dynamic-link__link:hover:after {
    width: 80%;
}

.img-slide .jet-listing-dynamic-image:hover {
    opacity: 0.8;
    transition: all 0.4s;
}

.img-slide .jet-listing-dynamic-image {
    transition: all 0.4s;
}*/

.my-list ul {
    list-style-type: none;
    padding-left: 0px;
}

.my-list li {
    display: flex;
}

.my-list li:before {
    content: "\2714";
    margin-right: 10px;
    font-family: 'FontAwesome';
    color: var(--e-global-color-primary);
}

.info-grid-wrap .elementor-shortcode, .info-grid-wrap .elementor-shortcode a {
    color: var(--e-global-color-db70974);
}
.info-grid-wrap .elementor-shortcode a {
    border-bottom: 1px dotted;
}
.info-grid-wrap .elementor-shortcode {
    display: flex;
    justify-content: center;
    gap: 30px;
}
.info-grid-value a:hover {
    color: var(--e-global-color-9ec969a);
}
.svadba-info-grid.layout-grid  {
    display: grid;
    grid-template-columns: max-content auto;
    gap: 0.3vh; /* Зазор между элементами, по желанию */
    height: fit-content;
}
.info-grid-title {
    font-weight: 400;
    padding-right: 10px;
}
.info-grid-value.left-grid {
        text-transform: lowercase;
}
.info-grid-value {
    font-style: italic;
    font-weight: 200;
}
/* Разделитель */
.vertical-divider {
    width: 1px;
    background-color: var(--e-global-color-db70974);
    height: auto;
}

.svadba-info-grid.layout-grid .info-row {
    display: contents; /* волшебная строчка! */
}

.svadba-info-grid.layout-flex {
    display: flex;
    flex-direction: column;
    gap: 0.3vh;
}

.svadba-info-grid.layout-flex .info-row {
    display: flex;
}
@media (min-width: 1921px) {
    .svadba-gallery-grid {
        column-count: 4;
    }
}
@media (min-width: 1024px) {
    .serv-calc-group .jet-form-builder__label-text {
        white-space: nowrap;
    }

    .wp-block-group.serv-calc-group,
    .additional-service .jet-form-builder-row.field-type-calculated-field {
        align-items: center;
    }
}

@media (max-width: 1367px) {
    .btn-price-group .jet-form-builder__fields-group.checkradio-wrap {
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {
    .layout-row .jet-form-builder-row.field-type-select-field {
        flex-direction: column;
        align-items: inherit;
    }
    .grid-item.grid-footer button {
        padding: 5px;
    }
    .additional-service .jet-form-builder-col__start {
        max-width: none;
    }

    /*.elementor-inner-section  .elementor-row {
    	flex-wrap: wrap;
	}
	.elementor-inner-section  .elementor-row .separ{
    	 display: none;
	}*/
    .service-calc.jet-form-builder__calculated-field.pack-selected {
        display: none;
    }

    .check-group .checkradio-wrap .checkboxes-wrap {
        padding: 6px 0;
    }

    .additional-service .place-block .jet-form-builder__fields-group.checkradio-wrap {
        flex-wrap: wrap;
        gap: 1%;
    }

    .additional-service .place-block .place-radio-wrap {
        max-width: 48%;
        margin-bottom: 1%;
    }
}