@import "https://fonts.googleapis.com/css?family=Roboto:300,400,500,600,700";
body {
    font-family: 'Roboto', sans-serif;
    background: #fafafa;
    overflow-x: hidden;
    overflow-y: scroll;
}

p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.2em;
    color: #000000;
}

.div-submenu-bajo {
    overflow-x: hidden;
    overflow-y: scroll;
    height: 350px;
    max-width: 200px;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    padding: 15px 10px;
    background: #fff;
    z-index: 100;
    border: none;
    border-radius: 0;
    position: relative;
    margin-bottom: 5px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-custom {
    background: linear-gradient(268deg, #016fc6 71%, #fbfdff) !important;
    padding: 1px 1px !important;
}

.navbar-brand {
    padding-top: 1px!important;
    padding-bottom: 1px!important;
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

i,
span {
    display: inline-block;
}

.label-sm {
    padding-top: calc(0.25rem + 1px);
    margin-bottom: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

.modal-content {
    border-radius: 0.1px!important;
}


/* ---------------------------------------------------
SIDEBAR STYLE
----------------------------------------------------- */

.add-option {
    color: #b70002;
}

.wrapper {
    display: flex;
    width: 100%;
}

#sidebar {
    width: 200px;
    position: relative;
    top: 0;
    left: 0;
    height: auto;
    background: #f5f5f5;
    color: #b70002;
    transition: all 0.3s;
}

.div-sidebar {
    width: 210px;
    position: relative;
    top: 0;
    left: 0;
    height: 100vh;
    background: #f5f5f5;
    border-right: solid 10px #0072c5;
}

#sidebar ul li a {
    text-align: left;
}

#sidebar li>ul>li>a {
    color: #016fc6;
}

#sidebar .sidebar-header {
    padding: 4px;
    background: #0072c5;
}

#sidebar .sidebar-header strong {
    display: none;
}

#sidebar ul.components {
    padding: 1px 0;
    border-bottom: 1px solid #f5f5f5;
}

#sidebar ul li a {
    padding: 10px 3px 3px 10px;
    display: block;
    border-bottom: solid 1px rgba(65, 64, 64, 0.712);
}

#sidebar ul li a:hover {
    color: #016fc6;
    background: #fff;
}

#sidebar ul li a i {
    margin-right: 10px;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #b70002;
    background: #f5f5f5;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 10px;
    padding-left: 0px !important;
    background: #f5f5f5;
}

a.download {
    background: #fff;
    color: #f5f5f5;
}

a.article,
a.article:hover {
    background: #f5f5f5 !important;
    color: #fff !important;
}

.list-unstyled {
    margin-bottom: auto!important;
}


/* ---------------------------------------------------
CONTENT STYLE
----------------------------------------------------- */

#content {
    width: calc(100% - 215px);
    min-height: 100vh;
    position: absolute;
    transition: all 0.3s;
    right: 0;
    top: 70px;
}

#contenido p a,
#contenido td a {
    color: #b70002;
}

#contenido img {
    position: relative;
}

#contenido p {
    text-align: justify;
}

#contenido img {
    max-width: 100% !important;
    height: auto;
    display: block;
}


/*  */

.menu-primer-nivel ul {
    list-style: none;
    padding: 0rem 0.5rem;
}

.dropdown-submenu {
    position: relative;
    margin-left: .1rem;
    margin-right: .1rem;
}

.dropdown-submenu a::after {
    transform: rotate(-90deg);
    position: absolute;
    right: 6px;
    top: .8em;
}

.dropdown-submenu .dropdown-men {
    top: 10;
    width: 100%;
    margin-left: .1rem;
    margin-right: .1rem;
}

.dropdown-men {
    position: absolute;
    left: 0;
    z-index: 1000;
    display: block;
    float: left;
    width: 100%;
    padding: 0rem 0.5rem;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
}

.menu-activo {
    color: rgb(10, 10, 170);
}


/* ---------------------------------------------------
MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 991.98px) {
    #content {
        opacity: 1;
        width: 100%;
    }
    #content.active {
        transition: opacity 3s ease-out;
        opacity: 0;
        display: none;
    }
    .div-sidebar {
        transition: opacity 3s ease-out;
        opacity: 0;
        display: none;
        position: relative;
        min-width: 200px;
        max-width: 200px;
        margin-left: -205px !important;
    }
    .div-sidebar.active {
        display: block;
        opacity: 1;
        width: 250px;
        position: relative;
        z-index: 1024;
        margin-left: 0 !important;
    }
}