


a {
	color:white;
	text-decoration:none;
}

a:visited {color:white;} /* Visited link    */
a:hover {color:white;}   /* Mouse over link */
a:active {color:white;}

.mic {
	display: inline-block;
	background-image: url(../images/microphone.png);
	background-size: auto 92%;
	background-repeat: no-repeat;
	background-position: center;
}

.padder {
	float:left;
	height:100%;
	padding:4px 2px 0px 2px;
}

.padder:first-child {
	padding:4px 2px 0px 0px;
}

.padder:last-child {
	padding:4px 0px 0px 2px;
}

.pin_digit.error {
	background-color: rgb(175, 46, 46);
}

.backgradient {
	position:absolute;
	z-index:-10;
	width:100%;
	height:100%;
	background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
	background-size: 400% 100%;
}

body.dark {
	filter:brightness(0.8);
}

body.dark .backgradient {
	filter:brightness(0.25);
}

body.dark .dd button,
body.dark .wrapper .controls .stream.control .vertoggle,
body.dark .casters select.caster,
body.dark .attendees .w1-2 input,
body.dark .edit_ticker {
	background-color:#423f50;
	color:#7e7e7e;
}

body.dark .whitener {
	background-color:rgb(32 32 32 / 80%);
}

body.dark .settings {
	background:linear-gradient(-45deg, rgb(132 137 0), rgb(110 47 34), rgb(26 34 92), rgb(51 30 88), rgb(86 12 71), rgb(82 22 22));
	background:linear-gradient(-45deg, rgb(81 84 0), rgb(110 47 34), rgb(26 34 92), rgb(51 30 88), rgb(86 12 71), rgb(82 22 22));
}

.backgradient.animate {
	animation: gradient_horizontal 15s ease infinite;
}

.no_access_title {
	width: 100%;
	font-size: 40px;
	color: #2e8ac9;
	margin-top: 40px;
	text-shadow: 1px 1px 2px white, 0px 0px 21px white;
}

.controls {
	position:relative;
	width:100%;
	max-width:640px;
	padding:0px 4px;
	overflow:hidden;
	overflow-y:auto;
	height:100%;
}

.wrapper > .tooltip {
	position: absolute;
	width: 96%;
	max-width: 630px;
	padding: 5px 5px;
	overflow: hidden;
	font-size: 0.8em;
	z-index: 40;
	color: black;
	background-color: rgb(240 251 255);
	border: 2px solid #ff00fc;
	border-radius: 10px;
	/*border-bottom-left-radius: 10px;*/
	background-color: #eed5ff;
	/*border-top: none;*/
	/*display: flex;*/
	/*align-items: center;*/
	/*justify-content: center;*/
	font-size: 14px;
	line-height:20px;
}

.tooltip .words {
	padding:8px;
}

.tooltip .words.with.icon {
	line-height:26px;
}

.tooltip .bigger {
	font-size:18px;
	line-height:24px;
}
/* control row - attendees */

.tooltip .padder {
	padding:2px 10px 2px 10px;
}

.tooltip button {
	border-radius:3px;
}

.attendees {
	height:40px;
}

.attendees button {
	height:100%;
	width:100%;
	border-radius:4px;
	outline:none;
}

.attendees button:disabled, .set_role.caster.disabled {
	opacity:0.5;
	border:1px solid rgb(74, 74, 74);
}

.attendees .w1-2 input {
	float:left;
	width:100%;
	height:100%;
	position:relative;
	padding-left:5px;
	font-size:22px;
	background-color: rgba(220, 212, 255, 1);
}

.attendees button {
	width:100%;
}

.set_role {
	padding:2px;
}

.set_role .mic {
	/*float: left;*/
	height: 84%;
	width: 36%;
	background-image: url(../images/microphone.png);
	background-size: auto 92%;
	background-repeat: no-repeat;
	background-position: center;
}

.set_role .feckbox {
	/*float: right;*/
	height: 84%;
	/* margin-top: 4%; */
	width: 50%;
	max-width: 32px;
	border: 1px solid rgba(0,0,0,0.4);
	border-radius: 2px;
	box-shadow: inset 0px 0px 1px rgba(0,0,0,0.8);
	background-color: rgba(255,255,255,0.9);
}

.feckbox .check {
	width:100%;
	height:100%;
}

.feckbox .check.checked {
	background-color:rgba(0,0,0,0.6);
	-webkit-clip-path: polygon(84% 24%, 45% 83%, 17% 54%, 25% 43%, 44% 63%, 75% 15%);
	clip-path: polygon(84% 24%, 45% 83%, 17% 54%, 25% 43%, 44% 63%, 75% 15%);
}

.this_is_me {
	box-shadow:inset 2px 4px 4px rgb(255 255 255 / 70%), inset -2px -2px 4px rgb(175 167 210);
	color:rgba(0,0,0,1.0);
	transition:0.3s;
}

.this_is_me.blinking {
	animation:blinkingText 5s infinite;
	color: rgba(0,0,0,1.0);
	animation-delay: 4s;
}

@keyframes blinkingText{
	0%   {    color: rgba(0,0,0,1.0); }
	4%   {    color: rgba(0,0,0,0.1); }
	8%   {    color: rgba(0,0,0,1.0); }
	12%  {    color: rgba(0,0,0,0.1); }
	16%  {    color: rgba(0,0,0,1.0); }
	20%  {    color: rgba(0,0,0,0.1); }
	24%  {    color: rgba(0,0,0,1.0); }
	100% {    color: rgba(0,0,0,1.0); }
}

.attendees .set_role, .attendees .role_label {
	line-height: 40px;
	color: black;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	position: relative;
	border: 1px solid rgba(0,0,0,1);
	border-radius: 4px;
	background-color: rgba(220, 212, 255, 1);
	opacity: 1;
}

.player_matches {
	position: absolute;
	top: calc(100%);/* - 4px);*/
	width: calc(100% - 2px);
	min-width:300px;
	border: 1px solid #a7a7a7;
	border-top: none;
	height: auto;
	max-height: 280px;
	overflow-y: auto;
	background-color: rgba(240,240,240,0.95);
	z-index: 7;
	box-shadow:8px 8px 8px rgba(0,0,0,0.5);
	/*box-shadow:8px 8px 8px rgba(0,0,0,0.5), 8px 0px 4px rgba(0,0,0,0.3), 9px 5px 4px rgba(0,0,0,0.2);*/
}

.player_matches div {
	padding: 8px 0px;
	margin: 3px;
	border-radius: 4px;
	background-color: rgba(111, 175, 255, 0.6);
}

.player_matches div.matched_player.highlight {
	background-color:rgba(38, 255, 125, 0.73);
}

.matched_player .mic {
	background-image: url(../images/microphone_blue2.png);
	background-color:transparent;
	width: 12px;
	height: 20px;
	margin: 0px 6px -4px -18px;
}

.matched_player:hover {
	background-color:rgba(111, 175, 255, 0.4);
}

.player_matches .gamertag {
	color: #2573db;
	font-weight:bold;
}

.player_matches .atstream,
.player_matches .hashtag {
	color: #6395da;
}

.player_matches .role {
	color: #777777;
}

.player_matches .matched_divider {
	padding: 4px 0px;
	margin: 3px;
	border-radius: 4px;
	background-color: rgba(200, 225, 255, 0.65);
}

.player_matches .matched_divider:hover {
	cursor:default;
	background-color: rgba(200, 225, 255, 0.65);
}

.spelling {
	position: absolute;
	top: 110%;
	left: 5%;
	width: 90%;
	height: auto;
	min-height: 280px;
	background-color: rgb(68 104 150);
	box-shadow: 8px 8px 6px rgb(0 0 0 / 82%), inset 2px 3px 14px rgb(255 255 255 / 55%), inset -7px -8px 14px rgb(0 0 0 / 70%);
	padding: 4%;
	border-radius: 10px;
}


/* control row - casters */

.casters {
	height:40px;
}

.casters select.caster {
	float:left;
	width:100%;
	height:100%;
	background-color: rgba(220, 212, 255, 1);
}

.set_role.caster {
	opacity:1;
	transition-duration:0.3s;
}




/* control row - xboxes */
.xboxes {
	height:140px;
}

.xboxes .xbox.box1 {
	padding-left:0;
}

.xbox {
	float:left;
	/*width:50vw;*/
	/*height:calc(50vw * 0.75);*/
	max-width:320px;
	/*max-height:120px;*/
	height:100%;
	max-height:100%;
	overflow:hidden;
}

.xbox div {
	float:left;
	height:50%;
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	border: 1px solid black;
	border: 1px solid rgba(0, 0, 0, 0.4);
}

.xbox .seat.dimmed {
	background-color:rgba(0,0,0,0.1);
}

.xbox .seat.brightened {
	/*border:1px solid rgba(255,255,100,1);*/
	border: 1px solid rgb(100 244 255);
	background-color: rgb(130 218 216 / 45%);
}

.xbox div.h1-1 {
	height:100%;
}

.whodunit {
	position: absolute;
	bottom: 100%;
	width: 100%;
	height: auto;
	color: rgb(168 210 222);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 31;
	font-size: 32px;
}

.howlongago {
	width: 100%;
	min-width: 640px;
}

.subtract_time {
	position: absolute;
	top: 110%;
	width: 100%;
	height: auto;
	color: rgb(168 210 222);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 31;
	font-size: 32px;
	flex-direction:column;
}

.hangtimes {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hangtime {
	width: 25%;
	height: auto;
	font-size: 36px;
	top: 100%;
	float: left;
	border-radius: 10px;
	border: 1px solid gray;
	margin: 2.5%;
	padding: 10px;
	border-radius: 10px;
	background-color: rgb(40 51 70 / 84%);
	box-shadow: 5px 5px 8px black, inset 3px 3px 10px #bfcbff6b, inset -3px -3px 18px rgb(0 0 0 / 88%);
}

.save_timestamp {
	transition:0.3s;
}

.save_timestamp.saved {
	color: rgb(74 74 74);
	filter: brightness(1.2);
	box-shadow: inset 3px 3px 5px rgba(0,0,0,0.7), inset -2px -7px 37px rgba(250,250,250,0.4);
	background-color: #9088b3;
	/* animation: saved 0.25s linear 0s 3; */
}

@keyframes saved {
	0% {filter:brightness(1);}
	50% {filter:brightness(0.6);}
	100% {filter:brightness(1);}
}

.xbox .box_identify {
	position: absolute;
	height: calc(100% - 4px);
	left: 0px;
	right: 0px;
	/*z-index: 0;*/
	font-size: 50px;
	color: rgba(255,255,255,0.2);
	padding-bottom:4px;
	border: 1px solid black;
	
	/*top:50%;*/
	/*height:0px;*/
	/*padding-bottom:0;*/
	/*border:none;*/
}
.xbox.box1 .box_identify {
	margin-right:2px;
}
.xbox.box2 .box_identify {
	margin-left:2px;
	margin-right:1px; /* something still wrong */
}
/*.xbox div.half {*/
/*    width:100%;*/
/*}*/

/*.xbox div.quarter {*/
/*    width:50%;*/
/*}*/

.xbox select {
	max-width: 200px;
	font-family:TitilliumLight;
	background-color: black;
	padding: 0;
	/*border: none;*/
	color: white;
	font-size: 1.2em;
	text-align-last: center;
	text-align: -webkit-center;
	-webkit-appearance:none;
	-moz-appearance: none;
	appearance: none;
	padding-left:4px;
}

.xbox .w1-2 select {
	width:94%;
	font-size:0.8em;
}

.xbox .w1-1 select {
	width:80%;
	font-size:1em;
}

.wrapper.double .xbox .p3, .wrapper.double .xbox .p4 {
	display:none;
}

.wrapper.single .xbox .player_list {
	margin-top:80px;
}

/*.wrapper.brb .brb {*/
/*    display:block!important;*/
/*    position: absolute;*/
/*    top: 0px;*/
/*    left: 0px;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    z-index: 5;*/
/*    background-color: #4c008aeb;*/
/*}*/

/*.wrapper button.brb {*/
/*	transition: 1s;*/
/*	padding-top:8px;*/
/*}*/

/*.wrapper.brb button.brb {*/
	/*padding-top:0;*/
/*}*/

.hidden.little {
	font-size:0.4em;
	color:transparent;
}

.wrapper.brb button.brb {
	/*height: 400px;*/
	z-index: 1;
	/*margin-top: -200px;*/
	/*width: 400px;*/
	/*margin-left: -200px;*/
}

.wrapper .away {
	display:none;
}

.wrapper.brb .backdrops .away {
	position: absolute;
	top: 4px;
	left: 50%;
	margin-left: -25%;
	width: 50%;
	height: calc(100% - 4px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	border: 4px solid rgb(0 0 0 / 32%);
	background-color: rgb(20 116 190 / 80%);
	line-height:1em;
}

.wrapper.brb .backdrops .away .edit {
	position:absolute;
	top:2px;
	right:2px;
	width:30px;
	height:30px;
    background-image:url('../images/edit_icon.png');
    background-size: 75%;
    background-repeat: no-repeat;
    background-position: center;
    background-image:url('../images/edit_icon.png');
    background-color:rgb(255 255 255 / 8%);
    border-radius:4px;
    transition: 0.1s;
    opacity:0.75;
}

.wrapper.brb .backdrops .away .edit:hover {
	cursor:pointer;
	opacity:0.9;
	background-color:rgb(255 255 255 / 16%);
}

.wrapper .backdrops .away_options {
	position:absolute;
	top:4px;
	width:100%;
	display:none;
	z-index:11;
}

.wrapper.brb .backdrops .away_options {
	display:none;
}

.wrapper .backdrops .away_options.temp_show {
	display:block;
}

.wrapper .backdrops .away_options .away_option {
    position: relative;
    margin: 4px;
    border-radius: 4px;
    font-size: 14px;
    color: white;
    border: 2px solid #a73da7;
    background-color: rgb(136 0 160 / 95%);
    height: 29.33px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wrapper .backdrops .away_options .away_option.changes {
	border:2px solid white;
}

.wrapper .backdrops .away_options .away_option:not(.chosen):hover {
	cursor:pointer;
	filter:brightness(1.1);
	/*background-color: rgb(77 70 239);*/
}

.wrapper .backdrops .away_options .away_option .icon {
	position: absolute;
    left: 2px;
    height: 100%;
    width: 30px;
    background-size: 75%;
    background-repeat: no-repeat;
    background-position: center;
}

.wrapper .backdrops .away_options .away_option .edit {
	position: absolute;
    right: 2px;
    height: 90%;
    width: 30px;
    background-size: 75%;
    background-repeat: no-repeat;
    background-position: center;
    background-image:url('../images/edit_icon.png');
    background-color:rgb(255 255 255 / 10%);
    border-radius:4px;
    transition: 0.1s;
}

.wrapper .backdrops .away_options .away_option .edit:hover {
	cursor:pointer;
	filter:brightness(1.2);
	background-color:rgb(255 255 255 / 30%);
}

.wrapper .backdrops .away_options .away_option.save .edit {
    background-image:url('../images/save_icon.png');
}

.wrapper .backdrops .away_options .away_option.away_text .icon {
    background-image: url(../images/text_icon.png);
}

.wrapper .backdrops .away_options .away_option.away_twitch .icon {
    background-image: url(../images/twitch_icon.png);
}

.wrapper .backdrops .away_options .away_option.away_youtube .icon {
    background-image: url(../images/youtube_icon.png);
}

.wrapper .backdrops .away_options .away_option.away_text.edit .icon {
    /*background-image: url(../images/text_icon.png);*/
    /* needs cancel icon maybe? */
}

.wrapper .backdrops .away_options .away_option.away_twitch.edit .icon {
    /*background-image: url(../images/twitch_icon.png);*/
    /* needs cancel icon maybe? */
}

.wrapper .backdrops .away_options .away_option.away_youtube.edit .icon {
    /*background-image: url(../images/youtube_icon.png);*/
    /* needs cancel icon maybe? */
}

.away_text .content {
	width:80%;
}

.away_text .away_input {
	width:100%;
}

.away_input {
	text-align:center;
}

.wrapper .backdrops .away_options .away_option.chosen {
	border: 2px solid #ff7ef6;
	background-color: rgb(50 155 255 / 92%);
}




/* control row - wins and status */

.countdown {
	width:100%;
	display:flex;
	flex-direction:column;
	background-color: rgb(0 0 0 / 40%);
	margin-top: 2px;
}

.countdown .message {
	/*flex:1;*/
	height:25%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.countdown .counts {
	/*flex:3;*/
	height:50%;
}
	
.countdown .labels {
	/*flex:1;*/
	height:35%;
}

.countdown .counts,
.countdown .labels {
	display:flex;
	flex-direction:row;
}

.countdown div div {
	/*border:1px solid black;*/
}

.countdown .counts div {
	flex:1;
	display:flex;
	flex-direction:column-reverse;
	align-items:center;
	justify-content:flex-end;
	font-size:4em;
}

.countdown .labels div {
	flex:1;
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:flex-start;
}

.stream.control {
	max-width: 640px;
	height:156px;
}

.stream.control .wins {
	width:20%;
	float:left;
}

.stream.control .wins button, .stream.control .wins .won {
	margin:0;
	padding:0;
	line-height:50px;
	height:50px;
	border-radius:2px;
}

.stream.control .wins button {
	font-size:2em;
	width:100%;
	outline:none;
	border:1px solid black;
	border-radius:2px;
	text-align:center;
	color:white;
	opacity:0.9;
	margin-top:2px;
}

.stream.control .wins button:hover {
	/*opacity:0.75;*/
	/*background-color:;*/
}

.stream.control .wins .won {
	font-family:HandelGothic;
	text-align:center;
	font-size:2em;
	border:1px solid black;
	margin-top: 2px;
	width:100%;
	float:left;
}


.stream.control .status .switch_colors .over,
.stream.control .status .switch_colors .under {
	box-shadow: inset 1px 1px 3px rgb(255 255 255 / 90%), inset -1px -1px 3px rgb(0 0 0 / 90%);
	transition:0.3s;
}

.stream.control .status .switch_colors {
	border: 1px solid black;
	border-radius:2px;
	transition:0.3s;
}

.stream.control .status .switch_colors.disabled .over {
	background-color:rgba(255,255,255,0.1);
	box-shadow:none;
}
.stream.control .status .switch_colors.disabled .under {
	/*background-color:rgba(var(--ffa),0.9);*/
	opacity: 0.2;
	box-shadow:none;
}

.stream.control .status .set_wins_0 {
	/*font-size: 1.5em;*/
}


.stream.control .status button.disabled {
	/*opacity:0.2;*/
	color:rgba(200,200,200,0.2);
	filter: grayscale(0.4);
	box-shadow:none;
}

.arrow_right {
	/* perspective arrow */
	-webkit-clip-path: polygon(75% 8%, 75% 25%, 16% 40%, 16% 60%, 75% 75%, 75% 92%, 90% 50%);
	clip-path: polygon(75% 8%, 75% 25%, 16% 40%, 16% 60%, 75% 75%, 75% 92%, 90% 50%);
	
	/* pipe dream arrow */
	-webkit-clip-path: polygon(5% 5%, 5% 95%, 92% 95%, 92% 30%, 97% 30%, 90% 5%, 82% 30%, 87% 30%, 87% 80%, 10% 80%, 10% 5%);
	clip-path: polygon(5% 5%, 5% 95%, 92% 95%, 92% 30%, 97% 30%, 89.5% 5%, 82% 30%, 87% 30%, 87% 80%, 10% 80%, 10% 5%);

	position:absolute;
	height:100%;
	top:0px;
	left:0px;
}

.arrow_left {
	/* perspective arrow */
	-webkit-clip-path: polygon(25% 8%, 25% 25%, 84% 40%, 84% 60%, 25% 75%, 25% 92%, 10% 50%);
	clip-path: polygon(25% 8%, 25% 25%, 84% 40%, 84% 60%, 25% 75%, 25% 92%, 10% 50%);
	
	/* pipe dream arrow */
	-webkit-clip-path: polygon(75% 10%, 75% 65%, 25% 65%, 25% 25%, 20% 25%, 27.5% 5%, 35% 25%, 30% 25%, 30% 50%, 70% 50%, 70% 10%);
	clip-path: polygon(75% 10%, 75% 65%, 25% 65%, 25% 25%, 20% 25%, 27.5% 5%, 35% 25%, 30% 25%, 30% 50%, 70% 50%, 70% 10%);

	position:absolute;
	height:100%;
	top:0px;
	left:0px;
}

.arrow_switch {
	
}

.arrow_switch.over {
	position:absolute;
	top:0px;
	left:0px;
	z-index:2;
	/* above 640 px */ 
	-webkit-clip-path: polygon(0% 0%, 0% 100%, 50% 100%, 50% 66%, 40% 66%, 40% 82%, 30% 58%, 40% 34%, 40% 50%, 50% 50%, 60% 50%, 60% 66%, 70% 42%, 60% 18%, 60% 34%, 50% 34%, 50% 0);
	clip-path: polygon(0% 0%, 0% 100%, 50% 100%, 50% 66%, 40% 66%, 40% 82%, 30% 58%, 40% 34%, 40% 50%, 50% 50%, 60% 50%, 60% 66%, 70% 42%, 60% 18%, 60% 34%, 50% 34%, 50% 0);
	/* below 640 px */
	-webkit-clip-path: polygon(0% 0%, 0% 100%, 50% 100%, 50% 66%, 35% 66%, 35% 82%, 20% 58%, 35% 34%, 35% 50%, 50% 50%, 65% 50%, 65% 66%, 80% 42%, 65% 18%, 65% 34%, 50% 34%, 50% 0);
	clip-path: polygon(0% 0%, 0% 100%, 50% 100%, 50% 66%, 35% 66%, 35% 82%, 20% 58%, 35% 34%, 35% 50%, 50% 50%, 65% 50%, 65% 66%, 80% 42%, 65% 18%, 65% 34%, 50% 34%, 50% 0);
	
}

.arrow_switch.under {
	
}

.switch_players.over {
	width:100%;
	height:100%;
	background-color:black;
	-webkit-clip-path: polygon(2% 100%, 2% 15%, 25% 15%, 25% 35%, 2% 35%, 2% 65%, 25% 65%, 25% 85%, 2% 85%, 2% 100%, 50% 100%, 50% 80%, 35% 80%, 35% 90%, 30% 75%, 35% 60%, 35% 70%, 50% 70%, 50% 30%, 35% 30%, 35% 40%, 30% 25%, 35% 10%, 35% 20%, 65% 20%, 65% 10%, 70% 25%, 65% 40%, 65% 30%, 50% 30%, 50% 70%, 65% 70%, 65% 60%, 70% 75%, 65% 90%, 65% 80%, 50% 80%, 50% 100%, 98% 100%, 98% 85%, 75% 85%, 75% 65%, 98% 65%, 98% 35%, 75% 35%, 75% 15%, 98% 15%, 98% 100%);

	clip-path: polygon(2% 100%, 2% 15%, 25% 15%, 25% 35%, 2% 35%, 2% 65%, 25% 65%, 25% 85%, 2% 85%, 2% 100%, 50% 100%, 50% 80%, 35% 80%, 35% 90%, 30% 75%, 35% 60%, 35% 70%, 50% 70%, 50% 30%, 35% 30%, 35% 40%, 30% 25%, 35% 10%, 35% 20%, 65% 20%, 65% 10%, 70% 25%, 65% 40%, 65% 30%, 50% 30%, 50% 70%, 65% 70%, 65% 60%, 70% 75%, 65% 90%, 65% 80%, 50% 80%, 50% 100%, 98% 100%, 98% 85%, 75% 85%, 75% 65%, 98% 65%, 98% 35%, 75% 35%, 75% 15%, 98% 15%, 98% 100%);
}

/*.backdrops .progress {*/
/*    position: absolute;*/
/*    left: 0px;*/
/*    z-index: 3;*/
/*    margin-top:2px;*/
/*    border:1px solid black;*/
/*    background-color: rgba(255,255,255,0.75);*/
/*    display:flex;*/
/*    align-items:center;*/
/*    justify-content:center;*/
/*}*/

/*.backdrops .progress .meter {*/
/*    position:absolute;*/
/*    left:0px;*/
/*    top:0px;*/
/*    height: 100%;*/
/*    width: 25%;*/
/*    background-color: rgba(110, 255, 50, 0.5);*/
/*    z-index: 4;*/
/*}*/

/*.backdrops .progress .progress_message {*/
/*    font-size: 2.2em;*/
/*    color: #4676ff;*/
/*    text-shadow: 1px 1px 3px rgba(0,0,0,1);*/
/*    z-index: 5;*/
/*}*/

.backdrops {
	position:relative;
	/*height:179px;*/
	padding-bottom:28.125%;
}

.backdrop {
	/*padding-top: 56.25%;*/
	height:100%;
	position:relative;
	background-position: center;
	background-size: cover;
	background-repeat:no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	transition-duration:0.3s;
}

.backdrop .label {
	font-size:3em;
	color:rgba(255,255,255,0.5);
}

.wrapper .backdrops .padder {
	float:left;
	position: absolute;
}

.wrapper .backdrops .box1.padder {
	position:absolute;
	left:0%;
}

.wrapper .backdrops .box2.padder {
	position:absolute;
	left:50%;
}

.wrapper.switched .backdrops .padder {
	/*float: left;*/
	/*float: right;*/
}

.wrapper.switched .backdrops .padder:first-child {
	/*padding: 4px 0px 0px 2px;*/
}

.wrapper.switched .backdrops .padder:last-child {
	/*padding: 4px 2px 0px 0px;*/
}

/* restore to prevent purpling of borders when set to FFA */
.wrapper .box1 .backdrop {
	/*background-color:rgb(var(--box1));*/
	/*border: 4px solid rgb(var(--box1));*/
}

.wrapper .box2 .backdrop {
	/*background-color:rgb(var(--box2));*/
	/*border: 4px solid rgb(var(--box2));*/
}

.bdpopup {
	cursor:pointer;
}

.bdchange, .bdpopup {
	position:absolute;
	top:0px;
}

.backdrop:hover {
	/*cursor:pointer;*/
	filter:brightness(1.25);
}

.bdchange:hover, .bdpopup:hover {
	/*cursor:pointer;*/
	/*background-color: rgba(255, 255, 255, 0.62);*/
}

.bdleft {
	left:0px;
	background-color:rgba(255,255,255,0.4);
	-webkit-clip-path: polygon(60% 10%, 40% 50%, 60% 90%, 25% 90%, 5% 50%, 25% 10%);
	clip-path: polygon(60% 10%, 40% 50%, 60% 90%, 25% 90%, 5% 50%, 25% 10%);
}

.bdpopup {
	left:0px;
	/*background-color:rgba(255,255,255,0.4);*/
	/*-webkit-clip-path: polygon(65% 10%, 80% 50%, 65% 90%, 35% 90%, 20% 50%, 35% 10%);*/
	/*clip-path: polygon(65% 10%, 80% 50%, 65% 90%, 35% 90%, 20% 50%, 35% 10%);*/
	/*-webkit-clip-path: circle(20.0% at 50% 50%);*/
	/*clip-path: circle(20.0% at 50% 50%);*/
}

.bdpopup.invis {
	/*background-color:rgba(255,255,255,0.0);*/
}

.bdpopup.invis:hover {
	/*background-color:rgba(255,255,255,0.1);*/
}

.bdright {
	left:50%;
	background-color:rgba(255,255,255,0.4);
	-webkit-clip-path: polygon(75% 10%, 95% 50%, 75% 90%, 40% 90%, 60% 50%, 40% 10%);
	clip-path: polygon(75% 10%, 95% 50%, 75% 90%, 40% 90%, 60% 50%, 40% 10%);
}

.choose_wrap {
	position:absolute;
	width: calc(100% - 8px);
	max-width:628px;
	height:100%;
}

.bdchooser {
	position: absolute;
	/*z-index: 4;*/
	top: 0px;
	bottom: 0px;
	overflow-y: scroll;
	padding: 4px;
	width: 50%;
	max-width: 320px;
}

.bdchooser.box1 {
	left: 0px;
}

.bdchooser.box2 {
	right: 0px;
}

.box1 .bdchooser {
	left: 4px;
	right: 50%;
}

.box2 .bdchooser {
	left: 50%;
	right: 4px;
}

.bdfloater {
	position:relative;
	width: 100%;
	padding: 2px 4px;
	padding-top: 56.25%;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	margin: 0px 0px 4px 0px;
	overflow:hidden;
}

.bdfloater.uploading {
	background-position: center top;
}

.bdfloater .upload_info {
	position: absolute;
	height: 100%;
	top: 0px;
	width: 100%;
	text-align: center;
	color: red;
	font-size: 2em;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bdfloater:hover {
	cursor:pointer;
	opacity:0.9;
}

.bdfloater:last-child {
	margin: 0px;
}

.bdthumb {
	width:100%;
}

.bdcheck {
	position:absolute;
	top:0px;
	width:80%;
	margin-left:10%;
	padding-top:56.25%;
}

.wrapper .choose_wrap .bdchooser .bdcheck.off {
	background-color:transparent;
}

.wrapper .choose_wrap .bdchooser .bdcheck.checked {
	opacity:0.8;
	background-color:rgba(255,255,255,1);
	-webkit-clip-path: polygon(84% 24%, 45% 83%, 17% 54%, 25% 43%, 44% 63%, 75% 15%);
	clip-path: polygon(84% 24%, 45% 83%, 17% 54%, 25% 43%, 44% 63%, 75% 15%);
}





.bdchooser::-webkit-scrollbar {
	width: 6px;
}

/* Track */
.bdchooser::-webkit-scrollbar-track {
	box-shadow: inset 0 0 5px grey; 
	border-radius: 10px;
}

/* Handle */
.bdchooser::-webkit-scrollbar-thumb {
	border-radius: 10px;
}

.bdchooser.box1::-webkit-scrollbar-thumb {
	background-color: rgba(var(--box1),0.5);
}

.bdchooser.box2::-webkit-scrollbar-thumb {
	background-color: rgba(var(--box2),0.5);
}

.bdchooser.box1::-webkit-scrollbar-thumb:hover {
	background-color: rgba(var(--box1),1);
}

.bdchooser.box2::-webkit-scrollbar-thumb:hover {
	background-color: rgba(var(--box2),1);
}

.bddivider {
	width: 90%;
	margin: 4px 0px 4px 5%;
	height: 50px;
	border-radius: 0px;
	font-family: HandelGothic;
	font-size: 2em;
	line-height: 50px;
	line-height: 45px;
	border-radius:10px;
}

.box1 .bddivider {
	color: rgba(var(--box1dim),1);
	border-bottom: 5px solid black;
}

.box2 .bddivider {
	color: rgba(var(--box2dim),1);
	border-bottom: 5px solid black;
}

.box1 .bddivider.box1bordercolor {
	color: rgba(var(--box1dim),1);
	border-width: 3px;
}

.box2 .bddivider.box2bordercolor {
	color: rgba(var(--box2dim),1);
	border-width: 3px;
}

/* this is a really cool multi-color multi-radius border effect
/*.box2 .bddivider {*/
/*    color: rgba(var(--box2dim),1);*/
/*    border-bottom: 5px solid rgba(var(--box1),1);*/
/*    border-top-left-radius: 10px;*/
/*    border-top-right-radius: 48px;*/
/*    border-bottom-left-radius: 48px;*/
/*    border-bottom-right-radius: 10px;*/
/*    border-top: 5px solid rgba(var(--box2),1);*/
/*    height: 54px;*/
/*    transition:0.8s;*/
/*}*/

/*.box2 .bddivider:hover {*/
/*    border-top-left-radius: 48px;*/
/*    border-top-right-radius: 10px;*/
/*    border-bottom-left-radius: 10px;*/
/*    border-bottom-right-radius: 48px;*/
/*}*/


.bdremove {
	position: absolute;
	top: 3%;
	width: 15%;
	padding-top: 15%;
	border-radius: 100px;
	background-color: rgba(255,255,255,0.5);
	z-index:2;
}

.bdremove:hover {
	background-color: rgba(255,255,255,0.8);
}

.bdx {
	position: absolute;
	width: 60%;
	height: 60%;
	left: 20%;
	top: 20%;
	/*z-index: 6;*/
	-webkit-clip-path: polygon(20% 0%, 0% 20%, 30% 50%, 0% 80%, 20% 100%, 50% 70%, 80% 100%, 100% 80%, 70% 50%, 100% 20%, 80% 0%, 50% 30%);
	clip-path: polygon(20% 0%, 0% 20%, 30% 50%, 0% 80%, 20% 100%, 50% 70%, 80% 100%, 100% 80%, 70% 50%, 100% 20%, 80% 0%, 50% 30%);
}

.box1 .bdremove {
	right: 2%;
}

.box2 .bdremove {
	left: 2%;
}

.box1 .bdx {
	background-color:rgba(var(--box1),1);
}

.box2 .bdx {
	background-color:rgba(var(--box2),1);
}

/* v------- neeeeeeeds cleaning */

.stream.control .status {
	width: 60%;
	float: left;
}

/*.stream.control .mode, .stream.control .network {*/
/*    float: left;*/
/*    width: 100%;*/
/*    height: 50px;*/
/*}*/

.screen_config {
	position: absolute;
	top: 50%;
	left: 50%;
	height: 36px;
	width: 54px;
	border-radius: 10px;
	border: 1px solid #1d1d1d;
	background-color: rgba(150,150,150);
	z-index: 5;
	margin: -16px 0px 0px -27px;
	font-size: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: inset 3px 3px 3px white, inset -3px -3px 3px #5a5a5a;
	line-height: 10px;
	color: rgba(16,16,16);
	transition:0.3s;
}

.screen_config:hover {
	background-color:rgba(170,170,170);
}

.screen_config .config_option {
	position:absolute;
	/*z-index:4;*/
	width:120px;
	height:90px;
	border-radius:10px;
	background-color: rgb(40 51 70 / 84%);
	box-shadow: 5px 5px 8px black, inset 3px 3px 10px #ffffff73, inset -3px -3px 18px rgb(0 0 0 / 69%);
}

.screen_config .config_option:hover {
	filter:brightness(1.4);
}

.config_option.left {
	top:50%;
	margin-top:-45px;
	left:-150px;
}
.config_option.top {
	left:50%;
	margin-left:-60px;
	top:-160px;
}
.config_option.right {
	top:50%;
	margin-top:-45px;
	right:-150px;
}
.config_option.bottom {
	left:50%;
	margin-left:-60px;
	bottom:-160px;
}

.config_option div {
	position:absolute;
	border:1px solid white;
	left:0%;
	top:0%;
}

.config_option .full {
	width:100%;
	height:100%;
	border-radius:8px;
}

.config_option .half {
	width:100%;
	height:50%;
}

.config_option .top.half {
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}

.config_option .bottom.half {
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
}

.config_option .top.left.quarter {
	border-top-left-radius: 8px;
}
.config_option .top.right.quarter {
	border-top-right-radius: 8px;
}
.config_option .bottom.left.quarter {
	border-bottom-left-radius: 8px;
}
.config_option .bottom.right.quarter {
	border-bottom-right-radius: 8px;
}

.config_option .quarter {
	width:50%;
	height:50%;
}

.config_option .top {
	top:0%;
}

.config_option .bottom {
	top:50%;
}
	
.config_option .left {
	left:0%;
}

.config_option .right {
	left:50%;
}

/*.screen_config .darkener {*/
/*    display:none;*/
/*}*/

.config_option {
	display:none;
	/*z-index:-1;*/
}

.darkener {
	position:fixed;
	z-index:-1;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	background-color:rgba(0,0,0,0.8);
	/*display:none;*/
	
	opacity:0;
	/*transition:0.5s;*/
}

.fader.z {
	/*display:unset;*/
	/*z-index:3;*/
	/*opacity:0.8;*/
	animation: insta_z 3s linear 0s infinite;
}


.xboxes .fader {
	transition:0.4s;
	opacity:0;
}

.xboxes .fader.in {
	opacity:1;
}

.xboxes .fader.out {
	opacity:0;
}

.xboxes .config_option.slow_show {
	display:block;
	opacity:1;
	animation: slow_show 0.4s linear 0s 1;
}

.xboxes .config_option.slow_hide {
	display:none;
	opacity:0;
	animation: slow_hide 5s linear 0s 1;
}

@keyframes slow_show {
	0% {
		opacity:0;
		display:none;
	}
	100% {
		opacity:1;
		display:block;
	}
}

@keyframes slow_hide {
	0% {
		opacity:1;
		display:block;
	}
	100% {
		opacity:0;
		display:none;
	}
}

@keyframes insta_z {
	0% {
		z-index:3;
	}
	100% {
		z-index:3;
	}
}









.wrapper .controls .stream.control .status .vertoggle { /* lengthy selector required for padding to take effect */
	border: 1px solid black;
	border-radius: 2px;
	padding: 2% 2%;
	box-shadow: inset 3px 3px 3px #232323, inset -3px -3px 3px #757575;
	background-color: #9f98bd;
	transition:0.3s;
}

.vertoggle:hover {
	cursor:pointer;
	filter:brightness(1.1);
}

.vertoggle .cage {
	width: 100%;
	height: 50%;
	border-radius: 2px;
	border: 1px solid black;
	position: relative;
	padding: 2px;
	border: 1px solid #cecece;
	box-shadow: 2px 2px 3px #232323, inset 2px 2px 4px white;
	top: 50%;
	transition-duration:0.3s;
}

.vertoggle.top .cage {
	top:0%;
}

.vertoption {
	width:96%;
	position:absolute;
	opacity:0.3;
	transition:0.3s;
}
.vertoption.top {
	top: 0px;
}
.vertoption.bottom {
	top:50%;
	opacity:1;
}

.vertoggle.top .vertoption.bottom {
	opacity:0.3;
}

.vertoggle.top .vertoption.top {
	opacity:1;
}



.stream.control .status .dd {
	float:left;
	height: 50px;
	width: 100%;
	margin-top: 2px;
	padding: 0px 3px;
}

.stream.control .status .dd div {
	/*height:100%;*/
}

.dd button {
	box-shadow: inset 1px 1px 3px rgb(255 255 255 / 85%), inset -1px -1px 3px rgb(0 0 0 / 75%);
	background-color: #b9b3d4;
	background-color: #aca4ce;
	transition: 0.3s;
	color:black;
}
/*.stream.control .status .game_details div {*/
/*    float:left;*/
	/*width:50%;*/
/*    position:relative;*/
/*}*/

/*.stream.control .status .game_details div.vw25 {*/
/*    width:25%;*/
/*}*/

/*.stream.control .status .game_details div.vw50 {*/
/*    width:50%;*/
/*    padding:0px 2px;*/
/*}*/

/*.stream.control .status .dd div.overkill {*/
/*    left:0px;*/
/*    top:0px;*/
/*    width:100%;*/
/*    height:100%;*/
/*    position:absolute;*/
/*    z-index:2;*/
/*    display:flex;*/
/*    align-items:center;*/
/*    justify-content:center;*/
/*}*/

.stream.control .status .dd div select {
	/*padding-left: 4px;*/
	border: 1px solid black;
	background-color: rgba(120, 100, 130, 0.75);
	border-radius:2px;
}

.stream.control .status .dd div:first-child {
	padding:0 2px 0 0;
}

.stream.control .status .dd div:last-child {
	padding:0 0 0 2px;
}

/*.stream.control .status .game_details div:first-child {*/
/*    padding-right:0px;*/
/*}*/

/*.stream.control .status .game_details div:last-child {*/
/*    padding-left:0px;*/
/*}*/

.tutorial.step2 {
	position: absolute;
	top: 105%;
	width: 90%;
	height: auto;
	z-index: 40;
	background-color: #383838;
	padding: 1%;
	left: 7%;
	border-radius: 10px;
	box-shadow: 5px 5px 7px rgba(0,0,0,0.6);
	border: 2px solid black;
	background-color: rgb(240 251 255);
	border: 2px solid #ff00fc;
	color: black;
}

.tooltip .padder {
	height:40px;
}

.tooltip .mic {
	width: 20px;
	height: 26px;
	margin-bottom: -7px;
}

.current_stream {
	display: inline-block;
	min-height: 40px;
	font-size: 30px;
	line-height:45px;
}

.deck_title {
	height:40px;
	padding-top:4px;
}

.deck_title img {
	position:absolute;
	left:0px;
	height:98%;
	top:2px;
}

.deck_title .masked_logo {
	background-image: url('../images/gradient_slide_silver_blue.png');
	animation: gradient_horizontal_continuous 10s linear infinite;
	background-size: 50% 80%;
	-webkit-mask-image: url('../images/ezdeck_mask.png');
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	height: 100%;
	width: 100%;
	opacity: 0.3;
	filter: brightness(1.5);
}

.deck_title .static_logo {
	background-image: url(../images/ezdeck_mask.png);
	height: 100%;
	width: 100%;
	opacity: 1;
	background-size: contain;
	background-repeat: no-repeat;
	text-align: left;
	padding-left: 172px;
	line-height: 36px;
	font-size:0.9em;
	white-space:nowrap;
}

.deck_title .text_logo {
	font-size: 42px;
	text-align: left;
	line-height: 42px;
	-webkit-text-fill-color: transparent;
	-webkit-background-clip: text;
	/* background-color: red; */
	/* background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab); */
	background-size: 400% 100%;
	background-image: url('../images/gradient_slide.jpg');
	animation: gradient_horizontal 18s ease infinite;
	/* filter: hue-rotate(45deg);*/
}

.ham {
	position: absolute;
	right: 10%;
	width: 80%;
	max-width: 50px;
	height: 4px;
	border-radius: 2px;
	background-color: white;
}

.burger1 {
	top:20%;
}

.burger2 {
	top:50%;
}

.burger3 {
	top:80%;
}

.headbuttons .row.toggles > div {
	display: flex;
	align-items: center;
	justify-content: center;
}












.toggle_switch.window {
	border-radius: 12px;
	height: 100%;
	width: 100%;
	color: #b3b8b9;
	overflow: hidden;
	position: relative;
	border:1px solid rgba(0,0,0,0.5);
	transition-duration: 0.5s;
	box-shadow: inset 3px 3px 6px rgb(0 0 0 / 75%);
}

.toggle_switch.box2bg {
	border:1px solid rgba(0,0,0,0.9);
	transition-duration: 0.5s;
}

.toggle_switch.tray {
	position: absolute;
	height: 100%;
	
	width: 200%;
	left: calc(-100% + 56px);
	
	width: 150%;        /* 1/2 width button */
	left: -49.5%;
	
	transition-duration: 0.5s;
}

.toggle_switch.window.togright .tray {
	left: 0%;
	left: -1%; /* 1/2 width button */
	animation: togright 0.5s;
}

.toggle_switch.window.togleft .tray {
	animation: togleft 0.5s;
}

.toggle_switch.window.togright .tray.instant {
	left:0%;
	left: -1%; /* 1/2 width button */
	animation: togright 0s;
}

.toggle_switch.window.togleft .tray.instant {
	animation: togleft 0s;
}

.wrapper.nhe .toggle_switch.window .tray.instant {
	left: calc(-50% + 28px);
	left: -25%;                 /* 1/2 width button */
	animation: togmiddle 0s;
}

.wrapper.nhe .controls .toggle_switch.host.window .tray .left {
	text-align:right;
	padding-right:3px;
	
	justify-content:flex-end; /* 1/2 width button */
	padding-right:3%;
	
	transition:0.3s;
}

.wrapper.nhe .controls .toggle_switch.host.window .tray .right {
	text-align:left;
	padding-left:3px;
	
	justify-content:flex-start; /* 1/2 width button */
	padding-left:3%;
	
	transition:0.3s;
}

.wrapper.nhe .toggle_switch .tray {
	background-color: rgb(58 58 58);
}

.wrapper.nhe .toggle_switch.window {
	border:1px solid black;
	opacity:0.4;
}

.wrapper.nhe .toggle_switch .toggle_switch.tray .toggle_switch.ball {
	background-color: rgb(40 40 40);
}

.toggle_switch.ball {
	border-radius: 10px;
	top:4%;
	height: 92%;
	
	width: 52px;
	margin-left: -56px;
	
	width: 33.33%;     /* 1/2 width button */
	margin-left: 0;    /* 1/2 width button */
	
	color:rgba(230,230,230);
	background-color: rgba(255, 255, 255, 0.2);
	display: inline-block;
	position: relative;
	line-height:30px;
	transition-duration: 0.5s;
	box-shadow: inset 2px 2px 2px rgb(255 255 255 / 28%);
	display:inline-flex;
	justify-content:center;
	align-items:center;
}

.toggle_switch .left {
	position: absolute;
	
	width: calc(50% - 56px);
	width: 33.33%;            /* 1/2 width button */
	
	left: 0%;
	text-align: center;
	height: 100%;
	line-height: 34px;
	font-size: 16px;
	color: #dcf1f5;
	display:inline-flex;
	justify-content:center;
	align-items:center;
}

.toggle_switch .right {
	position: absolute;
	
	width: calc(50% - 56px);
	left: 50%;
	
	width: 33.33%;           /* 1/2 width button */
	left: 66.67%;            /* 1/2 width button */
	
	text-align: center;
	height: 100%;
	line-height: 34px;
	font-size: 16px;
	font-weight: bold;
	display:inline-flex;
	justify-content:center;
	align-items:center;
}

.wrapper.normal .toggle_switch.togright .ball {
	background-color: rgb(61 107 255 / 100%);
}

.wrapper.normal .toggle_switch.togleft .ball {
	background-color: rgb(226 88 88 / 82%);
}

.wrapper.switched .toggle_switch.togright .ball {
	background-color: rgb(226 88 88 / 82%);
}

.wrapper.switched .toggle_switch.togleft .ball {
	background-color: rgb(61 107 255 / 100%);
}

.wrapper.normal.ffa .toggle_switch .ball {
	/*background-color: rgb(218 88 226 / 82%);*/
	background-color: rgb(119 88 226 / 82%);
	background-color: rgb(125 83 185 / 82%);
}

.wrapper.switched.ffa .toggle_switch .ball {
	background-color: rgb(218 88 226 / 82%);
	background-color: rgb(var(--ffalight));
}

@keyframes togright {
	from { left: calc(-100% + 56px); }
	to { left:0%; }
	
	from { left: -49.5%; }       /* 1/2 width button */
	to { left: -1%; }
}

@keyframes togleft {
	from { left:0%; }
	to { left: calc(-100% + 56px); }
	
	from { left: -1%; }          /* 1/2 width button */
	to { left: -49.5%; }    
}

@keyframes togmiddle {
	from { left:unset }
	to { left: calc(-50% + 28px); }
	
	from { left:unset }          /* half width button */
	to { left: -25%; }
}









.wrapper.onoff .toggle_switch.window:hover {
	filter:brightness(1.1);
}

.wrapper.onoff .toggle_switch.ball:hover {
	filter:brightness(1.1);
}
.toggle_switch.window:hover {
	/*background-color: rgba(255,255,255,0.35);*/
	cursor: pointer;
}

.wrapper.nhe .toggle_switch.window:hover {
	cursor:default;
}


.toggle_switch.mini.window {
	max-width:60px;
	/*color:black;*/
}

.toggle_switch.mini .tray {
	left: calc(-100% + 28px);
}

.toggle_switch.mini .ball {
	width: 24px;
	margin-left: -28px;
}

.toggle_switch.mini .left {
	width: calc(50% - 22px);
	line-height: 30px;
	font-size:14px;
	color:white;
	font-weight: normal;
}

.toggle_switch.mini .right {
	width: calc(50% - 32px);
	line-height: 30px;
	font-size:14px;
	color:white;
	font-weight: normal;
}

.toggle_switch.mini.window.togright .tray {
	left:0%;
	animation: mini_toggle_right 0.5s;
}

.toggle_switch.mini.window.togleft .tray {
	animation: mini_toggle_left 0.5s;
}
@keyframes mini_toggle_right {
	from { left: calc(-100% + 28px); }
	to { left:0%; }
}

@keyframes mini_toggle_left {
	from { left:0%; }
	to { left: calc(-100% + 28px); }
}




.current_stream select {
	width:100%;
	height:100%;
	font-size:1.5em;
	padding:0px 2px;
}

.current_stream input {
	width: 100%;
	text-align: center;
	height: 100%;
	padding: 2px;
	font-size: 28px;
	font-family: TitilliumSemiBold;
	border: none;
	color: rgba(225, 225, 255, 0.8);
	border-bottom: 2px solid #bfcbec;
	border-top: 2px solid #ff9393;
	margin-top: 5px;
}

.normal .current_stream input {
	background-color: rgba(var(--box1),0.1);
	/*background-color: linear-gradient(3deg,  rgba(var(--box1),0.1) 0%, rgba(var(--box1),0.1) 40%, rgba(var(--box2),0.1) 75%);*/ /* this can't be animated in css3 */
	border-bottom: 4px solid rgb(var(--box1));
	border-left: 4px solid rgb(var(--box1));
	border-top: 1px solid rgb(var(--box2));
	border-right: 1px solid rgb(var(--box2));
}

.switched .current_stream input {
	background-color: rgba(var(--box2),0.1);
	/*background: linear-gradient(3deg,  rgba(var(--box2),0.1) 0%, rgba(var(--box2),0.1) 40%, rgba(var(--box1),0.1) 75%);*/
	border-bottom: 4px solid rgb(var(--box2));
	border-left: 4px solid rgb(var(--box2));
	border-top: 1px solid rgb(var(--box1));
	border-right: 1px solid rgb(var(--box1));
}

/* this is a really cool multi-color multi-radius border effect */
.current_stream input {
	border-bottom: 4px solid rgba(var(--box1),0.7);
	border-top-left-radius: 14px;
	border-top-right-radius: 8px;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 14px;
	border-top: 4px solid rgba(var(--box2),0.7);
	transition: 0.4s;
}

.current_stream input:hover {
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
}

.normal .current_stream input:hover {
	background-color: rgba(var(--box1),0.3);
	/*background: linear-gradient(3deg,  rgba(var(--box1),0.3) 0%, rgba(var(--box1),0.3) 40%, rgba(var(--box2),0.3) 75%);*/
}

.switched .current_stream input:hover {
	background-color: rgba(var(--box2),0.3);
	/*background: linear-gradient(3deg,  rgba(var(--box2),0.3) 0%, rgba(var(--box2),0.3) 40%, rgba(var(--box1),0.3) 75%);*/
}









.modal {
	position:absolute;
	z-index:20;
	height:100%;
	overflow-y:auto;
	padding-bottom:150px;
}

.modal {
	left:0px;
}

.modal.settings {
	left:101%;
	transition-duration:0.3s;
	padding-top:80px;
}

.modal.settings.pin_editor {
	padding-bottom:20px;
}

.modal.center {
	left:0%;
}

.modal.left {
	left:-101%;
}

.modal.right {
	left:101%;
}

.modal button {
	padding:0 15px;
	height: 90px;
	margin-top: 3%;
	margin-bottom:3%;
}

.modal.ticker_editor button {
	height:60px;
}

.modal.settings::-webkit-scrollbar {
	width: 6px;
}

.modal.settings::-webkit-scrollbar-thumb {
	background-color: rgba(var(--box2),0.5);
}

.modal.settings::-webkit-scrollbar-thumb {
	border-radius: 10px;
}

.modal.settings::-webkit-scrollbar-track {
	box-shadow: inset 0 0 5px grey;
	border-radius: 10px;
}







.pin_thing {
	width: 100%;
	max-width: 640px;
}

.pin_editor {
	/* police sirens! */
	background: linear-gradient(-45deg, #4e94ff, #3b00ff, #e700ff, #00d5ff);
	background-size: 400% 400%;
	animation: gradient_vertical 15s ease infinite;
}

.ticker_editor {
	background: linear-gradient(-45deg, #f7ff00, #ff6c4e, #465cff, #9457ff, #ff24d1, #ff4343);
	background-size: 150% 400%;
	animation: gradient_vertical 15s ease infinite;
	overflow-y: auto;
}

.modal.settings.ticker_editor {
	padding-top:80px;
	animation:none;
	background-position:-200%;
}







.settings {
	background: linear-gradient(-45deg, #f7ff00, #ff6c4e, #465cff, #9457ff, #ff24d1, #ff4343);
	background-size: 150% 400%;
	animation: gradient_vertical 15s ease infinite;
	overflow-y: auto;
	padding-top:20px;
	/*padding:1%;*/
}

.settings.anchor {
	position: absolute;
	top: 0px;
	width: 100%;
	max-width: 640px;
	height: 60px;
	z-index: 1000;
	overflow:hidden;
	padding: 0 1%;
	background:rgba(0,0,0,0.32);
	backdrop-filter: blur(10px);
	text-align:left;
	font-size:1.5em;
}

.settings.headbuttons {
	position: absolute;
	top: 60px;
	width: 100%;
	max-width: 640px;
	height: 86px;
	z-index: 1000;
	overflow:hidden;
	padding: 0 1%;
	padding:0;
	/*background:rgba(0,0,0,0.32);*/
	backdrop-filter: blur(10px);
	text-align:left;
	font-size:1.5em;
}

.headbuttons .row,
.settings .section.timestamps .row {
	width:100%;
	display:flex;
	flex-direction:row;
	font-size:0.75em;
	padding:5px 5px;
	
	width: calc(100% - 8px);
	margin-left: 4px;
}

.settings .section.timestamps .row.sortable {
	position: relative;
	margin:4px;
	width:calc(100% - 8px);
	height:30px;
	/*overflow:hidden;*/
}

.settings .section.timestamps .row.sortable {
	transition: 0.4s;
}

.settings .section.timestamps .row.sortable.highlight {
	/*padding-bottom: 20px;*/
	position: relative;
	box-shadow: inset 2px 2px 10px rgb(255 255 255 / 75%), inset -3px -3px 3px rgb(0 0 0 / 75%);
	border-radius: 4px;
	height:50px;
	/*margin: 4px;*/
	/*width: calc(100% - 8px);*/
}

.settings .section.timestamps .row.sortable .extra {
	width: 100%;
	position: absolute;
	bottom: 2px;
	opacity:0;
	transition:0.3s;
	/*display:flex;*/
	/*flex-direction:row;*/
	text-align: center;
	height: 25px;
	line-height: 25px;
}

.extra div {
	display:inline-block;
	line-height:25px;
}

.rotate-90 {
	transform:rotate(-90deg);
}

.settings .section.timestamps .row.sortable.highlight .extra {
	opacity:1;
}

.settings .section.timestamps .row.sortable.highlight .extra .actor.left {
	flex:5;
	/*text-align:right;*/
	/*padding-right:4px;*/
}
.settings .section.timestamps .row.sortable.highlight .extra .actor.right {
	flex:5;
	/*text-align:left;*/
	/*padding-left:4px;*/
}
.settings .section.timestamps .row.sortable.highlight .extra .founder {
	flex:10;
}

.settings .section.timestamps .row.sortable.highlight .extra .stamp.left {
	flex:8;
	/*text-align:right;*/
	/*padding-right:4px;*/
}

.settings .section.timestamps .row.sortable.highlight .extra .stamp.right {
	flex:8;
	/*text-align:left;*/
	/*padding-left:4px;*/
}

.headbuttons .row.header {
	font-size:0.6em;
}
/*.headbuttons .row.toggles {*/
/*    border-top:1px solid white;*/
/*}*/
.headbuttons {
	/*.row.labels {*/
	border-top:1px solid white;
	border-bottom:1px solid white;
}

.row.sortable .actor {
	flex:5;
}

.row.sortable .seat {
	flex:2;
}

.row.sortable .stamp {
	flex:8;
}

.row.sortable .founder {
	flex:5;
}

.row.header > .actor {
	flex:5;
}

.row.header > .seat {
	flex:2;
}

.row.header > .stamp {
	flex:8;
}

.row.header > .founder {
	flex:5;
}

.settings.timestamp_viewer {
	padding-top:146px;
	overflow-x: hidden;
}

.timestamp_collection {
	/*padding-top:80px;*/
}

.headbuttons .row {
	text-align:center;
	height:40px;
	/*position:relative;*/
}

.headbuttons .row.header.toggles {
	height:46px;
}

.headbuttons .row.header.labels {
	height:40px;
}

.headbuttons button {
	height:100%;
}

.headbuttons .row > div {
	position:relative;
}

.headbuttons .row.labels > div {
	/*margin-left: -10px;*/
}

/*.row.labels > .stamp::before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    top: 40px;*/
/*    height: 5px;*/
/*    width: 10px;*/
/*    border: 1px solid red;*/
/*}*/

.row.header.labels .sorter {
	line-height:30px;
}


.row.header.labels > div i {
	display: inline-block;
	opacity: 0;
	transform: rotate(180deg);
	transition: opacity 0.2s ease-in-out;
	transition: transform 0.2s ease-in-out;
	/*padding:0 6px;*/
	position: absolute;
	margin-left: -20px;
	top:8px;
}

.row.header.labels > div.desc i {
	/* transition: rotate; */
	transform: rotate(0deg);
	transition: transform 0.2s ease-in-out;
	/*padding-right:6px;*/
}

.row.header.labels > div.sort i {
	/* transition: rotate; */
	opacity: 1;
	transition: transform 0.2s ease-in-out;
}

.row.header.labels .sorter:hover > i {
	opacity: 0.5;
	transition: opacity 0.2s ease-in-out;
	transition: transform 0.2s ease-in-out;
}

.timestamp_collection .divider::before {
	content: "";
	width: 100%;
	position: absolute;
	/* margin-left: 2%; */
	height: 1px;
	background: linear-gradient(90deg, rgba(255,255,255,0) 2%, rgba(255,255,255,1) 10%, rgba(255,255,255,1) 50%, rgba(255,255,255,1) 90%, rgba(255,255,255,0) 98%);
	margin: -7px 0;
}

.row.header.toggles .vertoggle {
	width: 64px;
	height: 38px;
	position: relative;
	font-size: 0.7em;
	border: 1px solid black;
	border-radius: 4px;
	padding: 1px 1px;
	box-shadow: inset 3px 3px 3px rgb(0 0 0 / 60%), inset -3px -3px 3px rgb(0 0 0 / 40%);
	transition: 0.3s;
	line-height: 18px;
	margin:0 3px;
}

.row.header.toggles .vertoggle.mini {
	width:48px;
}



.settings .section {
	/*border-bottom:1px solid white;*/
	/*margin-top:10%;*/
}

.settings .section .title {
	font-size:2em;
	position:relative;
	padding-bottom:10px;
	padding-top: 60px;
}

.settings .section:first-child .title {
	padding-top: 0px;
}

.settings .section .title:after {
	content: "";
	position: absolute;
	left: 0px;
	height: 2px;
	width: 100%;
	bottom: 0px;
	background: rgb(9,9,121);
	background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 8%, rgba(255,255,255,1) 50%, rgba(255,255,255,1) 92%, rgba(255,255,255,0) 100%);
}

.settings.anchor .pointer {
	margin-left:56px;
	line-height:60px;
}
.settings.anchor .pointer:before {
	content:"";
	position:absolute;
	left:10px;
	top:10px;
	height:40px;
	width:40px;
	background: rgb(255,255,255);
	clip-path: polygon(65% 10%, 75% 10%, 35% 50%, 75% 90%, 65% 90%, 25% 50%, 65% 10%);
}

.settings.anchor .point_hit {
	position: absolute;
	left: 0px;
	min-width: 110px;
	padding-right: 16px;
	height: 100%;
	transition:0.3s;
}

.settings.anchor .point_hit:hover {
	/*background-color: rgba(255,255,255,0.16);*/
}


@keyframes slideleft {
  from {left: 0%; }
  to {left: -640px; }
}

.section .inlay {
	margin:10%;
	border:1px solid white;
}

.section.fixed.bottom {
	position: fixed;
	bottom: 0px;
	z-index: 10;
	/* left: 0px; */
	background-color: red;
	height: 10%;
	width: 100%;
	max-width: 640px;
}


.button_houser {
	position:relative;
	width:100%;
	height:120px;
}

.setting {
	text-align: left;
	font-size: 1.4em;
	height: auto;
	padding: 2px 80px 8px 20px;
	opacity: 0.82;
	transition-duration: 0.3s;
	float: unset;
}

.setting:hover {
	opacity:1;
	cursor:pointer;
}

.setting .subtext {
	font-size: 0.7em;
	/* position: absolute; */
	left: 0px;
	/* line-height: 22px; */
	/* padding: 2px 20px 40px 80px; */
}

.title .subtext {
	font-size:0.5em;
}

.setting .subtext:after {
	content: "";
	position: absolute;
	bottom: 0px;
	left: 0px;
	height: 2px;
	width: 100%;
	bottom: 0px;
	background: rgb(9,9,121);
	background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 8%, rgba(255,255,255,1) 50%, rgba(255,255,255,1) 92%, rgba(255,255,255,0) 100%);
}

.setting:before {
	content: "";
	position: absolute;
	right: 20px;
	top: 10px;
	width: 48px;
	height: 46px;
}

.setting.drawer:before {
	background-color: white;
	clip-path: polygon(25% 10%, 35% 10%, 75% 50%, 35% 90%, 25% 90%, 65% 50%, 25% 10%);
}

.setting.toggle:before {
	background-color: white;
	clip-path: polygon(0 0, 34% 0, 34% 16%, 16% 16%, 16% 34%, 0 34%, 0 64%, 16% 64%, 16% 84%, 34% 84%, 34% 100%, 66% 100%, 66% 84%, 84% 84%, 84% 66%, 100% 66%, 100% 34%, 84% 34%, 84% 16%, 66% 16%, 66% 0, 100% 0, 100% 100%, 0 100%);
}

.setting.link:before {
	background-color:white;
	clip-path:polygon(10% 10%, 50% 10%, 50% 20%, 20% 20%, 20% 80%, 80% 80%, 80% 55%, 55% 55%, 45.571% 46.143%, 74% 17%, 62.5% 5%, 95% 5%, 95% 37.5%, 83% 26%, 55% 55%, 80% 55%, 90% 55%, 90% 90%, 10% 90%);
}

.setting.toggle.on:before {
	clip-path: polygon(0px 0px, 34% 0px, 34% 16%, 16% 16%, 16% 34%, 0px 34%, 0px 64%, 16% 64%, 16% 84%, 34% 84%, 34% 100%, 45% 100%, 45% 76%, 23% 54%, 32% 43%, 44% 55%, 67% 26%, 77% 36%, 45% 76%, 45% 100%, 66% 100%, 66% 84%, 84% 84%, 84% 66%, 100% 66%, 100% 34%, 84% 34%, 84% 16%, 66% 16%, 66% 0px, 100% 0px, 100% 100%, 0px 100%)
}

.setting.toggle.guardian .subtext:after,
.setting.toggle.dependant .subtext:after {
	background: linear-gradient(90deg, rgba(255,255,255,0) 4%, rgba(255,255,255,1) 14%, rgba(255,255,255,1) 50%, rgba(255,255,255,1) 92%, rgba(255,255,255,0) 100%)
}

.setting.toggle.guardian.off .subtext:after {
	background: linear-gradient(90deg, rgba(255,255,255,0) 4%, rgba(255,255,255,0.25) 14%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0.25) 92%, rgba(255,255,255,0) 100%)
}

.setting.toggle.dependant {
	padding: 2px 80px 8px 10%;
}

.setting.toggle.off + .dependant {
	opacity:0.25;
}

.setting.toggle.off + .dependant:hover {
	cursor:default;
}

/*.setting.toggle:after {*/
/*    display:none;*/
/*    background-color:rgba(255,255,255,1);*/
	/*clip-path: polygon(84% 24%, 45% 83%, 17% 54%, 25% 43%, 44% 63%, 75% 15%);*/
/*    -webkit-clip-path: polygon(87% 26%, 47% 84%, 15% 54%, 27% 39%, 44% 57%, 73% 15%);*/
/*    clip-path: polygon(87% 26%, 47% 84%, 15% 54%, 27% 39%, 44% 57%, 73% 15%);*/
/*}*/

/*.setting.toggle.on:after {*/
/*    display: block;*/
/*    height: 32px;*/
/*    top: 18px;*/
/*    width: 36px;*/
/*    right: 27px;*/
/*}*/

.ticker_editor div {
	min-height:36px;
	margin-bottom:10px;
}

.ticker_editor textarea {
	width:96%;
	resize:vertical;
	width:100%;
	font: 400 1em Arial;
	line-height:1.15em;
	overflow:hidden;
}

.ticker_editor .ticker_changes,
.ticker_editor .ticker_note {
	position: relative;
	margin: 0;
	width: 100%;
	margin-bottom: 0px;
	left: 0px;
	text-align: right;
	min-height: 10px;
	font-size: 0.7em;
}

.ticker_editor .ticker_block {
	opacity:0.5;
	transition-duration:0.3s;
}

.ticker_editor .ticker_block.on {
	opacity:1;
}





.pin_container {
	width:100%;
	max-width:640px;
}

.pin_digit {
	width: 64px;
	min-width: 12%;
	padding: 2%;
	margin: 2%;
	border-radius: 18px;
	font-size: 54px;
	text-align: center;
	color: #4595e8;
	height: 86px;
	-webkit-text-security: disc;
	text-security: disc;
}

.settings .pin_digit {
	-webkit-text-security:none;
}

.try_pin {
	width: 60%;
	height: 80px;
	margin-top:40px;
}

.pin_container h2 {
	/*margin-top:;*/
	margin-bottom:0;
}


.twicker.ticker_block textarea {
	color:#727dff;
}

.twicker_logo {
	background-image:url('../images/twicker.png');
	background-size:contain;
	background-repeat:no-repeat;
	background-position:center;
}

.hide_sizer {
	position: absolute;
	top:-1000px;
	z-index:-1;
	opacity: 0.7;
}

.ticker_editor .sizer {
	height: auto;
	width: 100%;
	background-color: blue;
	text-align: left;
	font: 400 1em Arial;
	padding: 3px;
	overflow-wrap: anywhere;
}

.ticker_editor .eye {
	display:flex;
	align-items:center;
	justify-content:center;
	cursor:pointer;
}

.ticker_editor .eye:hover {
	cursor:pointer;
}

.ticker_editor .eye {
	opacity:0.7;
	background-size:75%;
	background-repeat:no-repeat;
	background-position: center;
	background-image:url('../images/eye_closed.png');
	transition-duration:0.3s;
}

.ticker_editor .on .eye {
	opacity:1;
	background-image:url('../images/eye_open.png');
}

.ticker_editor .eye.disabled {
	opacity:0.3;
}

.ticker_editor .eye.disabled:hover {
	cursor:default;
}

.ticker_editor .ezlogo {
	background-image: url(../images/ez_logo.png);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.ticker_editor .ticker_block .w1-10 {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 5px 0; 
	height: 100%;
}

.ticker_editor .person {
	background-image: url(../images/person.png);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	font-size: 0.5em;
	padding-bottom: 7px;
}

/*.ticker_editor .w1-10 {*/
/*    min-height:36px;*/
/*}*/

/*.ticker_editor .ticker_block {*/
/*    min-height:36px;*/
/*    height:5%;*/
/*    max-height:12.5%;*/
/*    margin-bottom:10px;*/
/*}*/





.pin_editor .pin_container {
	margin-bottom:0.25%;
	width: 100%;
	margin-left: 0%;
	padding:0 10%;
}

.pin_edit.cancel_btn, .ticker_edit.cancel_btn {
	background: #db3434;
	background-image: -webkit-linear-gradient(top, #db3434, #b92929);
	background-image: -moz-linear-gradient(top, #3498db, #2980b9);
	background-image: -ms-linear-gradient(top, #3498db, #2980b9);
	background-image: -o-linear-gradient(top, #3498db, #2980b9);
	background-image: linear-gradient(to bottom, #db3434, #b92929);
}

.pin_editor .pin_container .pin_digit {
	height:80%;
	font-size:2em;
	border:none;
	width:16%;
}

.btn_padder {
	padding:0 10px;
}

/*.btn_padder:first-child {*/
/*    padding:0 10px 0 20px;*/
/*}*/

/*.btn_padder:last-child {*/
/*    padding:0 20px 0 10px;*/
/*}*/

.pin_digit::placeholder {
	color:rgba(100,100,100,0.3);
}


.edit_ticker{
	position:relative;
	margin-top:4px;
	float:left;
	color:black;
	background-color:rgba(220, 212, 255, 1);
	border:1px solid black;
	transition-duration:0.2s;
	/*line-height:34px;*/
	cursor:pointer;
	font-size:22px;
}

.edit_ticker:hover {
	cursor:pointer;
	background-color:rgba(240, 230, 255, 1);
	border:1px solid rgba(100,100,100,1);
}

.edit_ticker .edit_ticker_label {
	position:absolute;
	z-index:2;
	width:100%;
	text-align:center;
	/*line-height:30px;*/
	height:100%;
}

.controls .slider {
	/*width:100%;*/
	color: rgba(0, 0, 0, 0.1);
	animation: controls-ticker linear infinite;
	position:relative;
	top:0px;
	height:100%;
}

/*.slider span {*/
/*    font-size:22px;*/
/*}*/

.edit_ticker {
	position:relative;
	margin-top:4px;
	float:left;
	color:black;
	background-color:rgba(220, 212, 255, 1);
	border:1px solid black;
	transition-duration:0.2s;
	line-height:33px;
	height:34px;
	overflow:hidden;
}

@-moz-keyframes controls-ticker {
	0% {
		-moz-transform: translateX(100%);
	}
	100% {
		-moz-transform: translateX(-100%);
	}
}

@-webkit-keyframes controls-ticker {
	0% {
		-webkit-transform: translateX(100%);
	}
	100% {
		-webkit-transform: translateX(-100%);
	}
}

@keyframes controls-ticker {
	0% {
		-moz-transform: translateX(100%);
		/* Browser bug fix */
		-webkit-transform: translateX(100%);
		/* Browser bug fix */
		transform: translateX(0%);
		transform: translateX(640px);
	}
	100% {
		-moz-transform: translateX(-100%);
		/* Browser bug fix */
		-webkit-transform: translateX(-100%);
		/* Browser bug fix */
		transform: translateX(-100%);
	}
}








@keyframes gradient_horizontal_continuous {
	0% {
		background-position: 0% 50%;
	}
	100% {
		background-position: 200% 50%;
	}
}


@keyframes gradient_horizontal {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

@keyframes gradient_horizontal_div {
	0% {
		left: 0%;
	}
	50% {
		left: -300%;
	}
	100% {
		left: 0%;
	}
}

@keyframes gradient_vertical {
	0% {
		background-position: 50% 0%;
	}
	50% {
		background-position: 50% 100%;
	}
	100% {
		background-position: 50% 0%;
	}
}
