/* ============================================= SITE-SPECIFIC ============================================= */

span.toscribe {
    background-image: url(images/scribe2.png);
    width: 160px;
    height: 160px;
    display: inline-block;
/*
    float: right;
*/
}

div.toscribe {
	float: right;
	text-align: center;
}

body { 
	margin: 5px 0 70px 0; padding:0; font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif; font-weight:normal; 
	color:#636363; 

	background:url('images/bg-map.jpg') top left repeat; 
/*
	background:url('images/bg-street1536.jpg') top left no-repeat; 
*/
	background-attachment:fixed;	
}

body {
	font-size:14px;
	line-height:20px;
}

#main { padding: 0px 40px 40px 0px; !important}


/* also add an underline, as bold isn't strong enough in this font. */
strong {
	border-bottom: 1px solid;
}

#preload {
	display: none;
	background-image: url('images/iphone5-160x328-blue2.png');
}



h2 {
	background-image: url('images/label_tree.png');
	background-size: 240px 56px;
    width: 240px; /*480*/
    height: 56px; /*112*/
}
h2 span {
	margin: 14px 0px 0px 20px;
	display: inline-block;
	font-size: 28px !important;
	line-height: 28px !important;
	letter-spacing: 2px;
}

#character {
	float: right;
}

#wordoftheday {
	font-size: 18px;
	line-height: 24px;
}
#intro {
	margin-left: 30px;
}
#word, #a {
	letter-spacing: 4px;
	font-size: 48px;
	line-height: 56px;
}

.example .source {
	letter-spacing: 4px;
	margin-bottom: 8px;
}

.example { 
	padding-bottom: 16px;
	margin-bottom: 16px; 
	border-bottom: 1px solid #bbbbbb;
	
	margin-left: 30px;
	margin-right: 30px;
}
.hi {	
	border: 1px dotted;
	margin: 0 3px;
	padding: 0 3px;
}

#timer {
}
.timer { margin-top: 8px; }

/* ============================================= SITE-SPECIFIC ============================================= */
/* These must come first, as we will override customisations later. */

#languagebar {
	float:right;
	margin-top: 5px;
	margin-right: 10px;	
	text-align:right;
}
#languagebar h1, #languagebar h2, #languagebar h3, #languagebar h4, #languagebar h5 {
	margin-top: 0px;
	margin-bottom: 4px;
} 

/* supplementary bars at bottom, etc */
.languagebar {
	float:right;
	margin-top: 10px;
}


.header {
	background-image: url('images/logo-scribeorigins2.png'); /* 400px x 76px */
	background-repeat: no-repeat;
	background-position-y: 10px;
	padding-top: 86px;
	margin: 0px 40px; 
}


/*
.header img {
	width: 50px; height: 50px;
}
*/

/* <div class="icon"> <div class="gloss"></div> </div> */
/* original: 256px, radius: 38px; icon gloss height: 144px; icon text: 200px */

a.iosicon {
	
}

span.iosicon {
	padding-bottom: 5px;
}
.iosicon img, img.icon {
  background: #90C7DE;
  width: 58px;
  height: 58px;
  border-radius: 8.6px;
  overflow:hidden;
  border: solid 1px #666;
  position: relative;
  -webkit-box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, .2);
  -moz-box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, .2);
  box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, .2);
  z-index: 10;
  
  
/*
  display: block;
  margin: 0 auto;
*/
}
.iosicon .icontext, .navicon .icontext {
	color: #fff !important;
	text-transform: none !important;
	text-shadow: 0px 2px 2px #000;
	font-family: Helvetica, Verdana, Arial, sans-serif;
	text-align: center;
	font-size: 14px !important;
/*
	margin: 5px 0px;
	width: 64px;
	display: block;
*/
	max-width: 80px;
	display: block;
}




.scribe .nav {
	height: 100px !important;
}





a.iosphone {
	height: 246px;
}


span.iosphone {
	padding: 0px;
	display: inline-block;
	background-image: url('images/iphone5-120x246.png');
	width: 120px;
	height: 246px;
}
span.iosphone:hover, span.iosphone:active {
	background-image: url('images/iphone5-120x246-blue2.png');
}
span.iosphone:active {
}

.iosphone img {
	margin: 60px auto 10px;
  background: #90C7DE;
  width: 58px;
  height: 58px;
  border-radius: 8.6px;
  overflow:hidden;
  border: solid 1px #666;
  position: relative;
  -webkit-box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, .2);
  -moz-box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, .2);
  box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, .2);
  z-index: 10;
  
  
  display: block;
}
.iosphone .icontext {
	color: #fff !important;
	text-transform: none !important;
	text-shadow: 0px 2px 2px #000;
	font-family: Helvetica, Verdana, Arial, sans-serif;
	text-align: center;
	font-size: 14px !important;
	
	margin: 5px auto;
	width: 80px;
	display: block;
}




.screenshots {
	margin: 0 auto;
}
.screenshot, .screenshots a {
	box-sizing: content-box;
	padding: 48px 16px 0px 16px;
	width: 128px;
	height: 280px;
	background-size: 160px 328px;
	background-image: url('images/iphone5-160x328.png');
	display: inline-block;
}
.screenshot:hover, .screenshot.active, .screenshots a:hover, .screenshots a.active {
	background-image: url('images/iphone5-160x328-blue2.png');
}
.screenshots img {
	width: 128px;
	height: 228px;
}

/*

.screenshot, .screenshots a {
	box-sizing: content-box;
	padding: 60px 20px 0px 20px;
	width: 160px;
	height: 350px; 
	background-size: 200px 410px;
	background-image: url('images/iphone5-400x820.png');
	display: inline-block;
}
.screenshot:hover, .screenshot.active, .screenshots a:hover, .screenshots a.active {
	background-image: url('images/iphone5-400x820-blue2.png');
}
.screenshots img {
	width: 160px;
	height: 284px;
}
*/



.carousel {
	text-align: center;
/*
	width: 160px;
	padding: 0px 10px;
*/
	box-sizing: content-box;
	
	padding: 60px 20px 0px 20px;
	width: 160px;
	height: 350px; /* 410 - 60 */
	background-size: 200px 410px;
	background-image: url('images/iphone5-400x820.png');
	background-repeat: no-repeat;
	position: relative;
}
div.carousel-controls { 
	position: absolute;
	bottom: 16px;
	width: 160px !important; /* ff doesn't like 100% */
}

div.carousel-controls {
	-webkit-animation: carousel_controls_animation 2s linear 5;
	animation: carousel_controls_animation 2s linear 5;  
	border-radius: 20px;
	border: 1px solid transparent;
}

/* ⬅	⬆	⬇	⬈	⬉	⬊	⬋ ➡ */
@-webkit-keyframes carousel_controls_animation {
  0% { border-color: transparent; }
  50% { border-color: #909090; } 
  100% { border-color: transparent; }
}
@keyframes carousel_controls_animation {
  0% { border-color: transparent; }
  50% { border-color: #909090; } 
  100% { border-color: transparent; }
}






/*


.bookshelf {
	border: 10px solid rgb(114,46,2);
	border-radius: 20px;
}
.bookshelf .content {
	border: 1px solid rgb(188,104,0);
	border-radius: 20px;
}
*/


.infographic p {
	margin: 0 !important;
}


.info1 { height: 515px; }

.info1video {
	width: 100%;
	top: 124px !important;
	left: 2px !important;
}
.info1video > p {
	margin-left: 24px;
	margin-right: 24px;
}



.info11 { height: 816px; }

.info11buttons {
	width: 100%;
	top: 400px !important;
}


.video iframe {
	margin: 0 !important;
	display: block;
}

