/* Modal */
.btn-modal {
  padding: 13px 30px;
  background: white;
  color: #0B1847;
  border-radius: 60px;
  border: 2px solid #0B1847;
  cursor: pointer;
  font-size: 0.7em;
  display: block;
  text-transform: uppercase;
  transition: all 0.2s;
  text-align: center;
  width: 200px;
  position: relative;
  top: 150px;
  text-align: center;
  margin: 0 auto;
}

.content-button-close {
  padding: 13px 30px;
  background: white;
  color: #0B1847;
  border-radius: 60px;
  border: 2px solid #0B1847;
  cursor: pointer;
  font-size: 0.7em;
  display: block;
  text-transform: uppercase;
  transition: all 0.2s;
  text-align: center;
  width: 200px;
  margin: 60px auto 0 auto;
}

.btn-modal:hover,
.content-button-close:hover {
  background: #0B1847;
  color: white;
}

.close {
  position: absolute;
  top: -13px;
  right: -13px;
  width: 30px;
  height: 30px;
  background:#FFF !important;
  font-weight: 900;
  color: white;
  cursor: pointer;
  opacity: 0.9 !important;
  border: 0;
  border-radius: 50px;
  -webkit-box-shadow: 0px 9px 15px -5px rgba(0, 0, 0, 0.46);
  -moz-box-shadow: 0px 9px 15px -5px rgba(0, 0, 0, 0.46);
  box-shadow: 0px 9px 15px -5px rgba(0, 0, 0, 0.46);
}

.mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 50;
  visibility: hidden;
  opacity: 0;
  transition: 0.7s;
}

.elegant-modal {
  position: fixed;
  top: 16%;
  left: 34%;
  width: 465px;
  height: 58px;
  z-index: 100;
  visibility: hidden;
  opacity: 0;
  transition: 0.5s ease-out;
  transform: translateY(45px);
  background-color: #FFFFFF;
  text-align: center;
  border-radius: 5px;
  -webkit-box-shadow: 0px 9px 15px -5px rgba(0, 0, 0, 0.46);
  -moz-box-shadow: 0px 9px 15px -5px rgba(0, 0, 0, 0.46);
  box-shadow: 0px 9px 15px -5px rgba(0, 0, 0, 0.46);
}

.active {
  visibility: visible;
  opacity: 1;
  transition: all .2s;
}

.active + .elegant-modal {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.elegant-modal h1.title-modal {
  margin: 40px 0 20px 0;
  padding: 0 15px;
}



.elegant-modal p.paragraph-modal {
  font-size: 18px;
  margin-top: 20px;
  padding: 0 45px;
  color:#666;
}

@media screen and (max-width: 480px) {
    .elegant-modal {
  position: fixed;
  top: 16%;
  left: 0%;
  width:auto;
  height:auto;
  z-index: 100;
  visibility: hidden;
  opacity: 0;
  transition: 0.5s ease-out;
  transform: translateY(45px);
  background-color: #FFFFFF;
  text-align: center;
  border-radius: 5px;
  -webkit-box-shadow: 0px 9px 15px -5px rgba(0, 0, 0, 0.46);
  -moz-box-shadow: 0px 9px 15px -5px rgba(0, 0, 0, 0.46);
  box-shadow: 0px 9px 15px -5px rgba(0, 0, 0, 0.46);
}
}


@media screen and (max-width: 768px) {
    .elegant-modal {
  position: fixed;
  top: 16%;
  left: 1%;
  width:auto;
  height:auto;
  z-index: 100;
  visibility: hidden;
  opacity: 0;
  transition: 0.5s ease-out;
  transform: translateY(45px);
  background-color: #FFFFFF;
  text-align: center;
  border-radius: 5px;
  -webkit-box-shadow: 0px 9px 15px -5px rgba(0, 0, 0, 0.46);
  -moz-box-shadow: 0px 9px 15px -5px rgba(0, 0, 0, 0.46);
  box-shadow: 0px 9px 15px -5px rgba(0, 0, 0, 0.46);
}
.elegant-modal p.paragraph-modal{font-size: 8px;
    margin-top:inherit;
     padding:inherit;}
}