
/*****************
CREATOR CONTROLS
last modified Dec 13th (Friday the 13th) at 6:38pm
Dec 14th at 4:59pm
Dec 17th at12:05pm //
Jan 16th, 2020 (chat)
May 28th, 2020 (audio wrap area / chat / node dots )
June 29th, 2020
***********************************************************************************/


body {
	background-color: #020024;
}

.burger {
	background: rgba(0,0,0,0.2);
	background: linear-gradient(to right, rgba(222,222,245,0.05), rgba(218,216,230,0.25));
}

.creator .wrap { 
}

.creator #main {
	position: relative;
	justify-items: center;
	/*margin-top: 80px; */
	margin-top: 114px;
	padding-top: 60px;
	background-color: #898b8e;

}


.creator .wrap > div {
	/*padding: 5px; */
}

.creator #photo_sending {
	display: grid;
  	grid-template-columns: repeat(2,1fr);
  	grid-gap: 5px;
  	grid-row-gap: 10px;
 	max-width: 768px; /*temp for testing on laptop */
	max-width: 750px;
	 padding: 0 0 20px 0;
	 margin: 0 auto;

}

.creator #photo_sending > div {

	border-radius: 3px;
	text-align:center;

	/*height: auto; */
}

.photo_sending_controls {
	/*background: rgba(255,255,255,0.5); */
	grid-column: 1 / span 2;
	border-radius: 10px;

}

.window_webcam {
	background: rgba(0,0,0,0.5);
	border:1px solid #000;
	width: 320px;
	height: auto;
}

.caption { grid-column: 1 / span 2;
	margin: 20px 0 35px 0;

}
.caption input {
	width: 340px;
}

.wrap_audio_info input {
	padding: 5px;
}

.creator #moderator {
	display:none;
}

.creator #modes {
	margin: 10px auto;
	margin-bottom: 0;
	padding: 10px 10px 0px 10px;
	text-align: center;
}

.creator #code_of_conduct, {
	display:block;
}

/** grids **/

.wrap_audio_info {
	display:grid;
	grid-template-columns: auto auto;
	max-width: 768px;
	max-width: 750px;
	background: rgba(0,0,0,0.3);
	margin: 0 auto;
	border-radius: 20px 20px 3px 20px;
}


.wrap_audio_info > div {
	padding: 10px 15px 40px 15px;

}

.wrap_audio_info h3 {
	font-size:20px;
	margin: 0 auto;
	text-align: center;
	margin-bottom: 20px;
}

.wrap_audio_info #stream_info h3 {
	text-align: left;
	margin-bottom: 10px;
	margin-top: 26px;
}



.audio_sending {
	display: grid;
	grid-template-columns: auto;
	grid-gap: 0;
	background: rgba(245,245,255,0.7);
	border-radius: 10px;
	margin-right:20px;
}

.audio_sending h3 {
	align-self: end;
	}

.icecast_url {

}

.audio_sending input {
	width: 95%;
}

.icecast_send {
	margin: 0 auto;
	}


/* CREATOR CONTROL BUTTONS */


.creator input, .creator #photo_sending select {
	background-color: #eaeaea;
}


#modes button:disabled { /* is active mode buttons */
	border: 1px solid #000;
	background: rgba(80,174,5,1);
}


#modes button:hover {
	background: rgba(80,174,5,1);
}

.audio_sending button:disabled {
	background: #666;
}

#modes button, #controls button {
	font-size: 13px;
	margin-right: 8px;
}



#controls {text-align:center;
	margin:20px 0 0 0;
	padding-bottom: 10px;
}

#controls button {
	border-radius: 50%;
	font-size: 10px;
	height: 68px;
	width: 68px;
	margin-right: 10px;
	text-align: center;
	background: #333;
	color:rgba(80,174,5,1);
	border:2px solid #000;
	padding: 5px;
}

#controls input {
	/*width: 100px;
	border: 3px yellow;
	padding: 10px; */
}

#controls input#photo_load_button {
	width: 200px;
	border: none;
	margin-right: 10px;
	background: rgba(0,0,10,0.1);
	border-radius: 10px;
	color: #eaeaea;
	font-size: 12px;
	padding-right: 10px;
}

#controls select {
	display: inline-block;
	width: 120px;
}

#controls button:hover {
	background-color: #000;
	color: #fff;
}

#controls button:disabled {
	/*display: block;
	height: 60px;
	width: 68px;
	background:url(images/webcam_disabled.png) no-repeat;
	background-color: transparent;*/
	box-shadow: none !important;
	background-color: #555;
	color: #fff;
	opacity: 0.4;
}

#controls button:disabled:hover {
	background-color:  #555;
	opacity: 0.4;
}

/* AUDIO STREAM BUTTONS */

/*show / hide */
.expandAudioStream {
	display: none;
}

.expandAudioStream:target {
	display: block;
	}

.controls_audio { /*div containig buttons and levels */
		display: grid;
  		grid-template-columns: auto auto auto;
  		grid-gap: 5px;
  		grid-row-gap: 10px;
 	 	margin: 0 auto;
		margin-bottom: 10px;
	 	text-align: center;
	 	justify-content: center;
}

.controls_audio .audio_levels {
	background: transparent;
	margin-top: 8px;

}

.controls_audio > div {
	width: 100px;
}



 .audio_levels_div {
	height:36px;
	width:36px !important;
	margin-top:18px;
	border-radius: 50%;
	border:1px solid #898b8e;
	background-color: transparent;
}

.creator .audio_sending button {
	border-radius: 50%;
	font-size: 11px;
	height: 78px;
	width: 78px;
	margin-right: 10px;
	text-align: center;
	background: #333;
	color:rgba(80,174,5,1);
	padding: 5px;
	border:2px solid #000;
}

.creator .audio_sending button:hover {
	color: #000;
	background:rgba(80,174,5,1);
	padding: 5px;
	border:2px solid #000;
	box-shadow: none !important;
}

.creator .audio_sending button:disabled {
	box-shadow: none !important;
	background-color: #555;
	color: #fff;
	opacity: 0.4;
}

.creator .audio_sending button:disabled:hover {
	background-color:  #555;
	opacity: 0.4;
}

.audio_open_button {
/*When the audio_open_button says "OPEN MIC"*/
/*not in use yet */
}
.audio_close_button {
/*When the audio_open_button says "CLOSE MIC"*/
}

/* STREAM INFO SECTION */

#stream_info {
	/*background: rgba(0,0,0,0.2); */
	border-radius: 10px;
	padding-left: 15px;

}

#stream_info input::placeholder {
 	font-size: 11px;
  color: #666;
}


.stream_id_nonmod { /* for non moderators - faded out */
	opacity: 0.6;
	color: #666;
	border: none;
	outline: none;
}

input.stream_id_nonmod:focus {
	border: none;
	outline: none;
	text-transform: none;
	color: #666;
}

.stream_id_mod { /* class is by default */

}

#stream_info div {
	margin: 0 auto;
}

#send_info_button {

	margin: 0 auto;
	margin-top:10px;
}


	/*also from old file */



#stream_info input {
	width: 90%;
}

.photo_streams input {
	width: 90%;
	margin: 5px 0 16px 0;
	margin: 0.5rem 0 1.6rem 0;
	padding: 10px;
	border: 1px solid #ccc;
}

.stream_id _div h3.title_stream {
	display: inline-block;}


input#stream_id {
	width: 165px;
}




.photo_streams input.image_source_photo_button {
	border: none;
	padding-top: 20px;
	padding-bottom: 20px;
}

.streams_source input {

}


.creator h2.title {
	margin-top: 0;
	text-align: center;
	font-weight: 300;
}


#photo_sending_header h2.title {
	position: absolute;
	top: 30px;
	left: 40%;
	z-index: 50;
	display:none;
}

.audio_sending h2.title, #stream_info h2.title {
	margin-bottom: 30px;
	margin-top:30px;
}

.audio_sending h2.title {
	color: #000;
	margin-bottom: 0;
}

h2.preview_canvas {
	font-size: 16px;
	font-family: 'Oxygen', sans-serif;
	color: rgba(255,255,255,0.8);
	position:absolute;
 	padding: 15px 0 15px 0;
 	position:absolute;
 	bottom: 0px;
 	left: 0px;
 	width: 100%;
 	text-align: center;
	margin: 10px 0 0 0;
}


#photo_sending_canvas h2.preview_canvas {
	z-index: -2;
	display: none;
}

.caption h3 {
	font-size: 20px;

	color: #fff;
	text-transform: capitalize;
}

h3.title_stream {
	font-size: 20px;
	margin-top: 20px;
	text-transform: capitalize;
	color: #fff;
}

h3.title_stream span {
	font-size: 14px;
	margin-left:5px;
}


.stream_id_div h3.title_stream {
	display: inline-block;
}



.photo_sending_header {display:none;}

#photo_sending_canvas, .window_webcam {
	position:relative;
}

#photo_sending_canvas {
	border: 1px solid #333;
	width: 320px;
	height: 320px;
	justify-self: end;
}

#photo_canvas_state {
 padding: 10px 0 15px 0;
 position:absolute;
 bottom: 0px;
 left: 0;
 width: 320px;
 text-align: center;
font-weight: 600;
line-height: 1.25;
}

.photo_canvas_state {
  background: transparent;
   padding: 10px 0 15px 0;
 color: rgba(255,255,255,0.9);
 font-weight: 700;
 text-transform:lowercase;
  text-transform: capitalize;
}


.sent_to_audience {
 background: rgba(0,0,0,0.7);
  padding: 10px 0 15px 0;
 color: #fff;
 font-weight: 700;
}

/* OVERLAY LAYERS #code_of_conduct ... */


.button_close:hover {
	background: #000;
	}

.button_close h2 {
	font-size: 22px;
	display:block;
	background-color: transparent;
}

#events_page .button_close h2 {
	color: #fff;
}

.creator #chat_container {
	top: 114px;
}noe


#audience_chat_send_and_receive, #moderator {
	border-top: 3px solid #eaeaea;
	padding-top: 18px;
	margin-top: 28px;
}

#moderator {
	background-color: #000;
}

#moderator button {
	font-size: 11px;
	padding:10px;
	margin-right: 10px;
}

#mute_button {
	margin-left:15px;
}

#node_id, #ignore_list {

}

.creator .chat_box {
	color: #ccc;
}

.creator #chat_container .chat_box button {
	margin-top:10px;
}

/* MEDIA QUERIES

media only screen and (max-width: 1023px) */

@media only screen and (max-width: 1023px) {
	.creator button {
		margin-right: 10px;
	}

	input, select, textarea {
	font-size: 12px;
	font-weight: 300;
	letter-spacing: 1px;
	line-height: 1;
	padding: 10px 10px;
	text-decoration: none;
	text-transform: none;
	white-space: normal;
	width: auto;
	}

	.audio_sending input {
		width: 90%;
		border:1px solid green;
	}



}

/* TABLET

media only screen and (max-width: 782px) */
@media only screen and (max-width: 782px) {
	.creator #main {
		margin-top: 0;
	}
}

/* MOBILE

media only screen and (max-width: 600px) */

@media only screen and (max-width: 600px) {

	.button_close {
	width: 44px;
	height:44px;
	}


}
