@import url('/assets/css/variables.css');

/*Main section */

#home-page #mainsection .bookingimg {
    width: 116px;
    height: 84px;
    margin-bottom: 5px;
    margin-right: 15px;
    position: relative;
    background-size: cover;
}
#home-page #mainsection .bookingimg img{
    width: 100%;
}
#home-page #mainsection  .price {
    background-color: var(--green);
    padding: 0;
    margin: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: white;
    text-align: center;
    height: 25px;
}
#home-page #mainsection .price p {
    margin-top: 4px;
    font-size: 1.1em;
}
#home-page #mainsection td.encapsulatedtable{
    vertical-align: top;
}
#home-page #mainsection .encapsulatedtable table tbody tr td {
    padding: 3px;
}
#home-page #mainsection .encapsulatedtable .name {
    padding-right: 4%;
}
#home-page #mainsection #desktoptable {
    height: 30vh;
    margin: auto;
}
#home-page #mainsection #desktoptable hr{
    margin: 7px 0;
    border-top: 1px solid #c8c8c8;
}

#home-page #mainsection .encapsulatedtable table .address{
   font-size: 10px;
}
#home-page #mainsection #desktoptable .encapsulatedtable a:hover{
    text-decoration: none;
}

#home-page #histo-content{
    display:none;
    padding-top:20px;
}

#home-page #histo-reservations{
   margin-bottom:5px;
}

#home-page #histo-content td{
    padding:2px!important;
}

.sponsorship_banner{
    display: flex;
    width: 86.5%;
    padding: 15px;
}
.sponsorship_banner > div{
    background-color: #b7c9bc;
    color: black;
    padding: 5px 15px;
}
.sponsorship_banner h4{
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}
.sponsorship_banner p{
    font-weight: bold;
    font-style: italic;
    font-size: 16px;
}
.sponsorship_banner .sponsorship_banner_link{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background-color: #4d7c5e;
}
.sponsorship_banner .sponsorship_banner_link a{
    color: white;
    text-decoration: underline;
    font-weight: bold;
    text-underline-offset: 5px;
}

#desktopdiv .chat_banner {
    padding: 0 15px;
}
#desktopdiv .chat_banner img{
    width: 94.3%;
}

#home-page #mobilediv .chat_banner img {
    width: 99% !important;
}

#home-page #mobilediv .chat_banner {
    padding: 0 4%;
    height: 25vh;
}

#fc_frame{
    bottom:80px !important;
}

/** MOBILE VIEW DESIGN **/

/* Séjours */
#home-page #mobilediv #uppertable, #uppertable td, .second, .second td, #greytable, #greytable td{
    border: none;
}
#home-page #mobilediv section#green {
    background-color: var(--green-light);
}
#home-page #mobilediv section.padded {
    padding-left: 4%;
    padding-right: 4%;
}
#home-page #mobilediv table tr.large {
  font-size: 18px;
  text-transform: uppercase;
  line-height: 1.2;
  padding-top: 10px;
  color: white;
}
#home-page #mobilediv .table td {
    border-top: 0;
    color: white;
    line-height: 17px;
    padding: 1.2vh 0.8vh;
    margin-top: 2vh;
}
#home-page #mobilediv .table td.arrow > img {
    transform: translateY(35px);
}
#home-page #mobilediv .td-border {
    border-top: 1px solid rgba(255, 255, 255, 0.329);
}
#home-page #mobilediv table.second{
    margin:0;
}
#home-page #mobilediv table.second tbody tr:first-child td {
    padding-top: 3vh !important;
    margin-top: 2vh;
}
#home-page #mobilediv #uppertable{
    margin-bottom: 0;
}
#home-page #mobilediv #uppertable #buttons {
    margin-top: 3vh;
    margin-bottom: 3vh;
    padding-top: 3vh !important;
    padding-bottom: 3vh !important;
}
#home-page #mobilediv #uppertable #buttons button {
    background-color: rgba(255, 255, 255, 0);
    border: 1px solid white;
    height: 40px;
    border-radius: 0;
    text-transform: uppercase;
    padding: 0;
    width: 49%;
    outline: none;
}
#home-page #mobilediv #uppertable #buttons button.active {
    margin-right: -2px;
    background-color: white;
    color: var(--green);
}
#home-page #mobilediv #uppertable #buttons button:not(.active) {
    margin-left: -2px;
    color: white;
}
#home-page #mobilediv .second .arrow {
    vertical-align: middle !important;
    width: 4%;
}
#home-page #mobilediv #greytable #blackarrow {
    text-align: left;
    width: 12px;
}
#home-page #mobilediv .address {
    font-size: 14px;
}
#home-page #mobilediv .darkblue {
    background-color: var(--green);
    color: white;
    text-decoration: underline;
    margin: 0 4% 0 4%;
    height: 5vh !important;
    min-height: 35px;
    padding-top: 1vh;
}
#home-page #mobilediv .darkblue a {
    font-size: 14px;
    color: white;
    line-height: 30px;
}


/** Second table **/

#home-page #mobilediv #grey {
    margin-top: 2vh;
    background-color: rgba(43, 43, 43, 0.149);
    font-style: italic;
}

#home-page #mobilediv #grey table#greytable {
    margin-bottom: 0;
}

#home-page #mobilediv #grey table td {
    color: black !important;
    font-weight: bold;
}

#home-page #mobilediv #secondchild td{
    padding-top: 2vh !important;
}

#home-page #mobilediv #greytable tr:last-child td {
    padding-bottom: 0 !important;
}

#home-page #mobilediv .darkgrey {
    background-color: rgb(205, 202, 202);
    text-decoration: underline;
    margin: 0 4% 0 4%;
    height: 5vh !important;
    min-height: 35px;
    padding-top: 1vh;
    margin-bottom: 2vh;
}
#home-page #mobilediv .darkgrey a {
    font-size: 14px;
    line-height: 30px;
    color: rgb(73, 73, 73);
}

#home-page #mobilediv .sponsorship_banner {
    background-color: #b7c9bc;
    padding : 2vh 4% 0 4%;
}
#home-page #mobilediv .sponsorship_banner table{
   border: none;
   margin-bottom: 0;
}
#home-page #mobilediv .sponsorship_banner table td{
    color: black;
    padding: 0 0.8vh 1.2vh 0;
}
#home-page #mobilediv .sponsorship_banner p {
    font-size: 14px;
}
#home-page #mobilediv .darkgreen {
    background-color: #4d7c5e;
    text-decoration: underline;
    text-underline-offset: 3px;
    margin: 0 4% 0 4%;
    height: 5vh !important;
    min-height: 35px;
    padding-top: 1vh;
    margin-bottom: 20px;
}
#home-page #mobilediv .darkgreen a {
    font-size: 14px;
    line-height: 30px;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.notitalic {
    font-style: normal;
    margin-bottom: 2vh !important;
}
