@import url(https://fonts.googleapis.com/css?family=RobotoDraft:regular,bold,italic,thin,light,bolditalic,black,medium);

html {
    height: 100%; /* This is for the body gradient to be displayed desirably */
}

body {
    /* height: 100%; This causes an undesirably large page (whitespace at the bottom) */
}

body {
	background: #1c1e20;
	background: -moz-radial-gradient(center, circle cover, #49739E 0%, #1c1e20 100%);
	background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #49739E), color-stop(100%, #1c1e20));
	background: -webkit-radial-gradient(center, circle cover, #49739E 0%, #1c1e20 100%);
	background: -o-radial-gradient(center, circle cover, #49739E 0%, #1c1e20 100%);
	background: -ms-radial-gradient(center, circle cover, #49739E 0%, #1c1e20 100%);
	background: radial-gradient(center, circle cover, #49739E 0%, #1c1e20 100%);
	background-color: #2b2b2b;
	margin: 16px;
	font-family: Arial, Helvetica, sans-serif;	/* Default font to Arial */
	color: white;
}

img {
	margin-bottom: -4px !important;
}

a {
	color: white;
}

a #pagewrap .flex_body .flex_body_content {
	color: #FAFAD2;
}

body #pagewrap {
	width: 100%;
}

body #pagewrap header .banner {
	/* font-family: "RobotoDraft", "Roboto", sans-serif;
	font-weight: 200;
	font-variant: small-caps; */
	font-family: 'Arizonia', Helvetica, sans-serif;
	font-size: 5em;
	font-weight: 200;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	background-color: transparent;
	text-shadow: 3px 2px 0px rgba(0,0,0,0.1);
}

body #pagewrap header .banner a.banner_link {
	text-decoration: none;
	color: inherit;
}

body #pagewrap header .signature {
	/*
	font-family: "RobotoDraft", "Roboto", sans-serif;
	font-size: 1.9em;
	font-weight: 300;
	*/
	font-size: 1.9em;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: transparent;
	margin: 0.5em;
}

body #pagewrap header .signature img.signature_img {
	height: 1.2em;
}

body #pagewrap header .header_hr {
	margin-bottom: 16px;
	margin-top: 36px;
}

body #pagewrap .flex_body {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
}

body #pagewrap .flex_body .flex_body_navbar {
	position: relative;
	flex: 1 100%;
	flex-shrink: 4;
	width: 100%;
}

body #pagewrap .flex_body .flex_body_navbar #navbar_toggle_overlay {
	position: absolute;
	right: 0;
	top: -58px; /* Make this the navbar toggle button sit nicely in the header */
    background: #A5ABB1 url(/resources/mobile-menu.png) no-repeat center center;
    float: right;
    display: none;
    height: 32px;
    width: 34px;
    margin-top: 10px;
    margin-right: 10px;
    border-radius: 5px;
	cursor: pointer;
}

body #pagewrap .flex_body .flex_body_navbar .flex_body_navbar_child {
	font-family: "RobotoDraft", "Roboto", sans-serif;
	font-size: 2em;
	font-weight: 300;
	display: flex;
	flex-direction: column;
	flex-flow: column wrap;
	align-items: flex-start;
}

body #pagewrap .flex_body .flex_body_navbar .flex_body_navbar_child.follow_scroll {
	position: fixed;
	padding-left: 8px;
}

body #pagewrap .flex_body .flex_body_content {
	flex: 1 100%;
	/* margin-top: 12px; */
	width: 100%;
}

body #pagewrap .flex_body nav .nav_item_container {
	display: block;
	flex: 1 100%;
	text-align: center;
}

body #pagewrap .flex_body nav .nav_item_container .nav_item_content {
	display: inline-block;
	padding: 5px;
	/*background-color: rgb(23, 45, 63);*/
	border: thin solid inherit;
	margin-top: 5px;
	margin-bottom: 5px;
	cursor: pointer;
	-webkit-transition: background-color 0.2s;
	-moz-transition: background-color 0.2s;
	transition: background-color 0.2s;
}

body #pagewrap .flex_body nav .nav_item_container .nav_item_content:hover {
	background-color: rgb(43, 68, 95);
	-webkit-transition: background-color 0.0s;
	-moz-transition: background-color 0.0s;
	transition: background-color 0.0s;
}

.flex_row_container {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
}

.flex_row_container > .flex_row_child {
	flex: 1 100%;
	margin: 0.25em;
	margin-top: 0;
	width: 100%;
}

body #pagewrap footer.footer_container {
	display: flex;
    justify-content: center;
    align-items: center;
	margin-top: 1em;
	margin-bottom: 0.5em;
}

body #pagewrap footer.footer_container .footer_item {
	display: inline-block;
}

.selectable {
	cursor: pointer;
}

/* Description overlay */
.img_description_container {
	position: relative;
}
.img_description_content {
	position: absolute;
	bottom: 0;
	width: calc(100% - 0.5em);
	text-align: center;
	padding: 0.25em;
	background-color: rgba(0, 0, 0, 0.45);
}
.fancybox-title-inside-wrap a {
	color: #3F51B5;
}

/* Perfect sizing workaround */
.square_img_container {
	position: relative;
	width: 100%; /* desired width */
}
.square_img_container:before {
	content: "";
	display: block;
	padding-top: 100%; /* initial ratio of 1:1*/
}
.square_img_container > img {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}

/* Card styling */
.card {	/* This is temporary until the standard card interface is pulled in */
	margin: 0.5em auto;
	width: calc(100% - 1em);
	background-color: white;
	color: black;
	padding: 0.5em;
	box-shadow: 0 1px 2px #333;
	font-family: "RobotoDraft", "Roboto", sans-serif;
	border-radius: 3px;
	vertical-align: top;
}
.card h1 {
	font-size: 2rem;
	font-weight: 200;
}
.card h2 {
	font-weight: 300;
	margin-bottom: 0.2em;
	-webkit-margin-after: 0.2em;
}
.card h3 {
	font-weight: 400;
	margin-bottom: 0.5em;
	-webkit-margin-after: 0.5em;
}
.card h4 {
	font-weight: 500;
	margin-bottom: 0.8em;
	-webkit-margin-after: 0.8em;
}
