/*
 Theme Name:     Salva Codina Child Theme
 Theme URI:      https://www.imas3.com
 Description:    Divi Child Theme
 Author:         Imas3
 Author URI:     https://www.imas3.com
 Template:       Divi
 Version:        1.2.0
*/

@import url("../Divi/style.css");
@import url("css/general.css");

/* =Theme customization starts here
------------------------------------------------------- */

/*****************************************************************GENERAL*****************************************************************/

/*****************************************************************HEADER*****************************************************************/

/*MENÚ*/
.et_mobile_menu li a {
    margin-top: unset;
}

/*CITA*/
.menu-contacta-estilo {
    background: #afb168;
    padding: 5px 8px !important;
    height: 0;
}

.menu-contacta-estilo a {
    color: white !important;
}

/*IDIOMES*/
ul#menu-menu-idiomas-cat {
    position: fixed !important;
    top: 45%;
    z-index: 100 !important;
    left: 0%;
    border: 1px solid #787878;
    background-color: white;
    padding: 0.5%;
}

li#menu-item-wpml-ls-16-es, li#menu-item-wpml-ls-16-ca {
    padding-right: 10%;
    padding-left: 10%;
    padding-top: 5%;
    padding-bottom: 5%;
}

li#menu-item-wpml-ls-16-es:hover {
    background-color: #afb1686b;
}

li#menu-item-wpml-ls-16-ca:hover {
    background-color: #d34e196b;
}

li#menu-item-wpml-ls-16-es span:hover, li#menu-item-wpml-ls-16-ca span:hover {
    color: white;
}

li#menu-item-wpml-ls-2-ca, li#menu-item-wpml-ls-2-es {
    display: none;
}

/*****************************************************************FOOTER*****************************************************************/

.vdr_fixedBottomBar-content--1 {
    background: #afb168;
}

.vdr_fixedBottomBar-content--2 {
    background: #d34e19;
}

#footer-bottom a {
    color: #666;
    font-weight: 700;
}

/******************************************************************HOME******************************************************************/

.homeSliderSection {
    height: calc(100vh - 106px);
}

.homeSliderSection>div, .homeSliderSection>div>div, .homeSliderSection>div>div>div {
    height: 100%;
}

/***************************************************************OTHER PAGES******************************************************************/

/* Testimonis */
#testimonis-leer-mas-btn {
	font-weight: 600;
    font-size: 16px;
    color: #d34e19;
}

.rv_button.closed:after {
	content: "\33";
    font-family: ETModules;
}

.rv_button.opened:after {
	content: "\32";
    font-family: ETModules;
}
/* END Testimonis */

/* Blog*/
.vdr__homeBlogSection .et_pb_row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    height: 500px;
}

.vdr__homeBlogColumn-left, .vdr__homeBlogColumn-right {
    width: calc(50% - 10px) !important;
    margin-right: 0px !important;
}

.vdr__homeBlogColumn-left article {
    margin-bottom: 0px;
    height: 600px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.vdr__homeBlogSection article a {
    margin-bottom: 0px !important;
    overflow: hidden;
}

.vdr__homeBlogSection article:hover>a>img {
    -webkit-transform: rotateZ(4deg) scale(1.1);
    -ms-transform: rotate(4deg) scale(1.1);
    transform: rotateZ(4deg) scale(1.1);
}

.vdr__homeBlogSection article:hover>.entry-title {
    opacity:0;
}

.vdr__homeBlogSection article:hover>.post-content {
    opacity:1;
}

.vdr__homeBlogSection article img {
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center center;
    object-position: center center;
    -webkit-transition: 1s all;
    -o-transition: 1s all;
    transition: 1s all;
}

.vdr__homeBlogSection article .entry-title {
    position: absolute;
    bottom: 18px;
    padding: 10px;
    background: #2d2d2d6e;
    color: white;
    width: 100%;
    font-size: 19px;
    font-weight: 600;
    -webkit-transition: .5s all;
    -o-transition: .5s all;
    transition: .5s all;
}

.vdr__homeBlogColumn-right .et_pb_module {
    margin-bottom: 10px !important;
}

.vdr__homeBlogColumn-right article {
    height: 295px;
    margin-bottom: 0px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.vdr__homeBlogSection article .post-content {
    position: absolute;
    top: 0px;
    height: 100%;
    display: -webkit-box !important;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: #afb1689c;
    padding: 15px;
    opacity: 0;
    -webkit-transition: 1s all;
    -o-transition: 1s all;
    transition: 1s all;
    cursor: pointer;
}

.vdr__homeBlogSection article .post-content>p {
    color: white;
    font-size: 18px;
    text-align: center;
    font-weight: 500;
}

.vdr__homeBlogSection article .post-meta {
    display: none;
}

.vdr__homeBlogSection article .post-content {
    opacity:0;
}

.vdr__homeBlogSection2 article {
    background-color: #2d2d2d6e !important;
    width: calc(50% - 5px);
    margin-bottom: 10px;
    padding-bottom: 20px;
}

.vdr__homeBlogSection2 article>.entry-featured-image-url {
    overflow: hidden;
}

.vdr__homeBlogSection2 article>.entry-featured-image-url:hover>img {
    -webkit-transform: rotateZ(4deg) scale(1.1);
    -ms-transform: rotate(4deg) scale(1.1);
    transform: rotateZ(4deg) scale(1.1);
    -webkit-filter: contrast(110%);
    filter: contrast(110%);
}

.vdr__homeBlogSection2 article>.entry-featured-image-url>img {
    height: 300px;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center center;
    object-position: center center;
    -webkit-transition: all .6s ease-in-out;
    -o-transition: all .6s ease-in-out;
    transition: all .6s ease-in-out;
    -webkit-filter: contrast(80%);
    filter: contrast(80%);
}

.vdr__homeBlogSection2 article .entry-title, .vdr__homeBlogSection2 article .post-meta, .vdr__homeBlogSection2 article .post-meta a, .vdr__homeBlogSection2 article .post-content>p {
    color: white !important;
}

.vdr__homeBlogSection2 article .post-content>a {
    color: #f19e06 !important;
}

.vdr__homeBlogSection2 >.et_pb_ajax_pagination_container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}

.vdr__homeBlogSection2 article .entry-title, .vdr__homeBlogSection2 article .post-meta, .vdr__homeBlogSection2 article .post-content {
    padding: 0px 10px;
}

.vdr__homeBlogSection2 article .post-content>a {
    text-align:right;
}

.wp-pagenavi a, .wp-pagenavi .current {
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 12px;
    text-align: center;
    padding: 10px 0;
    margin-right: 5px;
    background: #3b3b3b;
    margin: 0 5px;
    border: none!important;
    color: white !important;
    font-size: 14px!important;
    font-weight: 400!important;
    text-decoration: none;
    display: inline-block;
    line-height: normal !important;
    margin-bottom: 5px;
}

.vdr__homeBlogSection2  .wp-pagenavi .current, .vdr__homeBlogSection2  .wp-pagenavi .nextpostslink, .vdr__homeBlogSection2  .wp-pagenavi .previouspostslink { 
    color: white !important;
}

.wp-pagenavi {
    text-align: center;
    width: 100%;
    border-top: none;
}

.wp-pagenavi .extend {
    display:none;
}

.vdr__homeBlogSection2  .wp-pagenavi a:hover {
    color: white !important;
    background: #f19e06;
}

.vdr__homeBlogSection2  .wp-pagenavi span.current {
    background: #f19e06;
}

.wp-pagenavi .last, .wp-pagenavi .first {
    border-radius: 0px;
    width: auto;
    padding: 10px 10px;
}

.vdr__homeBlogSection .et_pb_row .et_pb_module, .vdr__homeBlogSection .et_pb_ajax_pagination_container, .vdr__homeBlogSection article, .vdr__homeBlogSection article >a {
    height: 100%;
}

.vdr__homeBlogSection .et_pb_row .et_pb_column, .vdr__homeBlogSection .vdr__homeBlogColumn-right-bottom > .et_pb_column {
    height: 100%;
    padding: 0px;
    width: calc(50% - 10px) !important;
    margin-right: 0px !important;
}

.vdr__homeBlogSection .vdr__homeBlogColumn-right >.et_pb_row {
    padding: 0;
    height: calc(50% - 20px);
    margin-bottom: 20px;
}

.vdr__homeBlogSection .vdr__homeBlogColumn-right .vdr__homeBlogColumn-right-top {
    padding: 0;
    height: calc(50% - 20px);
    margin-bottom: 20px;
}

.vdr__homeBlogSection .vdr__homeBlogColumn-right-top > .et_pb_column {
    width: 100% !important;
}

.vdr__homeBlogSection .vdr__homeBlogColumn-right .vdr__homeBlogColumn-right-bottom {
    padding: 0;
    height: calc(50%);
}

.vdr__homeBlogColumn-right-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.vdr__homeBlogSection .et_pb_row:after, .vdr__homeBlogSection .et_pb_row_inner:after {
    display: none;
}

.vdr__homeBlogSection2 .pagination {
    width: 100%;
}

.et_pb_widget_area_left {
    border: none;
}

.vdr_texto-sideBar .telefonoLateral, .vdr_texto-sideBar .emailLateral, .vdr_texto-sideBar .direccionLateral {
    font-size: 0.9em;
    color: white;
}

.vdr_texto-sideBar i.fa {
    padding-right: 10px;
    font-size: 30px;
}

.vdr_texto-sideBar .emailLateral i.fa {
    padding-right: 10px;
    font-size: 20px;
}

.vdr_texto-sideBar {
    padding: 20px 10px;
    background: #afb168;
}

.vdr_texto-sideBar h3, .vdr_texto-sideBar h5 {
   color: white;
}

.vdr_texto-sideBar h3 {
    font-size: 2em; 
}

#sidebar {
    padding-left: 0px !important;
}

#sidebar a {
    color: white;
}

.et_pb_module.et_pb_sidebar_0.et_pb_widget_area {
    padding: 0;
}

div#text-2 {
    margin-bottom: 0;
}

.sidebar-blog .vdr_texto-sideBarBlog {
    display: none;
}
/* END Blog */
/* WHATSAPP */
.vdr_lateralWhats {
    background-color:  #25d366;
    color:  white !important;
    display:  block;
    bottom:  0;
    min-width:  170px;
    transition:  1s all ease-in-out;
    transform-origin:  100% 100%;
    cursor: pointer;
    width: 200px;
    height: 40px;
    overflow: hidden;
    padding: 3px 3px 3px 3px;
    position: fixed;
    top: 200px;
    right: 0px;
    text-align: center;
    transform: rotate(-90deg);
    z-index: 9999997;
    font-size: 15px;
    border-bottom: none;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
}



.vdr_lateralWhats.active {
    /*transform:  rotateY(0deg);*/
    display:  block;
    opacity:  1;
}

.vdr_lateralWhats .vdr_lateralWhats-close {
        position:  absolute;
        top:  10px;
        left:  10px;
        cursor:  pointer;
}

.vdr_lateralWhats .vdr_lateralWhats-img {
    text-align:  center;
    width: 30px;
    margin-left: 25px;
    padding: 0;
    float: left;
}

.vdr_lateralWhats .vdr_lateralWhats-img img {
        width:  43px;
}

.vdr_lateralWhats .vdr_lateralWhats-text {
        color:  white;
        text-align:  center;
}
/* END WHATSAPP */
.vdr_fixedBottomBar-content--4 p{
    background-color: #25d366;
    width: 100%;
}
.vdr_fixedBottomBar-content--4 img{
    width: 43%;
    margin-top: 3%;
    margin-left: 28%;
}


/******************************************************************SWIPERS******************************************************************/

/******************************************************************BLOG******************************************************************/

/*************************************************************SINGLE ARTICLE*************************************************************/

/****************************************************************EFFECTS*****************************************************************/

/************************************************************** FORMULARIOS ***********************************************************/

/* Form Lateral */
.vdr__formLateral >h3 {
    color: white;
    text-align: center;
}

.vdr__formLateral >div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    text-align: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
    margin: 20px 0px;
}

.vdr__formLateral >div.vdr__formLateralInput-half>div {
    width: calc(50% - 10px);
}

.wpcf7-form-control-wrap {
    position: relative;
}

.vdr__formLateral >div>p {
    width: 100%;
    padding-bottom: 0px;
}

.vdr__formLateral input, .vdr__formLateral textarea, .vdr__formLateral select {
    width: 100%;
    font-weight: 600;
    border-radius: 3px;
    padding: 7px;
    border: none;
    color: black;
    background-color: white;
}

.vdr_aviso_legal--RGPD {
    font-size: .8em;
    line-height: 1.6em;
}

.vdr_aviso_legal--RGPD p {
    font-size: .8em !important;
    line-height: 1.6em !important;
}

.vdr_aviso_legal--RGPD .textLegalFormulari {
    border-bottom: 1px solid;
    margin-bottom: 5px;
    padding-bottom: 5px;
}

.vdr_aviso_legal--RGPD span, .vdr_aviso_legal--RGPD input[type="checkbox"] {
    width: auto !important;
    display: inline-block !important;
}

.vdr_aviso_legal--RGPD .wpcf7-list-item {
    margin: 0px;
}

div.wpcf7 .wpcf7-submit:disabled {
    cursor: not-allowed;
}

.vdr__formLateral input[type="submit"] {
    background: #afb168;
    color: white;
}

#wpcs_tab_405, #wpcs_tab_762 {
	display: none !important;
}
/* END Form Lateral */

/* Form Blog */
.vdr__formBlog >div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    text-align: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
    margin: 20px 0px;
}
 
.vdr__formBlog >div {
    margin: 10px 0px;
}

.vdr__formBlog >div>p {
    width: 100%;
    padding-bottom: 0px;
}

.vdr__formBlog >div>p {
    color: white;
}

.vdr__formBlog >div.vdr__formBlogInput-half>div {
    width: calc(50% - 10px);
}

.vdr__formBlog >div.vdr__formBlogInpext>p:first-child {
    text-align: left;
}

.vdr__formBlog >h3 {
    color: white;
    text-align: center;
}

.vdr__formBlog input, .vdr__formBlog textarea, .vdr__formBlog select, .vdr__formBlog--form input[type="submit"] {   
    width: 100%;
    font-weight: 600;
    border-radius: 3px;
    padding: 7px;
    border: none;
    color: black;
}

.vdr__formBlog textarea {
    height: 85px;
}

.vdr__formBlog select>option {
    font-weight: 600;
    padding: 7px;
    color: black;
    font-size: 1.1em;
}

.vdr__formBlog--form input[type="submit"] {
    background: #bc9032;
    color: white;
}

.vdr__formContact >div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    text-align: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
    margin: 20px 0px;
}
 
.vdr__formContact >div {
    margin: 10px 0px;
}

.vdr__formContact >div>p {
    width: 100%;
    padding-bottom: 0px;
    color: black;
}

.vdr__formContact input, .vdr__formContact textarea, .vdr__formContact select, .vdr__formContact input[type="submit"] {   
    width: 100%;
    font-weight: 600;
    border-radius: 3px;
    color: black;
    border-color: rgba(0,0,0,0.12) rgba(0,0,0,0.12) #f7f6f4 rgba(0,0,0,0.12);
    border-bottom-width: 6px;
    border-top: none;
    border-right: none;
    border-left: none;
    text-align: center;
    padding: 18px 0px;
    margin-bottom: 8px;
}

.vdr__formContact textarea {
    height: 85px;
}

.vdr__formContact select>option {
    font-weight: 600;
    padding: 7px;
    color: black;
    font-size: 1.1em;
}

.vdr__formContact input[type="submit"] {
    
    background: #bc9032;
    color: #ffffff!important;
    border-color: rgba(0,0,0,0);
    font-size: 15px;
    background-color: #d7490b;
    cursor: pointer;
    width: auto;
    padding: 10px 35px;
    border: none;
}


.vdr_aviso_legal--RGPD span, .vdr_aviso_legal--RGPD input[type="checkbox"] {
    width: auto !important;
    display: inline-block !important;
}

.vdr_aviso_legal--RGPD {
    font-size: .8em;
    line-height: 1.6em;
}

.vdr_aviso_legal--RGPD .textLegalFormulari {
    border-bottom: 1px solid;
    margin-bottom: 5px;
    padding-bottom: 5px;
}

.vdr_aviso_legal--RGPD .wpcf7-list-item {
    margin: 0px;
}

div.wpcf7 .ajax-loader {
    display: block;
}

#sidebar .vdr__formBlog .vdr_aviso_legal--RGPD a {
    color: #bc9032;
}

.vdr_aviso_legal--RGPD-Colapsed p {
    max-height: 80px;
    overflow-y: scroll;
}

input.wpcf7-form-control.wpcf7-submit {
    margin-top: 4%;
}

.vdr_texto-sideBarBlog {
    background: #d34e19cf;
    padding: 10px;
    margin-top: 20px;
}

.vdr_texto-sideBarBlog.is_stuck {
    margin-top: 130px;
}
/* END Form Blog */

/**************************************************************MEDIA QUERYS**************************************************************/

@media(max-width: 980px) {
    ul#menu-menu-idiomas-cat {
        display: none;
    }

    li#menu-item-wpml-ls-2-es, li#menu-item-wpml-ls-2-ca {
        display: inline;
    }

    li#menu-item-wpml-ls-2-es a, li#menu-item-wpml-ls-2-ca a {
        width: 40%;
        margin: auto;
        background-color: #afb1686b;
        color: white;
    }

    .menu-contacta-estilo {
        display: none;
    }

}
@media (max-width:  479px)  {

    .vdr_lateralWhats {
            z-index:  9999;
            right: 130px;
    		min-width: 76px;
            padding:  4px 26px !important;
            padding-left:  27px !important;
            display:  none !important;
            transform:  rotateY(0deg);
            opacity:  1;
            top: unset;
            transition: none;
            width: unset;
            height: 39px;
    }

    .vdr_lateralWhats .vdr_lateralWhats-close {
            display:  none;
    }

    .vdr_lateralWhats .vdr_lateralWhats-img {
            padding:  0px;
            margin-left: 0;
    }

    .vdr_lateralWhats .vdr_lateralWhats-img img {
            width:  100%;
    }

    .vdr_lateralWhats .vdr_lateralWhats-text {
            display:  none;
    }

}

@media(min-width: 600px) { }

@media(min-width: 982px) { }

@media (max-width: 1023px) { }

@media(max-width: 736px) { /* big phone */ }

@media (max-width: 600px) { }

@media (max-width: 385px) { }

@media (max-width: 1056px) { }

@media screen and (max-width: 580px) { }