html, body
{
min-width:100%;
min-height:100%;

}



#mosa #grid {
	text-align: center;
	margin: 0px auto;
	padding: 0;
	list-style: none;
	/* min-height: 500px; */
	background-color:white;

	padding: 0;
	list-style: none;
	position: relative;
	margin: 30px;
}

.grid li {
	display: inline-block;
	overflow: hidden;
	text-align: left;
	vertical-align: top;
	margin:0.5%;
	width:315px;
	height: 210px;
	position: relative;
	overflow: hidden;	
}

/* Anchor and image */
.grid li > a,
.grid li img {
	display: block;
	outline: none;
	border: none;

	display: block;
	cursor: pointer;
}

.grid li img {
	position: absolute;
	left: 50%;
	top: 50%;
	margin-top: -105px;
}

.grid li > a {
	position: relative;
	overflow: hidden;
	/*padding:15px;
	margin: 7px; */
	height: 210px;

}

/* Curtain element */
.grid .curtain {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	height: 100%;
	background: #96cdc8;
}


/* Title */
.grid li h3 {
	position: absolute;
	padding-right:8px;
	margin: 0;
	margin-bottom:0px;
	margin-left:0px;
	margin-right:0px;
	bottom: 0px;
	right: 0px;
	left:0px;
	padding-top:10px;
	background-image:url("shade.png");
	background-repeat:repeat-x;
	color: white;
	text-align: right;
	text-transform: uppercase;
	letter-spacing: 1px;
	height:17px;
	font-size: 1em;
	-webkit-transition: -webkit-transform 0.2s, color 0.2s;
	transition: transform 0.2s, color 0.2s;
	font-family: 'Open Sans', sans-serif;
	font-weight:600;

	padding-right:3px;
	display: none;
}



.opa
{
	text-decoration:none;
	opacity:0;
	position:absolute;
	bottom:0px;
	left:0px;
	right:0px;
	height:83px;
	background-color: rgba(255, 255, 255, 0.8);
	color:black;
	padding:4px;

}

.bouton
{
position:absolute;
bottom:4px;
right:4px;
}


.opa a
{
color : #00303c;
}
.opa a:hover
{
color : #002b36;
}



.grid li.animate img,
.grid li.animate h3 {
	-webkit-animation: showMe 1.5s step-end forwards;
	animation: showMe 1.5s step-end forwards;
}

@-webkit-keyframes showMe {
	from { visibility: hidden; }
	60%, 100% { visibility: visible; }
}

@keyframes showMe {
	from { visibility: hidden; }
	60%, 100% { visibility: visible; }
}

.grid li.shown img,
.grid li.shown h3 {
	visibility: visible;
}

.js .grid li img{
/*width:312px;*/
/* border:3px solid #bed5db; */
}





#searchform{
	font-size: 18px;
	position: absolute;
	right: 35px;
	margin-top: 25px;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	    -ms-flex-direction: column;
	        flex-direction: column;
	z-index: 100;
}

#searchform input{
	border:1px solid #068fb2;
	background-color: #005b72;
	color:white;
	height:20px;
	padding-left: 4px;
	background-image: url("search.png");
	background-repeat: no-repeat;
	background-position: 97%;

}
#searchform select{
	border:1px solid #007795;
	background-color: #005b72;
	color:white;
	padding-left: 4px;
}
#searchform select::-moz-selection{
	background-color: #003f4f;

}
#searchform select::selection{
	background-color: #003f4f;

}


.img_art{
	width:400px;
}
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#article{
	width: 90%;
	margin:auto;
	text-align: center;
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	padding-bottom: 20px;
	font-size: 0.8em;
}


.moreTags a{
	font-size: 1.4em;
}
.moreTags{
	padding-top: 10px;
}
#article h1{
	font-weight: bold;
		font-size: 2em;

}
#article h1, #article a{
	color: #003f4f;
}
#article a{
		text-decoration: underline;

}
#article a:hover{
	color:#026a85;
	text-decoration: none;
}
#ph_art{

	border-top: 1px solid #007795;
	border-bottom: 1px solid #007795;
	background-color: #003f4f;
	height: 45px;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	color:white;
	line-height: 45px;
	vertical-align: middle;
	font-family: 'Open Sans', sans-serif;
	font-weight: 600;
	padding-left: 30px;
	font-size: 1em;
}

.pre-chargement{
	display: none;
}

.container
{
	min-height: 100%;
	position: relative;
	display:-webkit-box;
	display:-webkit-flex;
	display:-ms-flexbox;
	display:flex;
	-webkit-box-orient:vertical;
	-webkit-box-direction:normal;
	-webkit-flex-direction:column;
	    -ms-flex-direction:column;
	        flex-direction:column;
	
}


body
{
padding:0;
margin:0;
}

header
{
padding-top:100px;
width:100%;
}

nav 
{
	z-index: 10;
	width: 100%;
border-top:1px solid #007795;
border-bottom:1px solid #007795;

    background-color: #003f4f;


}

nav .top{
		height:76px;
width:100%;
display:-webkit-box;
display:-webkit-flex;
display:-ms-flexbox;
display:flex;
-webkit-box-orient:horizontal;
-webkit-box-direction:normal;
-webkit-flex-direction:row;
    -ms-flex-direction:row;
        flex-direction:row;
}

nav .bottom{
	position: absolute;
	z-index: 10;
	width: 100%;
	background-color: #003f4f;
	border-bottom:1px solid #007795;
}
nav .bottom ul{
	display: none;
	margin-left: 40px;
}

#cat_videos, #cat_more, #cat_articles{
	cursor: pointer;
}

#ul_vid, #ul_art, #ul_more{
	margin-top: -8px;
	margin-bottom: 15px;
	font-size: 1em;
	list-style-type: square;
}

#bann
{
width:100%;

height:370px;
background-image: url("http://photiveo.fr/ph/337.jpg");
background-size:  cover;
background-position: 50% 50%;
background-repeat:no-repeat;
position: relative;

}

#warning{
	text-align: center;
	width: 100%;
	position: absolute;
	bottom: 0px;
	height: 30px;
	padding-top: 5px;
	padding-bottom: 3px;
	background-image: url("warn_deg.png");
	background-position: bottom center;
	background-repeat: repeat-x;
	line-height: 32px;

}
#bann2
{
width:100%;
height:200px;

background-image: url("strip.png");
background-repeat:repeat;

text-align:center;
    padding-top: 120px;
    padding-bottom: 50px;
}
#info_bann
{
width:560px;
margin:auto;
display:-webkit-box;
display:-webkit-flex;
display:-ms-flexbox;
display:flex;
-webkit-box-orient:horizontal;
-webkit-box-direction:normal;
-webkit-flex-direction:row;
    -ms-flex-direction:row;
        flex-direction:row;
}


#text_bann img
{
vertical-align:middle;
}
#text_bann
{
 /* text-shadow: 3px 5px 6px rgba(0,0,0,0.5);*/

text-align:left;
color:white;
margin-left:10px;
width:390px;
}
 #text_bann .v
 {
 margin:0;
 font-size:2em;
 z-index: 2;
 } #text_bann .p
 {
 margin:0;
 font-size:1.6em;
  z-index: 2;

 margin-bottom:50px;
 }
  #text_bann .lien
 {
 margin:0;
 margin-top:60px;
 }


.photo
{
width:100%;

text-align:center;
}
.photo img
{
height:500px;
margin: 20px;
}

header{
margin:auto;
margin-top:0px;
margin-bottom:0px;
padding:0px;
border:0px;
}


header
{

color:#cccbcb;
	font-family: 'Open Sans', sans-serif;
	font-weight:400;
}

header a
{
color:#f0f0f0;
text-decoration:none;
}


header .non a
{
color:#f0f0f0;
text-decoration:none;
}
header .on
{

 background-image: url('hover.png');
    background-repeat: no-repeat;
    background-position: center center;
		background-size:200px 30px;

}
header .on a
{

color:white;
text-decoration:none;

}
header a:hover
{
color:white;
}


header img
{
border:0px ;
vertical-align:middle;
}



#logo
{

text-align:center;
}



header div nav{
-webkit-box-flex:2;
-webkit-flex:2;
    -ms-flex:2;
        flex:2;

    bottom:0px;

	text-transform:uppercase;
}


.non
{
    -webkit-animation: bac2 0.7s;
            animation: bac2 0.7s;
		
 background-image: url('hover.png');
    background-repeat: no-repeat;
    background-position: center center;
			background-size:200px 250%;
}
.non:hover
{
    -webkit-animation: bac 0.7s;
            animation: bac 0.7s;
	
 background-image: url('hover.png');
    background-repeat: no-repeat;
    background-position: center center;
		background-size:200px 30px;

}

 

header nav .top ul{

margin-right:10px;
display:-webkit-box;
display:-webkit-flex;
display:-ms-flexbox;
display:flex;
-webkit-box-orient:horizontal;
-webkit-box-direction:normal;
-webkit-flex-direction:row;
    -ms-flex-direction:row;
        flex-direction:row;
margin-top:0px;
margin-bottom:0px;
vertical-align:middle;
line-height:50px;
padding-top:11px;
}
header nav .top #ul2{
margin-right:0px;
padding-left:0px;
}

header nav .top ul li {
text-align: center;
padding: 0px 10px;
list-style: none;
height:52px;

line-height:52px;
vertical-align:middle;
}





#mosa
{
		background-color:white;
padding:auto;
width:100%;
/*padding-top:15px;*/

}

.html_contact{
background-image: url("cont.jpg");
background-size:  cover;
background-position:center 85%;
background-repeat:no-repeat;
	
}
#contact
{
padding-top:40px;
-webkit-box-flex:1;
-webkit-flex:1;
    -ms-flex:1;
        flex:1;
padding-bottom:20px;

	font-family: 'Open Sans', sans-serif;

	
width:100%;

text-align:center;

 }

 #contact input
{
	background-color:transparent;
	background-image:none;
	border-width:0px 0px 1px 0px;
	border-color:#2C2C2C;

 }
  #contact select
{
	background-color:transparent;
	background-image:none;
	border-width:0px 0px 1px 0px;
	border-color:#2C2C2C;

 }
 
 
  #contact textarea
{
	background-color:transparent;
	background-image:none;
 border-width:1px 1px 1px 1px;
 border-color:#2C2C2C;
 width:300px;

 }
#contact_form_top
{
display:-webkit-box;
display:-webkit-flex;
display:-ms-flexbox;
display:flex;
-webkit-box-orient:horizontal;
-webkit-box-direction:normal;
-webkit-flex-direction:row;
    -ms-flex-direction:row;
        flex-direction:row;
margin-bottom:20px;
text-align:left;
}
#contact_form_top div:last-child
	{
	margin-left:20px;
	}
#contact_form
{
width:740px;
margin:auto;
}


.image-source-link {
	color: #98C3D1;
}

.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
	opacity: 0.001;
	-webkit-backface-visibility: hidden;
	/* ideally, transition speed should match zoom duration */
	-webkit-transition: all 0.3s ease-out; 
	transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
		opacity: 1;
}
.mfp-with-zoom.mfp-ready.mfp-bg {
		opacity: 0.8;
}

.mfp-with-zoom.mfp-removing .mfp-container, 
.mfp-with-zoom.mfp-removing.mfp-bg {
	opacity: 0;
}


		/* -------------- NO TAB ------------------ */
@media(max-width:1000px){

	#searchform.no_tab{
		display: none;
	}
	.no_tab{
		display: none;
	}									
												
}

	
		  

/* -------------- MOBILE ------------------ */
	@media(max-width:600px){
		.no_mobile{
			display: none;
		}
				#article{

	padding-left: 10px;
	padding-right: 10px;

}
		.img_art{
	width:80%;
}
	#contact_form_top
{
-webkit-box-orient:vertical;
-webkit-box-direction:normal;
-webkit-flex-direction:column;
    -ms-flex-direction:column;
        flex-direction:column;
	text-align:center;


}
#contact textarea
{
width:90%;
}
	#contact_form_top div:last-child
	{
	margin-left:0px;
	margin-top:20px;
	}
	#contact_form
	{
	text-align:center;
	width:100%;
	padding:10px;
	}
	header nav .top{
	-webkit-box-orient:vertical;
	-webkit-box-direction:normal;
	-webkit-flex-direction:column;
	    -ms-flex-direction:column;
	        flex-direction:column;
	height:80px;
	}
	header nav .top ul
	{
	height:40px;
	margin-left:0px;
	margin-right:0px;
	padding-left:0px;
	padding-right:0px;
	padding-top:0px;
	}
	header nav .top #ul2
	{
	border-top:1px solid #007795;
}
	header nav .top ul li
	{
	-webkit-box-flex:1;
	-webkit-flex:1;
	    -ms-flex:1;
	        flex:1;
	vertical-align:middle;
	line-height:40px;
	height:40px;
	padding-left:0px;
	padding-right:0px;
	}
	header
{
padding-top:0px;
 -webkit-box-orient: vertical;
 -webkit-box-direction: normal;
 -webkit-flex-direction: column;
     -ms-flex-direction: column;
         flex-direction: column;
 height:362px;
 
 }
 #bann
 {
 margin:auto;
 height:280px;
 }
#bann2
{
text-align:center;
padding-top:30px;
width:100%;
height:250px;
background-image: url("grad2.png");
padding-bottom: 0;
}
#info_bann
{
width:100%;
text-align:center;
-webkit-box-orient:vertical;
-webkit-box-direction:normal;
-webkit-flex-direction:column;
    -ms-flex-direction:column;
        flex-direction:column;
}
#prof_bann{
text-align:center;
margin:auto;
width:120px;
height:120px;

}
#text_bann
{
text-align:center;
margin:auto;
}

#text_bann .p
{
margin-bottom:10px;
}


#text_bann
{
  text-shadow: 2px 3px 3px rgba(0,0,0,0.8);
margin-left:0px;
width:100%;
}
 #text_bann .v
 {
 font-size:1.6em;
 } #text_bann .p
 {
 font-size:1.1em;
 }

 .opa
 {
 font-size:0.7em;
 }
 
 .bouton
 {
 display:none;
 }
 


.opa
{
text-decoration:none;
opacity:0;
position:absolute;
bottom:0px;
left:0px;
right:0px;
height:43px;
background-color: rgba(255, 255, 255, 0.7);
color:black;
padding:4px;

}
 
 
 }







		
				/* ******************/

		
		
@-webkit-keyframes opa1 {
    from {
			opacity:0;
	}
	 45%  { opacity:0; }
    to {
				opacity:1;
	}
}

		
		
@keyframes opa1 {
    from {
			opacity:0;
	}
	 45%  { opacity:0; }
    to {
				opacity:1;
	}
}


@-webkit-keyframes bac2 {
    from {
		background-size:200px 30px;
	}
    to {
		background-size:200px 250%;
	}
}


@keyframes bac2 {
    from {
		background-size:200px 30px;
	}
    to {
		background-size:200px 250%;
	}
}

@-webkit-keyframes bac {
    from {
		background-size:0px 100%;
	}
    to {
		background-size:200px 30px;
	}
}

@keyframes bac {
    from {
		background-size:0px 100%;
	}
    to {
		background-size:200px 30px;
	}
}
		


@-webkit-keyframes head1 {
    from {
		height:76px;
	}
    to {
		height:100px;
	}
}
		


@keyframes head1 {
    from {
		height:76px;
	}
    to {
		height:100px;
	}
}



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

@media(max-width:601px){

.grid li:hover .opa
{
display: none;
}
 .grid li h3 {
 font-size:0.8em;
 height:12px;

}

}

@media(min-width:601px){

.grid li:hover .opa
{
    animation: opa 0.7s;
	-webkit-animation: opa 0.7s;
	opacity:1;
}

.grid li.shown:hover h3 {
	transform: translate3d(0,-50px,0);
}
	

@-webkit-keyframes opa {
    from {opacity:0;}
    to {opacity:1;}
}
@keyframes opa {
    from {opacity:0;}
    to {opacity:1;}
}

/* Hover effects */
.grid li.shown:hover h3 {
	-webkit-transform: translate3d(0,-90px,0);
	transform: translate3d(0,-90px,0);
/*	background: rgba(255, 255, 255, 1); */

}



.grid li.shown:hover > a::before {
	border-width: 14px;
	border-color: #2E3444;
}


/* Shadow */
.grid li.animate .curtain::after {
	-webkit-animation: fadeOut 1.5s ease forwards;
	animation: fadeOut 1.5s ease forwards;
	-webkit-animation-delay: inherit;
	animation-delay: inherit;
}

@-webkit-keyframes fadeOut {
	0% {} /* fixes Chrome 35.0.1916.114 issue (easing breaks) */
	50%, 60% { opacity: 1; }
	100% { opacity: 0; }
}

@keyframes fadeOut {
	0% {}
	50%, 60% { opacity: 1; }
	100% { opacity: 0; }
}

}