.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 99998; /* um a menos que o alert */
  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/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  /*border: 1px solid #888;*/
  width: 80%; /* Could be more or less, depending on screen size */
 
    font-family: sans-serif !important;
    font-size: 14px !important;
    letter-spacing: 1px;
    color: var(--cor_inner);
    background-color: var(--cor_bg);
    border: 1px solid var(--cor_on1);
}

@media screen and (min-width: 1024px) {
    .modal-content {display: flow-root;}
    .modal-content button{margin: 8px 5px;}
}
@media screen and (min-width: 20px) and (max-width: 1023px) {
    .modal-content {display:grid;}
    .modal-content button{margin: 8px 0px;}
}

    
    
    
.modal-content button{
    border:0px;
    padding: 15px 30px;
    color: var(--cor_inner);    
    cursor:pointer;
    float:right;
    display:table;
    font-family: sans-serif !important;
    font-size: 14px !important;
    letter-spacing: 1px;
    color: var(--cor_inner);   
    background-color: var(--cor_on2);
    text-transform: uppercase;
}
.modal-content button.ok{
    background-color: var(--cor_on1);
}
    
.modal-content button:hover{
    background: var(--cor_on1);
}

.modal.danger{background-color:rgba(204,50,78,0.5)}
.modal.warning{background-color:rgba(208,164,63,0.5)}
.modal.info{background-color:rgba(47,131,191,0.5)}
.modal.success{background-color:rgba(192,206,57,0.5)}
    
.modal-content h1,.modal-content h2,.modal-content h3.modal-content h4.modal-content h5.modal-content h6{
    font-family: sans-serif !important;
    font-size: 20px !important;
    letter-spacing: 1px;
}


/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  text-align: right;
  margin-bottom:-10px;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
  }