@charset "UTF-8"; /*

===================================================

    erational - secret society of rational thoughts

    dedicated to kagoshima island 👺 and aizawa-san ❤️ 



=== Table of contents =============================

    – Font
    – Core Import
    - Palette
    - Layout
    - Utility
    - SPIP
    - Plugins    
    - Menu
    - Pages

    Viewport:
    - 1600px
    - 1100px
    - 800px
    - 550px

/* Font
=================================================== */
/*
recuperer les google fonts en local
https://google-webfonts-helper.herokuapp.com/fonts/
*/
/* open-sans-regular - latin */
@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400;
	src: local('Open Sans Regular'), local('OpenSans-Regular'), url('../fonts/open-sans-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../fonts/open-sans-regular.woff') format('woff');
	/* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* open-sans-800 - latin */
@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 800;
	src: local('Open Sans ExtraBold'), local('OpenSans-ExtraBold'), url('../fonts/open-sans-800.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../fonts/open-sans-800.woff') format('woff');
	/* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* crimson-text-700 - latin */
@font-face {
	font-family: 'Crimson Text';
	font-style: normal;
	font-weight: 700;
	src: local('Crimson Text Bold'), local('CrimsonText-Bold'), url('../fonts/crimson-text-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../fonts/crimson-text-700.woff') format('woff');
	/* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* Core Import
=================================================== */
body {
	/*background:#fff;*/
	background-color: #ffec3b;
	color: #403b3b;
	font-family: 'Open Sans', serif;
	font-size: 1rem;
}

a {
	color: #4369f5;
	transition: all .5s;
	text-decoration: none;
}

a:hover {
	color: #0597ff;
	text-decoration: underline;
}

strong {
	font-weight: 800;
}

i {
	font-style: italic;
}

sup {
	vertical-align: super;
	font-size: smaller;
	line-height: normal;
}

p {
	margin: 0 0 1rem 0;
}

p + p {
	margin: 1rem 0;
}

h1,h2,h3,h4,h5,h6 {
	font-weight: 800;
}

caption {
	padding: 1rem;
	font-weight: bold;
}

table {
	margin: 1rem 0;
	width: 100%;
}

tr {
	border-top: 1px solid #cfc5c5;
	border-bottom: 1px solid #cfc5c5;
}

th {
	background: #ddd;
	font-weight: bold;
	text-align: left;
	padding: .25rem;
}

td {
	text-align: left;
	padding: .25rem;
}

img {
	max-width: 100%;
	height: auto;
}

ul {
	list-style: disc;
	margin-left: 1rem;
}

ol {
	list-style-type: decimal;
	margin-left: 1rem;
}

img {
	max-width: 100%;
	height: auto;
}

small {
	font-size: .8rem;
	color: #929292;
	display: block;
	margin-top: .5rem;
}

textarea {
	font-family: 'Open Sans', serif;
}

@media (max-width: 1100px) {
	small {
		font-size:.7rem;
	}
}

/* Palette
=================================================== */
.bg-yellow {
	background-color: #ffec3b;
}

.bg-white {
	background-color: #ffffff;
}

/* Layout
=================================================== */
.main {
	position: relative;
	overflow-x: hidden;
	overflow-y: hidden;
	/*border:4px solid red;	*/
}

/* header
----------------------------------*/
.header {
	padding: 3rem 0;
}

.header-logo {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	width: 100%;
}

.header-logo a {
	text-decoration: none;
	z-index: 2;
	position: relative;
}

.header-logo-img a {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
}

.header-logo-img img {
	width: 75px;
	margin-right: 20px;
}

.header-logo-img:hover img {
	transform: rotate(-15deg);
	transition: all 100ms ease-in-out;
}

.header-logo-titre {
	font-size: 2.2rem;
	color: #000;
}

.header-hamburger {
	/*display:none; */
	display: block;
	margin-left: auto;
	/* pour aligner à droite https://developer.mozilla.org/fr/docs/Web/CSS/CSS_Flexible_Box_Layout/Aligner_des_%C3%A9l%C3%A9ments_dans_un_conteneur_flexible */
}

@media (max-width: 1600px) {
	.header {
		padding:1rem;
	}

	.header-logo-titre {
		font-size: 1.6rem;
		color: #000;
	}

	.header-logo-img {
		width: 60px;
	}
}

@media (max-width: 1100px) {
	/*.header-hamburger {
		display:block;	
	}*/
}

/* menu
----------------------------------*/
.header-desktop, .header-navigation, .content, .footer {
	-webkit-transition: all 400ms ease-in-out;
	-moz-transition: all 400ms ease-in-out;
	-ms-transition: all 400ms ease-in-out;
	-o-transition: all 400ms ease-in-out;
	transition: all 400ms ease-in-out
}

.header-navigation {
	background-color: #000000;
	color: #fff;
	position: fixed;
	top: 0;
	left: -28em;
	width: 28em;
	line-height: 180%;
	height: 100%;
}

.header-link-nav-rwd {
	list-style: none;
	margin: 6rem 1rem;
}

.header-link-nav-rwd a {
	color: #ffec3b;
	text-decoration: none;
	margin: 0 2rem;
	padding: 0.25rem;
	display: block;
	border-bottom: 1px solid #ffec3b3b;
	text-transform: lowercase;
}

.header-link-nav-rwd a:hover {
	color: #9E9E9E;
}

.btn-nav-close {
	position: absolute;
	top: 1rem;
	right: 2rem;
}

.btn-nav-close svg {
	width: 30px;
	height: 30px;
	fill: #ffec3b;
}

.main-header-open .header-desktop, .main-header-open .header-navigation, .main-header-open .content, .main-header-open .footer {
	-webkit-transform: translateX(28em);
	-moz-transform: translateX(28em);
	-ms-transform: translateX(28em);
	-o-transform: translateX(28em);
	transform: translateX(28em);
}

.header-row2 {
	border-top: 1px solid #999;
	padding-top: .2rem;
	margin-top: -1rem;
	margin-bottom: 4rem;
}

.header-row2 ul {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.link-nav {
	text-transform: uppercase;
	text-decoration: none;
}

.link-nav.on {
	font-weight: bold;
}

@media (max-width: 800px) {
	.main-header-open .header-desktop, .main-header-open .header-navigation, .main-header-open .content, .main-header-open .footer {
		-webkit-transform: translateX(18em);
		-moz-transform: translateX(18em);
		-ms-transform: translateX(18em);
		-o-transform: translateX(18em);
		transform: translateX(18em);
	}

	.header-navigation {
		left: -18em;
		width: 18em;
	}
}

/* grille
----------------------------------*/
.container-big {
	width: 1600px;
	margin: 0 auto;
}

@media (max-width: 1600px) {
	.container-big {
		width:100%;
	}
}

.container {
	width: 1100px;
	/*border:1px solid blue;*/
	margin: 0 auto;
}

@media (max-width: 1100px) {
	.container-big, .container {
		width:100%;
	}

	/* une classe pour fournir une marge laterale en rwd */
	.container-inner-rwd {
		margin: 0 1rem;
		width: 90%;
		width: calc(100% - 2rem);
	}
}

.row {
	width: 100%;
	/*border:1px solid orange;
	background-color:#9E9E9E;*/
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
}

/* grille 4 */
.c4-4 {
	/*border:1px solid #08232c;*/
	width: 22.5%;
	margin-bottom: 2%;
}

.c3-4 {
	/*border:1px solid #2196F3;*/
	width: 74%;
	margin-bottom: 2%;
}

.c2-4 {
	/*border:1px solid #9C27B0;*/
	width: 48.4%;
	margin-bottom: 2%;
}

.c1-4 {
	/*border:1px solid #4CAF50;*/
	width: auto;
	margin-bottom: 2%;
}

/* grille 3 */
.c1-3 {
	/*border:1px solid #FFEB3B;*/
	width: 30.2%;
	margin-bottom: 2%;
}

.c2-3 {
	/*border:1px solid #ff9a3b;*/
	width: 65.2%;
	margin-bottom: 2%;
}

.c3-3 {
	/*border:1px solid #3bff46;*/
	width: 100%;
	margin-bottom: 2%;
}

/* grille 2 */
.c1-2 {
	/*border:1px solid #4CAF50;*/
	width: 48.5%;
	margin-bottom: 2%;
}

.c2-2 {
	/*border:1px solid #29442a;*/
	width: 100%;
	margin-bottom: 2%;
}

/* grille rwd */
@media (max-width: 1100px) {
	/* grille 4 */ .c4-4, .c3-4, .c2-4 {
		width:48%;
	}

	/* grille 3 */
	.c1-3, .c2-3, .c3-3 {
		width: 100%;
	}

	/* grille 2 */
	.c1-2, .c2-2 {
		width: 100%;
	}

	/* classe c-empty pour masquer les fantomes en  rwd */
	.c-empty {
		display: none;
	}
}

@media (max-width: 800px) {
	/* grille 4 */ .c4-4, .c3-4, .c2-4, .c1-4 {
		width:100%;
		margin-bottom: 10%;
	}

	/* grille 3 */
	.c1-3, .c2-3, .c3-3 {
		width: 100%;
		margin-bottom: 10%;
	}

	/* grille 2 */
	.c1-2, .c2-2 {
		margin-bottom: 10%;
	}
}

/* footer
----------------------------------*/
.footer {
	padding: 2rem 0 2rem 0;
}

.footer-row {
	padding-top: 1rem;
	text-align: center;
	font-size: .8rem;
}

.footer a {
	color: #403b3b;
	text-decoration: none;
	display: inline-block;
	margin: 0 .4rem;
}

.footer a:hover {
	color: #0597ff;
}

.go-top {
	display: block;
	width: 80px;
	height: 80px;
	position: fixed;
	bottom: -120px;
	right: 20px;
	transition: all 1s ease;
}

.go-top.show {
	bottom: 20px;
}

/* Utility
=================================================== */
.uppercase {
	text-transform: uppercase;
}

.right {
	float: right;
}

.left {
	float: left;
}

.centered {
	text-align: center;
}

.btn {
	display: inline-block;
	padding: .6rem 1.2rem;
	color: #ffffff;
	background-color: #000000;
	border-radius: .2rem;
}

.btn:hover {
	text-decoration: none;
}

.btn-black {
	background-color: #000000;
	color: #FFEC3B;
}

.btn-black:hover {
	background-color: #6d661f;
	color: #FFEC3B;
}

.margin-top-6rem {
	margin-top: 6rem;
}

/* SPIP
=================================================== */
h3.spip {
	margin-top: 1rem;
}

tt, .spip_code, code {
	font-family: monospace;
	font-size: 1.1rem;
}

code {
	color: #474646;
	background: #dfdfdf;
	padding: 2px 5px;
}

.spip_poesie {
	color: #414141;
	background: #efefef;
	margin: 1rem 0;
	padding: 1rem;
	border-radius: 0.25rem;
	width: 100%;
}

textarea.spip_cadre {
	color: #ededed;
	background: #414141;
	margin: 1rem 0;
	padding: 1rem;
	border-radius: 0.25rem;
	width: 100% !important;
}

blockquote.spip {
	color: #ededed;
	background: #414141;
	margin: 1rem 0;
	padding: 1rem;
	border-radius: 0.25rem;
	width: 100%;
}

/* Document (version 2015.03.04) */
dl.spip_documents {
	margin: 0;
}

.spip_documents a.spip_out {
	background: transparent !important;
	text-decoration: none!important;
	border: 0px #fff !important;
}

/* pour eviter les bordures sur lien img [<img1>->url] */
.spip_documents_left {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 0.8em;
}

.spip_documents_right {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 0.8em;
}

@media (max-width: 1100px) {
	.spip_documents_left, .spip_documents_right {
		float:none;
		margin: 1em 0;
	}
}

dl.spip_documents_center, .spip_documents_center {
	display: block !important;
	float: none;
	text-align: center;
	margin: .8em auto;
}

.spip_doc_titre, .spip_doc_descriptif {
	clear: both;
	font-size: 0.8em;
	margin: 0 auto;
	font-family: Verdana;
}

img.spip_logos {
	margin: 10px;
}

dl.spip_documents a img {
	border: 0 !important;
}

/* modele speciale img afficher titre et desc */
.spip_doc_titre {
	font-size: 0.9em;
	font-weight: bold;
}

.spip_doc_descriptif {
	font-size: 0.8em;
	font-weight: normal;
}

dd.spip_doc_credits {
	font-size: 0.8em;
	text-align: center;
	margin: 0;
}

hr.spip {
	border: none;
	border-top: 1px solid #ffffff;
	/* #d5d5d5;*/
	clear: both;
}

/* formulaire */
.erreur_message {
	display: block;
	margin: 0 0 .5rem 0;
	color: #d00;
	background-color: #fbd7d7;
	border-radius: .5rem;
	padding: 1rem;
}

.reponse_formulaire {
	margin: 1rem 0;
	border-radius: .5rem;
	padding: 1rem;
}

.reponse_formulaire_ok {
	color: #0a0;
	background-color: #caffa5;
}

.reponse_formulaire_erreur {
	color: #d00;
	background-color: #fbd7d7;
}

.formulaire_spip ul, .formulaire_spip li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.spip_surligne {
	background: yellow;
}

/* pagination SPIP 4.0 */
.pagination {
	padding-top: 1rem;
	font-size: 1rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.pagination-items {
	flex-grow: 1;
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center
}

.pagination-item-label {
	padding: 0.5rem 1rem
}

.pagination-titre {
	margin-right: 1rem;
}

.pagination-item-label.on {
	font-weight: bold;
}

.pagination-item a {
	color: #433B3B;
}

.pagination-item a:hover {
	color: #0597ff;
}

/* Plugins
=================================================== */
/* oembed */
.oembed figcaption {
	display: none;
}

.spip_documents .oembed {
	background: transparent;
	padding: 0;
	border: none;
}

/* pre & code */
.precode pre,.precode pre[class], .coloration_code.cadre {
	border: none;
	border-radius: 0;
	color: #FFF;
	background: #003E4B;
	padding: 0;
	margin-bottom: 1rem;
}

.precode pre code {
	padding: 1.5rem;
	color: #d6ecde;
}

.precode pre::before,.precode pre.spip::before,.precode pre.spip2::before,.precode pre.html::before,.precode pre.css::before,.precode pre.less::before,.precode pre.sass::before,.precode pre.scss::before,.precode pre.js::before,.precode pre.php::before,.precode pre.xml::before {
	color: #FFF
}

.li1 {
	padding-left: 1rem;
}

/* Pages
=================================================== */
/* sommaire
----------------------------------*/
/* sommaire > home-bloc-1 */
.home-bloc-1 {
	font-weight: 700;
}

.row.home-bloc-1 .article {
	text-align: left;
	max-width: 700px;
	margin: 0rem auto 0 auto;
	/*border:1px solid;*/
	padding: 0 0 1.5rem 0;
}

.home-bloc-1 img {
	display: block;
	margin: auto;
	/*border:1px solid red;*/
	max-width: 500px;
}

@media (max-width: 1100px) {
	.home-bloc-1 img {
		max-width:350px;
	}
}

.home-bloc-1 .article-texte {
	padding: 0 1rem;
}

/* article
----------------------------------*/
.article {
	line-height: 160%;
	font-size: 1rem;
	padding: 0 0 4rem 0;
}

.row .article {
	margin: 1rem 0;
}

h1.article-titre {
	font-family: 'Crimson Text',serif;
	font-weight: 700;
	font-size: 2.8rem;
	line-height: 100%;
	margin: 5rem 0 3rem 0;
}

h1.article-titre + .article-keywords {
	margin-top: -2rem;
	margin-bottom: 1rem;
}

.article-keyword,
.bouton  {
	display: inline-block;
	background-color: #747474;
	font-size: .8rem;
	padding: .2rem .8rem;
	border-radius: .2rem;
	color: #ffffff;
	margin: 0 .4rem 1rem 0;
}

.article-keyword:hover,
.bouton:hover  {
	background-color: #000;
	color: #fff  !important;;
	text-decoration: none !important;
}


.bouton {
	background-color: #000;
}

.bouton:hover  {
	background-color: #747474;
}



.article-texte {
	line-height: 160%;
}

.article-texte h2 {
	font-family: 'Crimson Text',serif;
	font-weight: 700;
	line-height: 100%;
	font-size: 1.9rem;
	margin: 3rem 0 1rem;
}

.article-texte ul {
	list-style-type: disc;
	margin: 1rem 2rem;
}

.article-texte ul ul {
	margin: 0 2rem;
}

.article-texte ol {
	list-style-type: decimal;
	margin: 1rem 2rem;
}

.article-illustration, .article-illustration-rwd {
	/*border:1px solid red;*/
	margin: 2.6rem auto;
	clear: both;
	font-size: .92rem;
	font-weight: 700;
	color: #050404c4;
	text-align: center;
}

/* article-illustration responsive */
.article-illustration-rwd img {
	max-height: 85vh;
	width: auto;
	height: auto;
}

.article-illustration img {
	box-shadow: 0 0 12px #050404a3;
	margin-bottom: .8rem;
}

.article-more {
	margin-top: 5rem;
}

@media (max-width: 1100px) {
	.article {
		font-size:.8rem;
	}

	.row .article {
		margin: 1rem;
	}

	h1.article-titre {
		font-size: 1.8rem;
	}

	.article-texte h2 {
		font-size: 1.4rem;
	}
}

.article-date {
	padding: .4rem .8rem .4rem;
	margin-bottom: .2rem;
	border-radius: 5px;
	display: inline-block;
	background-color: #949494;
	color: #ffffff;
}

.ul-unlisted ul {
	list-style: none;
	line-height: 140%;
}

/* rubrique
----------------------------------*/
/* rubrique > article-preview */
.article-preview-link {
	text-decoration: none;
	color: #433B3B;
}

.article-preview-link:hover {
	text-decoration: none;
}

.article-preview-img {
	border: 1px solid #d2d2d2;
	/*font-size:0; /* pas de blanc parasite */
	display: flex;
	/* pour eviter les blancs parasites, soyons modernement simple */
	transition: all .5s;
}

.article-preview-link:hover .article-preview-img {
	opacity: .8;
	border: 1px solid #747373;
	/*transform: scale(1.08);*/
}

.article-preview-title {
	padding: .4rem .4rem;
}

.article-preview-date {
	padding: 0 .4rem .4rem .4rem;
	color: #949494;
	font-size: small;
}

.article-preview-text {
	padding: 0 .4rem;
	font-size: 0.8rem;
}

/* syndic-preview */
.syndic-preview {
	max-width: 800px;
	margin: 0 auto 3rem auto;
}

.syndic-preview-text img {
	display: block;
	clear: both;
	border: 1px solid #d2d2d2;
}

.syndic-preview-text:hover img {
	opacity: .8;
	border: 1px solid #747373;
}

@media (max-width: 1100px) {
	/* sur la version rwd, 
	   on limite la largeur article-preview 
	   pour éviter que le bloc depasse la largeur maxime des images */.article-preview {
		max-width:400px;
		margin: auto;
		/* allez ... on tente un centré en plus */
	}
}

/* rubrique > filtres */
.rubrique-keywords {
	list-style: none;
}

.rubrique-keyword {
	display: inline-block;
	background-color: #747474;
	font-size: .8rem;
	padding: .5rem .8rem .6rem .8rem;
	border-radius: .2rem;
	color: #ffffff;
	margin: 0 0.8rem .8rem 0;
}

.rubrique-keyword span {
	opacity: 0.6;
	margin-left: .2rem;
}

.rubrique-keyword.on {
	background-color: #FF5722;
	color: #ffffff;
}

.rubrique-keyword:hover {
	background-color: #000;
	color: #ffffff;
	text-decoration: none;
}

@media (max-width: 1100px) {
	.rubrique-keywords li {
		display:inline-block;
	}
}

/* auteur (contact)
----------------------------------*/
.formulaire_spip legend {
	font-weight: 700;
	padding-left: .2rem;
}

.formulaire_spip input, .formulaire_spip textarea {
	display: block;
	padding: 0.4rem 0.5rem;
	font-size: 1rem;
	background-color: #e8e8e8cf;
	border: 1px solid #999999a6;
	border-radius: 5px;
}

.bg-yellow .formulaire_spip input, .bg-yellow .formulaire_spip textarea {
	background-color: #ffffff;
	border: 1px solid #ffec3b;
}

@media (max-width: 1100px) {
	.formulaire_spip textarea {
		width:90%;
		width: calc(100% - 1.4rem);
	}
}

.formulaire_spip label {
	display: block;
	padding: 0 0.2rem .4rem .2rem;
	margin-top: 1rem;
}

.formulaire_spip input.submit {
	display: inline-block;
	padding: .6rem 1.2rem;
	color: #ffffff;
	background-color: #000000;
	border-radius: .2rem;
}

.formulaire_spip input.submit:hover {
	color: #0597ff;
	cursor: pointer;
}

.previsu {
	display: block;
	margin: 0 0 2rem 0;
	color: #474747;
	background-color: #f7ffc0;
	border-radius: .5rem;
	padding: 1rem;
	line-height: 160%;
}

.previsu legend {
	display: block;
	position: relative;
	top: 2rem;
	padding: 0;
	margin: 2rem 0;
	border-bottom: 1px solid #aeaeae;
}

.previsu .submit {
	margin-top: 1rem;
	color: #ffec3b !important;
}

.previsu .submit:hover {
	background-color: #6d661f;
}
