/*
  dcbootstrap-base.css — règles reprises du thème parent dcBootstrap (style.css)

  Avant, style.css faisait @import url("../dcBootstrap/style.css") : le thème
  dépendait d'un autre dossier de /themes (le supprimer ou le mettre à jour
  cassait matosvelo3). On ne garde ici que les règles qui ont encore un effet
  sur le rendu actuel :
   - retirées : #top / navbar / #extra-header / #sidebar / #footer / .social /
     .post* / #content-info / Agora / polices Open Sans (aucun élément
     correspondant dans les gabarits, ou règle déjà écrasée par matostyle.css
     ou theme-v3.css) ;
   - retirées aussi : les règles sur h2/h3/h4 et .post-content img, que
     Bootstrap 5 (ou theme-v3.css) écrasait déjà.
  Les sélecteurs et valeurs conservés sont identiques à l'original.
*/

/* Layout */
#wrapper {
	margin: 2em auto 0;
	border: 1px solid #e5e5e5;
	box-shadow: 0 1px 4px 1px rgba(150, 150, 150, 0.075);
}

a:link, a:visited { text-decoration: none; }
a:hover, a:active { text-decoration: none !important; }

ul.tags, ul.archive { list-style: none; margin: 0.6em 0; padding: 0; }
ul.tags li, ul.archive li { margin: 0.2em auto; }
ul.tags li a, ul.archive li a { display: block; padding: 10px 15px; position: relative; }

/* Contenu */
.post-excerpt, #comments dd, #pings dd, dd.comment-preview { line-height: 1.4em; }
.post-content acronym, .post-excerpt acronym { cursor: help; border-bottom: 1px dotted #666; }
#comment-form blockquote { background-color: #F4F8FA; border-color: #5BC0DE; font-size: 1.1em; }
.post-excerpt img { max-width: 100%; height: auto; }
.post-content object, .post-excerpt object, .post-content iframe, .post-excerpt iframe { max-width: 100%; }

#attachments h3 { font-size: 1.2em; }
#attachments ul { list-style: none; margin: 0; padding: 4px 0; }
#attachments li { margin: 0 0 0.6em; padding: 2px 10px 2px 18px; }
#attachments li object { display: inline; margin: 0; padding: 0; vertical-align: bottom; }
.attachments .fa { color: #248DC1; margin-right: 0.5em; }

/* Commentaires et rétroliens */
#comments { clear: both; }
#comments, #comment-form, #pings { margin-top: 2.8em; }
#comments h3:first-child, #comment-form h3, #pings h3 {
	background: #2e3539;
	color: #fff;
	padding: 1em;
	margin: 0 0 2.2em;
	font-size: 1.1em;
	font-weight: 600;
	text-align: center;
	border-radius: 0.15em;
}
#comments dt {
	margin: 1.5em 0 0 0;
	padding: 0 0.6em;
	height: 2.775em;
	line-height: 2.775em;
	font-weight: 600;
	border-bottom: 1px solid #428bca;
}
#comments a.comment-number {
	display: block;
	float: left;
	margin-right: 0.725em;
	padding: 0 0.875em;
	border-radius: 0.2em 0.2em 0 0;
}

/* Formulaires */
#comment-form { clear: both; }
#comment-form fieldset { border: none; }
#comment-form fieldset p { padding: 0.4em 0; }
#comment-form fieldset p.field { padding: 0.4em 0; width: auto; margin: 0.8em 0; clear: both; }
#comment-form p.form-help { font-style: italic; }
#comment-form .field label {
	width: auto;
	color: #666666;
	display: block;
	font-size: 0.975em;
	font-weight: 600;
	text-indent: 0.4em;
}
#comment-form input, #comment-form textarea { font: 1em "Lucida Grande",Arial,sans-serif; width: 68%; }
#comment-form textarea { width: 100%; }
#comment-form p.remember { margin: 0; }
#comment-form input#c_remember,
#comment-form input#user_remember { width: auto; border: 0; margin: 0; }
p.buttons { text-align: center; }

.error, .message, .success {
	margin: 2.4em 0;
	padding: 1em;
	color: #000000;
	text-shadow: 0 1px 0 rgba(250, 250, 250, 0.5);
	font-size: 1.1em;
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
	border-radius: 0.15em;
}
.success { background-color: #BEE74B; }
.message { background-color: #a2cbe9; }
.error { background-color: #c44d58; color: #fff; text-shadow: 0 1px 0 rgba(0,0,0,0.5); }

input[type="text"], input[type="email"], input[type="password"], input[type="file"] {
	border: 1px solid #d5d5d5;
	border-radius: 0.125em;
	padding: 0.375em 0.4em;
}
textarea, select { border: 1px solid #d5d5d5; border-radius: 0.125em; }
textarea { padding: 0.4em; }
select { padding: 0.375em; }
input, textarea, select, a.button { transition: all 0.35s ease 0s; }
input[type="text"]:hover, input[type="email"]:hover, input[type="password"]:hover, input[type="file"]:hover, textarea:hover, select:hover,
input[type="text"]:active, input[type="email"]:active, input[type="password"]:active, input[type="file"]:active, textarea:active, select:active,
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, input[type="file"]:focus, textarea:focus, select:focus {
	border-color: #11a3ea;
	color: #0f4987;
}

input[type="submit"], a.button {
	cursor: pointer;
	display: inline-block;
	font-size: 14px;
	width: auto !important;
	font-weight: normal;
	line-height: 1.42857;
	margin-bottom: 0;
	padding: 6px 12px;
	text-align: center;
	vertical-align: middle;
	white-space: nowrap;
	background-image: none;
	border: 1px solid #357EBD;
	color: #fff;
	border-radius: 0.2em;
}
input[type="submit"]:hover, input[type="submit"]:focus, a.button:hover, a.button:focus {
	border-color: #285E8E;
	color: #fff;
}
input[type="submit"]:focus, a.button:focus { outline: thin dotted #333333; outline-offset: -2px; }

/* Tableaux */
table td { vertical-align: middle !important; }
#content table { width: 100%; }
#content table > thead > tr > th { border-bottom: 2px solid #DDDDDD; padding: 8px; vertical-align: middle; }
#content table > thead > tr > td, #content table > tbody > tr > td, #content table > tfoot > tr > td {
	border-top: 1px solid #DDDDDD;
	line-height: 1.42857;
	padding: 8px;
}

/* Bouton "remonter" */
#back-to-top { box-shadow: 0 0 2px 1px rgba(60, 60, 60, 0.2); }
#back-to-top:hover, #back-to-top:focus, #back-to-top:active { opacity: 1; }

/* Utilitaires (classes éventuellement posées par l'éditeur dans les articles) */
.left { float: left; }
.right { float: right; }

@media (max-width: 768px) {
	#wrapper { margin-top: 0; border: 0; box-shadow: none; }
}
