@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --primary-link-color: #1373b3;
}

main.multiRecords.margin-top-30 {
    margin-top: 30px;
}
.margin-top-custom-2 {
    margin-top: 200px;
}
.toggle-checkbox label .checkbox-material{
    position: relative;
    display: inline-block;
    width: 35px;
    height: 20px;
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    transition: all 0.3s;
    margin-right:10px;
    top: 0px;
}
.toggle-checkbox label {
    display: flex;
    height: 40px;
    vertical-align: middle;
    align-items: center;
    margin-bottom: 0px !important;
    padding: 0px;
    margin-top: 30px;
}
.toggle-checkbox .checkbox-material::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius:50%;
    background-color: white;
    top: 1px;
    left: 1px;
    transition: all 0.3s;
}

.toggle-checkbox label input:checked + .checkbox-material::after {
    left : 15px;
}
.toggle-checkbox label input:checked + .checkbox-material {
    background-color: #0077A5;
}
.toggle-checkbox label input {
    display : none;
}
.toggle-checkbox .checkbox .checkbox-material .check:before {
    display: none;
}
.toggle-checkbox .checkbox .checkbox-material .check {
    display: none;
}
label.toggle {
    margin: 0 auto;
    width: 100%;
    display: block;
}
header.hasMenu.custom-header  {
    width: 100%;
    position: absolute;
    left: 0px;

    top: 0;
}
header.hasMenu.custom-header .topbar {
    background: #042B48;
    padding: 10px 5%;
    min-height: 60px;
    align-items: center;
    vertical-align: middle;
    justify-content: space-between;
    display: flex;
    position: relative;
}
.selected-student a#myStudentProfileLink .generated-user-avatar, .non-selected-student a#myStudentProfileLink .generated-user-avatar  {
    width: 35px !important;
    height: 35px !important;
    font-size: 12px !important;
}
.selected-student a#myStudentProfileLink, .non-selected-student a#myStudentProfileLink {
    display: flex;
    padding: 0px;
    margin: 0px;
}
.profileInfo h2, .profileInfo h2 a {
    font-size: 14px !important;
    font-family: 'Inter';
    font-weight: 500;
    color: #fff !important;
    padding-right: 10px;
}
.students {
    position: absolute;
    left: 250px;
    width: auto;
    display: flex;
    flex-wrap: nowrap;
    gap: 40px;
    bottom: 0px;
}
.selected-student, .non-selected-student {
    position: relative;
    display: block;
    flex-wrap: nowrap;
    background: #fff;
    width: auto;
    bottom: 0px;
    padding: 10px ;
    border-radius: 10px 10px 0px 0px;
}
.non-selected-student {
    background: #2A4B63;
    color: #fff;
}
.selected-student a#myStudentProfileLink span.name, .non-selected-student a#myStudentProfileLink span.name {
    font-family: 'Inter';
    font-size: 12px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 10px;
    color: #464E5F;
    font-weight: 500;
}
.non-selected-student a#myStudentProfileLink span.name {
    color: #fff;
}
.selection.child .avatar .generated-user-avatar {
    width: 100% !important;
    height: 100% !important;
    font-size: 50px !important;
    font-family: 'Inter';
}

.selected-student a#myStudentProfileLink::before {
    background: #062b48;
    width: 20px;
    height: 20px;
    border-radius: 10px;
    position: absolute;
    left: -20px;
    bottom: 0px;
    content: '';
    z-index: 2;
}
.selected-student::before {
    content: '';
    width: 10px;
    height: 10px;
    background: #fff;
    z-index: 1;
    left: -10px;
    position: absolute;
    bottom: 0px;
}
.selected-student::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #fff;
    z-index: 1;
    right: -10px;
    position: absolute;
    bottom: 0px;
}
.selected-student a#myStudentProfileLink::after {
    background: #062b48;
    width: 20px;
    height: 20px;
    border-radius: 10px;
    position: absolute;
    right: -20px;
    bottom: 0px;
    content: '';
    z-index: 2;
}


.non-selected-student a#myStudentProfileLink::before {
    background: #062b48;
    width: 20px;
    height: 20px;
    border-radius: 10px;
    position: absolute;
    left: -20px;
    bottom: 0px;
    content: '';
    z-index: 2;
}
.non-selected-student::before {
    content: '';
    width: 10px;
    height: 10px;
    background: #2A4B63;
    z-index: 1;
    left: -10px;
    position: absolute;
    bottom: 0px;
}
.non-selected-student::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #2A4B63;
    z-index: 1;
    right: -10px;
    position: absolute;
    bottom: 0px;
}
.non-selected-student a#myStudentProfileLink::after {
    background: #062b48;
    width: 20px;
    height: 20px;
    border-radius: 10px;
    position: absolute;
    right: -20px;
    bottom: 0px;
    content: '';
    z-index: 2;
}

header.hasMenu.custom-header .menu {
    background: #fff;
    display: block;
    padding: 0% 5%;
    position: relative;
}
body, h1, h2, h3, p{
    margin: 0px !important;
    font-family: 'Inter';
    font-weight: 300;
}

h5{
    font-weight: normal;
    font-size: 14px;
}
a:hover {
    text-decoration: none !important;
}
body {
    margin: 0px;
    font-family: 'Inter';
    background: #F2F3F7 !important;
}
.nutree {
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
}
.nutree img {
    width: 210px;
    margin: 0 auto;
    text-align: center;
}
header.hasMenu.custom-header .topbar img {
    width: 50px;
}

.sso-login button {
    background: #00ABC7;
    border: 0px;
    padding: 15px;
    width: 100%;
    margin-top: 0px;
    font-size: 14px;
    color: #fff;
    font-family: 'Inter';
    border-radius: 5px;
    box-shadow: none;
}
.lang-menu {
    position: relative;
    background: #fff;
    width: 150px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.lang-menu .lang {
    display: flex;
    justify-content: center;
    vertical-align: middle;
    flex-wrap: nowrap;
    align-items: center;
    cursor: pointer;
}
.lang-menu .lang.non-active {
    padding: 25px 0px;
    display: none;
}
.lang-menu::after {
    content: '\f107';
    font-family: 'FontAwesome';
    position: absolute;
    right: -5px;
    top: 9px;
    font-size: 14px;
}
.lang-menu .lang img {
    width: 30px;
    background: #fff;
    display: block;
    border-radius: 100%;
}
span.language {
    display: block;
    padding-left: 10px;
}
.lang-menu .lang.active{
    display: flex;
}
.languageToggle {
    top: 30px;
    position: relative;
    float: right;
}
main{
    margin: 0 auto;
    width: 100%;
    /* max-width: 400px; */
    display: grid;
    row-gap: 30px;
    margin-top: 50px;
    justify-items: stretch;
}
.addprepayment-form, .dashboard-student, .login-front, .margin-top-custom {
    margin-top: 150px;
}
.dashboard-student {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 150px;
    width: 100% !important;
}
.menu-top {
    display: flex;
    justify-content: flex-start; /* Spread main items apart */
    align-items: center; /* Ensure vertical alignment of items */
    flex-wrap: wrap; /* Allow wrapping if necessary on smaller screens */
    position: relative;
}

.menu-top a.active {
    color: #042B48 !important;
    font-weight: 600;
}
.menu-top a.active::after {
    content: '';
    width: 100%;
    height: 2px;
    background: #042B48;
    position: absolute;
    left: 0px;
    bottom: 15px;
}
.menu-top a {
    text-decoration: none;
    margin-right: 15px;
    padding: 30px 10px 30px 0px;
    color: #80808F !important;
    cursor: pointer;
    position: relative;
    font-weight: 500;
    font-size: 16px;
}

.menu-top .lang {
    margin: 0; /* Reset any margins */
    display: inline-flex;
    align-items: center;
}


.menu-top .lang + .lang {
    margin-left: 5px; /* Small gap between language links */
}
.languageToggle {
    display: block;
    position: absolute;
    right: 5%;
    top: 25px;
    z-index: 200;
}

.grid{
    display: grid;
    /* justify-items: center; */
}

.row{
    display: flex;
    flex-direction: row;
}

.column{
    display: flex;
    flex-direction: column;
}

.spacer{
    flex-grow: 1;
}

.bigTitle{
    font-family: 'Inter';
    font-size: 32px;
    color: #7897ae;
}

h1{
    font-family: 'Inter';
    font-size: 17px;
    font-weight: 600;
    /* color: #7897ae; */
    color: #042B48;
    margin: 30px 0;
}

h2, summary{
    font-weight: 100;
    font-size: 18px;
    color: #042B48;
    margin-bottom: 20px;
}

summary{
    margin-bottom: 0;
}

h3{
    font-family: 'Inter';
    color: #042B48;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 20px;
    /* font-weight: 700 */
}

p{
    font-size: 14px;
    color: black;
    margin-bottom: 15px;
}

a, a.highlighted, .languageToggle span.active{
    text-decoration: none;
    color: #00ABC7 !important;
}

.highlighted{
    font-family: 'Roboto';
    font-size: 16px;
    color: black;
    margin-bottom: 25px;
    font-weight: normal;
}

header{
    width: 100%;
    box-sizing: border-box;
    /* align-items: baseline; */
    justify-content: space-between;
}

header h1{
    margin-top: 0;
}

header h1 img{
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 4px;
}

header h2{
    margin-bottom: 0;
}

header .headerBackLink h1 {
    margin-bottom: 0;
}

.profileInfo {
    display: flex;
    align-items: center;
    float: right;
}

.avatar{
    border-radius: 50%;
    background: #f0f6fd;
    margin-right: 15px;
    height: 60px;
    width: 60px;
    margin-right: 10px;
    position: relative;
}

.header-logo img {
    height: 100%;
    max-height: 55px !important;
    align-items: center;
    vertical-align: middle;
    margin: 0 auto;
    margin-top: 15px;
    margin-left: 15px;
}
.header-logo {
    height: 80px;
    position: absolute;
    top: 0;
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0px 5px 40px rgba(0, 0, 0, 0.05);
    left: 0px;
}
.profileInfo .avatar::after{
    position: absolute;
    display: block;
    right: -5px;
    bottom: -5px;
    width: 25px;
}
.profileInfo .avatar.guardian::after{
    content: url("../icons/guardian-students-sub-avatar.svg");
}

.profileInfo .avatar.student::after{
    content: url("../icons/dashboard.svg");
}

form{
    font-size: 18px;
}

select{
    border-style: none none solid none;
    border-color: black;
    border-width: 0.3px;
    height: 40px;
    background-color: transparent;
    padding: 10px 20px 5px 3px;
    box-sizing: border-box;
    transition: border 80ms linear;
    appearance: none;
    font-family: roboto;
    color: #1373b3;
    background: url(../img/downarrow.svg) no-repeat right center;

    -webkit-appearance: none;
    border-radius: 0;
    border: 0 none;
    font-size: inherit;
}

input{
    color: #1373b3;
    font-size: 18px;
    font-weight: 100;
    font-family: Roboto;
}

input::placeholder {
    color: #999;
    opacity: 1;
    font-weight: normal;
    font-size: 80%;
}

input[type=text],
input[type=number],
input[type=password],
input[type=search],
input[type=email]{
    border-style: none none solid none;
    border-color: black;
    border-width: 0.3px;
    height: 40px;
    background-color: transparent;
    padding: 10px 3px 5px 3px;
    box-sizing: border-box;
    transition: border 80ms linear;
}

textarea{
    height: 80px;
    color: #1373b3;
    font-family: roboto;
}

.card textarea{
    border-radius: 4px;
    border: 1px solid #ccc;
    padding: 5px;
}

input[type=text]:focus,
input[type=number]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=email]:focus,
textarea:focus
{
    outline: none;
    border-bottom-width: 2px;
    border-color: #4d4d4d;
}

input[type=text]:invalid,
input[type=number]:invalid,
input[type=password]:invalid,
input[type=search]:invalid,
input[type=email]:invalid
{
    box-shadow: none;
    border-bottom-color: #e00;
    border-width: 3px;
}

form input[type=text],
form input[type=number],
form input[type=password],
form input[type=search],
form input[type=email]{
    display: block;
    width: 100%;
    margin-bottom: 30px;
}

.formFieldWrapper{
    margin-bottom: 20px;
}
form .formFieldWrapper.has-error input[type=text],
form .formFieldWrapper.has-error input[type=number],
form .formFieldWrapper.has-error input[type=password],
form .formFieldWrapper.has-error input[type=search],
form .formFieldWrapper.has-error input[type=email]{
    margin-bottom: 6px;
}

input[type=number]{
    width: 5em;
}

input[type=number]+span::before{
    pointer-events: none;
    content: url(../img/spinnerArrows.svg);
    position: absolute;
    margin-left: -30px;
    margin-right: 10px;
    margin-top: -6px;
}

.popup input[type=text],
.popup input[type=number],
.popup input[type=password],
.popup input[type=email],
input.bordered{
    border: 2px solid #1373b3;
    margin: 0;
    padding: 0 7px;
    font-size: 13.33px;
}

.popup input[type=text]:invalid,
.popup input[type=text].invalid,
.popup input[type=number]:invalid,
.popup input[type=number].invalid,
.popup input[type=password]:invalid,
.popup input[type=password].invalid,
.popup input[type=email]:invalid,
.popup input[type=email].invalid,
input.bordered{
    border-color: #900;
    color: #900;
}

.popup input[type=number]{
    text-align: right;
}

.popup input[type=number] + .unit::before{
    content: "";
}

input[type=search]{
    background: url('../icons/search.svg') right center no-repeat;
}

label, .unit{
    font-size: 18px;
}

.unit{
    margin-left: 10px;
}

.unit.unit-before{
    margin-left: 0px;
}

input[type=checkbox]{
    appearance: none;
    /* border: 2px solid #f2f2f2; */
    /* background-color: #f2f2f2; */
    background: url("../img/checkbox.svg") top left no-repeat;
    border-radius: 2px;
    width: 31px;
    height: 31px;
    margin: 0 7px 0 -4px;
    display: inline-block;
}

input[type=checkbox]:checked{
    /* background-color: #1373b3; */
    background-image: url("../img/checkbox.svg#checked");
    /* border: 2px solid #1373b3; */
}

input[type=radio]:focus,
input[type=checkbox]:focus{
    background-color: #b7c3da;
    outline: none;
    border: 0 none;
    border-radius: 2px;
}

span.highlighted,
.profileInfo a.highlighted{
    color: #1373b3;
    font-family: 'Roboto';
    font-size: 18px;
    font-weight: normal;
}

input[type=radio]{
    appearance: none;
    background-color: transparent;
    margin: 0;
    margin-right: 10px;
    margin-top: 5px;
    width: 20px;
    height: 20px;
    background-image: url("../img/radio.svg");
    background-size: contain;
}

input[type=radio]:checked{
    /* background-color: #1373b3; */
    background-image: url("../img/radio.svg#checked");
}

label{
    margin-right: 20px;
    /* margin-top: 10px; */
}


.languageToggle>span{
    margin: 0 15px 0 15px;
    font-weight: normal;
    color: #1373b3;
}

.languageToggle span:nth-child(1){
    color: #999999;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    width: 35px;
    height: 16px;
    margin-right: 0;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent;
    border: 2px solid #1373b3;
    -webkit-transition: .2s;
    transition: .2s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 10px;
    width: 10px;
    left: 1px;
    bottom: 1px;
    background-color: #1373b3;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
    left: 0;
}

/* Rounded sliders */
.slider.round {
    border-radius: 400px;
}

.slider.round:before {
    border-radius: 50%;
}


.highlightedInputBox{
    border: 2px solid #1373b3;
}

.highlightedInputText{
    font-size: 18px;
}

.card{
    background-color: #fff;
    border-radius: 25px !important;
    box-shadow: 0px 0px 30px rgba(56, 71, 109, 0.05) !important;
    padding: 30px;
    border: 0px !important;;
}
#cookie_reject {
    background: #595959;
    border: 0px;
    box-shadow: none;
    padding: 10px 15px;
}
#cookie_accept {
    background: #00abc7;
    border: 0px;
    box-shadow: none;
    padding: 10px 15px;
}
footer a {
    color: #80808F !important;
}
.medium.card{
    max-width: 100%;
    width: 1000px;
}

button, a.button{
    font-family: 'Roboto';
    border: 2px solid #1373b3;
    border-radius: 7px;
    background-color: #1373b3;
    max-width: 450px;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 12.5px;
    /* margin-right: 20px; */
    color: white;
    box-shadow: 2px 2px 1.2px rgba(255,255,255,0.34) inset;
    cursor: pointer;
    box-sizing: border-box;
    margin-top: 0;
}

a.button{
    text-align: center;
    font-weight: normal;
}

button:disabled{
    opacity: 45%;
}

#resetForm, .cancel {
    border: 2px solid red!important;
    font-size: 13.33px;
}

.categoryButton:not(.active),
.altButton,
a.altButton {
    background-color: #ffffff;
    color: black;
}

/* article.buttonRow{
  display: flex;
  flex-direction: column;
  align-items: stretch;
} */

.actions{
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    justify-content: flex-end;
    /* gap: 20px */
}
#questionbox {
    border: 1px solid #ffa500;
    padding: 10px 10px 15px 10px;
    background: #ffedcc;
    margin-bottom: 25px;
    display: flex;
}
#questionbox .content {
    margin-bottom: 25px;
}
#questionbox .okbtn {
    display: inline;
    background: #fff;
    padding: 5px 15px;
    cursor: pointer;
}
#questionbox .cancelbtn {
    display: inline;
    margin-left: 20px;
    padding: 5px 15px;
    background: #fff;
    cursor: pointer;
}
#questionbox .okbtn:hover, #questionbox .cancelbtn:hover{
    background: #3aa63a;
    color: #fff;
}

@media (min-width: 600px){
    .actions>*:not(:first-child){
        margin-left: 20px;
    }
}

@media (max-width: 600px){
    .actions{
        justify-content: center;
    }
}

@media (min-width: 1000px){
    button, a.button{
        width: 100%;
        max-width: 300px;
        justify-self: end !important;
    }
    article.buttonRow{
        flex-direction: row;
        justify-content: end;
    }
}

article .title{
    height: 56px;
}

.datepicker{
    border-bottom: 0.3px solid black;
    padding-bottom: 0;
}

.datepicker input{
    border: 0;
    text-align: right;
    margin-right: 10px;
    font-family: Roboto;
    font-weight: lighter;
    font-size: 18px;
    width: 7em
}

.datepicker input[type=date],
.datepicker input[type=date]:focus,
input.dayPickerIcon,
input.dayPickerIcon:focus{
    appearance: none;
    outline: none;
    background: transparent;
    color: transparent;
    border: 0;
    width: 22px;
    padding-left: 22px;
    box-sizing: border-box;
    background-image: url('../img/datepicker.svg');
    background-repeat: no-repeat;
    background-size: contain;
}

.datepicker input[type=date]::selection
.dayPickerIcon1::selection{
    color: transparent;
    background: transparent;
}

.datetime-edit-field:not([disabled="true"]):focus{
    background-color: transparent !important;
}

.datepicker input[type=date]::-webkit-inner-spin-button,
.datepicker input[type=date]::-webkit-calendar-picker-indicator,
.dayPickerIcon1::-webkit-inner-spin-button,
.dayPickerIcon1::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}

.datepicker input[type=text]:invalid{
    border-bottom-style: solid;
}

.icon{
    color: white;
    background: #ccc;
    border-radius: 100%;
    height: 1.2em;
    width: 1.2em;
    text-align: center;
    line-height: 1.2em;
    font-weight: bold;
    box-sizing: border-box;
}

.dairy.icon{
    background-color: #ccc;
    padding-left: 1px;
}

.fruit.icon{
    background-color: #44aa00;
}

.meat.icon{
    background-color: #a02c2c;
}

.carbs.icon{
    background-color: #ffcc00;
}

.noChrome{
    border: 0 none;
    background-color: transparent;
    box-shadow: none;
    color: inherit;
    padding: 0;
    margin: 0;
    width: auto;
}

@media (min-width: 600px){
    article{
        margin-bottom: 10px;
    }
}

@media (max-width: 600px){

    body{
        margin: 18px;
    }

    li{
        font-size: 15px;
    }

    h1{
        font-size: 22px;
    }

    h2{
        font-size: 17px;
    }

    h3{
        font-size: 15px;
    }


    .touchButton{
        height: 45px;
        width: 100%;
        max-width: 500px;
        border-radius: 10px;
        margin-bottom: 25px;
        margin-right: 40px;
        font-size: 24px;
    }

    .card{
        padding: 20px;
    }

    .avatar{
        width: 40px;
        height: 40px;
        border-width: 2px;
    }

    .noSmallCard{
        background-color: transparent;
        box-shadow: none;
        padding: 10px 0;
    }
}

.hidden{
    display:none !important;
}

header.second{
    flex-direction: column;
}

header article.title{
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    /* width: 100%; */
}

header article.title a.menu{
    position: relative;
    top: 5px;
}

header.first{
    margin-bottom: 30px;
}

@media (min-width: 500px){
    header.second{
        max-width: 960px;
        margin: 0 auto;
        align-items: flex-end;
        flex-direction: row;
    }
}

@media (min-width: 500px){
    header.second article.title{
        display: flex;
        flex-direction: column;
        width: auto;
    }
}

@media (min-width: 1000px){
    header.first{
        margin-bottom: 50px;
    }



    header.second h1{
        margin-bottom: 10px;
    }


    .row.exercise{
        justify-content: end;
    }

    header.second .datepicker input[type=text]{
        text-align: left;
        width: 200px;
    }
}

.tooltip{
    max-width: 250px;
    border: 1px solid transparent;
    border-radius: 10px;
    border-image: url('../img/tooltip.svg')  50 / 70px / 26px;
    align-items: start;
    padding: 10px 15px;
    padding-bottom: 20px;
    /* gap: 10px; */
    display: none;
}

/* gap */
.tooltip>*:not(:last-child){
    margin-right: 10px;
}

.help .tooltip.help{
    display: flex;
}

.tooltip .pin{
    margin-top: 3px;
    margin-left: 4px;
    width: 12px;
    flex-shrink: 0.2;
}

button .tooltip{
    position: absolute;
    margin-top: -100px;
    margin-left: -15px;
    margin-bottom: 10px;
    max-width: 350px;
    color: initial;
    text-align: initial;
    display: none;
}

button input:checked + .tooltip{
    display: block;
}

.tooltip:target{
    display: block;
}

footer .tooltip .text{
    display: flex;
    flex-direction: column;
}
/*
footer .tooltip label{
  display: flex;
  align-content: baseline;
} */

label input[type=radio]{
    margin-bottom: -4px;
}

button>input[type=checkbox].toggle{
    background: none;
    border: none;
    appearance: none;
    -webkit-appearance: none;
    position: absolute;
    z-index: 10;
}

footer button:active,
footer button:focus-within,
footer button:focus{
    padding: 0;
    margin: 0;
    transform: none;
}

footer button:active .tooltip,
footer button:focus-within .tooltip,
footer button:focus .tooltip{
    margin-left: -7px;
}

footer button:active img,
footer button:focus-within img,
footer button:focus img{
    transform: scale(120%);
    z-index: -1;
}

@media (min-width: 1120px){
    .sideTitle{
        writing-mode: vertical-lr;
        text-orientation: mixed;
        transform: rotate(180deg);
        position: absolute;
        font-family: SourceCodePro;
        font-size: 35px;
        color: #7897ae;
        margin-left: -90px;
        margin-top: 10px
    }
}

/* This is the same as above but I don't know how to reference it */

.right.pane h2{
    writing-mode: vertical-lr;
    text-orientation: mixed;
    transform: rotate(180deg);
    position: absolute;
    font-family: SourceCodePro;
    font-size: 35px;
    color: #7897ae;
    margin-left: -90px;
    margin-top: 10px;
}

hr{
    border-top: 1px solid black;
    border-bottom: none;
    width: 100%;
}

.menuPopup hr{
    border-color: #1373b3;

}

label a{
    color: inherit;
    cursor: default;
}

.error{
    display: none;
    color: #a00;
    /* margin-top: 10px; */
}

#error:target,
#error.shown{
    display: block;
}

.row.searchField{
    flex-wrap: nowrap;
    align-items: center;
}

.searchField input{
    max-width: calc(100% - 41px);
}

@media (max-width: 600px){
    /*  header.first{
        display: none;
      }*/
}
@media (min-width: 600px){
    header.second{
        padding: 0 15px;
    }
    header.second a.menu{
        display: none;
    }
}

.menuPopup{
    background: white;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.2);
    position: absolute;
    right: -5px;
    top: 40px;
    flex-direction: column;
    padding: 20px;
    border-radius: 20px;
    display: none;
    z-index: 11;
}

.menuPopup a{
    margin: 10px;
}

.menuPopup a.active{
    font-weight: bold;
}

.hasMenu{
    position: relative;
}

.menuPopup.open{
    display: flex;
}

a.menu{
    display: block;
    height: max-content;
    align-self: flex-start;
}

.sort.row{
    align-items: baseline;
}
.hasSpinner{
    align-items: baseline;
}

.popup.notification{
    border-radius: 25px;
    padding-top: 22px !important;
    padding-left: 25px !important;
    padding-right: 25px !important;
    position: absolute;
    z-index: 10000;
    right: 30px;
    top: 20px;
    width: 320px;
    display: flex;
    flex-direction: column;
    background-color: white;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    position: fixed;
    font-weight: 500;
}

.popup.notification button{
    align-self: center;
}

.popup.notification button:first-of-type{
    margin-top: 10px;
}
.popup.notification button {
    background: #00abc7;
    border: 0px;
    box-shadow: none;
    border-radius: 5px;
    font-size: 14px;
}
button .spinner{
    animation: rotation 2s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    height: 18px;
    position: relative;
    top: 2px;
}

button:not(.altButton) .spinner{
    filter: invert(1);
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

.menuitem-disabled{
    color: lightgray;
    pointer-events: none;
}

textarea{
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.pager .pageNumbers .page-item.active{
    font-weight: bold;
}

.opacity-20{
    opacity: .2;
}

@keyframes loader {
    0% {
        transform: translate3d(-50%, -50%, 0) rotate(0deg);
    }
    100% {
        transform: translate3d(-50%, -50%, 0) rotate(360deg);
    }
}
.loader {
    z-index: 9998;
    opacity: 1;
    height: 100%;
    width: 100%;
    transition: opacity linear 0.1s;
    background-color: rgba(255, 255, 255, .9);
    pointer-events: none;
}
.loader::before {
    background-color: rgba(255, 255, 255, 0);
    animation: 2s linear infinite loader;
    border: solid 3px #fff;
    border-bottom-color: #476ecc;
    border-radius: 50%;
    content: "";
    height: 40px;
    left: 50%;
    opacity: inherit;
    position: absolute;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
    transform-origin: center;
    width: 40px;
    will-change: transform;
    z-index:  9999;;
}

.foodCategory-img{
    height: 1.2em;
    width: 1.2em;
    border: 2px solid;
    border-radius: 50%;
    padding: 5px;
}

.foodCategory-icon {
    display: inline-block;
    margin-right: 20px;
}

/** FORMS */
div.form-group{
    display: block;
}
div.form-group label{
    display: block;
    width: 100%;
}
div.form-group input{
    width: 100%;
}
div.form-group.has-error input{
    margin: 0;
}
.error-help-block{
    color: red;
}

/** UTILS */


.thumbs button{
    margin-right: 10px;
    margin-bottom: 10px;
}

.thumbs button span{
    color: black;
    align-self: flex-end;
}

.is-hidden {
    display: none!important;
}

.tour-modal-button-close {
    display: inline-block;
    width: 16px;
    height: 16px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.tour-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}

.tour-modal {
    padding: 40px;
    max-height: calc(100% - 150px);
    overflow-y: auto;
    position: relative;
    min-height: 300px;
    margin: 5% auto;
    background: #fff;
    z-index: 9999;
    max-width: 300px;
    width: 50vw;
    border-radius: 25px;
}

.tour-modal-content{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.tour-modal-content p{
    margin-bottom: 15px;
}


.avatar-article{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}
.avatar-article .bigTitle{
    word-break: break-word;
    font-size: 29px;
}

@media (min-width: 992px){

    .avatar-article{
        flex-direction: row;
    }
}
.popular-title {
    background: #1373b3;
    padding: 10px 10px;
    border: 1px solid #1373b3;
    color: #fff;
}
.mostsales {
    background: #fafafa;
    padding: 10px 10px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
}
div#foodAnalysisTitle h3 {
    margin-bottom: 20px !important;
    display: block;
    position: relative;
}
div#foodAnalysisTitle {
    display: block;
}

#competitions .custom-select select {
    position: relative;
    background: none;
    color: #5F6277;
    font-size: 14px;
}
#competitions .custom-select {
    position: relative;
    background: #f7f7f7;
    padding: 0px 10px;
    color: #5F6277;
    border-radius: 6px;
    max-width: 120px;
    height: 40px;
    float: right;
    display: block;
    margin-bottom: 20px;
    width: -webkit-fill-available;
    text-align: left;
}
#competitions .custom-select::after {
    content: '\f107';
    font-family: 'FontAwesome';
    position: absolute;
    right: 10px;
    font-size: 14px;
    z-index: 100;
    bottom: 10px;
}
#competitions .report.card {
    width: calc(100% - 60px);
    margin-top: 20px !important;
}
#competitions.card .card {
    box-shadow: none !important;
}
div#competitions div#title {
    font-weight: 500;
}
.mob-icon-menu {
    display: none;
}
.fa.close-btn{
    display: none;
}
.mob-bg-menu{
    display: none;
}
.highlighted {
    font-family: 'Inter' !important;
}
select:focus, button:focus {
    border: 0px !important;
    outline: none !important;
}
@media (max-width: 1000px) {
    .topbar .students {
        display: none;
    }
    .mob-icon-menu {
        font-size: 35px;
        color: #062b48;
        display: block;
        width: fit-content;
        padding: 10px;
    }
    .menu-top {
        display: none;
    }
    .languageToggle {
        display: block;
        position: absolute;
        right: 15px;
        top: 17px;
        z-index: 200;
    }
    .menu-top {
        position: fixed;
        top: 0px;
        overflow: auto;
        width: calc(100% - 54px);
        background: #fff;
        left: 0px;
        height: 100vh;
        z-index: 1200;
        box-shadow: 0 0 5px 0 rgba(50, 50, 50, 0.75);
        transition: left .3s;
        padding-top: 50px;
    }
    .menu-top a {
        width: auto;
        display: block;
        margin: 0px !important;
        padding: 20px;
    }
    i.fa.fa-times.close-btn {
        position: absolute;
        right: 10px;
        font-size: 30px;
        z-index: 1000;
        top: 8px;
        color: #062b48;
    }
    .menu-top a.active {
        font-weight: 600;
        background: #042B48 !important;
        color: #fff !important;
        padding: 20px;
    }
    .mob-bg-menu:before {
        content: '';
        width: 100vw;
        height: 100vh;
        background: #00000096;
        position: fixed;
        top: 0;
        z-index: 1000;
    }
    main .selection{
        margin-top: 0px !important;
    }
    main .selections {
        margin-top: 100px;
    }
    .noSmallCard {
        background: #fff;
        padding: 15px;
        margin-bottom: 20px;
    }
    div#competitions {
        grid-row: auto !important;
        position: relative;
        min-height: 200px;
        margin-bottom: 20px;
    }
    #dailyConsumption .title {
        margin-bottom: 30px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    div#dailyConsumption .title a {
        margin: 0px;
    }
    main {
        margin-top: 10px;
        padding: 0px 10px;
        position: relative;
        justify-items: normal;
        max-width: 100% !important;
        width: auto !important;
    }
    .column.yourData.periodMealChartBox .small.card {
        margin-top: 0px;
    }
    div#foodAnalysis .action-btns.row {
        justify-content: space-between;
        width: calc(100% - 20px) !important;
        position: absolute;
        bottom: 0px;
        flex-wrap: wrap;
    }
    div#foodAnalysis  .action-btns.row a {
        width: 100%;
        text-align: center;
        padding: 10px 10px;
        font-size: 14px;
        height: 25px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff !important;
        border-radius: 10px;
        margin-bottom: 10px;
    }
    .card {
        width: auto;
        max-width: 100%;
        position: relative;
        display: block;
        margin: 0px;
        justify-items: normal;
        padding: 10px 10px;
    }
    .addprepayment-form .card.col-sm-12 {
        width: auto;
    }
    .addprepayment-form img.img-nfc {
        width: 150px;
        margin-bottom: 20px;
    }
    #filters .row div {
        width: 100%;
    }
    #filters .row {
        flex-wrap: wrap;
        width: 100%;
        display: block;
    }
    #filters .row {
        flex-wrap: wrap;
        width: 100%;
    }
    #filters .row.date-range input[type=text] {
        width: 100%;
    }
    .column.filter-student div {
        width: 100%;
        display: block;
        max-width: 100%;
        padding: 0px;
    }
    .column.filter-student {
        flex-wrap: wrap;
        margin-top: -20px;
    }
    div#filters {
        flex-wrap: wrap;
        grid: none;
        width: 100%;
        justify-content: normal;
    }
    .form-content.add-meal {
        width: auto;
        max-width: 100%;
        height: fit-content;
        top: -150px;
        display: block;
    }
    #food .edit.popup.expanded .row.more {
        display: block;
    }
    .margin-top-custom-2 header.row.second .datepicker {
        margin-left: 0px;
        text-align: left;
    }
    .margin-top-custom-2 {
        margin-top: 150px;
    }
    #food .edit.popup input#name {
        width: auto;
    }
    .column.yourData.periodMealChartBox .title a {
        width: min-content;
    }
    #categories {
        display: flex;
        grid-gap: 10px;
        grid-template-columns: repeat(auto-fit, minmax(0px, 1fr));
        margin-top: 50px;
        overflow: scroll;
        padding-bottom: 30px;
        width: 100%;
    }
    #categories {
        gap: 20px 40px  !important;
        grid-template-columns: repeat(auto-fit, minmax(0px, 1fr))  !important;
        margin-top: 50px;
        display: flex  !important;
        flex-wrap: wrap  !important;
        justify-content: center  !important;
    }
    .categoryProductsWrapper .thumbs {
        display: grid;
        grid-gap: 20px  !important;
        grid-template-columns: repeat(auto-fit, 150px)  !important;
    }
    .categoryProductsWrapper .thumbs {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center;
        align-content: center;
    }
    .product-button {
        margin: 0;
        padding: 0;
        width: 45%;
        text-align: center;
    }
    .dashboard-student.comparison .content {
        width: 1000px;
        overflow: scroll;
    }
    details#dailyData .content, details#dailyAverageCalories .content, details#reportCardCharts .content, details#reportCardTables .content {
        width: 1000px;
        overflow: scroll;
    }
    div#foodAnalysis {
        position: relative;
        min-height: 250px;
    }
    main.prepeayment-add {
        margin-top: 150px;
    }
    .addprepayment-form{
        margin-top: 0px !important;
    }
}

