﻿body {
    /*padding-top: 50px;
    padding-bottom: 20px;*/
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}
.loadertextbox {
    background: url('../images/buscar2.gif') no-repeat right center;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}
.loader {
    background: url('../images/search.gif') no-repeat right center;
}

.box {
    background-color: #d8e1eb;
    min-height: 100px;
    overflow: hidden;
    border-radius: 3px;
    border: 1px solid #c0d3e4;
}

#reportContainer {
    position: fixed;
    top: 10%;
    left: 264px;
    bottom: 0;
    right: 0;
    overflow: auto;
}

#reportContainer.active {
    position: fixed;
    top: 10%;
    left: 87px;
    bottom: 0;
    right: 0;
    overflow: auto;
}


.alert-Error {
    width: 22%;
    background-color: #fb4233;
    border-radius: 3px;
}

.alert-Succes {
    width: 22%;
    background-color: #2fa731;
    border-radius: 3px;
}

.alert-Warning {
    width: 22%;
    background-color: #fb831b;
    border-radius: 3px;
}

.alert-Information {
    width: 22%;
    background-color: #148bba;
    border-radius: 3px;
}

.hide-row{
    display:none;
}

.line-2 {
    border-bottom: 1px solid #c0d3e4;
}
.panel{
    border:1px solid #c0d3e4 !important;
}

.no-text-wrapping {
    white-space: nowrap !important;
}

@media only screen and (max-width: 768px) {
    .popUp-mobile {
        width: 90% !important
    }
}

    .img-home {
        background: url('../images/CRMADH.jpg') no-repeat fixed;
        max-width: 100%;
        height: auto;
        height: 900px;
        top: 0px;
    }

.backimage2 {
    /*margin-top: 5%;*/
    background-image: url('../images/LogoAdh.png');
    background-repeat: no-repeat;
    background-size: 100% auto;
    position: sticky;
    width: 100%;
    height: 100%;
}
.backimage {
    background-image: url('../images/LogoAdh.png');
    background-repeat: no-repeat;
    background-size: contain; /* Ajusta la imagen proporcionalmente dentro del contenedor */
    background-position: center center; /* Centra la imagen horizontal y verticalmente */
    position: sticky;
    width: 100%;
    height: 100%;
}

    .select {
        background-color: white;
        color: #333;
        border: 1px solid #ccc;
        width: 100% !important;
        text-align: left !important;
        /*width: 280px;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;*/
    }

    .line-green {
        border-bottom: 2px solid #58A9F5;
        display: inline;
        /*margin-bottom: 15px;*/
    }

.line-blue {
    border-bottom: 2px solid #1f497d;
    display: inline;
    /*margin-bottom: 0px !important;*/
}
    button-green {
        background-color: #58A9F5;
        color: #fff;
    }

    backgroudcolor-blue {
        background-color: #2A3F54;
        color: #fff;
    }

.head-table {
    text-align: center !important;
    border: 1px solid #fff !important;
    background-color: #002F55 !important;
    color: #ffffff !important;
}

    .border-cell {
        border: 1px solid #dddddd !important;
    }

    .text-bold {
        font-weight: bold !important;
    }

    .text-green {
        color: #58A9F5 !important;
    }

    .padding-top-3 {
        padding-top: 3%;
    }

    .padding-buttom-3 {
        padding-bottom: 3%;
    }

    padding-left-3 {
        margin-left: 50% !important;
    }

    .btn-edit {
        background: url(../images/edit.png)no-repeat;
        display: inline-table;
        width: 24px;
        height: 24px;
        text-indent: -9999px; /* hides the link text */
    }

    .btn-gestion {
        background: url(../images/gestion.png)no-repeat;
        display: inline-table;
        width: 36px;
        height: 36px;
        text-indent: -9999px; /* hides the link text */
    }
.btn-gestion2 {
    background: url(../images/gestion2.png)no-repeat;
    display: inline-table;
    width: 36px;
    height: 36px;
    text-indent: -9999px; /* hides the link text */
}

    .btn-delete {
        background: url(../images/delete.png)no-repeat;
        display: inline-table;
        width: 24px;
        height: 24px;
        text-indent: -9999px; /* hides the link text */
    }

.btn-Audio1 {
    background: url(../images/ImgAudio1.png)no-repeat;
    display: inline-table;
    width: 72px;
    height: 72px;
    text-indent: -9999px; /* hides the link text */
}
.btn-soportes {
    background: url(../images/Consentimiento.png)no-repeat;
    display: inline-table;
    width: 62px;
    height: 62px;
    text-indent: -9999px; /* hides the link text */
}


.btn-Audio2 {
    background: url(../images/imgAudio2.png)no-repeat;
    display: inline-table;
    width: 80px;
    height: 80px;
    text-indent: -9999px; /* hides the link text */
}
    .btn-details {
        background: url(../images/details.png)no-repeat;
        display: inline-table;
        width: 24px;
        height: 24px;
        text-indent: -9999px; /* hides the link text */
    }

    .btn-Aceptar {
        background: url(../images/delete.png)no-repeat;
        display: inline-table;
        width: 24px;
        height: 24px;
        text-indent: -9999px; /* hides the link text */
    }

    .btn-filter {
        background: url(../images/filter.png) no-repeat;
        cursor: pointer;
        display: inline-table;
        border: none;
        width: 40px;
        height: 40px;
        text-indent: -9999px;
        background-color: #d7e4ef;
        border-radius: 3px;
    }
.btn-lupa {
    background: url(../images/buscar4.png);
    cursor: pointer;
    display: inline-table;
    border: none;
    width: 40px;
    height: 40px;
    text-indent: -9999px;
    background-color: #d7e4ef;
    border-radius: 3px;
}


        .btn-filter:hover {
            background-color: #c0d3e4;
            border-radius: 3px;
        }

    .space-1 {
        padding-bottom: 1%;
    }

    .space-1-2 {
        padding-bottom: 1%;
    }

    .space-1-3 {
        padding-bottom: 1.3%;
    }

    .space-1-6 {
        padding-bottom: 1.6%;
    }

    .space-2 {
        padding-bottom: 2%;
    }

    .space-3 {
        padding-bottom: 3%;
    }

    .space-4 {
        padding-bottom: 4%;
    }

    .space-4-2 {
        padding-bottom: 4.2%;
    }

    .space-5 {
        padding-bottom: 5%;
    }

    .space-6 {
        padding-bottom: 6%;
    }

    .space-7 {
        padding-bottom: 7%;
    }

    .space-8 {
        padding-bottom: 8%;
    }

    .space-9 {
        padding-bottom: 9%;
    }

    .space-10 {
        padding-bottom: 10%;
    }

    .space-12 {
        padding-bottom: 12%;
    }

    .space-13 {
        padding-bottom: 13%;
    }

    .space-14 {
        padding-bottom: 14%;
    }

    .space-15 {
        padding-bottom: 15%;
    }

    .space-16 {
        padding-bottom: 16%;
    }

    .space-17 {
        padding-bottom: 17%;
    }

    .space-18 {
        padding-bottom: 18%;
    }

    .space-20 {
        padding-bottom: 20%;
    }

.space-25 {
    padding-bottom: 25%;
}


    .space-30 {
        padding-bottom: 30%;
    }

    .space-40 {
        padding-bottom: 40%;
    }

    .space-50 {
        padding-bottom: 50% !important;
    }

    .space-60 {
        height: 60%;
    }

    .space-70 {
        height: 70%;
    }

    .space-80 {
        height: 80%;
    }

    /*estilo param Toggle Switch*/

    /* The switch - the box around the slider */
    .switch {
        position: relative;
        display: inline-block;
        width: 60px;
        height: 34px;
    }

        /* Hide default HTML checkbox */
        .switch input {
            display: none;
        }

    /* The slider */
    .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        -webkit-transition: .4s;
        transition: .4s;
    }

        .slider:before {
            position: absolute;
            content: "";
            height: 26px;
            width: 26px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            -webkit-transition: .4s;
            transition: .4s;
        }

    input:checked + .slider {
        background-color: #58A9F5;
    }

    input:focus + .slider {
        box-shadow: 0 0 1px #58A9F5;
    }

    input:checked + .slider:before {
        -webkit-transform: translateX(26px);
        -ms-transform: translateX(26px);
        transform: translateX(26px);
    }

    /* Rounded sliders */
    .slider.round {
        border-radius: 34px;
    }

        .slider.round:before {
            border-radius: 50%;
        }

.text-search{
    border:1px solid #dddddd !important;
    border-radius:2px;
    color:#333;
    width:100% !important;
}

.text-size-7 {
    font-size: 7pt !important;
}
.text-size-8{
    font-size:8pt !important;

}

.text-size-9 {
    font-size: 9pt !important;
}
.text-size-10 {
    font-size: 10pt !important;
}

.div-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: auto;
    height: 900px;
    /*white-space: nowrap;*/
}
.div-scroll2 {
    width: 100%;
    overflow-x: auto;
    overflow-y: auto;
    height: 300px;
    /*white-space: nowrap;*/
}


.btn-excel{

    border:none !important;
    background-color:#fff;
}


.loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url(../images/loader.gif) 50% 50% no-repeat rgba(249,249,249,0.9);
}

.glyphicon.spinning {
    animation: spin 1s infinite linear;
    -webkit-animation: spin2 1s infinite linear;
}

@keyframes spin {
    from {
        transform: scale(1) rotate(0deg);
    }

    to {
        transform: scale(1) rotate(360deg);
    }
}

@-webkit-keyframes spin2 {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

.color-estado-actual {
    background-color: #58A9F5;
    color:#fff;
}


/*Carrusel*/
/*
Fade content bs-carousel with hero headers
Code snippet by maridlcrmn (Follow me on Twitter @maridlcrmn) for Bootsnipp.com
Image credits: unsplash.com
*/

/********************************/
/*       Fade Bs-carousel       */
/********************************/
.fade-carousel {
    position: relative;
    height: 93vh;
}

    .fade-carousel .carousel-inner .item {
        height: 93vh;
    }

    .fade-carousel .carousel-indicators > li {
        margin: 0 0px;
        background-color: white;
        border-color: #1f497d;
        opacity: .7;
    }

        .fade-carousel .carousel-indicators > li.active {
            width: 10px;
            height: 10px;
            opacity: 1;
        }

/********************************/
/*          Hero Headers        */
/********************************/
.hero {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    color: #fff;
    text-align: center;
    /*text-transform: uppercase;*/
    text-shadow: 1px 1px 0 rgba(0,0,0,.75);
    -webkit-transform: translate3d(-50%,-50%,0);
    -moz-transform: translate3d(-50%,-50%,0);
    -ms-transform: translate3d(-50%,-50%,0);
    -o-transform: translate3d(-50%,-50%,0);
    transform: translate3d(-50%,-50%,0);
}

    .hero h1 {
        font-size: 6em;
        font-weight: bold;
        margin: 0;
        padding: 0;
    }

.fade-carousel .carousel-inner .item .hero {
    opacity: 0;
    -webkit-transition: 2s all ease-in-out .1s;
    -moz-transition: 2s all ease-in-out .1s;
    -ms-transition: 2s all ease-in-out .1s;
    -o-transition: 2s all ease-in-out .1s;
    transition: 2s all ease-in-out .1s;
}

.fade-carousel .carousel-inner .item.active .hero {
    opacity: 1;
    -webkit-transition: 2s all ease-in-out .1s;
    -moz-transition: 2s all ease-in-out .1s;
    -ms-transition: 2s all ease-in-out .1s;
    -o-transition: 2s all ease-in-out .1s;
    transition: 2s all ease-in-out .1s;
}

/********************************/
/*            Overlay           */
/********************************/
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #080d15;
    opacity: .1;
}

.boxcarrusel {
    background-color: rgba(0, 0, 0,0.3);
    border-radius: 3px;
    border:5px solid #fff;  
}


/********************************/
/*       Slides backgrounds     */
/********************************/
.fade-carousel .slides .slide-1,
.fade-carousel .slides .slide-2,
.fade-carousel .slides .slide-3,
.fade-carousel .slides .slide-4,
.fade-carousel .slides .slide-3 {
    height: 93vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.fade-carousel .slides .slide-1 {
    background-image: url(../images/Imagen1.jpg);
}

.fade-carousel .slides .slide-2 {
    background-image: url(../images/Imagen4.jpg);
}

.fade-carousel .slides .slide-3 {
    background-image: url(../images/Imagen3.jpg);
}
.fade-carousel .slides .slide-4 {
    background-image: url(../images/Imagen5.jpg);
}

.boxcarrusel {
    opacity: 0; /* Inicialmente oculto */
    transition: opacity 10s ease; /* Transición suave de la opacidad durante 0.5 segundos */
}

    .boxcarrusel.show {
        opacity: 0.5; /* Mostrar el elemento cuando tenga la clase 'show' */
    }



/********************************/
/*          Media Queries       */
/********************************/
@media screen and (min-width: 980px) {
    .hero {
        width: 980px;
    }
}

@media screen and (max-width: 640px) {
    .hero h1 {
        font-size: 4em;
    }
}



/********************************/
/*menu Vertical*/
/********************************/
p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #333;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    background: #fff;
    border: none;
    border-radius: 0;
    /*margin-bottom: 40px;*/
    /*padding: 15px 10px;*/
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

i,
span {
    display: inline-block;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    align-items: stretch;
    padding-top: 0px;
    overflow-y:visible;
    
}

#sidebar {
    /*min-width: 250px;
    max-width: 250px;
    background: #002F55;
    color: #fff;
    transition: all 0.3s;*/
    min-width: 250px;
    max-width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 999;
    background: #002F55;
    color: #fff;
    transition: all 0.3s;
}

    #sidebar.active {
        min-width: 85px;
        max-width: 85px;
        text-align: center;

    }

        #sidebar.active .sidebar-header h3,
        #sidebar.active .CTAs {
            display: none;
        }

        #sidebar.active .sidebar-header strong {
            display: block;

        }

    #sidebar ul li a {
        text-align: left;
    }

    #sidebar.active ul li a {
        padding: 20px 10px;
        text-align: center;
        font-size: 0.85em;
    }

        #sidebar.active ul li a i {
            margin-right: 0;
            display: block;
            font-size: 1.8em;
            margin-bottom: 5px;
        }

    #sidebar.active ul ul a {
        padding: 10px !important;
    }

    #sidebar.active .dropdown-toggle::after {
        top: auto;
        bottom: 10px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
    }

    #sidebar .sidebar-header {
        /*padding: 20px;*/
        padding-left: 20px;
        padding-right: 20px;
        /*background: #002F55;*/
    }

        #sidebar .sidebar-header strong {
            display: none;
            font-size: 1.8em;
        }

    #sidebar ul.components {
        /*padding: 20px 0;*/
        border-bottom: 1px solid #fff;
    }

    #sidebar ul li a {
        padding: 10px;
        font-size: 1.1em;
        display: block;
    }

        #sidebar ul li a:hover {
            color: #7386D5;
            background: #fff;
        }

        #sidebar ul li a i {
            margin-right: 10px;
        }

    #sidebar ul li.active > a,
    a[aria-expanded="true"] {
        color: #fff;
        background: #195DA1;
    }

 a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #0c3d6d;
}


ul.CTAs {
    padding: 20px;
}

    ul.CTAs a {
        text-align: center;
        font-size: 0.9em !important;
        display: block;
        border-radius: 5px;
        margin-bottom: 5px;
    }

a.download {
    background: #fff;
    color: #7386D5;
}

a.article,
a.article:hover {
    background: #195DA1 !important;
    color: #fff !important;
}

.glyphicon-color {
    color: #58A9F5;
}

#sidebar a[aria-expanded="false"]::before, #sidebar a[aria-expanded="true"]::before {
    content: '\e259';
    display: block;
    position: absolute;
    right: 20px;
    font-family: 'Glyphicons Halflings';
    font-size: 0.6em;
}

#sidebar a[aria-expanded="true"]::before {
    content: '\e260';
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

/*#content {
    width: 100%;
   
    min-height: 100vh;
    transition: all 0.3s;
}*/
/*padding: 20px;*/
#content {
    width: calc(100% - 250px);
    /*padding: 40px;*/
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
}

    #content.active {
        width: 100%;
        padding-left:77px;
    }


/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebar {
        min-width: 85px;
        max-width: 85px;
        text-align: center;
        margin-left: -85px !important;
    }

    .dropdown-toggle::after {
        top: auto;
        bottom: 10px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
    }

    #sidebar.active {
        margin-left: 0 !important;
    }

    #sidebar .sidebar-header h3,
    #sidebar .CTAs {
        display: none;
    }

    #sidebar .sidebar-header strong {
        display: block;
    }

    #sidebar ul li a {
        padding: 20px 10px;
    }

        #sidebar ul li a span {
            font-size: 0.85em;
        }

        #sidebar ul li a i {
            margin-right: 0;
            display: block;
        }

    #sidebar ul ul a {
        padding: 10px !important;
    }

    #sidebar ul li a i {
        font-size: 1.3em;
    }

    #sidebar {
        margin-left: 0;
    }

    #content {
        width: 100%;
    }
    #content.active {
        width: 100%;
    }

    #reportContainer {
        top: 240px;
        text-align: center;
        left:0px;
    }

        #reportContainer.active {
            top: 240px;
            text-align: center;
            margin-left: 0 !important;
        }


}

/*Encabezados tablas*/


body {
    margin: 0;
    padding: 2rem;
}

table {
    text-align: left;
    position: relative;
    border-collapse: collapse;
}

th, td {
    padding: 0.25rem;
}

tr.red th {
    background: red;
    color: white;
}

tr.green th {
    background: green;
    color: white;
}

tr.purple th {
    background: purple;
    color: white;
}

th {
    background: white;
    position: sticky;
    top: 0;
    box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4);
}

/*Notificac*/

.notice {
    padding: 15px;
    background-color: #fafafa;
    border-left: 6px solid #7f7f84;
    margin-bottom: 10px;
    -webkit-box-shadow: 0 5px 8px -6px rgba(0,0,0,.2);
    -moz-box-shadow: 0 5px 8px -6px rgba(0,0,0,.2);
    box-shadow: 0 5px 8px -6px rgba(0,0,0,.2);
}

.notice-sm {
    padding: 10px;
    font-size: 80%;
}

.notice-lg {
    padding: 35px;
    font-size: large;
}

.notice-success {
    border-color: #80D651;
}

    .notice-success > strong {
        color: #80D651;
    }

.notice-info {
    border-color: #002F55;
}

    .notice-info > strong {
        color: #002F55;
    }

.notice-warning {
    border-color: #e86b00;
}

    .notice-warning > strong {
        color: #e86b00;
    }

.notice-danger {
    border-color: #d73814;
}

    .notice-danger > strong {
        color: #d73814;
    }




