@media (min-width: 480px) and (max-width: 767px) {
    .header {
        position: relative !important;
        margin-top: 45px !important;
    }

    .merge-header {
        margin-right: 0px !important;
    }

    .brand {
        width: 100%;
        float: none;
        position: fixed;
        top: 0px;
        z-index: 1005;
    }

    .sidebar-toggle-box {
        right: 10px;
    }

    .top-nav {
        margin-bottom: 20px;
    }

    .top-menu {
        margin-right: 10px;
    }

    .wrapper {
        margin-top: 0px;
    }

    ul.sidebar-menu {
        margin-top: 0px;
    }

    #sidebar {
        position: fixed !important;
        z-index: 10002;
        top: 45px;
    }

    #main-content {
        margin-left: 0px;
    }

    section#timeline > article.inverted > div.panel .panel-body {
        text-align: center !important;
    }
}

@media (max-width:767px) {
    .nav-tabs {
        display: flex !important;
        width: 100%;
    }

    .sidebar-toggle-box {
        float: right;
        position: absolute;
        top: 0;
    }

    .logo {
        margin: .8vh 1vw !important;
    }

    .tab-content {
        padding: 0 5px !important;
    }

    .nav-tabs > li.active > a,
    .nav-tabs > li.active > a:hover,
    .nav-tabs > li.active > a:focus {
        background-color: #e1edf9;
        font-weight: 700;
        border: 0;
        border-radius: 6px;
    }

    #sidebar {
        margin-left: -240px;
        -webkit-transition: all .3s ease-in-out;
        -moz-transition: all .3s ease-in-out;
        -o-transition: all .3s ease-in-out;
        transition: all .3s ease-in-out;
    }

    .hide-left-bar {
        margin-left: 0px !important;
    }

    ul.sidebar-menu {
        padding-top: 0px;
    }

    section#timeline > article.inverted > div.panel .panel-body {
        text-align: center !important;
    }
}

@media (max-width: 479px) {
    .header {
        position: relative !important;
        font-size: 8pt;
        margin-top: 45px;
    }

    .id-cabecalho {
        margin: 5px 0 !important;
    }

    .merge-header {
        margin-right: 0px !important;
    }

    .brand {
        width: 100%;
        float: none;
        position: fixed;
        top: 0px;
        z-index: 1005;
    }

    .sidebar-toggle-box {
        right: 10px;
    }

    .top-nav {
        margin-bottom: 20px;
    }

    .top-menu {
        margin-right: 10px;
    }

    .wrapper {
        margin-top: 0px;
        padding: 5px 0;
    }

    ul.sidebar-menu {
        margin-top: 0px;
    }

    #sidebar {
        position: fixed !important;
        z-index: 10002;
        top: 45px;
    }

    #main-content {
        margin-left: 0px;
    }
    /* alteração do bootstrap para versão mobile */
    .col-xs-12 {
        padding-right: 5px !important;
        padding-left: 5px !important;
    }

    .panel-body {
        padding: 5px 10px;
    }

        .panel-body .row {
            margin: 0;
            overflow-x: auto;
        }

    .btn .btn-danger {
        margin-top: 5px;
    }

    .input-group-btn .btn {
        margin-top: 0;
    }

    section#timeline > article.inverted > div.panel .panel-body {
        text-align: center !important;
    }
}


.hover {
    z-index: 9999 !important;
}

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    vertical-align: top !important;
    /**white-space:nowrap;**/
}

@media screen and (orientation:portrait) and (max-width:1024px) {
    .tooltip {
        position: fixed !important;
    }
}


/*** ipad pro vertical ***/

@media screen and (orientation:portrait) and (min-width:769px) and (max-width:1024px) {
    .logo {
        height: 2.5vh !important;
        margin: 0.25vh 2vw !important;
    }

    .panel-heading ul {
        display: flex !important;
        overflow-x: auto !important;
    }

    section#timeline {
        overflow: initial !important;
    }

    ul#timeline-menu {
        overflow-x: auto !important;
        display: flex !important;
    }

    .affix {
        overflow: initial !important;
    }

    .nav-tabs {
        display: flex;
        overflow: auto;
        height: 50px;
    }

    .nav-tabs > li > a {
        white-space: nowrap;
     }

    .tooltip {
        margin-top: calc(20% - 30px);
        margin-right: calc(10% - 100px);
    }

    span {
        white-space: nowrap;
    }
}

/*** ipad pro horizontal ***/

@media screen and (orientation:landscape) and (min-width:1024px) and (max-width:1366px) {
    .logo {
        height: 3.5vh !important;
        margin: .25vh 2vw !important;
    }

    .panel-heading ul {
        display: flex !important;
        overflow-x: auto !important;
    }

    section#timeline {
        overflow: initial !important;
    }

    ul#timeline-menu {
        overflow-x: auto !important;
        display: flex !important;
    }

    .affix {
        overflow: initial !important;
    }

    .nav-tabs {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        height: 50px;
    }

    .nav-tabs > li > a {
        white-space: nowrap;
    }

    .tooltip {
        margin-top: calc(30% - 30px);
        margin-right: calc(50% - 100px);
    }

    span {
        white-space: nowrap;
    }
}


/*** ipad comum horizontal ***/

@media screen and (orientation:landscape) and (min-width:769px) and (max-width:1024px) {
    .logo {
        height: 5vh !important;
        margin: .25vh 2vw !important;
    }

    .panel-heading ul {
        display: flex !important;
        overflow-x: auto !important;
    }

    section#timeline {
        overflow: initial !important;
    }

    ul#timeline-menu {
        overflow-x: auto !important;
        display: flex !important;
    }

    .affix {
        overflow: initial !important;
    }

    /*.nav-tabs {
        display: flex;
        overflow: auto;
        height: 50px;
    }*/

    .nav-tabs > li > a {
        white-space: nowrap;
    }

    .tooltip {
        margin-top: calc(30% - 30px);
        margin-right: calc(50% - 100px);
    }

    span {
        white-space: nowrap;
    }
}


/*** ipad comum vertical ***/

@media screen and (orientation:portrait) and (min-width:600px) and (max-width:768px) {
    .logo {
        height: 3vh !important;
        margin: 0.35vh 3vw !important;
    }

    .wrapper {
        padding: 10px 0;
    }

    .panel-body .row {
        overflow-x: auto;
        margin: 0;
    }

    .panel-heading ul {
        display: flex !important;
        overflow-x: auto !important;
    }
    .panel-default {
        display: block;
        overflow-x: auto;
    }

    .btn .btn-danger {
        white-space: pre-line;
    }

    section#timeline {
        overflow: initial !important;
    }

    ul#timeline-menu {
        overflow-x: auto !important;
        display: flex !important;
    }

    .affix {
        overflow: initial !important;
    }

    .header label {
        font-size: 8pt;
        margin-top: 15px !important;
    }

    .nav-tabs {
        display: flex;
        overflow: auto;
        height: 50px;
    }

    .nav-tabs > li > a {
        white-space: nowrap;
    }

    .tooltip {
        margin-top: calc(15% - 30px);
        margin-right: calc(50% - 100px);
        transform: translate(50%, 50%);
    }

    span {
        white-space: nowrap;
    }
}

@media screen and (orientation:landscape) and (min-width:600px) and (max-width:768px) {
    .logo {
        height: 3vh !important;
        margin: 0.35vh 3vw !important;
    }

    .panel-heading ul {
        display: flex !important;
        overflow-x: auto !important;
    }

    .btn .btn-danger {
        white-space: pre-line;
    }

    section#timeline {
        overflow: initial !important;
    }

    ul#timeline-menu {
        overflow-x: auto !important;
        display: flex !important;
    }

    .affix {
        overflow: initial !important;
    }

    ul#timeline-menu {
        overflow-x: auto;
        display: flex;
        padding-left: 0;
    }

    .nav-tabs {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        height: 50px;
    }

    .buscaSus {
        margin-top: 5px !important;
    }

    .col-xs-1,
    .col-xs-2,
    .col-xs-3,
    .col-xs-4,
    .col-xs-5,
    .col-xs-6,
    .col-xs-7,
    .col-xs-8,
    .col-xs-9,
    .col-xs-10,
    .col-xs-11,
    .col-xs-12,
    .col-sm-1,
    .col-sm-2,
    .col-sm-3,
    .col-sm-4,
    .col-sm-5,
    .col-sm-6,
    .col-sm-7,
    .col-sm-8,
    .col-sm-9,
    .col-sm-10,
    .col-sm-11,
    .col-sm-12,
    .col-md-1,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9,
    .col-md-10,
    .col-md-11,
    .col-md-12,
    .col-lg-1,
    .col-lg-2,
    .col-lg-3,
    .col-lg-4,
    .col-lg-5,
    .col-lg-6,
    .col-lg-7,
    .col-lg-8,
    .col-lg-9,
    .col-lg-10,
    .col-lg-11,
    .col-lg-12 {
        margin: 5px 0;
    }

    .nav-tabs > li > a {
        white-space: nowrap;
    }

    span {
        white-space: nowrap;
    }
}


/*** iphone X vertical ***/

@media screen and (orientation:portrait) and (max-width:375px) {
    .logo {
        height: 4vh !important;
        margin: 0.4vh 1vw !important;
    }

    .panel-heading ul {
        display: flex !important;
        overflow-x: auto !important;
    }

    .btn .btn-danger {
        white-space: pre-line;
    }

    section#timeline {
        overflow: initial !important;
    }

    .affix {
        overflow: initial !important;
    }

    ul#timeline-menu {
        overflow-x: auto;
        display: flex;
        padding-left: 0;
    }

    .nav-tabs {
        display: flex;
        overflow: auto;
        height: 50px;
    }

    .buscaSus {
        margin-top: 5px !important;
    }

    .col-xs-1,
    .col-xs-2,
    .col-xs-3,
    .col-xs-4,
    .col-xs-5,
    .col-xs-6,
    .col-xs-7,
    .col-xs-8,
    .col-xs-9,
    .col-xs-10,
    .col-xs-11,
    .col-xs-12,
    .col-sm-1,
    .col-sm-2,
    .col-sm-3,
    .col-sm-4,
    .col-sm-5,
    .col-sm-6,
    .col-sm-7,
    .col-sm-8,
    .col-sm-9,
    .col-sm-10,
    .col-sm-11,
    .col-sm-12,
    .col-md-1,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9,
    .col-md-10,
    .col-md-11,
    .col-md-12,
    .col-lg-1,
    .col-lg-2,
    .col-lg-3,
    .col-lg-4,
    .col-lg-5,
    .col-lg-6,
    .col-lg-7,
    .col-lg-8,
    .col-lg-9,
    .col-lg-10,
    .col-lg-11,
    .col-lg-12 {
        margin: 5px 0;
    }

    .nav-tabs > li > a {
        white-space: nowrap;
    }

    span {
        white-space: nowrap;
    }
}


/*** android 412x732 vertical ***/

@media screen and (orientation:portrait) and (max-width:420px) {
    .logo {
        height: 4vh !important;
        margin: 0.5vh 1vw !important;
    }

    .panel-heading ul {
        display: flex !important;
        overflow-x: auto !important;
    }

    .btn .btn-danger {
        white-space: pre-line;
    }

    section#timeline {
        overflow: initial !important;
    }

    .affix {
        overflow: initial !important;
    }

    ul#timeline-menu {
        overflow-x: auto;
        display: flex;
        padding-left: 0;
    }

    .nav-tabs {
        display: flex;
        overflow: auto;
        height: 50px;
    }

    .buscaSus {
        margin-top: 5px !important;
    }

    .col-xs-1,
    .col-xs-2,
    .col-xs-3,
    .col-xs-4,
    .col-xs-5,
    .col-xs-6,
    .col-xs-7,
    .col-xs-8,
    .col-xs-9,
    .col-xs-10,
    .col-xs-11,
    .col-xs-12,
    .col-sm-1,
    .col-sm-2,
    .col-sm-3,
    .col-sm-4,
    .col-sm-5,
    .col-sm-6,
    .col-sm-7,
    .col-sm-8,
    .col-sm-9,
    .col-sm-10,
    .col-sm-11,
    .col-sm-12,
    .col-md-1,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9,
    .col-md-10,
    .col-md-11,
    .col-md-12,
    .col-lg-1,
    .col-lg-2,
    .col-lg-3,
    .col-lg-4,
    .col-lg-5,
    .col-lg-6,
    .col-lg-7,
    .col-lg-8,
    .col-lg-9,
    .col-lg-10,
    .col-lg-11,
    .col-lg-12 {
        margin: 5px 0;
    }

    .nav-tabs > li > a {
        white-space: nowrap;
    }

    span {
        white-space: nowrap;
    }
}


/*** iphone X horizontal ***/

@media screen and (orientation:landscape) and (max-height:375px) and (max-width:812px) {
    .logo {
        height: 11vh !important;
        margin: .25vh 2.5vw !important;
    }

    .panel-heading ul {
        display: flex !important;
        overflow-x: auto !important;
    }

    .btn .btn-danger {
        white-space: pre-line;
    }

    section#timeline {
        overflow: initial !important;
    }

    .affix {
        overflow: initial !important;
    }

    ul#timeline-menu {
        overflow-x: auto;
        display: flex;
        padding-left: 0;
    }

    .nav-tabs {
        display: flex;
        overflow: auto;
        height: 50px;
    }

    .buscaSus {
        margin-top: 5px !important;
    }

    .col-xs-1,
    .col-xs-2,
    .col-xs-3,
    .col-xs-4,
    .col-xs-5,
    .col-xs-6,
    .col-xs-7,
    .col-xs-8,
    .col-xs-9,
    .col-xs-10,
    .col-xs-11,
    .col-xs-12,
    .col-sm-1,
    .col-sm-2,
    .col-sm-3,
    .col-sm-4,
    .col-sm-5,
    .col-sm-6,
    .col-sm-7,
    .col-sm-8,
    .col-sm-9,
    .col-sm-10,
    .col-sm-11,
    .col-sm-12,
    .col-md-1,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9,
    .col-md-10,
    .col-md-11,
    .col-md-12,
    .col-lg-1,
    .col-lg-2,
    .col-lg-3,
    .col-lg-4,
    .col-lg-5,
    .col-lg-6,
    .col-lg-7,
    .col-lg-8,
    .col-lg-9,
    .col-lg-10,
    .col-lg-11,
    .col-lg-12 {
        margin: 5px 0;
    }

    .nav-tabs > li > a {
        white-space: nowrap;
    }

    span {
        white-space: nowrap;
    }
}


/*** android 412x732 horizontal ***/

@media screen and (orientation:landscape) and (max-height:420px) and (max-width:740px) {
    .logo {
        height: 9.5vh !important;
        margin: .35vh 1vw !important;
    }

    .panel-heading ul {
        display: flex !important;
        overflow-x: auto !important;
    }

    .btn .btn-danger {
        white-space: pre-line;
    }

    section#timeline {
        overflow: initial !important;
    }

    .affix {
        overflow: initial !important;
    }

    ul#timeline-menu {
        overflow-x: auto;
        display: flex;
        padding-left: 0;
    }

    .nav-tabs {
        display: flex;
        overflow: auto;
        height: 50px;
    }

    .buscaSus {
        margin-top: 5px !important;
    }

    .col-xs-1,
    .col-xs-2,
    .col-xs-3,
    .col-xs-4,
    .col-xs-5,
    .col-xs-6,
    .col-xs-7,
    .col-xs-8,
    .col-xs-9,
    .col-xs-10,
    .col-xs-11,
    .col-xs-12,
    .col-sm-1,
    .col-sm-2,
    .col-sm-3,
    .col-sm-4,
    .col-sm-5,
    .col-sm-6,
    .col-sm-7,
    .col-sm-8,
    .col-sm-9,
    .col-sm-10,
    .col-sm-11,
    .col-sm-12,
    .col-md-1,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9,
    .col-md-10,
    .col-md-11,
    .col-md-12,
    .col-lg-1,
    .col-lg-2,
    .col-lg-3,
    .col-lg-4,
    .col-lg-5,
    .col-lg-6,
    .col-lg-7,
    .col-lg-8,
    .col-lg-9,
    .col-lg-10,
    .col-lg-11,
    .col-lg-12 {
        margin: 5px 0;
    }

    .nav-tabs > li > a {
        white-space: nowrap;
    }

    span {
        white-space: nowrap;
    }
}


/*** android 412x732 vertical ***/

@media screen and (orientation:portrait) and (max-width:370px) {
    .logo {
        height: 5.5vh !important;
        margin: 0.5vh 1vw !important;
    }

    .panel-heading ul {
        display: flex !important;
        overflow-x: auto !important;
    }

    .btn .btn-danger {
        white-space: pre-line;
    }

    section#timeline {
        overflow: initial !important;
    }

    .affix {
        overflow: initial !important;
    }

    ul#timeline-menu {
        overflow-x: auto;
        display: flex;
        padding-left: 0;
    }

    .nav-tabs {
        display: flex;
        overflow: auto;
        height: 50px;
    }

    .buscaSus {
        margin-top: 5px !important;
    }

    .col-xs-1,
    .col-xs-2,
    .col-xs-3,
    .col-xs-4,
    .col-xs-5,
    .col-xs-6,
    .col-xs-7,
    .col-xs-8,
    .col-xs-9,
    .col-xs-10,
    .col-xs-11,
    .col-xs-12,
    .col-sm-1,
    .col-sm-2,
    .col-sm-3,
    .col-sm-4,
    .col-sm-5,
    .col-sm-6,
    .col-sm-7,
    .col-sm-8,
    .col-sm-9,
    .col-sm-10,
    .col-sm-11,
    .col-sm-12,
    .col-md-1,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9,
    .col-md-10,
    .col-md-11,
    .col-md-12,
    .col-lg-1,
    .col-lg-2,
    .col-lg-3,
    .col-lg-4,
    .col-lg-5,
    .col-lg-6,
    .col-lg-7,
    .col-lg-8,
    .col-lg-9,
    .col-lg-10,
    .col-lg-11,
    .col-lg-12 {
        margin: 5px 0;
    }

    .nav-tabs > li > a {
        white-space: nowrap;
    }

    span {
        white-space: nowrap;
    }
}


/*** android 360x640 horizontal ***/

@media screen and (orientation:landscape) and (max-height:380px) and (max-width:650px) {
    .logo {
        height: 9.5vh !important;
        margin: .75vh 1vw !important;
    }

    .panel-heading ul {
        display: flex !important;
        overflow-x: auto !important;
    }

    .btn .btn-danger {
        white-space: pre-line;
    }

    section#timeline {
        overflow: initial !important;
    }

    .affix {
        overflow: initial !important;
    }

    ul#timeline-menu {
        overflow-x: auto;
        display: flex;
        padding-left: 0;
    }

    .nav-tabs {
        display: flex;
        overflow: auto;
        height: 50px;
    }

    .buscaSus {
        margin-top: 5px !important;
    }

    .col-xs-1,
    .col-xs-2,
    .col-xs-3,
    .col-xs-4,
    .col-xs-5,
    .col-xs-6,
    .col-xs-7,
    .col-xs-8,
    .col-xs-9,
    .col-xs-10,
    .col-xs-11,
    .col-xs-12,
    .col-sm-1,
    .col-sm-2,
    .col-sm-3,
    .col-sm-4,
    .col-sm-5,
    .col-sm-6,
    .col-sm-7,
    .col-sm-8,
    .col-sm-9,
    .col-sm-10,
    .col-sm-11,
    .col-sm-12,
    .col-md-1,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9,
    .col-md-10,
    .col-md-11,
    .col-md-12,
    .col-lg-1,
    .col-lg-2,
    .col-lg-3,
    .col-lg-4,
    .col-lg-5,
    .col-lg-6,
    .col-lg-7,
    .col-lg-8,
    .col-lg-9,
    .col-lg-10,
    .col-lg-11,
    .col-lg-12 {
        margin: 5px 0;
    }

    .nav-tabs > li > a {
        white-space: nowrap;
    }

    span {
        white-space: nowrap;
    }
}
