/*Globals*/
.globals-fullpage{
    width:100vw;
    height:100vh;
    display:flex;
    overflow-x:hidden;
}


/*Scheduling*/
.sched-rows-container {
    display: flex;
    flex-direction: column;
}

.sched-row {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 50px;
    cursor: pointer;
    margin-top: 3px;
    margin-bottom: 3px;
    border: 1px solid black;
    border-radius: 5px;
    padding: 8px;
    align-content: center;
    align-items: center;
    background-color:  #FFEBE4;
}


    .sched-row.dark{
        background-color: var(--BEC-color-darkorange);
        width:50px;
        justify-content:center;
    }
    .sched-row.dark.sched-isLocked{
        background-color:lightgray;
    }
    .sched-row:hover {
        background-color: #FFB598;
        border: 2px solid black;
    }

.sched-row-name {
    display: flex;
    font-weight: 600;
    width: 50%;
}

.sched-row-updated {
    display: flex;
    font-style: italic;
    margin-left: auto;
}

.sched-container {
    width: 100%;
    height: 100vh;
    display:flex;
    flex-direction:row;
    justify-content:center;
    
}
.sched-body {
    width:100%;
    max-width:800px;
    height: 100vh;
    display: flex;
    flex-direction: column;
}
.sched-title {
    display:flex;
    width:100%;
    font-weight: 600;
    font-size:3em;
    justify-content:center;
    text-align:center;
}
.sched-info {
   display:flex;
   flex-wrap:wrap;
}
.sched-info-time{
  display:flex;
  flex-grow:1;
  padding-left:8px;
  
}
.sched-info-days{
  display:flex;
  padding-right:8px;
}
/*DaysBinarySelector.razor*/
.days-binary-body {
    display:flex;
    flex-direction:row;
    flex-wrap:nowrap;
    align-content:center;
    justify-content:center;
}
.days-binary-checkbox{
    margin-left:7px;
    display:flex;
    padding-right:5px;
    justify-self:end;
}
.days-binary-label{
 

}
/*SingleSchedule*/

.sched-table {
    margin-top:10px;
    flex:none;
    display:block;
}
.sched-table th{
    min-width:150px;
}
.sched-table th:first-child{
    border-top:none;
    border-left:none;
    width:100px;
    min-width:100px;
}
.sched-table-time {
    width: 100px;
    max-width: 100px;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
    cursor:pointer;
}
.sched-table-teacher{
    width:auto;
    max-width:250px;
}
.sched-teacher-cell{
    cursor:pointer;
}
.sched-table td, th {
    border: 1px solid black;
    border-collapse: collapse;
    min-height: 20px;
}
td.sched-teacher-cell.sched-selected-cell  {
    border: 3px solid blue;
}
.sched-table-teacher-portrait {
    width: 70px;
    aspect-ratio: 1;
    display: block;
    margin: auto;
}
.sched-divider {
    border-left: none;
    border-right: none;
    background-color: #fcd;
    height: 10px;
    width: 100%;
    column-span:all;
}
.sched-button {
    background-color: var(--BEC-color-darkorange);
    border: 1px solid black;
    height: 22px;
    width: 22px;
    float: right;
    padding-top: 4.5px;
    padding-left: 4.5px;
    cursor: pointer;
    font-size: 12px;
    border-radius: 3px;
}

.sched-button:hover {
    background-color: #FFB598;
    border: 2px solid black;
    padding-top: 3.5px;
    padding-left: 3.5px;
}

    .sched-button.red {
        background-color: red;
    }
    .sched-button.large{
        height:45px;
        width:45px;
        font-size:24px;
        color:white;
        align-content:center;
        display:flex;
        justify-content:center;
        line-height:34px;
    }
    .sched-button.large.green{
        background-color:green;
    }
    .sched-button.large.green:hover{
        background-color:lightgreen;
    }
   .sched-button.xl{
       height:60px;
       width:60px;
       font-size:30px;
       color:white;
       align-content:center;
       display:flex;
       justify-content:center;
       line-height:48px;
   }
    .sched-button.xl.green {
        background-color: green;
    }
    .sched-button.xl.green:hover{
        background-color: lightgreen;
    }
.sched-isLocked{
    cursor: default;
    pointer-events:none;
}
.sched-lock {
    font-size:smaller;
    margin-left:8px;
    top:12px;
    cursor:pointer;
    color:darkgreen;
}
.sched-lock.open{
    color:red;
}
.sched-save-button-container{
    margin-top:20px;
    display:flex;
    flex-direction:row;
/*    justify-content:center;
    align-content:center;*/
    width:100%;
}
.sched-kill-button-container {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    /*    justify-content:center;
    align-content:center;*/
    width: 100%;
}
/*UserPortrait.razor*/
.sched-portrait {
    width: 100%;
    aspect-ratio: 1;
}
/*ScheduleTimeEditor*/
.sched-time-body {
    position: absolute;
    width: 399px;
    max-width: min(399px, 100% - 4px);  /*If changed, must also change in sc.  Really 400, but subtracting for margins*/
    height: 200px;
    background-color: #ddf;
    border: 3px solid black;
    padding:5px;
}
.sched-time-line {
     margin:20px;
 }
.sched-time-input{
    width:40px;
}
.sched-time-button-container{
    display:flex;
    flex-direction:row;
    height:40px;
    align-content:center;
    justify-content:center;
}
/*Class*/
.media-card-student {
    display: flex;
    flex-direction: column;
    margin: 5px;
    flex-shrink: 0;
    border: 1px solid black;
    border-radius: 5px;
    width: 10vmax;
    max-width: 100px;
    min-width: 50px;
    min-height: 50px;
    font-weight: bold;
    align-content: start;
    padding: 5px;
}
/*SingleClass.razor*/
.class-student{
    display:flex;
}
    .class-student:hover {
        background-color: #FFEBE4;
    }
.class-student-list{
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    margin-top:5px;
}
.class-student-add {
    display: flex;
    flex-shrink:0;
    flex-direction: row;
    width: 50px;
    height: 50px;
    cursor: pointer;
    margin-top: 3px;
    margin-bottom: 3px;
    border: 1px solid black;
    border-radius: 5px;
    padding: 8px;
    align-content: center;
    align-items: center;
    background-color: var(--BEC-color-darkorange);
    width: 50px;
    justify-content: center;
    margin-left: 5px;
}
    .class-student-add:hover {
        background-color: #FFB598;
        border: 2px solid black;
    }
.class-student-add-icon{
    margin-right:-1px;

}
.class-period-section{
    padding-left:5px;
}
.class-period-container{
    padding-left: 10px
}
.class-period-name {
    display: flex;
    width: 100%;
    font-weight: 600;
    font-size: 1.8em;
    justify-content: start;
    text-align: center;
}
/*StudentCard.razor*/
.student-card {
    width: 100%; /* set the width of the card */
    aspect-ratio:1; /* set the height of the card */
    border: 1px solid #ccc; /* add a border around the card */

    position: relative; /* position: relative is required for using pseudo elements */
    background-color:pink;
}

    /* Define the styles for the image container within the card */
    .student-card .student-card-image {
        width: 100%; /* make the container fill the width of the card */
        padding-top: 100%; /* add padding to maintain 1:1 aspect ratio */
        background-size: cover; /* cover the entire container */
        background-position: center; /* center the image */
        background-repeat: no-repeat; /* don't repeat the image */
        position: absolute; /* position: absolute so it sits on top of the card */
        cursor: pointer;
        top: 0; /* align to top */
        left: 0; /* align to left */
    }
.student-card-action-bar{
    margin-top:2px;
    width:100%;
    height: 2;
    display:flex;
    flex-direction:row;
    color:white;
    margin-bottom:-2px;
}
.student-card-action-photo {
    display: flex;
    width: 49%;
    background-color: darkblue;
    align-content: center;
    justify-content: center;
    padding-bottom: 5px;
    padding-top: 2px;
    border-radius: 8px;
    margin: 2px;
    cursor: pointer;
}

.student-card-action-photo:hover {
    background-color: blue;
}
.photoonly {
    width:100%;
}
.student-card-action-remove {
    display: flex;
    width: 49%;
    background-color: darkred;
    align-content: center;
    justify-content: center;
    padding-bottom: 5px;
    padding-top: 2px;
    border-radius: 8px;
    margin: 2px;
    cursor: pointer;
}

    .student-card-action-remove:hover {
        background-color:red;
    }
/*BookCard*/
.book-card-selector-container {
    display: flex;
}

.book-card-title {
    font-size: 0.8em;
    display: flex;
    flex-grow: 1;
}
.book-card {
    width: 100%; /* set the width of the card */
    aspect-ratio: 1;
     /* set the height of the card */
    border: 1px solid #ccc; /* add a border around the card */

    position: relative; /* position: relative is required for using pseudo elements */
    background-color: pink;
}
.media-card-book-normal {
    display: flex;
    flex-direction: column;
    margin: 5px;
    width: 10vmax;
    flex-shrink: 0;
    border: 1px solid black;
    border-radius: 5px;
    min-width:120px;
    min-height: 50px;
    font-weight: bold;
    align-content: start;
    padding: 5px;
    cursor:pointer;
}
@media (max-width: 600px) {
    .media-card-book-normal {
        width:calc(33vw - 10px);
        min-width:0;
    }
}
.media-card-book-small {
    display: flex;
    flex-direction: column;
    margin: 5px;
    flex-shrink: 0;
    border: 1px solid black;
    border-radius: 5px;
    width: 10vmax;
    max-width: 100px;
    min-width: 50px;
    font-weight: bold;
    align-content: start;
    padding: 5px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .media-card-book-small {
        width: calc(33vw - 10px);
        min-width: 0;
    }
} 
.sched-class-periods-row{
    display:flex;
    flex-direction:row;
    width:100vw;

}
.sched-periods-row-item{

}
.books-edit-alignment{
    display:flex;
    flex-grow:1;

}
.books-edit-item {
    display:flex;
    flex-grow:1;
}