@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;*/
	background-color:#5e9ab9;
  	font:1em Arial,helvetica,sans-serif;
	line-height: 1.7em;
	color:#52402f;
	width:100%;
	height: 100%;
	overflow-x: hidden;
	background-size: 150px;
}

@media all and (orientation: landscape) and (min-width:890px) {
	body {
		background: #5e9ab9 url(../img/background.jpg) top center no-repeat;
	}
}

a {
	color:inherit;
}

#main {
	width:95%;
	width:95%;
	max-width:850px;
	margin: 0 auto 0 auto;
	position: relative;
}

.angelcards_box {
	background: #eee3e3 url(../img/pattern.png) top left repeat;	
	box-shadow: 0 0 15px #303030;
	border:1px solid #d4b3a9;
	background-size: 200px;
	
}

.content {
	z-index: 10;
	position: relative;
	min-height: 30em;
}

@media all and (orientation: landscape) and (min-width:890px) {
	.content {
		min-height: 45em;
	}
}

#content {

}

table.stiches {
	width:100%;
	margin: 0;
	padding: 0;
	border-collapse: collapse;
	position: relative;
	top:0;left:0;
}

.TL, .TR, .BL, .BR {
	width: 10px;
	height: 10px;
	margin: 0;
	padding: 0;
	position: relative;
	top:0;
	left:0;
	z-index: 0;
}

table.stiches .TL {
	background:transparent url(../img/stich_TL.png) top left no-repeat;
	background-size: 10px 10px;
}

table.stiches .TR {
	background:transparent url(../img/stich_TR.png) top right no-repeat;
	background-size: 10px 10px;
}

table.stiches .BL {
	background:transparent url(../img/stich_BL.png) top left no-repeat;
	background-size: 10px 10px;
}

table.stiches .BR {
	background:transparent url(../img/stich_BR.png) top right no-repeat;
	background-size: 10px 10px;
}


table.stiches .T {
	background:transparent url(../img/stich_T.png) top left repeat-x;
	background-size: 5px 18px;

}


table.stiches .B {
	background:transparent url(../img/stich_B.png) 0 -8px repeat-x;
	background-size: 5px 18px;
}

table.stiches .L {
	background:transparent url(../img/stich_L.png) 0 0 repeat-y;
	background-size: 18px 6px;
}

table.stiches .R {
	background:transparent url(../img/stich_R.png) top right repeat-y;
	background-size: 18px 6px;
}

.decoration_TL {
	position: absolute;
	width: 148px;
	height: auto;
	display: block;
	top:6px;
	left: 6px;
}

.decoration_TR {
	display: block;
	width: 148px;
	height: auto;
	position: absolute;
	top:6px;
	left:-144px;
	transform: scaleX(-1); 
	-webkit-transform: scaleX(-1); 
	-ms-transform: scaleX(-1);
}

.decoration_BL {
	position: absolute;
	width: 149px;
	height: auto;
	display: block;
	top:-250px;
	left: 6px;
}

.decoration_BR {
	display: block;
	width: 149px;
	height: auto;
	position: absolute;
	top:-250px;
	left:-144px;
	transform: scaleX(-1);
	-webkit-transform: scaleX(-1); 
	-ms-transform: scaleX(-1);
}

div.imgbg {
	width: 90%;
	height: auto;
	margin: 0 auto 0 auto;
}

div.imgbg img {
	width: 100%;
}

.main_cards, .question_cards {
	margin-top:0.5em !important;
}

@media all and (orientation: landscape) and (min-width:890px) {

	.main_cards, .question_cards {
		margin-top:3em !important;
	}
	#main {
		margin-top:2em;
	}
}

#right {
	width:100%;
}

#left {
	float:left;
	text-align: center;
	width:30%;
	margin:260px 1em 0 1em;
	font-style: italic;
}

#left img.logo {
	width:80%;
	margin: 0 auto 0 auto;
	display: block;
}

@media all and (orientation: landscape) and (min-width:890px) {
	#right {
		width:65%;
		float:right;
	}
}

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

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

p {
	width: 94%;
	display: block;
	margin: 1em auto 1em auto;
	padding:0;
	font-size: 1em;
	line-height: 1.4em;
}


p a {
	color:inherit;
}

.popup_parent {
   width: 100%;
   height: 100%;
   margin: auto;
   position: absolute;
   top:0;
   z-index: 30;
   display: none;
}

.popup_parent table td {
   vertical-align: middle;
}

.popup {
	width:90%;
	max-width:500px;
	background-color: #fbefcc;
	margin: auto;
	box-shadow: 0 0 15px #707070;
	border-radius: 5px;
	border:2px solid #9e574e;
	background:#f2eaea url(../img/pattern.png) top left repeat;
	padding:0;

	overflow: hidden;
	z-index: 20;
   text-align: center;
}

.popup img {
	width:95%;
	position: relative;
	top:0.7em;
   border-radius: 15px;

}

.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-top:0.5em;
	margin-bottom: 0.5em;
	background: transparent url(../img/divider.png) center bottom no-repeat;
    width: 100%;
    background-size: 240px auto;
    padding-bottom: 1.5em;
    font-weight: normal;
}

.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: 70%;
}

@media all and (orientation: landscape) {
	.popup a.button_red {
		width:50%;
	}
}

input[type=text] {
	border:1px solid #d4b3a9;
	border-radius: 5px;
	display: block;
	margin: 0.5em auto 0.5em auto;
	font-size: 1.5em;
	width: 8em;
	max-width: 70%;
	text-align: center;
	color:#52402f;
	width: 225px;
	max-width: 100%;
	padding: 0.2em;
}

.popup input {
	font-size: 1.2em;
	line-height: 1.6em;
	text-align: center;
	width: 60%;
	background-color: #ffffff;
	border:1px solid #bbb;
	border-radius: 5px;
	text-transform: uppercase;
	box-shadow: 1px 1px 2px #ccc inset;
	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 {
	width: 80%;
    text-align: center;
    border: 1px solid #bbb;
    border-radius: 5px;
    box-shadow: 1px 1px 2px #ccc inset;
    font-size: 1.5em;
    padding: 0.2em;
}

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

@media all and (orientation: landscape) and (min-width:890px) {
	.popup textarea {
		height: 5em;
	}
}

.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 #ffffff;
	margin: 0 auto 0 auto;
	display: block;
	line-height: 1.5em;
	text-decoration: none;
	text-align: center;
	font-size: 1.4em;
	border-radius: 5px;
	box-shadow: 0 0 4px 2px rgba(100, 100, 100, 0.5);
	background-color: #f19a74;
	background: linear-gradient(#f3a985 0%, #f3a985 50%, #f19a74 50%, #f19a74 100%);
	color:#ffffff;
	text-shadow: 0 0 1px #000000, 0 0 5px #faba73;
	font-weight: bold;
	padding: 0.3em;
	max-width: 400px;
	font-style: normal;
}

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

.button:hover {
	background-color: #faa3a3;
	background: linear-gradient(#fbb1b1 0%, #fbb1b1 50%, #faa3a3 50%, #faa3a3 100%);
}

#start_button {
	width:65%;
	margin-top:0.5em;
	font-size:1.4em;
}

#questinfo a.button {
	margin-top:0.5em;
	margin-bottom: 1em;
}

p.start {
	margin: 0 auto 0 auto;
	line-height: 1.3em;
	text-align: center;
}

#start_quote {
	margin:0.4em auto 0 auto;
}

@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;
}

.price {
	/*font-size: 0.8em;
	margin-top: 2.5em;
	color:#5a5a5a;*/
	/*font-size: 0.6em;
	margin-top: 4em;
	color:#9b8b82;*/
	margin-top: 0.5em;
	margin-bottom:0.5em;
	font-size:0.9em;
	font-style:italic;
}

.disclaimer {
	font-size: 0.8em;
	color:#7d6b5a;
	box-sizing: border-box;
	padding: 1em 1em 0 1em;
	line-height: 1.1em;
	margin-top: 1em;
	margin-bottom:1em;
}

.disclaimer_top {
	
	text-align:center;
	font-style:italic;
	padding:0.3em;
	/*      background-color:#c8c8c8;
	*              background-color: rgba(100,100,100,0.3);*/
	line-height:1em;
	color:#F1F2F9;
	font-size:0.8em;
}
@media all and (orientation: landscape) and (min-width:890px) {
	.disclaimer_top {
		color: #5e3821;
		text-align: center;
		font-style: italic;
		padding: 5px;
		background-color: #c8c8c8;
		background-color: rgba(200,200,200,0.3);
		margin-bottom: 90px;
	}
}
/*#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;
	text-align: center;
	line-height: 1em;
	margin-top: 0;
	margin-bottom: 1%;
}

.logo h5 {
	font-size: 1.2em;
	font-weight: normal;
	font-style: italic;
	text-align: center;
	margin-bottom: 0;
	background: transparent url(../img/divider.png) center bottom no-repeat;
	background-size: auto 2em;
	padding-bottom: 2em;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

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

.divider {
	height: 2em;
	width: auto;
	display: block;
	margin: 1em auto 1em auto;
}

#desktop_angel {
	width:65%;
	display: block;
	margin: 1.5em auto 1.5em auto;
	border: 1px solid #7F746B;
}


.title {
	width: 90%;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	font-style: italic;
	font-size:1.5em;
	text-align: center;
	line-height: 1em;
	margin: 3% auto 0 auto;
	background: transparent url(../img/divider.png) center bottom no-repeat;
    width: 100%;
    background-size: 200px auto;
    padding-bottom: 1em;
    font-weight: normal;
}

@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%;
	}
}

@media all and (orientation: landscape) and (min-width:890px) {
	.logo {
		margin-top:0;
	}

	.logo h3 {
		width: 100%;
		margin-bottom: 0;

	}
}

.cardback {
	width: 100%;
	height: 95%;
	background: transparent;
	border:0;
	border-radius: 7%;
	/*box-shadow: 0 0 10px 4px #101010;*/
	position: absolute;
	top: 0;
	left: 0;
	margin: 1% 0 0 2%;
}

.card {
	width: 24%;
	background: transparent;
	border:0;
	border-radius: 7%;
	/*box-shadow: 0 0 1px 1px #505050;
	box-shadow: 0 0 10px 4px #101010;*/
	position: relative;
	margin: 1% 4% 0 5%;
	float: left;	
    z-index: 0;
}

.cardFace {
	width: 100%;
	border-radius: 7%;
}

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

@media all and (orientation: landscape) {
	.card_meaning {
		min-height: 17em;
	}
}

.card_meaning p:last-of-type {
	margin-bottom: 0;
}



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

.clear {
	width:100% !important;
	clear: both !important;
	float: none !important;
}

/*
@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 1px 1px #505050;
	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:inherit;
	text-align: center;
	margin: 0 0 0.5em 0;
	font-weight: normal;
}

ul {
	padding:0;
	list-style-position: inside;
}

.card_meaning p, ul {
	font-size: 1em;
	line-height: 1.6em;
	margin: 0 0 1em 0;
	width: 100%;
}

#selected_cards {
	width:95%;
	margin: 2% auto 0 auto;
	position: relative;
	left:1%;
    z-index: 0;    
}

#cards_deck {
	width: 23%;
	margin: 1em auto 2% auto;
	position: relative;
   z-index: 0;
}

#card_fake {
	position: relative;
	visibility: hidden;
}

#cards_deck img {
	width: 100%;
	box-shadow: 0 0 1px 1px #505050;
	/*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;
}*/

.landscape_spacer {
	width:9%;
	float:left;
	border:1px solid transparent;
	display: none;
}

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

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

	.landscape_spacer {
		display: block;
	}

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

@media all and (orientation: landscape) and (min-width:890px) {
	#selected_cards {
		margin:0 auto 0 auto;
		float: none;
	}
}

#footer {
	color:#FFFFFF;
	width: 90%;
	max-width: 850px;
	margin: 4em 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:0.9em;
	line-height: 1.2em;
	margin-top: 3em;
	color:inherit;
}

#footer a {
	color:inherit;
	text-shadow: 0 0 2px #505050;
}

.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;
	max-width: 350px;
}

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

.center {
	text-align: center;
}

.aboutus_list {
	box-sizing: border-box;
	width: 90%;
	margin: 0 auto 0 auto;
}

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

.privacy_list p {
	width: 100%;
	margin-top: 0;
	font-weight: normal;
}

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

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

#user_hint {
   display: none;
}

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

#payform {
	display: none;
	position: relative;
}

#paywait img {
	width: 40%;
	margin-bottom: 2em;
}

@media all and (orientation: landscape) {
	#paywait img {
		width: 30%;
	}
}

#process_hint {
		opacity: 0;
}
.title_holder {
	min-height: 2em;
	padding-top: 0.5em;
}

#select12cards, #yourcards, #select1card, #yourcard {
	margin: 0 auto 0 auto;
}

#sms_wait_div {
	padding-top: 1.5em;
	display: none;
	line-height:1.5em;
}

#sms_wait_div img {
	top:0;
	width:15px;
	height:15px;
}

#code_button {
	margin-top:1em;
}

#msg_text {
	white-space: nowrap;
}

.front {
	position: relative;
	top: 0;
	left: 0;
	z-index: 10;
}

#cards_desk {
   min-height: 200px;
   margin: 0.2em auto 0 auto;
   position: relative;
   z-index: 2;
   width:100%;   
}

.carddesk {
	width: 14.8%;
    height: 90.2%;
    margin: 0 0 0 5%;
	background: transparent;
	border:0;
	border-radius: 7%;
	position: absolute;
    cursor: pointer;
}

.carddesk img {
	box-shadow: 0 0 1px 1px #505050;
}

.textcenter {
	text-align: center;
}

.textitalic {
	font-style: italic;
}

.textcenter img {
	max-width: 80%;
}
.desktoponly,.desktoponlylink {display: none;}

.mobileonly {display: block;}

@media all and (orientation: landscape) and (min-width:890px) {
    .desktoponlylink { display: inline-block !important; }
    .mobileonly { display: none !important; }
    .desktoponly { display: block !important; }
    
}

#codeerror {
    width: 60%;
    background-color: #ffffff;
    box-sizing: border-box;
    padding: 1em;
    line-height: 1em;
    border: 2px solid red;
    border-radius: 5px;
    z-index: 10;
    position: absolute;
    left:20%;
    font-weight: bold;
    display: none;
}

input.loading {
    background-image: url("../img/ajax-loader.gif");
    background-repeat: no-repeat;
    background-position: 93% 50%;
}

.prev {
	text-align: center;
}

.prev input {
	margin-bottom: 1em;
	font-size: 1.2em;
	line-height: 1.6em;
	text-align: center;
	width: 60%;
	text-transform: uppercase;
	/*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;*/

}

.prev input::-webkit-input-placeholder {
   color: rgba(125,69,47,0.6);
}
.prev input:-moz-placeholder { /* Firefox 18- */
   color: rgba(125,69,47,0.6);
}
.prev input::-moz-placeholder {  /* Firefox 19+ */
   color: rgba(125,69,47,0.6);
}
.prev input:-ms-input-placeholder {  
   color: rgba(125,69,47,0.6);
}

#preverror {
    width: 60%;
    box-sizing: border-box;
    padding: 1em;
    line-height: 1em;
    border: 2px solid red;
    border-radius: 5px;
    font-weight: bold;
    margin: -2em auto 10px auto;
    color: inherit;
    background-color: #ffffff;    
    visibility: hidden;
    position: relative;
    z-index: 10;
}

div.ad {
	text-align: center;
	display: block;
	margin: 0 auto 0 auto;
	font-size:0.7em;
	line-height: 1.2em;
	clear: both;
	margin-bottom:9em;
}

div.ad > div {
	margin: 0 auto 0 auto;
}

#dateval {
	cursor: pointer;
}

.cshadow {
   box-shadow: 0 0 1px 1px #505050;
}

@media all and (orientation: portrait) {   

   #cards_deck.mobileonly > .active {      
      display: none;
   }
   
   #dummy {
      position: relative;
      visibility: hidden;      
   }
   
   #dummy.line_0 {
      top: -220px;
   }
   
   #dummy.line_1,
   #dummy.line_2 {
      top: -110px;
   }
   
   #dummy.line_3 {
      top: 0px;
   }

	#dummy.line_2.monthly {
		top:-60px;
	}
   
	#dummy.line_3.monthly {
		top:-50px;
	}
}