﻿/*#region CSS por defecto*/
a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}
/*#endregion*/

/*#region CSS */

*, *::after, *::before {
    box-sizing: border-box;
}

input::-ms-reveal {
    display: none;
}

html {
    font-size: 62.5%;
    overflow: hidden;
}

body {
    font-size: 1.6rem;
    font-family: "Open Sans", sans-serif;
    color: #3e454c;
    background-color: #ffffff;
}

    body::after {
        clear: both;
        content: "";
        display: table;
    }

a {
    color: #f82213;
    text-decoration: none;
}
    a:link, a:visited {
        color: #f82213;
    }

    a:hover, a:active {
        color: #007f99;
    }

img {
    image-rendering: -webkit-optimize-contrast;
}

input {
    font-family: "Open Sans", sans-serif;
    font-size: 1.6rem;
}
    input[type=checkbox] {
        min-height: 15px;
    }

.form-control {
    font-size: 16px;
}

ol, ul {
    list-style: none;
}

.dropdown-menu {
    right: 0;
    left: auto;
    padding: 5px;
    font-size: inherit;
}

.dropup .dropdown-menu {
    top: auto;
    bottom: 100%;
    margin-top: 0;
    margin-bottom: 0.125rem;
    right: auto;
    left: 13px;
}

    .dropup .dropdown-menu a {
        padding-left: 5% !important;
    }

        .dropup .dropdown-menu a span {
            display: inline-block;
        }

.dropdown-config {
    min-width: 215px;
    background-color: #007f99 !important;
    border-color: #01362a !important;
}

    .dropdown-config a {
        color: #ffffff;
        display: inline-block !important;
    }

        .dropdown-config a:hover, .dropdown-config a:active, .dropdown-config a:focus {
            color: #ffffff;
            font-weight: bold;
        }

.form-row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
}
.form-group {
    margin-bottom: 1rem;
}

main {
    height: calc(100vh - 54px);
    overflow: hidden;
}

#main {
    overflow: auto;
    height: calc(100vh - 54px);
    -webkit-transition: margin 0.5s ease;
    -moz-transition: margin 0.5s ease;
    -o-transition: margin 0.5s ease;
    transition: margin 0.5s ease;
}

#main_content {
    margin: 15px 5px 5px 15px;
}

@media only screen and (min-width: 768px) {
    #main {
        margin: 0 0 0 200px;
    }

        #main.not_toggled {
            margin: 0 0 0 40px;
        }
}

/*#endregion*/

/*#region Header */
header {
    border-bottom: 1px solid #035340;
    z-index: 2;
}

#menu-toggle {
    cursor: pointer;
    font-size: 22px;
    padding: 5px 15px 5px 15px;
    position: relative;
    float: right;
    top: 10px;
    margin-bottom: 10px;
}

.menu-username_True {
    display: none;
}

@media only screen and (min-width: 768px) {
    header {
        border-bottom: none;
    }

    .menu-username_True {
        display: inline-flex;
    }
}
#notis_badge {
    background-color: maroon;
}
/*#endregion*/
/*#region Sidebar */
.cd-side-nav {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 0;
    padding: 39px 0 0 0;
    visibility: hidden;
    opacity: 0;
    max-height: 100vh;
    overflow: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-transition: opacity 0.2s 0s, visibility 0s 0.2s;
    -moz-transition: opacity 0.2s 0s, visibility 0s 0.2s;
    transition: opacity 0.2s 0s, visibility 0s 0.2s;
}

    .cd-side-nav.toggled {
        width: 100%;
        visibility: visible;
        opacity: 1;
    }

    .cd-side-nav .sideMenu span {
        display: none;
    }

    .cd-side-nav.toggled .sideMenu span {
        display: inline;
    }

    .cd-side-nav .sideMenu a {
        padding-left: 11px;
    }

.sideMenu {
    background-color: #212121;
    margin-top: 16px;
}
.cd-side-nav > ul {
    padding-top: 0 !important;
}

.cd-side-nav.nav-is-visible {
    opacity: 1;
    visibility: visible;
    overflow: visible;
    -webkit-overflow-scrolling: touch;
    -webkit-transition: opacity 0.2s 0s, visibility 0s 0s;
    -moz-transition: opacity 0.2s 0s, visibility 0s 0s;
    transition: opacity 0.2s 0s, visibility 0s 0s;
    max-height: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cd-side-nav > ul {
    padding: 0.6em 0;
}

    .cd-side-nav > ul:last-of-type {
        padding-bottom: 0;
    }

.cd-side-nav .cd-label, .cd-side-nav a {
    display: block;
    padding: 1em 5%;
}

.cd-side-nav .cd-label {
    font-weight: bold;
    color: #f82213;
}

.cd-side-nav a {
    font-size: 16px;
}

.cd-side-nav img {
    max-width: 20px;
    filter: invert(90%) sepia(100%) saturate(10005%) hue-rotate(118deg) brightness(44%) contrast(80%);
}

.cd-side-nav ul.cd-top-nav > li:last-of-type > a {
    border-bottom: none;
}

.cd-side-nav > ul > li > a {
    padding-left: calc(5% + 24px);
    color: #f82213;
}

.cd-side-nav i, .cd-side-nav span {
    /*color: #f82213;*/
}

.cd-side-nav i {
    width: 18px;
    text-align: center;
}

.cd-side-nav > ul > li.overview > a::before {
    background-position: -64px 0;
}

.cd-side-nav > ul > li.notifications > a::before {
    background-position: -80px 0;
}

.cd-side-nav > ul > li.comments > a::before {
    background-position: -48px 0;
}

.cd-side-nav > ul > li.bookmarks > a::before {
    background-position: -32px 0;
}

.cd-side-nav > ul > li.images > a::before {
    background-position: 0 0;
}

.cd-side-nav > ul > li.users > a::before {
    background-position: -16px 0;
}

.cd-side-nav .count {
    /* notification badge */
    position: absolute;
    top: 50%;
    bottom: auto;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    right: calc(5% + 16px + 0.4em);
    padding: 0.2em 0.4em;
    background-color: #ff7e66;
    border-radius: .25em;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
}

.cd-side-nav .action-btn a {
    display: block;
    margin: 0 5%;
    padding: 1em 0;
    background-color: #1784c7;
    border-radius: .25em;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-align: center;
    color: #ffffff;
    font-weight: bold;
}

    .cd-side-nav .action-btn a::before {
        display: none;
    }

.cd-side-nav > ul > li:not(.action-btn):hover > a {
    background-color: #878787;
}

#dropdownImpersonar {
    display: none;
}

@media only screen and (min-width: 768px) {
    .cd-side-nav {
        position: relative;
        float: left;
        top: auto;
        background-color: #212121;
        min-height: calc(100vh - 54px);
        padding-top: 0px;
        width: 40px;
        visibility: visible;
        opacity: 1;
        overflow: visible;
        max-height: none;
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
    }

        .cd-side-nav.toggled {
            width: 200px;
        }

        .cd-side-nav.nav-is-visible {
            box-shadow: none;
        }

        .cd-side-nav.is-fixed {
            position: fixed;
        }

        .cd-side-nav > ul {
            padding: 0.6em 0;
        }

        .cd-side-nav a {
            font-size: 16px;
        }

        .cd-side-nav > ul > li > a {
            padding: 1em 1em 1em 19px;
            text-align: left;
            border-bottom: none;
        }

            .cd-side-nav > ul > li > a::before {
                top: 50%;
                bottom: auto;
                -webkit-transform: translateY(-50%);
                -moz-transform: translateY(-50%);
                -ms-transform: translateY(-50%);
                -o-transform: translateY(-50%);
                transform: translateY(-50%);
                left: 18px;
            }

        .cd-side-nav .active > a {
            /* current page */
            box-shadow: inset 3px 0 0 #ffffff;
            background-color: #878787;
            color: #ffffff;
        }

        .cd-side-nav .action-btn a {
            margin: 1em 10% 0;
        }

        .cd-side-nav .count {
            height: 8px;
            width: 8px;
            border-radius: 50%;
            box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
            padding: 0;
            top: 2em;
            -webkit-transform: translateX(-50%);
            -moz-transform: translateX(-50%);
            -ms-transform: translateX(-50%);
            -o-transform: translateX(-50%);
            transform: translateX(-50%);
            left: calc(50% + 5px);
            right: auto;
            color: transparent;
        }

    #dropdownImpersonar {
        display: inline-block;
    }
}

@media only screen and (min-width: 1170px) {
    .cd-side-nav .cd-label {
        display: block;
        padding: 1em 18px;
    }

    .cd-side-nav .action-btn {
        text-align: left;
    }

        .cd-side-nav .action-btn a {
            margin: 0 18px;
        }

    .no-touch .cd-side-nav .action-btn a:hover {
        background-color: #1a93de;
    }

    .cd-side-nav .count {
        /* reset style */
        color: #ffffff;
        height: auto;
        width: auto;
        border-radius: .25em;
        padding: .2em .4em;
        top: 50%;
        bottom: auto;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
        right: 18px;
        left: auto;
        box-shadow: none;
    }
}

ul.sideMenu li a span {
    margin-left: 10px;
}

ul.sideMenu li a:hover {
    text-decoration: none !important;
}

#sideMenuFooter a {
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 14px;
}

@media only screen and (min-width: 768px) {
    #sideMenuFooter {
        position: absolute;
    }
}
/*#endregion*/

/*#region home*/
.home_btn {
    margin-bottom: 20px;
}

    .home_btn a {
        color: #333;
    }

    .home_btn img {
        filter: invert(90%) sepia(100%) saturate(10005%) hue-rotate(118deg) brightness(44%) contrast(80%);
        padding: 30px;
    }

    .home_btn .texto {
        display: block;
        text-align: center;
        font-weight: bold;
        color: #008da8;
        font-size: 20px;
    }

    .home_btn:hover .texto {
        color: #878787;
    }

    .home_btn:hover img {
        filter: invert(90%) sepia(100%) saturate(10005%) hue-rotate(118deg) brightness(44%) contrast(80%);
    }

    .home_btn span.border {
        width: 175px;
        height: 175px;
        margin: auto auto 15px auto;
        display: table;
    }

        .home_btn span.border i {
            font-size: 50px;
            text-align: center;
            vertical-align: middle;
            display: table-cell;
            color: #008da8;
        }
/*#endregion*/

/*#region Syncfusion*/
input::-moz-selection {
    color: #fff !important;
    background: #0087ff !important;
}
.e-control.e-btn.e-lib.e-primary.e-flat:hover, .e-control.e-btn.e-lib.e-primary.e-flat:focus, .e-control.e-btn.e-lib.e-primary.e-flat:active {
    background-color: transparent !important;
}
input::selection {
    color: #fff !important;
    background: #0087ff !important;
}
input:not([type='submit']):focus {
    border-color: #f82213 !important;
}
input[type='button']:focus {
    border-top-color: transparent !important;
    border-left-color: transparent !important;
    border-right-color: transparent !important;
}
input:focus ~ label.e-float-text, .e-input-focus ~ label.e-float-text {
    color: #f82213 !important;
}
.e-input-focus .e-float-text {
    color: #f82213 !important;
}
.e-pager .e-currentitem, .e-pager .e-currentitem:hover {
    background-color: #f82213 !important;
    color: #ffffff !important;
}
.e-float-line::before, .e-float-line::after, .e-input-focus::before, .e-input-focus::after {
    background-color: #f82213 !important;
}
.e-control.e-btn.e-lib.e-primary.e-flat {
    color: #f82213 !important;
}
.e-spinner-pane .e-spinner-inner .e-spin-material {
    stroke: #f82213 !important;
}
.e-toolbar .e-tbar-btn.e-btn .e-icons {
    color: #000 !important;
}
.e-dropdownbase .e-list-item.e-item-focus, .e-dropdownbase .e-list-item.e-active, .e-dropdownbase .e-list-item.e-active.e-hover, .e-dropdownbase .e-list-item.e-hover {
    color: #f82213 !important;
}

#Grid_dialogEdit_wrapper {
    min-width: 300px;
}
/*#endregion*/

/*#region arbol*/
#arbol {
    width: 100%;
}
    #arbol p {
        margin: 0 !important;
    }

        #arbol p:hover {
            background-color: rgb(238, 238, 238);
            cursor: pointer;
        }

@media only screen and (min-width: 768px) {
    #arbol {
        width: 500px;
    }
}

#arbol ul, #arbol li {
    margin: 0;
    padding: 0;
}

.seleccio {
    background-color: #e0e0e0 !important;
}

.flecha {
    font-size: 20px;
    vertical-align: middle;
    padding-bottom: 3px;
    padding-right: 20px;
}

.btn_color {
    color: #f82213 !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

    .btn_color:hover {
        border-bottom: 3px solid #ffffff !important;
        margin-bottom: -2px;
    }
    .btn_color:disabled {
        border-color: transparent !important;
        opacity: 0.5 !important;
        cursor: not-allowed !important;
    }

.btnGrid_color {
    background-color: #f82213 !important;
    color: #ffffff !important;
}

    .btnGrid_color:hover {
        background-color: #878787 !important;
    }
/*#endregion*/

.toast {
    font-size: 16px !important;
}

/*#region login*/

.login {
    position: relative;
    top: 15%;
    background-color: #fff;
    border-radius: 25px;
    padding: 2em;
}

#btn_login {
    background-color: #f82213;
    border: none;
    color: #ffffff;
    min-width: 200px;
    padding: 10px;
    font-size: 16px
}
    #btn_login:hover {
        color: #f82213;
        background-color: #212121;
    }

.htmlbackground {
    background-image: url('../Images/fondo.png');
    background-size: clamp(110px, 20vw, 130px);
    background-repeat: no-repeat;
    background-position: 5px 5px;
    background-color: #d1ebea;
}
.bodybackground {
    background-image: url('../Images/foot_login.png');
    background-repeat: no-repeat;
    background-position: calc(100% - 5px) calc(100% - 5px);
    background-color: transparent;
    overflow: hidden;
    position: relative;
}
    .bodybackground:before {
        content: '';
        overflow: hidden;
        position: absolute;
        top: 32%;
        left: -250vw;
        width: 600vw;
        height: 600vw;
        background-color: #e0f2f1;
        border-radius: 48% 52% 52% 48% / 48% 52% 48% 52%;
        z-index: -1;
    }

.btn-show-pass {
    font-size: 16px;
    color: #999999;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    position: absolute;
    height: 100%;
    top: 0;
    right: 0;
    padding-right: 5px;
    cursor: pointer;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
    z-index: 2;
}

    .btn-show-pass:hover {
        color: #6a7dfe;
        color: -webkit-linear-gradient(left, #21d4fd, #b721ff);
        color: -o-linear-gradient(left, #21d4fd, #b721ff);
        color: -moz-linear-gradient(left, #21d4fd, #b721ff);
        color: linear-gradient(left, #21d4fd, #b721ff);
    }

    .btn-show-pass.active {
        color: #6a7dfe;
        color: -webkit-linear-gradient(left, #21d4fd, #b721ff);
        color: -o-linear-gradient(left, #21d4fd, #b721ff);
        color: -moz-linear-gradient(left, #21d4fd, #b721ff);
        color: linear-gradient(left, #21d4fd, #b721ff);
    }


/*------------------------------------------------------------------
[ Input ]*/

input {
    outline: none;
    border: none;
}
.form-control:focus {
    border-color: inherit;
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: transparent;
}

.wrap-input100 {
    width: 100%;
    position: relative;
    border-bottom: 2px solid #adadad;
    margin-bottom: 37px;
}

.input100 {
    font-size: 16px;
    color: #555555;
    line-height: 1.2;
    display: block;
    width: 100%;
    height: 45px;
    background: transparent;
    padding: 0 5px;
    border: none;
}

/*---------------------------------------------*/
.focus-input100 {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: -10px;
    left: 0;
    pointer-events: none;
    transition: .5s;
}

input:-webkit-autofill {
    -webkit-box-shadow: 200px 200px 100px white inset;
    box-shadow: 200px 200px 100px white inset;
}

/*#endregion*/

#files {
    border: black;
    border-style: solid;
    background: aliceblue;
    border-style: dotted;
    padding-top: 70px;
    padding-left: 10px;
    padding-bottom: 10px;

}
input[type='file'] {
    color: transparent;
}

.buttonDocument {
    border:none !important;
    background-color: white !important;

}

.fa-trash:hover {
    color: red;
}

.modal-footer button {
    font-size: 14px;
}