/* GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@200;300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* COLOR VARIABLES */
:root
{
    --red: #eb2f06;
    --red-100: #9e2816;
    --red-jalapeno: #b71540;
    --white: #fff;
    --gray-100: #f1f2f6;
    --gray-300: #dfe4ea;
    --gray-600: #ced6e0;
    --black: #000;
    --black-200: #57606f;
    --green: #32ff7e;
    --yellow: #fbc531;
}
html
{
    font-size: .850rem;
}
*
{
    /* font-family: 'Titillium web'; */
    font-family: 'Noto Kufi Arabic', 'Titillium web';
    transition: all .3s ease;
    scroll-behavior: smooth;
}
input:read-only
{
    background-color: var(--gray-600);
}
.bg-white{background-color: var(--white);}
body
{
    background-color: var(--gray-100);
}
table
{
    background-color: var(--white);
}
.bs{border-top: 5px solid var(--red) !important}
.be{border-right: 5px solid var(--red);}


/***************************************************************************
                            SCROLL BAR 
***************************************************************************/
/* width */
::-webkit-scrollbar {
    width: 10px;
  }

  /* Track */
  ::-webkit-scrollbar-track {
    background: var(--white); 
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: var(--red); 
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: var(--red-100); 
  }
/***************************************************************************
                            SIDBAR CLASSES
***************************************************************************/
:root
{
   --main-color: #c23616;
   --bodyColor: #dcdde1;
   --invertColor: #fff; 
   --bodyText: #1e272e;
}

.dark
{
   --main-color: #1e272e;
   --bodyColor: #1e272e;
   --invertColor: #808e9b;
   --bodyText: #dcdde1;
}

body
{
   background-color: var(--bodyColor);
}

.main-wrapper
{
    display: flex;
}
.sidebar
{
   background-color: var(--invertColor);
   width: 200px;
   padding: 0px 15px;
   white-space: nowrap;
   height: 90vh;
}
.sidebar-header .logo span
{
   background-color: var(--main-color);
   color: var(--invertColor);
   padding: 0 5px;
   border-radius: 5px;
   cursor: pointer;
}

.sidebar-body
{
   margin: 35px 0;
}
.sidebar ul
{
   list-style: none;
   padding: 0;
}
.sidebar a
{
   text-decoration: none;
   color: var(--bodyText)
}

.sidebar ul li
{
   padding: 3px 5px;
   border-radius: 5px;
   margin: 10px 0;
}

.sidebar ul li:hover
{
   background-color: var(--main-color);
}

.sidebar ul li:hover > a
{
   color: var(--invertColor);
}

.sidebar ul li a i
{
   margin-right: 8px;
}
.main-content
{
   padding:10px;
   color: var(--bodyText);
   width: 100%;
   max-height: 90vh;
   overflow-y: auto;
   overflow-x: hidden;
}

.sidebar.show-hide
{
   width: 60px;
}
.sidebar.show-hide .link-text
{
   opacity: 0;
}

/* PROFILE */
.profile-thumb
{
    cursor: pointer;
}
.profile-img
{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    margin: 0 auto;
    border: 3px solid #fff;
}
.card
{
    border: 0;
    border-radius: 0;
    box-shadow: 0 0 15px var(--gray-300);
}
input,
select,
textarea
{
    border-radius: 0 !important;
}
.btn
{
    border-radius: 0;
}
.profile-img img
{
    width: 100%;
    height: 50px;
    object-fit: cover;
    object-position: top;
}

.profile-nav
{
    background-color: #fff;
    padding: 0px;
    border-radius: 10px;
    margin: 20px auto;
    position: absolute;
    right: 10px;
    width: 120px;
    translate: 0 50px;
    opacity: 0;
    transition: all .5s ease;
    z-index: 9999;
    box-shadow: 0 0 5px var(--black-200);
    pointer-events: none;
}
hr
{
    margin: 8px 0 !important; 
}
.profile
{
    padding: 0 20px;
}
.profile-nav.toggle
{
    translate: 0 0px;
    opacity: 1; 
    pointer-events: auto;
}
.profile-nav::before
{
    content: "";
    display: block;
    position: absolute;
    width: 30px;
    height:  40px;
    border-radius: 5px;
    top: -10px;
    background-color: #fff;
    rotate: 45deg;
    right: 15px;
    z-index: -1;

}

.profile-nav ul
{
    list-style: none;
    line-height: 2;
    padding: 0 15px;
    margin: 10px 0;
}
.profile-nav ul li a
{
    text-decoration: none;
    color: black;
}

/***************************************************************************
                            GENERAL CLASSES
***************************************************************************/
.bg-red{background-color: var(--red);}


/***************************************************************************
                            LOGIN CLASSES
***************************************************************************/
.login-container
{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.login-container .row
{
    width: 400px;
    margin: 0 auto;
}



/***************************************************************************
                            FORM SETUP
***************************************************************************/
input, select, textarea
{
    width: 100%;
    border: none;
    outline: 0;
}
button, .cus-btn
{
    border: none;
    outline: none;
    padding: 5px 15px;
    font-size: 1.1em;
    border-radius: 5px;
    background-color: var(--red-100);
    color: var(--gray-100);
    text-decoration: none;
}
button:hover, .cus-btn:hover
{
    text-decoration: none;
    color: var(--gray-100);
}
.form-group
{
    position: relative;
    margin-bottom: 15px;
}
.form-group small
{
    color: var(--red);
    text-transform: capitalize;
}


/* TEACHERS PROFILE PICTURE */
.profile-picture
{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 15px auto;
    border: 3px dashed var(--red-100);
    overflow: hidden;
}



/* MODEL BOX BUTTON */
.model-box-btn
{
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    z-index: 9999;
    font-size: 1.3em;
}





/***************************************************************************
                           FINANCE SECTION
***************************************************************************/
.result-row
{
    cursor: pointer;
}



/***************************************************************************
                           ATTENDANCE SECTION
***************************************************************************/
.circle-profile
{
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin: 10px auto;
}
.circle-profile img
{
    width: 100%;
    height: 60px;
    object-fit: cover;
    object-position: center;
}
.attendar-details
{
    text-align: center;
}
.attendar-details button
{
    text-align: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    padding: 3px;
    background-color: var(--gray-100);
    color: var(--black);
    font-weight: bold;
}
.attendar-details #Present:hover
{
    background-color: var(--green);
}

.attendar-details #Leave:hover
{
    background-color: var(--yellow);
}

.attendar-details #Absent:hover
{
    background-color: var(--red);
}
.dots
{
    position: absolute;
    right: 5px;
    top: 5px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    cursor: pointer;
    font-size: .9em;
    text-align: center;
    color: var(--gray-100);
    background-color: var(--black-200);
    border-radius: 50%;
}



/* HIDE DEDUCT FILED FOR ADVNACE PAYMENT */
.hide-fields
{
    display: none;
}


/* DASHBOARD CARDS */
.top-line::before
{
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background-color: var(--red);
}
.das-cards p
{
    text-transform: uppercase;
    font-weight: 600;
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
}


/* STUDENT RESULT BUTTONS */
.marks-btn, .update-marks-btn
{
    display: none;
}
.search-icon button
{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.std-fee-record ul
{
    list-style: none;
    padding: 0;
}
.std-fee-record ul li
{
    border: 1px solid var(--gray-300);
    padding-right: 10px;
    margin: 5px;
    border-radius: 5px;
}
.std-fee-record ul li span
{
    background-color: var(--gray-300);
    display: inline-block;
    margin-right: 10px;
    border-radius: 5px;
    padding: 3px 8px;

}

.disable-card
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(235, 47, 6, 0.8);
    display: flex !important;
    justify-content: center; 
    align-items: center;
    color: var(--gray-100);
    z-index: 99;
}
.disable-card h4
{
    background-color: var(--red-100);
    padding: 0 3px;
    border-radius: 5px;
    font-size: 2.3em;
}
/***************************************************************************
                           MEDIA QURIES
***************************************************************************/
@media screen and (max-width: 768px){
    .sidebar-section
    {
        position: fixed;
        top: 0;
        left: 400px;
        opacity: 0;
        z-index: 9999;
        pointer-events: none;
    }

    .toggle
    {
        left: 0px;
        opacity: 1;
        pointer-events: auto;
    }
    #bar, #close, .nav-bar-opt
    {
        display: block;
    }
    .sidebar
    {
        position: fixed;
        z-index: 999;
        left: -400px;
        opacity: 1;
    }
    .sidebar.show-hide
    {
        height: 100vh;
        width: 200px;
        left: 0;
        opacity: 1;

    }
    .sidebar.show-hide .link-text
    {
        opacity: 1;
    }

}