/*  
Theme Name: EpiMac
Theme URI: http://www.epimac.org/
Description: Thème réalise pour EpiMac par Gregory ORIOL (<a href="http://www.fprod.net/">fortin</a>).
Version: 1.0
Author: Gregory ORIOL
Author URI: http://www.fprod.net/
*/

/* hacks */
.clearfix { display: inline-table; }
.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* hacks */

/* generic */
* {
	margin: 0;
	padding: 0;
	outline: none;
}
img {
	border: none;
	display: inline;
}
ul, ol {
	list-style-type: none;
}
/* generic */

body {
	color: #eee; /* f0f0f0 */
/*	font: 12px 'Trebuchet MS', Arial, sans-serif;*/
	font: 12px "Lucida Grande", Geneva, Arial, Verdana, sans-serif;
	text-align: center;
	background-color: #000;
}
a {
	text-decoration: none;
	outline: none;
}
a:hover {
	text-decoration: none;
}

#container {
	width: 980px;
	overflow: hidden;
	margin: 0 auto;
	text-align: left;
}

#top {
	position: relative;
	padding-top: 1px;
}
#header {
	width: 100%;
	margin-top: 0px;
}
#header-top {
	width: 100%;
	height: 13px;
}
#header-content {
	background-color: #000;
}
#header-bottom {
	width: 100%;
	height: 13px;
}
#header h1 {
	width: 178px;
	height: 130px;
	float: left;
}
#header h1 a {
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
#header h1 a span {
	margin-left: 400px;
}
#header-content div {
	width: 790px;
	height: 130px;
	margin-right: 12px;
	float: right;
}
#header-content h2 {
	margin-top: 92px;
	margin-left: 6px;
	font-size: 30px;
	font-weight: normal;
}

#main {
	
}
#menu {
	width: 178px;
	float: left;
}
#content {
	width: 560px;
	margin-right: 1px;
	padding: 0 12px;
	float: left;
	overflow: hidden;
	position: relative;
}
#sidebar {
	width: 188px;
	float: left;
}

#menu h3 {
	width: 177px;
	height: 35px;
	margin-top: 20px;
	font-size: 16px;
	font-weight: normal;
	line-height: 35px;
}
#menu h3 span {
	margin-left: 16px;
	letter-spacing: 4px;
}
#menu ul li a.main {
	display: block;
	width: 176px;
	height: 20px;
	line-height: 22px;
	text-indent: 32px;
	color: #ccc;
	margin: 1px 0;
}
/*
#menu ul li a.main:hover,
#menu ul li a.main.selected {
	background-color: #ccc;
	color: #222;
}
*/
#menu ul li a.main:hover {
	background-color: #ccc;
	color: #111;
}
#menu ul li a.main.selected {
	background: transparent url('images/menu-selected.png') no-repeat right bottom;
}
#menu ul li a.main.selected:hover {
	color: #ccc;
}
#menu ul li a.sub {
	margin-left: 50px;
	color: #666;
}
#menu ul li a.sub:hover {
	color: #888;
}
#menu ul#menu-news {
	list-style-type: square;
}
#menu ul li li {
	margin-top: 1px;
}


#content {
	color: #222;
	line-height: 18px;
}
#content h2 {
	text-align: center;
	margin-bottom: 20px;
	margin-top: 8px;
}

#content #search-results .post {
	margin-bottom: 20px;
}
#content #search-results h3 {
	border-bottom: 1px solid #333;
	color: #333;
}
#content #search-results a {
	color: #111;
	text-decoration: none;
}
#content #search-results .url {
	color: #050;
}

#content #articles-preview {
	position: absolute;
	top: 0;
	right: 6px;
}
#content #articles-preview img {
	cursor: pointer;
}

#content.list .smallsep {
	font-weight: bold;
	font-variant: small-caps;
	font-size: 14px;
	margin-top: 2px;
	margin-bottom: 4px;
}
#content.list .post {
	margin: 0 4px 0 8px;
}
#content.list h3 {
	border-bottom: 1px solid #333;
	color: #333;
	height: 22px;
	line-height: 22px;
}
#content.list h3 a {
	color: #111;
	text-decoration: none;
}
#content.list h3.dossiers {
	background: transparent url('images/title-cat-bg-dossiers.png') no-repeat right bottom;
}
#content.list h3.news {
	background: transparent url('images/title-cat-bg-news.png') no-repeat right bottom;
}
#content.list h3.evenements {
	background: transparent url('images/title-cat-bg-evenements.png') no-repeat right bottom;
}
#content.list h3.breves {
	background: transparent url('images/title-cat-bg-breves.png') no-repeat right bottom;
}
#content.list h3.projets {
	background: transparent url('images/title-cat-bg-projets.png') no-repeat right bottom;
}
#content.list h3.apple-on-campus {
	background: transparent url('images/title-cat-bg-aoc.png') no-repeat right bottom;
}
#content.list .sub {
	color: #a1a1a1;
}
#content.list .sub div {
	float: left;
}
#content.list .sub span {
	float: right;
}
#content.list .entry {
	margin: 4px 0 18px 0;
}
#content.list p {
	margin-bottom: 12px;
	text-align: justify;
}
#content.list a.more-link {
	color: #444;
	text-decoration: underline;
}
#content.list a.more-link:hover {
	text-decoration: none;
}

#content img.center {
	margin: 10px auto;
}
#content img.right {
	float: right;
	margin: 10px;
	margin-top: 0px;
	margin-right: 0px;
}
#content img.left {
	float: left;
	margin: 10px;
	margin-top: 0px;
	margin-left: 0px;
}
#content a {
	color: #333;
	text-decoration: underline;
}
#content a:hover {
	text-decoration: none;
}
#content ul {
	list-style-type: disc;
	margin-left: 16px;
}

#content.article h4,
#content.erreur404 h4,
#content.page h4 {
	margin-top: 24px;
	margin-bottom: 4px;
	border-left: 5px solid #6c3;
	padding-left: 6px;
}
#content.article p,
#content.erreur404 p,
#content.page p {
	margin-bottom: 12px;
	text-align: justify;
}
#content.article .entry p,
#content.erreur404 p,
#content.page p {
	padding-left: 10px;
}

#content a.thumbnail {
	width: 128px;
	text-align: center;
	margin: 12px auto 0 auto;
	display: block;
}
#content a.thumbnail.gal {
	display: inline;
}
#content a.thumbnail img {
	border: 4px solid #ddd;
	margin: 0 0px;
/*	float: right;*/
}
#content a.thumbnail:hover img {
	border-color: #5C91D1;
}

#content.article .alert_old {
	width: 300px;
	border: 2px solid #faa;
	background: #fee url('images/warning.gif') no-repeat 8px center;
	margin: 16px auto;
	padding: 4px;
	padding-left: 40px;
	cursor: pointer;
}

#content .horaires {
	width: 100%;
	border: 1px solid #333;
	border-spacing: 0px;
	margin: 10px 0;
}
#content .horaires th {
	border-bottom: 1px solid #666;
	text-align: center;
}
#content .horaires td,
#content .horaires th {
	background-color: #eee;
	padding: 4px;
}
#content .horaires td.even,
#content .horaires th.even {
	background-color: #e0e0e0;
}

#content .simpletags_related_posts {
	margin-top: 20px;
	background-color: #e8e8e8;
	color: #454545;
	border: 1px solid #ccc;
	border-left: 5px solid #6c3;
	padding: 0 4px 4px 6px;
	font-size: 10px;
}

#content .simpletags_related_posts h4 {
	border: 0;
	padding: 0;
	margin: 0;
}
#content .simpletags_related_posts .related_posts {
	font-size: 10px;
}

#content .postmetadata {
	margin-top: 40px;
	background-color: #e8e8e8;
	color: #454545;
	border: 1px solid #ccc;
	border-left: 5px solid #14568a;
	padding-left: 6px;
	padding-right: 4px;
	font-size: 10px;
}
#content .postmetadata p {
	margin: 0;
}
#content .postmetadata .trackback,
#content .postmetadata .permalink {
	float: right;
}

#content .navigation {
	margin: 30px 0 10px 0;
}
#content .navigation .alignleft,
#content .navigation .alignright {
	width: 48%;
	float: left;
}
#content .navigation .alignleft {
	text-align: right;
	border-right: 1px solid #999;
	padding-right: 10px;
}
#content .navigation .alignright {
	text-align: left;
	padding-left: 10px;
}

#content .wp-pagenavi {
	text-align: center;
	margin-top: 30px;
	margin-bottom: 10px;
}


#content .comment {
	width: 560px;
	margin-bottom: 10px;
}
#content .comment .comment-bubble {
	background-color: #b0bdc5;
}
#content .comment p {
	margin-bottom: 0;
}
#content .comment-top {
	height: 23px;
	background: transparent url('images/bubble-top.png') no-repeat 0 0;
}
#content .comment-middle {
	background: transparent url('images/bubble-middle.png') repeat-y 0 0;
	padding: 0 16px 0 22px;
}
#content .comment-bottom {
	height: 39px;
	background: transparent url('images/bubble-bottom.png') no-repeat 0 0;
}
#content .comment cite {
	/*padding-left: 24px;*/
}


#sidebar {
	padding: 0 6px;
	color: #444;
	font-size: 11px;
}
#sidebar a {
	color: #3a7cd1;
}
#sidebar a:hover {
	text-decoration: underline;
}

#sidebar #searchform {
	width: 178px;
	margin: 10px auto 0 auto;
}
#sidebar #searchform .form label {
	display: block;
	width: 19px;
	height: 19px;
	background-color: #f00;
	float: left;
}
#sidebar #searchform .form input {
	float: left;
}
#sidebar #searchform .form input.field {
	width: 140px;
	height: 19px;
	border: 0;
	color: #666;
	font-size: 10px;
	padding-top: 4px;
}
#sidebar #searchform .form input.submit {
	width: 18px;
	height: 19px;
	padding-left: 18px;
	border: 0;
}

#sidebar h3 {
	margin-top: 18px;
	font-size: 13px;
	color: #5a6067;
}

#sidebar .textwidget {
	text-align: center;
}

#sidebar #webcam {
	display: block;
	width: 188px;
	height: 141px;
	margin-top: 2px;
	border: 1px solid #aaa;
	background: url('images/webcam-loader.gif') no-repeat center;
}

#sidebar #wp-calendar .nav td#prev,
#sidebar #wp-calendar .nav td#next {
	width: 40%;
}

#sidebar ul li ul {
	text-align: left;
	margin-left: 20px;
	list-style-type: disc;
}

#sidebar .promo-en-cours a {
	color: #f00;
}


#footer {
	width: 100%;
	padding-bottom: 0px;
}
#footer-top {
	width: 100%;
	height: 21px;
}
#footer-content {
	padding: 0 20px;
	position: relative;
}
#footer-collapsed {
	background: transparent url('images/footer-background.png') repeat-y -1px;
	padding: 0 20px;
	cursor: pointer;
}
#footer-collapsed .widget {
	margin-bottom: 0px !important;
}
#footer-collapsed .left {
	float: left;
}
#footer-collapsed .right {
	text-align: right;
	float: right;
}
#footer-button {
	background: transparent url('images/footer-background.png') repeat-y -1px;
}
#footer-button a {
	display: block;
	width: 97%;
	margin: 0 auto;
}
#footer-button a:hover {
	background-color: #fff;
}
#footer-bottom {
	width: 100%;
	height: 20px;
}

#footer .footcol {
	width: 214px;
	float:left;
	padding: 0 4px;
	margin: 0 6px;
}
#footer .widget {
	margin-bottom: 20px;
}
#footer h3 {
	color: #ccc;
	font-weight: bold;
	font-size: 12px;
	line-height: 16px;
}
#footer {
	color: #999;
	line-height: 16px;
}
#footer a {
	color: #666;
	line-height: 16px;
}
#footer a:hover {
	color: #aaa;
}
#footer hr {
	width: 50%;
	margin: 10px auto;
	background-color: #333;
	border: 1px solid #333;
}

/*#footer .widget_recent_entries ul {
	padding-left: 20px;
}*/

#footer .widget_tag_cloud a:hover {
	color: #bbb !important;
}

#footer .widget_rss {
	margin-bottom: 0px;
}
#footer .widget_rss h3 a {
/*	color: #888;*/
	color: #aaa;
	font-weight: normal;
	vertical-align: middle;
}
#footer .widget_rss ul {
	font-size: 10px;
	list-style-type: disc;
	margin-left: 20px;
}
#footer .widget_text a {
/*	color: #666;*/
}
#footer .widget_text a:hover {
/*	color: #777;*/
}

#footer #siteaddr {
	text-align: center;
	font-size: 16px;
}

#footer #copyright {
	text-align: center;
	position: absolute;
	bottom: 0;
	right: 12px;
	width: 214px;
}

.iphcal {
	float: left;
	padding-right: 8px;
	padding-top: 1px;
	position: relative;
	cursor: pointer;
}

.iphcal .icon {
	background: transparent url('images/iphcal.gif') no-repeat;
	width: 68px;
	height: 68px;
	text-align: center;
	float: left;
}
.iphcal .icon span {
	display: block;
}
.iphcal .icon .day {
	color: #fff;
	padding-top: 3px;
	font-size: 10px;
}
.iphcal .icon .number {
	color: #222;
	padding-top: 8px;
	font-size: 26px;
	font-weight: bold;
}
.iphcal .icon .shortmonth {
	color: #222;
	padding-top: 1px;
	font-size: 12px;
	font-variant: small-caps;
}
.iphcal .infos {
	float: left;
	background-color: #f00;
	display: block;
	height: 68px;
	width: 300px;
	position: absolute;
	left: 58px;
	background: transparent url('images/iphcal-open.png') no-repeat;
	color: #fff;
}
.iphcal .infos p {
	margin-top: 12px;
	text-align: center !important;
}


table.trombi td {
	padding-left: 10px;
	padding-top: 10px;
	padding-right: 20px;
}
table.trombi img {
	border: 1px solid #333;
}



blockquote {
	background-color: #f5f5f5;
	border: 1px solid #ccc;
	border-left: 5px solid #666;
	color: #424242;
/*	margin-top: 40px;*/
	padding: 4px;
	margin-left: 16px;
	margin-right: 14px;
}
