/*
 Theme Name:     Divi Child
 Theme URI:      https://www.agence-web-cvmh.fr
 Description:    Thème enfant Divi pour Paris Moscou
 Author:         CVMH solutions
 Author URI:     https://www.agence-web-cvmh.fr
 Template:       Divi
 Version:        1.0.0
*/

/*
Divi
 */
.et_pb_row{
    max-width:1200px;
}
.et_pb_gutters3 .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3 {
    width: 31.667%;
    margin-right: 2.5%;
}
.et_pb_gutters3 .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3 .et_pb_post,
.et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3 .et_pb_post {
    margin-bottom: 6.539%;
}

/*
Common
 */
.disable-select{
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
}

.no-padding{
    padding:0 !important;
}
.tooltip_templates {
    display: none;
}
.tooltip-content{
    font-size:12px;
}
.tooltip-content h3{
    font-size:14px;
    font-weight:700;
    padding:0;
}
.tooltip-content h4{
    font-size:12px;
    font-weight:700;
    padding:0 0 5px;
}
.tooltip-content .calendar-event-period{
    padding:5px 0 10px;
    font-weight:bold;
}
.tooltip-content .calendar-event-place-hours{
    padding:10px 0 5px;
}
.spinner{
    display:none;
    width:100%;
    height:100%;
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    text-align:center;
    background:rgba(255,255,255,0.9);
    z-index:9999
}
.spinner:before{
    display:inline-block;
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    content:'';
    background:url('img/spinner.gif') no-repeat;
    width:72px;
    height:72px;
}

.bordered-title h1,
.bordered-title h2{
    display:inline-block;
    font-size:40px;
}
.bordered-title.small-title h2{
    font-size:20px;
}
.bordered-title h1:after,
.bordered-title h2:after{
    content:'';
    display:block;
    width:calc( 100% + 20px );
    height:17px;
    background:rgba(226,150,72,0.5);
    margin:-12px 0 0 -10px;
}
.bordered-title.small-title h2:after{
    width:calc( 100% + 6px );
    margin:-7px 0 0 -3px;
}

.no-bullet ul{
    list-style-type: none;
    padding-left:0;
}
.arrow-links.small li{
    line-height:1em;
}
.arrow-links a{
    text-transform:uppercase;
    text-decoration: underline;
    font-weight:700;
    color:#fff;
}
.arrow-links.small a{
    text-transform:none;
    text-decoration: none;
    font-weight:400;
}
.arrow-links.orange a{
    color:#262626;
}
.arrow-links a:before{
    content:'';
    display:inline-block;
    width:24px;
    height:24px;
    background:url('img/fleche-blanche.png') 0 0 no-repeat transparent;
    vertical-align: middle;
    margin-right:10px;
}
.arrow-links.small a:before{
    width:16px;
    height:16px;
    background:url('img/fleche-blanche.png') 0 0 no-repeat transparent;
    margin-right:5px;
}
.arrow-links.orange a:before{
    background:url('img/fleche-orange.png') 0 0 no-repeat transparent;
}
.arrow-links.orange.small a:before{
    background:url('img/fleche-orange-small.png') 0 0 no-repeat transparent;
}

.wp-pagenavi{
    border:none;
    text-align:center;
}
.wp-pagenavi span,
.wp-pagenavi a{
    display:inline-block;
    border:1px solid #a41f22 !important;
    margin:0 0 0 -1px;
    width:40px;
    height:45px;
    line-height:35px;
    font-weight:700 !important;
    color:#a41f22;
    font-family: 'Montserrat';
}
.wp-pagenavi .nextpostslink,
.wp-pagenavi .previouspostslink{
    color:#a41f22 !important;
}
.wp-pagenavi a:hover,
.wp-pagenavi span.current{
    background:#c13642;
    color: #fff !important;
}

/*
Header, navigation
 */
.et_header_style_split .et-fixed-header .centered-inline-logo-wrap{
    display:none !important;
}
.nav li ul {
    visibility: hidden;
    z-index: 9999;
    position: fixed;
    width: auto;
    /*left: 50%;*/
    padding: 0 20px;
    text-align: center !important;
    border: none;
    background: #7bc5f7;
    box-shadow: none;
}
#top-menu li,
#top-menu li li {
    padding:0;
}
#top-menu li li a {
    text-transform: none;
    font-weight: 400;
    width:auto;
    padding: 14px 9px;
}
#top-menu li li ul {
    top: 56px;
    left: auto;
    right:0;
}
.et_header_style_split #et-top-navigation {
    padding:0!important;
}
.et_header_style_split #top-menu{
    font-size:0;
}
.et_header_style_split #et-top-navigation nav > ul > li > a{
    padding:38px 10px;
}
#top-menu .menu-item-has-children > a:first-child::after{
    display:none;
}
#top-menu .menu-item-has-children > a:first-child{
    padding-right:10px;
}
#top-menu-nav > ul > li:hover > a{
    background:#c13642;
    opacity:1;
    color:#fff !important;
}
#main-header .nav li ul a{
    color:#fff !important;
}
#top-menu-nav > ul > li.current-menu-item:before,
#top-menu-nav > ul > li > a:before{
    content:'';
    display:block;
    width:100%;
    height:9px;
    background:#e29648;
    position:absolute;
    top:0;
    left:0;
}
#top-menu-nav > ul > li > a:before{
    opacity:0;
    -webkit-transition: opacity .4s ease-in-out;
    -moz-transition: opacity .4s ease-in-out;
    transition: opacity .4s ease-in-out;
}
#top-menu-nav > ul > li:hover > a:before{
    opacity:1;
}

/*
Footer
 */
#footer-bottom{
    padding:30px 0;
}
#footer-info{
    float:none;
    text-align:center;
    padding:0;
}
#footer-info a{
    font-weight:400;
}

/*
Homepage
 */
#logo-home{
    position:absolute;
    width:100%;
}
#logo-home .et_pb_title_featured_container img{
    width:auto;
}

/*
Blog grid
 */
.et_pb_blog_grid .et_pb_post{
    border-color:#fff;
}
.event-period{
    position:relative;
    background:#fff;
    margin:-60px 0 0 -20px;
    text-transform: uppercase;
    font-size:11px;
    font-weight:700;
    color:#e29648;
    float:left;
    padding:5px 20px;
}
.et_pb_blog_grid .et_pb_post h2{
    padding-bottom:20px;
}
.et_pb_blog_grid .et_pb_post h2 span{
    display:block;
    font-size:13px;
    font-weight:400;
}
.et_pb_blog_grid .et_pb_post p{
    color:#262626;
    font-size:12px;
    line-height:normal;
    margin-bottom:20px;
}
.et_pb_blog_grid .et_pb_post h3{
    font-size:18px;
    padding-bottom:5px;
}
.et_pb_blog_grid .et_pb_post .more-link{
    display:inline-block;
    font-weight:700;
    text-transform: uppercase;
    color:#fff;
    background:#e29648;
    padding:15px 40px;
    margin:5px 0;
}

/*
Sidebar
 */
#main-content .container:before {
    background: none;
}
#sidebar {
    display:none;
}
@media (min-width: 981px){
    #left-area {
        width: 100%;
        padding: 23px 0px 0px !important;
        float: none !important;
    }
}

/*
Evènement (article)
 */
.single .et_pb_post{
    padding:0;
    margin:0;
}
.et_pb_post .entry-content{
    padding:0;
}
.fullwidth_section.pink{
    background-color:#b73440;
    background-size:50%;
    background-repeat:no-repeat;
    background-position-y: center;
    /*min-height:485px;*/
}
.fullwidth_section .et_pb_equal_columns{
    max-width:100%;
    width:100%;
    padding:0;
    display: flex;
}
.event-header.et_pb_column_1_2{
    max-width:600px;
}
.event-header{
    padding:30px;
}
.event-meta{
    font-family: 'Barlow';
    font-size:18px;
    font-weight:700;
    color:#f9f9f9;
}
.event-meta img{
    margin-right:20px;
    vertical-align: middle;
}
.event-main-infos{
    padding:50px 0 75px 75px;
}
.single .event-period{
    position:static;
    background:#e29648;
    margin:0;
    font-size:12px;
    color:#f9f9f9;
    float:none;
    padding:12px 20px;
    display:inline-block;
}
.event-title{
    font-size:40px;
    color:#fff;
    padding:15px 0;
}
.event-main-infos > p{
    font-size:11px;
    color:#fff;
    line-height:15px;
}
.event-place-and-hours{
    font-size:13px;
    color:#f9f9f9;
    line-height:normal;
    border-top:1px solid #fff;
    margin:25px 25px 0 0;
    padding-top:15px;
}

.calendar-back-link{
    font-weight: 700;
    text-transform: uppercase;
    line-height: 48px;
    background-color: #e29648;
    height: 48px;
    padding-top: 16px!important;
    padding-right: 25px!important;
    padding-bottom: 15px!important;
    padding-left: 25px!important;
    max-width: 275px;
    color:#fff;
}
.calendar-back-link > img {
    margin-right:15px;
    vertical-align:middle!important;
}

.event-content-wrapper {
    margin: auto;
    overflow: hidden;
    max-width: 1200px;
}
.event-content .et_pb_column_1_3{
    float:right;
    margin-right:0;
}
.event-content .et_pb_column_2_3{
    float:left;
}
.event-content h2{
    font-size:18px/*25px*/;
    font-weight:700;
    padding-bottom:15px;
}
.event-content-description {
    margin-bottom:30px;
    font-size:13px;
    line-height:16px;
}
.event-distribution{
    padding:0 35px;
    margin-bottom:50px;
}
.event-distribution h2{
    font-size:18px;
    padding:0;
}
.event-distribution p{
    font-size:13px;
}
.event-infos{
    background:#eeeeee;
    padding:35px;
    font-size:13px/*18px*/;
}
.event-infos h2{
    font-size:18px;
}
.event-content .bloc-invitations{
    margin-top:50px !important;
    max-width:400px;
}

/*
Catégorie
 */
.category .et_pb_section{
    background:#eee;
}

/*
Annuaire
 */
.tax-categorie #main-content{
    background:#eee;
    overflow: hidden;
}
.tax-categorie .bordered-title{
    margin-bottom:50px;
}
.tax-categorie #main-content article{
    border-bottom:1px solid #ccc;
    padding-bottom:20px;
    margin-bottom:20px;
}
.tax-categorie #main-content article:last-child{
    border:none;
}
.tax-categorie h3{
    margin:10px 0 5px;
    padding:0;
    font-size: 1em;
    font-weight:700;
}
.tax-categorie .file-item{
    margin:5px 0;
}
.tax-categorie .file-item img{
    width:24px;
    vertical-align:middle;
}
.tax-categorie .file-item span{
    width:24px;
    text-decoration:underline;
}

/*
Calendrier
 */
#events-calendar-filters{
    text-align:center;
}

.cat-filter{
    display:inline-block;
    margin-right:35px;
    position: relative;
    background-color: #eee;
    overflow: hidden;
    vertical-align:top;
}
.cat-filter select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 110%;
    height: auto;
    border: 0;
    margin: 0;
    padding: .6em 1em;
    border-radius: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    background:none;
    font-size:18px;
    outline:0;
}
.cat-filter option{
    font-size:13px;
}
.cat-filter:after {
    content: '\f078';
    font-family:'fontawesome';
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 40px;
    height: 47px;
    line-height:47px;
    pointer-events: none;
    background:#c13642;
    color:#fff;
    font-size:23px;
}

.month-filter{
    width:57%;
    display:inline-block;
}
.month-filter ul{
    font-size:0;
}
.month-filter li{
    display:inline-block;
    font-size:18px;
    text-align:center;
    width:33.33%;
    height:47px;
    background:#eeeeee;
    line-height:2.7em;
    position:relative;
    text-transform: capitalize;
    cursor:pointer;
    border-left:1px solid #262626
}
.month-filter li:first-child{
    border-left:0;
}

.month-filter li.active{
    font-weight:700;
    color:#fff;
    background:#c13642;
    cursor:default;
    border-left:0;
}
.month-filter li.active+li{
    border-left:0;
}
.month-filter li.active:after{
    content: '';
    position: absolute;
    left: calc( 50% - 15px );
    bottom:-15px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #c13642;
    clear: both;
}

.month-nav{
    display:inline-block;
    font-size:0;
    margin-left:35px;
}
.month-nav .prev-months,
.month-nav .next-months{
    display:inline-block;
    font-size:23px;
    width:75px;
    height:47px;
    text-align:center;
    background:#eeeeee;
    line-height:2em;
    cursor:pointer;
}
.month-nav .prev-months{
    border-right:1px solid #262626;
}

#events-calendar table{
    margin:0;
    border-top:0;
    border-collapse:collapse;
    width:100%}
#events-calendar table tr th{
    padding:15px 0 25px;
    font-weight:400;
    font-size:18px;
    text-align:center;
    text-transform:uppercase;
    color:#262626;
}
#events-calendar table tr th span{
    font-size:0;
}
#events-calendar table tr td{
    padding:15px;
    border:2px solid #eeeeee;
    font-size:11px;
    background:#ffffff;
    width:14.28%;
    height:165px;
    vertical-align:top;
}
#events-calendar table tr td > span{
    display:block;
    font-size:18px;
    font-weight:700;
    text-align:right;
}
#events-calendar table tr td.other-month{
    background:#d4d4d4;
}
#events-calendar table tr td.has-events{
    background:#c13642;
    color:#fff;
}
#events-calendar table ul{
    list-style-type:none;
    padding:0;
}
#events-calendar table ul li,
#events-list-mobile li {
    line-height:1.2em;
    padding:7px 0 10px;
    border-top:1px solid rgba(255,255,255,0.5);
}
#events-calendar table ul li:first-child,
#events-list-mobile li:first-child{
    padding-top:0;
    border:none;
}

#events-calendar table a{
    color:#fff;
}
#events-calendar table tr td.has-events:after {
    display:none;
    content: '';
    height: 8px;
    width: 8px;
    padding: 0;
    border-radius: 50%;
    background-color: #fff;
    margin:0 auto;
}
#events-list-mobile{
    display:none;
    padding-top:30px;
}
#events-list-mobile h2{
    padding-bottom:20px;
}
#events-list-mobile ul{
    list-style-type: none;
    padding:0;
}
#events-list-mobile li{
    border-top:1px solid rgba(0,0,0,0.1);
    padding:20px 0;
}
#events-list-mobile h3{
    padding-bottom:5px;
    color:#c13642;
}
#events-list-mobile .calendar-event-period {
    padding:10px 0;
}
#events-list-mobile h4{
    padding-top:15px;
}
#events-list-mobile .calendar-event-place-hours {
    padding-bottom:15px;
}

/*
Page
 */
.page .entry-content .et_pb_section,
.post-type-archive-annonce #main-content .et_pb_section.main-section,
.single-annonce #main-content .et_pb_section.main-section{
    background:#eeeeee!important;
}

/*
Single annonce
 */
.single-annonce #main-content .container{
    padding:0;
}
.single-annonce .bordered-title{
    float:left;
}
.single-annonce .arrow-links{
    float:right;
}
.single-annonce .entry-content{
    clear:both;
}

/*
CF7
 */
.wpcf7-text,
.wpcf7-email,
.wpcf7-textarea,
.wpcf7-select{
    padding:15px!important;
    font-size:14px!important;
    font-family: "Open Sans",Arial,sans-serif!important;
    width:100%;
}
.half-width-field{
    float:left;
    margin:10px;
    width:calc( 50% - 20px );
}
.full-width-field{
    clear:both;
    margin:10px;
    width:calc( 100% - 20px);
}
.wpcf7-submit{
    padding:15px;
    border:0;
    background:#c13642;
    color:white;
    font-size:16px;
    margin:10px;
    font-weight:700;
    cursor:pointer;
}
.wpcf7-submit:hover{
    opacity:.7;
}
.wpcf7-form details {
    padding:20px 10px;
    font-size:0.85em;
    color:#888;
    line-height:11px;
}
.wpcf7-form details summary {
    padding-bottom:7px;
    cursor:pointer;
}

/*
Annonces
 */
.post-type-archive-annonce h1.bordered-title{
    float:left;
}
.btn-publier-annonce,
.single-annonce details.reponse-annonce > summary{
    font-weight:700;
    text-transform:uppercase;
    line-height:35px;
    background-color:#e29648;
    height:48px;
    padding-top:7px!important;
    padding-right:25px!important;
    padding-bottom:7px!important;
    padding-left:25px!important;
    max-width:160px;
    color:white;
    cursor:pointer;
    margin-bottom:30px;
}
.btn-publier-annonce{
    float:right;
    max-width:290px;
    margin-bottom:0;
}
.btn-publier-annonce i,
.single-annonce details.reponse-annonce > summary i{
    display: inline-block;
    width: 45px;
}
.btn-publier-annonce i:before,
.single-annonce details.reponse-annonce > summary i:before{
    font-size:35px;
}
.single-annonce details.reponse-annonce {
    margin-top:30px;
}

.compteur-annonces{
    clear:both;
    padding:30px 0;
}
.post-type-archive-annonce article{
    margin:0;
    padding:20px 70px 20px 20px;
    -webkit-transition: opacity .4s ease-in-out;
    -moz-transition: opacity .4s ease-in-out;
    transition: opacity .4s ease-in-out;
    position:relative;
    border-top:1px solid #ccc;
}
.post-type-archive-annonce article:first-child{
    border-top:none;
}
.post-type-archive-annonce a:after{
    font-family:dashicons;
    content:"\f179";
    font-size:50px;
    width:50px;
    height:50px;
    position:absolute;
    top:50%;
    right:20px;
    transform:translateY(-25px);
    line-height:1;
    cursor:pointer;
    color:#e29648;
}
/*.post-type-archive-annonce article:nth-child(even){
    background:white;
}*/
.post-type-archive-annonce article:hover{
    opacity:.5;
}

/*
Responsive
 */

@media (max-width: 768px){
    .cat-filter{
        margin-right:0;
        margin-bottom:20px;
    }
    .month-filter {
        width: 100%;
    }
    .month-nav{
        margin:0;
    }
    #events-calendar table tr th {
        font-size:0;
        padding:0;
    }
    #events-calendar table tr th span {
        font-size:12px;
        font-weight:700;
    }
    #events-calendar table tr td {
        height:45px;
        padding:5px 0;
        cursor:pointer;
    }
    #events-calendar table tr td > span{
        font-size:16px;
        text-align:center;
    }
    #events-calendar table tr td ul {
        display:none;
    }
    #events-calendar table tr td.has-events:after {
        display:block;
    }
    #events-list-mobile{
        display:block;
    }
}