/*Theme Name:     Divi Child Paroisses
Theme URI:      https://www.elegantthemes.com/gallery/divi/
Description:    Divi Child Theme
Author:         Elegant Themes
Author URI:     https://www.elegantthemes.com
Template:       Divi
Version:        1.0.0
*/


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

/* GENERAL  */
#main-content .container:before {
    display: none;
}

p {
    font-size: 14px;
    line-height: 20px;
    font-weight: normal;
}

.back-btn {
    display: inline-block;
    padding: 8px 13px 6px 13px;
    border: 1px solid lightgray;
    margin-bottom: 20px;
    color: grey;
    transition: 0.3s;
}
.back-btn:hover {
    background: #024ca5;
    color: white;
    transition: 0.3s;
}

.container {
    width: 100%;
    max-width: 1088px;
}

.banner-title {
    width: 100%;
    max-width: 1088px;
    margin: 0 auto;
    color: #004ca5;
    font-size: 25px;
    line-height: 30px;
    margin-top: 25px;
}

.et_pb_slide_description .et_pb_slide_title {
    font-weight: bold;
    font-size: 45px;
}

.widget_text {
    margin-bottom: 0 !important;
}

/* HEADER */
#top-header {
    display: none;
}

#main-header {
    background: #113a69;
}

#et-top-navigation {
    padding-top: 0 !important;
    padding-left: 0 !important;
}

#et-top-navigation #top-menu li {
    padding-right: 0;
    float: left;
}

#et-top-navigation #top-menu li a {
    height: 90px;
    width: 100px;
    vertical-align: top;
    padding: 40px 8px 10px 8px;
    word-wrap: initial !important;
    text-align: center;
    color: white;
}

.header-title-container span {
    max-width: 350px;
    display: block;
}

#et-top-navigation #top-menu {
    min-height: 90px;
}

#et-top-navigation #top-menu li {
    height: 40px;
    overflow: hidden;
    transition: 0.3s;
}

#et-top-navigation #top-menu li:nth-child(1){
    background: #02DBED;
}

#et-top-navigation #top-menu li:nth-child(2){
    background: #0076FF;
}

#et-top-navigation #top-menu li:nth-child(3){
    background: #FFBA00;
}

#et-top-navigation #top-menu li:nth-child(4){
    background: #96D100;
}

#et-top-navigation #top-menu li:nth-child(5){
    background: #ae80e0;
}

#et-top-navigation #top-menu li:before {
    content: "";
    position: absolute;
    top: 7px;
    font-size: 21px;
    color: white;
    left: 50%;
    transform: translate(-50%, 0);
    width: 25px;
    height: 25px;
}

#top-menu li:nth-child(1):before {
    background: url(pictos/CONTACT.svg) no-repeat center center;
}

#top-menu li:nth-child(2):before {
    background: url(pictos/EGLISE.svg) no-repeat center center;
}

#top-menu li:nth-child(3):before {
    background: url(pictos/LIVRE.svg) no-repeat center center;
}

#top-menu li:nth-child(4):before {
    background: url(pictos/MAIN.svg) no-repeat center center;
}
#top-menu li:nth-child(5):before {
    background: url(pictos/CASQUE.svg) no-repeat center center;
}

#et-top-navigation #top-menu li:hover {
    height: auto;
    transition: 0.3s;
}

#logo {
    max-width: 130px;
    max-height: 75px;
    vertical-align: top;
    margin-top: 10px;
}

.header-title-container {
    display: inline-block;
    color: white;
    font-size: 24px;
    line-height: 27px;
    margin-left: 28px;
    font-weight: bold;
    vertical-align: top;
    margin-top: 20px;
}

.header-title-container span {
    max-width: 350px;
}

#secondary-nav {
    padding: 0 10px;
}

#secondary-menu li {
    display: inline-block;
    position: relative;
}

#secondary-menu li a {
    color: white;
    padding: 11px 8px;
    display: inline-block;
    font-size: 13px;
    line-height: 21px;
    font-weight: bold;
}

#secondary-menu .menu-item-has-children ul {
    position: absolute;
    bottom: 0;
    left: 0;
    background: white;
    transform: translateY(100%);
    border: 1px solid lightgray;
    display: none;
    width: 202px;
}
#secondary-menu .sub-menu li {
    display: block;
    width: 100%;
}


#secondary-menu .menu-item-has-children:hover ul {
    display: block;
}

#secondary-menu .menu-item-has-children ul li a{
    color: #103a68;
    position: relative;
    width: 100%;
}

#secondary-menu .menu-item-has-children ul li:last-child a:after {
    display: none;
}

#secondary-nav .searchform {
    position: absolute;
    right: 0;
    width: 130px;
    padding: 8px 0;
    bottom: 0;
    transition: 0.5s;
}

#secondary-nav .searchform.form-deployed {
    width: 100%;
}

#secondary-menu li a:hover {
    background: #185394;
    color: white !important;
}

#secondary-menu .menu-item-has-children ul li:last-child a:after {
    display: none;
}

#secondary-nav form input[type='text'] {
    border: none;
    border-radius: 20px;
    background: #EDEDED;
    height: 29px;
    padding: 8px;
    width: 100%;
    transition: 0.5s;
}

#secondary-nav form #searchsubmit {
    position: absolute;
    background: transparent;
    border: none;
    color: #F1935D;
    font-size: 16px;
    transform: rotate(90deg);
    right: 3px;
    top: 9px;
}

#et_mobile_nav_menu {
    position: absolute;
    top: 8px;
    left: -43px;
    width: 100%;
    z-index: -1;
}

.mobile_menu_bar:before {
    font-size: 40px;
    color: white;
}

#top-menu-nav {
    transform: translateX(10px);
}

@media (max-width: 1100px) {
    #logo {
        margin-left: 10px;
    }
}

@media (max-width: 980px) {

    #main-header {
        padding: 0 10px 0 50px;
    }
    #top-menu {
        display: block !important;
    }

    .menu-menu-secondary-container {
        display: none;
    }

    #et-top-navigation #top-menu li a {
        width: 60px;
    }
}
@media (max-width: 800px) {
    .header-title-container {
        font-size: 18px;
        margin-top: 10px;
        margin-left: 10px;
    }

    .header-title-container span {
        max-width: 250px;
    }

    #logo {
        max-height: 70px;
    }
}

@media (max-width: 700px) {
    #page-container {
        padding-top: 109px !important;
    }

    #secondary-nav .searchform {
        padding: 20px 15px 10px 15px;
        bottom: 0;
        transform: translate(10px, 100%);
        background: #f1935d;
        width: calc(100% + 60px);
    }

    #secondary-nav form #searchsubmit {
        right: 19px;
        top: 20px;
    }

    #et-top-navigation #top-menu {
        min-height: 60px;
    }

    #et-top-navigation #top-menu li:hover {
        height: 40px;
    }

    #logo {
        max-height: 60px;
    }

    #et-top-navigation #top-menu li a {
        width: 50px;
    }
}


@media (max-width: 600px) {
    .header-title-container {
        font-size: 14px;
        line-height: 1.3;
    }
    .header-title-container span {
        max-width: 170px;
    }

    #main-header {
        padding: 0 10px 0 40px;
    }

    #secondary-nav .searchform {
        padding: 20px 15px 10px 25px;
    }

    #logo {
        max-width: 45px;
        margin-left: 5px
    }

    #et-top-navigation #top-menu li a {
        width: 45px;
    }
}
@media (max-width: 500px) {
    .header-title-container span {
        max-width: 200px;
        margin-top: 35px;
    }

    #secondary-nav .searchform {
        padding: 30px 15px 10px 25px;
    }

    #secondary-nav form #searchsubmit {
        top: 30px;
    }
}

#calendar tr td,
#calendar .fc-axis {
    padding: 0;
}
#calendar table {
    margin: 0;
}

/* FOOTER */
footer {
    margin-top: 80px;
}

#footer-bottom {
    background-color: #024ca5;
    padding: 10px 20px 10px;
}

@media (max-width: 700px) {
    footer .container {
        padding-right: 0 !important;
    }
    footer .container .footer-contact-cta {
        bottom: auto !important;
        top: -24px;
        transform: translate(20px,-100%);
        width: calc(100% + 40px) !important;
        background: #003677 !important;
        padding: 18px 0 !important;
    }

    footer .container .footer-contact-cta img {
        margin: 0 10px 0 0 !important;
    }

    .menu-menu-social-container {
        display: block !important;
        margin-bottom: 12px !important;
    }

    #menu-menu-social {
        text-align: center;
    }

    #footer-info {
        float: none !important;
    }

    #footer-bottom {
        padding: 25px 20px !important;
    }
}

footer .container {
    padding-right: 130px;
}

footer .container .footer-contact-cta {
    display: inline-block;
    position: absolute;
    right: 0;
    bottom: -10px;
    width: 109px;
    padding: 25px 20px;
    background: #04dbed;
    color: white;
    text-align: center;
    font-size: 14px;
    line-height: 16px;
}

footer .container .footer-contact-cta img {
    margin-bottom: 10px;
}

.menu-menu-social-container {
    display: inline-block;
}

footer .social-icon {
    width: 32px;
    height: 32px;
    border: 1px solid white;
    border-radius: 50%;
    display: inline-block;
    margin-left: 2px;
    text-align: center;
}

footer .social-icon a {
    color: white;
    padding: 5px 5px;
    display: block;
}

#footer-info {
    float: right;
    padding: 5px 0 0 0;
    color: white;
}

#footer-info a {
    color: white;
    font-weight: normal;
}

/* SIDEBAR */
.sidebar-widget-infos {
    position: relative;
}

.sidebar-widget-infos:before {
    content: '';
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #96D100;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sidebar-widget-infos:after {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translatex(-50%);
    background: url(pictos/MISE_EN_AVANT.svg) no-repeat center center;
    width: 30px;
    height: 30px;
}

.sidebar-widget-infos a {
    border: 1px solid #FFFFFF;
    border-radius: 16px;
    color: white;
    padding: 5px 10px;
    display: inline-block;
}

.sidebar-sub-widget-infos a {
    color: black;
    position: relative;
    display: block;
    padding-right: 20px;
    font-weight: normal;
}

.sidebar-sub-widget-infos a:after {
    font-family: "Font Awesome 5 Pro";
    content: "\f105";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translatey(-50%);
    color: black;
    font-weight: 100;
    font-size: 22px;
}
/*
ul.sidebar-widget-social {padding-top: 30px;}
.sidebar-widget-social:before {
    content: '';
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #113a69;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sidebar-widget-social:after {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translatex(-50%);
    background: url(pictos/social30Fichier230.png) no-repeat center center;
    width: 30px;
    height: 30px;
}

.sidebar-widget-social a {
    border: 1px solid #FFFFFF;
    border-radius: 16px;
    color: white;
    padding: 5px 10px;
    display: inline-block;
}
*/

/* CONTENT BLOCKS */
.block-edito {
    position: relative;
}

.block-edito:before {
    content: 'Edito';
    position: absolute;
    left: 45px;
    top: 40px;
    font-size: 26px;
    text-transform: uppercase;
    font-family: inherit;
    font-weight: bold;
    color: #1F1F1F;
}

@media (max-width: 700px) {
    .block-edito {
        padding-top: 65px!important;
        padding-right: 35px!important;
        padding-bottom: 30px!important;
        padding-left: 35px!important;
    }

    .block-edito:before {
        left: 35px;
        top: 30px;
    }
}

/* POST LIST TYPE 1 */

.post-list-type-1 article {
    padding-left: 276px;
    margin-bottom: 28px;
}

.post-list-type-1 article .entry-featured-image-url{
    position: absolute;
    width: 260px;
    top: 0;
    left: 0;
}

@media (max-width: 1100px) {
    .post-list-type-1 article {
        padding-left: 216px;
    }

    .post-list-type-1 article .entry-featured-image-url{
        width: 200px;
        margin-bottom: 5px;
    }
}

@media (max-width: 650px) {
    .post-list-type-1 article {
        padding-left: 0;
        margin-bottom: 50px;
    }

    .post-list-type-1 article .entry-featured-image-url{
        position: relative;
        width: 100%;
    }
}

.post-list-type-1 article .entry-featured-image-url:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 75%;
    background: -moz-linear-gradient(top, rgba(0, 76, 165, 0.88) 3%, rgba(0, 76, 165, 0.44) 40%, rgba(0, 76, 165, 0.23) 58%, rgba(0, 76, 165, 0.18) 62%,rgba(0,76,165,0) 100%);
    background: -webkit-linear-gradient(top, rgba(0, 76, 165, 0.88) 3%, rgba(0, 76, 165, 0.44) 40%, rgba(0, 76, 165, 0.23) 58%, rgba(0, 76, 165, 0.18) 62%,rgba(0,76,165,0) 100%);
    background: linear-gradient(to bottom, rgba(0, 76, 165, 0.88) 3%, rgba(0, 76, 165, 0.44) 40%, rgba(0, 76, 165, 0.23) 58%, rgba(0, 76, 165, 0.18) 62%,rgba(0,76,165,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e0004ca5', endColorstr='#2e004ca5', GradientType=0);
    transform: rotate(180deg);
    z-index: 100;
}

.post-list-type-1 article .entry-title {
    font-size: 20px;
    line-height: 26px;
    color: #1F1F1F;
}

.post-list-type-1 article .post-meta {
    color:#1F1F1F;
    opacity:66%;
    font-size: 14px;
    line-height: 27px;
}

.post-list-type-1 article .post-content p {
    color:#1F1F1F;
    font-size: 14px;
    line-height: 17px;
}

/* SINGLE ARTICLE  */
#main-content .container:before {
    display: none;
}

.single-post .post-container {
    width: 822px;
    margin: 0 auto;
    max-width: 100%;
    padding: 0 30px;
}

.single-post .post-container h1 {
    color: #004ca5;
    font-size: 30px;
    text-align: center;
    line-height: 34px;
    margin-bottom: 20px;
    margin-top: 30px;
}

.single-post .post-date-container {
    text-align: center;
    height: 2px;
    background: grey;
}

.single-post .post-container .post-date {
    color: #004CA5;
    font-size: 14px;
    font-weight: bold;
    background: white;
    padding: 0 20px;
    display: inline-block;
    transform: translateY(-50%);
}


/* Related posts */
.related-posts {
    margin-bottom: 40px;
}

.related-posts h2 {
    font-size: 22px;
    line-height: 33px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.related-posts .related-single-post {
    width: calc(25% - 14px);
    display: inline-block;
    margin: 8px 6px;
    vertical-align: top;
}

.related-posts .related-single-post:last-child {
    margin-right: 0;
}

.related-posts .related-single-post a {
    display: block;
    position: relative;
    height: 156px;
}

.alpha-color-filter {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 156px;
    background: -moz-linear-gradient(top, rgba(0, 76, 165, 0.88) 3%, rgba(0, 76, 165, 0.44) 40%, rgba(0, 76, 165, 0.23) 58%, rgba(0, 76, 165, 0.18) 62%);
    background: -webkit-linear-gradient(top, rgba(0, 76, 165, 0.88) 3%, rgba(0, 76, 165, 0.44) 40%, rgba(0, 76, 165, 0.23) 58%, rgba(0, 76, 165, 0.18) 62%);
    background: linear-gradient(to bottom, rgba(0, 76, 165, 0.88) 3%, rgba(0, 76, 165, 0.44) 40%, rgba(0, 76, 165, 0.23) 58%, rgba(0, 76, 165, 0.18) 62%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e0004ca5', endColorstr='#2e004ca5', GradientType=0);
    transform: rotate(180deg);
}

.related-posts .related-single-post a .related-single-post-title {
    position: absolute;
    bottom: 40px;
    color: white;
    padding: 0 11px;
    line-height: 17px;
    font-weight: 600;
}

.related-posts .related-single-post a .related-single-post-date {
    position: absolute;
    bottom: 8px;
    color: white;
    padding: 0 11px;
    font-weight: 300;
}

@media (max-width: 700px) {
    .related-posts .related-single-post {
        width: calc(50% - 14px);
        display: inline-block;
        margin: 8px 6px;
        vertical-align: top;
    }
}

/* SEARCH */
.search article {
    width: 194px;
    display: inline-block;
    margin-right: 12px;
    vertical-align: top;
    margin-bottom: 15px;
}

.search article a {
    display: block;
    position: relative;
    height: 156px;
}

.search article a .post-title {
    position: absolute;
    bottom: 40px;
    color: white;
    padding: 0 11px;
    line-height: 17px;
    font-weight: 600;
}

.search article a .post-date {
    position: absolute;
    bottom: 8px;
    color: white;
    padding: 0 11px;
    font-weight: 300;
}


/* mini navigation */
.mini-navigation ul {
    list-style: none;
    padding: 0;
}

.mini-navigation li {
    list-style: none;
    padding: 0;
    margin: 0 2px 0 0;
    display: inline-block;
}

.mini-navigation a {
    padding: 7px 11px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    display: block;
}

.mini-navigation li.highlight {
    background: #fff;
    padding: 7px 11px;
    margin: 0 3px 0 0;
    color: #004ca5;
}

.mini-navigation li a.highlight,
.mini-navigation li a:hover,
.mini-navigation li a:focus,
.mini-navigation li a:active {
    background: #fff;
    color: #004ca5;
}

/* WIDGETS SIDEBAR */
.pb-0 {
    padding-bottom: 0;
}

.et_pb_widget_area_left {
    padding-right: 0;
    border-right: none;
}

.widget-sidebar {
    background: #ff626b;
    color: white;
    min-height: 200px;
    padding: 20px 25px 40px 25px;
    position: relative;
    margin-bottom: 70px;
}

.widget-sidebar:before {
    content: '';
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ff626b;
}

.widget-sidebar:after {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translatex(-50%);
    background: url(pictos/AGENDA.svg) no-repeat center center;
    width: 30px;
    height: 30px;
}


.widget-sidebar .widget-title {
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.widget-sidebar a.button-access {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    display: inline-block;
    background: white;
    color: #ff626b !important;
    border: 1px solid #ff626b;
    padding: 5px 15px;
    font-size: 15px;
}

.widget-sidebar-saint-jour {
    background: #04abff;
}

.widget-sidebar-saint-jour:before {
    background: #04abff;
}

.widget-sidebar-saint-jour a {
    color: #fff;
    border-bottom: 1px solid;
}

.widget-sidebar-saint-jour:after {
    background: url(pictos/TEXTE_JOUR.svg) no-repeat center center;
}

.single-agenda-entry {
    padding-bottom: 7px;
    margin-bottom: 7px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.38);
    display: flex;
}

.single-agenda-date {
    width: 75px;
    flex-shrink: 0;
    color: #ffffff;
    font-weight: bold;
    display: inline-block;
    vertical-align: top;
    text-align: right;
    margin-right: 8px;
    font-size: 12px;
    line-height: 16px;
}

.single-agenda-title {
    display: inline-block;
    vertical-align: top;
    width: calc(100% - 92px);
    font-size: 14px;
    color: #fff;
    line-height: 16px;
}

.parent-page-child-list{
    display:inline-block;
    max-width:210px;
    margin:10px;
    vertical-align:top;
}
.parent-page-child-list .et_pb_team_member_image{
    width:100%;
    margin:0 0 10px 0;
}

.evenement-template-default .banner {
    background: #ff626b;
}
.evenement-template-default .date-event {
    font-size: 18px;
    font-weight: 500;
    background: #565454;
    color: #fff;
    padding: 16px !important;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    span {
        display: inline-block;
        line-height: 1.35;
        margin-top: 2px;
    }

    &:last-child {
        margin-bottom: 24px;
    }

    & + .date-event {
        position: relative;
        &:before {
            content: '';
            position: absolute;
            top: 0;
            left: 20px;
            width: 50px;
            height: 1px;
            background: #ffffff;
            z-index: 1;
        }
    }
}

.evenement-template-default .lieu-event {
    background: #d8d8d8;
    color: #333;
    padding: 12px 16px 12px 52px;
    margin: -24px 0 15px 0;
    font-size: 15px;
    position: relative;
    svg {
        position: absolute;
        left: 17px;
    }
}

.evenement-template-default h1 {
    margin-bottom: 20px;
}

.home #mailpoet_form_1 {
    padding: 30px 35px;
    max-width: 500px;
    margin: 0 auto 130px auto;
    background: #efefef;
    border-radius: 17px;
}
.home #mailpoet_form_1 label {
    font-size: 14px;
}
.home #mailpoet_form_1 input[type="text"],
.home #mailpoet_form_1 input[type="email"] {
    width: 100%;
    height: 40px;
    border: 0;
}
.home #mailpoet_form_1 input[type="submit"] {
    max-width: 300px;
    width: 100%;
    height: 37px;
    font-size: 16px;
    border: 0;
    margin: auto;
    text-align: center;
    display: block;
}
.home #mailpoet_form_1 .mailpoet_paragraph {
    font-size: 12px;
}
.home #mailpoet_form_1 input[type="submit"]:hover,
.home #mailpoet_form_1 input[type="submit"]:focus,
.home #mailpoet_form_1 input[type="submit"]:active {
    cursor: pointer;
}


.ginput_container {
    margin-top: 0;
}
.ginput_container select,
.ginput_container textarea,
.ginput_container input[type=text],
.ginput_container input[type=email],
.ginput_container input[type=password] {
    width: 100%;
    padding: 16px !important;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    background: #fff;
    border: 1px solid #313131;
    color: black;
}
.ginput_container .gform_footer {
    text-align: right;
}
input[type=submit].gform_button {
    background: #0076FF;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    line-height: 21px;
    padding: 12px 20px !important;
    border: none !important;
    border-bottom: 2px solid black !important;
}
.gfield_label {
    display: block;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    line-height: 21px;
    margin-bottom: 5px;
}

.lepuy-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}
.lepuy-modal .modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px 40px 40px;
    max-width: 600px;
    width: 100%;
}
.lepuy-modal .modal-content .title {
    font-size: 22px;
    display: block;
    padding-right: 30px;
    margin: 0 0 30px 0;
    line-height: 28px;
}
.lepuy-modal .modal-content .close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.lepuy-modal .modal-content .close:hover,
.lepuy-modal .modal-content .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}