body.mobile .logo-black {
    display: block !important;
}

body.mobile.retina .logo-black {
    background: url(/wp-content/uploads/2017/02/CENDRILLON-logo-black-retina.png);
    background-size: 83px 50px;
    background-position: 0 0;
    background-position-x: 0;
    background-position-y: 0;
}

.logo-black {
    width: 83px;
    height:50px;
    background: url(/wp-content/uploads/2017/02/CENDRILLON-logo-black.png);
}

body.mobile .logo-white {
    display: none;
}

/*Style de la gallerie*/
.entry-content #bwg_container1_0 #bwg_container2_0 .bwg_title_spun2_0 {
    color: #22313F;
    font-family: inherit;
}

.entry-content .bwg_album_thumb_spun1_0 {
    transition: all .3s ease;
}

.entry-content #bwg_container1_0 #bwg_container2_0 .bwg_back_0 {
    font-family: inherit;
    text-transform: uppercase;
    font-weight: 100;
    font-size: 20px;
    margin-bottom: 20px;
}

.site-main #main > .blog-entete {
    padding-top: 0;
}

.negative-margin-section {
    margin-top: -9px;
}

.ss-style-triangles {
    position: relative;
}

.ss-style-triangles::before,
.ss-style-triangles::after {
    left: 50%;
    width: 100px;
    height: 100px;
    -webkit-transform: translateX(-50%) rotate(45deg);
    transform: translateX(-50%) rotate(45deg);
}

.ss-style-triangles::before {
    top: -50px;
    background: #313242;
}

.ss-style-triangles::after {
    bottom: -50px;
    z-index: 10;
    background: inherit;
}

/* Common style for pseudo-elements */
section::before,
section::after {
    position: absolute;
    content: '';
    pointer-events: none;
}

.wpcf7-submit:hover, .button.red:hover, input.button.red:hover, .button.transparent.red:hover {
    background-color: #ef96a5 !important;
    border: 2px solid #ef96a5 !important;
}

.wpcf7-submit, .button.transparent.red, input.button.transparent.red, .button.red, input.button.red {
    border: 2px solid #f37c90 !important;
    background-color: #f37c90 !important;
    color: white !important;
}

.section-contact-us .section-title {
    margin-top: 30px;
}


#main {
    background-color: #FFEDEB;
}

.wpcf7 input:not([type="submit"]), .wpcf7 textarea, .wpcf7 select {
    background-color: white;
}

footer.site-footer h1, footer.site-footer h2, footer.site-footer h3, footer.site-footer h4, footer.site-footer h5, footer.site-footer h6 {
    color: white;
}

footer.site-footer a {
    font-size: 12px;
    color: lightgrey;
}

footer.site-footer a:hover {
    color: white;
}

footer.site-footer {
    background-color: #22313F;
}

.widget_search input {
    background-color: white;
}

h4.widget-title {
    color: black;
}

.post-separator {
    margin-top: 20px;
}

.blog .list-style article, .archive article, .blog-section.list-style article, .search article {
    margin: 0;
    padding: 0;
}

.masonry-grid:after {
    content: '';
    display: block;
    clear: both;
}


.grid-sizer,
.grid-item { width: 30%; }

@media (min-width: 600px) and (max-width: 1000px) {
    .grid-sizer,
    .grid-item { width: 47%; }
}

@media (max-width: 600px) {
    .grid-sizer,
    .grid-item { width: 98%; }
}

.grid-item {
    border-radius: 5px;
    /*height:350px;*/
    background-color: white;
    margin-bottom: 20px;
}

.grid-item .wp-post-image {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px
}

.grid-item-content {
    padding:16px;
    float: none;
}

.masonry-grid .entry-content {
    font-size: 14px;
}

.masonry-grid h2.entry-title {
    font-size: 20px;
}

/*.blog .list-style article::after, .archive article::after, .blog-section.list-style article::after, .search article::after {*/
    /*content: "";*/
    /*width: 30px;*/
    /*height: 30px;*/
    /*position: absolute;*/
    /*!*background-color: rebeccapurple;*!*/
    /*right: -15px;*/
    /*bottom: -15px;*/
    /*background-image: url("/wp-content/uploads/2016/12/star_cendrillon-2.png");*/
    /*-webkit-background-size: 30px 30px;*/
    /*background-size: 30px 30px;*/
/*}*/

.post-separator img {
    width: 40px;
    display: inline-block;
    vertical-align: bottom;
}

.post-separator {
    text-align: right;
}

.post-separator a:hover, .sidebar .widget a:hover {
    text-decoration: underline;
}

.post-separator a {
    border: 0;
}

#grid-classes > p {
    padding: 0;
    margin: 0;
    height: 10px;
}

figure.effect-lexi {
    background: white;
    max-width: 306px;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
    margin-bottom: 16px;
    box-shadow: 0 0 10px 2px #00000026;
}

figure.effect-lexi img {
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}

figure.effect-lexi figcaption {
    padding: 16px;
}

figure.effect-lexi figcaption h2 {
    margin: 0px;
    font-size: 20px;
}

figure.effect-lexi figcaption p {
    margin-bottom: 0;
    margin-top: 0;
}

/*CALENDAR*/

#calendar-classes {
    width: 100%;
    margin-top: 0;
}

#calendar-classes th {
    text-align: center;
}

#calendar-classes td {
    height: 650px;
    position: relative;
    padding: 0;
}

#calendar-classes td div b {
    pointer-events: none;
    display: block;
}

#calendar-classes td div {
    position: absolute;
    width: 99%;
    padding: 5px;
    border: 1px solid #FFEDEB;
    border-radius: 5px;
    font-size: 12px;
    text-align: center;
    transition: 0.3s ease;
    z-index: 3;
    color: white;
}

#calendar-classes td div.eveil {
    background-color: #A5A5B4;
}

#calendar-classes td div.initiation {
    background-color: #7D7D8C;
}

#calendar-classes td div.danse-contemporaine {
    background-color: #22313F;
}

#calendar-classes td div.danse-classique {
    background-color: #555564;
}

#calendar-classes td.hour, #calendar-classes td.hour div {
    padding: 0;
    border: 0;
}

#calendar-classes tbody div.eveil.transparent-background {
    border-color: #A5A5B4;
    background-color: #FFEDEB;
    color: #22313F;
}

#calendar-classes tbody div.initiation.transparent-background {
    border-color: #7D7D8C;
    background-color: #FFEDEB;
    color: #22313F;
}

#calendar-classes tbody div.danse-contemporaine.transparent-background {
    border-color: #22313F;
    background-color: #FFEDEB;
    color: #22313F;
}

#calendar-classes tbody div.danse-classique.transparent-background {
    border-color: #555564;
    background-color: #FFEDEB;
    color: #22313F;
}

#calendar-classes tbody div.transparent-background {
    background-color: transparent;
}

#calendar-classes .line {
    border-top: 1px dashed gray;
    border-radius: 0;
    height: 0;
    padding: 0;
    z-index: 2;
}

#calendar-classes td > div.line:nth-child(1) {
    top: 0;
}

#calendar-classes td > div.line:nth-child(2) {
    top: 50px;
}

#calendar-classes td > div.line:nth-child(3) {
    top: 100px;
}

#calendar-classes td > div.line:nth-child(4) {
    top: 150px;
}

#calendar-classes td > div.line:nth-child(5) {
    top: 200px;
}

#calendar-classes td > div.line:nth-child(6) {
    top: 250px;
}

#calendar-classes td > div.line:nth-child(7) {
    top: 300px;
}

#calendar-classes td > div.line:nth-child(8) {
    top: 350px;
}

#calendar-classes td > div.line:nth-child(9) {
    top: 400px;
}

#calendar-classes td > div.line:nth-child(10) {
    top: 450px;
}

#calendar-classes td > div.line:nth-child(11) {
    top: 500px;
}

#calendar-classes td > div.line:nth-child(12) {
    top: 550px;
}

#calendar-classes td > div.line:nth-child(13) {
    top: 600px;
}

#calendar-classes td > div.line:nth-child(14) {
    top: 650px;
}

#calendar-classes td.hour div {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    text-align: left;
    width: 90%;
    color: #22313F;
}

#calendar-classes td.hour div:last-child {
    border-bottom: 0;
}

.half #calendar-classes tr td div {
    font-size: 11px;
}

.half #calendar-classes tr th, .half #calendar-classes tr td {
    font-size: 14px;
}

.annonce {
    background-color: #3b4f63;
    padding: 15px;
    font-size: 15px;
    text-align: center;
}

.annonce .button {
    margin: 15px auto 0;
}

a {
    text-decoration: none;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #888;
}

#lightbox * {
    clear: none;
    text-decoration: none;
    border-bottom: none;
}

#gallery-select {
    width: 100%;
    background-color: white;
    padding: 10px 10px;
}

.encadre-infos {
    font-size: 70%;
    padding-top: 20px;
    position: relative;
    text-align: justify;
}

.encadre-infos.no-border-before {
    padding-top: 0;
    font-size: 75%;
}

.encadre-infos.no-border-before::before {
    height: 0;
}

.encadre-infos::before {
    position: absolute;
    content: "";
    width: 50%;
    height: 1px;
    background-color: black;
    left: 0;
    right: 0;
    top: 0;
    margin: auto;
}

.calendar-wrapper {
    position: relative;
}

#calendar-classes-places .calendar-place {
    margin-bottom: 0;
    margin-top: 0;
    font-size: 70%;
    line-height: 20px;
    text-align: left;
}

#calendar-classes-places .calendar-place.disabled {
    color: gray;
}

#calendar-classes-places .findus:hover {
    text-decoration: underline;
}

#calendar-classes-places .findus {
    font-size: 60%;
    margin-left: 20px;
    border-bottom: 0;
    color: #f37c90;
}

#calendar-classes-places {
    position: absolute;
    width: 100%;
    top: -120px;
    background-color: white;
    padding: 15px;
    z-index: 20;
    border-radius: 2px;
    color: black
}

nav#site-navigation > ul > li > a {
    position: relative;
}

nav#site-navigation > ul > li:hover > a {
    border: 0;
}

nav#site-navigation > ul > li > a:hover::after, nav#site-navigation > ul > li.current-menu-item > a::after, nav#site-navigation > ul > li.current-menu-parent > a::after {
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    transform: translateY(0px);
}

body.mobile header.fixed-header nav#site-navigation > ul li.current-menu-item > a::after {
    display: none;
}

body.mobile header.fixed-header nav#site-navigation > ul li.current-menu-item > a::after {
    background: #f37c90;
}

header.fixed-header nav#site-navigation > ul > li > a::after {
    background: rgba(0, 0, 0, 0.2);
}

header nav#site-navigation > ul > li > a::after {
    background: rgba(255, 255, 255, 0.5);
}

header.fixed-header.transparent.light nav#site-navigation > ul > li:hover > a {
    border: 0;
}

nav#site-navigation > ul > li > a::after {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.2);
    content: '';
    opacity: 0;
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
    -moz-transition: opacity 0.3s, -moz-transform 0.3s;
    transition: opacity 0.3s, transform 0.3s;
    -webkit-transform: translateY(10px);
    -moz-transform: translateY(10px);
    transform: translateY(10px);
}

nav#site-navigation > ul > li > a {
    height: 42px;
    padding-bottom: 8px;
    display: inline-block;
}


@media (max-width: 800px) {

    nav#site-navigation > ul > li > a {
        font-size: 12px;
    }
}

.album-list.in-album {
    display: none;
}

.album-list {

}

.album-list h2 {
    text-align: center;
}

.album-list .album-list-container {
    position: relative;
    padding-bottom: 15px;
}

.album-list .album-list-container .card p {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 14px;
    text-align: left;
}

.album-list .album-list-container .card figcaption {
    padding: 20px;
}

.album-list .album-list-container .card h2 {
    margin: 0 0 0 0;
    color: #a7a0a2;
    font-size: 16px;
    text-align: left;
}

.album-list .album-list-container .card:hover {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.album-list .album-list-container .card {
    width: 370px;
    position: relative;
    display: inline-block;
    background: #fff;
    text-align: center;
    cursor: pointer;
    vertical-align: top;
    margin: 25px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.album-list .album-list-container .card .photostack-img {
    width: auto;
    height: auto;
}

.badge {
    display: inline-block;
    vertical-align: top;
    background-color: #ef96a5;
    color: white;
    padding: 4px 10px;
    margin-right: 15px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
}

.badge.active, .badge:hover {
    background-color: #f37c90;
}

.album-list .album-list-container .card.hidden {
    display: none;
}

.album-list-show {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-size: 15px
}

.album-list-control {
    padding-left: 25px;
}

body.mobile .menu-item-facebook {
    display: none;
}

body.mobile header {
    position: fixed;
}

body.mobile .mobile-align-center {
    text-align: center;
}

body.mobile .mobile-align-center input, body.mobile .mobile-align-center a {
    margin-right: 0;
    margin-top: 20px;
}

body.mobile .mobile-align-center .ajax-loader {
    display: block;
}

body.mobile .mobile-img-center {
    float: none;
    margin: auto;
}

body.mobile .gallery-grid figure {
    max-width: 100%;
    width: auto;
    float: none;
}

body.mobile.portrait .hide-portrait, body.mobile.landscape .hide-landscape, body:not(.mobile) .hide-not-mobile, body.mobile .hide-mobile {
    display: none;
}

.switch-orientation {
    padding: 20px;
    background-color: white;
    border-radius: 5px;
}

.switch-orientation p {
    font-size: 12px;
    margin-bottom: 0;
    margin-top: 20px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 500;
}

body.mobile .album-list .album-list-container .card {
    width: auto;
}

.mobile.page-template-template-blank .post-password-form label input {
    margin: auto;
    margin-bottom: 10px;
}

.mobile.page-template-template-blank .post-password-form {
    text-align: center;
}

.page-template-template-blank .post-password-form {
    padding: 20px;
}

.youhavebeen-top {
    margin-top: 55px;
}

.youhavebeen-top, .youhavebeen-content, .youhavebeen-bottom {
    text-align: center;
    font-size: 40px;
}

.youhavebeen-content .after-counter {
    line-height: 135px;
    vertical-align: top;
    margin-left: 20px;
}

.youhavebeen-content .counter {
    font-size: 120px;
    line-height: 135px;
}

.page-template-template-blank .post-password-form {
    padding: 20px 8%;
    max-width: 1440px;
    margin: auto;
}

.index-blog-list {

}

.index-blog-list .grid-item .entry-title {
    font-size: 1em;
}

.index-blog-list .grid-item .entry-content {
    height: 160px;
    overflow: hidden;
}

.index-blog-list .grid-item .entry-title a, .index-blog-list .grid-item .entry-content {
    color: black;
}


.index-blog-list .grid-item {
    width: 33%;
    display: inline-block;
    vertical-align: top;
}