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

html {
	height: 100%;
	font-size:14px;
	-webkit-text-size-adjust:100%;
}


body{
	margin:0;
	padding:0;
	background-color:#0d0c3d;
	background-image: url(../img/background_mobile.jpg);
	background-size: 100% auto;
	background-repeat: no-repeat;
  	font:16px Arial,helvetica,sans-serif;
	line-height: 1.7em;
	color:#ad3675;
	width:100%;
	height: 100%;
	overflow-x: hidden;
}

@media all and (orientation: landscape) {
	body {
		background-color:#0d0c3d;
		background-image: url(../img/background_landscape.jpg);
		background-position: top left;
		background-size: 890px 450px;
	}
}

@media all and (orientation: landscape) and (min-width:890px) {
	body {
		background-color: #0d0c3d;
		background-image: url(../img/background.jpg), url(../img/background_tile.png);
		background-size: 1400px auto, 1px 817px;
		background-size: 1400px auto, 1px 816.7px;
		background-attachment: scroll;
		background-position: top center, top left;
		background-repeat: no-repeat, repeat-x;
	}
}

/*
@media all and (orientation: landscape) and (min-width:1300px) {
	body {background-size: 1600px auto;}
}

@media all and (orientation: landscape) and (min-width:1600px) {
	body {background-size: 1920px auto;}
}*/
/*
@media all and (orientation: landscape) and (min-width:1400px) {
	body {background-size: 100% auto;}
}*/
#top_decor {
	display: none;
}

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

	#top_decor {
		position: relative;
		margin:5px auto 0 auto;
		width:300px;
		height: 35px;
	}
}



.divider {
	width: 80%;
	max-width: 400px;
	height: 3em;
	display: block;
	margin:1em auto 1em auto;
	background-image: url(../img/heart_bottom.png);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: center center;
}

@media all and (orientation: landscape) {
	#right.start .divider {
		margin-top:0;
	}
}


/*
	#top_decor {
		position: relative;
		display: block;
		margin:10px auto 0 auto;
		width:320px;
		height: 35px;
	}
}*/

.sheet {
	background-color: #fff7f1;
	background-image: url(../img/sheet_decor_TL.png), url(../img/sheet_decor_TR.png), -webkit-linear-gradient(to right, #e3d4c8 0%, #fff7f1 10%, #fff7f1 90%, #e3d4c8 100%);
	background-image: url(../img/sheet_decor_TL.png), url(../img/sheet_decor_TR.png), linear-gradient(to right, #e3d4c8 0%, #fff7f1 10%, #fff7f1 90%, #e3d4c8 100%);
	background-position: top left 2px, top right 2px, top center;
	background-repeat: repeat-y, repeat-y, no-repeat;
	background-size: 16px 42px, 16px 42px, auto auto;
	border:1px solid #fffaf6;
	box-shadow: 0 0 3px 1px #101010;
	position: relative;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	padding: 0.5em 0 1em 0;	
	min-height: 550px;
}

.sheet_holder {
	position: relative;
	min-height: 10em;
}


.rot1, .rot2 {
	display: none;
}


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

	.sheet {
		min-height: 800px;
		padding-bottom:5em;
	}

	.rot1, .rot2 {
		display: block;
		position: absolute;
		transform: rotate(-3deg);
		background-image: -webkit-linear-gradient(to right, #e3d4c8 0%, #fff7f1 10%, #fff7f1 90%, #e3d4c8 100%);
		background-image: linear-gradient(to right, #e3d4c8 0%, #fff7f1 10%, #fff7f1 90%, #e3d4c8 100%);
		background-position: top center;
		background-repeat: no-repeat;
		background-size: auto auto;
		max-height: 550px;
	}

	.rot1 {
		transform: rotate(-4deg);
	}

	.rot2 {
		transform: rotate(-2deg);
	}
}

#main {
	width: 95%;
	max-width: 950px;
	margin:1.2em auto 0 auto;
	/*width:95%;
	max-width:850px;
	min-height: 80%;
	background: #f9eacd url(../img/hearts_pattern.jpg) top left repeat;
	background-size: 150px 150px;
	margin:1.1em auto 0 auto;
	box-shadow: 0 0 3px 1px #606060;
	border:1px solid #b04349;
	position: relative;
	border-radius: 5px;*/
}

#main.start {
	margin-top:1.2em;
}

/*
@media all and (orientation: portrait) and (max-width: 320px) {
	#main.start {
		margin-top:1.2em;
	}
}*/

#main.details {
	margin-top:10px;
}

#main.main_cards, #main.question_cards {
	margin-top:10px;
	/*margin-top:1em;
	padding-bottom: 7em;
	min-height: 100% !important;*/
}

@media all and (orientation: landscape) {

	#main,#main.start {
		margin-top:20px;
		/*width:95%;
		max-width:850px;
		min-height: 80%;
		background: #f9eacd url(../img/hearts_pattern.jpg) top left repeat;
		background-size: 150px 150px;
		margin:1.1em auto 0 auto;
		box-shadow: 0 0 3px 1px #606060;
		border:1px solid #b04349;
		position: relative;
		border-radius: 5px;*/
	}

	#main.start {
		width: 95%;
		margin-right: 0 auto 0 auto;
	}

	#main.details {
		margin-top:20px;
	}



	/*#main {
		margin-top:3em;
	}
	#main.start,#main.details {
		background: transparent;
		box-shadow: none;
		border:0;
		max-width: 950px;
	}*/
}

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

	#main {
		margin-top:50px;
		min-height: 750px;
	}

	#main.start {
		margin-top:50px;
		width: 95%;
		float: none;
		margin-right: auto;
	}
}

#bottom_heart {
	display: block;
	margin:3em auto 0 auto;
	width: 125px;
	height: 56px;
}

ul.start {
	width: 90%;
    margin: 0 auto 0 auto;
    top:0px;
    color: #ad3675;
    list-style: none;
    text-align: center;
    padding: 0;
    line-height: normal;
  
    
    /*background-image:linear-gradient(to bottom, rgba(69,40,21,0.65) 0%, rgba(69,40,21,0) 100%);
    color:#f6dcce;
    text-shadow1: 1px 1px #7a5655;
    -webkit-text-stroke: 1px #7a5655;
    text-shadow: -1px 0 #7a5655,0 1px #7a5655,1px 0 #7a5655,0 -1px #7a5655;*/
    z-index: 0;
    position: relative;
    
}

ul.start li {
	padding: 0 0.5em 0 0.5em;
	margin-top: 0.4em;
}

ul.start li:first-of-type {
	padding-top:0em;
}

ul.start li:last-of-type {
	font-weight: bold;
}

@media all and (orientation: portrait) and (max-width: 320px) {
	ul.start li {
		margin-top: 0.2em;
	}
}

@media all and (orientation: landscape) and (min-width:890px) {
	ul.start {		
		min-height: 220px;
		width: 67%;
		color: #13104a;
		background-color: #ffb3d6;
    	background-color: rgba(255, 179, 214, 0.7);
   		border-radius: 10px;
    	background-image: url(../img/bottom_decor.png);
    	background-position: bottom 2px left 2px;
    	background-repeat: repeat-x;
    	background-size: 30px 9px;
    	padding: 20px 0 25px 0;
    	top:-17px;
	}

	ul.start li {
	}

	ul.start li {
		margin-top: 0.75em;
	}
}

#right {
	width:100%;
	padding-bottom: 2em;
	min-height: 25em;
}


/*#right div.button_decor {
	margin-top:-10px;
}*/

#left {
	float:left;
	text-align: center;
	width:35%;
	margin:1em 1em 0 0;
}

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

/*#left div.button_decor {
	width: 100%;
}*/

@media all and (orientation: landscape) {
	#right {
		min-height: 21em;
	}
}

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

	/*
	#right,#left {
		background: #f9eacd url(../img/hearts_pattern.jpg) top left repeat;
		box-shadow: 0 0 3px 1px #606060;
		border:1px solid #b04349;
		background-size: 150px;
		border-radius: 5px;
	}*/

	#right {
		width:60%;
		float:right;
		box-sizing: border-box;
		min-height: 45em;
	}

	#left {
		box-sizing: border-box;
		padding-bottom: 1em;
		margin-top:215px;
		position: relative;
		left:75px;
	}

	#left img.logo {
		width:70%;
		margin-top: -25%;
	}

	/*#right div.button_decor {
		margin-top:0;
	}*/

	
}


p {
	width: 90%;
	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: 3;
   display: none;
}

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

.popup {
	width:90%;
	max-width:500px;
	margin: auto;
	box-shadow: 0 0 16px 2px #101010;
	border-radius: 7px;
	border: 1px solid #e95aa5;
	padding:0;
	color:inherit;
	overflow: visible;
	z-index: 20;
	text-align: center;
	box-sizing: border-box;
	padding:4px;
	background-color: #881e56;
	border:1px solid #ffa5be;

}


.popup .inner {
	background-color: #fff7f1;
	background-image: url(../img/sheet_decor_TL.png), url(../img/sheet_decor_TR.png), -webkit-linear-gradient(to right, #e3d4c8 0%, #fff7f1 10%, #fff7f1 90%, #e3d4c8 100%);
	background-image: url(../img/sheet_decor_TL.png), url(../img/sheet_decor_TR.png), linear-gradient(to right, #e3d4c8 0%, #fff7f1 10%, #fff7f1 90%, #e3d4c8 100%);
	background-position: top left 2px, top right 2px, top center;
	background-repeat: repeat-y, repeat-y, no-repeat;
	background-size: 16px 42px, 16px 42px, auto auto;
	border-radius: 7px;
	border:1px solid #fff7f1;
}


.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 div.top {
    width: 100%;
    margin-bottom:10px;
}

.popup div.top img {
    width: 18px;
    height: 18px;
    display: block;
    margin: 3px auto 0 auto;
}


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

	.popup {
		padding:8px;
	}
	.popup div.top img {
		width: 24px;
		height: 24px;
		display: block;
		margin: 3px auto 0 auto;
	}
}

input[type=text], input[type=date] {
    border: 1px solid #ad3675;
    color:#ad3675;
    border-radius: 5px;
    padding: 0.3em;
    background-color: #fdf8ee;
    margin-bottom: 0.2em;
    text-align: center;
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    line-height: 2.2em;
    height: 2.2em;
    font-family: inherit;
    font-size:1em;
    text-align: center;
    box-sizing: border-box;
/*    -webkit-padding-start: 0;*/
}

input[type=date] {
	padding-top:0;
}


#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: #ffffff;
	border:1px solid #ad3675;
	border-radius: 5px;
	padding: 10px;
	box-sizing: border-box;
}

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


.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;
	}
}*/

.heartholder {
	margin-top:0;
	margin-bottom: 0;
}

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

.hearts img {
	float:left;
	width:40px;
}

.hearts img.left {
	float: left;
	
}
.hearts img.right {
	float: right;
}

@media all and (orientation: landscape) and (min-width:890px) {
	.hearts {
		display: none;
	}
}


.button {
	width: 60%;
	border:1px solid #962d66;
	margin: 0 auto 0 auto;
	display: block;
	line-height: 2em;
	text-decoration: none;
	text-align: center;
	font-size: 1.4em;
	border-radius: 10px;
	box-shadow: 0 0 8px 0 rgba(43, 8, 13, 0.5);
	background-color: #af3675;
	/*background: -webkit-linear-gradient(#fd5a64 0%, #b12835 50%, #7a0715 100%);
	background: linear-gradient(#fd5a64 0%, #b12835 50%, #7a0715 100%);*/
	color:#ffffff;
	text-shadow: 0 0 1px #000000, 0 0 5px #c58179;
	font-weight: bold;
	padding: 0.3em;
	max-width: 450px;
	font-style: normal;
	box-sizing: border-box;

	background-image: url(../img/button_decor.png), url(../img/button_decor.png), url(../img/button.png); 
	background-size: 90% auto, 90% auto, 100% 100%;
	background-position: center 2px, center bottom 2px, center center;
	background-repeat: no-repeat;
}

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

.button:hover {
	filter: brightness(120%);
}

/*
.button.orange {
	background: -webkit-linear-gradient(#ffcc25 0%, #ee6a0b 50%, #d86631 100%);
	background: linear-gradient(#ffcc25 0%, #ee6a0b 50%, #d86631 100%);
	border:1px solid #f7a67e;
	box-shadow: 0 0 1px 6px rgba(43, 8, 13, 0.5);
}

.button.orange:hover {
	background: -webkit-linear-gradient(#d86631 0%, #ee6a0b 50%, #f88c59 100%);
	background: linear-gradient(#d86631 0%, #ee6a0b 50%, #f88c59 100%);
	padding-top: 0.35em;
	padding-bottom: 0.25em;
}*/

.button_decor {
	padding: 5% 2% 0 2%;
	display: block;
	width: 100%;
	min-height: 100px;
	max-width: 450px;
	margin: 0 auto 0 auto;
	box-sizing: border-box;
	background-image: url(../img/button_decor_background.png);
	background-repeat: no-repeat;
	background-position: top center;
	background-size: 90% auto;

}
@media all and (orientation: portrait) and (max-width: 320px) {
	.button_decor {
		padding:0;
		background: none;
	}
}


@media all and (orientation: landscape) and (min-width: 890px) {
	.button_decor {
		width: 100%;
	}
}

/*
#orangebutton_decor {
	display: none;
}*/

@media all and (orientation: landscape) {
	/*#pinkbutton_decor {
		display: none;
	}*/

	/*#orangebutton_decor {
		display: block;
		position: absolute;
		top:200px;
		left:-84%;
		width: 90%;
		max-width: 320px;
	}*/
}

@media all and (orientation: portrait) and (max-width: 320px) {
	/*#pinkbutton_decor {
		padding-top:20px;
		background-image:none;
	}*/
}

/*
#left > div.button_decor {
	z-index: 5;
    position: relative;
}

.button_decor a.button {
	margin:0 auto 0 auto;
	width: 100%;
	box-sizing: border-box;
}

.button_decor a.button#start_button {
}*/


#start_button {
	width: 70%;
	margin-top:0.5em;
	font-size:1.4em;
	position: relative;
	z-index: 10;
	margin-bottom: 2em;
	
}

#smscode_button {
	margin-top:1em;
}

.historylink {
	margin-top: 4em;
}


/*
@media all and (orientation: landscape) and (min-width: 480px) {
	.button_decor {
		width: 55%;
	}
}
*/

@media all and (orientation: landscape) and (min-width:890px) {
	#start_button {
		margin-bottom: 0;
	}
}


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

@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;
	box-sizing: border-box;
	padding: 1em 1em 0 1em;
	line-height: 1.1em;
/*	font-size: 0.8em;*/
	margin-top: 1em;
	margin-bottom: 0.5em;
}

.disclaimer a {
	color: inherit;
	text-decoration-style: dotted;
}

.disclaimer_top {
	text-align:center;
	font-style:italic;
	padding:0.2em;
	line-height:1em;
	color:#f0a0b0;
	font-size:0.8em;
	position: absolute;
	top:0;
	left: 0;
	width: 100%;
	box-sizing: border-box;
	background-color: rgba(69,40,21,0.2);
	text-shadow: 1px 1px 0 #5a003c;
	text-shadow: -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000;
	z-index: 20;
}

.disclaimer_holder {
	width: 100%;
	max-width: 1400px;
	margin:0 auto 0 auto;
	position: relative;
	border-bottom:1px solid transparent;
}

@media all and (orientation: landscape) {
	.disclaimer_top1 {
		left:0;
		background-color: transparent;
		/*background-image: -webkit-linear-gradient(to right, rgba(69,40,21,0.3) 0%, rgba(69,40,21,0.3) 60%, rgba(0, 0, 0, 0) 100%);
		background-image: linear-gradient(to right, rgba(69,40,21,0.3) 0%, rgba(69,40,21,0.3) 60%, rgba(0, 0, 0, 0) 100%);*/
		width: 45%;
	}
}

@media all and (orientation: landscape) and (min-width:890px) {
	.disclaimer_top {
		color:#f0a0b0;
		background-color: transparent;
		padding: 5px;
		width: unset;
		left: unset;
		top:0;
		padding-left: 8em;
		position: relative;
		float: right;
		/*background-image1: -webkit-linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(69,40,21,0.3) 40%, rgba(69,40,21,0.3) 100%);
		background-image1: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(69,40,21,0.3) 40%, rgba(69,40,21,0.3) 100%);
		border-radius: 0 0 0 200px;*/
		text-align: right;

	}
}

/*#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: 0.3em auto 0.2em auto;

}

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

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

.title {
	width: 90%;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	font-style: italic;
	font-size:1.6em;
	color:#ad3675;
	text-align: center;
	line-height: 1em;
	margin: 0.5em auto 0.2em auto;
}

@media all and (orientation: portrait) and (max-width: 320px) {
	.logo img {
		width: 80%;
	}
}

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

	.logo h3 {
		font-size: 3em;
		line-height: 1em;
		padding-top:0.7em;
	}
}

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

	.title {
		margin-top:1em;
	}

	.logo {
		margin:0 auto 0 auto;
	}

	.logo h3 {
		margin: 0.5em 0 0.5em 0;
		float: none;
		width: 100%;
		padding-top: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;
	z-index: 0;
	/*margin: 1% 0 0 2%;*/
}

.selected_holder {
   position: relative;
   width: 22%;
   margin: 0 0 0 -9.01%;
   float: left;
}

.card {
	width: 100%;
	background: transparent;
	border:0;
	border-radius: 8%;	
	position: relative;	  	
   z-index: 0;
   -webkit-transform: translate3d(0, 0, 0);
   transform: translate3d(0, 0, 0);
}

.personal_holder {
   position: absolute;
   width: 22%;   
   left: 27%;
}

.partner_holder {
   position: absolute;
   left: 51%;
   width: 22%;
}


.partner_holder p, .personal_holder p {
	position: relative;
	width: 88%;
	height: 1.2em;
	text-align: center;
	color: #ad3675;
	font-style: italic;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	border:1px solid #947067;
	background-color: #d8d4be;
	margin:-2.5em auto 0 auto;
	display: block;
	border-radius: 8px;
	font-size: 0.8em;
}

#card_2 {
	left:-25%;
}

#card_6 {
	left:25%;
}

.line52 > img#card_2 {
	left:0;
}

@media all and (orientation: landscape) {
	#card_2,#card_6 {
		left:0;
	}
}

.pcard {
   width: 100%;
   box-shadow: 0 0 1px #000000, 0 0 4px #101010;
   border-radius: 8%; 
}


.line1 {
   position: relative;      
   margin: 0 0 0 0;
}

div.question_cards div.selected_holder.line1 {
	margin:0 auto 0 auto;
	float: none;	
}

.line2 {
   position: relative;   
   margin-top: 25%;   
}

.line3 {
   position: relative;
   margin-top: 45%;
}

.line4 {
   position: relative;
   margin-top: 60%;
}

.line52 {
   position: relative;
   left: 0;
   margin-top: 35%;
}

.line53 {
   position: relative;
   left: 12%;
   margin-top: 50%;
}

.line54 {
   position: relative;
   left: 24%;
   margin-top: 35%;
}

.line55 {
   position: relative;
   left: 26%;
   margin-top:0; 
}

.cardFace {
	width: 100%;
	border-radius: 7%;
	box-shadow: 0 0 1px #000000, 0 0 4px #101010;
}

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

#ask_question:last-of-type {
	margin-top:2em;
}

#quest_button {
	margin-top:1em;
	margin-bottom: 1em;
}

@media only screen and (min-width: 800px) {
	.card_meaning {
		background-size: 50% auto;
	}
}

.card_meaning div {
	float:left;
	width:30%;
	max-width:250px;
	margin-right: 1em;
}

@media all and (orientation: landscape) and (min-width:400px) {
	.card_meaning div {
		width:25%;
	}
}


.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 #000000, 0 0 4px #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;
	text-align: center;
}

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:97%;
	margin: 1% auto 0 auto;
	position: relative;	
	z-index: 0;   
}

div.question_cards #selected_cards {
	min-height: 15em;
}

@media all and (orientation: landscape) and (min-width:400px) {
	div.question_cards #selected_cards {
		min-height: 15em;
	}
}

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

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

#cards_deck img {
	width: 100%;
	/*height: 97.6%;*/
	box-shadow: 0 0 1px #000000, 0 0 3px #101010;
}


div.question_cards div#cards_deck {
	margin-bottom:20%;
}



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

	.card {
		width: 100%;		
		position: relative;
		z-index: 0;
	}

	.selected_holder {
		position: relative;
		width: 15%;
		margin-left: 2.3%;
		float: left;
	}

	.card5 {
		margin: 0 3% 0 3% !important;
	}

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

	#cards_deck img {
		width: 100%;
		/*height: 98%;*/
	}

	.personal_holder {
		position: absolute;
		width: 15%;
		left: 35%;
	}

	.partner_holder {
		position: absolute;
		left: 51%;
		width: 15%;
	}

	.line1 {
		position: relative;
		margin: 0 !important;
	}

	.line2 {
		position: relative;
		margin-top: 12%;
		margin-left:-1%;
	}

	.line3 {
		position: relative;
		margin-top: 24%;
		margin-left:-1%;
	}

	.line4 {
		position: relative;
		margin-top: 30%;
		margin-left:-1%;
	}

	.line5 {
		margin-left:-1%;
	}

	.line52 {
		position: relative;
		left: 0;
		margin-top: 14%;
	}

	.line53 {
		position: relative;
		left: 8%;
		margin-top: 25%;
	}

	.line54 {
		position: relative;
		left: 17%;
		margin-top: 14%;
	}

	.line55 {
		position: relative;
		left: 17%;
		margin-top: 0;
	}

	div.question_cards div#cards_deck {
		margin-top:10%;
	}
}

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

	.line4 {
		margin-top: 30%;
	}
}

#footer {
	color:#f0a0b0;
	width: 100%;
	margin: 0 auto 0 auto;
	text-align: center;
	font-size: 1em;
	line-height: 1.7em;
	padding-top:0;
	box-sizing: border-box;
}

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

#footer hr {
	width: 100%;
	max-width: 400px;
	height: 1px;
	/*background-image: url(../img/footer_top.png);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: bottom left;*/
	border: 0;
	margin:0;
	
}

#footer p {
	width: 100%;
	font-size:0.9em;
	line-height: 1.2em;
	margin-top: 3em;
	color: inherit;
	margin:0;
	padding:1em 5% 1em 5%;
	max-width: 1000px;
	box-sizing: border-box;
	background-color: #0d0c3d;
}

#footer p:first-of-type {
	padding-top:1em;
	margin-top:-1px;
}

#footer a {
	line-height: 2em;
	color:inherit;
}

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

	#footer hr {
		margin:0 auto 0 auto;
		display: block;
		width: 80%;
		max-width: 800px;
		height: 1px;
		border:0;
		background-color: #e1827c;
		background: transparent -webkit-linear-gradient(to right, rgba(225, 130, 124, 0) 0%, rgba(225, 130, 124, 1) 50%, rgba(225, 130, 124, 0) 100%);
		background: transparent linear-gradient(to right, rgba(225, 130, 124, 0) 0%, rgba(225, 130, 124, 1) 50%, rgba(225, 130, 124, 0) 100%);
	}

	#footer {
		padding-top:0;
	}

	#footer p {
		width: 90%;
		margin:0 auto 0 auto;

	}

	#footer p:first-of-type {
		padding-top:3em;
		margin-top:0;
	}
}

.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;
	/*box-shadow: 0 0 3px 1px #606060;*/
	border-radius: 10px;
	width: 85%;
	margin-top: 1em;
	border:1px solid #74273b;
	overflow: hidden;
	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: 50%;
	display: block;
	margin: 0 auto 2em auto;
}

#paywait h3 {
	box-sizing: border-box;
	padding:0 5% 0 5%;
}

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

	#paywait h3 {
		padding:0 10% 0 10%;		
	}
}

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

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

@media all and (orientation: landscape) and (min-width:890px) {
	
	div.title_holder {
		padding-top:0.5em;
	}

	div.title_holder h3.title {
		font-style: normal;
		font-family: Arial, helvetica, sans-serif;
		font-weight: bold;
		font-size: 1.1em;
		text-transform: uppercase;
		background-image: url(../img/line_left.png), url(../img/line_right.png);
		background-position: center left, center right; 
		background-size: 33% 1px, 33% 1px;
		background-repeat: no-repeat;
	}
}

#select1card {
   visibility: hidden;
}

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

#sms_wait_div img {
	top:0;
	width:16px;
	height:11px;
	padding-left: 5px;
}

#code_button {
	margin-top:0.7em;
}

#msg_text {
	white-space: nowrap;
}

.front {
	position: relative;
	top: 0;
	left: 0;
	z-index: 10;
   -webkit-transform: translate3d(0, 0, 0);
   transform: translate3d(0, 0, 0);
}

.back {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 11;
   transform: translateZ(1px);
   backface-visibility: hidden !important;   
}

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

.carddesk {   
	width: 12.3%;
    height: 76.5%;
    margin: 0 0 0 1%;
	background: transparent;
	border:0;
	border-radius: 7%;
	position: absolute;
   cursor: pointer;
}

.textcenter {
	text-align: center;
}

.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 {
	text-align: center;
	width: 60%;
	text-transform: uppercase;
	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;
    background-color: white;
    border: 2px solid red;
    border-radius: 5px;
    font-weight: bold;
    margin: 0 auto 10px auto;
    color: red;    
    visibility: hidden;
    margin-bottom: -3em;
    z-index: 10;
    position: relative;

}

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

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

#dateval {
	cursor: pointer;
}

div.popup label {
    float: left;
    text-align: left;
    margin: 5px 5px 12px 5px;
    color: #ad3675;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 13px;
    width: 180px;
}

div.popup input[type='radio'] {
    width: 15px;
    margin-left: 20px;
    border: none;
    color: #9e0601;
    background: #fff;
}

#sex_select {
    float: right;
    text-align: left;
    width: 44%;
}

#partner_data {
	opacity: 0;
	min-height: 14em;
	border:1px solid transparent;
}

#nopart_descr {
	text-align: center;
	line-height: 1.5em;
}

#nopart_descr, #part_descr {
	height: 100px;
	margin-top: 1em;
	display: none;
}

.cardtext {
   position: absolute;
   text-align: center;
   top: 40%;   
   width: 100%;
   font-size: 3em;
   z-index: 1000;
      color: #b35f45;
   -webkit-text-stroke: 1px #693d2d;
   -moz-text-stroke: 1px #693d2d;
   text-stroke: 1px #693d2d;
   font-style: italic;
   font-weight: bold;
   font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

.cardnum {
   position: absolute;
   text-align: center;
   top: 36%;   
   width: 100%;
   font-size: 2.5em;   
   z-index: 1000;      
   color: #83425a;
   font-style: italic;
   font-weight: bold;
   text-stroke:1px #660033;
   -webkit-text-stroke:1px #660033;
   font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

@media all and (orientation: landscape) and (min-width:890px) {
	.cardnum {
		top:40%;
	}
	.cardtext, .cardnum {
		font-size:4em;
	}
}

.cardtext_result {
	position: absolute;
	text-align: center;
	top: 40%;   
	width: 100% !important;
	font-size: 3em;    
	z-index: 1000;
	font-style: italic;
	font-weight: bold;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	color: #83425a;
	text-stroke: 1px #660033;
	-webkit-text-stroke: 1px #660033;
	-moz-text-stroke: 1px #660033
}

@media all and (orientation: landscape) and (min-width:890px) {
	.card_meaning div.cardtext_result {
		top:45%;
	}
}


#partner_name_result, #personal_name_result {
	position: relative;
	top: 0%;
	width: 82%;
	text-align: center;
	font-size: 0.9em;
	color: #ad3675;
	font-style: italic;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	border:1px solid #947067;
	background-color: #d8d4be;
	margin:-2.5em auto 2em auto;
	display: block;
	border-radius: 8px;
	line-height: 1.4em;
}

@media all and (orientation: landscape) and (min-width:890px) {
	#partner_name_result, #personal_name_result {
		border:2px solid #947067;
		font-size: 1.5em
	}

	.cardtext_result {
		font-size: 7em;
	}
}

.personal_holder_result {
   position: relative;
   text-align: center;
}

.prognoza {
   text-align: center;
   margin: 1em;
}

.personal_data label {
	text-transform: uppercase;
	float: left;
	font-weight: bold;
	box-sizing: border-box;
	padding-top: 0.2em;
	max-width: 55%;
}

.segmented_control {
	display: table;
	height: 2em;
	line-height: 2em;
	border-radius: 8px;
	border:1px solid #ad3675;
	overflow: hidden;

}
.segmented_control label {
	border-left: 1px solid #ad3675;
	line-height: inherit;
	cursor:pointer;
	margin-top:0;
	display: table-cell;
	text-transform: none;
	padding:5px;
	text-align: center;
	float: none;
	line-height: 1.3em;
}

#type_select {
	margin-left:auto;
	margin-right: auto;
}


.segmented_control label:first-of-type {
	border-left:0;
}

.segmented_control input[type="radio"] {
	display: none;
}

.segmented_control input[type="radio"]:checked + label {
	background-color: #ad3675;
	color:white;
	font-weight: bold;
	text-decoration: none !important;
}

.personal_data {
	width: 90%;
	max-width: 340px;
	margin: 0 auto 0 auto;
	padding-top:1em;
	box-sizing: border-box;
}

@media all and (orientation: landscape) and (min-width: 480px) {
	.personal_data {
		width:60%;
		max-width: none;
		
	}

	/*.personal_data div.button_decor {
		width: 80%;
	}*/
}

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

	.personal_data {
		width: 70%;
		padding-top:2em;
	}
}

.personal_data input {
	float: right;
	width: 44%;
	display: block;
}

.personal_data div.clear {
	height: 0.3em;
}

#lenormand_profile_pic {
	width: 15%;
	height: auto;
	float: left;
	margin: 0 1em 1em 0;
}

#lovers_right {
	float:right;
	width: 35%;
	border: 1px solid #8d775c;
	border-radius: 10px;
	box-shadow: 0 0 3px #8d775c;
	margin-top:3px;
}

.cshadow {
   box-shadow: 0 0 1px #000000, 0 0 4px #101010;
}

@media all and (orientation: portrait) {   

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

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