.imgs-grid {
    /* max-width: 800px; */
    margin: 0 auto;
    font-size: 0;
}

.imgs-grid.imgs-grid-1 .imgs-grid-image {
    width: 100%;
    text-align: center;
}

.imgs-grid.imgs-grid-2 .imgs-grid-image,
.imgs-grid.imgs-grid-4 .imgs-grid-image {
    width: 50%;
}

.imgs-grid.imgs-grid-3 .imgs-grid-image,
.imgs-grid.imgs-grid-6 .imgs-grid-image {
    width: 33.333333333333336%;
}

.imgs-grid.imgs-grid-5 .imgs-grid-image:nth-child(1) {
    width: 50%;
    float: left;
}

.imgs-grid.imgs-grid-5 .imgs-grid-image:nth-child(2),
.imgs-grid.imgs-grid-5 .imgs-grid-image:nth-child(3),
.imgs-grid.imgs-grid-5 .imgs-grid-image:nth-child(4),
.imgs-grid.imgs-grid-5 .imgs-grid-image:nth-child(5) {
    width: 25%;
}


/* .imgs-grid.imgs-grid-5 .imgs-grid-image:nth-child(1),
.imgs-grid.imgs-grid-5 .imgs-grid-image:nth-child(2),
.imgs-grid.imgs-grid-5 .imgs-grid-image:nth-child(3) {
  width: 33.333333333333336%;
}
.imgs-grid.imgs-grid-5 .imgs-grid-image:nth-child(4),
.imgs-grid.imgs-grid-5 .imgs-grid-image:nth-child(5) {
  width: 50%;
} */

.imgs-grid .imgs-grid-image {
    position: relative;
    display: inline-block;
    padding: 1px;
    box-sizing: border-box;
    text-align: center;
}

.imgs-grid .imgs-grid-image:before {
    content: "";
    display: block;
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
}

.imgs-grid .imgs-grid-image:hover {
    cursor: pointer;
}

.imgs-grid .imgs-grid-image .image-wrap {
    position: relative;
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}

.imgs-grid .imgs-grid-image .image-wrap img {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0;
}

.imgs-grid .imgs-grid-image .view-all {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
}

.imgs-grid .imgs-grid-image .view-all:before {
    display: inline-block;
    content: "";
    vertical-align: middle;
    height: 100%;
}

.imgs-grid .imgs-grid-image .view-all:hover {
    cursor: pointer;
}

.imgs-grid .imgs-grid-image .view-all .view-all-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.imgs-grid .imgs-grid-image .view-all .view-all-text {
    position: relative;
    font-weight: bold;
    font-size: 16px;
    background: white;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 6px 7px 6px;
    border-radius: 5px;
    line-height: 24px;
    height: 36px;
    width: 175px;
    text-decoration: none;
}

.imgs-grid .imgs-grid-image .view-all .view-all-text:hover{
    text-decoration: none;
}
@media (max-width: 350px) {
    .imgs-grid .imgs-grid-image .view-all .view-all-text {
        font-size: 10px;
    }
}

.imgs-grid-modal {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: black;
    opacity: 0;
    z-index: 1100;
    -webkit-user-select: none;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.imgs-grid-modal .modal-caption {
    padding: 30px 50px;
    text-align: center;
    color: white;
}

.imgs-grid-modal .modal-close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 35px;
    height: 35px;
    background-image: url(../../../assets/gridSlider/img/imgs-grid-icons.png);
    background-repeat: no-repeat;
    background-position: -100px;
}

.imgs-grid-modal .modal-close:hover {
    cursor: pointer;
}

.imgs-grid-modal .modal-inner {
    position: absolute;
    top: 60px;
    bottom: 60px;
    left: 0;
    right: 0;
}

.imgs-grid-modal .modal-inner .modal-control {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 70px;
}

.imgs-grid-modal .modal-inner .modal-control:hover {
    cursor: pointer;
}

@media (min-width: 767px) {
    .imgs-grid-modal .modal-inner .modal-control.left {
        left: 100px;
    }
    .imgs-grid-modal .modal-inner .modal-control.right {
        right: 100px;
    }
}

.imgs-grid-modal .modal-inner .modal-control .arrow {
    margin: 0 auto;
    height: 100%;
    width: 40px;
    background-repeat: no-repeat;
    background-image: url(../../../assets/gridSlider/img/imgs-grid-icons.png);
}

.imgs-grid-modal .modal-inner .modal-control .arrow.left {
    background-position: 2px center;
}

.imgs-grid-modal .modal-inner .modal-control .arrow.right {
    background-position: -42px center;
}

.imgs-grid-modal .modal-inner .modal-image {
    position: absolute;
    top: 0;
    left: 70px;
    right: 70px;
    bottom: 0;
    text-align: center;
    /*height: 500px;*/
    margin: 0 auto
}


/*@media (min-width: 990px ){
  .imgs-grid-modal .modal-inner .modal-image {
    width: 900px;
  }
}*/

.imgs-grid-modal .modal-inner .modal-image:before {
    display: inline-block;
    content: "";
    vertical-align: middle;
    height: 100%;
}

.imgs-grid-modal .modal-inner .modal-image img {
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
}

.imgs-grid-modal .modal-inner .modal-image img:hover {
    cursor: pointer;
}

.imgs-grid-modal .modal-inner .modal-loader {
    display: inline-block;
    vertical-align: middle;
    color: silver;
    font-size: 14px;
}

@media only screen and (device-width: 768px) and (device-width: 1024px) and ( -webkit-min-device-pixel-ratio: 2) {
    .imgs-grid-modal .modal-inner .modal-image img {
        width: 100%;
        height: auto!important;
    }
    .imgs-grid-modal .modal-inner .modal-control.left {
        left: 0px;
    }
    .imgs-grid-modal .modal-inner .modal-control.right {
        right: 0px;
    }
}

@media (max-width: 800px) {
    .imgs-grid-modal .modal-inner .modal-control {
        width: 40px;
    }
    .imgs-grid-modal .modal-inner .modal-control.right {
        right: 0;
    }
    .imgs-grid-modal .modal-inner .modal-control .arrow {
        -webkit-transform: scale(0.7);
        -moz-transform: scale(0.7);
        -o-transform: scale(0.7);
        -ms-transform: scale(0.7);
        transform: scale(0.7);
    }
    .imgs-grid-modal .modal-inner .modal-image {
        left: 0;
        right: 0;
    }
}

.imgs-grid-modal .modal-indicator {
    position: absolute;
    bottom: 0;
    height: 60px;
    width: 100%;
    text-align: center;
    display: none;
}

.imgs-grid-modal .modal-indicator ul {
    margin: 0;
    padding: 0;
}

.imgs-grid-modal .modal-indicator ul li {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 1px solid white;
    box-sizing: border-box;
    border-radius: 100%;
    margin: 0 1px;
    vertical-align: middle;
}

.imgs-grid-modal .modal-indicator ul li:hover {
    cursor: pointer;
}

.imgs-grid-modal .modal-indicator ul li.selected {
    background-color: white;
    width: 14px;
    height: 14px;
    margin: 0;
}


/* Gallery overridden CSS starts */

#gallery1.imgs-grid {
    overflow: hidden;
    margin-bottom: 25px;
}

.imgs-grid .imgs-grid-image .image-wrap {
    width: 100%;
}

.imgs-grid .imgs-grid-image .image-wrap,
#gallery1.imgs-grid .imgs-grid-image .image-wrap img {
    height: 100%;
    /* object-fit: cover; */
}

.imgs-grid .imgs-grid-image:first-child,
.owl-item>div.owlImageFullClick,
.img-event {
    position: relative;
}

.imgs-grid .imgs-grid-image:first-child:after,
.owl-item>div.owlImageFullClick:after,
.img-event a:first-child:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    z-index: 9;
    display: block;
    margin: 6px;
    width: 32px;
    height: 32px;
    background-image: url("/build/images/icon_fullscreen.png");
    background-color: rgba(0, 0, 0, 0.75);
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 2px;
}

.imgs-grid-modal .modal-inner .modal-control .arrow {
    font-family: 'FontAwesome';
    background: #fff;
    position: absolute;
    color: #616161;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .imgs-grid-modal .modal-inner .modal-control .arrow {
        background: none;
        font-weight: 900;
        color: #fff;
    }
    .imgs-grid-modal .modal-inner .modal-control .arrow:before {
        text-shadow: 0 0 2px #4c4c4c;
    }
}

.imgs-grid-modal .modal-inner .modal-control .arrow.right:before {
    content: "\f105";
}

.imgs-grid-modal .modal-inner .modal-control .arrow.left:before {
    content: "\f104";
    margin-left: -4px;
}

.imgs-grid-modal .modal-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -40px;
    padding: 0;
}

.imgs-grid-modal .modal-close {
    color: #fff;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: normal;
    background: #fff;
    min-width: 80px;
    color: #000;
    border-radius: 5px;
    padding: 0;
}

.imgs-grid-modal .modal-close:before {
    font-family: 'FontAwesome';
    content: "\f00d";
    margin-right: 5px;
    font-size: 17px;
}

.imgs-grid-modal {
    z-index: 9999;
}

.imgs-grid .imgs-grid-image .view-all .view-all-text {
    position: absolute;
    bottom: 15px;
    left: 15px;
}

.modal-image-number {
    text-align: center;
    color: #fff;
    padding: 114px 0;
}

@media (min-width: 767px) {
    .imgs-grid-modal .modal-inner .modal-image img {
        height: 100%;
    }
}

@media (min-width: 991px) {
    .imgs-grid-5.imgs-grid .imgs-grid-image:first-child,
    .imgs-grid-2.imgs-grid .imgs-grid-image,
    .imgs-grid-1.imgs-grid .imgs-grid-image {
        height: 408px;
    }
    .imgs-grid-5.imgs-grid .imgs-grid-image:not(:first-child) {
        height: 204px;
    }
    .imgs-grid-modal .modal-close {
        margin-right: 20px;
        margin-top: 10px;
    }
}

@media (min-width: 767px) and (max-width: 990px) {
    .imgs-grid-5.imgs-grid .imgs-grid-image:first-child,
    .imgs-grid-2.imgs-grid .imgs-grid-image,
    .imgs-grid-1.imgs-grid .imgs-grid-image {
        height: 250px;
    }
    .imgs-grid-5.imgs-grid .imgs-grid-image:not(:first-child) {
        height: 125px;
    }
    .imgs-grid .imgs-grid-image .image-wrap,
    #gallery1.imgs-grid .imgs-grid-image .image-wrap img {
        height: 100%;
    }
}

@media (max-width: 767px) {
    .imgs-grid-5.imgs-grid .imgs-grid-image:first-child,
    .imgs-grid-2.imgs-grid .imgs-grid-image,
    .imgs-grid-1.imgs-grid .imgs-grid-image {
        height: 180px;
    }
    .imgs-grid-5.imgs-grid .imgs-grid-image:not(:first-child) {
        height: 90px;
    }
    .imgs-grid-modal .modal-inner {
        top: 49%;
        transform: translateY(-50%);
        bottom: 0;
    }
    .imgs-grid-modal .modal-inner .modal-image,
    .imgs-grid-modal .modal-caption {
        position: relative;
    }
    .imgs-grid-modal .modal-inner .modal-image {
        height: 90%;
    }
    .imgs-grid-modal .modal-caption {
        margin: 15px 7px 0px 7px;
        bottom: 0;
    }

    .imgs-grid-modal .modal-close {
        margin-top: 98px;
        background: none;
        color: #fff;
    }
}

@media screen and (max-width: 767px) and (min-width: 567px) {
    .imgs-grid-modal .modal-inner .modal-image {
        height: 100%;
    }
    .imgs-grid-modal {
        padding-top: 5px;
    }
    .imgs-grid-modal .modal-close {
        margin-top: 5px;
    }
    .imgs-grid-modal .modal-inner {
        top: 24%;
        transform: translateY(-17%);
    }
    .modal-image-number {
        padding: 5px 0;
    }
}


/*Trial by femina*/

@media only screen and (max-device-width: 1024px) and (orientation: landscape) {
    .imgs-grid-modal .modal-inner {
        top: 0;
        transform: unset;
        bottom: 50px;
    }
    .modal-image-number {
        text-align: left;
        padding: 15px 0 0 60px;
    }
    .imgs-grid-modal .modal-caption {
        margin-top: 10px;
    }
    .imgs-grid-modal .modal-inner .modal-control {
        width: 40px;
    }
    .imgs-grid-modal .modal-inner .modal-control .arrow {
        background: none;
        font-weight: 900;
        color: #fff;
    }
    .imgs-grid-modal .modal-inner .modal-control .arrow.right {
        background-position: -42px center;
    }
    .imgs-grid-modal .modal-close {
        z-index: 9999;
        background: none;
        color: #fff;
    }
}
.imgs-grid-modal.bg-black{
    overflow-y: none;
    background:#000;
}
.imgs-grid-modal.bg-white{
    overflow-y: scroll;
    background:white;
}
 .imgs-grid-modal .modal-inner-all-images{
    max-width: 935px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    text-align: center;
 }


    .image-grid img {
      width: 100%;
      height: auto;
      object-fit: cover;
      border-radius: 8px;
    }

    .gUugxM {
    position: relative;
    display: grid
;
    gap: 8px;
    grid-auto-columns: 1fr;
    width: 100%;
    margin: 0px;
    padding: 0px;
    max-height: none !important;
    margin-top: 75px;
}


    .media-stream-tile {
    cursor: pointer;
    display: block;
    overflow: hidden;
    scroll-snap-align: center;
    box-shadow: inset rgba(0, 0, 0, 0.15) 0 0 10px;
}
.media-stream-tile img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}
@media screen and (min-width: 768px) {
    .gUugxM li:first-of-type, .gUugxM li:nth-of-type(4), .gUugxM li[class*="view-tile-"]:nth-of-type(3n+4) {
        height: auto;
        min-height: 573px;
        max-height: 713px;
        grid-column: span 2;
    }
}
.gUugxM > li {
    height: auto;
    min-height: 286.5px;
    max-height: 352px;
    margin: 0px;
    padding: 0px;
    flex: 0 0 100vw;
    display: flex
;
    -webkit-box-pack: center;
    justify-content: center;
}

/*HEADING IN POP UP*/
.layout-action-bar-container-desktop {
    position: fixed;
    z-index: 999;
    top: 0;
    width:100%;
    max-width:935px;
}
.gRGlxq {
    color: rgb(42, 42, 51);
    -webkit-font-smoothing: antialiased;
    text-transform: none;
    line-height: 24px;
    display: inline-flex
;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    outline: none;
    box-shadow: none;
    border: 0px;
    background: none;
    padding: 0px;
    text-align: initial;
    appearance: none;
}
.cHtOgn {
    width: 100%;
    transform: translateY(0px);
}

.bBZSsh {
    height: 72px;
    background-color: rgb(255, 255, 255);
    display: flex
;
    -webkit-box-align: center;
    align-items: center;
    margin: 0px -8px;
    -webkit-font-smoothing: antialiased;
    text-transform: none;
    justify-content: space-between;
}
.kqdfmt {
    display: flex
;
    width: fit-content;
}

.gRGlxq:not(:disabled) {
    cursor: pointer;
}

.RlnWv {
    display: flex
;
    max-width: 160px;
    -webkit-box-align: center;
    align-items: center;
    color: rgb(42, 42, 51);
    font-weight: 400;
    line-height: 24px;
}
.jfMCmf {
    margin-right: 8px;
}
.ClRDZ {
    padding-left: 8px;
    font-weight : normal !important;
}
.jfMCmf > .Icon-c11n-8-106-0__sc-13llmml-0 {
    display: block;
    height: 24px;
    width: 24px;
}
.hhaKKS {
    transform: rotate(90deg);
}
.ewJhNw {
    display: flex
;
    -webkit-box-pack: end;
    justify-content: flex-end;
    -webkit-box-align: center;
    align-items: center;
    line-height: 24px;
}
.eBXnnb {
    padding-left: 24px;
    text-align:left;
}

.cydcdi {
    display: flex
;
    -webkit-box-align: center;
    align-items: center;
}
.jlvLun {
    display: inline-block;
     vertical-align: top; 
     stroke: currentcolor; 
     fill: currentcolor; 
    height: 24px;
    width: 24px;
}
div#EmailfrndModal{
        z-index: 10000;
}


@media only screen and (max-width: 767px) {
.bBZSsh{
    padding: 0px 32px;
}
.proprtyAddressPopUp .propertydetail{
    display:none;
}
.ClRDZ{
    display:none;
}
.eBXnnb .social-icons-wrap .social-icons{
    left: -109px;
    right: 0;   
}
}
@media screen and (min-width: 900px) {
.bBZSsh {
    padding: 0px 32px;
}
}
@media screen and (min-width: 550px) {
.bBZSsh {
    padding: 0px 16px;
}
}