@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.events-page {
    min-height: 100%;
    margin: 0;
    padding: 0;
    background: #0a0a0a;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    color: #ddd;
}

.main {
    width: 1100px;
    height: auto;
    margin: auto;
}

.head {
    width: 100%;
    height: auto;
    background: #1a1a1a;
    text-align: center;
    margin: 0;
    padding: 20px;
    border-radius: 15px 25px 15px 25px;
    border: 1px solid #333;
}

.head-row {
    margin-bottom: 12px;
}

.head-row:last-child {
    margin-bottom: 0;
}

.head-date-info {
    font-size: 22px;
    color: #fff;
}

.head-dates {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.head-date-input {
    padding: 6px 10px;
    background: #333;
    border: 1px solid #555;
    color: #fff;
    font-size: 14px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

.head-date-input::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.7;
}

.head-sep {
    color: #888;
}

.head-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.head-buttons .btn {
    margin: 0;
}

.content {
    text-align: center;
}

.content-block {
    width: auto;
    height: auto;
    min-height: 100px;
    background: linear-gradient(180deg, #1a1a1a 0%, #141414 100%);
    display: inline-flex;
    padding: 20px;
    margin: 10px;
    border-radius: 15px 25px 15px 25px;
    border: 1px solid #333;
}

.content-block-big {
    width: 500px;
}

.tbl-caption-row {
    color: #aaa;
    font-size: 20px;
}

.content-block img {
    margin: 0;
}

.content-block table {
    text-align: center;
    background: transparent;
}

.content-block caption {
    padding-top: 8px;
    padding-bottom: 8px;
    color: #fff;
    text-align: center;
    font-size: 22px;
    border-radius: 5px 10px 5px 10px;
}

.table {
    width: 1100px;
    max-width: 1100px;
    margin-bottom: 20px;
    border-radius: 10px 15px 10px 15px;
    background: #1a1a1a;
    border: 1px solid #333;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
    padding-top: 4px;
    padding-bottom: 4px;
    line-height: 1.22857143;
    border-top: 1px solid #333;
    border-radius: 2px 5px 2px 5px;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background: rgba(255, 255, 255, 0.03);
}


.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid #555;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 25px;
    cursor: pointer;
}

.btn-secondary {
    color: #fff;
    background: #333;
}

.btn-secondary:hover {
    background: #444;
}

.btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.badge {
    display: inline-block;
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
    cursor: pointer;
    margin-left: 10px;
}

.badge-warning {
    color: #1a1a1a;
    background: #666;
    border: 1px solid #555;
}

.badge-warning:hover {
    background: #777;
}

.modal {
    position: fixed;
    z-index: 1050;
    display: none;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 750px;
    overflow: hidden;
}

.modal .modal-dialog {
    width: 100%;
    height: 100%;
}

.modal .modal-content {
    display: flex;
    flex-direction: column;
    width: 735px;
    max-height: 700px;
    background: #1a1a1a;
    border: 1px solid #555;
    border-radius: .3rem;
}

.modal-header {
    padding: 1rem;
    border-bottom: 1px solid #333;
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem;
}

.modal-title {
    color: #fff;
    text-align: center;
    font-size: 22px;
    margin: 0;
}

.modal-body {
    padding: 1rem;
    overflow-y: auto;
    color: #ddd;
    text-align: left;
}

.modal-body .hero-string {
    display: block;
    padding: 6px 0;
    border-bottom: 1px solid #222;
}

.modal-body .hero-string:last-child {
    border-bottom: none;
}

.modal-body .hero-string img {
    vertical-align: middle;
}

.modal-body a {
    color: #888;
}

.modal-body a:hover {
    color: #fff;
}

.modal-footer {
    padding: 1rem;
    border-top: 1px solid #333;
}

.modal-footer .btn {
    padding: 4px 12px;
    background: #333;
    border: 1px solid #555;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
}

.modal-footer .btn:hover {
    background: #444;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1040;
}

.modal.show {
    display: block !important;
}

.events-loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.85);
    z-index: 1060;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.events-loader.active {
    display: flex;
}

.events-loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #333;
    border-top-color: #888;
    border-radius: 50%;
    animation: events-loader-spin 0.8s linear infinite;
}

.events-loader-text {
    margin-top: 12px;
    color: #888;
    font-size: 12px;
}

@keyframes events-loader-spin {
    to {
        transform: rotate(360deg);
    }
}
