/*
Theme Name: NintendojoFR
Theme URI: http://www.nintendojo.fr
Author: Cyrare
Description: NintendojoFR Wordpress Theme
Version: 7
*/

/********************************** Balises ************************************/

html,body {
	border: 0;
	margin: 0;
	padding: 0;
	background-color: #f0f0f0;
}

body {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 11pt;
}

a {
	color: #3999c9;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

#menubar a, #footer a {
	color: #797979;
}

hr {
	margin: 0;
	height: 0;
	clear: both;
	border-width: 1px 0 0;
	border-top: 1px solid #BBB;
	border-bottom: 1px solid #FFF;
}

/********************************** Classes/IDs du design général ************************************/

#topBanner {
background-color: #2d2d2d;
padding: 6px;
font-size: 10pt;
color: #ccc;
text-align: center;
overflow: hidden;
}

#topBanner a {
color: #ccc;
}

#header {
	margin: 0 auto;
	max-width: 1000px;
}

#logo {
	float: left;
	margin: 0;
}

#searchbarsubmit {
	width: 20px;
	height: 20px;
	background-color: lightpink;
	cursor: pointer;
	float: right;
	border: 0;
	padding: 0;
	margin: 0;
	background-image: url(images/ico_searchbutton.png);
	background-size: 100% 100%;
}
	
#searchbartext {
	border: 0;
	padding: 0;
	margin: 2px 0 0 0;
	outline: none;
	width: 176px;
}

#searchbartext::-webkit-input-placeholder { font-style: italic; }
#searchbartext::-moz-placeholder { font-style: italic; }
#searchbartext:-ms-input-placeholder { font-style: italic; }
#searchbartext:-moz-placeholder { font-style: italic; }

#searchbar {
	float: right;
	height: 20px;
	margin: 30px 20px;
	background-color: white;
	width: 200px;
	padding: 3px;
}

#menubar {
	clear: right;
	float: right;
	margin: 0 90px 0 0;
	width: 640px;
	color: #777;
}

#menubar ul {
	height: 38px;
	width: 640px;
	padding: 0;
	margin: 0;
	text-align: center;
}

#menubar li {
	display: inline-block;
	list-style-type: none;
	padding: 11px 21px;
	text-align: center;
}

#bigimage {
	display: inline-block;
	width: 100%;
	position: relative;
	background-image: url(images/defaultBann.jpg);
	background-size: 100% 100%;
	background-repeat: no-repeat;
}

#bigimage::after {
	padding-top: 20.83%;
	display: block;
	content: '';
}

#citationouter {
	position: absolute;
	bottom: 35px;
	left: 50%;
	margin-left: -450px;
	width: 900px;
}

#citation {
	background-color: rgba(0, 0, 0, 0.7);
	width: 500px;
	height: 70px;
	padding: 5px;
	color: #FFF;
	border-top: solid 6px #00B4FF;
	font-size: 10pt;
	display: table-cell;
	vertical-align: middle;
}

#citation p {
	margin: 0;
	padding: 0;
}

#citationtexte {
	font-weight: bold;
}

#citationauteur {
	text-align: right;
	font-style: italic;
}

#contenu {
	margin: 5px auto;
	width: 1390px;
}

/* A virer si y'a personne qui râle parce que j'ai changé le footer
m'enfin, y'a des chances qu'on revienne comme avant avec cette bande de râleurs
#partenaires { 
	text-align: center;
	width: 100%;
	padding: 30px 0;
	margin: 0;
	font-size: 9pt;
}

#partenaires a {
	color: black;
} */

#footer {
background-color: #292929;
background-image: url(images/footer_bg.png);
background-repeat: repeat-y;
background-position-x: center;
height: 270px;
color: #888;
width: 100%;
padding: 0;
margin: 0;
font-size: 9pt;
}

#footer-content {
width: 1000px;
margin: 0 auto;
}

#footer-content div{
display: inline-block;
width: 320px;
vertical-align: top;
padding: 0 5px;
text-align: center;
}

#footer-content h3{
font-size: 13pt;
color: #ccc;
margin: 0;
padding: 15px 0 0 0;
font-weight: normal;
}

#footer-content h4{
font-size: 7pt;
color: #fff;
font-weight: normal;
margin: 0;
padding: 0 0 10px 0;
}

/********************************** Elements de colonne ************************************/

.colonne {
	display: inline-block;
	width: 320px;
	margin: 10px 13px;
	color: #363636;
	vertical-align: top;
}

.colonne-double {
	width: 650px;
}

.colonne-titre {
	font-weight: bold;
	font-size: 16pt;
	line-height: 16pt;
	border-bottom: 3px solid #00aced;
	min-height: 47px;
	overflow: hidden;
}

.colonne-titre-img {
	width: 50px;
	float: left;
	margin-right: 5px;
	padding-bottom: 1000px;
	margin-bottom: -1000px;
}

.colonne-titre img {
	width: 50px;
	height: 50px;
}

.colonne-titre p {
	height: 47px;
	display: table-cell;
	vertical-align: middle;
}

.colonne-soustitre {
	font-size: 8pt;
	line-height: 8pt;
}

.colonne-list a {
	color: #363636;
}

.colonne-list .soustitre {
	font-size: 9pt;
	color: #797979;
}

.colonne .element {
	padding: 10px 0;
	width: 100%;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	-o-hyphens: auto;
	hyphens: auto;
	word-wrap: break-word;
}

.colonne-text {
	text-align: justify;
}

.colonne-text img, .colonne-text object, .colonne-text iframe {
	max-width: 100%;
}

.colonne-text img {
	height:auto;
}

.page-prec {
  width: 49%;
  float: left;
  font-size: 10pt;
}

.page-suiv {
  width: 49%;
  float: right;
  font-size: 10pt;
  text-align: right;
}

.page-prec a, .page-suiv a
{
	padding: 6px;
	color: white;
	text-decoration: none !important;
	width: 82px;
	text-align: center;
	display: inline-block;
	margin: 15px 0;
}

/********************************** Elements de colonne par type ************************************/

/* Twitter */

.colonne-twitter .colonne-titre {
	border-bottom: 3px solid #00aced;
}

.colonne-twitter .colonne-titre-img {
	background: #00aced;
}

.colonne-twitter hr {
	border-top: 1px solid #00aced;
}

.colonne-twitter a {
	text-decoration: underline;
}

.colonne-twitter .element img {
	vertical-align: bottom;
	visibility: hidden;
}

.colonne-twitter .soustitre {
	color: #00aced;
	font-size: 9pt;
	font-weight: bold;
}

.colonne-twitter h6 {
	border-bottom: 3px solid #00aced;
	text-align: right;
	text-transform: uppercase;
	color: #00aced;
	font-weight: bold;
	font-size: 9pt;
	margin: 5px 0;
}

.colonne-twitter .page-prec a, .colonne-twitter .page-suiv a {
	background-color: #00aced;
}

/* Charts */

.colonne-charts .colonne-titre {
	border-bottom: 3px solid #4cb92c;
}

.colonne-charts .colonne-titre-img {
	background: #4cb92c;
}

.colonne-charts hr {
	border-top: 1px solid #4cb92c;
}

.colonne-charts .page-prec a, .colonne-charts .page-suiv a {
	background-color: #4cb92c;
}

/* Dojobar */

.colonne-dojobar .colonne-titre {
	border-bottom: 3px solid #db1d27;
}

.colonne-dojobar .colonne-titre-img {
	background: #db1d27;
}

.colonne-dojobar hr {
	border-top: 1px solid #db1d27;
}

.colonne-dojobar .page-prec a, .colonne-dojobar .page-suiv a {
	background-color: #db1d27;
}

/* Articles */

.colonne-articles .colonne-titre {
	border-bottom: 3px solid #fd8d05;
}

.colonne-articles .colonne-titre-img {
	background: #fd8d05;
}

.colonne-articles hr {
	border-top: 1px solid #fd8d05;
}

.colonne-articles .page-prec a, .colonne-articles .page-suiv a {
	background-color: #fd8d05;
}

/* Updates */

.colonne-updates .colonne-titre {
	border-bottom: 3px solid #a400e8;
}

.colonne-updates .colonne-titre-img {
	background: #a400e8;
}

.colonne-updates hr {
	border-top: 1px solid #a400e8;
}

.colonne-updates .page-prec a, .colonne-updates .page-suiv a {
	background-color: #a400e8;
}

/* Dojodirect */

.colonne-dojodirect .colonne-titre {
        border-bottom: 3px solid #a400e8;
}

.colonne-dojodirect .colonne-titre-img {
        background: #a400e8;
}

.colonne-dojodirect hr {
        border-top: 1px solid #a400e8;
}

.colonne-dojodirect .page-prec a, .colonne-updates .page-suiv a {
        background-color: #a400e8;
}

/* Profil */

.colonne-profil {
	font-size: 10pt;
}

.colonne-profil .colonne-titre {
	border-bottom: 3px solid #2d4e99;
}

.colonne-profil .colonne-titre-img {
	background: #2d4e99;
}

.colonne-profil .element {
	font-size: 10pt;
	margin-bottom: 15px;
}

.colonne-profil hr {
	border-top: 1px solid #2d4e99;
}

.profilMii {
	width: 40%;
	float: left;
}

.colonne-profil blockquote {
position: relative;
padding: 15px;
margin: 1em 0 3em;
color: #fff;
background: #2d4e99;
background: -webkit-gradient(linear, 0 0, 0 100%, from(#6d8ec9), to(#2d4e99));
background: -moz-linear-gradient(#6d8ec9, #2d4e99);
background: -o-linear-gradient(#6d8ec9, #2d4e99);
background: linear-gradient(#6d8ec9, #2d4e99);
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
text-align: center;
}

.colonne-profil blockquote:before {
content: "";
position: absolute;
bottom: -20px;
left: 30px;
border: 0;
border-left-width: 30px;
border-bottom-width: 20px;
border-style: solid;
border-color: transparent #2d4e99;
display: block;
width: 0;
}

.colonne-profil blockquote:after {
content: "";
position: absolute;
bottom: -20px;
left: 30px;
border: 0;
border-left-width: 10px;
border-bottom-width: 20px;
border-style: solid;
border-color: transparent #f0f0f0;
display: block;
width: 0;
}

/* NDFR */

.colonne-ndfr .colonne-titre {
	border-bottom: 3px solid #999999;
}

.colonne-ndfr .colonne-titre-img {
	background: #999999;
}

.colonne-ndfr hr {
	border-top: 1px solid #999999;
}

/********************************** Divers ************************************/
blockquote {
		border-left: 4px solid orange;
		padding-left: 20px;
		margin-left: 0;
		font-size: 1.1em;
		font-style: italic;
}

.alignleft {
	float: left;
	margin-right: 1em;
}

.alignright {
	float: right;
	margin-left: 1em;
}

div.wp-caption p.wp-caption-text {
	font-size: 0.6em;
	font-style: italic;
	text-align: left;
}

.bouton-twitter {
  float: right;
  padding: 20px 5px 0 0;
}

.colonne-mobile-only {
	visibility: hidden;
	position: absolute;
	top: -10000px;
	left: -10000px;
	overflow: hidden;
}

.clearfix {
	clear: both;
	height: 1px;
	margin: 0;
	padding: 0;
	border: 0;
}

#konami {
position: absolute;
top: -1000px;
}

.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}

/********************************** Responsive design ************************************
******************** http://wordpress.org/extend/plugins/wp-pagenavi/ *******************/

.wp-pagenavi {
	clear: both;
	margin-top: 20px;
	text-align: center;
}

.wp-pagenavi a, .wp-pagenavi span {
	text-decoration: none;
	border: 1px solid #BFBFBF;
	padding: 3px 5px;
	margin: 2px;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
	border-color: #000;
}

.wp-pagenavi span.current {
	font-weight: bold;
}


/********************************** Responsive design ************************************/

@media ( max-width : 1400px) {
	#contenu {
		width: 99.3%;
		margin: 5px auto;
	}
	.colonne {
		width: 23%;
		margin: 0.9%;
	}
	.colonne-double {
		width: 46.8%;
	}
}

@media ( max-width : 1100px) {
	#searchbar {
		margin-top: 65px;
	}
	#menubar {
		clear: both;
		margin: 0;
		width: 100%;
	}
	#menubar ul {
		height: 38px;
		width: 640px;
		margin: 0 auto;
	}
	#citationouter {
		visibility: hidden;
		position: absolute;
		top: -10000px;
		left: -10000px;
		overflow: hidden;
	}
	.colonne-twitter h6 {
		font-size: 8pt;
	}
	.colonne-soustitre {
		font-size: 8pt;
	}
	body {
		font-size: 10pt;
	}
	
	#footer-content {
	width: 100%;
	margin: 0;
	}

	#footer-content div{
	width: 30%;
	padding: 0 1%;
	}
}

@media ( max-width : 900px) {
	.colonne-simple {
		width: 47.5%;
		margin: 20px 1%;
		padding: 0;
	}
	.colonne-double {
		width: 98.2%;
	}
	.colonne-mobile-only {
		visibility: visible;
		position: static;
	}

	.colonne-mobile-no {
		visibility: hidden;
		position: absolute;
		top: -10000px;
		left: -10000px;
		overflow: hidden;
	}
	
	#footer-content div{
	width: 45%;
	padding: 0 1%;
	}

	#footer-content div:nth-child(2){
	visibility: hidden;
	position: absolute;
	top: -10000px;
	left: -10000px;
	overflow: hidden;
	}
}

@media ( max-width : 640px) {
	body {
		text-align: center;
		width: 100%;
		margin: 0;
		padding: 0;
	}
	#logo {
		float: none;
		margin: 14px 0;
		padding: 0;
	}
	#searchbar {
		float: none;
		margin-top: 20px;
	}
	#menubar {
		margin: 0;
		width: 100%;
		height: auto;
	}
	#menubar ul {
		width: 100%;
		margin: 0;
		height: auto;
	}
	#menubar li:not(:last-child) {
		display: block;
		border-bottom: 1px solid #BBB;
	}
	#contenu {
		width: auto;
		margin: 0;
		padding: 10px;
	}
	.colonne {
		width: 100%;
		margin: 20px 0;
		padding: 0;
	}
	.colonne-double {
		width: 100%;
	}
	img,table,td,blockquote,code,pre,textarea,input,iframe,object,embed,video
		{
		max-width: 100%;
	}

	img {
		height: auto;
		width: auto;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	textarea,table,td,th,code,pre,samp {
		word-wrap: break-word;
		-webkit-hyphens: auto;
		-moz-hyphens: auto;
		hyphens: auto;
	}
	code,pre,samp {
		white-space: pre-wrap;
	}
}

@media ( max-width : 350px) {
	.bouton-twitter {
		visibility: hidden;
		position: absolute;
		top: -10000px;
		left: -10000px;
		overflow: hidden;
	}
	
	#footer-content div:first-child{
	visibility: hidden;
	position: absolute;
	top: -10000px;
	left: -10000px;
	overflow: hidden;
	}
	
	#footer-content div{
	width: 100%;
	padding: 0;
	}
}
