/*
 * @file
 * Print Styles
 * This probably needs work, but it's a good starting point.
 */
/*
 * Body
 */
body {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4;
  word-spacing: 1.1pt;
  letter-spacing: 0.2pt;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  color: black;
  background: none;
  font-size: 11pt;
}

/*
 * Links
 */
a {
  background: transparent;
  font-weight: 700;
  text-decoration: underline;
  color: #0000ee;
}
a[href^="http://"]:after, a[href^="http://"]:visited:after {
  content: "(" attr(href) ")";
  font-size: 10pt;
}

/*
 * Strip background from likely candidates
 */
div[id*="wrapper"],
[class*="title"],
[class*="inner"],
header,
footer,
#branding,
#container,
#columns,
.columns-inner,
#content-column,
.content-inner,
.region,
.region-header,
.region-content,
.article,
.article-title,
.article-content,
.comment,
.comment-title,
.comment-content,
.block,
.block-inner,
.block-title,
.block-content,
table,
table * {
  background: none !important;
}

/*
 * Hide various bits of the page
 */
.sidebar,
#breadcrumb,
.nav,
.field-type-taxonomy-term-reference,
ul.links,
.feed-icon,
.poll .bar,
.poll .foreground,
.comment-form,
#comment-form,
.book-navigation,
.tabs,
.action-links,
.pager,
.messages,
.help {
  display: none;
}

/*
 * Ensure the display the main content region
 */
#content {
  display: block !important;
}

/*
 * Layout
 */
#header {
  margin-bottom: 20px;
}

.content-inner {
  margin: 0 !important;
  padding: 0 !important;
}

/*
 * HTML elements
 */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #333333;
  margin: 0;
  padding: 0;
  line-height: 1;
}

h1 {
  font-size: 14pt;
}

h2 {
  font-size: 13pt;
}

h3 {
  font-size: 12pt;
}

h4,
h5,
h6 {
  font-size: 11pt;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
#site-name a,
#site-slogan {
  text-decoration: none !important;
  color: #333333;
}

hgroup a:link, hgroup a:visited {
  text-decoration: none;
}

#page-title {
  margin-top: 20px;
}

pre,
code,
tt,
samp,
kbd,
var {
  font-size: 10pt;
  font-family: Consolas, "Lucida Console", Menlo, Monaco, "DejaVu Sans Mono", monospace, sans-serif;
}

blockquote {
  margin: 20px;
  padding: 10px;
  font-size: 10pt;
  font-style: italic;
  background: #eeeeee;
}

hr {
  background-color: #666666;
}

/*
 * Header, Logo, Site name
 */
#header {
  padding-bottom: 20px;
}

#logo img {
  padding: 0 10px 0 0;
  margin: 0 !important;
  float: none !important;
}

/*
 * Images
 */
img {
  float: left;
	max-width: 100%;
  margin: 4px 20px 10px 0;
  page-break-inside: avoid;
}

a img {
  border: none;
}

/*
 * Tables
 */
table {
  margin: 1px;
  text-align: left;
}

th {
  border-bottom: 1px solid #333333;
  font-weight: 700;
}

td {
  border-bottom: 1px solid #333333;
}

th,
td {
  padding: 4px 10px 4px 0;
}

tfoot {
  font-style: italic;
}

caption {
  margin-bottom: 10px;
  text-align: left;
}

thead {
  display: table-header-group;
}

tr {
  page-break-inside: avoid;
}

/*
 * Forms
 */
form {
  margin-bottom: 10px;
}

/*
 * Poll module
 */
.poll .text,
.poll .percent,
.poll .total {
  text-align: left;
}
.poll form {
  margin-bottom: 0;
}

/*
 * Articles
 */
.node,
.comment {
  margin-bottom: 20px;
  overflow: hidden;
  page-break-inside: avoid;
}

.submitted {
  color: #666666;
  text-decoration: none;
  font-size: 9pt;
  font-weight: 400;
  margin: 0;
  padding: 0;
}
.submitted a {
  color: #666666;
  text-decoration: none;
  font-size: 9pt;
  font-weight: 400;
  margin: 0;
  padding: 0;
}

/* Custom styles */
* {
	color: #000000 !important;
}

p, li, table, div {
	color: #000000;
	font-size: 12px;
}

h1 {
	margin-bottom: 10px;
}

h4 { font-size: 13px; }
h3 { font-size: 14px; }
h2 { font-size: 15px; }

a {
	color: #000000;
}

#logo,
.region-header,
.region-content-footer,
.region-sidebar-second,
.social-node-block,
#footer,
#header,
.view-display-id-block_avoi_aussi,
.view-display-id-block_ne_pas_manquer,
.rate,
.node-updated,
#block-views-actualites-block-les-plus-lues,
#block-views-actualites-block-les-rec,
.social-block,
#block-views-exp-agenda-page,
#addthis,
.text-resize,
.field-name-field-reponse img,
.picto,
.region-sidebar-second,
#block-views-actualites-block-elu-actualite,
#block-views-actualites-block-canton-actualite,
.quote-content img,
.field-name-field-canton,
.field-name-field-commune,
.node-type-guide .node-guide-custom-right,
#block-views-actualites-block-actualite-more-read,
#block-views-actualites-block-actualite-last {
	display: none;
}

.sidebar,
.content-wrapper {
	margin-top: 20px;
}

.node-type-fiches-elus .region-sidebar-second,
.node-epci .field-name-field-canton,
.node-commune .field-name-field-canton,
.node-epci  .field-type-taxonomy-term-reference,
.node-commune .field-type-taxonomy-term-reference,
.node-commune .region-sidebar-second,
.node-type-commune .region-sidebar-second,
.node-type-epci .region-sidebar-second {
  display: block;
	margin-bottom: 20px;
}

.node-epci  .field-type-taxonomy-term-reference ul {
	padding: 0;
	margin: 0;
}
.node-epci  .field-type-taxonomy-term-reference li {
	list-style-type: none;
}

table td {
	padding-left: 10px;
}

.node-actualite .author,
.node-actualite .date_created,
.node-actualite .date_changed {
	float: left !important;
	margin-left: 5px;
}

.node-actualite .date_created {
	width: 163px;
}
.node-actualite .field-name-field-date-publication {
	float: right;
}

.node-actualite .time {
	clear: left;
}

.node-actualite .author {
	margin-left: 0;
}

#content .time {
	display: block;
}

.magazine-block.small {
	clear: left;
}

.node-epci h2.field-label,
.node-commune h2.field-label {
	font-size: 12px;
}

.node-commune ul.field-items {
	margin: 0;
}

.node-commune .field,
.node-commune .elu,
.node-commune .location {
	margin-bottom: 10px;
}

.node-commune label {
	font-weight: bold;
}