/* Copia saneada para el OAW (Divi-child/inc/css-oaw.php). Fuente: /wp-content/themes/Divi-child/css/ */
a.et_pb_button.button-w-b.button-redessa-white {
    background-image: linear-gradient(270deg,#000C68 50px,#fff 0px)!important;
    color: #000C68 !important;
    border: 0 !important;
}

a.et_pb_button.button-w-b.button-redessa-white:hover {
    transition: .5s;
    color: #fff !important;
    background-color: #000C68 !important;
}

a.et_pb_button.button-w-b.button-redessa-white:after {
    color: #fff !important;
}

.et_pb_gutters3 .cards-blurb .et_pb_column {
    margin-right: 0;
    width: 50%;
}

.cards-blurb .et_pb_blurb, 
.cards-blurb .et_pb_blurb_content {
    height: 100%;
}

.cards-blurb .et_pb_blurb_6.et_pb_blurb.et_pb_module, 
.cards-blurb .et_pb_blurb_7.et_pb_blurb.et_pb_module, 
.cards-blurb .et_pb_blurb_8.et_pb_blurb.et_pb_module {
    margin-left: auto !important;
}

.cards-blurb .et_pb_blurb_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.origens-container {
    background-position: center right !important;
    background-size: 50% 100% !important;
}

.origens-container .et_pb_blurb_container {
    width: 50% !important;
    padding-right: 50px !important;
    padding-left: 16px;
}

@media (max-width:980px){

    .et_pb_gutters3 .cards-blurb .et_pb_column {
        width: 100 !important;
    }

    .origens-container .et_pb_blurb_container {
        width: 100% !important;
        padding-right: 0 !important;
    }

    .origens-container {
        min-height: 525px;
        background-position: bottom center !important;
        background-size: 80% 50% !important;
    }

}

@media only screen and (max-width: 767px) {
    .origens-container {
        background-size: 100% !important;
    }
}

#datepicker > div {
    width: 100%;
}

.ajuts-single {
    background-color: white !important; 
    display: flex;
}

.ajuts-container {
    width: 100%;
}

.ajuts-banner {
    width: 20%;
}

.bald {
    font-weight: bold !important;
}

.ajuts-single-header {
    display: flex; 
    justify-content: space-between;
}

.ajuts_highlight {
    background-color: #34e0e0;
    width: fit-content;
    padding: 7px 12px !important;
    color: black;
}

.category_ajuts {
    background-color: #34e0e0;
    width: fit-content;
    padding: 0 5px;
    margin-top: 20px;
}

.info-table {
    border-collapse: collapse !important;
    font-family: sans-serif;
    width: 100%;
    border: none !important;
}

.info-table td {
    border: none !important;
    padding: 10px 0 !important;
}

.info-table-single td {
    border: none !important;
    padding: 10px 40px 10px 0px !important;
}

/* th de fila (OAW 1.4): mismo aspecto que la celda td anterior */
.info-table th.label-cell,
.info-table-single th.label-cell {
    border: none !important;
    background: none !important;
    text-align: start;
    font-weight: inherit;
    font-size: inherit;
    color: inherit;
}
.info-table th.label-cell { padding: 10px 0 !important; }
.info-table-single th.label-cell { padding: 10px 40px 10px 0 !important; }

.label-cell {
    vertical-align: top;
    width: 30%;
    position: relative;
}

.label-title {
    font-weight: bold;
    display: block;
}

.label-underline {
    width: 80%;
    height: 2px;
    background-color: #00d1c1;
    margin-top: 5px;
    position: absolute; 
    bottom: 0;
}

.full-label-underline {
    width: 90%;
    height: 2px;
    background-color: #00d1c1;
    margin-top: 5px;
    position: absolute; 
    bottom: 0;
}

.content-cell {
    padding: 10px;
    vertical-align: top;
}

.boto-organisme {
    margin-top: 50px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.link-organisme {
    font-weight: bold;
    background-color: #00215A;
    text-decoration: none !important;
    color: #fff;
    padding: 10px;
}

.ajuts-box {
    background-color: #00215A;
    color: white;
    text-align: center;
    padding: 40px 20px;
    width: 300px;
    font-family: Arial, sans-serif;
    border-radius: 5px;
    margin-top: 50%;
}
  
.ajuts-text {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.4;
}

.ajuts-box p {
    font-size: 20px;
}

.ajuts-button {
    display: inline-block;
    background-color: #00E7DF;
    color: #000c68; /* contraste AA sobre el turquesa (antes blanco, 1,55:1) */
    text-decoration: none;
    padding: 5px 20px;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.ajuts-button:hover {
    background-color: #00ccc3;
}

.ajuts-email {
    font-size: 16px !important;
    line-height: 1.2;
    word-break: break-word;
}

.select-search-ajuts {
    height: 50px; 
    border-radius: 5px !important; 
    border: solid 1px #bbbbbb !important;
    padding: 15px;
}

.button-search-ajuts {
    display: inline-block; 
    margin-top: 20px;
    text-align: left; 
}

.ajut-form {
    display: flex;
    align-items: self-end;
    justify-content: space-between;
}

.filter-ajuts {
    margin-top: 50px;
}

.single-table-ajuts {
    margin-top: 20px;
}

.ajut-single-title {
    font-size: 35px !important;
}

.ajuts-paginate .page-numbers {
    background-color: #34e0e0;
    color: #000c68;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    display: inline-block;
}

.ajuts-paginate .page-numbers:not(.current):hover {
    background-color: #000c68;
    color: #fff;
}

.ajuts-paginate .page-numbers.current {
    font-weight: bold;
    font-size: 110%;
}


@media (max-width: 531px) { 
    /* PAGE AJUTS */
    body.page-id-21250 .CTA-redessa .button-w-n.long-button .et_pb_button_wrapper {
        position: relative;
    }

    body.page-id-21250 .CTA-redessa .button-w-n.long-button .et_pb_promo_button {
        white-space: break-spaces;
    }

    body.page-id-21250.et_button_icon_visible .CTA-redessa .button-w-n.long-button .et_pb_button:after {
        position: absolute;
        right: 8px;
        top: 33%; /* centrar al mig (si es centra al mig) */
        margin-left: 0px !important;
    }

}

@media (max-width: 425px) {
    .ajuts-container .treball-box .emprese-box {
        width: 100% !important;
        padding-top: 75px;
    }
}

@media (max-width: 1040px) {body.page-id-22155 .special-back-blue h2,body.page-id-22155 .special-back-blue p:where(.redessa-blurb-h2){
        padding-left: 0;
    }
}

@media (max-width: 1300px) {   

    .ajuts-container,
    .ajuts-banner {
        width: 100%;
    }

    .ajuts-banner {
        margin-bottom: 3rem;
    }

    .ajuts-single {
        flex-direction: column;
        align-items: center;
    }

    .ajuts-banner .ajuts-box {
        margin: auto;
    }
    .ajuts-container table .content-cell {
        max-width: 90%;
        width: 100%;
        display: block;
        overflow-wrap: break-word;
    }

}

@media (max-width: 768px) {

    .go-back-button {
        width: 45vw !important;
    }

    .ajuts-single-header {
        flex-direction: column;
        justify-content: left;
    }
    
    .ajuts-container table td {
        display: block;
        max-width: 60%;
    }
}

/*
*
* Cluster d'enginyeries
*
*/

#formulari-adhesio {
    background-size: 45% 80%;
}

.cluster-gallery {
	border-radius: 27px;
}

.cluster-gallery .et_pb_gallery_items {
    /* GRID */
	display: grid;
	grid-template-columns: repeat(12, 1fr);

    /* SPACE BETWEEN ITEMS */
	gap: 4rem 2rem;

    /* SPACE ITEM */
	width: 100% !important;
}

.cluster-gallery .et_pb_gallery_item {
    /* REMOVE MARGIN DIVI */
    margin-right: 0 !important;
    margin: 0 !important;

    /* GRID COLS */
	grid-column: span 12;

    /* SPACE ITEM */
    height: auto !important;
    width: 100%;
}

.cluster-gallery .et_pb_gallery_item .et_pb_gallery_image {
    height: 100%;
    width: 100%;
}

.cluster-gallery .et_pb_gallery_item a {
	display: block;
	text-align: center;
	height: 100%;
}

.cluster-gallery .et_pb_gallery_item a img {
    max-width: 300px;
    height: auto;
}

/* OVERLAY HOVER */
.gallery-not-overlay .et_pb_gallery_image:hover .et_overlay {
    z-index: 0 !important;
    opacity: 0 !important;
}

.gallery-not-overlay .et_pb_gallery_image:hover a {
    cursor: default !important;
}
/* END OVERLAY HOVER */

@media (max-width: 768px) {
    #row-empreses-associacions .et_pb_text_inner p {
        font-size: 28px !important;
    }
}

@media (max-width: 980px) {
    #formulari-adhesio {
        background-image: none !important;
    }

    .et_pb_row .et_pb_column .et_pb_module.cluster-gallery:last-child {
        padding-bottom: 4rem;
    }
}

@media (min-width: 768px) {
    .cluster-gallery .et_pb_gallery_item {
        grid-column: span 4;
        /* REMOVE WIDTH FROM DIVI */
        width: 100% !important;
    }

    .cluster-gallery .et_pb_gallery_item a {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .cluster-gallery .et_pb_gallery_item a img {
        max-width: 100%;
        height: fit-content;
    }
}

@media (min-width: 992px) {
	.cluster-gallery .et_pb_gallery_item {
		grid-column: span 3;
	}
}

@media (min-width: 1200px) {
	.cluster-gallery .et_pb_gallery_item {
		grid-column: span 2;
	}
}

.cluster-associacions-gallery.et_pb_gallery_1 {
    border-radius: 27px 27px 0 0;
}

.cluster-associacions-gallery.et_pb_gallery_2 {
    border-radius: 0 0 27px 27px;
}

.special-back-blue.special-back-blue-black .et_pb_text_inner:before {
    background-color: #00215A;
}.special-back-blue.special-back-blue-black h2,.special-back-blue.special-back-blue-black p:where(.redessa-blurb-h2){
    color: white;
}

.button-w-n-hover-white a.et_pb_button:hover #incubadora-contact  {
    color: white !important;
    cursor: pointer;
}


.banner-home .et_pb_slides .et_pb_slide {
    padding: 0 !important;
}

.banner-home .et_pb_slide .et_pb_empty_slide {
    height: auto !important;
}

.banner-home .et_pb_slide .et_pb_empty_slide .et_pb_slide_image img {
    max-height: 100% !important;
    width: 100% !important;
}

.banner-home .et_pb_slide_description {
    display: none !important;    
}

@media (max-width: 767px) {
    .banner-home .et_pb_slide .et_pb_slide_image {
        display: block !important;
    }
}

html.et-fb-preview--desktop .banner-home {
    height: 700px !important;
    background-color: #eee;
}

@media (max-width: 768px) {
	#home-text {
		padding-top: 0 !important;
	}
	
.et_pb_section_6.et_pb_section.remove_padding_top {
		padding-top: 0px !important;
	}
	
}

.et_pb_fullwidth_menu_1_tb_header.et_pb_fullwidth_menu ul li a {
	
}.et_pb_fullwidth_menu_1_tb_header.et_pb_fullwidth_menu ul li a:not(#redessa-oaw):not(#redessa-oaw){line-height:16px}
/* BANNER HOME MOBILE 
 * SLIDER WITH IMAGE */
.banner-home .et_pb_slider {
	width: 100% !important;
}

.banner-home .et_pb_slide {
    padding: 0 0 !important;
}

.banner-home .et_pb_slide .et_pb_empty_slide {
    height: auto !important;
}

.banner-home .et_pb_slide .et_pb_empty_slide .et_pb_slide_image img {
    max-height: 100% !important;
	margin: 0 !important;
}

.banner-home .et_pb_slide_image {
	margin: 0px !important;
}

.banner-home .et_pb_slide_description {
    display: none !important;    
}

@media (max-width: 767px) {
    .banner-home .et_pb_slide .et_pb_slide_image {
        display: block !important;
    }
	.header-espai .et_pb_column {
        float: none;
    }
}