body.main {
    margin-left: 270px;
    margin-right: 15px;
}

/* Table row link */
table thead tr {
    background-color: transparent !important;
}
table thead tr th {
    color:#1B1C1D !important;
}
table tbody tr {
    background-color: transparent !important;
}
table tr[data-href] {
    cursor: pointer;
}
.selectable tr {
    cursor: pointer;
}

/* Text sizing */
.small.text {
    font-size: 11px;
}
.large.text {
    font-size: 2rem;
}
.text-center {
    text-align: center;
}

/* Dashboard sizing */
.segment.dashboard {
    min-height: 200px;
}
@media (max-width:991px) {
    .segment.dashboard {
        min-height: auto;
    }
}
.segment.dashboard h4 {
    margin-bottom:0px;
}
.dashboard .scrollable {
    margin:0px;
    padding:0px;
    height: 80%;
    overflow-y: scroll;
}

/* Overlay text */
.overlay.top {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
}
.overlay.bottom {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
}

/* Table styles */
.ui.basic.table thead tr {
    background-color: #1B1C1D;
}
.ui.basic.table thead tr th {
    color: #FFF;
}
.ui.table.borderless tr th { border-bottom: 0px !important; }
.ui.table.borderless tr td { border-top: 0px !important; }
.ui.basic.table tbody tr:nth-child(even) {
    background-color: #E0E1E2;
}
.ui.table[class*="very basic"]:not(.sortable):not(.striped) thead tr:first-child th,
.ui.table[class*="very basic"]:not(.sortable):not(.striped) th:first-child,
.ui.table[class*="very basic"]:not(.sortable):not(.striped) td:first-child {
    padding: 0.92857143em 0.78571429em;
}
.ui.compact.table[class*="very basic"]:not(.sortable):not(.striped) thead tr:first-child th,
.ui.compact.table[class*="very basic"]:not(.sortable):not(.striped) th:first-child,
.ui.compact.table[class*="very basic"]:not(.sortable):not(.striped) td:first-child {
    padding-top: 3px;
    padding-bottom: 3px;
}

pre {
    white-space: pre-wrap;
    word-break: break-word;
    overflow: scroll;
    display: grid;
}
.table-two-cols-fifty-fifty tbody tr td {
    width: 50%;
}

/* Pagination */
.pagination {
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
}
.pagination a, .pagination em, .pagination span {
    margin-right: 5px;
    border: 1px solid #666;
    border-radius: 5px;
    padding: 3px 7px;
}
.pagination .current {
    background-color: #666;
    color: #fff;
    border: 1px solid #666;
}
.pagination span, .pagination span.gap, .pagination a.prev, .pagination a.next {
    border: none;
}

/* Generic */
.hidden {
    display: none;
}
.defloater {
    float: none;
    clear: both;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
}
.margin-zero {
    margin: 0;
}
.ui.header:first-child.margin-zero, .ui.table.margin-zero, .ui.dividing.header {
    margin: 0;
}
.twenty-line-spacer {
    margin-top: 20px;
    height: 1px;
    width: 100%;
    margin-bottom: 20px;
    background-color: #1B1C1D;
}
.bottom-buttons {
    margin-bottom: 20px;
}
.blue-text {
    color: #428bca;
}

/* Bootstrap inherit */
.poste-tlg-files-card {
    width: 50% !important;
}
@media (min-width:1025px) and (max-width:1280px) {
    .poste-tlg-files-card {
        width: 75% !important;
    }
}
@media (max-width:1024px) {
    .poste-tlg-files-card {
        width: 100% !important;
    }
}
.shadow {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}
.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
    margin-top: 20px;
    margin-bottom: 20px;
}
.card-body {
    flex: 1 1 auto;
    padding: 1.25rem;
}
.pt-3 {
    padding-top: 1rem !important;
}
.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
}
.table-sm td, .table-sm th {
    padding: .3rem;
}

/* Other */
.badge {
    display: inline-block;
    padding: 0.4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.badge-secondary {
    color: #fff;
    background-color: #6c757d;
}
.sidebar-logo-wrapper {
    border-radius: 5px;
    background-color: #fff;
    margin: 0 auto;
    text-align: center;
    padding: 5px 0;
}
.sidebar-logo-wrapper img {
    width: 90%;
}

/* HOME */
.ui.fixed.menu + .ui.grid.panel-home {
    margin-top: 0;
    padding-top: 0;
}
.segment.dashboard.height-auto {
    height: auto;
}
.panel-home-total {
    color: #428bca;
}
.ui.table thead th.text-center {
    text-align: center;
}
.ui.basic.table.home-table-access-points {
    table-layout: fixed;
    background-color: #fff;
    border-radius: 5px;
    margin-bottom: 20px;
}
.ui.basic.table.home-table-access-points thead th {
    font-size: 1.2em;
    background-color: #1b1c1d;
    color: #fff !important;
}
.ui.basic.table.home-table-access-points tbody tr td:hover {
    cursor: default;
}

/* STATISTICS */
.ui.fixed.menu + .ui.grid.panel-statistics {
    margin-top: 0;
    padding-top: 0;
}
.segment.dashboard.statistics {
    height: 100%;
    margin-left: 0;
    margin-right: 0;
}
.statistics .barchart, .statistics .pie, .statistics .linechart {
    width: 100%;
}

@media (max-width:991px) {
    .panel-statistics.ui.grid > .row > .column {
        margin-bottom: 20px;
    }
    .panel-statistics.ui.grid > .row > .column:last-of-type {
        margin-bottom: 0;
    }
}

/* GUESTS */
.ui.fixed.menu + .ui.grid.panel-guests {
    margin-top: 0;
    padding-top: 0;
}
.ui.basic.table.guest-table-my-guests {
    table-layout: fixed;
    background-color: #fff;
    border-radius: 5px;
    margin-bottom: 20px;
}
.ui.basic.table.guest-table-my-guests thead th {
    font-size: 1.2em;
    background-color: #1b1c1d;
    color: #fff !important;
    border-right: 1px solid #fff;
}
.ui.basic.table.guest-table-my-guests thead th:last-of-type {
    border-right: 0;
}
.ui.basic.table.guest-table-my-guests tbody tr td i.icon {
    font-size: 1.5em;
}
.ui.basic.table.guest-table-list-connections tbody tr td:hover {
    cursor: default;
}
.ui.button.mixmembers-download-guests-csv-with-consent {
    display: block;
    position: absolute;
    right: 0;
    bottom: 16px;
    height: 36px;
    width: 234px;
}
.mixmembers-download-monthly-sessions-wrapper {
    display: block;
    position: absolute;
    right: 0;
    bottom: 16px;
    height: 36px;
    width: 520px;
}
.ui.form .mixmembers-download-monthly-sessions-wrapper select {
    display: inline-block;
    width: 150px;
}
.ui.form .mixmembers-download-monthly-sessions-wrapper a {
    display: inline-block;
    width: 210px;
    margin-top: 0;
}
@media (max-width:1520px) {
    .mixmembers-download-monthly-sessions-wrapper {
        position: relative;
        top: 0;
        margin-bottom: 5px;
        float: right;
    }
}
@media (max-width:1100px) {
    .ui.button.mixmembers-download-guests-csv-with-consent, .ui.button.mixmembers-download-monthly-sessions {
        position: relative;
        bottom: 0;
    }
}
@media (max-width:7700px) {
    .ui.button.mixmembers-download-guests-csv-with-consent, .ui.button.mixmembers-download-monthly-sessions {
        margin-top: 10px;
    }
}
