#ouibounce-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
      z-index: 10000;
}
#ouibounce-modal .underlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #000;
  cursor: pointer;
  opacity: 0.8;
  -webkit-animation: fadein 0.5s;
  animation: fadein 0.5s;
}
#ouibounce-modal .modal1 {
  width: 360px;
   background: url(../images/pop-bg.jpg)  repeat #ef3139;
   background-size: cover;
  z-index: 1000000;
  position: absolute;
  margin: 30px auto;
  top: 0;
  right: 0;
  left: 0;
  -webkit-animation: popin 0.3s;
  animation: popin 0.3s;
    min-height: auto;
}
#ouibounce-modal .modal-title1 {
  font-size: 18px;
  background-color: #252525;
  color: #fff;
  padding: 10px;
  margin: 0;
  border-radius: 4px 4px 0 0;
  text-align: center;
}

#ouibounce-modal .modal-body1 {
  padding: 30px 20px;
  font-size: 0.9em;
   z-index: 10000000;
}
#ouibounce-modal p {
  color: #344a5f;
}
#ouibounce-modal form {
  text-align: center;
  margin-top: 35px;
   z-index: 10000000;
}
#ouibounce-modal form input[type=text] {
  min-height: 41px;
    padding: 8px 12px;
    font-size: 15px;
    line-height: 23px;
  width: 100%;
  border: 1px solid #ccc;
  -webkit-font-smoothing: antialiased;
  z-index: 10000000;
}
#ouibounce-modal form input[type=submit] {
  text-transform: uppercase;
  font-weight: bold;
  padding: 12px;
  font-size: 1.1em;
  border-radius: 4px;
  color: #fff;
  border: 2px solid;
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
  z-index: 10000000;
}

#ouibounce-modal form p {
  text-align: left;
  margin-left: 35px;
  opacity: 0.8;
  margin-top: 1px;
  padding-top: 1px;
  font-size: 0.9em;
}
#ouibounce-modal .modal-footer1 {
  position: absolute;
  bottom: 20px;
  text-align: center;
  width: 100%;
}
#ouibounce-modal .modal-footer1 p {
  text-transform: capitalize;
  cursor: pointer;
  display: inline;
  border-bottom: 1px solid #344a5f;
}
@-webkit-keyframes fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
@-ms-keyframes fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
@keyframes fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
@-webkit-keyframes popin {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 0;
  }

  85% {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}
@-ms-keyframes popin {
  0% {
    -ms-transform: scale(0);
    transform: scale(0);
    opacity: 0;
  }

  85% {
    -ms-transform: scale(1.05);
    transform: scale(1.05);
    opacity: 1;
  }

  100% {
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes popin {
  0% {
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    opacity: 0;
  }

  85% {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

#ouibounce-modal button.close {
    font-size: 10px;
    z-index: 1000000;
    right: 476px;
    top: 40px;
    color: #fff;
    border: 3px solid #fff;
    border-radius: 50%;
    padding: 10px;
    opacity: 1;
}
#ouibounce-modal  h3{
	    font-size: 32px;
    color: #fff;
    text-align: center;
}
#ouibounce-modal h4{
	    font-size: 25px;
    color: #fff;
    text-align: center;
	margin-bottom: 5px;
}
#ouibounce-modal  h4 span{
	    font-size: 25px;
    color: #fff;
    font-weight:700;
	margin-bottom: 5px;
}
#ouibounce-modal  p{
	    font-size: 14px;
    color: #fff;
    text-align: center;
}

#ouibounce-modal button.btn.btn-primary{
    color: #fff;
	border: 2px solid #fff;
    background-color: transparent;
    width: 100%;
    text-align: center;
	z-index:99999999;
}

.modal-backdrop {
		background-color:#000; 
		opacity: 0.8!important;
}
#enquirypopup .modal-dialog {
    width: 350px;
    padding: 0px ;
    position: relative;
	overflow-x: initial !important;
	overflow: initial !important;
	pointer-events: initial !important;
}
#enquirypopup .modal-dialog .close {
    font-size: 10px;
    z-index: 1000000;
    right: -10px;
    top: -20px;
    color: #fff;
    border: 3px solid #fff;
    border-radius: 50%;
    padding: 10px;
    opacity: 1;
	position:relative !important;
}

#enquirypopup .close {
    font-size: 10px;
    z-index: 1000000;
    right: -20px;
    top: 40px;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    padding: 10px;
    opacity: 1;
}
#enquirypopup h3{
	    font-size: 32px;
    color: #fff;
    text-align: center;
}
#enquirypopup h4{
	    font-size: 25px;
    color: #fff;
    text-align: center;
	margin-bottom: 5px;
}
#enquirypopup h4 span{
	    font-size: 25px;
    color: #fff;
    font-weight:700;
	margin-bottom: 5px;
}
#enquirypopup p{
	    font-size: 14px;
    color: #fff;
    text-align: center;
}

#enquirypopup button.btn.btn-primary{
    color: #fff;
	border: 2px solid #fff;
    background-color: transparent;
    width: 100%;
    text-align: center;
	z-index:99999999;
}
@media (max-width: 767px) {
	.modal {
    left: -16px
}
}
@media (max-width: 479px) {
	  .modal {
    left: -16px
}
}

/*(@media (min-width: 768px){

	#enquirypopup .modal-dialog .close{
    font-size: 10px;
    z-index: 1000000;
    right: 220px;
    top: 20px;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    padding: 10px;
    opacity: 1;
}
}
@media (max-width: 767px) {
  
	#enquirypopup .close {
    font-size: 10px;
    z-index: 1000000;
    right: 190px;
    top: 20px;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    padding: 10px;
    opacity: 1;
	}
	#enquirypopup .modal-dialog .close {
		font-size: 10px;
		z-index: 1000000;
		right:-20px;
		top: 170px;
		color: #fff;
		border: 2px solid #fff;
		border-radius: 50%;
		padding: 10px;
		opacity: 1;
	}
}
@media (max-width: 479px) {
  
	#enquirypopup .modal-dialog .close {
		font-size: 10px;
		z-index: 1000000;
		right: -14px;
		top: 80px;
		color: #fff;
		border: 2px solid #fff;
		border-radius: 50%;
		padding: 10px;
		opacity: 1;
	}
}
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2) { 
			#enquirypopup .modal-dialog .close {
		font-size: 10px;
		z-index: 1000000;
		right: -8px;
		top: 168px;
		color: #fff;
		border: 2px solid #fff;
		border-radius: 50%;
		padding: 10px;
		opacity: 1;
	}
}

@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3) { 
#enquirypopup .modal-dialog .close {
		font-size: 10px;
		z-index: 1000000;
		right: -8px;
		top: 100px;
		color: #fff;
		border: 2px solid #fff;
		border-radius: 50%;
		padding: 10px;
		opacity: 1;
	}
}
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 1) {
	#enquirypopup .modal-dialog .close {
    font-size: 10px;
    z-index: 1000000;
    right: -14px;
    top: 140px;
    color: #fff;
    border: 3px solid #fff;
    border-radius: 50%;
    padding: 10px;
    opacity: 1;
}
}

@media screen and (min-width: 1400px) and (max-width: 1600px) {
	#enquirypopup .modal-dialog .close {
    right: -14px;
    top: 40px;
}
}
@media only screen 
and (min-width : 1824px) {
	#enquirypopup .modal-dialog .close {
    right: -14px;
    top: 240px;
}
  
}*/