﻿@charset "utf-8";
/* CSS Document */



/*--BASIC HTML--*/

body
{
	font-family: Helvetica, sans-serif;
	font-size: 14px;
	line-height: 1.3em;
	color: #888;
	background: #f1f1f1;
	margin:0 auto;
}

/*--TEXT--*/

#intro h1,
#intro p,
#stories h2,
.storyName p,
.button {
	font-family: Roboto Light,sans-serif;
	font-style: normal;
	font-weight: 100;

  }


h1,h2,h3,h4 {
	font-weight:normal;
	text-align:center;
}

h1 {
	font-size: 36px;

}
h2 {
	font-size: 18px;
}

h3,h4, h6  {
	font-size: 18px;
	font-weight:normal;
	line-height:1;
}

h5 {
	font-size:16px;
	font-weight:normal;
}


h5, h6 {
	color:#333;
}

em {
	color:#29aae2;
	font-style:normal;
}

a {text-decoration:none;}


.button {
text-decoration: none;
text-transform: uppercase;
line-height: 1em;
letter-spacing: 1px;
border-radius: 3px;
display: inline-block;
font-weight: 400;
-webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
transition: all 0.3s;

}

.btnadvantage {
	background: #198ab9 url('../images/button_icon.png') no-repeat 20px 10px;
	margin-top: 30px;
	color: white;
	padding: 20px 20px 20px 50px;
	font-size: 0.92308em;
}



.btnadvantage:hover {
	background: white url('../images/button_icon_hover.png') no-repeat 20px 10px;
	color:  #29aae2;
	text-shadow:none;
}

.btnlogin {
	background: #29aae2 ;
	color:  white;
	float:right;
	padding:1em 1.3em 1em;
	font-size: 0.75em;
}

.scrollup {
	width: 40px;
	height: 40px;
	opacity: 0.3;
	position: fixed;
	bottom: 50px;
	right: 100px;
	display: none;
	text-indent: -9999px;
	background: url('../images/icon_top.png') no-repeat;
}

/*--BLOCK LAYOUT--*/
.container {
padding-left: 20px;
padding-right: 20px;
}

.row {
width: 100%;
max-width: 1140px;
min-width: 755px;
margin: 0 auto;
overflow: hidden;
}

.row .halfcol {
width: 48%;
}


.halfcol {
margin-right: 3.8%;
float: left;
min-height: 1px;
}


.header {background:#333;}
.intro {background:#29aae2;}
.fixed {position:fixed;width:100%}
.last {margin-right: 0px;}
.left {float:left}
.right {float:right}

header {padding:20px 0; height:2em;}

#intro {
	background:#29aae2;
	padding:50px 0 ;
	text-align:center;
}


#intro h1 {
		padding:10px 0 20px 0;
		line-height:1.3em;
		color:white;
		text-transform:uppercase;
		text-align:center;
}

#intro p {
	text-align:center;
	color:#fff;
	font-size:18px;
	line-height:1.4em;
	letter-spacing:0.5px;
	color:white;
}

/*--stories--*/
#stories {
	padding-top:30px;



}
#stories p,
#stories h2 {
	text-align:center;
}

#stories p {font-size:16px; line-height:1.4em;}

#storiesList {
	margin-top:30px;
	
	
}


.story {
    width: 241px;
    height: 241px;
    background-color: white;
    margin: 0 16px 16px 0;
	border:1px solid #e3e3e3;
	box-shadow: 0 3px 2px -2px #bbb;
	padding:10px;
}

li {
    display: block;
    /*width: 25%;*/
    float: left;
}


.item-container{
    position: relative;
    height: 150px;
}

.featuredImage{
  width: 150px;
  position: absolute;
  z-index: 1;
  left: -10px;
  top: -10px
}

.storyImage {
    overflow: hidden;
    width: 241px;
    height: 150px;
    background-size: cover;
    background-position: center center;
}

.storyImage img {
    width: 241px;
}

.storyName {
    overflow:hidden;
    padding-top: 4px;
    padding-bottom: 4px;
    background-color: rgba(33,33,33,0.9);
    position: absolute;
    bottom: 0;
    width:100%;
}

#stories .storyName p {
    color: #fff;
    font-size: 13px;
	line-height:2.3em;
	text-transform:uppercase;
	letter-spacing: 0.5px;
}

.featured {
    margin-top: -110px;
    position:relative;
    height: 100px;
    float:left;
    z-index: 1;
}

.info {margin-top:15px;}

.owner {
	float: left;
    width: 55px;
    height: 55px;
    background-size: cover;
    background-position: center center;
    overflow: hidden;	
}

.storyInfo {
    float:right;
	width:176px;

}



	.storyInfo li {
		color: #777;
		text-align: left;
		font-size: 12px;
		padding-bottom: 3px;
		background: url('../images/icons_sprite.png') no-repeat;
		height: 19px;
		display: inline-block;
		width: 176px;
		padding-left: 20px;
	}

.storyInfo li.owner{
  background-position: 0 0px;

}

.storyInfo li.viewed{
  background-position: 0 -19px;

}

.storyInfo li.items{
  background-position: 0 -38px;

}

#imgItem {
    margin-left: 1px;
}


.last {
margin-right: 0px;
}

img, object, embed {
max-width: 100%;
}

img {
	height: auto;
}

footer {
	border-top:1px solid #ccc;
	clear:both;
	width: 100%;
	max-width: 1140px;
	margin:0 auto;
	padding:20px 0;
}

footer p {
	font-size:12px;

}




/* Smaller screens */

@media only screen and (max-width: 1024px) {

	body {
	font-size: 0.8em;
	line-height: 1.5em;
	}
	
	#storiesList {
		padding-left:83px;
	}
	
	}
	/* iPads (PORTRAIT ----------- */
	@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
		.row, body, .container {
		width: 100%;
		min-width: 0;
		margin-left: 0px;
		margin-right: 0px;
		padding-left: 0px;
		padding-right: 0px;
		}

		.row {
		width: auto;
		float: none;
		margin-left: 0px;
		margin-right: 0px;
		padding-left: 20px;
		padding-right: 20px;
		}
		header {text-align:center; height:3em;}
		.btnlogin {float:none;}
		p.right {float:none;}
		
		.first {text-align:left;}
		.last {text-align:right; }
}

/* Mobile */

@media handheld, only screen and (max-width: 768px) {

	body {
	font-size: 14px;
	-webkit-text-size-adjust: none;
	}
	
	.row, body, .container {
	width: 100%;
	min-width: 0;
	margin-left: 0px;
	margin-right: 0px;
	padding-left: 0px;
	padding-right: 0px;
	}
	
	.row {
	width: auto;
	float: none;
	margin-left: 0px;
	margin-right: 0px;
	padding-left: 20px;
	padding-right: 20px;
	}
	
	#storiesList {
		padding-left:83px;
	}
	
	.btnadvantage {text-align:left; line-height:1.5em;}
	#intro h1 {font-size:30px; line-height: 1.2em;}
}

@media handheld, only screen and (max-width: 320px) {
	
	#storiesList {
		padding-left:0

	}
}

@media handheld, only screen and (max-width: 480px) {
	header {text-align:center; height:5em;}
	.btnlogin {float:none; margin-top:10px;}
	p.right {float:none;}
	.row,
	.row .halfcol {
	width: auto;
	float: none;
	margin-left: 0px;
	margin-right: 0px;
	padding-left: 20px;
	padding-right: 20px;
	}
	
	#storiesList {
		padding-left:40px; 
	}
}



.ribbonContainer {
    overflow: hidden;
    position: absolute;
    height: 70px;
    width: 70px;
    z-index: 10000;
    top: -10px;
    left: -10px;
}

.featRibbon {
    width: 150px;
    background: #00AFFC;
    position: absolute;
    top: 15px;
    left: -49px;
    text-align: center;
    line-height: 22px;
    letter-spacing: 0.5px;
    font-size: 13px;
    color: #fff;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    font-family: Roboto, sans-serif;
}


#apiPage h1, #apiPage h2 {
    text-align: left;
}

#apiPage h2 {
    margin-top: 30px;
}

#apiPage p {
    margin-top: 5px;
}

#apiPage .row {
    max-width: 755px;
}