/*
style.css
---------

Site du Cabinet Bouan

----------------------------------------------------------
body
--header
----div bloclogo
------img logo
------ul banniere
----nav menuprinc
------ul onglets
--section
----nav menusec
------ul lateral
----article
--footer
----------------------------------------------------------
body a une taille maxi et est centré
*/

body
{
	color : #595959;
	max-width: 1300px;
	font-family: Arial, Verdana, sans-serif;
	margin-top : 0;
	margin-left : auto;
	margin-right : auto;
}

h1
{
    color : #376092 ;
    font-size: x-large;
    font-weight: normal;
    text-decoration: none;
}

h2
{
    color : #595959;
    font-size: large;
    font-weight: normal;
    text-decoration: underline;
}

/*em (élément important, qui apparait en général en italiquue) est utilisé pour les onglets abrégés*/
em
{
font-style: normal;
}

/*
----------------------------------------------------------
DIV BLOCLOGO contient l'image logo et la liste bannière
----------------------------------------------------------
Ces deux éléments sont alignés sur la meme ligne (inligne block) sans possiblilité de saut à la ligne  (nowrap)
*/

#bloclogo
{					   /*border : 1px solid red;*/
	white-space: nowrap;
	overflow: hidden; 
}

/*
----------------
Image logo
----------------
La taille du logo est adaptée en fonction de la largeur. La loi change pour les petites largeurs.
*/

#logo
{				 	   /*border : 1px solid green;*/
	display: inline-block;
	vertical-align: top;
	width : 50%;
	min-width : 450px;
	max-width : 600px;
	height: auto;
}

/*
----------------
Liste banniere
----------------
Liste d'images, qui sont animées individuellement.
*/

#banniere
{				 	   /*border : 1px solid green;*/
    	display: inline-block;
	vertical-align: top;
	width:1000px;
	background-color: #FFFFFF;
        height : 110px;
        position : relative;
        list-style-type : none;
        margin : 0;
	overflow: hidden;

}


#banniere li
{				  	  /*border : 1px solid yellow;*/
	animation-duration : 20s;
	animation-iteration-count : infinite;
	display: flex;
	flex-direction: row;
    	flex-wrap: nowrap;
	white-space: nowrap;
        position : absolute;
	height : 100px; 
	margin : 5px 0px 0px 5px !important;  /* Pour les navigateurs autre que IE */
	margin : 5px 0px 0px 5px ;  /* Pour IE  */

}

#techno1 {animation-name : defilement1;}
@keyframes defilement1 {
  0%{left:1000px;} 
  5%{left:10px;} 
  95%{left:10px;}
  100%{left:-200px;}}
#techno2 {animation-name : defilement2;}
@keyframes defilement2 {
  0%{left:1000px;} 
  20%{left:1000px;}
  25%{left:135px;}
  95%{left:135px;} 
  100%{left:-200px;}}
#techno3 {animation-name : defilement3;}
@keyframes defilement3 {
  0%{left:1000px;} 
  40%{left:1000px;}
  45%{left:260px;} 
  95%{left:260px;} 
  100%{left:-200px;}}
#techno4 {animation-name : defilement4;}
@keyframes defilement4 {
  0%{left:1000px;} 
  60%{left:1000px;}
  64%{left:400px;} 
  95%{left:400px;} 
  100%{left:-200px;}}
#techno5 {animation-name : defilement5;}
@keyframes defilement5 {
  0%{left:1000px;} 
  80%{left:1000px;}
  83%{left:575px;} 
  95%{left:575px;} 
  100%{left:-200px;}}

/*
----------------------------------------------------------------------
NAV MENUPRINC (barre d'onglets) contient la liste onglets
----------------------------------------------------------------------
*/

#menuprinc
{					   /*border : 1px solid red;*/
        border-bottom : 1px solid #9EA0A1;
}

#onglets
{					   /*border : 1px solid green;*/
    	
	display: flex;
	flex-direction: row;
    	flex-wrap: nowrap;
        position : relative;
        border : 1px solid transparent;
        padding : 0;
        list-style-type : none;
        margin: -2; 		/*permet d'aligner les onglets sur la ligne de base*/
}


#onglets li
{
    height : 25px; /* à modifier suivant la taille de la police pour centrer le texte dans l'onglet */
    background-color:  #f2f3f4 ;
    margin : 2px 2px 0 2px !important;  /* Pour les navigateurs autre que IE */
    margin : 1px 2px 0 2px;  /* Pour IE  */
    border : 1px solid #9EA0A1;
	white-space: nowrap;
}

#onglets li.active
{
    border-bottom: 1px solid #fff;
    background-color: #fff;
}

#onglets a
{
    display : block;
    color : #376092 ;
    text-decoration : none;
    padding : 4px;
}

#onglets a:hover
{
    border-bottom: 1px solid #fff;
    background-color : #fff;
}


/*
----------------------------------------------------------------------
SECTION contient nav menusec et articles
----------------------------------------------------------------------
*/

section 
{					   /*border : 1px solid red;*/
    background-color :#fff;
}

#menusec
{
	float: left;
    	width: 200px;
    margin-top: 20px;
					   /*border : 1px solid green;*/
}

#lateral
{
    	display: flex;
	flex-direction: column;
        padding : 0;
        list-style-type : none;
    	position : relative;
	top :0;       
	left : 0;
        margin-top : 0;
    	width: 200px;
					   /*border : 1px solid blue;*/
}

#lateral a
{
    display : block;
    color : #666;
    text-decoration : none;
    padding : 4px;
    overflow: hidden;
}

#lateral li
{
    height : 25px; /* à modifier suivant la taille de la police pour centrer le texte dans l'onglet */
    background-color:  #f2f3f4 ;
    margin : 2px 2px 0 2px !important;  /* Pour les navigateurs autre que IE */
    margin : 1px 2px 0 2px;  /* Pour IE  */
    border : 1px solid #9EA0A1;
}

.imgauche
{
	float:left;
}

.fiche
{
	width: 200px;
	height: auto;
}

video
{
	max-width: 100%;
	height: auto;
}

.imdroite
{
	float:right;
	max-width: 100%;
}

.carte
{
	width="400"
	max-width: 100%;
	height: auto;
}
article
{
    margin-left: 220px;
    text-align: justify;
    margin-right : 30px;
    max-width : 1000px;
    background-color :#fff;
					   /*border : 1px solid green;*/
}

#intro
{
    color : #376092;

	font-weight:bold;
text-align: center;
}

.nuage
{

    text-align: center;
    width : 400;
    max-width : 90%;
	height: auto;
}

footer
{					   /*border : 1px solid red;*/
position : relative;
text-align: center;

}
