/* Estilos generales */

.top_bar {
    position: fixed;
    width: 100%;
    clear: both;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    background: linear-gradient(#07457E, #145D90);
    color: #ffffff;
    box-shadow: 2px 0px 2px #07457E;
    z-index: 100;
}

.top_bar a {
    color: #ffffff;
}

body {
    background-image: url(../img/bg.png);
    background-attachment: fixed;
    background-position: 50%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.main {
    margin-top: 49px;
    margin-left: 16.67%;
}

.main_collapsed {
    margin-left: 0 !important;
    width: 100%;
}

div.dataTables_wrapper div.dataTables_info {
    white-space: inherit !important;
}

.user_img {
    width: 24px;
    height: 24px;
}

.goTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    height: 50px;
}

.goTop-fab {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background-color: #5A95F5;
    vertical-align: middle;
    text-decoration: none;
    text-align: center;
    transition: 0.2s ease-out;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    color: #FFF;
}

.goTop-fab:hover {
    background-color: rgba(90, 149, 245, 0.8);
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 7px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -1px rgba(0, 0, 0, 0.2);
}

.goTop-btn-large {
    width: 60px;
    height: 60px;
    line-height: 60px;
}

.goTop-menu {
    position: absolute;
    right: 70px;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    height: 100%;
    width: 500px;
    list-style: none;
    text-align: right;
}

.goTop-menu li {
    display: inline-block;
    margin-right: 10px;
}

.goTop-card {
    position: absolute;
    right: 150px;
    bottom: 70px;
    transition: box-shadow 0.25s;
    padding: 24px;
    border-radius: 2px;
    background-color: #009688;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
    color: #FFF;
}

.goTop-card ul {
    -webkit-padding-start: 0;
    list-style: none;
    text-align: left;
}

.goTop-btn-person {
    background-color: #F44336;
}

.goTop-btn-person:hover {
    background-color: #e57373;
}

.goTop-btn-doc {
    background-color: #ffeb3b;
}

.goTop-btn-doc:hover {
    background-color: #fff176;
}

.goTop-btn-tangram {
    background-color: #4CAF50;
}

.goTop-btn-tangram:hover {
    background-color: #81c784;
}

.goTop-btn-report {
    background-color: #2196F3;
}

.goTop-btn-report:hover {
    background-color: #64b5f6;
}

.goTop-btn-feedback {
    background-color: #9c27b0;
}

.goTop-btn-feedback:hover {
    background-color: #ba68c8;
}

.scale-transition {
    transition: transform 0.3s cubic-bezier(0.53, 0.01, 0.36, 1.63) !important;
}

.scale-transition.scale-out {
    transform: scale(0);
    transition: transform 0.2s !important;
}

.scale-transition.scale-in {
    transform: scale(1);
}

.bs-reset {
    margin: 0;
    padding: 0;
}

#sidebar {
    /* position: fixed;
    overflow: auto; */
    top: 0;
    bottom: 0;
    position: fixed;
    overflow-y: hidden;
    overflow-x: hidden;
    z-index: 3;
    padding-top: 49px;
}

#sidebar .list-group {
    min-width: 300px;
    background: linear-gradient(#0A4A82, #3295B9);
    min-height: 100vh;
}

#sidebar i {
    margin-right: 6px;
}

#sidebar .list-group-item {
    border-radius: 0;
    background-color: transparent;
    color: #fff;
    border-left: 0;
    border-right: 0;
    border-color: #0A4A82;
    white-space: nowrap;
}

/* highlight active menu */

#sidebar .list-group-item:not(.collapsed) {
    background-color: #09467C;
}

/* closed state */

#sidebar .list-group .list-group-item[aria-expanded="false"]::after {
    content: " \f0d7";
    font-family: FontAwesome;
    display: inline;
    text-align: right;
    padding-left: 5px;
}

/* open state */

#sidebar .list-group .list-group-item[aria-expanded="true"] {
    background-color: #09467C;
}

#sidebar .list-group .list-group-item[aria-expanded="true"]::after {
    content: " \f0da";
    font-family: FontAwesome;
    display: inline;
    text-align: right;
    padding-left: 5px;
}

/* level 1*/

#sidebar .list-group .collapse .list-group-item,
#sidebar .list-group .collapsing .list-group-item {
    padding-left: 20px;
}

/* level 2*/

#sidebar .list-group .collapse>.collapse .list-group-item,
#sidebar .list-group .collapse>.collapsing .list-group-item {
    padding-left: 30px;
}

/* level 3*/

#sidebar .list-group .collapse>.collapse>.collapse .list-group-item {
    padding-left: 40px;
}

@media (max-width: 991px) {
    .main {
        margin-left: 25%;
    }
}

@media (max-width: 767px) {
    .main {
        margin-left: 0px;
    }
    #sidebar {
        min-width: 35px;
        max-width: 40px;
        overflow-y: auto;
        overflow-x: visible;
        transition: all 0.25s ease;
        transform: translateX(-45px);
        position: fixed;
    }
    #sidebar.show {
        transform: translateX(0);
    }
    #sidebar::-webkit-scrollbar {
        width: 0px;
    }
    #sidebar,
    #sidebar .list-group {
        min-width: 35px;
        overflow: visible;
    }
    /* overlay sub levels on small screens */
    #sidebar .list-group .collapse.show,
    #sidebar .list-group .collapsing {
        position: relative;
        z-index: 1;
        width: 190px;
        top: 0;
    }
    #sidebar .list-group>.list-group-item {
        text-align: center;
        padding: .75rem .5rem;
    }
    /* hide caret icons of top level when collapsed */
    #sidebar .list-group>.list-group-item[aria-expanded="true"]::after,
    #sidebar .list-group>.list-group-item[aria-expanded="false"]::after {
        display: none;
    }
}

.collapse.show {
    visibility: visible;
}

.collapsing {
    visibility: visible;
    height: 0;
    -webkit-transition-property: height, visibility;
    transition-property: height, visibility;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

.collapsing.width {
    -webkit-transition-property: width, visibility;
    transition-property: width, visibility;
    width: 0;
    height: 100%;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

/* Menú desplegable superior */

.dropdown-usermenu li a {
    width: 100%;
    padding: 12px 20px;
}

.dropdown-usermenu>li>a:focus,
.dropdown-usermenu>li>a:hover {
    color: #262626;
    text-decoration: none;
    background-color: #f5f5f5;
}

.dropdown-usermenu>li>a {
    color: #5A738E;
}

.dropdown-usermenu>li>a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #062E52;
    white-space: nowrap;
}

.dropdown-usermenu a {
    cursor: pointer;
}

.dropdown-usermenu {
    margin-top: 18px;
}

#overlay {
    display: none;
    position: fixed;
    background: #fff;
    z-index: 2048;
}

.preloader {
    position: absolute;
    width: 70px;
    height: 70px;
    border: 10px solid #eee;
    border-top: 10px solid #666;
    border-radius: 50%;
    animation-name: girar;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    z-index: 2048;
}

@keyframes girar {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.bs-reset {
    margin: 0;
    padding: 0;
}

.login {
    min-height: 100vh;
}

.user-login-5,
.login-bg,
.login-container {
    min-height: 100vh;
}

.login-bg {
    background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;
    position: relative;
    z-index: 0;
}

/* .login-logo {
    position: absolute;
    top: 2.5em;
    left: 2.5em;
} */

.login-container>.login-content {
    margin-top: 35%;
    padding: 0 80px;
}

.login-container>.login-content>h1 {
    font-size: 30px;
    font-weight: 300;
    color: #4e5a64;
}

.login-container>.login-content p {
    color: #a0a9b4;
    font-size: 15px;
    line-height: 22px;
    margin: 20px 0;
}

.login-form {
    margin-top: 80px;
    color: #a4aab2;
    font-size: 13px;
}

.user-login-5 .alert {
    margin-top: -60px;
}

.display-hide,
.display-none {
    display: none;
}

/* .login-container> */

.login-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding-bottom: 10px;
}

.login-footer .login-copyright {
    padding: 0 20px;
    margin-top: 6px;
}

.login-footer .login-copyright>p {
    margin: 0;
    font-size: 13px;
    color: #a9b5be;
}

.btn-outline-info {
    border: none;
    border-bottom: 2px solid #33b5e58c;
    outline: none !important;
    border-radius: 0;
}

.btn-outline-info:focus {
    box-shadow: none;
}

.card-header {
    background: transparent !important;
    color: #5484B8 !important;
    border-bottom-color: #5484B8;
}

@media (max-width:767px) {
    .login {
        min-height: 50vh;
    }
    .login-bg,
    .login-container {
        min-height: 50vh;
    }
    .login-container>.login-content {
        margin-top: 60px;
        padding: 0 40px;
    }
    .user-login-5 .alert {
        margin-top: -20px;
    }
    .login-container>.login-footer {
        position: relative;
        margin-top: 40px;
        padding-bottom: 0;
    }
    .login-footer .login-copyright {
        padding: 0 40px;
    }
}