/* IVM styles ©2012 Miles DeCoster */
 @font-face {font-family: 'FrutigerLTPro-Condensed';src: url('webfonts/2792E8_0_0.eot');src: url('webfonts/2792E8_0_0.eot?#iefix') format('embedded-opentype'),url('webfonts/2792E8_0_0.woff') format('woff'),url('webfonts/2792E8_0_0.ttf') format('truetype');}
body {
	font-family:'FrutigerLTPro-Condensed',"Lucida Sans Unicode", "Lucida Grande", sans-serif;
	font-size:100%;
	margin:0;
	background-image:
}
.clearfloat {
	clear:both;
	height:0;
}
input[type="button"] {
	font-size:1em;
	width:30%;
	color:#063;
	margin:6px 0;
	height:40px;
	-webkit-appearance: button;
}
/* ----------------------------- containers ----------------------- */

#wrapper {
	position:relative;
	width:320px;
	height:520px;
	max-width:800px;
	margin:0 auto;
	z-index:10;
	border:outset 2px #999;
	border-radius:10px;
	margin-top:20px;
	overflow:hidden;
	box-shadow:6px 6px 4px #ccc;
	//background-color:#0C9;
	background: -moz-linear-gradient(top,  rgba(186,186,186,0) 3%, rgba(186,186,186,0.25) 36%, rgba(196,196,196,0.74) 100%); /* FF3.6+ */

background: -webkit-gradient(linear, left top, left bottom, color-stop(3%,rgba(186,186,186,0)), color-stop(36%,rgba(186,186,186,0.25)), color-stop(100%,rgba(196,196,196,0.74))); /* Chrome,Safari4+ */

background: -webkit-linear-gradient(top,  rgba(186,186,186,0) 3%,rgba(186,186,186,0.25) 36%,rgba(196,196,196,0.74) 100%); /* Chrome10+,Safari5.1+ */

background: -o-linear-gradient(top,  rgba(186,186,186,0) 3%,rgba(186,186,186,0.25) 36%,rgba(196,196,196,0.74) 100%); /* Opera 11.10+ */

background: -ms-linear-gradient(top,  rgba(186,186,186,0) 3%,rgba(186,186,186,0.25) 36%,rgba(196,196,196,0.74) 100%); /* IE10+ */

background: linear-gradient(to bottom,  rgba(186,186,186,0) 3%,rgba(186,186,186,0.25) 36%,rgba(196,196,196,0.74) 100%); /* W3C */

filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00bababa', endColorstr='#bdc4c4c4',GradientType=0 ); /* IE6-9 */


}
#viewPort {
	width:200%;
	position:relative;
	-webkit-transition:all 1.0s ease-in-out;
	-webkit-backface-visibility: hidden;
	left:0px;
	/*-webkit-transition-delay: 2s;
	transition-delay: 2s;
	transition:all 1.0s ease-in-out;*/
}
section {
	position:relative;
}
#page1 {
	position:relative;
	width:320px;
	top:0;
	left:0px;
	height:480px;
	background:rgba(255,255,255,.7);
}
#page2 {
	position:relative;
	width:320px;
	top:0;
	left:0;
	display:none;
}

/* ----------------------------- screen 1 elements ----------------------- */

#logo {
	position:relative;
	z-index:10;
	width:100%x;
}
#logo p {
	text-align:center;
}
#searchForm {
	width:90%;
	margin:5px auto;
	margin-left:8px;
	position:relative;
}
#searchForm input {
	background-image:url(images/search2.png);
	background-repeat:no-repeat;
	width:90%;
	background-position:-7px -7px;
	height:25px;
	font-size:1em;
	padding-left:38px;
}
#searchForm ::-webkit-input-placeholder {
   color:#B49D72;
   font-size:1em;  
}
#searchForm :-moz-placeholder {
    color:#B49D72;
   font-size:1em;
}
.searchResult {
	font-size:1.7em;
	color:#360;
	line-height:.8em;
}
.searchResult p {
	margin:4px;
	margin-bottom:0;
	padding:0;
	text-align:center;
	line-height:.9em;
}
#noResult {
	position:absolute;
	z-index:10;
	top:8px;
	left:0;
	background-color:rgba(255,255,255,.8);
	box-shadow:0 4px 2px black;
	border-top:solid 1px black;
	border-bottom:solid 1px black;
	width:100%;
	display:none;
}
#noResult p {
	margin:3px;
	font-size:1.2em;
	color:#063;
}
.nf {
	color:#C30;
}
#clearSearch {
	position:absolute;
	top:0px;
	right:-15px;
	display:inline;
	background-image:url(images/searchClose.png);
	background-repeat:no-repeat;
	background-position:center;
	height:30px;
	width:30px;
	padding-left:20px;
	z-index:10;
	cursor:pointer;
}

#verbDisplayList {
	position:relative;
	background-color:#C30;
}
#verbListDisplay  ul {
	border-top:solid 1px #999;
	border-bottom:solid 4px #ccc;
	width:320px;
	position:relative;
	height:368px;
	overflow:scroll;
	-webkit-overflow-scrolling : touch;
	padding:0;
	text-align:left;
	list-style-type:none;
	
}
#verbListDisplay  li {
	font-size:1.1em;
	position:relative;
	padding:5px 6px 0 6px;
	height:27px;
	border-bottom:solid 1px #666;
	background: rgb(231,232,233); /* Old browsers */

background: -moz-linear-gradient(top,  rgba(231,232,233,1) 0%, rgba(192,193,194,1) 100%); /* FF3.6+ */

background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(231,232,233,1)), color-stop(100%,rgba(192,193,194,1))); /* Chrome,Safari4+ */

background: -webkit-linear-gradient(top,  rgba(231,232,233,1) 0%,rgba(192,193,194,1) 100%); /* Chrome10+,Safari5.1+ */

background: -o-linear-gradient(top,  rgba(231,232,233,1) 0%,rgba(192,193,194,1) 100%); /* Opera 11.10+ */

background: -ms-linear-gradient(top,  rgba(231,232,233,1) 0%,rgba(192,193,194,1) 100%); /* IE10+ */

background: linear-gradient(to bottom,  rgba(231,232,233,1) 0%,rgba(192,193,194,1) 100%); /* W3C */

filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e7e8e9', endColorstr='#c0c1c2',GradientType=0 ); /* IE6-9 */
}

.rightArrow {
	position:absolute;
	top:-3px;
	right:14px;
	display:inline;
	height:20px;
	width:20px;
	font-size:1.5em;
}

/* ----------------------------- screen 2 elements ----------------------- */

.topBar {
	width:100%;
	height:40px;
	background-color:#A50000;
	color:#FC6;
	border-top-left-radius:8px;
	border-top-right-radius:8px;
	//margin-bottom:0;
	cursor:pointer;
	background: rgb(196,3,32); /* Old browsers */

background: -moz-linear-gradient(top,  rgba(196,3,32,1) 0%, rgba(160,3,18,1) 44%, rgba(109,0,25,1) 100%); /* FF3.6+ */

background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(196,3,32,1)), color-stop(44%,rgba(160,3,18,1)), color-stop(100%,rgba(109,0,25,1))); /* Chrome,Safari4+ */

background: -webkit-linear-gradient(top,  rgba(196,3,32,1) 0%,rgba(160,3,18,1) 44%,rgba(109,0,25,1) 100%); /* Chrome10+,Safari5.1+ */

background: -o-linear-gradient(top,  rgba(196,3,32,1) 0%,rgba(160,3,18,1) 44%,rgba(109,0,25,1) 100%); /* Opera 11.10+ */

background: -ms-linear-gradient(top,  rgba(196,3,32,1) 0%,rgba(160,3,18,1) 44%,rgba(109,0,25,1) 100%); /* IE10+ */

background: linear-gradient(to bottom,  rgba(196,3,32,1) 0%,rgba(160,3,18,1) 44%,rgba(109,0,25,1) 100%); /* W3C */

filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c40320', endColorstr='#6d0019',GradientType=0 ); /* IE6-9 */
}
.topBar h2 {
	font-size:1em;
	text-align:center;
	letter-spacing:.2em;
	font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;
	margin:0;
	padding:8px 0 0 0;
	text-shadow: 1px 1px 2px #C33;
	font-weight:normal;
	font-style:normal;
}
.biggerArrow {
	font-size:2em;
	position:absolute;
	padding-left:8px;
	font-weight:normal;
	width:80px;
}
#verbInput, #personSection {
	width:100%;
	margin:8px auto 8px auto;
	border:solid 1px #999;
	border-radius:15px;
	text-align:center;
	background:rgba(255,255,255,.7);
}
#verbInput2 {
	margin:8px auto 8px auto;
	text-align:center;
}
	
#tenseSection {
	text-align:center;
	margin-top:5px;
}

#verbInput2 {
	margin:10px auto 30px auto;
}

#verbs, #tense, #person {
	width:90%;
	font-size:1em;
	cursor:pointer;
}
#form1 {
	font-size:1em;
	margin:10px;
}

#form1 input {
	width:90%;
	font-size:1.2em;
	 -webkit-appearance: caret;
	 background-image:url(images/blank.png);
	 border:solid 1px #CCC;
}

#form1 label {
	display:none;
	width:130px;
	text-align:right;
	color:white;
	font-size:.9em;
	margin-right:15px;
}
#form1 ::-webkit-input-placeholder {
   color:rgba(150,150,150,1);
   font-size:1em;
}

#form1 :-moz-placeholder {
    color:rgba(150,150,150,1);
   font-size:1.2em;
}
#form1 :placeholder {
   color:rgba(150,150,150,1);
   font-size:1em;
}
#form1 {
	border-radius:10px;
	background-color:#666;
	padding:10px 0 10px 0;
}

.correct {
	background-color:#B9FAA3;
}
.wrong {
	background-color:#FFCBDA;
}
.hilite {
	color:#F00;
}
#verbInput2 p.center input:first-child {
	margin-left:-30px;
}

/* ----------------------------- pop-up notes ----------------------- */

#tenseNotes {
	position:absolute;
	top:10px;
	margin:30px 0;
	left:5%;
	font-size:.7em;
	width:80%;
	max-width:300px;
	padding:10px;
	background-color:#FED;
	display:none;
	border:solid 1px #F60;
	border-radius:10px;
	box-shadow:3px 3px 3px #666;
	cursor:pointer;
	z-index:100;
}
#tenseNotes h3 {
	text-align:left;
}
.ivmNotes {
	font-size:1em;
}
#closeNotes {
	position:absolute;
	top:3px;
	left:3px;
	height:40px;
	width:40px;
	background-image:url(images/close.png);
	cursor:pointer;
}
#notesText {
	margin:10px 20px;
}
#notesText i {
	color:#040;
}
#tenseNotes h4 {
	font-size:18px;
	text-align:center;
	letter-spacing:.1em;
	margin:0;
	padding:0;
}
.instruction {
	font-size:1em;
	color:#930;
	margin:2px;
}
.noteIcon {
	position:absolute;
	top:2px;
	right:15px;
	cursor:pointer;
}
.noteIcon img {
	margin-right:10px;
}
.aboutIcon {
	position:absolute;
	top:2px;
	right:20px;
	cursor:pointer;
}
.verbAlert {
	position:relative;
	z-index:50;
	cursor:pointer;
}

/* -------------------------------------- MISC FIXES --------------------------------- */

.definition {
	color:#699;
	font-size:.8em;
}
.moveup {
	margin-top:-8px;
}
.center {
	text-align:center;
	padding-left:32px;
}
.center2 {
	text-align:center;
	padding:0;
	margin:0;
}

/* ------------------------------------- small screen ----------------------------- */

@media all and (max-width: 480px) {
	#wrapper {
		height:480px;
		width:100%;
		border:none;
		margin:0;
		border-radius:0;
		box-shadow:none;
	}
	#verbListDisplay  ul {
		height:320px;
		width:100%;
	}
	.topBar {
		width:100%;
		border-top-left-radius:0;
		border-top-right-radius:0;
	}
	#page1, #page2 {
		width:50%;
	}
	#searchForm input {
		width:92%;
	}
	

}
@media screen and (orientation:landscape) and ( max-width: 800px) {
	#wrapper {
		margin-top:0;
	}
}


