/*
Theme Name: D-Hijo
Theme URI: http://acuabit.es
Version: 1.0
Description: Tema para Wordpress desarrollado por ACUABIT
Author: ACUABIT
Author URI: http://acuabit.es
Template: Divi
*/


/*----------------- General -------------------------------*/
@media(min-width:981px) {

    /* body.page-template-default #page-container, body.blog #page-container{
        padding-top: 170px !important;
    }  */
    #page-container.swift-in-viewport #main-header {
        margin-top: 45px !important;
    }

    #main-header {
        padding: 15px 0px 10px;
    }
}

/*********Blog*********/
#blog {
    width: 100%;
    max-width: 100%;
}

body.archive.category img {
    float: left;
    width: 29%;
    padding-right: 23px;
}

body.page-id-61 .entry-featured-image-url {
    float: left;
    width: 40%;
    padding-right: 50px;

}



.column.size-1of2 {
    width: 100% !important;

}

article {
    margin-bottom: 0 !important;
}

.entry-title h2 {
    padding-left: 2em !important;
}


/*******************/
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Oswald';
}

body {
    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 400;
}

a {
    color: #A0A0A0;
}

#breadcrumbs {
    padding: 25px 0 5px !important;
    text-align: center !important;
    font-size: 15px !important;
}

#breadcrumbs a {
    color: #303030;
    font-weight: 600;
}

#top-menu .current_page_item a {
    color: #283F6D !important;
    font-weight: 800;
    padding: 12px !important;
    border: 4px solid #F59A09 !important;
    border-radius: 5px !important;
}

#main-header .nav li ul {
    width: 320px !important;
}

#main-header .nav li ul a {
    color: #fff !important;
    text-align: right !important;
    padding-right: 20px !important;
}

#main-header .nav li ul a:hover {
    background: none !important;
    color: #ffffff !important;

}

.et_pb_button {
    color: #303030 !important;
    border-color: #303030 !important;
}

.sub-menu {
    width: 300px !important
}

#top-menu li li a {
    width: 300px !important;
}

.post-meta a {
    background: #F59A09 !important;
    padding: 5px 10px !important;
    color: #ffffff !important;
    font-size: 13px;
}

.post-meta span {
    font-size: 13px;
}

.post-meta #text {
    font-size: 13px !important;
}

.post-meta p {
    font-size: 13px !important;
}

.comments-number a {
    background: none !important;
    color: #3968c7 !important;


}

.author.vcard a {
    background: none !important;
    color: black !important;
    font-weight: bold !important;
}

.entry-title {
    color: #283F6D !important;
    line-height: 1.2em !important;
}

/*----------------- Menu Responsive ---------------------*/
.et_mobile_menu {
    overflow-y: scroll !important;
    max-height: 80vh !important;
    -overflow-scrolling: touch !important;
    -webkit-overflow-scrolling: touch !important;
}

/*----------------- Header ---------------------------*/
#top-header .container {
    padding-top: 0;
}


/*----------------- Top Header 1 ---------------------------*/
#top-header-content-1 {
    padding: 8px 130px 0px 0px;
    background: transparent;
}

#top-header-content-1 .top-header-item {
    margin-bottom: 1.25%;
}

#top-header-content-1 .et_pb_row {
    padding: 0;
}

#top-header-content-1 .et_pb_row .et_pb_column {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

#top-header-content-1 .et_pb_blurb_position_left .et_pb_blurb_container {
    padding-left: 0px;
    color: #303030;
}

#top-header-content-1 .top-header-item {
    font-size: 12px;
    line-height: 20px;
    padding-right: 10px;
}

#top-header-content-1 .et_pb_blurb .et_pb_image_wrap {
    width: 15px;
}

#top-header-content-1 .et_pb_blurb_position_left .et-pb-icon {
    font-size: 20px !important;
}

#top-header-content-1 .et_pb_blurb .et-pb-icon {
    color: #283F6D;
}

.et_pb_blurb_description p {
    font-size: 17px !important;
}

/*----------------- Inicio -------------------------------*/
.portada-web .et_pb_slider .et_pb_slide_content {
    line-height: 1.3em;
}

.portada-web .et_pb_slider .et_pb_slide_content small {
    font-size: 18px;
    font-weight: 200;
}

.seccion-home.seccion-servicios .servicio .et_pb_main_blurb_image {
    position: absolute;
    top: -50px;
    width: 100%;
    left: 0px;
}

.seccion-home.seccion-servicios .servicio .et_pb_blurb_container {
    padding: 70px 30px 10px;
}

.ultimos-trabajos .type-project {
    width: 32% !important;
    margin: 35px 0.65% !important;
    clear: none !important;
}

.ultimos-trabajos .type-project .et_pb_module_header {
    margin-top: 0px;
    width: 100%;
    color: #ffffff;
    padding: 10px 15px !important;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.6);
}

.ultimos-trabajos .type-project:hover .et_pb_module_header {
    display: block;
    transition: 0.5s;
}

/*----------------- Paginas ------------------------------*/
.titulo-pagina {
    position: relative;
    z-index: 99999;

}

.titulo-pagina::before {
    content: url('images/lineas.png');
    top: -50%;
    left: 0px;
    position: absolute;

}

.titulo-pagina .et_pb_text_inner {
    background: #f59a09;
    padding: 25px 0px;
}

.widget_search input#searchsubmit {
    color: #fff !important;
    background-color: #F59A09 !important;
    border: 1px solid #F59A09 !important;
}

#block-4 {
    margin-bottom: 0px !important
}

/*----------------- Footer ------------------------------*/
footer .et_pb_fullwidth_menu .et_pb_menu__wrap,
.et_pb_menu .et_pb_menu__wrap {
    justify-content: center;
}

footer .et_pb_menu .et_pb_menu__menu>nav {
    text-align: center;
}

footer .et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li {
    display: inline;
    padding: 0px 0px 5px 0px;
}

.footer-social-icons .et_pb_code_inner {
    text-align: center;
}

#pie-pagina .et-social-icons li {
    display: inline;
    margin-left: 0px;
}

.footer-social-icons .et-social-icon a {
    padding: 0px 15px;
}

#text-2 .et-social-icons {
    float: none;
    margin-top: 15px;
}

#text-2 .et-social-icons li::before {
    content: none !important;
}

#text-2 .et-social-icons li a {
    color: #303030 !important;
}

.creditos-pie {
    text-align: center;
    color: #fff;
}

.creditos-pie a,
#footer-info {
    color: #fff;
}

.creditos-pie .elemento {
    display: inline-block;
    margin: 0px 15px;
}

.creditos-pie .elemento.copy #footer-info {
    float: right;
    margin-left: 5px;
}

.footer-widget .title {
    font-size: 32px;
    font-weight: 300;
}

.footer-widget #text-2 .title,
.footer-widget #text-2 .textwidget strong {
    color: #303030;
}

.footer-widget #text-2 .textwidget {
    color: #595959;
}

.footer-widget #text-2 .textwidget p {
    line-height: 1.3em;
}

.footer-widget #text-2 .textwidget p strong {
    line-height: 2.3em;
}

.footer-widget #text-2 .textwidget p .telefono {
    font-size: 1.3em;
}

.footer-widget #text-3 .title {
    color: #F6F6F6;
}

.footer-widget #text-2 .textwidget strong {
    font-family: 'Oswald';
    font-weight: 400;
}

#pie-pagina,
#pie-pagina h3,
#pie-pagina h4,
#pie-pagina h5 {
    color: white;
    font-size: 20px;
}

#pie-pagina a {
    color: #fff;
}

#pie-pagina {
    font-size: 14px;
}

#pie-pagina .et_pb_menu {
    background-color: transparent;
}

#pie-pagina .et_pb_menu .et-menu {
    margin-left: 0;
    margin-right: 0;
    display: initial;
}

#pie-pagina .et_pb_module {
    margin-bottom: 15px;
}


#main-footer {
    padding-bottom: 0px;
}

#et-footer-nav {
    background: #000;
    border-top: 0px solid #f6f6f6;
}

#footer-bottom {
    background: #000000;
    font-size: 10px;
    padding: 0px;

}

#firma .container {
    display: none;
    text-align: center;
    font-size: 9.5px;
}

#firma .firma-link {
    color: #595959;
    font-weight: bold;
}

.bottom-nav li.current-menu-item>a {
    color: #F59A09 !important;
    border-bottom: 2px solid #F59A09 !important;
}

/**
 *  CUADRO BÚSQUEDA
 */
form.et-search-form {
    background: white !important;
}


/** 
 *  PLUGIN - CF7 
 **/

.wpcf7-text,
.wpcf7-textarea,
.wpcf7-captchar {
    background-color: #eee !important;
    border: none !important;
    width: 100% !important;
    -moz-border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    border-radius: 0 !important;
    font-size: 14px;
    color: #444 !important;
    padding: 16px !important;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.wpcf7-submit {
    color: #fff !important;
    border: 0px solid #fff;
    letter-spacing: 2px;
    padding: 10px 30px;
    font-size: 14px;
    font-family: 'Lato', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    background-color: #F59A09;
}

.wpcf7-submit:hover {
    color: #fff !important;
    border: 0px solid #fff !important;
    padding: 10px 30px !important;
    font-family: 'Lato', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    background-color: #F59A09 !important;
}

.cf7-custom-css .fields .field-item {
    margin-bottom: 10px;
}



.cf7-custom-css .fields-cols .field-item {
    margin-right: 0px;
}

.cf7-custom-css .fields-cols .field-item-last {
    margin-right: 0px;
}

.cf7-custom-css .submit {
    text-align: right;
}

/* END ***** PLUGIN - CF7 */

@media(max-width: 767px) {
    .cf7-custom-css .fields-cols {
        display: initial;
    }

    .cf7-custom-css .fields-cols .field-item {
        margin-right: 0px;
    }
}


/**
 *  BIBLIOTECA: Pié Flotante - Responsive
 */
#barra-contacto-movil {
    display: block;
    position: fixed;
    bottom: 0px;
    width: 100%;
    background: #303030;
    box-shadow: 0 -2px 5px 0 rgba(0, 0, 0, .8);
    z-index: 999;
    padding-top: 0px;
    padding-bottom: 0px;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
}

#barra-contacto-movil .et_pb_row {
    padding-top: 15px;
    padding-bottom: 15px;
}

#barra-contacto-movil .items {
    display: flex;
    justify-content: space-around;
}

#barra-contacto-movil .item,
#barra-contacto-movil .item a {
    color: white;
}

#barra-contacto-movil .item i {
    font-size: 34px;
    vertical-align: middle;
}

/**
 *  PLUGIN - RGPD
 */
#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme {
    z-index: 99999999;
}

.cli-bar-btn_container {
    flex-wrap: wrap;
}

.wp-image-8180 {
    width: 100% !important;

}

/**
*   PLUGIN - CONTACT FORM DINAMIC TEXT
*/

.wpcf7-form-control.wpcf7-select.wpcf7dtx.wpcf7dtx-select {
    padding: 8px;
    margin: 10px 0px 15px 0px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    transition: all .3s ease;
    border: 1px solid black;

}

.wpcf7-form-control.wpcf7-select.wpcf7dtx.wpcf7dtx-select:hover {
    transition: all .3s ease;
    color: #283F6D;
    border-radius: 5px;
    border: 1px solid #F59A09;
}

/*blog*/
body.page.page-id-61 .entry-title {
    position: relative;
    bottom: 38px;
}

body.page.page-id-61 .post-meta {
    position: relative;
    bottom: 44px;
}

body.page.page-id-61 .post-content {
    position: relative;
    bottom: 41px;
}

.comment-reply-link.et_pb_button {

    font-size: 15px;
    border: 1px solid #283F6D !important;

}

.comment-reply-link.et_pb_button:hover {
    border: 1px solid #F59A09 !important;
}

#li-comment-43,
#li-comment-44,
#li-comment-45,
#li-comment-46,
#li-comment-47 {
    margin-bottom: 30px;
}

.ssbp-list p {
    display: none;

}


/*----- Banner--Cookies -----*/
html.show--consent .btnpref,
html.show--preferences .btnpref {
    display: none;
}

.btnpref {
    position: fixed;
    z-index: 99999999999;
    bottom: 15px;
    left: 15px;
    max-width: 64px;
    font-size: 14px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.btnpref img {
    max-width: 48px;
}

.btnpref:hover {
    cursor: pointer;
}

#cc-main .cm__btn-group .cm__btn,
#cc-main .pm__btn {
    background: black;
    border: none;
    color: #FFFFFF;
}

/*----- FIN Banner--Cookies -----*/



/*-------  MEDIA  QUERIES --------*/


/*--Banner--Cookies-Responsive--*/
@media(max-width: 980px) {
    .btnpref {
        bottom: 80px;
        left: 0px;
        max-width: 180px;
        border-bottom-left-radius: 0px !important;
        border-bottom-right-radius: 0px !important;
    }

    .btnpref img {
        max-width: 14px !important;
    }
}

/*--FIN Banner—Cookies-Responsive--*/


@media (max-width: 1500px) {


    body.page.page-id-61 .entry-title {
        position: relative;
        bottom: 38px;
    }

    body.page.page-id-61 .post-meta {
        position: relative;
        bottom: 44px;
    }

    body.page.page-id-61 .post-content {
        position: relative;
        bottom: 41px;
    }

    #blog {
        width: 100% !important;
        max-width: 100% !important;
    }

    body article.archive.category img {
        float: left;
        width: 39%;
        padding-right: 23px;
    }

    body.archive.category.category-penal.category-30 img {
        float: left;
        width: 35%;
        padding-right: 23px;

    }

    #logo {
        max-height: 100% !important;

    }

    .container {
        width: 96% !important;
    }

}

@media(max-width: 1280px) {
    body.archive.category img {
        float: left;
        width: 34%;
        padding-right: 20px;
    }

    body.page-id-61 .entry-featured-image-url {
        float: left;
        width: 47%;
        padding-right: 22px;
        right: 10px;
    }

    #logo {
        max-height: 100% !important;

    }

    .container {
        width: 96% !important;
    }

    .post-content-inner {
        padding-left: 17em;
        position: relative;
        right: 10px;
    }

    body.page.page-id-61 .post-content {
        padding-left: 40px;
    }
}

@media(max-width: 1366px) {


    .post-content-inner {
        padding-left: 18em;
    }
}

@media(max-width: 980px) {

    body.page.page-id-61 .post-content {
        padding-left: 0px;
    }

    .entry-title {
        position: relative;
        bottom: 0px !important;
    }

    .post-meta {
        position: relative;
        bottom: 0px !important;
    }

    .post-content {
        position: relative;
        bottom: 0px !important;
    }


    .post-content-inner {
        padding-left: 0 !important;
        position: relative;
        right: 0px;
    }

    #logo {
        max-height: 70% !important;

    }

    .post-meta a {

        padding: 5px 1px !important;

    }

    #blog {
        width: 100% !important;
        max-width: 100% !important;
    }

    article {
        margin-bottom: 10px;
    }

    .post-meta {
        width: auto;
    }

    body.page-id-61 .entry-featured-image-url {
        float: left;
        width: 50%;
        padding-top: 40px;
        margin-right: 20px;
    }

    .mobile_nav {
        border: 1px solid #283F6D;
        margin-left: 10px;
        color: #283F6D;
        height: 32px;
    }

    .mobile_menu_bar::before {
        float: right;
        color: #283F6D !important;
    }

    .mobile_menu_bar .text {
        line-height: 30px;
        padding-left: 5px;
        text-transform: uppercase;
        color: #283F6D;
    }

    .mobile_menu_bar {
        float: right;
    }

    .mobile_menu_bar:hover,
    .mobile_menu_bar .text:hover {
        cursor: pointer;
    }

    .mobile_menu_bar::before {
        color: #303030;
    }

    .creditos-pie {
        padding-top: 10px;
    }

    #firma .container {
        text-align: center;
    }

    .portada-web .et_pb_slider .et_pb_slide_content small {
        font-size: 14px;
    }

    .seccion-servicios .servicio .et-pb-icon-circle {
        font-size: 32px;
        padding: 15px;
    }

    .seccion-home.seccion-servicios .servicio .et_pb_blurb_container {
        padding: 40px 30px 10px;
    }

    .seccion-home.seccion-servicios .et_pb_column {
        margin-bottom: 60px;
    }

    .seccion-home.seccion-servicios .servicio .et_pb_main_blurb_image {
        top: -30px;
    }

    .seccion-home.seccion-servicios .servicio .et_pb_blurb_container {
        padding: 50px 30px 15px;
    }

    #main-header.et-fixed-header {
        position: fixed;
        top: 0px !important;
        border-bottom: 1px solid #cccccc;
    }

    .et_mobile_menu {
        top: 80px;
        border-top: 3px solid #303030;
    }

    .menu-show-responsive .et_pb_menu__menu {
        display: initial;
    }

    .menu-show-responsive .et_mobile_nav_menu {
        display: none;
    }

    .et_header_style_centered #main-header .container {
        text-align: left;
        height: inherit;
    }

    .mobile_nav .select_page {
        display: none !important;
    }

    .et_header_style_centered #main-header .mobile_nav {
        display: contents;
        text-align: left;
        background-color: none;
        border-radius: none;
        padding: 5px 10px;
    }

    .et_header_style_centered header#main-header .logo_container {
        float: left;
    }

    .et_header_style_centered .et_menu_container .mobile_menu_bar {
        top: 9px;
    }

    .et_header_style_centered .mobile_menu_bar.mobile_menu_bar_toggle {
        border: 1px solid #595959;
        border-radius: 3px;
    }

    /*--Menú--MÓVIL--Desplegables--*/
    .et_pb_menu .et_mobile_menu .menu-item-has-children>a,
    #main-header .et_mobile_menu .menu-item-has-children>a {
        background-color: transparent;
        position: relative;
    }

    .et_pb_menu .et_mobile_menu .menu-item-has-children>a:after,
    #main-header .et_mobile_menu .menu-item-has-children>a:after {
        font-family: 'ETmodules';
        text-align: center;
        speak: none;
        font-weight: 600;
        font-variant: normal;
        text-transform: none;
        -webkit-font-smoothing: antialiased;
        position: absolute;
        font-size: 18px;
        content: '\4c';
        top: 11px;
        right: 13px;
    }

    .et_pb_menu .et_mobile_menu .menu-item-has-children.visible>a:after,
    #main-header .et_mobile_menu .menu-item-has-children.visible>a:after {
        content: '\4d';
    }

    .et_pb_menu .et_mobile_menu ul.sub-menu,
    #main-header .et_mobile_menu ul.sub-menu,
    .et-db #et-boc .et-l .et_pb_menu .et_mobile_menu li ul.sub-menu {
        display: none !important;
        visibility: hidden !important;
        transition: all 1.5s ease-in-out;
    }

    .et_pb_menu .et_mobile_menu li.visible>ul.sub-menu,
    #main-header .et_mobile_menu li.visible>ul.sub-menu,
    .et-db #et-boc .et-l #main-header .et_mobile_menu li.visible>ul.sub-menu,
    .et-db #et-boc .et-l .et_pb_fullwidth_menu .et_mobile_menu li.visible>ul.sub-menu,
    .et-db #et-boc .et-l .et_pb_menu .et_mobile_menu li.visible>ul.sub-menu {
        display: block !important;
        visibility: visible !important;
    }

    .titulo-pagina::before {
        display: none;

    }
}

@media(max-width: 767px) {

    .comment-reply-link.et_pb_button {
        margin-bottom: 24px;

    }

    /*****blog******/
    #blog {
        width: 100% !important;
        max-width: 100% !important;
    }

    body.page-id-61 .entry-featured-image-url {
        float: none;
        width: 100%;
        padding-right: 0px;
        margin-bottom: 10px;
        left: 5px;
    }

    body.archive.category img {
        padding-right: 0;
        width: 100%;

    }

    article img {
        padding-top: 2em;
    }

    img.alignleft {
        width: 100%;
    }

    img.alignright {
        width: 100%;
    }

    body.category.category-penal.category-30 .entry-featured-image-url {
        float: left;
        width: 300%;
        padding-right: 0px;

    }

    /**************/

    .column.size-1of2 {
        width: 100% !important;

    }

    h1 {
        font-size: 22px !important;
    }

    h2 {
        font-size: 20px !important;
    }

    h3,
    h4 {
        font-size: 18px !important;
    }

    #main-footer {
        background: linear-gradient(to top, #303030 0%, #303030 65%, #000 50%, #F6F6F6 35%, #F6F6F6 100%);
    }

    #text-3 {
        padding-top: 35px !important;
    }

    .ultimos-trabajos .type-project {
        width: 100% !important;
    }

    .ultimos-trabajos .type-project .et_pb_module_header {
        position: relative;
        display: block;
    }

    .et_search_outer {
        background: #ffffff;
    }

    #et_top_search {
        position: absolute;
        right: -50px;
        bottom: 0px;
    }

    #et_search_icon::before {
        background: #ffffff;
        padding: 5px 9px 5px 15px;
        top: 0px;
        border: 1px solid #ccc;
        border-bottom-left-radius: 25px;
    }

    .seccion.portada,
    .seccion.portada-servicio,
    .seccion-empresa.anuncio {
        padding: 50px 0px !important;
    }

    .seccion-servcios.nuestros-servicios .child-servcio {
        width: 100%;
    }

    .seccion-servicio.trabajos .project {
        width: 100% !important;
    }

    .seccion-servicio.trabajos .et_pb_module_header {
        position: relative;
        margin-top: 0px !important;
    }

    .seccion-trabajos.nuestros-trabajos .et_pb_portfolio_item .et_pb_module_header {
        position: relative;
        bottom: 0px;
    }

    .seccion-trabajos.nuestros-trabajos .et_pb_portfolio_item {
        width: 100% !important;
    }

    .nuestras-promociones .promocion {
        width: 100%;
    }

    #et-top-navigation {
        padding-left: 0px !important;
    }

    .et_pb_text_8 {
        width: auto !important;
    }

    .post-meta {
        margin: 10px 0px !important;
    }
}