/* The Modal (background) */
.modal {
    display: block; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 99; /* Sit on top */
    /* padding-top: 20%; /* Location of the box */
    padding-top: 4%;
    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 Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    /* border: 1px solid #888; */
    /* width: 30%; */
    width: 42%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

.w40{
	width:40%
}
/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The closePopUp Button */
.closePopUp {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.closePopUp:hover,
.closePopUp:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    background-color: #635e5b;
    color: #ffffff;
	text-align: center;

}
.modal-header h2{
  margin: 3px;
}
.modal-body {padding: 2px 16px;text-align: center;}
.modal-body-img {padding: 0 0;text-align: center;display:grid}

.modal-body-img > img { width: 100%}

.modal-footer {
    padding: 2px 16px;
    background-color: #ddd;
    color: #635E5B;
	text-align: center;
}
.modal-footer-double {
    display: inline-block;
    float: left;
    background-color: #ddd;
    color: #635E5B;
    text-align: center;
    width: 50%;
}
.dark{
    background-color: rgb(148, 147, 147);
}
.light_text{
    color: #ddd!important;

}
.closePopUpBtn > h3 {
	color: #635E5B;
}
.closePopUpBtn2 > h3 {
	color: #635E5B;
	width: 47%;
    display: inline-block;
    cursor:pointer;
    width: 100%;
}
.closePopUpBtn{
	width:50%;
}

.pt5{
	padding-top:5%;
}
.pt10{
	padding-top:10%;
}
.pt15{
	padding-top:15%;
}
.pt20{
	padding-top:20%;
}
.pt25{
	padding-top:25%;
}
.pt30{
	padding-top:30%;
}
.pt35{
	padding-top:35%;
}
.pt40{
	padding-top:40%;
}

@media only screen and (max-width: 1024px) {
	.modal-content {
		width: 80%;
	}
}@media only screen and (max-width: 600px) {
	.modal-content {
		width: 80%;
	}
}
