/* -- main -- */
html {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0 auto;
	font-family: Open Sans, Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: normal;
	color: #3b3839;
}

a:link, a:visited {
	color: #3b3839;
	text-decoration: none;
	-webkit-transition: color 0.35s ease;
	   -moz-transition: color 0.35s ease;
	    -ms-transition: color 0.35s ease;
	     -o-transition: color 0.35s ease;
	        transition: color 0.35s ease;
}

a:hover, a:active, a:focus {
	color: #dd2c2e;
	text-decoration: none;
	-webkit-transition: color 0.35s ease;
	   -moz-transition: color 0.35s ease;
	    -ms-transition: color 0.35s ease;
	     -o-transition: color 0.35s ease;
	        transition: color 0.35s ease;
}

h1, h2, h3, h4 {
	margin: 0;
	padding: 0;
	text-align: center;
	text-transform: capitalize;
}

h1 { font-size: 18px; }

h2 { font-size: 16px; }

h3, h4 {
	font-size: 14px;
	font-weight: bold;
	padding-bottom: 5px;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

li { display: inline; }

p, article { font-size: 14px; }


/* -- navigation -- */
.arrow-left { float: left; }
.arrow-right { float: right; }

.arrow-left, .arrow-right {
	position: relative;
	display: block;
	margin: 3% 0 0 0;
	padding: 2px 12px;
}

.box-white {
	background: #fff;
	border: 1px solid #fff;
	color: #3b3839;
}

.box-beige {
	border: 1px solid rgba(0, 0, 0, 0.3);
	color: #fff;
}

a.arrow-left:link, a.arrow-left:visited, a.arrow-right:link, a.arrow-right:visited {
	-webkit-transition: all 0.35s ease;
	   -moz-transition: all 0.35s ease;
	    -ms-transition: all 0.35s ease;
	     -o-transition: all 0.35s ease;
	        transition: all 0.35s ease;
}

a.arrow-left:hover, a.arrow-left:active, a.arrow-left:focus, a.arrow-right:hover, a.arrow-right:active, a.arrow-right:focus {
	background: #dd2c2e;
	border: 1px solid #dd2c2e;
	color: #fff;
	-webkit-transition: all 0.35s ease;
	   -moz-transition: all 0.35s ease;
	    -ms-transition: all 0.35s ease;
	     -o-transition: all 0.35s ease;
	        transition: all 0.35s ease;
}


/* -- header -- */
header {
	text-align: center;
	padding-bottom: 120px;
	background: url(https://www.hanafuda.fr/images/header/hanafuda-background-m.jpg) center center;
	background-size: cover;
}

#langmenu {
	margin-bottom: 60px;
	font-size: 12px;
	min-width: 220px;
	color: #fff;
	padding-top: 15px;
}
@media only screen and (max-width: 460px) {
    header {
    	padding-bottom: 60px;
    }
    #langmenu {
    	margin-bottom: 15px;
    }
}

#langmenu a:link, #langmenu a:visited {
	display: inline-block;
	padding: 2px 8px;
	color: #fff;
	-webkit-transition: all 0.35s ease;
	   -moz-transition: all 0.35s ease;
	    -ms-transition: all 0.35s ease;
	     -o-transition: all 0.35s ease;
	        transition: all 0.35s ease;
}

#langmenu a:hover, #langmenu a:active, #langmenu a:focus {
	background-color: rgba(255, 255, 255, 0.8);
	color: #3b3839;
	-webkit-transition: all 0.35s ease;
	   -moz-transition: all 0.35s ease;
	    -ms-transition: all 0.35s ease;
	     -o-transition: all 0.35s ease;
	        transition: all 0.35s ease;
}

#mainmenu a:link, #mainmenu a:visited {
	display: inline-block;
	margin: 10px 14px;
	border: 1px solid rgba(255, 255, 255, 0.8);
	font-size: 15px;
	color: #fff;
	padding: 20px;
	width: 120px;
	-webkit-transition: all 0.35s ease;
	   -moz-transition: all 0.35s ease;
	    -ms-transition: all 0.35s ease;
	     -o-transition: all 0.35s ease;
	        transition: all 0.35s ease;
}

#mainmenu a:hover, #mainmenu a:active, #mainmenu a:focus {
	background-color: rgba(255, 255, 255, 0.8);
	color: #3b3839;
	-webkit-transition: all 0.35s ease;
	   -moz-transition: all 0.35s ease;
	    -ms-transition: all 0.35s ease;
	     -o-transition: all 0.35s ease;
	        transition: all 0.35s ease;
}


/* -- content -- */
section:nth-child(even) { background: #e6e2d9; }

section > article {
	margin: 0 auto;
	padding: 0 20px 3% 20px;
	width: 88%;
	max-width: 1200px;
}

article > h1, article > h2 {
	padding: 3% 0;
}

article > h1:before, article > h2:before, 
article > h1:after, article > h2:after, 
div#histoire > h2:before, div#histoire > h2:after {
    position: relative;
    top: 2px;
    content: "";
    padding: 30px;
    background: url(https://www.hanafuda.fr/images/header/sakura-blossom.svg) center center no-repeat;
    background-size: 25px 25px;
}

/* -- histoire -- */
#histoire {
	margin-top: 20px;
	display: none;
}

a.savoir-plus:link, a.savoir-plus:visited {
	display: block;
	background: #fff;
	width: 125px;
	margin: 10px 0;
	padding: 4px;
	font-size: 12px;
	text-align: right;
	-webkit-transition: all 0.35s ease;
	   -moz-transition: all 0.35s ease;
	    -ms-transition: all 0.35s ease;
	     -o-transition: all 0.35s ease;
	        transition: all 0.35s ease;
}

a.savoir-plus:hover, a.savoir-plus:active, a.savoir-plus:focus {
	background: #dd2c2e;
	color: #fff;
	-webkit-transition: all 0.35s ease;
	   -moz-transition: all 0.35s ease;
	    -ms-transition: all 0.35s ease;
	     -o-transition: all 0.35s ease;
	        transition: all 0.35s ease;
}

a.savoir-plus span {
	margin-left: 5px;
	padding: 0 8px 0 10px;
	border-left: 1px solid #e6e2d9;
}

/* -- cartes -- */
#cartes {
	position: relative;
	padding-bottom: 30px; 
}

.carte-set { max-height: 100px; }

#set-cartes, #set-produits { text-align: center; }

#set-cartes li, #set-produits li { display: inline-block; }

#set-cartes figure, #set-produits figure {
	margin: 6px 4px;
	padding: 6px 6px 8px 6px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.3);
	-webkit-transition: all 0.35s ease;
	   -moz-transition: all 0.35s ease;
	    -ms-transition: all 0.35s ease;
	     -o-transition: all 0.35s ease;
	        transition: all 0.35s ease;
}

#set-produits {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#set-produits figure {
    min-width: 240px;
    height: 288px;
    padding-top: 16px;
}

#set-produits img {
    max-width: 240px;
}

#set-cartes figure:hover {
	-webkit-transform: scale(1.3);
	   -moz-transform: scale(1.3);
	    -ms-transform: scale(1.3);
	     -o-transform: scale(1.3);
	        transform: scale(1.3);
	-webkit-transition: all 0.35s ease;
	   -moz-transition: all 0.35s ease;
	    -ms-transition: all 0.35s ease;
	     -o-transition: all 0.35s ease;
	        transition: all 0.35s ease;
}

#set-cartes h3, #set-produits h3 { padding-top: 4px; }

#set-cartes figcaption, #set-produits figcaption {
	padding: 2px;
	text-align: left;
}

#set-produits figcaption {
	text-align: center;
}

#set-cartes ol, #set-produits ol { padding-left: 24px ; }

#set-cartes ol li, #set-produits ol li { display: list-item; }

    @media only screen and (max-width: 460px) {
        #set-produits li {
            max-width: 262px;
        }
    }
/* -- jeux -- */
#jeux {  }

#jeuxmenu { margin-top: 30px; }

#jeuxmenu a:hover, #jeuxmenu a:active, #jeuxmenu a:focus {
	background: #fff;
	color: #3b3839;
}

.titre-jeux {
	background: rgba(255, 255, 255, 0.6);
	padding: 6px 20px;
	font-size: 14px;
	font-weight: bold;
	text-align: left;
}

.active-jeux {
	background: #fff;
	padding: 8px 20px;
}

#set-jeux {
	background: #fff;
	padding-bottom: 10px;
}

img.dispo-jeux {
	float: right;
	border: 1px solid #e6e2d9;
	margin: 25px;
	min-height: 50px;
	max-height: 100px;
	-webkit-transition: all 0.35s ease;
	   -moz-transition: all 0.35s ease;
	    -ms-transition: all 0.35s ease;
	     -o-transition: all 0.35s ease;
	        transition: all 0.35s ease;
}

.regle-jeu {
	border-top: 2px solid #fff;
	margin-top: 8px;
	padding: 20px 30px;
}

.regle-jeu dt {
	margin-top: 10px;
	font-weight: bold;
}

.regle-jeu dd { margin-left: 10px; }

.carte-yaku { max-height: 60px; }

#set-yaku {
	margin: 0 auto;
	text-align: center;
	max-width: 620px;
}

#set-yaku li { display: list-item; }

#set-yaku > li + li {
	border-top: 1px solid #e6e2d9;
}

#set-yaku figure {
	margin: 8px 0 6px 0;
	padding: 0;
	max-width: 780px;
}

.box-yaku {
	float: left;
	margin: 6px 10px 6px 0;
	min-width: 235px;
	text-align: left;
}

.box-yaku img {
	-webkit-transition: all 0.35s ease;
	   -moz-transition: all 0.35s ease;
	    -ms-transition: all 0.35s ease;
	     -o-transition: all 0.35s ease;
	        transition: all 0.35s ease;
}

.box-yaku img:hover {
	-webkit-transform: scale(1.7) translateY(-12px);
	   -moz-transform: scale(1.7) translateY(-12px);
	    -ms-transform: scale(1.7) translateY(-12px);
	     -o-transform: scale(1.7) translateY(-12px);
	        transform: scale(1.7) translateY(-12px);
	-webkit-transition: all 0.35s ease;
	   -moz-transition: all 0.35s ease;
	    -ms-transition: all 0.35s ease;
	     -o-transition: all 0.35s ease;
	        transition: all 0.35s ease;
}

#set-yaku figcaption {
	float: left;
	background: #fff;
	padding: 2px;
	font-size: 13px;
	max-width: 360px;
}

#set-yaku figcaption a { color: #3b3839; }

#set-yaku h4 {
	margin: 0;
	padding: 0;
	text-align: left;
}

#set-yaku ul li { text-align: left; }


/* -- glossaire -- */
#glossaire {  }

.glossaire-list dt { 
	margin-top: 10px;
	font-weight: bold;
}

.glossaire-list dd { margin-left: 10px; }

ruby:last-child {
	margin-right: .5rem;
}

ruby > rb {
	font-size: 1rem;
}

ruby > rt {
	font-size: .625rem;
}

/* -- footer -- */
footer {
	background: #8f312a;
	padding: 12px;
	color: #fff;
	text-align: center;
}

footer a:link, footer a:visited {
	color: #fff;
	text-decoration: none;
}

footer a:hover, footer a:active, footer a:focus {
	color: #dd2c2e;
	text-decoration: none;
}

#undermenu a:link, #undermenu a:visited {
	display: inline-block;
	padding: 5px 10px;
	-webkit-transition: all 0.35s ease;
	   -moz-transition: all 0.35s ease;
	    -ms-transition: all 0.35s ease;
	     -o-transition: all 0.35s ease;
	        transition: all 0.35s ease;
}

#undermenu a:hover, #undermenu a:active, #undermenu a:focus {
	background-color: rgba(255, 255, 255, 0.8);
	color: #3b3839;
	-webkit-transition: all 0.35s ease;
	   -moz-transition: all 0.35s ease;
	    -ms-transition: all 0.35s ease;
	     -o-transition: all 0.35s ease;
	        transition: all 0.35s ease;
}
@media only screen and (max-width: 460px) {
    #undermenu {
        width: 80%;
        margin: auto;
    }
}

#sidemenu {
    margin-top: 5px;
}

#sidemenu li + li:before { content: " | "; }

#sidemenu a:link, #sidemenu a:visited {
	display: inline-block;
	padding: 5px 10px;
	-webkit-transition: all 0.35s ease;
	   -moz-transition: all 0.35s ease;
	    -ms-transition: all 0.35s ease;
	     -o-transition: all 0.35s ease;
	        transition: all 0.35s ease;
}

#sidemenu a:hover, #sidemenu a:active, #sidemenu a:focus {
	background-color: rgba(255, 255, 255, 0.8);
	color: #3b3839;
	-webkit-transition: all 0.35s ease;
	   -moz-transition: all 0.35s ease;
	    -ms-transition: all 0.35s ease;
	     -o-transition: all 0.35s ease;
	        transition: all 0.35s ease;
}

#copyright { margin: 10px; }

#copyright li { padding: 4px; }


/* -- misc -- */
.clearfix:after {
	clear: both;
	display: block;
	content: "-";
	visibility: hidden;
	line-height: 0;
	height: 0;
}

.none { display: none; }

.list li {
	display: list-item;
	list-style: square;
	padding: 0;
	margin-left: 25px;
}

.img-amzn {
    border:none !important;
    margin:0px !important;
}

