
.popup-trigger {
  background: var(--navy);
  padding: 0 0px 0 10px;
  height: 60px;
  width: 350px;
  position: fixed;
  z-index: 100;
  right: 0;
  top: 170px;
  color: white;
  font-size: 15.5px;
  letter-spacing: -.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px 0 0 10px;
  transition: all .3s ease;
  transform: translateX(220px);
  cursor: pointer;
  box-shadow: 1px 1px 30px 5px var(--green);
}

.popup-trigger .hover-text{
  opacity: 0;
  transform: translateX(100px);
  transition: all .3s ease;
}

.popup-trigger .initial-text{
  display: inline-block;
  opacity: 1;
  transition: all .3s ease;
  position: absolute;
  left: 50px;
  transform: translateX(0px);
}

.popup-trigger .icon{
  display: inline-block;
  width: 26px;
  height: 26px
}

.popup-trigger .icon img{
  width: 100%;
}

.popup-trigger:hover{
   width: 300px;
   transform: translateX(0px);
}

.popup-trigger:hover .initial-text{
  opacity: 0;
  transform: translateX(-100px);
}

.popup-trigger:hover .hover-text{
  display: inline-block;
  opacity: 1;
    transform: translateX(0px);
}

/* Form popup window */
.exit-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.exit-popup-content {
  background: white;
  padding: 0px ;
  max-width: 1100px;
  margin: 10px;
  text-align: center;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.5s ease;
  animation: scale .6s ease;
}

.popup-content-grid{
  display: grid;
  grid-template-columns: 350px 3fr;
  gap: 50px;
}

.left-popup{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.left-popup:before{
  content: '';
  display: block;
  position: absolute;
  z-index: 1;
  left: 0;
  width: 100%;
  max-width: 300px;
  height: 100%;
  background: var(--navy) url(thumbnaillarge/bg-dark-section.jpg) no-repeat bottom center / cover;
}

.right-popup{
  position: relative;
  z-index: 20;
  padding: 50px 50px 50px 0;
}

.exit-popup-content .enqRow {
  margin-bottom: 10px;
}

.exit-popup-content .enqRow .rowLabel{
  margin: 0;
  padding: 5px 5px 2px;
}

.exit-popup-content .enqRow span{
  font-size: .6em;
  text-transform: uppercase;
  margin-left: .5em;
}

.exit-popup-content .popup-image{
  position: absolute;
  left: -10px;
  z-index: 10;
  width: 450px;
  height: auto;
}

.exit-popup-content .popup-image img{
  width: 100%;
}

.exit-popup-content h2{
/*   font-size: 50px; */
  font-size: clamp(30px, 10vw, 50px);
  margin-bottom: 20px;
}

.exit-popup-content h2 span{
  font-size: inherit;
  letter-spacing: 0;
  display: inline;
  font-weight: 900;
  
}

.exit-popup-content p{
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.4em;
}

.exit-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  transition: all .3s ease;
  
  z-index: 50;
}

.exit-close:hover{
  color: white;
  background: var(--red);
}

@keyframes fadeIn {
  from {opacity:0; transform: translateY(-50px);}
  to {opacity:1; transform: translateY(0);}
}

@keyframes scale {
  from {opacity:0; transform: translate(1000px, -400px) scale(0);}
  to {opacity:1; transform: translate(0, 0) scale(1);}
}


@media (max-width: 850px){
  
  .popup-content-grid{
      grid-template-columns: 1fr;
  }
  
  .left-popup{
    display: none;
  }
  .right-popup{
    padding: 40px;
  }
  
}

@media (max-width: 600px){
  
  .right-popup{
    padding: 30px 20px;
  }
  
  .right-popup .primary-btn{
    font-size: 1.2em;
  }
  
}


@media (max-width: 700px){
	.popup-trigger {
		display: none;
	}

	#exit-popup.exit-popup {
		display: none !important;
	}
}


