/* Descripcio amb link */
.metodologia-agile-descripcio {
    padding-top: 42px;
    padding-bottom: 50px;
}

.metodologia-agile-descripcio p {
    font-size: 16px;
    line-height: 18px;
    margin-bottom: 14px;
}

.metodologia-agile-descripcio p:last-child {
    margin-bottom: 0;
}

/*Descarregables*/
.descarregables {
	display: flex;
    flex-wrap: wrap;
}
.descarregable > div {
	height: 100%;
    background-color: #3b31f5;
}
.descarregable p {
    margin: 0;
}

.descarregable {
    position: relative;
    margin-bottom: 30px;
}

.descarregable:nth-child(odd) .descarregable-imatge {
    background-color: #fff3b6;
}

.descarregable:nth-child(even) .descarregable-imatge {
    background-color: #febcbf;
}

.descarregable .descarregable-imatge {
   position: relative;
   min-height: 250px;
   transition: all ease .1s;
   will-change: background-color;
}

.descarregable:hover .descarregable-imatge {
    background-color: #3b31f5;
}


.descarregable .descarregable-imatge img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -webkit-backface-visibility: hidden;
    transition: all ease .1s;
    will-change: opacity;
}

.descarregable .descarregable-imatge .descarregable-imatge-hover img {
    opacity: 0;
}

.descarregable:hover .descarregable-imatge img {
    opacity: 0;
}

.descarregable:hover .descarregable-imatge .descarregable-imatge-hover img {
    opacity: 1 !important;
}

.descarregable .descarregable-text {
    /*position: relative;*/
    background-color: #3b31f5;
    color: white;
    min-height: 176px;
    height: 230px;
    padding: 14px 22px 48px;
    overflow: hidden;
}

@media only screen and (max-width: 1199px) and (min-width: 992px)  {
    .descarregable .descarregable-text {
        min-height: 196px;
        height: 230px;
    }
}


.descarregable .descarregable-text p:nth-child(1) {
    font-size: 26px;
    line-height: 26px;
    margin-bottom: 10px;
    font-weight: 700;
}

.descarregable .descarregable-text p:nth-child(2) {
    font-size: 16px;
    line-height: 18px;
    margin-bottom: 16px;
}


.descarregable .file img {
    display: none;
}

.descarregable .file a {
    color: white;
}

.descarregable .file a:before {
    font-family: 'icoajuntament';
    content: '\e944';
    color: white;
    position: relative;
    top: 1px;
    margin-right: 6px;
}

.descarregable .file a:hover:before {
    display: inline-block;
    text-decoration: none !important;
}


/* Mesura de govern */
.metodologia-agile-enllac { text-align: center; }
.metodologia-agile-enllac .field-type-link-field {
    width: auto;
    display: inline-block;
    padding: 12px 20px;
    margin-top: 28px;
    margin-bottom: 0;
}

/* Banner metodologia */
.metodologia-agile-banner-cat {
    background-color: #e4e3f1;
}

.metodologia-agile-banner-es {
    background-color: #fff3b6;
}

.metodologia-agile-banner-en {
    background-color: #febcbf;
}

.metodologia-agile-banner-cat img,
.metodologia-agile-banner-es img,
.metodologia-agile-banner-en img {
    margin: 0 auto;
}

.page-node-14 .field-type-file {
    display: none;
}


/*DEV*/
.field-collection-view-links {
    display: none;
}

@media only screen and (min-width:1024px) {

}

@media only screen and (min-width:768px) {

    .descarregable .descarregable-text {
       /* position: relative;*/
        /*padding-bottom: 0;*/
    }
    .descarregable .file {
        position: absolute;
        bottom: 20px;
    }
}

@media only screen and (max-width:767px) {
    .descarregable .descarregable-text {
        min-height: 160px;
    }
    .descarregable .file {
        position: absolute;
        bottom: 20px;
    }
}
