.popup {
	width:auto;
	height:auto;
	max-width: initial;
	max-height: 100%;
	left:0;
	right:0;
	margin:0 auto;
	top:0px;
	bottom: 0;
	z-index:9999999;
	position:fixed;
	background: #000000ad;
	padding:10px;
	color: #fafafa;
	text-align: center;
	box-shadow: 0px 0px 2px #111;
	-moz-box-shadow: 0px 0px 2px #111;
	-webkit-box-shadow: 0px 0px 2px #111;
	/*The main part*/
	animation: popup .3s;
	-webkit-animation: popup .3s;
	animation-fill-mode: forwards;
	-webkit-animation-fill-mode: forwards;
	animation-delay: 5s;
	-webkit-animation-delay: 5s;
	transform:scale(0,0);
	-webkit-transform:scale(0,0);
	 overflow: auto;
	 display:flex;
	 justify-content:center;
	 align-items:center;
	 display: none;
}

.popup img {text-align: center; max-width:100%;}
@keyframes popup {
	100% {transform:scale(1,1)}
}
@-webkit-keyframes popup {
	100% {-webkit-transform:scale(1,1)}
}
/*End of main part*/

/*Some Extra Styling. Ignore!*/
#pop-header {
	background: #1176aa;
	display:inline-block;
	text-transform:uppercase;
	padding: 2px 10px;
	/* box-shadow: 0px 3px 3px #11111142; */
	position:absolute;
	right: 0;
	top: 0;
	font-size: 15px;
	font-weight: 700;
}
#pop-header a {
	float:right;
	color: #fff;
}
.popup h2 {
	text-transform:uppercase;
	text-align:center;
	margin: 5px;
}
#form {
	background: #111;
	width:250px;
	padding: 10px;
	border: 1px solid #111;
	box-shadow: 0px 0px 5px #000 inset;
	-moz-box-shadow: 0px 0px 5px #000 inset;
	-webkit-box-shadow: 0px 0px 5px #000 inset;
	color: #fff;
	font-family: 'Open Sans Condensed', sans-serif;
}
#button {
	width: 120px;
	padding: 8px;
	background: -webkit-linear-gradient(#77d42a, #5cb811);
    background: -o-linear-gradient(#77d42a, #5cb811);
    background: -moz-linear-gradient(#77d42a, #5cb811);
    background: linear-gradient(#77d42a, #5cb811);
	border: 1px solid #77d42a;
	cursor: pointer;
	color: #fff;
	font-family: 'Open Sans Condensed', sans-serif;
	text-transform:uppercase;
}


.popup > a {
    position: relative;
}

#pop-header:hover {
    background: #e30c0c;
}



/* ---Form---  */
.popup_form_main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
}


.popup_form {
	width: 100%;
    text-align: center;
    padding: 15px 25px;
    display: flex;
    align-items: center;
}

.popup_form img {
    height: 70px;
}

.popup_form .pop_title {
    color: #1176aa;
    font-size: 21px;
    text-transform: uppercase;
    font-weight: 700;
    margin: 15px 0;
    line-height: 28px;
}

.popup_form form {}

.popup_form form input {
    background: #e9e9e9;
    border: 1px solid #9e9e9e;
    border-radius: 15px;
    height: 50px;
    color: #000;
    font-size: 14px;
    margin-bottom: 10px;
}

.popup_form form input::placeholder {
    color: #323232 !important;
}

.popup_form form button.submitbtn {
    border: 2px solid #0fa2a4;
    border-radius: 15px;
    display: table;
    width: auto;
    margin: 0 auto;
    margin-top: 20px;
    text-transform: uppercase;
    color: #0fa2a4;
    font-weight: 700;
    padding: 8px 22px;
    transition: 0.5s ease-in-out all;
}

/* Captcha  */
.popup_form .captchabox {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.popup_form .captchabox input {
    margin: 0;
    height: 40px;
    background: #fff;
    font-size: 14px;
}


.popup_form .captchaimgbox img.captcha_img {
    height: unset;
}

.popup_form .captchabox .captchaimgbox i {
    right: 5px;
}

/* Captcha  */


/* Media Responsive  */
@media(max-width:575px){
	.popup_form_main {
      display: table;
    }

    .popup {
    	align-items: unset;
    	padding: 0px 10px;
    }

    .popup .popupmain {
    	margin: 15px 0;
    	display: table;
    }

       .popup .popup_img img {
        width: 50%;
        margin-top: 20px;
        border-radius: 15px;
    }

    .popup_form {
      padding: 15px;
    }

    .popup_form .pop_title {
    font-size: 17px;
    line-height: 26px;
    }

    .popup_form form input {
    	height: 40px;
    	font-size: 14px;
    	border-radius: 10px;
    }

    .popup_form form input::placeholder {
    	font-size: 14px;
    }

    .popup_form img {
    	height: 50px;
    }

}
/* Media Responsive  */

/* ---Form---  */






















