body {
	background-color: #90C3D4;
	font-family: 'Lato', sans-serif;
	font-weight: 400;
}

a {
	text-decoration: none;
	color: inherit;
}

ul {
	text-indent: 0px;
}

label {
	cursor: pointer;
	vertical-align: middle;
}

form {
	margin: 10px;
}

textarea {
	display: none;
}

input {
	font-family: 'Lato', sans-serif;
	border: 1px solid #F2D080;
	text-align: left;
	background-color: transparent;
	line-height: 30px;
	margin: 5px;
	border-radius: 0;
}

input[type=submit] {
	transition: 0.3s;
	cursor: pointer;
	text-align: center;
}

input[type=submit]:hover, input[type=submit]:focus {
	background-color: #F2D080;
	outline: none;
}

input[type=submit]::-moz-focus-inner {
	border: 0;
}

input[type=text], input[type=password] {
	padding-left: 5px;
	background-color: white;
	width: 150px;
	transition: 0.3s;
}

input[type=text]:focus, input[type=password]:focus {
	background-color: #F2D080;
	width: 200px;
}

input[type=checkbox] {
	visibility: none;
}

input[type=file] {
	text-align: center;
}

.checkbox {
	display: inline-block;
	position: relative;
	width: 25px;
}

.checkbox label {
	cursor: pointer;
	position: absolute;
	width: 25px;
	height: 25px;
	top: 0;
	left: 0;
	background: white;
	border: 1px solid #F2D080;
}

.checkbox label:after {
	opacity: 0;
	content: '';
	position: absolute;
	top: -5px;
	left: 2px;
	width: 25px;
	height: 15px;
	border: 3px solid #333;
	border-right: none;
	border-top: none;
	transform: rotate(-45deg);
	transition: 0.3s;
}

.checkbox label:hover::after {
	opacity: 0.3;
}

.checkbox input[type=checkbox]:focus + label:after {
	opacity: 0.3;
}

.checkbox input[type=checkbox]:checked + label:after {
	opacity: 1;
}

#main-container {
	width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

#header-tile {
	float: left;
	background-color: #FF0000;
	padding: 0px;
}

#header-tile a {
	display: block;
	text-decoration: none;
}

#header-text {
	color: black;
	font-size: 40px;
	font-weight: bold;
	letter-spacing: 5px;
	padding: 40px 30px 0px 30px;
	margin: 0px;
	height: 130px;
	width: 686px;
}

#logo-tile {
	float: left;
	padding: 0px;
	box-shadow: none;
}

#logo {
	width: auto;
	height: 170px;
	vertical-align: middle;
	filter: drop-shadow(0px 0px 10px #FFF);
}

#tiles {
	float: left;
	width: 400px;
}

#content {
	float: left;
	background-color: #FFF;
	padding: 20px;
	padding-bottom: 0px;
	width: 550px;
	margin: 5px;
	box-shadow: 4px 4px 10px 0 rgba(0, 0, 0, 0.2);
}

#content > p {
	text-indent: 40px;
	text-align: justify;
	word-wrap: break-word;
}

#content h2 {
	text-indent: 30px;
	text-align: left;
}

#page-header {
	margin: 20px 0px 20px 0px;
}

#page-header > h1 {
	margin: 0px;
	padding: 0px;
}

.author {
	font-weight: 300;
	display: inline-block;
	font-size: 14px;
}

.date {
	display: inline-block;
	font-size: 14px;
	font-weight: 300;
}

#footer {
	clear: both;
	font-size: 12px;
	text-align: center;
	margin: 5px;
	margin-top: 20px;
}

#quote-tile {
	float:left;
	background-color: #0A0;
	padding: 20px;
	text-align: center;
	width: 350px;
	text-align: right;
}

#quote {
	text-align: center;
	font-size: 20px;
	font-weight: normal;
	font-style: italic;
	margin-bottom: 10px;
	margin-top: 10px;
}

#login-tile {
	padding: 0px;
	float: left;
	background-color: #F2D080;
	width: 590px;
}

#login-tile form {
	display: inline-block;
	padding: 10px;
	margin: 0px;
}

#login-tile input {
	background-color: #FFF;
	line-height: 20px;
	margin: 0px;
	width: 100px;
	padding: 5px;
	transition: 0.3s;
}

#login-tile input[type=submit]:hover {
	background-color: #D0B060;
}

#user-name {
	margin-right: 40px;
	display: inline-block;
}

#return-top {
	display: block;
	position: fixed;
	bottom: 5%;
	left: 35%;
	border-radius: 100%;
	padding: 0px;
	opacity: 0;
	height: 50px;
	width: 50px;
	transition: 0.3s;
}

#return-top:hover {
	box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.3);
}

#return-top:focus {
	outline: none;
}

#return-top img {
	width: 50px;
	height: auto;
}

#news {
	background-color: #2BBAA2;
}

#news:hover {
	background-color: #4DDCC4;
}

#about {
	background-color: #782AF5;
}

#about:hover {
	background-color: #9A4CF7;
}

#gallery {
	background-color: #0000DD;
}

#gallery:hover {
	background-color: #2222FF;
}

#contact {
	background-color: #ED601A;
}

#contact:hover {
	background-color: #FF823C;
}

#offer {
	background-color: #FFA500;
}

#offer:hover {
	background-color: #FFC722;
}

#documents {
	background-color: #37524D;
}

#documents:hover {
	background-color: #59746F;
}

#contact-table {
	width: 400px;
}

#map {
	width: 500px;
	height: 500px;
	margin: 20px;
}

.button {
	text-decoration: none;
	color: #000;
	padding: 10px;
	border: 1px dotted #666;
	transition: 0.2s;
}

.button:hover {
	box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.tile {
	text-align: center;
	margin: 5px;
	padding: 10px;
	box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.3);
}

.menu-tile {
	float: left;
	margin: 5px;
	width: 190px;
	height: 170px;
	text-align: center;
	transition: 0.2s;
	box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.3);
}

.menu-tile:hover {
	transform: scale(1.05);
}

.menu-tile > a > img {
	width: 100px;
	height: auto;
	margin-top: 5px;
}

.menu-tile > a {
	display: block;
	text-decoration: none;
	color: black;
	padding: 10px;
	height: 150px;
}

#gallery-container {
	text-align: center;
	padding: 0;
	margin: 0;
}

.thumbnail-tile {
	display: inline-block;
	position: relative;		/*for MS Edge*/
	margin: 5px;
	padding: 0px;
}

.thumbnail {
	transition: 0.3s;
	transition-delay: 0s;
	height: 100px;
	width: auto;
	margin: 0px;
	padding: 0px;
	max-width: 530px;
	max-height: auto;
	vertical-align: middle;
	box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.4);
	position: relative;							/*for MS Edge*/
}

.thumbnail:hover {
	z-index: 1;
	transition-delay: 0.5s;
	transform: scale(3.0);
}

#slideshow {
	margin: 10px;
	text-align: center;
}

#slide-pane {
	position: relative;
	display: inline-block;
	min-width: 500px;
	min-height: 300px;
	background-image: url("images/ajax-loader.gif");
	background-position: center;
}

.slide {
	display: none;
	width: 500px;
	background: white;
}

.slide-button {
	position: absolute;
	top: 0%;
	background: transparent;
	border: 1px solid transparent;
	opacity: 0;
	transition: 0.3s;
	height: 100%;
	width: 30%;
	padding: 0px;
	cursor: pointer;
}

.slide-button:hover {
	opacity: 0.8;
}

.slide-button:focus, .slide-button:active {
	outline: none;
}

.slide-button::-moz-focus-inner {
	padding: 0;
	border: 0;
}

.slide-button > img {
	display: table-cell;
	vertical-align: middle;
	width: 50px;
	height: 50px;
	opacity: 0.7;
	margin: auto;
	transition: 0.3s;
}

#slide-prev {
	left: 0px;
}

#slide-prev > img {
	transform: rotate(-90deg);
}

#slide-next {
	right: 0px;
}

#slide-next > img {
	transform: rotate(90deg);
}

#preview {
	margin: 0px;
	padding: 0px;
}

.preview-thumbnail {
	height: 70px;
	width: auto;
	min-width: 40px;
	background-image: url("images/expand.png");
	opacity: 0.6;
	transition: 0.3s;
	display: inline-block;
	margin: 5px;
	display: none;
}

.preview-thumbnail:hover {
	opacity: 1;
	transform: scale(1.2);
	z-index: 1;
	cursor: pointer;
}

#return-to-gallery {
	display: block;
	padding: 5px;
	text-align: center;
	background-color: green;
	transition: 0.3s;
}

#return-to-gallery:hover {
	transform: translateY(-10px);
	box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.3);
	background-color: #0A0;
}

#return-to-gallery img {
	height: 40px;
}

.offer-pane {
	padding: 10px;
	margin-top: 30px;
	background-color: #F0F0F0;
	text-indent: 20px;
}

#floating-images {
	position: fixed;
	background-color: transparent;
	z-index: -1;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) translateX(-355px);
}

#floating-images img {
	position: absolute;
	opacity: 0;
	visibility: hidden;
	box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.4);
	transition: 0.3s;
	transform: translate(-50%, -50%);
}

.headers-list {
	list-style: none;
	padding: 0px;
}

.headers-list > li {
	font-size: 1.5em;
	margin: 15px;
	border-bottom: 1px solid #666;
}

.headers-list > ul {
	padding-left: 30px;
}

.menu-list {
	list-style: none;
	margin: 0px;
	padding: 0px;
}

.menu-list > li {
	background-color: green;
	padding: 0px;
	margin: 5px;
	transition: 0.2s;
	position: relative;
}

.menu-list > li:hover {
	background-color: #0A0;
	transform: translateX(10px);
	box-shadow: -10px 10px 10px rgba(0, 0, 0, 0.3);
}

.menu-list > li a {
	display: block;
	text-decoration: none;
	color: white;
	font-size: 1.10em;
	padding: 10px;
	padding-left: 20px;
}

.list-opts {
	list-style: none;
	display: inline-block;
	position: absolute;
	right: 0;
	top: 0;
	padding: 0px;
}

.list-opts li {
	display: inline-block;
	transition: 0.2s;
}

.list-opts li:hover {
	transform: scale(1.5);
}

.bar-menu {
	list-style: none;
	margin: 10px 20px 10px 20px;
	padding: 0px;
	display: block;
}

.bar-menu > li {
	display: inline-block;
	padding: 0px;
	margin: 0px;
	margin-right: -4px;		/*remove space between inline-blocks*/
	text-align: center;
}

.bar-menu > li > a,
.bar-menu > li > button,
.bar-menu > li > .dropdown-menu > .dropdown-title {
	min-width: 70px;
	text-decoration: none;
	background: transparent;
	color: black;
	display: block;
	border: none;
	border-right: 1px dotted #666;
	transition: 0.3s;
	margin: 0px;
	padding: 5px 10px 5px 10px;
	cursor: pointer;
}

.bar-menu > li:last-child > a {
	border-right: 1px dotted transparent;
}

.bar-menu > li > a:hover,
.bar-menu > li > button:hover,
.bar-menu > li > .dropdown-menu:hover > .dropdown-title {
	background-color: #D0B060;
	color: white;
}

.dropdown-menu {
	position: relative;
}

.dropdown-title::after {
	background-image: url("images/expand.png");
	background-size: 10px 10px;
	display: inline-block;
	width: 10px;
	height: 10px;
	content: "";
	margin-left: 5px;
	transition: 0.3s;
}

.dropdown-menu:hover > .dropdown-title::after {
	transform: rotate(90deg);
}

.dropdown-menu > ul {
	visibility: hidden;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	opacity: 0;
	list-style: none;
	margin: 0px;
	padding: 0px;
	box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.4);
	transition: 0.2s;
}

.dropdown-menu > ul > li {
	border-top: 1px dotted #666;
}

.dropdown-menu > ul > li > a {
	display: block;
	padding: 5px;
}

.dropdown-menu > ul > li:hover {
	background-color: #F2D282;
}

.dropdown-menu:hover {
	box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.4);
	background-color: #D0B060;
}

.dropdown-menu:hover > ul {
	visibility: visible;
	background-color: #D0B060;
	opacity: 0.95;
}

.grid-view {
	list-style: none;
	text-align: center;
	margin: 0px;
	padding: 0px;
}

.grid-view > li {
	display: inline-block;
	width: 200px;
	height: 250px;
	padding: 0px;
	margin: 10px;
	color: #000;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	transition: 0.3s;
	overflow: hidden;
	position: relative;
}

.grid-view > li:hover {
	transform: scale(1.1);
}

.grid-view > li > a {
	display: block;
	height: 100%;
	margin: 0px;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 100px;
	transform: translatex(-50%);
}

.grid-view > li img {
	height: 200px;
	width: auto;
}

.grid-view > li .grid-opts {
	position: absolute;
	top: 10px;
	right: 0px;
	transform: translateX(40px);
	transition: 0.2s;
}

.grid-view > li:hover .grid-opts {
	transform: translateX(0px);
}

.grid-opts {
	list-style: none;
}

.grid-opts li {
	margin-bottom: 20px;
}

.img-check-list {
	margin: 0px;
	padding: 0px;
	list-style: none;
}

.img-check-list > li {
	display: inline-block;
	position: relative;
	margin: 5px;
}

.img-check-list > li img {
	height: 100px;
	width: auto;
	vertical-align: middle;
	transition: 0.3s;
	box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.3);
}

.img-check-list > li input[type=checkbox] {
	position: absolute;
	top: 5px;
	right: 5px;
	visibility: hidden;
	z-index: 1;
}

.img-check-list > li input[type=checkbox]:checked {
	visibility: visible;
}

.img-check-list > li input[type=checkbox]:checked + label > img {
	transform: scale(0.8);
	filter: brightness(50%);
}

.icon {
	width: 25px !important;
	height: 25px !important;
	vertical-align: middle;
	padding: 0px;
	margin: 0px;
	margin-right: 10px;
}

#users-table {
	border-collapse: collapse;
	margin: auto;
	margin-top: 20px;
}

#users-table a {
	display: block;
	margin: 0px;
	padding: 10px 20px 10px 20px;
}

#users-table a:focus {
	outline: none;
}

#users-table th {
	padding: 10px;
}

#col-headers th {
	background-color: #C0A050;
}

#users-table td {
	margin: 0px;
	padding: 0px;
	text-align: center;
}

#users-table tr {
	border-bottom: 1px dotted black;
	border-radius: 0px;
	padding: 0px;
}

#users-table tr:last-child {
	border-bottom: none;
}

#users-table tr:hover {
	background-color: #F4E494;
}

#article {
	display: block;
	height: 390px;
}

#article:focus {
	outline: none;
}

.article-img {
	display: block;
	max-width: 530px;
	margin: auto;
	margin-bottom: 10px;
}

#create-user input[type=submit] {
	display: block;
	margin: auto;
	margin-top: 20px;
	width: 150px;
}

#create-user fieldset {
	border: none;
	float: left;
}

#photo-input {
	position: relative;
	width: 150px;
	height: 175px;
	border: 1px solid #999;
	float: left;
	overflow: hidden;
}

#photo-input img {
	position: absolute;
	width: 95%;
	height: auto;
	margin-left: 50%;
	margin-top: 87px;
	transform: translate(-50%, -50%);
}

#photo-input span {
	position: absolute;
	bottom: 5px;
	left: 0;
	right: 0;
	text-align: center;
	padding: 1px;
	background-color: rgba(255, 255, 255, 0.6);
}

#photo-input input {
	display: none;
}

#add-preview {
	margin: 5px;
	border-bottom: 1px dotted #666;
}

#user-bio {
	height: 250px;
}

.user-tile {
	margin: 10px;
	padding: 20px 0px;
	background-color: #DDD;
}

.user-tile img {
	width: 150px;
	height: auto;
	padding: 5px;
	margin: 10px;
	margin-right: 0px;
	float: left;
}

.user-tile span {
	float: left;
	padding: 10px;
	width: 310px;
	min-height: 100%;
	border-left: 1px dotted #666;
	margin-left: 0px;
}

.user-tile h3 {
	margin: 5px;
}

.editor-pane {
	border: 1px solid #0A0;
}

.editor {
	padding: 5px;
	font-size: 17px;
	resize: vertical;
	overflow: auto;
	min-height: 200px;
	text-indent: 20px;
}

.editor:focus {
	outline: none;
}

.editor-opts {
	list-style: none;
	text-align: center;
	padding: 0px;
	margin: 5px;
	display: block;
	border-bottom: 1px dotted #0A0;
}

.editor-opts .button-group {
	border: 1px solid #AAA;
	border-radius: 3px;
	display: inline-block;
	margin: 0px;
	padding: 0px;
}

.editor-opts li {
	display: inline-block;
	margin: 0px;
	float: left;
}

.editor-opts button {
	background-color: transparent;
	border: 1px solid transparent;
	border-right: 1px solid #AAA;
	padding: 5px;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	margin: 0px;
	cursor: pointer;
	width: 40px;
}

.editor-opts .button-group li:last-child button {
	border-right: 1px solid transparent;
}

.editor-opts button:hover {
	border: 1px solid #999;
}

.confirmation {
	border: 1px solid green;
	color: green;
	text-align: center;
	margin: auto;
	margin-bottom: 10px;
	padding: 10px;
}

.error {
	display: inline-block;
	padding: 5px;
	margin: 2px 10px 3px 10px;
	color: #FF0000;
}

.fatal {
	font-size: 20px;
	padding: 10px;
	border: 1px solid #FF0000;
	display: block;
	color: #FF0000;
}

.input-error {
	border: 1px solid red;
}

#social-media-tile {
	position: fixed;
	list-style: none;
	font-size: 1.5em;
	right: 0;
	top: 40%;
	transform: rotate(90deg);
	transform-origin: right top 0;
}

#social-media-tile li {
	transition: 0.3s;
	transform: translateY(-20px);
}

#social-media-tile li:hover {
	cursor: pointer;
	transform: translateY(-5px);
}

#social-media-tile a {
	display: inline-block;
	padding: 10px;
	padding-top: 35px;
}

#social-media-tile a label {
	display: inline-block;
}

#fb {
	background-color: #3B5998;
}

#fb:hover {
	background-color: #5D7BBA;
}
