/*Modal popup*/

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  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-header {
  padding: 2px 16px;
  /*background-color: #DE9303;*/
  text-align: center;
  color: #404040;
}

.modal-header-title {
  padding: 2px 16px;
  background-color: #DE9303;
  text-align: center;
  color: #404040;
}

.modal-body {
	padding: 2px 16px;
	text-align: center;
}

.modal-fixed {
	font-family: 'Courier New', monospace; font-weight: bold;
}

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

.modal-content {
  position: relative;
  background-color: #FEFEFE;
  border-radius: 12px;
  -moz-border-radius: 12px;
  -webkit-border-top-left-radius: 12px;
  -webkit-border-top-right-radius: 12px;
  -webkit-border-bottom-left-radius: 12px;
  -webkit-border-bottom-right-radius: 12px;
  overflow: hidden;
  color: #404040;
  font-family: 'Titillium Web', 'Arial', 'Helvetica', sans-serif;
  margin: 100px auto;
  padding: 0px 0px 16px 0px;
  border: 1px solid #888;
  min-width: 400px;
  width: 30%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  animation-name: animatetop;
  animation-duration: 0.4s
}

.modal-content a {
	text-decoration: none;
	color: #B14000;
}

.modal-content a:hover {
	color: #404040;
}

.modal-button {
	/*background-color: #F0F0F0;*/
	color: #404040;
	border: 2px solid #A0A0A0;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-top-left-radius: 6px;
	-webkit-border_top-right-radius: 6px;
	-webkit-border-bottom-left-radius: 6px;
	-webkit-border-top-right-radius: 6px;
	outline: none;
	cursor: pointer;
	white-space: nowrap;
	overflow: hidden;
	text-align: center;
	text-overflow: ellipsis;
	margin: auto;
	font-size: 18px;
	font-family: 'Roboto', 'Arial', 'Helvetica', sans-serif;
	width: 50%;
	min-height: 40px;
	line-height: 40px;
}

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

/* The Close Button */
.modalclose {
  color: #404040;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.modalicon {
	float: left;
}

.modalclose:hover,
.modalclose:focus {
  color: #808080;
  text-decoration: none;
  cursor: pointer;
}
