div.gites {
    height: calc(100vh - 100px);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
main ul.gites { 
	width: 100%;
	height: auto;
	float: none;
	clear: both;
	overflow: auto;
	list-style: none;
	margin: 0;
	padding: 5px;
}
main ul.gites li { 
	display: flex;
	width: 100%;
	height: 150px;
	max-height: 200px;
	float: none;
	margin: 0;
	padding: 10px 5px;
	clear: both;
	cursor: pointer;
    border-bottom: solid 1px rgba(0,0,0,0.05);
}
main ul.gites li:hover { 
	background: rgba(0,0,0,0.05);
}
main ul.gites li:last-child {
	border-bottom: none;
}
main il.gites div.images {
	width: 170px;
	height: 130px;
	float: none;
	clear: both;
	margin: 0;
	padding: 0;
}
main ul.gites img {
	max-width: 100%;
	width: auto;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border-radius: 7px;
}

ul.gites div.infos {
    width: calc(100% - 170px);
    padding: 0 20px;
    position: relative;
}
ul.gites p.titre {
    width: 100%;
    height: 25px;
    line-height: 25px;
    color: #34c2b6;
	font-size: 1.5em;
	margin: 0;
	padding: 0;
}
ul.gites p.ville {
    width: 100%;
    height: 20px;
    line-height: 20px;
	margin: 0;
	padding: 0;
}
ul.gites p.pratique {
    width: 100%;
    height: 17px;
    line-height: 17px;
	margin: 0;
	padding: 0;
}
ul.gites p.prix {
    width: 50%;
    height: auto;
    line-height: 20px;
    color: #34c2b6;
	margin: 0;
	padding: 0;
    text-align: right;
    position: absolute;
    bottom: 0;
    right: 20px;
    display: none;
}
ul.gites p.prix strong {
	font-size: 1.5em;
}
ul.gites p.reservation {
    width: 50%;
    height: 25px;
    line-height: 25px;
	margin: 0;
	padding: 0;
    position: absolute;
    bottom: 10px;
    left: 20px;
}
ul.gites p.reservation a {
    display: inline-block;
	background: #34c2b6;
	border: solid 1px #34c2b6;
    color: #fff;
    text-decoration: none;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 1.2em;
    transition: 0.5s;
}
ul.gites p.reservation a:hover {
	background: #fff;
    color: #34c2b6;
    transition: 0.5s;
}

.marker {
	transform: translate(-50%, calc(-100% - 10px));
	white-space: nowrap;
	font-size: 16px;
	padding: 5px 10px;
	font-weight: bold;
	text-align: center;
	background-color: #fff;
	box-shadow: 0 0 10px rgba(0,0,0, 0.3);
}
.marker::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	width: 0;
	height: 0;
	margin-left: -8px;
	border-left: 8px solid transparent;
	border-left: 8px solid transparent;
	border-top: 8px solid #fff;
}
.marker.is-active {
	background-color: #34c2b6;
	color: #fff;
	z-index: 300;
}
.marker.is-active::after {
	border-top-color: #34c2b6;
}

article {
    width: 100%;
    max-width: 1200px;
	height: auto;
	min-height: 100vh;
	margin: 0 auto;
}
article div.head {
    width: 100%;
	height: auto;
	margin: 10px 0;
}
article div.titre {
    width: 100%;
	height: auto;
	padding: 30px 0 0;
	margin: 0;
    position: relative;
}
article h1 {
    height: 30px;
	line-height: 30px;
	padding: 0;
	margin: 0;
    color: #34c2b6;
}
article div.titre p {
	height: 20px;
	line-height: 20px;
	padding: 0;
	margin: 0;
	font-size: 1.2em;
}
article div.titre select {
	position: absolute;
    top: 30px;
    right: 0;
    padding: 5px;
    font-size: 1.5em;
}

article div.photos {
	width: 100%;
	height: 400px;
	overflow: hidden;
	border-radius: 10px;
	position: relative;
	z-index: 100;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 5px;
}
article div.photos a.all {
	position: absolute; 
	bottom: 10px;
	left: 10px;
	background: #fff;
	padding: 10px 15px;
	border-radius: 5px;
	color: #333;
	text-decoration: none;
	font-size: 1.2em;
}
article div.photos a.all:hover {
	box-shadow: 0 0 6px 3px rgba(0,0,0,0.7);
	background: #34c2b6;
	color: #fff;
}
article div.photos a.all span {
	margin-right: 10px;
}
article div.photos div.main {
	width: 100%;
	height: 400px;
	float: none;
	clear: both;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	cursor: pointer;
}
article div.photos div.extras {
	display: grid;
    grid-template-columns: repeat(2, 1fr);
	height: auto;
    grid-gap: 5px;
}
article div.photos div.extras div.mini {
	width: 100%;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	cursor: pointer;
}

iframe {
    margin: 30px 0;
    width: 100%;
    height: calc(100vh - 100px);
}

form {
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 10px 50px;
    margin: 0;
}

div.gite {
    display: block;
}
div.presentation {
    width: 60%;
    float: left;
    margin: 15px 0;
}
div.presentation h2 {
    color: #34c2b6;
    margin: 0; 
    padding: 0;
    height: auto;
    line-height: 30px;
}
div.presentation ul.quick {
    width: auto;
    height: auto;
    list-style: none;
    display: block;
    margin: 0; 
    padding: 0;
    height: auto;
    line-height: 20px;
}
div.presentation ul.quick li {
    display: inline-block;
    margin: 0;
    padding: 0;
}
div.presentation ul.quick span {
    display: inline-block;
    margin: 0 5px;
}

div.important {
    width: calc(100% - 20px);
    margin: 10px 0;
    background: rgba(0,0,0, 0.05);
    border-radius: 5px;
    padding: 8px;
    display: grid;
    grid-template-columns: repeat(2, auto);
    vertical-align: top;
    opacity: 0.4;
    transition: 0.5s;
}
div.important:hover {
    opacity: 1;
    transition: 0.5s;
}
div.important div.icon {
    font-size: 3em;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}
div.important ul {
    list-style: none;
    margin: 0; 
    padding: 0;
}
div.important ul li {
    margin: 10px 0; 
    float: none; 
}
div.important ul li.horaires {
    float: left !important; 
    width: 50%;
}
div.important ul li.cb {
    font-size: 1.2em;
    text-align: center;
}
div.important ul li strong {
    display: block;
}

div.intro {
    padding: 30px 0;
    margin: 10px 0;
    border-top: solid 1px rgba(0,0,0, 0.05);
}

ul.arguments {
    list-style: none;
    margin: 10px 0; 
    padding: 30px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: solid 1px rgba(0,0,0, 0.05);
}
ul.arguments li {
    height: auto;
    line-height: 40px;
    vertical-align: top;
}
ul.arguments span {
    display: inline-block;
}
ul.arguments span.picto {
    width: 35px;
    vertical-align: top;
}
ul.arguments span.equipement {
    width: calc(100% - 40px);
}

iframe.gmap {
    width: 100%;
    height: 300px;
    border: none;
}

div.dispos {
    width: 40%;
    position: sticky;
    float: left;
    top: 100px;
    margin: 15px 0;
    display: block;
}
div.dispos p {
    text-align: center;
    color: #34c2b6;
}
div.dispos p.instructions {
    margin: 5px 0;
    color: #000;
}
div.dispos table {
    border: none;
}
div.dispos tr {
    height: 20px;
    line-height: 20px;
    border: none;
}
div.dispos table {
    border: none;
}
div.dispos tr {
    height: 20px;
    line-height: 20px;
    border: none;
}
div.dispos td {
    height: 20px;
    line-height: 20px;
    border: none;
    text-align: center;
    font-size: 0.7em;
}
div.dispos thead td {
    background: #34c2b6;
    background: #222;
    color: #fff;
    font-weight: 900;
}
/*
div.dispos tbody td.passed {
    background: #d7d7d7;
    opacity: 0.3;
}
*/

div.dispos tbody td.selected {
    background: #7bb577 !important;
    opacity:1 !important;
    cursor: pointer;
}

#passed {
    background:#C0C0C0;
    color:#000;
    cursor: default;
    opacity: 0.3;
}
#empty {
    background: #addbc7;
    background: #000;
    cursor: pointer;
}

#accept {
    background: #C0C0C0;
    color:#000;
    cursor: pointer;
    position: relative;
    opacity: 0.5;
}
#full {
    background: #C0C0C0;
    color:#000;
    cursor: pointer;
    opacity: 0.3;
}

#accept span {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    line-height: 30px;
    background: #fff;
    border: solid 1px rgba(0,0,0, 1);
    border-radius: 15px;
    display: none;
}
#accept:hover span {
    display: block;
}
#accept span:before,
.triangle.down{
    content: '';
    position: absolute;
    width: 0px;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid rgba(0,0,0, 1.0);
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

div.dispos tbody td.empty {
    background: #addbc7;
    background: #fff;
    cursor: pointer;
}

/*
div.dispos tbody td.full {
    background: #dbadad;
    background: #d7d7d7;
    opacity: 0.3;
}
*/
div.dispos a {
    display: block;
    width: 100%; 
    height: 20px;
    line-height: 20px;
    /*color: #222;*/
    text-decoration: none;
}

div#calendriers {
    width: 100%;
    display: block;
    position: relative;
}
div#calendrier {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    position: relative;
}
div#calendriers a.nav {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 0;
    z-index: 999;
    color: #34c2b6;
    color: #111;
}
div#calendriers a#left { left: 0; }
div#calendriers a#right { right: 0; }

form#booking {
    display: block;
    display: none;
}
form#show {
    width: 100%;
    clear: both;
    display: block;
    display: none;
}

div#invoice {
    margin: 10px;
}

table.invoice {
    font-size: 1.5em;
}
table.invoice tr:last-child {
    border-top: solid 1px rgba(0,0,0, 0.3);
}
table.invoice td.left {
    text-align: left;
    height: 30%;
    width: 50%;
}
table.invoice td.total {
    font-weight: bold;
}
table.invoice td.right {
    text-align: right;
    font-weight: bold;
}
table.invoice span.person {
    margin: 0 5px;
}

div#invoice form {
    background: transparent;
}
div#invoice input[type=submit] {
    background:#34c2b6;
    border: 0;
    color: #fff; 
    font-weight: bolder;
    padding: 5px 20px;
}

h3.ville {
    margin: 0;
    padding: 0 5px;
}
iframe.gmap {
    margin: 0;
}

@media screen and (max-width: 930px) {
    form {
        display: block;
        width: 100%;
        text-align: center;
    }
    form label {
        display: block;
        width: 100%;
    }
}
@media screen and (max-width: 900px) {
    div#calendrier {
        display: block;
    }
}
@media screen and (max-width: 864px) {
    div.gites {
        display: block;
        height: auto;
        margin: 0;
    }
    div.map {
        height: 50vh;
    }
}
@media screen and (max-width: 770px) {
    article div.photos div.main,
    article div.photos {
        height: 300px;
    }
    div.dispos, 
    div.presentation {
        width: 100%;
        clear: both; 
        float: none;
        position: relative;
        padding: 10px;
        top: 0;
    }
    div#calendrier {
        display: grid;
    }

}
@media screen and (max-width: 700px) {
    ul.arguments li {
        height: auto;
        line-height: auto;
    }
}
@media screen and (max-width: 600px) {
    article div.photos {
        display: block;
    }

}
@media screen and (max-width: 480px) {
    div#calendrier {
        display: block;
    }
}
@media screen and (max-width: 430px) {
    main ul.gites li {
        display: block;
        height: auto;
        max-height: none;
    }
    main ul.gites li div.images {
        width: 100%;
        height: auto;
    }
    main ul.gites img {
        width: 100%;
        height: auto;
    }
    ul.gites div.infos {
        width: 100%;
        padding: 5px;
    }
    ul.gites p.reservation,
    ul.gites p.pratique,
    ul.gites p.ville, 
    ul.gites p.titre {
        height: auto;
    }
    ul.gites p.prix,
    ul.gites p.reservation {
        width: 100%;
        position: relative;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 10px 0;
    }

    ul.arguments {
        display: block;
    }
}
@media screen and (max-width: 350px) {
    article div.titre select {
        position: relative;
        margin: 10px auto;
        width: 50%;
        top: 0;
        display: block;
    }
    article div.photos {
        height: 200px;
    }
    article div.photos a.all {
        font-size: 0.9em;
    }

    form {
        padding: 5px;
    }
    div#invoice input[type=submit] {
        width: 100%;
        display: block;
    }
}
@media screen and (max-width: 250px) {
    div.dispos td {
        font-size: 0.5em;
    }
}
@media screen and (max-width: 205px) {
    article div.photos a.all {
        display: none;
    }
}