.modal-main{
	background:url(../images/ng/win-r-all.png) no-repeat;
	font:12px Arial, Tahoma, Verdana;
	width: 640px;
	height: 533px;
	overflow: auto;
}

.modal-mainbig{
	background:url(../images/ng/win-r-all-big.png) no-repeat;
	font:12px Arial, Tahoma, Verdana;
	width: 900px;
	height: 533px;
	overflow: auto;
}

.modal-mainsmall{
	background:url(../images/ng/win-small.png) no-repeat;
	font:12px Arial, Tahoma, Verdana;
	width: 471px;
	height: 307px;
	overflow: auto;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 5; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modalsmall {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 5; /* Sit on top */
    padding-top: 320px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    position: relative;
    //background-color: #fefefe;
    margin: auto;
    padding: 0;
    //border: 1px solid #888;
    width: 640px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

.modal-contentbig {
    position: relative;
    //background-color: #fefefe;
    margin: auto;
    padding: 0;
    //border: 1px solid #888;
    width: 900px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

.modal-contentsmall {
    position: relative;
    //background-color: #fefefe;
    margin: auto;
    padding: 0;
    //border: 1px solid #888;
    width: 471px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetopsmall;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetopsmall;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@-webkit-keyframes animatetopsmall {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetopsmall {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.closemodal {
	position: absolute;
    color: white;
    font-size: 28px;
    font-weight: bold;
	width: 22px;
	height: 21px;
	background:url(../images/ng/closeonoff.png) no-repeat;
	margin-top: 25px;
	margin-left: 608px;
	background-position: 0px -21px; 
}

.closemodal:hover,
.closemodal:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
	width: 22px;
	height: 21px;
	background:url(../images/ng/closeonoff.png) no-repeat;
}

.closemodalbig {
	position: absolute;
    color: white;
    font-size: 28px;
    font-weight: bold;
	width: 22px;
	height: 21px;
	background:url(../images/ng/closeonoff.png) no-repeat;
	margin-top: 25px;
	margin-left: 868px;
	background-position: 0px -21px; 
}

.closemodalbig:hover,
.closemodalbig:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
	width: 22px;
	height: 21px;
	background:url(../images/ng/closeonoff.png) no-repeat;
}

.closemodalsmall {
	position: absolute;
    color: white;
    font-size: 28px;
    font-weight: bold;
	width: 22px;
	height: 21px;
	background:url(../images/ng/closeonoff.png) no-repeat;
	margin-top: 25px;
	margin-left: 439px;
	background-position: 0px -21px; 
}

.closemodalsmall:hover,
.closemodalsmall:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
	width: 22px;
	height: 21px;
	background:url(../images/ng/closeonoff.png) no-repeat;
}

.modal-header {
	position:absolute;
    padding: 2px 16px;
	margin-left: 220px;
	margin-top: 11px;
	width: 180px;
   // background-color: #5cb85c;
	text-align: center;
	font-size: 12px;
	text-transform: uppercase;
	color: #6ec2d1;
	font-family: Arial,Tahoma,Verdana;
	font-weight: bold;
}

.modal-headerbig {
	position:absolute;
    padding: 2px 16px;
	margin-left: 350px;
	margin-top: 11px;
	width: 180px;
   // background-color: #5cb85c;
	text-align: center;
	font-size: 12px;
	text-transform: uppercase;
	color: #6ec2d1;
	font-family: Arial,Tahoma,Verdana;
	font-weight: bold;
}

.modal-headersmall {
	position:absolute;
    padding: 2px 16px;
	margin-left: 130px;
	margin-top: 11px;
	width: 180px;
    //background-color: #5cb85c;
	text-align: center;
	font-size: 12px;
	text-transform: uppercase;
	color: #6ec2d1;
	font-family: Arial,Tahoma,Verdana;
	font-weight: bold;
}

.modal-body {
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 45px;
	white-space: nowrap;
	overflow: hidden;
	
}

.modal-footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}