@import url('https://fonts.googleapis.com/css?family=Chivo:400,700');

* {
	font-family: 'Chivo', sans-serif;
	margin: 0px; 
	padding: 0px; 
	box-sizing: border-box;
	color: #000000;
}

html, body { margin: 0; padding: 0; width: 100%; height: 100%; background-color: #f7f7f7; }

body {
	min-width: 650px;
	width: 100%;
	position: relative;
	display: flex;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

textarea, input, button { outline: none; font-size: 13px; -webkit-appearance: none; border-radius: 0; }

select { background-color: #ffffff; }

/****************************************
Defaults
****************************************/

.container {
    margin: 15px auto 0 auto;
	width: 650px;
}

	.container #head {
		background-color: #000000;
		display: table;
		width: 100%;
		margin-bottom: 15px;
		border-radius: 5px;
		padding: 10px 0;
	}

	.container .news {
		width: 270px;
	  	margin-left: 40px;
	  	margin-right: 10px;
		margin-top: 15px;
		border-left: 2px solid #ffffff;
		border-right: 2px solid #ffffff;
		color: #ffffff;
	}

	.container .logo {
		float: left;
		margin-left: 30px;
		font-size: 40px;
	}

	.container .menu-items {
		float: right;
		margin-top: 15px;
		margin-right: 30px;
	}

		.container .menu-items .menu-item {
			float: left;
			margin-left: 20px;
			color: #ffffff;
		}

.ClearBoth {
	clear: both;
}

#goBack {
	text-align: center;
	margin: 30px auto 0 auto;
    display: table;
}

.SubmitButton {
	font-size: 15px;
	background-color: #e67e22;
	font-weight: bold;
	border: 0;
	border-bottom: 5px solid #e67e22 !important;
	color: #ffffff;
	transition: all .1s ease-in-out;
    float: left;
    padding: 15px 20px 10px 20px;
    width: 100%;
    margin-bottom: 15px;
    transition: all .1s ease-in-out;
}

	.SubmitButton i {
		color: #ffffff;
		padding-right: 5px;
	}

	.SubmitButton:hover {
		border-color: #f49c4d !important;
		cursor: pointer;
	}

/****************************************
Login Form 
****************************************/

#CenterBoxBackground {
	background-color: #000000;
}

#CenterBoxBackground #CenterBoxImage {
	position: absolute;
	width: 100%;
	height: 100%;
	background-size: cover;
	opacity: 0.3;
}

#CenterBox {
	position: relative;
	z-index: 1;
	display: table;
	margin: 0 auto;
	margin-top: 150px;
	background-color: #ffffff;
  	text-align: center;
}
	#CenterBox .logo {
		color: #ffffff;
		padding: 15px;
		width: 100%;
		background-color: #000000;
	}

	#CenterBox #Form {
		padding: 30px;
		padding-top: 15px;
		width: 360px;
		display: inline-block;
		vertical-align: middle;
	}

		#CenterBox #Form a {
			width: 100%;
			text-align: center;
			float: left;
			margin-top: 30px;
		}

		#CenterBox #Form input {
			font-size: 15px;
			float: left;
			padding: 10px 15px;
			width: 100%;
			margin: 5px 0;
			border: 0;
			border-bottom: 2px solid #cccccc;
			transition: all .1s ease-in-out;
		}

			#CenterBox #Form input:hover,
			#CenterBox #Form input:focus {
				border-color: #f78f1e;
			}

		#CenterBox #Form #RememberLabel {
			float: left;
			width: 48.75%;
			margin-right: 1.25%;
			margin-top: 15px;
		    display: block;
		    position: relative;
		    margin-bottom: 12px;
		    cursor: pointer;
		    font-size: 15px;
		    line-height: 25px;
		    padding-top: 7px;
		    -webkit-user-select: none;
		    -moz-user-select: none;
		    -ms-user-select: none;
		    user-select: none;
		}

			#CenterBox #Form #RememberLabel #Remember {
			    position: absolute;
			    opacity: 0;
			    left: 0;
			    cursor: pointer;
			}

			#CenterBox #Form #RememberLabel #RememberCheckmark {
				position: absolute;
			    top: 7px;
			    left: 0;
			    height: 25px;
			    width: 25px;
			    background-color: #eeeeee;
			    transition: all .1s ease-in-out;
			}

			#CenterBox #Form #RememberLabel:hover #Remember ~ #RememberCheckmark {
				background-color: #cccccc;
			}

			#CenterBox #Form #RememberLabel #Remember:checked ~ #RememberCheckmark {
				background-color: #f78f1e;
			}

			#CenterBox #Form #RememberLabel #RememberCheckmark:after {
			    content: "";
			    position: absolute;
			    display: none;
			    left: 9px;
			    top: 5px;
			    width: 5px;
			    height: 10px;
			    border: solid white;
			    border-width: 0 3px 3px 0;
			    -webkit-transform: rotate(45deg);
			    -ms-transform: rotate(45deg);
			    transform: rotate(45deg);
			}


			#CenterBox #Form #RememberLabel #Remember:checked ~ #RememberCheckmark:after {
    			display: block;
			}

			#CenterBox #Form #LoginButton {
				margin-top: 10px;
				padding: 15px 20px 10px 15px;
				margin-bottom: 0;
				float: left;
				margin-left: 2.5%;
				width: 47.5%;
			}

			#CenterBox #Form #CreateButton {
				margin-top: 10px;
				padding: 15px 20px 10px 15px;
				margin-bottom: 0;
				float: left;
				width: 100%;
			}

/****************************************
Messages
****************************************/

.messages {
	float: left;
	width: 100%;
	height: 465px;
	overflow-y: scroll;
	padding: 30px;
	background-color: #ffffff;
	border-radius: 5px;
}

	.messages .message {
        width: 100%;
		display: inline-block;
        margin-bottom: 15px;
		padding: 10px;
		background-color: #efefef;
		border-radius: 5px;
	}

	.messages .message.me {
		background-color: lightgreen;
	}

	.messages .message:last-of-type {
		margin-bottom: 0 !important;
	}

	.messages .message b {
		float: left;
	}

	.messages .message div {
		float: left;
		width: calc(100% - 50px);
		padding-left: 10px;
	}

	.messages .message i {
		float: right;
		font-size: 10px;
		padding-top: 5px;
	}

	.messages .message img {
		float: left;
		width: 50px;
	}

	.messages .message p:last-of-type {
		clear: both;
		float: left;
		width: 100%;
		padding-top: 10px;
	}

	.messages .message.system {
		width: 100%;
		display: inline-block;
		margin-bottom: 15px;
		padding: 10px;
		background-color: lightpink;
		border-radius: 5px;
	}

	.messages .system i {
		float: right;
		font-size: 10px;
		padding-top: 5px;
	}
	
	.messages .message.system p:last-of-type {
		padding: 0 !important;
	}

.onlines {
	float: left;
	width: 72px;
	background: #f78f1e;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
	padding: 14.5px;
	margin-top: 15px;
	height: 49px;
	border-left: 1px solid #ffffff;
}
	.onlines img {
		float: left;
		width: 20px;
	}

	.onlines p {
		float: right;
		color: #ffffff;
	}

/****************************************
Send
****************************************/

#send {
	float: left;
	width: calc(100% - 72px);
	margin-top: 15px;
	transition: opacity .5s ease-in-out;
}

	#send.timeout {
		opacity: 0.3;
	}

	#send input[type="text"] {
		width: calc(100% - 90px);
		height: 49px;
		float: left;
		padding: 15px;
		border-top-left-radius: 5px;
		border-bottom-left-radius: 5px;
		border: 2px solid #f78f1e;
		border-right: 0;
	}

	#send input[type="submit"] {
		width: 90px;
		height: 49px;
		float: left;
		padding: 15px;
		background-color: #f78f1e;
		border: #f78f1e;
		color: #ffffff;
		text-transform: uppercase;
	}