/* 
General

body {
	margin: 0;
	background: -webkit-linear-gradient(left, rgb(235, 244, 248), white, white, white, rgb(235, 244, 248)); For Safari 5.1 to 6.0	background: -o-linear-gradient(right, rgb(235, 244, 248), white, white, white, rgb(235, 244, 248)); For Opera 11.1 to 12.0	background: -moz-linear-gradient(right, rgb(235, 244, 248), white, white, white, rgb(235, 244, 248)); For Firefox 3.6 to 15	background: linear-gradient(to left, rgb(235, 244, 248), white, white, white, rgb(235, 244, 248));
}
*/


body {
	margin: 0;
	background: url("images/background_image.jpg");
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;

    }

a:link, a:visited {
	text-decoration: none;
	color: inherit;
}

a:hover, a:active {
	font-family: sans-serif;
	text-decoration: none;
	color: inherit;
}

span {
	display: inline-block;
}

div.content {
	position: relative;
	padding: 67px 0 0;
	min-height: calc(100vh - 60px);
	min-height: -o-calc(100vh - 60px); /* opera */
	min-height: -webkit-calc(100vh - 60px); /* google, safari */
	min-height: -moz-calc(100vh - 60px); /* firefox */
	clear: both;
	width: 100%;
}

p {
	font-family: sans-serif;
	font-size: 16px;
	margin: 0;
}

@media only screen and (min-width: 650px) {
	p {
		font-size: 20px;
		}
		}

p.clear {
	clear: both;
	height: unset;
}

a.anchor {
	display: block;
	position: relative;
	top: -60px;
	visibility: hidden;
}

h2 {
	font-family: "Futura", sans-serif;
	font-weight: 100;
	text-align: center;
	font-size: 2em;
	margin: 0 auto;
	display: block;
	padding: 0 0 15px;
	width: 50%;
}

h3 {
	text-align: left;
	font-family: "Baskerville", serif;
	font-weight: bold;
	font-variant: small-caps;
	font-size: 1.8em;
	display: block;
	margin: 0;
	padding: 0 1em;
}

/* HEADER/NAV BAR */
/*MOBILE NAVBAR CODE*/
@media only screen and (max-width: 650px) {

/*hide menubar for larger screens*/
div#banner {
	display: none;
}

/*stretch bar across the window*/
div.dropdown {
	width: 100%;
    background-color: #375e21;
    opacity: .8;
    position: fixed;
    z-index: 10;
}

/* Dropdown Button */
.dropbtn {
    background-color: #375e21;
    font-family: sans-serif;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

/* Dropdown button on hover & focus */
.dropbtn:hover {
    background-color: rgba(235, 244, 249, .4);
    color: black;
}

.dropbtn:focus {
	color: black;
	background-color: rgba(235, 244, 249, .8);
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(235, 244, 249, .9);
    min-width: 160px;
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    padding: 1em 2em;
    text-decoration: none;
    display: block;
}

.dropdown-content ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #fff}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:block;}

li#navhome {
	color: #213914;
}

li#navwork {
	color: #375e21;
}

li#navresearch {
	color: #4c842e;
}

li#navwriting {
	color: #579735;
}

li#navbio {
	color: #6dbd42;
}

li#navcontact {
	color: #7cc355;
}

}
/*TABLET NAVBAR CODE*/
@media only screen and (min-width: 650px) {

/*hide dropdown for mobile devices*/
	div#mobileMenu {
		display: none;
	}

    div#banner {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 60px;
	border-bottom: 1px solid white;
	background: rgb(235, 244, 249);
	z-index: 10;
}

div#navbar {
	position: absolute;
	width: 100%;
	font-family: "Baskerville", serif;
	font-variant: small-caps;
}

#navbar ul {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-around;
	align-items: center;
	text-align: center;
	font-size: 1.6em;
	padding: 0 1em;
	height: 60px;
	line-height: 60px;
	margin: 0;
}

#navbar li {
	display: inline-block;
	width: 10em;
	margin: auto;
	overflow: hidden;
	padding: 0;
}


#navbar li:hover, li:active {
	font-family: sans-serif;
}

@keyframes navBorder {

}

li#navhome {
	font-family: sans-serif;
	color: #213914;
	background: inherit;
}

li#navwork {
	color: #375e21;
}

li#navresearch {
	color: #4c842e;
}

li#navwriting {
	color: #579735;
}

li#navbio {
	color: #6dbd42;
}

li#navcontact {
	color: #7cc355;
}
}

/*LAPTOP & DESKTOP NAVBAR CODE*/
@media only screen and (min-width: 920px) {

/*hide dropdown for mobile devices*/
	div#mobileMenu {
		display: none;
	}

    div#banner {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 60px;
	border-bottom: 1px solid white;
	background: rgba(235, 244, 249, .8);
	z-index: 10;
}

div#navbar {
	position: absolute;
	width: 100%;
	font-family: "Baskerville", serif;
	font-variant: small-caps;
}

#navbar ul {
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	align-items: center;
	text-align: center;
	font-size: 1.6em;
	padding: 0 10%;
	height: 60px;
	line-height: 60px;
	margin: 0;
}

#navbar li {
	display: inline-block;
	width: 10em;
	margin: auto;
	overflow: hidden;
	padding: 0 1em;
}


#navbar li:hover, li:active {
	font-family: sans-serif;
}

@keyframes navBorder {

}

li#navhome {
	font-family: sans-serif;
	color: #213914;
	background: white;
}

li#navwork {
	color: #375e21;
}

li#navresearch {
	color: #4c842e;
}

li#navwriting {
	color: #579735;
}

li#navbio {
	color: #6dbd42;
}

li#navcontact {
	color: #7cc355;
}
}

/*END NAVBAR*/

/*FLOATED*/
.floatLeft {
	float: left;
}

.floatRight {
	float: right;
}

p.floatLeft {
	padding: 0 3% 0 7%;
}

/*TITLE PAGE*/

p#name {
	font-family: "Futura", sans-serif;
	font-size: 2em;
	text-align: center;
	font-variant: small-caps;
	font-weight: bold;
	letter-spacing: 4px;
	margin: 12vh 0 0;
}

p#name::first-letter {
	font-size: 1.5em;
}

p.byline {
	font-family: "Futura Light", sans-serif;
	margin: 2vh auto;
	text-align: center;
	color: rgb(226, 244, 253);
}

/*TABLET & DESKTOP TITLE PAGE*/
@media only screen and (min-width: 650px) {
p#name {
	font-family: "Futura", sans-serif;
	font-size: 4em;
	text-align: center;
	font-variant: small-caps;
	font-weight: bold;
	letter-spacing: 4px;
	margin: 12vh 0 0;
}

p#name::first-letter {
	font-size: 1.8em;
}

p.byline {
	font-family: "Futura Light", sans-serif;
	margin: 2vh auto;
	font-size: 2.4em;
	text-align: center;
	color: rgb(226, 244, 253);
}

}

/*WORK PAGE*/
/*MOBILE WORK PAGE*/
@media only screen and (max-width: 650px) {

a#work {
	top: -74px;
}

div#workDiv {
	background: rgb(255, 255, 255);
	background: -webkit-linear-gradient(left, rgb(235, 244, 248), white, white, white, rgb(235, 244, 248)); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(right, rgb(235, 244, 248), white, white, white, rgb(235, 244, 248)); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(right, rgb(235, 244, 248), white, white, white, rgb(235, 244, 248)); /* For Firefox 3.6 to 15 */
	background: linear-gradient(to left, rgb(235, 244, 248), white, white, white, rgb(235, 244, 248));
	padding: 100px 0 50px;
	height: fit-content;
	overflow: auto;
}

img#graphikaLogo {
	width: auto;
	height: 40px;
	background: black;
	opacity: .85;
	padding: 20px 25%;
	margin: 0 auto;
	clear: both;
	display: block;
	position: absolute;
	top: 10px;
	right: 0;
	left: 0;
	z-index: 40;
}

p.graphika {
	width: 90%;
	margin: 15px auto 5px;
	line-height: 1.4em;
}

div#graphikaRight {
	background: url("images/graphic1.png");
	padding: 0;
	margin: 0 auto;
	width: 100%;
	float: none;
	position: absolute;
	top: 0;
	z-index: 1;
	height: 100px;
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
}

/*TABLET & DESKTOP WORK PAGE*/

@media only screen and (min-width: 650px) {

a#work {
	top: -74px;
}

div#workDiv {
	background: rgb(255, 255, 255);
	background: -webkit-linear-gradient(left, rgb(235, 244, 248), white, white, white, rgb(235, 244, 248)); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(right, rgb(235, 244, 248), white, white, white, rgb(235, 244, 248)); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(right, rgb(235, 244, 248), white, white, white, rgb(235, 244, 248)); /* For Firefox 3.6 to 15 */
	background: linear-gradient(to left, rgb(235, 244, 248), white, white, white, rgb(235, 244, 248));
}

img#graphikaLogo {
	width: 25vw;
	height: 6.5vw;
	padding: 3vh 0 4vh;
	margin: -70px auto 20px;
	clear: both;
	display: block;
}

p.graphika {
	width: 55vw;
	font-size: 1.4em;
	margin: 0 0 1.6em;
	line-height: 1.4em;
}

div#graphikaRight {
	background: url("images/graphic1.png");
	padding: 0 7% 3% 0;
	margin: 0 5vw 0 0;
	width: 20vw;
	height: 45vh;
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
}

/* RESEARCH PAGE */ 
/*MOBILE RESEARCH PAGE CODE*/

@media only screen and (max-width: 650px) {
a#research {
	top: 2px;
}

div#researchDiv {
	background: rgba(235, 244, 249, .9);
	padding-top: 1em;
	height: auto;
	overflow: auto;
}

p#researchHeading {
	text-align: center;
	font-family: serif;
	font-size: 1.8em;
	font-weight: bold;
	color: #213914;
	padding: 0;
}

.contentHeading::first-letter {
	font-size: 2em;
}

#projectsDiv, #grantsDiv, #booksDiv {
	padding: 0 0 1em;
	width: 100%;
	float: left;
}

span#bookCenter {
	display: none;
}

div.hidden {
	display: none;
	position: fixed;
	padding: 70px 2em 1em;
	font-size: 1.2em;
	z-index: 9;
	top: 0;
	bottom: 0;
	background: rgb(235, 244, 249);
	overflow: auto;
}

p.clickToClose {
	text-align: center;
	clear: both;
	padding: 2em 0;
}

#respondentSamplingDiv, #berkmanPaperDiv, .titleOverviewDiv {
	padding: 1em 0;
	overflow: auto;
}

div#socialContagionGrant {
}

div#bookChapterDetails {
}

div#respondentDrivenSampling {
}

div#berkmanPaperSeries {
}

p.researchTitle {
	font-family: "Futura", sans-serif;
	font-size: 1.2em;
	margin-left: 2em;
	float: left;
	width: 60%;
}

p.researchCreditsLeft {
	display: none;
}

p.researchCreditsRight {
	display: none;
}

a.button {
	color: #fff;
	font-family: "Futura", sans-serif;
	float: right;
	background: #375e21;
	border-radius: 3px;
	display: block;
    padding: 4px 6px;
	margin: 1em 2em 0;
	font-size: 1em;
	text-align: center;
}

a.button:hover {
	font-family: "Futura", sans-serif;
	color: #ffffff;
	background: #375e21;
	outline: 2px solid #ffffff;
	cursor: pointer;
}

a.button:active {
	-moz-box-shadow: inset 0 0 10px #333;
	-webkit-box-shadow: inset 0 0 10px #333;
	box-shadow: inset 0 0 10px #333;
}

p.researchDetails {
	line-height: 1.6em;
	margin: 1em;
}

span.circleLeft {
	display: none;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    background: #375e21;
    float: left;
    margin-left: 3%;
    margin-top: 1%;
}

span.circleRight {
	display: none;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    background: #375e21;
    float: left;
    margin-left: 3%;
    margin-top: 5%;
}

}
/*TABLET & DESKTOP RESEARCH PAGE CODE*/

@media only screen and (min-width: 650px) {
a#research {
	top: 2px;
}

div#researchDiv {
	border-top: 2px solid rgba(235, 244, 249, 1);
	background: rgba(235, 244, 249, 1); /* For browsers that do not support gradients */
	background: -webkit-linear-gradient(left, rgba(235, 244, 249, 1), white, rgba(235, 244, 248, 1), white, rgba(235, 244, 249, 1)); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(right, rgba(235, 244, 249, 1), white, rgba(235, 244, 248, 1), white, rgba(235, 244, 249, 1)); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(right, rgba(235, 244, 249, 1), white, rgba(235, 244, 248, 1), white, rgba(235, 244, 249, 1)); /* For Firefox 3.6 to 15 */
	background: linear-gradient(to left, rgba(235, 244, 249, 1), white, rgba(235, 244, 248, 1), white, rgba(235, 244, 249, 1));
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#researchDiv h2 {
	width: 50%;
	position: absolute;
	left: 0;
	z-index: 1;
	}

p#researchHeading {
	text-align: center;
	font-family: serif;
	font-size: 2.2em;
	font-weight: bold;
	margin: 0 0 2em;
	color: #213914;
}

.contentHeading::first-letter {
	font-size: 2.6em;
}

div#projectsDiv {
	margin: 100px 0 0;
	padding-left: 2vw;
	width: 50%;
	position: absolute;
	left: 0;
	z-index: 1;
}

div#grantsDiv {
	padding: 6vh 0 0 2vw;
	width: 50%;
	float: right;
	clear: right;
	z-index: 1;
}

div#booksDiv {
	padding: 4vh 0 6vh 2vw;
	width: 50%;
	position: relative;
	float: right;
	z-index: 1;
}

span#bookCenter {
	background: rgba(87, 151, 53, 1);
	min-height: calc(100vh);
	min-height: -o-calc(100vh); /* opera */
	min-height: -webkit-calc(100vh); /* google, safari */
	min-height: -moz-calc(100vh); /* firefox */
	width: 1px;
	position: absolute;
	top: -1px;
	bottom: 0;
	right: 50%;
	display: block;
	z-index: 10;
    box-shadow: 0 0 100px #579735, 0 0 30px #375e21, 0 0 15px #213914, 0 0 5px #000000;
}

div.hidden {
	display: none;
}

p.clickToClose {
	display: none;
}


div#socialContagionGrant {
	padding: 2% 1% 0 0;
    width: 50%;
    position: absolute;
    left: 0;
    z-index: 6
}

div#bookChapterDetails {
	padding: 2% 1% 0 0;
    width: 50%;
    position: absolute;
    left: 0;
    z-index: 6
}

div#respondentDrivenSampling {
	padding: 2% 0 0 1%;
    width: 50%;
    position: absolute;
    right: 0;
    z-index: 6
}

div#berkmanPaperSeries {
	padding: 2% 0 0 1%;
    width: 50%;
    position: absolute;
    right: 0;
    z-index: 6
}

p.researchTitle {
	font-family: "Futura", sans-serif;
	font-size: 1.2em;
	margin: 4vh 1vw 2vh 4vw;
}

p.researchCreditsLeft {
	font-family: sans-serif;
	font-size: 1.1em;
	line-height: 1.6em;
	margin: 4vh 6vw 10vh;
}

p.researchCreditsRight {
	font-family: sans-serif;
	font-size: 1.1em;
	line-height: 1.6em;
	margin: 4vh 6vw;
}

a.button {
	color: #375e21;
	font-family: "Futura", sans-serif;
	float: right;
	border: 2px solid #375e21;
	border-radius: 3px;
	display: block;
    padding: 4px 6px;
	margin: 4% 8% 4% 4%;
	font-size: 1em;
	text-align: center;
}

a.button:hover {
	font-family: "Futura", sans-serif;
	color: #ffffff;
	background: #375e21;
	outline: 2px solid #ffffff;
	cursor: pointer;
}

a.button:active {
	-moz-box-shadow: inset 0 0 10px #333;
	-webkit-box-shadow: inset 0 0 10px #333;
	box-shadow: inset 0 0 10px #333;
}

a.leftButton {
	margin-top: 0;
	margin-left: 0;
}

p.researchDetails {
	font-size: 1.2em;
	line-height: 1.6em;
	margin: 4% 4% 4% 6%;
}

span.circleLeft {
	display: none;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    background: #375e21;
    float: left;
    margin-left: 3%;
    margin-top: 1%;
}

span.circleRight {
	display: none;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    background: #375e21;
    float: left;
    margin-left: 3%;
    margin-top: 5%;
}
}


/*WRITING PAGE*/
/*MOBILE WRITING PAGE CODE*/

@media only screen and (max-width: 650px) {

a#writing {
	top: 10px;
}

div#writingDiv {
	height: fit-content;
	overflow: auto;
}

div#writingContainer {
	background: rgba(255, 255, 255, .8);
	width: 100%;
	margin: 70px 0;
}

div.writingBlock {
	width: 100%;
	margin-bottom: 1em;
}

.bigLetter::first-letter {
	font-size: 1.4em;
}

p.writingDetails {
	font-family: sans-serif;
	padding: 0 1em 2em;
	font-size: 1.2em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

a.blogGames {
	padding: 1vh 1vw;
	background: white;
	opacity: .8;
	border-radius: 3px;
	font-family: "Futura", sans-serif;
	font-weight: 100;
	font-size: 1.6em;
	display: block;
}

a.blogGames:hover, a.blogGames:active {
	font-family: "Futura", sans-serif;
	outline: 2px solid rgb(216, 234, 243);
}

p.blogDetails {
	margin: 0;
	line-height: 1.4em;
	font-size: 1.2em;
	font-family: serif;
	padding: 0;
	width: 70%;
}

ul#gamesList {
	padding-right: 3em;
	float: right;
	margin: 0;
}

#gamesList li {
	line-height: 1.4em;
	font-size: 1.2em;
	padding: 0 0 10px;
}

li.bold {
	font-weight: bold;
}

.center {
	text-align: center;
}


}
/*TABLET AND DESKTOP WRITING PAGE CODE*/

@media only screen and (min-width: 650px) {
a#writing {
	top: 10px;
}


div#writingDiv {/* 

	padding: 70px 0;
 */

    min-height: calc(100vh + 10px);
    min-height: -o-calc(100vh + 10px);
    min-height: -webkit-calc(100vh + 10px);
    min-height: -moz-calc(100vh + 10px);
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

div#writingContainer {
	background: rgba(255, 255, 255, .8);
	background: -webkit-linear-gradient(left, rgba(235, 244, 248, .8), rgba(255, 255, 255, .8), rgba(255, 255, 255, .8), rgba(255, 255, 255, .8), rgba(235, 244, 248, .8)); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(right, rgba(235, 244, 248, .8), rgba(255, 255, 255, .8), rgba(255, 255, 255, .8), rgba(255, 255, 255, .8), rgba(235, 244, 248, .8)); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(right, rgba(235, 244, 248, .8), rgba(255, 255, 255, .8), rgba(255, 255, 255, .8), rgba(255, 255, 255, .8), rgba(235, 244, 248, .8)); /* For Firefox 3.6 to 15 */
	background: linear-gradient(to left, rgba(235, 244, 248, .8), rgba(255, 255, 255, .8), rgba(255, 255, 255, .8), rgba(255, 255, 255, .8), rgba(235, 244, 248, .8));
	height: fit-content;
	top: 70px;
	right: 0;
	bottom: 80px;
	left: 0;
}

div.writingBlock {
	width: 45vw;
	min-height: 30vh;
	padding: 2vh 1vw;
}

div.writingDetails {
	padding: 0 2vw;
	height: fit-content;
}

.bigLetter::first-letter {
	font-size: 1.8em;
}

p.writingDetails {
	font-family: sans-serif;
	padding: 0 1vw 4vh;
	font-size: 1.4em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

a.blogGames {
	padding: 1vh 1vw;
	font-family: "Futura", sans-serif;
	font-weight: 100;
	font-size: 2em;
	display: block;
}

a.blogGames:hover, a.blogGames:active {
	font-family: "Futura", sans-serif;
	outline: 2px solid rgb(216, 234, 243);
}

p.blogDetails {
	margin: 1em 0;
	line-height: 1.4em;
	font-family: serif;	
	font-size: 1.4em;
	padding: 0;
	width: 70%;
}

ul#gamesList {
	padding: 0;
	float: right;
}

#gamesList li {
	line-height: 1.4em;
	font-size: 1.4em;
	padding: 0 0 10px;
}

li.bold {
	font-weight: bold;
}

.center {
	text-align: center;
}
}

 /*BIO PAGE*/
/* 
 a#bio {
 	top: 0;
 }
 */
 
 div#bioDiv {
 	padding: 60px 0 0;
	height: fit-content;
	overflow: auto;
 }
 
 #bioDiv h2 {
	position: absolute;
	top: 76px;
	z-index: 4;
	background: rgba(255, 255, 255, .7);
	width: 100%;
}
 
 div#bioDiv div {
 	background: rgb(216, 234, 243);
 	padding: 1em 0;
 }
 
img#bioPic {
	width: 100%;
}

p.bioText {
	padding: 0 1em 1em;
	font-size: 1.2em;
	width: auto;
}

@media only screen and (min-width: 650px) {
p.bioText {
	max-width: 50vw;
	padding: 4vh 4vw;
	font-size: 1.4em;
}

img#bioPic {
	width: 25vw;
	padding: 1em 2em 1em 4em;
}

 #bioDiv h2 {
	position: initial;
	top: auto;
	background: none;
	width: 50%;
}
}

/* CONTACT PAGE */



a#contact {
	top: 0;
}

div#contactDiv {
	position: relative;
	bottom: 0;
	width: 100%;
	padding: 40px 0 0;
	min-height: calc(100vh - 60px);
	min-height: -o-calc(100vh - 60px); /* opera */
	min-height: -webkit-calc(100vh - 60px); /* google, safari */
	min-height: -moz-calc(100vh - 60px); /* firefox */
}

div#socialMedia {
	margin: 0;
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	align-items: center;
}

#socialMedia img {
	height: 40px;
	width: 40px;
	padding: 0 2vw;
}

form#emailVlad {
	width: 70%;
	margin: 0 15% 0 10%;
	color: #fff;
}

@media only screen and (min-width: 650px) {
form#emailVlad {
	width: 40vw;
	margin: 0 auto;
	padding: 0 3vw 0 0;
	color: #fff;
}
}

fieldset {
}

div#emailForm {
	margin: auto;
	border: none;
	padding: 1em;
	font-size: 1em;
	font-family: "Futura", sans-serif;
}

label {
	padding: 0 50% 0 0;
}

input {
	margin: 1em;
	padding: 10px;
	background: rgba(216, 234, 243, .8);
	border: 1px solid #3b94c4;
	border-radius: 3px;
	-moz-box-shadow: inset 0 0 10px #333;
	-webkit-box-shadow: inset 0 0 10px #333;
	box-shadow: inset 0 0 10px #333;
	width: 100%;
	height: 1.5em;
	color: #666;
	font-size: 1em;
	font-family: "Futura", sans-serif;
}

textarea {
	width: 100%;
	height: 5.5em;
	margin: 1em;
	padding: 10px;
	background: rgba(216, 234, 243, .8);
	border: 1px solid #3b94c4;
	border-radius: 3px;
   -moz-box-shadow: inset 0 0 10px #333;
   -webkit-box-shadow: inset 0 0 10px #333;
   box-shadow: inset 0 0 10px #333;
   color: #666;
   font-size: 1em;
   font-family: "Futura", sans-serif;
}

input#button {
	position: relative;
	left: 16px;
	margin: 0 auto;
	padding: 0;
	width: 6em;
	height: 2em;
	display: block;
	background: rgba(216, 234, 243, .8);
	border: 1px solid #3b94c4;
	color: #375e21;
   -moz-box-shadow: inset 0 0 10px #333;
   -webkit-box-shadow: inset 0 0 10px #333;
   box-shadow: inset 0 0 10px #333;
}

input#button:hover {
	color: #fff;
	background: #3b94c4;
   -moz-box-shadow: inset 0 0 10px #333;
   -webkit-box-shadow: inset 0 0 10px #333;
   box-shadow: inset 0 0 10px #333;
}

input#button:active {
   -moz-box-shadow: inset 0 0 10px #333;
   -webkit-box-shadow: inset 0 0 10px #333;
   box-shadow: inset 0 0 10px #333;
   background: #89bfdc;
}

div.padding {
	padding: 5vw;
}

.twitter {
	font-size: 1.4em;
	padding: 0 1%;
	vertical-align: middle;
}

.twitter:active, .twitter:hover {
	color: #3b94c4;
}


/* GAMES PAGE */
body#gamesBody {
	margin: 0;
	background: black;
	overflow: hidden;
}

div#backgroundImage {
	background: url("images/background_image.png");
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: -1;
    opacity: .5;
}

p#gamesHeading {
	color: white;
	font-family: "Futura", sans-serif;
	font-weight: 100;
	text-align: center;
	padding: 2vh 0;
	font-size: 3em;
	display: block;
	width: 100%;
}

p#gamesSubheading {
	color: white;
	font-family: sans-serif;
	text-align: center;
	font-size: 1.4em;
	padding: 1vh;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

div#flexbox {
	display: inline-flex;
	flex-flow: row nowrap;
	align-content: space-around;
	align-items: flex-start;
	padding: 3vh 0 0;
	position: relative;
	width: 100%;
	/* Firefox */
	max-height: -moz-calc(100vh - 100px);
	/* WebKit */
	max-height: -webkit-calc(100vh - 100px);
	/* Opera */
	max-height: -o-calc(100vh - 100px);
	/* Standard */
	max-height: calc(100vh - 100px);
	justify-content: center;
}

.gamesHeading {
	text-align: center;
}

.gamePic {
	max-width: 40vw;
	/* Firefox */
	max-height: -moz-calc(100vh - 100px);
	/* WebKit */
	max-height: -webkit-calc(100vh - 100px);
	/* Opera */
	max-height: -o-calc(100vh - 100px);
	/* Standard */
	max-height: calc(100vh - 100px);
}

/*lightbox code*/

.column {
	margin: 3vh 1vw;
	cursor: pointer;
	vertical-align: top;
	max-height: 80%;
	overflow: hidden;
	box-sizing: border-box;
}

/* Tooltip text */
.tooltip .tooltipText {
    visibility: hidden;
    color: #fff;
 
    /* Position the tooltip text - see examples below! */
    position: absolute;
    text-align: center;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltipText {
    visibility: visible;
}

.bookSpine {
	margin: 20px 5px 0;
	width: 60px;
}

.column:hover .bookSpine {
	width: 70px;
	margin: 0;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 30px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: rgba(33, 57, 20, .5);
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}

/* The Close Button */
.close {
  color: #213914;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: white;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
	display: none;
	overflow: auto;
	/* Firefox */
	max-height: -moz-calc(100vh - 60px);
	/* WebKit */
	max-height: -webkit-calc(100vh - 60px);
	/* Opera */
	max-height: -o-calc(100vh - 60px);
	/* Standard */
	max-height: calc(100vh - 60px);
}

.myslides img {
    max-width: 40vw;
    max-height: 80vh;
    padding: 15px 30px 0;
    float: left;
}

.gameBlurb {
	padding: 5vh 1vw;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 45px;
  width: auto;
  padding: 10px;
  margin-top: -50px;
  color: #213914;
  font-weight: bold;
  font-size: 30px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

#caption {
	font-size: 1em;
}
.caption-container {
  text-align: left;
  width: inherit;
  margin: 30px;
  color: green;
  font-size: .8em;
  float: left;
  clear: left;
}

p#noStyle {
	font-size: initial;
	font-family: initial;
}

#home {
	padding: 1vh 1vw;
	font-family: "Futura", sans-serif;
	font-weight: 100;
	font-size: 2em;
	display: block;
	color: #213914;
	position: absolute;
	z-index: 0;
}

#home:hover, #home:active {
	color: #fff;
}