@media (min-width: 980px) {
}

@media (min-width: 768px) and (max-width: 979px) {

    .left-header a.logo img {
        height: 30px !important;
    }
}

@media (max-width: 768px) {

    .header {
        position: absolute;
    }

    /* HEADER: hide long disclaimer text on mobile.
       Keeps: hamburger + logo image + "Simulador de Derivados" title.
       Hides: "*La informacion es propiedad..." subtitle which caused
              the header to grow very tall on mobile screens. */
    .header-disclaimer {
        display: none !important;
    }

    /* Compact logo area so header stays ~60px tall on phones */
    .left-header a.logo > div {
        gap: 6px !important;
    }

    .left-header a.logo {
        margin-left: 8px;
    }

    /* WRAPPER: prevent page-level horizontal scroll on mobile.
       overflow-x: auto was the root enabler of horizontal scrolling.
       Inner tables use their own .grid-wrapper scroll container. */
    .wrapper {
        overflow-x: hidden !important;
    }

    /*sidebar*/

    #sidebar {
        height: auto;
        overflow: hidden;
        position: absolute;
        width: 100%;
        z-index: 1001;
        margin-top: 130px;
        width: calc(100% - 20px);
        margin-bottom: 34px;
    }


    /* body container */
    #main-content {
        margin: 0px !important;
        position: none !important;
        transition: none !important;
    }


    #sidebar > ul > li > a i {
        /*display: none !important;*/
    }

    .mail-info, .mail-info:hover {
        display: none !important;
    }

    #sidebar ul > li > a .arrow, #sidebar > ul > li > a .arrow.open {
        margin-right: 10px;
        margin-top: 15px;
    }

    #sidebar ul > li.active > a .arrow, #sidebar ul > li > a:hover .arrow, #sidebar ul > li > a:focus .arrow,
    #sidebar > ul > li.active > a .arrow.open, #sidebar > ul > li > a:hover .arrow.open, #sidebar > ul > li > a:focus .arrow.open {
        margin-top: 15px;
    }

    #sidebar > ul > li > a, #sidebar > ul > li > ul.sub > li {
        width: 100%;
    }

        #sidebar > ul > li > ul.sub > li > a {
            background: transparent !important;
        }

            #sidebar > ul > li > ul.sub > li > a:hover {
                /*background: #4A8BC2 !important ;*/
            }




    /* sidebar collabler */
    #sidebar .btn-navbar.collapsed .arrow {
        display: none;
    }

    #sidebar .btn-navbar .arrow {
        position: absolute;
        right: 35px;
        width: 0;
        height: 0;
        top: 48px;
        border-bottom: 15px solid #282e36;
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
    }


    /*---------*/

    .btn {
        margin-bottom: 5px;
    }


    .inbox-wrapper aside {
        display: none;
    }

    .inbox-wrapper section.inbox-body {
        margin-left: 0;
    }

    .row-fluid [class*="span"] {
        margin-left: 0;
    }

    .col-md-12, .col-sm-12, .col-xs-12 {
        width: 100% !important;
    }

    /* full calendar */
    .fc-header-title h2 {
        font-size: 14px;
    }

    .fc-header-right {
        display: none;
    }

    .fc-header-left .fc-button {
        padding: 2px 6px;
    }

    .fc-header-right .fc-button {
        padding: 2px 6px;
    }


    /* jvectormap */
    .map-stats-info {
        display: none !important;
    }



    /* profile */
    .profile-left .panel {
        min-height: 0px;
    }

    .profile-left {
        padding-right: 15px;
    }

    /* taskboard */
    .task-container .taskboard-col {
        width: 100% !important;
        float: none;
    }

    /*---*/
    .timeline-badge {
        left: 0;
    }

    .timeline-panel {
        width: 86%;
        float: right;
    }

        .timeline-panel:before {
            border-left-width: 0;
            border-right-width: 15px;
            left: -15px;
            right: auto;
        }

        .timeline-panel:after {
            border-left-width: 0;
            border-right-width: 14px;
            left: -14px;
            right: auto;
        }

    .timeline > li > .timeline-badge {
        top: 16px;
        left: 0px;
        margin-left: 0px;
    }

    .timeline > li.timeline-inverted {
        float: left;
        padding-left: 0;
        padding-right: 0;
    }

    .fc-header-title h2 {
        font-size: 14px;
    }

    .fc-header {
        display: block;
    }
}

@media (max-width: 740px) {
    .top-nav .username {
        display: none;
    }
}

@media (max-width: 687px) {
    #alert_notificatoin_bar .dropdown-menu.notification {
        left: -150px !important;
        width: 280px !important;
    }

    #alert_notificatoin_bar .dropdown-menu li {
        min-width: 0 !important;
        width: 100% !important;
    }

    .notification-row li .dropdown-menu.logout {
        right: -10px !important;
    }
}

@media (max-width:320px) {
    .header .top-nav .nav li {
        margin-left: 5px;
    }

    .top-nav .dropdown-menu.extended.logout {
        right: -100px !important;
    }

    .header .top-nav {
        margin-right: 0;
    }

        .header .top-nav .nav li {
            margin-left: 2px;
        }

            .header .top-nav .nav li a.dropdown-toggle {
                padding: 0;
            }

    .top-nav .nav .caret {
        display: none;
    }

    .header .left-header {
        max-width: 100px;
    }
}

@media (max-width:770px) {
    .top_tiles .animated-number {
        font-size: 16px;
    }

    .sparkline11 {
        display: none;
    }
}
