@media screen and (min-width: 1259px) and (max-height: 810px) {
    .navigation-tab ul.books > li .number {
        padding: 0 0.5rem;
    }
    
    .navigation-tab ul.books > li > a > .label {
        padding: 0.25rem 1.875rem 0.25rem 0;
    }
}

@media screen and (max-width: 1259px) {
    header {
        justify-content: start;
    }
    
    header .responsive-navigation {
        display: flex;
        padding: 0 0 0 5px;
        align-self: stretch
    }
    
    header .responsive-navigation button {
        background: transparent;
        border: none;
        padding: 0 10px 0 20px;
        
        font-size: 2.2rem;
    }
    
    header .responsive-navigation button .uri-menu-close {
        display: none;
    }
    
    .navigation-visible header .responsive-navigation button .uri-menu-open {
        display: none;
    }
    
    .navigation-visible header .responsive-navigation button .uri-menu-close {
        display: block;
    }
    
    header .logo-container {
        flex: 1;
    }
    
    header .side-container {
        padding-right: 1.25rem;
    }
    
    main .sidebar {
        display: none;
    }
    
    .navigation-visible main .sidebar {
        display: flex;
        
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        
        background: #FFFFFF;
        
        z-index: 1000;
        
        width: auto;
    }
    
    main .sidebar .tab-nav {
        justify-content: space-around;
        padding: 0 3rem;
    }
    
    main .sidebar .tab-nav li {
        flex: unset;
    }
    
    main .sidebar .tab-nav li a {
        display: block;
        padding: 0 2rem;
    }
    
    main .sidebar .tab-content {
        border-right-width: 0;
    }
    
    .navigation-tab ul.books > li a:hover {
        background: transparent;
    }
    
    #index_tab .book-list {
        overflow-y: scroll;
    }
    
    #index_tab .book-index ul.books > li > .chapter a,
    #index_tab .book-index ul.books > li > .chapter > li > .chapter > li > a,
    #index_tab .book-index ul.books > li > .chapter > li.divider-chapter > a    {
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }
    
    #index_tab .book-index ul.books li.with-chapter > a:after {
        display: none;
    }
    
    #index_tab .desktop-open-submenu {
        display: none;
    }

    #index_tab .responsive-open-submenu {
        display: block;
        
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        
        background: transparent;
        border: none;
        
        font-size: 1.5rem;
        padding: 0.5rem 1rem;
    }
    
    #index_tab .responsive-open-submenu .uri-plus {
        color: #919191;
    }
    
    #index_tab .responsive-open-submenu .uri-minus {
        display: none;
        color: #2B2B2B;
    }
    
    #index_tab ul.books li.active > a > .responsive-open-submenu .uri-plus {
        display: none;
    }
    
    #index_tab ul.books li.active > a > .responsive-open-submenu .uri-minus {
        display: block;
    }
    
    .report-wrapper {
        width: calc(100vw - 100px); /* 50px margin on each side */
        max-width: 880px;
    }
/*}

@media screen and (max-width: 1170px) {*/
    header .side-container .side-responsive-button {
        display: flex;
        
        border: none;
        background: transparent;
        
        color: #757575;
        
        font-size: 0.875rem;
    }
    
    header .side-container .side-responsive-button i {
        margin-left: 0.5rem;
        font-size: 1rem;
    }
    
    header .side-container .side-responsive-button .uri-arrow-up {
        display: none;
    }

    header .side-container .side-wrapper {
        display: none;
    }
    
    header .side-container.side-visible .side-responsive-button .uri-arrow-up {
        color: #E60000;
        display: inline;
    }
    
    header .side-container.side-visible .side-responsive-button .uri-arrow-down {
        display: none;
    }
    
    header .side-container.side-visible .side-wrapper {
        display: block;
        
        position: absolute;
        top: 106px;
        left: 0;
        right: 0;
        
        background: #FFFFFF;
        
        z-index: 1000;
        
        -webkit-box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.1);
        box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.1);
    }
    
    header .side-container.side-visible .side-wrapper > div {
        border-bottom: 1px solid #D9D9D9;
        margin: 0;
        
        text-align: center;
    }
    
    header .side-container.side-visible .side-wrapper > div a {
        padding: 0.75rem 0;
    }
}

@media screen and (max-width: 1259px) and (min-width: 768px) {
    #book_tab {
        width: 340px;
        flex: unset;
        border-right: 1px solid rgba(204, 204, 204, 0.75);
    }
    
    #index_tab .book-list {
        width: 340px;
    }
    
    #index_tab .book-list ul.books > li > a .label {
        display: block;
    }
}

@media screen and (min-width: 768px) {
    .content-page .d-sm-none {
        display: none;
    }
}

@media screen and (max-width: 767px), screen and (max-height: 460px) {
    header {
        height: 55px;
    }
    
    header .responsive-navigation {
        padding-left: 0;
    }
    
    header .responsive-navigation button {
        font-size: 1.5rem;
    }
    
    header .logo-wrapper img {
        height: 25px;
    }
    
    header .report-title {
        font-size: 1.25rem;
        padding-bottom: 1px;
    }
    
    header .side-container.side-visible .side-wrapper {
        top: 55px;
    }
    
    main {
        max-height: calc(100% - 55px);
    }
    
    main .page-body {
        max-width: 100%;
    }
    
    .page-body .report-content-navigation {
        min-height: 10px;
        
        margin-left: -20px;
        margin-right: -20px;
    }

    .report-breadcrumb-navigation {
        display: none;
    }
    
    .tag-result-item-breadcrumbs {
        display: block;
    }
    
    .report-wrapper {
        width: 100%;
        max-width: none;
        
        padding: 0 20px 50px;
    }
    
    .report-content h1, 
    .report-content h1.main-title {
        font-size: 3.2rem;
        line-height: 4rem;
    }
    
    .report-content h2,
    .report-content h2.subdivider    {
        font-size: 2.6rem;
        line-height: 3.4rem;
    }
    
    .report-content h3 {
        font-size: 1.8rem;
        line-height: 2.4rem;
    }
    
    .report-content .table-container .table-swipe-info {
        display: none;
    }
    
    .report-content .responsive-table {
        margin: 0;
        padding: 0;
    }
    
    .back-to-top-button-container {
        padding: 0 2rem 2rem 0;
    }
    
    .back-to-top-button-container a {
        width: 3rem;
        height: 3rem;
        border-radius: 1.5rem;
    }
    
    .content-page .row {
        display: block;
    }
    
    .front-page .row.two-col {
        height: unset;
    }
    
    .content-page .row .col,
    .front-page .row.two-col .col {
        width: 100%;
    }
    
    .content-page .row .col {
        margin-bottom: 1rem;
    }
    
    .front-page .row .col {
        margin-bottom: 0;
    }
    
    .content-page .row .col:last-child {
        margin-bottom: 0;
    }
    
    .front-page .row.two-col .col {
        height: 5.5rem;
    }
    
    .front-page .row.two-col:first-child a:not(.btn) {
        border-top: none;
    }
    
    .front-page .row.two-col:first-child .col:first-child a:not(.btn) {
        border-top: 1px solid #000000;
    }
    
    .content-page .d-xs-none {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .report-content table.data-table.table-horizontally-glued th:first-child,
    .report-content table.data-table.table-horizontally-glued td:first-child {
        position: unset;
    }
    
    .report-book-navigation {
        display: block;
    }

    .report-book-navigation .left-column,
    .report-book-navigation .right-column {
        width: 100%;
    }
    
    .report-book-navigation .left-column {
        margin-bottom: 1rem;
    }
    
    .report-book-navigation .left-column .btn,
    .report-book-navigation .right-column .btn {
        width: 100%;
    }
    
    .report-book-navigation .right-column .btn {
        justify-content: flex-end;
    }
}

@media screen and (max-width: 690px) {
    main .sidebar .tab-nav {
        justify-content: unset;
        padding: 0;
    }
    
    main .sidebar .tab-nav li {
        flex: 1;
    }
    
    main .sidebar .tab-nav li a {
        display: block;
        padding: 0;
    }
    
    .report-content table.data-table td:first-child {
        min-width: 40vw;
        max-width: 40vw;
    }
}

@media screen and (max-width: 610px) {
    header .logo-container {
        flex: unset;
        padding-right: 0;
    }
    
    header .report-title {
        display: none;
    }
    
    header .home-container {
        display: flex;
        flex: 1;
        align-self: stretch;
        align-items: center;
        justify-content: center;
    }
    
    header .home-container a {
        padding: 1rem;
    }
    
    .report-content table.data-table td:first-child {
        min-width: 45vw;
        max-width: 45vw;
    }
    
    .tooltip {
        max-width: 50vw;
    }
}