@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&display=swap");
.ts-media-grid-container .ts-media-btns-group {
    margin: 35px 0;
}
.ts-media-grid-container .ts-media-btns-group .btn {
    border: 2px solid var(--awb-custom_color_1);
    font-weight: 600;
    font-size: 16px;
    color: var(--awb-custom_color_1);
    outline: none;
    box-shadow: none;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 5px;
    border-radius: 0;
    width: 130px;
	border-radius: 10px;
}
.ts-media-grid-container .ts-media-btns-group .btn:hover {
    background-color: #cadbec;
    color: var(--awb-custom_color_1);
}
.ts-media-photo-container {
    padding: 0 50px 40px;
}
.ts-media-video-container {
    background-color: #d2e3f4;
    padding: 50px 50px 40px;
    border-radius: 30px;
    position: relative;
}
.icon-position {
    width: 140px;
    position: absolute;
    top: -25px;
    right: 12vw;
	display: none;
}
.ts-media-360tour-container {
    padding: 30px 20px 40px;
    background-color: #fff;
    border-radius: 30px;
    margin-top: 10px;
}
.loadmore-link {
    font-size: 20px;
    color: var(--awb-color6);
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--awb-color6);
}
.loadmore-link:hover {
    color: var(--awb-color6);
    border-bottom-color: transparent;
}
/*.media-photo-grid,*/
.media-video-grid,
.media-360tour-grid {
    display: grid;
    /* grid-gap: 10px;
    */
    grid-template-columns: repeat(auto-fit, minmax(32.7%, 1fr));
    grid-auto-rows: 350px;
    grid-auto-flow: dense;
}
.media-video-grid,
.media-360tour-grid {
    grid-template-columns: repeat(auto-fit, minmax(49.5%, 1fr));
}
.media-photo-grid .big {
    grid-column: span 2;
}
.media-video-grid .big,
.media-360tour-grid .big {
    grid-column: span 3;
    grid-row: span 2;
}
/*.media-photo-grid .grid-slide,*/
.media-video-grid .grid-slide,
.media-360tour-grid .grid-slide {
    padding: 5px;
}
/*.media-photo-grid .grid-slide .grid-item,*/
.media-video-grid .grid-slide .grid-item,
.media-360tour-grid .grid-slide .grid-item {
    border-radius: 30px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100%;
    width: 100%;
    display: flex;
    text-decoration: none;
    justify-content: center;
    align-items: center;
    position: relative;
}
.ts-media-content h1 {
/*     font-family: "Playfair Display"; */
	 font-family: var(--h1_typography-font-family);
    font-weight: 400;
    margin: 0;
    font-size: 45px;
    line-height: 1.2;
}
.ts-media-content h3 {
    font-size: 28px;
    color: #212529;
    margin: 10px 0 40px;
    line-height: 1.2;
    font-weight: normal;
}
.ts-media-photo-container h3,
.ts-media-video-container h3,
.ts-media-360tour-container h3 {
    font-size: 28px;
    color: #212529;
    font-weight: bold;
}
.ts-media-photo-container h5,
.ts-media-video-container h5,
.ts-media-360tour-container h5 {
    color: #212529;
    font-size: 20px;
}
.ts-media-content {
    padding: 0 20px;
}
/* lightbox css */
.lightbox {
    opacity: 1;
    z-index: 9999999;
}
.modal-backdrop.show {
    opacity: 0.5;
    z-index: 999999;
}
.lightbox[class] .modal-content {
    background-color: #fff !important;
    border-radius: 20px;
}
.lightbox[class] .modal-content .modal-body {
    padding: 30px !important;
}
.lightbox[class] .modal-content .modal-body .btn-close {
    left: -20px;
    background-color: #333;
    opacity: 1;
    border-radius: 30px;
    border: 2px solid #fff;
    top: -20px !important;
    box-shadow: none;
    outline: none;
    background-image: none;
    width: 45px;
    height: 45px;
    padding: 0 !important;
}
.lightbox[class] .modal-content .modal-body .btn-close:before,
.lightbox[class] .modal-content .modal-body .btn-close:after {
    position: absolute;
    left: 22px;
    content: " ";
    height: 30px;
    width: 2px;
    background-color: #fff;
    top: 8px;
}
.lightbox[class] .modal-content .modal-body .btn-close:before {
    transform: rotate(45deg);
}
.lightbox[class] .modal-content .modal-body .btn-close:after {
    transform: rotate(-45deg);
}
.lightbox[class] .modal-content .modal-body .lightbox-carousel .carousel-control {
    height: 45px !important;
    width: 45px;
    background-color: #333;
    opacity: 1;
    border-radius: 30px;
    border: 2px solid #fff;
    top: -20px !important;
    box-shadow: none;
    outline: none;
}
.lightbox[class] .modal-content .modal-body .lightbox-carousel .carousel-control-prev {
    left: -15px;
}
.lightbox[class] .modal-content .modal-body .lightbox-carousel .carousel-control-next {
    right: -15px;
}
.lightbox[class] .modal-content .modal-body .lightbox-carousel .carousel-control-prev span {
    margin-left: -3px;
}
.lightbox[class] .modal-content .modal-body .lightbox-carousel .carousel-control-next span {
    margin-right: -3px;
}
.media-video-grid .grid-slide .type-icon,
.media-360tour-grid .grid-slide .type-icon {
    background-color: #f3a200;
    width: 170px;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0 0 15px;
    height: 38px;
    position: relative;
    z-index: 1;
}
.media-video-grid .grid-slide .grid-item:before,
.media-360tour-grid .grid-slide .grid-item:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 25%);
    border-radius: 30px;
    z-index: 0;
}
.media-video-grid .grid-slide .type-icon {
    background-color: transparent;
    width: 120px;
    height: 120px;
    overflow: hidden;
    text-indent: -1000px;
}
.media-video-grid .grid-slide .type-icon img,
.media-360tour-grid .grid-slide .type-icon img {
    width: 25px;
    margin-left: 10px;
}
.media-video-grid .grid-slide .type-icon img {
    width: 50px !important;
    margin-left: 0;
}
.media-video-grid .grid-slide:first-child .type-icon img {
    width: 100px;
}
.media-360tour-grid .grid-slide .type-icon img {
    width: 35px;
}
body.modal-open {
    padding-right: 0 !important;
    overflow: initial !important;
    position: static !important;
}
.media-video-grid .grid-slide .type-icon,
.media-360tour-grid .grid-slide .type-icon {
    display: flex;
}
.media-360tour-grid .grid-slide .type-icon {
    padding-right: 15px;
}

.swiper {
    width: 100%;
    height: 100%;
}
.ts-media-photo,
.ts-tour-photo/*,
.ts-tour-video*/  {
    padding: 0 19px;
    height: 100vh;
}
.ts-media-photo .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    height: calc((100% - 40px) / 3) !important;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    overflow: hidden;
    border-radius: 30px;
}
.ts-media-photo .swiper-slide > a {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top center;
}

.ts-media-photo .swiper-button-prev,
.ts-media-photo .swiper-button-next,
.ts-tour-photo .swiper-button-prev,
.ts-tour-photo .swiper-button-next,
.ts-tour-video .swiper-button-prev,
.ts-tour-video .swiper-button-next {
    width: 45px;
    height: 45px;
    border-radius: 100px;
    border: 1px solid #ffffff;
    background-color: var(--awb-color6);
}
.ts-media-photo .swiper-button-prev:after,
.ts-media-photo .swiper-button-next:after,
.ts-tour-photo .swiper-button-prev:after,
.ts-tour-photo .swiper-button-next:after,
.ts-tour-video .swiper-button-prev:after,
.ts-tour-video .swiper-button-next:after  {
    font-size: 24px;
    color: #fff;
    margin-left: -3px;
}
.ts-media-photo .swiper-button-next:after,
.ts-tour-photo .swiper-button-next:after,
.ts-tour-video .swiper-button-next:after {
    margin-left: 3px;
}
.ts-media-photo .swiper-button-prev.swiper-button-disabled,
.ts-media-photo .swiper-button-next.swiper-button-disabled,
.ts-tour-photo .swiper-button-prev.swiper-button-disabled,
.ts-tour-photo .swiper-button-next.swiper-button-disabled,
.ts-tour-video .swiper-button-prev.swiper-button-disabled,
.ts-tour-video .swiper-button-next.swiper-button-disabled{
    opacity: 0;
}
.ts-media-photo .swiper-button-prev,
.ts-tour-photo .swiper-button-prev,
.ts-tour-video .swiper-button-prev  {
    /*left: -1px;*/
    right: auto;
}
/*.ts-media-photo .swiper-button-next,
.ts-tour-photo .swiper-button-next,
.ts-tour-video .swiper-button-next {
    right: -1px;
}*/
.media-grid .fusion-column-wrapper {
	margin-left: 0;
    margin-right: 0;
}
 .desktopMedia {
        display: block !important;
    }
.ts-mobile-photo-grid{
	display: none;
}
.ts-tour-photo, .ts-tour-photo .swiper-wrapper{
    height: initial !important;
}
.ts-tour-video {
    padding: 0 20px;
}
.gallery-tabs {
    display: flex !important;
    justify-content: center;
    margin-bottom: 30px;
}

.gallery-tabs .gtabs-container {
    border: 1px solid #fff;
    border-radius: 10px;
    display: flex;
    background-color: #fff;
    overflow: hidden;
}

.gallery-tabs .gtabs-container a {
    width: 150px;
    display: block;
    color: #000000;
    text-align: center;
    padding: 10px 20px;
    font-weight: 600;
    box-sizing: border-box;
}

.gallery-tabs .gtabs-container a.active {
    background-color: #c22026;
    color: #fff;
}
.gallery-tabs-mobile{
    display: none !important;
}

@media (min-width: 1200px) {
    .modal-xl {
        max-width: 1000px;
    }
}
@media (max-width: 1199px) {
    .ts-media-photo-container {
        padding: 50px 20px 40px 20px;
    }
    .ts-media-video-container {
        padding: 50px 20px 10px 20px;
    }
    .ts-media-360tour-container {
        padding: 30px 20px 10px 20px;
    }
    .media-photo-grid,
    .media-video-grid,
    .media-360tour-grid {
        grid-auto-rows: 300px;
    }
}
@media (max-width: 991px) {
    .media-photo-grid,
    .media-video-grid,
    .media-360tour-grid {
        grid-auto-rows: 250px;
    }
    .media-photo-grid .big {
        grid-column: span 2;
    }
    .media-video-grid .big,
    .media-360tour-grid .big {
        grid-column: span 3;
        grid-row: span 1;
    }
    .icon-position {
        width: 110px;
        right: 5vw;
    }
    /*.media-photo-grid .grid-slide .grid-item,*/
    .media-video-grid .grid-slide .grid-item,
    .media-360tour-grid .grid-slide .grid-item {
        border-radius: 20px;
    }
    .modal-xl {
        max-width: 600px;
    }
    .ts-media-photo {
        height: 73vh;
    }
}
@media (max-width: 767px) {
	.ts-mobile-photo-grid{
		display: block;
	}
    .gallery-tabs-mobile{
        display: flex !important;
    }

    .desktopMedia {
        display: none !important;
    }
	.ts-mobile-photo-grid {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.ts-mobile-photo-grid .ts-photo-box {
		height: 42vw;
		border-radius: 10px;
		overflow: hidden;
		margin: 2% 0;
		flex-basis: 48%;
	}
	.ts-mobile-photo-grid .ts-photo-box .slide-img {
		width: 100%;
		height: 100%;
		display: block;
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
	}
	.ts-media-grid-container {
		max-width: 100%;
	}
}
@media (max-width: 575px) {
    .media-photo-grid,
    .media-video-grid,
    .media-360tour-grid {
        grid-auto-rows: 180px;
        grid-template-columns: repeat(auto-fit, minmax(50%, 1fr));
    }
    .ts-media-grid-container .ts-media-btns-group .btn {
        padding-left: 0;
        padding-right: 0;
        width: 100px;
    }
    .ts-media-grid-container .ts-media-btns-group {
        margin: 15px 0;
    }
    .ts-media-content h3 {
        margin: 20px 0 40px;
    }
}
.ts-mobile-media-container {
    position: relative;
    display: none;
}
.ts-mobile-photo-layout .swiper-button-prev,
.ts-mobile-photo-layout .swiper-button-next,
.ts-mobile-video-layout .swiper-button-prev,
.ts-mobile-video-layout .swiper-button-next,
.ts-mobile-tour-layout .swiper-button-prev,
.ts-mobile-tour-layout .swiper-button-next {
    width: 45px;
    height: 45px;
    border-radius: 100px;
    border: 1px solid #ffffff;
    background-color: var(--awb-color6);
}
.ts-mobile-photo-layout .swiper-button-prev:after,
.ts-mobile-photo-layout .swiper-button-next:after,
.ts-mobile-video-layout .swiper-button-prev:after,
.ts-mobile-video-layout .swiper-button-next:after,
.ts-mobile-tour-layout .swiper-button-prev:after,
.ts-mobile-tour-layout .swiper-button-next:after {
    font-size: 24px;
    color: #fff;
    margin-left: -3px;
}
.ts-mobile-photo-layout .swiper-button-next:after,
.ts-mobile-video-layout .swiper-button-next:after,
.ts-mobile-tour-layout .swiper-button-next:after {
    margin-left: 3px;
}
.ts-mobile-photo-layout .swiper-pagination,
.ts-mobile-video-layout .swiper-pagination,
.ts-mobile-tour-layout .swiper-pagination {
    width: auto !important;
    left: 50%;
    bottom: 10px !important;
    border: 1px solid #648895;
    opacity: 0.99;
    border-radius: 5px;
    background-color: #fff;
    transform: translateX(-50%);
    height: 11px;
    display: flex;
}
.ts-mobile-photo-layout .swiper-pagination-bullet,
.ts-mobile-video-layout .swiper-pagination-bullet,
.ts-mobile-tour-layout .swiper-pagination-bullet {
    height: 9px !important;
    width: 25px !important;
    border-radius: 0;
    margin: 0 !important;
    background: transparent;
}
.ts-mobile-photo-layout .swiper-pagination-bullet-active,
.ts-mobile-video-layout .swiper-pagination-bullet-active,
.ts-mobile-tour-layout .swiper-pagination-bullet-active {
    background: #648895 0% 0% no-repeat padding-box;
    border-radius: 4px !important;
}
.ts-mobile-photo-layout .swiper-pagination-bullet:first-child,
.ts-mobile-video-layout .swiper-pagination-bullet:first-child,
.ts-mobile-tour-layout .swiper-pagination-bullet:first-child {
    border-radius: 5px 0 0 5px;
}
.ts-mobile-photo-layout .swiper-pagination-bullet:last-child,
.ts-mobile-video-layout .swiper-pagination-bullet:last-child,
.ts-mobile-tour-layout .swiper-pagination-bullet:last-child {
    border-radius: 0 5px 5px 0;
}
.ts-mobile-photo-layout {
    padding: 40px 0;
}
.ts-mobile-video-layout,
.ts-mobile-tour-layout {
    padding: 40px 0 90px;
}
.ts-mobile-photo-layout .swiper-slide .slide-img,
.ts-mobile-video-layout .swiper-slide .slide-img,
.ts-mobile-tour-layout .swiper-slide .slide-img {
    height: 350px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    border-radius: 20px;
    position: relative;
    display: block;
}
.ts-mobile-video-layout .swiper-slide .slide-img,
.ts-mobile-tour-layout .swiper-slide .slide-img {
    height: 250px;
}
.ts-mobile-photo-slider,
.ts-mobile-video-slider,
.ts-mobile-tour-slider {
    overflow: hidden;
}
.ts-mobile-photo-layout .swiper-button-next,
.ts-mobile-video-layout .swiper-button-next,
.ts-mobile-tour-layout .swiper-button-next {
    right: 5px;
}
.ts-mobile-photo-layout .swiper-button-prev,
.ts-mobile-video-layout .swiper-button-prev,
.ts-mobile-tour-layout .swiper-button-prev {
    left: 5px;
}
.ts-mobile-video-layout .swiper-button-next,
.ts-mobile-tour-layout .swiper-button-next,
.ts-mobile-video-layout .swiper-button-prev,
.ts-mobile-tour-layout .swiper-button-prev {
    top: 84%;
}
.ts-mobile-video-layout .type-icon,
.ts-mobile-tour-layout .type-icon {
    background-color: var(--awb-color4);
    width: 170px;
    border-radius: 50px;
    color: #f3a200;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0 0 15px;
    height: 38px;
    text-decoration: none;
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.ts-mobile-video-layout .type-icon:hover,
.ts-mobile-tour-layout .type-icon:hover {
    background-color: #f3a200;
    color: var(--awb-color4);
}
.ts-mobile-video-layout .type-icon img,
.ts-mobile-tour-layout .type-icon img {
    width: 25px;
    margin-left: 10px;
}
.ts-mobile-tour-layout .type-icon img {
    width: 35px;
}
.ts-mobile-tour-layout .type-icon {
    padding-right: 15px;
}
.media-grid > .fusion-builder-row {
    padding-right: 2vw !important;
    padding-left: 2vw !important;
}
@media (max-width: 640px) {
    .lightbox[class] .modal-content .modal-body {
        padding: 10px !important;
    }
    .lightbox[class] .modal-content {
        border-radius: 10px;
    }
    .lightbox[class] .modal-content .modal-body .lightbox-carousel .carousel-control {
        height: 35px !important;
        width: 35px;
    }
    .lightbox[class] .modal-content .modal-body .lightbox-carousel .carousel-control-prev span,
    .lightbox[class] .modal-content .modal-body .lightbox-carousel .carousel-control-next span {
        width: 1.2rem;
    }
    .lightbox[class] .modal-content .modal-body .btn-close {
        width: 35px;
        height: 35px;
        left: initial;
        right: -8px !important;
    }
    .lightbox[class] .modal-content .modal-body .btn-close:before,
    .lightbox[class] .modal-content .modal-body .btn-close:after {
        left: 17px;
        height: 20px;
    }
	.media-grid > .fusion-builder-row {
		padding-left: 17px !important;
        padding-right: 18px !important;
	}
}

