﻿/* Définition des polices personnalisées ------------------------------------------------------*/

@font-face
{
    font-family: 'BallparkWeiner';
    src: url('polices/ballpark.eot');
    src: url('polices/ballpark.eot?#iefix') format('embedded-opentype'),
         url('polices/ballpark.woff') format('woff'),
         url('polices/ballpark.ttf') format('truetype'),
         url('polices/ballpark.svg#BallparkWeiner') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face
{
    font-family: 'Dayrom';
    src: url('polices/dayrom.eot');
    src: url('polices/dayrom.eot?#iefix') format('embedded-opentype'),
         url('polices/dayrom.woff') format('woff'),
         url('polices/dayrom.ttf') format('truetype'),
         url('polices/dayrom.svg#Dayrom') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Eléments principaux de la page ------------------------------------------------------------*/

body
{
    background: url('images/fond_montagne.jpg');
    font-family: 'Trebuchet MS', Arial, sans-serif;
    color: #181818;
}
.bouton
{ 
    background: url('images/fond_degraderouge.png') repeat-x;
    border: 1px solid #760001;
    border-radius: 5px;
    font-size: 1.2em;
    text-align: center;
    padding: 3px 8px 0px 8px;
    color: white;
    text-decoration: none;
}
#conteneur 
{
    display: flex;
	/*flex-direction: column;*/
	margin: auto;
	flex-wrap: wrap;
	/*justify-content: flex-start;*/
	

}
.element
{
	
	
}
.element4 em
{
	font-size: 1.5em;
	color: red;
}
.element:nth-child(1)
{
	width: 900px;
	/*background-color: blue;*/
}
.element:nth-child(2)
{
	width: 300px;
	/*background-color: green;*/
}
.element:nth-child(3)
{
	width: 800px;
	/*background-color: red;*/
}
.element:nth-child(4) 
{
	width: 400px;
	/*background-color: blue;*/
	font-family: 'Times New Roman', 'Trebuchet MS', 'Dayrom';
	font-size: 1.2em;
	
}
.element:nth-child(5)
{
	width: 300px;
	/*background-color: green;*/
}
.element:nth-child(6)
{
	width: 900px;
	/*background-color: red;*/
}
.element:nth-child(7)
{
	width: 900px;
	/*background-color: blue;*/
}
.element:nth-child(8)
{
	width: 300px;
	/*background-color: green;*/
}
.element:nth-child(9)
{
	width: 1200px;
	/*background-color: blue;*/
}
 #bloc_login
 {
    background: none;
	display: inline-block;
	width: 700px;
    margin: auto;
	vertical-align="top" 
	position: absolute;
    right: 100px;
    bottom: 0px;

}

 #bloc_identite
 {
	background-color: #706b64;
	box-shadow: 0px 2px 5px #1c1a19;
    border-radius: 5px;
    padding: 10px;
    color: white;
    font-size: 0.9em;
	text-align: justify;
	
	
	display: inline-block;
	width: 250px;
    margin: auto;
	
	vertical-align="top" 


}

#message
{
/*	background-color: #706b64;  */
    width: "700"px;
    margin: auto;
}

	
 }
#bloc_page
{
    width: 900px;
    margin: auto;
}
/* ------ présentation de la page du lotissement--------------------------------------------- */
#page_lotissement p
{
	display: inline-block;
	/*background-color: #706b64;*/
}
/*
#page_lotissement p aside
{
	display: inline-block;
    vertical-align: top;
    text-align: justify;
}
*/

/* rajout  blog css ------------------------------------------------------------------- */
.news  h3
{
    text-align:center;
    background-color:#2f22f2;
    color:white;
    font-size:0.9em;
    margin-bottom:0px;
}
.news p
{
    background-color:#dfec36;
	font-size:1.2em;
    margin-top:5px;
	width:100%;
}
.news a
{
    width:70%;
    margin:auto;
    text-decoration: none;
    color: blue;
}

/* fin  blog css ------------------------------------------------------------------- */


/* rajout media ------------------------------------------------------------*/
@media all and (max-width: 1024px)
{
    #bloc_page
		{
        width: auto;
		}
			#bloc_login
		{
		width: auto
		margin: auto;
		vertical-align="top"
	 
		}
		
}




/* rajout media ------------------------------------------------------------*/





section h1, footer h1, nav a
{
    font-family: Dayrom, serif;
    font-weight: normal;
    text-transform: uppercase;
}

/* Header --------------------------------------------------------------------------------*/

header
{
    background: url('images/separateur.png') repeat-x bottom;
}

#titre_principal  
{
background: none;
    display: inline-block;
	/*width: 300px;*/
	width: 1280px;
   /* margin: auto;*/
	border: 2px #760001 double;
	border-radius: 10px;
	padding: 5px;
	margin: 5px;
}
#me_connecter a
{
	position: absolute;
	right: 100px;
	top: 40px;
}
header h1
{
    font-family: 'BallparkWeiner', serif;
    font-size: 2.5em;
    font-weight: normal;
}

#logo, header h1
{
    display: inline-block;
    margin-bottom: 0px;
}

header h2
{
    font-family: Dayrom, serif;
    font-size: 1.1em;
    margin-top: 0px;
    font-weight: normal;
}

/* Navigation ------------------------------------------------------------------------------------------*/

nav
{
 background-color: #e9ff33;
    display: inline-block;
    width: 1280px;
    text-align: center;
	border: 2px #760001 double;
	border-radius: 10px;
}

nav ul
{
    list-style-type: none;
}

nav li
{
    display: inline-block;
    margin-right: 15px;
}

nav a
{
    font-size: 1.3em;
    color: #181818;
    padding-bottom: 3px;
    text-decoration: none;
}

nav a:hover
{
    color: #760001;
    border-bottom: 3px solid #760001;
}
@media all and (max-width: 1024px)
{
    nav
    {
        width: auto;
        text-align: left;
    }
    
    nav li
    {
        display: block;
        padding-left: 4px;
    }
    
    nav a
    {
        font-size: 1.1em;
    }
    
    nav a:hover
    {
        border-bottom: 0;
    }
}
/* Bannière ---------------------------------------------------------------------------------------*/

#banniere_image
{
 background-color: #e9fffa;
    margin-top: 15px;
    height: 200px;
    border-radius: 5px;
    background: url('images/ban_etang.jpg') no-repeat;
    position: relative;
    box-shadow: 0px 4px 4px #1c1a19;
    margin-bottom: 25px;
}
#banniere_lotissement
{
 background-color: #adc3d7;
    margin-top: 15px;
    height: 200px;
    border-radius: 5px;
    background: url('images/ban_lotissement.jpg') no-repeat;
    position: relative;
    box-shadow: 0px 4px 4px #1c1a19;
    margin-bottom: 25px;
}
#banniere_description
{
    position: absolute;
    top: 0;
    border-radius: 0px 0px 5px 5px;
    width: 99.5%;
    height: 33px;
    padding-top: 15px;
    padding-left: 4px;
    background-color: rgb(24,24,24); /* Pour les anciens navigateurs */
    background-color: rgba(24,24,24,0.8);
    color: white;
    font-size: 0.8em;
    
}
@media all and (max-width: 1024px)
{
    #banniere_image
    {
        display: none;
    }
}
.bouton_rouge
{
    display: inline-block;
    height: 25px;
    position: absolute;
    right: 5px;
    bottom: 5px;
    background: url('images/fond_degraderouge.png') repeat-x;
    border: 1px solid #760001;
    border-radius: 5px;
    font-size: 1.2em;
    text-align: center;
    padding: 3px 8px 0px 8px;
    color: white;
    text-decoration: none;
}

.bouton_rouge img
{
    border: 0;
}

/* Corps */

 article, aside
{
    display: inline-block;
    vertical-align: top;
    text-align: justify;
}

article
{
    width: 950px;
    margin-right: 15px;
}

.ico_categorie
{
    vertical-align: middle;
    margin-right: 8px;
}

article p
{
    font-size: 1.2em;
}

aside
{
    position: relative;
    width: 235px;
    background-color: #706b64;
    box-shadow: 0px 2px 5px #1c1a19;
    border-radius: 5px;
    padding: 10px;
    color: white;
    font-size: 0.9em;
}

#fleche_bulle
{
    position: absolute;
    top: 100px;
    left: -12px;
}

#photo_fanfoe
{
    text-align: center;
}

#photo_fanfoe img
{
    border: 1px solid #181818;
}

aside img
{
    margin-right: 5px;
}

/* Footer */
@media all and (max-width: 1024px)
{
    article, aside
    {
        width: auto;
        display: block;
        margin-bottom: 15px;
    }
    
    #fleche_bulle
    {
        display: none;
    }
    
    #photo_zozor img
    {
        width: 110px;
        float: right;
        margin-left: 15px;
    }
    
    aside p:last-child
    {
        text-align: center;
    }
}
footer
{
    background:  url('images/ico_top.png') no-repeat top center, url('images/separateur.png') repeat-x top, url('images/ombre.png') repeat-x top;
    padding-top: 25px;
}

footer p, footer ul
{
    font-size: 0.8em;
}

footer h1
{
    font-size: 1.1em;
}

#tweet, #mes_photos, #mes_amis
{
    display: inline-block;
    vertical-align: top;
}

#tweet
{
    width: 28%;
}

#mes_photos
{
    width: 35%;
}

#mes_amis
{
    width: 31%;
}

#mes_photos img
{
    border: 1px solid #181818;
    margin-right: 2px;
}

#mes_amis ul
{
    display: inline-block;
    vertical-align: top;
    margin-top: 0;
    width: 48%;
    list-style-image: url('images/ico_liensexterne.png');
    padding-left: 2px;
}

#mes_amis a
{
    text-decoration: none;
    color: #760001;
}


/* Correctifs pour les vieilles versions d'Internet Explorer -------------------------------------------------------*/

/* Pour activer un positionnement type inline-block sur les vieilles versions d'IE */

.old_ie #titre_principal, .old_ie #logo, .old_ie header h1, .old_ie nav, .old_ie nav li, .old_ie .bouton_rouge, .old_ie article, .old_ie aside, .old_ie #tweet, .old_ie #mes_photos, .old_ie #mes_amis, .old_ie #mes_amis ul
{
    display: inline;
    zoom: 1;
}

/* Quelques ajustements pour les vieilles versions d'IE ---------------------------------------------------------------*/

.old_ie section h1, .ie8 section h1
{
    font-size: 1.1em;
}

.old_ie footer div, .ie8 footer div
{
    margin-top: 30px;
    background: url('images/separateur.png') repeat-x top;
}

