/*
 Theme Name:   Twenty Fifteen Child
 Theme URI:    http://example.com/twenty-fifteen-child/
 Description:  Twenty Fifteen Child Theme
 Author:       Kévin Jeanot
 Template:     twentyfifteen
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twenty-fifteen-child
*/

/* ------------------------------------------ Mise en page générale ------------------------------------------ */


@font-face {
    font-family: Arimo;
    src: url(../media/Fonts/Arimo-Regular.ttf);
}
@font-face {
    font-family: NotoSans;
    src: url(../media/Fonts/Lato/Lato-Regular.ttf);
}

@font-face {
    font-family: Lato;
    src: url(../media/Fonts/Noto_Sans/NotoSans-Regular.ttf);
}

h1, .sidebar, h2, select, option, .page-title, .comment-reply-title, .post-navigation .post-title, .subscribe {
  font-family: 'Noto Sans', sans-serif;
}
footer {display: none;}
#page {margin: 0; width: 100%;}
body {
  background: #fafafa;
}
body, button, input, input[type="submit"] select, textarea {
  font-family: 'Lato', sans-serif;
}
body:before, .site-header {background: #2a2623;}

p {hyphens: none;}

#main {padding-top: 0;}

.social-navigation, .sidebar .subscribe { 
	margin: 0px 56px 28px;
}
.main-navigation {margin: 56px;}


.widget, .mentions {
  margin: 0px 0px 28px;
	padding: 0px 56px;
}

.widget select {width: 100%;}

button, input[type="button"], input[type="reset"], input[type="submit"] {padding: 10px; font-size: 13px; white-space: normal;}
button, input[type="button"], input[type="reset"], input[type="submit"], .titre_page, .artists li {
  color: #FFF;
  background: #607D8B;
}

.secondary a:hover, .secondary a:focus, .main-navigation .menu-item-description, .widget, .widget blockquote, .widget .wp-caption-text, .widget .gallery-caption {
  color: #FF9800 !important;
  transition: all 0.2s ease-in-out;
}
.secondary .mentions {color: grey;}

button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, button:focus, input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus, .page-template-template-homepage .resume li:hover, .artists li:hover strong, .artists .more:hover, .page-template-artistes .resume li:hover h2 {
  background: #FF9800;
  transition: all 0.2s ease-in-out;
  }
.fscf-button-submit {width: 100%;}

.page-header {
    border-bottom: 0;
    border-left: 7px solid #607D8B;
}


blockquote {
  margin-left: 0;
    border-left: 4px solid #607D8B;
    color: #607D8B;
}

.hentry {padding-top: 0;}


.resume li, .past, .artists li, .comments-area, .hentry, .single-post .category-dernierement .entry-content {
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  transition: all 0.2s ease-in-out;
}


 .resume li:hover, .past:hover, .artists li:hover, .page-template-galerie-expos .hentry:hover {
  box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

.entry-content, .comments-area {padding: 28px;}
.entry-header {padding: 0 28px;}
.post-thumbnail {margin-bottom: 28px;}

.main-navigation li {border: none;}

.page-template-template-homepage .resume .subscribebox, .page-template-artistes .resume li h2, .artists strong {padding: 14px;}


/*------ Homepage ------*/

.page-template-template-homepage .resume li {
  background: #607D8B;
}

.encart {
    background-color: rgba(0, 0, 0, 0.8);
}

.sidebar, .featured, .page-template-template-homepage .resume li {color: #FFF;}

.past { 
  text-align: center;
  background: url(http://www.galerie-mouton-noir.fr/v2/wp-content/uploads/2016/03/generique.jpg) no-repeat 0 0; 
  background-size: cover;
  color: #FFF;
}

.past h1, .artists strong, .page-template-artistes .resume li h2 {
    background: rgba(0,0,0,0.8);
    color: #FFF;
}
.artists h2 {
  color: #FFF;
  font-weight: 400;
  white-space: nowrap;
}
  
.artists .more h2, .artists strong {font-size: 12pt;}

.past:hover {
  background: url(http://www.galerie-mouton-noir.fr/v2/wp-content/uploads/2016/03/generique.jpg) no-repeat 0 2%;
  background-size: cover;
}

.artists ul {
  list-style: none;
  text-align: center;
}

.artists li {
    height: 115px;
    width: calc(50% - 7px);
    line-height: 115px;
    display: inline-block;
    float: left;
    overflow: hidden;
}

.artists .brno, .artists .yang {
  margin-right: 14px;
}
.artists .brno, .artists .yasuji {
    margin-bottom: 14px;

}

.artists .yasuji {
  background: url(http://www.galerie-mouton-noir.fr/v2/wp-content/gallery/yasuji-watanabe-tightened-lifetokyo-girls/image-watanabe-6.jpg) no-repeat 0 40%;
    background-size: cover;
}
.artists .brno {
  background: url(http://www.galerie-mouton-noir.fr/v2/wp-content/uploads/2016/03/30540_1_m.jpg) no-repeat;
    background-size: cover;
  
}
.artists .yang {
  background: url(http://www.galerie-mouton-noir.fr/v2/wp-content/uploads/2016/03/rouge-1.jpg) no-repeat center;
  background-size: cover;
}

.artists .more a {
  width: 100%;
  height: 100%;
  display: block;
  color: #FFF;
}

.artists img {
  width: 50px;
  padding-right: 14px;
}
.page-template-template-homepage .resume .subscribebox button, .page-template-a-venir .subscribebox button, .subscribebox .newsletter-submit {width: 100%; margin-top: 14px;}
.subscribebox input {margin-bottom: 14px;}
.page-template-template-homepage .resume .subscribebox p, .page-template-a-venir .subscribebox p {text-align: center; color: #000; margin-bottom: 28px; }
.page-template-template-homepage .resume .subscribebox:hover {background: #CFD8DC;}
.page-template-template-homepage .resume .subscribebox img, .page-template-a-venir .subscribebox img { width: 40px;}


/*------ Pour les pages exposition ------*/

.entry-content {background: #fff;}
.single-post .post.type-post.hentry.category-dernierement {background: #fafafa; box-shadow: none;}
#page .ngg-gallery-thumbnail, #page .ngg-gallery-thumbnail a {margin: 0;}


/*------ Expos à venir ------*/

.resume {list-style: none;}
.resume li {
  background: #FFF;
}


/*------ Page Artistes -------*/

.page-template-artistes .resume li {background: #607D8B; }


/*------ Galerie des expos ------ */

.page-template-galerie-expos .titre_page {margin: 0;}

.page-template-galerie-expos .hentry {
  background: #CFD8DC;
  cursor: pointer;
  transition: all 0.2s ease-in-out;

}
.page-template-galerie-expos #main nav li {
  display: inline-block;
    float: left;
    width: 50%;
    text-align: center;
}


.page-template-galerie-expos .post-thumbnail img {
    margin: 0;
    width: 100%;
    height: auto;
  }

.page-template-galerie-expos #main .browse {
  padding: 2% 28px;
    background: #CFD8DC;
    box-shadow: 0 2px 5px rgba(0,0,0,0.26);
}

.page-template-galerie-expos #main nav option {background: #CFD8DC;}

#attachment_290, #attachment_290 img  {width: 100%;}
#attachment_290 .wp-caption-text {
    padding: 14px;
    position: relative;
    background: #607D8B;
    color: white;
    text-align: center;
}






/* ------------------------------------------------- Media queries : Résolutions élevées ---------------------------------------------*/



 @media screen and (min-width: 59.6875em) {

  /*------------------ Mise en page générale ----------------*/

.halfbox {
  width: calc(50% - 28px);
  float: left;
  margin-bottom: 56px;
}
.left {margin-right: 56px;}

.titre_page {
  padding: 28px 56px;
  line-height: normal;
  margin-bottom: 28px;
  font-size: 1.8em;
  box-shadow: 0 2px 5px rgba(0,0,0,0.26);
}
.main-navigation ul, .subscribebox p {border: none; font-size: 1.2em;}
.entry-title, h1 {font-size: 2rem;}
h2, .page-template-default h2, .more, .page-template-template-homepage h1 {font-size: 1.6em; font-weight: 400;}
h3 {font-size: 1.4em;}
.page-template-template-homepage h1, .page-template-default h2 {
  text-transform: uppercase;
  border-top: 2px solid #607D8B;
  margin-bottom: 14px;
  margin-top: 0;
}

.entry-content h3 {font-size: 1.3em; margin: 0 0 14px 0;}
.main-navigation, .social-navigation { 
  font-size: 1.2rem;
}
body {
  font-size: 1.4em;
}
  
body:before {display: none;}

#page, .site {margin: 0; width: 100%; max-width: 100%;}

.sidebar{
  color: #FFF;
  background: #292523 url(http://www.galerie-mouton-noir.fr//v2/wp-content/themes/twentyfifteen-child/media/fond.png);
  max-width: 25%;
  height: 100%;
}
.sidebar header {padding: 0; margin: 0;}

.sidebar header img {padding: 28px 0;}

body:before, .site-header {background: none;}

.sidebar .secondary {
    margin-top: 28px;
    padding: 0;
  }

.sidebar header .lang-item img {padding: 0;}
  
.site-content{
  width: 75%;
  background: #fafafa;
  margin-left: 25%;
}

.resume li {
  margin-bottom: 28px;
  height: 300px;
  overflow: hidden;
}
.page-header, .page-content, .comments-area, .post-navigation, .category-dernierement .content_wrapper, .page-template-artistes .content_wrapper, .page-template-galerie-expos .content_wrapper, .page-template-template-homepage .content_wrapper, .hentry, .resume {margin: 56px;}
.content_wrapper, .featured {max-width: 1400px;}

.top_fiche_expo {display: none;}

select {
    width: 100%;
    border: none;
    background: none;
    border-bottom: 2px solid;
}
.browse select {width: 90%;}

.sidebar select {color: #FFF;}
.sidebar option {color: #000;}

.presentation img {display: none;}


.page-id-394 .entry-content {
  max-width: 300px;
  padding: 28px;
}

.page-id-12 .entry-content {max-width: 500px;}



.page-id-394 .hentry, .page-id-12 .hentry {background: none; box-shadow: none; margin-bottom: 0; }
.page-id-394 .subscribebox {padding: 0;}
.page-id-394 .site-main, .page-id-12 .site-main {
  background: #222219 url(http://www.galerie-mouton-noir.fr/v2/wp-content/uploads/2016/04/11094050_1000533643290167_3425190276842435942_n.jpg) no-repeat center;
  background-size: cover;
  min-height: 55em;
}
.page-id-394 .entry-content, .page-id-12 .entry-content {background: #CFD8DC;}


/* --------------------------- Homepage -------------------------*/

.featured {
  height: 40em;
  display: block;
  margin: 56px;
}

.featured h2, .featured p {
  margin: 14px;
}
.featured h2 {font-weight: 700;}
.page-template-template-homepage .featured h1 {
  border: none;
  font-size: 1em;
  margin: 14px;
}
.encart {
    position: relative;
    display: inline-block;
    top: 28.5em;
    left: 28px;
    white-space:nowrap;
  }

.past, .encart {transition: all 0.2s ease-in-out;}



.page-template-template-homepage .resume {margin: 0; margin-bottom: 2em; height: 19em; overflow: hidden;}
.page-template-template-homepage .resume li {
    display: inline-block;
    width: calc(100%/3 - 19px);
    float: left;
    height: 90%;
    margin: 0 0 28px 28px;
}
.page-template-template-homepage .resume a:first-child li {margin-left: 0;}
.page-template-template-homepage .resume .description {
    height: auto; 
}

.page-template-template-homepage .resume .subscribebox {
  max-width: 100%;
  min-width: calc(100%/3 - 10px);
  background: #CFD8DC; 
  height: 238px;
  text-align: center;
}


.page-template-template-homepage .description p {margin: 0;}
.page-template-template-homepage .resume h2 {
  font-size: 1.2em;
  padding: 0;
}
.page-template-template-homepage .description h2, .page-template-template-homepage .description p{
      overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.page-template-template-homepage .resume .thumb {height: 160px;}

.page-template-template-homepage .resume .thumb, .page-template-template-homepage .resume .description {
    
    width: 100%;
    float: none;
}


.past, .artists { height: 300px;}
.artists li {
  font-size: 1.4em;
  overflow: hidden;
  text-overflow: ellipsis;
}
.past:hover h1, .encart:hover {background: rgb(255,152,0);}

.past h1 {
    transition: all 0.2s ease-in-out;
    border-top: none;
    padding: 28px;
    position: relative;
    top: 100px;
  }
.plus {float: right; margin-bottom: -28px;}



/* -------------- Pages exposition ------------- */

.single-post .category-dernierement .top_fiche_expo {display: block;}
.single-post .post.type-post.hentry.category-dernierement  {margin: 0;}
.single-post .category-dernierement .post-thumbnail, .category-dernierement .entry-header {display: none;}
.single-post .category-dernierement div .entry-content {padding: 28px;}
.top_image {
    height: 400px;
    margin-bottom: -260px;
}


.titre_fiche {
  
    display: inline-block;
    padding: 10px;
}

.fiche_header {
  background: rgba(0,0,0,0.7);
    text-align: center;
    color: #FFF;
    position: relative;
    top: -40px;
    display: block;
    margin: 0 56px;
    padding: 28px;
}

.fiche_header p {margin-bottom: 0;}




/*------ Expos à venir ------*/


.thumb {
  width: 40%;
  height: 100%;
  display: inline-block;
  float: left;
}

.description {
  width: 60%;
  display: inline-block;
  float: left;
  padding: 1em;
  padding-top: 0;
  overflow: hidden;
   text-overflow: ellipsis;
}

.description h2 {
  padding: 28px 0 0 0;
}

.description_text {
  border-top: 2px solid #607D8B;
  padding-top: 28px;
}

.subscribebox button {width: 100%;}
.subscribebox p {text-align: center; color: #000; margin-bottom: 28px; }
.subscribebox img {width: 60px;}
.resume .subscribebox {
  width: 50%;
  height: auto;
    margin: 0 auto;
    text-align: center;
    padding: 28px;
    background: #CFD8DC;
}

/*------ Galerie des expos------ */

.page-template-galerie-expos .entry-header {display: block;}

.page-template-galerie-expos .content_wrapper {
    
    height: 100%;
    margin-left: 28px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
}

.page-template-galerie-expos .hentry {
  flex: 1 1 auto;
  margin: 0 0 28px 28px;
  width: calc(50% - 4em);
}


/*--------- Page artistes -------------*/

.page-template-artistes .resume {margin: 0;}
.page-template-artistes .resume li {
 width: calc(25% - 28px);
  min-width: 150px;
  height: 100%;
  display: inline-block;
  float: left;
  margin: 0 28px 28px 0;
  text-align: center;
}
.page-template-artistes .resume li img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  margin-bottom: -105px;
}

.page-template-artistes .resume li h2 {
    display: inline-block;
    color: #FFF;
    font-size: 1.1em;
}

.page-template-artistes .resume a {
  height: 160px;
    display: block;
}
  
}


/*---------------------------------------------------------- faibles résolutions ------------------------------------------------------*/

@media screen and (max-width: 59em) {


  /*------------------ Mise en page générale ----------------*/

h1, h2, .encart {text-align: center;}

.dates {text-align: center;}

.page-template-template-homepage h1, .page-template-default h2 {
  text-transform: uppercase; 
  border-bottom: 2px solid #607D8B;
  margin: 14px 0;
}


.titre_page {
  line-height: normal;
  margin-bottom: 28px;
  font-size: 1.5em;
  box-shadow: 0 2px 5px rgba(0,0,0,0.26);
}

.content_wrapper {margin: 14px;}

.resume {margin: 0; margin-bottom: 56px;}

.description {padding: 7px;}

.halfbox {margin-bottom: 56px;}

.titre_page, .encart, .page-template-template-homepage .resume .subscribebox, .single-post .category-dernierement div .entry-content, .resume, .page-template-a-venir .subscribebox {padding: 14px;}

.resume li {margin-bottom: 14px;}
.thumb {
  width: 100%;
  height: 220px;
}

.category-dernierement .content_wrapper, .page-template-galerie-expos .content_wrapper {margin: 0; margin-bottom: 28px;}

.page-template-template-homepage .resume .subscribebox, .page-template-a-venir .subscribebox {
  text-align: center; 
  background: #CFD8DC; 
  color: #000;
}
/*.entry-content, .entry-header {padding: 0; padding-bottom: 14px;}*/
.comments-area {padding: 14px;}


/*----- Page d'inscription aux newsletters -----*/

.page-id-394 .subscribebox {
  max-width: 300px;
  margin: 0 auto;
}
.presentation img {display: block;}

  /*Homepage*/

.page-template-template-homepage .site-content {padding-bottom: 56px;}
.page-template-template-homepage ul {margin-left: 0;}
.page-template-template-homepage .resume {padding: 0;}
.page-template-template-homepage .featured h1 {
  border: none;
  margin-top: 0;
}

.featured {
  height: 400px;
  display: block;
  padding-top:calc(400px/3);
  text-align: center;
}

.encart {
  display: inline-block;
}

.encart p {margin-bottom: 0;}

.page-template-template-homepage .thumb {height: 150px;}




.past {
  height: 140px;
  line-height: 140px;
}
.past h2, .page-template-artistes .resume li h2 {background: rgba(0,0,0,0.5);}

.plus {display: none;}


/*--------------- Galerie des Expos ----------------*/

.page-template-galerie-expos .hentry {
    display: block;
    margin: 14px;
    margin-bottom: 28px;
}
.entry-title {
    font-size: 1.1em;
    line-height: 1.1538;
    margin-bottom: 0.9231em;
}
  
/*------ Fiche Exposition ------ */
  
.fiche_header {display: none;}
 {margin: 0; margin-bottom: 28px;}
  
/*------ Expos à venir ------*/

.description {
  width: 100%;
  display: inline-block;
  overflow: hidden;
  text-align: center;
}

.description h2 {
  padding: 14px 0 0 0;
}

.description_text {
  padding-top: 14px;
}


/*---------- Page Aristes ------------*/

.page-template-artistes .resume li img {display: none;}
.page-template-artistes .resume li h2 {
    margin-bottom: 14px;
    background: #FFF;
    color: #000;

}





