* {
	box-sizing: border-box;
	color: #D4D4D4;
}

body {
	min-height: 97vh;	
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	background: #3A3A3A;
}

#content {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	flex-grow: 1;
}

a {
	text-decoration: none;
}

#info_link {
	margin: 0 0 20px;
	width: 100%;
}

#page_info {
	padding: 20px 10px;
	background: #474747;
	border-bottom: 3px solid #78724E;
}

h1 {
	font-family: serif;
	font-size: 1.4em;
	font-weight: normal;
	text-transform: uppercase;
	letter-spacing: 9px;
	text-align: center;
}

#user {
	margin: 10px 0 0;
	text-align: center;
	width: 80%;	
}

#profile_pic {
	width: 200px;
	height: auto;
}

.user_name {
	text-align: center;
	font-weight: bold;
	font-size: 1.4em;
	letter-spacing: 1.5;
	font-family: 'Cambria';
}

#user_vip {
	margin-left: 5px;
}

.logout {
	width: 20px;
	height: 20px;
	margin-left: 3px;
}

.logout:hover {
	filter: opacity(50%);
}

#admin_links {
	margin: 10px 0;
	padding: 10px;
	border: 2px solid #D4D4D4;
	background: #462F2F;
	display: flex;
	justify-content: space-evenly;
}

#admin_links img:hover {
	filter: opacity(50%);
}

#settings {
	margin: 10px 0;
	padding: 10px;
	border: 2px solid #D4D4D4;
	background: #464637;
	display: flex;
	flex-direction: column;
	align-items: center;
	flex-wrap: wrap;
}

#settings input {
	transform: scale(1.5);
	margin-right: 10px;
}

#settings span {
	margin: 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 200px;
}


#settings label {
	font-size: 1.2em;
}

#review {
	width: 80%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#review a {
	width: 100%;
}

.books {
	background: rgba(76,76,76,0.7);
	border: 2px solid #D4D4D4;
	border-radius: 10px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	margin: 10px 0;
	padding: 10px;
}

.books:hover {
	background: #373737;
	border-color: #E8E8DB;
}

.book_title, .reviews {
	margin: 0;
}

.book_title {
	text-transform: uppercase;
	font-size: 0.75em;
	letter-spacing: 3;
}

.reviews {
	letter-spacing: 1.5;
}

a, a:active, a:visited {
	text-decoration: none;
	color: #D4D4D4;
}

hr {
	width: 90%;
	border: 1px dashed gray;
}

#toggle_all {
	background: 0;
	padding: 5px;
	border: 1px solid black;
}

#users_div {
	width: 80%;	
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.users {
	width: 100%;
	/*position: relative;*/
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-bottom: 10px;
}

.users_head {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: stretch;
	border: 1px solid #D4D4D4;
	background-color: #303128;
}

.users_head p {
	margin: 0;
	display: flex;
	align-items: center;
}

.users_head .users_id {
	width: 50px;
	padding: 10px;
	background-color: black;
	flex-shrink: 0;
	justify-content: center;
}

.users_head .users_name {
	font-family: 'Solway', sans-serif;
	flex-grow: 1;
	margin: 5px;
}

.users_head .users_toggle {
	width: 10%;
	flex-shrink: 0;
	justify-content: center;
	background-color: black;
	cursor: pointer;
}

.users_head .users_toggle:hover {
	filter: invert(70%);
}

.users_body {
	display: none;
	width: 100%;
	border: 2px solid black;
	border-top: 0;
	background-color: #303128;
}

.users_params {
	width: 100%;
	display: flex;
}

.users_params p:nth-child(1) {
	width: 20%;
	margin: 0;
	padding: 2px 5px;
	background-color: black;
	display: flex;
	align-items: center;
}

.users_params p:nth-child(2) {
	word-wrap: break-word;
	overflow: auto;
	margin-left: 5px;
}

.users_location {
	display: flex;
	justify-content: space-evenly;
	align-items: center;
}

.users_vip {
	position: absolute;
	top: 2px;
	right: 2px;
}

.userPreviliges {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin: 10px 0;
}

.userPreviliges form {
	margin: 0;
	padding: 5px;
	border: 1px solid black;
	border-radius: 5px;
	background: #4F6200;
	flex-grow: 1;
}

.userPreviliges p {
	margin: 0;
}

.userPreviliges input {
	border: 0;
	background: 0;
}

form {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.addPreviliges select, .addPreviliges input {
	padding: 5px;
	border: 1px solid black;
	border-radius: 5px;
	background: #515151;
	color: #D4D4D4;	
}

.addPreviliges select {
	flex-basis: 85%;
}

.addPreviliges input {
	flex-basis: 15%;
	margin-left: 5px;
}

.users img:hover {
	filter: opacity(60%);
}

#reset_form {
	display: flex;
	flex-direction: column;
	width: 100%;
}

#reset_form input, #message {
	background: black;
	border: 2px solid gray;
	width: 100%;
	padding: 10px;
	font-size: 1.1em;
	font-family: 'Solway', sans-serif;
	margin-bottom: 5px;
}

#message {
	margin: 0 0 10px;
	text-align: center;
	padding: 20px;
}

@media only screen and (min-width: 769px) {
	#review, #user {width: 40%;}
	#settings {flex-direction: row; justify-content: space-around;}
	#users_div {flex-direction: row; flex-wrap: wrap; justify-content: space-between;}
	.users {width: 33%;}
	#content {width: 80%;}
}