body {
    color: #777;
    font-family: helvetica, "Segoe UI", Arial, sans-serif !important;
    /* font-family: 'Cantarell', sans-serif !important; */
}

.pure-img-responsive {
    max-width: 100%;
    height: auto;
}

.displayNone {
    display: none !important;
}

/*
Add transition to containers so they can push in and out.
*/
#layout,
#menu,
.menu-link {
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

/*
This is the parent `<div>` that contains the menu and the content area.
*/
#layout {
    position: relative;
    left: 0;
    padding-left: 0;
}

#layout.active #menu {
    left: 200px;
    width: 200px;
}

#layout.active .menu-link {
    left: 200px;
}

/*
The content `<div>` is where all your content goes.
*/
.content {
    margin: 0 auto;
    padding: 0 2em;
    /* max-width: 800px; */
    margin-bottom: 50px;
    line-height: 1.6em;
}

.header {
    margin: 0;
    color: #333;
    text-align: center;
    padding: 2.5em 2em 0;
    border-bottom: 1px solid #eee;
    background-color: #082756;
}

.header h1 {
    margin: 0.2em 0;
    font-size: 3em;
    font-weight: 300;
}

.header h2 {
    font-weight: 300;
    color: #ccc;
    padding: 0;
    margin-top: 0;
}

.content-subhead {
    margin: 50px 0 20px 0;
    font-weight: 300;
    color: #888;
}



/*
The `#menu` `<div>` is the parent `<div>` that contains the `.pure-menu` that
appears on the left side of the page.
*/

#menu {
    margin-left: -200px;
    /* "#menu" width */
    width: 200px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
    /* so the menu or its navicon stays above all content */
    background: #082756;
    overflow-y: auto;
}

/*
    All anchors inside the menu should be styled like this.
    */
#menu a {
    color: #fff;
    border: none;
    padding: 0.6em 0 0.6em 0.6em;
}

/*
    Remove all background/borders, since we are applying them to #menu.
    */
#menu .pure-menu,
#menu .pure-menu ul {
    border: none;
    background: transparent;
}

/*
    Add that light border to separate items into groups.
    */
#menu .pure-menu ul,
#menu .pure-menu .menu-item-divided {
    border-top: 1px solid #333;
}

/*
        Change color of the anchor links on hover/focus.
        */
#menu .pure-menu li a:hover,
#menu .pure-menu li a:focus {
    background: #2a5fb1;
}

/*
    This styles the selected menu item `<li>`.
    */
#menu .pure-menu-selected,
#menu .pure-menu-heading {
    /* background: #1f8dd6; */
}

/*
        This styles a link within a selected menu item `<li>`.
        */
#menu .pure-menu-selected a {
    color: #fff;
}

/*
    This styles the menu heading.
    */
#menu .pure-menu-heading {
    font-size: 110%;
    color: #fff;
    margin: 0;
}

/* -- Dynamic Button For Responsive Menu -------------------------------------*/

/*
The button to open/close the Menu is custom-made and not part of Pure. Here's
how it works:
*/

/*
`.menu-link` represents the responsive menu toggle that shows/hides on
small screens.
*/
.menu-link {
    position: fixed;
    display: block;
    /* show this only on small screens */
    top: 10px;
    left: 25px;
    /* "#menu width" */
    /* background: #000;
    background: rgba(0, 0, 0, 0.7); */
    font-size: 10px;
    /* change this value to increase/decrease button size */
    z-index: 1000;
    width: 3em;
    height: auto;
    padding: 18.1px 1.6px;
}

.menu-link:hover,
.menu-link:focus {
    background: #000;
}

.menu-link span {
    position: relative;
    display: block;
}

.menu-link span,
.menu-link span:before,
.menu-link span:after {
    background-color: #fff;
    pointer-events: none;
    width: 100%;
    height: 0.2em;
}

.menu-link span:before,
.menu-link span:after {
    position: absolute;
    margin-top: -0.6em;
    content: " ";
}

.menu-link span:after {
    margin-top: 0.6em;
}


/* -- Responsive Styles (Media Queries) ------------------------------------- */

/*
Hides the menu at `48em`, but modify this based on your app's needs.
*/
@media (min-width: 48em) {

    .header,
    .content {
        padding-left: 2em;
        padding-right: 2em;
    }

    #layout {
        padding-left: 200px;
        /* left col width "#menu" */
        left: 0;
    }

    #menu {
        left: 200px;
    }

    .menu-link {
        position: fixed;
        left: 150px;
        display: none;
    }

    #layout.active .menu-link {
        left: 150px;
    }

}

@media (max-width: 48em) {

    /* Only apply this when the window is small. Otherwise, the following
    case results in extra padding on the left:
        * Make the window small.
        * Tap the menu to trigger the active state.
        * Make the window large again.
    */
    #layout.active {
        position: relative;
        left: 150px;
    }

    .header h2 {
        font-size: 20px;
        margin-left: 35px;
    }

    .content {
        padding: 0 !important;
    }

    #tournamentList {
        padding: 10px;
    }

    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
    }

    .role {
        margin-top: 106px !important;
    }
}

/* add tounament form design */
.add_tou_form {
    width: 620px;
    margin: 0px auto;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    padding: 20px;
    border-radius: 5px;
    border: 22px solid #082756;
    margin-top: 20px;
}

/* .tounament,
#close {
    display: none;
} */

table thead {
    color: #fff;
    background-color: #2a5fb1;
}

table {
    border: 2px solid #3a69b1;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

table thead tr th {
    padding: 10px;
}

table tbody tr td {
    padding: 10px;
    color: #082756;
    font-size: 17px;
    font-weight: 600;
}

tr:nth-child(even) {
    background-color: #b4cff9;
}

.link_container {
    background-color: #607d8ba6;
}

input {
    width: 85%;
    /* pointer-events:none; */
}

.row h5 {
    color: #6cfff1;
}

#link_container {
    display: none;
}

.tounament_m {
    box-shadow: rgb(0 0 0 / 25%) 0px 54px 55px, rgb(0 0 0 / 12%) 0px -12px 30px, rgb(0 0 0 / 12%) 0px 4px 6px, rgb(0 0 0 / 17%) 0px 12px 13px, rgb(0 0 0 / 9%) 0px -3px 5px;
    padding: 35px;
    margin-top: 20px;
    border-radius: 10px;
}

.img_show {
    width: 100px;
    height: 100px;
}

.img_show img {
    width: 100px;
    height: 100px;
    border: 4px solid grey;
    border-radius: 5px;
}


/* popup design */

.pop_m {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    /* background-color: #00000082; */
    display: none;
}

.pop_b {
    display: none;
    width: 382px;
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* z-index: 100; */
    z-index: 9;
    border-radius: 10px;
    display: block;
    border-radius: 4px;
    box-shadow: rgb(0 0 0 / 30%) 0px 19px 38px, rgb(0 0 0 / 22%) 0px 15px 12px;
    background-color: #25cb7e;
    color: #006400;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    font-family: cursive;
    display: none;
}

.card {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1050;
}

.popup-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    z-index: 1051;
    overflow: hidden;
    animation: scaleIn 0.3s ease-out;
    width: 60%;
    /* Set the width to 60% for desktop */
    max-width: 600px;
    /* Set a maximum width for larger screens */
}

#popup1 {
    z-index: 2147483647;
    background: #fff;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#overlay1 {
    z-index: 2147483646;
    opacity: 1;
    visibility: visible;
}

.popup {
    /* padding: 20px; */
    /* text-align: center; */
    max-height: 90vh;
    /* Set a maximum height for the popup */
    overflow-y: auto;
}

button {
    background: #007BFF;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.fixed-header {
    position: sticky;
    top: 0;
    padding: 15px 20px 0px 20px;
    background-color: #fff;
    z-index: 3;
    /* Adjust the z-index as needed */
}

@media (max-width: 768px) {
    .popup-container {
        width: 90%;
        max-height: 90vh;
        /* Adjust the width for smaller screens */
    }
}

@media (max-width: 768px) {
    .popup-container {
        width: 90%;
        max-height: 90vh;
        /* Adjust the width for smaller screens */
    }
}

@keyframes scaleIn {
    from {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* //toggle btn */
#toggleBtn {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 60px;
    height: 30px;
    background-color: #b3e0ff;
    /* Set the default background color when checked */
    border: 1px solid #999;
    outline: none;
    cursor: pointer;
    position: relative;
    border-radius: 15px;
}

#toggleBtn:before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    width: 28px;
    height: 28px;
    background-color: #fff;
    border: 1px solid #999;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

#toggleBtn:checked:before {
    transform: translateX(30px);
}

#toggleLabel {
    margin-left: 10px;
}

/* --------without otp----------- */

#toggleBtnOtp {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 60px;
    height: 30px;
    background-color: #b3e0ff;
    /* Set the default background color when checked */
    border: 1px solid #999;
    outline: none;
    cursor: pointer;
    position: relative;
    border-radius: 15px;
}

#toggleBtnOtp:before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    width: 28px;
    height: 28px;
    background-color: #fff;
    border: 1px solid #999;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

#toggleBtnOtp:checked:before {
    transform: translateX(30px);
}

#toggleLabelOtp {
    margin-left: 10px;
}

/* for search */

#searchInput {
    border-radius: 5px;
}

.input-group {
    width: 80%;
    /* Adjust the width as needed */
    margin: 0 auto;
}

.input-group-append {
    cursor: pointer;
}

#searchIcon {
    background-color: #b0d1ed;
    color: #082756;
    border: 1px solid #b0d1ed;
    border-radius: 0 5px 5px 0;
}

a {
    text-decoration: none !important;
}

/* scroll */

/* width */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #306bc3;
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #306bc3;
}
