﻿/**
    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.menu-on-top aside#left-panel {
        background: #fff;
        background-image: none !important;
    }
    .smart-style-3.menu-on-top aside#left-panel nav > ul {
        padding-top: 15px;
        background: white;
    }
    .smart-style-3.menu-on-top aside#left-panel nav > ul > li {
        border: none !important;
    }
    .smart-style-3 nav > ul > li {
        background: #fff !important;
        background-image: none !important;
    }
    /* icono nav */
    .menu-on-top aside#left-panel nav > ul > li > a > i {
        font-size: 20px;
    }

    .smart-style-3.menu-on-top .menu-item-parent {
        font-size: 14px;
        font-weight: 500;
    }
    .smart-style-3.menu-on-top aside#left-panel nav > ul > li > a {
        border-bottom: none !important;
        padding: 10px 12px !important;
        margin: 0 7px;
        background: #fff !important;
        border: 1px solid #fff !important;
    }
    /* nav selected item */
    .smart-style-3.menu-on-top aside#left-panel nav > ul > li > a:hover {
        background-color: #ebf6fd !important;
        border: 1px solid #dcf0fb !important;
        border-radius: 7px;
    }
    /* nav sub menu container*/
    .menu-on-top aside#left-panel nav > ul li ul {
        width: 96%;
        margin-left: 2%;
        margin-right: 2%;
        border-radius: 7px;
        box-shadow: none;
        background: #f7f7f7 !important;
        border: 1px solid #f1f1f1;
    }
    /* nav sub menu item (dropdwon) */
    .smart-style-3.menu-on-top nav ul ul li a {
        font-size: 14px;
        padding: 10px 15px 10px 60px !important;
    }
    


    .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;
    }

    /* text align */
    .text-xs-align-right, .text-xs-right { text-align: right!important; }
    .text-xs-align-center, .text-xs-center { text-align: center!important; }
    .text-xs-align-left, .text-xs-left { text-align: left!important; }
    .pull-xs-right { float: right!Important; }
    .pull-xs-left { float: left!Important; }

    /* margin - padding */
    .m-xs-0 { margin: 0 !important; }
    .mt-xs-0, .my-xs-0 { margin-top: 0 !important; }
    .mr-xs-0, .mx-xs-0  { margin-right: 0 !important; }
    .mb-xs-0, .my-xs-0 { margin-bottom: 0 !important; }
    .ml-xs-0, .mx-xs-0 { margin-left: 0 !important; }
    .m-xs-1 { margin: 0.25rem !important; }
    .mt-xs-1, .my-xs-1 { margin-top: 0.25rem !important; }
    .mr-xs-1, .mx-xs-1 { margin-right: 0.25rem !important; }
    .mb-xs-1, .my-xs-1 { margin-bottom: 0.25rem !important; }
    .ml-xs-1, .mx-xs-1 { margin-left: 0.25rem !important; }
    .m-xs-2 { margin: 0.5rem !important; }
    .mt-xs-2, .my-xs-2 { margin-top: 0.5rem !important; }
    .mr-xs-2, .mx-xs-2 { margin-right: 0.5rem !important; }
    .mb-xs-2, .my-xs-2 { margin-bottom: 0.5rem !important; }
    .ml-xs-2, .mx-xs-2 { margin-left: 0.5rem !important; }
    .m-xs-3 { margin: 1rem !important; }
    .mt-xs-3, .my-xs-3 { margin-top: 1rem !important; }
    .mr-xs-3, .mx-xs-3 { margin-right: 1rem !important; }
    .mb-xs-3, .my-xs-3 { margin-bottom: 1rem !important; }
    .ml-xs-3, .mx-xs-3 { margin-left: 1rem !important; }
    .m-xs-4 { margin: 1.5rem !important; }
    .mt-xs-4, .my-xs-4 { margin-top: 1.5rem !important; }
    .mr-xs-4, .mx-xs-4 { margin-right: 1.5rem !important; }
    .mb-xs-4, .my-xs-4 { margin-bottom: 1.5rem !important; }
    .ml-xs-4, .mx-xs-4 { margin-left: 1.5rem !important; }
    .m-xs-5 { margin: 3rem !important; }
    .mt-xs-5, .my-xs-5 { margin-top: 3rem !important; }
    .mr-xs-5, .mx-xs-5 { margin-right: 3rem !important; }
    .mb-xs-5, .my-xs-5 { margin-bottom: 3rem !important; }
    .ml-xs-5, .mx-xs-5 { margin-left: 3rem !important; }
    .m-xs-6 { margin: 6rem !important; }
    .mt-xs-6, .my-xs-6 { margin-top: 6rem !important; }
    .mr-xs-6, .mx-xs-6 { margin-right: 6rem !important; }
    .mb-xs-6, .my-xs-6 { margin-bottom: 6rem !important; }
    .ml-xs-6, .mx-xs-6 { margin-left: 6rem !important; }
    .p-xs-0 { padding: 0 !important; }
    .pt-xs-0, .py-xs-0 { padding-top: 0 !important; }
    .pr-xs-0, .px-xs-0 { padding-right: 0 !important; }
    .pb-xs-0, .py-xs-0 { padding-bottom: 0 !important; }
    .pl-xs-0, .px-xs-0 { padding-left: 0 !important; }
    .p-xs-1 { padding: 0.25rem !important; }
    .pt-xs-1, .py-xs-1 { padding-top: 0.25rem !important; }
    .pr-xs-1, .px-xs-1 { padding-right: 0.25rem !important; }
    .pb-xs-1, .py-xs-1 { padding-bottom: 0.25rem !important; }
    .pl-xs-1, .px-xs-1 { padding-left: 0.25rem !important; }
    .p-xs-2 { padding: 0.5rem !important; }
    .pt-xs-2, .py-xs-2 { padding-top: 0.5rem !important; }
    .pr-xs-2, .px-xs-2 { padding-right: 0.5rem !important; }
    .pb-xs-2, .py-xs-2 { padding-bottom: 0.5rem !important; }
    .pl-xs-2, .px-xs-2 { padding-left: 0.5rem !important; }
    .p-xs-3 { padding: 1rem !important; }
    .pt-xs-3, .py-xs-3 { padding-top: 1rem !important; }
    .pr-xs-3, .px-xs-3 { padding-right: 1rem !important; }
    .pb-xs-3, .py-xs-3 { padding-bottom: 1rem !important; }
    .pl-xs-3, .px-xs-3 { padding-left: 1rem !important; }
    .p-xs-4 { padding: 1.5rem !important; }
    .pt-xs-4, .py-xs-4 { padding-top: 1.5rem !important; }
    .pr-xs-4, .px-xs-4 { padding-right: 1.5rem !important; }
    .pb-xs-4, .py-xs-4 { padding-bottom: 1.5rem !important; }
    .pl-xs-4, .px-xs-4 { padding-left: 1.5rem !important; }
    .p-xs-5 { padding: 3rem !important; }
    .pt-xs-5, .py-xs-5 { padding-top: 3rem !important; }
    .pr-xs-5, .px-xs-5 { padding-right: 3rem !important; }
    .pb-xs-5, .py-xs-5 { padding-bottom: 3rem !important; }
    .pl-xs-5, .px-xs-5 { padding-left: 3rem !important; }
    .p-xs-6 { padding: 6rem !important; }
    .pt-xs-6, .py-xs-6 { padding-top: 6rem !important; }
    .pr-xs-6, .px-xs-6 { padding-right: 6rem !important; }
    .pb-xs-6, .py-xs-6 { padding-bottom: 6rem !important; }
    .pl-xs-6, .px-xs-6 { padding-left: 6rem !important; }
    .m-xs-n1 { margin: -0.25rem !important; }
    .mt-xs-n1, .my-xs-n1 { margin-top: -0.25rem !important; }
    .mr-xs-n1, .mx-xs-n1 { margin-right: -0.25rem !important; }
    .mb-xs-n1, .my-xs-n1 { margin-bottom: -0.25rem !important; }
    .ml-xs-n1, .mx-xs-n1 { margin-left: -0.25rem !important; }
    .m-xs-n2 { margin: -0.5rem !important; }
    .mt-xs-n2, .my-xs-n2 { margin-top: -0.5rem !important; }
    .mr-xs-n2, .mx-xs-n2 { margin-right: -0.5rem !important; }
    .mb-xs-n2, .my-xs-n2 { margin-bottom: -0.5rem !important; }
    .ml-xs-n2, .mx-xs-n2 { margin-left: -0.5rem !important; }
    .m-xs-n3 { margin: -1rem !important; }
    .mt-xs-n3, .my-xs-n3 { margin-top: -1rem !important; }
    .mr-xs-n3, .mx-xs-n3 { margin-right: -1rem !important; }
    .mb-xs-n3, .my-xs-n3 { margin-bottom: -1rem !important; }
    .ml-xs-n3, .mx-xs-n3 { margin-left: -1rem !important; }
    .m-xs-n4 { margin: -1.5rem !important; }
    .mt-xs-n4, .my-xs-n4 { margin-top: -1.5rem !important; }
    .mr-xs-n4, .mx-xs-n4 { margin-right: -1.5rem !important; }
    .mb-xs-n4, .my-xs-n4 { margin-bottom: -1.5rem !important; }
    .ml-xs-n4, .mx-xs-n4 { margin-left: -1.5rem !important; }
    .m-xs-n5 { margin: -3rem !important; }
    .mt-xs-n5, .my-xs-n5 { margin-top: -3rem !important; }
    .mr-xs-n5, .mx-xs-n5 { margin-right: -3rem !important; }
    .mb-xs-n5, .my-xs-n5 { margin-bottom: -3rem !important; }
    .ml-xs-n5, .mx-xs-n5 { margin-left: -3rem !important; }
    .m-xs-n6 { margin: -6rem !important; }
    .mt-xs-n6, .my-xs-n6 { margin-top: -6rem !important; }
    .mr-xs-n6, .mx-xs-n6 { margin-right: -6rem !important; }
    .mb-xs-n6, .my-xs-n6 { margin-bottom: -6rem !important; }
    .ml-xs-n6, .mx-xs-n6 { margin-left: -6rem !important; }
    .m-xs-auto { margin: auto !important; }
    .mt-xs-auto, .my-xs-auto { margin-top: auto !important; }
    .mr-xs-auto, .mx-xs-auto { margin-right: auto !important; }
    .mb-xs-auto, .my-xs-auto { margin-bottom: auto !important; }
    .ml-xs-auto, .mx-xs-auto { margin-left: auto !important; }

}

/* Tablets */
@media (min-width: 768px) and (max-width: 991px) {

    /* forms */
    .form-horizontal .control-label {
        text-align: left;
    }
}