body {
  color: #333333;
}
.wrap {
  padding: 40px;
  text-align: center;
}
hr {
  clear: both;
  margin-top: 40px;
  margin-bottom: 40px;
  border: 0;
  border-top: 1px solid #aaaaaa;
}
h1 {
  font-size: 30px;
  margin-bottom: 40px;
}
p {
  margin-bottom: 20px;
}
.btn {
  background: #428bca;
  border: #357ebd solid 1px;
  border-radius: 3px;
  color: #fff;
  display: inline-block;
  font-size: 14px;
  padding: 8px 15px;
  text-decoration: none;
  text-align: center;
  min-width: 60px;
  position: relative;
  transition: color .1s ease;
}
.btn:hover {
  background: #357ebd;
}
.btn.btn-big {
  font-size: 18px;
  padding: 15px 20px;
  min-width: 100px;
}
.btn-close {
  color: #aaaaaa;
  font-size: 40px;
  text-decoration: none;
  position: absolute;
  right: 10px;
  top: 0;
}
.btn-close:hover {
  color: #ff6600;
}
.modal:before {
  content: "";
  display: none;
  background: rgba(0, 0, 0, 0.6);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 500;
}
.modal:target:before {
  display: block;
}

.modal:target .modal-dialog {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
  top: 1600px;
}
.modal-dialog {
  background: #fefefe;
  border: #333333 solid 1px;
  border-radius: 5px;
  
  position:absolute;
  left: 20%;
  
  z-index: 501;
  width: 60%;
  -webkit-transform: translate(0, -500%);
  -ms-transform: translate(0, -500%);
  transform: translate(0, -500%);
  -webkit-transition: -webkit-transform 0.3s ease-out;
  -moz-transition: -moz-transform 0.3s ease-out;
  -o-transition: -o-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
}
.modal-body {
  padding: 30px;
  text-align:justify;
}
.modal-header,
.modal-footer {
  padding: 10px 20px;
}
.modal-header {
  border-bottom: #eeeeee solid 1px;
  text-align:center;
}
.modal-header h2 {
  font-size: 20px;
}
.modal-footer {
  border-top: #eeeeee solid 1px;
  text-align: center;
}

.modal-subtitulo{
width: 100%;
text-align: center; font-family: 'Rajdhani', sans-serif; font-size:19px; color: #ff6600; font-weight:700; line-height:130%;  
}

@media screen and (max-width: 1024px){
.modal:target .modal-dialog {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
  top: 1450px;
}
}

@media screen and (max-width: 900px){

.modal:target .modal-dialog {
  top: 1450px;
}

.modal-dialog{
  left: 10%;
  width: 80%;
}

}

@media screen and (max-width: 640px){

.modal:target .modal-dialog {
  top: 1400px;
}

.modal-dialog{
  width: 90%;
  left: 5%;
}

}

@media screen and (max-width: 480px){

.modal:target .modal-dialog {
  top: 1200px;
}

.modal-dialog{
  width: 80%;
  left: 10%;
}

}

@media screen and (max-width: 321px){

.modal:target .modal-dialog {
  top: 1050px;
}

.modal-body {
  padding: 30px;
  text-align:left;
}

.modal-dialog{
  width: 90%;
  left: 5%;
}

}