/*
	Theme Name: Mocafico
	Description: Mocafico based on HTML5 Blank WordPress Theme
	Version: 1.4.3
	Author: FMF
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use - base de "10px" au lieu de "16px"*/
html {
	height: 100%;
}

body {
	font-family: 'Courier';
	font-weight: normal;
	font-style: normal;
	color:#868496;
	background-color: #201f28;
	height: 100%;
}
body.bck-clair {
	color:#201f28;
	background-color: #9299a2;
}

h1, h2, h3, h4 {
	font-family: BaskervilleOldFacD;
	font-weight: normal;
	font-size: 1.15rem;
	letter-spacing: 0.7px;
}

.titre-logo {
	font-size: inherit;
	padding: 0;
	margin: 0;
	letter-spacing: 0;
}
#main-nav,
.logo,
.home-works {
	 font-family: BaskervilleOldFacD;
	 font-weight: normal;
	 font-size: 1em;
}

h1, h2, h3, h4 {
	margin-bottom: 4px;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	height: inherit;
	vertical-align:bottom;
}
a {
	color:#5d5561;
	text-decoration:none;
}
main p a {
	border-bottom: 1px dotted #868496;
	color: #868496;
}
main p a:hover {
	color: #a7a7a9;
	border-bottom: 1px dotted #a7a7a9;
}

a:hover {
	color:#868496;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}
ul {
	padding: 0;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	width:1600px;
	height: 100%;
	max-width:100%;
	padding: 30px 25px;
	margin:0 auto;
	position:relative;
}
/* header */
.header {

}
/* logo */
.logo {
	font-size: 2.96rem;
	width: 280px;
	height: 140px;
	float: left;
	position: relative;
	z-index: 4;
	transition: all 1s;
	-moz-transition: all 1s;
	-webkit-transition: all 1s;
	-o-transition: all 1s;
}

.logo a {
	color: #868496;
	line-height: 1em;
	transition: all 1s;
	-moz-transition: all 1s;
	-webkit-transition: all 1s;
	-o-transition: all 1s;
}
.bck-clair .logo a{
	color: #201f28;
}

.main-nav-mobile .logo a {
	color: #201f28;
}

.logo>div {

}

.logo-small {
	opacity: 0;
	visibility: hidden;
	position: fixed;
  margin-top: -35px;
	margin-left: -14px;
	padding: 15px;
	/*background-color: rgba(32, 31, 40, 0.5);*/
}

.bck-clair .logo-small {
	/*background-color: rgba(146, 153, 162, 0.5);*/
}

.logo-etat-sm .logo-small {
	opacity: 1;
	visibility: visible;
	margin-top: -15px;
}

.logo-full {
	position: absolute;
	opacity: 1;
	visibility: visible;

}

.logo-etat-sm .logo-full {
	opacity: 0;
	visibility: hidden;
}

/* nav */
#main-nav {
	opacity: 1;
	visibility: visible;
	float: left;
	z-index: 1;
}
#main-nav ul {
	margin-top: 4px;
}

#main-nav li {
	display: inline-block;
	vertical-align: baseline;
	padding-right: 34px;
}


#main-nav li:nth-child(1) {
	font-size: 2.413rem;
}
#main-nav li:nth-child(2) {
	font-size: 1.804rem;
}
#main-nav li:nth-child(3) {
	font-size: 1.4333rem;
}
#main-nav li:nth-child(4) {
	font-size: 1.2853rem;
}
#main-nav li:nth-last-child(1) {
	padding-right: 0;
}

#main-nav li a {
	color: #5d5561;
}

.bck-clair #main-nav li a {
	color: #201f28;
}

#main-nav li a:hover, #main-nav li.current-menu-item a {
	color: #868496;
}

.bck-clair  #main-nav li a:hover, .bck-clair  #main-nav li.current-menu-item a {
	color: #5d5561;
}

.navbar-toggle {
	display: none;
}

#mobile-menu {
	position: fixed;
	z-index: 4;
	right: 30px;
	top: 36px;
}

/* sidebar */
.sidebar {

}
/* footer */
.footer {

}

main {
	width: 1300px;
	max-width: 100%;
	padding-left: 200px;
	margin-bottom: 100px;
	/*
	transition: all 1s;
  -moz-transition: all 1s;
  -webkit-transition: all 1s;
  -o-transition: all 1s;*/
}


.layout-clear {
	clear: both;
}

article {
	font-size: 0.8rem;
	line-height: 1.25rem;
}

article h2,
article h3,
article h4 {

}

/*------------------------------------*\
    Home Page
\*------------------------------------*/

.home main {
	padding-left: 280px;
}
.home main ul li {
	list-style-type: none;
	position: relative;
}
.home main article>ul>li:nth-child(even) {
	padding-left: 25px;
}

.parent-work,
.main-work {
	color: #868496;
	font-size: 4.296rem;
	line-height: 0.75em;
	text-transform: uppercase;
}

li:hover .parent-work,
li:hover .main-work {
	color: #CCC8E5;
}

.child-work {
	color: #868496;
	font-size: 1.555rem;
	line-height: 1em;
}

li:hover>.child-work {
	color: #CCC8E5;
}

.sub-projects {
	position: absolute;
	opacity: 0;
	visibility: hidden;
	top: 0;
	z-index: 2;
	margin-left: 500px;

}
.sub-projects-move {
	opacity: 1;
	visibility: visible;
	margin-left: 540px;
	transition: margin-left 1s, opacity 1s;
	-moz-transition: margin-left 1s , opacity 1s;
	-webkit-transition: margin-left 1s, opacity 1s ;
	-o-transition: margin-left 1s, opacity 1s;
}

.sub-projects h3 {
	font-size: 0.667rem;
	text-transform: uppercase;
	padding-top: 15px;
}

.sub-projects li:nth-child(1) h3 {
	padding-top: 0;
	margin-top: 0;
}

/*------------------------------------*\
    BOOKS
\*------------------------------------*/

.page-template-template-books h2 {
	margin-bottom: 4px;
	font-weight: normal;
}
.page-template-template-books h2 a {
	text-transform: uppercase;
	color: #868496;
}
.page-template-template-books h2 a:hover {
	color: #CCC8E5;
}
.page-template-template-books  main {
	width: 1100px;
}

.page-template-template-books  main p {
	margin: 0;
}

.books_left,
.books_right {
	width: 470px;
	max-width: 100%;
}

.books_left {
	float: left;
	width: 50%;
	padding-right: 20px;
}

.books_right {
	float: right;
	width: 50%;
	padding-left: 20px;
}

/*------------------------------------*\
    EXHIBITION
\*------------------------------------*/
.page-template-template-exhibition h1,
.page-template-template-exhibition h2
{

}
.page-template-template-exhibition h2 {
	margin-top: 40px;
	margin-bottom: 20px;
}
.exhib-dates {

}
.exhib-date {
	width: 10%;
	float: left;
}

.exhib-date-txt {
	width: 90%;
	float: left;
	padding-left: 20px;
}

.exhib-texte {
	columns: 2 100px;
	column-gap: 30px;
	text-align: justify;
}

.exhib-texte-2 {
	margin-top: 45px;
	margin-bottom: 20px;
	text-align: justify;
	width: 50%;
	padding-right: 15px;
}

.exhib-texte p,
.exhib-texte-2 p {
	margin: 0;
}

.exhib-right {
	width: 50%;
	float: right;
	padding-left: 15px;
}

.exhib-left {
	width: 50%;
	float: left;
	padding-right: 15px;
}

/*------------------------------------*\
    PRESS
\*------------------------------------*/

.page-template-template-press h3 {
	text-transform: uppercase;
	/*font-family: 'Courier';*/
	margin-bottom: 0;
}


.presse-droit {
	float: right;
	width: 50%;
	padding-left: 20px;
}
.presse-gauche {
	float: left;
	width: 50%;
	padding-right: 20px;
}
/*------------------------------------*\
    SINGLE WORK
\*------------------------------------*/

.single main {
	width: 1400px;
}
.single.sm-largeur main {
	width: 1120px;
}
.layout-serie>div.layout-clear {
	clear: both;
}

.work-caption {
	font-size: 0.741rem; /* 5.56 pt */
	line-height: 0.90rem;
	padding-top: 17px;
	text-transform: uppercase;
}

.layout-serie img{
	width: 100%;
	height: inherit;
}

.featured-big {
	width: 890px;
	max-width: 100%;
	font-size: 0px;
	background: #000000;
	margin-bottom: 105px;
}
.featured-big img {
	width: 20%;
	float: left;
}

.featured-big img:nth-child(5n+1) {
	clear: both;
}


/* Serie 1 */

.featured-serie1 {
	margin-bottom: 107px;
	max-width: 1300px;
}

.layout-serie1 {
	max-width: 1300px;
}

.layout-serie1>div {
	width: 50%;
	float: left;
	padding-bottom: 65px;
}

.layout-serie1>div:nth-child(odd) {
	clear: both;
	padding-right: 0.75%;
}
.layout-serie1>div:nth-child(even) {
	padding-left: 0.75%;
}

/* Serie 2 */

.layout-serie2>div {
	padding-bottom: 65px;
}

.layout-serie2 {
	max-width: 1085px;
}

.serie_img_2>div {
	width: 49%;
	display: inline-block;
}
.serie_img_2>div:nth-child(2) {
	margin-left: 2%;
}

/* Serie 3 */

.layout-serie3 {
	max-width: 860px;
}
.layout-serie3>div{
	width: 32.333%;
	margin-left: 1%;
	float: left;
	margin-bottom: 10px;
}

.layout-serie3>div:nth-child(3n+1){
	margin-left: 0;
	clear: both;
}

/*1 colonne*/
.layout-serie3.colonnes_1>div{
	width: 100%;
}
.layout-serie3.colonnes_1>div{
	clear: none;
	margin-left: 1%;
}


/*2 colonnes*/
.layout-serie3.colonnes_2>div{
	width: 49%;
}
.layout-serie3.colonnes_2>div{
	clear: none;
	margin-left: 1%;
}
.layout-serie3.colonnes_2>div:nth-child(2n+1){
	clear: both;
}

/*4 colonnes*/
.layout-serie3.colonnes_4>div{
	width: 24%;
}
.layout-serie3.colonnes_4>div{
	clear: none;
	margin-left: 1%;
}
.layout-serie3.colonnes_4>div:nth-child(4n+1){
	clear: both;
}

/*5 colonnes*/
.layout-serie3.colonnes_5>div{
	width: 19%;
}
.layout-serie3.colonnes_5>div{
	clear: none;
	margin-left: 1%;
}
.layout-serie3.colonnes_5>div:nth-child(5n+1){
	clear: both;
}

/*6 colonnes*/
.layout-serie3.colonnes_6>div{
	width: 15.66666%;
}
.layout-serie3.colonnes_6>div{
	clear: none;
	margin-left: 1%;
}
.layout-serie3.colonnes_6>div:nth-child(6n+1){
	clear: both;
}

/*7 colonnes*/
.layout-serie3.colonnes_7>div{
	width: 13.285%;
}
.layout-serie3.colonnes_7>div{
	clear: none;
	margin-left: 1%;
}
.layout-serie3.colonnes_7>div:nth-child(7n+1){
	clear: both;
}

/*8 colonnes*/
.layout-serie3.colonnes_8>div{
	width: 11.5%;
}
.layout-serie3.colonnes_8>div{
	clear: none;
	margin-left: 1%;
}
.layout-serie3.colonnes_8>div:nth-child(8n+1){
	clear: both;
}

/*9 colonnes*/
.layout-serie3.colonnes_9>div{
	width: 10.1111%;
}
.layout-serie3.colonnes_9>div{
	clear: none;
	margin-left: 1%;
}
.layout-serie3.colonnes_9>div:nth-child(9n+1){
	clear: both;
}

/*10 colonnes*/
.layout-serie3.colonnes_10>div{
	width: 9%;
}
.layout-serie3.colonnes_10>div{
	clear: none;
	margin-left: 1%;
}
.layout-serie3.colonnes_10>div:nth-child(10n+1){
	clear: both;
}




.video-wrapper-moca {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
}

.video-wrapper-moca iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/*------------------------------------*\
    404
\*------------------------------------*/

.error-page {
	background: #868496;
    color: #201f28;
    width: 300px;
    margin: auto;
    font-size: 22rem;
    line-height: 16rem;
		text-align: center;
		padding: 20px;
}



/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width:998px) {
	.home main {
		padding-left: 0;
	}
}
@media only screen and (max-width:900px) {
	main {
	   padding-left: 0;
	}

	.logo {
		width: 190px;
		height: 100px;
		margin-bottom: 40px;
	}
	#main-nav li {
		padding-right: 24px;
	}

}


@media only screen and (max-width:767px) {
	#main-nav {
		opacity: 0;
		visibility: hidden;
		z-index: 0;
		position: fixed;
		width: 0;
		background: #9299a2;
		padding-top: 130px;
		padding-left: 30px;
	}

	.logo-small,
	.logo-etat-sm .logo-small {
		opacity: 1;
		visibility: visible;
		margin-top: -25px;
	}

	.logo-full,
	.logo-etat-sm .logo-full {
		opacity: 0;
		visibility: hidden;

	}

	.main-nav-mobile #main-nav {
		opacity: 1;
		visibility: visible;
		z-index: 3;
		width: inherit;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
	}

	.main-nav-mobile .logo-small {
		background: none;
	}

	#main-nav li {
		display: block;
		margin-bottom: 30px;
	}

	#main-nav li a:hover, #main-nav li.current-menu-item a {
		color: #5d5561;
	}

	.navbar-toggle {
    display: block;
    float: right;
    color: #fff;
    text-transform: uppercase;
    padding: 5px 5px 0;
    cursor: pointer;
    margin-right: 5px;
		width: 45px;
		height: 45px
	}

	.navbar-toggle .bar {
    display: block;
    height: 3px;
		width: 45px;
		right: 0;
    background: #868496;
		transition: all .7s;
    -moz-transition: all .7s;
    -webkit-transition: all .7s;
    -o-transition: all .7s;
		position: absolute;
	}

	.bck-clair .navbar-toggle .bar {
		background: #201f28;
	}

	.navbar-toggle .bar:nth-child(1) {
		top: 0;
	}
	.navbar-toggle .bar:nth-child(2) {
		top: 10px;
	}
	.main-nav-mobile .bar:nth-child(1) {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
		top: 5px;
  }

	.main-nav-mobile .bar:nth-child(2) {
    top: 5px;
		-webkit-transition: -webkit-transform 0.3s ease 0.3s, top 0.3s ease 0s, background-color 0.2s ease 0s;
    transition: transform 0.3s ease 0.3s, top 0.3s ease 0s, background-color 0.2s ease 0s;
	}


	main, .home main {
		padding-left: 0;
	}

	.sub-projects {
		position: relative;
		display: none;
		margin: 20px 0 30px 20px;

	}
	.sub-projects-move {
		margin-left: 30px;
		display: block;
		transition: none;
		-moz-transition: none;
		-webkit-transition: none;
		-o-transition: none;
	}
	/* Exhib */

	.exhib-right,
	.exhib-left,
	.books_left,
	.books_right,
	.presse-droit,
	.press-gauche {
		width: 100%;
		float: none;
		clear: both;
		padding: 0;
		margin: 0;
	}
	.exhib-texte {
    columns: auto;
	}
	.exhib-texte-2 {
    width: 100%;
		padding: 0;
	}

}

@media only screen and (max-width:766px) {
	#main-nav {
		transition: opacity 1s;
		-moz-transition: opacity 1s;
		-webkit-transition: opacity 1s;
		-o-transition: opacity 1s;
	}

	.serie_img_2>div {
		vertical-align: top;
	}
}


@media only screen and (max-width:479px) {
	.layout-serie1>div,
	.serie_img_2>div {
		width: 100%;
		clear: both;
		padding: 0!important;
		margin: 0 auto 50px auto;
	}
	.serie_img_2>div:nth-child(2) {
		margin-left: auto;
	}

	.parent-work, .main-work {
		font-size: 3.296rem;
	}
}


@media only screen and (min-width:1280px) {


}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#ececec;
	color:#484657;
	text-shadow:none;
}
::-webkit-selection {
	background:#ececec;
	color:#484657;
	text-shadow:none;
}
::-moz-selection {
	background:#ececec;
	color:#484657;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}

.gallerie-signature {
	position: fixed;
	bottom: 15px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
