/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.modal-bg-image {
background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position:absolute;
  top:0;
left:0;
	width:50%;
	height:100%
}


.modal-body .text-container .h2{
	margin-bottom: 20px;
}
/* Modal Styles */
.modal {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    opacity: 0; /* Initially invisible */
    transition: opacity 0.5s ease; /* Fade-in/fade-out effect */
	z-index:99999;
}

.et-mfp-zoom-in .mfp-content {
		opacity: 0;
		-webkit-transition: all 0.18s ease-in-out;
		-moz-transition: all 0.18s ease-in-out;
		-o-transition: all 0.18s ease-in-out;
		transition: all 0.18s ease-in-out;
		-webkit-transform: scale(0.8);
		-moz-transform: scale(0.8);
		-ms-transform: scale(0.8);
		-o-transform: scale(0.8);
		transform: scale(0.8);
		-webkit-transform-origin: top center;
		-moz-transform-origin: top center;
		-o-transform-origin: top center;
		transform-origin: top center;
		z-index:1
	}

.modal-content {
    background-color: #fff;
    position: relative;
    width: 80%;
    max-width: 1200px;
	height: 70vh;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #1d1d1d;
    border: none;
    cursor: pointer;
	font-size:32px;
	font-weight: 100;
	line-height: 17px;
	width:34px;
	z-index: 2;
	-moz-transition: all .25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -o-transition: all .25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -webkit-transition: all .25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition: all .25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.close-btn:hover {
    opacity: 0.5;
}


.image-container img {
    max-width: 300px;
    max-height: 200px;
}

.text-container {
	position: absolute;
	left:50%;
	top: 50%;
	transform: translateY(-50%);
    max-width: 50%;
    text-align: left;
	padding-left:50px;
	padding-right:50px;
	text-align: center;
}

.modal-navigation {
    position: absolute;
	right:64px;
	top:20px;
	z-index: 22;
}

.nav-btn {
  color: #1d1d1d;
  border: none;
  cursor: pointer;
  font-size:32px;
  font-weight: lighter;
   background: transparent;
   line-height: 17px;
   width:34px;
	margin: 0 5px;
   -moz-transition: all .25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -o-transition: all .25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -webkit-transition: all .25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition: all .25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-btn:hover {
    opacity:0.5;
}
/* Show class will only affect the opacity */
.modal.show {
opacity: 1 !important;  /* Ensure opacity transitions smoothly */
}
.modal-content.colour-1 {
background:#DA291C;
color:#fff
}
.modal-content.colour-1 .nav-btn, .modal-content.colour-1 .close-btn{
color:#fff
}
.modal-content.colour-2 {
background:#1d1d1d;
color:#fff
}
.modal-content.colour-2 .nav-btn, .modal-content.colour-2 .close-btn{
color:#fff
}
.modal-content.colour-3 {
background:#fcd0af;
}
.modal-content.colour-4 {
background:#031939;
color:#ffffff;
}
.modal-content.colour-4 .nav-btn, .modal-content.colour-4 .close-btn{
color:#fff
}
.modal-content.colour-5 {
background:#d6b8a8;

}
.modal-content.colour-6 {
background:#f7f7f7;

}
.modal-content.colour-7 {
background:#daf5fc;

}
.modal-content.colour-8 {
background:#e4ddca;
}
.modal-content.colour-9 {
background:#f7b470;
}
.modal-body .logo-holder{
max-width:160px;
display:block;
margin:0 auto 20px;
}
.modal-body .logo-holder.size-1{
max-width:180px;
display:block;
margin:0 auto 40px;
}
.modal-body .logo-holder.size-2{
max-width:100px;
display:block;
margin:0 auto 10px;
}
.modal-body .logo-holder.size-3{
max-width:250px;
display:block;
margin:0 auto 40px;
}
.modal-body .logo-holder.size-4{
max-width:200px;
display:block;
margin:0 auto 40px;
}
.fashion-slider-scale:before {
content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.2);
z-index: 2;
}
/* Responsive Design */
@media (max-width: 991px) {  
.modal-bg-image {
background-repeat: no-repeat;
background-position: top center;
background-size: cover;
position:absolute;
top:0;
left:0;
width:100%;
height:300px;
}
.text-container {
margin-top:300px;
position: relative;
left:0;
top: 0;
transform: none;
max-width: 100%;
padding-top:50px;
padding-left:30px;
padding-right:30px;
padding-bottom:50px;
}
.modal-content {
    background-color: #fff;
    position: relative;
    width: 90%;
    max-width: 900px;
	height: auto;
}
.close-btn {
    color: #ffffff;
}
.nav-btn {
 color: #ffffff;
}
}

@media (max-width: 575px) {
.modal.show{
overflow-y:scroll;
}

.modal-content {
height: 100vh;
margin-top:150px;
background:transparent;
}
.modal-content{
background:transparent!important
}
.text-container {
background:#fff;
}
.modal-content.colour-1 .text-container{
background:#DA291C;
color:#fff
}
.modal-content.colour-2 .text-container{
background:#1d1d1d;
color:#fff
}
.modal-content.colour-3 .text-container{
background:#fcd0af;
}
.modal-content.colour-4 .text-container{
background:#031939;
color:#fff
}
.modal-content.colour-5 .text-container{
background:#d6b8a8;
}
.modal-content.colour-6 .text-container{
background:#f7f7f7;
}
.modal-content.colour-7 .text-container {
background:#daf5fc;

}
.modal-content.colour-8 .text-container {
background:#e4ddca;
}
.modal-content.colour-9 .text-container {
background:#f7b470;
}
.fashion-slider-title{
padding-top: 130px;
}
}
@media (max-width: 380px) {
.fashion-slider-button {
top: auto;
bottom: 90px!important;
transform: none
}
.fashion-slider-title{
padding-top: 0;
}
}

.modal-quote{
font-size:20px;
font-style:italic;
font-weight:300;
}
.modal-author{
font-size:18px;
margin-top:20px;
margin-bottom:0;
}
@media (max-width: 575px) {
.modal-quote{
font-size:18px;
}
.modal-author{
font-size:16px;
}
}