/*
 Theme Name:   Soledad Child Theme
 Theme URI:    http://pencidesign.com/
 Description:  Soledad Child Theme - Made by PenciDesign
 Author:       Pencidesign
 Version:      1.0
 Author URI:   http://pencidesign.com/
 Template:     soledad
 Text Domain:  soledad
*/

/* = Theme customization go here

-------------------------------------------------------------- */

.c31-habillage a{
    position:absolute;
    left:0;top:0;right:0;bottom:0;
    background:url(/wp-content/themes/soledad-child/images/habillage.jpg) center top no-repeat;
}
body.habillage-fixed .c31-habillage a{
    position:fixed;
    background-position:center bottom;
}

body.home.has-habillage-fixed.page-template #main{
    margin-top:-1080px;
}

.c31-habillage {
    width:100%;
    height:1300px;
    position:relative;
}

.c31-habillage + .container {
    margin-top:-1080px;
}

@media screen and (max-width: 1000px) {
    .c31-habillage a{
        background:url(/wp-content/themes/soledad-child/images/habillage-mobile.jpg) center top no-repeat;
        background-size:100%;
    }
}

@media screen and (max-width: 530px) {
    body.home.has-habillage-fixed.page-template #main{
        margin-top:-1210px;
    }
}

.widget_culture31_videos p{padding: 0 0 0 4px;}
.widget_culture31_videos .button-play{position:relative;border:3px solid #fff;text-align:center;position:relative;margin:0 0 10px 0;padding:0;border-radius:4px;overflow:hidden;box-shadow:0 0 1px #ccc;min-height:144px;background-size:cover;}
.widget_culture31_videos .button-play a{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);transition:all .4s linear;}
.widget_culture31_videos .button-play a:hover{transform:translate(-50%,-50%) scale(0.9);}
.widget_culture31_videos .button-play img.button{display:block;margin:auto;}
.widget_culture31_videos .button-play span.title{padding:10px 0 0 0;display:block;position:relative;font-weight:bold;color:#fff;text-shadow:1px 1px 1px #000;font-size:16px;}
.widget_culture31_videos a{transition:color .4s linear;color:#dd3333}
.widget_culture31_videos a img{
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter:grayscale(100%);
    filter:gray;
    transition:filter .2s linear;
}

#event-form textarea, #event-form input[type="text"], #event-form select ,#event-form input[type="submit"]{
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    width: 100%;
    display: block;
}
#em-location-data table.em-location-data ,#event-form #event-name {
    width: 100%;
}

#event-form input[type="submit"] {
    background: #ad1f31;
    color: #fff;
    cursor: pointer;
}
#event-form select[multiple]{
    display: inline-block;
    width: 100%;
    padding: .375rem 1.75rem .375rem .75rem;
    line-height: 1.5;
    color: #495057;
    vertical-align: middle;
    background: #fff url(data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E) no-repeat right .75rem center;
    background-size: 8px 10px;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.single-culturebuzz  article.post .post-entry p , .single-culturebuzz  article.post .post-entry ,
.single-event  article.post .post-entry p , .single-event  article.post .post-entry

{
    font-size: 19px;
}
.single-culturebuzz .container-single .header-standard , .single-culturebuzz .container-single .header-standard .post-box-meta-single
,.single-event .container-single .header-standard , .single-event .container-single .header-standard .post-box-meta-single{
    text-align: center ;
}
.linkspace {
    color: #ad1f31 !important ;
}
.read-more-content-hidden {
    display: none;
}
.penci-readmore-btn {
    color: #ad1f31;
    cursor: pointer;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    line-height: inherit;
}
.penci-readmore-btn:hover {
    opacity: 0.7;
}
.espaces_dedies_logo {
    width: 80%;
    height: auto;
    max-width: 80%;
}
.penci-media-carousels .penci-media-title {
    font-size: 16px;
    text-align: center;
}
.penci-media-carousels .penci-media-desc * {
    font-size: 14px;
}
.penci-media-carousels .penci-media-desc b,
.penci-media-carousels .penci-media-desc:not(.with-bold) strong {
    font-weight: 200;
}
.penci-media-carousels .penci-media-desc {
    margin-top: 10px;
    text-align: center;
}

.c31-evenements .evenement .penci-image-holder-wrapper {
    overflow: hidden;
}
.c31-evenements .evenement:hover .penci-image-holder {
    transform: scale(1.5,1.5);
    -webkit-transform: scale(1.5,1.5);
    transition: all .4s ease;
    -webkit-transition: all .4s ease;
}

.c31-evenements .evenement:hover .infos{
    bottom:0;
}
.c31-evenements .evenement .infos{
    transition:all .4s ease;
    padding:10px 10px 10px 20px;
    background:rgba(255,255,255,0.80);
    position:absolute;
    right:0;
    bottom:-25%;
    display:inline-block;
    min-height:104px;
    text-align: right;
}
.c31-evenements .evenement .infos p.event-title {font-size: 16px;font-weight: 600;}
.c31-evenements .evenement .infos p {color: black;margin: 0;font-size: 14px; font-weight: 500;}
.c31-evenements .evenement .infos p:last-child{margin:0;}

.dedicated_space p {
    margin-top: 1em;
    margin-bottom: 1em;
}

.dedicated_space p:empty:before {
    content: none;
}

a.c31-btn-download {
    border-bottom: 1px solid #ad1f31;
    width: 100%;
    display: block;
    color: black !important;
}
a.c31-btn-download:hover {
    text-decoration: none !important;
    opacity: 0.85;
}
a.c31-btn-download i {
    float: left;
    display: inline-block;
    height: 34px;
    padding: 9px 4%;
    background-color: #ad1f31;
    color: white;
}
a.c31-btn-download span {
    padding: 5px;
}

.c31-pencisc-button {
    color:white !important;
}
.c31-pencisc-button:hover {
    opacity: 0.85;
}

.c31-sidebar-espaces_dedies aside {
    margin-bottom: 30px;
}

/* Style the Image Used to Trigger the Modal */
.c31-affiche {
    cursor: pointer;
    transition: 0.3s;
  }
  
 .c31-affiche:hover {opacity: 0.7;}
  
  /* C31 Affiche Modals  */
  .c31-affiche-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    padding-top: 30px;
    padding-bottom: 30px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
  }
  
  /* Modal Content */
  .c31-affiche-modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
  }
  
  .c31-affiche-close {
    color: white;
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 35px;
    font-weight: bold;
  }
  
  .c31-affiche-close:hover,
  .c31-affiche-close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
  }
  
  .c31-affiche-slides {
    display: none;
  }
  
  .c31-affiche-prev,
  .c31-affiche-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: rgba(255, 255, 255, 0.8);
    background-color: rgba(0, 0, 0, 0.5);
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
  }
  
  .c31-affiche-next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  .c31-affiche-prev:hover,
  .c31-affiche-next:hover {
    color: white;
    background-color: rgba(0, 0, 0, 0.8);
  }

  .c31-affiche-slides {
      text-align: center;
  }
  .c31-affiche-slides img {
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 60px);
    overflow: auto;
  }

  .c31-affiche-slides footer {
    opacity: 0;
    position: absolute;
    bottom: -15px;
    left: 20%;
    /* right: 0; */
    transition: opacity .3s;
    /* padding: 0 1rem 1rem; */
    width: 60%;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1rem;
    min-height: 3rem;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
  }

  .c31-affiche-slides footer a {
    font-size: 1rem;
    border-radius: .375rem;
    vertical-align: middle;
    text-transform: uppercase;
    padding-left: 10px;
    padding-right: 10px;
    opacity: 0.85;
    margin-left: 5px;
    margin-right: 5px;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.c31-affiche-slides footer a:hover {
    opacity: 1;
}

.c31-affiche-slides img:hover + footer,
.c31-affiche-slides footer:hover {
    opacity: 1;
}

/*
* Crossfade gallery
*/
.crossfade-gallery,
.crossfade-gallery-with-link {
    text-align: center;
    position: relative;
    margin: auto;
}

#prochainement_gallery-silck{visibility:hidden}
#prochainement_gallery-silck.slick-initialized{visibility:visible}
.slick-initialized{visibility:visible}

.slick-slide > img{cursor:pointer}
.crossfade-gallery:not(.not) img,
.crossfade-gallery-with-link .img-container {
    position: absolute;
    left: 0;
    opacity: 0;
    width: 100%;
    cursor: pointer;
    z-index: 1;
}

.crossfade-gallery-with-link .img-container {
    opacity: 1 !important;
    background-color: #fff;
    padding-bottom: 1em;
}

/*
* Post list style
*/
.cat > a.penci-cat-name {
    font-weight: 600 !important;
    margin-top: 10px !important;
    margin-right: 10px !important;
}
.cat > a.penci-cat-name:after {
    border-bottom: 2px solid !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    transform: none !important;
    width: 4px !important;
    height: 2px !important;
    margin-left: 8px !important;
}
.grid-post-box-meta span:after {
    height: 0 !important;
    margin: 0 !important;
    border-right: none !important;
    background: none !important;
    display: block !important;
}
.cat-container {
    margin: 8px 0 0;
}
.cat-container .cat {
    display: flex !important;
    margin-bottom: 5px !important;
}
.cat-container .cat a {
    margin-bottom: 0 !important;
    vertical-align: baseline !important;
}
.cat-container .cat:not(:first-child) a {
    margin-top: 0 !important;
}
.list-post .header-list-style {
    position: relative !important;
    padding-bottom: 17px !important;
}
.list-post .header-list-style:after {
    content: "" !important;
    width: 60px;
    height: 1px;
    background: #ad1f31;
    display: block;
    bottom: 0;
    left: 0;
    position: absolute;
}
.culturebuzz_cat span a {
    color: #ad1f31 !important
}

/*
* Post single style
*/
h1 {
    padding: 0 0 10px 0!important;
}

/*
* Copy Paste style
*/
#copy_paste-metabox .c31-copy_paste_response {
 font-style: italic !important;
}
#copy_paste-metabox .c31-copy_paste_response.error {
    color: #d63638 !important;
}
#copy_paste-metabox .c31-copy_paste_response.success {
    color: #00a32a !important;
}
#copy_paste-metabox .copy_paste_label {
    font-weight: bold;
}



#em-form-when .em-date-range .em-date-range-container {
    display: flex;
    flex-direction:row;
}
#em-form-when .em-date-range .em-date-range-container span {
    display: inline-flex;
    width: 100%;
}
#event-form p.em_mandatory_fields  {
    color: #ad1f31;
    font-style: italic;
    text-align: right !important;
}


@media only screen and (max-width: 960px) {
    #main-homepage {
        width: 100%;
        margin: 0 0 60px 0;
        padding: 0 !important;
        float: none !important;
    }
}

/*
* Slider de la homepage
*/
.featured-style-28.penci-flat-overlay .penci-item-1 .penci-slide-overlay .penci-mag-featured-content{
    opacity: 0;
}

.featured-style-28.penci-flat-overlay:hover .penci-item-1 .penci-slide-overlay .penci-mag-featured-content{
    opacity: 100;
}
.featured-style-28 .wrapper-item .penci-item-1{
    width: 570px;/* 50% de 1140 */
}
@media only screen and (max-width: 767px) {
    .featured-style-28 .wrapper-item .penci-item-1{
        width: 767px;
        max-width: 100vw;
    }
}
@media only screen and (max-width: 479px) {
    .featured-style-28 .wrapper-item .penci-item-1{
        width: 479px;
        max-width: 100vw;
    }
}

/*
* Gestion de l'icône X (twitter)
*/
.x-icon-svg svg{
    width: 12px;
}
.x-icon-svg:hover svg{
    fill:#ad1f31!important
}
aside .widget-social .x-icon-svg svg,
.inner-header-social .x-icon-svg svg{
    fill:#ffffff
}
aside .widget-social .x-icon-svg:hover svg{
    fill:#ffffff!important
}
aside .widget-social .x-icon-svg{
    line-height: 38px;
}

/*
* On masque la date de publication, parfois confondu avec la date de l'évènement :/
*/
span.date > time.entry-date.published,
.post-box-meta-single span time.entry-date.published{display: none!important;}

