@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Poppins&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Black+Ops+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oooh+Baby&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playpen+Sans:wght@100&display=swap');

body{
    font-family: 'Montserrat', sans-serif;
    /* font-family: 'Times New Roman', Times, serif; */
    /* background-color: #e3242b; */
}


/* =========================================Login Page====================================== */
.login_body > div > div{
    max-width: 50%;
    margin: auto;
}
.login_body > div{
    display: flex;
    vertical-align: middle;
    /* align-items: center; */
    padding: 0;
    
}
.body_admin_login{
    background-image: url('../img/s.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: repeat;
}
.body_student_login{
    background-image: url('../img/a.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: repeat;
}
.body_teacher_login{
    background-image: url('../img/t.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: repeat;
}
.student_login{
    height: 100vh;
    width: 100%;
    background-color: #ffffff4f;
}
.admin_login_btn{
    background-color: #8f4c44;
    color: #dee0ae; 
    border: 1px solid #8f4c44
}
.admin_login_btn:hover{
    background-color: #dee0ae;
    color: #8f4c44;
    border: 1px solid #8f4c44
}
.error{
    color: #e3242b;
    display: none;
    font-size: 12px;
}

.log{
    display: flex;
    align-items: center;
    /* vertical-align: middle; */
}
.navbar-custom{
    background-color: #dee0ae !important;
    z-index: 10;
}
.navbar-custom > div > a{
    text-decoration: none;
    color: #8f4c44;
    font-size: 20px;
    font-weight: 600;
}
.navigation_bar{
    border-bottom: 2px solid #3b5998;
    position: fixed;
    top: 0;
    width: 100%;
}
.welcome-header{
    margin-top: 20px;
    color: #3b5998;
    font-weight: 600;
    font-size: 15px;
}
.school_name{
    color: #8f4c44;
    font-weight: 600
}
.big_letters{
    font-size: 20px;
}
.medium_letters{
    font-size: 14px;
}
.small_letters{
    font-size: 12px;
}
#result_table tr td, #result_table2 tr td{
    padding: 0;
    margin: 0;
}
#result_table tr td, #result_table2 tr td{
    height: 20px;
}
.term_header{
    color: #3b5998;
    font-weight: 600;
    font-size: 18px;
    text-transform: capitalize;
}
.sub_heading{
    color: #3b5998;
    font-weight: 600;
    text-transform: capitalize;
}
.term{
    text-transform: capitalize;
}
.class_list, 
.primary_class_list, 
.create_primary_class_list,
.subject_list, 
.secondary_summary_class_list,
.primary_summary_class_list,
.dropdown-menu{
    background-color: #3b5998;
}
.class_list > a:hover, 
.primary_class_list > a:hover, 
.subject_list > a:hover, 
.dropdown-menu > a:hover,
.create_primary_class_list > a:hover{
    background-color: transparent;
}
.result_bio > div{
    font-size: 17px;
    font-weight: 600;
    width: 300px;
    /* background-color: #3b5998; */
    margin-right: 10px;
    margin-bottom: 20px;
}
.result_bio span{
    text-decoration: underline;
}
.teachers_comment{
    margin-top: 20px;
    line-height: 30px;
    font-size: 18px;
    font-weight: 600;
    text-align: justify;
}
.teachers_comment div{
    font-weight: 100 !important;
    /* align-items: justify; */
    text-decoration: underline;
}
.name-list{
    width: 150px;
}
.subject_list{
    font-weight: bold;
}
#check_results{
    cursor: pointer;
}
.subject_list{
    transform: translate3d(1px, 143px, 0px) !important;
    font-size: 12px !important;
}
.deletable_list > div > div{
    padding: 15px;
    font-size: 12px;
    font-weight: 500;
    border-bottom: 1px solid #3b5998;
}
.deletable_list + div{
    width: 500px;
}
.delete-button-bin > a{
    color: black
}
.deletable_list{
    overflow-y: auto;
    height: 450px;
}
.deletable_list > div > table, th, td{
    text-align: left;
    height: 50px;
    padding: 15px;
    /* border: 1px solid #3b5998; */
    /* width: 800px; */
  /* text-align: left; */
    /* background-color: #3b5998; */
}
.submit_student_form > div{
    width: 500px;
    padding: 10px;
}
.submit_student_button{
    width: min-content;
    margin: auto;
}

.name_header{
    color: #3b5998;
    font-size: 15px;
    font-weight: 700;
}
.name_div{
    display: flex;
    align-items: center;
    vertical-align: middle;
    /* heig/ht: 20px;
    background-color: #e3242b; */
}
.questions{
    width: 100%;
    border: 1px solid #3b5998;
    padding: 20px;
}
.editable{
    height: 120px;
    overflow-y: scroll;
}
.answers > div > span{
    padding: 10px;
    display: flex;
    vertical-align: middle;
}
.instruction{
    font-size: 12px;
    color: #3b5998;
}
.answers > div > span > input[type="text"]{
    width: 150px;
    height: 30px;
}

.scheduled_exams  div{
    box-shadow: 0px 0px 9px 0px #3b5998;
    /* margin: ; */
    display: flex;
    vertical-align: middle;
    align-items: center;
    border-radius: 5px;
}
.scheduled_exams > a{
    text-decoration: none;
    color: inherit;
}
.pupil-show > td input{
    pointer-events: none;
}
.red{
    color:#e3242b
}
.start_container{
    display: flex;
    align-items: center;
    margin: auto;
}
.start{
    background-color: #fff;
    box-shadow: 0px 0px 9px 0px #888888;
    border-radius: 5px;
    color: #3b5998;
    cursor: pointer;
    font-weight: 900;
}
.time{
    color: #fff;
}
#root{
    height: fit-content;
    background-color: #3b5998;
}
.img-div > img{
    max-width: 500px;
    margin: auto;
}
.timer{
    color: #fff;
    font-weight: 900;
    background-color: #3b5998;
}
.options{
    align-content: center;
    background-color: #fff;
    color: #3b5998;
    font-weight: 900;
    border: 1px solid #3b5998;
    border-radius: 10px;
    cursor: pointer;
}
.options_radio{
    display: none;
}
.question_all{
    max-width: 900px;
    background-color: #fff;
    color:#3b5998;
    border-radius: 10px;
}
.question_number{
    width: 150px;
    font-weight: bold;
}
.question_number > p.line{
    background-color: #fff;
    height: 2px;
    width: 100%;
}
.selected{
    background-color: #3b5998;
    color: #fff
}
.button > div{
    cursor: pointer;
    margin-top: 10px;
    color: #3b5998;
    font-weight: 800;
}
.button > div:hover{
    background-color: #3b5998;
    color: #dee0ae;
}
tr > td > input{
    width: 50px
}



ol ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
ol>li{
    width: 500px;
    margin-right: 30px;
    margin-bottom: 10px;
}
.ques{
    font-weight: 900;
}

.view_questions > ul li {
    margin-bottom: 10px;
}

/* ============================Table Design===================================== */

#my_table {
    border-collapse: collapse;
    width: 100%;
  }
  #my_table tr td, #my_table tr th{
    height: 0px;
  }  
  #my_table td, #my_table th {
    border: 1px solid #ddd;
    padding-left: 5px;
    padding-top: 0px;
    padding-bottom: 0px;
    /* padding: 0px; */
  }
  
  #my_table tr:nth-child(even){background-color: #f2f2f2;}
  
  #my_table tr:hover {background-color: #ddd;}
  
  #my_table th {
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: left;
    background-color: #3b5998;
    color: white;
  }

  td.term{
    text-transform: capitalize;
  }

th.result_id, td:has(> input.result_id){
    display: none;
}


/* ================================Drag and drop============================= */
.overlay_upload_content{
    max-width: 400px;
}
.drop-zone{
    border-radius: 5px;
    box-shadow: 0px 0px 7px 0px #888888;
    /* width: 200px; */
    margin-top: 10px;
    height: 300px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 500;
    font-size: 20px;
    cursor: pointer;
    border: 4px dashed #ddd;
}
.drop-zone--over{
    border-style: solid ;
}
.drop-zone__input{
    display: none;
}
.drop-zone__thumb{
    width: 100%;
    height: 100%;
    border-radius: 5px;
    overflow: hidden;
    background-color: #dddddd;
    background-size: cover;
    position: relative;
}
.drop-zone__thumb::after{
    content: attr(data-label);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5px 0;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    font-size: 14px;
    text-align: center;
}


/* =============================================================================== */



@media (max-width: 1106px){
    .steps_body > div > div.img{
        order: 1;
    }
    .steps_body > div:first-child{
        order: 2;
    }
    .service_body > div{
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .slide-content{
        margin: 0 10px;
    }
    .swiper-navBtn{
        display: none;
    }
    .carousel-item > div > .text{
        padding-top: 136px;
        padding-left: 50px;
    }
    .text > .bold-text,
    .text > .small-text{
        width: 100%;
    }
    .lands-header > div,
    .about-header > div,
    .contact-header > div,
    .services-header > div,
    .how_it_works-header > div{
        /* padding: 40px; */
        align-items: center;
        padding: 163px 0px 62px 58px;
    }
    .story > .img > div > img{
        width: 100%;
    }
    .steps_heading{
        font-size: 28px;
    }
    p.line{
        width: 200px
    }

}

@media (max-width: 680px){
    .prop-buttons{
        width: 100%;
    }
    .services > div > div{
        width: 100%;
    }
    .services > div{
        width: 100%;
    }
    .services{
        width: 100%;
    }
    .cards-customer{
        width: 100%;
    }
    .sub-form{
        width: 100%;
        margin: 10px;
    }
    .layouts > .ml-auto{
        float: left;
    }
    .how_body, 
    .steps_body, 
    .layouts,
    .services_body{
        padding: 5vw !important;
    }
    .logo{
        width: 100%;
    }
    .logo > img{
        width: 100%;
    }
    .name_number_input > div{
        width: 100% !important;
    }
    .name_number_input > div:first-child{
        margin-bottom: 40px;
    }
    .header > p{
        font-size: 3vw;
    }
    
}
@media (max-width: 470px) {
    .steps_body{
        padding: 0px !important;
        border: none;
        box-shadow: 0 0 0 0;
    }
    .sub-header{
        padding: 5 !important;
        margin: 5 !important;
    }
}