/* Studio
-------------------------------------------------- */

:root {
	--yellow:   #D9E823;
	--green:    #60D742;
	--violet:   #B75AE3;
	--orange:   #E1A040;
	--blue:     #046CC3;/* #4080E1; */
	--red:      #E15D40;
}

/* Utils */
body:not(.is-studio) .show-studio {
	display: none !important;
}
body.is-studio .hide-studio {
	display: none !important;
}
body:not(.is-partner) .show-partner {
	display: none !important;
}
body.is-partner .hide-partner {
	display: none !important;
}
body.is-manager .hide-manager {
	display: none !important;
}

/* Sidenav */
body.is-studio .sidenav-main .drawer hr {
	margin: 16px 0;
	height: 1px;
	background: #F9F9F9;
}

#studio {
	display: flex;
	height: calc(100% - 48px);
	padding: 36px 10px 36px 36px;
}
#studio > nav {
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex: 0 0 210px;
	padding: 36px 36px 36px 0px;
}
#studio > nav a {
	display: block;
	margin-bottom: 8px;
	border-radius: 5px;
	height: 37px;
	width: 100%;
	padding: 8px 16px;
	color: #193766;
	font-size: 14px;
	font-weight: var(--fw300);
	line-height: 21px;
	letter-spacing: -0.28px;
	background: #FFF;
	transition: background-color .2s ease-in-out;
	cursor: pointer;
}
#studio > nav a.active,
#studio > nav a:hover {
	background-color: #F7F7F7;
}
#studio > nav a.active {
	font-weight: var(--fw500);
}
#studio > nav a:last-child {
	margin-bottom: 0;
}
#studio .content {
	position: relative;
	flex-grow: 1;
	height: 100%;
	overflow-y: auto;
	scroll-behavior: smooth;
	padding-right: 14px;
}
#studio .panel {
	margin-bottom: 24px;
	border: 1px solid #E8E8E8;
	border-radius: 20px;
	padding: 24px;
}
#studio .panel h2 {
	margin-bottom: 6px;
}
#studio .panel,
#studio .panel p {
	font-size: 14px;
	line-height: 21px;
	letter-spacing: -0.28px;
}
#studio .photo-wrapper {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-bottom: 24px;
}
#studio .photo-wrapper .border {
	flex: 0 0 108px;
	border-radius: 50%;
	height: 108px;
	width: 108px;
	padding: 2px;
	background-image: linear-gradient(90deg, #046CC3 0%, #00C4FF 100%);
}
#studio .photo-wrapper .photo {
	border-radius: 50%;
	height: 104px;
	width: 104px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	background-color: #fff;
	background-image: url(../img/ico-user.svg);
}
#studio .photo-wrapper label {
	padding-right: 24px;
	color: #046CC3;
	font-size: 16px;
	font-weight: var(--fw300);
	line-height: 24px;
	letter-spacing: -0.32px;
	text-transform: none;
	background: url(../img/ico-upload.svg) right center no-repeat;
	cursor: pointer;
}
#studio .photo-wrapper #studio-logo {
	display: none;
}
#studio button.out {
	font-weight: var(--fw700);
}
#studio-rooms .list .room {
	margin-bottom: 24px;
	border: 1.5px solid var(--blue);
	border-radius: 10px;
	padding: 16px;
}
#studio-rooms .list .room.yellow {
	border-color: var(--yellow);
}
#studio-rooms .list .room.green {
	border-color: var(--green);
}
#studio-rooms .list .room.violet {
	border-color: var(--violet);
}
#studio-rooms .list .room.orange {
	border-color: var(--orange);
}
#studio-rooms .list .room.red {
	border-color: var(--red);
}
#studio-rooms .list .room .header {
	display: flex;
	justify-content: space-between;
}
#studio-rooms .list .room .left {
	display: flex;
	align-items: center;
}
#studio-rooms .list .room .name {
	color: #193766;
	font-family: Inter;
	font-size: 16px;
	font-weight: var(--fw500);
	line-height: 24px;
	letter-spacing: -0.32px;
}
#studio-rooms .list .room .fav {
	display: block;
	margin-left: 8px;
	width: 20px;
	height: 20px;
	background: url(../img/ico-star.svg) center center no-repeat;
	cursor: pointer;
}
#studio-rooms .list .room .fav.active {
	background-image: url(../img/ico-star-full.svg);
}
#studio-rooms .list .room .label {
	display: block;
	margin-left: 6px;
	color: #193766;
	font-size: 14px;
	font-weight: var(--fw300);
	line-height: normal;
	letter-spacing: -0.28px;
}
#studio-rooms .list .room .label.hide {
	display: none;
}
#studio-rooms .list .room .info {
	display: block;
	flex: 0 0 16px;
	margin-left: 6px;
	width: 16px;
	height: 16px;
	background: url(../img/ico-info.svg) center center no-repeat;
	cursor: pointer;
}
#studio-rooms .list .room .info.hide {
	display: none;
}
#studio-rooms .list .room .right {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
#studio-rooms .list .room .edit {
	display: flex;
	align-items: center;
	font-size: 14px;
	font-weight: var(--fw400);
	line-height: 21px;
	letter-spacing: -0.28px;
}
#studio-rooms .list .room .edit i {
	display: inline-block;
	margin-left: 4px;
	height: 21px;
	width: 21px;
	background: url(../img/ico-edit.svg) center center no-repeat;
}
#studio-rooms .list .room.yellow .edit {
	color: var(--yellow);
}
#studio-rooms .list .room.yellow .edit i {
	background-image: url(../img/ico-edit-yellow.svg);
}
#studio-rooms .list .room.green .edit {
	color: var(--green);
}
#studio-rooms .list .room.green .edit i {
	background-image: url(../img/ico-edit-green.svg);
}
#studio-rooms .list .room.violet .edit {
	color: var(--violet);
}
#studio-rooms .list .room.violet .edit i {
	background-image: url(../img/ico-edit-violet.svg);
}
#studio-rooms .list .room.orange .edit {
	color: var(--orange);
}
#studio-rooms .list .room.orange .edit i {
	background-image: url(../img/ico-edit-orange.svg);
}
#studio-rooms .list .room.red .edit {
	color: var(--red);
}
#studio-rooms .list .room.red .edit i {
	background-image: url(../img/ico-edit-red.svg);
}
#studio-rooms .list .room .delete {
	display: block;
	width: 20px;
	height: 20px;
	cursor: pointer;
	background: url(../img/ico-delete-full.svg) center center no-repeat;
}
#studio-rooms .list .room .week {
	display: flex;
	gap: 8px;
	overflow-x: scroll;
}
#studio-rooms .list .room .week > div {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1 1 0px;
	text-align: center;
}
#studio-rooms .list .room .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;
}
#studio-rooms .list .room .week .timeslot:before {
	content: '';
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	background-color: var(--blue);
	opacity: .15;
}
#studio-rooms .list .room.yellow .week .timeslot:before {
	background-color: var(--yellow);
}
#studio-rooms .list .room.green .week .timeslot:before {
	background-color: var(--green);
}
#studio-rooms .list .room.violet .week .timeslot:before {
	background-color: var(--violet);
}
#studio-rooms .list .room.orange .week .timeslot:before {
	background-color: var(--orange);
}
#studio-rooms .list .room.red .week .timeslot:before {
	background-color: var(--red);
}
#studio-rooms .list .room .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;
}
#studio-rooms .list .room .week .timeslot-add:before {
	content: '';
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	background-color: var(--blue);
	opacity: .15;
}
#studio-rooms .list .room.yellow .week .timeslot-add:before {
	background-color: var(--yellow);
}
#studio-rooms .list .room.green .week .timeslot-add:before {
	background-color: var(--green);
}
#studio-rooms .list .room.violet .week .timeslot-add:before {
	background-color: var(--violet);
}
#studio-rooms .list .room.orange .week .timeslot-add:before {
	background-color: var(--orange);
}
#studio-rooms .list .room.red .week .timeslot-add:before {
	background-color: var(--red);
}
#studio-rooms .list .room .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;
}
#studio-rooms .list .room.yellow .week .timeslot-add:after {
	background-image: url(../img/add-circle-outline-yellow.svg);
}
#studio-rooms .list .room.green .week .timeslot-add:after {
	background-image: url(../img/add-circle-outline-green.svg);
}
#studio-rooms .list .room.violet .week .timeslot-add:after {
	background-image: url(../img/add-circle-outline-violet.svg);
}
#studio-rooms .list .room.orange .week .timeslot-add:after {
	background-image: url(../img/add-circle-outline-orange.svg);
}
#studio-rooms .list .room.red .week .timeslot-add:after {
	background-image: url(../img/add-circle-outline-red.svg);
}

#modal-room .modal-dialog {
	padding: 24px;
}
#modal-room .modal-header {
	margin-bottom: 24px;
	height: 25px;
	min-height: 25px;
	line-height: 25px;
}
#modal-room .modal-header.edit {
	justify-content: space-between;
}
#modal-room .colors {
	display: flex;
	gap: 11px;
	padding: 0 3px;
}
#modal-room .colors a {
	display: block;
	border-radius: 18px;
	width: 36px;
	height: 36px;
	background-color: var(--blue);
	cursor: pointer;
}
#modal-room .colors a.active {
	outline: 1px solid #046CC3;
	outline-offset: 2px;
}
#modal-room .colors a.yellow {
	background-color: var(--yellow);
}
#modal-room .colors a.green {
	background-color: var(--green);
}
#modal-room .colors a.violet {
	background-color: var(--violet);
}
#modal-room .colors a.orange {
	background-color: var(--orange);
}
#modal-room .colors a.red {
	background-color: var(--red);
}
#modal-room .form p {
	margin: -4px 0 8px;
	font-size: 14px;
	font-weight: 300;
	line-height: 21px;
	letter-spacing: -0.28px;
}
#modal-room .form .actions {
	display: flex;
	justify-content: flex-end;
}
#modal-room .form button {
	margin: 0 0 0 16px;
	height: 48px;
	font-size: 16px;
	font-weight: var(--fw700);
}
#modal-room .form button.out {
	border-color: transparent;
	color: #046CC3;
	font-weight: var(--fw700);
}
#modal-room .form button.out:active {
	color: #FFF;
}
#modal-room .delete,
#modal-timeslots .delete {
	display: inline-block;
	height: 20px;
	width: 20px;
	background: url(../img/ico-delete-xs.svg) center center no-repeat;
	cursor: pointer;
}

#modal-timeslots .modal-dialog {
	padding: 24px;
}
#modal-timeslots .modal-header {
	justify-content: space-between;
	margin-bottom: 24px;
	height: 25px;
	min-height: 25px;
	line-height: 25px;
}
#modal-timeslots .form .slots {
	display: flex;
	flex-direction: column;
	gap: 24px;
	flex-basis: 100%;
}
#modal-timeslots .form .slot {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
}
#modal-timeslots .form .slot input {
	padding: 8px 16px 8px 16px;
	text-align: center;
}
#modal-timeslots .form .slot .slot-group {
	flex-grow: 1;
	flex-shrink: 1;
}
#modal-timeslots .form .slot .delete {
	margin-bottom: 16px;
	background-image: url(../img/ico-delete-xs-blu.svg);
}
#modal-timeslots .form .actions {
	display: flex;
	justify-content: flex-end;
}
#modal-timeslots .form button {
	margin: 0 0 0 16px;
	height: 48px;
	font-size: 16px;
	font-weight: var(--fw700);
}
#modal-timeslots .form button.out {
	border-color: transparent;
	color: #046CC3;
	font-weight: var(--fw700);
}
#modal-timeslots .form button.out:active {
	color: #FFF;
}
#modal-timeslots #add-slot {
	display: flex;
	gap: 8px;
	margin: 0 auto;
	border: none;
	height: 24px;
	width: auto;
	padding: 0px 12px;
	color: #193766;
	font-size: 12px;
	font-weight: var(--fw700);
	line-height: normal;
}
#modal-timeslots #add-slot:active {
	color: #FFF;
}

#studio-stripe {
	position: relative;
	overflow: hidden;
}
#studio-stripe > div,
#studio-stripe > h2 {
	position: relative;
	z-index: 1;
	max-width: 500px;
}
#studio-stripe .stripe-deco-desk {
	position: absolute;
	z-index: 0;
	top: 50%;
	right: -450px;
	left: auto;
	display: block;
	margin-top: -400px;
	width: 800px;
	max-width: none;
}
#studio-stripe .stripe-deco-mobi {
	position: absolute;
	z-index: 0;
	top: auto;
	right: -210px;
	bottom: 0px;
	left: auto;
	display: block;
	width: 360px;
	max-width: none;
}



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

@media only screen and (max-width: 1024px) {
	#studio {
		display: block;
		height: auto;
		padding: 16px 24px 0;
	}
	#studio > nav {
		flex-wrap: nowrap;
		justify-content: flex-start;
		gap: 0px;
		margin: 0 -24px 24px;
		border-bottom: none;
		height: auto;
		width: calc(100% + 48px);
		overflow-y: auto;
		scroll-behavior: smooth;
		padding: 7px 24px;
		background: #FFF;
	}
	#studio.show-section > nav {
		display: none;
	}
	#studio > nav a {
		display: flex;
		align-items: center;
		position: relative;
		margin-bottom: 0;
		border-radius: 0;
		height: 56px;
		width: 100%;
		padding: 0;
		padding-left: 36px;
		color: #193766;
		font-size: 16px;
		font-weight: var(--fw400);
		line-height: 21px;
		letter-spacing: -0.28px;
		white-space: nowrap;
		background-color: #FFF;
		background-position: left center;
		background-repeat: no-repeat;
		background-size: 24px;
	}
	#studio > nav a.active,
	#studio > nav a:hover {
		background-color: transparent;
	}
	#studio > nav a.active span {
		background: none;
		background-clip: unset;
		-webkit-background-clip: inherit;
		-webkit-text-fill-color: inherit;
	}
	#studio > nav a i {
		display: block;
		margin-left: auto;
		height: 24px;
		width: 24px;
		background: url(../img/arrow-next-sm.svg) center center no-repeat;
	}
	#studio > nav a[data-target="#studio-info"] {
		background-image: url(../img/section-info.svg);
	}
	#studio > nav a[data-target="#studio-rooms"] {
		background-image: url(../img/section-rooms.svg);
	}
	#studio > nav a[data-target="#studio-bank"],
	#studio > nav a[data-target="#studio-stripe"] {
		background-image: url(../img/section-bank.svg);
	}
	#studio > .content {
		position: absolute;
		top: 0;
		left: 100%;
		flex: 1 1 100%;
		height: calc(100vh - 74px);
		width: calc(100vw - 48px);
		overflow-x: hidden;
		padding-right: 0;
		background-color: #FFF;
		transition: left ease-in-out 0.2s;
	}
	#studio.show-section > .content {
		position: relative;
		left: 0;
		height: auto;
	}
	#studio .content::-webkit-scrollbar {
		display: none;
	}
	#studio .go-back {
		z-index: 2;
		top: 0;
		left: 0;
	}
	#studio .panel {
		display: none;
		border: none;
		border-radius: 0;
		padding: 0;
	}
	#studio .panel.active {
		display: block;
	}	
	#studio h2 {
		margin-bottom: 32px !important;
		font-size: 20px;
		font-weight: var(--fw500);
		line-height: 25px;
		text-align: center;
	}
	#studio button {
		justify-content: center;
		height: 48px;
		width: 100%;
		padding: 10px 24px;
		font-size: 16px;
		font-weight: var(--fw700);
		text-align: center;
	}
	#studio button.out {
		display: flex;
		margin: 0 auto;
		border: none;
		width: auto;
		font-weight: var(--fw500);
	}
	#studio-rooms .list .room .left {
		max-width: calc(100% - 70px);
	}
	#studio-rooms .list .room .name {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	#studio #studio-stripe {
		min-height: calc(100vh - 32px);
		margin-bottom: 0px;
	}
	#settings-stripe > div,
	#settings-stripe > h2 {
		max-width: 100%;
	}
	#studio #studio-stripe .button-bar {
		display: flex;
		flex-direction: column;
		gap: 20px;
		margin-top: 60px;
		padding-top: 20px;
		background: #FFF;
	}
	
}
