/*************************************************************
[TABLE OF CONTENTS]

- MAIN WRAPPER
- ACTIVATION BUTTON
- USERS WRAPPER
- INDIVIDUAL USER WRAPPER
- CHANNEL LOGO
- DETAILS WRAPPER
- CHANNEL NAME
- GAME PLAYED
- ONLINE/OFFLINE
- TWITCH ICON
- WIDGET
*************************************************************/


/* MAIN WRAPPER
**************************************************/
/* outer wrapper */
.tsw-wrapper {
    position:fixed;
    z-index:9999999;
    top:25px;
    left:25px;
    width:250px;
    height:auto;
    margin:0;
    padding:0;
    font-family:'Roboto',tahoma,verdana;
    font-weight:500;
    
    background-color:#191C25;
    
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    
    -webkit-box-shadow:1px 1px 1px 0 rgba(0,0,0,0.25);
    -moz-box-shadow:1px 1px 1px 0 rgba(0,0,0,0.25);
    box-shadow:1px 1px 1px 0 rgba(0,0,0,0.25);
}
/* inner wrapper */
.tsw-wrapper-inner {
    font-family:'Roboto',tahoma,verdana;
    font-weight:500;
}


/* ACTIVATION BUTTON
**************************************************/
.tsw-button {
    position:relative;
    width:100%;
    height:50px;
    border:1px solid #5D4A89;
    cursor:pointer;
    background-color:#4B367C;
    overflow:hidden;
    
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
}
.tsw-button:hover,
.tsw-active .tsw-button {
    border:1px solid #6F5E96;
}
/* button arrow */
.tsw-button::before {
    content:'';
    position:absolute;
    top:23px;
    right:15px;
    width:0;
    height:0;
    border-left:5px solid transparent;
    border-right:5px solid transparent;

    border-top:5px solid #fff;
}
.tsw-active .tsw-button::before {
    transform:rotate(-180deg);
}
/* twitch icon on button */
.tsw-icon-twitch {
    position:absolute;
    top:13px;
    left:13px;
    color:#C0B9D1;
    font-size:23px;
}
/* button text */
.tsw-button-text {
    position:absolute;
    top:17px;
    left:55px;
    font-size:14px;
    color:#fff;
}
/* button animation speeds */
.tsw-button,
.tsw-button::before,
.tsw-icon-twitch,
.tsw-button-text {
    -webkit-transition:all .25s ease;
	-moz-transition:all .25s ease;
	transition:all .25s ease;
}


/* USERS WRAPPER
**************************************************/
.tsw-users-wrapper {
    height:0;
    overflow:hidden;
}
.tsw-active .tsw-users-wrapper {
    height:auto;
}
.tsw-users-wrapper .tsw-user {
	opacity:0;
	
	-webkit-transform:translateY(30px);
	-moz-transform:translateY(30px);
	transform:translateY(30px);
}
.tsw-active .tsw-users-wrapper .tsw-user {
	opacity:1;
	
	-webkit-transform:translateY(0);
	-moz-transform:translateY(0);
	transform:translateY(0);
}
/* individual animation speeds (up to 20) */
.tsw-active .tsw-users-wrapper .tsw-user:nth-child(1) {
	-webkit-transition:opacity .3s ease .1s, -webkit-transform .5s ease .1s, background-color .25s ease;
	-moz-transition:opacity .3s ease .1s, -moz-transform .5s ease .1s, background-color .25s ease;
	transition:opacity .3s ease .1s, transform .5s ease .1s, background-color .25s ease;
}
.tsw-active .tsw-users-wrapper .tsw-user:nth-child(2) {
	-webkit-transition:opacity .3s ease .15s, -webkit-transform .5s ease .15s, background-color .25s ease;
	-moz-transition:opacity .3s ease .15s, -moz-transform .5s ease .15s, background-color .25s ease;
	transition:opacity .3s ease .15s, transform .5s ease .15s, background-color .25s ease;
}
.tsw-active .tsw-users-wrapper .tsw-user:nth-child(3) {
	-webkit-transition:opacity .3s ease .2s, -webkit-transform .5s ease .2s, background-color .25s ease;
	-moz-transition:opacity .3s ease .2s, -moz-transform .5s ease .2s, background-color .25s ease;
	transition:opacity .3s ease .2s, transform .5s ease .2s, background-color .25s ease;
}
.tsw-active .tsw-users-wrapper .tsw-user:nth-child(4) {
	-webkit-transition:opacity .3s ease .25s, -webkit-transform .5s ease .25s, background-color .25s ease;
	-moz-transition:opacity .3s ease .25s, -moz-transform .5s ease .25s, background-color .25s ease;
	transition:opacity .3s ease .25s, transform .5s ease .25s, background-color .25s ease;
}
.tsw-active .tsw-users-wrapper .tsw-user:nth-child(5) {
	-webkit-transition:opacity .3s ease .3s, -webkit-transform .5s ease .3s, background-color .25s ease;
	-moz-transition:opacity .3s ease .3s, -moz-transform .5s ease .3s, background-color .25s ease;
	transition:opacity .3s ease .3s, transform .5s ease .3s, background-color .25s ease;
}
.tsw-active .tsw-users-wrapper .tsw-user:nth-child(6) {
	-webkit-transition:opacity .3s ease .35s, -webkit-transform .5s ease .35s, background-color .25s ease;
	-moz-transition:opacity .3s ease .35s, -moz-transform .5s ease .35s, background-color .25s ease;
	transition:opacity .3s ease .35s, transform .5s ease .35s, background-color .25s ease;
}
.tsw-active .tsw-users-wrapper .tsw-user:nth-child(7) {
	-webkit-transition:opacity .3s ease .4s, -webkit-transform .5s ease .4s, background-color .25s ease;
	-moz-transition:opacity .3s ease .4s, -moz-transform .5s ease .4s, background-color .25s ease;
	transition:opacity .3s ease .4s, transform .5s ease .4s, background-color .25s ease;
}
.tsw-active .tsw-users-wrapper .tsw-user:nth-child(8) {
	-webkit-transition:opacity .3s ease .45s, -webkit-transform .5s ease .45s, background-color .25s ease;
	-moz-transition:opacity .3s ease .45s, -moz-transform .5s ease .45s, background-color .25s ease;
	transition:opacity .3s ease .45s, transform .5s ease .45s, background-color .25s ease;
}
.tsw-active .tsw-users-wrapper .tsw-user:nth-child(9) {
	-webkit-transition:opacity .3s ease .5s, -webkit-transform .5s ease .5s, background-color .25s ease;
	-moz-transition:opacity .3s ease .5s, -moz-transform .5s ease .5s, background-color .25s ease;
	transition:opacity .3s ease .5s, transform .5s ease .5s, background-color .25s ease;
}
.tsw-active .tsw-users-wrapper .tsw-user:nth-child(10) {
	-webkit-transition:opacity .3s ease .55s, -webkit-transform .5s ease .55s, background-color .25s ease;
	-moz-transition:opacity .3s ease .55s, -moz-transform .5s ease .55s, background-color .25s ease;
	transition:opacity .3s ease .55s, transform .5s ease .55s, background-color .25s ease;
}
.tsw-active .tsw-users-wrapper .tsw-user:nth-child(11) {
	-webkit-transition:opacity .3s ease .6s, -webkit-transform .5s ease .6s, background-color .25s ease;
	-moz-transition:opacity .3s ease .6s, -moz-transform .5s ease .6s, background-color .25s ease;
	transition:opacity .3s ease .6s, transform .5s ease .6s, background-color .25s ease;
}
.tsw-active .tsw-users-wrapper .tsw-user:nth-child(12) {
	-webkit-transition:opacity .3s ease .65s, -webkit-transform .5s ease .65s, background-color .25s ease;
	-moz-transition:opacity .3s ease .65s, -moz-transform .5s ease .65s, background-color .25s ease;
	transition:opacity .3s ease .65s, transform .5s ease .65s, background-color .25s ease;
}
.tsw-active .tsw-users-wrapper .tsw-user:nth-child(13) {
	-webkit-transition:opacity .3s ease .7s, -webkit-transform .5s ease .7s, background-color .25s ease;
	-moz-transition:opacity .3s ease .7s, -moz-transform .5s ease .7s, background-color .25s ease;
	transition:opacity .3s ease .7s, transform .5s ease .7s, background-color .25s ease;
}
.tsw-active .tsw-users-wrapper .tsw-user:nth-child(14) {
	-webkit-transition:opacity .3s ease .75s, -webkit-transform .5s ease .75s, background-color .25s ease;
	-moz-transition:opacity .3s ease .75s, -moz-transform .5s ease .75s, background-color .25s ease;
	transition:opacity .3s ease .75s, transform .5s ease .75s, background-color .25s ease;
}
.tsw-active .tsw-users-wrapper .tsw-user:nth-child(15) {
	-webkit-transition:opacity .3s ease .8s, -webkit-transform .5s ease .8s, background-color .25s ease;
	-moz-transition:opacity .3s ease .8s, -moz-transform .5s ease .8s, background-color .25s ease;
	transition:opacity .3s ease .8s, transform .5s ease .8s, background-color .25s ease;
}
.tsw-active .tsw-users-wrapper .tsw-user:nth-child(16) {
	-webkit-transition:opacity .3s ease .85s, -webkit-transform .5s ease .85s, background-color .25s ease;
	-moz-transition:opacity .3s ease .85s, -moz-transform .5s ease .85s, background-color .25s ease;
	transition:opacity .3s ease .85s, transform .5s ease .85s, background-color .25s ease;
}
.tsw-active .tsw-users-wrapper .tsw-user:nth-child(17) {
	-webkit-transition:opacity .3s ease .9s, -webkit-transform .5s ease .9s, background-color .25s ease;
	-moz-transition:opacity .3s ease .9s, -moz-transform .5s ease .9s, background-color .25s ease;
	transition:opacity .3s ease .9s, transform .5s ease .9s, background-color .25s ease;
}
.tsw-active .tsw-users-wrapper .tsw-user:nth-child(18) {
	-webkit-transition:opacity .3s ease .95s, -webkit-transform .5s ease .95s, background-color .25s ease;
	-moz-transition:opacity .3s ease .95s, -moz-transform .5s ease .95s, background-color .25s ease;
	transition:opacity .3s ease .95s, transform .5s ease .95s, background-color .25s ease;
}
.tsw-active .tsw-users-wrapper .tsw-user:nth-child(19) {
	-webkit-transition:opacity .3s ease 1s, -webkit-transform .5s ease 1s, background-color .25s ease;
	-moz-transition:opacity .3s ease 1s, -moz-transform .5s ease 1s, background-color .25s ease;
	transition:opacity .3s ease 1s, transform .5s ease 1s, background-color .25s ease;
}
.tsw-active .tsw-users-wrapper .tsw-user:nth-child(20) {
	-webkit-transition:opacity .3s ease 1.05s, -webkit-transform .5s ease 1.05s, background-color .25s ease;
	-moz-transition:opacity .3s ease 1.05s, -moz-transform .5s ease 1.05s, background-color .25s ease;
	transition:opacity .3s ease 1.05s, transform .5s ease 1.05s, background-color .25s ease;
}


/* INDIVIDUAL USER WRAPPER
**************************************************/
/* user wrapper */
.tsw-user {
    height:50px;
    padding:0;
    margin:0;
    text-decoration:none;
    display:block;
    border-bottom:1px solid #23242F;
    
    -webkit-transition:all .25s ease;
	-moz-transition:all .25s ease;
	transition:all .25s ease;
}
.tsw-user:last-child {
    border-bottom:none;
}


/* CHANNEL LOGO
**************************************************/
/* channel logo */
.tsw-logo {
    max-width:40px;
    max-height:40px;
    margin:5px;
    display:inline-block;
}
.tsw-logo img {
    max-width:100%;
    max-height:100%;
    opacity:.75;
    
    -webkit-transition:all .25s ease;
	-moz-transition:all .25s ease;
	transition:all .25s ease;
    
    /* for Chrome's downscaled image issues */
    outline:1px solid transparent;
    image-rendering:-webkit-optimize-contrast;
}
.tsw-user:hover .tsw-logo img {
    opacity:1;
}


/* DETAILS WRAPPER
**************************************************/
/* wrapper for status, game name, viewer count */
.tsw-details-wrapper {
    display:inline-block;
    vertical-align:top;
    margin-top:5px;
    margin-left:5px;
}


/* CHANNEL NAME
**************************************************/
/* channel name */
.tsw-name {
    color:#B8B5C0;
    font-size:13px;
    margin-top:5px;
    
    -webkit-transition:all .25s ease;
	-moz-transition:all .25s ease;
	transition:all .25s ease;
}
.tsw-user:hover .tsw-name {
    color:#fff;
}


/* GAME PLAYED
**************************************************/
/* game being played */
.tsw-wrapper-inner .online .tsw-game-played {
    color:#B8B5C0;
    position:relative;
    padding-left:10px;
    
    /* prevent long game names from breaking out of container */
    text-overflow:ellipsis;
    max-width:190px;
    white-space:nowrap;
    overflow:hidden;
}
.tsw-wrapper-inner .online .tsw-game-played::before {
    content:'';
    position:absolute;
    top:5px;
    left:1px;
    width:5px;
    height:5px;
    border-radius:1px;
    background-color:#14B866;
}


/* ONLINE/OFFLINE
**************************************************/
/* joint font properties for statuses */
.tsw-wrapper-inner .online,
.tsw-wrapper-inner .offline {
    font-size:10px;
    line-height:16px;
}
/* 'offline' text */
.tsw-wrapper-inner .offline .tsw-game-played {
    position:relative;
    padding-left:10px;
    color:#88868C;
}
.tsw-wrapper-inner .offline .tsw-game-played::before {
    content:'';
    position:absolute;
    top:5px;
    left:1px;
    width:5px;
    height:5px;
    border-radius:1px;
    background-color:#4D5156;
}


/* TWITCH ICON
**************************************************/
@font-face {
  font-family: 'tsw-icomoon';
  src:  url('fonts/icomoon.eot?ww1p3o');
  src:  url('fonts/icomoon.eot?ww1p3o#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?ww1p3o') format('truetype'),
    url('fonts/icomoon.woff?ww1p3o') format('woff'),
    url('fonts/icomoon.svg?ww1p3o#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^="tsw-icon-"], [class*=" tsw-icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'tsw-icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.tsw-icon-twitch:before {
  content: "\e900";
}


/* WIDGET
**************************************************/
/* video embed */
.tsw-video-embed {
	position:relative;
	width:100%;
	height:auto;
	overflow:hidden;
	padding-bottom:56.3%;
}
.tsw-video-embed iframe {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	border:0;
}
/* chat box embed */
.tsw-chat-embed iframe {
    width:100%;
	height:500px;
}