﻿/* Importar la fuente Roboto */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;600&display=swap');

/* Aplicar la fuente Roboto a toda la página */
body {
    padding-top: 50px;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    color: #2A2A2A;
    background-color: #ECF0F5;
}
/*================================================ Barra superior de navegacion =======================================================*/
.navbar-custom {
    background-color: #2296c0;
    border-color: #ECF0F5;
}

.navbar-custom .navbar-header a {
    color: #ECF0F5 !important;
}

.navbar-custom .navbar-link {
    color: #ECF0F5 !important;
}

.navbar-custom .navbar-link:hover, .navbar-custom .navbar-link:focus {
    background-color: #ECF0F5 !important;
    color: #999 !important;
}
/*=====================================================================================================================================*/

/*================================================= Menu lateral de navegacion ======================================================= */
.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0;
    left: 0;
    background-color: #2296c0; /* Orange*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}

.sidenav ul li a {
    padding: 8px 25px 8px 25px;
    text-decoration: none;
    font-size: 16px;
    color: #ECF0F5;
    display: block;
    transition: 0.3s
}

.sidenav ul li a:hover,
.sidenav ul li a:active {
    color: #999 !important;
    background-color: #FFC67C !important;
}

.nav > li > a:hover, .nav > li > a:focus {
    color: #999 !important;
}

.active-menu {
    color: #999;
}

.sidenav .closebtn {
    text-decoration: none;
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;   
    color: #ECF0F5;
}

.sidenav .closebtn:hover {
    color: #999;
}

.sub-menu ul {
    list-style: none;
    visibility: hidden;
    display: none;
}

.sub-menu ul li a {
    font-size: 14px;
}

.active-sub-menu {
    visibility: visible !important;
    display: block !important;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }
}
/*=====================================================================================================================================*/

/*============================================================== Container ============================================================*/
.container{
    padding-top:15px;
}
/*=====================================================================================================================================*/


/*================================================= Paneles por defecto del sistema ===================================================*/
.panel-default > .panel-visible {
    background-color: #fcece9;
}

.panel-default > .panel-heading{
    background-color:#e7e7e7;
}

.panel-orange {
    border-color: #2296c0;
}

.panel-orange > a {
    text-decoration: none;
    color: #2A2A2A;
}

    .panel-orange > .panel-heading, .panel-orange .modal-header {
        color: #ECF0F5;
        background-color: #2296c0;
        border-color: #2296c0;
    }

.panel-light-orange {
    border-color: #2296c0;
}

.panel-light-orange > a {
    text-decoration: none;
    color: #2A2A2A;
}

.panel-light-orange .panel-heading, .panel-light-orange .modal-header {
    color: #ECF0F5;
    background-color: #2296c0;
    border-color: #2296c0;
}
/*=====================================================================================================================================*/

/*===================================================== Estilos para botones ==========================================================*/
.btn-green {
    color: #ECF0F5;
    background-color: #0B7444;
    border-color: #0B7444;
}

.btn-blue {
    color: #ECF0F5;
    background-color: #1E5A85;
    border-color: #1E5A85;
}

.btn-group-blue {
    color: #ECF0F5;
    background-color: #1E5A85;
    border-color: #396D91;
}

.btn-group-green {
    color: #ECF0F5;
    background-color: #0B7444;
    border-color: #349D6D;
}

.btn-orange {
    color: #ECF0F5;
    background-color: #BA4D28;
    border-color: #BA4D28;
}


.btn-group-blue.btn:hover {
    color: #ECF0F5;
    background-color: #396D91;
    border-color: #396D91;
}

.btn-group-green.btn:hover {
    color: #ECF0F5;
    background-color: #349D6D;
    border-color: #349D6D;
}

.btn-green.btn:hover {
    color: #ECF0F5;
    background-color: #349D6D;
}

.btn-blue.btn:hover {
    color: #ECF0F5;
    background-color: #396D91;
}

.btn-orange.btn:hover {
    color: #ECF0F5;
    opacity:0.9;
}

/*----Go to top button---*/
#goToTopBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #0B7444; /* Set a background color */
    color: #ECF0F5; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
}

#goToTopBtn:hover {
    background-color: #349D6D; /* Add a dark-grey background on hover */
}
/*-----------------------*/

/*------Circle buttons----------*/
.btn-position-top-left {
    position: fixed; /* Fixed/sticky position */
    top: 65px; /* Place the button at the bottom of the page */
    left: 10px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    cursor: pointer; /* Add a mouse pointer on hover */
}

.btn-circle {
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.428571429;
    border-radius: 15px;
}

.btn-circle.btn-lg {
    width: 50px;
    height: 50px;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.33;
    border-radius: 25px;
}

.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    font-size: 24px;
    line-height: 1.33;
    border-radius: 35px;
}
/*----------------------------------*/
/*=====================================================================================================================================*/


/*================================================== Estilos para formularios =========================================================*/

.form-control:focus {
    border-color: #349D6D;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(51, 155, 113, .6);
}

textarea {
    resize: none;
    font-family: Courier New;
    font-size: 16px;
    width: 100%;
}

.text-area {
    font-family: Courier New;
    font-size: 16px;
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
    background-color: #349D6D;
}

/*=====================================================================================================================================*/


/*============================================ Estilos del panel principal de inicio ==================================================*/
.custom-nav-tabs.nav-tabs > li.active > a {
    background-color: #84CFED;
    color: #ECF0F5;
    font-weight: 600;
}

.custom-nav-tabs.nav-tabs > li > a {
    color: #2A2A2A;
    font-weight: 600;
}

.custom-nav-tabs.nav-tabs.nav-justified > .active > a,
.custom-nav-tabs.nav-tabs.nav-justified > .active > a:hover,
.custom-nav-tabs.nav-tabs.nav-justified > .active > a:focus {
    border: 1px solid #0B7444;
}

.panel-heading.panel-heading-increse-padding{
    padding: 25px 20px;
}
.panel-heading.color_oculto {
    background-color: #fcece9;
}

.panel-title.green-text > a,
.panel-title.green-text > small,
.panel-title.green-text > .small,
.panel-title.green-text > small > a,
.panel-title.green-text > .small > a {
    color: #2A2A2A;
    font-weight: 600;
}

.tab-green-border {
    border: 1px solid #0B7444;
    border-radius: 0 4px 4px 4px;
}
/*=====================================================================================================================================*/

/*=========================================================== Estilos globales ========================================================*/
.remove-margin {
    margin: 0;
}

.remove-padding{
    padding:0 !important;
}

.bold-text{
    font-weight: 600;
}
.margin-bottom-20{
    margin-bottom: 20px;
}

.orange-border {
    border-color: #2296c0;
}

.page-header{
    border-bottom: 1px solid #2296c0;
}

.pagination{
    margin:0;
}

.table.table-custom > tbody > tr > td {
    padding: 15px;
}

.height-80{
    height:80px;
}

.modal-max-height{
    max-height: calc(100vh - 200px);
    overflow:scroll;
}

.modal-max-height-noscroll {
    max-height: calc(100vh - 200px);
}

.aumentaFuente-20{
    font-size:20px;
}

.resaltarTexto{
    color: #F3AA04;
    background-color: #FFFF96;
}
/*=====================================================================================================================================*/
/*================================================== Estilos para Validaciones ========================================================*/
.field-validation-error {
    color: #b22e2e
}

.validation-summary-errors {
    color: #ECF0F5;
    font-weight: 700;
    border: 1px solid #b22e2e;
    background-color: #b22e2e;    
    padding:10px;
    border-radius:4px;
    position:fixed;
    /*bottom:15px;*/
    top:10%;
    right:1%;
    /*left: 15%;*/
    z-index:10;
}

.validation-summary-errors ul {
    margin: 0;
    padding:0;
    list-style: none;
}

.panel-error {
    border-color: #b22e2e;
}

.panel-error > a {
    text-decoration: none;
    color: #2A2A2A;
}

.panel-error > .panel-heading, .panel-error .modal-header {
    color: #ECF0F5;
    background-color: #b22e2e;
    border-color: #b22e2e;
}
/*=====================================================================================================================================*/
/*========================================================== Tablas con scroll ========================================================*/

.table-fixed thead {
    width: 97%;
}

.table-fixed tbody {
    height: calc(100vh - 500px);
    /*height: 230px;*/
    overflow-y: auto;
    width: 100%;
}

.table-fixed thead,
.table-fixed tbody,
.table-fixed tr,
.table-fixed td,
.table-fixed th {
    display: block;
}

.table-fixed tbody td,
.table-fixed thead > tr > th {
    float: left;
    border-bottom-width: 0;
}

/*=====================================================================================================================================*/
/*============================================================ Barra de carga =========================================================*/
.pace {
    -webkit-pointer-events: none;
    pointer-events: none;

    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.pace-inactive {
    display: none;
}

.pace .pace-progress {
    background: #0b7444;
    position: fixed;
    z-index: 2000;
    top: 50px;
    right: 100%;
    width: 100%;
    height: 4px;
}
