/*
Theme Name: Richard Mondesir
Theme URI: https://wordpress.org/themes/richardmondesir/
Author: Stephane Mondesir
Author URI: www.mondesir.net
Description: A ultra simple theme for painter artist
Version: 1.0
License: Creative commons ATTRIBUTION / PAS D’UTILISATION COMMERCIALE / PAS DE MODIFICATION
License URI: https://creativecommons.org/licenses/by-nc-nd/3.0/fr/
Text Domain: richard mondesir
Tags: artist, artists, masonery

This theme, is licensed under the creative commons licence https://creativecommons.org/licenses/by-nc-nd/3.0/fr/
Use it to share your work with the world. Thanks for the wordpress team for them incredible work.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Normalize

--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 Normalize
Styles based on Normalize v5.0.0 @link https://github.com/necolas/normalize.css
--------------------------------------------------------------*/

html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: 700;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 0;
}

hr {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

code,
kbd,
pre,
samp {
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

select {
	text-transform: none;
}

button {
	overflow: visible;
}

button,
input,
select,
textarea {
	max-width: 100%;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
	opacity: .5;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input[type="checkbox"],
input[type="radio"] {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin-right: 0.4375em;
	padding: 0;
}

input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-outer-spin-button,
input[type="time"]::-webkit-inner-spin-button,
input[type="time"]::-webkit-outer-spin-button,
input[type="datetime-local"]::-webkit-inner-spin-button,
input[type="datetime-local"]::-webkit-outer-spin-button,
input[type="week"]::-webkit-inner-spin-button,
input[type="week"]::-webkit-outer-spin-button,
input[type="month"]::-webkit-inner-spin-button,
input[type="month"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #d1d1d1;
	margin: 0 0 1.75em;
	min-width: inherit;
	padding: 0.875em;
}

fieldset > :last-child {
	margin-bottom: 0;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

optgroup {
	font-weight: bold;
}



/* Général */

body {
	background: #f1f1f1 !important;
}

a {
	color: #333;
}
a:hover {
	color: #555 !important;
}

/* Menu */

.menu-principal-container ul {
	list-style: none;
}
.menu-principal-container ul li {
	display: inline-block;
}
.site-header {
	text-align: center;
	padding: 40px 0;
	position: relative;
	z-index: 10000;
}
.site-header a,
.site-header div {
	vertical-align: middle;
	color: #333;
}

/* menu */ 

.site-header .burger {
	display: block;
	position: absolute;
	z-index: 10;
	right: 55px;
	top: 65px;
	-webkit-transform: rotateY(0);
	        transform: rotateY(0);
	-webkit-transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
			transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
	height: 15px;
}
.site-header .burger:hover {
	cursor:pointer;
}
.site-header .burger__patty {
  width: 28px;
  height: 2px;
  margin: 0 0 4px 0;
  background: #333;
  -webkit-transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  display: block;
}
.site-header  .burger__patty:last-child {
  margin-bottom: 0;
}
.site-header  .burger--close {
	position: fixed;
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}
.site-header  .burger--close .burger__patty:nth-child(1) {
  -webkit-transform: rotate(45deg) translate(4px, 4px);
          transform: rotate(45deg) translate(4px, 4px);
}
.site-header  .burger--close .burger__patty:nth-child(2) {
  opacity: 0;
}
.site-header .burger--close .burger__patty:nth-child(3) {
  -webkit-transform: rotate(-45deg) translate(5px, -4px);
          transform: rotate(-45deg) translate(5px, -4px);
}

.menu {
  position: fixed;
  top: 0;
  width: 100%;
  visibility: hidden;
}
.menu--active {
  visibility: visible;
}
.menu__brand, .menu__list, .menu-principal-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: column wrap;
      flex-flow: column wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  float: left;
  width: 50%;
  height: 100vh;
  overflow: hidden;
}
.menu__list {
  margin: 0;
  padding: 0;
  background: #fff;
  list-style-type: none;
  -webkit-transform: translate3d(0, -100%, 0);
          transform: translate3d(0, -100%, 0);
  -webkit-transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.menu__list--active {
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}
.menu__brand {
  background: #f1f1f1;
  -webkit-transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  -webkit-transform: translate3d(0, 100%, 0);
          transform: translate3d(0, 100%, 0);
}
.menu__brand--active {
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}
.menu__item{
  -webkit-transform: translate3d(500px, 0, 0);
          transform: translate3d(500px, 0, 0);
  -webkit-transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);

}
.menu__item--active {
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}
.menu__link {
  display: inline-block;
  position: relative;
  font-size: 30px;
  padding: 15px 0;
  font-weight: 300;
  color: white;
  text-decoration: none;
  color: white;
  -webkit-transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.menu__link:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 10px;
  height: 2px;
  background: white;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  -webkit-transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.menu__link:hover:before {
  width: 100%;
}
.menu .menu__item:nth-child(1) {
  -webkit-transition-delay: 0.1s;
          transition-delay: 0.1s;
}
.menu .menu__item:nth-child(2) {
  -webkit-transition-delay: 0.2s;
          transition-delay: 0.2s;
}
.menu .menu__item:nth-child(3) {
  -webkit-transition-delay: 0.3s;
          transition-delay: 0.3s;
}
.menu .menu__item:nth-child(4) {
  -webkit-transition-delay: 0.4s;
          transition-delay: 0.4s;
}
.menu .menu__item:nth-child(5) {
  -webkit-transition-delay: 0.5s;
          transition-delay: 0.5s;
}
.menu .menu__item:nth-child(6) {
  -webkit-transition-delay: 0.6s;
          transition-delay: 0.6s;
}

@media screen and (max-width: 768px) {
  ul.menu__list,
  div.menu__brand {
    float: none;
    width: 100%;
    min-height: 0;
  }
  ul.menu__list--active,
  div.menu__brand--active {
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }

  .menu__list {
    height: 75vh;
    -webkit-transform: translate3d(-100%, 0, 0);
            transform: translate3d(-100%, 0, 0);
  }

  .menu__link {
    font-size: 24px;
  }

  .menu__brand {
    height: 25vh;
    -webkit-transform: translate3d(100%, 0, 0);
            transform: translate3d(100%, 0, 0);
  }
  .menu__brand .logo {
    width: 90px;
    height: 90px;
    margin: 0 auto;
  }
  .menu__item, .menu-item {
    padding-bottom:10px;
  }
}

/* fin menu */

/* Cadre */

.frame{
	border: 13px solid #fffcfc;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
}

.frameinner {
	    box-shadow: 2px 2px 4px 2px rgba(0, 0, 0, 0.2) inset;
}


/* accrochage */

.grid-item {
	margin-bottom: 50px;
	padding: 0 40px !important;
}
.grid-item .spacing {
	margin: 5%;
}
.grid-item p {
	margin: 0;
}
.grid-item .frameinner a {
	height: 100%;
	display: block;
}
.grid-item img {
	width: 100% !important;
    height: auto;
    z-index: -1;
    position: relative;
}

.artinfo {
	text-align: right;
}

.title {
    font-size: 10px;
    box-shadow: 2px 2px 3px -2px rgba(0, 0, 0, 0.2);
    padding: 2px 10px;
    margin-top: 20px;
    display: inline-block;
    border: 1px solid #f3f3f3;
    background: #fff;
}

.artinfo .tagHome a {
    text-indent: 999999px;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: red;
    vertical-align: middle;
    margin-right: 5px;
    overflow: hidden;
}

/* post content */

.artwork img {
	width: 100%;
	height: 100%;
	z-index: -1;
    position: relative;
}

@media screen and (max-width:680px){
    .grid-item {
        position: relative !important;
        top: auto !important;
    }
}