/* Body */
html {
	font-family: "Myriad Pro", "Gill Sans", "Gill Sans MT", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
	background-color: #fffff8;
}

#wrapper {
	width: 80%;
	margin: auto;
	padding: 1rem 0;
}

/* Fonts */
body {
	font-size: 1.5rem;
	font-style: normal;
	font-weight: 200;
	line-height: 1.4;
}

body li {
	margin-bottom: .5rem;
}

body p {
	margin-bottom: .8rem;
}

body em {	font-weight: 300
	
}

/* H1-3 */
h1 {
	font-size: 3 rem;
	color: #1B7CAC;	
	text-transform: uppercase;
	margin: 0;
	padding: 0;
}
h2 {
	font-size: 1.8rem;
	font-weight: 600;
	text-transform: uppercase;
	margin: 0 0 1rem 0;
	padding: 0;
	color: #1B7CAC;
}
h3 {
	font-size: 1.5rem;
	font-weight: 500;
		text-transform: uppercase;
	margin: 2rem 0 1rem 0;
	padding:0;
}

/* Header */
header img {
	width: 15rem;
}

/* Title Bar & Animation */
#animation {
	border-radius: 1.2rem;
	background: #44ade2;
	width: 100%;
}

#title {
	border-radius: 1.2rem;
	background-color: #44ade2;
}

#title img {
	transform: translateY(30%);
	padding-left: 3rem;
}

/* Navigation */
nav {
	font-size: 1.2rem;
	float: right;
}
nav li {
	display: inline;
	padding-left: .5em;
}

/* ToC */
.ToC {
	position:sticky; top: 0 ;
	padding: 4rem 0 0 5rem;
	font-weight: 300;
}

/* Details */
details {
		padding-bottom: 1rem;
}

summary {
	color: #EA4606;
}

details[open] {
	padding-bottom: 1rem;
}

details[open] summary {
	border-bottom: 1px solid #aaa;
}

details summary {
	cursor: pointer;
}

details summary>* {
	display: inline;
}



/* Ready-to-go link */
#ready {
	position: relative;
	display: inline-block;
}

#ready .img-top {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 99;
}

#ready:hover .img-top {
	display: inline;
}

#ready img {
	width: 22rem;
}

/* Links */
a:link {
	color: #EA4606;
	text-decoration: none;
}

a:visited {
	color: #003970;
}

a:hover {
	color:blue;
}

a:active {
	color: #44ade2;
}

#credits {
	width: 100%;
	margin-top: 1.2rem;
	margin-bottom: 1rem;
}

/* Game Choice Buttons */
.gamechoice img {
	width: 22rem;
	margin-left: 4rem;
	margin-bottom: 2rem;
}

.gamechoice {
	position: relative;
	display: inline-block;
}

.gamechoice .img-top {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 99;
}

.gamechoice:hover .img-top {
	display: inline;
}

/* Figure */

figure {
	padding-top: 1rem;
}
figcaption {
	font-size: 1rem;
	font-weight: 400;
	padding-top: 1rem;
}

/* Footer */
footer {
	background-color: #44ade2;
	border-top-style: solid;
	border-top-width: .6rem;
	border-top-color: #f16522;
	font-size: 1.1rem;
}

footer h3 {
	font-size: 1.2rem;
	font-weight: 600;
	text-transform: uppercase;
	line-height: 1.5;
	padding-top: 1.2rem;
}

footer a:link {
	color: #000;
	text-decoration: underline;
}

footer a:visited {
	color: #000;
	text-decoration: underline;
	text-decoration-style: dashed;
	text-decoration-style: dotted;
}

footer a:hover {
	color: #f16522;
}

footer a:active {
	color: #f16522;
}

#ocadlogo {
	width: 16rem;
	padding: 1.2rem;
}

.swiper {
	width: 100%;
	height: 100%;
}

.swiper-slide {
	text-align: center;
	font-size: 18px;
	background: #fff;

	/* Center slide text vertically */
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
}

.swiper-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nav-pills .nav-link {
	color: #EA4606;
	border-radius: 0.2rem;
	border-radius: 1rem 1rem 0 0;
	border: 2px solid #EA4606;
	border-bottom: 0;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
	background-color: #fffff8;
	border: 2px solid #003970;
	border-bottom: 0;
	background-image: linear-gradient(#003970, #fffff8);
	color: #fff;
}

.button {
	opacity: 80%;
	border-radius: 50%;
}

.video-file {
	width: 16rem;
	height: 16rem;
}

.swiper-button-next,
.swiper-button-prev {
	color: #EA4606;
	background-color: #fff;
}

.bg-orange {
	display: none;
	transition: .5s;
}

.video__content:hover {
	transition: .5s;
	transform: scale(1.1);
}

.video__content:hover .bg-orange {
	display: block;
	background-color: #fff;
	color: #000;
}

.btn-outline {
	border: #000 2px #eee;
	/* outline: 2px solid #EA4606; */
	border-bottom: 0px;
	/* border-radius: 1rem 1rem .5rem .5rem; */
}

.swiper-button-next {
	right: -30px;
}

.swiper-button-prev {
	left: -30px;
}

#avatars img {
	height: 14rem;
	padding-right: 2rem;
}

/* Media Queries */

@media (min-width: 768px) {

	}

/* Cards */
.decks
{
	width: 100%;
	text-align: center;
	display: inline-block;
}
.decks h3
{
	text-align: center;
}
.decks img
{
	cursor: pointer;
}
.cards
{
	width: 434px;
	height: 533px;
	margin: 0 auto;
	position: relative;
}
.bgability
{
	background: url("images/stack_ability.png");
	width: 434px;
	height: 533px;
	margin: 0 auto;
}
.bgsituation
{
	background: url("images/stack_situation.png");
	width: 434px;
	height: 533px;
	margin: 0 auto;
}
.bgspark
{
	background: url("images/stack_spark.png");
	width: 437px;
	height: 526px;
	margin: 0 auto;
}
.bgdobbles
{
	background: url("images/stack_dobbles.png");
	width: 437px;
	height: 526px;
	margin: 0 auto;
}
#displayAbilityCard, #displaySituationCard, #displaySparkCard, #displayDobblesCard
{
	display: none;
}
.displayAbilityCard, .displaySituationCard
{
	position: absolute;
	top: 80px;
	left: 82px;
	width: 275px;
	height: 395px;
	border-radius: 10px;
	background: #fff;
}
.displaySparkCard, .displayDobblesCard
{
	position: absolute;
	top: 70px;
	left: 85px;
	width: 275px;
	height: 395px;
	border-radius: 10px;
	background: #fff;
}
.displayAbilityCard img
{
	width: 100px;
}
.displayAbilityCard h3
{
	margin: 3px 0;
}
.displayAbilityCard ul
{
	padding-left: 25px;
	margin-top: 5px;
}
.displayAbilityCard ul li
{
	font-size: 15px;
	text-align: left;
}
.displaySituationCard img
{
	width: 150px;
}
.displaySituationCard h3
{
	margin: 3px 0;
}
.displaySparkCard h3
{
	margin: 3px 0;
}
.displayDobblesCard h3
{
	margin: 3px 0;
}
.displaySituationCard ul
{
	padding-left: 25px;
	margin-top: 5px;
}
.displaySituationCard ul li
{
	font-size: 15px;
	text-align: left;
}
.abilitydata
{
	height: 220px;
	overflow-y: scroll;
}
.situationdata
{
	height: 170px;
	overflow-y: scroll;
}
.sparkdata
{
	height: 170px;
	padding: 0 5px;
	overflow-y: scroll;
}
#showPreviousAbilityCard, #showPreviousSituationCard, #showPreviousSparkCard, #showPreviousDobblesCard
{
	display: none;
}
.abilitycardheader
{
	background: #ED5D24;
	padding: 10px;
	margin: 5px;
	display: inline-block;
}
.situationcardheader
{
	background: #3EADE2;
	padding: 10px;
	margin: 5px;
	display: inline-block;
}
.sparkcardheader
{
	background: #F9D128;
	padding: 10px;
	margin: 5px;
	display: inline-block;
}
.dobblescardheader
{
	background: #F9D128;
	padding: 10px;
	margin: 5px;
	display: inline-block;
}
.dobblesdesc
{
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	font-size: 30px;
}
.showabilitycard
{
	padding: 5px 10px;
	cursor: pointer;
	background: #ED5D24;
	color: #fff;
	font-weight: bold;
	font-size: 24px;
	border: none;
}
.showsituationcard
{
	padding: 5px 10px;
	cursor: pointer;
	background: #3EADE2;
	color: #fff;
	font-weight: bold;
	font-size: 24px;
	border: none;
}
.showsparkcard
{
	padding: 5px 10px;
	cursor: pointer;
	background: #F9D128;
	color: #fff;
	font-weight: bold;
	font-size: 24px;
	border: none;
}
.showdobblescard
{
	padding: 5px 10px;
	cursor: pointer;
	background: #fff;
	color: #000;
	border: 1px solid #000;
	font-weight: bold;
	font-size: 24px;
}
.situationquote, .situationquotesource
{
	padding: 0 10px;
	width: 100%;
	text-align: right;
	display: inline-block;
	box-sizing: border-box;
}