/*
Theme Name:     Pet Food Media
Description:    Plantilla de Pet Food Media. Child del tema Newspaper.
Author:         tagDiv / KS!
Template:       Newspaper
Version:        9.0c / 0.1 KS!
*/


/* Revisar aquesta condició */
body .td-header-mobile-wrap .tdc-row-is-sticky{
    background-color:#FFF!important;
}

body .td-crumb-container{
    display:none;
}

body .td-container.tdc-content-wrap{
    width: auto;
}

.pfm-menu-top{
    z-index:9999999;
}

.pfm-logo-empresa{

}

h1.tdb-title-text{
    color: #575757;
  font-size: 52px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
}


/* -------------- */
/* CLASES PRÒPIES */
/* -------------- */

/* Número de la pàgina sobre nosotros */
.pfm-number{
    font-size: 44px;
    margin-right: 5px;
}

/* llistat d'autors */
.pfm-author-list .authors-list-item-thumbnail img{
    border-radius:200px;
}

.pfm-author-list .authors-list-item{
    box-shadow: 0px 6px 16px 0px rgba(22,35,58,0.1);
    padding:25px;
}
.pfm-author-list .avatar{
    width:225px;
    margin:auto;
}


.pfm-author-list .authors-list-item p.pfm-bio{
    font-size: 15px;
    line-height:18px;
    margin-bottom:20px;
}

.pfm-author-list .authors-list-item-title a{
    color:#3c591e;
}

.pfm-author-list .authors-list-item-title a:hover{
    color:#5d2015;
}

.pfm-author-list .authors-list-item-link{
    display:none;
}

.pfm-author-list .td-read-more a{
    position:absolute;
    bottom:0;
    right:0;
    margin-bottom:0px;
    padding: 10px 20px;
    font-family: "Barlow";
    background-color: #b3a400;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}
.pfm-author-list .td-read-more a:hover{
    background-color:#5d2015;
}   

.pfm-author-list .td-read-more .tdm-btn-icon{
    font-size: 25px;
}

/* ---------------------------------- */
/* shortcode persones pàgina contacte */
/* ---------------------------------- */
.pfm-info-autor p{
    margin-bottom:5px; 
}

.pfm-info-autor span{
    word-wrap: break-word;
    width: 85%;
    display: inline-block;
    line-height:18px;
}

.pfm-info-autor a{
    color:#575757;
}

.pfm-info-autor a > i{
    color:#5d2015;
    margin-right:10px;
    vertical-align: top;
    margin-top:3px;
}

.pfm-info-autor a:hover{
    color:#5d2015;
}

/* ------- */
/* empresa */
/* ------- */
.pfm-pastilla-empresa{
    padding-bottom:50px;
}

body .pfm-pastilla-empresa h3{
    color:#3c591e;
}

.pfm-pastilla-empresa .pfm-pastilla-empresa-btn{
    position: absolute;
    bottom: 0;
    right:0;
}

.pfm-pastilla-empresa .tdb_module_read_more a{
    padding: 12px 24px;
    background-color: #b3a400 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

.pfm-pastilla-empresa .tdb_module_read_more a:hover{
    background-color: #5d2015 !important;
}

/* ------------- */
/* FITXA EMPRESA */
/* ------------- */
body.single-empresa .tdi_71,
body.single-empresa .tdi_74{
    /*padding-top:200px!important;*/
}
body.single-empresa .pfm-title-directory{
    padding-left:50px!important;
}
@media (max-width:1140px) {
    body.single-empresa .pfm-title-directory{
    padding-left:40px!important;
}
}
@media (max-width:1018px) {
    body.single-empresa .pfm-title-directory{
    padding-left:50px!important;
}
}
@media (max-width:768px) {
    body.single-empresa .pfm-title-directory{
    padding-left:00px!important;
}
}
body.single-empresa .pfm-title-directory h2 a{
    color:#575757;
    font-weight: bold;
    font-size:46px;
}

body.single-empresa .pfm-title-directory h2 a:hover{
    color:#3c591e;
}


body .responsive-tabs .responsive-tabs__list__item,
body .responsive-tabs .responsive-tabs__panel{
    border:0px;
}

body .responsive-tabs .responsive-tabs__list__item{
    text-transform: uppercase;
    font-weight: bold;
    font-size:20px;
    position: relative;
    padding-left:13px;
    color:rgb(153, 153, 153);
}

body .responsive-tabs .responsive-tabs__list__item:before{
    content: " ";
  width: 2px;
  background-color: rgb(153, 153, 153);
  display: inline-block;
  height: 24px;
  left: 0px;
  top:8px;
  position: absolute;
}

body .responsive-tabs .responsive-tabs__list__item--active,
body .responsive-tabs .responsive-tabs__list__item:hover{
    color:#3c591e;
}

body .responsive-tabs .responsive-tabs__list__item--active:before{
    background-color: #3c591e;
    width: 4px;
}

.pfm-caixa-empresa {
    box-shadow: 0px 6px 16px 0px rgba(22,35,58,0.3);
    padding:40px;
    margin-left:-45px;
    margin-top:30px;
    width:70%;
}

@media (max-width:1140px) {
    body .responsive-tabs ul.responsive-tabs__list{
        margin-left:55px!important;
    }
    .pfm-caixa-empresa {
        margin-left:0px;}
}
@media (max-width:1018px) {
    .pfm-caixa-empresa {
        width:100%;
    }
}

@media (max-width:767px) {
    .pfm-caixa-empresa {
        box-shadow: none;
        padding: 0px;
    }

    body .responsive-tabs .responsive-tabs__heading::after{
        border-top:10px solid #777;
        top:26px;
    }
    body .responsive-tabs .responsive-tabs__heading:hover::after{
        border-top:10px solid #FFF;
    }

    body .responsive-tabs .responsive-tabs__heading--active::after,
    body .responsive-tabs .responsive-tabs__heading--active:hover::after{
        border-bottom:10px solid #fff;
        border-top-color:transparent;
        top:16px;
    }

    body .responsive-tabs .responsive-tabs__heading--active,
    body .responsive-tabs .responsive-tabs__heading--active:hover,
    body .responsive-tabs .responsive-tabs__heading:hover{
        background:#3c591e;
        color:#FFF;
    }
}

body .pfm-caixa-empresa h2{
    text-transform: lowercase;
    font-weight: bold;
    color: #3c591e;
    font-size: 44px;
}

body .pfm-caixa-empresa h3{
    text-transform: uppercase;
    color: #b3a400;
    margin-top:0px;
    font-weight: bold;
    margin-bottom:10px;

}

.pfm-buit-empresa{
    height: 35px;
}

.pfm-caixa-empresa p{
    color:rgb(87,87,87);
    margin-bottom:5px;
}

.pfm-linea-empresa{
   background-color: rgba(22,35,58,0.3);
   margin-top:20px;
   margin-bottom:20px;
   height: 2px;
   display: block;
}

.pfm-caixa-empresa a{
    color:#575757;
}

.pfm-caixa-empresa a > i{
    color:#5d2015;
    margin-right:10px;
    vertical-align: top;
    margin-top:3px;
}

.pfm-caixa-empresa a:hover{
    color:#5d2015;
}

.play-video-empresa,
.play-video-empresa .play,
.play-video-empresa .galeta{
    background: url("images/iconnaVideo.png");
    background-repeat: no-repeat;
    background-position:center center;
    background-size: 95px 95px;
    position: absolute;
    z-index: 9999;
    height: 223px;
    width: 100%;
    display: block;
    top:0px;
    margin-bottom: 0px!important;
}

.play-video-empresa .galeta{
    background-size: cover;
}

body .pfm-pastilla-video-empresa h3{
    margin-top:0px!important;
    margin-bottom:10px!important;
    font-weight: bold;
    color:#575757;
}

body .pfm-pastilla-video-empresa .vc_row.wpb_row.td-pb-row.tdi_88 {
    padding-left:20px!important;
    padding-right:20px!important;
}


/* ----------- */
/* Logo Sticky */
/* ----------- */
.tdc-rist-top-active  .tdc-inner-column.td-pb-span3{
    padding-top:10px!important;
    padding-bottom:10px!important;
}
.tdc-rist-top-active .tdb-logo-a img{
    /*max-height:60px;*/
    width:auto;
}


/* ----------------------- */
/* AJUSTOS TAGDIV COMPOSER */
/* ----------------------- */

.td-gadgets-flex h2.td-block-title{
    margin-bottom:30px!important;
}

.td-gadgets-flex .td-module-container{
    padding-top:0px!important;
}

/* -------------------------------------------------------------- */
/* TABLE - ARTICLES                                               */
/* Estils de les taules que hi ha en els continguts de l'article. */
/* -------------------------------------------------------------- */
.td-single-jump table td{
    border-left:0px!important;
    border-right:0px!important;
}

.td-single-jump table tr td{
    border-bottom:1px dashed #575756!important;
    border-top:0px!important;
    padding-top:5px;
    padding-bottom:5px;
    font-size:0.9em;
}

.td-single-jump table tr:first-child td{
    border-bottom-color:#aba126!important;
    border-bottom-style:solid!important;
    color:#465927!important;
    font-weight:700!important;
}

/* ----------------------------- */
/* Ocultar Author box de UsersWP */
/* ----------------------------- */
body.single .uwp_widget_author_box{
    display:none;
}
