﻿
*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.box {
	width: 100%;
	margin: 10px auto 0px auto;
	background: rgba(255,255,255,0.5);
	padding: 0px 0px 0px 0px;
	border: 0px solid #2fa94f;
	border-radius: 10px/10px;
	background-clip: padding-box;
	text-align: center;
}


.btn-default{
	margin: 10px 10px 10px 10px;
	padding: 10px 10px 10px 10px;
	color: #ffffff;
	background-color: #e97f34;
	border: 2px solid #000;
	font-size: 1em;
	border-radius: 10px/10px;
	width: 70%;
}

.btn-default:hover{
	color:#000;
	background-color:#fff;
	border: 2px solid #e97f34;
}


.popup h2 {
  margin-top: 40px;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 0.2s;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup .close:hover {
  color: #e97f34;
}
.popup .content {
  max-height: 30%;
  overflow: auto;

}

/*Let's make it appear when the page loads*/
.overlay2:target:before {
    display: none;
}
.overlay2:before {
  content:"";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  background: rgba(0, 0, 0, 0.6);
  position: fixed;
  z-index: 9;
}
.overlay2 .popup {
	background: #fff;
	border-radius: 5px;
	width: 600px;
	position: fixed;
	top: 10px;
	left: auto;
	right: auto;
	padding: 25px;
	margin: 100px auto;
	z-index: 9999999;
	-webkit-transition: all 0.6s ease-in-out;
	-moz-transition: all 0.6s ease-in-out;
	transition: all 0.6s ease-in-out;
}
.overlay2:target .popup {
    top: -100%;
    left: -100%;
}

/*** Voor andere schermresoluties, enkel EXTRA codes definieren ***/

/* Tablets horizontaal MD) */
@media only screen 
  and (min-width: 768px) 
  and (max-width: 1024px) 
  and (orientation: landscape) {
  
.box {
	width:100%;
	margin: 10px auto 10px auto;
	background: rgba(255,255,255,0.5);
}

.btn-default{
	padding: 15px 2px 10px 2px;

	color:#333;
	background-color:#fff;
	border: 2px solid #e97f34;
	font-size:1em;
	border-radius: 10px/10px;
	width:100%;
}
  .overlay2 .popup{
    width: 90%;
    left: 5%;
	position: absolute;
    
  }
  
  
  }
  
/* Tablets verticaal SM) */
@media only screen 
  and (min-width: 768px) 
  and (max-width: 1024px) 
  and (orientation: portrait) {
.box {
	width:100%;
	margin: 10px auto 10px auto;
	background: rgba(255,255,255,0.5);
}

.btn-default{
	padding: 15px 2px 10px 2px;
	color:#333;
	background-color:#fff;
	border: 2px solid #e97f34;
	font-size:1em;
	border-radius: 10px/10px;
	width:100%;
}
  .overlay2 .popup{
    width: 90%;
    left: 5%;
	position: absolute;
    
  }



}

/* Smartphones horizontaal XS */
@media only screen 
  and (min-width: 481px) 
  and (max-width: 767px) {

  .box{
    width: 100%;
  }
  .overlay2 .popup{
    width: 90%;
    left: 5%;
  }

}  

/* Smartphones verticaal XS */
@media only screen 
  and (min-width: 320px) 
  and (max-width: 480px) {


.box {
	width:100%;
	margin: 10px auto 10px auto;
	background: rgba(255,255,255,0.5);
}

.btn-default{
	padding: 15px 2px 10px 2px;
	color:#333;
	background-color:#fff;
	border: 2px solid #e97f34;
	font-size:0.85em;
	border-radius: 10px/10px;
	width:100%;
}
  .overlay2 .popup{
    width: 90%;
    left: 5%;
	position: absolute;
}
}
