﻿/*!
 * Start Bootstrap - SB Admin Bootstrap Admin Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/* Global Styles */

body {
    margin-top: 3rem; /* valor por defecto desde 0 */
}

@media (min-width: 768px) {
    body {
        margin-top: 50px;
    }
}

#page-wrapper {
    width: 100%;
    padding: 0;
}

.huge {
    font-size: 50px;
    line-height: normal;
}

@media (min-width: 768px) {
    #wrapper {
        padding-left: 225px;
    }
}

/* Background Login*/

.background-login {
    background-image: url("../img/wallpaperSAI.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
    min-height: 20vh;
}

 /* Background Banner SAI*/

.banner {
      width: 100%;
      background-image: url('../img/bannerSAI.png');
      background-size: cover;
      background-position: center;
      background-repeat: repeat;
      min-height: 14vh;

      margin-left: -20px;

      display: flex;
    }

.bg-glass-n1 {
    background-color: rgba(100, 100, 100, 0.4); /* gris semitransparente */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* para Safari */
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bg-glass-n2 {
    background-color: rgba(255, 255, 255, 0.719);
    /* gris semitransparente */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* para Safari */
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Background Footer*/

footer {
    position: relative;
    margin-top: 14rem;
}

footer::before {
    content: "";
    position: absolute;
    top: -14rem;
    left: 0;
    right: 0;
    height: 14rem;
    background-color: white;
    z-index: -1;
}

.footer-pleca {
    background-size: auto 100%;
    background-position: center;
    background-repeat: repeat;
}

/* Top Navigation */

.top-nav {
    padding: 0 15px;
}

    .top-nav > li {
        display: inline-block;
        float: left;
    }

        .top-nav > li > a {
            padding-top: 15px;
            padding-bottom: 15px;
            line-height: 20px;
            color: #999;
        }

            .top-nav > li > a:hover,
            .top-nav > li > a:focus,
            .top-nav > .open > a,
            .top-nav > .open > a:hover,
            .top-nav > .open > a:focus {
                color: #fff;
                background-color: #000;
            }

    .top-nav > .open > .dropdown-menu {
        float: left;
        position: absolute;
        margin-top: 0;
        border: 1px solid rgba(0, 0, 0, .15);
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        background-color: #fff;
        -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
        box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    }

        .top-nav > .open > .dropdown-menu > li > a {
            white-space: normal;
        }

ul.message-dropdown {
    padding: 0;
    max-height: 250px;
    overflow-x: hidden;
    overflow-y: auto;
}

li.message-preview {
    width: 275px;
    border-bottom: 1px solid rgba(0, 0, 0, .15);
}

    li.message-preview > a {
        padding-top: 15px;
        padding-bottom: 15px;
    }

li.message-footer {
    margin: 5px 0;
}

ul.alert-dropdown {
    width: 200px;
}

/* Side Navigation */

@media (min-width: 768px) {
    .side-nav {
        position: fixed;
        top: 51px;
        left: 225px;
        width: 225px;
        margin-left: -225px;
        border: none;
        border-radius: 0;
        overflow-y: auto;
        background-color: #222;
        bottom: 0;
        overflow-x: hidden;
        padding-bottom: 40px;
    }

        .side-nav > li > a {
            width: 225px;
        }

        .side-nav li a:hover,
        .side-nav li a:focus {
            outline: none;
            background-color: #000 !important;
        }
}

.side-nav > li > ul {
    padding: 0;
}

    .side-nav > li > ul > li > a {
        display: block;
        padding: 10px 15px 10px 38px;
        text-decoration: none;
        color: #999;
    }

        .side-nav > li > ul > li > a:hover {
            color: #fff;
        }

/* Flot Chart Containers */

.flot-chart {
    display: block;
    height: 400px;
}

.flot-chart-content {
    width: 100%;
    height: 100%;
}

/* Custom Colored Panels */

.huge {
    font-size: 35px;
    margin-top: 14px !important;
}

.panel-green {
    border-color: #5cb85c;
}

    .panel-green > .panel-heading {
        border-color: #5cb85c;
        color: #fff;
        background-color: #5cb85c;
    }

    .panel-green > a {
        color: #5cb85c;
    }

        .panel-green > a:hover {
            color: #3d8b3d;
        }

.panel-red {
    border-color: #d9534f;
}

    .panel-red > .panel-heading {
        border-color: #d9534f;
        color: #fff;
        background-color: #d9534f;
    }

    .panel-red > a {
        color: #d9534f;
    }

        .panel-red > a:hover {
            color: #b52b27;
        }

.panel-yellow {
    border-color: #f0ad4e;
}

    .panel-yellow > .panel-heading {
        border-color: #f0ad4e;
        color: #fff;
        background-color: #f0ad4e;
    }

    .panel-yellow > a {
        color: #f0ad4e;
    }

        .panel-yellow > a:hover {
            color: #df8a13;
        }

.rectangle {
    background: white;
    border: 1px solid #eeeeee;
    border-radius: 3px 3px 0 0;
    margin: 10px 0 30px 0;
    moz-border-radius: 3px 3px 0 0;
    padding: 25px 25px;
    position: relative;
    webkit-border-radius: 3px 3px 0 0;
}

.fa-lg {
    font-size: 1.33333333em;
    line-height: 0.75em;
    vertical-align: -15%;
}

.fa-2x {
    font-size: 2em;
}

.fa-3x {
    font-size: 3em;
}

.fa-4x {
    font-size: 4em;
}

.fa-5x {
    font-size: 5em;
}

.fa-fw {
    width: 1.28571429em;
    text-align: center;
}

.fa-ul {
    padding-left: 0;
    margin-left: 2.14285714em;
    list-style-type: none;
}

    .fa-ul > li {
        position: relative;
    }

.fa-li {
    position: absolute;
    left: -2.14285714em;
    width: 2.14285714em;
    top: 0.14285714em;
    text-align: center;
}

    .fa-li.fa-lg {
        left: -1.85714286em;
    }

.fa-border {
    padding: .2em .25em .15em;
    border: solid 0.08em #eeeeee;
    border-radius: .1em;
}

.row-top {
    margin-top: 2em;
}

.modalBackground {
    background-color: Black;
    filter: alpha(opacity=90);
    opacity: 0.8;
}

.modalPopup {
    background-color: #FFFFFF;
    border-width: 3px;
    border-style: solid;
    border-color: black;
    padding-top: 10px;
    padding-left: 10px;
    width: 300px;
    height: 140px;
}

.textBold {
    font-weight: bold;
}

/* Pie de tabla*/
.paginacionGrid a,
.paginacionGrid span {
    display: inline-block;
    padding: 6px 12px;
    margin-left: 1px;
    color: black;
    text-decoration: none;
    border-radius: 0;
    line-height: 20px;
    font-size: 15px;
}

.paginacionGrid table tbody td:hover {
    background-color: #eee;
    color: #691C32;
    font-weight: bold;
}

.paginacionGrid table td {
    background-color: white;
}

.paginacionGrid span {
    font-weight: bold;
    color: white;
}

.paginacionGrid table td:has(span) {
    background-color: #691C32;
}

/* NavBar */

.custom-navbar {
    margin-top: 52px !important;
}

.mt-custom-h {
    line-height: .5;
}

.mt-custom {
    margin-top: 1.1rem; /* valor por defecto desde 0 */
}

@media (min-width: 768px) {
    .mt-custom {
        margin-top: 2rem; /* valor para md en adelante */
    }
}

@media (min-width: 992px) {
    .mt-custom {
        margin-top: 0.5rem; /* valor para md en adelante */
    }
}

/*Boton Agregar*/

.btn-agregar {
  color: #235B4E;
  background-color: #fff;
  border: 2px solid #235B4E;
  transition: all 0.2s ease-in-out;
}

.btn-agregar:hover {
  color: #fff;
  background-color: #235B4E;
  border: 2px solid #1d4d43;
}

.btn-agregar:focus, .btn-agregar.focus {
  box-shadow: 0 0 0 0.2rem rgba(35, 91, 78, 0.5);
}

.btn-agregar.disabled, .btn-agregar:disabled {
  color: #fff;
  background-color: #235B4E;
  border: 2px solid #1d4d43;
  opacity: 0.65;
}

.btn-agregar:not(:disabled):not(.disabled):active,
.btn-agregar:not(:disabled):not(.disabled).active,
.show > .btn-agregar.dropdown-toggle {
  color: #fff;
  background-color: #183f37;
  border: 2px solid #122f2a;
}

.btn-agregar:not(:disabled):not(.disabled):active:focus,
.btn-agregar:not(:disabled):not(.disabled).active:focus,
.show > .btn-agregar.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(35, 91, 78, 0.5);
}

.custom-border {
    border-width: 3px;
    border-style: solid;
    border-color: #DBDBDB;
}

.custom-border-agregar {
    border-width: 1px;
    border-style: solid;
    border-color: #DBDBDB;
    border-left: 4px solid #235B4E;
}

.custom-border-error {
    border-width: 1px;
    border-style: solid;
    border-color: #DBDBDB;
    border-left: 4px solid #9F2241;
}

/* Boton Copyclip */

.copy-icon {
    color: #6c757d;
    text-decoration: none;
    font-size: 2.5rem;
    margin-left: 8px;
    vertical-align: middle;
    transition: color 0.2s ease-in-out;
    outline: none; /* quita el borde azul en algunos navegadores */
}

.copy-icon:hover {
    color: #000;
    cursor: pointer;
}

.copy-icon:focus,
.copy-icon:active {
    color: #000;
    outline: none;
    box-shadow: none; /* para evitar efecto glow o sombra azul */
}

/* Estilos de Paneles*/

.lbtAlta {
    color: #235B4E;
}

.lbtEditar {
    color: #BC955C;
}

.lbtEliminar {
    color: #9F2241;
}

.lbtAlta:hover {
    color: rgb(160, 204, 194);
}

.lbtEditar:hover {
    color: #ffd595;
}

.lbtEliminar:hover {
    color: #ff81a1;
}

/* checkbox */

.checkbox-lg input[type="checkbox"] {
    transform: scale(1.5); /* Aumenta el tamaño */
    margin-right: 5px;
}

/* Sustitución de pantalla de carga */

  .pace, .pace .pace-progress, .pace .pace-activity {
    display: none !important;
  }

  #spinnerOverlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(255, 255, 255, 0.6); 
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #spinnerOverlay .circle {
    width: 50px;
    height: 50px;
    border: 6px solid #ccc;
    border-top: 6px solid #235B4E;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    to { transform: rotate(360deg); }
  }

  
  /* Toast */

  .toast-lg {
    font-size: 1.5rem;
    min-width: 400px;
    padding: 1.25rem 1.50rem;
    line-height: 1.8;
}

    .toast-container-custom {
      top: 1rem;
      right: 1rem;
      bottom: auto; 
      max-width: 100%;
    }

    @media (max-width: 576px) {
      .toast-container-custom {
        left: 55%;
        right: auto;
        transform: translateX(-50%);
        bottom: 1rem;
      }

        .toast-lg {
            font-size: 1.5rem;
            min-width: 300px;
            padding: 1rem .85rem;
            line-height: 1;
        }
    }
