/*
Theme Name: Avi
Theme URI: http://www.valot.com/wordpress-themes/avi/
Description: Avi is a flexible magazine blog child theme of Ari. 
Template:       ari
Author: Antoine Valot
Author URI: http://www.valot.com/
Version: 0.9
Tags: white, dark, three-columns, left-sidebar, right-sidebar, flexible-width, custom-colors, custom-menu, theme-options, threaded-comments, sticky-post, translation-ready
License: GNU/GPL Version 2 or later
License URI: http://www.gnu.org/licenses/gpl.html
*/

/* Import Ari */

@import url(../ari/style.css);

/* Google Fonts Import
--------------------------------------------- */
@import url(http://fonts.googleapis.com/css?family=Raleway:100|Merriweather:700,400);

/* Reset
--------------------------------------------- */

/* General Structure and Styles
--------------------------------------------- */
body {
	font-family:'Merriweather', Georgia, serif;
}


/* Alignment
--------------------------------------------- */


/* Headings
--------------------------------------------- */
#sidebar-primary .logo h1 {
	font-size:48px;
	line-height:36px;
	font-family: Raleway;
	font-weight: 100;
	overflow: visible;
}
#content h2 {
	font-family: Raleway;
	font-weight: 100;
	font-size: 2.2em;
	line-height: 1em;
	letter-spacing: -0.05em;
	-webkit-transition: font-size easein 0.2s;
}
#content p.previous, #content p.next {
clear: left;
width: 30%;
background-color: silver;
border-radius: 17px;
box-shadow: -8em 0 8em -3em white inset,-2px 0 0 2px white,-6px 0 2px 0px silver,-7px 0 0 2px white,-10px 0 4px 0px silver;
padding-left: 1em;
font-weight: bold;
text-transform: uppercase;
padding-top: 0.2em;
margin-bottom: 2em;
font-size: 120%;
}
#content p.next {
clear: none;
padding-right: 1em;
text-align: right;
box-shadow: 8em 0 8em -3em white inset,2px 0 0 2px white,6px 0 2px 0px silver,7px 0 0 2px white,10px 0 4px 0px silver;
}
#content p.previous a, #content p.next a {
	color: white;
	text-decoration: none;
	text-shadow: 0 1px 1px gray, 0 2px 2px white, 0 3px 3px silver, 0 4px 4px white;
}
/* Links
--------------------------------------------- */


/* --- Link Colors --- */

/* Lists
--------------------------------------------- */

/* Sidebars
--------------------------------------------- */

/* Sidebar Primary
--------------------------------------------- */
/* --- Theme Logo --- */



#sidebar-primary .logo p {
	font-family:'Merriweather', Georgia, serif;
}


/* Sidebar Secondary
--------------------------------------------- */

/* Sidebar Widgets (can be used for both Sidebars)
--------------------------------------------- */


/* --- Text Widget --- */


/* --- Custom Menu Widget --- */


/* --- Pages Widget --- */


/* --- Search Widget --- */


/* --- Recent Post Widget --- */

/* --- Recent Comments --- */


/* --- Calendar Widget --- */


/* --- Social Links Custom Widget --- */


/* Posts
--------------------------------------------- */


#content blockquote {
	font-family:'Merriweather',  Georgia, serif;
}


/* Single Post
--------------------------------------------- */



#content .post #author-description p, .page-link  {
	font-family:'Merriweather',  Georgia, serif;
}

#content .post {
	border-bottom: 1px solid #EEE;
	margin-bottom: 4em;
}

/* --- Comments --- */

#comments-content p.moderation,
.comment-meta, 
p.logged-in-as, form#commentform p.comment-notes {
	font-family:'Merriweather',  Georgia, serif;
	
}

/* --- Comments Navigation --- */

/* WordPress Image Gallery
--------------------------------------------- */

.gallery .gallery-caption {
	font-family:'Merriweather',  Georgia, serif;

}
/* Footer
--------------------------------------------- */


/* Archives 
--------------------------------------------- */
h1.archive {
	font-family:'Merriweather',  Georgia, serif;

}

/* Pages 
--------------------------------------------- */


/* Plugin Styles
--------------------------------------------- */
/* --- Contact Form 7 --- */

.wpcf7-response-output, .wpcf7-not-valid-tip {
	font-family:'Merriweather',  Georgia, serif;
}
/* --- jQuery Thickbox --- */
#wrap {
	-webkit-transition: max-width ease-in-out 1s;
}
@media screen and (min-width: 1000px) {
	#wrap {
		max-width: 1000px;
	}
	#main {
		width: auto;
		padding-left: 270px;
		padding-right: 23%;
	}
#content {
	width: auto;
	padding: 0;
	margin: 0;
}
#sidebar-secondary {
	width: 18%;
	margin: 0;
	position: absolute;
	right: 2%;
	float: none;
}
	#content p, #content div, #content li {
	font-size: 12px;
	line-height: 22px;
	}
	#content h2 {
	font-size: 2.4em;
	}
}
@media screen and (min-width: 1100px) {
	#wrap {
		max-width: 1100px;
	}
	#content p, #content div, #content li {
	font-size: 13px;
	line-height: 24px;
	}
	#content h2 {
	font-size: 2.5em;
	}
}
@media screen and (min-width: 1200px) {
	#wrap {
		max-width: 1200px;
	}
	#content p, #content div, #content li {
	font-size: 14px;
	line-height: 26px;
	}
	#content h2 {
	font-size: 2.6em;
	}
}
@media screen and (min-width: 1300px) {
	#wrap {
		max-width: 1300px;
	}
	#content p, #content div, #content li {
	font-size: 15px;
	line-height: 28px;
	}
	#content h2 {
	font-size: 2.7em;
	}
	/* --- Theme Logo --- */
	#sidebar-primary *{
		-webkit-transition: font-size linear 0.5s;
	}
	#sidebar-primary .logo h1 {
		font-size:64px;
		line-height:48px;
	}
	#sidebar-primary .logo p {
		font-size:16px;
	}
	
}
@media screen and (min-width: 1400px) {
	#wrap {
		max-width: 1400px;
	}
	#content p, #content div, #content li {
	font-size: 16px;
	line-height: 30px;
	}
	#content h2 {
	font-size: 2.8em;

	}
}
@media screen and (min-width: 1500px) {
	#wrap {
		max-width: 2000px;
	}
	#sidebar-primary .logo h1 {
		font-size:70px;
		line-height:62px;
	}
	#sidebar-primary .logo p {
		font-size:20px;
	}
	#main {
		
	}
	#content{
/*		width: 73%;*/
	}
	body.home #content .post{
	width: 48%;
	float: left;
	margin-right: 4%;
	}
	body.home #content .post.even{
	margin-right: 0;
	}
	body.home #content
	div.the-content-wrapper {
     border-bottom: none;
	}
	#content h2 {
	font-size: 3em;
	}
	#content h3 {
	font-size: 2em;
	}
	#content h4 {
	font-size: 1.8em;
	}
	#content h5 {
	font-size: 1.5em;
	}
	.post .the-content-wrapper img, .page .the-content-wrapper img, #content .the-content-wrapper img.alignright {
	/*	float: none !important;
		display: block !important;
		clear: both !important;
		width: auto;
		margin: 0 auto 0.1em;
	*/
	}
	#content p, #content div, #content li {
	font-size: 17px;
	line-height: 31px;
	*/
	}
	
	/* --- Social Links Custom Widget --- */
	ul.sidebar li.widget_sociallinks a {
		padding:10px 30px 10px 64px;
		line-height:20px;
		font-size: 120%;
		height: 64px;
		display: block;
		clear: both;
	}
	ul.sidebar li.widget_sociallinks a.rss {
		background:url(images/rss-icon-big.png) 0 0 no-repeat;
	}
	ul.sidebar li.widget_sociallinks a.twitter {
		background:url(images/twitter-icon-big.png) 0 0 no-repeat;
	}
	ul.sidebar li.widget_sociallinks a.facebook {
		background:url(images/fb-icon-big.png) 0 0 no-repeat;
	}
	ul.sidebar li.widget_sociallinks a.googleplus {
		background:url(images/googleplus-icon-big.png) 0 0 no-repeat;
	}
	ul.sidebar li.widget_sociallinks a.flickr {
		background:url(images/flickr-icon.png) 0 0 no-repeat;
	}
	ul.sidebar li.widget_sociallinks a.vimeo {
		background:url(images/vimeo-icon.png) 0 0 no-repeat;
	}
	ul.sidebar li.widget_sociallinks a.xing {
		background:url(images/xing-icon.png) 0 0 no-repeat;
	}
	ul.sidebar li.widget_sociallinks a.linkedin {
		background:url(images/linkedin-icon-big.png) 0 0 no-repeat;
	}
	ul.sidebar li.widget_sociallinks a.delicious {
		background:url(images/delicious-icon-big.png) 0 0 no-repeat;
	}
	
	
}

.widget_twitter ul.tweets li {
	margin-bottom: 2em;
}
