.routine-image {
    width: -webkit-fill-available;
    width: -moz-available;
    width: fill-available;
}
.weekschedule {
    margin-top: 2em;
}
table.weekdays a.routineitem {
    font-weight: bold;
    padding: 0.3em 0.5em;
    text-align: center;
    background-color: #FFFFFF;
    display: block;
    border-radius: 0.5em;
    box-shadow: 0px 0px 1px 1px #DDDDDD;
    font-size: smaller;
    text-decoration: none;
    margin-bottom: 0.5em;
}
table.weekdays a.routineitem:hover {
    text-decoration: underline;
    color: #124764 !important;
    box-shadow: 0px 0px 2px 2px #DDDDDD;
}
.small.button.createroutine {
    margin-bottom: 2em;
}
div.row.routine.box {
    margin-left: 0;
}
div.row.routine.box div:first-child {
    padding-left: 0;
}
.activitycalendar .small.button.next {
    float: right;
}
.activitycalendar .routineitem {
    margin-bottom: 1em;
}
.activitycalendar .routineitem em {
    display: block;
    margin-bottom: 0.5em;
}
.activitycalendar .routineitem:hover {
    box-shadow: 0px 0px 1px 1px #DDDDDD;
}
.activitycalendar .routineitem:hover h3 {
    text-decoration: underline;
}
a.editvisitstatus[disabled] {
    background-color: lightgrey;
}
a.editvisitstatus[disabled]:hover {
    background-color: lightgrey !important;
}
a.editvisitstatus.selected {
    background-color: #509918;
}
table.studentroutine .activity-header {
    font-weight: bold;
    font-size: medium;
}
table.studentroutine .routineitem-header {
    padding-left: 3em;
}
div.userbadgelist {
    display: flex;
    flex-wrap: wrap;
}
div.userbadgelist div.box {
    height: calc(100% - 2em);
}

div.activitycalendar .event-future {
    background-color: #FAFAFA;
}
div.activitycalendar .not_completed {
    background-color: #FEFEEE;
}
div.activitycalendar .routineitem.completed {
	background-color: #F1FFF1;
}
div.activitycalendar .routineitem.skipped {
    background-color: #FFF7EE;
}
header.calendarday-heading {
    text-align: center;
}
header.calendarday-heading.today {
	padding: 0.5em;
	margin: -0.5em 0em 0.5em 0em;
	box-shadow: 2px 2px 2px 1px #BDD7E4 inset, -2px -2px 2px 1px #BDD7E4 inset;
	border-radius: 5px;
}
header.calendarday-heading.today h3 {
    margin: 0;
}
.routineitemactivitybox {
    width: 60%;
}
.routineitemactivitybox .image.fit {
    margin-bottom: 0;
}
#routineiteminfo td {
    vertical-align: top;
}
.editvisitstatus-header {
    text-align: center;
    padding: 0.75em;
}
.box.feedbackmessage {
    margin-bottom: 0;
}
#activitycalendarcontent .calendarheader {
    margin-bottom: 1em;
}
.userachievementlist .achievementprogress {
    position: relative;
}
.userachievementlist .achievementcontainer {
	position: relative;
	display: inline-block;
	margin: 0 0.4em 1.5em 0;
}
.userachievementlist .achievement {
	position: relative;
	display: inline;
    border-radius: 50%;
    padding: 0.4em;
    border: 3px solid;
}
.userachievementlist .achievement.active,
.userachievementlist .achievement:hover {
    border-color: #FFA500;
}
.userachievementlist .achievementinfo {
    background-color: #FFFFFF;
}
.userachievementlist .achievementinfo .box {
    margin-bottom: 0;
}
.userachievementlist .awarded {
    border-color: #FFC864;
}
.userachievementlist .not_awarded {
    border-color: lightgrey;
}
.userachievementlist .awarded i {
	color: #FAD300;
}
.userachievementlist .not_awarded i {
	color: lightgrey;
}
.userachievementlist .percentspan {
	position: absolute;
    display: inline-block;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: x-small;
    font-weight: bold;
}
.userachievementlist .awarded .percentspan {
    color: black;
}
.userachievementlist .not-awarded .percentspan {
    color: #111111;
}
#activitylist {
    display: flex;
    flex-wrap: wrap;
}
#activitylist .activitylistitem {
    height: inherit;
}
#activitylist .activitylistitem .box {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 0.5em;
}
#studentroutinetable .subtitle {
    font-weight: normal;
}
#studentroutinetable tr td:last-child,
#studentroutinetable tr th.subtitle:last-child {
    border-left: 2px solid rgba(144, 144, 144, 0.25);
}
#viewstudentcalendar, #viewstudentoverview {
    float: right;
    margin-bottom: 1em;
}
div.right-align {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
}
div.right-align > * {
    margin-left: 0.5em;
}
.optionGroup {
    font-weight: bold;
    font-style: italic;
}
    
.optionChild {
    padding-left: 15px;
}