/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 5000; /* Sit on top */
  /*padding-top: 20px; /* Location of the box */
  /*padding-bottom: 20px; /* Location of the box */
  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: #F6F6F6;
  margin: 20px auto;
  padding: 0;
  border: 0px;
  width: 80%;
  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;
}

/* Modal Content Msg */
.modal-content-msg {
  position: relative;
  background-color: #F6F6F6;
  margin: 20px auto;
  padding: 0;
  border: 0px;
  width: 80vw;
  min-height: 100px;
  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
}

/* 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 Close Button */

.button-close-modal {
    /*font-size: 28px;*/
    font-weight: bold;
	padding: 5px;
	margin: -45px -30px 0px 0;
	/*background: linear-gradient(180deg, #3999EF, #3999EF, #71C05B, #71C05B);*/
	background : #3999EF;
	color: white;
	float: right;
	width: 35px;
	height: 35px;
	border-radius: 50%;
	text-align: center;
}

.close-modal:hover,
.close-modal:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;
  background-color: #F6F6F6;
  color: white;
}

.modal-body {
  padding: 2px 16px;
  min-height: 100px;
}

.modal-footer {
  padding: 2px 16px;
  background-color: #F6F6F6;
  color: white;
}

.modal-tag-head {
	margin: -10px 30% 10px 30%;
	padding: 5px;
    text-align: center;
	/*background: linear-gradient(180deg, #3999EF, #3999EF, #71C05B, #71C05B);*/
	background: #3999EF;
	color: white;
	border-radius: 0.25rem;
}

@media screen and (max-width: 870px) {
	.modal-tag-head {
		margin: -10px 10% 10px 10%;
	}

  .modal-content {
    width: 90%;
  }

  .modal-content-msg {
    width: 90%;
  }
}