.btn { 
  display: inline-block;
  background: #ee215f;
  color: white;
  text-decoration: none;
  transition: 0.35s ease-in-out; 
    width: auto;
	margin: 0 auto;
    font-size: 18px;
    font-weight: 300; 
    border-radius: 20px;
}
.btn:hover {
  background: #dc1029;
}

.close,
.btn.close-modal {
	font-size: 0;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    position: absolute;
	/*
    top: -25px;
    right: -60px;
	*/
	right: 23%;
    background: #3c4049 url('../../images/close.jpg') center center no-repeat;
}

@media (max-width: 1200px){
	.close,
	.btn.close-modal{
		right: 17rem;
	}
}

@media (max-width: 992px){
	.close,
	.btn.close-modal{
		right: 4rem;
	}
}

@media (max-width: 768px){
	.close,
	.btn.close-modal{
		width: 30px;
		height: 30px;
	}
}

@media (max-width: 330px){
	.close,
	.btn.close-modal{
		width: 20px;
		height: 20px;
		right: 3rem;
	}
}


.overlay {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 40px;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.75);
  opacity: 0;
  pointer-events: none;
  transition: 0.35s ease-in-out;
  max-height: 100vh;
  overflow-y: auto;
     z-index: 9999;
}
.overlay.open {
  opacity: 1;
  pointer-events: inherit;
}
.overlay .answer,
.overlay .modal2 {
  background: white;
  text-align: center;
  padding: 40px 80px;
  box-shadow: 0px 1px 10px rgba(255, 255, 255, 0.35);
  opacity: 0;
  pointer-events: none; 
  max-height: 100vh;
  overflow-y: auto;
  border-radius: 7px;
  position: relative;
   
  transition: 0.35s ease-in-out;
  -webkit-transition: 0.35s ease-in-out; 
  overflow-y: scroll; 
  -webkit-overflow-scrolling: touch;
  
}
.overlay .modal2.open {
  opacity: 1;
  pointer-events: inherit;
  position: relative;
 
}
.overlay .modal2.open .content {
  transform: translate(0, 0px);
  opacity: 1;
}
.overlay .modal2 .content {
  transform: translate(0, -10px);
  opacity: 0;
  
  transition: 0.35s ease-in-out; 
  -webkit-transition: 0.35s ease-in-out;
   
}
.overlay .modal2 .title {
  margin-top: 0;
    margin-top: 0;
    font-size: 28px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
    font-weight: 400;
     margin-bottom: 5px;
	    padding-top: 10px;
}

.overlay .input-file { height: 60px; padding: 10px 0; line-height: 40px; }
.overlay .input-file input { display: none; }
.overlay .input-file span { background: #ccc; padding: 0 10px; float: right; border-radius: 7px; color: #fff; }
.overlay .input-file span:hover { color: #fff; background: #dc1029; }

.overlay .input-checkbox { padding-left: 30px; font-size: 14px; line-height: 28px; position: relative; cursor: pointer; }
.overlay .input-checkbox input { display: none; }
.overlay .input-checkbox input + i { display:block; width:28px; height:28px; background: url(/img/checkbox.jpg) left center no-repeat;    
	position: absolute;
    left: 0;
    top: 0; }
.overlay .input-checkbox input:checked + i { background: url(/img/checkbox-true.jpg) left center no-repeat; }
 
.overlay .content { position: relative; }
.overlay .btn.close-modal { top: 5px; right: 5px; z-index: 9; }
.overlay .answer {
	
  background: white;
  text-align: center;
  padding: 40px 80px;
  box-shadow: 0px 1px 10px rgba(255, 255, 255, 0.35);
  opacity: 1;
  pointer-events: none; 
  max-height: 100vh;
  overflow-y: auto;
  border-radius: 7px;
  position: relative;
   
  transition: 0.35s ease-in-out;
  -webkit-transition: 0.35s ease-in-out; 
  overflow-y: scroll; 
  -webkit-overflow-scrolling: touch;
  
}