/*
Theme Name: RDLF_theme
Author: Ludovic Delhomme
Description: Th&egrave;me de la revue des libertés et droits fondamentaux
Version: 1
*/
/**************
GENERAL
**************/
html,body {
  height:100%;
}

body {
	font-family: 'Droid Sans', sans-serif;
}
a,
a:hover{
	color:#ff9900;
}
#loginform label{
	width:150px;
}

blockquote{
	border:none;
	color: #fff;
	background-color: #888;
}
.main{
	overflow:auto;
}
.content{
	line-height: 2;
	text-align: justify;
}

/**************
HEADER
**************/
.admin-bar .navbar-fixed-top{
	top:30px;
}
#header{
	padding:55px 0 0 0;
	
}
#rdlf-title{
	margin-top: 3px;
}
#rdlf-title a{
	padding: 0;
}
.navbar-brand{
	padding: 0 0 0 20px;
}

/**************
MENU
**************/
#rdlf-nav{
	background:#fff;
	border:none;
}
#menu-barre-donglets,
#header .trouver,
#s{
	font-family: 'Dosis', cursive;
	text-transform:uppercase;
	font-size: 16px;
}
#menu-barre-donglets > li > a {
    color: #888;
	padding:0;
	margin: 20px 10px 0;
}
#menu-barre-donglets > li > a:hover,
#menu-barre-donglets .current-menu-item > a,
#header .trouver:hover{
    color: #ff9900;
}
#header .trouver{
	background: none;
	color: #888;
	margin-top: 12px;
}
#s{
	height: 40px;
}
/**************
META
**************/
.bloc-titre{
	padding: 0 40px 0 15px;
}
.single-title{
	margin-top: 0;
}
#crumbs{
	line-height: 1.42857;
	padding: 20px 0;
}
.meta{
	margin-bottom:10px;
	color:#ff9900;
	font-size:13px;
}
.meta-auteur{
	font-size: 20px;
	color: #000;
}
.ref{
	font-size: 18px;
	color: #ff9900;   
}
.categories {
	background-color: #666;
	position:relative;
	right:15px;
}
.categories img{
	width: 100%;
	margin: 10% -40px;
}
.footnote{
	font-size: 18px;
	color: #ff9900;
	padding-top: 60px;
	margin-top: -60px;
}
.footnote2{
	padding-top: 60px;
	margin-top: -60px;
}

/**************
FOOTER
**************/
#footer{
	background:#ff9900;
	margin-top:30px;
}
#footer a{
	color:#fff;
}
.backtotop
{
	bottom: 10px;
	right: 30px;
	position:fixed;
	background: #888;
	height: 60px;
	width: 60px;
	text-align: center;
	color: #fff;
}
.backtotop .glyphicon-chevron-up{
	font-size: 30px;
}

/**************
HOME
**************/
.home h2{
	margin-left: 30px;
}
/*une*/
#une-carousel{
	background: #666;
	height:370px;
}
#une-carousel h2{
	color:#ff9900;
	padding-top: 10px;
}
#une-carousel .post-une{
	padding: 0;
}
#une-carousel .post-title{
	color: #fff;
	text-align: left;
	margin-left: 30px; 
	font-size:20px;
	text-transform: uppercase;
	overflow: hidden;
	height: 30px;
}
#une-carousel .post-author{
	color:#000;
	margin-left: 30px; 
	font-size:16px;
	text-transform: uppercase;
}
#une-carousel .post-link:hover{
	text-decoration: none;
}
#une-carousel .cat{
    background-color: #ff9900;
    height: 220px;
}
#une-carousel .feature img{
    height: 220px;
}
#une-carousel .cat img{
    margin:30px 0 0 5px;
}
#une-carousel .feature{
    padding:0;
    height: 220px;
}
#une-carousel .post-excerpt{
    background:#888;
    color: #fff;
    left:-10px;
    height: 220px;
    text-align:justify;
    padding: 0;
}
#une-carousel .post-excerpt p{
	padding: 35px;
}
#une-carousel .carousel-indicators{
	margin-left: 35%;
	bottom: 10px;
	width: 150px;
}
#une-carousel .carousel-indicators .active{
	background:#fff;
}
#une-carousel .carousel-indicators li{
	border-color:#999;
}
/*agenda*/
#agenda-carousel{
	height:400px;
	background:#f0f4f4;
}
#agenda-carousel h3{
	color:#888;
	margin: 0;
	padding:5px;
	height: 40px;
	overflow: hidden;
}
#agenda-carousel .carousel-control {
	background:none;
	width:5%;
}
#agenda-carousel .glyphicon{
	color:#ff9900;
}

#agenda-carousel .date-agenda{
	background:#fff;
	height:300px;
}
#agenda-carousel .post-link{
	text-decoration: none;
}
#agenda-carousel .post-title{
	font-size:16px;
}
#agenda-carousel .post-date{
	color: #ff9900;
	text-align: center;
}

/*chroniques*/
.chroniques {
	background:#fff;
}
.chroniques h3{
	color:#666;
}
.backgroud-chroniques{
	margin-bottom:20px;
}
 .chronique{
	height: 230px;
	cursor: pointer;
}
.chronique img{
	opacity: 1;
	margin-top:10px;
	width: 100%;
	transition: opacity 0.5s ease-in-out;
	-moz-transition: opacity 0.5s ease-in-out;
	-webkit-transition: opacity 0.5s ease-in-out;
}
.chroniques .active img{
	opacity:0;
}
.posts-chronique{
	opacity:0;
}
.chroniques .active .posts-chronique{
	opacity:1;
	position: relative;
	top:-220px;
	margin:10px;
	transition: opacity 0.5s ease-in-out;
	-moz-transition: opacity 0.5s ease-in-out;
	-webkit-transition: opacity 0.5s ease-in-out;
}
.posts-chronique ul{
	list-style-type: none;
	padding: 0;
}
.posts-chronique li{
	padding: 10px 0;
}
.posts-chronique li:first-child{
	border-bottom: 1px solid #666;
}
.posts-chronique a{
	text-decoration: none;
	color: #888;
}
.posts-chronique a:hover,
.posts-chronique h3:hover{
	color:#ff9900;
}

/*thèses*/
.thesdos{
	height:400px;
	background:#f0f4f4;
	padding: 0;
}
.thesdos .row{
	margin: 0;
}
.thesdos .theses,
.thesdos .dossiers{
	background: #666;
	height:400px;
}
.thesdos .theses{
	border-right: 15px solid #fff;
}
.thesdos .dossiers{
	border-left: 15px solid #fff;
}
.thesdos .resume-thesdos{
	background: #fff;
	padding: 0;
	margin: 0;
	height:300px;
}
.thesdos h2{
	color: #fff;
	margin: 10px 0;
}
.thesdos img{
	height: 180px;
}
.thesdos h3{
	color:#888;
	font-size: 16px;
	padding: 0 5px;
}
.thesdos .post-author{
	padding: 0 5px;
	font-size: 13px;
	color: #aaa;
}
.thesdos .post-link{
	text-decoration: none;
}
.thesdos h3:hover{
	color:#ff9900;
}
/*Contribuer*/
.contribuer a{
	text-decoration: none;
}
.lincoln h2{
	text-align: right;
	position: relative;
	top:100px;
}
.liens {
	background-color: #888;
	height: 160px;
}
.liens h2{
	color: #fff;
	text-align: right;
	position: relative;
	top:-120px;
}
/**************
TITRES
**************/
.page-title,
.single-title{
	font-family: 'Dosis', cursive;
	text-transform:uppercase;
	font-size:32px;
	color: #888;
}
h2{
	font-family: 'Dosis', cursive;
	text-transform:uppercase;
	color:#888; 
}
h3{
	font-family: 'Dosis', cursive;
	text-transform:uppercase;
}
h4{
	color: #ff9900;
	text-decoration: none;
}

/**************
NAVIGATION
**************/
.page-navigation{
	clear:both;
	margin-top:25px;
	padding:25px 0;
	font-family: 'Dosis', cursive;
	font-size:22px;
	background:#fff;
}
.page_navi{
	text-align:center;
}
.page_navi li {
	padding:0 10px;
}
.page_navi > li > a:hover{
	border-bottom: 3px solid #000;
	text-decoration:none;
}
/**************
CATEGORY
**************/
.cat-header{
	height: 205px;
	background-color: #666;
	margin-left: 20px;
}
.img-cat{
	padding: 20px 0;
	margin-left: -20px;
}
.cat-title .page-title{
	color: #fff;
	padding-top: 50px;
	font-size: 26px;
}
/**************
CUSTOM-PAGE
**************/
.custom-page ul{
	list-style-type:none;
	padding:0;
}
.custom-page h2{
	margin:0 0 20px;
}
.custom-page .page-title{
	margin:10px 0 20px;
}

.custom-page li{
	font-size:20px;
}
.custom-page li:before{
	font-family:'Glyphicons Halflings';
  	content: "\e080";
}
.custom-page li a{ 
	padding-left:10px;
}

/**************
IMAGE
**************/
.alignleft {
	float: left;
	margin-right: 1.625em !important;
}
.alignright {
	float: right;
	margin-left: 1.625em !important;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
/**************
ARCHIVES
**************/
.search-result,
.archive-result {
	background-color: #666;
	border: 15px solid #fff;
	height: 360px;
	overflow: hidden;
}
.archive-result .excerpt,
.search-result .excerpt{
	color: #fff;
	padding: 15px 0 0 0;

}
.archive-result .thumb,
.search-result .thumb{
	padding:0;
}
.archive-result .thumb .img-responsive,
.search-result .thumb .img-responsive{
	max-height:200px;
}
.search-result h3,
.archive-result h3,
.search-result .meta,
.archive-result .meta{
	background-color: #fff;
	margin: 0 -15px;
	padding: 5px 15px;
	border-left: 1px solid #666;
	border-right: 1px solid #666;
}
.search-result h3,
.archive-result h3{
	border-top: 1px solid #666;
	height: 62px;
	overflow: hidden;
}
.search-result .meta,
.archive-result .meta{
	color: #666;
	font-size: 14px;
}


/**************
COMMENTAIRES
**************/
.respond-form{
	background-color: #666;
}
.commentaires h3{
	margin-left: 20px;
	padding-top: 10px;
}
.respond-form h3{
	color: #fff;
	margin-left: 20px;
}
#commentform{
	margin-left: 20px;
}
#commentform .control-label{
	color: #fff;
	font-size: 16px;
}
.commentaires{
	background-color:#eee;
}
.comment{
	padding-bottom: 10px;
}
.commentlist{
	margin: 0;
}
/**************
CITATION
**************/
.citation{
	color:#fff;
	padding-left: 30px;
}
.citation h3{
	margin-left: 0;
}
.meme-auteur{
	text-align: center;
	margin-top: 10px;
}
.meme-auteur a{
	background-color: #ff9900;
	color: #fff;
	font-family: 'Dosis', cursive;
	text-transform:uppercase;
}
.meme-auteur a:hover{
	color: #ff9900;
	background-color: #fff;
}
/**************
SOCIAL
**************/
.social{
	margin-top: 20px;
}
.social-menu{
	margin-top: 7px;
}
.social a,
.social-menu a{
	background-color: #ff9900;
	color: #fff;
}
.social a:hover,
.social-menu a:hover{
	color: #ff9900;
	background-color: #fff;
}
.social a:active,
.social-menu a:active{
	color: #ff9900;
}
.social .fa,
.social-menu .fa{
	font-size: 30px;
}
.social .btn-social-icon,
.social-menu .btn-social-icon{
	padding: 5px;
	width: 40px;
	height: 40px;
}
.social .partage{
	color: #fff;
	font-size: 24px;
	vertical-align: middle;
	font-family: 'Dosis', cursive;
	text-transform:uppercase;
	padding-right: 5px;
}

/**************
MEDIA QUERY
**************/
@media (min-width: 1024px) and (max-width: 1199px) {
	#menu-barre-donglets, #header .trouver, #s{
		font-size: 14px;
	}
	.chronique{
		height: 200px;
	}
	.chroniques .active .posts-chronique{
		top:-165px;
	}
	.posts-chronique a{
		font-size: 12px;
	}
	.posts-chronique li{
		padding: 5px 0;
	}
	.chroniques h3{
		font-size: 18px;
		margin: 0;
	}
	/*------------------ category ------------------------------*/
	.cat-header{
		height: 175px;
	}
	.cat-title .page-title{
		font-size:24px;
		padding-top: 40px;
	}

}
@media (max-width: 1023px) {
	/*general*/
	#header{
		padding:0;
	}
	.page-title,
	.single-title{
		font-size:24px;
	}
	.content,
	blockquote {
		line-height: 1.4;
		font-size: 16px;
	}
	/*menu*/
	.navbar-fixed-top {
    position:static;
    }
	#menu-barre-donglets > li > a {
	margin: 10px 10px 0;
	}
	#header .trouver{
	margin-top: 0;
	padding-top:0;
	}
	.navbar-header {
    float: none;
	}
	.navbar-toggle {
	    display: block;
	}
	.navbar-collapse {
	    border-top: 1px solid transparent;
	    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
	}
	.navbar-collapse.collapse {
	    display: none!important;
	}
	.navbar-collapse.collapse.in {
	    display: block!important;
	}
	.navbar-nav {
	    float: none!important;
	}
	.navbar-nav>li {
	    float: none;
	}
	.navbar-nav>li>a {
	    padding-top: 10px;
	    padding-bottom: 10px;
	}
	/*social*/
	.social-menu{
		margin: 0 0 5px;
	}
	.social .fa,
	.social-menu .fa{
		font-size: 20px;
	}
	.social .btn-social-icon,
	.social-menu .btn-social-icon{
		padding: 2px;
		width: 25px;
		height: 25px;
	}
	/* méta */
	.meta-auteur{
		font-size: 16px;
	}
	/*thèses et dossiers*/
	.thesdos {
		height: 300px;
	}
	/*------------------ home------------------------------*/
	.home #main .container{
		padding: 0;
		width: 100%;
	}
	.home h2{
		margin-left:10px;
	}
	/*une*/
	#une-carousel{
		height:400px;
	}
	#une-carousel h2{
		padding-top: 5px;
	}
	#une-carousel .post-title{
		margin-left: 5px; 
		font-size:16px;
		height: 20px;
	}
	#une-carousel .post-author{
		margin-left: 5px; 
		font-size:13px;
	}
	#une-carousel .cat{
	    background-color: #ff9900;
	    height: 200px;
	}
	#une-carousel .cat img{
	    margin:15px 0 0 5px;
	}
	#une-carousel .feature{
	    padding:0;
	    height: 200px;
	}
	#une-carousel .post-excerpt{
	    height: 220px;
	    font-size: 12px;
	}
	#une-carousel .post-excerpt p{
		padding: 10px 10px 0 30px;
	}
	#une-carousel .carousel-indicators{
		margin-left: 25%;
		bottom: 0;
		width: 100px;
	}
	/*agenda*/
	#agenda-carousel{
		height:450px;
	}
	#agenda-carousel h3{
		padding:0 5px;
		max-height: 50px;
		overflow: hidden;
	}
	#agenda-carousel img{
		width:120px;
		max-height: 120px;
		padding: 0 10px 0 0;
		float:left;
	}
	#agenda-carousel .agenda-wrapper{
		padding: 0 65px;
	}
	#agenda-carousel .date-agenda{
		height:120px;
	}
	#agenda-carousel .post-title,
	#agenda-carousel .post-date{
		font-size:18px;
	}
	/*chroniques*/
	.chroniques .row{
		margin: 0;
	}
	.chroniques h3{
		font-size: 18px;
	}
	.backgroud-chroniques{
		margin-bottom:0;
	}
	.chronique{
		height: 175px;
		padding: 0 2px;
		width:50%;
	}
	.chronique img{
		margin-top:5px;
	}
	.chroniques .active .posts-chronique{
		top:-180px;
		margin:10px;
	}
	.posts-chronique a{
		font-size: 12px;
	}
	.posts-chronique li{
		padding: 5px 0;
	}
	/*thèses et dossiers*/
	.thesdos .theses,
	.thesdos .dossiers{
		height: 300px;
		border: none;
	}
	.thesdos-wrapper img{
		width:120px;
		max-height: 90px;
		padding: 0 10px 0 0;
		float:left;
	}
	.thesdos-wrapper h3{
		font-size: 18px;

	}
	.resume-thesdos{
		max-height: 90px;
	}
	.resume-thesdos .post-title{
		max-height: 45px;
		padding-top: 5px;
		overflow: hidden;
	}
	
	/*------------------ category ------------------------------*/
	.cat-header{
		height: 80px;
	}
	.cat-title .page-title{
		font-size:13px;
		padding: 0;
	}
}
@media (min-width: 768px) and (max-width: 1023px) {
	.chronique{
		height: 225px;
	}
	.chroniques .active .posts-chronique{
		top:-210px;
	}
	.posts-chronique a{
		font-size: 14px;
	}
	.chroniques h3{
		font-size: 20px;
		margin: 0;
	}
	/*------------------ category ------------------------------*/
	.cat-header{
		height: 145px;
	}
	.cat-title .page-title{
		font-size:24px;
		padding-top: 30px;
	}

}
@media (orientation: landscape) and (max-width: 1023px) {
	.chronique{
		height: 235px;
	}
	.chroniques .active .posts-chronique{
		top:-210px;
	}
	.posts-chronique a{
		font-size: 14px;
	}
	.chroniques h3{
		font-size: 20px;
		margin: 0;
	}
}
@media (min-width: 600px) and (max-width: 767px) {
	/*------------------ category ------------------------------*/
	.cat-header{
		height: 120px;
	}
	.cat-title .page-title{
		font-size:20px;
		padding-top: 20px;
	}
}

@media (max-width: 599px) {
	/*------------------ home------------------------------*/
	/*une*/
	#une-carousel{
		height:350px;
	}
	#une-carousel .post-title{ 
		font-size:14px;
	}
	#une-carousel .post-author{
		font-size:12px;
	}
	#une-carousel .cat{
	    height: 120px;
	}
	#une-carousel .feature{
	    height: 120px;
	}
	#une-carousel .post-excerpt{
	    height: 220px;
	    font-size: 11px;
	}
	#une-carousel .carousel-indicators{
		margin-left: 15%;
	}
	/*agenda*/
	#agenda-carousel{
		height:350px;
	}
	#agenda-carousel h3{
		padding:0 5px;
		max-height: 40px;
		overflow: hidden;
	}
	#agenda-carousel img{
		width:80px;
		max-height: 70px;
		padding: 0 10px 0 0;
		float:left;
	}
	#agenda-carousel .agenda-wrapper{
		padding: 0 50px;
	}
	#agenda-carousel .date-agenda{
		height:80px;
	}
	#agenda-carousel .post-title,
	#agenda-carousel .post-date{
		font-size:12px;
	}
	/*chroniques*/
	.chroniques h3{
		font-size: 18px;
	}
	.backgroud-chroniques{
		margin-bottom:0;
	}
	 .chronique{
		height: 200px;
		width: 100%;
		padding: 0;
	}
	.chronique img{
		margin-top:5px;
	}
	.chroniques .active .posts-chronique{
		top:-180px;
		margin:10px;
	}
	.posts-chronique a{
		font-size: 12px;
	}
	.posts-chronique li{
		padding: 5px 0;
	}
	/*thèses et dossiers*/
	.thesdos .theses,
	.thesdos .dossiers{
		height: 250px;
		border: none;
	}
	.thesdos-wrapper img{
		width:80px;
		max-height: 70px;
		padding: 0 10px 0 0;
		float:left;
	}
	.thesdos-wrapper h3{
		font-size: 12px;
	}
	.resume-thesdos{
		max-height: 70px;
	}
	.resume-thesdos .post-title{
		max-height: 43px;
		overflow: hidden;
	}
	
	/*------------------ category ------------------------------*/
	.cat-header{
		height: 80px;
	}
	.cat-title .page-title{
		font-size:13px;
		padding: 0;
	}
}
@media (orientation: landscape) and (max-width: 599px) {
	#une-carousel .post-excerpt{
	    font-size: 12px;
	}
	#une-carousel .cat,
	#une-carousel .feature{
	    height: 150px;
	}
	/*chroniques*/
	.chroniques .row{
		margin: 0;
	}
	.chroniques h3{
		font-size: 16px;
		margin: 0;
	}
	.chronique{
		width: 50%;
		padding: 0 2px;
		height: 140px;
	}
	.chroniques .active .posts-chronique{
		top:-140px;
	}
	.posts-chronique li{
		height: 50px;
		overflow: hidden;
	}
	.page-header{
		margin:0;
	}
	/*--- category ---*/
	.cat-header{
		height: 100px;
	}
	.cat-title .page-title{
		font-size:18px;
	}
}