/* Popup Card Styles */

.popup {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    bottom: 0;
    right: 0;
    transition: 0.3s ease-in-out;
}

/* Popup Close Button */

.popup .close_popup {
    z-index: 10000;
    position: fixed;
    top: 15px;
    right: 15px;
    width: 25px;
    height: 25px;
    background-color: black;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Inner Popup Card */

.popup_inner {
    height: auto;
    width: 95%;
    max-height: 95%;
    position: relative;
    background-color: #fff;
    border-radius: 1rem;
    overflow: hidden;
    bottom: -100vw;
    right: -100vh;
    transform: rotate(90deg);
    transition: 0.65s ease-in-out;
    overflow-y: auto;
}

.itinerary_popup {
    top: -100vw;
    transform: rotate(180deg);
}

.threed_popup {
    top: 0;
    right: 0;
    transform: rotate3d(1, 1, 1, 120deg);
}

.popup_inner h2 {
    text-transform: uppercase;
    font-size: 1.6rem;
}

.popup_inner h6 {
    font-size: 20px;
    font-weight: 500;
}

.popup_inner p {
    color: rgb(47, 51, 51);
    line-height: 1.5rem;
    text-align: justify;
}

.popup_inner .img {
    height: 100%;
    width: 45%;
}

.popup_inner .img img {
    height: 100%;
    object-fit: cover;
}

.popup_inner .content {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    width: 55%;
    height: 65%;
    padding: 2.5rem;
}

.popup_inner .popup_content{
    min-height: 370px;
}

.popup_inner .button {
    transform: translateX(120%);
    transition: 0.3s ease-in-out;
    transition-delay: 0.6s;
    z-index: 0;
}


/* Target Actions at Popup */

.popup:target {
    opacity: 1;
    visibility: visible;
}

.popup:target .popup_inner {
    bottom: 0;
    right: 0;
    transform: rotate(0);
    padding: 25px;
}

@media screen and (max-width: 600px) {
    .popup:target .popup_inner {
        padding: 20px;
    }
}

.popup:target .itinerary_popup {
    top: 0;
}

.popup_inner::-webkit-scrollbar {
    display: none;
}

.popup:target .popup_inner .button {
    transform: translateX(0);
}

.popup-city-block .title-box .text {
    padding: 0px;
}


/* Left Floating Images in Popup Cards */

.left-floating-image {
    float: left;
    height: 350px;
    width: 100%;
    min-height: 275px;
    max-height: 370px;
    margin: 8px 25px 0px 0px;
    border-radius: 5px;
    margin-bottom: 15px;
    background-color: gray;
    border: 1px solid black;
}

@media screen and (min-width: 1000px) {
    .left-floating-image {
        width: 45%;
        height: auto;
    }
}

@media screen and (max-width: 450px) {
    .left-floating-image {
        width: auto;
        height: 100%;
    }
}


/* Cities Section in Popup Card */

.popup_cities .city-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup_cities .city-img img {
    width: 100%;
    height: 120px;
    border-radius: 5px;
    margin-bottom: 15px;
}

@media screen and (max-width: 575px) {
    .popup_cities .city-img img {
        height: auto;
        max-height: 200px;
    }
}


/* Popup Card Cities list */

.popup-cities-list a {
    background-color: var(--color);
    border-radius: 8px;
    padding: 10px 10px 0px;
    margin-bottom: 7px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.cities-card {
    margin: 5px;
    padding: 25px;
    background-color: #729e3a;
}

.popup-cities-list h4 {
    font-size: 20px;
    font-weight: 600;
}


/*  Acitivies Popup card sliding card Styles */

.popup .popup-sliding .sliding-card .sliding-card-image{
    height: 230px;
    width: 100%;
}


/* Car Rentals in Home Page */

.popup-city-block p .fa-car {
    color: var(--color);
}

.car-rentals .image img {
    height: 200px !important;
}

@media screen and (max-width: 575px) and (min-width: 380px) {
    .car-rentals .image img {
        height: 250px !important;
    }
}

.car-rentals p {
    font-size: 17px;
    font-weight: 500;
}

.car-rentals .more-link p {
    font-weight: 600;
}

.car-rentals .inbound-float {
    padding: 5px;
    top: 7px;
    left: 7px;
}

.car-rentals .image {
    display: flex;
    align-items: center;
    justify-content: center;
}