/**** STOCK ****/
/* Fix user-agent */

* {
  box-sizing: border-box;
}

html {
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

html, input {
  font-family:
    "HelveticaNeue-Light",
    "Helvetica Neue Light",
    "Helvetica Neue",
    Helvetica,
    Arial,
    "Lucida Grande",
    sans-serif;
}

html, body {
	/*height: 100%;*/
	margin: 0;
	padding: 0;
	background: #ccc;
	-webkit-user-select: none;
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
	user-select: none;
	overscroll-behavior-y: none;
}

ul {
  list-style: none;
  word-wrap: break-word;
}

/* Pages */

.pages {
  height: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
}

.page {
  height: 100%;
  position: absolute;
  width: 100%;
}

/* Login Page */

.login.page {
  background-color: #000;
  /*position: relative;*/
}

.login.page .form {
  /*height: 100px;
  margin-top: -100px;*/
  position: absolute;
  background: #000;
  text-align: center;
  top: 15%;
  width: 100%;
  padding-bottom: 50px;
}

.login.page .form .usernameInput, .join  {
  background-color: transparent;
  border: none;
  border-bottom: 2px solid #fff;
  outline: none;
  padding-bottom: 15px;
  text-align: center;
  width: 300px;
}

.login.page .title {
  font-size: 200%;
}

.login.page .usernameInput, .join {
  font-size: 200%;
  letter-spacing: 3px;
}

.login.page .title, .login.page .usernameInput, .join {
  color: #fff;
  font-weight: 100;
}

/* Chat page */

.container {
	text-align: center;
	display: none;
}

/* Font */

.messages {
  font-size: 75%;
  word-wrap: break-word;
}

.log {
  color: gray;
  font-size: 100%;
  margin: 5px;
  text-align: center;
}

/* Messages */

.chatArea {
  height: 100%;
  padding-bottom: 60px;
}

.messages {
  height: 100%;
  margin: 0;
  overflow-y: scroll;
  padding: 10px 20px 10px 20px;
}

.message.typing .messageBody {
  color: gray;
}

.username {
  /*float: left;*/
  font-weight: 700;
  overflow: hidden;
  padding-right: 15px;
  text-align: right;
}

/* Input */

.trackField, .search_field {
	font: 400 13.3333px Arial;
	border: 1px solid #000;
	height: 45px;
	outline: none;
	padding-left: 10px;
	width: 100%;
}

/**** CUSTOM ****/
#debug {
	display:none;
	flex-wrap: wrap;
}

#player_controls {
	width: 100%;
	/*position: relative;
	padding-bottom: 52.5%;
	padding-top: 25px;
	height: 0;
	z-index: 1;*/
}

/*.loader {
	display:none;
	z-index:2; 
	width: 48px;
	height: 48px;
	margin:auto;
	clear: both;
}*/

h1 {
	font: bold20px/30px verdana, sans-serif;
	text-decoration: none;
}
p {
	font: 10px/14px verdana, sans-serif;
}    
/* input {
	clear: right;
	float: right;
} */
#fields input {
	/* clear: right; */
	display: block;
	width: 350px;
	margin: auto;
	background: none;
	border: 1px solid black;
}
#fields div {
	/* clear: left;
	float: left; */
	margin-bottom: 10px;
	/* margin-right: 20px; */
}
#note {
	clear:left;
	color:red;
}
a, a:visited {
	text-decoration: none;
	color: #0000EE;
}
a:hover {
	text-decoration: underline;
}
#subbut {
	width: 48px;
	height: 48px;
	background-image: url(../images/submitinfo_btn.jpg);
	background-size: 100px 100px;
	background-repeat: no-repeat;
	border: none;
	clear: right;
}
#sub_btn {
	margin: auto;
	width: 96px;
	height: 48px;
	background: url(../images/submit_btn.png);
	background-size: 96px 48px;
	background-repeat: no-repeat;
	clear: both;
}
.sessionID {
	text-align: center;
}

input:focus {
	outline:none;
}

input#url_field, input#search_input {
	border-radius: 0;
	/*z-index: 2147483647;*/
	display: flex;
    justify-content: center;
    align-items: center;
	/*position: absolute;*/
	height: 30px;
	top: 0;
	left: 0;
	right: 0;
	padding: 5px;
	margin: 3px auto;
	opacity: .9;
	-webkit-transition: opacity .3s;
	-moz-transition: opacity .3s;
	-o-transition: opacity .3s;
	-ms-transition: opacity .3s;
	transition: opacity .3s;
/*	display: block;
	width: 100%;
  margin-top: 5px;*/
}

body:hover #url_field, body:hover #submit {
	/*opacity: .9;*/
}

#submit, #search_submit {
	background-color: #dddddd;
	border-radius: 0;
	/*z-index: 2147483647;*/
	display: block;
    /*margin: auto;*/
    border: 1px solid black;
    /*width: 100px;*/
    margin: 5px 5px 0 0;
    /*height: 25px;*/
    /*font-size: 100%;*/
    top: 0;
    right: 0;
    position: absolute;
    opacity: .9;
    -webkit-appearance: none;
}
.ext_ctrl {
  width: 200px;
  margin: 10px auto;
  display: none;
}
.ext_ctrl img {
  width: 23%;
}
.ext_ctrl input {
	display: block;
	margin: auto;
}

#room_title {
  text-align: center;
  margin: 0;
  display: inline-block;
  vertical-align: middle;
}
.radio {
	/*display:inline-block;
	float:left;*/
	width: 70%;
	margin: 5px auto 30px;
	display: flex;
	flex-direction: column;
}
.radio input[type="radio"], .radio input[type="checkbox"] {
    display:none; 
}

.radio label {
    /*display:inline-block;*/
    background-color:#ddd;
    padding:4px 11px;
    font-family:Arial;
    font-size:14px;
    border: 1px solid black;
    /*width: 90px;*/
    /*margin:10px 0px;*/
    display: inline-flex;
    justify-content: center;
    flex-grow: 1;
    align-items: center;
}

.radio input[type="radio"]:checked + label, .radio input[type="checkbox"]:checked + label { 
    background-color:#42c5f4;
    /*border: 1px solid black;*/
}
.radio .title {
  margin-bottom:0px;
}

    .onoffswitch {
        position: relative; width: 70px; display: none;
        -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
    }
    .onoffswitch-checkbox {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }
    label.onoffswitch-label {
        display: block; overflow: hidden; cursor: pointer;
        border: 2px solid #999999; border-radius: 0px; padding: 0;
    }
    .onoffswitch-inner {
        display: block; width: 200%; margin-left: -100%;
        transition: margin 0.3s ease-in 0s;
    }
    .onoffswitch-inner:before, .onoffswitch-inner:after {
        display: block; float: left; width: 50%; height: 20px; padding: 0; line-height: 20px;
        font-size: 14px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
        box-sizing: border-box;
    }
    .onoffswitch-inner:before {
        content: "ON";
        padding-left: 10px;
        background-color: #42c5f4; color: #FFFFFF;
    }
    .onoffswitch-inner:after {
        content: "OFF";
        padding-right: 10px;
        background-color: #EEEEEE; color: #999999;
        text-align: right;
    }
    .onoffswitch-switch {
        display: block; width: 14px; margin: 3px;
        background: #FFFFFF;
        position: absolute; top: 0; bottom: 0;
        right: 46px;
        border: 2px solid #999999; border-radius: 0px;
        transition: all 0.3s ease-in 0s; 
    }
    .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
        margin-left: 0;
    }
    .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
        right: 0px; 
    }

#shuffle {
	display: none;
}
.warning {
	color:red;
	display:none;
}
.arrows {
    height: 16px;
    /*margin: 0 7px;*/
}
.handle {
	/*margin: 0 7px 0 14px;*/
	cursor: pointer;
	height: 100%;
	display: flex;
    align-items: center;
    /*width: 30px;*/
    width: 50px;
    justify-content: center;
    position: absolute;
    padding-right: 20px;
}
/*::selection {
	background: none;
}*/
.marquee_container {
  width: 100%;
  overflow: hidden; /* Hides the extra text until it slides into view */
  white-space: nowrap; /* Prevents text from wrapping to the next line */
  box-sizing: border-box;
}
.marquee_content {
  display: inline-block;
  /* Start the animation */
  animation: scrollText 15s linear infinite; 
  /* Pause animation on hover for better accessibility/readability */
  animation-play-state: running; 
}
@keyframes scrollText {
  0% {
    transform: translateX(0); /* Start at the original position */
  }
  100% {
    /* Move the text left by 50% of its total width to align with the start of the second copy */
    transform: translateX(-50%); 
  }
}
#nowPlaying {
	background: #42c5f4;
	padding: 5px;
	margin: auto;
	width: 50%;
	font-size: 13px;
	position: sticky;
    top: 70px;
    z-index: 2;
    border-radius: 3px;
	border: 1px solid black;
}
.pl-mi {
	/*display: inline-block;
	float: right;*/
}
#luser, #trk_sbmt {
	display: inline-block;
	vertical-align: middle;	
}
#mod_field {
	border-radius: 0;
	display: inline-flex;
	height: 30px;
	padding: 5px;
	/*margin: 3px auto;*/
	opacity: .9;
	-webkit-transition: opacity .3s;
	-moz-transition: opacity .3s;
	-o-transition: opacity .3s;
	-ms-transition: opacity .3s;
	transition: opacity .3s;
	border: 1px solid #000;
	outline: none;
    flex-grow: 1;
    flex-basis: 75%;
    margin-right: 5px;
}

#submit_code_btn {
	height: 30px;
	border: 1px solid black;
	-webkit-appearance: none;
	border-radius: 0;
	background-color: #dddddd;
	display: inline-flex;
	flex-grow: 1;
	justify-content: center;
}
#mod_div {
	margin: 0 auto 5px;
	width: 50%;
	display: flex;
}
#mod_div label {
	/*width: 280px;*/
}
#mod_span {
	padding-left: 5px;
}
#rad_div, #mod_code_div {
	margin: 0 auto 5px;
	width: 50%;
	display:flex;
}
#mod_code_div {
	display: flex;
}
#debug input {
	flex-grow: 1;
}
#loader_q, #loader_u, #loader_r {
	border: 3px solid #f3f3f3; /* Light grey */
	border-top: 3px solid #3498db; /* Blue */
	border-radius: 50%;
	width: 20px;
	height: 20px;
	animation: spin 1s linear infinite;
	visibility: hidden;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}
@media screen and (max-width: 800px), (max-device-width: 800px) {
	.radio label {
		width: 90px;
		/*margin: 10px 0;*/
	}
	.radio {
		width: 99%;
		margin: 5px auto 40px;
	}
	#mod_div, #rad_div, #mod_code_div {
		width: 100%;
		height: 36px;
	}
}
