/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

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

@font-face {
    font-family: 'CaviarDreamsBold';
    src: url('../fonts/Caviar_Dreams_Bold-webfont.eot');
    src: url('../fonts/Caviar_Dreams_Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Caviar_Dreams_Bold-webfont.woff') format('woff'),
         url('../fonts/Caviar_Dreams_Bold-webfont.ttf') format('truetype'),
         url('../fonts/Caviar_Dreams_Bold-webfont.svg#CaviarDreamsRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
	background-color: #473157;
	color: #FFFFFF;
    font-size: 1em;
    line-height: 1.4em;
}

::-moz-selection {
    background: #6F7679;
    text-shadow: none;
}

::selection {
    background: #6F7679;
    text-shadow: none;
}

img {
    vertical-align: middle;
}

 a
,a:hover
,a:active
,a:visited {
	color: #FFFFFF;
	text-decoration: none;
}

	 a:hover {
		background-color: transparent;

			-webkit-box-shadow: none;
			-moz-box-shadow: none;
		box-shadow: none;
		
			-moz-transition: background-color .4s ease-in, box-shadow .4s ease-in;
			-webkit-transition: background-color .4s ease-in, box-shadow .4s ease-in;
			-o-transition: background-color .4s ease-in, box-shadow .4s ease-in;
		transition: background-color .4s ease-in, box-shadow .4s ease-in;
	}
	 a:hover {
		background-color:#473157;
		background-color:rgba(204,180,222,.1);
			
			-webkit-box-shadow:0 0px 4px rgba( 0,0,0,0.4 );
			-moz-box-shadow:0 0px 4px rgba( 0,0,0,0.4 );
		box-shadow:0 0px 4px rgba( 0,0,0,0.4 );

			-moz-transition: background-color .15s, color .15s, box-shadow .15s, color .15s;
			-webkit-transition: background-color .15s, color .15s, box-shadow .15s, color .15s;
			-o-transition: background-color .15s, color .15s, box-shadow .15s, color .15s;
		transition: background-color .15s, color .15s, box-shadow .15s, color .15s;
	}

/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
	font: 14px/16px CaviarDreamsBold, Helvetica, Helvetica Neue, Arial;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

.main {
	margin: 0 auto;
}

#header {
	background: transparent url('../img/SGAconseils-logo.png') center top no-repeat;
	height: 274px;
}

.main article h1 {
    font-size: 3em;
}
.main article h2 {
	font-family: CaviarDreamsBold, Helvetica, Helvetica Neue, Arial;
	font-size: 1.8em;
	letter-spacing: 0.03em;
	margin: 0.4em 0 1em 0;
}


	.main article section {
		height: 10em;
	}
		 #formation
		,#consulting
		,#sous-traitance
		,#strategie-commerciale {
			background-color: transparent;
			background-position: left 27px;
			background-repeat: no-repeat;

				-webkit-box-shadow: none;
				-moz-box-shadow: none;
			box-shadow: none;
			
				-moz-transition: background-color .4s ease-in, box-shadow .4s ease-in;
				-webkit-transition: background-color .4s ease-in, box-shadow .4s ease-in;
				-o-transition: background-color .4s ease-in, box-shadow .4s ease-in;
			transition: background-color .4s ease-in, box-shadow .4s ease-in;
		}
		 #formation:hover
		,#consulting:hover
		,#sous-traitance:hover
		,#strategie-commerciale:hover {
			background-color:#473157;
			background-color:rgba(204,180,222,.1);
				
				-webkit-box-shadow:0 0px 4px rgba( 0,0,0,0.4 );
				-moz-box-shadow:0 0px 4px rgba( 0,0,0,0.4 );
			box-shadow:0 0px 4px rgba( 0,0,0,0.4 );

				-moz-transition: background-color .15s, color .15s, box-shadow .15s, color .15s;
				-webkit-transition: background-color .15s, color .15s, box-shadow .15s, color .15s;
				-o-transition: background-color .15s, color .15s, box-shadow .15s, color .15s;
			transition: background-color .15s, color .15s, box-shadow .15s, color .15s;
		}
		
		#resume {
			color: #756581;
			letter-spacing: 0.04em;
		}
		#address {
			font-size: 1.2em;
			letter-spacing: -0.04em;
		}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {
	.main {
		padding-top: 10px;
		width: 100%;
	}
	#header {
		margin-bottom: 0;
	}
	br {
		display: none;
	}
	.main article section {
        float: none;
		height: 7em;
		margin-right: 0px;
		padding-top: 2em;
    }
	
	
	#footer {
		margin: 1em 0;
	}
	
	#address {
		margin: 1em 0;
	}
	.adr-spacer {
		display: none;
		visibility: hidden;
	}
		.postal-code, .locality {
			display: inline;
		}


}

@media only screen and (min-width: 768px) {


/* ============
    WIDE: Main
   ============ */
	.main {
		width: 100%;
	}
	
	#header {
		margin-bottom: 25px;
	}
	
	.main article section {
		height: 9em;
		padding-left: 80px;
    }
	
		#formation {
			background-image: url('../img/formation.png');
		}
		#consulting {
			background-image: url('../img/consulting.png');
			background-position: left center;
		}
		#sous-traitance {
			background-image: url('../img/sous-traitance.png');
		}
		#strategie-commerciale {
			background-image: url('../img/strategie-commerciale.png');
		}
		
	br {
		display: none;
	}
	#footer {
		margin-top: 20px;
	}
		.activities {
			font-size: 1.3em;
		}
		.partner {
			font-size: 1.3em;
			margin-top: 10px;
		}
	
		#address {
			font-size: 1.2em;
			letter-spacing: -0.04em;
			margin: 43px 0 0 0px;
		}
		
			#address div {
				display: inline;
			}
			
				.adr-spacer {
					display: inline;
					visibility: visible;
				}
}

@media only screen and (min-width: 980px) {

/* ===============
    Maximal Width
   =============== */

	body {
		background: #473157 url('../img/SGAconseils-ligne.png') center bottom no-repeat;
	}
	.main {
		width: 1020px;
	}
	#header {
		/* idem plaquette margin: 102px auto 128px;*/
		margin: 10px auto 20px;
	}
	.main article {
		/* idem plaquette margin: 0 0 81px 48px;*/
		margin: 0 0 31px 48px;
	}
		.main article section {
			float: left;
			/* idem plaquette margin: 0 40px 60px 19px;*/
			margin: 0 40px 30px 19px;
		}
		.main article section p {
			letter-spacing:-0.03em;
		}
		
			#formation {
				margin-left: 55px;
				width: 30%;
			}
			#strategie-commerciale {
				margin-left: 55px;
				margin-top: 13px;
				width: 34%;
			}
			
			#consulting {
				margin-left: 50px;
				margin-right: 0;
				width: 36.3%;
			}
			
			#sous-traitance {
				margin-left: 14px;
				margin-right: 0;
				margin-top: 13px;
				width: 36%;
			}
	
	#footer {
		margin-bottom: 40px;
		margin-top: 20px;
	}
	
		#address {
			margin: 43px 0 0 108px;
		}
	.activities {
		float: left;
		font-size: 1.15em;
		margin-left: 220px;
	}
	.partner {
		float: left;
		font-size: 1em;
		margin-left: 90px;
		margin-top: 2px;
	}
	
	br {
		display: block;
	}
			
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .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; /* h5bp.com/t */
    }

    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;
    }
}