/*Global*/

@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";


/*ul a, li a, th, td, td a {
    font-size: 18px !important;
}*/
body::-webkit-scrollbar {
    width: 0.5em;
}

body::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

body::-webkit-scrollbar-thumb {
    background-color: var(--main-bg-color);
    outline: 1px solid slategrey;
    border-radius: 20px;
}



.modal::-webkit-scrollbar {
    width: 0.5em;
}

.modal::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.modal::-webkit-scrollbar-thumb {
    background-color: var(--main-bg-color);
    outline: 1px solid slategrey;
    border-radius: 20px;
}




:root {
    --main-bg-color: #052c53;
    --secondary-bg-color: #293b4e;
    --third-bg-color: #444444;
    --fourth-bg-color: #293b4e;
    --fifth-bg-color: #d8e0d6;
}

body {
    text-align: right;
    background-color: #eee;
    font-size: 17px !important;
}

p {
    /*font-size: 1.1em;*/
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.main-bg {
    background-color: var(--fourth-bg-color) !important;
}

.btn, .btn-main-bg, .btn_white {
    border-radius: 8px;
}

.btn-main-bg {
    background-color: var(--fourth-bg-color) !important;
    color: #fff;
    background-color: #2b3947;
    border-color: #2b3947;
}

    .btn-main-bg:hover {
        color: #fff;
        border-color: #556677;
        background-color: #556677;
    }

.btn_white {
    color: #2b3947;
    background-color: #fff;
    border-color: #fff;
}

    .btn_white:hover {
        color: #fff;
        background-color: #2b3947;
        border-color: #2b3947;
    }


/**/
/**/
/*Start Layout*/


.wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
    background-color: #eef5fa;
}

#sidebar {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    width: 260px;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    z-index: 1024;
    background: #2b3947;
    color: #fff;
    transition: all 0.3s;
    overflow: hidden;
    overflow-y: auto;
}

#content {
    background-color: #eef5fa;
    width: calc(100% - 260px);
    transition: all 0.3s;
    position: absolute;
    top: 0;
    left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 0;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    max-width: 100%;
    min-height: 1px;
}

    #content.active {
        width: 100%;
    }

#sidebar.active {
    margin-right: -250px;
}

.inner-content {
    min-height: calc(100vh - 56px);
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}


#sidebar .sidebar-header {
    padding: 10px
    /* padding: 20px;
  background: linear-gradient(var(--secondary-bg-color), var(--main-bg-color));
  display: flex;
  justify-content: center;
  align-items: center;*/
}

#sidebar ul.components {
    border-bottom: 1px solid #47748b;
}

#sidebar .dropdown-toggle::after {
    display: none;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li {
    padding-top: 10px;
    padding-bottom: 10px;
}

    #sidebar ul li a {
        padding-left: 10px;
        padding-right: 10px;
        display: block;
    }

    /* By Fouad*/
    #sidebar ul li .active {
        color: #fff;
        background: #556677;
    }

    #sidebar ul li a:hover {
        color: #fff;
        background: #556677;
        cursor: pointer;
    }

    #sidebar ul li.active > a,
    #sidebar a[aria-expanded="true"] {
        color: #f5f5f5;
        /*background: var(--secondary-bg-color);*/
    }

ul ul a {
    margin-right: 40px;
    /*font-size: 1.2em !important;*/
    /*padding-right: 30px !important;*/
    /*background: var(--secondary-bg-color);*/
}

.list-unstyled {
    padding-left: unset;
    padding-right: 0;
}

/* #sidebar.active .mCustomScrollBox {
  box-shadow: unset;
} */
#sidebar .mCustomScrollBox {
    /*box-shadow: 22px 19px 10px 25px #889;*/
    height: 100vh;
    overflow-y: auto;
}

    #sidebar .mCustomScrollBox .mCSB_container {
        position: fixed;
        top: 0 !important;
        right: 0 !important;
    }

#dismiss {
    display: none;
}

.overlay.active {
    display: none;
    opacity: 0;
}

.footer {
    background: #fff;
    display: flex;
    justify-content: center;
    z-index: 1;
    height: 64px
}

/* Navbar */
.dropdown-menu {
    text-align: right;
}

.dropdown-item:focus,
.dropdown-item:hover {
    color: #fff;
    text-decoration: none;
    background-color: #556677;
}

.profile-img {
    height: 40px;
    width: 40px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 50%;
}

@media only screen and (max-width: 992px) {
    #content {
        width: 100%;
        position: relative;
    }
    /* #sidebar {
    z-index: 1024;
  } */
    #dismiss {
        display: block;
        width: 35px;
        height: 35px;
        position: absolute;
        /* top right corner of the sidebar */
        top: 10px;
        left: 0px;
    }

    .overlay {
        display: none;
        position: fixed;
        /* full screen */
        width: 100vw;
        height: 100vh;
        /* transparent black */
        background: rgba(0, 0, 0, 0.7);
        /* middle layer, i.e. appears below the sidebar */
        z-index: 1022;
        opacity: 0;
        /* animate the transition */
        transition: all 0.5s ease-in-out;
    }
        /* display .overlay when it has the .active class */
        .overlay.active {
            display: block;
            opacity: 1;
        }
}
/*End Layout*/
/**/
/**/

/**/
/**/
/*Modal Form*/
.modal-header button:focus {
    outline: 0 !important;
}

.modal-body .tab-content {
    border-color: rgba(0, 0, 0, 0.1);
    border-style: solid;
    border-width: 0 1px 1px 1px;
    border-radius: 0 0 3px 3px;
}

.modal-body #management {
    width: 100% !important;
}

.modal-body .nav-link.active,
.modal-body .tab-content {
    background-color: #f9f9f9;
}

.nav-tabs .nav-link {
    border-bottom: none;
}

.modal-body .form-group:last-child, .form-group:only-child {
    margin-bottom: 1.5rem !important;
}

.form-row > .col, .form-row > [class*="col-"] {
    padding-left: 20px;
    padding-right: 20px;
}

.btn-primary {
    -webkit-box-shadow: 0 2px 6px 0 rgba(70, 121, 204, 0.5);
    box-shadow: 0 2px 6px 0 rgba(70, 121, 204, 0.5);
}

.btn-secondary {
    -webkit-box-shadow: 0 2px 6px 0 rgba(134, 142, 150, 0.5);
    box-shadow: 0 2px 6px 0 rgba(134, 142, 150, 0.5);
}
/*End Modal Form*/

/*Input*/

.form-group .form-control {
    border: none;
    border-radius: unset;
    border-bottom: 2px solid silver;
    background-color: transparent;
}

    .form-group .form-control:focus {
        box-shadow: unset;
        border-bottom: 2px solid var(--secondary-bg-color);
        transform: scaleX(1);
        transition: transform .3s ease-in-out;
    }


/*Login*/
.login-card {
    width: 35rem;
    background: #f7f9fa;
    border-radius: 10px;
}

.fs-lg {
    font-size: large;
}

.login-left {
    background-color: var(--main-bg-color);
    /*background-image: url('../../img/login-img.jpg');*/
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
    /*background-size:50%;*/
}

.table-responsive > .table-bordered {
    border: 1px solid #dee2e6 !important;
}

/* collapse toggle to reveal and hide elements */
[aria-expanded="false"] ~ .collapsed-reveal {
    display: none;
}

[aria-expanded="false"] .collapsed-reveal {
    display: none;
}

[aria-expanded="false"] ~ .collapsed-hidden {
    display: block;
}

[aria-expanded="false"] .collapsed-hidden {
    display: block;
}

[aria-expanded="true"] ~ .collapsed-reveal {
    display: block;
}

[aria-expanded="true"] .collapsed-reveal {
    display: block;
}

[aria-expanded="true"] ~ .collapsed-hidden {
    display: none;
}

[aria-expanded="true"] .collapsed-hidden {
    display: none;
}

.accordion .card .card-header .card-title[aria-expanded="true"] {
    color: #4679cc !important;
}

.modal {
    direction: ltr;
}

    .modal.show .modal-dialog {
        direction: rtl;
    }

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
    margin-right: 0;
}

/*New Slider*/

/*#newsSlider .carousel-inner {
    height: auto;
}

#newsSlider .carousel-inner > .item > img,
#newsSlider .carousel-inner > .item > a > img {
    filter: brightness(85%);
    width: 100%;
    margin: auto;
    min-height: initial;
}

#newsSlider .carousel-caption {
    top: 40%;
    color: #fff;
}*/


/**/
.carousel-control-prev {
    right: unset;
    left: 0;
    top: unset;
    bottom: unset;
}

.carousel-control-next {
    right: 0;
    left: unset;
    top: unset;
    bottom: unset;
}

.carousel-indicators li {
    background-color: #c1c1c1;
}
/*.......*/
/**/
/*#photoAlbumSlider*/
.carousel-inner {
    height: auto;
}

    .carousel-inner > .item > img,
    .carousel-inner > .item > a > img {
        width: 100%;
        margin: auto;
        min-height: initial;
    }

/*#photoAlbumSlider .carousel-item img {
        filter: unset;
        height: 100%;
        width: 100%;
    }*/
.carousel-item .carousel-caption {
    bottom: 7%;
    color: #fff;
}

.carousel-caption h5,
.carousel-caption h3 {
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.5);
}

.carousel-caption {
    color: #fff;
}


/**/
.carousel-control-prev {
    right: unset;
    left: 0;
}

.carousel-control-next {
    right: 0;
    left: unset;
    width: unset;
    padding: 10px;
    border-radius: 4px;
}

.carousel-control-prev {
    width: unset;
    padding: 10px;
    border-radius: 4px;
}

.carousel-control-next-icon {
    background-image: url("../../img/slider_arrows_sprite_right.png");
    height: 60px;
    width: 40px;
}

.carousel-control-prev-icon {
    background-image: url("../../img/slider_arrows_sprite_left.png");
    height: 60px;
    width: 40px;
}

/*.......*/
td.details-control {
    text-align: center;
    color: forestgreen;
    cursor: pointer;
}

tr.shown td.details-control {
    text-align: center;
    color: red;
}
/**/

/*Auth*/


.identity_layout {
    height: 100vh;
    position: relative;
}

    .identity_layout::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /*        background-image: url(../../img/portsaid.jfif);*/
        background-image: url(../../img/istockphoto-1222268402-612x612.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        filter: opacity(0.8) blur(3px);
    }

.identity_layout_inside {
    /* This will make it stack on top of the ::before */
    position: relative;
    #dt-basic-example, .sorting_asc, .sorting_desc, .even .sorting_1, .odd .sorting_1

{
    background: #fff;
}

.dataTables_filter .input-group-text {
    background-color: #fff;
    border-left: unset;
    border-radius: 24px;
}

div.dataTables_wrapper div.dataTables_filter input {
    padding-top: 20px;
    padding-bottom: 20px;
    border-right: unset;
    border-radius: 24px;
}














/*custom upload input*/
.custom-upload-input {
    background-color: #ffffff;
    box-shadow: 1px 1px 1px #60606030;
    border: 1px solid #c7c7c9;
    border-radius: 4px;
    width: 100%;
    position: relative;
    z-index: 1;
    padding: 5px 0;
}

    .custom-upload-input input[type="file"] {
        width: 100%;
        height: 100%;
        opacity: 0;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 5;
    }

.custom-upload-input-content {
    display: flex;
    margin-top: 20px;
    margin-right: 20px;
}

    .custom-upload-input-content div {
        margin-right: 10px;
    }

        .custom-upload-input-content div h6 {
            color: #444444;
            font-size: 14px;
        }

        .custom-upload-input-content div span {
            color: #1a73e8;
            font-size: 14px;
        }

.upload-icon {
    position: absolute;
    left: 2%;
    top: 50%;
    transform: translateY(-50%);
}

.basic-data {
    width: 100%
}

.championship-info {
    display: flex;
}

.championship-info-col-content {
    margin-top: 38px;
}

.custom-form-row {
    align-items: end;
}
