.mainmodbox {
    position: relative;
    max-width: 1100px;
    width: 96%;

    margin: auto;
    background-color: #fff;
    border-radius: 30px;
 overflow: hidden;
    /* max-height: calc(100vh - 120px);  */
    padding: 40px;
}
.maincontbox {
    display: flex;
    gap: 40px;
    padding-right: 30px;
        /* align-items: center; */
        /* overflow: auto; */
    /* max-height: calc(100vh - 120px); */

}
body:has(.addC_show){
    overflow: hidden;
}
.poptextbox h3 {
    font-size: 22px;
    font-weight: 800;
    color: rgb(102, 102, 102);
        text-transform: uppercase;
}
.poptextbox p {
    font-size: 16px;
    font-weight: 500;
        line-height: 1.7;
    color: rgb(102, 102, 102);
}
.poptextbox{
    width: 70%;
    padding-right: 30px;
        max-height: 70vh;
    overflow: auto;
    padding-right: 20px !important;
        /* overflow: auto;
    max-height: calc(100vh - 120px); */
}

.ind-lan .poptextbox {
    max-height: 60vh;}
.popimgbox {
    width: 30%;
}

.popimgbox img{
height: 100%;
    width: 100%;
    object-fit: contain;
        max-height: 80vh;
}

.popimgbox{
    position: relative;
        height: fit-content;
    margin: auto 0px;
}

.junction-view-popup .popimgbox:before {
    content: "";
    height: 2px;
    width: 100%;
    background: #ffffff;
    position: absolute;
    top: 0px;
    right: 0px;
}


.junction-view-popup .popimgbox:after {
    content: "";
    height: 2px;
    width: 100%;
    background: #ffffff;
    position: absolute;
    bottom: 0px;
    right: 0px;
}

.maincontbox::-webkit-scrollbar {
  width:6px;
}

/* Track */
.maincontbox::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
.maincontbox::-webkit-scrollbar-thumb {
  background:#21D1B2;
  border-radius: 10px;
}


.poptextbox::-webkit-scrollbar {
  width:6px;
}

/* Track */
.poptextbox::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
.poptextbox::-webkit-scrollbar-thumb {
  background:#21D1B2;
  border-radius: 10px;
}




.close_box {
    background: #ffffff;
    padding-bottom: 50px;
}

.maincontbox .readmore a {
    padding: 15px 24px;
    /* background-color: #21D1B2; */
    border: 1px solid #21D1B2;
    transition: all 
ease 0.3s;
}
.maincontbox .readmore a:hover {
    background: rgb(33 209 178 / 60%);
}
    .maincontbox .readmore a {
        margin-bottom: 15px;
    }
    .ind-lan .poptextbox {
    padding-right: 0px;
        width: 60%;

}
.ind-lan .popimgbox {
    width: 60%;
}
.livetrfint .popimgbox {
    width: 25%;
}
.nhaisavcal .popimgbox {
    width: 25%;
}
.spdmon .popimgbox {
    width: 25%;
}
.saftyalt .popimgbox {
    width: 25%;
}
.mapplspinpop .popimgbox {
    width: 25%;
}
.metarel .popimgbox {
    width: 25%;
}
.mindword .popimgbox {
    width: 40%;
}   

.htperpre .popimgbox {
width: 60%;
    margin-bottom: -46px;
        transform: scaleX(-1);
    right: -80px;
}
.dffmodtrv .popimgbox {
    width: 50%;
        margin-right: -80px;
}
.tripcostpop .popimgbox {
    width: 40%;
}


.metropop .popimgbox {
    width: 30% !important;
}

@media(min-width:1600px){
    .ind-lan .poptextbox {
    max-height: 50vh;
}
}

@media(max-width:1024px){
    .poptextbox p {
    font-size: 15px;}
    .maincontbox .readmore {
    padding-bottom: 20px;
    padding-top: 30px !important;
}
.popimgbox {
    width: 40%;
}

}



@media(max-width:767px){

.livetrfint .popimgbox {
    width: 60%;
}
.nhaisavcal .popimgbox {
    width:60%;
}
.ind-lan .popimgbox {
    width: 90%;
}
.spdmon .popimgbox {
    width: 60%;
}
.saftyalt .popimgbox {
    width: 60%;
}
.mapplspinpop .popimgbox {
    width:60%;
}
.mindword .popimgbox {
    width: 80%;
}
.htperpre .popimgbox {
            width: 90%;
        right: unset;
        margin-bottom: 0px;
        transform: scale(1);
}
.dffmodtrv .popimgbox {
    width: 90%;
    
    margin-right: unset;
}
.metarel .popimgbox {
    width: 60%;
}







    .mainmodbox {
    width: 100%;
    padding: 15px;
        height: unset;
        overflow: unset !important;
}
.poptextbox {
 width: 100%;
        padding-right: 00px !important;
        height: 100%;
        max-height: 100% !important;
        overflow: unset;
}
.maincontbox {
    display: flex;
    gap:30px;
    padding-right:12px;
        flex-direction: column-reverse;
}
    .maincontbox .readmore a {
        padding: 13px 22px;
        font-size: 14px;
    }
    .poptextbox h3 {
    font-size: 20px;}
        .popimgbox {
        width: 70%;
        margin: 0px auto;
    }
        .maincontbox .readmore {
        padding-bottom: 20px;
        padding-top: 20px !important;
        justify-content: center;
    }
        .close_box {
        width: 34px;
    }
    .maincardbox .readmore{
        display: none;
    }



    .mainmodbox::-webkit-scrollbar {
  width:6px;
}

/* Track */
.mainmodbox::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
.mainmodbox::-webkit-scrollbar-thumb {
  background:#21D1B2;
  border-radius: 10px;
}
.popimgbox img {
    max-height: unset;
}
.tripcostpop .popimgbox {
    width: 70%;
}
.metropop .popimgbox {
    width:70% !important;
}
}