/*
Theme Name:   Twenty Eleven Child
Theme URI:    http://example.com/twenty-twelve-child/
Description:  Twenty Eleven Child Theme
Author:		  Luc FONTAINE Lopia #ExpertWeb
Author URI:   https://www.lopia.fr
Template:     twentyeleven
Version:      1.2.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain:  twentyelevenchild
*/

/* image occupies the entire available width */
.logolion {
    display: block;
    margin: 20px auto;
    max-width: 10%;
}

#page {
    /*margin: 2em auto;*/
    margin: 0 auto;
    max-width: 1000px;
}

.entry-title {
    font-family: 'Cardo';
    src: url('/fonts/Cardo-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    color: #aaa !important;
    font-weight: bold;
    font-size: 30px;
}

.h1 {
    bottom: -4px;
    display: block;
    height: 4px;
    left: 0;
    position: absolute;
    /*width: 60px;*/
}

.entry-content h2,
.entry-content h3 {
    font-family: 'Cardo';
    src: url('/fonts/Cardo-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    /*color : #aaa;*/
    color: #7a7a7a !important;
    font-weight: bold;
}


/*under title separator*/
.wp-block-separator.has-background:not(.is-style-dots) {
    border-bottom: none;
    height: 5px;
}

/* header*/
#title-wrapper {
    padding: 30px 0 0 0;
}

#title-wrapper .title-dec-left {
    position: absolute;
    left: 200px;
    top: 45px;
    background: url(img/dec-left.png) no-repeat;
    width: 38px;
    height: 17px;
}

#title-wrapper .title-dec-right {
    position: absolute;
    right: 200px;
    top: 45px;
    background: url(img/dec-right.png) no-repeat;
    width: 38px;
    height: 17px;
}

#site-title-table {
    font-family: 'Cardo', serif;
    text-transform: uppercase;
    font-size: 30px;
    text-align: center;
    /*
    margin-right: 0px;
    padding: 0 0 0;
    padding-top: 0px;
    top: 30px;
    padding-top: 0px;
    position: absolute;*/
}

#site-title-table a {
    color: #111;
    font-size: 30px;
    font-weight: bold;
    line-height: 36px;
    text-decoration: none;
    font: inherit;
    vertical-align: baseline;
}

#site-description-table {
    display: block;
    margin: 5px 0 0 0;
    color: #aaa;
    letter-spacing: 1.5px;
    font-size: 14px;
}

#site-description {
    color: #7a7a7a;
    font-size: 14px;
    margin: 0 0 3.65625em 0;
}

/*------*/
#site-title {
    margin-right: 0px;
    padding: 0 17em 0;
    padding-top: 0px;
    top: 30px;
    padding-top: 0px;
    position: absolute;
}

#site-title a {
    color: #424242;
    font-size: 50px;
    font-size: 2.5em;
    font-weight: lighter;
}

#site-description {
    color: #7a7a7a;
    font-size: 14px;
    margin: 0 0 3.65625em 0;
}

/*------*/
#title-wrapper h1 span {
    display: block;
    margin: 5px 0 0 0;
    color: #aaa;
    letter-spacing: 1.5px;
    font-size: 12px;
}

#title-wrapper h2 span {
    display: block;
    margin: 5px 0 0 0;
    color: #aaa;
    letter-spacing: 1.5px;
    font-size: 12px;
}

#site-description {
    display: block;
    font-family: Montserrat, "h Neue", sans-serif;
    margin: 5px 0 0 0;
    color: #aaa;
    letter-spacing: 1.5px;
    font-size: 14px;
    margin: 5em 0 0 0;
}

.wd-slider a {
    pointer-events: none;
    /* Désactive les clics */
}

/*icon fb*/

.social-container {
    float: right;
}

.facebook-icon img {
    float: right;
    width: 24px;
    height: 24px;
    margin: 10px;
}

.facebook-icon:hover img {
    opacity: 0.5;
}

/*menu*/
#access {
    border-color: #a1b543 !important;
    border-bottom: 5px solid;
}

#access ul {
    font-size: 0.9em;
    /*16 px size menu*/
    margin: 0 -4em 0 -4em;
}

.bookbutton {
    /*width: inherit !important;/*buton width*/
    border: none;
    color: #fff;
    padding: 5px 10px 5px 10px;
    margin: 5px 0 20px 0px;
    font-size: 13px;
    font-weight: bold;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -o-border-radius: 30px;
    border-radius: 30px;
    /*width: 90%;/* !important;/*95*/
    width: 100%;
    /* 267px;/*95*/
}

.bookbutton:hover {
    cursor: pointer;
}

.button1,
.bookbutton {
    background: url(../../images/gradient1.png) #a1b543 bottom left repeat-x !important;
}

.button1:hover,
.bookbutton:hover {
    background: url(../../images/gradient1h.png) #a1b543 left bottom repeat-x !important;
}

.booknow {
    width: 270px;
    /*270px*/
    height: 100px;
    position: absolute;
    top: -360px;
    left: -55px;
    border-bottom: 9px solid;
    padding: 2%;
    z-index: 9999;
    background-color: #443429;
    border-color: #a1b543;
}

.sidebar .booknow {
    width: 88%;
    padding: 6%;
    margin: 0;
}

.select-wrapper {
    width: 100%;
    height: 26px;
    overflow: hidden;
    background: #fff;
    margin: 0 0 17px 0;
}

#col {
    column-count: 2;
    column-gap: 20px;
}

#col p {
    break-inside: avoid;
    margin: 0 0 20px;
}

#chambres {
    width: 270px;
    /*250*/
    height: 2em;
}


#datefrom,
#dateto {
    margin: 5px 0px 5px 0px;
    width: 8.8em;
    height: 2em;
    box-sizing: border-box;
}

/*jj/mm/aa mobile*/
.date-placeholder {
    display: inline;
}

.booking-form {
    width: 240px;
    padding: 1em;
    background: url(img/bgd.png) #311807;
}

.text-input,
.input-half {
    width: 230px;
}

#book_country,
#book_option {
    width: 238px;
    height: 3em;
}

/* message reservations*/
.alerte,
.message,
.premessage {
    color: crimson;
    font-size: 25px;
    width: 100%;
    text-align: center;
}

.alerte h2,
.message h2 {
    font-size: 30px;
}

.site-info {
    text-align: center;
}

/* General table styles */
.table-container {
    width: 100%;
    overflow-x: auto;
}

.responsive-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.responsive-table th,
.responsive-table td {
    padding-top: 0;
    padding-right: 10px;
    padding-bottom: 0px;
    padding-left: 10px;
    width: auto;
    text-align: center;
    vertical-align: baseline;
    vertical-align: middle;
}

#supplementary {
    background-color: #7a6353;
}

#site-generator {
    background: #311807;
    border-top: 0px solid #ddd;
    color: #fff;
    font-size: 12px;
    line-height: 2.2em;
    text-align: center;
    padding: 10px;
}

#site-generator a {
    color: #fff;
    font-weight: bold;
}

.widget a {
    color: #fff;
    /* font-weight: bold;*/
    text-decoration: none;
}

.widget ul {
    margin: 30px;
}

/* Image borders */
img[class*="align"],
img[class*="wp-image-"],
#content .gallery .gallery-icon img {
    /* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */
    border: 0 solid #ddd;
}

/* Responsive styles */
@media screen and (max-width: 1024px) {

    #title-wrapper .title-dec-left,
    #title-wrapper .title-dec-right {
        display: none;
    }

    #access a {
        color: #eee;
        display: block;
        line-height: 1.6em;
        padding: 0.8em 0.2em 0.8em 0.3em;
        text-decoration: none;
        text-align: center;
    }

    #access ul {
        margin: 0;
        padding: 0;
        list-style-type: none;
        /* no puces */
        font-size: 0.8em;
        /*12px*/
        /* margin: 0.5em -3em 0 -3em;*/
    }

}

/* Responsive styles */
@media screen and (max-width: 780px) {

    .logolion {
        max-width: 30%;
    }

    .singular .entry-title {
        font-size: 1.5em;
    }

    /*
    .premessage {
     display: none;
    }
*/
    /*important grid*/
    .reservationtable {
        display: grid !important;
        place-items: center !important;
    }

    .table-container {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #title-wrapper .title-dec-left,
    #title-wrapper .title-dec-right {
        display: none;
    }

    .responsive-table,
    .responsive-table thead,
    .responsive-table tbody,
    .responsive-table th,
    .responsive-table td,
    .responsive-table tr {
        display: block;
    }

    .responsive-table thead tr {
        display: none;
    }

    .responsive-table tr {
        margin-bottom: 0;
        padding-left: 0;
        /*10%*/
        padding-right: 0;
        /*10%*/
        width: 100%;
    }

    .responsive-table td {
        /*   padding-left: 0; */
        position: relative;
    }

    .booknow {
        text-align: center;
        position: relative !important;
        width: 90%;
        height: 30%;
        left: 5%;
        right: auto;
        margin: -5px;
        padding: 30px 12px 0px 12px;
        top: auto;
    }

    .booknow #datefrom,
    .booknow #dateto {
        /*width: 88%;*/
        width: 88%;
        color: black;
    }

    .bookbutton {
        font-size: 25px;
        width: 90% !important;
        /*95*/
    }

    #chambres {
        font-size: 19px;
        width: 88%;
        /*350px;*/
    }

    #datefrom,
    #dateto {
        font-size: 19px;
        width: 88%;
        /*100*/
    }

    #selectedroom,
    #book_name,
    #book_num_people,
    #book_email,
    #book_phone,
    #book_option {
        font-size: 20px;
        width: 100%;
    }

    #book_country,
    #book_option {
        font-size: 20px;
        /* width: 103%;*/
        width: 239px;
    }

    #access {
        background: #443429;
        height: 300px;
        /*500px*/
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }


    #access ul {
        margin: 0;
        padding: 0;
        list-style-type: none;
        /* no puces */
        font-size: 13px;
        margin: 0 -2em 0 -2em;
    }

    #access li {
        position: relative;
        justify-content: center;
        width: 100%;
        text-align: center;
    }

    #access a {
        display: block;
        line-height: 1.9em;
        padding: 0.4em 0em;
        padding: 0;
        /* padding: 0 1.2125em;*/
        text-decoration: none;
        text-align: center;
        font-size: 1.7em !important;
        /*font-size: 30px !important;*/
        color: #eee;
    }

}