﻿/*
Theme Name:   Divi Child
Theme URI:    
Description:  Divi Child Theme
Author:       Elegant Themes
Author URI:   https://www.elegantthemes.com/
Template:     Divi
Version:      3.0.27
Tags:         responsive-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
Text Domain:  twenty-fourteen-child
*/
@import url("../Divi/style.css");

/* =Aquí empieza la personalización de tu tema
-------------------------------------------------------------- */

/* Menú superior */
#et-info {
    float: right;
}

#top-menu a:hover {
    color: black;
}

#top-menu a {
    -webkit-transition: none;
    -o-transition: color 0 ease-in;
    transition: none;
}

.et_mobile_menu {
    border-color: white !important;
    text-transform: uppercase;
}

.mobile_menu_bar:before,.et_overlay:before {
    color: #D91A2A!important;
}

#main-header {
    border-bottom: 6px solid #b08b61 !important;
}

/* Fonts */
.citas{
    font-family: 'Bad Script', cursive;
    line-height: normal;
}

/* Sliders */
.slider-inici .et_pb_slide_content {
    padding: 30px 30px 30px 30px;
}

.slider-inici h2 {
    text-transform: none;
}

/* Home */
.estil-daurat {
    color: #f2d6a2 !important;
}

.servicios-online-inicio {
    color: #f2d6a2;
}

.requadre-consulta-skype {
    color: white;
}

.more-content:before, .more-content:after {
    content: "\33"!important;
}

.fa-angle-down {
    color:white;
    font-size: 30px!important;
}

.to-content {
    text-align: center;
    margin-top: -85px;
    margin-bottom: 45px;
    -webkit-animation: bounce 2s infinite ease-in-out;
}

/* Icons */
.title-icons {
    width: 50px !important;
}

.transport-icons {
    width: 100px !important;
}


/* Map contact*/
.et_pb_row.et_pb_row_fullwidth, .et_pb_specialty_fullwidth > .et_pb_row {
    width: 100% !important;
    max-width: 100% !important;
    padding-top: 0px !important;
}

.et_pb_section.et_pb_section_0.et_section_regular {
    padding-top: 0px !important;
}

/* Contact */
input.et_pb_contact_captcha {
    width: 100px !important;
    height: 45px !important;
    margin-right: 0px !important;
    padding: 0px !important;
    text-align: center;
}

div.imatge-contacte img{
    max-width: 150%;
    width: 140%;    
}

/* Sidebar */
.widgettitle {
    line-height: 27px;
}

/* Sobrefooter */
#main-footer {
    background-color: #B08B61;
}

#footer-widgets .footer-widget li a {
    color: white!important;
}

div#pages-2 ul li.page-item-1098 { display: none; }

div#footer-widgets h4 { font-weight: 600; }


/* Sobrefooter - Icones */
.fa-phone:before {
    content: "\f095";
    font-size: 18px;
}

.fa-mobile-phone:before, .fa-mobile:before {
    content: "\f10b";
    font-size: 23px;
}

.fa-map-marker:before {
    content: "\f041";
    font-size: 20px;
}



/* Footer */
#footer-info {
    float: none;
    padding-bottom: 10px;
    text-align: center;
    font-size: 12px!important;
}

#footer-info, #footer-info a {
    color: #ffffff!important;
}

/* Cookies */
.cdp-cookies-alerta.cdp-cookies-tema-gris .cdp-cookies-texto a {
    color: #f2d6a2 !important;
    font-weight: bold;
}

.cdp-cookies-alerta.cdp-cookies-tema-gris .cdp-cookies-texto a:hover, .cdp-cookies-alerta.cdp-cookies-tema-gris .cdp-cookies-texto a:active, .cdp-cookies-alerta.cdp-cookies-tema-gris .cdp-cookies-texto a:visited {
    color: white !important;
}

/* Abogado Online */

.taula-centrada {
    width: 100%!important;
}

.et_pb_column.et_pb_column_1_2.et_pb_column_1 {
    margin-top: -8px;
}

.boto-contratar {
    width: 65%;
    height: 122px;
    text-align: center;
    font-size: 26px!important;
    padding-top: 36px!important;
}

.boto-skype {
    width: 65%;
    padding-top: 56px!important;
}

/* @media */
@media(max-width: 996px){
    .boto-contratar{
        height: 148px;
        padding-top: 47px!important;
    }
}

@media(max-width: 980px){
    .boto-contratar{
        width: 100%;
        height: 90px;
        padding-top: 20px!important;
    }

    .boto-skype{
        width: 100%;
    }
}

@media (min-width: 981px) {
    .et_pb_gutters3.et_pb_footer_columns4 .footer-widget {
        width: 27%;
    }
}

@media (max-width: 800px) {
    .to-content {
        text-align: center;
        margin-top: -115px;
        margin-bottom: 45px;
        -webkit-animation: bounce 2s infinite ease-in-out;
    }
}

@media (min-width: 801px) {
    .to-content {
        text-align: center;
        margin-top: -85px;
        margin-bottom: 45px;
        -webkit-animation: bounce 2s infinite ease-in-out;
    }
}

@media (max-width: 560px) {
    .to-content {
        text-align: center;
        margin-top: -90px;
        margin-bottom: 45px;
        -webkit-animation: bounce 2s infinite ease-in-out;
    }
}

/*Animació indicador slider home*/

@-webkit-keyframes bounce {
    0%, 20%, 60%, 100%  { -webkit-transform: translateY(0); }
    40%  { -webkit-transform: translateY(-10px); }
    80% { -webkit-transform: translateY(-10px); }
}

/*Color caixa slider i img destacada civil/familia/penal*/

.et_pb_slide_title, .et_pb_slide_content {
    background-color: rgba(2, 2, 2, 0.35)!important;
}

/*Espai h2*/

h2.espai_titol {
    margin-bottom: 30px;
}

/*Mida h1 i Mida h2*/

h1.mida_derechos {
    font-weight: 600;
}

h2.et_pb_contact_main_title, h2.espai_titol {
    font-weight: 400;
    font-size: 25px;
}

/* Espai icones home */

.text-home {
    z-index: 1!important;
    margin-bottom: -50px!important;
}

/* Gracias */

#post-1098 > div > div > div > div {
    margin-top: 70px;
}

/* Cookies */
.cookie-table{
	width: 100%;
    max-width: 100%;
    overflow-x: scroll;
}
@media (max-width: 833px) {
    #post-1098 > div > div > div > div {
       margin-top: 35px;
    }
}

@media (max-width: 430px) {
    h2.citas {
       font-size: 18px!important;
    }
}

@media (max-width: 320px) {
    #post-42 .et_pb_slides .et_pb_container.clearfix {
        margin-left: -4px!important;
    }
}
@media (max-width: 285px) {
    #post-42 .et_pb_slides .et_pb_container.clearfix {
        margin-left: -18px!important;
    }
}