/* CSS Document */

@font-face {
	font-family: 'Roboto Slab';
	src: url("fonts/RobotoSlab-Regular.ttf") format('truetype');
	font-weight: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Roboto Slab';
	src: url("fonts/RobotoSlab-Bold.ttf") format('truetype');
	font-weight: bold;
	font-display: swap;
}

.cell {
	display: table-cell;
	vertical-align: middle;
}

.button{
	padding: 10px 20px;
	border-width: 2px;
	border-style: solid;
	font-size: 1em;
	font-weight: bold;
	outline: none;
	cursor: pointer;
	text-decoration: none;
	border-radius: 3px;
}

html{
	position: relative;
}

body, html{
	min-height: 100%;
	box-sizing: border-box;
}

a img, a:link{
	outline: none;
	border: none;
	font-weight: bold;
}

a, a h1, a h2{
	color: #fff;
	text-decoration:underline;
	font-family: 'Roboto Slab', Georgia, serif;
}

a:visited, a:hover, a:active{
	color: #fff;
	text-decoration:underline;
}

.clearfix:after {
	 visibility: hidden;
	 display: block;
	 font-size: 0;
	 content: " ";
	 clear: both;
	 height: 0;
}

.cursor-pointer{
	cursor: pointer;
}

div{
	box-sizing: border-box;
}

.text-yellow{
	color: #ffdf70;
}

.text-center{
	text-align: center;
}

.block{
	display: block;
}

.top{
	vertical-align: top;
}

.inline-block{
	display: inline-block;
}

.bold{
	font-weight: bold;
}

.text-left{
	text-align: left;
}

.text-field{
	border: none;
	background: white;
	padding: 10px;
}

body{
	font-size: 16px;
	background: url(clouds.png) bottom center fixed no-repeat #353535;
	background-size: contain;
	color: rgba(255, 255, 255, 0.8);
	font-family: 'Open Sans', sans-serif;
	text-align: left;
	margin:0;
	line-height: 25px;
	padding-bottom: 50px;
}

header{
	background-color: rgba(0, 0, 0, 0.21);
	border-bottom: 1px solid rgba(253, 253, 253, 0.1);
	padding: 10px 10px 0 10px;
	/*background: rgba(26, 20, 29, .6);	*/
}

header img{
	height: 25px;
	position: relative;
	top: 3px;
}

div.desc{
	max-width: 70%;
	margin: auto;
	font-size: .9em;
	color: rgba(255, 255, 255, 0.8);
}

footer{
	font-size: 11px;
	background-color: rgba(0, 0, 0, 0.21);
	/*background: rgba(26, 20, 29, .6);*/
	text-align: center;
	padding: 5px 0;
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
}


a.logo{
	display: block;
	float: left;
}
a.share, a.share:visited{
	font-family: 'Open Sans', sans-serif;
	border: 1px solid rgba(255,255,255,.1);
}

h1{
	color: #FFF;
	font-family: 'Roboto Slab', serif;
	font-size: 2.1em;
	font-weight: 400;
	text-transform: uppercase;
	text-align: center;
	margin: 10px 0 30px 0;
	line-height: normal;
}

h2{
	color: #ffdf70;
	font-size:1.5em;
	font-family: 'Roboto Slab', serif;
	font-weight: 400;
	text-align: center;
	padding-top: 5px;
	margin-bottom: 10px;
	/*text-decoration: underline;*/
	/*text-transform: uppercase;	*/
}

.flex-item h1{
	color: #FFF;
	font-family: 'Roboto Slab', serif;
	font-size: 1.4em;
	font-weight: 400;
	text-transform: uppercase;
	text-align: center;
	margin: 10px 0 30px 0;
	line-height: normal;
}

.flex-item h2{
	color: #ffdf70;
	font-size:1em;
	font-family: 'Roboto Slab', serif;
	font-weight: 400;
	text-align: center;
	padding-top: 5px;
	margin-bottom: 10px;
	/*text-decoration: underline;*/
	/*text-transform: uppercase;	*/
}

.wrapper{
	max-width: 720px;
	margin: auto;
	padding-top: 2%;
	margin-bottom: 35px;
}

.flex{
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
}

.flex-item{
	width: 360px;
	padding: 0 30px;
}


.card-back{
	position: relative;
	/*width: 240px;*/
	width: 210px;
	margin: auto;
}


.rune-back{
	position: relative;
	width: 295px;
	height: 295px;
	margin: auto;
}

.loader{
	position: absolute;
	display: block;
	/*top: 126px;
	left: 42px;
	width: 158px;*/
	top: 109px;
	left: 36px;
	width: 141px;
	transition: all 7s linear;
}

.rune-loader{
	position: absolute;
	display: block;
	top: 0px;
	left:0px;
	width: 100%;
	transition: all 7s linear;
	z-index:1;
}

.rune-tree{
	position: absolute;
	top: 55px;
	left: 57px;
	width: 180px;
	margin: auto;
}

#draw:hover .loader{
	display: block;
	/*transform: rotate(360deg);*/
}

img.card{
	width: 100%;
	float: right;
	margin-left: 30px;
}
img.back{
	width: 100%;
}
img.drawn{
	width: 250px;
}

.flex-item img.drawn{
	width: 150px;

	margin: 0 70px;
}

a.share{
	font-size: 15pt;
	text-align: center;
	font-weight: bold;
	color: white;
	display: block;
	width: 100%;
	padding: 20px 0;
	width: 370px;
	margin-top: 40px;
	background: rgb(28, 108, 199);
	text-decoration: none;
}

.q{

	max-width: 720px;
	margin:auto;
	min-height: 50px;
	/*background: red;	*/

}

q:after{
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}

.navwrap{

}

nav{
	margin-left: 65px;
	display: inline-block;
	position: relative;
	z-index: 100;
}

nav a{
	display: inline-block;
	text-decoration: none;
	padding: 7px 15px 13px 15px;
	margin: 0 5px -2px 5px;
	text-decoration: none;
	color: #fff !important;
	font-size: .75em;
}

nav a.selected{
	background: #353535;
	/*background: #292A41;	*/
	color: #fff !important;
	border: 1px solid rgba(253, 253, 253, 0.1);
	border-bottom: none;
}

nav a.unselected{
	background: none;
}

nav a:hover{
	text-decoration: none;
}

/*-- DECK STYLES--*/

h1.cross-title{
	font-size: 1em;
	margin-bottom: 0px;
	color: #fff;
	font-family: 'Open Sans', sans-serif;
	font-weight: bold;
	margin-bottom: 10px;
}

h2.cross-position{
	margin-top: 0;
	color: #fff;
	margin-bottom: 20px;
	font-size: 1.2em;
	color: #ffdf70;

}

p.cross-desc{
	margin-top: 0;
}

h3{
	font-size: .7em;
	text-align: center !important;
	margin: 0 0 30px 0;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.54);
	font-weight: bold;
	font-family: 'Roboto Slab', serif;
}

img.deck{
	width: 90px;
	float: none;
	margin-right: 30px;
}

img.flipped{
	position: absolute;
	z-index: 10;
	transform:rotate(90deg);

}
table.reading-layout{
	margin: auto;
	text-align: center;
	max-width: 300px;
}

table.reading-desc{
	text-align: left;
	max-width: 40%;
	margin: auto;
}

table.reading-layout img{
	width: 80px;
}

table.reading-desc td h1, table.reading-desc td h2{
	text-align: left !important;

}


table.reading-desc tr:nth-child(even){
			background: rgba(255, 255, 255, .05);
}

table.reading-desc td{
		padding: 20px 0 0 0;
}

/*-- numbers--*/


#missing-date{
	display: none;
	font-size: .8em;
	margin-bottom: 10px;
}

.numbers-wrapper{
	padding: 10px 20px 30px 20px !important;
	margin-bottom: 0 !important;
}

.numbers-wrapper:nth-child(even){
	background: rgba(255, 255, 255, .05);
}

.numbers-wrapper h1{
	text-transform: none;
	margin-bottom: 15px;
	font-size: 1em;
}

.numbers-wrapper td.number{
	min-width: 60px;
}
.numbers-wrapper td.number h1{
	font-size: 4em;
	margin-top: -14px;
}

.numbers-wrapper h1.drawn-title{
	font-size: 1em;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.numbers-wrapper table p{

}

.about-page-title{
	margin-top: 80px;
	margin-bottom: 40px;
	text-align: left;
	color: #ffffff;
}


/*-- /numbers--*/

@media only screen and (min-width: 768px) and  (max-width: 1280px) {
	header{
	}

	nav a{
		.75em;
	}

	header img{
		height: 25px;
	}

	h1.drawn-title{
		font-size: 1.5em;
	}
	img.drawn{
		width:250px;
	}

	a.share{
		font-size: 12pt;
		width: 420px;
	}
	div.desc{
		max-width: 70%;
		margin: auto;
}

table.reading-desc{
	max-width: 80%;
}

}

@media only screen and (max-width: 767px) {
	.card-back {
 		 width: 200px;
	}
	.loader {
		top: 104px;
		left: 35px;
		width: 133px;
	}
	.rune-loader{
		top: 0px;
		left:0px;
		width: 100%;
	}

	.wrapper{
		padding: 5% 2%;
		margin-bottom: 0;
	}
	body{
		font-size: .95em;
	}

	header img{
		height: 15px;
	}

	img.drawn{
	width:120px;
	display: block;
	float: none;
	margin: auto;
	margin-top: 30px;
	}

	 h1.drawn-title{
		font-size: 1.5em;
		margin: 0 0 30px 0;
	}

	h2 {
	font-size: 1em;
	padding-top: 10px;
	margin-bottom: 5px;
	}

	a.share{
		font-size: 12pt;
		width: 100%;
	}

	div.desc{
	max-width: 95%;

}

table.reading-desc{
	max-width: 80%;

}

}

/*-- DECK STYLES--*/

@media only screen and (max-width: 500px){
	body{
		padding-bottom: 50px;
	}

	h1{
		font-size: 1.3em;
		margin: 3px 0 30px 0;
	}
	h2{
		margin-bottom: 15px !important;
		font-size: 1.1em;
		padding-top: 0;
	}

	header{
		padding: 0;
	}

	.navwrap{
		overflow: auto;
	}

	.card-back {
		width: 96px;
	}

	.loader {
		top: 51px;
		left: 19px;
		width: 61px;
	}

	a.share{
		font-size: 10pt;
		padding: 9px 0;
		margin-top: 25px;
	}

	.rune-back{
		width: 175px;
		height: 175px;
	}

	.rune-tree{
		top: 32px;
		left: 35px;
		width: 110px;
	}

	.rune-loader{
		top: 0px;
		left:0px;
		width: 100%;
	}

	img.drawn{
		width: 85px;
	}

	img.drawn.rune{
		width: 50px;
	}

	a#draw, a#draw-cross, a#draw-rune, a#draw-hexa{
		font-size: .8em;
		line-height: 17px;
	}

	a.logo {
		display: block;
		float: none;
		margin: 0 0 5px 10px;
	}

	nav {
 		margin: 0;
		display: block;
	}

	nav a{
		padding: 2px 10px 2px 10px;
		margin: 0 0 5px 0;
		text-decoration: none;
		font-size: .7em;
	}

	nav a.selected{
		border: 1px solid rgba(253, 253, 253, 0.1);
	}

	/*-- DECK STYLES--*/

	h2.cross-position{
		margin-top: 0;
		padding-top: 0;
		margin-bottom: 10px;
	}

	h3{
		display: none;
	}

	h1.cross-title{
		font-size: .8em;
		margin-bottom: 10px;
	}

	p.cross-desc{
		margin-bottom: 0px;
	}

	table.reading-desc{
		max-width: 95%;
	}

	table.reading-desc tr td:first-child{
		width: 20%;
		padding-right: 20px;
		overflow: hidden;
	}

	table.reading-desc td{
		padding: 20px 0;
	}

	img.deck{
	width:70px;
	float: none;
	margin-right:0;
	margin-left: 0;
	}

	.about-page-title {
		margin-top: 20px;
	}
}
