.app_version {
    color: #616161;
    padding-top: 10px;
    border-top: solid 1px #ddd;
    width: 100%;
}

.app_version_label {
    font-style: italic;
    text-align: center;
    margin: auto;
}

@media screen and (min-height: 900px) {
    .app_version {
        position: absolute;
        bottom: 3px;
        border-top: 0px;
        width: 100%;
    }
}

.ui.table td.right-aligned {
    text-align: right;
}

.ui.table th.right-aligned {
    text-align: right;
}

.right-aligned {
    text-align: right;
}

.ui.table td.center-aligned {
    text-align: center;
}

.ui.table th.center-aligned {
    text-align: center;
}

.center-aligned {
    text-align: center;
}

.collapsed {
    display: none !important;
}

tr.inactive_member, tr.inactive_member > td, tr.inactive_member > td > a {
    color: #d0d0d0;
}

.ui.label.inactive_member {
    color: #d0d0d0;
}

.ui.item.inactive_member {
    color: #d0d0d0;
}

.ui.button.inactive_member {
    color: #d0d0d0;
}

/* Restrict number of items in some dropdown qualified with 'short' class by limiting the height. */
.ui.short.dropdown .menu {
    max-height: 200px !important;
}

.ui.container {
    margin-left: 7px;
    margin-right: 7px;
}

audio, video {
    width: 100%;
    max-width: 1280px;
    max-height: 720px;
}

#desktop-sidebar ~ #page .ui.container {
    padding-right: 164px;
    padding-top: 0px;
}

#mobile-sidebar ~ #page .ui.container {
    padding-top: 35px;
    padding-right: 6px;
    margin-left: 3px;
    margin-right: 3px;
}

input.dirty-field {
    background-color: #ffe9fd !important;
    background-image: url("img/loading.08e3f6096f3c.svg") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center right !important;
    background-origin: content-box !important;
}

[data-tooltip]::after {
    word-wrap: break-word;
    white-space: pre-wrap !important;
    min-width: 20em;
    text-wrap: normal;
    display: block;
    position: page;
}

/* Work around the fact that FomanticUI does not allow label to be within a div section as we need it. */
.required.field > div > label::after {
    margin: -.2em 0 0 .2em;
    content: "*";
    color: #db2828;
}

.ui.form .field > div > label {
  display: inline;
  margin: 0 0 .28571429rem 0;
  font-size: .92857143em;
  font-weight: 700;
  text-transform: none;
}

/* -----
Full screen management
*/

/* The Modal (background) */
#fullScreenModalContainer {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999; /* Sit on top */
    padding: 0px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
}

/* Modal Content (image) */
#fullScreenContent {
    margin: auto;
    display: block;
    width: auto;
    height: auto;
}

#fullScreenCaption {
    position: fixed;
    bottom: 10px;
    width: 100%;
    text-align: center;
    font-size: 1.5em;
    color: white;
    text-shadow: 1px 1px 1px black;
    line-height: 1.0em;
}

#closeFullScreenContent {
    position: fixed;
    top: 15px;
    right: 10px;
}

#previousFullScreenContent {
    position: fixed;
    top: 15px;
    right: 110px;
}

#nextFullScreenContent {
    position: fixed;
    top: 15px;
    right: 60px;
}

.full-screen-button {
    color: #bbb !important;
    transition: 0.3s;
}

.full-screen-button:hover,
.full-screen-button:focus {
    color: #f1f1f1 !important;
    text-decoration: none;
    cursor: pointer;
}

/* ----- */

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 730px) {
    #fullScreenContent {
        width: 100%;
    }
}

/* Radio select without bullets */
.radio-choice-message {
    background: #c6e9f8;
    padding: 1em;
}

/* Radio select without bullets */
.radio-select {
    list-style: none;
}

/* Display delete checkbox and label inline with file name */
div.ui.field > a + input[type="checkbox"] {
    display: inline-flex;
    vertical-align: baseline;
    margin-left: 1em;
}

div.ui.field > input[type="checkbox"] + label {
    display: inline-flex;
}

div.myclub-completion-text-cardtext-class {
    font-size: 0.7em !important;
}

div.myclub-completion-value-cardtext-class {
    font-style: italic !important;
    font-size: 0.7em !important;
}

/* Autocompletion */

/*the container must be positioned relative:*/
.autocomplete {
    position: relative;
    display: inline-block;
    overflow: scroll;
}

.autocomplete-items {
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    color: #222f3e;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
}

.autocomplete-items div {
    padding: 3px;
    cursor: pointer;
    font-size: 0.8em;
    /*background-color: #fff;
    border-bottom: 1px solid #d4d4d4;*/
}

/* when hovering an item:*/
.autocomplete-items div:hover {
    background-color: #e9e9e9;
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
    background-color: DodgerBlue !important;
    color: #ffffff;
}

/* Style the button like a link */
.icon-link-button {
    background: none;
    border: none;
    padding: 0;
    /*text-decoration: underline;*/
    cursor: pointer;
    /*font-size: 1em;*/
}

/* Tables */
table thead th.orderable > a {
    padding-right: 20px;
    background: url("img/arrow-inactive-up.2898c124b76b.png") right center no-repeat;
}

table thead th.orderable.asc > a {
    background-image: url("img/arrow-active-up.7891d6f2ce48.png");
}

table thead th.orderable.desc > a {
    background-image: url("img/arrow-active-down.ca0c866de58c.png");
}
