/*
	Theme Name: Flow
	Description: Flow Theme
	Version: 2.0
	Author: ChillyDesign
	Author URI: http://chillydesign.co
	Tags: Blank, HTML5, CSS3
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/
/*reset*/
a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}


/* 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 */
html {
	font-size:62.5%;
	overflow-x: hidden;	
}
body {
	font-family: 'Raleway', sans-serif;
	font-weight: 300;
	color:#444;
	font-size: 1.6em;
	line-height: 150%;
	position: relative;
	z-index: 0;
	width: 100vw;
	overflow-x: hidden;	
}


/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}

a {
	color:#3C5097;
	text-decoration:underline;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

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

/* wrapper */
.wrapper { max-width:900px; width:95%; margin:0 auto;position: relative; padding: 0 10px; }
.wrapper-sm { max-width:1200px; width:95%; margin:0 auto; position:relative; padding:10px; }
/* header */
.contactinfo {
    position: absolute;
    top: -30px;
    left: 0;
    right: 0;

    color: white;
    font-weight: bold;
        text-shadow: 0 0 10px rgba(0,0,35,0.5);
}
.langues {
    position: absolute;
    top: -30px;
    left: 0;
    right: 0;
    text-align: right;
    color: white;
    font-weight: bold;
        text-shadow: 0 0 10px rgba(0,0,35,0.5);
}

header {
	padding:10px 0;
	position: absolute;
	top: 35px; left: 0; right: 0;
	z-index: 2;
	background: rgba(255,255,255,0.9);
}

header a , footer a{text-decoration: none;}

.logo a {display:block; font-size: 0; background: url(img/artquarium-logo.png) no-repeat; background-size: 210px 70px; padding: 20px 210px 20px 0; float: left;}
footer .logo a {display:block; font-size: 0; background: url(img/artquarium-logo-footer.png) no-repeat; background-size: 100%; padding: 30px 180px 30px 0; width: calc(100% - 15px);}



#lang_sel_list {
    /* height: 32px; */
    position: absolute;
    z-index: 99;
    /* font-family: verdana, arial, sans-serif; */
    top: -40px;
    right: 0;
}

#lang_sel_list a, #lang_sel_list a:visited {border: none;}
a.lang_sel_other, a.lang_sel_sel { font-size: 0.9em !important; background: none !important; margin-left: -6px;}
a.lang_sel_other:hover, a.lang_sel_sel:hover { background: none !important; text-decoration: underline !important;}
a.lang_sel_other {color: #9d9d9d !important;}
a.lang_sel_sel {color: #555 !important;}

/* nav */
nav {
float: right
}
nav ul li {
    display: inline-block;
    padding-left: 15px;
}

nav ul li a {display:block; color: #9d9d9d; text-transform: uppercase; padding: 20px 15px 0px 0; font-weight: 500; font-size: 0.9em;}
nav ul li.current_page_item a, nav ul li.current_page_ancestor a {
    color: #303030;
}

li ul li a {color: #fff !important}
nav ul li ul {display: none;}
nav ul li.current_page_item ul, nav ul li.current_page_ancestor ul, .single-propos .menu-item-87 ul {
    display: inline-block;
    /*display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    justify-content:flex-end;
    -webkit-justify-content:flex-end;
    -moz-justify-content:flex-end;
    -ms-justify-content:flex-end;
    -o-justify-content:flex-end;
    flex-wrap:wrap;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    -o-flex-wrap:wrap;*/
    position: absolute;
    left: -10000px;
    right: -9997px ;
    border-left: solid 1px;
    padding: 15px 10000px 15px 10000px;
    background: rgba(0,0,0,0.6);
    height: auto !important;
    text-align: right;
}

.home ul.sub-menu{right:-9970px;}
/*nav ul li ul li {flex-grow:1 !important;-webkit-flex-grow:1 !important; -moz-flex-grow:1 !important; -ms-flex-grow:1 !important; -o-flex-grow:1 !important;}*/
/*nav ul li.menu-item-has-children:hover > ul {display: block;}*/

nav ul li ul li a {padding:10px 20px 10px 0px;}

#menu-item-74 ul li a {display: inline-block;}

nav ul li ul li ul {display: none !important;}
/* sidebar */
.sidebar {

}
/* footer */
#main{
	position: relative;
	z-index: 2;
	height: 100%;
	background: #fff;
}

footer {position: fixed; bottom: 0; left: 0; width: 100%}

.footer-top {
	background: #262626;
	color: #818181;	
	padding: 40px 0;
	position: relative;
}

#footer-links ul li a, .footer-top p {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 1.1em;
    margin-bottom: 18px;
    display: block;
    color: #818181;
}

.footer-top p { margin-bottom: 10px; }

.fa-stack:hover .fa-circle, #footer-links ul li a:hover  {color: #fff !important;}

.footer-bottom {background: #1B1B1B; color: #818181; padding: 30px 0; border-top: solid 1px #818181; }
.copyright {text-align: center;}
a#bsf {
    color: #818181;
}
a#bsf:hover {
    color: #fff;
}
/*------------------------------------*\
    PAGES
\*------------------------------------*/

h1, h2, h3, h4, h5, h6, nav a, .album_titles li {font-family: 'Arvo', serif;}


p{margin-bottom: 20px;}
h2 {font-weight: 500; color: #303030; text-transform: uppercase; font-size: 1.1em; margin-bottom: 20px;}
h1 {
    text-align: center;
    font-weight: 500;
    padding: 20px 20px 0;
    color: #303030;
    text-transform: uppercase;
    font-size: 1.5em;
}
h1:after {content: ''; display: block;margin: 30px auto; width: 20%; border-bottom: solid 1px #303030; height: 2px;}
h3 { font-weight: 500; color: #303030; margin-bottom: 20px; }
/*h4 { font-weight: 500; text-transform: uppercase; color: #303030; margin: 0; text-align: center; padding: 20px 10px; background-color: #f8f8f8; border: 1px solid #eeeeee; margin-bottom: 30px;}*/
h4 { font-weight: 500; text-transform: uppercase; color: white; margin: 0; text-align: center; padding: 10px; background-color: rgba(50,50,50,0.5); border: 1px solid #eeeeee; position: absolute; bottom: 0; left: 13px; right: 15px; }
.inf-main h4 {
    background: none !important;
    position: relative;
    text-align: left;
    padding: 0;
    margin: 0;
    left: 0;
    border: 0;
    font-weight: 300 !important;
}
h5 {font-weight: 500; color: #303030;}
h6 {
    color: #303030;
    margin-bottom: 20px;
    font-size: 0.9em;
    font-style: italic;
}
img{width: 100%; height: auto; margin-bottom: 20px;}

table {width: 100%;}
td { border: solid 1px; padding: 3px 5px; margin: 2px;}
caption { padding: 10px; font-weight: bold; border: solid 1px; border-bottom: 0;}

section ul {list-style: circle; margin-left: 30px;}
section ul li {margin-bottom: 5px;}

.single-projet p, .single-projet h5 {font-size: 0.9em;}
.projectslider {margin-bottom: 20px;}
.projectimage {margin-bottom: 30px;}

input, textarea, select {
    padding: 10px;
    border: solid 1px #262626;
    display: block;
    width: 100%;
}
input.wpcf7-submit {
    background-color: #f8f8f8;
    text-transform: uppercase;
    border: solid 1px #262626;
}
input[type="checkbox"], input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
    display: inline-block !important;
    width: 12px;
    margin: 0 5px 0 -8px;
}
label {margin-right: 10px;}
.wpcf7-list-item-label {margin-right: 10px;}
span.wpcf7-list-item{display: block;}
.ajax-loader {display: none;}

em {font-style: italic;}
strong {font-weight: bold;}

.actualite_pagination {margin-top: 80px;}



/*------------------------------------*\
    SECTIONS
\*------------------------------------*/

section {padding: 40px 0 20px;}

.greybackground {background-color: #f8f8f8;}
.blur {background: url(img/blur4.jpg) no-repeat; background-size: cover; color: white;}
.blur h2, .blur h3 {color:white;}
.blur h2:after {border-color: white;}
.parallaxbackground {background-size: cover; background-attachment: fixed; background-repeat: no-repeat;}
.parallaxbackground, .parallaxbackground h1, .parallaxbackground h2, .parallaxbackground h3 {color: white;}

.lineborder {border-bottom: 1px solid #eeeeee;}

/*bar with triangle snippet*/
.triangleborder {
  position: relative;
  border-bottom: 1px solid #aaa;
  z-index: 9;
}
.triangleborder:before,
.triangleborder:after {
	content: "";
	position: absolute;
	bottom: -15px; /* value = - border-top-width - border-bottom-width */
	left:49.5%;
	/* Firefox */
	left: -moz-calc(50% - 15px);
	/* WebKit */
	left: -webkit-calc(50% - 15px);
	/* Opera */
	left: -o-calc(50% - 15px);
	/* Standard */
	left: calc(50% - 15px);
	border-width: 15px 15px 0; /* vary these values to change the angle of the vertex */
	border-style: solid;
	border-color: #aaa transparent;
}
.triangleborder:after {
  bottom: -14px; /* -1px of first element for border */
  border-color: #fff transparent;
}
/*End of triangle*/

.top-paragraph {margin-bottom: 40px;}

.proportional_img {width:100%; padding: 35%; background-repeat: no-repeat; margin-bottom: 10px; background-size: cover;}

section.slider , .headerslider {padding:0 !important; margin-bottom: -60px;}
.slider {position: relative;}

.single-propos section.headerslider.slider.propos {
    display: block !important;
}

.single-propos section.headerslider.slider {
    display: none;
}

.actualites .slider {
    display: none;
}

.actualites .slider:first-child {
    display: block;
}

section .slide_image {padding: 15%; background-size: cover; background-repeat: no-repeat; background-position: center; margin-left: -30px;}
.headerslider .slide_image {padding: 10%; background-size: cover; background-repeat: no-repeat; background-position: center; margin-left: -30px;}
.bigslider.headerslider .slide_image {padding: 20%;}
.bx-wrapper .bx-viewport {left: 0 !important;}
.bx-wrapper .bx-pager.bx-default-pager a {border: solid 1px white; background: none; margin: -60px 5px 0;}
.bx-wrapper .bx-pager.bx-default-pager a:hover, .bx-wrapper .bx-pager.bx-default-pager a.active {background: white;}
.bxslider li {display: none;}


.slide_texte {
    position: absolute;
    width: 100%;
    top: 30%;
    color: white;
    font-weight: bold;
    text-align: center;
    font-size: 1.2em;
}

.titre {padding: 20px 0 10px;}
.map {padding: 0;}


.album_titles, .album {list-style: none; margin-left: 0;}
.album_titles li/*, .album li*/ {display: inline-block;}

.album_titles {margin-bottom: 20px;}
.album_titles li {text-transform: uppercase; border: solid 1px; padding: 3px 10px; margin-right: 10px; cursor: pointer;}
.current_title { background: #494949; color: white; }

/*.album {display: none; margin: 0 -10px;}
.current_album {display: block;}*/
.album ul {margin-left: 0;}
.album li {list-style:none; margin-left: 0;}
.album {visibility: hidden; margin: 0 -10px; height: 0 !important; overflow: hidden;}
.current_album {visibility: visible; height: auto !important; overflow: auto;}
/*.current_album {
	display: flex; 
	display: -webkit-flex; 
	display: -moz-flex; 
	display: -ms-flex; 
	display: -o-flex; 
	flex-wrap : wrap;
	-webkit-flex-wrap : wrap;
	-moz-flex-wrap : wrap;
	-ms-flex-wrap : wrap;
	-o-flex-wrap : wrap;
}*/
/*.album li {width: calc(25%); padding: 10px; min-width: 180px;}*/

iframe {width: 100%; min-height: 250px;}

p.caption {
    margin-bottom: 0;
    position: absolute;
    bottom: 9px;
    padding: 9px 10px;
    left: 9px;
    right: 9px;
    text-align: center;
    background: rgba(255,255,255,0.6);
    line-height: 1.2;
}

/*------------------------------------*\
    EDITOR STYLES
\*------------------------------------*/

.button {
	border: solid 1px;
    padding: 10px 50px;
    text-align: center;
    margin: auto;
    text-transform: uppercase;
    display: table;
}

/*------------------------------------*\
	PLUGINS
\*------------------------------------*/

.soliloquy-pager.soliloquy-default-pager {
    text-align: center !important;
}
.soliloquy-theme-classic .soliloquy-pager {margin: 0!important;}

.grid-item { width: 25%; min-width: 150px; padding: 10px; font-size: 0.4em;}
.grid-item img {margin-bottom: 0;}


.featherlight .featherlight-image {
    max-height: 100% !important;
    width: auto !important;
    max-width: 100% !important;
    margin: auto !important;
    margin-bottom: 20px !important;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/
@media (max-width:1000px){ 
	.logo {
		border-bottom: solid 1px;
		padding-bottom: 20px;
	}
	.footer .logo {border-bottom: 0;}
	footer .logo {margin-bottom: 20px;}
	.logo a {
	    float: none;
	    width: 100%;
	    padding: 60px 0 20px;
	    background-position: center;
	}
	footer .logo a {background-size: 180px;}
	nav {
		float: none;
		text-align: center;
		top: 0;
		padding-bottom: 20px;
	}
	nav ul li a{padding: 24px 5px 0px;}
	.slider_text {display: none;}
	#lang_sel_list {top: -130px;}
	.headerslider .slide_image {height: 480px !important;}
	nav ul li {padding-left: 7px; padding-right:7px;}
	nav ul li.current_page_item ul, nav ul li.current_page_ancestor ul, .single-propos .menu-item-87 ul { text-align: center; }
	.home ul.sub-menu { right: -9997px; }
}
@media (max-width:667px){
	.footer .logo {border-bottom: solid 1px;} 
	.bx-controls {
	    display: none;
	}
}

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

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	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;
}
img.wp-smiley, img.emoji {height: 0.4em !important; width: 0.3em !important;}
.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;
	}

	header,.headerslider, footer {display: none;}
}
