/*
Theme Name: Home Story
Theme URI: http://www.home-story.ch/
Description: The 2017 theme for http://www.home-story.ch/
Author: ergopix sàrl
Version: 1.0
*/

*{
  outline: 0px;
  -webkit-font-smoothing: antialiased;
	-moz-font-smoothing: none;
  font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


#wp-admin-bar-customize, #wp-admin-bar-comments, #wp-admin-bar-new-content, #wp-admin-bar-wpseo-menu, #wp-admin-bar-itsec_admin_bar_menu{
	display: none;
}

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td {
	background:transparent;
	border:0;
	margin:0;
	padding:0;
	vertical-align:baseline;
}

.row {
    margin-right: -10px;
    margin-left: -10px;
    -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin-bottom: 20px;
}

.col-sm-4 {
    width: 25%;
}

.btn-group-vertical > .btn-group::after, .btn-group-vertical > .btn-group::before, .btn-toolbar::after, .btn-toolbar::before, .clearfix::after, .clearfix::before, .container-fluid::after, .container-fluid::before, .container::after, .container::before, .dl-horizontal dd::after, .dl-horizontal dd::before, .form-horizontal .form-group::after, .form-horizontal .form-group::before, .modal-footer::after, .modal-footer::before, .modal-header::after, .modal-header::before, .nav::after, .nav::before, .navbar-collapse::after, .navbar-collapse::before, .navbar-header::after, .navbar-header::before, .navbar::after, .navbar::before, .pager::after, .pager::before, .panel-body::after, .panel-body::before, .row::after, .row::before {
    display: table;
    content: " ";
}

.btn-group-vertical > .btn-group::after, .btn-toolbar::after, .clearfix::after, .container-fluid::after, .container::after, .dl-horizontal dd::after, .form-horizontal .form-group::after, .modal-footer::after, .modal-header::after, .nav::after, .navbar-collapse::after, .navbar-header::after, .navbar::after, .pager::after, .panel-body::after, .row::after {
    clear: both;
}

.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
    -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	float: left;
}

.img-responsive,
.thumbnail > img,
.thumbnail a > img,
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  display: block;
  max-width: 100%;
  height: auto;
}

body {
	line-height:1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-weight: 500;
}

strong{
	font-weight: 700;
}

.mapp-layout {
    margin: 0!important;
}

h1,h2,h3,h4,h5,h6 {
	clear:both;
	font-weight:normal;
}

em{
	font-style: italic;
}

table {
	border-collapse:collapse;
	border-spacing:0;
}

a img {
	border:none;
}

img.size-auto,img.size-full,img.size-large,img.size-medium,.attachment img {
	max-width:100%;
	height:auto;
}

.alignleft,img.alignleft {
	display:inline;
	float:left;
	margin-right:24px;
	margin-top:4px;
}

.alignright,img.alignright {
	display:inline;
	float:right;
	margin-left:24px;
	margin-top:4px;
}

.aligncenter,img.aligncenter {
	clear:both;
	display:block;
	margin-left:auto;
	margin-right:auto;
}

img.alignleft,img.alignright,img.aligncenter {
	margin-bottom:12px;
}

.wp-caption {
	background:#f1f1f1;
	line-height:18px;
	margin-bottom:20px;
	max-width:632px!important;
	padding:4px;
	text-align:center;
}

.wp-caption img {
	margin:5px 5px 0;
}

.wp-caption p.wp-caption-text {
	color:#888;
	font-size:12px;
	margin:5px;
}

* {
	font-size: 16px;
	font-family: Helvetica,Arial, sans-serif;
	letter-spacing: 0.5px;
}

a {
	text-decoration:none;
	outline:none;
}

a:hover {
	text-decoration:none;
}

ol,ul,li {
	list-style:none;
}

img {
	border:none;
	z-index: 1;
}

.left {
	float:left;
}

.right {
	float:right;
}

.clear {
	clear:both;
}

body {
	background:#b4d5f0;
}

#global {
	min-height:700px;
	margin:0 auto;
}

#show{
	width: 100%;
	overflow: hidden;
}

#show li{
	width: 100% !important;	
}

#show img{
	width: 100% !important;
}

.container{
	background-color: #fff;
}

#header, #footer, #contenu_page, #contenu{
	max-width:1240px;
	padding: 0 20px;
	margin: auto auto;
}

.home #contenu{
	max-width:1240px;
	padding: 0;
	background-color: transparent;
}

#header {
	padding:65px 20px 0 20px;
	position: relative;
	z-index:100;
	margin-bottom: 25px;
}

#contenu {
	padding-top: 45px;
	padding-bottom: 45px;
	min-height: 489px;
	color: #fff;
}

.logo{
	width: 220px;
}

.emblem{
	max-width: 120px;
}

.home #contenu{
	padding-top: 0;
}

*+html #contenu {
	margin-top: -10px;
}

*+html #contenu_page {
	margin-top: -10px;
}

.no_background{
	background-color: transparent!important;
}

#contenu #left {
	float:left;
	width:50%;
	background:#402315;
	position: relative;
	color: #D6D6D6;
}

#contenu #left a{
	color: #C2032F;
}

#contenu .annonce {
	width:calc(50% - 10px);
	float: left;
	box-sizing: border-box;
	margin-bottom: 20px;
	background-color: #B4D5F0;

}

#contenu .annonce:nth-child(odd){
	margin-right: 10px;
}

#contenu .annonce:nth-child(even){
	margin-left: 10px;
}

.annonce .text {
	width: calc(100% - 230px);
	min-height:230px;
	max-height:230px;
	float:left;
	padding: 20px;
    font-family: Helvetica,Arial, sans-serif;
	font-size:14px;
	line-height:150%;
	position: relative;
	box-sizing: border-box;
}

.annonce a.text{
	color: #571E00;
}

.annonce a.text:hover{
	color: #fff;
}


.annonce .text div, .annonce .text div font{
	line-height:150%;
	font-size:14px;
}

.annonce .img {
	float:right;
	padding:0;
	width:20%;
	height:160px;
	font-size:12px;
	text-transform:uppercase;}

#contenu #right {
	float:right;
	width:50%;
	min-height: 487px;
}

.plus a, .plus a:visited{
	bottom: 20px;
    color: #FFFFFF;
    font-family: Helvetica,Arial, sans-serif;
    font-size: 12px;
    font-style: italic;
    position: absolute;
    letter-spacing: 1px;
    right: 20px;
}

.plus a:hover{
	color:#c2032f;
}

.bold {
	font-weight: 500;
}

.pink {
	color:#c2032f;
}

p {
	margin:10px 0;
	line-height:16px;
}

h1 {
	margin-bottom: 15px;
}

h1 a, a h1{
	color: #ooo;
    font-family: Helvetica,Arial, sans-serif;
    font-size: 23px;
    line-height: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

h1	a:hover, a:hover h1{
	color:#fff;
}

#article {
	position:relative;
	min-height:480px;
	line-height:13px;
/* 	margin-bottom: 160px; */
}

#reserve_img {
	position:absolute;
	left:422px;
	top:8px;
	cursor: pointer;
}

.check {
	width:110px;
}

#footer {
	color:#b7aba3;
	letter-spacing:0.5px;
	font-family: Helvetica,Arial, sans-serif;
	text-align:center;
	margin-bottom: 10px;
	line-height: 140%;
	padding: 40px 0;
	background: url(images/emblem.svg) no-repeat;
	background-size:  120px 120px ;
	background-position: right 40px;
	border-right: 20px solid transparent;
}

#footer .gestion a{
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 0.1em;
	color: #571E00;
	font-weight: 500;
}

#footer p, #footer a{
	line-height: 140%;
	font-size: 16px;
	color: #571E00;
}

#footer a, #footer a:visited{
	color: #571E00;
}

#footer a:hover{
	color: #571E00;
	text-decoration: underline;
}

.slider_gallery {
	width:230px;
	height:230px;
	background-color:#dae6f2;
	float: left;
	position: relative;
	overflow: hidden;
}

.scrollable {
	position:relative;
	overflow:hidden;
	width:230px;
	height:230px;
	float:left;
}

.scrollable .items {
	width:20000em;
	position:absolute;
	clear:both;
	color:#FFF;
}

.items div {
	float:left;
	width:230px;
	position:relative;
}

.scrollable img {
	float:left;
	margin:0;
	width:230px;
	height:230px;
}

a.browse {
	display:block;
	width:15px;
	height:16px;
	float:left;
	cursor:pointer;
	font-size:12px;
}

a.right {
	background:url(images/next.png) no-repeat scroll 0 0 transparent;
	bottom:0;
	position:absolute;
	right:0;
	z-index:2;
}

a.left {
	bottom:0;
	position:absolute;
	z-index:2;
	background:url(images/prev.png) no-repeat;
	left:0;
}

#lang{
	display: none;
}

#left_content, #right_content{
	min-height: 489px;
	float: left;
}

#left_content h2, #article h2, #map_single h2{
	color: #571E00;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px!important;
    letter-spacing: 0.5px;

}

#map_single h2{
	margin-top:20px;
}

#left_content h1{
	color: #571E00;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

#left_content p, #left_content li, #left_content a, #left_content strong{
	font-size: 18px;
	letter-spacing: -0.01em;
}

#right_content{
	width: 50%;
	box-sizing: border-box;
	overflow-x: hidden;
}

#right_content img{
	width: 100%;
}

#left_content a, #left_content a:visited{
	color: #571E00;
	text-decoration: underline;
}

#left_content a:hover{
	color: #b4d5f0;
}

#left_content ul, #left_content li{
	list-style: circle outside none !important;
    padding-left: 5px;
}

#left_content ul{
	margin-left: 10px;
	margin-top: 10px;
}

#left_content li{
	margin-bottom: 5px;
}

#left_content{
	color:#571E00;
    padding-right: 20px;
    width: 50%;
    box-sizing: border-box;
    position: relative;
}

#left_content p, #left_content ul, #left_content ol, #left_content a{
	line-height: 140%;
	margin-bottom: 35px;
}

#contenu_page{
	min-height: 489px;
	padding-top: 45px;
	padding-bottom: 45px;
}

.post-edit-link{
	display: block;
    margin-bottom: 10px;
}

.uppercase{
	text-transform: normal;
	line-height: 150%;
}

.gallery_big{
	display: none;
	width:480px;
	height:325px;
	position: absolute;
	top:0px;
	left:0px;
}

.gallery_thumb{
	width:75px;
	height:75px;
	margin-right: 6px;
	margin-bottom: 6px;
	float: left;
	cursor: pointer;
}

.no_margin{
	margin-right: 0px!important;
}

#container_gallery{
	width:480px;
	height: 325px;
	position: relative;
	margin-bottom: 6px;
}

.title_single, #left_content h1{
	color: #b4d5f0;
    font-family: Helvetica,Arial, sans-serif;
    font-size: 45px;
    line-height: 120%;
    margin-bottom: 45px;
    text-transform: none;
}
	
.form_reservation{
	height: 151px !important;
    min-height: 151px !important;
    padding-top: 8px !important;
}

.booking_form{
	margin-top:30px;
}

#reservation_button{
	background: none repeat scroll 0 0 #C2032F;
    color: #FFFFFF;
    cursor: pointer;
    float: right;
    font-family: Helvetica,Arial, sans-serif;
    font-size: 11px;
    font-weight: 500;
    margin-top: 15px;
    padding: 5px 0;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    width: 16.6667%;
    display: none;
}

#reservation_form{
	background-color: #571E00;
    color: #FFFFFF;
    display: none;
    height: 139px;
    opacity: 0.8;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    padding: 10px;
    position: absolute;
    right: 0;
    top: 177px;
    width: 139px;
    z-index: 999!important;
}

*+html #reservation_form{
    top: 192px;
}

.checkin{
	margin-bottom: 4px;
}

.form_input input{
	width:91px;
}

.form_input{
	position: relative;
	border:none;
}

#reservation_submit{
	background-color: #C2032F;
    border: medium none;
    bottom: 0;
    color: #FFFFFF;
    cursor: pointer;
    padding: 3px 0;
    position: absolute;
    right: 0;
    width: 30px !important;
}

.hasDatepick{
	margin: 0 auto;
	width:284px;
}

#my_form_reservation{
	margin: 0 auto 20px;
	width:284px;
}

.reservation_form_label {
	background-color: #604538;
    float: left;
    font-size: 11px;
 	height: 22px;
    line-height: 24px;
    margin-bottom: 6px;
    padding-left: 5px;
    width: 79px;
    margin-right: 6px;
    font-family: Helvetica,Arial, sans-serif;
    font-size:11px!important;
}

.reservation_form_input{
	width:194px;
	float: left;
	margin-bottom: 6px;
}

.reservation_form_input input{
	width: 184px;
	border-radius: 0px 0px 0px 0px!important;
    border-style: none!important;
    border-width: 0px!important;
    padding:5px 5px !important;
    margin:0px!important;
    font-family: Helvetica,Arial, sans-serif;
    font-size:11px!important;
}

.reservation_form_input textarea{
	width: 184px;
	border-radius: 0px 0px 0px 0px!important;
    border-style: none!important;
    border-width: 0px!important;
    padding:5px 5px !important;
    margin:0px!important;
    font-family: Helvetica,Arial, sans-serif;
    font-size:11px!important;
}

.reservation_form_input select{
	width: 92px;
	border-radius: 0px 0px 0px 0px!important;
    border-style: none!important;
    border-width: 0px!important;
    height: 22px!important;
    margin:0px!important;
    font-family: Helvetica,Arial, sans-serif;
    font-size:11px!important;
}

.datepick-inline {
    margin-bottom: 6px!important;
}

.reservation_form_input .captachinput{
	width: 112px;
	margin-right: 6px!important;	
}

.reservation_form_input .captcha_img{
	height:22px;
}

.wpdev-help-message{
	margin-top:2px;
} 

.submit_my_form input{
	border-radius: 0 0 0 0 !important;
    border-style: none !important;
    border-width: 0 !important;
    float: right;
    font-family: Helvetica,Arial, sans-serif;
    font-size: 12px !important;
    margin: 0 !important;
    padding: 3px !important;
    width: 66px;
}

.submiting_content {
	border: 1px solid #C2032F!important;
    font-size: 14px!important;
    margin: 15px auto!important;
    padding: 6px!important;
    text-align: center!important;
    width: 270px!important;
    font-weight: normal!important;
    height: auto!important;
}

.datepick-inline .datepick-new-row .datepick .datepick-days-row .date_approved{
	background-color: #C2032F !important;
    color: #FFF !important;
}

.datepick .datepick-days-row .date2approve {
    background-color: #B7ABA3 !important;
    color: #FFFFFF !important;
}

.datepick .datepick-days-cell a {
    background-color: #F2F2F2!important;
    border: 1px solid #FFFFFF!important;
    color: #666666 !important;
    display: block!important;
    font-weight: 500;
}

.datepick .datepick-days-row .datepick-current-day a {
    border: 1px solid #FFF !important;
    color: #666666 !important;
    cursor: pointer;
}

.datepick .datepick-days-row .date_approved.timespartly a {
    color: #FFF !important;
}

h2 {
	color: #FFFFFF;
    float: none !important;
    font-family: Helvetica,Arial, sans-serif;
    font-size: 18px;
    line-height: 18px;
    margin-bottom: 4px !important;
    text-transform: uppercase;
}

.current_page_item a{
	color: #fff!important;
}

#language_selector{
	position: absolute;
    right: 15px;
    top: 120px;
}

#language_selector li{
	float: left;
	margin-left: 5px;
}

#language_selector li a{
	text-transform: uppercase;
	color:#fff;
}

#language_selector li a span{
	display: none;
}

#article table{
	border-collapse: collapse;
    margin-bottom: 25px;
    margin-top: 15px;
    width: 100%;
}

#article table tr{
	height: 25px;
}

#article table td{
	text-transform: uppercase;
	padding: 5px;
	font-size: 12px;
	border: 1px solid #b7aba3;
	letter-spacing: 0.5px;
	line-height: 150%;
}

#article table td:nth-child(even){
	background-color: #dae6f2 !important;
}

#article table td:nth-child(odd){
	background-color: #e8f0f7 !important;
}

#map_single .mapp-container{
	margin: 0px!important;
}

.left_content_full{
	width: 940px!important;
	float: none!important;
}

.margin_bottom_20{
	margin-bottom: 50px;
}


#article iframe {
    height: 261px;
    width: 464px;
}

.header-mobile{
	box-sizing: border-box;
	display: none;
	padding: 20px;
	background-color: #b4d5f0;
	position: fixed;
	top:0;
	left: 0;
	width: 100%;
	z-index: 100000;
}

#hamburger {
	display:block;
	width:42px;
	overflow:hidden;
	float:right;
}

#hamburger span {
	background:#571E00;
	display:block;
	height:2px;
	margin:9px 0;
	position:relative;
	-webkit-transform:rotate(0);
	transform:rotate(0);
	top:0;
	left:0;
	opacity:1;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter:alpha(opacity=100);
	-webkit-transition:none .5s ease;
	transition:none .5s ease;
	-webkit-transition-property:-webkit-transform,top,left,opacity;
	-webkit-transition-property:top,left,opacity,-webkit-transform;
	transition-property:top,left,opacity,-webkit-transform;
	transition-property:transform,top,left,opacity;
	transition-property:transform,top,left,opacity,-webkit-transform;
}

html.mm-opened #hamburger span.top-bar {
	-webkit-transform:rotate(45deg);
	transform:rotate(45deg);
	top:12px;
}

html.mm-opened #hamburger span.middle-bar {
	opacity:0;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter:alpha(opacity=0);
}

html.mm-opened #hamburger span.bottom-bar {
	-webkit-transform:rotate(-45deg);
	transform:rotate(-45deg);
	top:-10px;
}

html.mm-opened #hamburger span.middle-bar {
	left:-40px;
}

.mm-listview.mm-multiline > li .mm-listview > li.mm-multiline > a, .mm-listview.mm-multiline > li .mm-listview > li.mm-multiline > span, .mm-menu.mm-multiline .mm-listview > li > a, .mm-menu.mm-multiline .mm-listview > li > span{
	width: 100%;
}

/***********************************************************************************************
* Media Queries
*/
@media (max-width: 979px){
	#contenu .annonce{
		width: 100%;
		float: none;
		margin: 0 0px 20px 0 !important;
		overflow: hidden;
	}		
}
 
@media (max-width: 768px) {
	#contenu{
		min-height: 0;
		padding-top: 124px;
	}
	
	.home #contenu{
		padding-top: 144px;
	}
	
	.visible-xs{
		display: block;
	}
	.hidden-xs{
		display: none;
	}
	#left_content, #right_content, #contenu #right{
		float: none;
		padding-right: 0;
		width: 100%;
	}
	#footer{
		padding-bottom: 120px;
		background-position: center bottom;
		border-right: 0px solid transparent;
		border-bottom: 20px solid transparent;
	}
	.title_single, #left_content h1{
		font-size: 30px;
	}
	.container{
		padding-top: 43px;
	}
	#article table tr, #article table tr td{
		display: block;
		height: auto;
	}
}	
 
@media (max-width: 480px) {
	.annonce .slider_gallery{
		display: none;
	}
	.annonce .text{
		display: block;
		max-height: none;
		min-height: inherit;
		width: 100%;
	}
}