﻿/**
    https://bootstrapdocs.com/v3.3.6/docs/css/#responsive-utilities

    xs: width < 768px   - entre 0 y 767px
    sm: >= 768px        - entre 768px y 991px
    md: >= 992px        - entre 992px y 1199px
    lg: >= 1200px       - mayor o igual a 1200px
*/


/* 
    Tablets y Mobile
*/
@media (max-width: 991px) {
    .container {
        width: 100%;
    }
    .menu-on-top aside#left-panel {
        height: 100%;
    }
    .menu-on-top aside#left-panel nav > ul > li > a {
        height: auto !important;
        border-right: none;
        border-left: none;
        background: #f3f3f3 !important;
    }
        .menu-on-top aside#left-panel #navegacion {
            height: 100%;
        }
        .menu-on-top aside#left-panel nav {
        height: 100% !important;
        padding-bottom: 0;
        overflow-y: auto !important;
    }

    #main {
        margin-bottom: 0 !important;
        padding-bottom: 36px;
    }

    /* profile elements */
    .profile-header-xs {
        height: 175px;
        padding-top: 5px;
    }
    .profile-header-xs .profile-pic {
        width: 108px;
        position: unset;
        float: none;
        margin: 0 auto;
        padding: 3px;
    }
    .profile-header-xs .profile-pic .profile-img {
        width: 100px;
        height: 100px;
    }
    .profile-header-xs h1 {
        text-align: center;
        padding-left: 0;
    }
    .side-container-xs {
        display: none;
    }

    /* Common classes */
    .mar-xs-top-5 { margin-top: 5px; }
    .mar-xs-bot-5 { margin-bottom: 5px; }
    .mar-xs-top-10 { margin-top: 10px; }
    .mar-xs-bot-10 { margin-bottom: 10px; }
}


/*
    Mobile
*/
@media (max-width: 767px) {

    /*
    Navigation
    */
    #header {
        padding-right: 10px;
    }
    #left-panel .container {
        width: 100%;
    }

    .smart-style-3 #content {
        padding: 0 !important;
    }

    #header > :first-child, aside {
        width: 100%;
    }

    /* table-ficha */
    .table-ficha tr td {
        display: block;
        width: 100% !important;
        clear: both;
        text-align: left !important;
    }
    /* table-list */
    .table-list thead {
        display: none;
    }
    .table-list tr td {
        display: block;
        width: 100%;
        clear: both;
        padding: 0px 10px !important;
        border-bottom: none !important;
    }
    .table-list tr td:first-child { padding-top: 10px !important; }
    .table-list tr td:last-child { padding-bottom: 10px !important; }


    /* Common classes */
    .mar-xs-top-5 { margin-top: 5px; }
    .mar-xs-bot-5 { margin-bottom: 5px; }
    .mar-xs-top-10 { margin-top: 10px; }
    .mar-xs-bot-10 { margin-bottom: 10px; }

    /* filtros */
    .filtro-elements td {
        display: block;
        width: 100%;
        clear: both;
        padding: 0px 10px !important;
    }

    /* pace */
    .pace .pace-activity {
        top: 57px;
        right: 17px;
    }
    /* breadcrumbs */
    #ribbon .breadcrumb {
        padding-top: 5px !important;
    }

    /* navigation */
    #logo {
        width: 100px !important;
    }
    #logo img {
        margin-top: -5px !important;
        width: 90px !important;
    }
    #logo-group {
        width: 210px !important;
    }
    .userdropdown {
        padding-right: 10px !important;
    }
    .userdropdown div:first-child {
        margin-right: 0 !important;
    }
    #hide-menu > :first-child > a {
        width: 24px !important;
        margin-top: 10px !important;
        font-size: 15px;
        line-height: 25px !important;
        height: 30px !important;
    }
    .mobile-detected.fixed-navigation nav > ul {
        padding-right: 0 !important;
    }
}

/* Tablets */
@media (min-width: 768px) and (max-width: 991px) {

    /* forms */
    .form-horizontal .control-label {
        text-align: left;
    }
}