/* Christopher Love - Chats - Main CSS */

/* CSS Reset */
/* From: http://meyerweb.com/eric/tools/css/reset/ */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a,
a:visited,
a:focus {
	text-decoration:none;
	color:#000;
}
input:active,
input:focus {
	outline:0px;
}

/* Common / Reusable Styles */
body * {
	font-family: 'Lato', sans-serif;
}
.clear {
	clear:both;
}
.loading-image {
	position:fixed;
	top:40%;
	left:50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
}
.hidden-error-message {
	display:none;
}
.error-message {
	text-align:center;
	padding-top:20px;
	line-height:24px;
}
.error-message a {
	color:#1976D2;
	transition:all ease-in 0.1s;
	font-size:20px;
}
.error-message a:hover {
	color:#000;
	transition:all ease-in 0.1s;
}

/* Page */
.page-container {
	display:none;
	margin-bottom:40px;
}
.center-page-error {
	display:none;
	position:absolute;	
	top:40%;
	text-align:center;
	width:100%;
	/*left:50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);*/
	font-size:30px;
}

.welcome-page {
	background:#1976D2;
	color: #fff;
}
.welcome-page input {
	border:1px solid #fff;
}
/* Header */

.name-form-wrap {
	margin-top:150px;
	display:none;
	opacity:0;
	transition:all ease-in 0.4s;
}
.name-form-wrap-visible {
	display:block;
	transition:all ease-in 0.4s;
	opacity:1;	
}
#name-set-form {

}
#name-set-form label {
	display:block;
	width:265px;
	margin:0 auto;
	padding:5px 0;	
	font-size:16px;
}
#name-set-field {
	display:block;
	width:250px;
	margin:0 auto;
	padding:5px 7px;
	font-size:20px;
	outline-color:#87D4ED;
}
.welcome-page-icon {
	text-align:center;
	font-size:55px;
	margin-bottom:20px;
}
.welcome-page-icon a {
	color:#fff;
}
.welcome-page-icon a:hover {
	color:#363f45;
}

.error-page {
	color:#fff;
	background:#1976D2;
}
.message-404 {
	text-align:center;
	font-size:30px;
	margin-bottom:20px;
	margin-top:140px;
}

.welcome-user-wrap {
	position:fixed;
	height:31px;
	padding:20px;
	background:#1976D2;
	color:#fff;
	top:0px;
	left:0px;
	right:0px;
	box-shadow: 0 0px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}
.welcome-user-wrap:hover {
}
.welcome-user-message {
	display:inline-block;
	padding-top:5px;
	padding-right:10px;
	font-size:18px;

}
.welcome-user-inner {
	width:100%;
	text-align:right;
}
.welcome-user-remove {
	cursor:pointer;
	background:#363f45;
	color:#fff;
	padding:7px 11px;
	padding-bottom:9px;
	border-radius:50px;
  	box-shadow: 0 0px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}
.welcome-user-remove:hover {
	background:#434f56;
}
.display-room-wrap {
	position:absolute;
	top:0px;
	left:0px;
	padding:10px;
	font-size:18px;
}
.exit-room-button {
	font-size:13px;
	cursor:pointer;
	transition:all ease-in 0.1s;
	color:#fff;
}
.exit-room-button:hover {
	color:#363f45;
}
.display-room-name {
	margin-top:4px;
}

/* Main Content */
.content-container {

}
.content {
	margin-top:71px;
	background:#fff;
}
/* Chat Form */
.add-content-form-wrap {
	position:fixed;
	bottom:0px;
	left:0px;
	right:0px;
	padding:0px;
	margin:0px;
	background:#363f45;
	padding-top:50px;
	/*border-bottom:10px solid #465158;*/
}

.add-content-form {
	height:95px;
	width:80%;
	margin:0 auto;
}

.add-content-form .send-envelope {
	opacity:0;
	position:absolute;
	transition:all ease-in 0.4s;
	font-size:25px;
	color:#fff;
	left:4%;
	top:58px;
}
.add-content-form .visible {
	transition:all ease-in 0.4s;
	opacity:1;
}
.add-content-form .sent-envelope {
	transition:all ease-in 0.4s;
	top:-40px;
	opacity:0;
}
#add-message-field {
	width:95%;
	margin:0 auto;
	font-size:20px;
	height:36px;
	padding:5px 2.5%;
	outline:0;
	border:3px solid #1976D2;
	border-radius:1px;
	margin-left:-3px;
}

.hide-submit-button {
	display:none;
}

/* Chat Box / Messages */
#chat-box {
	padding:10px;
	margin-bottom:145px;
}
.chat-box-item {
	padding:7px;
	margin:2px 0;
}
.chat-box-item:hover {
	background:#fafafa;
}
.user-name {
	color:#999;
	display:block;
	margin-left:7px;
}
.user-message {
	margin-top:5px;
	margin-left:20px;
	display:block;
}
.message-timestamp {
	text-align:right;
	float:right;
	margin-top:10px;
	font-size:12px;
}
.hidden-message-key,
.hidden-message-key-reference {
	display:none;
}

/* room password check form */
.room-password-form-wrap {
	width:300px;
	margin:20px auto;

}
.room-password-check input {
	width:100%;
	margin:7px 0;
	font-size:15px;
	padding:5px;
	background:#f5f5f5;
	border:3px solid #363f45;
	border-radius:3px;
}

.loading-message-full-screen {
	position:absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
	background:#1976D2;
	color:#fff;
	text-align:center;
	padding-top:50px;
	z-index:999;
}
.loading-message-full-screen p {
	margin-top:8px;
}
/* Tooltip timestamp arrow */
/*.arrow-box {
	background:#333;
	color:#fff;
	padding:4px;
	font-size:12px;
	position: relative;
	margin-left:5px;
	background: #333;
	opacity:0;
	display:none;
	transition:all ease-in 0.2s;
	-webkit-box-shadow: 3px 3px 10px 0px rgba(0,0,0,0.51);
	-moz-box-shadow: 3px 3px 10px 0px rgba(0,0,0,0.51);
	box-shadow: 3px 3px 10px 0px rgba(0,0,0,0.51);
}
.arrow-box-visible {
	transition:all ease-in 0.2s;
	display:initial !important;
	opacity:1;
}
.arrow-box:after {
	right: 100%;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(51, 51, 51, 0);
	border-right-color: #333;
	border-width: 5px;
	margin-top: -5px;
}*/

/* Rooms */
.room-list-wrap {
	margin-top:25px;
}
.room-list-wrap-active {
}
#room-list {
	max-width:500px;
	margin:0 auto;
}
.room-item {
	background:#1976D2;
	margin:5px;
	padding:10px;
	color:#fff;
	font-size:20px;
	cursor:pointer;
	border-radius:2px;
	/*transition:all ease-in 0.1s;*/
}
.room-item:hover {
	background:#363f45;
	/*transition:all ease-in 0.1s;*/
}
.room-id {
	font-size:12px;
	vertical-align:middle;
}
.room-list-heading {
	max-width:500px;
	padding-left:15px;
	margin:0 auto;
	display:block;
	color:#a9a9a9;
}
.room-item .fa-lock {
	float:right;
}
.search-and-button-wrap {
	max-width:500px;
	margin:0 auto;
	margin-top:110px;
}

.create-room-button-wrap,
.search-rooms-wrap {
	width:49%;
	margin:0px;
	padding:0px;
	display:inline-block;
}
.create-room-button-wrap {
	text-align:right;
}
.create-room-button {
	background:#1976D2;
	border-radius:2px;
	color:#fff;
	padding:10px;
	margin-right:-1px;
	cursor:pointer;
}
.create-room-button .fa-plus{
	font-size:14px;
}
.create-room-button:hover {
	background:#363f45;
}

/* Footer */
.footer-container {

}
.developer {
	margin-top:67px;
	text-align:center;
	padding:30px 20px;
}
.developer a {
	color:#fff;
	padding-top:10px;
	padding-bottom:14px;
	border-top:1px solid #fff;
	border-bottom:1px solid #fff;
	transition:all ease-in 0.1s;
}
.developer a:hover {
	color:#363f45;
	transition:all ease-in 0.1s;
}


.hide-submit {
    position: absolute;
    visibility: hidden;
}

#search-rooms-input {
	font-size:18px;
	border:0px;
	border-bottom:1px solid #ccc;
	margin-left:6px;
}
#search-rooms-input:active,
#search-rooms-input:focus {
	outline:0px;
}

/* Modals */
/* FIXED SIZE MODAL CSS ------------------------------- */
	.modal-wrapper { /* MODAL WRAP / OVERLAY ------------------- */
		display: none;
		position: fixed;
		top:0;
		left:0;
		height:100%;
		overflow: auto;
		width:100%;
		background-color:rgba(0,0,0,0.7);
		z-index:50;
	}
	.modal { /* MODAL  -------------------------------- */
		width:600px;
		margin:0 auto;
		margin-top:50px;
		margin-bottom:50px;
		background:#FFF !important;
		border-radius:4px;
	}
	.modal-header { /* MODAL HEADER -------------------------- */
		/*border-bottom:1.5px solid #EBEBEB;*/
		width:100%;
	}
	.modal-header-inner {
		padding:20px;
	}
	.modal-body { /* MODAL BODY -------------------------- */
		padding:15px 25px;
	}
	.modal-body p {
		padding:7px 0;
	}
	.modal-footer { /* MODAL FOOTER ------------------------ */
		/*border-top:1.5px solid #EBEBEB;*/
	}
	.modal-footer-inner {
		padding:20px;
	}
	.modal-footer-inner p {
		display: inline;
		width:auto;
	}
	.modal-close { /* MODAL CLOSE BUTTON ---------- */
		display:block;
		text-align:right;
		cursor: pointer;
		font-size:30px;
		opacity:0.6;
	}
	.modal-close:hover {
		opacity:1;
	}
	.modal-body input {
		width:95%;
		display:block;
		margin-bottom:25px;
		padding:2.5%;
		font-size:18px;
		background:#f5f5f5;	
		border:3px solid #363f45;
		border-radius:3px;
	}
	.modal-body button[type="submit"] {
		display:block;
		width:30%;
		margin:0 auto;
		font-size:20px;
		border:0px;
		outline:0px;
		background:#1976D2;
		color:#fff;
		padding:10px;
		cursor:pointer;
		border-radius:2px;
	}
	.modal-body button[type="submit"]:hover {
		background:#363f45;
	}
	@media only screen and (max-width:768px) { /* MODAL MEDIA QUERIES ---------------------- */
		.modal {
			width:90%;
		}
	}


