h1 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
    text-align: center;
    font-size: 2rem;
    line-height: 1.2em;
    font-weight: 700;
    color: #4C4B50;
    text-transform: uppercase;
}

h1 a {
    color: #333;
    font-size: 0.8em;
    left: 0;
    position: absolute;
    top: 2px;
    text-transform: initial;
}

h1 a:hover {
    text-decoration: underline;
}

h2 {
    clear: both;
    margin-bottom: 20px;
    margin-top: 50px;
    padding-bottom: 10px;
    position: relative;
    text-align: center;
    font-size: 1.6em;
    line-height: 1.2em;
    font-weight: 700;
    color: #4C4B50;
    text-transform: uppercase;
}

h3 {
    color: #007AB6;
    font-size: 2em;
    text-align: center;
}

h3 span {
    display: block;
    margin-top: 5px;
}

h4 {
    font-size: 1.4em;
    text-align: center;
    text-transform: uppercase;
}

.m-class {
    width: 50px;
    display: block;
    margin: 50px auto 0;
}

/* MENÚ DESTINOS */

#menuDest {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0 30px;
    padding: 0 10px;
}

#menuDest ul {
    color: #666;
    font-size: 1.4em;
    list-style-type: none;
    display: flex;
    padding: 0;
    background-color: #F8F9FA;
    border-radius: 25px;
    align-items: center;
}

#menuDest li {
    padding: 10px 30px;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 25px;
}

#menuDest li.select {
    background-color: #D9F0ED;
}

#menuDest li.select a {
    color: #4C4B50;
}

#menuDest li a {
    color: #4c4b5082;
}

#menuDest li:hover {
    background-color: #D9F0ED;
}

#menuDest li a:active {
    color: #4C4B50;
}

.button, #menuDest li:last-child a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #007AB6;
    margin-left: 30px;
    justify-content: center;
}

#menuDest li:last-child {
    display: none;
}

.button span {
    font-weight: bold;
    font-size: 1.4em;
}

.icon {
    margin-right: 8px;
}

.icon img {
    width: 24px;
    height: 24px;
}

/* TEXTO CONTENIDO */
.txtContenido {
    margin-bottom: 35px;
    padding: 0 10px;
}

.txtContenido p {
    font-size: 1.3em;
    line-height: 1.3em;
    margin-bottom: 15px;
}

.txtContenido h1 {
    text-align: initial;
    font-size: 36px;
    color: #000;
    text-transform: none;
    border-bottom: 0;
}

.txtContenido h2 {
    text-align: initial;
    font-size: 30px;
    color: #000;
    text-transform: none;
    border-bottom: 0;
}

.txtContenido h3 {
    color: #000;
    font-size: 24px;
    text-align: initial;
}

.txtContenido h4 {
    font-size: 18px;
    text-align: initial;
    text-transform: none;
}

/* GALERÍA */
#galleryFicha ul {
    margin-bottom: 50px;
}

#galleryFicha li {
    height: auto;
    float: left;
    position: relative;
    width: 25%;
}

#galleryFicha li img {
    outline: 2px solid #FFF;
    height: auto;
    width: 100%;
}

#galleryFicha li a {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

/* FOLLETOS LISTADO */
#folletoDesc ul {
    color: #666;
    font-size: 1.4em;
    margin-bottom: 50px;
    text-align: center;
    width: 100%;
}

#folletoDesc li {
    background: url(/front/javax.faces.resource/images/pdf-ico.png.xhtml) 20px 14px no-repeat;
    border: solid 1px #d6d6d6;
    border-radius: 5px;
    display: inline-block;
    margin: 0 5px 10px;
    padding: 20px 20px 20px 50px;
    position: relative;
}

#folletoDesc li:hover {
    background-color: #F7F7F7;
}

#folletoDesc a {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.verTodos {
    margin-bottom: 50px;
    margin-top: 2px;
    background: url(/front/javax.faces.resource/images/bg-points.gif.xhtml);
}

.verTodos a {
    display: block;
    width: 200px;
    background: #FFF;
    margin: 0 auto;
    text-align: center;
    font-size: 1.4em;
    line-height: 30px;
    color: #000;
}

/* LISTADO HOTELES */
#hotelGroup {
    width: 100%;
}

.hotel {
    background-color: #FFF;
    border: solid 1px #D6D6C6;
    box-sizing: border-box;
    float: left;
    margin-bottom: 20px;
    padding-bottom: 30px;
    position: relative;
    width: 30%;
    z-index: 0;
}

.hotel img {
    height: auto;
    margin-bottom: 20px;
    width: 100%;
}

.hotel:nth-child(2) {
    margin: 0 5%;
}

.hotel a {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

/* HOTELES */
#listHotels {
    margin-bottom: 30px;
    width: 100%;
}

#listHotels .fichaHotel {
    border: solid 1px #D6D6C6;
    box-sizing: border-box;
    display: inline-table;
    height: 460px;
    margin: 0 1% 20px;
    vertical-align: top;
    width: 31%;
}

#listHotels .fichaHotel .box .foto .foto-hotel {
    width: 100%;
}

#listHotels .box {
    display: table-cell;
    vertical-align: top;
}

#listHotels .box.vcenter {
    vertical-align: middle;
}

#listHotels .infoSinFoto {
    vertical-align: middle;
}

#listHotels .txt {
    margin: 20px auto;
    text-align: center;
    width: 95%;
}

#listHotels .txt h2 {
    border-bottom: none;
    margin-bottom: 10px;
    margin-top: 0;
    padding-bottom: 0;
    text-transform: inherit;
}

#listHotels .txt h2 b {
    display: block;
}

#listHotels .txt p {
    font-size: 1.3em;
    line-height: 1.3em;
    margin-bottom: 15px;
}

#listHotels .txt a {
    color: #000;
    font-size: 1.3em;
    line-height: 1.3em;
    text-decoration: underline;
}

#listHotels .txt a:hover {
    color: #666;
}

#listHotels .servicios {
    float: left;
    margin: 0 2.5% 20px;
    width: 95%;
}

#listHotels .servicios ul {
    width: 100%;
    text-align: left;
}

#listHotels .servicios li {
    background: url(/front/javax.faces.resource/images/hot-serv.png.xhtml) 0 0 / 50px no-repeat;
    border: solid 1px #d6d6d6;
    height: 50px;
    margin: 1px 0 2px 0;
    position: relative;
    width: 50px;
    display: inline-block;
}

#listHotels .servicios li p {
    bottom: 5px;
    position: absolute;
    text-align: center;
    width: 100%;
}

#listHotels .servicios li.srv-1 {
    background-position: 0 -8px;
}

#listHotels .servicios li.srv-2 {
    background-position: 0 -75px;
}

#listHotels .servicios li.srv-3 {
    background-position: 0 -145px;
}

#listHotels .servicios li.srv-4 {
    background-position: 0 -212px;
}

#listHotels .servicios li.srv-5 {
    background-position: 0 -280px;
}

#listHotels .servicios li.srv-6 {
    background-position: 0 -340px;
}

#listHotels .servicios li.srv-7 {
    background-position: 0 -410px;
}

#listHotels .servicios li.srv-8 {
    background-position: 0 -480px;
}

.descripcion-hoteles {
    font-size: 1.3em;
    overflow: auto;
    height: 6.2em;
}

.container {
    text-align: center;
}

.header-hoteles {
    margin: 20px 0;
}

.header-hoteles h1 {
    font-size: 24px;
    color: #333;
}

.hotel-selection {
    display: flex;
    justify-content: center;
    padding: 0 50px;
}

.hotel-card {
    margin: 10px;
    padding: 10px;
}

.hotel-card img {
    max-width: 300px;
    max-height: 200px;
    height: auto;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.hotel-card h3 {
    font-size: 20px;
    color: #4C4B50;
    margin: 10px 0;
}

.hotel-card h3 a {
    color: #4C4B50;
}

.hotel-card p {
    font-size: 16px;
    color: #666;
    margin: 5px 0;
}

@media (max-width: 768px) {
    .hotel-card {
        width: 45%;
    }

    .hotel-selection {
        padding: 0 20px;
    }

    .container {
        width: 100%;
    }

    #menuDest, #menuDest ul {
        flex-wrap: wrap;
    }

    #menuDest li {
        margin: 0;
        padding: 20px 0;
        width: calc(50% - 10px);
        text-align: center;
    }

    #menuDest li:last-child {
        display: list-item;
        padding: 15px 0;
    }

    .button {
        display: none;
    }

    #Hoteles {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .hotel-card {
        width: 100%;
        margin: 10px 0;
    }

    .hotel-selection {
        flex-wrap: wrap;
    }
}

/* FOOTER */
footer {
    clear: both;
}

/* RESPONSIVE */
@media screen and (min-width: 320px) and (max-width: 480px) {
    h1 a {
        top: -30px;
        width: 100%;
    }

    #menuDest li.botReservar {
        padding-left: 25px;
    }

    .txtContenido {
        clear: both;
    }

    .txtContenido p {
        text-align: left;
    }

    #galleryFicha li {
        width: 50%;
    }

    #folletoDesc li {
        margin: 0 0 5px;
        width: 100%;
        text-align: left;
        box-sizing: border-box;
    }

    .hotel {
        width: 100%;
    }

    .hotel:nth-child(2) {
        margin: 0 0 20px;
    }

    #listHotels .fichaHotel {
        height: auto;
        margin: 0 0 20px;
        width: 100%;
    }
}

@media screen and (min-width: 481px) and (max-width: 720px) {
    h3 {
        font-size: 1.5em;
        margin: 0 0 5px;
        text-align: center;
    }

    h4 {
        font-size: 1.2em;
    }

    #menuDest li {
        margin: 0 0.5% 5px;
        padding: 20px 0;
        width: 32%;
        box-sizing: border-box;
        float: left;
    }

    #menuDest li.botReservar {
        padding-left: 15px;
    }

    .txtContenido p {
        text-align: left;
    }

    #folletoDesc ul {
        float: left;
    }

    #folletoDesc li {
        box-sizing: border-box;
        float: left;
        margin: 0 0 5px;
        padding: 20px 0 20px 50px;
        text-align: left;
        width: 100%;
    }

    .hotel {
        padding-bottom: 15px;
        width: 32%;
    }

    .hotel:nth-child(2) {
        margin: 0 2%;
    }

    .hotel img {
        margin-bottom: 15px;
    }

    #listHotels .fichaHotel {
        height: 400px;
        margin: 0 0.5% 20px;
        width: 48.5%;
    }
}

@media screen and (min-width: 721px) and (max-width: 979px) {
    #menuDest li {
        margin: 0 2px;
    }

    #folletoDesc li {
        background-position: 10px 14px;
        margin: 0;
        padding: 20px 15px 20px 35px;
    }

    .hotel {
        width: 32%;
    }

    .hotel:nth-child(2) {
        margin: 0 2%;
    }
}

@media screen and (min-width: 980px) and (max-width: 1150px) {
}
