/* Trainers
-------------------------------------------------- */

#trainers-list {
	color: #193766;
}
#trainers-list .flex-table.waiting-header {
	justify-content: center;
	margin-bottom: 16px;
	color: #AC3E00;
	font-size: 12px;
	font-weight: var(--fw500);
	line-height: 18px;
}
#trainers-list .flex-table.waiting-header .icon {
	margin-right: 10px;
	height: 18px;
	width: 18px;
}
#trainers-list .flex-table.waiting .flex-row {
	opacity: .5;
}
#trainers-list .flex-table.waiting.last {
	margin-bottom: 24px;
	border: 0;
}
#trainers-list .trainer {
	color: #344767;
	cursor: pointer;
}

#modal-add-trainer .modal-dialog {
	padding: 24px;
}
#modal-add-trainer .modal-close {
	top: 24px;
	right: 24px;
}
#modal-add-trainer .modal-header {
	justify-content: start;
	margin-bottom: 24px;
	height: 25px;
	min-height: auto;
	font-size: 24px;
	line-height: 25px;
}
#modal-add-trainer h3 {
	margin-bottom: 8px;
	color: #193766;
	font-size: 16px;
	font-weight: var(--fw500);
	line-height: 25px;
}
#modal-add-trainer p {
	margin-bottom: 16px;
	color: #193766;
	font-size: 14px;
	font-weight: var(--fw300);
	line-height: 17px;
}
#modal-add-trainer button {
	justify-content: center;
	height: 48px;
	width: 100%;
	font-size: 16px;
}
#modal-add-trainer button img {
	margin-left: 8px;
}
#modal-add-trainer .form {
	flex-wrap: nowrap;
	gap: 16px;
}
#modal-add-trainer .form input.join-link {
	flex: 1 1 auto;
	border: 1px solid #E8E8E8;
	padding: 12px 48px 12px 24px;
	color: #193766;
	background: url(../img/ico-link.svg) calc(100% - 24px) center no-repeat;
}
#modal-add-trainer .form button {
	flex: 0 0 110px;
	font-size: 14px;
	font-weight: var(--fw600);
}
#modal-new-trainer .modal-header {
	height: 56px;
	min-height: 56px;
}
#modal-new-trainer .steps {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 0 36px;
}
#modal-new-trainer .steps > i {
	flex: 1 0 0;
	border-radius: 4px;
	height: 8px;
	background-color: rgba(4, 108, 195, 0.20);
}
#modal-new-trainer .steps > i.active {
	background-color: #046CC3;
}
#modal-new-trainer .modal-dialog {
	padding: 0px 24px 20px;
}
#modal-new-trainer .form {
	gap: 16px;
}
#modal-new-trainer .form .step {
	display: none;
}
#modal-new-trainer .form .step.active {
	display: flex;
	flex-wrap: wrap;
	align-content: space-between;
	gap: 16px;
}
#modal-new-trainer .form .actions {
	display: flex;
	justify-content: flex-end;
}
#modal-new-trainer .form button {
	margin: 0 0 0 16px;
	height: 48px;
	font-size: 16px;
	font-weight: var(--fw700);
}
#modal-new-trainer .form button.out {
	border-color: transparent;
	color: #046CC3;
}
#modal-new-trainer .form button.out:active {
	color: #FFF;
}
#modal-new-trainer .trainer-data {
	display: block;
	height: 48px;
	color: #193766;
	font-size: 14px;
	font-weight: var(--fw300);
	letter-spacing: -0.28px;
	line-height: 48px;
}
#modal-new-trainer .form .step-3.active {
	align-content: center;
	position: relative;
	height: 513px;
}
#modal-new-trainer .form .step-3 .well-done {
	padding-bottom: 72px;
	color: #17335E;
	font-size: 16px;
	font-weight: var(--fw500);
	line-height: 24px;
	text-align: center;
	background: url(../img/checkmark.svg) center bottom no-repeat;
}
#modal-new-trainer .form .step-3 .actions {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
}






@media only screen and (min-width: 1025px) {
	
	#trainers-list .flex-table .flex-row:nth-child(1) {
		flex: 1 1 25%;
	}
	#trainers-list .flex-table .flex-row:nth-child(2) {
		flex: 1 1 25%;
	}
	#trainers-list .flex-table .flex-row:nth-child(3) {
		flex: 1 1 20%;
	}
	#trainers-list .flex-table .flex-row:nth-child(4) {
		flex: 1 1 10%;
	}
	#trainers-list .flex-table .flex-row:nth-child(5) {
		flex: 1 1 20%;
	}
	#trainers-list .flex-row:nth-child(5),
	#trainers-list .flex-row:nth-child(6) {
		font-size: 12px;
		font-weight: var(--fw500);
	}
	
}






/* Trainer
-------------------------------------------------- */

#trainer {
	border-radius: 0;
	padding: 0;
	background: transparent;
}
#trainer-summary {
	display: flex;
	justify-content: space-between;
	position: relative;
	border-radius: 20px;
	/* margin-bottom: 24px; */
	min-height: 135px;
	/* padding: 16px; */
	background-color: #FFF;
}
#trainer-summary .name {
	color: #17335E;
}
#trainer-summary .photo {
	margin-right: 24px;
	border-radius: 50%;
	border: 2px solid #046CC3;
	height: 121px;
	width: 121px;
	flex-grow: 0;     /* do not grow   - initial value: 0 */
	flex-shrink: 0;   /* do not shrink - initial value: 1 */
	flex-basis: 121px; /* width/height  - initial value: auto */
	background: url(../img/ico-user.svg) center center no-repeat;
	background-size: cover;
}
#trainer-summary .info {
	display: flex;
	margin-right: 10%;
}
#trainer-summary .info .from {
	color: #90A3BF;
	font-size: 12px;
	font-weight: var(--fw500);
	line-height: 150%;
	letter-spacing: -0.24px;
	white-space: nowrap;
}
#trainer-summary .info span {
	display: block;
	margin-bottom: 8px;
	padding-left: 20px;
	color: #17335E;
	font-size: 14px;
	font-weight: var(--fw500);
	line-height: 21px;
	letter-spacing: -0.28px;
	background-position: left center;
	background-repeat: no-repeat;
}
#trainer-summary .info span:last-child {
	margin-bottom: 0;
}
#trainer-summary .info .birthday {
	background-image: url(../img/ico-cake.svg);
	background-position-y: top;
}
#trainer-summary .info .phone {
	background-image: url(../img/ico-call.svg);
}
#trainer-summary .info .mail {
	background-image: url(../img/ico-mail.svg);
}
#trainer-card {
	display: flex;
	flex-direction: column;
	gap: 24px;
	border-radius: 20px;
	min-height: calc(100vh - 317px);
	padding: 36px 48px 55px;
	background-color: #FFF;
}
#trainer-card .panel {
	display: flex;
	flex-direction: column;
	gap: 24px;
	border: 1px solid #E8E8E8;
	border-radius: 20px;
	padding: 24px;
	background: #FFF;
}
#trainer-card p {
	margin: 0;
	font-size: 14px;
	line-height: 21px;
	letter-spacing: -0.28px;
}
#trainer-card .overview {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	color: #193766;
	font-size: 32px;
	font-weight: var(--fw600);
	line-height: 48px;
	letter-spacing: -0.64px;
}
#trainer-card .overview > div.panel {
	gap: 10px;
	flex-basis: 25%;
}
#trainer-card .overview label {
	display: block;
	color: #17335E;
	font-size: 24px;
	font-weight: var(--fw500);
	line-height: 36px;
	letter-spacing: -0.48px;
	text-transform: none;
}
#trainer-card .overview > div.panel span {
	white-space: nowrap;
}
#trainer-timetable .timetable .week .timeslot-add:after {
	display: none;
}
#trainer-customers .table-container {
	margin: 0;
}
#trainer-customers .table-container .flex-table {
	align-items: center;
	justify-content: space-between;
}
#trainer-customers .table-container .flex-table.inactive {
	opacity: .5;
}
#trainer-customers .table-container .flex-row {
	flex: 1 1 70%;
	padding: 0;
	color: #193766;
	font-weight: var(--fw500);
	line-height: 21px;
	letter-spacing: -0.28px;
}
#trainer-customers .table-container .end {
	justify-content: flex-end;
	flex: 1 1 30%;
}
#trainer-customers .table-container > .row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}
#trainer-customers .table-container .flex-table.row:hover {
	background: transparent;
}

#trainer-services .list {
	display: flex;
	flex-direction: column;
	gap: 24px;	
}
#trainer-services .list .service {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
#trainer-services .list .service .heading {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
#trainer-services .list .service span {
	color: #193766;
	font-size: 14px;
	font-weight: var(--fw400);
	line-height: 21px;
	letter-spacing: -0.28px;
}
#trainer-services .list .service .duration {
	color: #90A3BF;
	font-size: 12px;
	font-weight: var(--fw300);
	line-height: 18px;
	letter-spacing: -0.24px;
}
#trainer-services .list .service .price {
	color: #193766;
	font-size: 16px;
	font-weight: var(--fw500);
	line-height: 24px;
	letter-spacing: -0.32px;
}
#remove-trainer.panel {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}



/* Timetable
-------------------------------------------------- */
.timetable {
	margin-bottom: 24px;
	border: 1.5px solid var(--blue);
	border-radius: 10px;
	padding: 16px;
}
.timetable .week {
	display: flex;
	gap: 8px;
	overflow-x: scroll;
}
.timetable .week > div {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1 1 0px;
	text-align: center;
}
.timetable .week .timeslot {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 16px;
	align-self: stretch;
	border-radius: 10px;
	height: 48px;
	min-width: 102px;
	overflow: hidden;
	padding: 8px;
	white-space: nowrap;
}
.timetable .week .timeslot:before {
	content: '';
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	background-color: var(--blue);
	opacity: .15;
}
.timetable .week .timeslot-add {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 16px;
	align-self: stretch;
	border-radius: 10px;
	height: 48px;
	min-width: 80px;
	overflow: hidden;
	padding: 8px;
	white-space: nowrap;
}
.timetable .week .timeslot-add:before {
	content: '';
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	background-color: var(--blue);
	opacity: .15;
}
.timetable .week .timeslot-add:after {
	content: '';
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	background: url(../img/add-circle-outline.svg) center center no-repeat;
}
#trainer-timetable {
	.timetable .week .timeslot-add {
		cursor: default;
	}
}




/* Mobile
-------------------------------------------------- */

@media only screen and (max-width: 1024px) {
	
	#add-trainer {
		padding: 8px 10px;
	}
	#trainers-list .flex-table.waiting-header {
		display: none;
	}
	#trainers-list .flex-table.row {
		margin-bottom: 24px;
		border-radius: 20px;
		border: 1.5px solid #EDEDED;
		padding: 24px;
		background: #FFF;
		box-shadow: 0px 0px 8px -3px rgba(0, 0, 0, 0.25);
	}
	#trainers-list .flex-table.row:last-child {
		margin-bottom: 0;
	}
	#trainers-list .flex-row:first-child {
		height: 64px;
		font-size: 18px;
		font-weight: var(--fw500);
		line-height:  27px;
		letter-spacing: -0.36px;
	}
	/*
	#trainers-list .flex-row:nth-child(2) {
		font-size: 16px;
		line-height: 24px;
		letter-spacing: -0.32px;
	}
	*/
	#trainers-list.table-container .card {
		margin-right: 0;
	}
	
	#trainer-summary .info {
		flex-direction: column;
		align-items: center;
		margin-right: 0;
		width: 100%;
	}
	#trainer-summary .photo {
		margin: 59px 0 6px;
	}
	#trainer-summary .trainer-data {
		width: 100%;
	}
	#trainer-summary .name {
		margin-bottom: 24px !important;
		line-height: 35px;
		text-align: center;
	}
	#trainer-summary .info .from {
		display: block;
	}
	#trainer-summary .trainer-details {
		border: 1px solid #EFEFEF;
		border-radius: 20px;
		padding: 16px 20px;
		background: #FFF;
	}
	#trainer-summary .trainer-details .title {
		margin-bottom: 8px;
		font-size: 16px;
		font-weight: var(--fw500);
		line-height: 24px;
		letter-spacing: -0.32px;
	}
	#trainer-summary .info span {
		padding-left: 22px;
		font-weight: var(--fw400);
	}
	#trainer-card {
		gap: 36px;
		padding: 0px 24px 30px;
	}
	#trainer-card .panel {
		border: none;
		border-radius: 0;
		padding: 0;
	}
	#trainer-card .overview-mobi {
		display: flex;
		flex-wrap: wrap;
		row-gap: 36px;
		border-top: 1px solid #EEE;
		border-bottom: 1px solid #EEE;
		padding: 24px 0px;
	}
	#trainer-card .overview-mobi > div {
		display: flex;
		flex-direction: column;
		align-items: center;
		flex: 0 0 33.333%;
		gap: 6px;
		color: #193766;
		font-size: 24px;
		font-weight: var(--fw500);
		line-height: 36px;
		letter-spacing: -0.48px;
	}
	#trainer-card .overview-mobi > div.tot_charged {
		flex: 0 0 100%;
    order: 1;
	}
	#trainer-card .overview-mobi label {
		color: #90A3BF;
		font-size: 14px;
		font-weight: var(--fw300);
		line-height: normal;
		letter-spacing: -0.28px;
		text-transform: none;
	}
	#trainer-card .overview-mobi label b {
		font-weight: var(--fw400);
	}
	#trainer-customers .table-container .flex-table.header {
		display: flex;
	}
	#trainer-customers .table-container .flex-table .flex-row {
		margin-bottom: 0;
		height: auto;
	}
	#trainer-customers .table-container .flex-table .flex-row .photo {
		margin-right: 8px;
		border-radius: 24px;
		height: 48px;
		width: 48px;
	}
	#remove-trainer.panel {
		flex-direction: column;
		align-items: flex-start;
	}
	#remove-trainer-btn {
		justify-content: center;
		height: 48px;
		width: 100%;
		padding: 10px 24px;
		font-size: 16px;
		font-weight: var(--fw700);
		text-align: center;
	}
		
}