.mdp-gallery__img-set .image-container .overlay {
    /*height: 100%;*/
    /*position: absolute;*/
    position: relative;
    width: 100%;
    z-index: 2; }
.mdp-gallery__img-set .image-container .overlay:before {
    content: '\f12f';
    font-family: 'standard-icon-font';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; }
.mdp-gallery__img-set .image-container .overlay::before {
    font-size:  30px;
    font-size:  3rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: rgba(255, 255, 255, 0.7);
    left: 50%;
    padding: 40px;
    position: absolute;
    /*position: relative;*/
    top: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    z-index: 3; }

.component-dropdown-1 {
	display:none;
}
@media screen and (max-width: 767px) {
	.component-dropdown-1 {
		display: block;
	}
	.component-tabs-1 {
		/*display: none;*/
	}
    .mdp-gallery__img-set .image-container .overlay::before {
        font-size:  35px;
        font-size:  3.5rem;
        padding: 20px; } }
.mdp-gallery__img-set .image-container .overlay > img:hover {
    -webkit-transform: scale(1.05);
    transform: scale(1.05); }
.mdp-gallery__img-set .image-container img:hover {
    -webkit-transform: scale(1.05);
    transform: scale(1.05); }

.mdp-gallery__img-set .image-container {
    display: inline-block;
}
.mdp-gallery .mdp-flexiblecontent-tout__image{
    border:    1px solid #d5d5d5;
    margin-bottom: 10px;
    pointer-events: fill;
}
@media (min-width: 768px){
	.mdp-gallery .mdp-flexiblecontent-tout__image{
		height: 200px;
        object-fit: cover;
        pointer-events: fill;
	}
}
.mdp-gallery .grid-col-medium-4 {
    padding: 0 5px;
    pointer-events: none;
}
@media (min-width: 420px) and (max-width: 768px){
    .mdp-gallery .grid-col-medium-4 {
        width: 49%;
        display: inline-block;
    }
}
.mdp-gallery--header {
    position: relative;
    margin-top: 30px; }
.mdp-gallery--header__title {
    font-size:  18px;
    font-size:  1.8rem;
    text-align: center; 
     letter-spacing:.2em;}
.mdp-gallery__modal.component-modal--full .component-modal__button--close:before,
.mdp-gallery__modal1.component-modal--full .component-modal__button--close:before {
    text-shadow: 0px 3px rgba(0,0,0,0.4);
    font-weight: bold;
}
.icon-gallery-right:before, .icon-gallery-left:before {
    text-shadow: 0 3px rgba(0,0,0,0.4);
    color: rgba(255, 255, 255, 0.6);
}
.icon-gallery-right:hover::before, .icon-gallery-left:hover::before {
  color: rgba(255, 255, 255, 1);
}
.icon-gallery-right, .icon-gallery-left {
  padding: 0;
  width: 60px;
  height: 62px;
  margin: 20px;
}
.icon-gallery-right {
   margin-right: 40px;
}
.icon-gallery-left {
  margin-left: 40px;
}

.mdp-gallery__modal .image-container:first-child, .mdp-gallery__modal .video-container:first-child,
.mdp-gallery__modal1 .image-container:first-child, .mdp-gallery__modal1 .video-container:first-child {
    width: 100vw !important;
}
.mdp-gallery__modal .image-ratio-wrapper, .mdp-gallery__modal .video-ratio-wrapper,
.mdp-gallery__modal1 .image-ratio-wrapper, .mdp-gallery__modal1 .video-ratio-wrapper {
    padding-bottom: 0;
    height: 100vh;
}
.mdp-gallery__modal .component-modal__content img, .mdp-gallery__modal .component-modal__content iframe,
.mdp-gallery__modal1 .component-modal__content img, .mdp-gallery__modal1 .component-modal__content iframe {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
 
  object-fit: cover;
}
@media (max-width: 767px){
	.mdp-gallery__modal .component-modal__content img, .mdp-gallery__modal .component-modal__content iframe,
	.mdp-gallery__modal1 .component-modal__content img, .mdp-gallery__modal1 .component-modal__content iframe {
		 max-height: 450px;
	}
	.gray-red-tabs {
		visibility: none;
		height: 0;
		overflow: hidden;
		margin: 0 !important;
	}
	.icon-gallery-right {
		margin-right: 0;
	}
	.icon-gallery-left {
		margin-left: 0;
	}
}
.component-modal__button--close {
  display:block !important;
}
.icon-gallery-left.mdp-gallery__modal__button--prev.slick-arrow, .icon-gallery-right.mdp-gallery__modal__button--next.slick-arrow {
  display: block !important;
}
.mdp-gallery__modal__counter-container {
  display: none;
}
@media (max-width: 420px){
  .mdp-gallery__modal__counter-container {
    display: block;
    position: relative;
    top: -150px;
  }
  .mdp-gallery__modal__counter-container, .mdp-gallery__modal__current-counter, .mdp-gallery__modal__total-counter {
    color: white;
    opacity: .8;
  }
}
@media (max-width: 380px){
  .mdp-gallery__modal__counter-container {
    top: -40px;
  }
}
.galtab .mde-three-sixty__colors {
	display:none;
}
.galtab .mde-three-sixty__content--exterior.active {
	margin-top: -90px;
	margin-bottom: -30px;
}
.the_gallery #interior, .the_gallery #three-sixty {
	width: 90%;
	visibility: hidden;
	height: 0;
	overflow: hidden;
	min-height: 0
}
.the_gallery #interior.active, .the_gallery #three-sixty.active {
	visibility: visible;
	height: auto;
	overflow: visible;
	min-height: auto;
	position: relative;
}
.the_gallery #three-sixty.active {
	margin-bottom: 25px;
}
.the_gallery .select2-container {
    max-width: 300px;
    margin-left: 50%;
    transform: translateX(-150px);
}
.combo-container {
	overflow: hidden;
}
.the_gallery .component-tabs-1{
	margin: 20px auto 50px auto;
}
.the_gallery .mde-three-sixty__drag { 
	right: auto;
	top: -10px;
	bottom: auto;
	text-align: center;
	width: 100%;
	position: absolute;
	margin-top: 0;
}
.the_gallery .slick-slider .slick-list {
	max-height: 100vh;
}
.mdp-flexiblecontent-tout__image-container {
	max-height: 200px;
    margin-bottom: 10px;
    pointer-events: none;
}
.mdp-flexiblecontent-tout__image-container img:hover {
	cursor: pointer;
}
.the_gallery .mde-three-sixty__contain {
	padding-bottom: 0;
}
.the_gallery {
	padding-bottom: 50px;
	background-color: #f5f5f5;
	min-height: calc(100vh - 250px); 
}
.hidden {
	display: none;
}
.the_gallery .mdp-gallery {
	text-align: center;
}
@media (min-width: 768px) {
	.the_gallery .show-more .cta {
		margin-top: 20px;
		min-width: 240px;
	}
}
@media (max-width: 767px){
	.the_gallery .mde-three-sixty {
		width: 100%;
		/*height: 220px !important;*/
	}
	
	.the_gallery .mde-three-sixty > ol > li > img {
		width: 90%;
		/*height: 220px;
		max-height: 100vh*/
	}
}

@media (max-width: 480px){
	.the_gallery .mde-three-sixty {
		width: 90%;
		/*height: 170px !important;*/
	}
	.the_gallery .mde-three-sixty > ol > li > img {
		width: 100%;
		/*height: 150px;
		max-height: 100vh*/
	}
}
.main-content.mainFAD {
    background-color: white !important;
}
.the_gallery .component-modal--open .component-modal__button--close {
    opacity: .6 !important;
}
.the_gallery .image-container:only-child .slick-arrow {
	display: none !important;
}
