@viewport {
   width: device-width;
   initial-scale:1;
}

html {
	height: 100%;
	font-size:1em;
	-webkit-text-size-adjust:100%;
}


body{
	margin:0;
	padding:0;
	background:transparent url(../img/background_pattern.jpg) top left repeat;
  	font:1em Arial,helvetica,sans-serif;
	line-height: 1.7em;
	color:#5f2f1c;
	width:100%;
	height: 100%;
	overflow-x: hidden;
	background-size: 150px;
}

#main {
	width:95%;
	min-height: 80%;
	background: #491411 url(../img/cloth_pattern.jpg) top left repeat;
	margin: 3% auto 0 auto;
	box-shadow: 0 0 10px 6px #101010;
	border:1px solid #6c1415;
	background-size: 200px;
}

.main_cards {
	min-height: 140% !important;
}

.question_cards {
	min-height: 100% !important;
}

p.content {
	width: 90%;
	display: block;
	color:#d1a554;
	margin: 1em auto 1em auto;
	padding:0;
	font-size: 1em;
	line-height: 1.4em;
	clear:both;
}


p.content a {
	color:#d1a554;
}

#clear {
	clear:both;
}

.popup {
	width:90%;
	background-color: #fbefcc;
	margin: 0 auto 0 auto;
	box-shadow: 0 0 16px 8px #101010;
	border-radius: 15px;
	border: 1px solid #b71800;
	padding:0;
	color:#4d2316;
	overflow: hidden;
	position: relative;
	z-index: 20;
	text-align: center;
	display: none;

}

.popup img {
	width:100%;
	position: relative;
	top:0.7em;
}

.popup img:first-child {
	top:-0.5em;
}

.popup h3 {
	text-align: center;
	padding: 0;
	margin:0;
	font-size: 1.3em;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	font-style: italic;
	margin-bottom: 0.5em;
}

.popup p {
	width:90%;
	margin: 0 auto 0 auto;
	font-size: 1em;
	line-height: 1.4em;
}

.popup a.button_red {
	font-size: 1.3em !important;
	width: 50%;
}

.popup input {
	font-size: 1.2em;
	line-height: 1.6em;
	text-align: center;
	width: 60%;
	background-color: #f0c88a;
	border:1px solid #7d452f;
	border-radius: 5px;
	text-transform: uppercase;
	padding: 3px;
	margin-bottom: 1em;
}

#codeval {
	margin-bottom: 0;
	margin-right: -16px;
}

.popup input[type="tel"] {
	box-shadow: inset 0 0 4px #101010;
}

.popup textarea {
	font-size: 2em;
	width: 90%;
	background-color: #f0c88a;
	border:1px solid #7d452f;
	border-radius: 15px;
}

@media all and (orientation: landscape) {
	.popup textarea {
		height: 2em;
	}
}

.popup div.spacer {
	width: 1em;
	height: 1em;
}

/*
@media all and (orientation: landscape) {
	.popup h3 {
		font-size: 1.3em !important;
	}

	.popup p {
		font-size: 0.8em !important;
	}

	.popup div.spacer {
		width: 1em;
		height: 0.2em;
	}
}*/


.leafs {
	width:100%;
	position: absolute;
	z-index: 10;
	top:0;
	left: 0;
}

.leafs img {
	float:left;
}

.leafs img.left {
	float: left;
	width:80px;
}
.leafs img.right {
	float: right;
	width:100px;
}


.button {
	width:60%;
	border:1px solid #723d23;
	margin: 6% auto 10% auto;
	display: block;
	line-height: 1.5em;
	text-decoration: none;
	text-align: center;
	font-size: 1.4em;
	border-radius: 20px;
	box-shadow: 0 0 15px 5px #101010;
	background: transparent url(../img/leather.jpg) top center no-repeat;
	background-size:100% 100%;
	color:#000000;
	text-shadow: 1px 1px 1px #dcccaa;
	font-weight: bold;
	/*background-size:230px 55px;*/
	padding: 0.3em;
}

.multiline {
	line-height: 1.2em;
	font-size: 1.2em;
	padding: 0 1em 0 1em;
	width: 80%;
}

@media all and (orientation: landscape) {

	.button {
		font-size: 1.5em;
		line-height: 1.8em;
	}
	.multiline {
		line-height: 1.1em;
		font-size: 1.5em;
		width: 80%;
	}
}

.button_red {
	width:60%;
	height: 2em;
	border:1px solid #7f011d;
	margin: 2% auto 0 auto;
	display: block;
	line-height: 2em;
	text-decoration: none;
	text-align: center;
	font-size: 2em;
	border-radius: 20px;
	box-shadow: 0 0 6px 4px #101010;
	background: transparent url(../img/leather_red.jpg) top center no-repeat;
	background-size:100% 100%;
	color:#e7c988;
	text-shadow: -1px -1px 4px #050505, 1px 1px 4px #fea6a6;
	font-weight: bold;
}

.disclaimer {
font-size: 0.9em;
        box-sizing: border-box;
        padding: 1em 1em 0 1em;
        line-height: 1.1em;
/*      font-size: 0.8em;*/
        margin-top: 1em;
}

.disclaimer_top {
color:#5e3821;
      text-align:center;
      font-style:italic;
padding:0.3em;
        /*      background-color:#c8c8c8;
         *              background-color: rgba(100,100,100,0.3);*/
        line-height:1em;
color:#B9996A;
      font-size:0.8em;
}

.price {
	font-size: 0.9em;
	margin-top: 0.5em;
}

#loader {
	visibility: hidden;
	width: 16px;
	position: relative;
	top: 0px;
	left: 22px;
}

#loader img {
	margin-top:0.3em;
	display: block;
}

.logo {
	width: 95%;
	height: 30%;
	margin: 2% auto 2% auto;

}

.logo h3 {
	width: 100%;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	font-style: italic;
	font-size:2em;
	color:#d1a554;
	text-shadow: 2px 2px 8px #101010;
	text-align: center;
	line-height: 1em;
	margin-top: 0;
	margin-bottom: 1%;
}

.logo img {
	width: 60%;
	height: auto;
	margin: 0 auto 0 auto;
	display: block;
}

.title {
	width: 100%;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	font-style: italic;
	font-size:1.5em;
	color:#d1a554;
	text-shadow: 2px 2px 3px #101010;
	text-align: center;
	line-height: 1em;
	margin: 3% 0 0 0;
}

@media all and (orientation: landscape) {
	.logo img {
		margin: 0 0 2%;
		float:left;
		width: 40%;
	}

	.logo h3 {
		margin: 0 0 0 3%;
		float:left;
		font-size: 2.5em;
		line-height: 1.2em;
		width: 55%;
	}
}

.cardback {
	width: 22%;
	background: transparent;	
	border:0;
	border-radius: 7%;
	/*box-shadow: 0 0 10px 4px #101010;*/
	position: relative;
	margin: 1% 0 0 2%;
	float: left;
}

.card {
	width: 22%;
	background: transparent;
	border:0;
	border-radius: 7%;
	/*box-shadow: 0 0 10px 4px #101010;*/
	position: relative;
	margin: 1% 0 0 2%;
	float: left;
	visibility: hidden;

}

.card_meaning {
	width:95%;
	margin:2% auto 0 auto;
	clear: both;
	background: transparent url(../img/divider.png) bottom center no-repeat;
	padding-bottom:2%;
	text-align: justify;
}

.card_meaning div {
	float:left;
	width:30%;
	padding-right: 5%;
}

/*
@media all and (orientation: landscape) {
	.card_meaning div {
		padding-right: 8%;
	}
}*/

.card_meaning img {
	width: 100%;
	background: transparent;
	border:0;
	border-radius: 7%;
	box-shadow: 0 0 5px 3px #101010;
	position: relative;
}

/*
@media all and (orientation: landscape) {
	.card_meaning img {
	width: 120%;
	}
}*/

.card_meaning h3 {
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	font-style: italic;
	font-size:1.7em;
	color:#d1a554;
	text-shadow: 1px 1px 2px #101010;
	text-align: center;
	margin: 0 0 0.5em 0;
}

.card_meaning p {
	color:#d1a554;
	font-size: 1em;
	line-height: 1.6em;
	margin-top: 0;
}

#selected_cards {
	width:95%;
	margin: 5% auto 0 auto;
	position: relative;
	left:1%;
}

#cards_deck {
	width: 20%;
	margin: 2% auto 2% auto;
	position: relative;
}

#cards_deck img:first-child {
	position: relative;
}

#cards_deck img {
	width: 100%;
	position: absolute;
	top:0;
	left:0;
}

/*
.tooltip {
	color:#d1a554;
	width:70%;
	height: 2em;
	line-height: 2em;
	font-size: 1.5em;
	text-align: center;
	margin: 0.5em auto 0.5em auto;
	background-color: #4a1411;
	border: 0em solid #000000;
	box-shadow: -0.03em -0.03em 0.1em #050505, 0.03em 0.02em 0.06em #f0768f;
}*/


@media all and (orientation: landscape) and (min-width:400px) {
	#selected_cards {
		margin: 0;
		width: 82%;
		float: left;
	}

	.card {
		width: 15%;
		margin: 2% 0 0 1%;
		position: relative;
		z-index: 0;
	}

	#cards_deck {
		float: right;
		width: 12.3%;
		margin: 10% 2% 0 0;
	}

	.cardback {
		width: 15%;
	}
}

#footer {
	color:#dfb980;
	width: 90%;
	margin: 10% auto 1% auto;
	text-align: center;
	font-size: 1em;
	line-height: 1.7em;
}

/*
@media all and (orientation: landscape) {
	#footer {
		font-size:1em;
	}
}*/

#footer p {
	font-size:1em;
	line-height: 1.2em;
	margin-top: 3em;
}

#footer a {
	color:#dfb980;
	text-shadow: 2px 2px 2px #101010;
}

.error {
	position: absolute;
	top: 30%;
	left: 18%;
	width: 64%;
	margin: 0;
	border: 2px solid red;
	font-size: 1.2em;
	font-weight: bold;
	color: maroon;
	padding: 0;
	height: 3em;
	line-height: 3em;
	background: white;
	display: none;
}

/*.history {
	font-size:0.8em;
}

.history p.content {
	margin-top: 1.5em;
	line-height: 2em;
}*/

.imgframe {
	display: inline-block;
	padding:1px;
	border: 1px solid #5d1515;
	box-shadow: 0 0 12px 4px #101010;
	width: 85%;
	margin-top: 2em;
	background-color: #4f1616;
}

.imgframe img {
	display: block;
	width: 100%;
}

.center {
	text-align: center;
}

.privacy_list {
	color:#d1a554;
	box-sizing: border-box;
	width: 95%;
}

.privacy_list li {
	line-height: 1.4em;
}

p.first {
	margin-top: 2em;
}

#user_hint {
   display: none;
}

#error_hint {
   visibility: hidden;
   color: red;
   font-weight: bold;
}
