/**
 * Theme Name: Claro!
 * Version: 1.0
 * Author: Ana Helena Rodrigues e André Banderas
 * Description: Tema para o site do encarte mensal Claro! do Jornal do Campus da USP
 */

/* Helper */

#page > div
{
	outline: solid 1px #f0f;
}

/* Reset */

*
{
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	line-height: 1;
}

a 
{
	text-decoration: none;
}

ul, ol, li
{
	list-style: none;
}

button, img
{
	border: none;
}

h1,h2,h3,h4,h5,h6
{
	font-weight: normal;
}

/* Typography */

h2
{
	font-family: arista, source_sans_proregular, arial, helvetica, sans-serif;
}

body
{
	font-family: arista, source_sans_prolight, arial, helvetica, sans-serif;
}

/* Skin */

body
{
	background: #fff;
}

#page
{
	background: #fff;
}

#page > header
,#page > footer
{
	background: black;
	color: white;
}

#chamadas .chamada  h2 a
{
	color: white;
	background: rgba(0,0,0,0.5);
}

#chamadas .chamada  h2 a
{
	color: white;
	background: rgba(0,0,0,0.5);
}

#videos .video-list
{
	/*background: #555;*/
	background: #ddd;
}

#videos .video
{
	cursor: pointer;
}

#videos .metainfo
{
	color: #333;
}

#videos .video-main
{
	background: black;
}

#videos a,
#videos a:link,
#videos a:visited
{
	color: #000;
}

#arquivo
{
	background: #eee;
}

#arquivo .date a,
#arquivo .date a:link,
#arquivo .date a:visited
{
	color: white;
}

#about 
{
	background: #eee;
	color: #666;
}

#about a
,#about a:link
{
	color: #666;
}

/* interfaces */

.socialnetwork a,
.busca button
{
	text-indent: -999em;
	width: 32px;
	height: 32px;
	overflow: hidden;
}

.socialnetwork a
{
	display: block;
}

.socialnetwork .facebook a
{
	background-image: url(images/socialnetwork/facebook.png);
}

.socialnetwork .twitter a
{
	background-image: url(images/socialnetwork/twitter.png);
}

.socialnetwork .instagram a
{
	background-image: url(images/socialnetwork/instagram.png);
}

.busca button
{
	background: url(images/find.png) transparent;		
}

#videos .video-list span.arrow
{
	display: block;
	background: url(images/interface/arrows.png) no-repeat rgba(0,0,0,0);
	cursor: pointer;
}

#videos .video-list span.arrow:hover
{
	background-color: rgba(0,0,0,0.25);
}

#videos .video-list span.arrow.top
{
	top: 0;
	background-position: center -5px;
}

#videos .video-list span.arrow.bottom
{
	bottom: 0;
	background-position: center -38px;
}

#arquivo .date a,
#arquivo .date a:link,
#arquivo .date a:visited
{
	color: white;
}

/* Layout */

#page
{
	margin: 0 auto;
}

#page > *
{
	overflow: hidden;
}

#page > header
{
	height: 60px;
}

#page > footer 
{
	padding: 12px;
	height: 40px;
	text-align: center;
}

#page > header .nav
{
	float: right;
}

#page > header .logotipo 
{
	float: left;
	margin: 14px 0 0 16px;
}

#page > header .socialnetwork
{
	float: left;
	margin: 14px 16px 0 0;
}

#page > header .socialnetwork li
{
	display: inline-block;
}

#page > header .busca 
{
	float: left;
	padding: 15px 15px 0;
}

#page > header .busca input
{
	display: none;
}

#page > main > div
{
	clear: both;
	margin-bottom: 3px;
}

#page > main > div > h2
{
	text-align: center;
	margin: 0 0 6px;
}

#frontpage .medium,
#frontpage .full
{
	display: none;
}

#frontpage .wp-post-image
{
	width: 100%;
	height: auto;
}

#chamadas
{
	position: relative;
	overflow: hidden;
	height: 0;
}

#chamadas .chamada
{
	position: relative;
	overflow: hidden;
	float: left;
	width: 320px;
}

#chamadas .chamada h2
{
	position: absolute;
	overflow: hidden;
	padding: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 10;
	text-align: center;
   	height: 50px;
   	font-size: 1em;
	font-size: 1rem;
}

#chamadas .chamada a
{
	display: block;
	height: 100%;
}

#chamadas .chamada h2 a
{
	padding: 10px;	
}

#chamadas .chamada img
{
	width: 100%;
	height: auto;
}

#videos
{
	width: 100%;
	float: left;
	overflow: hidden;
}

#videos h4
{
	font-weight: bold;
}

#videos .metainfo
{
	font-size: .9em;
	font-size: .9rem;
}

#videos .video
{
	overflow: hidden;
	height: 100px;
}

#videos .video-main
{
	text-align: center;
	display: none;
}

#videos .video-list
{
	overflow: hidden;
	position: relative;
	padding: 0 10px;
}

#videos .thumbnail
{
	overflow: hidden;
	text-align: center;	
	width: 160px;
	height: 90px;
	float: left;
	margin-right: 10px;
}

#videos .thumbnail a
{
	display: block;
	height: 100%;
	width: 100%;
}

#videos .thumbnail img
{
	width: auto;
	max-height: 100%;
}

#videos .video-list .list
{
	overflow: hidden;
	height: 300px;
}

/* Video Scroll */
#videos .video-list span.arrow
{
	left: 0;
	height: 30px;
	width: 100%;
}

#arquivo
{
	float: left;
	width: 100%;
	padding: 10px;
}

#arquivo .date
{
	font-size: 2.2em;
	font-weight: bold;
}

#arquivo #edicoes
{
	width: 100%;
	height: 0;
	overflow: hidden;
}

#arquivo #edicoes a,
#arquivo #edicoes .edicao
{
	position: relative;
	overflow: hidden;
	width: 150px;
	height: 150px;
}

#arquivo .edicao p
{
	height: 100%;
}	

#arquivo .edicao img
{
	height: 100%;
	width: auto;
}

#arquivo .date
{
	position: absolute;
	font-size: 2.2em;
	font-weight: bold;
	bottom: 3px;
	right: 3px;
}

#about
{
	margin: 10px 0 0;
	float: left;
}

#about > div
{
	padding: 10px;
}

#about h2
{
	margin: 0 0 8px;
}

#about p
{
	margin: 0 0 4px;
}

/* internas */

.header h2
{
	font-size: 2.5em;	
}

.content p
{
	font-size: 1.4em;
	line-height: 1.6em;
}

.author
{
	font-style: italic;
	font-weight: normal;
	margin: 10px 10px 4px;
}

#internas h2
{
	text-align: center;
}


/* 6 colunas de 60px */

@media only screen and (min-width: 360px)
{
	html
	{
		font-size: 1em;
	}

	#chamadas .chamada
	{
		width: 180px;
		height: 180px;
	}

	#arquivo #edicoes a,
	#arquivo #edicoes .edicao
	{
		width: 105px;
		height: 105px;
	}
}

/* 8 colunas de 60px */

@media only screen and (min-width: 480px)
{
	html
	{
		font-size: 1em;
	}

    #page
    {
        width: 480px;
    }

	#frontpage .mini,
	#frontpage .full
	{
		display: none;
	}

	#frontpage .medium
	{
		display: block;
	}

	#chamadas .chamada
	{
		width: 160px;
		height: 160px;
	}

	#chamadas .chamada h2
	{
		font-size: 0.9em;
		font-size: 0.9rem;
	}

	#arquivo #edicoes a,
	#arquivo #edicoes .edicao
	{
		width: 115px;
		height: 115px;
	}
}

/* 8 colunas de 80px */

@media only screen and (min-width: 640px)
{
	html
	{
		font-size: 1em;
	}

	#page
	{
		width: 640px;
	}

	#page > header .busca input
	{
		display: inline;
		padding: 4px;
	}

	#page > header .busca input
	{
		width: 240px;
	}

	#frontpage .medium,
    #frontpage .mini
	{
		display: none;
	}

	#frontpage .full
	{
		display: block;
	}

	#chamadas .chamada
	{
		width: 160px;
		height: 160px;
	}

	#videos 
	{
		float: left;
		height: 300px;
	}

	#videos .video-main
	{
		float: left;
		display: block;
		width: 400px;
	}

	#videos .video-main iframe
	{
		width: 400px;
		height: 300px;
	}

	#videos .video-list
	{
		width: 240px;
		padding: 0 8px;
		font-size: .8em;
		font-size: .8rem;
	}

	#videos .video-list p
	{
		font-size: .8em;
		font-size: .8rem;
	}

	#videos .video
	{
		height: 65px;
		padding-top: 3px;
		margin-bottom: 3px;
	}

	#videos .thumbnail
	{
		height: 60px;
		width: 90px;
		margin-right: 10px;
	}

	#videos .video-list .list
	{
		height: 240px;
	}

	#arquivo #edicoes a,
	#arquivo #edicoes .edicao
	{
		width: 124px;
		height: 124px;
	}

	#about > div
	{
		font-size: 0.9em;
		font-size: 0.9rem;
		width: 50%;
		float: left;
	}
}

/* 8 coluans de 80px */
/* 12 colunas de 60px */

@media only screen and (min-width: 720px)
{
	html
	{
		font-size: 1em;
	}

    #page
    {
       width: 720px;
    }

	#chamadas .chamada
	{
		width: 180px;
		height: 180px;
	}

	#videos
	{
		height: 360px;
	}

	#videos .video-main
	{
		width: 480px;
	}

	#videos .video-main iframe
	{
		width: 480px;
		height: 360px;
	}

	#videos .video-list .list
	{
		height: 300px;
	}

	#arquivo #edicoes a,
	#arquivo #edicoes .edicao
	{
		width: 140px;
		height: 140px;
	}
}

/** grid-h: 20px; grid-v: 20px **/ 

/* 12 colunas de 80px */

@media only screen and (min-width: 960px)
{
    html
    {
        font-size: 1em;  
    }

    #page
    {
    	width: 960px;
    }

    #chamadas .chamada
    {
    	width: 240px;
    	height: 240px;
    }

    #chamadas .chamada h2
    {
    	font-size: 1em;
    	font-size: 1rem;
    }

    #videos
    {
    	height: 480px;
    }

    #videos .video-main
    {
		width: 640px;
    }

    #videos .video-main iframe
    {
    	width: 640px;
		height: 480px;
    }

    #videos .video-list
    {
    	width: 320px;
		font-size: 1em;
		font-size: 1rem;
	}

	#videos .video-list p
	{
		font-size: 1em;
		font-size: 1rem;
	}

	#videos .video
    {
    	height: 85px;
    	padding-top: 5px;
    	margin-bottom: 5px;	
    }

    #videos .thumbnail
    {
		width: 120px;
		height: 80px;
		margin-right: 12px;
    }
	
	#videos .video-list .list
	{
		height: 419px;
	}

	#arquivo #edicoes a,
	#arquivo #edicoes .edicao
	{
		width: 157px;
		height: 157px;
	}
}

/** grid-h: 25px; grid-v: 24px **/

/* 12 colunas de 100px */

@media only screen and (min-width: 1200px)
{
    html
    {
        font-size: 1.1em;  
    }

    #page
    {
    	width: 1200px;
    }

    #videos
    {
		height: 600px;
    }

    #videos .video-main
    {
		width: 800px;
    }

    #videos .video-main iframe
    {
		width: 800px;
		height: 600px;
    }

	#videos .video-list 
	{
		width: 400px;
	}

	#videos .video-list .list
	{
		height: 540px;
	}

	#videos .video
	{
		height: 105px;
	}

    #videos .thumbnail
    {
		width: 150px;
		height: 100px;
    }

    #arquivo #edicoes a,
	#arquivo #edicoes .edicao
	{
		width: 147px;
		height: 147px;
	}
}

/** grid-h: 30px; grid-v: 32px **/

/* 12 colunas de 120px */

@media only screen and (min-width: 1440px)
{
	html
	{
		font-size: 1.2em;
	}

	#page
	{
		width: 1440px;
	}

	#chamadas .chamada
	{
		width: 288px;
		height: 288px;
	}

	#chamadas .chamada h2
	{
		height: 60px;
		font-size: 1.2em;
		font-size: 1.2rem;
	}

	#videos
	{
		height: 720px;
	}

	#videos .video-main
	{
		width: 960px;
	}

	#videos .video-main iframe
	{
		width: 960px;
		height: 720px;
	}

	#videos .video-list
	{
		width: 480px;
		font-size: 1.2em;
		font-size: 1.2rem;
	}

	#videos .video-list .list
	{
		height: 660px;
	}

	#videos .video
	{
		height: 125px;
	}

	#videos .thumbnail
	{
		width: 180px;
		height: 120px;
	}

	#arquivo #edicoes a,
	#arquivo #edicoes .edicao
	{
		width: 176px;
		height: 176px;
	}

}

/** grid-h: 35px; grid-v: 36px **/

/* 12 colunas de 140px */

@media only screen and (min-width: 1680px)
{
	html
	{
		font-size: 1.4em;
	}

	#page
	{
		width: 1680px;
	}

	#chamadas .chamada
	{
		width: 336px;
		height: 336px;
	}

	#chamadas .chamada h2
	{
		height: 80px;
		font-size: 1.2em;
		font-size: 1.2rem;
	}

	#videos
	{
		height: 840px;
	}

	#videos .video-main
	{
		width: 1120px;
	}

	#videos .video-main iframe
	{
		width: 1120px;
		height: 840px;
	}

	#videos .video-list
	{
		width: 560px;
		font-size: 1.2em;
		font-size: 1.2rem;
	}

	#videos .video-list .list
	{
		height: 780px;
	}

	#videos .video
	{
		height: 125px;
	}

	#videos .thumbnail
	{
		width: 210px;
		height: 140px;
	}

	#arquivo #edicoes a,
	#arquivo #edicoes .edicao
	{
		width: 207px;
		height: 207px;
	}
}

/** grid-h: 40px; grid-v: 40px (HDTV)**/

/* 12 colunas de 160px */

@media only screen and (min-width: 1920px)
{
	
}