.mform > img {
  width: 100%;
}


#active-popup {
  /* background-color: rgba(52,73,94, 0.7); */background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 9999;
}
#popup-container span.wpcf7-not-valid-tip { display:none; }
body.mpopup {overflow: hidden;}
#popup-container {
 // background-color: transparent;
/*   border: 4px solid #eeb56c !important; */
 /*  border-radius: 6px; */
 /*  box-shadow: 0 2px 40px rgba(0, 0, 0, 0.3); */
  //display: none;
  //height: auto;
 // left: 0;
  /* margin: 3% auto 0; */
  //margin: 40% auto 0;
 /* max-width: 665px !important;
  padding: 10px;
  position: fixed;
  right: 0;
  top: -50%;
  width: 100%;
  z-index: 999;
    border-radius: 5px;*/
}

#popup-container {
    background-color: transparent;
    display: none;
	height: auto;
	
    position: absolute;
    top: 22%;
    z-index: 10000;
    padding: 0;
    left: 50%;
    border-radius: 5px;
    transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
}


.modal-content {
  position: relative;
  text-align: center;
    box-shadow:none;
    border: 0
}
#popup-window {
  padding:0px;
  position: relative;
}
.modal-content h1,
.modal-content p { color: #fff; }

/* .modal-content p { padding: 20% 5% 0 5%; } */


#popup-container a.close {
 /*  position: relative;
  float: right;
  top: -15px;
  right: -7px;
  z-index: 99;
  font-weight: bold;
  font-size: 16px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  padding: 2px 5px 2px 6px;
  line-height: 1em;
  text-align: center;
  background: #E74C3C;
  border: 4px solid #fff;
  cursor: pointer;
  color:#fff; */
	/*background: rgba(0, 0, 0, 0) url("http://tandooriflamesmelbourne.com.au/wp-content/plugins/wordpress-popup/css/tpl/simple/img/close.png") no-repeat scroll 0 0;
	height: 30px;
	opacity: 0.9;
	position: absolute;
	right: -12px;
	text-decoration: none;
	top: -12px;
	width: 30px;
	z-index: 10;
*/
    height: 16px;
    background: transparent;
    opacity: 1;
    position: absolute;
    right: 5px;
    text-decoration: none;
    top: 5px;
    width: 16px;
    z-index: 121;
    padding-top: 0px;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
}
.form-text{position: absolute;top: 40%; left: 40px;text-align:left;font-family:'Montserrat','Helvetica Neue',Helvetica,Arial,sans-serif;}
.form-text h3{font-size: 32px;color:#000;text-transform:uppercase;line-height:40px;font-weight:600;}
.form-text div.subheadingPopup{font-size: 17px;color:#686868;font-weight:500;margin: 15px 0;}
.form-text input{font-weight:400;color:#686868;margin-bottom: 1px;}
.form-text input[name="subscribe"]{background:#877751;border:0;padding:10px 30px;box-shadow:none;color:#fff;text-transform:uppercase;margin-top: 2px;}

@media only screen and (max-width: 1199px) {
	#popup-container { //width: 100%; //margin: 50% auto 0;  //top: -35%; //max-width: 660px !important;}
}

@media only screen and (max-width: 991px) {
	#popup-container { //width: 68%; //top: -10%}
}

@media only screen and (max-width: 767px) {
	.mpopup { overflow: hidden;}
	#popup-container { /*overflow: scroll;*/ width: 65%;// margin: 16% auto 0;}
	#popup-window { /*padding: 10px 15px;*/}
    #popup-window  img{width: 100%}
	#popup-container .wdpu-title { font-size: 16px !important;}
	#popup-container .wpcf7-form input, .wdpu-msg .wpcf7-form select, .wdpu-msg .wpcf7-form textarea { margin: 0 0 5px; padding: 6px 1.5%;}
	#popup-container a.close { right: 0; top: 0;}
	.form-text{top: 40%;left: 20px;}
	.form-text input{margin-bottom: 1px;height: 30px;width: 92%}
	.form-text input[name="subscribe"] { padding: 4px 20px}
}
@media only screen and (max-width: 479px) {
	#popup-container { height: /*460px*/ auto; width: 96%; //top: 0; //margin: 45% auto 0}
	#popup-container .wdpu-title { font-size: 16px !important; font-weight: 400; padding-top: 12px;}
	.form-text input[name="subscribe"] {padding:4px 30px;}
}