/*font*/
@font-face {
    font-family: "Maiandra GD2";
    src: url('../fonts/MAIAN.ttf');
}
@font-face {
    font-family: "Le Havre2";
    src: url('../fonts/LeHavre.ttf');
}


:root{
    --emph1: #424487; /*bleu*/
    --emph2: #ffa365; /*orange*/
} /* variables*/


html {
  background-color: white !important;
  color: #000000;
}

.thumb-img {
  border-color: #EDEDED !important;
  border: thick;
}

.thumb-img {
  box-shadow: 0 0 2px 1px rgba(0, 0, 0, .15) !important;
  border-color: #FFFFFF !important;
  border-width: 3px !important;
}

#loupeContainer div.background {
  background-color: #EDEDED !important;
  opacity: 0.5;
  color: inherit;
}


/*header plus haut (fond blanc transparent) */
header {
    height: auto;
    padding: 20px 28px 0 28px;
    background-color: rgba(255,255,255,0.7);
    color: inherit;
	box-shadow: 0 5px 5px #bbbbbb;
}

/*couleur fond header*/
header div.background {
  display: none;
	width:0;
	height: 0;
}

header.is-fixed {
	display: flex;
}




/* division titre / reste header */
header div.title {
	z-index: 0;
	position: auto;
	flex-grow: 1;
	display: inline-block;
	float: none;
}


header ul.gallery-meta {
    position: relative;
    display: block;
/*
    float: right;
    width: 50%;
*/
    margin: -15px 0 0 0;
    padding: 0;
    list-style-type: none;
}

header ul.gallery-meta {
    width: 140px;
    margin: 0px 0 0 0;
}

header #ligneVide
{
	line-height: 0.5;
}

/* hauteur header fixe quand on scrolle*/
.scrolled header.is-fixed {
    height: 75px;
	padding-top: 8px;
}

.custom-colorable {
  fill: #575757 !important;
}

.has-header #thumbnailContainer {
    padding: 155px 0px 0px 0px;
}

body {
	background-color: #ccc;
    font-family: muli, Arial, Helvetica, sans-serif;
    font-size: 1em;
/*    background-color: rgba(255,255,255,0.4);*/
    background-blend-mode: overlay;
    color: #000000 !important;
}

/* font et style nom galerie + description */
#galleryTitle {
	font-family: "Le Havre2", "Maiandra GD2", "Myriad Pro", Arial, sans-serif;
	font-variant:small-caps;
	color: white; /*#641f32;*/
	background-color: var(--emph1);
	font-size:26px;
	margin:0;
	margin-bottom: 15px;

}


#galleryAuthor {
	color: #000000 !important;
	font-size: 18px;
	margin:0;
}
.scrolled header.is-fixed #galleryTitle {
    font-size: 24px;
	margin-bottom: 10px;
}
.scrolled header.is-fixed #galleryAuthor {
    font-size: 18px;
}



#loupeMeta p.caption {
    height: 100%;
}

	#loupeContainer {
    padding: 15px 15px 40px 15px;
}	
	#loupeContainer ul {
    height:37px
}

@media screen and (max-width: 568px) {

    header {
        padding: 10px 12px 0 12px;
    }


    header div.title {
        padding: 0;
        width: 100%;
        text-align: center;
    }

/*    header ul.gallery-meta {
        display: none;
    }*/
	header ul.gallery-meta {
    width: 95px;
    margin: 0px 0 0 0;
		flex-shrink: 0;
}

    .scrolled header.is-fixed {
        height: 70px;
        padding: 0px 12px 0 12px;
    }

    .scrolled header.is-fixed p.title {
        padding: 12px 0 0 0;
    }

    .scrolled header.is-fixed ul.gallery-meta {
        margin: 0;
    }

	.scrolled header.is-fixed #galleryTitle {
    font-size: 22px;
	margin-bottom: 5px;
}
.scrolled header.is-fixed #galleryAuthor {
    font-size: 16px;
}
	#galleryTitle {
    font-size: 24px;
	margin-bottom: 10px;
}
#galleryAuthor {
    font-size: 18px;
}

    .has-header #thumbnailContainer {
        padding: 175px 0;
    }
	
	.thumb-img {
  border-width: 2px !important;
	}
	


    .thumbnail-size-sm div.thumbnail,
    .thumbnail-size-md div.thumbnail,
    .thumbnail-size-lg div.thumbnail {
        padding: 5px;
        width: 100px;
        height: 100px;
       -moz-box-sizing: border-box;
        box-sizing: border-box; 
    }

    .thumbnail-size-sm div.thumbnail div.image-container,
    .thumbnail-size-sm div.thumbnail div.image-container div.image {
        width: 90px;
        height: 90px;
    }

    .thumbnail-size-md div.thumbnail div.image-container,
    .thumbnail-size-md div.thumbnail div.image-container div.image {
        width: 90px;
        height: 90px;
    }

    .thumbnail-size-md div.thumbnail div.image-container,
    .thumbnail-size-md div.thumbnail div.image-container div.image {
        width: 90px;
        height: 90px;
    }

    .thumbnail-size-sm div.thumbnail img,
    .thumbnail-size-md div.thumbnail img,
    .thumbnail-size-lg div.thumbnail img {
        max-width: 90px;
        max-height: 90px;
    }

}


