@tailwind utilities;
@tailwind components;
@tailwind base;


@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,400&family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    font-family: Roboto, Arial, sans-serif;

}

::-webkit-scrollbar {
    width: 5px;
    height: 0;
    border-radius: 15px;
}

::-webkit-scrollbar-track {
    width: 3px;
    border-radius: 15px;
}

::-webkit-scrollbar-thumb {
    background: var(--background-gradient);
    border-radius: 15px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

/* WebKit and Blink */

::-webkit-scrollbar {
    width: 6px;
    height: 4px;
    cursor: pointer;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

/* .scroller {
    width: 300px;
    height: 100px;
    overflow-y: scroll;
    scrollbar-color: rebeccapurple green;
    scrollbar-width: thin;
  }
   */


:root {
    --background-gradient: linear-gradient(90deg, #ffc246 0%, #d89218 100%);
    /* --background-gradient:linear-gradient(230deg, rgba(93, 93, 93, 0.03) 0%, rgba(93, 93, 93, 0.03) 50%,rgba(78, 78, 78, 0.03) 50%, rgba(78, 78, 78, 0.03) 100%),linear-gradient(107deg, rgba(55, 55, 55, 0.01) 0%, rgba(55, 55, 55, 0.01) 50%,rgba(170, 170, 170, 0.01) 50%, rgba(170, 170, 170, 0.01) 100%),linear-gradient(278deg, rgba(16, 16, 16, 0.03) 0%, rgba(16, 16, 16, 0.03) 50%,rgba(24, 24, 24, 0.03) 50%, rgba(24, 24, 24, 0.03) 100%),linear-gradient(205deg, rgba(116, 116, 116, 0.03) 0%, rgba(116, 116, 116, 0.03) 50%,rgba(0, 0, 0, 0.03) 50%, rgba(0, 0, 0, 0.03) 100%),linear-gradient(150deg, rgba(5, 5, 5, 0.03) 0%, rgba(5, 5, 5, 0.03) 50%,rgba(80, 80, 80, 0.03) 50%, rgba(80, 80, 80, 0.03) 100%),linear-gradient(198deg, rgba(231, 231, 231, 0.03) 0%, rgba(231, 231, 231, 0.03) 50%,rgba(26, 26, 26, 0.03) 50%, rgba(26, 26, 26, 0.03) 100%),linear-gradient(278deg, rgba(89, 89, 89, 0.03) 0%, rgba(89, 89, 89, 0.03) 50%,rgba(26, 26, 26, 0.03) 50%, rgba(26, 26, 26, 0.03) 100%),linear-gradient(217deg, rgba(28, 28, 28, 0.03) 0%, rgba(28, 28, 28, 0.03) 50%,rgba(202, 202, 202, 0.03) 50%, rgba(202, 202, 202, 0.03) 100%),linear-gradient(129deg, rgba(23, 23, 23, 0.03) 0%, rgba(23, 23, 23, 0.03) 50%,rgba(244, 244, 244, 0.03) 50%, rgba(244, 244, 244, 0.03) 100%),linear-gradient(90deg, rgb(1, 64, 149),rgb(198, 5, 91)); */
    --background-color: #ffffff17;
}

@font-face {
    font-family: "Segoe UI";
    src: url("css/fonts/SegoeUI.tff");
    src: url("css/fonts/SegoeUIBold") format("tff");
    /* src: url("css/fonts/Helvetica") format("opentype"), */
}

.input {
    padding: .25rem 1rem;
    border-radius: 50px;
    border: 1px solid #ccc;
    width: 100%;

}

.input::placeholder {
    font-size: 14px;
}

.btn {
    cursor: pointer;
    border: 0;
    font-size: 14px;
    text-align: center;
    box-shadow: 1px 2px 4px -2px #00000063;
    border-radius: 25px;
    min-width: 7rem;
    padding: 2px 6px;
    background-color: #f5f5f5;
    line-height: 2;
    font-weight: 400;
}

.btn-sm {
    min-width: 5rem !important;
    line-height: 1.6;
}

.btn-main {
    background-image: var(--background-gradient);
    color: #eee;
}

.btn-main:hover {
    color: #eee;
}

.radio {
    /* px-2 border rounded-full bg-white inline-flex w-[200px] gap-2 items-center */
    padding: 0 0.5rem;
    border-radius: 9999px;
    border-width: 1px;
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    background-color: #fff;
    max-width: 200px;
    margin: 2px;
}

.radio label {
    margin: 0;
}

.btn:hover {
    opacity: .75;
}



/* Gallery */

.gallery {
    display: flex;
    flex-wrap: wrap;
    display: grid;
    grid-gap: 0.2rem;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: minmax(20vh, 200px);
}

.gallery li {
    flex: 0 0 auto;
    flex-wrap: wrap;
    height: 20vh;
    margin: 0.12rem;
    min-width: 15rem;
    width: 20rem;
}

@supports (display: grid) {
    .gallery li {
        height: initial;
        margin: unset;
        width: initial;
        min-width: initial;
    }

    .gallery li:nth-of-type(2n + 2) {
        grid-row: span 2;
    }
}



.gallery p {
    font-size: 0.875rem;
    line-height: 1.5;
}

.gallery li:nth-of-type(1) {
    background-image: url('../images/gallery/1.jpeg');
}

.gallery li:nth-of-type(2) {
    background-image: url('../images/gallery/2.jpeg');
}

.gallery li:nth-of-type(3) {
    background-image: url('../images/gallery/3.jpeg');
}

.gallery li:nth-of-type(4) {
    background-image: url('../images/gallery/4.jpeg');
}

/* .gallery li:nth-of-type(5) {
    background-image: url('../images/gallery/5.jpeg');
  
} */

.gallery li:nth-of-type(6) {
    background-image: url('../images/gallery/5.jpeg');
}

.gallery ul,
.gallery li {
    list-style: none;
    padding-left: 0;
}

.gallery li {
    align-items: stretch;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex: 1 0 100%;
    flex-direction: column;
    justify-content: flex-end;
    line-height: 3;
    overflow: hidden;
}

.gallery li:hover .🐜-title,

.gallery li:focus .🐜-title {
    background-color: #041b49;
    height: auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
    transform: translateY(0);
}

.gallery .🐜-title {
    background-color: rgba(4, 27, 73, 0.5);
    color: #fff;
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0;
    padding: 0.25rem 0.5rem;
    transform: translateY(100px);
    transition: padding 0.3s ease-in-out, background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.gallery h1 {
    font-size: calc(3rem + 1vw);
    font-weight: 300;
    margin: 2rem 0 0;
    text-align: center;
}

.gallery h1 span {
    font-weight: 700;
}

.gallery .intro {
    text-align: center;
}


/* Gallery */






.external-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 40%;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 5px 0px #0000001f;
    padding: 1rem;
    z-index: 10;

}

.external-box:after {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #0000004d;
}

.external-box h2 {
    font-weight: bold;
    margin-bottom: 1rem;
}

.external-box i,
#editInfoForm i {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}


.frame {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 9999999;
    background-color: #fff;
}

.inside-frame {

    /* width: 923px; */
}

iframe {

    height: 100%;
    width: 100%;
}

body {
    min-height: 99vh;
    background-position: center;
    background-size: cover;
}

body>.container {
    background-color: var(--background-color);
    padding: 10px;
}

.wrapper {
    width: 75%;
    margin: auto;
    padding: 10px 0
}

ul {
    list-style: none;
}


button:focus {
    outline: 0
}


p,
span {}



input:disabled {
    background-color: rgba(63, 63, 63, 0);
    border: 0;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.message {
    position: fixed !important;
    top: 65px;
    left: 50% !important;
    z-index: 9999999999;
    transform: translate(-50%, 0);
}

.btn-wrapper {
    background-image: var(--background-gradient);
    height: 35px;
    width: 100px;
    padding-top: 3px;
    padding-bottom: 3px;
    transition: .3s;
    cursor: pointer;
}


.alert {
    box-shadow: 1px 2px 4px -2px #00000063;
    padding: .5rem;
    margin: 10px 0;
    border-radius: 3px;
}

.alert-warning {
    color: #444;
    background-color: #ffec97;
}

.alert-success {
    color: #333;
    background-color: #3aff4e;
}

.alert-danger {
    color: #ffffff;
    background-color: #d93737;
}

.alert-info {
    color: #fff;
    background-color: #3e8fec;
    ;
}

.btn-success {
    background-color: #55eea8;
    color: #333;
}

.btn-danger {
    background-color: #d93737;
    color: #fff;
}

.btn-warning {
    background-color: #ffec97;
    color: #444;
}

.btn-info {
    background-color: #3e80ec;
    color: #fff;
}

.btn-primary {
    background-color: #659bf2;
    color: #fff;
}

.btn-primary:hover {
    background-color: #3e80ec;
    color: #fff;
}

.btn-primary:focus {
    background-color: #3e80ec;
    color: #fff;
}

.btn-primary:active {
    background-color: #3e80ec;
    color: #fff;
}

.btn-primary:disabled {
    background-color: #3e80ec;
    color: #fff;
}


.daterangepicker {
    z-index: 9999999;
}

.main-heading {
    color: #fff;
    font-size: 18px;
    font-weight: 300;
    display: inline-block;
    background-image: var(--background-gradient);
    padding: 3px 15px;
    border-radius: 5px;
}

.loading {
    height: 80px;
    width: 80px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%)
}

.loading img {
    width: 100%;
    height: 100%;
}

.dynamic-tabs .content-list {
    width: 100%;
    height: 80vh;
    overflow: scroll
}

.dynamic-tabs .content-list>div {
    /* height: 100%;
    min-height: 100vh;
    width: 100%;
    position: relative; */
}

#notifications {
    z-index: 999999;
    width: 350px;
    min-height: 250px;
    max-height: 450px;
    overflow: scroll;
    background-color: #fff;
    box-shadow: var(--shadow);
    border-radius: var(--m-radius);
    position: absolute;
    top: 55px;
    right: 29%;
    grid-template-columns: 1fr;
    grid-gap: var(--l-margin);
    grid-auto-rows: minmax(max-content, 50px);
    align-items: center;
    padding: var(--m-padding)
}

#notifications::after {
    content: '';
    position: absolute;
    z-index: 99;
    top: -4px;
    right: 10px;
    width: 10px;
    height: 10px;
    background-color: #fff;
    transform: rotate(223deg);
}

#notifications .notification {
    display: flex;
    justify-content: space-evenly;
    padding: var(--m-padding);
    background-color: #fff;
    border-radius: var(--radius);
    border: .7px solid #ccc;
}

#notifications .notification img {
    height: 50px;
    width: 50px;
    border-radius: 3px;
    margin-right: 5px;
}

#notifications .notification a,
#notifications .notification p {
    font-size: 14px;
    color: #333;
}

#notifications .notification p {
    margin: 5px;
}

.activeNotification {
    color: #fff;
    text-shadow: 0px 0px 6px #f74747;
    display: flex
}

.no {
    position: absolute;
    background: #333333ad;
    border-radius: 50px;
    height: 17px;
    width: 17px;
    text-align: center;
    line-height: 17px;
    font-size: 13px;
    top: 8px;
    left: 11px;
}

#navbar-main {
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--background-gradient);
    border-bottom: 1.1px solid #ccc;
    padding: 0 var(--l-padding);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999999;
    overflow-y: hidden;
    overflow-x: scroll;
}

nav small {
    font-size: 65%;
    color: #ccc
}

#user_img {
    height: 30px;
    width: 30px;
    border: 1.3px solid #fff;
    margin-right: 5px;
    border-radius: 50%;
    box-shadow: var(--shadow)
}

.navbar-logo {
    color: #fff;
    font-weight: bold;
    font-size: 28px;
    padding-left: 10px;
}

.navbar-logo img {
    height: 60px;
    width: 60px;
}

#navbar-main .navbar-nav {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: unset !important;
    padding: var(--m-margin) 0;
}

#navbar-main .nav-item {
    margin-right: var(--l-margin)
}

#navbar-main .nav-link {
    color: #fff;
    margin-right: var(--s-margin);
    font-size: 21px;
    display: flex;
    align-items: center;
    text-decoration: none
}

#navbar-main .nav-link:hover {
    color: #ccc;
}

nav .navbar-toggler {
    padding: 0.15rem 0.15rem;
    background-color: #eeeeee
}

nav .form-control {
    height: auto;
}

.hero-image {
    filter: drop-shadow(-1px 1px 14px #ffc246);
    animation: glow 1s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(-1px 1px 14px #ffc246);
    }

    to {
        filter: drop-shadow(-1px 1px 14px #d2e5ff);
    }
}


.tabs-list .active {
    color: #3bd88c;
    border-bottom: 2px solid #3bd88c;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
}

.tabs-list .active .btn {
    background-color: #fff !important;
}

.filters input[type="radio"]::checked~label {
    background-color: green;
}


#nav-toggle {
    color: #ffc246;
    background-color: transparent;
}



.item {
    position: relative;
    z-index: 2;
    border-radius: .5rem;
    box-shadow: 0 0 5px 0px #0000001f;
    transition: .4s all;
    height: 300px;
    border: 0;
    overflow: hidden;
}

.item label {
    display: block;
    text-align: left;
    font-size: 13px;
    padding: 0 var(--s-padding);
}

.lessons_head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 
.item:hover {
    background-color: #333;
    border: none
} */

.item:hover .lessonImg img {
    opacity: .6;
}

.item_inputs_group {
    display: grid;
    justify-content: space-evenly;
    align-items: center;
    grid-template-columns: 1fr 1fr;
}

.item-inputs_control {
    text-transform: capitalize;
    font-weight: bold;
    text-align: center;
    display: block;
    margin: 2px auto;
    padding: 5px 0;
    height: 32px;
    font-size: 13px;
}

.item-img {
    position: relative;
    z-index: -1;
    width: 100%;
    margin: auto;
    min-height: 40%;
    height: 65%;
    overflow: hidden;
    background: #d6d6d66e;
    object-fit: cover;
}

.tumbnialImage {
    width: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.thum-img {
    background: #f9f9f9;
    height: 100%;
    z-index: 99999 !important;
    pointer-events: none;
}

.search-interface_openBtn,
.search-interface_closeBtn {
    display: none
}

.search-interface {
    position: absolute;
    right: 20px;
    height: auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    transition: .5s;
}

#searchStudentForm {
    margin: var(--s-margin) 0;
    background-image: var(--background-gradient);
    padding: 3px;
    position: relative;
    border-radius: var(--l-radius)
}

.searchStudentForm_wrapper {
    display: flex;
    border-radius: var(--l-radius)
}

#searchStudentForm input[type="text"] {
    background-color: #fff;
    border-radius: var(--m-radius);
}

#searchStudentForm input[type="text"]:focus {
    outline: 0;
}

.input-group-prepend {
    border: 0;
    border-radius: var(--m-radius);
    margin-right: 5px;
    width: 27%;
    background: #fff;
    font-size: 8px;
}

#searchStudentForm button {
    position: absolute;
    right: 3px;
    top: 9px;
    margin: 0;
    color: #000;
    background: transparent;
    border: 0;
    border-radius: 0;
    z-index: 999;
    border-radius: 7px;
}

.searchResult {
    height: 290px;
    background: #fff;
    position: absolute;
    top: 61px;
    padding: var(--l-padding);
    border: 1.1px solid #ccc;
    border-radius: var(--l-radius);
    display: none;
}

.searchResult .closeSearch {
    position: absolute;
    right: 3px;
    top: 5px;
}

.searchResult h4 {
    opacity: .7;
    text-align: center;
    margin-top: var(--l-margin)
}

.searchResult_item {
    height: 200px;
    width: 100%;
    background: #f9f9f9;
    padding: var(--l-padding);
    box-shadow: var(--shadow);
    border-radius: var(--m-radius);
    text-align: center
}

.searchResult_item h3 {
    text-align: center;
    text-transform: capitalize;
}

.searchResult_item_image {
    height: 60%;
    width: 100%
}


.shine {
    background: #222 -webkit-gradient(linear, left top, right top, from(#222), to(#222), color-stop(0.5, #fff)) 0 0 no-repeat;
    -webkit-background-size: 150px;
    color: #ffffff4d;
    -webkit-background-clip: text;
    -webkit-animation-name: shine;
    -webkit-animation-duration: 5s;
    -webkit-animation-iteration-count: infinite;
    text-shadow: 0 0px 0px rgba(255, 255, 255, 0.5);
}


.chrome {
    background: #000 -webkit-gradient(linear, right top, left top, from(#000), to(#000), color-stop(0.5, #fff)) 0 0 no-repeat;
    background-image: -webkit-linear-gradient(-40deg, transparent 0%, transparent 40%, #fff 50%, transparent 60%, transparent 100%);
    -webkit-background-size: 200px;
    color: #0000004d;
    -webkit-background-clip: text;
    -webkit-animation-name: shine;
    -webkit-animation-duration: 5s;
    -webkit-animation-iteration-count: infinite;
    text-shadow: 0 0px 0px rgba(255, 255, 255, 0.5);
    font-size: 5rem;
}

@-webkit-keyframes shine {

    0%,
    10% {
        background-position: -1000px;
    }

    20% {
        background-position: top left;
    }

    90% {
        background-position: top right;
    }

    100% {
        background-position: 1000px;
    }
}

#allEvents {
    display: grid;
    grid-gap: 1rem;
    padding: 1rem;
    position: relative;
    justify-content: center;
    margin: 10px 0;
    min-height: 300px;
}

#Eventholders {
    display: grid;
    background-color: #fff;
    width: 75%;
    margin: auto;
    z-index: 9;
}

#Eventholders .background {
    -webkit-animation-duration: 1s;
    -webkit-animation-fill-mode: forwards;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-name: placeHolderShimmer;
    -webkit-animation-timing-function: linear;
    background: #f6f7f9;
    background-image: linear-gradient(to right, #f6f7f9 0%, #e9ebee 20%, #f6f7f9 40%, #f6f7f9 100%);
    background-repeat: no-repeat;
    background-size: 800px 104px;
    height: 250px;
    position: relative;
}

#Eventholders section {
    padding: 12px;
    height: 191px;
    background-color: #fff;
    padding: var(--l-padding);
}

#Eventholders .background div {
    background: #fff;
    height: 6px;
    left: 0;
    position: absolute;
    right: 0;
}

#Eventholders div.a {
    height: 40px;
    left: 40px;
    right: auto;
    top: 0;
    width: 8px;
}

#Eventholders div.b {
    height: 8px;
    left: 48px;
    top: 0;
}

#Eventholders div.c {
    left: 136px;
    top: 8px;
}

#Eventholders div.d {
    height: 12px;
    left: 48px;
    top: 14px;
}

#Eventholders div.e {
    left: 100px;
    top: 26px;
}

#Eventholders div.f {
    height: 10px;
    left: 48px;
    top: 32px;
}

#Eventholders div.g {
    height: 20px;
    top: 40px;
}

#Eventholders div.h {
    left: 410px;
    top: 60px;
}

#Eventholders div.i {
    height: 13px;
    top: 66px;
}

#Eventholders div.j {
    left: 440px;
    top: 79px;
}

#Eventholders div.k {
    height: 0;
    top: 85px;
}

#Eventholders div.l {
    left: 0;
    top: 0;
}

@keyframes placeHolderShimmer {
    0% {
        background-position: -468px 0;
    }

    100% {
        background-position: 468px 0;
    }
}

#allEvents .event {
    background-color: #fff;
    padding: .75rem;
    border-radius: .5rem;
    border: 1px solid #e9e9e9;
    width: 70%;
    margin: auto;
    position: relative;
}

.event-sub-menu_btn {
    cursor: pointer;
    color: rgb(50, 50, 202);
}

.event-sub-menu_btn:hover {
    color: rgb(197, 10, 182)
}

.event-sub-menu {
    position: absolute;
    right: 6px;
    top: 20px;
    background-color: #f9f9f9;
    padding: 3px;
    border: 1.2px solid #ccc;
    display: none;
    border-radius: .2rem;
}

.event-sub-menu li {
    font-size: 12px;
    margin-bottom: 4px;
    cursor: pointer;
    padding: 4px;
}

.event-sub-menu li:hover {
    background-color: #fff
}

.activeMenu {
    display: block !important;
}

#closeComments {
    position: absolute;
    right: 5px;
    top: 5px;
    font-size: 20px;
    cursor: pointer;
}

.event-info,
.event-header {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 3px;

    color: #666;
}

.event-header {
    justify-content: flex-start;
    align-items: center;
    padding: 0 var(--m-padding);
    margin-bottom: var(--m-margin);
}

.event-body {
    min-height: 60px;
    font-size: 20px;
    margin-top: .5rem;
}

.event-body .btn {
    display: unset;
    border-radius: 0;
    background: #ffc246;
    padding: 5px 10px;
    margin-top: var(--m-margin);
    float: right;
}

.event-header_teacherInfo {
    display: flex;
    justify-content: space-evenly;
    align-items: center
}

.event-header_img {
    width: 30px;
    height: 30px;
    margin: 0;
    margin-right: var(--m-margin)
}

.event-header_time {
    font-size: 10px;
    margin-right: 4px
}

.event-header_type {
    font-size: 10px;
    color: #666;
    margin-left: var(--m-margin)
}

.event-info p {
    margin: 0 var(--s-margin);
    font-size: 12px;
    font-weight: bold;
    line-height: 2px;

    color: #666;
}

#allEvents .event-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 0;
    left: 0%;
    transform: translate(0%, 0px);
    z-index: 9999;
    width: 100%;
    border-bottom-left-radius: var(--l-radius);
    border-bottom-right-radius: var(--l-radius);
}

#allEvents .event-actions span {
    margin: 1rem 0;
    cursor: pointer;
    padding: 0 .5rem;
    border-radius: .5rem;
}

#allEvents .event-actions span:hover {
    color: #666;
}

#allEvents .event-content {
    padding: 5px;
    margin-bottom: var(--m-margin);
    font-size: 18px;
    min-height: 40px;
}

#allEvents .event .event-img {
    width: 100%;
    display: block;
    margin: auto;
    height: 60%;
}

#commentsBoxs {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translate(-50%, -5%);
    z-index: 999999;
    width: 100%;
    background-color: #00000091;
    padding: var(--l-padding);
    height: 100%;
    display: none;
}

#allcomments {
    position: fixed;
    width: 45%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 0;
    transition: all .5s;
    background-color: #fff;
    margin: auto;
    z-index: 999999999;
    border: 1.1px solid #ccc;
    border-radius: 8px;
    opacity: 0;
    margin-bottom: -142px;
}

#allcomments .comments {
    padding: var(--m-padding);
    overflow: scroll;
    height: 100%;
}

#allcomments .comment {
    background: #fff;
    box-shadow: var(--shadow);
    border-bottom: 1px solid #f6f6f6;
    padding: 3px;
    border-radius: var(--m-radius);
    margin: var(--m-margin);
}

#allcomments .comment img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    float: left;
    margin-right: var(--l-margin);
}

#allcomments .comment a {
    color: #333;
    font-weight: bold;
    text-transform: capitalize;
}

#allcomments .comment p {
    color: #555;
    padding: 3px;
}

.addComment {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 3px;
    position: fixed;
    /* bottom: -9px; */
    /* left: 3px; */
    background: var(--background-gradient);
}

#newCommentInput {
    border: 0 !important;
    border-radius: 0;
}

.addNewComment {
    margin: 0;
    border-radius: 0 !important;
    background-color: transparent;
    line-height: 1.35;
}

/* #closeComments{
  position: absolute;
  top: 1%;
  right: 0%;
  color: #000;
  cursor: pointer;
} */

#closeWindow {
    position: absolute;
    top: 3%;
    right: 3%;
    color: #000;
    font-size: 20px;
    cursor: pointer;
}

.lessonImg input {
    display: none;
}

.onoffswitch {
    position: relative;
    width: 90px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.onoffswitch-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #999999;
    border-radius: 20px;
}

.onoffswitch-inner {
    display: block;
    width: 200%;
    margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}

.onoffswitch-inner:before,
.onoffswitch-inner:after {
    display: block;
    float: left;
    width: 50%;
    height: 30px;
    padding: 0;
    line-height: 30px;
    font-size: 13px;
    color: white;
    font-family: Trebuchet, Arial, sans-serif;
    font-weight: bold;
    box-sizing: border-box;
}

.onoffswitch-inner:before {
    content: "Active";
    padding-left: 10px;
    background-color: #00FF15;
    color: #FFFFFF;
}

.onoffswitch-inner:after {
    content: "not active";
    padding-right: 10px;
    background-color: #EEEEEE;
    color: #999999;
    text-align: right;
}

.onoffswitch-switch {
    display: block;
    width: 20px;
    margin: 6.5px;
    background: #FFFFFF;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 56px;
    border: 2px solid #999999;
    border-radius: 20px;
    transition: all 0.3s ease-in 0s;
}

.onoffswitch-inner.active {
    margin-left: 0;
}

.onoffswitch-inner.active .onoffswitch-switch {
    right: 0;

}

.onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

.onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-switch {
    right: 0px;
}



.question-sub-menu-btn {
    cursor: pointer;
    position: absolute;
    right: 5px;
    top: 8px;
    color: #585858;
    font-size: 14px;
}

.question-sub-menu-btn:hover {
    color: purple;
}

.question-sub-menu-btn::before {
    content: "\f142";
    display: block;
    height: 20px;
    width: 20px;
    border-radius: 50px;
    background-color: #fff;
    text-align: center;
    padding-top: 3px;
    box-shadow: 1px 2px 4px -2px #00000063;
}

.question-list_item-sub-list {
    position: absolute;
    right: 4px;
    top: 12px;
    background-color: #f9f9f9;
    border-radius: 4px;
    max-height: 90px;
    width: 80px;
    z-index: 99;
    display: none;
    box-shadow: 0 4px 32px 0 rgba(0, 0, 0, 0.1);

}

.question-list_item-sub-list-action {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 2px;
    width: 80%;
    margin: 3px auto;
    text-align: center;
    cursor: pointer;
    font-size: 12px;
    border-radius: 2px;
}

.question-list_item-sub-list-action:hover {
    background-color: #ccc;
}

@media (max-width: 750px) {
    .external-box {
        width: 90%;
    }

    .wrapper {
        width: 100%;
    }

    .items {
        grid-template-columns: 1fr;
        width: 90%;
        margin: auto;
        background-color: transparent;
        border: 0;
    }

    #Eventholders {
        grid-template-columns: 1fr;
    }

    #allEvents .event {
        width: 100%;
    }

    #searchCategory {
        width: 100px
    }

    #notifications {
        right: 17%;
        width: 80%;
    }

    #navbar-main {
        padding: var(--s-padding);
    }

    .navbar-logo {
        font-size: 19px;
    }

    #navbar-main .nav-link {
        margin-right: 0;
        font-size: 16px;
    }

    #navbar-main .nav-item {
        margin-right: var(--l-margin);
    }

    .search-interface {
        right: -100%;
        background-color: #fff;
        top: 0;
        width: 100%;
    }

    .search-interface_openBtn,
    .search-interface_closeBtn {
        display: block
    }

    #allEvents {
        grid-template-columns: 1fr;
    }

    #allcomments {
        width: 98%;
        margin-top: var(--m-margin)
    }

    #allEvents .event h4 {
        font-size: 16px;
        margin: 7px;
        font-weight: lighter;
    }

    #allEvents .event-actions span {
        font-size: 15px;
        padding: 0 3px;
    }

    .filters {
        padding: var(--s-padding);
    }
}

@media screen and (max-width: 1024px) {
    .wrapper {
        width: 97%;
    }
}