/*
# -- BEGIN LICENSE BLOCK ---------------------------------------
#
# This file is part of Aimline's Theme, a Dotclear 2 theme.
#
# Copyright (c) 2018 Aimline - http://www.aimline.fr
# Licensed under the GPL version 2.0 license.
# See LICENSE file or
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
#
# -- END LICENSE BLOCK -----------------------------------------
*/

body {
  color: #000;
/*  background: #eee;*/
  font-family: Helvetica, sans-serif;
  line-height: 120%;
  margin: 0;
  padding: 0;
}

a:link, a:visited {
  color: #7485a0;
  text-decoration: none;
}
a:hover {
  color: #a7b8d1;
  text-decoration: none;
}

a img {
  border: none;
}

.left { float: left; }
.right { float: right; }

fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

ul {
  margin: 0;
  padding: 0;
}

@font-face {
    font-family: 'dancing_script';
    src: url('/fonts/dancingscript-regular-webfont.otf') format('truetype'),
         url('/fonts/dancingscript-regular-webfont.woff2') format('woff2'),
         url('/fonts/dancingscript-regular-webfont.woff') format('woff'),
         url('/fonts/dancingscript-regular-webfont.eot') format('truetype'),
         url('/fonts/dancingscript-regular-webfont.svg#dancing_script_otregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* --------------------------------------------------------
					 Layout
-------------------------------------------------------- */

/* Pour rappel : border-width = top right bottom left  
				border :  border-width, border-style, border-color. 
  Padding : padding-top, padding-right, padding-bottom, padding-left
*/

#top {
  height: 130px;
  text-align: center;
}

#wrapper {
  width: 95.2%;
  overflow: hidden;
  margin: 20px 20px 20px 20px ;
}
  
#content {
  overflow: hidden;
}

@media (min-width: 1024px) {
  #main {
    float: left;
    width: 73%;
    text-align: center;
  }
  #sidebar {
    float: right;
  	width: 26%;
  }
}
@media (max-width: 1024px) {
  #main {
    padding: 0 10px 30px 0;
    width: 100%;
    text-align: center;
  }
  #sidebar {
    padding: 0 0 0 10px;
    width: 100%;
  }
}

#custom {
  background: #AAA;
}

#legal {
  padding: 10px 38px;
  overflow: hidden;
  background: #666;
}

#breadcrumb {
  font-size: 0.8rem;
  font-style: italic;
  padding: 10px 0 0px 20px;
}

/* --------------------------------------------------------
					 Header
-------------------------------------------------------- */

#top h1 {
  position: relative;
  top: 10px;
  font: bold 2.4rem dancing_script, sans-serif;
}
#top h1 a {
  color: #000;
}

#top #description {
  position: relative;
  top: 0px;
  font: italic 1.1rem serif;
}

/* --------------------------------------------------------
					Sidebar styles
-------------------------------------------------------- */

#sidebar {
  font-size: 0.9rem;
}

#sidebar h2 {
  position: relative;
  overflow: hidden;
  text-align: center;
  font: bold 1.4rem dancing_script;
}
#sidebar h2:before, #sidebar h2:after {
    position: absolute;
    top: 51%;
    overflow: hidden;
    width: 45%;
    height: 1px;
    content: '\a0';
    background-color: #000;
}
#sidebar h2:before {
  margin-left: -48%;
  text-align: right;
}
#sidebar h2:after {
  margin-left: 3%;
  padding-right: 40px;
}

#sidebar .about img {
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}

#sidebar div div {
  margin: 0 0 20px 10px;
}

#sidebar div div div,
#sidebar div div div p {
  overflow: hidden;
}

#sidebar ul {
  list-style: none;
}

#q {
  border: 1px solid #bfbfbf;
  width: 70%;
}

#search .submit {
  border: 1px solid #6b6b6b;
  background: #6b6b6b;
  color: #fff;
}

#sidebar .tags ul {
  overflow: hidden;
}
#sidebar .tags ul li {
  float: left;
  margin: 0 4px 4px 0;
  line-height: 1.8rem;
}
#sidebar .tags ul li a {
  display: block;
  font-size: 0.8rem;
  background: #96a7c1;
  border: 1px solid #ddd;
  color: #fff;
  padding: 1px 10px 1px 10px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  -webkit-border-radius: 15px;
}
#sidebar .tags ul li a:hover {
  background: #b8c9e2;
  color: #000;
}
#sidebar .feed {
  background: transparent url("img/feed-icon.png") no-repeat 0 50%;
  padding: 5px 0 5px 14px;
}

#blogextra li {
  font-style: italic;
  line-height: 20px;   
}
/* --------------------------------------------------------
				Main content styles
-------------------------------------------------------- */

#subcategories h4 {
  margin: 0;
  float: left;
  color: #554c46;
  font: italic bold 1.1rem serif;
}

#subcategories ul li {
  display: inline;
  margin: 0 0 0 10px;
  font-size: 1rem;
}

#content-info {
  margin: 8px 0 20px 0px;
}

#content-info h2 {
  font: 1.8rem dancing_script;
  margin: 0 0 10px 0;
}

.post-title a:link,
.post-title a:visited {
  font: normal 1.4rem dancing_script;
  line-height: 1.5;
}

.post-info {
  font-size: 0.8rem;
  font-style: italic;
  margin: 2px 0 2px 0;
  padding: 0px;
}

.post-tags {
  list-style: none;
  font-size: 1rem;
}
.post-tags li {
  display: inline;
  margin-right: 8px;
  padding: 5px 0 0px 22px;
  background: transparent url("img/tag.png") no-repeat 0 70%;
}

.comment_count {
  font: 12px Arial;
  color: #c3c3c3;
  background: transparent url("img/comment.png") no-repeat 50% 0;
  padding: 2px 10px 6px 10px;
  text-align: center;
}

#article, #comment, #media {
  overflow: hidden;
  clear: both;
}

/* --------------------------------------------------------
				Post content
-------------------------------------------------------- */

.post-content,
.post-excerpt {
  font-size: 0.9rem;
}

.post-content h1 { font-size: 1.4rem; }
.post-content h2 { font-size: 1.3rem; }
.post-content h3 { font: bold 1.3rem dancing_script, sans-serif;}
.post-content h4 { font: bold 1.2rem dancing_script, sans-serif; }
.post-content h5 { font: 1.1rem dancing_script, sans-serif; }
.post-content h6 { font: 1.0rem dancing_script, sans-serif; }

.post-content img,
.post-excerpt img {
  max-width: 80%;
  text-align:center;
}

.post-content pre, .post-content code {
  width: 85%;
  overflow: auto;
  color: #8596b0;
  padding: 2%;
  font-size: 0.9rem;
  white-space: pre;
  -webkit-box-shadow: 0px 2px 2px #dddddd;
  -moz-box-shadow: 0px 2px 2px #dddddd;
  box-shadow: 0px 2px 2px #dddddd;
}

.post-content code {
  display: block;
}
.post-content ul, .post-excerpt ul,
.post-content ol, .post-excerpt ol {
  margin: 0 0 1.5em 0;
  padding: 0 40px;
}

.post-content ul ul, .post-excerpt ul ul,
.post-content ol ol, .post-excerpt ol ol { margin: 0; }

.post-content li,
.post-excerpt li {
  margin: 0 0 .2em 0;
  padding: 0;
}

.post-content blockquote,
.post-excerpt blockquote {
  color: #666;
  font-weight: normal;
  font-style: italic;
  margin: 1.5em 3em;
}
.post-content blockquote p:before,
.post-excerpt blockquote p:before { content: '"'; }
.post-content blockquote p:after,
.post-excerpt blockquote p:after { content: '"'; }

#content .smiley {
  padding: 1px;
  border: none;
  vertical-align: middle;
  width: 16px;
  height: 16px;
}

#content table {
  width: 100%;
  margin: 1.5em 0;
  border-collapse: collapse;
  background: #eaedf2;
  color: #554C46;
  position: relative;
}
#content table th {
  text-align: left;
  padding: 4px 6px;
  font-size: 1rem;
}
#content table td { padding: 4px 6px; background: #fff; border-top: 1px solid #F6F3EE; font-size: 0.9rem; }
#content table .th-entry { width: 50%; }
#content table .th-date { width: 30%; }
#content table .view-all a {
  background: transparent url("img/read-more-button.png") no-repeat top left;
  text-decoration: none;
  border: 0px;
  padding-left: 18px;
  font-size: 0.8rem;
  font-weight: 700;
}

.footnotes { overflow: hidden; }
.footnotes p {
  margin: 0 0 1.5em 0;
  font-size: .8rem;
}

.post-update {
  font-size: .8rem;
  color: #A0968F;
  clear: both;
  margin: 1.5em 0;
}

.pagination {
  text-align: center;
  overflow: hidden;
    color: #A0968F;
  font-size: 0.9rem;
  font-weight: normal;
  margin: 10px 0 10px 0;
}
.pagination p { margin: 0; }
.pagination p span {
  padding: 0px 5px 0 5px;
  margin-right: 1px;
}
.pagination a {
    color: #333;
}
.pagination .this {
  background: #666;
  color: #fff;
}

.prev {
  background: transparent url("img/previous.png") no-repeat top left;
  padding: 0px 0 0px 18px;
}
.prev:hover { background-position: 0 -25px; }

.next {
  background: transparent url("img/next.png") no-repeat top right;
  padding: 0 18px 0 0;
}
.next:hover { background-position: right -25px; }

/* --------------------------------------------------------
			Homepage, Tag et Category
-------------------------------------------------------- */

#content .post-title a {
  font: bold 1.7rem dancing_script, sans-serif;
  margin: 15px 0 0 0;
}

#content .post-title {
  font: bold 1.7rem dancing_script, sans-serif;
  margin: 15px 0 0 0;
}

#content .post-info {
  margin-bottom: 4px;
  text-align: center;
}

.category-container {
  overflow: hidden;
  padding: 5px 1%;
  width: 45%;
  display: inline-block;
  vertical-align: top;
  text-align: center;
/*  border: solid 1px green;*/
}

.article-illustration {
  object-fit: cover;
  object-position: center 25%;
  width: 100%;
  height: 250px;
  box-shadow: 5px 5px 5px grey;
  -webkit-border-radius: 20px 0px;
  -moz-border-radius: 20px 0px;
  border-radius: 20px 0px;
  border: solid 1px gray;
}

.article-container {
/*  margin: 20px 0px 15px 17%;
  padding: 15px 15px 40px 17%;*/
/*  background: #fff;*/
  font-size: 0.9rem;
/*  border: solid 1px red;*/
}

#content .post-content {
  margin-bottom: 2px;
/*  border: solid 1px yellow;*/
  text-align: justify; 
}

/* --------------------------------------------------------
				Post only
-------------------------------------------------------- */

.dc-post .illustration {
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 400px;
  margin-top: 20px;
/*  box-shadow: 5px 5px 5px grey;*/
  -webkit-border-radius: 20px 20px 20px 20px;
  -moz-border-radius: 20px 20px 20px 20px;
  border-radius: 20px 20px 20px 20px;
}


.dc-post #article {
  background-color: #fff;
  padding: 30px;
}
.dc-post #comment {
  background-color: #fff;
  padding: 30px;
}

.dc-post #comment dd { text-align: left; }

.dc-post #content .post-content {
  margin-top: 40px;
}
.dc-post #content .post-title {
  margin: 0;
  font-size: 2.4rem;
  text-align: center;
}

.dc-post #content .post-info {
  font-size: 0.9rem;
  text-align: center;
  text-transform: none;
}

.action {
  border: 1px solid #ccc;
  background: #F9F9F9;
  padding: 20px;
  text-align: center;
}
.action .download,
.action .view {
  margin: 0 20px;
  color: #554C46 !important;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* --------------------------------------------------------
				Page only
-------------------------------------------------------- */

.dc-page #article {
  background-color: #fff;
  padding: 30px;
}
.dc-page #content .post-content {
  margin-top: 40px;
}
.dc-page #content .post-title {
  margin: 0;
  font-size: 2.4rem;
  text-align: center;
}

.dc-page #content .post-info {
  font-size: 0.9rem;
  text-align: center;
  text-transform: none;
}

.dc-page #content img {
  text-align: center;
}

/* --------------------------------------------------------
					Tags only
-------------------------------------------------------- */

.dc-tags #content ul {
  text-align: center;
  list-style: none;
  margin: 1em 0;
  padding: 0;
  font-size: 0.8rem;
}

.dc-tags #content ul li {
  padding: 8px 12px 8px 12px;
  display: inline-block;
  margin: 0;
}

.tag0 {font-size:1.2em;}
.tag10 {font-size:1.3em;}
.tag20 {font-size:1.4em;}
.tag30 {font-size:1.5em;}
.tag40 {font-size:1.6em;}
.tag50 {font-size:1.7em;}
.tag60 {font-size:1.8em;}
.tag70 {font-size:1.9em;}
.tag80 {font-size:2.0em;}
.tag90 {font-size:2.1em;}
.tag100 {font-size:2.2em;}

/* --------------------------------------------------------
					Attachments
-------------------------------------------------------- */
#media { font-size: 0.8rem; }
#attachments { margin-top: 1.5em; }
#attachments p { margin: 0; }
#attachments .attachment-desc {margin:0 0 0 3px;vertical-align:140%;}
#attachments ul {
  list-style: none;
  margin: 0;
}
#attachments li {
  margin: 0 0 1em;
  padding: 2px 10px 2px 0;
}
#attachments li.text {
  padding: 2px 10px 2px 18px;
  background: transparent url("img/attach.png") no-repeat 0 50%;
}
#attachments li.image {
  padding-left: 0;
  background: none;
}
#attachments li.video a {
  display: none;
}
#attachments li object {
  display: inline;
  margin: 0;
  padding: 0;
  vertical-align: bottom;
}
#attachments li.audio a {margin:0 0 0 3px;vertical-align:50%;}

/* --------------------------------------------------------
			Comments and trackbacks
-------------------------------------------------------- */
#comment h3,
#comment-form h3 {
  padding: 0;
  margin: 20px 0 1.5em 0;
/*  position: relative;*/
  font-size: 0.9rem;
}

#comment dl { font-size: 0.9rem; }

#comment dt { border-bottom: 1px solid #554C46; font-weight: 700; }

#comment dd { margin: 10px 10px 40px 20px; text-align: left; }

#comment dd.comment-preview { padding-left: 0; }

#comment dd ul {
  padding: 0 0 0 20px;
  list-style-position: inside;
  text-align: left;
}

#comment .commentdate { font-weight: normal; }

#comment .avatar {
  margin: 0px 20px 0px 0px;
  border: 1px solid #ccc;
  width: 48px;
  height: 48px;
  -moz-border-radius: 48px;
  border-radius: 48px;
}

.error {
  margin: 10px 0;
  padding: 10px 5px;
  background: #ffcccc;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  border: 2px solid red;
  font-weight: 700;
  font-size: 0.8rem;
}

.message {
  padding: 10px 20px;
  margin: 0 0 10px 0;
  background: #F4F4F4;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.8rem;
  color:green;
}

/* --------------------------------------------------------
						Forms
-------------------------------------------------------- */

#comment-form {
  padding-top: 10px;
  overflow: hidden;
  clear: both;
}

#comment-form fieldset {
  padding: 10px 20px;
  margin: 0 0 10px 0;
  background: #F4F4F4;
}

#comment-form fieldset p {
  padding: 10px 0;
  width: auto;
  margin: 0;
  clear: left;
}

#comment-form p.form-help {
  margin: 0;
  font-style: italic;
  font-size: 0.8rem;
}

#comment-form #c_namemail input#c_name,
#comment-form #c_namemail input#c_mail,
#comment-form #c_namemail input#c_site {
  width: 95.2%;
}

#comment-form #c_namemail { overflow: hidden; }

#comment-form #c_namemail div { width: 49%; }

/*
#comment-form #c_namemail input#c_name,
#comment-form #c_namemail input#c_mail,
#comment-form #c_namemail input#c_site {
  width: 95.2%;
}*/

#comment-form p label { width: auto; }

#comment-form p.field label {
  font-weight: 700;
  display: block;
  padding: 0;
  width: 98%;
  float: left;
  text-align: left;
  color: #554C46;
  font-size: 0.8rem;
}

#comment-form input,
#comment-form textarea {
  width: 97.5%;
  font: 0.8rem "Lucida Grande",Arial,sans-serif;
  border: 1px solid #cdcdcd;
  padding: 4px 6px;
  margin: 0;
  color: #555;
}

#comment-form .buttons .left {padding:4px 0 0 0;}
#comment-form .buttons {
  position: relative;
  padding: 0;
  overflow: hidden;
}

#comment-form input.preview,
#comment-form input.submit {
  width: auto;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  float: right;
  color: #fff;
  background: #4d6998;
  border: none;
  margin-left: 5px;
  padding: 6px 12px 4px;
}

/* --------------------------------------------------------
					Footer
-------------------------------------------------------- */

#footer p {
  font-size: 0.8rem;
  color: #fff;
  margin: 0;
}

#custom ul {
  list-style: none;
  margin-right: 10px;
  margin-left: 10px;
}

#custom div {
  width: 30%;
  float: left;
  padding: 0 0 0 0;
  margin: 10px 10px 10px 10px;
}

#custom .feed {
  background: transparent url("img/feed-icon.png") no-repeat 0 50%;
  padding: 5px 0 5px 14px;
}

/* --------------------------------------------------------
				Jquery UI Autocomplete
-------------------------------------------------------- */
.ui-autocomplete {
  position: absolute;
  background: #fff;
  -webkit-box-shadow: 0px 2px 2px #999;
  -moz-box-shadow: 0px 2px 2px #999;
  box-shadow: 0px 2px 2px #999;
}

/* workarounds */
* html .ui-autocomplete {
  width:1px;
} /* without this, the menu expands to 100% in IE6 */

.ui-menu {
  list-style:none;
  padding: 5px;
  display:block;
}

.ui-menu .ui-menu-item {
  padding: 2px;
  font-size:1rem;
}

.ui-menu .ui-menu-item a:hover,
.ui-menu .ui-menu-item a.ui-state-hover,
.ui-menu .ui-menu-item a.ui-state-active {
  color: #4d5e7c;
  background: #c9d2e2;
}



/* --------------------------------------------------------
				Slider (post "à la une")
-------------------------------------------------------- */

#slider {
  width: 99%;
  box-shadow: 5px 5px 5px grey;
  background: #ddd;
  padding-bottom: 10px;
  margin-bottom: 45px; 
  -webkit-border-radius: 20px 0px;
  -moz-border-radius: 20px 0px;
  border-radius: 20px 0px;
}


#slider .slider-une {
  height: 30px;
  background: #8596b0;
  color: #fff;
  padding-left: 25px;
  -webkit-border-radius: 20px 0px 0px 0px;
  -moz-border-radius: 20px 0px 0px 0px;
  border-radius: 20px 0px 0px 0px;
}

#slider .slider-une-content {
  padding-top: 4px;
  padding-bottom: 5px;
}

#slider .slider-container {
  width: 100%;
  text-align: left;
}

#slider .image-container {
  float: left;
  object-fit: cover;
  object-position: center 25%;
  width: 30%;
  padding: 20px 20px 20px 20px;
}

#slider .slider-container img {
  box-shadow: 5px 5px 5px grey;
  height: 250px;
  object-fit: cover;
  object-position: center 25%;
  width: 100%;
}

#slider .featured-post {
  overflow: hidden;
  position: relative;
  padding: 15px 20px 0px 0px;
  background: transparent;
  min-height: 250px;
}

#slider .featured-post .post-title { 
  font-size: 2em;
  font-weight: 700;
}

#slider .post-content {
  margin-bottom: 4px;
  min-height: 150px;
}
/* --------------------------------------------------------
				Archives
-------------------------------------------------------- */

.arch-block h4 {
  font-weight: normal;
  font-size: 0.9em;
  margin: 2px 0px;
}

.arch-block ul {
  list-style-type: none;
  margin-bottom: 1.5em;
  font-size: 0.9em;
}

#by-date div {
  display: inline-block;
  vertical-align: top;
  width: 10em;
}