:root {
    --bg-dark: rgb(45 59 72);
    --bg-success: #45b139;
    --bg-white: #fff;
}

.section-container {
    border-top: 1px solid #ddd;
    padding: 10px;
    margin: 0px;
    flex-shrink: 1 !important;
}

.section-container-main {
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0px 15px 0px 15px;
    padding: 0px 10px 10px 10px;
}

.square {
    width: 4px;
    height: 100%;
    background-color: #007bff;
    margin-right: 5px;
}

.h5-square {
    margin-bottom: 0px !important;
    font-weight: bold;
    color: #484848;
}

.title-style {
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: #DFEAF1;
    padding: 0px;
}

.section-container label {
    color: #005bbd !important;
}


#sidebar-container .logo {
    padding: .575rem;
}

#sidebar-container .menu {
    width: 15rem;
}

body {
    overflow: hidden;
}

    .font-face {
        font-family: 'open_sansregular', 'Times New Roman';
    }

.bg-dark {
    background-color: #214182 !important;
}

.btn-dark {
    color: var(--bg-white) !important;
    background-color: #214182 !important;
    border-color: #214182 !important
}


    .btn-success{
        background-color: var(--bg-success) !important;
        border-color: var(--bg-success) !important;
    }

    .btn-menu-hover:hover{
      color:var(--bg-dark) !important;
      background-color: var(--bg-white) !important;
      border-color:var(--bg-success) !important;
    }

    .bg-success{
      background-color: var(--bg-success) !important;
      border-color: var(--bg-success) !important;
    }

    .btn-outline-success{
       /* background-color: var(--bg-success) !important;*/
       border-color: var(--bg-success) !important;
    } 

    .btn-check:active+.btn-outline-success,.btn-check:checked+.btn-outline-success,.btn-outline-success.active,.btn-outline-success.dropdown-toggle.show,.btn-outline-success:active{color:#fff;background-color:var(--bg-success) !important;border-color:var(--bg-success) !important}.btn-check:active+.btn-outline-success:focus,.btn-check:checked+.btn-outline-success:focus,.btn-outline-success.active:focus,.btn-outline-success.dropdown-toggle.show:focus,.btn-outline-success:active:focus{box-shadow:0 0 0 .25rem rgba(25,135,84,.5)}

    .btn-outline-success:hover{color:#fff;background-color:var(--bg-success) !important;border-color:var(--bg-success) !important}

    /*.table-responsive{overflow-x: auto -23px;-webkit-overflow-scrolling:touch; width: 25%;}*/

#sidebar-container {
    display: block;
    min-height: 100vh;
}

    .link-menu{
      color: white;
    }


     /*.link-menu:hover {
        background-color: white;
        color: black !important;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
    }*/

    #sidebar-container .menu .nav-link:hover{
      background-color: white;
        color: black !important;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
    }

    a[aria-expanded=true]>span.menu-arrow {
      transform: rotate(90deg);
    }

    a:not(.collapsed)>span.menu-arrow {
-webkit-transform: rotate(90deg);
transform: rotate(90deg);
}

.menu-arrow {
-webkit-transition: -webkit-transform .15s;
transition: -webkit-transform .15s;
transition: transform .15s;
transition: transform .15s,-webkit-transform .15s;
position: absolute;
right: 30px;
display: inline-block;
font-family: 'Material Design Icons';
text-rendering: auto;
line-height: 1.5rem;
font-size: 1.1rem;
-webkit-transform: translate(0,0);
transform: translate(0,0);
}

    .link-menu::selection {
      background-color: white !important;
    }

    
    #content {
      overflow-y: auto;
      height: 100vh;
      padding-bottom: 5rem;
    }

    .avatar {
        max-width: 35px;
        margin-top: -15px;
        margin-bottom: -15px;
        margin-right: 5px;
    }

    .side-nav-second-level{
      padding-left: 2rem;
    }


    .bd-links {

        position: -webkit-sticky;
        position: sticky;
        top: 5rem;
        display: block !important;
        height: calc(100vh - 7rem);
        padding-left: .25rem;
        margin-left: -.25rem;
        overflow-y: auto;
    } 

    

    
    .bd-links::-webkit-scrollbar {
      -webkit-appearance: none;
    }

    .bd-links::-webkit-scrollbar:vertical {
      width:12px;
    }

    .bd-links::-webkit-scrollbar-button:increment,.bd-links::-webkit-scrollbar-button {
display: none;
} 



.bd-links::-webkit-scrollbar-thumb {
background-color: #73787c;
border-radius: 8px;
border: 1px solid #f1f2f3;
}


.bd-links::-webkit-scrollbar-track {
border-radius: 10px;
}

.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: auto;
}

.zindex {
  background-color: var(--bg-dark);
  z-index: 9999;
  opacity: 0.7;
}


.fondo{
  background-image: url('../img/fondo.jpg'); 
  background-repeat: no-repeat; 
  background-attachment: fixed; 
  background-size: 100% 100%;
}

/* Apartado agregado */

@media (min-width: 992px) {
    .full-height {
        height: 90vh;
    }
}

.line-divider {
    height: 4px;
}

.divider:after,
.divider:before {
    content: "";
    flex: 1;
    height: 1px;
    background: #303030;
}

.square {
    width: 4px;
    margin-right: 5px;
}

.h5-square {
    margin-bottom: 0px !important;
    color: #484848;
    font-size: 1.1em;
}

.title-style {
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 0px;
}

@media (max-width: 768px) {

    #sidebar-container {
        display:none;
    } 

    

    #sidebar-container {
        background-color: var(--bg-dark);
        z-index: 9999;
        position: absolute;
        top: 60px;
        opacity: 0.9;
    }

    #btn-collapse:checked ~ * .tab-content {
        display: none;
    }

}

@font-face {
    font-family: 'open_sansregular';
    src: url('../webfonts/OpenSans-Regular-webfont.eot');
    src: url('../webfonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'), url('../webfonts/OpenSans-Regular-webfont.woff2') format('woff2'), url('../webfonts/OpenSans-Regular-webfont.woff') format('woff'), url('../webfonts/OpenSans-Regular-webfont.ttf') format('truetype'), url('../webfonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}



