/*
Theme Name: Flamingo
Theme URI: https://www.garajedoce.es  
Version: 1.0
Description: Tema hijo para Flamingo
Author: garajedoce
Author URI: https://www.garajedoce.com
Template: Divi
*/  


/*  GLOBAL  */

#et-top-navigation #top-menu-nav #top-menu > li.destacado.current-menu-item > a
{
    background-color: white;
}

.et_pb_image.imagen-fondo .et_pb_image_wrap 
{
    height: 100%;
}

.et_pb_image.imagen-fondo .et_pb_image_wrap img
{
    object-fit:cover;
}

#main-content ul > li
{
    list-style-image: url('https://www.flamingoenglishbar.com/wp-content/uploads/punto-flamingo.png');
    margin-top:15px;
}

.et_pb_blurb.alineado-izquierda .et_pb_blurb_content
{
    margin-left:0px !important;
} 

.color_alternativo
{
    color:#e380a8;
}

.telefono-localizacion
{
    color:#e380a8;
    font-weight: bold;
}

#main-header .logo_container
{
    display: flex;
    flex-direction: column;
}

#et-top-navigation #top-menu-nav #top-menu > li > a
{
    padding: 0px !important;
}   

#et-top-navigation #top-menu-nav #top-menu > li.destacado > a
{
    padding: 15px !important;
    background-color: #e380a8;
}

#et-top-navigation #top-menu-nav #top-menu > li 
{
    padding-left:22px;
}

#et-top-navigation #top-menu-nav #top-menu > li.borde-derecho
{
    border-right:1px solid white;
}

/*  Contact form    */
.dsm_contact_form_7 p
{
    padding:0px !important;
}

.dsm_contact_form_7 button.wpcf7-form-control.has-spinner 
{
    float:right;
}

/*  Carruseles de comida    */


.dsm_card_carousel_child > .et_pb_module_inner
{
    display: flex;
    flex-direction:column;
}

.dsm_card_carousel_child .dsm_card_wrapper
{
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dsm_card_carousel_child .dsm_card_wrapper .dsm_card_carousel_child_description
{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dsm_card_carousel_child .dsm_card_carousel_child_image_background
{
    transition: all 0.8s ease 0s !important;
}

.transponer-imagen img
{
    transition: all 0.5s ease 0s !important;
}

.dsm_card_carousel_child .alergenos
{
    display:flex;
    justify-content: flex-end;
    flex-wrap: wrap-reverse;
    gap:5px;
}

.dsm_card_carousel_child .alergenos br
{
    display: none;
}

.dsm_card_carousel_child .precio
{
    color:#e380a8;
    font-weight: bold;
    font-size:18px;
}

.dsm_card_carousel_child .datos
{
    
    display:flex;
    justify-content:space-between;
    margin-top:5px;
}

/*
        BLOG
*/


.el-dbe-blog-extra.full_width_background
{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:10px;
}

.el-dbe-blog-extra.full_width_background article
{
    margin:0px;
    min-height: 40vh;
}
.el-dbe-blog-extra.full_width_background article > .post-media
{
    display: flex;
    justify-content: center;
    padding:0px !important;
}
.el-dbe-blog-extra.full_width_background article > .post-media > .post-content
{
    width: 100%;
    padding: 50px !important;
    background-color: transparent;
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;

}
.el-dbe-blog-extra.full_width_background article > .post-media > .post-content .post-meta
{
    padding: 10px 30px 10px 30px;
    border: 1px solid #e380a8;
    text-transform: uppercase;

    position:relative;
    transform: unset;
    bottom:unset;
    left:unset;
    text-align: center;
    width: fit-content;
    margin: auto;

}

.el-dbe-blog-extra.full_width_background article > .post-media > .post-content .post-meta a
{
    color:white;
    font-family: "'EB Garamond',Georgia,'Times New Roman',serif";
    letter-spacing: 2px;
    font-size:1.2em;
}

.et_pb_post_extra.el_dbe_full_width_background .post-meta:after
{
    display: none;
}



.et_pb_blog_extras .el-dbe-post-categories li > a
{
    padding: 0px 25px 0px 25px !important;
}

.et_pb_blog_extras .el-dbe-post-categories li
{
    border-right:1px solid #d3bea5;
    margin:0px !important;
}

/*
*   Cocteles
*/
.cocteles .dsm_card_carousel_child .datos
{
    flex-direction: column;
}
.cocteles .dsm_card_carousel_child .ingredientes > ul
{
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 5px;
    padding: 0px;
    margin-top: 15px;
}
.cocteles .dsm_card_carousel_child .ingredientes > ul > li

{
    border: 1px solid;
    padding: 5px;
    color: #e380a8;
    list-style-image: none !important;
    margin:0px !important;

}



/*.swiper-container-rtl .dsm_card_carousel_child .et_pb_text_align_left .datos,
.swiper-container-rtl .dsm_card_carousel_child .et_pb_text_align_left .datos .alergenos
{
    flex-direction: row-reverse;
}*/

/*
    Listado etiquetas
*/

.listado-etiquetas ul
{
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    gap: 30px;
    margin-top:35px;
}

.listado-etiquetas ul > li
{
    background-color: #e380a8;
    padding: 5px 15px 5px 15px;
}

.listado-etiquetas ul > li:nth-child(odd)
{
    transform: rotate(5deg);
}

.listado-etiquetas ul > li:nth-child(even)
{
    transform: rotate(-5deg);
}

/*
    Puntos titulos
*/

.rombos h1:before,
.rombos h2:before,
.rombos h3:before,
.rombos p:before



{
    background-image: url('https://www.flamingoenglishbar.com/wp-content/uploads/punto-flamingo.png');
    background-repeat: no-repeat;
    background-position-y: center;
    content:'\a0\a0\a0';
}

.rombos h1:after,
.rombos h2:after,
.rombos h3:after,
.rombos p:after

{
    background-image: url('https://www.flamingoenglishbar.com/wp-content/uploads/punto-flamingo.png');
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x:right;
    content:'\a0\a0\a0';
}

/*
    FOOTER
*/
.direcciones ul
{
    margin:20px 10px 20px 10px;
}

.direcciones ul > li
{
    margin-top:20px;
    list-style-image: url('/wp-content/uploads/ubicacion.png');
}

.menu-footer ul > li
{
    margin-top:10px;
    list-style-image: url('/wp-content/uploads/punto-flamingo.png');
}

.single-post h2, .single-post h3{
	margin-top:50px !important;
}

.et_mobile_menu li a{
	font-size: 24px !important;
}

.et_social_inline{
	margin-top:30px !important;
}

/*
 * MÓVIL
 */

 @media (max-width: 768px)
 {

    .menu-carta > div
    {
        display: flex;
        flex-wrap: wrap;
        row-gap: 15px;
    }

    .el-dbe-blog-extra.full_width_background article > .post-media > .post-content
    {
        flex-direction: column-reverse;
        justify-content: center;
    }
    .el-dbe-blog-extra.full_width_background article > .post-media > .post-content .post-meta
    {
        position:relative;
        transform: unset;
        bottom:unset;
        left:unset;
        text-align: center;
        width: fit-content;
        margin: auto;

    }


    .el-dbe-blog-extra.full_width_background
    {
        display:grid;
        grid-template-columns: 1fr;
        gap:10px;
    }

    .columna-reversa-mobile
    {
        display: flex;
        flex-direction: column-reverse;
        gap:20px;
    }

    /*  Carruseles de comida    */

    .carrusel-comida
    {
        pointer-events: none;
    }

    .carrusel-comida .item-menu.vacio
    {
        display: none;
    }


    .carrusel-comida .swiper-wrapper
    {
        display: grid;
        gap: 30px;
        grid-template-columns: 1fr;
        height: auto !important;
    }
    .carrusel-comida .dsm_card_carousel_child,
    .dsm_card_carousel_equal_height .dsm_card_carousel_wrapper .dsm_card_carousel_child:not(.dsm_card_carousel_child_vb_outer_wrapper),
     .dsm_card_carousel_equal_height .dsm_card_carousel_wrapper .swiper-slide:not(.dsm_card_carousel_child_vb_outer_wrapper), 
     .et_pb_equal_columns .dsm_card_carousel_wrapper .dsm_card_carousel_child:not(.dsm_card_carousel_child_vb_outer_wrapper), 
     .et_pb_equal_columns .dsm_card_carousel_wrapper .swiper-slide:not(.dsm_card_carousel_child_vb_outer_wrapper)
    {
        height: 120px !important;
        width: 100% !important;
    }

    .carrusel-comida.cocteles .dsm_card_carousel_child,
    .dsm_card_carousel_equal_height .dsm_card_carousel_wrapper .dsm_card_carousel_child:not(.dsm_card_carousel_child_vb_outer_wrapper),
     .dsm_card_carousel_equal_height .dsm_card_carousel_wrapper .swiper-slide:not(.dsm_card_carousel_child_vb_outer_wrapper), 
     .et_pb_equal_columns .dsm_card_carousel_wrapper .dsm_card_carousel_child:not(.dsm_card_carousel_child_vb_outer_wrapper), 
     .et_pb_equal_columns .dsm_card_carousel_wrapper .swiper-slide:not(.dsm_card_carousel_child_vb_outer_wrapper)
     {
        height: 100% !important;
        width: 100% !important;
     }

    .carrusel-comida .dsm_card_carousel_child > .et_pb_module_inner
    {
        display: grid;
        grid-template-columns: 0.4fr 0.6fr;
        width: 100%;
        min-height:200px;
        direction: ltr;
    }

    .carrusel-comida .dsm_card_carousel_child > .et_pb_module_inner > figure
    {
        height:100%;
        width: 100% !important;
    }

    .carrusel-comida.cocteles .dsm_card_carousel_child > .et_pb_module_inner > figure
    {
        height: 100% !important;
    }



    .carrusel-comida .dsm_card_carousel_child > .et_pb_module_inner > .dsm_card_wrapper
    {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        padding:15px;
    }
    .carrusel-comida .dsm_card_carousel_child > .et_pb_module_inner > .dsm_card_wrapper .dsm_card_carousel_child_description
    {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }


    .dsm_card_carousel_child .datos img
    {
        max-height: 25px;
    }

    html, body
	{
		font-size:14px !important;
        line-height: 1.2em !important;
	}
	 
	 #logo{
		 max-height:70% !important;
		 position: relative;
		 top: -12px;
	 }
 }