/***** Nouveau Layout ******/

body {
	font: .9rem arial, serif;
	margin: 0;
	height: 100%;
	overflow: hidden;
	padding: 0;
}

.full_screen {
	margin: 0;
	position: absolute;
	overflow: hidden;
	height: 100%;
	width: 100%;
}

#homepage {
	background-color: white;
}

#grad {
	display: none;
	background-image: linear-gradient(white, black);
}

#container_div {
	display: none;
	background-color: black;
}

#logo {
	display: none;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -225px -25px;
}

#logo span {
	font-family: Courier New;
	font-weight: bold;
	color: #696969;
	font-size: 100px;
	height: 1000px;
	position: absolute;
	width: 20px;
	left: 0;
	top: 0;
	transform-origin: bottom center;
}

/* overriding for smartphones */
@media screen and (max-width: 480px) {
	#logo {
		display: none;
		position: absolute;
		top: 50%;
		left: 50%;
		margin: -175px -12px;
	}

	#logo span {
		font-family: Courier New;
		font-weight: bold;
		color: #696969;
		font-size: 50px;
		height: 500px;
		position: absolute;
		width: 20px;
		left: 0;
		top: 0;
		transform-origin: bottom center;
	}
}

.default_btn {
	border: 0;
	background-color: transparent;
	/* this will put the rollover image behind and act as a preloader */
	background-image: url(default_btn.svg), url(default_btn_hover.svg), url(default_btn_active.svg), url(default_btn_disabled.svg);
	width: 120px;
	height: 50px;
	font-size: 32px;
	color: #696969;
	padding-top: 55px;
	text-align: center;
	padding-left: 3px;
	line-height: 0.8;
	font-family: Courier New;
	font-weight: bold;
	background-size: 100%;
	background-repeat: no-repeat;
}

/* overriding for smartphones */
@media screen and (max-width: 480px) {
	.default_btn {
		width: 90px;
		height: 37.5px;
		font-size: 24px;
		padding-top: 45px;
	}
}

.default_checkbox {
	border: 0;
	background-color: transparent;
	width: 70px;
	height: 70px;
	font-size: 32px;
	color: #696969;
	text-align: center;
	font-family: Courier New;
	font-weight: bold;
	background-size: 100%;
	background-repeat: no-repeat;
}

.submit_btn {
	border: 0;
	background-color: transparent;
	/* this will put the rollover image behind and act as a preloader */
	background-image: url(default_btn.svg), url(default_btn_hover.svg), url(default_btn_active.svg), url(default_btn_disabled.svg);
	width: 90px;
	height: 37.5px;
	font-size: 24px;
	color: #696969;
	padding-top: 45px;
	text-align: center;
	padding-left: 2px;
	line-height: 0.6;
	font-family: Courier New;
	font-weight: bold;
	background-size: 100%;
	background-repeat: no-repeat;
}

.default_btn:hover {
	background-image: url(default_btn_hover.svg);
}

.default_btn:active {
	background-image: url(default_btn_active.svg);
}

.default_btn:disabled {
	background-image: url(default_btn_active.svg);
}

.submit_btn:hover {
	background-image: url(default_btn_hover.svg);
}

.submit_btn:active {
	background-image: url(default_btn_active.svg);
}

.form_room {
	display: none;
	width: 300px;
}

.form_join_room {
	position: absolute;
	margin: -120px -104px;
	top: 50%;
	left: 50%;
}

#btn_create {
	position: absolute;
	display: inline-block;
	top: 50%;
	left: 50%;
	transform: translateX(calc(-100% - 50px)) translateY(calc(-50% + 80px))
}

#btn_join {
	position: absolute;
	display: inline-block;
	top: 50%;
	left: 50%;
	transform: translateX(calc(0% + 50px)) translateY(calc(-50% + 80px));
}

@media screen and (max-width: 480px) {
	#btn_create {
		transform: translateX(calc(-100% - 30px)) translateY(calc(-50% + 60px))
	}

	#btn_join {
		transform: translateX(calc(0% + 30px)) translateY(calc(-50% + 60px));
	}
}

#div_create_room {
	position: absolute;
	display: none;
	position: absolute;
	margin: -150px -104px;
	top: 50%;
	left: 50%;
}

#form_create_room {
	display: inline-block;
	position: relative;
	width: 200px;
}

#btn_world {
	font-size: 24px;
	font-family: Courier New;
	width: 204px;
	border: none;
	border-radius: 4px;
	color: #ad5082;
	font-weight: bold;
	background: #ff78c0;
	text-align: left;
	padding-left: 5px;
}

.dropdown_content {
	display: none;
	position: absolute;
	background-color: #ff78c0;
	border: none;
	border-radius: 4px;
	min-width: 204px;
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
	z-index: 1;
}

.dropdown_content a {
	color: #ad5082;
	display: block;
	font-size: 24px;
	padding-left: 5px;
	font-family: Courier New;
	font-weight: bold;
}

.dropdown_content a:hover {
	background-color: #ff5cb3;
}

#btn_submit_create {
	float: right;
}

#btn_submit_join {
	position: absolute;
	display: none;
	margin: 15px 10px;
	/* 210-150 + 25 + 10*/
	top: 50%;
	left: 50%;
	/*transform: scale(0.75);*/
}

/*
input[type='text'],
[type='password'],
select {
	font-size: 24px;
	font-family: Courier New;
	width: 200px;
	margin-bottom: 10px;
	border: none;
	border-radius: 4px;
	color: #ad5082;
	font-weight: bold;
	background: #ff78c0;
}
*/

.text_input_cls {
	font-size: 24px;
	font-family: Courier New;
	width: 200px;
	margin-bottom: 10px;
	border: none;
	border-radius: 4px;
	color: #ad5082;
	font-weight: bold;
	background: #ff78c0;
}

label {
	font-size: 24px;
	font-weight: bold;
	font-family: Courier New;
	color: #696969;
}

.create_join_label {
	font-size: 24px;
	font-weight: bold;
	font-family: Courier New;
	color: #696969;
}

.full_screen {
	margin: 0;
	position: absolute;
	overflow: hidden;
	height: 100%;
	width: 100%;
}

#voice_range_div {
	display: inline-block;
}

#voice_range {
	position: absolute;
	transform: rotate(270deg);
	top: 50%;
	height: 40px;
}

#voice_range_label {
	position: absolute;
	display: none;
	color: white;
	font-family: Courier New;
	/*font-weight: bold;*/
	background-color: rgba(0, 0, 0, 0.6);
	/* black */
	font-size: 50px;
	text-align: center;
	bottom: 10%;
	left: 50%;
	padding-top: 10px;
	padding-bottom: 10px;
	width: 140px;
	margin-left: -70px;
	border-radius: 20px
}

input[type="range"] {
	-webkit-appearance: none;
	overflow: hidden;
	height: 10px;
	cursor: pointer;
	border-radius: 20px;
	/* iOS */
}

::-webkit-slider-runnable-track {
	background: #ff78c0;
	border-radius: 20px;
}

::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 40px;
	/* 1 */
	height: 40px;
	border-radius: 20px;
	background: #ad5082;
	box-shadow: calc(-100vw - 20px) 0 0 100vw #ad5082;
	border: 0px solid #999;
	/* 1 */
}

::-moz-range-track {
	height: 40px;
	background: #ff78c0;
}

::-moz-range-thumb {
	background: #ad5082;
	height: 40px;
	width: 40px;
	border: 0px #ad5082;
	border-radius: 20px !important;
	box-shadow: calc(-100vw - 20px) 0 0 100vw #ad5082;
	box-sizing: border-box;
}

::-ms-fill-lower {
	background: #ad5082;
}

::-ms-fill-upper {
	background: #ff78c0;
}

::-ms-thumb {
	background: #ad5082;
	border: 0px;
	height: 40px;
	width: 40px;
	border-radius: 20px;
	box-sizing: border-box;
}

::-ms-ticks-after {
	display: none;
}

::-ms-ticks-before {
	display: none;
}

::-ms-track {
	background: #ff78c0;
	color: transparent;
	height: 40px;
	border: none;
	border-radius: 20px;

}

::-ms-tooltip {
	display: none;
}

/***** Fin nouveau Layout *****/

#side_buttons_cont {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	padding-top: 20px;
	padding-right: 20px;
	gap: 1em;
}

.side_btn {
	border-radius: 50%;
	height: 50px;
	width: 50px;
	background-repeat: no-repeat;
	border-width: 2px;
	background-color: transparent;
	border-color: #696969;
	border-style: solid;
	transition: transform 0.1s ease-in-out, background-color 0.2s ease-in-out;
}

#share_btn {
	background-image: url(button_share.svg);
	background-size: 75%;
	background-position: 35% 50%;
}

#tuto_btn {
	background-image: url(button_book_open.svg);
	background-size: 70%;
	background-position: 50% 59%;
}

.side_btn:hover {
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.25);
}

.side_btn:active {
	background-color: rgba(0, 0, 0, 0.438);
	transform: translateY(-5px);
}

#space {
	background-color: black;
}

input[type=checkbox][name=check_webcam] {
	display: none;
}

input[type=checkbox][name=check_webcam]+label {
	background-image: url(button_camera.svg), url(button_camera_hover.svg), url(button_camera_active.svg);
	position: absolute;
	left: 50%;
	margin-left: -115px;
}

input[type=checkbox][name=check_webcam]:hover+label {
	background-image: url(button_camera_hover.svg);
}

input[type=checkbox][name=check_webcam]:checked+label {
	background-image: url(button_camera_active.svg);
}

input[type=checkbox][name=check_camera]+label {
	display: inline-block;
	position: absolute;
	background-image: url(button_toggle.svg), url(button_toggle_hover.svg), url(button_toggle_active.svg);
	left: 50%;
	margin-left: -35px;
}

input[type=checkbox][name=check_camera] {
	display: none;
}

input[type=checkbox][name=check_camera]:hover+label {
	display: inline-block;
	background-image: url(button_toggle_hover.svg);
}

input[type=checkbox][name=check_camera]:checked+label {
	display: inline-block;
	background-image: url(button_toggle_active.svg);
}

input[type=checkbox][name=check_audio] {
	display: none;
}

input[type=checkbox][name=check_audio]+label {
	position: absolute;
	background-image: url(button_audio.svg), url(button_audio_hover.svg), url(button_audio_active.svg);
	left: 50%;
	margin-left: 45px;
}

input[type=checkbox][name=check_audio]:hover+label {
	background-image: url(button_audio_hover.svg);
}

input[type=checkbox][name=check_audio]:checked+label {
	background-image: url(button_audio_active.svg);
}

input[type=checkbox][name=check_fitting]+label {
	position: absolute;
	background-image: url(button_fitting.svg), url(button_fitting_hover.svg), url(button_fitting_active.svg);
	left: 50%;
	top: 5px;
	margin-left: -35px;
}

input[type=checkbox][name=check_fitting] {
	display: none;
}

input[type=checkbox][name=check_fitting]:hover+label {
	background-image: url(button_fitting_hover.svg);
}

input[type=checkbox][name=check_fitting]:checked+label {
	background-image: url(button_fitting_active.svg);
}

#commands_div {
	position: absolute;
	left: 50%;
	width: 240px;
	margin-left: -120px;
	padding-top: 10px;
	height: 75px;
	background: radial-gradient(#00000038, transparent);
	border-radius: 0px 0px 35px 35px;
}

#fitting_div {
	position: absolute;
	right: 0%;
	bottom: 0%;
	width: 80px;
	margin-right: 20px;
	padding-top: 75px;
	padding-bottom: 50px;
	margin-bottom: -50px;
	background-color: rgba(0, 0, 0, 0.6);
	border-radius: 10px 10px 0px 0px;
}

#div_display_name {
	position: absolute;
	display: none;
	background-color: white;
	width: 200px;
	height: 104px;
	left: 50%;
	top: 50%;
	margin-left: -110px;
	margin-top: -52px;
	padding-left: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-right: 10px;
	border-radius: 10px;
}

#btn_display_name {
	float: right;
	width: 84px;
	height: 35px;
}

.form_display_name {
	display: inline-block;
	margin-block-end: 0px;
}

.label {
	font-size: 24px;
	font-weight: bold;
	font-family: Courier New;
	color: #696969;
	padding-left: 0;
	border: none;
	width: 100%;
	text-align: left;
	background-color: white;
}

.active,
.collapsible:hover {
	background-color: #dcdcdc;
}

.collapsible_content {
	transition: max-height 0.2s ease-out;
	max-height: 0;
}

.div_dj {
	position: absolute;
	display: none;
	background-color: white;
	left: 50%;
	width: 300px;
	margin-left: -150px;
	padding: 10px;
	border-radius: 10px;
	max-height: 80%;
	overflow: hidden;
	top: 50%;
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

.radio_container {
	display: block;
	position: relative;
	margin-left: 10px;
	margin-bottom: 10px;
	cursor: pointer;
	font-size: 22px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	color: #696969;
	font-size: 24px;

	font-family: Courier New;
	font-weight: bold;
}

/* Hide the browser's default radio button */
.radio_container input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
	float: left;
	position: relative;
	font-size: 24px;
	width: 25px;
	height: 25px;
	text-align: center;
	background-image: url(button_push.svg), url(button_push_hover.svg), url(button_push_active.svg);
	background-size: 100%;
	background-repeat: no-repeat;
	color: #696969;
	line-height: 0.8;
	font-family: Courier New;
	font-weight: bold;
	margin-right: 10px;
}

.radio_container:hover input~.checkmark {
	background-image: url(button_push_hover.svg);
}

.radio_container input:checked~.checkmark {
	background-image: url(button_push_active.svg);
}

#i_dj_readme {
	position: relative;
	display: block;
	width: 300px;
	height: 300px;
	font-size: 24px;
	font-family: Courier New;
	margin-top: 5px;
}

#btn_dj_input_start {
	font-size: 24px;
	float: right;
	width: 84px;
	height: 40px;
	padding-top: 35px;
	margin-bottom: 24px;
	text-align: center;
}

#btn_dj_input_stop {
	font-size: 24px;
	width: 84px;
	height: 40px;
	padding-top: 35px;
	margin-bottom: 24px;
	text-align: center;
}

#btn_dj_input_day {
	font-size: 24px;
	width: 84px;
	height: 40px;
	float: left;
	margin-right: 5px;
	padding-top: 35px;
	margin-bottom: 24px;
	text-align: center;
}

#btn_dj_input_sunset {
	font-size: 24px;
	width: 84px;
	height: 40px;
	margin-right: 5px;
	margin-left: 5px;
	padding-top: 35px;
	margin-bottom: 24px;
	text-align: center;
}

#btn_dj_input_dark {
	font-size: 24px;
	float: right;
	width: 84px;
	height: 40px;
	margin-left: 5px;
	padding-top: 35px;
	margin-bottom: 24px;
	text-align: center;
}

select {
	font-size: 16px;
	margin-top: 5px;
	width: 100%;
}

.close_btn {
	background-image: url(button_close.svg);
	background-color: transparent;
	background-size: 100%;
	background-repeat: no-repeat;
	border: none;
	border-radius: 5px;
	margin: 2px 2px 2px 2px;
}

.close_btn:hover {
	background-color: #dcdcdc;
}

.dj_booth_level {
	display: block;
	width: 100%;
	margin-bottom: -5px;
	height: 10px;
}

.dj_booth_level:hover {
	box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25);
}

#btn_dj_input_close {
	float: right;
	width: 30px;
	height: 30px;
}

#btn_dj_basic_input_close {
	float: right;
	width: 30px;
	height: 30px;
}

.dj_booth_level_label {
	color: #696969;
	font-family: Courier New;
	/*font-weight: bold;*/
	background-color: transparent;
	/* black */
	font-size: 24px;
}


#toast_cont {
	display: flex;
	width: 100%;
	bottom: 0;
	position: absolute;
	justify-content: center;
	align-items: center;
	margin-bottom: 1em;
}

#toast {
	visibility: hidden;
	background-color: rgba(0, 0, 0, 0.699);
	color: #fff;
	text-align: center;
	border-radius: 300px;
	padding: 16px;
	z-index: 1;
}

#toast.show {
	visibility: visible;
	-webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
	animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
	from {
		bottom: 0;
		opacity: 0;
	}

	to {
		bottom: 30px;
		opacity: 1;
	}
}

@keyframes fadein {
	from {
		bottom: 0;
		opacity: 0;
	}

	to {
		bottom: 30px;
		opacity: 1;
	}
}

@-webkit-keyframes fadeout {
	from {
		bottom: 30px;
		opacity: 1;
	}

	to {
		bottom: 0;
		opacity: 0;
	}
}

@keyframes fadeout {
	from {
		bottom: 30px;
		opacity: 1;
	}

	to {
		bottom: 0;
		opacity: 0;
	}
}
