/**
 * Styles pour l'impression d'une page
 */

/* On cache les elements inutiles a l'impression */
#toolbar,
.header-top,
.region-background,
#navigation,
#footer,
.breadcrumb,
.tabs-wrapper,
#sidebar-first .block,
#sidebar-first .block-bloc-contact-bien form,
.node-type-bien .lnk-smartvisite,
.node-type-bien .details a.btn,
.galleria-theme-classic .galleria-counter,
.galleria-image-nav,
.galleria-theme-classic .galleria-thumbnails-container,
#block-views-google-map-d-un-bien-block,
.dpe-ges li,
.order-div-result,
.block-advanced-search,
.bloc-useful-links,
.results-biens-footer-message,
.pager,
.result-residence .coord a.btn,
.result-residence .details-medias,
.inscription-alert-mail-content
{
    display: none;
}

/* On ecrase le style impression bootstrap qui affiche les liens afin de les rendre invisibles */
a[href]:after, a:link:after, a:visited:after {
	content: "" !important;
}
	
/* Suppression du padding top quand connecte a l'admin */
body {
    padding: 0 !important; 
}
	
/* On re-affiche certains elements necessaires a l'impression */
#sidebar-first .block-bloc-contact-bien,
.dpe-ges li.note-selected
{
    display: block;
}

/* Adaptation de l'affichage de certains elements */
#main, .container {
    width: 100%;
}

body.not-front .header-container .header-content {
	height: auto !important;
}

body.not-front #container, .row {
	margin: 0;
}

h1 { font-size: 18px !important; }
h2 { font-size: 16px !important; }
h3, h4, h5, h6 { font-size: 14px !important; }

header {
    margin-bottom: 15px;
}
#header #logo, #site-slogan {
	position: static;
	display: inline-block;	
}
#header #logo img {
	vertical-align: bottom;
	width: 150px;
	height: auto;
}
#site-slogan {
	padding: 0;
	font-size: 14px;
	letter-spacing: normal;
}

body.not-front #container {
	margin-top: 0 !important;
}

#main, .main-content {
	padding: 0 !important;
	width: 100% !important;
}

.node-type-bien h1 span {
    position: absolute;
    right: 0px;
    top: 0px;
}

.galleria {
	margin-bottom: 10px;
}

.galleria-container {
	/* Permet de supprimer la hauteur de .galleria-thumbnails-container sur IE */
	margin-bottom: -100px;
}

/* Resultats de Recherche */
.col-xlg-9, .col-lg-9, .col-md-9, .col-sm-12, .col-xs-12 {
	float: none;
	width: 100%;
	padding: 0;
}
.not-front.page-biens-recherche h1 {
	padding-left: 0;
}
.result-residence {
	padding: 5px;
	border: 1px solid #DBDCDD;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	page-break-inside: avoid; /* Permet d'eviter qu'une annonce soit coupee entre 2 pages */
}
#container #main .main-content article span.exclu {
	position: absolute;
	top: 15px;
	left: 10px;
	font-weight: bold;
}
#container #main .main-content article .info {
	width: 460px;
	padding: 5px;
	float: right;
	margin-right: 5px;
}
#container#main .main-content article .info h2 {
	padding-right: 0;
}
#container #main .main-content article .info p.prix-ref {
	font-size: 18px;
}
#container .coord {
	text-align: right;
	padding: 0;
	border-top: 1px dotted #DBDCDD;
	width: 450px;
	left: auto;
}
#container #main .main-content article .medias {
	width: 160px;
	margin: 8px 0 0 8px;
}
.result-residence .galleria-theme-classic {
	overflow: visible !important;
}
.result-residence .galleria-theme-classic.galleria-container {
	width: 160px !important;
	height: 120px !important;
	margin-bottom: 0 !important;	
}
.result-residence .galleria-theme-classic .galleria-stage {
	overflow: visible !important;
}
.result-residence .galleria-image img {
	width: 160px !important;
	height: 120px !important;
}

.col-lg-4, .col-md-4 {
	width: auto;
	padding: 0;
}

/* Bien */
.node-type-bien .details ul.caracteristiques {
	border: none;
}
.node-type-bien .details ul.caracteristiques li {
	float: left;
	border: none;
	background: none;
	padding: 0;
}
.node-type-bien .details ul.caracteristiques li div {
	padding: 0 5px;
}
.node-type-bien .details ul.caracteristiques li div:after {
	padding-left: 5px;
	content: " - ";
}
.node-type-bien .details ul.caracteristiques li:last-child div:after {
	padding-left: 0;
	content: "";
}

.node-type-bien .details h2 {
	margin: 15px 0 10px 0;
}
.node-type-bien .details p.description {
	padding-bottom: 5px;
	margin-bottom: 0;
}

.dpe-ges {
	margin: 10px 0 0 0;
}
.dpe, .ges {
	float: left;
	width: 50%;
}

#sidebar-first {
	float: none;
}
.col-xlg-3 {
	width: 100%;
	padding: 0;
}
#sidebar-first .sidebar-container {
	padding: 0;
}
#sidebar-first .region {
	padding: 0;
}
#sidebar-first .block-bloc-contact-bien {
	text-align: center;
	padding: 5px;
	border: 1px solid #DBDCDD;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}