/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* GENERAL */

#main {
    background-color: #faf9f8;
}

.content-area,
table td {
    border-color: #faf9f8 !important;
}

table td {
    border-bottom: 0px !important;
}

.single .entry-title {
    border-color: #faf9f8 !important;
}

.single-post .entry-title {
    letter-spacing: -3px !important;
    font-weight: 500 !important;
}

.single-post-title {
    font-family: 'Work Sans' !important;
    font-size: 25px !important;
    line-height: 44px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
}

a {
    text-decoration: underline;
}

a:hover {
    text-decoration: none !important;
}

a:focus {
    outline: none !important;
}

a.menu-link, a.site-search-toggle {
    text-decoration: none !important;
}

details>summary {
    display: block !important;
}

/* FILTRES */
.post-card__spacer.sb-spacer {
    height: 5px !important;
}

.ymc-container .filter-default-inner .filter-buttons .filter-button {
    background-color: #095c81 !important;
    font-size: 14px !important;
    padding: 5px 10px 5px 10px !important;
}

.ymc-container .filter-default-inner .filter-buttons .filter-button[data-termid="2340"] {
    background-color: rgb(6, 157, 226) !important;
}

.ymc-container .filter-default-inner .filter-buttons .is-active,
.ymc-container .filter-default-inner .filter-buttons .filter-button[data-termid="2340"].is-active {
    background-color: #000 !important;
}

/* .custom-filter-button {
    padding: 10px !important;
    color: white !important;
} */

button[data-termid="2406"],
button[data-termid="2407"],
button[data-termid="2408"],
button[data-termid="2409"] {
    width: 185px !important;
}

/* BLOCKS */

.wp-block-image img {
    border-radius: 5px;
}

.wp-block-button__link {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

body.page.content-max-width .entry .alignwide {
    margin-right: 0px !important;
}

.wp-block-buttons.alignwide {
    margin: 0px !important;
}

/* TABLEAUX */

table {
    margin-bottom: 0 !important;
}

table td {
    padding-left: 0 !important;
}

/* HEADER */

#site-header {
    border-bottom: 3px solid #f1f1f1 !important;
}

#site-header-inner {
    padding: 5px 20px 5px 10px !important;
}

#site-logo #site-logo-inner a img {
    width: 25%;
}

.ymc-container .filter-content .posts-grid .post-card .btn-primary {
    border-color: #fff !important;
}

.wpml-ls-slot-17 a,
.wpml-ls-slot-17 a:visited {
    background-color: #000 !important;
    color: #fff !important;
}

.wpml-ls-slot-17 a:hover {
    background-color: #095c81 !important;
}

.effect-one #site-navigation-wrap .dropdown-menu>li.wpml-ls-slot-17 a.menu-link:hover>span::after {
    visibility: hidden !important;
}

/* FOOTER */

#footer .wp-block-table td {
    border: 0 !important;
}

/* STICKY HEADER */

@media only screen and (min-width:1300px) {
    #site-header {
        position: sticky;
        top: 0px;
        /* Edit until it suits your header, mine was 32px */
        z-index: 2000;
        opacity: 1;
    }
}

/* FOOTER */

/* LOGO */

.footer-logo {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

@media screen and (max-width: 769px) {
    .footer-logo {
        flex-direction: column;
    }

    .img-logo-i3-wrapper {
        width: 42% !important;
        margin: 10px 0px !important;
    }

    .img-logo-cnrs-wrapper {
        width: 37.5% !important;
        margin: 10px 0px !important;
    }

    .img-logo-mines-wrapper {
        width: 48% !important;
        margin: 10px 0px !important;
    }

    .img-logo-polytechnique-wrapper {
        width: 53% !important;
        margin: 10px 0px !important;
    }

    .img-logo-telecom-wrapper {
        width: 50% !important;
        margin: 10px 0px !important;
    }
}

.footer-box.span_1_of_2.col.col-1 {
    width: 70%;
}

.img-logo-i3-wrapper {
    width: 12%;
}

.img-logo-cnrs-wrapper {
    width: 7.5%;
    margin-left: 10px;
}

.img-logo-mines-wrapper {
    width: 18%;
}

.img-logo-polytechnique-wrapper {
    width: 23%;
}

.img-logo-telecom-wrapper {
    width: 20%;
    margin-left: 10px;
}

/* Formulaire de contact */

.footer-box.span_1_of_2.col.col-2 {
    width: 30%;
}

#footer h2 {
    font-size: 20px !important;
    margin-bottom: 0px !important;
}

.footer-widget.widget_block.clr p {
    margin-bottom: 0px !important;
}

.wpforms-container.wpforms-container-full.wpforms-render-modern {
    margin: 0px;
}

#footer-widgets .footer-box .footer-widget {
    margin-bottom: 0px !important;
}

.wpforms-container .wpforms-field {
    padding: 5px 0 !important;
}

.wpforms-container input.wpforms-field-medium {
    max-width: 88% !important;
}

/* SEARCH */

.search-results article {
    border-bottom: 0 !important;
}

.custom-search-result-row {
    padding: 10px;
    ;
}

.custom-search-result-row:hover {
    box-shadow: 1px 1px 15px #dadada !important;
    cursor: pointer;
}

/* SEARCH PAGINATION */

.custom-search-pagination {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0 0;
    counter-reset: pagination-counter;
}

.custom-search-pagination .navigation .nav-links a {
    font-family: "Montserrat";
    font-size: 16px;
    font-weight: 400;
    color: #1f1f1f;
    text-decoration: underline;
    text-underline-offset: 3px;
    min-width: 40px;
}

.custom-search-pagination .navigation .nav-links a:hover {
    color: #095c81;
}

.custom-search-pagination .navigation .nav-links .page-numbers {
    font-family: "Montserrat";
    display: inline-block;
    text-align: center;
    border-radius: 0;
    min-width: 35px;
    font-size: 16px;
    line-height: 1;
    color: #1f1f1f;
}

.custom-search-pagination .navigation .nav-links .current {
    font-weight: 700;
}

/* MENUS */

#wrap .effect-one #site-navigation-wrap .dropdown-menu>li.current-menu-item a>span:after {
    visibility: visible;
    -moz-transform: scaleX(1);
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

/* .effect-one #site-navigation-wrap .dropdown-menu > li > a.menu-link > span::after {
    background-color: #095c81 !important;
}

.current-menu-item>a>span {
    color: #095c81;
} */

#site-navigation-wrap .dropdown-menu>li>a:focus {
    outline: none !important;
}

/* PAGINATION */

.pagination__item a:hover {
    color: #095c81 !important;
}

/* EQUIPE */

/* a.tag-facultatif {
    display: none !important;
} */

/* YMC */

/* POSTCARD */

/* GENERAL */

.post-card__column.sb-column {
    padding: 0 !important;
}

.ymc-container .filter-content .posts-grid .post-card .btn-middle {
    padding: 6px 0px !important;
}

.ymc-container .filter-content .posts-grid .post-card {
    background-color: #faf9f8;
}

.ymc-container .filter-content .posts-grid .post-card__title a {
    text-decoration: none !important;
}

.ymc-container .filter-content .posts-grid .post-card .btn-primary,
.ymc-extra-container .filter-content .posts-grid .post-card .btn-primary {
    background-color: #faf9f8;
    color: #1f1f1f;
    /* border-color: #fff; */
}

.ymc-container .filter-content .posts-grid .post-card .btn-primary:hover,
.ymc-extra-container .filter-content .posts-grid .post-card .btn-primary:hover {
    background-color: #faf9f8;
    color: #1f1f1f;
    text-decoration: none !important;
}

.custom-postcard {
    border: 1px solid #dadada !important;
    border-radius: 5px 5px 0 0 !important;
    padding: 0 !important;
    box-shadow: 1px 1px 5px #dadada;
    /* margin: 0 10px !important; */
}

.custom-postcard a {
    text-decoration: none !important;
}

.custom-postcard .sb-excerpt {
    padding: 0 10px 10px 10px !important;
}

.custom-postcard .sb-meta {
    padding: 0 10px 10px 10px !important;
}

.custom-postcard .sb-tags {
    padding: 0 10px 10px 10px !important;
}

.custom-postcard .sb-tags a {
    background-color: #095c81 !important;
    color: #fff !important;
    text-decoration: none !important;
}

.custom-postcard .sb-tags a:hover {
    background-color: #fff !important;
    color: #095c81 !important;
}

.custom-postcard h2 {
    padding: 5px 10px 5px 10px !important;
    margin-bottom: 0px !important;
    font-size: 16px !important;
}

.custom-postcard h3 {
    padding: 0 10px 10px 10px !important;
}

.custom-postcard h4 {
    padding: 0 10px 10px 10px !important;
    margin-bottom: 0px !important;
    text-transform: uppercase !important;
}

.custom-postcard img {
    transform: none !important;
    border-radius: 5px 5px 0 0 !important;
}

.custom-postcard img:hover {
    transform: none !important;
}

.custom-postcard:hover {
    box-shadow: 1px 1px 15px #dadada !important;
    cursor: pointer;
}

/* .custom-membre-row {
    padding: 0px 0px 20px !important;
} */

/* .custom-membre-row h2 {
    padding: 0px 0px 0px 10px !important;
    margin-bottom: 0px !important;
} */

/* .custom-membre-row h4 {
    padding: 0px 0px 0px 10px !important;
    margin-bottom: 0px !important;
    text-transform: uppercase !important;
} */

.custom-postcard span {
    /* padding: 0px 0px 0px 10px !important; */
    box-decoration-break: clone;
}

/* AXES THEMATIQUES */

/* TAGS LINK */

.custom-postcard .sb-tags a.innovation-responsable-color-tag-link,
h3.innovation-responsable-color-tag-link a {
    background-color: #fe7868 !important;
    color: #fff !important;
}

.custom-postcard .sb-tags a.action-creatrice-color-tag-link,
h3.action-creatrice-color-tag-link a {
    background-color: #32cace !important;
    color: #fff !important;
}

.custom-postcard .sb-tags a.innover-autrement-color-tag-link,
h3.innover-autrement-color-tag-link a {
    background-color: #ffffa0 !important;
    color: #095c81 !important;
}

.custom-postcard .sb-tags a.transition-ecologique-color-tag-link,
h3.transition-ecologique-color-tag-link a {
    background-color: #8bbfa2 !important;
    color: #fff !important;
}

.custom-postcard .sb-tags a.innovation-responsable-color-tag-link:hover,
.custom-postcard .sb-tags a.action-creatrice-color-tag-link:hover,
.custom-postcard .sb-tags a.innover-autrement-color-tag-link:hover,
.custom-postcard .sb-tags a.transition-ecologique-color-tag-link:hover {
    background-color: #fff !important;
    color: #095c81 !important;
}

.custom-postcard-responsable-axe {
    width: 70%;
}

/* TAGS NO LINK */

.custom-postcard .sb-tags span.innovation-responsable-color-tag-no-link {
    background-color: #fe7868 !important;
    color: #fff !important;
}

.custom-postcard .sb-tags span.action-creatrice-color-tag-no-link {
    background-color: #32cace !important;
    color: #fff !important;
}

.custom-postcard .sb-tags span.innover-autrement-color-tag-no-link {
    background-color: #ffffa0 !important;
    color: #095c81 !important;
}

.custom-postcard .sb-tags span.transition-ecologique-color-tag-no-link {
    background-color: #8bbfa2 !important;
    color: #fff !important;
}

/* VIGNETTES AXE SUR PAGE RECHERCHE */

/* Innovation responsable */
article.post-22081 {
    background-color: #fe7868 !important;
}

/* Innover autrement */
article.post-22084 {
    background-color: #ffffa0 !important;
}

/* Transition écologique */
article.post-22083 {
    background-color: #8bbfa2 !important;
}

/* Action créatrice */
article.post-22082 {
    background-color: #32cace !important;
}

/* No results found sur blog recherche */
.ymc-filter-23261 div.text,
.ymc-filter-23263 div.text,
.ymc-filter-23266 div.text,
.ymc-filter-23269 div.text {
    display: none;
}

/* display left de pas No results */
.filter-content div.text {
    text-align: left !important;
}

/* HOME */

/* Carousel */

.ymc-container .filter-content .posts-grid .post-layout_carousel.has-navigation-arrows {
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.ymc-container .filter-content .posts-carousel .swiper {
    padding-bottom: 80px !important;
}

/* Autre */

.home-link-all-news a.wp-block-button__link.wp-element-button {
    border: 0;
}

.home-link-all-news a.wp-block-button__link:hover {
    background-color: #faf9f8 !important;
}

/* EVENEMENT */

.evenement-date-month-year span {
    padding: 0 !important;
}

.custom-postcard div.custom-evenement-img>a>img.wp-post-image {
    border-radius: 0px 5px 0px 0px !important;
}

.evenement-date-wrapper {
    /* display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    width: fit-content !important;*/
    padding: 10px 5px 0px 10px;
}

.evenement-date-day {
    font-size: 36px !important;
    font-weight: bold !important;
    line-height: 1 !important;
    color: #323334 !important;
    flex-shrink: 0 !important;
    display: block !important;
    /* display: flex !important;
    align-items: center !important;
    justify-content: center !important; */
}

.evenement-date-month-year {
    display: flex !important;
    flex-direction: column !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
    color: #323334 !important;
    padding-top: 8px !important;
    flex-shrink: 0 !important;
}

.post-card__column div.post-card__acf-field {
    padding: 5px 10px 5px 10px !important;
}

/* Evenements TRIBE EVENT */

.tribe-common .tribe-common-c-btn-border,
.tribe-common a.tribe-common-c-btn-border {
    background: #095c81;
    border: none;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    height: auto;
    line-height: 16px;
    outline: none;
    padding: 12px 20px;
    min-width: fit-content;
}

.tribe-common .tribe-common-c-btn-border:hover,
.tribe-common a.tribe-common-c-btn-border:hover {
    background: #095c81 !important;
    opacity: .8 !important;
}

.tribe-events-content a,
.tribe-events-event-meta a,
.tribe-events-event-content a:visited {
    color: #095c81 !important;
    border-bottom: none !important;
}

.tribe-events-content a:hover,
.tribe-events-event-meta a:hover {
    color: #000 !important;
}

/* PAGE LIVRE */
.custom-page-livre-row .post-date {
    padding: 10px 10px 0 10px !important;
}

/****************/
/* MEMBRES ******/
/****************/

article.post-card .custom-membre-row a {
    text-decoration: none !important;
}

.statut,
.custom-membre-direction,
.custom-membre-axe {
    margin: 0 !important;
    font-size: 16px !important;
}

.custom-membre-statut {
    font-size: 16px !important;
}

.span-custom-membre-axe {
    padding: 0px 0px 0px 10px !important;
    font-size: 16px !important;
}

/****************/
/* RECHERCHE ****/
/****************/

a.show-abstract-project {
    font-family: "Work Sans" !important;
    margin-left: 0 !important;
    color: #333 !important;
    font-size: 100% !important;
    font-weight: 400 !important;
    line-height: 24px !important;
}

a.show-abstract-project:hover {
    color: #095c81 !important;
}

/*********************/
/* PUBLICATION ******/
/********************/

.post-card__tags.sb-tags .span-tag {
    background-color: rgb(255, 255, 255) !important;
    color: rgb(9, 92, 129) !important;
    padding: 5px 5px 5px 5px !important;
    border: 1px solid #ccc !important;
    margin: 0 5px 5px 0 !important;
}

/* FOOTER */

.footer-box.span_1_of_4.col {
    width: 33% !important;
}

.liens-directs-wrapper li {
    line-height: 16px;
}

.liens-directs-wrapper li a {
    color: #095c81 !important;
}

.reseaux-wrapper {
    display: inline-block;
}

.contacts-wrapper p {
    color: white;
    line-height: 12px;
    font-family: "Work Sans";
    font-weight: 200;
}

.contacts-wrapper p a {
    color: #095c81 !important;
}

.liste-diffusion-button {
    background-color: #000 !important;
}

body div.wpforms-container-full .wpforms-form button[type="submit"]:hover {
    background-color: #095c81 !important;
}

.table-copyright td {
    color: white;
}

#copyright {
    height: 120px !important;
    width: 100%;
}

#copyright div {
    display: inline-block;
}

.footer-logos-wrapper a {
    display: inline-block;
}

.footer-logos-wrapper img {
    height: 100px;
}

.copyright-wrapper {
    display: inline-block;
}

.aide-wrapper a {
    color: #095c81 !important
}