/* ============================================= SITE-SPECIFIC ============================================= */

.header {
	background-image: url('../images/logo-study-chat.png');
	background-repeat: no-repeat;
	background-position-y: 10px;
	padding-top: 86px;
	margin: 0px 40px;
}
.studychat .nav {
	height: 100px !important;
}


div.home {
    background-image: url('../images/studychat.png');
    width: 160px;
    height: 160px;
}








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-street1536.jpg') top left repeat; 
	background-attachment:fixed;	
	font-size:14px; 	
	line-height:20px;
}

#main { padding: 10px 40px 0px 40px !important; }

.navitem img {
	width: 57px;
	height: 57px;
}


/* TABLET */
@media only screen and (min-width: 600px) {
	body {
		font-size:14px; 	
		line-height:20px;
	}
}

/* MOBILE */
@media only screen and (max-width: 599px) {
	body {
/*
		font-size:18px;
		line-height:24px;
*/
	}
}

#topbar div { margin-top: 40px; margin-right: 40px; }
.socialbuttons { margin-bottom: 40px;	 }

/* 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');
}

/* ============================================= 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;
}

#articlestart {
	text-align: right;
	margin-right: 10px;
}





.profilepictures {
	margin: 0 auto;
	width: 760px;
/*
	padding: 5px;
	border: 1px solid grey;
*/
}
.profilepictures img {
	width: 150px;
	height: 150px;
	float: left;
}

.profilepictures:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}




/*
.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, .navitem img {
  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;
}


.popupscreenshot { max-height: 80%; }
/*

.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;
}
*/


.gallery > p {
	display: inline;
}

.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;
}
.carousel p {
	display: none; margin: 0px; padding: 0px;
}
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;
}





.info10 { height: 882px; }

.info10buttons {
	width: 100%;
	top: 500px !important;
}

.info0 { height: 880px; }

.info0buttons {
	width: 100%;
	top: 300px !important;
}
.info0buttons > p {
	margin-left: 24px;
	margin-right: 24px;
}




/*
FROM SCRIBE:
.info11 { height: 816px; }

.info11 .flasharrow {
	pointer-events: none; 
	margin: 0 auto;
	width: 100%;
	text-align: center;
	top: 350px !important;	
	font-size: 100px;
	color: white;
	-webkit-animation: yellow_text_animation 2s ease-in infinite;
	animation: yellow_text_animation 2s ease-in infinite;  
}
.info11buttons {
	width: 100%;
	top: 400px !important;
}
.info11buttons p {
	-webkit-animation: yellow_border_animation 2s ease-in infinite;
	animation: yellow_border_animation 2s ease-in infinite;  
	padding-bottom: 10px;
	border-bottom: 8px solid transparent;
}
*/

@-webkit-keyframes yellow_border_animation {
  0% { border-color: transparent; }
  25% { border-color: transparent; border-width: 40px; }
  60% { border-color: white; border-width: 8px; } 
  80% { border-color: white; } 
  100% { border-color: transparent; }
}
@keyframes yellow_border_animation {
  0% { border-color: transparent; }
  25% { border-color: transparent; border-width: 40px; }
  60% { border-color: white; border-width: 8px; } 
  80% { border-color: white; } 
  100% { border-color: transparent; }
/*
  0% { border-color: transparent; }
  10% { border-color: transparent; }
  50% { border-color: white; } 
  90% { border-color: transparent; }
  100% { border-color: transparent; }
*/
}

@-webkit-keyframes yellow_text_animation {
  0% { color: transparent; font-size: 400px;}
  60% { color: white; font-size: 100px;}
  80% { color: white; }
  100% { color: transparent; }
}
@keyframes yellow_text_animation {
  0% { color: transparent; font-size: 400px;}
  60% { color: white; font-size: 100px;}
  80% { color: white; }
  100% { color: transparent; }
/*
  0% { color: transparent; }
  10% { color: transparent; }
  50% { color: white; } 
  90% { color: transparent; }
  100% { color: transparent; }
*/
}



.video iframe {
	margin: 0 !important;
	display: block;
}




/* ========================================================================================================= */
/* Word of the Day styling */
/* ========================================================================================================= */



.wordofthedaygroup h2 {
	background-image: url('../images/label_tree.png');
	background-size: 240px 56px;
    width: 240px; /*480*/
    height: 56px; /*112*/
}
.wordofthedaygroup h2 span {
	margin: 14px 0px 0px 20px;
	display: inline-block;
	font-size: 28px !important;
	line-height: 28px !important;
	letter-spacing: 2px;
}


/* Word of the day styles */
.wordofthedaygroup .character {
	float: right;
}

.wordofthedaygroup .wordoftheday {
	font-size: 18px;
	line-height: 24px;
}
.wordofthedaygroup .intro {
	margin-left: 30px;
}
.wordofthedaygroup .word, .wordofthedaygroup .a {
	letter-spacing: 4px;
	font-size: 48px;
	line-height: 56px;
}

.wordofthedaygroup .example .source {
	letter-spacing: 4px;
	margin-bottom: 8px;
}

.wordofthedaygroup .example { 
	padding-bottom: 16px;
	margin-bottom: 16px; 
	border-bottom: 1px solid #bbbbbb;
	
	margin-left: 30px;
	margin-right: 30px;
}
.wordofthedaygroup .hi {	
	border: 1px dotted;
	margin: 0 3px;
	padding: 0 3px;
}

.wordofthedaygroup .timer { margin-top: 8px; }
