body {
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
    background-color: #004488;
    color: white;
    text-shadow: 0px 0.1rem #000000;
    font-size: large;
}

#imagebuffer {
	display: none;
}

a {
	text-decoration: none;
	color: #ffcc99;
}

.main {

}

.container {
  	
}

.header {
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.preheader {
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

h1 {
}

.card {
	display: flex;
	width: 80%;
	height: auto;
	padding: auto;
	margin-left: auto;
	margin-right: auto;
	border-width: 5px;
	border-radius: .5em;
	border-style: dashed;
	background-color: #0066bb;
	box-shadow: 0px 5px #002244;
	transform: scale(1);
  	transition: all 0.1s ease-in-out;
  	-webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

.card:hover {
	transform: scale(1.025);
  	transition: all 0.1s ease-in-out;
}

.card:active {
	transform: scale(1);
	transition: all 0.02s ease-in-out;
}

.card:hover #refreshicon { 
	opacity: 1;
	transition: opacity 0.1s ease-in-out;
	cursor: default;
    transform: rotate(360deg);
    transition: transform 0.3s ease-in-out 0s;
    -webkit-transition: 0.70s;
    -moz-transition: 0.70s;
    -ms-transition: 0.70s;
    -o-transition: 0.70s;
    -webkit-transform: rotate(-360deg);
    -moz-transform: rotate(-360deg);
    -o-transform: rotate(-360deg);
    -ms-transform: rotate(-360deg);
    transform: rotate(-360deg);
}

.card:hover #handicon {
	opacity: 0;
	transition: opacity 0.1s ease-in-out;
}

.card img {
	width: 100%;
	height: auto;
	border-radius: .5rem;
	margin: 20px 20px 0px 20px;
}

.cardimagecontainer {
	width: 20%;
	min-width: 300px;
	min-height: 300px;
	align-items: flex-start;
	padding-right: 20px;
}

#cardimagefloat {
	display: none;
}

#photocreditfloat {
	display: none;	
}

figure {
	margin: 0px;
	border: 0px 0px 20px 0px;
}

figcaption {
	margin-left: 20px;
	margin-right: 20px;
	margin-bottom: 20px;
	text-align: center;
	font-size: small;
	width: 100%;
}

figcaption a {
	text-decoration: none;
}

.cardtextcontainer {
	width: 80%;
	padding: 20px;
}

.cardheader {
	font-size: 2.5rem;
	font-weight: bold;
}

.cardbody {
	font-size: 1.3rem;
}

#refreshicon {
	position: fixed;
	right: -10px;
	bottom: 10px;
	width: 35px;
	height: 35px;
	opacity: 0;
	transition: 0.70s;
	-webkit-transition: 0.70s;
	-moz-transition: 0.70s;
	-ms-transition: 0.70s;
	-o-transition: 0.70s;
	transform: none;
}

#handicon {
	width: 4em;
	height: 6.5em;
	position: absolute;
	bottom: -3em;
	/*right: 15%;*/
	right: -2.5em;
	opacity: 1;
	transition: 0.70s;
  	animation-name: handpoint;
  	/*animation-duration: 8s;*/
  	animation-direction: alternate;
  	animation-duration: 0.4s;
  	animation-iteration-count: infinite;
  	animation-timing-function: ease-in-out;
  	/*animation-delay: 6s;*/
}

/*@keyframes handpoint {
  0% {bottom: -6em; opacity: 1;}
  3% {bottom: -6em; opacity: 1;}
  6% {bottom: -4.5em; opacity: 1;}
  9% {bottom: -6em; opacity: 1;}
  12% {bottom: -4.5em; opacity: 1;}
  15% {bottom: -6em; opacity: 1;}
  18% {bottom: -6em; opacity: 0;}
  100% {bottom: -6em; opacity: 0;}
}*/

@keyframes handpoint {
  from {bottom: -5em;}
  to {bottom: -4.5em;}
}

.footer {
	text-align: center;	
	font-size: 1rem;
	padding-top: 1em;
}

@media only screen and (max-width: 1000px), (hover:none) {
	.header {
		font-size: 1rem;
		width: 90%;
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}

	.howabout {
		font-size: 1.5rem;
	}

	.card img {
		display: none;
	}

	.cardimagecontainer {
		display: none;
	}

	#cardimagefloat {
		display: inline;
		float: left;
		width: 45%;
		height: auto;
		margin: 0px 20px 10px 0px;
	}

	#photocreditfloat {
		display: inline;
	}

	#photocreditfloat a {

	}

	.cardtextcontainer {
		width: 100%;
		padding: 20px;
	}

	.cardheader {
		width: 95%;
		font-size: 1.8rem;
		text-align: center;
	}

	.cardbody {
		font-size: 1.3rem;
	}

	.cardfooter {
		padding-top: 20px;
	}

	#refreshicon {
		display: inline;
	}

	#handicon {
		display: inline;
	}
}

@media (hover:none) and (max-aspect-ratio: 7/9) {
	#refreshicon {
		width: 75px;
		height: 75px;
		right: 0px;
		bottom: 20px;
	}

	.header {
		font-size: 2.5rem;
	}

	.howabout {
		font-size: 3.2rem;
		padding-bottom: 20px;
	}

	.cardtextcontainer {
		padding: 40px;		
	}

	.cardheader {
		font-size: 5rem;
	}

	.cardbody {
		font-size: 3rem;
	}

	.card {
		border-width: 10px;
		border-radius: 2em;		
	}

	#photocreditfloat {
		font-size: 1.5rem;		
	}

	.footer {
		font-size: 2.5rem;
	}
}

@media (hover:none) {
	#refreshicon {
		opacity: 0;
		transform: none;
	}

	#handicon {
		opacity: 1;
	}

	.card:hover {
		transform: scale(1);
	}
}




.faqtext {
	width: 65%;
	max-width: 36em;
	margin-left: auto;
	margin-right: auto;
	margin-top: 1em;
	margin-bottom: 3em;
	font-size: 1.3em;
}

/* Style the button that is used to open and close the collapsible content */
.collapsible {
	background-color: #004488;
	cursor: pointer;
	padding: 18px;
	width: 100%;
	border-width: 5px;
	border-radius: .5em;
	border-style: solid;
	border-color: #ffffff;
	transition: all 0.2s ease-in-out;
	outline: none;
	text-align: left;
	color: #ffffff;
	text-shadow: 0px 0.1rem #000000;
	font-family: 'Roboto', sans-serif;
	font-size: large;
	font-size: 1.5rem;
	font-weight: bold;
	margin: 2em 0em -0.2em 0em;
	box-shadow: 0px 5px #002244;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .collapsible:hover {
	background-color: #0066bb;
}

.active {
	border-bottom-right-radius: 0;
  	border-bottom-left-radius: 0;
  	box-shadow: none;
  	transition: all 0.2s ease-in-out;
}

/* Style the collapsible content. Note: hidden by default */
.content {
	padding: 0 18px;
	background-color: #0066bb;
	border-width: 5px;
	border-radius: .5em;
	border-style: dashed;
	border-color: #ffffff;
	border-top: none;
	border-top-right-radius: 0;
  	border-top-left-radius: 0;
  	border-bottom: none;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.2s ease-out;
	box-shadow: 0px 5px #002244;
}

/*.collapsible:after {
	content: '\02795';
	color: white;
	float: right;
	margin-left: 1em;
	margin-top: auto;
	margin-bottom: auto;
}

.active:after {
	content: "\2796";
}*/

@media (hover:none) and (max-aspect-ratio: 7/9) {
	.faqtext {
		width: 90%;
		max-width: none;
	}

	.collapsible {
		font-size: 3rem;
		padding: 3rem;
	}

	.faqbuttontext {
		
	}

	.content {
		font-size: 2.8rem;
	}

	.content p {
		padding: 2rem;	
	}
}