/* 
Sources:
Styling inspired by https://www.google.com/chrome/
Profile Picture Upload tutorial (https://codewithawa.com/posts/image-preview-and-upload-using-php-and-mysql-database)
Mountains Background Image (https://pixabay.com/photos/mountain-landscape-winter-white-2953412/)
*/

body {
	font-family: "Open Sans", sans-serif;
	background-color: #f2f2f2;
}

#index-body {
	background-image: url("background.jpg");
    background-size: cover;
}

#logo-link {
	width: 38px;
	margin-left: 8px;
	margin: 4px 8px;
}

#logo-image {
	width: 100%;
}

#navbar {
	background-color: white;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
	position: fixed;
	width: 100%;
	height: 64px;
	top: 0px;
	left: 0px;
	z-index: 2;
	display: flex;
  	justify-content: space-between;
}

#main-block-wrapper {
	top: 80px;
	position: relative;
	width: 100%;
	text-align: center;
}

#main-block {
	display: inline-block;
	width: 50%;
}

#mini-logo {
	width: 60px;
}

#slogan-header {
	font-size: 70px;
	margin: 0px;
}

#slogan-desc {
	margin-top: 40px;
	margin-bottom: 40px;
}

.g-signin2 {
	width: 100%;
}

.g-signin2 > div {
	margin: 0 auto;
}

#signin-button {
	margin: 0 auto;
	display: none;
}

.blue-button {
	cursor: pointer;
	background-color: #1a73e8;
	color: white;
	border: none;
	border-radius: 2px;
	height: 46px;
	padding: 0 24px;
	font-size: 1rem;
}

.blue-button:hover {
	background-color: #104fa2;
}

/* Dashboard Page */

.scrollable {
	top: 80px;
	position: relative;
	width: 100%;
}

.panel {
	background-color: white;
	margin-top: 20px;
	padding-bottom: 10px;
	border-radius: 10px;
	border: 1px solid rgba(0,0,0,0.1);
}

.panel-body {
	padding: 10px;
}

#left-panels {
	width: 50%;
	padding-right: 20px;
}

#right-panels {
	width: 50%;
}

.panel-title {
	border-bottom: 1px solid #bfbfbf;
	background-color: #98ff98;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	padding: 5px;
	margin-top: 0px;
	margin-bottom: 10px;
	text-align: center;
}

#panel-table {
	padding-left: 10px;
	padding-right: 10px;
	margin-bottom: 10px;
	width: 100%;
}

#left-panels, #right-panels {
	vertical-align: top;
}

.slider-container {
	width: 100%;
	text-align: center;
}

.slider {
	-webkit-appearance: none;
	width: 100%;
	height: 15px;
	border-radius: 5px;
	background: #d3d3d3;
	outline: none;
	opacity: 0.7;
	-webkit-transition: .2s;
	transition: opacity .2s;
}

.slider-desc {
	text-align: center;
}

.slider:hover {
	opacity: 1;
}

.slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	background: #98ff98;
	cursor: pointer;
}

.text-field {
	width: 100%;
	display: inline-block;
	padding: 8px 8px;
	border: 2px solid #ccc;
  	border-radius: 8px;
	box-sizing: border-box;
}

#text-field-table {
	width: 100%;
}

#left-text-field-cell {
	padding-right: 5px;
}

#comment-textarea {
	width: 100%;
	height: 150px;
	padding: 8px 8px;
	margin-top: 10px;
  	box-sizing: border-box;
  	border: 2px solid #ccc;
  	border-radius: 8px;
	resize: none;
}

#submit-button {
  	width: 100%;
	margin-top: 8px;
}

#entry-finished-panel {
	text-align: center;
}

#entry-finished-header {
	margin: 0px;
}

#clickable-friends-list {
	cursor: pointer;
}

/* Dropdown */

.dropdown-button {
	background-color: white;
	color: black;
	padding: 16px;
	font-size: 20px;
	border: none;
	cursor: pointer;
	height: 100%;
}

.dropdown {
	float: right;
	overflow: hidden;
}

.dropdown-content {
	display: none;
	position: absolute;
	background-color: #f9f9f9;
	min-width: 170px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
	right: 0;
}

.dropdown:hover .dropdown-content {
	display: block;
}

.dropdown-selection {
	width: 100%;
	background-color: #f9f9f9;
	cursor: pointer;
	color: black;
	border: none;
	height: 46px;
	padding: 0 24px;
	font-size: 1rem;
}

.dropdown-selection:hover {
	background-color: #f1f1f1;
}

.dropdown:hover .dropdown-button {
 	background-color: #98ff98;
}

/* Friends Page */

.friends-table {
	border-collapse: collapse;
	width: 100%;
}

.friends-table-header, .friends-table-cell {
	border: 2px solid #dee2e6;
	padding: 8px;
	text-align: left;
}

/* Profile Page */

#scrollable-centered {
	text-align: center;
	top: 100px;
}

#profile-panel {
	width: 50%;
	margin: auto;
}

.profile-block {
	text-align: center;
	padding: 4px;
	margin: 2px;
}

#profileDisplay {
	display: block; 
	width: 60%; 
	margin: 0px auto;
}

.img-placeholder {
  	width: 60%;
  	height: 100%;
  	left: 50%;
  	transform: translateX(-50%);
  	z-index: 2;

  	color: white;
  	background: black;
  	opacity: .7;
  	position: absolute;
  	display: none;
}

.img-placeholder h4 {
	margin-top: 40%;
  	color: white;
}

.img-div:hover .img-placeholder {
  	display: block;
  	cursor: pointer;
}