
/** HEIGHT DEPENDENCIES **/

/** Pour les écrans en 3 colonnes mais petit en hauteur (colonne en absolute), on diminue le margin sur le footer */
@media screen and (max-height: 750px) and (min-width: 1420px) {
    
    footer {
        margin-top: 150px;
    }
    
}

/** Passage à la colone fixe */
@media screen and (min-height: 750px) and (min-width: 1245px) {
    
    #sidebar-first {
        height: 100%;
        position: fixed;
    }
    footer, .contacts footer, .tarifs-et-reservation footer, .prices-and-reservation footer, .tarifs-et-reservation-hotel footer, .tarifs-et-reservation-gite footer, .hotel-prices-and-booking footer,  .holiday-cottage-prices-and-booking footer, .la-region footer, .the-region footer, .hotel footer {
        position: absolute;
        bottom: 15px;
        margin-bottom: 0;
        margin-top: 0;
    }
    
}
    /** On laisse moins de place au "SHARE" & "FACILITES" si barre fixe et écran très petit */
    @media screen and (min-height: 750px) and (max-height: 846px) {

        #share,
        #facilites {
            margin-top: 10px;
        }
        #sidebar-first h3 {
            margin-bottom: 5px;
        }

    }
    

/** WIDTH DEPENDENCIES **/

@media screen and (min-width: 1024px) {
    #bloc1, #bloc3, .interne #col1 {
        width: 64.5%;
    }
    .interne #bloc1, .interne #bloc3 {
        width: 100%;
    }
    #bloc2, #bloc4 {
        width: 35.5%;
    }
    .home #bloc2, .accueil #bloc2 {
        height: 575px;
    }
    .hotel footer {
        margin-top: 660px;
    }
	.la-region footer,
	.the-region footer {
		margin-top: 1060px;
	}
}
@media screen and (min-width: 1200px) {
    #bloc1, #bloc3, .interne #col1 {
        width: 63.3%;
    }
    .la-region footer,
    .the-region footer {
        margin-top: 690px;
    }
    .accueil #bloc2 {
        height: 588px;
    }
}
@media screen and (min-width: 1245px) and (max-width: 1420px) {
    #bloc1, #bloc3 {
        width: 64.5%;
        padding-left: 50px;
        padding-right: 50px;
    }
    .interne #bloc2 {
        width: 36.7%;
    }
    .contacts #bloc2, .tarifs-et-reservation #bloc2, .prices-and-reservation #bloc2, .tarifs-et-reservation-hotel #bloc2, .tarifs-et-reservation-gite #bloc2, .hotel-prices-and-booking #bloc2, .holiday-cottage-prices-and-booking #bloc2 {
        padding-left: 40px;
    }
    .la-region #bloc2,
    .the-region #bloc2 {
        height: 1550px;
    }
}

/** Passage aux trois colonnes **/
@media screen and (min-width: 1420px) {
    .interne #col1 {
        width: 58.3%;
    }
    #bloc1{
        width: 42%;
    }
    #bloc2 {
        width: 40.65%;
    }   
    #bloc2 {
        width: 21.5%;
    }   
    .interne #bloc2 {
        width: 41.7%;
        height: 1480px;
    }  
        .interne.mentions-legales #bloc2 {
            height: 1000px;
        }
        .interne.la-region #bloc2,
        .interne.the-region #bloc2 {
            height: 1550px;
        }   
    .contacts #bloc2, .tarifs-et-reservation #bloc2, .prices-and-reservation #bloc2, .tarifs-et-reservation-hotel #bloc2, .tarifs-et-reservation-gite #bloc2, .hotel-prices-and-booking #bloc2, .holiday-cottage-prices-and-booking #bloc2 {
        padding-left: 40px;
    }
    #bloc3 {
        width: 36.5%;
    }    
    #bloc4 {display: none;}
}
@media screen and (min-width: 1650px) {
    #bloc1 {
        width: 38%;
        padding-left: 50px;
    }
    #bloc2 {
        width: 25.5%;
/*        padding-left: 40px;*/
    } 
    .interne #bloc2 {
        width: 40.8%;
    }  
    #bloc3 {
        padding-left: 50px;
    }
}
@media screen and (min-width: 1750px) {
    #bloc1 {
        width: 36%;
    }
    #bloc2 {
        width: 32%;
/*        padding-left: 40px;*/
    }
    .interne #bloc2 {
        width: 41.7%;
    }
    #bloc3 {
        width: 32%;
    }
}

