/*
Theme Name:	artpont
Theme URI:	https://www.artpont.fr
Description:	Theme enfant Divi pour artpont
Author:		Breizh Digital
Author URI:	http://www.breizhdigital.bzh
Template:	Divi
Version:	1.0.0
*/

@import url("../Divi/style.css");

/* Theme customization start here */

div.et_pb_section {
    padding: 14px 0;
}

div.et_pb_row {
    padding: 10px 0;
}

/*** Take out the divider line between content and sidebar ***/
#main-content .container:before {background: none;}
 
/*** Hide Sidebar ***/
#sidebar {display:none;}
 
/*** Expand the content area to fullwidth ***/
@media (min-width: 981px){
#left-area {
    width: 100%;
    padding: 23px 0px 0px !important;
    float: none !important;
}
}

.footer-widget .title {
text-align:center;
font-size:24px;
font-family: 'Calligraffitti',handwriting;
font-weight: 550;
padding-bottom: 20px !important;
}


/**** blog ***/


.single-post .bzhd_et_pb_row {
    margin-bottom: 0px!important;
    padding-right: 40px;
    padding-left: 40px;
}

.single-post div.bzhd_et_pb_row  {
    padding: 10px 0;
}
.single-post .bzhd_et_pb_row  {
    border-width: 1px;
    border-color: rgba(0,0,0,0.12);
}


.single-post .bzhd_et_pb_text_1 {
    background-image: linear-gradient(90deg,#ffffff 0%,rgba(255,255,255,0.2) 100%);
    margin-left: -70px!important;
    max-width: 700px;
}

.single-post .bzhd_et_pb_text_1 .entry-title {
    padding: 30px 0;
    line-height: 1.2em;
}

.single-post .bzhd_et_pb_section_0{
    background-image: url('img/calligraphy_61.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top right;
    padding-bottom: 25px;
}

.single-post p.post-meta {
    background-color: #faa23c;
    display: inline-block;
    padding: 10px;
    padding-bottom: 10px!important;
}

.single-post #left-area .post-meta a,#left-area .post-meta span.published{
    color:#ffffff;
    font-weight: bold;
}

.single-post .et_pb_post h2:after{
    content: '';
    width: 200px;
    height: 2px;
    background-color: #faa23c;
    display: block;
    margin: auto;
}

.single-post .et_pb_post h2{
    padding-bottom: 30px;
}

.single-post .entry-content {
    background-color: #ffffff;
    box-shadow: 0px -20px 70px -15px rgba(0,0,0,0.12);
    padding-top: 30px!important;
    padding-right: 12%!important;
    padding-bottom: 60px!important;
    padding-left: 12%!important;
    margin-top: 20px;
}

.single-post  h1,.single-post h2,.single-post h3 ,.single-post h4,.single-post h5 ,.single-post h6 {
    font-family: 'Prata', Georgia, "Times New Roman", serif;
    font-weight: 500;
}

@media screen and (max-width:981px) {

    .single-post .bzhd_et_pb_text_1 .entry-title {
        padding: 15px 0;
        font-size: 22px;
        line-height: 24px;
    }

    .single-post .bzhd_et_pb_text_1 {
        margin-left: -30px!important;
    }
}


/**** menu mobile ***/

/* Menu mobile "expand" pleine largeur qui s'ouvre sous l'entête */
@media only screen and (max-width: 980px) {
    .mobile_nav.opened .mobile_menu_bar:before {
        content: "\4d";
    }
    #main-header .container.clearfix.et_menu_container {
        width: 100%;
    }
    .logo_container {
        padding-left: 30px;
    }
    #et-top-navigation {
        padding-right: 30px;
    }
    #mobile_menu {
        display: block !important;
        right: 0;
        left: 0;
        top: 80px;
        min-height: calc( 100vh - 80px );
        transition: all .2s ease-in-out;
        transform-origin: center;
    }
    .mobile_nav.closed #mobile_menu {
        transform: rotateY(90deg);
        opacity: 0;
    }
    .mobile_nav.opened #mobile_menu {
        transform: rotateY(0);
        opacity: 1;
    }
}


/* Formulaire de contact */

.bzhd-form-contact .input, .bzhd-form-contact .input[type="checkbox"] + label i, .bzhd-form-contact .input[type="radio"] + label i {
    background-color: rgba(0, 0, 0, 0);
}

textarea.wpcf7-form-control.wpcf7-textarea.wpcf7-validates-as-required {

    color: #ffffff;
    font-weight: 600;

}

.bzhd-form-contact p {

    color: white;

}

.bzhd-form-contact .et_pb_button {
    color: #ffffff !important;
    border-width: 0px !important;
    border-color: transparent;
    letter-spacing: 1px;
    font-size: 12px;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    background: #faa23c;
}

.bzhd-form-contact .et_pb_button:hover, .bzhd-form-contact .et_pb_module .et_pb_button:hover {
    padding: .3em 1em;
    background: #fff;
}

.et_pb_button:hover {
    color: #1B2C3E !important;
}

.bzhd-form-contact .bzhd_select .wpcf7-form-control-wrap:before {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 0;
    height: 0;
    margin-top: 3px;
    border: 6px solid;
    border-color: #666 transparent transparent transparent;
    content: "";
    transform: translateY(-50%);
    pointer-events: none;
}

div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
    border: none;
    background-color: #fefefe;
    color: #09253d;
    border-radius: 0;
    font-weight: bold;
    font-size: 14px;
}

span.wpcf7-not-valid-tip {
    color: #ff4a4a;
    margin-top: 0.5rem;
}

div.wpcf7-mail-sent-ok {
    border: none;
    background-color: #fefefe;
    color: #09253d;
    border-radius: 0;
    font-weight: bold;
    font-size: 14px;
}

.bzhd-form-contact p.et_pb_contact_field {
    margin-bottom: 1rem;
}

.bzhd-form-contact .et_contact_bottom_container {
    float: right;
    margin-top: 0.5rem;
    text-align: right;
}

.bzhd-form-contact .wpcf7-list-item input[type="checkbox"] + .wpcf7-list-item-label:before {
    display: inline-block;
    position: relative;
    width: 18px;
    height: 18px;
    margin-right: 6px;
    background-color: #eee;
    font-style: normal;
    vertical-align: middle;
    content: "";
    box-shadow: 0px 2px 50px 0px rgba(83, 91, 124, 0.1);
    color: #ffffff;
    font-family: dashicons;
    line-height: 19px;
}

.bzhd-form-contact .wpcf7-list-item input[type="checkbox"]:checked + .wpcf7-list-item-label:before {
    background-color: #faa23c;
    color: #ffffff !important;
    font-family: dashicons;
    content: "\f147";
    height: 18px;
    width: 18px;
    font-size: 17px;
    font-weight: bold;
}

.bzhd-form-contact span.wpcf7-list-item-label {
    cursor: pointer;
}

.bzhd-form-contact span.wpcf7-list-item {
    display: block;
}

.bzhd-form-contact .label-bzhd-checkbox, .bzhd-form-contact .bzhd-label {
    font-weight: bold;
    display: block;
    font-size: 16px;
    margin-bottom: 0.5rem;
}

.bzhd-form-contact sup {
    color: #fff;
    bottom: 0.4em;
}

.bzhd-form-contact .et_pb_contact_field input {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.12);
    font-size: 16px;
    color: #ffffff;
    height: 50px;
    border: none;
}

.bzhd-form-contact.et_pb_contact p textarea {
    background-color: rgba(255, 255, 255, 0.12);
}

.bzhd-form-contact .input::placeholder, .bzhd-form-contact .wpcf7-textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Fin Formulaire de contact */



.bzhd-blog-home .et_pb_image_container {
    border: solid 1px #ccc;
    padding: 10px;
    background-color: #fff;
    /*
    margin-bottom: 0px;
    */
}

.bzhd-blog-home .et_pb_post .entry-featured-image-url {
    display: block;
    position: relative;
    margin-bottom: 0;
}

.bzhd-blog-home  .entry-title,.bzhd-title-blog .entry-title,.search-results .entry-title{
    border-left: solid 2px #fca14a;
    padding-left: 5px;
    padding-bottom: 0;
    margin-bottom: 10px;
}

.bzhd-title-blog a.more-link {
    background-color: black;
    padding: 5px 10px;
}

/*.bzhd-blog-home  .entry-title,.bzhd-blog-home .post-content{
    background-color: #ffffff;
    margin: -20px -20px;
    padding: 15px;
}

.bzhd-blog-home  .post-meta{
    background-color: #ffffff;
    margin: 0 -20px;
    padding:10px 15px!important;
}

.bzhd-blog-home  .et_pb_blog_grid .et_pb_post {
    background-color: transparent;

}*/

.bzhd-blog-home  .et_pb_image_container:before {
    background-image: url('img/calligraphy_61.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top right;
    content: "";
    width: 60px;
    height: 60px;
    display: block;
    display: block;
    position: absolute;
    right: -15px;
    top: -20px;
    z-index: 100;

}
/*** search ***/




/***Archive pages***/


/***Two columns for posts***/


/*Set the post width and margin for two columns and add the border*/

@media (min-width: 981px) {
    .search .et_pb_post {
        float: left;
        border: 5px solid #f5f5f5;
        width: 29.667%;
        margin-right: 5.5%;
    }

    /*Remove margin from every second post*/
    .search .et_pb_post:nth-child(3n) {
        margin-right: 0;
    }
}


@media (max-width: 980px) and (min-width: 576px) {
    .search .et_pb_post {
        float: left;
        clear: none;
        width: 47.25%;
        margin: 0 5.5% 7.5% 0;
        margin-bottom: 7.5%;
    }

    .search .et_pb_post:nth-child(2n+1){
        clear: both;
    }
    .search .et_pb_post:nth-child(2n){
        margin-right: 0;
    }

}


.search a.more-link {
    background-color: black;
    padding: 5px 10px;
    font-weight: 700;
    color: #ffffff!important;
}



.search-results .entry-title {
    font-family: 'Prata', Georgia, "Times New Roman", serif !important;
    font-weight: 700 !important;
    font-size: 16px!important;
    line-height: 1.3em!important;
}

.search-results .post-meta a, .search-results #left-area .post-meta span.published{
    font-weight: 600;
    font-size: 12px;
    color: #fca14a!important;
    line-height: 2em;
    text-align: left;
}

.search-results .pagination a {

    font-weight: 700;
    text-transform: uppercase;
    color: #000000 !important;
    letter-spacing: 2px;
}


.search-results .et_pb_blog_grid {
    margin-bottom:60px;
}

.search-results .et_pb_row {
    position: relative;
    width: 100%;
    max-width: 1080px;
    margin: auto;
}

.cr-cecile-borne span ::after{
    content:'©Cécile Borne';
    position:absolute;
    background-color:#000000;
    right: 0;
    color:#ffffff!important;
    bottom: 0;
    padding: 15px;
}
.cr-cecile-borne-top span ::after{
    top: 0;
    content:'©Cécile Borne';
    position:absolute;
    background-color:#000000;
    right: 0;
    color:#ffffff!important;
    padding: 15px;
}
#expo-cecile-borne-portail span ::after{
    content:'©Nedjma Berder';
    position:absolute;
    background-color:#000000;
    right: 0;
    color:#ffffff!important;
    bottom: 0;
    padding: 15px;
}
.cb-expo-photos .et_pb_main_blurb_image{
    margin-bottom: 0;
}
