.modal-popup {
	left: 0%;
	top: 0%;
	margin: 70px 0 0 0;
	z-index:999;
  opacity: 0;
  position: absolute;
  visibility: hidden;
  width: 85%;
  box-shadow: 0 3px 7px rgba(0,0,0,.25);
  box-sizing: border-box;
  transition: all .4s ease-in-out;
  -moz-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  
}
.modal-popup:target {
  opacity: 1;
 /* top: 45%;*/
  visibility: visible
}
.modal-header, .modal-footer {
  border-bottom: 1px solid #e7e7e7;
  border-radius: 5px 5px 0 0
}
.modal-footer {
  border: none;
  border-top: 1px solid #ffffff;
  border-radius: 0 0 5px 5px
}
.modal-popup h2 {
  margin: 0;
  color: #fff
}
.modal-copy, .modal-header, .modal-footer {
  padding: 10px;
  color: #000000;
}
.modal-copy { 
	background: #ffffff;
	padding:30px;
	height:500px;
	max-height:100%;
	overflow-y: scroll;
	overflow-x:hidden;
	text-align:justify;
}
.modal-overlay {
  background-color: #000;
  background: rgba(0,0,0,.8);
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10
}
.modal-content {
  background: #e4e4e4;
  position: relative;
  z-index: 20;
  border-radius: 5px;
  color: #fff;
}
button.modal-popup-btn { 
	float: right; 
	color: #fff;
	text-decoration: none;
	display: inline-block;
	padding: 0px 3px;
	border-radius: 5px;
	background-color: #999;
}
.modal-copy a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  padding: 5px 10px;
  border-radius: 5px;
  background-color: #656565;
 
}
@media screen and (min-width: 768px) {
	/*#modal{
		width:600px;
		margin:-250px 0px 0px -18.2%;
		top: -50%;
	}*/
.modal-popup {
		left: 9%;
		top: 0%;
		width: 85%;
		margin: 70px 0 0 0;
	}
	.modal-copy { 
		text-align: initial;
	}
}

/*Onload Popup*/
#mask {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 9000;
  background-color: #000;
  display: none;
}

#boxes .window {
  position: absolute;
  left: 0;
  top: 0;
  width: 450px;
  height: 200px;
  display: none;
  z-index: 9999;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
}

#boxes #dialog {
  width: 450px;
  height: 200px;
  padding: 10px;
  padding-top:40px;
   background-color: #ffa021;
  /*font-family: 'Segoe UI Light', sans-serif;*/
  font-size: 18pt;
  font-weight:bold;
  color:#333333;
}

#popupfoot {
  font-size: 12pt;
 /* position: relative;*/
  text-align:center;
  padding-top:20px;
  float: center !important;
  color:#ffffff;
/*  width: 250px;
  left: 250px;*/
}
#popupfoot a{
	color:#ffffff;
	 font-weight:normal;
}
.close2 {
    float: center !important;
	}
