.house-details {
    height: calc(100%);
    width: 100%;
}

.img {
    position: relative;
    margin: 5px 0 1px 0;
    background-color: #222;
}

.img img {
    position: absolute;
    height: calc(100% - 5px);
    width: calc(100% - 5px);
}

.thumbnail {
    position: relative;
    height: 150px;
    width: 100%;
    overflow-x: auto;
}

.thumbnail img {
    width: 180px;
    height: calc(100%);
    border: 3px solid transparent;
}

.thumbnail img:hover {
    border: 3px solid #333;
    cursor: pointer;
}

.next-btn,
.prev-btn {
    position: absolute;
    top: 0;
    width: 80px;
    font-size: xx-large;
    color: #333;
    z-index: 4;
    color: orange;
}

.next-btn {
    right: 0;
    height: 100%;
}

.prev-btn {
    left: 0;
    height: 100%;
}

.next-btn:hover,
.prev-btn:hover {
    color: white;
    cursor: pointer;
    z-index: 2;
}

.preview {
    position: relative;
    background-color: #00314a;
    transition: 0.5s;
}

/* .preview img {animation: fading 1s linear;} */

.gallery {
    height: 950px;
}

.thumbnail img.active {
    border: 3px solid orange;
    cursor: pointer;
}

.facilities {
    margin-left: 1px;
}



@media (max-width: 768px) {

    .img-block {
        width: 320px;
    }

    .thumbnail {
        position: relative;
        height: 120px;
        width: 100%;
        overflow-x: auto;
    }

    .next-btn,
    .prev-btn {
        position: absolute;
        inset-block-start: 0;
        inline-size: 80px;
        font-size: xx-large;
        color: #333;
        z-index: 4;
        color: orange;
    }

    .next-btn {
        right: 0;
        height: 100%;
    }

    .prev-btn {
        left: 0;
        height: 100%;
    }

    .gallery {
        height: 900px;
    }


    .thumbnail img {
        width: 180px;
        height: calc(100%);
        border: 3px solid transparent;
    }

}

.otp-text,
.verified-text {
    animation: fading 1s linear infinite;
}

@keyframes fading {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

#withholding-tax:after {
    background: #00314a;
}

.addbtn,
.make-rent-btn,
.selectbtn {
    display: none;
}

.mybox {
    width: 100%;
}

.mybox-content {
    font-size: 12px
}

.my-separator {
    height: 2px;
    background: red
}

@media only screen and (max-width: 768px) {
    .mybox {
        width: 100%;
        block-size: auto;
    }
}


.package-card {
    position: relative;
    background: #00314a;
    color: white
}

.package-card input[type='radio'] {
    position: absolute;
    top: 5px;
    right: 15px;
}

label.form-check-label::before {
    position: absolute;
    right: 0;
}

::selection {
    color: #fff;
    background: #00314a;
}

.popup,
.popup-earning {
    position: absolute;
    left: 50%;
    z-index: 10000;
}

button {
    outline: none;
    cursor: pointer;
    font-weight: 500;
    border-radius: 4px;
    border: 2px solid transparent;
    transition: background 0.1s linear, border-color 0.1s linear, color 0.1s linear;
}

.popup,
.popup-earning {
    background: rgb(255, 254, 254);
    padding: 25px;
    border-radius: 15px;
    top: 10%;
    max-width: 350px;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -50%) scale(1.2);
    transition: top 0s 0.2s ease-in-out,
        opacity 0.2s 0s ease-in-out,
        transform 0.2s 0s ease-in-out;
}

.popup.show,
.popup-earning.show {
    top: 50%;
    left: 50%;
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
    transition: top 0s 0s ease-in-out,
        opacity 0.2s 0s ease-in-out,
        transform 0.2s 0s ease-in-out;
}

.popup :is(header, .icons, .field),
.popup-earning :is(header, .icons, .field) {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.popup header .popup-earning header {
    padding-bottom: 15px;
    border-bottom: 1px solid #ebedf9;
}

.popup header span,
.popup-earning header span {
    font-size: 21px;
    font-weight: 600;
}

header .close,
.icons a {
    display: flex;
    align-items: center;
    border-radius: 50%;
    justify-content: center;
    transition: all 0.3s ease-in-out;
}

header .close {
    color: #878787;
    font-size: 17px;
    background: #f3f3f3;
    height: 33px;
    width: 33px;
    cursor: pointer;
}

header .close:hover {
    background: #ebedf9;
}

.popup .content,
.popup-earning .content {
    margin: 0px 0;
}

.popup .icons,
.popup-earning .icons {
    margin: 15px 0 20px 0;
}

.content p {
    font-size: 16px;
}

.content .icons a {
    height: 50px;
    width: 50px;
    font-size: 20px;
    text-decoration: none;
    border: 1px solid transparent;
}

.icons a i {
    transition: transform 0.3s ease-in-out;
}

.icons a:nth-child(4) {
    color: #1877F2;
    border-color: #b7d4fb;
}

.icons a:nth-child(7):hover {
    background: #1877F2;
}

.icons a:nth-child(1) {
    color: #46C1F6;
    border-color: #b6e7fc;
}

.icons a:nth-child(1):hover {
    background: #46C1F6;
}

.icons a:nth-child(2) {
    color: #e1306c;
    border-color: #f5bccf;
}

.icons a:nth-child(2):hover {
    background: #e1306c;
}

.icons a:nth-child(3) {
    color: #25D366;
    border-color: #bef4d2;
}

.icons a:nth-child(3):hover {
    background: #25D366;
}

.icons a:nth-child(4) {
    color: #0088cc;
    border-color: #b3e6ff;
}

.icons a:nth-child(4):hover {
    background: #0088cc;
}

.icons a:hover {
    color: #fff;
    border-color: transparent;
}

.icons a:hover i {
    transform: scale(1.2);
}

.content .field {
    margin: 12px 0 -5px 0;
    height: 45px;
    border-radius: 4px;
    padding: 0 5px;
    border: 1px solid #757171;
}

.field.active {
    border-color: #7d2ae8;
}

.field i {
    width: 50px;
    font-size: 18px;
    text-align: center;
}

.field.active i {
    color: #7d2ae8;
}

.field input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    font-size: 15px;
}

.field button {
    color: #fff;
    padding: 5px 18px;
    background: #00314a;
}

.field button:hover {
    background: #05344c;
}

/* .payment-modes . {
                        background: white;
                    } */

.nav-tabs .nav-item .nav-link.active {
    background: transparent;
    color: #333;
    border-radius: 0
}

.nav-tabs .nav-item .nav-link:hover {
    background: white
}

.islamic-cards {
    position: relative;
}

.islamic-cards .musharakah-content,
.islamic-cards .murabahah-content {
    position: absolute;
    width: calc(100% + 30px);
    top: 0
}