.inline-block {
    display: inline-block;
}
a.action:before {
    display: inline-block;
    font-size: 30px;
    color: black;
    font-family: FontAwesome;
    font-style: normal;
    visibility: visible;
}

a.action{
    visibility: hidden;
    display: inline-block;
    white-space: nowrap;
}

a.action-edit:before {
    content: "\f044";
}


a.action-delete:before {
    content: "\f1f8";
    color: red;
}

a.action-add:before {
    content: "\f055";
    color: green;
}

a.info:before {
    content: "\f05a";
}

.tbl {
    table-layout: fixed;
    width: 100%;
    white-space: nowrap;
    border: 1px solid #ccc;
}

table tr {
     border-bottom: unset;
 }


table.tbl th.sortable {
    cursor: pointer;
}

table.tbl th.sortable:after {
    content: "\f0dc";
    right: 16px;
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    float:right;
}

table.tbl th.sortable[data-direction=asc]:after {
    content: "\f0dd";
}
table.tbl th.sortable[data-direction=desc]:after {
    content: "\f0de";
}

.tbl td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tbl .col-action {
    width: 90px;
}

.tbl tr:nth-child(even) {
    background-color: #f2f2f2;
}

.tbl-commands .col-command {
    width: 120px;
}

.tbl-commands .col-username {
    width: 90px;
}

.tbl-gears .col-family {
    width: 100px;
}

@media screen and (max-width: 1000px) {
    .tbl-commands td:nth-child(3), .tbl-commands .col-username {
        display: none;
    }

    .tbl-seahuntlist td[data-type=note], .tbl-seahuntlist .col-note {
        display: none;
    }

    .tbl-gears td:nth-child(5), .tbl-gears th:nth-child(5), .tbl-gears td:nth-child(8), .tbl-gears th:nth-child(8) {
        display:none;
    }
}

@media screen and (max-width: 768px) {
    .tbl-gears td:nth-child(n+5), .tbl-gears th:nth-child(n+5), .tbl-attendances td:nth-child(1), .tbl-attendances th:nth-child(1) {
        display:none;
    }
    .tbl-gears td:last-child, .tbl-gears th:last-child {
        display: table-cell;
    }
}

@media screen and (max-width: 460px) {
    .tbl-reminders td:nth-child(2), .tbl-reminders .col-remind-at, table .col-username {
        display: none;
    }

    .tbl-gears td:nth-child(2), .tbl-gears th:nth-child(2), .tbl-gears td:nth-child(n+5), .tbl-gears th:nth-child(n+5) {
        display:none;
    }
    .tbl-gears td:last-child, .tbl-gears th:last-child {
        display: table-cell;
    }
    .tbl-gears .col-family {
        width: 80px;
    }
}
/* For reminders */
.tbl-reminders .col-remind-at {
    width: 130px;
}

.tbl-reminders .col-interval {
    width: 80px;
}

.tbl-seahuntlist .col-username {
    width: 160px;
}

.tbl-seahuntlist .col-silver {
    width: 80px;
}

.tbl-seahuntlist .col-date {
    width: 150px;
}


footer {
    text-align: center;
    background-color: #333;
    color: #f2f2f2;
}

/* Add a black background color to the top navigation */
.topnav {
    background-color: #333;
    overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none !important;
    font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
    background-color: #ddd;
    color: black;
}

/* Add a color to the active/current link */
.topnav a.active {
    background-color: #54af90;
    color: white;
}

.topnav .nav-right {
    float: right;
}

.topnav .nav-right .user-info {
    color: #54af90;
    vertical-align: center;
    padding: 14px 16px;
    font-size: 17px;
}

label.required:after
{
    color: #54ff55;
    content: " *";
}

.tbl tr[data-role] {
    border-bottom:1pt solid black;
}

.tbl tr[data-role="Witchard"] {
    background-color: #2975ff;
}

.tbl tr[data-role="Initiator"] {
    background-color: #ff3631;
}

.tbl tr[data-role="Flex"] {
    background-color: #ff30c2;
}

.tbl tr[data-role="Logistic"] {
    background-color: #46ff56;
}

.tbl tr[data-role="Mainball"] {
    background-color: orange;
}

.tooltip {
    background: unset;
}