body {
    overflow-y: scroll;
}

.modal-open {
    overflow-y: scroll !important;
    padding-right: 0 !important;
}

#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #665555;
    color: #FFFFFF;
    padding: 10px;
    text-align: center;
    margin: 0;
    padding: 2px;
    z-index: 200;
}

#footer div:first-child {
    text-align: left;
}

#footer div:last-child {
    text-align: right;
}

#footer a {
    color: #FFFFFF;
}

#loginform {
    width: 800px;
    text-align: center;
    border: 1px dotted #000000;
    padding: 20px;
    margin: 100px auto;
}

.login-link {
    margin-top: 20px;
    margin-bottom: 10px;
}

#img-title {
    margin-top: -39px;
    margin-bottom: 10px;
    margin-left: 25px;
    height: 80px;
    min-height: 80px;
    line-height: 80px;
    text-align: center;
}

#content {
    padding: 55px 10px 50px 10px;
    margin-top: 20px;
    margin-bottom: 50px;
    width: 100%;
}

body a {
    color: #781dcb;
}

#content h1 {
    margin-bottom: 30px;
}

input[type="checkbox"], input[type="radio"] {
    width: 30px;
}

.btn-primary {
    background-color: #009900 !important;
    border-color: #007700 !important;
}

.btn-primary:hover {
    background-color: #007700 !important;
    border-color: #009900 !important;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.add_button_div {
    float: right;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.nowrap {
    white-space: nowrap;
}

#toasts {
    position: absolute;
    top: 70px;
    z-index: 2000;
    width: 100% !important;
    text-align: center;
    pointer-events: none;
}

.toast.show, .toast.hide, .toast.fade {
    width: 50%;
    margin: auto;
}

.toast {
    max-width: 100% !important;
}

.toast .alert {
    margin-bottom: 0;
}

.toast button {
    margin-top: -4px;
}

.toast.fade {
    transition: opacity 0.5s linear !important;
}

.modal-dialog {
    min-width: 880px;
    top: 10px;
}

.dataTable th {
    border-top: 0 !important;
}

.dataTables_length, .dataTables_filter, .dataTables_info {
    display: none;
}

.area .col-sm-12 {
    padding-right: 0;
}

.area .dataTables_wrapper .row:nth-child(2) {
    min-height: 555px;
}

.area .dataTables_wrapper .row:nth-child(3) {
    min-height: 55px;
}

.fa-info-circle {
    margin-right: 0;
    cursor: default;
    color: #009900;
}

.col-form-label .fa-plus-square.fa-2x {
    vertical-align: middle;
    float: right;
    margin: -3px 0 0 0;
}

.fa, .svg-inline--fa {
    margin: 0 5px;
}

.pointer {
    cursor: pointer !important;
}

@keyframes fa-blink {
    0% { opacity: 1; }
    25% { opacity: 0.25; }
    50% { opacity: 0.5; }
    75% { opacity: 0.75; }
    100% { opacity: 0; }
}

.fa-blink {
  -webkit-animation: fa-blink .75s linear infinite;
  -moz-animation: fa-blink .75s linear infinite;
  -ms-animation: fa-blink .75s linear infinite;
  -o-animation: fa-blink .75s linear infinite;
  animation: fa-blink .75s linear infinite;
}

@keyframes fa-hourglass-animated {
    0% { content: "\f251"; }
    35% { content: "\f252"; }
    70% { content: "\f253"; }
    100% { content: "\f253"; }
}

@keyframes fa-hourglass-rotate {
    0% { transform: rotate(0deg); }
    70% { transform: rotate(0deg); }
    85% { transform: rotate(90deg); }
    100% { transform: rotate(180deg); }
}

.fa-hourglass-animated {
    -webkit-animation: fa-hourglass-rotate 3s linear infinite;
    -moz-animation: fa-hourglass-rotate 3s linear infinite;
    -ms-animation: fa-hourglass-rotate 3s linear infinite;
    -o-animation: fa-hourglass-rotate 3s linear infinite;
    animation: fa-hourglass-rotate 3s linear infinite;
}

.fa-hourglass-animated:before {
    -webkit-animation: fa-hourglass-animated 3s linear infinite;
    -moz-animation: fa-hourglass-animated 3s linear infinite;
    -ms-animation: fa-hourglass-animated 3s linear infinite;
    -o-animation: fa-hourglass-animated 3s linear infinite;
    animation: fa-hourglass-animated 3s linear infinite;
}

body .row {
    margin-right: 0;
}

.center {
    text-align: center !important;
}

.right {
    text-align: right !important;
}

.left {
    text-align: left !important;
}

.col-actions {
    text-align: right !important;
    white-space: nowrap;
}

.col-actions em {
    margin: 5px;
}

.hidden-text {
    display: none;
}

.row.page-navigation {
    margin-left: 0;
    border-bottom: 1px solid #009900;
}

.page-navigation h2 {
    background-color: #84c984;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    border-bottom: 0;
    font-size: 1.5rem;
    padding: 8px 16px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    cursor: pointer;
    margin-bottom: 0;
}

.page-navigation h5 {
    margin-bottom: 0;
}

.page-navigation h2:hover, .page-navigation h2.active, .page-navigation h5:hover, .page-navigation h5.active {
    background-color: #007700;
}

.area {
    border: 1px solid #84c984;
    border-top: 0;
    margin: 0 1px;
    padding: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

#content .page-link {
    color: #007700;
}

#content .page-item.active .page-link {
    color: #FFFFFF;
    background-color: #007700;
    border-color: #007700;
}

td {
    position: relative;
}

.error-message {
    text-align: center;
    font-style: italic;
    color: #FF0000;
    margin-bottom: 0;
}

.fa-smile {
    color: #24d724;
}

.fa-dizzy {
    color : #aa0404;
}

#loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.7);
    padding-top: 100px;
    text-align: center;
    display: none;
}


.game-over {
    position: absolute;
    z-index: 1000;
    background-image: url('/play/game/game-over.png');
    width: 800px;
    height: 400px;
    pointer-events: none;
}