﻿@import url('https://fonts.googleapis.com/css?family=Raleway:500,600|Ubuntu:400,700');



html {
    height: 100%;
}

body {
    font-family: 'Ubuntu', sans-serif;
    min-height: 100%;
    background-color: #eff3f8;
}
.navbar-right{
    margin-top:8px;
}

/*-----Side body-----*/
.side-body {
    margin-left: 260px;
    margin-bottom: 20px;
    margin-top:20px;
    transition: all 0.5s ease-in-out;
}

/*-----Media classes-----*/
.navbar-fixed-top {
    background-color: white;
    box-shadow: 0 3px 5px #00000005, 0 0 2px #0000000d, 0 1px 4px #00000014;
}



/*-----Side navigation bar-----*/

.side-menu {
    margin: 50px 0 0 30px;
    position: fixed;
    width: 300px;
    height: calc(100vh - 130px);
    background-color: #fff;
    border-right: 1px solid #e7e7e7;
    transition: all 0.5s ease-in-out;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 3px 5px #00000005, 0 0 2px #0000000d, 0 1px 4px #00000014;
    border-radius: 12px;
    display: flex;
    flex-direction: column; /* Esto permite que el footer se vaya abajo */
}
    .side-menu nav {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

.side-menu-container {
    flex: 1; /* Empuja el footer hacia abajo */
}
    .side-menu .navbar {
        border: none;
    }

    .side-menu .navbar-header {
        width: 100%;
        border-bottom: 1px solid #fff;
    }

    .side-menu .navbar-nav .active a {
        margin-right: -1px;
        transition: all 0.4s ease-in;
        color: #337ab7;
    }

    .side-menu .navbar-nav li {
        display: block;
        width: 100%;
    }

        .side-menu .navbar-nav li a {
            padding: 10px 25px;
        }

            .side-menu .navbar-nav li a .glyphicon {
                padding-right: 10px;
            }

.side-menu-footer {
    padding: 15px 25px;
    border-top: 1px solid #e7e7e7;
    background: #f8f8f8;
}

    .side-menu-footer a {
        color: black;
        text-decoration: none;
        display: block;
    }



/*-----Side body-----*/
.side-body {
    margin-left: 350px;
    margin-bottom: 20px;
    transition: all 0.5s ease-in-out;
}

/*.side-footer {
    margin-left: 260px;
    transition: all 0.5s ease-in-out;
}*/

/*-----Navbar-----*/
.navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover {
    background-color: #e7e7e7;
    margin-right: -1px;
    color: #337ab7;
    transition: all 0.2s ease-in
}

.navbar-right .dropdown-menu {
    right: 0;
    left: auto;
}

.navbar-nav {
    margin: 0;
}

.nav > li {
    float: left;
}

    .nav > li > a {
        padding: 12px;
    }

.navbar-right .fa-fw {
    border: 1px solid;
    width: 35px;
    border-radius: 50%;
    height: 35px;
    line-height: 35px;
    color: #fff;
    margin-right:15px;
}

.navbar-top-links .dropdown-messages, .navbar-top-links .dropdown-tasks, .navbar-top-links .dropdown-alerts {
    width: 310px;
}

.dropdown-menu {
    min-width: 260px;
}

.dropdown-tasks .progress {
    margin-bottom: 0;
}

.dropdown-alerts li div {
    line-height: 35px;
}

.dropdown-menu > li > a {
    white-space: normal;
}

.bell .fa-fw {
    background-color: #FF5722;
}

.task .fa-fw {
    background-color: #337ab7;
}

.user .fa-fw {
    background-color: #FFC107;
}

.envelope .fa-fw {
    background-color: #4CAF50;
}

/*-----Side navigation bar (extra)-----*/

.panel-heading {
    color: #fff;
}

.off {
    transform: translate(-330px);
}

.full-width {
    margin-left: 10px;
}

.menu {
    padding: 10px 12px;
    margin: 12px 0 0 190px;
}
@media screen and (max-width: 768px) {
    .menu {
        margin: 12px; /* Nuevo margen para pantallas pequeñas */
    }
}
.img-resize {
    position: relative;
    width: 200px;
    height: 200px;
    overflow: hidden;
    border: 2px solid #000;
}

header {
    height: 70px;
    background-color: #f8f8f8;
    padding: 0;
    border-bottom: 1px solid #e7e7e7;
}

.logo {
    background-color: white;
    width: 165px;
    height: 59px;
    line-height: 60px;
    transition: all 0.5s ease-in;
}

    .logo span {
        color: #fff;
        font-size: 18px;
    }

.huge {
    font-size: 50px;
}



/*-----Extra classes-----*/

.marr20 {
    margin-right: 20px;
}


::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background-color: #337ab7;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-button {
    background-color: #d9edf7;
}

::-webkit-scrollbar-corner {
    background-color: black;
}

/*-----Media classes-----*/

@media (max-width: 768px) {
    .navbar-right li:nth-child(n) {
        display: none;
    }

    .navbar-right li:last-child {
        display: block;
    }

    .side-menu {
        margin-left: -300px;
        z-index: 999;
    }

    .side-body {
        margin-left: 0;
    }

    .off {
        z-index: 999;
        transform: translate(300px);
    }

    .side-footer {
        margin-left: 0;
    }

    .logo {
        width: 195px;
    }

        .logo img {
            width: 90%;
        }

    .marr20 {
        margin-right: 0px;
    }
}

@media (max-width: 400px) and (min-width: 290px) {
    .logo {
        width: 150px;
    }
}
