/* STRUCTURE DE LA PAGE */

/*  <html>																								*/
/*  <body> image ou couleur de fond de la page entière */
/*  	<header class="container"> 	<nav> avec le menu (pas obligatoire) 								*/
/*  	<main class="container"> 	<section class="content row">	<div class="col ...">				*/
/*  	<footer class="container"> 	avec un include du pied de page										*/
/*  </body>																								*/
/*  </html>																								*/


/* EN GENERAL */
  	          
/* BASIQUE */		

html, body {}
        
body {background: linear-gradient(#6ca2d4, #FFFFFF);      /* atelier poterie fond bleu à blanc dégradé */
      background-repeat: no-repeat;}       

.container {width:100%; margin:auto}	     /* atelier poterie */
.page_atelier  {width:100%}                /* atelier poterie, page atelier, format mobile */
.page_contacts  {width:100%}                /* atelier poterie, page contacts, format mobile */

/* blocks */
.centre {float:none; margin-left:auto; margin-right:auto; display:block; text-align:center;} 
.centreg {float:none; margin-left:auto; margin-right:auto; display:block;}
.droite {float:right; display:block; text-align:center;} 
.gauche {float:left; display:block;}

/* texte */
.texte_centre {text-align:center;} 
.texte_just {text-align:justify;} 
.texte_droite {text-align:right;} 
.texte_gauche {text-align:left;} 

/* br */
.retour_g {clear:left;} 
.retour_d {clear:right;} 
.retour_all {clear:both;} 

.noir {color:black}
mark {color:black; font-weight:700; background: transparent ; }


/* BACKGROUND */

body>header {	background-color: transparent;}     /* transparent */
            
.content, .content * {background:transparent; }   /* fond transparent */

/* LAYOUT */

body>header,
body>footer,
.content {} /* 1rem */
                          
body {margin-top: 0px}


/* FONT SIZE */

html {line-height:20px;
  		font-family:sans-serif;
  		font-size: 17px;
  		color:#003399;                               /* atelier poterie bleu */
  		font-weight: 500;}
     
a {padding-top:0px;                               
   font-weight:500;
   text-decoration:none;
   color: #003399 }                                 /* atelier poterie bleu */
 
/* a:link {color:#663333;}   marron */

/* a:visited {color:#663333;}   marron */

.a_hover:hover { color: #000066; }              /* atelier poterie bleu foncé */
                      
                
.trait {width:99%;       /* atelier poterie trait sur quasi toute la largeur pour séparer du texte, bleu moyen page news */
        border-bottom: 1px solid #275589; 
        margin-bottom: 25px;
        margin-top: 10px; }
        
/* POLICES */

h5 { font-size:0.750rem; 	
		line-height: 0.83em ; }

h4 {font-size: 1rem;
    line-height: 1rem;}
          
h3 {font-size: 0.95rem;                     
    line-height: 1.4rem;}

h2 {font-size: 1rem;                       
    line-height: 1.4rem;}
    
h1 {font-size: 1.33rem;                     
    line-height: 1.8rem;}

.grand {padding-top:40px; padding-right: 100px; padding-bottom:50px; font-size:35px;}            /* atelier poterie */
     

   
/* HEADER ET MENUS  */
			
.atelier_menu_mobile {z-index:1; margin-left:20px; margin-top:2px; width:200px; float:left}      /* atelier poterie titre les formats mobiles uniquement */

.lien_menu_mobile { line-height:40px}           /* atelier poterie les formats mobiles seulement */
	
.logo_menu {float: right;                   /* atelier poterie les 3 traits horizontaux les formats mobiles */
			      height: 36px;
			      padding-right: 10px;
			      margin-top: 13px}

.page_active {	color: #000066;}   /* atelier poterie bleu foncé */	

.bouton_menu {                         /* atelier poterie format mobile */
	padding:5px 8px ;                   /* marges intérieures */
  margin:1px ;                       /* marges extérieures  */
  text-align: center;
	color:white;                        /* blanc */
	font-size: 16px;
	font-weight:700;  }


/* FOOTER */

body>footer {	font-size: 11px; }           /* atelier poterie */

.footer_position {margin-top:20px}    /* atelier poterie format mobile */


/* FORMAT MOBILE */

.mobile {}
.fixe {display: none}

.news {width:100%; margin-left: 0px;}     /* atelier poterie page news format mobile */

      /* atelier poterie, page news, fond date bleu moyen */   
.date_news {background-color: #275589; 
            border-radius:12px; 
            border:#0a2b51 1px solid; 
            width:60px; height:63px; 
            line-height:13px; 
            color:white; 
            text-align:center}

                
/* IMAGES */
           
.photo_index  {height:120px;                /* atelier poterie, les photos de la page index format mobile */
                border:1px solid black; 
                margin: 5px; 
                margin-top:10px} 
                
				
.banniere_bas {width:280px; margin:auto}    /* atelier poterie image du footer format mobile */                
    
.affiche {width: 95%}            /* atelier poterie, page news format mobile */
.affiche_onclick {width:80%}
 
iframe.plan  {display: block;                 /* atelier poterie plan google pour mobile, centré */        
              padding-top: 0px; 
              border: 1px solid blue;                  
              width: 290px;                           
			        height: 330px;    
              margin: auto;
 			        margin-top: 20px;
              margin-bottom: 0px; } 
                                                                      
 /* atelier poterie fondu enchainé les pages activites, les 3 diaporamas format mobile */
.slideshow { height: 290px; width: 285px; margin: auto}
.slideshow img { padding: 7px; border: 1px solid #ccc; background-color: #eee; width:265px; margin:auto; box-sizing: content-box}

/* atelier poterie fondu enchainé diaporama unique dans une page, pages atelier et réalisations, format mobile */
.slideshow_unique { width: 290px; margin: auto;}
.slideshow_unique img { padding: 7px; border: 1px solid #ccc; background-color: #eee; width:274px; box-sizing: content-box}

.format {background-color:yellow; }


/* MEDIA QUERIES */
@media all and (min-width:350px)           /* SAMSUNG URSULE A5 2017 */
{ 
  .logo_menu {height: 38px;                            /* atelier poterie les 3 traits horizontaux  format >350 */
			        padding-right: 10px;
			        margin-top: 11px}
              		
  .format {background-color:red; }   
     		        
}     /* FIN SAMSUNG URSULE A5 2017 */


@media all and (min-width:550px)           /* natels position horizontale */
{
 
.photo_index {height:180px;}        /* atelier poterie, les photos de la page index format >550 */

.banniere_bas {width:300px;}        /* atelier poterie image du footer format >550 */

.affiche {margin-top:20px}            /* atelier poterie, page news format >550 */

.format {background-color:green;} 

   		        
}        /* FIN natels position horizontale */


@media all and (min-width:768px)                /* FIXE DèS ICI, TABLETTES ET PLUS GRANDS*/
{ 

	.fixe {display: block}
	.mobile {display: none}

  .page_atelier   {width:75%}      /* atelier poterie, page atelier, format >768 */    
  .page_contacts  {width:80%}      /* atelier poterie, page contacts, format >768 */
  
/* 	.menu_mobile {display: none}
    .logo_menu {display: none}                       */
            
  .footer_position {position:fixed; left:0; right:0; bottom:8px;}        /* atelier poterie fixé en bas format >768 tablette verticale */
    
  .atelier  {width:60%; margin:auto} 				/* atelier poterie image titre,  formats >768, formats fixes uniquement */   			                                  
    
  .phrase {padding-top:60px ;}                 /* atelier poterie espace vide entre des textes, format >768, formats fixes uniquement */
  
            /* atelier poterie centrage vertical du texte dans une div de hauteur donnée dans la page pour les fixes seulement, page activités */
	.centre_vert {        
          position: relative;
          top: 50%;
          -webkit-transform: translateY(-50%);
          -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}

  .news {width:80%; margin: auto;}	         /* atelier poterie page news format >768 */
    
  .photo_index {height:150px; width:auto; margin: auto;}  /* atelier poterie, les photos de la page index format >768 */   
  			
  .banniere_bas {width:350px;}                          /* atelier poterie image du footer format >768 */
  
  .affiche {width: 100%; margin-top:0px}           /* atelier poterie, page news foramt >768 */   
  
   iframe.plan {width: 380px;                 /* atelier poterie plan google centré pour >768 */                
                height: 250px;
                margin: auto}  
                 
   /* atelier poterie fondu enchainé pages activites, les 3 diaporamas format >768 */
  .slideshow {width: 316px; margin: auto}
  .slideshow img { padding: 7px; border: 1px solid #ccc; background-color: #eee; width:300px; margin:auto; box-sizing: content-box}
                                                                  
  /* atelier poterie fondu enchainé diaporama unique dans une page format >768 */
  .slideshow_unique { width: 500px; margin: auto;}
  .slideshow_unique img { padding: 7px; border: 1px solid #ccc; background-color: #eee; width:484px; box-sizing: content-box}
                                                                                                                                                              
  .format {background-color:blue;  }
  
  
}        /* FIN TABLETTES ET PLUS GRANDS */

@media all and (min-width:810px)       /* NOTEBOOK horizontal pour le menu */
{

.bouton_menu {                    /* atelier poterie format >810 */
   font-size: 17px;
   padding:6px 12px ; }       /* marges intérieures */
                
.footer_position {position : inherit; margin:auto; margin-top:20px}        /* atelier poterie revenir à pas fixé en bas format >810 */
   
.atelier  {width:50%} 				/* atelier poterie image titre,  formats >810, formats fixes uniquement */   			                                  
   
.banniere_bas {width:400px;}      /* atelier poterie image du footer format >810 */

.format {background-color:grey;  }

}


@media all and (min-width:850px)       /* NOTEBOOK horizontal pour le menu */
{

.bouton_menu {               /* atelier poterie format >850 */
   font-size: 18px;
   padding:7px 18px ; }/* marges intérieures */
   
.atelier  {width:40%} 				/* atelier poterie image titre,  formats >850, formats fixes uniquement */   			                                  

.banniere_bas {width:500px;}           /* atelier poterie image du footer format >850 */

.format {background-color:white; }

}

@media all and (min-width:992px)       /* NOTEBOOK ET PLUS GRAND */
{
 
.page_atelier   {width:55%}      /* atelier poterie, page atelier, format >992 */    
.page_contacts  {width:70%}      /* atelier poterie, page contacts, format 992> */

.bouton_menu {             /* atelier poterie format >992 */
   font-size: 19px;
   padding:7px 22px ; }    /* marges intérieures */

.phrase {padding-top:60px ;}                /* atelier poterie espace vide entre des textes, format >992, formats fixes uniquement */  

.photo_index { height: 200px}                /* atelier poterie, page index format >992 */
 
iframe.plan {  width: 500px;                 /* plan google centré pour >992 */
			          height: 400px;
                margin: auto;
              }
                        
.format {background-color:pink;}

}    /* FIN NOTEBOOK ET PLUS GRAND */


@media all and (min-width:1200px)        /* GRANDS ECRANS ET MINI TABLETTE RETINA */
{    
 
  .container { width:90%; margin:auto;}
                         
  iframe.plan {  width: 500px;                 /* plan google centré pour >1200 */
  			          height: 300px;
                  margin: auto}
                    

  .format {background-color:brown; }  
               

}   /* FIN GRANDS ECRANS ET MINI TABLETTE RETINA */   
