/* @override http://localhost/scratchr/www/css/style.css */

/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
* {
    -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
}

body {
    -webkit-touch-callout: none;                /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none;             /* prevent webkit from resizing text to fit */
    -webkit-user-select: none;                  /* prevent copy paste, to allow, change 'none' to 'text' */
    background-color: #fff;
    background-attachment: fixed;
	height:100%;
    margin:0px;
    padding:0px;
	width:100%;
	color: #333;
	font: 12px 'HelveticaNeue', Helvetica, Arial, sans-serif;
	letter-spacing: inherit;
	border-style: none;
}

.header{
	box-shadow: 0 0 4px rgba(106, 106, 106, 0.3);
}
a{
	text-decoration: none;
}
#app-wrapper{
	width: 320px;
	height: 568px;
}
.ui-icon-loading{
	background: url(images/ajax-loader.gif) center center no-repeat transparent !important;
	margin-right: auto !important;
	margin-left: auto !important;
}
.ui-loader.ui-loader-default{
	box-shadow:none;
	background-color: rgba(0, 0, 0, 0.9);
	opacity: 1;
	border-radius: 10px;
	color: #fff;
	font-size: 11px;
/*	width: 100px;*/
	margin-left: -50px;
	margin-top: -50px;
	text-align: center;
	padding: 20px;
}
.ui-bar-c{border:1px solid #f2f2f2;background:#f2f2f2;color:#000;font-weight:bold;font-family:Lato,sans-serif;
	z-index: 1;
}
.ui-bar-c .ui-link-inherit{color:#3e3e3e}
.ui-bar-c a.ui-link{color:#7cc4e7;font-weight:bold;}
.ui-bar-c a.ui-link:visited{color:#2489ce}
.ui-bar-c a.ui-link:hover{color:#2489ce}
.ui-bar-c a.ui-link:active{color:#2489ce}
.ui-bar-c input,.ui-bar-c select,.ui-bar-c textarea,.ui-bar-c button{font-family:Lato,sans-serif}
.ui-body-c{color:#333;background:#fff;background-image:none}
.ui-overlay-c{
	background-color: #000;
	z-index: 1;
	border-style: none;
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
}
.ui-body-c{font-family:Lato,sans-serif;}
.ui-body-c input,.ui-body-c select,.ui-body-c textarea,.ui-body-c button{font-family:Lato,sans-serif}
.ui-body-c .ui-link-inherit{color:#333}
.ui-body-c .ui-link{color:#2c3e50;font-weight:bold;}
.ui-body-c .ui-link:visited,.ui-body-c .ui-link:hover,.ui-body-c .ui-link:active{color:#eee}
.ui-body-c.ui-input-text{border:2px solid #eee;}
.ui-body-c.ui-input-text.ui-focus{border:2px solid #eee;-webkit-transition:border linear .2s;-moz-transition:border linear .2s;-o-transition:border linear .2s;transition:border linear .2s}
.ui-btn-inner{
	background: none !important;
}
.btn-close-popup{
	position: absolute;
	top: 1px;
	left: 1px;
	z-index: 100;
}
.ui-btn-b, .ui-btn-b span{
	margin: 0 !important;
	padding: 0 !important;
	font-size: 26px !important;
	line-height: 26px !important;
	width: 30px !important;
	height: 30px !important;
	
}
.ui-btn-b .ui-icon{
	background: transparent;
	color: #999;
	text-align: center;
	
}
.ui-btn-hover-b .ui-icon, .ui-btn-down-b .ui-icon{
	background: transparent !important;
	color: #111 !important;
}

.ui-btn-up-c{
	background:#fff;
	font-weight: normal;
	color:#000;
	font-style: normal;
	border-radius: 3px;
}
.ui-btn-up-c:visited,.ui-btn-up-c a.ui-link-inherit{color:#000}
.ui-btn-hover-c{
	background:#333;
	font-weight: normal;color:#fff;
	font-style: normal;
	border-radius: 3px;
}
.ui-btn-hover-c:visited,.ui-btn-hover-c:hover,.ui-btn-hover-c a.ui-link-inherit{
/*	background-color: #eee;*/
}
.ui-listview .ui-btn-hover-c:hover{
	background-color: #eee;
}
.ui-btn-down-c{
	background:#333;
	font-weight: normal;
	color:#fff;
	font-style: normal;
	border-radius: 3px;
}
.ui-btn-down-c:visited,.ui-btn-down-c:hover,.ui-btn-down-c a.ui-link-inherit{color:#000}
.ui-btn-up-c,.ui-btn-hover-c,.ui-btn-down-c{font-family:Lato,sans-serif;text-decoration:none}
.ui-bar-c .ui-btn-up-a,.ui-bar-c .ui-btn-down-a,.ui-bar-c .ui-btn-hover-a{background-color:#f2f2f2;border:1px solid #f2f2f2}
.list.content{
	position:absolute; z-index:1;
	top: 0;
	width:100%;
	overflow:auto;
	left: 0;
	bottom: 0;
	padding: 0;
	border-style: none;
}
/* NAV BAR */

h1.ui-title{
	color: #565656;
	font-weight: 100;
	font-size: 20px !important;
	line-height: 52px;
	margin: 0 !important;
	box-shadow: none !important;
	-moz-box-shadow: none !important;
	-webkit-box-shadow: none !important;
}
.header .ui-btn{
	margin-top: 10px;
	margin-left: 10px;
}
.ui-btn.btn-menu{
	background: url(../img/ui/btn-menu.png) center center no-repeat;
	background-size: 20px 18px;
	margin-top: 10px;
	margin-left: 10px;
}
.ui-btn-down-c.btn-menu{
	background: url(../img/ui/btn-menu-active.png) center center no-repeat;
}
/* SIDE PANEL */
.nav-panel{
	text-transform: none;
	position: fixed;
	background: url(../img/ui/panel-bg.jpg) #363531;
}
.ui-panel-dismiss{
}
.ui-panel-inner{
}
.nav-panel .ui-listview .ui-li.ui-li-divider{
	background-color: #575652;
	background-image: none;
	text-transform: uppercase;
	font-size: 11px;
}
.nav-panel .ui-listview .ui-li,.nav-panel .ui-listview li.ui-btn{
	padding-top: 12px;
	padding-bottom: 12px;
	font-weight: normal;
	font-style: normal !important;
	font-size: 16px;
	background: url(../img/ui/panel-bg.jpg) #363531;
	border-bottom: 1px solid #222;
	border-top: 1px solid #444;
	color: #fff;
	padding-left: 20px;
}
.nav-panel .ui-listview .ui-li.ui-btn-down-c{
	background:#111;
}
.nav-panel .ui-listview .ui-li a{
	margin: 0;
	padding: 0;
	color: #fff;
}
.nav-panel .ui-listview .ui-li .ui-btn-inner{
	margin: 0;
	padding: 0;
	background-color: #111;
	border-style: none;
}
/* SCROLLER */
/*.content{
	padding: 5px;
}*/
.scroller {
/*	position:absolute; z-index:1;
	width:100%;
	padding:0;*/

}
.iScrollVerticalScrollbar{
}
/* SCRATCHR LIST */
#scratchrList-wrapper {
	position: absolute;
	z-index: 1;
	top: 0px;
	bottom: 0px;
	left: 0px;
	width: 100%;
	overflow: hidden;
}
#scratchrList-wrapper.ui-content{
	border-style: none;
	padding: 0;
}

#scratchrList{
	margin: 0;
	padding: 10px;
	list-style: none;
}
#scratchrList li{
	margin: 0 0 10px;
	transition: position .2s;
	-webkit-transition: position .2s;
	position: relative;
}
#scratchrList li a.scratchr-link{
	transition: left .3s;
	-webkit-transition: left .3s;
	width: 100%;
	display: block;
	background-color: #333;
	position: relative;
	
}
#scratchrList a.delete{
	position: absolute;
	right: 10px;
	top: 50%;
	padding: 10px 20px;
	color: #fff;
	background-color: #b10303;
	border-radius: 5px;
	font-weight: bold;
	font-size: 14px;
}
#scratchrList a img{
	transition: opacity .2s;
	-webkit-transition: opacity .2s;
	position: relative;
}
#scratchrList a:active img{
	opacity: 0.5;
}
#scratchrList li h2{
	margin: 0;
	color: #fff;
	font-size: 18px;
}
#scratchrList .subtitle{
	font-size: 12px;
}
#scratchrList .location{
	font-size: 12px;
	position: absolute;
	right: 10px;
	bottom: 5px;
	color: #e65f49;
	font-weight: bold;
}
#scratchrList li .image{
	width: 100%;
	display: block;
}
#scratchrList .title-wrapper{
	position: absolute;
	bottom: 0;
	left: 0;
	background: -webkit-linear-gradient(top, rgba(29, 29, 29, 0) 0%, rgba(0, 0, 0, 0.7) 98.1%);
	background: -moz-linear-gradient(top, rgba(29, 29, 29, 0) 0%, rgba(0, 0, 0, 0.7) 98.1%);
	background: -ms-linear-gradient(top, rgba(29, 29, 29, 0) 0%, rgba(0, 0, 0, 0.7) 98.1%);
	background: linear-gradient(to bottom, rgba(29, 29, 29, 0) 0%, rgba(0, 0, 0, 0.7) 98.1%);
	width: 100%;
	color: #fff;
	padding-top: 30px;
	padding-bottom: 5px;
}
#scratchrList .title-inner{
	padding: 5px;
	position: relative;
}
#scratchrList .btn{
/*	float: right;
	padding: 5px;
	width: 100px;
	text-align: center;
	background-color: #ac3b53;
	font-size: 16px;
	height: 32px;
	line-height: 35px;*/
}


/* SINGLE SCRATCHR */
.ui-popup-container{
	width: 300px;
}
#SingleScratchr{
/*	background: url(../img/scratchrs/victoria-secret/victoria-secret-bg.jpg) center center no-repeat;*/
	background-size: cover;
	width: 100%;
	border-radius: 5px;
	box-shadow: 0 0 10px #000000;
}
.hidden-images{
	display: none;
}
#SingleScratchr-content{
	position: relative;
	height: 100%;
}
#SingleScratchr-content-wrapper{
	padding: 0 20px;
	transition: height .3s;
	-webkit-transition: height .3s;
}
.single-title{
	text-align: center;
	padding-top: 20px;
	margin-bottom: 20px;
}
#winning-title{
	display: none;
}
#SingleScratchr h2{
	font-size: 24px;
	font-weight: normal;
	font-style: normal;
	margin: 10px 0 0;
}

#SingleScratchr .subtitle{
	font-size: 16px;
	margin-top: 5px;
	font-style: italic;
	font-weight: 100;
	
}
.scratchr-area{
	position: relative;
	margin-right: auto;
	margin-left: auto;
	max-width: 300px;
	margin-bottom: 20px;
}
.scratchr-box div{
/*	font-size: 12px;
	color: #333;
	margin-right: auto;
	margin-left: auto;
	width: 100%;*/
	
}
.scratchr-box{
	width: 230px;
	height: 230px;
	margin-right: auto;
	margin-left: auto;
	float: none;
	clear: none;
	position: relative;
}
.scratchr-box div,.scratchr-box canvas {
	border-radius: 300px;
}
.scratchr-box .front{
	-webkit-perspective: 600px;
	-moz-perspective: 600px;
}
.scratchr-box .front {
		position: absolute;
		top: 0;
		left: 0;
		z-index: 900;
		width: 230px;
		height: 230px;
		background: #6b7077;
		text-align: center;


		-webkit-transform: rotateX(0deg) rotateY(0deg);
		-webkit-transform-style: preserve-3d;
		-webkit-backface-visibility: hidden;

		-moz-transform: rotateX(0deg) rotateY(0deg);
		-moz-transform-style: preserve-3d;
		-moz-backface-visibility: hidden;

		/* -- transition is the magic sauce for animation -- */
		-o-transition: all .4s ease-in-out;
		-ms-transition: all .4s ease-in-out;
		-moz-transition: all .4s ease-in-out;
		-webkit-transition: all .4s ease-in-out;
		transition: all .4s ease-in-out;
		margin-right: auto;
		margin-left: auto;
		display: inline-block;
		float: none;
}
		.scratchr-box.flip .front {
			z-index: 900;
			border-color: #eee;
			background: #333;

			-webkit-transform: rotateY(180deg);
			-moz-transform: rotateY(180deg);
			
			-moz-box-shadow: 0 15px 50px rgba(0,0,0,0.2);
			-webkit-box-shadow: 0 15px 50px rgba(0,0,0,0.2);
			box-shadow: 0 15px 50px rgba(0,0,0,0.2);
		}
		
		.scratchr-box .back {
			float: none;
			position: absolute;
			top: 0;
			left: 0;
			z-index: 800;
			width: 220px;
			height: 220px;
			background: #111;
			
			-webkit-transform: rotateY(-180deg);
			-webkit-transform-style: preserve-3d;
			-webkit-backface-visibility: hidden;

			-moz-transform: rotateY(-180deg);
			-moz-transform-style: preserve-3d;
			-moz-backface-visibility: hidden;

			/* -- transition is the magic sauce for animation -- */
			-o-transition: all .4s ease-in-out;
			-ms-transition: all .4s ease-in-out;
			-moz-transition: all .4s ease-in-out;
			-webkit-transition: all .4s ease-in-out;
			transition: all .4s ease-in-out;
			border: 10px solid #ac3b53;
		}
		
		.scratchr-box.flip .back {
			z-index: 1000;
			background: #111;

			-webkit-transform: rotateX(0deg) rotateY(0deg);
			-moz-transform: rotateX(0deg) rotateY(0deg);

			box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
			-moz-box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
			-webkit-box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
		}


#scratchr-box1{
/*	width: 100%;
	text-align: center;
	float: left;
	clear: both;*/
}
#scratchr-box2{
	width: 50%;
	float: left;
}
#scratchr-box3{
	width: 50%;
	float: right;
}
.scratchr-logo{
	text-align: center;
	width: 100%;
	clear: both;
	display: block;
	padding-bottom: 15px;
	padding-top: 5px;
}
.scratchr-logo img{
	max-height: 50px;
}
.redeem-text{
	width: 180px;
	height: 150px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	color: #fff;
	font-size: 16px;
	margin-top: 50px;
	text-shadow: 0 1px 2px #000000;
}
#btn-wrapper{
	text-align: center !important;
	margin-bottom: 5px;
/*	display: none;*/
	display: none;
	margin-top: 30px;
}
.btn{
	padding: 12px 20px;
	font-size: 16px;
	font-weight: bold;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
#btn-redeem.btn{
	text-align: center;
	background-color: #ac3b53;
	color: #fff;
	width: inherit;
	display: block;
	clear: none;
	margin: 0 auto 10px;
}
#btn-redeem.btn:active{
	background-color: #d13c5c;
}
#btn-save.btn{
	text-align: center;
	background-color: #c9cac9;
	color: #fff;
	width: inherit;
	display: block;
	clear: none;
	margin: 0 auto;
}
#btn-save.btn:active{
	background-color: #999;
}

/* MY WINS */


#winList img{
	min-height: 100%;
	margin: 0;
}
#winList{
	margin: 0;
}
.ui-listview li{
	border-bottom: 1px solid #efefef;
/*	border-top: 1px solid #fff;*/
}
#winList-wrapper.ui-content.content{
/*	padding: 0;
	margin: 0;
	border-style: none;*/
}




