﻿body {
    margin: 0px;
    padding: 0px 0px 0px 0px;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    /*font-family: 'Lato', sans-serif;*/
    font-family: 'Segoe UI', sans-serif;
}

.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 10px;
    z-index: 1000;
}

#pageLoader {
    position: fixed;
    top: 0;
    left: 0;
    background-color: white;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/*menuLeft*/
.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content {
    border-style: none;
    border-color: inherit;
    border-width: medium;
    position: relative;
    top: 5%;
    /*width: 100%;*/
    text-align: center;
    /*margin-top: 30px;*/
    color: #fff;
    font-size: 25px;
    outline:none;
    right: -274px;
}

.overlay a {
    padding: 5px;
    text-decoration: none;
    font-size: 25px;
    /*color: #818181;*/
    color: #ffffff;
    border: none;
    outline:none;
    display: block;
    transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
    /*color: #f1f1f1;*/
    color:yellow;
    /*font-size: 30px;*/
    /*transform: translateX(-10px); /* رفع الزر قليلاً للأعلى
    transition: 0.8s ease;*/
}

.overlay .closebtn {
    position: absolute;
    top: 0px;
    right: 15px;
    font-size: 60px;
}

/*@media screen and (max-height: 450px) {
    .overlay a {
        font-size: 20px
    }

    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}
*/

.section-1 h1 {
    color: #ffd800;
    font-size: 60px;
}

.section-1 h2 {
    color: #ffd800;
    font-size: 30px;
    background: #000000;
    border: none;
    outline: none;
    cursor: pointer;
}

.section-1 p {
    color: #127b8e;
    font-size: 20px;
    background: #fff;
    padding: 7px;
    border-radius: 5px;
}

.button {
    width: 70%;
    height: 45px;
    background-color: #0ef;
    border: none;
    outline: none;
    cursor: pointer;
    /*color: white;*/
    padding: 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    /*font-size: 16px;*/
    font-size: 1.5em;
    color: #1f293a;
    font-weight: 600;
    /*margin: 4px 2px;*/
    padding: 0 50px;
}

.button1 {
    border-radius: 2px;
}

.button2 {
    border-radius: 4px;
}

.button3 {
    border-radius: 8px;
}

.button4 {
    border-radius: 12px;
}

.button6 {
    border-radius: 40px;
}

.button5 {
    border-radius: 50%;
}

/*menuLeft*/
.user-p {
    text-align: center;
    padding-right: 0px;
    padding-top: 25px;
}

.user-p img {
    display: flex;
    position: absolute;
    width: 120px;
    border-radius: 50%;
    top: 10px;
    left: 5%;
    z-index: 999999;
}

.LogoProg img {
    display: flex;
    position: absolute;
    width: 60px;
    border-radius: 40%;
    margin: 0px 0px -20px 0px;
    top: 5px;
    left: 50%;
    translate: -50%;
    pointer-events: none;
    transition: .5s ease;
    bottom: 305px;
    z-index: 1;
}
.CenterFram {
    border: var(--parent);
    display: block;
    justify-content: space-between;
    justify-content: center;
    width: 100%;
    /*background-color: #1f293a;*/
    /*color: white;*/
    padding: 0px 0 25px 0;
    margin: 10px;
    align-items: center;
    text-align: center;
    align-content: center;
    vertical-align: middle;
    overflow: hidden;
    overflow: scroll;
    overflow-y: auto;
    /*border-radius: 0 0 15px 15px;*/
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
}
.GridViewS {
    
}
.headerS {
    border: var(--parent);
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0px 0px 5px 5px;
    margin: 0px;
    align-items: center;
    text-align: center;
    align-content: center;
    vertical-align: middle;
    gap: 10px;
    color: #dbfc00;
    font-weight: bold;
    /*width: 95%;
    height: 50px;*/
    /*background-color: #1f293a;*/
    font-size: large;
    box-sizing: border-box;
    /*border-radius: 0 0 20px 20px;*/
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
}
.headerS2 {
    border: var(--parent);
    display: flex;
    justify-content: space-between;
    width: 95%;
    padding: 0px 0px 5px 5px;
    margin: 0px;
    align-items: center;
    text-align: center;
    align-content: center;
    vertical-align: middle;
    gap: 10px;
    color: #dbfc00;
    font-weight: bold;
    /*width: 95%;
    height: 50px;*/
    /*background-color: #1f293a;*/
    font-size: large;
    box-sizing: border-box;
    /*border-radius: 0 0 20px 20px;*/
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
}
.header1 {
    border: var(--parent);
    display: flex;
    justify-content: space-between;
    /*width: 100%;*/
    background-color: #1f293a;
    color: white;
    padding: 0px 0 25px 0;
    margin: 0px;
    align-items: center;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.header1-middle {
    flex-grow: 1;
    max-width : 100px;
}
.header1-left {
    display: grid;
    text-align: center;
    /*background: green;*/
}
.header2 {
    border: var(--parent);
    display: flex;
    justify-content: center;
    gap: 10px;
    /*width: 100%;*/
    /*background-color: #1f293a;*/
    color: red;
    text-align: center;
    padding: 30px 5px 5px 0px;
    margin: -5px 20px;
    align-items: center;
    border-radius: 0px 0px 20px 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.header2-middle {
    flex-grow: 1;
    max-width: 0%;
}

.header3 {
    background-color: #008ccc;
    color: white;
    padding: 10px;
    margin: 10px 0 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px 20px 0 0;
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
}
.header4 {
    border: var(--parent);
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 10px 10px 15px 10px;
    margin: 0px;
    align-items: center;
    text-align: center;
    gap: 20px;
    color: #dbfc00;
    font-weight: bold;
    /*width: 95%;
    height: 50px;*/
    /*background-color: #1f293a;*/
    font-size: 18px;
    box-sizing: border-box;
    /*border-radius: 0 0 20px 20px;*/
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
}
.header5 {
    border: var(--parent);
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0px 10px 25px 10px;
    margin: 0px;
    align-items: center;
    text-align: center;
    align-content: center;
    vertical-align: middle;
    gap: 20px;
    color: #054163;
    /*width: 95%;
    height: 50px;*/
    /*background-color: #1f293a;*/
    font-size: large;
    font-weight: bold;
    box-sizing: border-box;
    /*border-radius: 0 0 20px 20px;*/
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
}
.header6 {
    border: var(--parent);
    display: flex;
    justify-content: center;
    padding: 0px 5px 0px 5px;
    margin: 0px;
    align-items: center;
    text-align: center;
    gap: 2px;
    /*color: #054163;*/
    /*font-size: 20px;*/
    border: none;
    outline: none;
    box-sizing: border-box;
}
.header7 {
    border: var(--parent);
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 10px 10px 25px 10px;
    margin: 0px;
    align-items: center;
    text-align: center;
    gap: 20px;
    color: #dbfc00;
    font-weight: bold;
    /*width: 95%;
    height: 50px;*/
    /*background-color: #1f293a;*/
    font-size: 18px;
    box-sizing: border-box;
    /*border-radius: 0 0 20px 20px;*/
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
}
.jadwl0 {
    display: flex;
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-size: medium;
    font-weight: bold;
    color: white;
    background: white;
}
.jadwl1 {
    display: flex;
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-size: medium;
    font-weight: bold;
    color: white;
    background: linear-gradient(to bottom, #008ccc, #ffffff);
}
.jadwl2 {
    display: flex;
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-size: medium;
    font-weight: bold;
    color: white;
    /*background: linear-gradient(to bottom, #008ccc, #ffffff);*/
    background: #008ccc;
    align-items: center;
    text-align: center;
    align-content: center;
    vertical-align: middle;
}
.jadwl3 {
    display: flex;
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-size: medium;
    font-weight: bold;
    color: black;
    background: linear-gradient(to bottom, #ff8f8f, #ffffff);
}
.textboxS {
    /*width: 100%;*/
    /*width: 60% !important; /* Explicitly overrides external stylesheets */
    width: 100%;
    display: block;
    height: 40px;
    padding: 5px 10px 0px 5px;
    margin: 0px 5px 0px 0px;
    border: none;
    outline: none;
    border-radius: 10px;
    box-sizing: border-box;
    background-color: #f8f8f8;
    /*background-image: linear-gradient(to bottom, #ffe9d6, #fff);*/
    background-image: linear-gradient(to right, #ebfcb0, #ffffff);
    color: #0e455e;
    font-size: medium;
    font-weight: bold;
    align-items: center;
    align-content: center;
    justify-content: center;
    vertical-align: middle;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.textbox {
    width: 60%;
    /*width: 57% !important; /* Explicitly overrides external stylesheets */
    height: 45px;
    padding: 5px 15px 5px 15px;
    margin: 5px;
    border-radius: 20px;
    box-sizing: border-box;
    border: none;
    outline: none;
    background-color: #f8f8f8;
    color: red;
    font-size: 30px;
    text-align: center;
    align-items: center;
    align-content: center;
    vertical-align: middle;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.textbox2 {
    width: 100%;
    /*width: 97% !important; /* Explicitly overrides external stylesheets */
    display: block;
    height: 75px;
    padding: 5px 25px 10px 0px;
    margin: 0px;
    border: none;
    outline: none;
    border-radius: 20px;
    box-sizing: border-box;
    background-color: #f8f8f8;
    background-image: linear-gradient(to bottom, #ffe9d6, #fff);
    color: #0e455e;
    font-size: 15px;
    align-items: center;
    align-content: center;
    justify-content: center;
    vertical-align: middle;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.CenterS {
    /*width: 40% !important; /* Explicitly overrides external stylesheets */
    /*width: 20%;*/
    /*height: 40px;*/
    padding: 0px 15px 0px 15px;
    margin: 5px 0px 0px 0px;
    border: none;
    outline: none;
    /*border-radius: 10px;*/
    box-sizing: border-box;
    /*background-color: #004667;*/
    color: #ffffff;
    font-size: x-large;
    font-weight: bold;
    text-align: center;
    align-items: center;
    align-content: center;
    vertical-align: middle;
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
}
.labelS {
    /*width: 40% !important; /* Explicitly overrides external stylesheets */
    /*width: 20%;*/
    height: 40px;
    padding: 0px 15px 0px 15px;
    margin: 5px 0px 0px 0px;
    border: none;
    outline: none;
    border-radius: 10px;
    box-sizing: border-box;
    background-color: #004667;
    color: #ffffff;
    font-size: medium;
    font-weight: bold;
    text-align: center;
    align-items: center;
    align-content: center;
    vertical-align: middle;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.labelSS {
    /*width: 40% !important; /* Explicitly overrides external stylesheets */
    /*width: 20%;*/
    height: 40px;
    padding: 0px 15px 0px 15px;
    margin: 5px 0px 0px 0px;
    border: none;
    outline: none;
    border-radius: 10px;
    box-sizing: border-box;
    background-color: greenyellow;
    color: #000;
    font-size: x-large;
    font-weight: bold;
    text-align: center;
    align-items: center;
    align-content: center;
    vertical-align: middle;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.label {
    width: 40%;
    height: 45px;
    padding: 5px 15px 10px 15px;
    margin: 5px 0px;
    border: none;
    outline: none;
    border-radius: 40px;
    box-sizing: border-box;
    background-color: #004667;
    color: #ffffff;
    font-size: 20px;
    text-align: center;
    align-items: center;
    align-content: center;
    vertical-align: middle;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.label2 {
    width: 90%;
    height: 40px;
    padding: 0px 15px 0px 15px;
    margin: 5px 0px 0px 0px;
    border: none;
    outline: none;
    border-radius: 10px;
    box-sizing: border-box;
    background-color: #004667;
    color: #ffffff;
    font-size: x-large;
    font-weight: bold;
    text-align: center;
    align-items: center;
    align-content: center;
    vertical-align: middle;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.label3 {
    width: 90%;
    height: 40px;
    padding: 0px 15px 0px 15px;
    margin: 5px 0px 0px 0px;
    border: none;
    outline: none;
    border-radius: 10px;
    box-sizing: border-box;
    background-color: #004667;
    color: #ffffff;
    font-size: x-large;
    font-weight: bold;
    text-align: center;
    align-items: center;
    align-content: center;
    vertical-align: middle;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.Menu {
    text-align: right;
    display: flex;
    padding: 50px 20px 0px 0px;
}

#grad0 {
    display: flex;
    height: 0px;
    padding: 0px 10px 10px 10px;
    margin: 20px 0px 0px 0px;
    border-radius: 15px 15px 0 0;
    background-color: #008ccc; /* For browsers that do not support gradients */
    /*background-image: linear-gradient(to bottom, #008ccc, #ffffff);*/
}

#grad00 {
    display: flex;
    height: 0px;
    padding: 0px 10px 10px 10px;
    margin: 0px 0px 0px 0px;
    border-radius: 15px 15px 0 0;
    background-color: #008ccc; /* For browsers that do not support gradients */
    /*background-image: linear-gradient(to bottom, #008ccc, #ffffff);*/
}
#grad000 {
    display: flex;
    height: 0px;
    padding: 0px 10px 10px 10px;
    margin: 0px 0px 0px 0px;
    border-radius: 15px 15px 0 0;
    background-color: #008ccc; /* For browsers that do not support gradients */
    /*background-image: linear-gradient(to bottom, #008ccc, #ffffff);*/
}
#grad0000 {
    display: flex;
    height: 0px;
    padding: 0px 10px 10px 10px;
    margin: 0px 0px 0px 0px;
    border-radius: 15px 15px 0 0;
    background-color: #008ccc; /* For browsers that do not support gradients */
    /*background-image: linear-gradient(to bottom, #008ccc, #ffffff);*/
}
#grad00000 {
    display: flex;
    height: 0px;
    padding: 0px 10px 10px 10px;
    margin: 0px 0px 0px 0px;
    border-radius: 15px 15px 0 0;
    background-color: #ff8f8f; /* For browsers that do not support gradients */
    /*background-image: linear-gradient(to bottom, #008ccc, #ffffff);*/
}
#grad1 {
    display: flex;
    height: 0px;
    background-color: #008ccc; /* For browsers that do not support gradients */
    /*background-image: linear-gradient(to bottom, #008ccc, #ffffff);*/
}

#grad2 {
    /*display: flex;*/
    height: 200px;
    background-color: #008ccc; /* For browsers that do not support gradients */
    /*background-image: linear-gradient(to bottom, #008ccc, #ffffff);*/
}

#grad3 {
    /*display: flex;*/
    height: 500px;
    background-color: #008ccc; /* For browsers that do not support gradients */
    /*background-image: linear-gradient(to bottom, #008ccc, transparent);*/
    background-image: linear-gradient(to bottom, #008ccc, #ffffff);
}

#titepage {
    border: var(--parent);
    color: white;
    border: none;
    outline: solid;
    background-color: red;
    border-radius: 15px;
    font-size: 16px;
    /*font-weight: bold;*/
    /*text-align: center;*/
    /*align-items: center;*/
    display: flex;
    justify-content: center;
    margin: 0px;
    padding: 5px 15px 10px 15px;
    position: absolute;
    width: 50%;
    height: 18px;
    overflow: hidden;
    top: 63px;
    left: 50%;
    /*right: 35px;*/
    /*transform: translateY(-80%);*/
    translate: -50%;
    pointer-events: none;
    transition: .5s ease;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
#titepage2 {
    border: var(--parent);
    color: white;
    border: none;
    outline: solid;
    background-color: red;
    border-radius: 15px;
    font-size: 16px;
    /*font-weight: bold;*/
    /*text-align: center;*/
    /*align-items: center;*/
    display: flex;
    justify-content: center;
    margin: 0px;
    padding: 5px 15px 10px 15px;
    position: absolute;
    width: 51%;
    height: 35px;
    overflow: hidden;
    top: 60px;
    left: 50%;
    /*right: 35px;*/
    /*transform: translateY(-80%);*/
    translate: -50%;
    pointer-events: none;
    transition: .5s ease;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
#Week {
    border: var(--parent);
    color: white;
    border: none;
    outline: solid;
    /*background-color: #1f293a;*/
    background-color: red;
    border-radius: 15px;
    font-size: 16px;
    /*font-weight: bold;*/
    /*text-align: center;*/
    /*align-items: center;*/
    display: flex;
    justify-content: center;
    margin: 0px;
    padding: 5px 15px 10px 15px;
    position: absolute;
    width: 50%;
    height: 18px;
    overflow: hidden;
    top: 63px;
    left: 50%;
    /*right: 35px;*/
    /*transform: translateY(-80%);*/
    translate: -50%;
    pointer-events: none;
    transition: .5s ease;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.btn1 {
    /*opacity: 1;*/
    /*visibility: visible;*/
    top: 10px;
    width: 200px;
    height: 45px;
    padding: 10px 15px 10px 15px;
    margin: 15px 0px 5px 0px;
    cursor: pointer;
    border: none;
    outline: none;
    border-radius: 40px;
    box-sizing: border-box;
    background-color: #2f393d;
    color: #ffffff;
    font-size: 20px;
    text-align: center;
    align-items: center;
    align-content: center;
    vertical-align: middle;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.btn2 {
    /*opacity: 1;*/
    /*visibility: visible;*/
    top: 10px;
    width: 200px;
    height: 45px;
    padding: 5px 0px 5px 0px;
    cursor: pointer;
    margin: 5px 0px 5px 0px;
    border: none;
    outline: none;
    border-radius: 40px;
    box-sizing: border-box;
    background-color: #2f393d;
    color: #ffffff;
    font-size: 20px;
    text-align: center;
    align-items: center;
    align-content: center;
    vertical-align: middle;
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: 0.3s ease;
}

.btn2:hover {
    background-color: #008ccc;
    color: yellow;
    transform: translateY(-2px); /* رفع الزر قليلاً للأعلى */
}

.btn3 {
    /*opacity: 1;*/
    /*visibility: visible;*/
    top: 10px;
    width: 150px;
    height: 45px;
    padding: 5px 0px 5px 0px;
    cursor: pointer;
    margin: 5px 0px 5px 0px;
    border: none;
    outline: none;
    border-radius: 40px;
    box-sizing: border-box;
    background-color: #2f393d;
    color: #ffffff;
    font-size: 20px;
    text-align: center;
    align-items: center;
    align-content: center;
    vertical-align: middle;
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: 0.3s ease;
}

.btn3:hover {
    background-color: #008ccc;
    color: yellow;
    transform: translateY(-2px); /* رفع الزر قليلاً للأعلى */
}
.btn33 {
    /*opacity: 1;*/
    /*visibility: visible;*/
    top: 10px;
    width: 250px;
    height: 45px;
    padding: 5px 0px 5px 0px;
    cursor: pointer;
    margin: 5px 0px 5px 0px;
    border: none;
    outline: none;
    border-radius: 40px;
    box-sizing: border-box;
    background-color: #2f393d;
    color: #ffffff;
    font-size: 20px;
    text-align: center;
    align-items: center;
    align-content: center;
    vertical-align: middle;
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: 0.3s ease;
}

.btn33:hover {
    background-color: #008ccc;
    color: yellow;
    transform: translateY(-2px); /* رفع الزر قليلاً للأعلى */
}
.btn4 {
    /*opacity: 1;*/
    /*visibility: visible;*/
    top: 10px;
    width: 150px;
    height: 40px;
    padding: 5px 0px 5px 0px;
    cursor: pointer;
    margin: 5px 0px 5px 0px;
    border: none;
    outline: none;
    border-radius: 40px;
    box-sizing: border-box;
    background-color: #972222;
    color: #ffffff;
    font-size: 20px;
    text-align: center;
    align-items: center;
    align-content: center;
    vertical-align: middle;
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: 0.3s ease;
}

.btn4:hover {
    background-color: #ff0000;
    color: yellow;
    transform: translateY(-2px); /* رفع الزر قليلاً للأعلى */
}
.btn5 {
    /*opacity: 1;*/
    /*visibility: visible;*/
    top: 10px;
    width: 60px;
    height: 25px;
    /*gap: 10px;*/
    padding: 0px 0px 0px 0px;
    cursor: pointer;
    margin: 2px 0px 2px 0px;
    border: none;
    outline: none;
    border-radius: 10px;
    box-sizing: border-box;
    background-color: #972222;
    color: #ffffff;
    font-size: medium;
    font-weight: bold;
    text-align: center;
    align-items: center;
    align-content: center;
    vertical-align: middle;
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: 0.3s ease;
}

.btn5:hover {
    background-color: #ff0000;
    color: yellow;
    transform: translateY(-2px); /* رفع الزر قليلاً للأعلى */
}
.btn6 {
    /*opacity: 1;*/
    /*visibility: visible;*/
    top: 10px;
    width: 150px;
    height: 45px;
    padding: 5px 0px 5px 0px;
    cursor: pointer;
    margin: 5px 0px 5px 0px;
    border: none;
    outline: none;
    border-radius: 40px;
    box-sizing: border-box;
    background-color: #2f393d;
    color: #ffffff;
    font-size: 20px;
    text-align: center;
    align-items: center;
    align-content: center;
    vertical-align: middle;
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: 0.3s ease;
}

.btn6:hover {
    background-color: #bfebff;
    color: black;
    transform: translateY(-2px); /* رفع الزر قليلاً للأعلى */
}
.btn7 {
    /*opacity: 1;*/
    /*visibility: visible;*/
    top: 10px;
    width: 150px;
    height: 45px;
    padding: 5px 0px 5px 0px;
    cursor: pointer;
    margin: 5px 0px 5px 0px;
    border: none;
    outline: none;
    border-radius: 40px;
    box-sizing: border-box;
    background-color: #a92f2f;
    color: #ffffff;
    font-size: 20px;
    text-align: center;
    align-items: center;
    align-content: center;
    vertical-align: middle;
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: 0.3s ease;
}

.btn7:hover {
    background-color: #bfebff;
    color: black;
    transform: translateY(-2px); /* رفع الزر قليلاً للأعلى */
}
.btn8 {
    /*opacity: 1;*/
    /*visibility: visible;*/
    top: 0px;
    width: 100px;
    height: 35px;
    padding: 0px 0px 0px 0px;
    cursor: pointer;
    margin: 5px 0px 5px 0px;
    border: none;
    outline: none;
    border-radius: 40px;
    box-sizing: border-box;
    background-color: #a92f2f;
    color: #ffffff;
    font-size: 16px;
    text-align: center;
    align-items: center;
    align-content: center;
    vertical-align: middle;
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: 0.3s ease;
}
.btn8:hover {
    background-color: #bfebff;
    color: black;
    transform: translateY(-2px); /* رفع الزر قليلاً للأعلى */
}
.list1-view-container {
    display: flex;
    padding: 0;
    margin: 0;
    font-size: 20px;
    /*height: 200px; /* Set a fixed height or max-height */
    overflow-y: auto; /* Enables vertical scrolling */
    display: flex;
    flex-direction: column; /* Stacks items vertically */
    gap: 8px; /* Spacing between list items */
    padding: 12px;
    border: 5px solid #1f293a;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.list1-item {
    flex-shrink: 0; /* Prevents items from squishing */
    padding: 0px;
    background-color: #fff;
    background-image: linear-gradient(to bottom, #f1fa8e, #ffffff);
    border-radius: 0px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease;
    /*opacity: 0.8;*/
}

.list1-item2 {
    flex-shrink: 0; /* Prevents items from squishing */
    padding: 0px;
    background-color: #fff;
    background-image: linear-gradient(to bottom, #fa7d7d, #ffffff);
    border-radius: 0px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease;
}

.list1-item3 {
    flex-shrink: 0; /* Prevents items from squishing */
    padding: 0px;
    background-color: #fff;
    background-image: linear-gradient(to bottom, #f7fcc0, #ffffff);
    border-radius: 0px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease;
}

.list1-item4 {
    flex-shrink: 0; /* Prevents items from squishing */
    padding: 0px;
    background-color: #fff;
    background-image: linear-gradient(to bottom, #ffb5b5, #ffffff);
    border-radius: 0px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease;
}

.line {
    width: 100%;
    height: 5px;
    background-color: #1f293a;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
}
.dropdownlistS {
    /*width: 60% !important; /* Explicitly overrides external stylesheets */
    width: 100%;
    height: 40px;
    padding: 0px 5px 0px 5px;
    margin: 0px 5px 0px 0px;
    /*gap: 10px;*/
    border: none;
    outline: none;
    border-radius: 10px;
    box-sizing: border-box;
    background: linear-gradient(to right, #ebfcb0, #ffffff);
    color: #1f293a;
    font-size: large;
    font-weight: bold;
    align-items: center;
    align-content: center;
    vertical-align: middle;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.dropdownlist {
    width: 100%;
    height: 45px;
    padding: 5px 15px 10px 15px;
    margin: 5px 0;
    gap: 10px;
    border: none;
    outline: none;
    border-radius: 40px;
    box-sizing: border-box;
    background-color: #f8f8f8;
    color: red;
    font-size: 30px;
    align-items: center;
    align-content: center;
    vertical-align: middle;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.dropdownlist2 {
    width: 95%;
    height: 40px;
    padding: 0px 5px 0px 5px;
    margin: 5px 0px 5px 0px;
    /*gap: 10px;*/
    border: none;
    outline: none;
    border-radius: 10px;
    box-sizing: border-box;
    background: linear-gradient(to right, #ebfcb0, #ffffff);
    color: #1f293a;
    font-size: x-large;
    font-weight: bold;
    align-items: center;
    align-content: center;
    vertical-align: middle;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.dropdownlist3 {
    width: 90%;
    height: 40px;
    padding: 0px 5px 0px 5px;
    margin: 5px 0px 5px 0px;
    /*gap: 10px;*/
    border: none;
    outline: none;
    border-radius: 10px;
    box-sizing: border-box;
    background: linear-gradient(to right, #e3fbfa, #ffffff);
    color: #1f293a;
    font-size: large;
    font-weight: bold;
    align-items: center;
    align-content: center;
    vertical-align: middle;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.dropdownlist4 {
    width: 150px;
    height: 40px;
    padding: 0px 5px 0px 5px;
    margin: 15px 0px 5px 0px;
    /*gap: 10px;*/
    border: none;
    outline: none;
    border-radius: 10px;
    box-sizing: border-box;
    background: linear-gradient(to right, #b8e1ff, #ffffff);
    color: #1f293a;
    font-size: large;
    font-weight: bold;
    align-items: center;
    align-content: center;
    vertical-align: middle;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.gridView1 {
    /*background-color: #1f293a;*/
    color: #054163;
    padding: 0px 30px 0px 0px;
    margin: 0px;
    /*display: grid;*/
    /*grid-template-columns: 50%, 10%, 20%, 20%;*/
    justify-content:center;
    text-align: center;
    align-items: center;
    box-sizing: border-box;
    /*border-radius: 0 0 20px 20px;*/
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
}

.custom-grid td, .custom-grid th {
    padding-left: 15px; /* Space on the left of the column */
    padding-right: 15px; /* Space on the right of the column */
    padding-top: 5px;
    padding-bottom: 5px;
}

.GridViewHodor-grid {
    table-layout: fixed;
    width: 99%;
    vertical-align: middle;
    text-align: center;
}

.GridViewHodors-grid-name {
    width: 50%;
    text-align: right;
    padding-top: 5px;
    padding-bottom: 5px;
}

.GridViewHodor-grid-saf {
    /*width: 5%;*/
}

.GridViewHodor-grid-time {
    /*width: 20%;*/
}

.GridViewHodor-grid-user {
    /*width: 20%;*/
    /*text-align: right;*/
}
.GridViewHodor-grid-user {
    width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
    overflow: hidden;
}
.GridViewHodor-grid-name {
    width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
    overflow: hidden;
}

/* إخفاء GridView2 على الشاشات الصغيرة */
/*@media (max-width: 767px) {
    #MainContent_grv_stu {
        display: none;
    }
}*/
/* إخفاء GridView1 على الشاشات المتوسطة والكبيرة */
/*@media (min-width: 768px) {
    #MainContent_lis_stu {
        display: none;
    }
}


@media (max-width: 768px) {
    .gridview-container {
        display: none;
    }
}*/

/* للجوال */
/*@media (max-width: 50rem) {*/
@media (max-width: 767px) {
    .Main1 {
        /*background-color: #000000;*/
        font-size: 25px;
        padding: 10px;
        /*margin: -90px;*/
        align-items: start;
        justify-content: center;
    }

    .color2 {
        /*background-color: #C0C0C0;*/
        color: darkgrey;
        font-size: 1em;
        font-weight: 600;
        text-align: center;
    }

    .header1-middle {
        flex-grow: 0;
        margin-left: auto;
        /*margin-right: 1.5rem;*/
        margin-right: auto;
    }

    .magic-text {
        display: none;
    }
}

/* للتابلت */
/*@media (min-width: 366px) and (max-width: 720px) {
    body {
        font-size: 16px;
        padding: 20px;
    }
}*/
/* للكمبيوتر المكتبي */
/*@media (min-width: 721px) {
    body {
        font-size: 18px;
        padding: 30px;
    }
}*/