/*! GALLERY */

.grid {
    display: grid;
}

.villa-gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    /* * VIŠINA SLIKE */
    grid-auto-rows: minmax(300px, auto);
}

@media(max-width: 849px) {
    .villa-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(200px, auto);
    }
}

@media(max-width: 549px) {
    .villa-gallery {
        grid-auto-rows: minmax(150px, auto);
    }

    .villa-gallery .grid-col {
        display: none;
    }

    .villa-gallery .grid-col:first-child,
    .villa-gallery .grid-col:nth-child(2),
    .villa-gallery .grid-col:nth-child(3) {
        display: block;
    }
}

.villa-gallery>.grid-col.featured {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
}

.grid-col .bg-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
}

/*! VILLA INFO */
.villa-info {
    transform: translateY(-50%);
}

.villa-info>.flex {
    gap: 2rem;
}

.villa-info .info {
    background-color: #1E1E1E;
    color: #fff;
    padding: .5rem 1.5rem !important;
    font-size: 1.25em;
}

.villa-info .info>.flex>img {
    width: 25px;
    height: auto;
}

@media(max-width: 549px){
    .villa-info .info>.flex>img {
        width: 20px;
    }
    .villa-info .info{
        padding: 0.5rem .75rem !important;
    }
    .container.villa-info > .flex{
        justify-content: center;
    }
    .container.villa-info > .flex span{
        font-size: .75em;
    }
}

.villa-info .info>.flex {
    gap: .75em;
}

/*! ANCHORS */
.anchors {
    padding: 1rem 0;
    position: sticky;
    top: 4rem;
    background-color: #fff;
    z-index: 100;
}

/* * FOR ADMIN VIEW */
.customize-support .anchors {
    top: 6rem;
}

@media(max-width: 849px) {
    .anchors {
        padding: 20px 10px;
        position: fixed;
        bottom: 0 !important;
        top: auto !important;
        height: 90px;
        width: 100%;
    }

    .anchors>.flex {
        gap: 1rem !important;
    }

    .anchors a.shadow-box{
        width: auto;
        padding: 0.75rem 1rem;
    }
}

@media(max-width: 549px) {
    .anchors{
        background-color: #fff;
    }
    .anchors a.shadow-box > span{
        display: none;
    }
    .anchors a.shadow-box {
        background-color: #000;
        height: 54px;
        width: 54px;
        border-radius: 99px;
    }
    .anchors a.shadow-box img{
        width: 30px;
        filter: invert(1);
    }
    .anchors>.flex {
        justify-content: space-around !important;
        gap: unset !important;
    }
}


.anchors>.flex {
    gap: 3rem;
    justify-content: center;
}

a.shadow-box {
    padding: .75rem 0;
    width: 230px;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.17);
    transition: .15s all ease-in-out;
    color: #000 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
}

a.shadow-box img {
    width: 15px;
}

a.shadow-box:hover {
    box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.2);
}

/*! PRICELIST */
.pricelist,
.booking {
    padding: 2rem;
}

.pricelist table th {
    text-transform: none;
}

.pricelist table th,
.pricelist table td {
    padding: .5rem 1rem;
    border: none;
}

.pricelist table tbody tr:nth-child(odd) {
    background-color: #fff;
}


/*! ACCORDION*/

.accordion .toggle {
    left: unset !important;
    right: 0 !important;
}


.icon-angle-down:before {
    content: '' !important;
    position: relative;
    background-image: url('/wp-content/uploads/2023/03/1.svg');
    background-repeat: no-repeat;
    background-position: center;
    width: 40px;
    height: 40px;
    display: block;
}

.accordion .toggle {
    border-radius: 0 !important;
    border: 0 !important;
    height: 40px !important;
    width: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    top: 6px !important;
    margin-bottom: -10px !important;
}


.accordion-title {
    border-top: 1px solid #141517 !important;
}

.accordion-title span {
    font-size: 16px;
    font-weight: 600;
}

.acc-li li::marker {
    font-size: 10px !important;
}


/*! VILLA FORMA*/
.person-villa {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.person-villa p {
    width: 50%;
}

.villa-date p {
    display: flex;
    gap: 10px !important;
}

.form-submit-btn {
    display: flex;
    justify-content: flex-start !important;
}


.icon-box-img {
    display: flex;
    align-items: center;
}

select.wpcf7-form-control.wpcf7-select {
    box-shadow: none !important;
    height: 35px !important;
}

span.wpcf7-form-control-wrap {
    font-weight: 500;
}

span.back-home-btn {
    font-family: 'Regular' !important;
    font-size: 15px;
    font-weight: 700;
}

.accordion-title {
    padding-left: 1.15em !important;
}
.accordion-inner{
    padding-left: 1.15em !important;
}

@media (max-width: 549px){
    .height-mobile {
        height: 25px !important;
    }
}
