/* Table of contents
––––––––––––––––––––––––––––––––––––––––––––––––––
- Base Styles
- Grid
- Typography
- Links
- Buttons
- Forms
- Lists
- Code
- Tables
- Spacing
- Utilities
- Clearing
- Media Queries
*/

/* Base Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
* {
 box-sizing: border-box;
}

html,
body {
 min-height: 100dvh;
 padding: 0;
 margin: 0;
}

/* NOTE
html is set to 62.5% so that all the REM measurements throughout
are based on 10px sizing. Basically 1.5rem = 15px */
html {
 font-size: 62.5%;
}

@font-face {
 font-family: "Raleway";
 font-style: normal;
 font-weight: 400;
 src: url("../fonts/raleway.eot"); /* IE9 Compat Modes */
 src: local(""), url("../fonts/raleway.eot?#iefix") format("embedded-opentype"),
  /* IE6-IE8 */ url("../fonts/raleway.woff2") format("woff2"),
  /* Super Modern Browsers */ url("../fonts/raleway.woff") format("woff"),
  /* Modern Browsers */ url("../fonts/raleway.ttf") format("truetype"),
  /* Safari, Android, iOS */ url("../fonts/raleway.svg#Raleway") format("svg"); /* Legacy iOS */
}

body {
 font-size: 1.5em; /* currently ems cause chrome bug misinterpreting rems on body element */
 line-height: 1.6;
 font-weight: 400;
 font-family: "Raleway", Arial, sans-serif;
 color: #684931;
 background: #DEE3D4;
}

.wrapper {
 height: 100dvh;
 display: flex;
 flex-flow: row wrap;
 text-align: center;
 z-index: 5;
}

#mug {
	width: 15%;
}

.wrapper > * {
 flex: 1 100%;
}

.header {
 padding-bottom: 10px;
 z-index: 10;
}

.loginnav {
  margin-left: auto;
}

.main {
 min-height: calc(100dvh - 128px);
 display: flex;
 justify-content: center;
 align-items: center;
 text-align: center;
 margin: 0 0 75px 0;
 padding: 0 0 75px 0;
 flex-direction: column;
}
#menuv,
#menuh,
#menuside {
 margin: 0;
 text-align: center;
 position: sticky;
 top: 150px;
}

#menuv {
 display: none;
}

#calendar {
 height: calc(100dvh - 54px);
 width: 100dvw;
 margin: -10px 0 0 0;
 padding: 2rem 0 0 0;
 border: none;
}

#options {
	height: calc(100dvh - 250px);
	width: 80dvw;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
	row-gap: 50px;
}

.navigation {
 position: sticky;
 top: 0;
 display: flex;
 flex-flow: row wrap;
 justify-content: flex-end;
 list-style: none;
 padding: 0;
 margin: 0;
 background: #9FAC80;
}
.navigation a {
 text-decoration: none;
 display: block;
 padding: 1em;
 color: #ffffff;
 transition: background 0.2s;
}
.navigation a:hover {
 color: #ffffff;
 background: #B8C2A1;
 transition: background 0.2s;
}

.navigationvertical {
 display: none;
 flex-flow: column wrap;
 justify-content: flex-start;
 list-style: none;
 padding: 0;
 margin: 0;
 background: #254ea0;
}

.navigationvertical.active {
	 display: block;
	 width: 100%;
	 position: fixed;
}

.navigationvertical a {
 text-decoration: none;
 display: block;
 padding: 1em;
 color: #ffffff;
 border: solid rgba(255, 255, 255, 0.1) 1px;
}
.navigationvertical a:hover {
 color: #ffffff;
 background: #B8C2A1;
}

#burgermenu {
	display: none;
	height: 44px;
	width: 44px;
}

object {
	pointer-events: none;
}

#burger {
	-webkit-filter: invert(1);
   filter: invert(1);
	 max-width: 100%;
}

.loginbutton {
 pointer-events: none;
}

#avatar {
	width: 500px;
}

#loginavatar {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 25%;
}

#avatarNav {
 width: 100%;
 display: block;
 margin: 0 auto;
}

#avatarcontainer {
 height: 54px;
 width: 54px;
}

#albums {
}

#photos {
 z-index: 7;
}

img.banner {
	margin: 7.5px 0 0 0;
  width: 75%;
  object-fit: cover;
  height: 265px;
}

img.framed {
 max-width: 75%;
 margin: 7.5px 0;
 border: solid #000000 5px;
}

.posts img {
	max-width: 100%;
	margin: 0 auto;
	display: block;
}

#dashboard {
 height: calc(100dvh - 54px);
 width: 100dvw;
 margin: -10px 0 0 0;
 padding: 2rem 0 0 0;
 background-color: #2E2D2D;
 border: none;
}

#stream {
	height: calc(100dvh - 56px);
	width: 100dvw;
	margin: -8px 0 0 0;
	border: none;
}

.posts {
 width: 50%;
 text-align: left;
 background-color: #ffffff;
 box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
 margin: 7.5px;
 padding: 0 7.5px;
 border-radius: 4px;
 color: #000000;
}

/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1,
h2,
h3,
h4,
h5,
h6 {
 /* margin-top: 0;
margin-bottom: 2rem; */
 font-weight: 300;
}
h1 {
 font-size: 4rem;
 line-height: 1.2;
 letter-spacing: -0.1rem;
}
h2 {
 font-size: 3.6rem;
 line-height: 1.25;
 letter-spacing: -0.1rem;
}
h3 {
 font-size: 3rem;
 line-height: 1.3;
 letter-spacing: -0.1rem;
}
h4 {
 font-size: 2.4rem;
 line-height: 1.6;
 margin: 0;
 padding: 0;
 letter-spacing: -0.08rem;
}
h5 {
 font-size: 1.8rem;
 line-height: 1.5;
 letter-spacing: -0.05rem;
}
h6 {
 font-size: 1.5rem;
 line-height: 1.6;
 letter-spacing: 0;
}
figcaption {
	font-size: 2.1rem;
}

h1.title {
 color: #684931;
 text-decoration: none;
 margin: 0;
}

.posts h2 {
	margin: 5px;
}
.posts p {
	margin: 5px;
}
p {
 margin-top: 0;
}
#incorrectcreds {
 color: red;
 margin: 0;
}
#captcha-error {
	color: red;
	width: 100%;
}
#password-error {
	color: red;
	margin: -15px 0 5px 0;
	width: 100%;
}
.title {
 color: #684931;
}

h1.error404,
h2.error404 {
 line-height: 0.5em;
}

h4.error404,
h6.error404 {
 line-height: 0;
}

#timer {
	font-size: 4em;
}
/* Links
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
 color: #684931;
 text-decoration: none;
}
a:hover {
 color: #9e5d3e;
 text-decoration: none;
}
a.title:hover {
 color: #9e5d3e;
 text-decoration: none;
}
h1.title,
a.title {
 color: #684931;
 text-decoration: none;
 margin: 0;
}
a.photolabel {
 display: inline-block;
 width: 75%;
 font-size: 2rem;
 text-align: left;
 margin: 0 0 7.5px 0;
} /* was 1.5rem (49% of original rem + 26.666666666667 of original rem as vw)*/
a.svg {
 position: relative;
 display: inline-block;
}
a.svg:after {
 content: "";
 position: absolute;
 top: 0;
 right: 0;
 bottom: 0;
 left: 0;
}
a.tasklinks {
	font-size: 4rem;
}

/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/*.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
 display: inline-block;
 height: 38px;
 padding: 0 30px;
 color: #555;
 text-align: center;
 font-size: 11px;
 font-weight: 600;
 line-height: 38px;
 letter-spacing: 0.1rem;
 text-transform: uppercase;
 text-decoration: none;
 white-space: nowrap;
 background-color: transparent;
 border-radius: 4px;
 border: 1px solid #bbb;
 cursor: pointer;
 box-sizing: border-box;
}
.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
 color: #333;
 border-color: #888;
 outline: 0;
}
.button.button-primary,
button.button-primary,
input[type="submit"].button-primary,
input[type="reset"].button-primary,
input[type="button"].button-primary {
 color: #fff;
 background-color: #33c3f0;
 border-color: #33c3f0;
}
.button.button-primary:hover,
button.button-primary:hover,
input[type="submit"].button-primary:hover,
input[type="reset"].button-primary:hover,
input[type="button"].button-primary:hover,
.button.button-primary:focus,
button.button-primary:focus,
input[type="submit"].button-primary:focus,
input[type="reset"].button-primary:focus,
input[type="button"].button-primary:focus {
 color: #fff;
 background-color: #1eaedb;
 border-color: #1eaedb;
}
*/
/* Forms
–––––––––––––––––––––––––––––––––––––––––––––––––– */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
 height: 38px;
 padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
 background-color: #fff;
 border: 1px solid #d1d1d1;
 border-radius: 0 4px 4px 0;
 box-shadow: none;
 box-sizing: border-box;
}
/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
 -webkit-appearance: none;
 -moz-appearance: none;
 appearance: none;
}
textarea {
 min-height: 65px;
 padding-top: 6px;
 padding-bottom: 6px;
}
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
 border: 1px solid #33c3f0;
 outline: 0;
}
label,
legend {
 display: block;
 margin-bottom: 0.5rem;
 font-weight: 600;
}
fieldset {
 padding: 0;
 border-width: 0;
}
input[type="checkbox"],
input[type="radio"] {
 display: inline;
}
label > .label-body {
 display: inline-block;
 margin-left: 0.5rem;
 font-weight: normal;
}

/* Code
–––––––––––––––––––––––––––––––––––––––––––––––––– */
code {
 padding: 0.2rem 0.5rem;
 margin: 0 0.2rem;
 font-size: 75%;
 white-space: nowrap;
 background: #f1f1f1;
 border: 1px solid #e1e1e1;
 border-radius: 4px;
}
pre > code {
 display: block;
 padding: 1rem 1.5rem;
 white-space: pre;
}

/* Tables
–––––––––––––––––––––––––––––––––––––––––––––––––– */
th,
td {
 padding: 12px 15px;
 text-align: left;
 border-bottom: 1px solid #e1e1e1;
}
th:first-child,
td:first-child {
 padding-left: 0;
}
th:last-child,
td:last-child {
 padding-right: 0;
}

/* Spacing
–––––––––––––––––––––––––––––––––––––––––––––––––– 
button,
.button {
 margin-bottom: 1rem;
}
input,
textarea,
select,
fieldset {
 margin-bottom: 1.5rem;
}
pre,
blockquote,
dl,
figure,
table,
p,
ul,
ol,
form {
 margin-bottom: 2.5rem;
}
*/

/* Utilities
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.u-full-width {
 width: 100%;
 box-sizing: border-box;
}
.u-max-full-width {
 max-width: 100%;
 box-sizing: border-box;
}
.u-pull-right {
 float: right;
}
.u-pull-left {
 float: left;
}

/* Misc
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
 margin-top: 3rem;
 margin-bottom: 3.5rem;
 border-width: 0;
 border-top: 1px solid #e1e1e1;
}

/* Clearing
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Self Clearing Goodness */
.container:after,
.row:after,
.u-cf {
 content: "";
 display: table;
 clear: both;
}

/* Media Queries
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/*
Note: The best way to structure the use of media queries is to create the queries
near the relevant code. For example, if you wanted to change the styles for buttons
on small devices, paste the mobile query code up in the buttons section and style it
there.
*/

/* Smaller than mobile */
@media all and (max-width: 600px) {
#burgermenu {
	display: block;
}
.expanded {
	display: none;
}
.expanded.active {
	display: flex;
	 flex-flow: row wrap;
 justify-content: flex-end;
}
 #avatar {
  width: 400px;
 }
 #avatarNav {
  width: 24px;
 }
 #avatarcontainer {
  width: 100%;
  height: 44px;
  margin: 0 auto;
 }
 #menuh {
  display: none;
 }
 #menuv {
  display: block;
 }
 img.banner {
  width: 100%;
	height: 100px;
 }
 a.photolabel {
  width: 100%;
 }
 .navigation {
  padding: 0;
	justify-content: flex-start;
 }
 .navigation a {
  text-align: center;
  padding: 10px;
 }
  .navigationvertical {
  padding: 0;
	justify-content: flex-start;
 }
 .navigationvertical a {
  text-align: center;
  padding: 10px;
 }
 .navigation li:last-of-type a {
  border-bottom: none;
 }
 .posts {
	width: 100%;
 }
	#timer {
		font-size: 2.5em;
	}
	#dashboard {
  height: calc(100dvh - 44px);
	}
	#stream {
  height: calc(100dvh - 46px);
	}
}

/* Larger than mobile */
@media (min-width: 400px) {
}

/* Larger than phablet */
@media (min-width: 550px) {
 h1 {
  font-size: 5rem;
 } /* was 5.0rem (49% of original rem + 26.666666666667 of original rem as vw)*/
 h2 {
  font-size: 4.2rem;
 }
 h3 {
  font-size: 3.6rem;
 }
 h4 {
  font-size: 3rem;
  line-height: 1.6;
  margin: 0;
  padding: 0;
 } /* was 3.0rem (49% of original rem + 26.666666666667 of original rem as vw)*/
 h5 {
  font-size: 2.4rem;
 }
 h6 {
  font-size: 1.5rem;
 }
}

/* Larger than tablet */
@media (min-width: 750px) {
}

/* Larger than desktop */
@media (min-width: 1000px) {
}

/* Larger than Desktop HD */
@media (min-width: 1200px) {
}

@media all and (min-width: 600px) {
 .aside {
  flex: 1 0 0;
 }
}

@media all and (min-width: 800px) {
 .main {
  flex: 3 0px;
 }
 .main {
  order: 1;
 }
}
