@import url(style.css);
@import url(../../global/css/style.css);

.logo-axis {
    max-width: 180px;
}

/*menus*/
.sidebar-nav > ul > li.active > a i {
    color: #ef5350;
}

.sidebar-nav > ul > li.active > a {
    color: #ef5350;
    font-weight: 500;
    border-left: 3px solid #fff;
}

.sidebar-nav ul li a.active {
    color: #ef5350;
    font-weight: 500;
}

.sidebar-nav ul li a:hover {
    color: #ef5350;
}
/* fin menus*/

.card-down {
    display: block !important;
    position: initial !important;
}

/* Estilos que sobre escriben los de template */
html, body {
    background-color: #eff3f6 !important;
}

.footer {
    background: #ffffff none repeat scroll 0 0;
    border-top: 1px solid rgba(120, 130, 140, 0.13);
    color: #67757c;
    padding: 17px 15px;
    position: absolute;
    right: 0;
    bottom: 0 !important;
    margin-bottom: 0px;
}

.header .top-navbar .navbar-header {
    line-height: 45px;
    text-align: center;
    background: #ef5350 !important;
}

.header {
    position: relative;
    z-index: 50;
    background: #ef5350 !important;
    box-shadow: 1px 0 5px rgba(0, 0, 0, 0.1);
    color: white !important;
}

.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    line-height: normal !important;
    vertical-align: top;
}

@media (max-width: 767px) {
    .mini-sidebar .page-wrapper {
        margin-left: 0;
        padding-top: 0px !important;
    }
}

.page-titles {
    margin: 0 0 10px !important;
}

.page-wrapper {
    padding-bottom: 40px !important;
}

.container-fluid {
    padding: 0 20px 25px !important;
}

.modal-header .close {
    font-size: 30px !important;
    padding: 1rem !important;
    margin: -1rem -1rem -1rem auto !important;
}

.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active, .open>.dropdown-toggle.btn-default {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

.btn:active, .btn.active {
    background-image: none;
    outline: 0;
    -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
}

.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

tbody tr td {
    font-family: 'Poppins', sans-serif;
    color: #2f3d4a !important;
}

textarea.input-sm {
    resize: vertical !important;
    height: auto !important;
}

#tabs-tramos-secciones #tramos-listado {
    border-bottom: 0 none;
    border-right: 1px solid rgba(120, 130, 140, 0.13);
    display: block;
    width: auto;
    max-height: 400px;
    overflow: scroll;
    padding-top: 2px;
}

#tramos-listado li .nav-link.active, #tramos-listado li .nav-link.active:focus, #tramos-listado li .nav-link:hover {
    border-radius: 0px !important;
}

#tabs-tramos-secciones #tramos-listado li .nav-link {
    margin-bottom: 2px;
}

#tabs-tramos-secciones #secciones-tabs {
    min-width: 430px;
}
@media (max-width: 679px) {
    /* Media query para tabs de tramos y secciones*/
    #tabs-tramos-secciones {
        width: 100%;
    }
    
    #tabs-tramos-secciones #tramos-listado {
        max-height: 200px;
    }

    #tabs-tramos-secciones #secciones-tabs {
        display: inline-block;
        min-width: 100%;
    }
}

@media (min-width: 576px) {
    .modal-lg {
        max-width: 90% !important;
        width: 90% !important;
    }
}
/* Fin estilos que sobre escriben */

/*--add image (Manage photos)--*/
.custom-file {
    position: initial!important;
    width: 150px;
    height: 150px;
    margin-bottom: 0;
    text-align: center;
    margin: 0 auto;
    cursor: pointer;
}

.custom-file-input {
    position: relative;
    z-index: 2;
    width: 100%;
    height: calc(2.25rem + 2px);
    margin: 0;
    opacity: 0;
}

.custom-file-edit {
    position: absolute; 
    right: 80px; 
    top: 22px;
    cursor: pointer;
}