﻿body, html {
    position: static;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

a {
    background-color: transparent;
    text-decoration: none;
    color: #969696;
}

#alerta a:active, #alerta a:hover {
    outline: 0;
    color: black;
    padding: 0px!important;
}

/*a:active, a:hover {
    outline: 0;
    color: black;
    padding: 8px 15px;
}*/

.nav-link.active {
    color: black;
}

.user-info {
    padding: 8px;
    position: relative;
    color: white;
}

#imgFotoUsuario {
    width: 100px;
    height: 110px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.info-container {
    text-align: center;
}

/*Perfil*/
#btnAvatar {
    border-color: transparent;
    background-color: transparent;
}

#btnAvatar.focus, #btnAvatar:focus {
    -webkit-box-shadow: #343a40;
    -moz-box-shadow: #343a40;
    box-shadow: #343a40;
}

#bodyPerfil {
    background-color: black;
    color: white;
    padding: 10px;
}

.avatar {
    vertical-align: middle;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

contenedorPerfil {
    position: absolute;
    width: 200px;
    background-color: blue;
}

#collapsePerfil {
    width: 300px;
    float: right;
    position: absolute;
    z-index: 100;
    right: 0%;
}

/* banner */
#navBanner {
    width: 95%;
    height: 100%;
    padding: 0px;
}

#imgLogo {
    width: 240px;
    height: 108px;
    border-radius: 10px;
    float: left;
    position: absolute;
    right: 0px;
    top: 5px;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 600ms, visibility 600ms;
    transition: opacity 600ms, visibility 600ms;
}

#imgLogoRHW {
    width: 240px;
    height: 70px;
    cursor: pointer;
    display: block;
    margin: auto 1rem;
    margin-right: 2rem;
}

#contenedorDegradado {
    width: calc(100% - 240px);
    height: 120px;
    background: linear-gradient(-90deg, #2c7aa6,ghostwhite);
}

#contenedorLogoRHW {
    width: 60%;
    max-width: 1000px;
    position: absolute;
    display: flex;
    margin-left: 56px;
    background-color: ghostwhite;
    float: left;
    left: 0px;
    top: 0px;
}

#imgUser {
    width: 100%;
    height: 80%;
}

@media screen and (max-width: 910px) {
    #contenedorLogoRHW {
        width: 55%;
    }
}

@media screen and (max-width: 810px) {
    #contenedorLogoRHW {
        width: 52%;
    }
}

@media screen and (max-width: 810px) {
    #contenedorLogoRHW {
        width: 52%;
    }
}

@media screen and (max-width: 760px) {
    #contenedorLogoRHW {
        width: 50%;
    }
}

@media screen and (max-width: 730px) {
    #imgLogoRHW {
        width: 180px;
    }

    #contenedorDegradado {
        width: calc(100% - 180px);
    }

    #contenedorLogoRHW {
        width: 47%;
    }
}

@media screen and (max-width: 690px) {
    #contenedorLogoRHW {
        display: none;
    }
}


#bodyPerfil a, #bodyPerfil a:hover, #bodyPerfil a:active {
    color: white;
    text-decoration: none;
}

/* top bar */
.sidebar {
    background-color: #80878b;
    transition: all 0.5s ease-in-out;
    height: 88.1vh;
    width: 300px;
    z-index: 100;
    position: fixed;
    margin-top: 120px;
    overflow: auto;
    height:100%;
}

.bg-defoult {
    background-color: #80878b;
}

.sidebar ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.sidebar li a, .sidebar li a.collapsed.active {
    display: block;
    padding: 8px 17px;
    color: #fff;
    border-left: 0px solid #dedede;
    text-decoration: none;
}

.sidebar li a.active {
    background-color: #80878b;
    border-left: 5px solid #505658;
    transition: all 0.5s ease-in-out;
    padding: 8px 15px;
}

.sidebar li a:hover {
    background-color: #4b98c4 !important;
}

.sidebar li a i {
    padding-right: 5px;
}

.sidebar ul li .sub-menu li a {
    position: relative;
    background-color: #2c7aa6;
}

.sidebar ul li .sub-menu li a:before {
    content: "\f178";
    font-family: FontAwesome;
    display: inline-block;
    padding-left: 0px;
    padding-right: 10px;
    vertical-align: middle;
}

.sidebar ul li .sub-menu li a:hover:after {
    content: "";
    position: absolute;
    left: -5px;
    top: 0;
    width: 5px;
    background-color: #505658;
    height: 100%;
}

.sidebar ul li .sub-menu li a:hover {
    padding-left: 20px;
    transition: all 0.5s ease-in-out;
}

.sub-menu {
    border-left: 5px solid #E8E9E5;
}

.sidebar li a .nav-label, .sidebar li a .nav-label + span {
    transition: all 0.5s ease-in-out;
}

.sidebar.fliph li a .nav-label, .sidebar.fliph li a .nav-label + span {
    display: none;
    transition: all 0.5s ease-in-out;
}

.sidebar.fliph {
    width: 55px;
    transition: all 0.5s ease-in-out;
    position: fixed;
    z-index: 100;
    margin-top: 120px;
}

.sidebar.fliph li {
    position: relative;
}

    .sidebar.fliph .sub-menu {
        position: fixed;
        left: 39px;
        top: 0;
        background-color: #222;
        width: auto;
        z-index: 100;
        height:auto;
        overflow-y: auto;
    }

.navbar-toggler {
    position: relative;
    right: 14px;
    height: 46px !important;
    width: 50px;
    padding: 0px;
}

.fa-fw {
    text-align: left;
}

.navbar-dark .navbar-toggler {
    border-color: transparent;
    color: white;
}

.navbar-dark .navbar-toggler {
    border-color: transparent !important;
}

#btnMenu:focus {
    outline: 0;
}

.bg-rhw {
    height: 120px;
    background-color: #2c7aa6;
    width: 100%;
    position: fixed;
    z-index: 100;
}

#btnSalir {
    border-color: #f0f8ff00;
    color: white;
}

#imgLogo:focus, #imgLogoRHW:focus {
    outline-color: transparent !important;
}

/*Scrollbar*/
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.1);
    background-color: #F5F5F5;
    border-radius: 10px;
}

::-webkit-scrollbar {
    width: 10px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #FFF;
    background-image: -webkit-gradient(linear, 40% 0%, 40% 100%,from(#030303c7),to(#000000b5),color-stop(.6,#919691));
}

input[type=checkbox] {
    height: 18px;
    width: 18px;
}

.datepicker {
    width: calc(100% - 35px);
    display: inline-block;
}

.datepickerSinFeriadosDomingos, .datepickerRangoDinamico {
    width: calc(100% - 35px);
    display: inline-block;
}

.yearpicker {
    width: 80%;
    display: inline-block;
}

/* The switch - the box around the slider */
.switch {
    top: 5px;
    position: relative;
    display: inline-block;
    width: 40px;
    height: 24px;
    margin-bottom: 0px;
}

    /* Esconder el checkbox por defecto de HTML*/
    .switch input {
        display: none;
    }

/*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: 16px;
        width: 16px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #2196F3;
}

.banner {
    background-image: url('../Images/banner.svg');
    background-size: cover;
    padding-bottom: 14%;
    height: 100px;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(16px);
    -ms-transform: translateX(16px);
    transform: translateX(16px);
}

.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

table.dataTable.nowrap th, table.dataTable.nowrap td {
    padding: 8px 10px;
}

/* Pantallas responsive */
#row-contenedor {
    margin-left: 0px;
    margin-top: 70px;
    width: 100%;
}

#col-contenedor {
    margin-left: auto;
    margin-right: auto;
}

#div-contenedor {
    margin-left: 54px;
    margin-top: 80px;
    display: inline-block;
    width: calc(100% - 54px);
}


@media screen and (max-width: 675px) {

    .dataTables_length {
        width: 100%;
        text-align: left !important;
    }

    .dataTables_filter {
        width: 100%;
        text-align: left !important;
    }
}

/* Centrar modal */
.modal-dialog-centered {
    height: calc(100% - (.5rem * 2));
}

@media (min-width:576px) {
    .modal-dialog-centered {
        height: calc(100% - (1.75rem * 2));
    }
}

.modal-body {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}
/*Efecto de Cargar*/
@import url(https://fonts.googleapis.com/css?family=Raleway:400,800,200);

body {
    background-color: #3498db;
}

#loader-container {
    color: white;
    margin: 0 auto;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

#imgLoader {
    height: 110px;
    width: 110px;
    margin-bottom: 10px;
    margin-left: 15px;
}

#loadingText {
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
    font-size: 30px;
    position: absolute;
}

@-webkit-keyframes borderScale {
    0% {
        border: 5px solid white;
    }

    50% {
        border: 25px solid #3498db;
    }

    100% {
        border: 5px solid white;
    }
}

@keyframes borderScale {
    0% {
        border: 5px solid white;
    }

    50% {
        border: 25px solid #3498db;
    }

    100% {
        border: 5px solid white;
    }
}

#modalLoading div .modal-content {
    border: 0 !important;
}

.letras_mayuscula {
    text-transform: uppercase;
}

.modal-body {
    background-color: #e6e9ea;
}

.modal-header {
    background-color: white;
}

.dataTables_paginate.paging_simple_numbers {
    overflow-x: auto;
}

.dataTables_filter input {
    width: 75% !important;
}

/*Modal color blanco*/
.modal-blanco .modal-body {
    background-color: white;
}

.modal-blanco .modal-footer {
    background-color: #e9ecef;
    border-top-color: white;
    border-top-width: medium;
}

.modal-blanco .modal-title {
    color: white;
}

#modalLoading {
    background: rgba(68, 68, 68, 0.93) !important;
    z-index: 1500 !important;
}

textarea {
    resize: none;
}

.btn-redondo {
    border-radius: 1.25rem;
}

/* Lineas */
#contenedorLogo {
    width: 350px;
    background-color: ghostwhite;
    position: absolute;
    display: flex;
    height: 100%;
    float: right;
    right: 0;
    border-top-left-radius: 200px;
    bottom: 0px;
}

#lineaColor1 {
    background-color: darkgray;
    width: 20px;
    height: 100%;
    transform: skew(-20deg);
    margin-left: 10px;
}

#lineaColor2 {
    background-color: #6b6464;
    width: 20px;
    height: 100%;
    transform: skew(-20deg);
    margin-left: 10px;
}

#lineaColor3 {
    background-color: #3c3a3a;
    width: 20px;
    height: 100%;
    transform: skew(-20deg);
    margin-left: 10px;
}

#linea-blanca {
    width: 100px;
    height: 100%;
    background: ghostwhite;
    position: absolute;
    right: 217px;
    z-index: -2;
}

@media screen and (max-width: 480px) {

    #imgLogo {
        width: 190px !important;
        right: -5px;
    }

    #contenedorLogo {
        width: 270px;
    }

    #linea-blanca {
        width: 100px;
        right: 135px;
    }

}

@media screen and (max-width: 320px) {

    #imgLogo {
        width: 125px !important;
        top: 5px;
        right: -10px;
    }

    #contenedorLogo {
        width: 200px;
    }

    #linea-blanca {
        right: 65px;
    }

}

@media screen and (max-width: 250px) {
    #contenedorLogo {
        display: none;
    }
}

/* tab mobile */
@media screen and (max-width: 576px) {
    
    .div-pills {
        display: flex;
        width: 100%;
    }

    .nav.nav-pills {
        overflow: auto;
        display: -webkit-inline-box;
    }
    
    .nav.nav-pills::-webkit-scrollbar { 
        display: none;
    }

    .nav.nav-tabs {
        overflow: auto;
        display: -webkit-inline-box;
    }
    
    .nav.nav-tabs::-webkit-scrollbar { 
        display: none;
    }

}

/* Check personalizados */

@keyframes check {0% {height: 0;width: 0;}
    25% {height: 0;width: 10px;}
    50% {height: 20px;width: 10px;}
}

.checkbox{
    background-color:#fff;
    display:inline-block;
    height:28px;
    width:28px;
    border-radius:4px;
    border:1px solid #ccc;
    padding: 0;
    margin: 0;
}

.checkbox span{
    display:block;
    height:28px;
    position:relative;
    width:28px;
    padding:0
}

.checkbox span:after{
    -moz-transform:scaleX(-1) rotate(135deg);
    -ms-transform:scaleX(-1) rotate(135deg);
    -webkit-transform:scaleX(-1) rotate(135deg);
    transform:scaleX(-1) rotate(135deg);
    -moz-transform-origin:left top;
    -ms-transform-origin:left top;
    -webkit-transform-origin:left top;
    transform-origin:left top;
    border-right:4px solid #fff;
    border-top:4px solid #fff;
    content:'';
    display:block;
    height:20px;
    left:3px;
    position:absolute;
    top:15px;
    width:10px
}

.checkbox span:hover:after{
    border-color:#999
}

.checkbox input{
    display:none
}

.checkbox input:checked + span:after{
    -webkit-animation:check .8s;
    -moz-animation:check .8s;
    -o-animation:check .8s;
    animation:check .8s;
    border-color:#555
}

.checkbox input:checked + .default:after{
    border-color:#444
}

.checkbox input:checked + .primary:after{
    border-color:#2196F3
}

.checkbox input:checked + .success:after{
    border-color:#8bc34a
}

.checkbox input:checked + .info:after{
    border-color:#3de0f5
}

.checkbox input:checked + .warning:after{
    border-color:#FFC107
}

.checkbox input:checked + .danger:after{
    border-color:#f44336
}

/* Mejora tabs responsive */
.nav.nav-tabs {
    width:100%;
}

table.dataTable>tbody>tr.child:hover {
    background: white;
}

.dtr-details {
    width:100%;
}

/* Configuración para celulares */
@media screen and (max-width: 432px) {

    #row-contenedor {
        margin-top: 10px;
    }

    #div-contenedor {
        margin-left: 0px;
        width: 100%;
    }

    .sidebar.fliph {
        display: none
    }

    .bg-rhw {
        height: 80px;
    }

    #imgLogo {
        top: -10px;
    }

    .sidebar {
        margin-top: 80px;
    }

    #lineaColor1 {
        margin-left: 8px;
    }

}

/* Boleta Firmada */

.fa.fa-ban:before {
    color: gray;
}

.fa.fa-cloud-upload:before {
    color: #007bff;  
}

.fa.fa-file-text-o:before {
    color: cadetblue;
}


/* Start by setting display:none to make this hidden.
   Then we position it in relation to the viewport window
   with position:fixed. Width, height, top and left speak
   for themselves. Background we set to 80% white with
   our animation centered, and no-repeating */
#modalLoading {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
}


.datepickerSinFeriadosDomingos {
    width: calc(100% - 35px);
    display: inline-block;
}


.datepickerIncapacidad, .datepickerAccionD {
    width: calc(100% - 35px);
    display: inline-block;
}


/*
Full screen Modal 
*/
.modal-full {
    width: 100vw;
    height: 100vh;
}

#modal_full_dialog {
    margin: 0 !important;
    height: 100% !important;
}

#modal_full_content {
    width: 100vw;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
}

#modal_full_conten_body {
    padding: 0;
    overflow:hidden !important;
    max-height: 100%!important;
}

#modal_full_header {
    background-color: rgb(96, 99, 101);
    height: 70px;
    border-bottom-color: rgb(96, 99, 101);
}


.btnModalPDF {
    cursor: pointer;
}