/* Shoutbox styles */
#shoutbox {
	margin-bottom: 10px;
	border:1px solid #2d2e38;
	background-color: rgba(0,0,0,0.5);
}

#shoutbox .head {
 padding: 8px; background-color: rgb(48,84,124);
}

#shoutbox.front .head {
 cursor: pointer;
}

#shoutbox .head .right {
 float: right; margin: 0 -8px 0 0; font-size: 13px;
}

#shoutbox .head .right a {
 padding: 8px;
}

#shoutbox.collapsed .head {
 opacity: 0.6;
}

#shoutbox.collapsed .body {
 display: none;
}

#shoutbox .panel {
 border-top: solid 2px rgba(0,0,0,0.1);
}

#shoutbox .minposts, #shoutbox .blocked {
 padding: 6px; font-size: 11px;
}

#shoutbox .panel.minposts {
 background: #FFFED8; color: #727250;
}

#shoutbox .panel.blocked {
 background: #FCEFEF; color: #543A3A;
}

#shoutbox .panel p {
 margin: 0;
}

#shoutbox .window {
 border-top: solid 2px rgba(0,0,0,0.1); background-color: #23242a; overflow-y: scroll;
	display: flex;
	background-color: rgba(24, 24, 24,0.97);
}

#shoutbox .data {
 display: table; width: 100%; border-top: solid 2px rgba(0,0,0,0.1); font-family: Arial, sans-serif; font-size: 12px;
}

#shoutbox.front .data {
 border-top: none;
}

#shoutbox .entry {
 width: 100%; transition: background-color 0.2s;
}

#shoutbox .entry:nth-child(even) {
 background-color: rgba(0,0,0,0.01);
}

#shoutbox .entry:target {
 background-color: rgba(50,200,255,0.1);
}

#shoutbox .entry:last-child > div {
 border-bottom: none;
}

#shoutbox .avatar {
 height: 12px;
}

#shoutbox .avatar img {
 margin: 0 auto; vertical-align: middle; max-height: 15px; max-width: 15px; box-shadow: 0 0 2px rgba(0,0,0,0.1); cursor: pointer;
}

#shoutbox .user {
 border-right: solid 1px rgba(0,0,0,0.05); text-align: right; white-space: nowrap;
}

#shoutbox .text {
 width: 100%; color: #fdfefe; word-break: break-all; word-wrap: break-word;
}

#shoutbox .info {
 font-size: 11px; color: #AAA; white-space: nowrap; text-align: right;
}

#shoutbox .info .ip {
	overflow: hidden;
  width: 100px;
  display: inline-block;
}

#shoutbox .entry.unread .info:before {
 display: inline-block; margin-right: 10px; height: 4px; width: 4px; content: ''; background: rgba(255,100,0,0.8); border-radius: 10px; vertical-align: middle;
}

#shoutbox .info a {
 //color: inherit;
}

#shoutbox .mod {
 padding: 15px; font-size: 9px; font-weight: bold; color: #AAA; text-decoration: none; background-color:#009900;
}

#shoutbox .mod:nth-of-type(2) {
 margin-right: 5px; border-left: solid 1px rgba(0,0,0,0.1);
}

#shoutbox  .ip {
 margin-right: 10px; color: #CECECE;
}

/* END SHOUTBOX STYLES */

/* CUSTOM SHOUTBOX STYLES */
#shoutbox .entry.new {
 background-color: rgba(19,80,19,0.7);
}

#shoutbox input.text {
 margin: 0; padding: 10px 8px; width: 100%; box-sizing: border-box; border: none; box-shadow: inset 0 2px 4px rgba(0,0,0,0.08); font-family: Arial, sans-serif; font-size: 12px; color: #fff; background-color:#23242a; height:40px;
}

#shoutbox .entry > div {
 display: inline-block;
}

#shoutbox .shoutbox-header-box {
 display:inline-block; width:100%; padding-bottom:5px;
}

#shoutbox .shoutbox-left {
 display:inline-block; width:50%;
}

#shoutbox .shoutbox-left .avatar {
 display: inline-block; width:22px;
}

#shoutbox .shoutbox-left .user {
 display: inline-block; max-width:85%; text-align:left; margin-left:-5px;
}

#shoutbox .shoutbox-right {
 display:inline-block; text-align:right; width:50%;
}

#shoutbox .entry .text {
 display:inline-block; font-family:Arial,sans-serif
}

#shoutbox .info {
 padding-right:2%;
}

#shoutbox .shoutbox-left .avatar {
 padding-left:2%;
}

#shoutbox .text {
 padding-left: 2%; padding-right: 2%; padding-bottom:5px; width:96%;
}

#shoutbox .entry {
 margin-bottom:10px; margin-top:10px;
}

@keyframes rotate {
	100% {
		transform: rotate(-360deg);
	}
}
#shoutbox .entry {
  position: relative;
	z-index: 0;
	width: 100%;
	overflow: hidden;
	margin-top:5px;
	margin-bottom: 10px;
	min-height:50px;
	border-bottom:1px solid #1e1f24;
	
	&::before {
		content: '';
		position: absolute;
		z-index: -2;
		left: -100%;
		top: -1500%;
		width: 300%;
		height: 3000%;
		#background-color: #23242a;
		#background-repeat: no-repeat;
		#background-size: 100% 100%;
		#background-position: 100% 100%;
		#background-image: linear-gradient(#5281BF, #140359);
		#animation: rotate 1s linear infinite;
	}
  &::after {
		content: '';
		position: absolute;
		z-index: -1;
		left: 4px;
		top: -4px;
		width: calc(100% - 2px);
		height: calc(100% - 2px);
		#background: #23242a;
	  	#filter: blur(2px);
	}
}

#shoutbox .entry::before:nth-of-typ(2) {
		animation-delay: -10s;	
}
#shoutbox .entry:nth-of-typ(3) {
		animation-delay: -3s;	
}
#shoutbox .entry:nth-of-typ(4) {
		animation-delay: -1s;	
}
#shoutbox .entry:nth-of-typ(5) {
		animation-delay: -4s;	
}
#shoutbox .entry:nth-of-typ(6) {
		animation-delay: -5s;	
}