@import url("font-awesome.css");
@import url(../../external.html?link=https://fonts.googleapis.com/css?family=Titillium+Web:400,200,200italic,300,300italic,900,700italic,700,600italic,600,400italic);

@font-face {
    font-family: "Droid Arabic Kufi";
    src: url("fonts/DroidArabicKufi.woff2") format("woff2"),
        url("fonts/DroidArabicKufi.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Droid Arabic Kufi";
    src: url("fonts/DroidArabicKufi-Bold.woff2") format("woff2"),
        url("fonts/DroidArabicKufi-Bold.woff") format("woff");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body,
b,
p,
button,
div,
a,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Droid Arabic Kufi", tahoma !important;
}

body {
    background-color: #1e1e1e;
    color: rgb(224, 224, 224);
    overflow-x: hidden;
}

html {
    direction: rtl;
}

a {
    color: #1abc9c;
    text-decoration: none;
}

a:hover {
    color: #28ecc5;
}

.no-bg {
    background-color: #01717300;
}

.bg-secondary {
    background-color: #34495e !important;
}

.bg-secondary a {
    color: #1e1e1e !important;
}

nav {
    height: 60px;
    overflow: hidden;
}

.navbar-brand img {
    width: 150px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0;
}

.page-bg {
    background: url("../imgs/bg.jpg") no-repeat;
    min-height: 100vh;
    background-position-x: center;
    background-size: cover;
}

nav {
    background-color: #01717300 !important;
}

.home-slang {
    text-align: center;
    padding: 30px;
    padding-top: 40px;
}
.mb-5 {
    margin-bottom: 0px;
}

.home-slang p {
    font-size: 36px;
    text-shadow: 2px 2px 1px rgb(121, 14, 34);
}

.mob-only {
    display: none;
}

/* right Menu */
.right-menu {
    z-index: 55;
    transition: 0.4s;
    max-width: 500px;
    position: fixed;
    left: -500px;
    top: 0;
    height: 100vh;
    background-color: #2c3e50;
    padding-top: 15px;
    -webkit-box-shadow: 5px 0px 5px 0px rgba(50, 50, 50, 0.52);
    -moz-box-shadow: 5px 0px 5px 0px rgba(50, 50, 50, 0.52);
    box-shadow: 5px 0px 5px 0px rgba(50, 50, 50, 0.52);
}

.right-menu.active {
    left: 0;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.right-menu ul li {
    padding: 8px 15px;
    border-bottom: 1px solid #4a647e;
    color: rgb(224, 224, 224);
}

.right-menu ul li:hover,
.right-menu ul li.active {
    background-color: #3e5871;
}

.right-menu ul li.active {
    cursor: default;
}

.right-menu ul a:first-child li {
    border-top: 1px solid #4a647e;
    background-color: #4d2c3d;
}

.right-menu ul a,
.right-menu ul a:hover {
    color: rgb(224, 224, 224);
    text-decoration: none;
}

.no-padding {
    padding: 0;
}

/* Main */
.page main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px !important;
    min-height: calc(100vh - 60px);
    background-color: #1e1e1eee;
    border-radius: 20px;
    width: 100%;
    /* width: 90% !important;
    margin-right: 5%; */
}

.normal-page main {
    align-items: flex-start !important;
}

label.block {
    min-width: 150px;
}

/* log */
.user-tag {
    padding: 15px;
    font-weight: bold;
}

.user-tag span {
    color: #ff4f4f;
}

.live-icon {
    color: #ff1919;
    animation-name: live-icon-animation;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

input:not([type="checkbox"]) {
    min-width: 400px;
}

form button[type="submit"] {
    min-width: 400px;
    float: left;
}

.sides {
    width: 100%;
    overflow: hidden;
    padding: 0px 0;
    margin-top: -10px;
}

.sides > div:first-child {
    float: right;
    text-align: right;
    width: 49%;
}

.sides > div:last-child {
    float: left;
    text-align: left;
    width: 49%;
}

.main-title {
    position: relative;
    display: inline-block;
    margin-top: 10px;
    margin-right: 10px;
    background-color: #444444;
    padding: 5px 5px;
}

.main-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 30%;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    height: 20px;
}

.main-title::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    width: 30%;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    height: 20px;
}

/* Timer */
#days {
    font-size: 25px;
    color: #db4844;
}

#hours {
    font-size: 25px;
    color: #f07c22;
}

#minutes {
    font-size: 25px;
    color: #f6da74;
}

#seconds {
    font-size: 15px;
    color: #abcd58;
}

#timer {
    width: 100%;
}

#timer div {
    font-family: "Titillium Web", cursive !important;
    display: inline-block;
    margin-left: 25px;
}

#timer div span {
    font-family: "Droid Arabic Kufi", tahoma !important;
    display: block;
    font-size: 12px;
    color: white;
}

#seconds {
    margin-top: 0px;
}

/* Seats */
.seats-container {
    background-color: #6c86a0;
    border-radius: 20px;
    padding: 15px;
    min-height: 20px;
    text-align: center;
    padding-top: 25px;
}

.seats-container span {
    width: 50px;
    line-height: 50px;
    height: 50px;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    background-color: #1e1e1eee;
    border-radius: 10px 5px;
    margin-bottom: 10px;
}

.seats-container span:not(.sold):not(.mine):hover {
    background-color: #535353ee;
}

.seats-container span.sold {
    background-color: #771e1eee;
}

.seats-container span.sold:not(.mine):hover {
    background-color: #c03535ee;
}

.seats-container span.mine {
    background-color: #097c2fee !important;
}

.seats-container span.mine:hover {
    background-color: #1eb450ee !important;
}

/* Modals */
.modal-backdrop.show {
    opacity: 0.8;
}

.modal-content {
    background-color: #0f2a42;
    color: rgb(224, 224, 224);
}

.modal-header,
.modal-body {
    border-bottom: 0;
}

.modal-body {
    text-align: center;
}

.modal-body .fa-spin {
    font-size: 30px;
}

.modal-footer {
    border-top: 0;
}

.modal-header .close {
    border: 0;
    background-color: #255e91;
    border-radius: 100%;
    width: 30px;
    height: 30px;
    color: #b9b9b9;
}

/* body .modal-dialog {max-width: 100%;width: auto !important;display: inline-block;}
.modal {z-index: -1;display: flex !important;justify-content: center;align-items: center;}
.modal-open .modal {z-index: 1054;} */
/* Card */
.seat-modal-1,
.seat-modal-3 {
    max-width: 700px;
}

.seat-modal-2,
.seat-modal-4 {
    max-width: 400px;
}

.card-seat {
    direction: ltr;
}

/* .seat-modal-1 .modal-body,
.seat-modal-2,
.seat-modal-3 .modal-body,
.seat-modal-4 {
    direction: ltr;
} */

.seat-card {
    width: 100%;
    margin-bottom: 35px;
    position: relative;
    flex-direction: column;
}

.seat-card .card-number {
    display: block;
    text-align: center;
    font-size: 29px;
    font-weight: bold;
}

.seat-card table {
    max-width: 400px;
    width: 100%;
}
.seat-card table td {
    font-weight: bold;
    background-color: rgb(235 235 235 / 72%);
    color: rgb(6 6 6);
    border: 1px solid #080808;
    width: 50px;
    height: 50px;
    font-size: 20px;
}

.seat-card table td.active {
    animation: blinkingBackground 3s;
    background-color: #5d8864;
    color: #fff;
    position: relative;
}
@keyframes blinkingBackground {
    0% {
        background-color: #5d8864;
    }
    25% {
        background-color: rgb(235 235 235 / 72%);
    }
    45% {
        background-color: #5d8864;
    }
    65% {
        background-color: rgb(235 235 235 / 72%);
    }
    85% {
        background-color: #5d8864;
    }
    100% {
        background-color: rgb(235 235 235 / 72%);
    }
}
.seat-card table td.active::before {
    content: "";
    position: absolute;
    width: 108%;
    height: 7px;
    background: red;
    top: 21px;
    opacity: 0.4;
    left: -5px;
    transform: rotate(331deg);
}
.seat-cards-container {
    max-width: 720px;
    direction: ltr;
}

.seat-cards-container {
    margin: 0 auto;
}

.bg-out {
    background-color: #531a1a !important;
}

.alert-sm {
    padding: 0rem 1rem;
}

/* Live */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    background-color: #404040a3;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.seat-live-card {
    background-color: #444444;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 14px;
}

.live-numbers {
    /* padding: 15px 0; */
    white-space: nowrap;
}

.live-numbers span {
    margin-left: 5px;
    display: inline-block;
    background-color: rgb(54, 164, 81);
    color: #fff;
    font-weight: bold;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 4px;
}

.live-numbers .mCSB_container {
    background-color: rgb(68, 68, 68);
    padding: 5px 5px;
    border-radius: 5px;
    min-height: 50px;
}

.live-chat {
    display: flex;
    justify-content: center;
    align-content: center;
    padding-top: 4px;
}

.live-chat input {
    padding-right: 15px;
    flex: 1;
    margin-left: 0px;
    background-color: #b5b5b5;
    border: 0;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.live-chat button {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.seat-lone {
    max-width: 350px;
    margin: 0 auto;
}

.notifications-side {
    position: fixed;
    right: 10px;
    top: 10px;
    max-width: 400px;
    padding: 5px;
    z-index: 9999;
}

.alret {
    position: relative;
}

.alert .close {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 12px;
    padding: 2px 5px;
}

.notifications-side .alert {
    margin-bottom: 5px;
}

/* admin */
.admin-page .admin-brand {
    color: #4fdcff;
}

.form-group {
    margin-bottom: 15px;
}

.admin-page h2 {
    border-bottom: 1px solid #4d4d4d;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 25px;
}

.admin-page h2 a {
    margin-top: -5px;
    float: left;
}

.admin-page .sides h2 {
    border-bottom: 0;
    margin-bottom: 0;
}

.admin-page .sides {
    border-bottom: 1px solid #4d4d4d;
    padding-bottom: 0;
}

.border-bottom,
.border-top {
    border-color: #4d4d4d !important;
    border-width: 1px;
}

.Zebra_DatePicker {
    direction: ltr;
}

.admin-chat {
    height: 400px;
    width: 100%;
    background-color: #353535;
    padding: 15px;
}

.admin-chat li {
    padding: 5px 15px;
    display: block;
    background-color: #555555;
    margin-bottom: 2px;
}

.admin-chat li span {
    color: #fc6060;
    font-weight: bold;
    display: inline-block;
    border-left: 1px solid #8a8484;
    padding-left: 5px;
}

.bg-dark {
    background-color: #262626;
    color: rgb(202, 202, 202);
}

.bg-dark:focus {
    color: #fff;
}

.draw-numbers-container span.active,
.draw-numbers-container span.active:hover {
    background-color: rgb(48, 35, 104) !important;
}

.draw-numbers-container span.drawed,
.draw-numbers-container span.drawed:hover {
    background-color: rgb(32, 83, 45) !important;
}

.draw-numbers-container span.wait,
.draw-numbers-container span.wait:hover {
    background-color: rgb(105, 39, 39) !important;
}

*.unselectable {
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Boxes */
.box {
    position: relative;
    height: 150px;
    border-radius: 25px;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    padding: 25px 0;
}

.box i {
    position: absolute;
    right: 20px;
    bottom: 20px;
    font-size: 70px;
    opacity: 0.8;
    color: #19ffe9;
}

.box.bg-success i {
    color: #fffd93;
}

.box.bg-dark i {
    color: #fff;
}

.box div:nth-child(3) {
    color: #ffd34f;
}

.box div:nth-child(4) {
    color: #69f8ff;
}

@media only screen and (max-width: 749px) {
    .mob-only {
        display: inherit !important;
    }

    input:not([type="checkbox"]) {
        min-width: 100%;
    }

    form button[type="submit"] {
        min-width: 100%;
        float: left;
    }

    label.block {
        min-width: 0px;
    }

    .sides > div:first-child {
        float: none;
        text-align: right;
        width: 100%;
        margin-bottom: 15px;
    }

    .sides > div:last-child {
        float: none;
        text-align: right;
        width: 100%;
    }

    h5 {
        line-height: 1.7;
    }

    h3 {
        font-size: 16px;
    }

    .notifications-side {
        position: fixed;
        right: 0px;
        left: 0;
        top: 10px;
        max-width: 90%;
    }

    .seat-cards-container {
        padding: 0;
    }

    .seat-live-card {
        margin-left: -25px;
        margin-right: -25px;
        width: calc(100% + 50px);
        padding-right: 0;
        padding-left: 0;
    }

    .seat-live-card h4 {
        padding: 0 15px;
    }

    .seat-card:not(.seat-lone) table td {
        /* width: auto; */
        height: calc(100vw / 12);
        font-size: 20px;
        /*border: 2px solid #af2a2a;*/
    }

    .seat-cards-container .col-6 {
        padding: 5px;
    }

    .video-container {
        margin: -5px -22px;
    }

    .video-container iframe {
        height: 130%;
    }

    .live-numbers {
        margin-top: 60px;
    }
}

@media only screen and (min-width: 400px) {
    .seat-card:not(.seat-lone) table td {
        font-size: 12px;
    }
}

@keyframes live-icon-animation {
    0% {
        color: #ff1919;
    }

    50% {
        color: #ffffff;
    }

    100% {
        color: #ff1919;
    }
}

@media only screen and (max-width: 600px) {
    table tr {
        font-size: 13px;
    }
}

.game-seat-card {
    border: 2px solid #a59a9a;
    width: 95%;
    margin: auto;
    padding: 0px;
    border-radius: 15px;
}
.game-seat-card .col-6 {
    padding: 0 2 0 2;
}
.game-seat {
    width: 100% !important;
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-bottom: 4px;
}
.game-seat .title-seat {
    display: flex;
    justify-content: space-between;
    width: 90%;
    font-weight: bold;
}

.game-seat .table-seat {
    width: 100% !important;
    border-collapse: collapse;
    border: 1px solid;
    padding: 0;
}

.game-seat .table-seat td {
    border: 1px solid #000;
    padding: 5px;
    width: 50px;
    background: #aeb5bb;
    color: #000;
    text-align: center;
}

#seatModal .modal-content {
    width: 60%;
    margin: auto;
}

.seat-live-card .game-seat-card {
    border: 2px solid #a59a9a;
    width: 54%;
    margin: auto;
    padding: 0px;
    border-radius: 15px;
}

/* .seat-live-card .card-seat {
    padding: 15px;
} */

.game-seat table td.active {
    animation: blinkingBackground 3s;
    background-color: #5d8864;
    color: #fff;
    position: relative;
}

.game-seat table td.active::before {
    content: "";
    position: absolute;
    width: 108%;
    height: 3px;
    background: red;
    top: 22px;
    opacity: 0.4;
    left: -2px;
    transform: rotate(313deg);
}
.seat-modal-2 .modal-content,
.seat-modal-4 .modal-content {
    width: 100% !important;
}
@media only screen and (max-width: 1000px) {
    #seatModal .modal-content {
        width: 100%;
    }
    .game-seat-card {
        width: 100%;
    }
    .game-seat .title-seat {
        font-size: 14px;
    }
    #seatModal .modal-body {
        padding: 4px;
    }
    .table-seat td {
        font-size: 12px;
        font-weight: bold;
        padding: 0 !important;
        width: 20px !important;
    }
    .seat-live-card .game-seat-card {
        width: 94%;
    }
    .game-seat table td.active::before {
        top: 10px;
    }
}
