.modal-box {
	display: none;
	position: fixed;
	clear:both;
	top:100px;
	z-index: 9999;
	width: 50%;
	margin:0 0 0 25%;
	background: white;
	background-clip: padding-box;
}

.modal-box.small-box{
	width:32%;
	padding:0;
	margin:0 0 0 34%;	
}

.modal-box header,
.modal-box section,
.modal-box footer { 
	padding: 5%;
	width:90%;
	text-align:center;
	position:relative;
}

.modal-box header{
	height:auto !important;
	padding:7% 5% 5% 5% !important;
	margin:0 0 10% 0 !important;
}

.modal-box section{
	padding:5% 10%;
	width:80%;	
}

.modal-box footer{
	margin:0;
	border-top: 1px solid #fcc929;
	background:#fff;
	color:#000;
}

.modal-box header h3{ 
	margin: 0; 
	padding:0; 
	text-align:center;
}

.modal-box header h3 img{ 
	width:150px;
}

.modal-box header h4{ 
	margin:10px 0 3px 0;
	display:inline-block;
	width:100%;
	color:#fcc929;
	font-size:15px;
}

.modal-box p{ 
	margin:5px 0 15px 0;
	line-height:18px;
}

.modal-box a.close {
	line-height:40px !important;
	width:40px;
	height:40px;
	font-size: 24px;
	position: absolute;
	z-index:9999;
	top: 10px;
	right: 10px;
	color: #fdca29;
}

.modal-box a.close:hover {
	color: #fde229;
	-webkit-transition: color 1s ease;
	-moz-transition: color 1s ease;
	transition: color 1s ease;
}

.modal-box .loginbutton{
	color: #fff;
	padding:12px 1%;
	text-transform: uppercase;
	text-align: center;
	width: 45%;
	margin:1%;
	display:inline-block;
	font-size:12px;
	border:none !important;
}

.modal-box .loginbutton i{
	margin-right:5px;	
}

@media only screen and (max-width: 767px) {
	.modal-box {
		width: 70% !important;
		margin:0 0 0 15% !important;
	}
}