:root {
	--color-primary: #3066F8;
}

#sidenav-main {
	/* position: sticky;
    top: 0;
    z-index: 30; */
}

.application-offset .container-application:before {
	height: 350px;
	border-radius: 0;
	background-color: var(--color-primary);
}

.nav-application>.btn.active {
	background-color: var(--color-primary);
}

.card-placeholder {
	background-color: #fff;
    border-style: solid;
}

input.form-control,
input.form-control:focus {
	color: #000;
}

.avatar-custom {
	height: 7.125rem;
    width:  7.125rem;
}
.avatar, .avatar img {
	object-fit: cover;
}
.avatar img {
	width: 100%;
	height: 100%;
}
.tutor-specialization {
	line-height: 1.1;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
input[type=number].input-bid {
	-moz-appearance: textfield;
	appearance: textfield;
	margin: 0; 
}
input[type=number].input-bid ::-webkit-inner-spin-button, 
input[type=number].input-bid ::-webkit-outer-spin-button { 
      -webkit-appearance: none; 
      margin: 0; 
}

.action-item-custom {
	font-size: 1.275rem;
}

.schedule {
	margin: -1.5rem;
	overflow-x: scroll;
	overflow-y: scroll;
	max-height: 100vh;
	border-radius: 5px;
	font-size: 0;
	--border-color: #e0e6ed;
	--cell-width: 36.4px;
}
.schedule-header {
	background-color: #fff;
	border-bottom: 2px solid #e0e6ed;
	display: inline-grid;
    /* grid-auto-columns: 52px; */
	grid-template-columns: 400px repeat(auto-fill, minmax(var(--cell-width), 1fr));
    grid-auto-columns: minmax(var(--cell-width), 1fr);
    grid-auto-flow: column;

	position: sticky;
	z-index: 20;
	top: 0px;
}
.schedule-header .day {
	border: .5px solid var(--border-color);
}
.schedule-header .day span {
	text-align: center;
	display: block;
	font-size: 12px;
	line-height: 1.3;
	opacity: .7;
}
.schedule-header .day-placeholder {
	border: .5px solid var(--border-color);
	border-right-width: 2px;
	background-color: #fff;
	position: sticky;
    z-index: 20;
	left: 0;
}
.schedule .day.weekend {
	background-color: #f8fcff;
}
.schedule .grid {
	position: relative;
	/* display: grid;
    grid-template-rows: auto;
    grid-template-columns: 200px auto; */

	display: flex;
}
.schedule .grid > div:nth-child(1) {}
.schedule .grid > div:nth-child(2) {}
.schedule .name {
	display: flex;
	align-items: center;
	min-width: 200px;
	font-size: 14px;
	line-height: 1.1;
	padding: 10px 15px;
	border: .5px solid var(--border-color);
	background-color: #f6fafe;
	
	position: sticky;
    z-index: 10;
	left: 0;
}
.schedule .avatar {
	width: 30px;
	height: 30px;
	flex-shrink: 0;
	margin-right: 10px;
}
.schedule .name img {
	border-radius: 100%;
	max-width: 30px;
}
.schedule .name span {
	color: rgb(132, 146, 166);
}
.schedule .name:hover span {
	color: rgb(70, 117, 183);
}
.schedule .items {}
.schedule .items .item {
	display: inline-block;
	border-bottom: 2px solid #e0e6ed;
	/* border: .5px solid var(--border-color); */
	/* width: calc(400px + var(--cell-width) * 30); */
}
.schedule .tutor {}
.schedule .tutor > .name {
	background-color: #EFF5FC;
}
.schedule .students {
	display: flex;
	flex-direction: column;
}
.schedule .student {
	/* border: 1px solid #fff; */
	/* margin: -1px; */
	/* box-sizing: border-box; */
	flex-grow: 1;
}
.schedule .item .student:hover .name,
.schedule .student:hover .records .day {
	background-color: #EFF5FC;
	/* border: 1px solid #f00; */
	/* box-shadow:inset 0px 0px 0px 3px #f00; */
	/* outline: 2px solid #f00; */
}
.schedule .student > .name {
	left: 200px;
	border-right-width: 2px;
}
.schedule .records {
	display: flex;
	font-size: 0;
	white-space: nowrap;
	
	display: grid;
    grid-auto-columns: minmax(var(--cell-width), 1fr);
    grid-auto-flow: column;
}
.schedule .records .day {
	/* cursor: pointer; */
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	width:  auto;
	padding: 3px;
	/* line-height: 53px; */
	text-align: center;
	border: .5px solid var(--border-color);
	/* background-color: #fff; */
	transition: transform .2s linear, box-shadow .2s linear;
}
.schedule .records .record {
	width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
	border-radius: 3px;
}
.schedule .records .record:hover {
	opacity: .7;
}
.schedule .records .add-record {
	width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
	border-radius: 3px;
	opacity: 0;
	color: #fff;
	cursor: default;
	background-color: var(--color-primary);
}
.schedule .records .add-record:hover {
	opacity: .4;
}
.schedule .records .record[data-status="attended"] {
	background-color: #51cb97;
}
.schedule .records .record[data-status="missed"] {
	/* background-color: #ff8063; */
	background-color: #aaa;
}
.schedule .records .record .time {
	font-size: 8px;
	color: #fff;
}
/* .schedule .records .record:hover {
	transform: scale(1.2);
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	background: #f6fafe;
	border-radius: 4px;
	position: relative;
	z-index: 5;
} */

.my-calendar {}
.my-calendar .my-calendar-header {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	position: sticky;
    top: -20px;
}
.my-calendar .my-calendar-body {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
}
.my-calendar .my-calendar-header span {
	aspect-ratio: auto;
	background-color: #eff2f7;
	text-align: center;
	font-size: 12px;
}
.my-calendar .my-calendar-day {
	/* aspect-ratio: 1 / 1; */
	font-size: 12px;
	border: 1px solid #eff2f7;
	border-left: none;
	border-top: none;
	padding: 5px;
	font-weight: lighter;
}
.my-calendar .my-calendar-day.active {
	outline: 3px solid #eff2f7;
}
.my-calendar .my-calendar-day.other-month {
	color: #ddd;
}
.my-calendar .record-item {
	display: block;
	padding: 5px 5px;
	margin-bottom: 1px;
}
.my-calendar .add-record {
	width:  100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
	border-radius: 3px;
	opacity: 0;
	color: #fff;
	background-color: var(--color-primary);
}
.my-calendar .my-calendar-day:hover .add-record {
	opacity: .4;
}