@charset "utf-8";
/* CSS Document */

.overlay {
  display: none;
  position: absolute;
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
  top: 0;
  z-index: 3001;
  /*overflow-y: scroll;*/
}

.overlay .modal-container {
  padding-top: 10px !important;
}

.overlay .wall {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(70, 96, 12, 0) url(../img/happytex4.jpg) repeat center center;
  box-shadow: 0 0 100px 100px rgba(27, 43, 0, 0.7) inset;
  opacity: 0.9;
}

.overlay .container {
	max-width: 1000px;
  border-radius: 0;
  margin-bottom: 65px;
  margin-top: 83px;
  padding: 2px;
  width: 80%;
  background-color: rgba(11, 16, 9, 0.95);
  box-shadow: 10px 0px 200px 10px rgba(62, 108, 36, 0.2) inset;
  color: #fff;
  position: relative;
  text-shadow: 0 0 10px rgba(125, 204, 59, 0.66);
  border-top: 1px solid #729907;
  border-bottom: 1px solid #729907;
  font-size: 18px;
  line-height: 1;
  border-left: none;
  border-right: none;

}

.overlay .borderbox {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.overlay .borderbox::before {
  position: absolute;
  content: "";
  display: block;
  height: 100%;
  width: 40px;
  left: -20px;
  top: 0;
  background: url(../img/border-l5.png) repeat-y center center;
}

.overlay .borderbox::after {
  position: absolute;
  content: "";
  display: block;
  height: 100%;
  width: 40px;
  right: -20px;
  top: 0;
  background: url(../img/border-r5.png) repeat-y center center;
}

.overlay .faction-top {
  background: url(../img/corner-center2.png) no-repeat center center;
  background-size: auto 100%;
}

.overlay .faction-top:before {
  background: url(../img/corner-top2.png) no-repeat left top;
	background-size: 100% auto;
}

.overlay .faction-top:after {
  background: url(../img/corner-top2.png) no-repeat right top;
	background-size: 100% auto;
}

.overlay .close {
  background: url("../img/menu-button.png") no-repeat center center;
  position: absolute;
  float: none;
  top: -15px;
  right: -15px;
  width: 64px;
  height: 64px;
  opacity: 1;
  background-size: 100% auto;
	display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
	transition: all 0.2s ease-out;
}

.overlay .close img {
  width: 40%;
  height: 40%;
	display: block;
	position: relative;
	transition: all 0.2s ease-out;
}

.overlay .close:hover img {
	transform: scale(1.1);
}

.overlay-badge {
  position: relative;
  margin: 0 auto;
  display: block;
  max-width: 400px;
	width: 100%;
	animation: 0.07s flicker;
  animation-iteration-count: 3;
}

@media only screen and (max-width: 575px) {
	
	.overlay .container {
		margin-bottom: 20px;
		margin-top: 20px;
		padding: 2px;
		width: 95%;
		border-top: 1px solid #729907;
		border-bottom: 1px solid #729907;
		line-height: 1;
		border-left: none;
		border-right: none;
		margin-left: 0;
	}
	
}