/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

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

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}
/*
 * Allow only vertical resizing of textareas.
 */
textarea {
    resize: vertical;
}
/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */
.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}
/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/*========================GLOBAL==============================*/
@font-face {
    font-family: 'caviar_dreamsregular';
    src: url('../fonts/caviardreams-webfont.eot');
    src: url('../fonts/caviardreams-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/caviardreams-webfont.woff') format('woff'),
         url('../fonts/caviardreams-webfont.ttf') format('truetype'),
         url('../fonts/caviardreams-webfont.svg#caviar_dreamsregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
html {
    font-family:verdana,arial,sans-serif;
    font-size: 1em;
    margin:0;
    padding:0;
}
html.goillus {
    background-color: #4694c5;
}
html.gomake {
    background-color: #04090C;
}
.wrapper {
    width: 100%;
    height:100%;
    max-height:1900px;
    min-height: 950px;
}
/*========================INDEX==============================*/
.wrapper-index {
    margin:0;
    padding:0;
    background: url(../img/oeil.jpg) no-repeat center fixed; 
  -webkit-background-size: cover; /* pour Chrome et Safari */
  -moz-background-size: cover; /* pour Firefox */
  -o-background-size: cover; /* pour Opera */
  background-size: cover; /* version standardisée */
  /*min-height:1500px;*/
}
.header-index {
    height: 150px;
    background-color:rgba(83,83,103,.3);
    margin-bottom: 40px;
}
.header-index h1 {
    font-size: 670%;
    font-family: 'caviar_dreamsregular';
    margin: 0 auto 0 auto;
    color:white;
    text-align: center;
}
.wrapper-index nav h1, .bienvenue h1 {
    position:absolute;
	left: -5000px;
}
.text-index {
    width: 25%;
    padding:5px 2%;
    color:white;
    background-color:rgba(83,83,103,.3);
    border-radius: 0px 50px 50px 0px;
}
.text-index h1 {
    font-family: 'caviar_dreamsregular';
    margin-bottom: -15px;
}
.nav-index ul {
    position:absolute;
    left:-40px;
    margin-top: 30px;
}
.nav-index li{
	font-family: 'caviar_dreamsregular';
	background-color:rgba(83,83,103,.3);
	width:185px;
	height:60px;
	margin-bottom:23px;
	padding-top:10px;
	padding-left:30px;
	font-size:2.1em;
	-webkit-border-radius: 0px 50px 50px 0px;
	border-radius: 0px 50px 50px 0px;
	-webkit-transition:all 0.8s linear;
	-moz-transition:all 0.8s linear;
	-o-transition:all 0.8s linear;
	transition:all 0.8s linear;
}
.nav-index li:last-child {
	margin-bottom:0;
}
.nav-index li:hover {
	background-color:rgba(83,83,103,0.6);
	width:230px;
}
.nav-index li a {
	text-decoration: none;
	color:white;
	-webkit-transition:all 0.5s linear;
	-moz-transition:all 0.5s linear;
	-o-transition:all 0.5s linear;
	transition:all 0.5s linear;
}
.nav-index li a:visited {
	color:white;
}
.nav-index li a:hover {
	color:black;
	margin-left: 20px;
}
.bienvenue {
	float: right;
	width:237px;
	height:75px;
	font-family: 'Sacramento', cursive;
	font-size:2em;
	margin-right: 30px;
        margin-top: 170px;
	color:#FFFFFF;
}
/*========================MAKE UP HEADER==============================*/
.wrapper-makeup {
    /*background:url(../makeup/img/fond-makeup.png) no-repeat 50% 0;*/
    /*border-top: 1px solid #414141;*/
    background-color: #04090C;
    font-family: 'caviar_dreamsregular';
    color:#ffffff;
    max-width: 1400px;
    margin: 0 auto;
    padding:0;
}
.header-makeup {
    height:155px;
    margin-bottom: 30px;
}
.header-makeup img {
    float: left;
    width:150px;height: 150px;
}
.header-makeup h1 {
	font-family: 'caviar_dreamsregular';
	float:left;
	text-align:center;
	font-size:3.7em;
	margin-top: 32px;
	margin-left: 2%;
}
/*========================MAKE UP NAV==============================*/
.header-makeup ul {
	float:right;
	width: 50%;
	margin-top:55px;
	padding: 0;
	margin-right:0;
}
.header-makeup ul li {
	float:left;
	width:15%;
	height:33px;
	/*background-color:rgba(83,83,103,.9);*/
	margin-left:1%;
	font-size:0.9em;
	text-align:center;
	padding-top:15px;
	-webkit-transition:all 0.5s ease-in;
	   -moz-transition:all 0.5s ease-in;
	     -o-transition:all 0.5s ease-in;
	        transition:all 0.5s ease-in;
}
.header-makeup ul li:hover {
	/*background-color:rgba(255,255,255,.9);*/
}
.header-makeup ul li a {
    padding: 15px 10px;
	text-decoration:none;
	color:white;
	-webkit-transition:all 0.3s ease-in;
           -moz-transition:all 0.3s ease-in;
	     -o-transition:all 0.3s ease-in;
	        transition:all 0.3s ease-in;
}
.header-makeup ul li a:hover {
	color:rgba(255,255,255,.7);
}
/*========================MAKE UP BIO==============================*/
.section-index-makeup {
        margin-left:10%;
	color:#ffffff;
}
.section-index-makeup figure img {
    max-width:35%;
    float: left;
    margin-right: 3%;
}
.section-index-makeup p {
	width:57%;
	line-height: 1.65;
	font-size:1.05em;
	float: left;
	margin-top: -5px;
}
.flexslider-makeup-index {
    float: left;
    width:100%;
    color: #888;
}
.flexslider-makeup-index li img {
    float: left;
}
/*========================MAKE UP MAQUILLAGE==============================*/
.sectionx {
        width:100%;
	font-family: 'caviar_dreamsregular';
        margin-left:-3%;
	font-size: 0.95em;
}
.sectionx aside {
	width:28%;
	float:left;
	margin-left:5%;
}
.sectionx h1 {
	font-size:2.5em;
	text-align:center;
}
.sectionx p {
    color:#ffffff;
}

.flexslider-makeup-maquillage2 {
    float: left;
    width:100%;
    color: #888;
}
.bisoux p {
    margin-top: 25px;
}
.partenaire p {
    margin-left: 20%;
}
.partenaire a {
    color:white;
    text-decoration:none;
}
.partenaire a:hover {
    color:#777777;
}
/*========================MAKE UP ongles==============================*/
.section-ongles {
    float:right;
    margin-top: 200px;
    margin-right: 10%;  
}
/*========================MAKE UP contacts==============================*/
.section-contacts {
	font-family: 'caviar_dreamsregular';
        float: left;
        margin-left:5%;
	color:#ffffff;
	width: 50%;
}
.section-contacts fieldset {
	width:95%;
	height:450px;
}
.section-contacts h2 {
	font-size:1.6em;
	margin-bottom: 30px;
        color:white;
	width:350px;
}
.section-contacts label {
	display:block;
	margin: 5px;
}
.section-contacts input[type=text] {
	margin:5px;
	border: 2px solid black;
	width: 80%;
}
.section-contacts textarea {
	width: 80%;
	height: 120px;
	margin-left: 5px;
	border: 2px solid black;
}
.section-contacts input[type=submit] {
	display:block;
	margin-top: 20px;
	width:100px;
	font-family: 'caviar_dreamsregular';	
}
.devis p {
    float: left;
    width:30%;
    margin-left:7%;
    color:#ffffff;
    margin-top: 320px;
    font-size:1.5em;
}
.devisx p {
    margin-top: 250px;
    width:20%;
}
/*========================illus index global==============================*/
.wrapper-illus {
    background-color: #4694c5;
    color:#ffffff;
    min-height: 900px;
    max-width: 1400px;
    margin: 0 auto;
    font-family: 'caviar_dreamsregular';
    position: relative;
}
.wrapper-illus a {
    text-decoration: none;
    color:#fff;
}
.wrapper-illus a:hover {
    color: rgba(255,255,255,0.6);
}
.wrapper-illus .bio-illus {
    background:url('../illus/img/test1-footer.png') no-repeat -20px 100%;
    height:800px;
}
.wrapper-illus .bio-illus .texte-intro-illus {
    float:right;
    width:60%;
    margin-right: 10%;
    font-size: 1.2em;
}
.wrapper-illus .bio-illus .babouillus {
    width: 20%;
    float: left;
    margin-left: 5%;
    margin-top: 20px;
}
.papillon1 {
    position: absolute;
    top:700px;
    left:20%;
    height:200px;
    width: 200px;
}
.papillon2 {
    position: absolute;
    top:700px;
    right:20%;
    height:150px;
    width: 150px;
}
.papillon3 {
    position: absolute;
    top:700px;
    right:50%;
    height:110px;
    width: 110px;
}
.mouche {
    position: absolute;
    top:700px;
    right:10%;
    height:50px;
    width: 50px;
}
.coccinelle {
    position: absolute;
    top:10px;
    left:140px;
    height:50px;
    width: 50px;
}
.libellule {
    position: absolute;
    top:600px;
    right:20%;
    height:80px;
    width: 80px;
}
.header-illus {
     min-height:155px;
    display: block;
    margin-bottom: 20px;
}
.header-illus img{
    float: left;
    width: 150px;height: 150px;
}
.header-illus h1 {
	font-family: 'caviar_dreamsregular';
	float:left;
	text-align:center;
	margin: 30px 0 0 30px;
	font-size:4em;
        color:#ACC946;
}
.header-illus ul {
	float:right;
	margin:65px auto 0 auto;
	padding: 0;
	width: 50%;
}
.header-illus li {
	float:left;
	width:15%;
	height:26px;
	background-color:#ACC946;
	margin-left:3px;
	text-align:center;
	padding-top:7px;
	-webkit-border-radius: 10px 10px 10px 10px;
	border-radius: 10px 10px 10px 10px;
        -webkit-transition:all 0.5s ease-in;
	   -moz-transition:all 0.5s ease-in;
	     -o-transition:all 0.5s ease-in;
	        transition:all 0.5s ease-in;
}
.header-illus ul li:hover {
	background-color:#4694C5;
}
.header-illus li a {
	text-decoration:none;
	color:#fff;
        padding: 10px 12px;
        -webkit-transition:all 0.3s ease-in;
           -moz-transition:all 0.3s ease-in;
	     -o-transition:all 0.3s ease-in;
	        transition:all 0.3s ease-in;	
}
.header-illus li a:hover {
    color: #ACC946;
}
.little-market img {
    width: 150px;
}
.little-market {
    border-radius: 5px;
}
a.little-market:hover {
    background-color: rgba(255,255,255,0.6);
}
.facebook img {
    height:30px;
    padding-left: 20px;
}
/*========================illus LIVRES==============================*/
.flexslider-illus-livre1 {
    float: left;
    width:35%;
    margin-top: 20px;
    margin-left: 10%;
    display: inline-block;
}
.flexslider-illus-livre3 {
    float: left;
    width:35%;
    display: inline-block;
    margin-left: 10%;
    margin-top: 20px;
}
.flexslider-illus-livre4 {
    float: left;
    width:35%;
    margin-left: 10%;
     margin-top: 20px;
}
/*========================illus CADRES==============================*/
.flexslider-illus-cadre1 {
    float: left;
    width:60%;
    margin-left:20%;
    margin-top:40px;
}
.flexslider-illus-cadre2 {
    float: right;
    width:80%;
    margin-right:15%;
    margin-top:40px;
}
.sectiony .cadre-gauche, .sectiony .cadre-droite {
    float: left;
    width:50%;
}
.sectiony p {
    float:left;
    width: 35%;
    margin-left:10%;
    padding-right: 30%;
}
.sectiony p.text-livre {
    width: 35%;
    margin-left:10%;
    padding-right: 1%;
}
.sectiony p.changebabou {
    width: 70%;
    float: right;
    margin-right:  10%;
    padding-right: 1%;
}
.sectiony p.changebabou3 {
    width: 60%;
    float: left;
    margin-left:  20%;
    padding-right: 1%;
}
.sectiony p.changebabou2 {
    width: 63%;
    margin-left: 15%;
    padding-right: 1%;
}
/*========================illus PEINTURE==============================*/
.flexslider-illus-peinture1 {
    float: right;
    width:70%;
    margin-right: 15%;
    margin-top: 40px;
}
/*========================illus CONTACTS==============================*/
.section-illus-contacts {
        float: left;
        margin-left:10%;
	width:50%;
}
.section-illus-contacts fieldset {
	width:70%;
	height:450px;
}
.section-illus-contacts h2 {
	font-size:1.6em;
	margin-bottom: 30px;
	width:350px;
}
.section-illus-contacts label {
	display:block;
	margin: 15px 5px 0 0;
}
.section-illus-contacts input[type=text] {
	width: 100%;
	margin: 5px 5px 10px 0;
	border: none;
	color: #fff;
	background-color: #51abe6;
}
.section-illus-contacts textarea {
	width: 100%;
	height: 120px;
	margin: 5px 5px 10px 0;
	border: none;
	background-color: #51abe6;
	color: #fff;
}
.section-illus-contacts input[type=submit] {
	display:block;
	margin-top: 20px;
	width:50%;
	margin-left:25%;
	padding: 7px 0;
	font-family: 'caviar_dreamsregular';
	background-color: #ACC946;
	border: none;
	border-radius: 10px;
	color:#fff;
	font-size: 1.4em;
}
/* ==========================================================================
   FOOTER
   ========================================================================== */
#footer {
    background-color: #fff;
    color:#29333b;
    font-family: 'caviar_dreamsregular';
    display:inline-block;
    width: 100%;
}
#footer #colophon {
    max-width: 1400px;
    margin: 0 auto;
    height:120px;
    background-color: #fff;
}
#footer .nav-footer-illus {
    float: left;
    width:40%;
    margin-left: 10%;
}
#footer .nav-footer-make {
    float: right;
    width:40%;
    margin-right: 10%;
}
#footer #colophon p {
    margin-bottom: -5px;
    text-align: center;
    font-size: 1.4em;
}
#footer #colophon p b {
    margin-left: 5%;
    font-size: 0.9em;
}
#footer #colophon ul a {
    color:#29333b;
    text-decoration: none;
}
#footer #colophon ul a:hover {
    border-bottom: 1px solid black;
    color:black;
}
#footer #colophon ul li {
    float: left;
    margin-right:2%;
    padding-right: 2%;
    border-right: 1px #29333b solid;
}
#footer #colophon ul li:last-child {
    border: none;
}
/* ==========================================================================
   MEDIA QUERY
   ========================================================================== */
@media screen and (max-width:1220px) {
    .header-index h1 {
	font-size: 550%;
    }
    .header-index {
	height: 120px;
	margin-bottom: 35px;
    }
    .header-makeup ul li a {
	font-size: 80%;
    }
    .header-illus img{
	width: 150px;height: 150px;
    }
    .header-illus ul {
	float: left;
	width:90%;
	margin:10px auto 0 5%;

    }
    .header-illus h1 {
	margin: 30px 0 0 30px;
	font-size:3.5em;
    }
    #footer #colophon ul a {
	font-size: 0.9em;
    }
}

@media screen and (max-width:1080px) {
    .header-makeup ul {
	width: 94%;
	margin-left:6%;
	margin-top:10px;
    }
    .header-makeup ul li {
	width:15%;
	height:33px;
	font-size:1.05em;
    }
    .header-makeup img {
	width: 150px;
	height:150px;
    }
    .header-makeup h1 {
	font-size: 4em;
	margin-top:30px;
    }
     #footer #colophon ul a {
	font-size: 0.7em;
    }
    #footer #colophon p b {
    margin-left: 5%;
    font-size: 0.8em;
    }
}
@media screen and (max-width:860px) {
    .header-index h1 {
	font-size: 350%;
    }
    .header-index {
	height: 90px;
	margin-bottom: 30px;
    }
    .header-makeup h1 {
	font-size:4em;
    }
    .header-illus li a {
	font-size: 0.9em;
    }
     #footer #colophon ul a {
	font-size: 0.6em;
    }
    #footer #colophon p b {
	margin-left: 5%;
	font-size: 0.7em;
    }
    #footer #colophon p {
	font-size: 1.1em;
    }
    #footer #colophon ul li {
	margin-right:1%;
	padding-right: 1%;
	border: none;
    }
}
@media screen and (max-width:780px) {
    .header-illus li a {
	font-size: 0.8em;
    }
}	
@media (max-width: 700px) {
    .sectionx h1 {
	font-size:1.5em;
    }
    .flexslider-illus-cadre1 {
	float: left;
	width:80%;
	margin-left:10%;
	margin-top:17px;
    }
    .flexslider-illus-cadre2 {
	float: left;
	width:80%;
	margin-left:10%;
	margin-top:10px;
    }
    .sectiony p{
	width: 80%;
    }
    .sectiony .cadre-gauche, .sectiony .cadre-droite {
    float: left;
    width:100%;
}
    .sectiony p.changebabou {
	width: 80%;
	margin-left: 10%;
    }
    .sectiony p.changebabou2 {
	width: 80%;
	margin-left: 10%;
    }
    .sectiony p.text-livre {
	width: 80%;
    margin-left:10%;
    padding-right: 1%;
}
    .wrapper-illus .bio-illus {
	margin-top: 30px;
	font-size: 75%;
   }
    .wrapper-illus .bio-illus .texte-intro-illus {
	width: 80%;
    }
    .wrapper-illus .bio-illus .babouillus {
	width: 50%;
	float: left;
	margin-left: 25%;
	margin-top:5px;
    }
    .little-market img {
    width: 100px;
}
    .header-illus li a {
	font-size: 0.7em;
    }
    .flexslider-illus-livre1 {
	width:90%;
	margin-top: 10px;
	margin-left: 5%;
    }
    .flexslider-illus-livre3 {
	width:90%;
	margin-left: 5%;
	margin-top: 10px;
    }
    .flexslider-illus-livre4 {
	float: left;
	width:90%;
	margin-left: 5%;
	 margin-top: 10px;
    }
    .flexslider-illus-peinture1 {
	float: left;
	width:90%;
	margin-left: 5%;
	 margin-top: 20px;
    }
    .flexslider-makeup-evenement1{
	width: 80%;
	margin-left: 10%;
    }
    .flexslider-makeup-evenement2{
	width: 80%;
	margin-left: 10%;
    }
    .sectionx aside {
	width:90%;
	margin-left:5%;
    }
     .sectionx aside p {
	width: 80%;
	margin-left: 10%;
     }
     #footer #colophon p b {
	margin-left: 2%;
	font-size: 0.5em;
    }
}	
@media (max-width: 570px) {
    .header-index h1 {
	font-size: 250%;
    }
    .header-index {
	height: 60px;
	margin-bottom: 20px;
    }
    .text-index {
	width: 94%;
	background-color:rgba(83,83,103,.3);
	font-size: 75%;
    }
    .header-makeup ul {
	width: 94%;
	margin-left:6%;
	margin-top: 30px;
    }
    .header-makeup ul li {
	width:30%;
	height:33px;
	font-size:0.95em;
	margin-bottom: 5px;
    }
    .header-makeup h1 {
	font-size:3em;
	margin: 40px 0 0 30px;
    }
    .header-illus h1 {
	font-size: 3em;
	margin: 40px 0 0 30px;
    }
    .header-illus li {
	width:30%;
	margin-bottom: 5px;
    }
    .header-illus li a {
	font-size: 1em;
    }
    .section-index-makeup figure img {
    max-width:80%;
    margin-right: 10%;
    }
    .section-index-makeup p {
	min-height:220px;
	width:80%;
	margin-right: 10%;
	margin-top: 30px;
    }
    .wrapper-illus .bio-illus .babouillus {
	width: 80%;
	margin-left: 10%;
    }
    #colophon {
	position:relative;
    }
     #footer #colophon p b {
	position: absolute;
	top:45px;
	left:30%;
    }
    #footer .nav-footer-illus {
    float: left;
    width:80%;
    margin-left: 10%;
    }
    #footer .nav-footer-make {
    float: left;
    width:80%;
    margin-left: 10%;
    
}
}
@media (max-width: 410px) {
/*    .wrapper {*/
/*	min-height:1750px;*/
/*    }*/
    .header-index h1 {
	font-size: 190%;
    }
    .header-index {
	height: 45px;
	margin-bottom: 10px;
	
    }
    .header-makeup {
	height:170px;
    }
    .header-makeup img {
	width: 100px;height: 100px;
    }
    .header-makeup ul {
	margin-top: 10px;
    }
    .header-makeup ul li {
	font-size:1.05em;	
    }
    .header-makeup h1 {
	font-size:2.3em;
	margin-top:20px;
    }
    .nav-index li{
	font-family: 'caviar_dreamsregular';
	background-color:rgba(83,83,103,.8);
    }
    
    .flexslider {
	height:30%;
    }
    .sectionx p {
	margin-left: 5%;
    }
    .sectionx h1 {
	font-size:2.5em;
    }
    .section-contacts {
	width: 100%;
    }
    .devis p {
	width:90%;
	margin-left:5%;
	margin-top: 0px;
    }
    .header-illus img{
	width: 100px;height: 100px;
    }
    .header-illus h1 {
	font-size: 2.5em;
	margin: 20px 0 0 10px;
    }
    .header-illus li {
	margin-bottom: 5px;
    }
    .header-illus li a {
	font-size: 0.9em;
    }
    .section-illus-contacts {
        margin-left:5%;
	width:80%;
    }
    .devisx p {
	margin-top: 10px;
	width:90%;
    }
    .bienvenue {
        margin-top: 240px;
    }
      #footer #colophon p b {
	left:20%;
    }
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

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

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

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