/*--------------------------------------------------------------------------------------------------*/
/*############################################# MODALS #############################################*/
/*--------------------------------------------------------------------------------------------------*/
.modal-dialog { margin-top: 60px !important;}
.modal-header { padding: 6px 12px; }

.modal-header, .modal-footer {
  background-color: #E1E1E1;
  background-image: repeating-linear-gradient(-45deg, rgba(0,0,0, 0.08), rgba(0,0,0, 0.08) 1px, transparent 1px, transparent 7px);
  background-size: 10px 10px; 
  border-width: 3px;
  border-color: #9A9A9A;}

.rotulomodal {
  position: absolute;
  top: -10px;
  right: 7%;
  width: 50%;
  height: 40px;
  font-size: 18px;
  color: white;
  text-align: center;
  justify-content: center;
  display: flex;
  align-items: center;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  background: #00B58A;
  background-image: repeating-linear-gradient(45deg, rgba(0,0,0, 0.1), rgba(0,0,0, 0.1) 1px, transparent 1px, transparent 7px);
  background-size: 10px 10px;
  text-shadow: 1px 1px 2px black;
  box-shadow: 1px 1px 5px rgba(0,0,0,.7);}

.rotulomodal:before {
  content: "";
  position: absolute;
  right: -10px;
  top: -10px;
  width: 0; 
  height: 0; 
  border-right: 10px solid transparent;
  border-top: 10px solid transparent;
  border-bottom: 10px solid #00926F;}

.colorsuccess:before { border-bottom-color: #00926F; }
.colorerror:before {border-bottom-color: #7A0000;}

.modal-content { border-radius: 26px; background: transparent !important; }
.modal-dialog { border-radius: 15px; box-shadow: 0px 0px 8px black; }

.modal-header {
  border-top-left-radius: 16px; 
  border-top-right-radius: 16px; 
  text-align: center; 
  font-weight: bold; 
  color: black;}
.modal-header img {margin-right: 30px;}
.modal-title {font-weight: bold;}
.close {
  opacity: 1;
  position: absolute;
  top: 0;
  right: 0;
  margin: 20px 10px !important;
  color: black;
  font-size: 28px;
  font-weight: bold;}
.close:hover { opacity: 1; color: #950000; border-color: #950000; }

.modal-body {
  background: rgba(34,45,50,.7); 
  color: white;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  max-height: 360px; 
  overflow-y: auto;}

.modal-footer {
  border-bottom-left-radius: 16px; 
  border-bottom-right-radius: 16px; 
  text-align: center;}

.modal-footer button {box-shadow: 0 3px 6px rgba(0,0,0,.5);}
.modal-footer button:hover {border-color: #00FFC2;}