﻿/*
    Los cmabios en el orden de los elementos estan en la linea 996
    o buscar el elemento   //<Modificada Tobias>
*/
/*PADDING OF MAIN HEADER, TO USE ALL SPACE*/

/*BORDER RADIUS OF POPUP WINDOW*/
.swal2-popup {   
    border-radius: 30px;
}

.swal2-close:hover {
    /*background: #0099CC;
    color: #ffffff;*/
}

/*
    Titulo del popup
*/
div:where(.swal2-container) h2:where(.swal2-title) {
    background: #626060 !important;
    color: #ffffff !important;
    border-radius: 25px 25px 0px 0px !important;
    border-bottom: 2px solid #000000 !important;
    box-sizing: border-box;
    padding: 0.2em 1em !important;
    text-transform: uppercase;
}
/*
    Icono
*/
div:where(.swal2-icon) {
    margin: .5em auto .3em !important;
}
/*
    Contenedor del mensaje o texto html
*/
div:where(.swal2-container) .swal2-html-container {
    padding: 0.2em 1.6em !important;
}

/*
    Contenedor de botones
*/
div:where(.swal2-container) div:where(.swal2-actions) {
    margin: 0.25em auto !important;
}

/*
    Contenedor principal (Window)
*/
div:where(.swal2-container) div:where(.swal2-popup) {
    padding: 0 !important;
}

/*
body {
    Se modifico el overflow para evitar que el contenido se mueva si existiese el scrollbar vertical

    overflow: auto!Important; 
}*/

/*
boton cerrar
*/

.swal2-close {
    background: initial!Important;
    border: none!Important;
    font-size: 45px!Important;
    color: #222020!Important;
    font-family: serif!Important;
    border-radius:0px!Important;
    max-height:30px!Important;
    font-weight:bold;
}

.swal2-close:hover {
    /*background: #efefef!Important;
    border-radius: 25px 25px 0px 25px!Important;
    width: 75px;*/
    color:#ffffff!Important;
    filter:initial!Important;
}


/*
    POPUP MANUAL
*/

.modal-open {
    overflow: hidden;
}

.fade {
  transition: opacity 0.15s linear;
}
.fade:not(.show) {
  opacity: 0;
}

.modal {
  position: fixed;
  top: 0px; /*-5px*/
  left: 0;
  z-index: 1050;
  display: none;
  width: 100%;
  height: 100%; /*95%*/
  overflow: hidden;
  outline: 0;
  align-items: center; 
  margin:auto; /*1.75rem auto;*/
  overflow-x: hidden;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 0.5rem;
  width:60%;
  background:#ffffff;
  text-align: center;
  border-radius: 25px;
}

.modal.fade .modal-dialog {
  transition: -webkit-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
  -webkit-transform: translate(0, -50px);
  transform: translate(0, -550px);
   margin:auto; /*1.75rem auto;*/

  /* animation: swal2-show .5s;*/

}

/*
    BOTONES
*/

/*
    ACEPTAR
*/
.swal2-confirm {
    background:var(--boton-confirmar-color)!Important;
    border-color:var(--boton-confirmar-borde)!Important;
}
/*
    CANCELAR
*/
.swal2-styled.swal2-cancel {
    border:solid 2px #5e5a5a!Important;
    font-size: 19px!Important; 
    background:var(--boton-cancelar-color)!Important;
    border-color:var(--boton-cancelar-borde)!Important;
}
/*
    PREVIEW
*/
.swal2-preview{
    background:var(--boton-preview-color)!Important;
    border-color:var(--boton-preview-borde)!Important;
}

/*
    DENEGAR
*/
.swal2-deny{
    background:var(--boton-deny-color)!Important;

    border: solid 2px var(--boton-deny-borde)!Important;
}



.modal.show .modal-dialog {
  /*-webkit-transform: none;*/
  transform: none;
  /*animation: swal2-toast-hide .1s forwards*/

}


/*Backdrop*/
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 200vw;
  height: 200vh;
  background-color: #000;
}
.modal-backdrop.fade {
  opacity: 0;
}
.modal-backdrop.show {
  opacity: .9;
}

/*
    CABECERA
*/
.modal-header {
    position: relative;
    max-width: 100%;
    margin: 0;
    padding: 0;
    color: #595959;
    font-size: 1.875em;
    font-weight: 600;
    text-align: center;
    text-transform: none;
    word-wrap: break-word;
    background:#e3e6e7;
    overflow:overlay;
    border-radius: 25px 25px 0px 0px!Important;
    min-height: 39px;
}
/*
TITULO
*/
.modal-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #626060 !important;
    color: #ffffff !important;
    border-radius: 25px 25px 0px 0px;
    border-bottom: 2px solid #000000;
    box-sizing: border-box;
    padding: 0.1em 1.7em 0em 0.5em !important;
    text-transform: uppercase;
    min-height: 40px;
}
/*
CONTENIDO
*/
.modal-content {
    padding: 0 1.1em;
    margin: 0;
    color: #545454;
    font-size: 1.125em;
    font-weight: 400;
    line-height: normal;
    text-align: center;
    word-wrap: break-word;

}

/*
BODY
*/
.modal-body {
  position: relative;
  flex: 1 1 auto;
}

/*
FOOT
*/
.modal-footer {
    min-height: 15px;
}