/*Style*/

* {
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

@font-face {
    font-family: 'leaguegothic';
    src: url('font/league_gothic-webfont.woff');
    font-weight: normal;
    font-style: normal;
}

/*El�ments principaux*/

.visuellement-cache
{
    display: none;
    }

body
{
    background-color: #efefef;
    size: 100%;
    margin: 0px;
    }
    
strong
{
    font-weight: normal;
}

em
{
    font-style: normal;
    }
    
h1 strong
{
    font-weight: bold;
    }
    
h2 strong
{
    font-weight: bold;
    }

h3 strong
{
    font-weight: bold;
    }

h4 strong
{
    font-weight: bold;
    }    
p
{
    margin: 2px;
    text-align: justify;
    }
    
#articles
{
    width: 1000px;
    margin: auto;
    padding-bottom: 20px;
    box-shadow: 0px 3px 10px 2px rgba(0, 0, 0, 0.2);
    }
    
img
{
    margin: 5px;
    }
    
    
a
{
    text-decoration: none;
    color: #2F7182;
    }
    
p
{
    color: #626262;
    font-size: 17px;
    }
    
h1
{
    font-size: 25px;
    color: #2F7182;
    padding: 2px;
    margin: 2px;
    text-align: center;
    }
    
h2
{
    padding-top: 5px;
    margin-top: 0px;
    margin-bottom: 5px;
    }
    
h3
{
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 2px;
    margin-right: 2px;
    font-size: 25px;
    color: #2F7182;
    padding: 2px;
    text-align: center;
    }
    
h4
{
    font-size: 23px;
    color: #2F7182;
    margin: 5px 7px 5px 7px;
    text-align: center;
    }  
    
#actualites2 h4
{
    font-size: 25px;
    color: white;
    padding: 2px;
    margin: 2px;
    text-align: center;
    }    
    
.italique
{
    font-style: italic;
    color: white;
    }

.italique2
{
    font-style: italic;
	color: #626262;
    }
    
/*Navigation*/

nav
{
    display: inline-block;
    width: 700px;
    text-align: right;
    margin-top: 19px;
    margin-bottom: 13px;
    vertical-align: top;
    }

nav ul
{
    list-style-type: none;
    padding: 0px;
    margin: 0px;
    }
    
nav li
{
    display: inline-block;
    margin-right: 15px;
    font-family: leaguegothic, Arial;
    }
    
nav a
{
    font-size: 1.3em;
    color: #626262;
    text-decoration; none;
    }
    
nav a :hover
{
    font-weight: bold;
    }
    
/*header*/

#headercontenu
{
    width: 1000px;
    margin: auto;
    }
    
header
{
    background-color: #dcdcdc;
    width: 100%;
    position: fixed;
    left: 0px;
    top: 0px;
    z-index: 1000;
    box-shadow: 0px 3px 10px 2px rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid #2f7182;
    }
    
#titre
{
    display: inline-block;
    }
    
#bvidaillet
{
    font-size: 28px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 15px;
    margin-top: 2px;
    padding-top: 0px;
    padding-bottom: 0px;
    font-family: leaguegothic, Arial;
    }
    
#psylille
{
    padding-top: 0px;
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 15px;
    margin-bottom: 0px;
    padding-top: 0px;
    font-family: leaguegothic, Arial;
    text-align: right;
    font-size: 20px;
    color: #626262;
    text-decoration: italic;
    }
    
/*Articles, asides*/

#atcommercial
{
    background-color: #727272;
    height: 17px;
    color: white;
    padding: 1px;
    padding-top: 0px;
    font-size: 16px;
    }
    
#house
{
    width: 17px; 
    height: 17px;
    margin: 0px;
    padding: 1px;
    float: left;
    }
    
#imageadresse
{
    display: block;
    padding-top: 6px;
    padding-bottom: 3px;
    margin: auto;
    }
    
#premier_en_savoir_plus
{
    margin-top: 30px;
    }
    
.pcentre
{
    text-align: center;
    }
    
.exemplesdepubli
{
    list-style-type: none;
    padding: 0px;  
    width: 270px;
    height: 130px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    margin-top: -5px;
    }
    
.exemplesdepubli li
{
    display: inline-block;
    vertical-align: top;
    margin: 2px;
    padding: 0px;
    width: 80px;
}

.exemplesimg
{
    width: 80px;
    height: 120px;
}

.derniereparution
{
    width: 139px;
    height: 200px;
    }
 
#corpsdepage
{
    margin-top: 55px;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 8px;
    }
    
article, aside
{
    display: inline-block;
    }
    
#deuxarticles
{
    list-style-type: none;
    padding: 0px;
    padding-top: 5px;
    margin-bottom: 5px;
    margin-top: 0px;
    }
    
#deuxarticles li
{
    display: inline-block;
    vertical-align: top;
    }
    
#article1
{
    width: 645px; /*avant 512px */
    margin: 0px;
    }
    
#aside1
{
    width: 320px; /*avant 460px */
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    }
    
#troisarticles
{
    list-style-type: none;
    padding: 0px;
    margin-top: 10px;
    margin-bottom: 0px;
    }
    
.li
{
    margin-right: 15px;
    margin-left: 0px;
    width: 314px;
    }
    
#dernierparagraphe
{
    margin-right:0px;
    }
    
#troisarticles li
{
    display: inline-block;
    vertical-align: top;
    }
    
.ensavoirplus
{
    display: block;
    text-align: center;
    }
    
.paragraphe
{
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 1px solid #c7d5d9;
    border-bottom: 1px solid #c7d5d9;
    }

.lienmail
{
    color: #626262;
    font-size: 17px;
    }
    
#articles h1
{
    margin-top: 5px;
    margin-bottom: 5px;
    }
    
/*Actualit�s*/

footer
{
    width: 100%;
    padding: 0px;
    }
    
#actualites
{
    background-image: url("images/bg_footer.png");
    padding: 10px;
    padding-top: 5px;
    box-shadow: 0px 3px 10px 2px rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid #2f7182;
    }
    
#blockactu1 a, #blockactu2 a
{
    color: white;
    text-decoration: underline;
    }

#archives
{
    color: white;
    text-decoration: underline;
    }
    
#actualites p, h2
{
    font-family: "Georgia", Arial;
    font-size: 12px;
    color: white;
    margin-bottom: 8px;
}

#actualites h2
{
    margin-bottom: 2px;
    }
 
#actualites2
{
    margin: auto;
    width: 1000px;
    }
    
#blockactu1
{
    width: 490px;
    display: inline-block;
    vertical-align: top;
    margin-left: 4px;
    }
    
#blockactu2
{
    border-left: 1px solid #c7d5d9;
    width: 490px;
    display: inline-block;
    text-align: right;
    vertical-align: top;
    margin-right: 5px;
    }
    
#blockactu2 p
{
    text-align: right;
    }
    
/*Liens*/

#liens
{
    background-color: #005165;
    }
    
#liens p
{
    margin-bottom: 0px;
    color: #b4b4b4;
    font-size: 12px;
    text-align: center;
}

#liens a
{
    color: #b4b4b4;
    font-size: 12px;
    text-decoration: italic;
    font-weight: bold;
    text-align: center;
    }
    
/*Consultations page*/

#consulpsyclinique
{
    list-style-type: none;
    padding-left: 0px;
    margin-top: 0px;
    }

#consulpsyclinique li
{
    display: inline-block;
    vertical-align: top;
    }
 
#consulpsy
{
    width: 483px;  /* avant : 570px puis 483px */
    }
    
#consulclinique
{
    width: 483px; /* avant : 396px puis 483px */
    margin-left: 10px;
    }
    
/*Publications page*/

#publienpsy
{ 
    list-style-type: none;
    margin-top: 5px;
    padding-left: 30px;
    padding-right: 10px;
    }
 
 #publienpsy img
 {
    width: 141px;
    height: 200px;
    }
    
#publienpsy li
{
    display: inline-block;
    }
    
.publienclinique
{
    margin-top: 5px;
    list-style-type: none;
    padding-left: 30px;
    padding-right: 10px;
    }
    
.publienclinique img
 {
    width: 141px;
    height: 200px;
    }
    
.publienclinique li
{
    display: inline-block;
    }
    
/*Adresse page*/

#adresse
{
    width: 600px;
    text-align: center;
    display: block;
    margin-top: 13px;
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
    }
    
#map_canvas
{
    width: 600px;
    height: 600px;
    margin: auto;
    }
    
#page404
{
    width: 950px;
    }
    
#page404 h1, #page404 p 
{
    text-align: center;
    }
    
    
/* Navigation adapt�e */

@media (max-width: 539px) {

    .visuellement-cache
{
    display: inline-block;
    }
    
    p
    {
    text-align: left;
    }

    #liens p, #liens a
    {
    font-size: 14px;
    }
    
    #titre
    {
        width: 98%;
        }

    p
    {
    font-size: 20px;
    }
    
    nav
    {
    width: 1px;
    }
    
    #headercontenu
    {
    width: 100%;
    }
    
    #bvidaillet
    {
    display: block;
    text-align: center;
    margin-right: 0px;
    font-size: 31px;
    }
    
    #psylille
    {
    text-align: center;
    font-size: 21px;
    margin-right: 0px;
    }


    #articles
    {
        width: 100%;
        padding-bottom: 0px;
        }
        
    #article1
    {
    width: 100%;
    }

    header
    {
        position: absolute;
        }
        
    #actualites
    {
    display: none;
    }
    
    #aside1
    {
    width: 100vw;
    margin-bottom: 20px; 
    text-align: center;
    }
    
   
   #centered-element
   {
    width: 240px;
    margin-left: auto;
    margin-right: auto;
   }

    .li
    {
        width: 100%;
        margin-bottom: 10px; 
        margin-right: 0px;
        }
        
    #deuxarticles
    {
    margin-bottom: -15px;
    }
        
    #troisarticles
    {
    margin-top: 0px;
    }
    
    #troisarticles li
    {
        display: inline-block;
        }
        
    #dernierparagraphe .paragraphe p
    {
    text-align: center;
    }

    #house
    {
    display: none;
    }
    
    #consulpsy
     {
    width: 100%;
    }
    
    #consulclinique
    {
    width: 100%;
    margin-left: 0px;
    }
    
    #consulpsyclinique
    {
    margin-bottom: 0px;
    }
    
    .publienclinique
    {
    margin-bottom: 0px;
    }
    
    #publienpsy
    {
    width: 100%;
    margin: auto;
    padding: 0px;
    }
    
    #publienpsy li
    {
    width: 32%;
    }
    
    #publienpsy img
    {
    width: 100%;
    height: 100%;
    }
    
    .publienclinique
    {
    width: 100%;
    margin: auto;
    padding: 0px;
    }
    
    .publienclinique li
    {
    width: 32%;
    }
    
    .publienclinique img
    {
    width: 100%;
    height: 100%;
    }
    
    #map_canvas
    {
    width: 100%;
    height: 400px;
    margin-bottom: 10px;
    }
    
    #adresse
    {
    width: 100%;
    }
    
	/* Theming opened nav */	
	[id=navigation] ul {
		position: fixed;
		max-width: 200px;
		top: 1rem; left: 1rem;
		z-index: 1;
		
		/* translate with hardware acceleration */
		-webkit-transform: translateY(0) translateZ(0);
		-ms-transform: translateY(0) translateZ(0);
		        transform: translateY(0) translateZ(0);
		-webkit-transition: -webkit-transform .3s cubic-bezier(.72,.89,.28,1.39);
		        transition: transform .3s cubic-bezier(.72,.89,.28,1.39);


		/* global styles */
		margin: 0;
		padding: 0;
		list-style: none;
	}
    
    nav li
        {
    display: block;
    margin-right: 30px;
    }
    
    nav
       {
        text-align: left;
        }
        
    [id=navigation] li {
        margin-right: 0px;
        }
    
	[id=navigation] a {
		display: block;
		padding: 1rem;
		color: #fff;
		background: #114b69;
		text-decoration: none;
		margin-bottom: 2px;
        text-align: center;
	}
	[id=navigation] a:hover, 
	[id=navigation] a:focus,
	[id=navigation] a:active
	{
		background: #222;
	}
	
	/* Theming closed nav */
	[id=navigation].is-closed ul {
		-webkit-transform: translateX(-110%) translateZ(0);
		-ms-transform: translateX(-110%) translateZ(0);
		        transform: translateX(-110%) translateZ(0); 
	}

	/* Global styling nav button */	
	[id="toggle-nav"] {
		position: fixed;
			top: 4.3rem; right: .5rem;
		z-index: 1;
		height: 3rem; width: 3rem;
		background-color: transparent;
		padding: 0;
		outline: 0;
		border: 1px solid #2F7182;
		border-radius: 50%;
		cursor: pointer;
		-webkit-tap-highlight-color:rgba(0,0,0,0);
		-webkit-transition: -webkit-transform .2s;
		        transition: transform .2s;
	}
	
	[id="toggle-nav"]::after, [id="toggle-nav"]::before {
		content: "";
		position: absolute;
		top: 15%; right: 40%; bottom: 15%; left: 40%;
		background-color: #2F7182;
		border-radius: 10px;
		-webkit-transition: -webkit-transform .2s;
		        transition: transform .2s;
	}
	[id="toggle-nav"]::before {
		top: 40%; right: 15%; bottom: 40%; left: 15%;
	}
	
	
	/* Theming opened nav button */	
	[id=navigation]:not(.is-closed) [id="toggle-nav"],
	[id=navigation]:not(.is-closed) [id="toggle-nav"]::before {
		-webkit-transform: rotate(90deg) translateZ(0);
		-ms-transform: rotate(90deg) translateZ(0);
		        transform: rotate(90deg) translateZ(0);
	}

	/* Hide alternate text except from screen readers */
	.visually-hidden {
		position: absolute !important;
		clip: rect(1px, 1px, 1px, 1px);
		overflow: hidden;
		height: 1px;
		width: 1px;
	}
	
}