:root {
    --ui-color: #3e567c;
    --lightgray: #f2f2f2;
    --darkgray: #a9a9aa;
    --high-color: #218559;
    --med-color: #ebb035;
    --low-color: #dd1e2f;
}
.noselect {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}
.invisible {
    display: none !important;
}
body {
    margin: 0;
    overflow-x: hidden;
    background-color: #ffffff;
}
header {
    position: fixed;
    width: 100%;
    height: 10vh;
}
main {
    width: 100%;
}
@font-face {
    font-family: "Open Sans";
    src: url(assets/fonts/Open\ Sans/OpenSans-Regular.ttf);
}
@font-face {
    font-family: "Libre Franklin";
    src: url(assets/fonts/Libre\ Franklin/LibreFranklin-Regular.ttf);
}
@font-face {
    font-family: "Agbalumo";
    src: url(assets/fonts/Agbalumo/Agbalumo-Regular.ttf);
}
@font-face {
    font-family: "Roboto";
    src: url(assets/fonts/Roboto/Roboto-Regular.ttf);
}
@font-face {
    font-family: "ITCAvantGardeGothicBold";
    src: url("assets/fonts/ITC Avant Garde Gothic/ITC Avant Garde Gothic Bold.otf");
}
#topnav {
    position: relative;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3em;
    width: calc(100% - 6em);
    height: 100%;
}
#vignette {
    position: absolute;
    height: 15vh;
    left: 0;
    width: 100%;
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0) 100%);
    z-index: -1;
}
#signaturecont {
    position: relative;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #000000;
    text-decoration: none;
    width: 185px;
}
#signaturetext {
    display: inline-block;
    font-family: "Agbalumo", Arial, serif;
    font-weight: 500;
    font-size: 27px;
    line-height: 40px;
    font-style: normal;
    margin: 0;
}
#logocont {
    display: inline-block;
    background-image: url(assets/images/almamentor_logo.png);
    background-repeat: no-repeat;
    background-size: contain;
    height: 30px;
    width: calc(878 / 911 * 30px);
}
#searchcont {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    position: relative;
    width: 35%;
}
input[name="query"] {
    position: relative;
    outline: none;
    background: #ffffff;
    border-width: 0;
    border-style: solid;
    border-color: #000000;
    height: 32px;
    font-size: 16px;
    width: calc(100% - 92px);
    padding: 5px 30px 5px 15px;
    font-family: "Open Sans", Helvetica, sans-serif;
    border-radius: 5px 0 0 5px;
    font-weight: 600;
}
input[name="query"]::placeholder {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}
#clearsearchbutton {
    position: absolute;
    right: 60.5px;
    top: 50%;
    transform: translateY(-50%);
    height: 13px;
    width: 13px;
    fill: #8e8e8e;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}
#searchbutton {
    position: relative;
    background-color: var(--ui-color);
    width: 47px;
    height: 42px;
    border: 0;
    border-radius: 0 5px 5px 0;
    padding: 0;
    outline: none;
    cursor: pointer;
}
#searchicon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
#searchsuggestionscont {
    position: fixed;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: column;
    justify-content: center;
    top: calc(5vh + 21px);
    left: calc(32.5% + 1.05em + 17.5px);
    width: calc(35% - 2.1em - 47px);
    background-color: #ffffff;
    overflow: hidden;
    border-radius: 0 0 5px 5px;
    transition: opacity 0.2s ease-in-out;
    opacity: 0;
}
.searchsuggestion {
    cursor: pointer;
    width: calc(100% - 30px);
    font-size: 15px;
    padding: 10px 15px;
    font-family: "Open Sans", Helvetica, sans-serif;
    transition: background-color 0.2s ease-in-out;
    word-wrap: break-word;
}
.searchsuggestion:hover {
    background-color: var(--lightgray);
}
.searchoption {
    margin: 0;
}
.searchresultcount {
    font-size: 12px;
    margin: 0;
    color: #6d6d6d;
    font-weight: 600;
}
#linkwrapper {
    position: relative;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    width: 150px;
    font-family: "Open Sans", Helvetica, sans-serif;
    font-weight: 700;
    font-size: 17px;
}
#topratedwrapper {
    position: relative;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    margin-right: 25px;
    width: 81px;
}
#headeraccountcont {
    position: relative;
    width: 35px;
    height: 35px;
}
#headeraccounticon {
    position: relative;
    height: 35px;
    width: 35px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 1;
    transition: 0.2s opacity ease-in-out;
}
#headeraccounticon:hover {
    opacity: 0.6;
}
#headeraccounticonimg {
    position: relative;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-image: url(../assets/images/profile_default.svg);
    background-size: contain;
}
#headeraccountmenu {
    display: none;
    position: fixed;
    top: calc(5vh + 30px);
    right: 58px;
    width: max-content;
    height: max-content;
    font-family: "Open Sans", Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #dadada;
    border-radius: 5px 0 5px 5px;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}
#headeraccountlinkcont {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: column;
}
.headeraccountlinks {
    padding: 12px 25px;
    cursor: pointer;
    color: #000000;
    text-align: center;
    background-color: #ffffff;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    border-bottom: 1px solid #e9e9e9;
}
.headeraccountlinks:first-child {
    border-radius: 5px 0 0 0;
}
.headeraccountlinks:last-child {
    border-radius: 0 0 5px 5px;
    border-bottom: 0;
}
.headeraccountlinks:hover {
    background-color: rgb(218, 218, 218);
    color: #4b4b4b;
}
#logoutbutton {
    margin: 0;
}
#headeraccountmenu > svg {
    position: absolute;
    height: 8px;
    width: 15px;
    padding: 0;
    bottom: 100%;
    right: -1px;
    fill: #ffffff;
}
#headeraccountmenu > svg > line {
    stroke: #dadada;
}
.navbutton {
    margin: 0;
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}
.navbutton:last-child {
    margin: 0;
}
.navbutton:hover {
    color: #ffffff !important;
}
#messagesboard {
    position: fixed;
    display: block;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 500px;
    top: 12.5vh;
    justify-content: space-between;
    padding-bottom: 50px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
#descwrapper {
    position: fixed;
    height: calc(550px + 12.5vh);
    width: 100%;
    z-index: 999;
    background-color: #00000044;
    top: 0;
}
#desctextwrapper {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    position: absolute;
    flex-direction: column;
    width: max-content;
    max-width: 100%;
    text-align: center;
    left: 50%;
    top: 50%;
    color: #ffffff;
    font-family: "Open Sans", Helvetica, sans-serif;
    font-weight: 600;
    transform: translate(-50%, -50%);
    justify-content: center;
    align-items: center;
}
#anonsubtext {
    display:inline-flex;
    align-self: center;
    vertical-align: middle;
}
.messagerow {
    position: absolute;
    display: block;
    width: 100%;
    height: 160px;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
}
#secondmessagerow {
    top: 170px;
}
#thirdmessagerow {
    top: 340px;
}
.messagerow::-webkit-scrollbar {
    display: none;
}
.messagecont {
    display: inline-block;
    vertical-align: top;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f2f2f2;
    padding: 20px 15px;
    height: 120px;
    border-radius: 10px;
    margin-right: 20px;
    white-space: normal;
}
.messagecontsmall {
    width: 250px;
}
.messagecontmed {
    width: 300px;
}
.messagecontlarge {
    width: 350px;
}
.ratingstarrow {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}
.ratingheader {
    position: relative;
    margin: 5px 0;
    font-family: "Libre Franklin", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}
.ratingdescription {
    position: relative;
    margin: 0;
    color: #4f535e;
    word-break: break-word;
    font-family: "Libre Franklin", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}
#aboutwrapper {
    position: fixed;
    height: calc(100% - 12.5vh - 550px);
    width: 100%;
    top: calc(12.5vh + 550px);
    background-color: #00000044;
    color: #000000;
    fill: #000000;
    font-family: "Open Sans", Helvetica, sans-serif;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
#aboutinnerwrapper {
    position: fixed;
    height: calc(100% - 12.5vh - 550px);
    width: 100%;
    left: 0;
    justify-content: space-around;
}
#anonymitywrapper, #accountcreationwrapper {
    position: absolute;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    transform: translateY(-50%);
}
#anonymitywrapper {
    left: 10%;
}
#accountcreationwrapper {
    right: 10%;
}
#anonymitytextwrapper, #accounttextwrapper {
    position: relative;
    margin-left: 25px;
    width: 350px;
    height: 155px;
    overflow-x: hidden;
    overflow-y: visible;
}
#accounttextwrapper::-webkit-scrollbar {
    display: none;
}
#anonymitytextinnercont, #accounttextinnercont {
    position: absolute;
    height: fit-content;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
}
#anonymityheader, #accountheader {
    font-family: "Open Sans", Helvetica, sans-serif;
    font-size: 28px;
    margin: 0 0 10px 0;
}
#anonymitydesc, #accountdesc {
    margin: 0;
    font-weight: 600;
    font-size: 15px;
}
#transitionwrapper {
    position: absolute;
    top: 100%;
    height: 300%;
    width: 100%;
}
#leaderboardwrapper {
    position: fixed;
    background-color: #96aac8;
    height: calc(100% - 10vh);
    width: 100%;
    bottom: 0;
    z-index: -999;
}
#mainleaderboardcont {
    position: absolute;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%;
    height: 100%;
    padding: 0 10%;
    bottom: 0;
}
#topratedcont {
    position: absolute;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: calc(50% + 80px);
    width: 1320px;
    left: 50%;
    transform: translate(-50%, -50%);
}
#schoolteacherselectioncont {
    position: absolute;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    height: 60px;
    width: 300px;
    left: 50%;
    bottom: calc(100% + 40px);
    transform: translateX(-50%);
    background-color: #2c2c2c;
    font-family: Helvetica, sans-serif;
    border-radius: 30px;
}
.optionbutton {
    position: relative;
    height: 60px;
    width: 50%;
    font-size: 20px;
    border: none;
    background: none;
    z-index: 1002;
    color: #ffffff;
    transition: color 0.3s ease-in-out;
}
#toggleratedbutton {
    display: block;
    position: absolute;
    left: calc(100% + 20px);
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 40px;
    object-fit: contain;
    fill: #ffffff;
    cursor: pointer;
    background-color: #45c83c;
    border-radius: 50%;
    transform-origin: center;
    transition: background-color 0.4s ease-in-out;
}
#toggleratedbutton g {
    transition: transform 0.4s ease-in-out;
    transform-origin: center;
}
.unselected {
    cursor: pointer;
    color: #b3b3b3;
}
.leftchoice {
    border-radius: 30px 0 0 30px;
}
.rightchoice {
    border-radius: 0 30px 30px 0;
}
#movingselector {
    position: absolute;
    height: 60px;
    width: 150px;
    background-color: #575757;
    left: 0;
    transition: 0.3s left ease-in-out, 0.3s border-radius ease-in-out;
}
.rankingcont {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 10px 10px;
    border-radius: 15px;
    height: calc(100% - 80px);
    width: 100%;
    top: 0;
    opacity: 1;
    transition: transform 0.4s ease-in-out;
    transform: translateY(0);
}
#bottomrankedrankingcont {
    position: absolute;
    height: 100%;
    width: 100%;
}
.hiddenrankingcont {
    transform: translateY(200%);
}
.rankcont {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    padding: 20px;
    background-color: var(--lightgray);
    border-radius: 15px;
}
.placementcont {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: column;
    min-width: 70px;
}
.infostatscont {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: column;
    margin-left: 15px;
    width: calc(100% - 85px);
}
.firstrank {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
}
.firstrank .ranklabelcont {
    background-color: #c9b037;
    fill: #ffffff;
}
.secondrank {
    grid-column: 3 / span 2;
    grid-row: 1 / span 1;
}
.secondrank .ranklabelcont {
    background-color: #b4b4b4;
}
.thirdrank {
    grid-column: 5 / span 1;
    grid-row: 1 / span 2;
}
.thirdrank .ranklabelcont {
    background-color: #ca7d0a;
}
.lastrankscont {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    grid-column: 3 / span 2;
    grid-row: 2 / span 1;
    justify-content: space-between;
    gap: 10px;
}
.fourthrank .ranklabelcont, .fifthrank .ranklabelcont {
    background-color: #000000;
}
.fourthrank, .fifthrank {
    width: calc(50% - 5px);
    flex-direction: column;
}
.fourthrank .ranklabelcont, .fifthrank .ranklabelcont {
    height: 51px;
    width: 80px;
    margin: 0 15px 0 0;
    border-radius: 5px;
}
.fourthrank .ratinglabel, .fifthrank .ratinglabel {
    width: 84px;
}
.fourthrank .ratedlabel, .fifthrank .ratedlabel {
    display: none;
}
.fourthrank .placementcont, .fifthrank .placementcont {
    margin-bottom: 10px;
    width: 100%;
    height: fit-content;
    flex-direction: row;
    justify-content: center;
}
.fourthrank .infostatscont, .fifthrank .infostatscont {
    width: 100%;
    margin: 0;
}
.ranklabelcont {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px solid black;
    color: #ffffff;
    height: 100px;
    width: 66px;
    margin-bottom: 15px;
}
.ratedlabel {
    font-family: "Roboto";
    text-align: center;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
}
.ratinglabel {
    font-family: "ITCAvantGardeGothicBold", Helvetica, sans-serif;
    font-size: 30px;
    color: var(--lightgray);
    background-color: var(--high-color);
    width: 70px;
    text-align: center;
    border-radius: 5px;
    margin: 0;
    padding: 8px 0;
}
.ranklabelcont svg {
    height: 50px;
    width: 50px;
}
.ranklabel {
    font-family: "ITCAvantGardeGothicBold", Helvetica, sans-serif;
    margin: 0;
    font-size: 40px;
}
.namelabel {
    font-family: "ITCAvantGardeGothicBold", Helvetica, sans-serif;
    margin: 0 0 6px 0;
    font-size: 20px;
    overflow: hidden;
}
.departmentlabel {
    font-family: "Roboto", Arial, sans-serif;
    font-size: 12px;
    margin: 0;
}
.schoollabel {
    font-family: "Roboto", Arial, sans-serif;
    font-size: 12px;
    color: #4e4e4e;
    margin: 0;
}
.studentssaycont {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 0.5;
}
.studentssaylabel {
    font-family: "ITCAvantGardeGothicBold", Helvetica, sans-serif;
    font-size: 16px;
    margin: 15px 0 8px 0;
}
.comments {
    background-color: var(--darkgray);
    font-family: "Roboto", Arial, sans-serif;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    padding: 10px;
    flex-grow: 1;
    margin: 0;
}
@media only screen and (max-width: 500px) {
    footer {
        padding: 20px 10px 0 10px;
        width: calc(100% - 20px);
    }
    #numresultstext {
        font-size: 13.5pt;
    }
    .selectcont {
        font-size: 13pt;
    }
    .selectinput {
        font-size: 12pt;
    }
    .namelabel {
        font-size: 20px;
    }
}
@media only screen and (max-width: 780px) {
    #topnav {
        padding: 0 10px;
        width: calc(100% - 20px);
    }
    #signaturecont {
        width: max-content;
    }
    #signaturetext {
        display: none;
    }
    #linkwrapper {
        width: 35px;
    }
    #linkwrapper > * {
        margin: 0 15px 0 0;
    }
    #loginlinkbutton {
        font-size: 15px;
    }
    #resultscont {
        width: calc(100% - 20px);
    }
    #resultinfocont {
        padding: 0 10px;
        width: calc(100% - 20px);
    }
    #searchcont {
        width: 50%;
    }
    input[name="query"] {
        height: 28px;
        padding: 4px 20px 4px 10px;
        width: calc(100% - 71px);
        font-size: 14px;
    }
    #searchbutton {
        height: 36px;
        width: 41px;
    }
    #clearsearchbutton {
        right: 50px;
    }
    #searchsuggestionscont {
        top: calc(5vh + 18px);
        left: calc(25% - 1px);
        width: calc(50% - 51px);
    }
    #headeraccountmenu {
        right: 20px;
    }
    #topratedwrapper {
        display: none;
    }
    #logocont {
        height: 25px;
        width: calc(878 / 911 * 25px);
    }
    #aboutwrapper {
        height: calc(100% - 12.5vh - 430px);
        top: calc(12.5vh + 430px);
    }
    #aboutinnerwrapper {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }
    #anonymitywrapper, #accountcreationwrapper {
        position: relative;
        top: unset;
    }
    #anonymitywrapper {
        left: 50%;
        transform: translateX(-50%);
    }
    #accountcreationwrapper {
        right: 50%;
        transform: translateX(50%);
    }
    #anonymitywrapper > svg, #accountcreationwrapper > svg {
        height: 70px;
        width: 70px;
    }
    #anonymityheader, #accountheader {
        font-size: 20px;
        margin: 0 0 5px 0;
    }
    #anonymitydesc, #accountdesc {
        font-size: 12px;
    }
    #anonymitytextwrapper, #accounttextwrapper {
        height: 90px;
    }
    .messagecont {
        height: 100px;
        padding: 15px 10px;
        font-size: 14px;
    }
    .ratingheader {
        margin: 2px 0;
    }
    .messagerow {
        height: 130px;
    }
    #secondmessagerow {
        top: 140px;
    }
    #thirdmessagerow {
        top: 280px;
    }
    #messagesboard {
        height: 410px;
        padding-bottom: 20px;
    }
    #descwrapper {
        height: calc(430px + 12.5vh);
        bottom: calc(100% - 430px - 12.5vh);
    }
}
@media only screen and (max-width: 1360px) {
    .rankingcont {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        flex-direction: column;
        gap: 7px;
    }
    .lastrankscont {
        gap: 7px;
    }
    .fourthrank, .fifthrank {
        width: calc(50% - 3.5px);
    }
    .rankcont {
        padding: 15px;
        border-radius: 10px;
    }
    #topratedcont {
        width: calc(100% - 20px);
        max-width: 900px;
        top: calc(50% + 50px);
    }
    .ranklabelcont {
        height: 70px;
        width: 60px;
        margin-bottom: 10px;
    }
    .ranklabel {
        font-size: 28px;
    }
    .ranklabelcont svg {
        height: 35px;
        width: 35px;
    }
    .ratinglabel {
        font-size: 24px;
        width: 64px;
    }
    .namelabel {
        font-size: 16px;
    }
    .studentssaylabel {
        font-size: 13px;
    }
    .comments {
        font-size: 12px;
    }
    #schoolteacherselectioncont {
        height: 48px;
        width: 240px;
        bottom: calc(100% + 20px);
    }
    .optionbutton {
        font-size: 16px;
        height: 48px;
    }
    #movingselector {
        height: 48px;
        width: 120px;
    }
    .fourthrank .ranklabelcont, .fifthrank .ranklabelcont {
        height: 43px;
        width: 65px;
        margin: 0 10px 0 0;
    }
    .fourthrank .ranklabel, .fifthrank .ranklabel {
        font-size: 25px;
    }
    .fourthrank .ratinglabel, .fifthrank .ratinglabel {
        width: 69px;
    }
}
@media only screen and (max-height: 920px) {
    .lastrankscont {
        display: none;
    }
}