/* @override http://www.oeno.tm.fr/bootstrap-theme/css/custom.css */

html {  }

body { background-color: #F2F2F2; font-family: "Open Sans"; line-height: 1.628571429;}

#wrapper {
background-color: white; 
margin-left: auto;
margin-right: auto;
padding-top: 50px;
width: 940px;
-moz-box-shadow: 0 0 3px #e1e1e3;
-webkit-box-shadow: 0 0 3px #E1E1E3;
-o-box-shadow: 0 0 3px #e1e1e3;
box-shadow: 0 0 3px #E1E1E3;
border: 1px solid #D9D9D9;
border-top: none;
border-bottom: none;
-webkit-font-smoothing: antialiased;
}

#content { padding-bottom: 0; margin-bottom: 0; }

#content .container form { margin: 0 0 0px; }

#header {  }
#header .container { margin-bottom: 20px; width: 100%;}
#header .container .logo { height: 80px; float: left; padding-left: 20px; }
#header .container .pub { width: 468px; height: 80px; float: right; text-align: center; padding-top: 5px; padding-right: 10px;}
#header .container .pub a { font-size: 12px; text-align: center; color: gray; height: 20px; }

#content { border-top: 1px solid #D9D9D9; background: url(../img/shadow_dwn.png) no-repeat center -3px; overflow: visible; padding-top: 10px; }
#content .xrow { padding: 30px 0; }

#content .pubs { float: right; }
#content .pubs .pub { margin-bottom: 15px; border: 1px solid #D9D9D9; }

#content .section-grey {
border: 1px solid #D9D9D9;
border-left: none;
border-right: none;
background: #f9f9f9 url(../img/section-bkg-grey.png) no-repeat center -4px; }

#footer {
border: 1px solid #D9D9D9;
border-left: none;
border-right: none;
background: #fff; padding: 40px 20px 20px;	
}

#content .row .portlet-column { padding-bottom: 10px; padding-top: 10px; margin-top: 10px; margin-bottom: 10px; }
#content .section-grey.show-grid .portlet-column { border-left: 1px solid #D9D9D9; }
#content .section-grey.show-grid .portlet-column-content { padding-left: 20px; }
#content .section-grey.show-grid .portlet-column-first { border-left-style: none; }

.portlet-column-first { padding-left: 50px; }
.portlet-column-last { padding-right: 40px; }

#m4d-menu ul.list-group { font-family: "Yanone Kaffeesatz", sans-serif; font-weight:70000; font-size:16px  }
#m4d-menu ul.list-group .list-group-item { padding: 0px;   -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;  }
#m4d-menu ul.list-group .list-group-item:hover { z-index:1000; border: 1px solid #428bca; }

#m4d-menu ul.list-group .list-group-item a { display:block; padding: 5px; }
#m4d-menu ul.list-group .list-group-item a:hover { text-decoration: none; }
#m4d-menu ul.list-group .list-group-item.active.open { background-color: #08C; }
#m4d-menu ul.list-group ul.child li.list-group-item.active.open { background-color: white; }
#m4d-menu ul.list-group ul.child li.list-group-item.active.open a { color: #5194ce; font-weight:700; }
#m4d-menu ul.list-group ul.child li a { padding-left: 25px; left: -5px; }
#m4d-menu ul.list-group ul.child li a > i { font-size:12px; visibility: hidden; width: 0px; margin-left: -2px; }
#m4d-menu ul.list-group ul.child li.list-group-item.active.open a > i { color: #5194ce; visibility: visible; left: -20px; }
#m4d-menu ul.list-group ul.child { padding-left: 0; }
#m4d-menu ul.list-group ul.child > li { background-color: white; border-top-color: white; border-color: #ededed; }
#m4d-menu ul.list-group ul.child > li:first-child { border-top-right-radius: 0px; border-top-left-radius: 0px; border-bottom-color: white; }
#m4d-menu ul.list-group ul.child > li:first-child:hover { border-bottom-color: #428bca; }
#m4d-menu ul.list-group ul.child > li:last-child { border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; border-bottom-color: white;  }
#m4d-menu ul.list-group ul.child > li:last-child:hover { border-bottom-color: #428bca; }

#m4d-menu ul.list-group .list-group-item.active.open a { color: white; font-weight:700; }
#m4d-menu ul.list-group .list-group-item.active.open ul.child li { border-right-width: 0; border-left-width: 0; }
#m4d-menu ul.list-group .list-group-item.active.open ul.child a { color: #428bca; font-weight:400; }


#includ .image-couv.pull-left img { padding-right: 20px; padding-top: 0; padding-bottom: 20px; margin-top: 15px; }
#includ .auteursArticle { margin-top: 10px; }
#includ .auteursArticle .auteurs_noms, p.auteur span="auteur" { display: block; }

#includ .auteursArticle small, p.auteur small { display: block;   color: #999999; }
#includ .extraitResume, #includ .bibliographie { margin-top: 20px; }
#includ .emptybiblio { margin-top: 25px; margin-bottom: 25px; }
#includ h2.sous-titreRub { line-height: 1; }

#listeArticles div.navigation.top { margin-bottom: 15px; }
#listeArticles div.navigation.down { margin-top: 15px; }

#listeArticles .well:hover { background-color: #e4ebfe;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

#listeArticles .article-separator-list { display: block; border-bottom: 1px solid #D9D9D9; margin-top: 10px; margin-bottom: 10px; }

.span4 .carousel.slide.well { padding: 0; }
.span4 .carousel.slide.well .item { width: 260px; padding: 19px; }
.span4 .carousel.slide.well img, .well img { margin-top: 5px; margin-bottom: 10px; }

.portlet-asset-publisher .asset-full-content .asset-content { margin-right: 0; }
.portlet-asset-publisher .asset-content { margin-left: 0; }

.sommaire-articles ul, .sommaire-rubriques ul, .sommaire-edito ul { margin-top: 10px; border-top: 1px solid #D9D9D9; margin-left: 0; list-style: none; }
.sommaire-articles li, .sommaire-rubriques li, .sommaire-edito li { padding-top: 5px; padding-bottom: 5px; border-bottom: 1px solid #D9D9D9; }
.sommaire-edito li { font-weight: bold; }

.rdoearticle-list.extended { 
	background: -moz-linear-gradient(top,  rgba(0,0,0,0.05) 0%, rgba(0,0,0,0) 10%, rgba(0,0,0,0) 50%, rgba(0,0,0,0) 98%, rgba(0,0,0,0.03) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.05)), color-stop(10%,rgba(0,0,0,0)), color-stop(50%,rgba(0,0,0,0)), color-stop(98%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.03)));
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0.05) 0%,rgba(0,0,0,0) 10%,rgba(0,0,0,0) 50%,rgba(0,0,0,0) 98%,rgba(0,0,0,0.03) 100%);
	background: -o-linear-gradient(top,  rgba(0,0,0,0.05) 0%,rgba(0,0,0,0) 10%,rgba(0,0,0,0) 50%,rgba(0,0,0,0) 98%,rgba(0,0,0,0.03) 100%);
	background: -ms-linear-gradient(top,  rgba(0,0,0,0.05) 0%,rgba(0,0,0,0) 10%,rgba(0,0,0,0) 50%,rgba(0,0,0,0) 98%,rgba(0,0,0,0.03) 100%);
	background: linear-gradient(to bottom,  rgba(0,0,0,0.05) 0%,rgba(0,0,0,0) 10%,rgba(0,0,0,0) 50%,rgba(0,0,0,0) 98%,rgba(0,0,0,0.03) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0d000000', endColorstr='#08000000',GradientType=0 );
}

.rdoe-docs-side {
	width: 300px;
	top: -370px;
	z-index: 1000;
}

/* Patch bootstrap */

.carousel { line-height: inherit; overflow: hidden; }

.navbar { min-height: 30px; }
.navbar .nav > li > a { padding: 7px 10px; line-height: 18px; }
.navbar .divider-vertical { height: 30px; margin: 0; }

.modal.fade.in { top: 35%; }

/* Patch editing */

.lfr-dockbar-pinned .dockbar { left: 0; position: relative; right: 0; top: -10px; }
.portlet-layout { width: auto; }
.portlet-topper-toolbar { top: 20px; }
.portlet-body  .icon-actions { display: block; width: inherit; height: inherit; line-height: inherit; vertical-align: inherit; background-image: none; }

.cke_source { font-family: Monospace; font-size: large; background-color: white; white-space: pre; }