/*
Theme Name: maisonjapon
Version: 1.0
Description: A child theme of WK Finance
Template: wk-finance
Author: Administrator
*/
@import url("../wk-finance/style.css");

@import url("assets/css/_diapo_accueil.css");
/* Your awesome customization starts here */

/* -- AJOUTS MARIEKE -- */

strong, b {
    font-weight: 600;
}

/* -- Fin ajouts -- */


html, body {
    overflow-x: inherit !important;
}

body {
    background: #ece1cb;
}


#main .wp-block-columns {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    max-width: 75%;
    margin: 0 auto 30px;
    position: relative;
}


#main .wp-block-columns .wp-block-columns {
    max-width: 100%;
}

h2.wp-block-heading {
    background: #fff;
    display: block;
    border-left: 20px solid #a3cbf8;
    position: relative;
    top: -2rem;
    z-index: 10;
    left: -2rem;
    padding: 25px;
    height: 5rem;
    margin: 0 0 -.8rem;
    font-weight: 300;
}


.header-top-link {
    text-decoration: none;
    color: #323833;
    display: flex;
    flex: 1;
}

.header-logo {
	height: 163px;
	margin: -25px 26px 0 -24px;
}

.header-h {
    font-size: 1.5rem;
    padding-top: 0;
    font-weight: 300;
    margin-top: 9px;
}

.header-cite {
    display: block;
    font-size: 1.2rem;
    padding-top: 12px;
}

.header-maison {
    font-size: 1.4rem;
    padding-top: 0;
}


.page div#content.site-content {
    padding-bottom: 2.75rem !important;
    padding-top: 130px !important;
}

.blank-div {
    height: 160px;
}

.diapo-home.in-page {
    height: 80vh;
}

.diapo-home.in-page figure {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    margin: 0;
}

.in-page {
    position: relative;
}

.in-page h1 {
    position: absolute;
    top: -500px;
    left: 2rem;
    background: #fff;
    width: auto;
}

.in-page h1 {
    /*position: absolute;
    top: 64vh;
    left: 2rem;
    background: #fff;
    width: auto;
    padding: 1rem;
    border-left: 20px solid #a3cbf8;
    font-size:28px;*/
    display: none;
}

.wpforms-container {
    margin: auto !important;
    max-width: 720px;
}

.gutena-tabs-tab.tab-left {
    position: relative;
    top: -2.5rem;
    left: -1.7rem;
    background: #ece1cb;
    width: calc(100% + 4rem);
}

li.gutena-tab-title {
    background: #598fcb !important;
    color: #fff !important;
    border-radius: 10px 10px 0 0 !important;
    margin: 0 -5px !important;
    border: none !important;
    padding: 1rem 2rem !important;
}

li.gutena-tab-title.active {
    border: none !important;
    background: #fff !important;
    color: #598fcb !important;
}

.home .wp-block-columns.is-layout-flex.wp-container-core-columns-is-layout-1.wp-block-columns-is-layout-flex {
    margin: 0 !important;
    padding: 0 !important;
}

.wp-block-column[style="flex-basis:66.66%"] {
    flex-basis: 80% !important;
}

/***
Test image haut
 */
.page-id-754 .diapo-home {
    max-width: 1080px;
    margin: auto;
    background: transparent;
}

.page-id-754 .diapo-home figure {
    border-radius: 0 0 20px 20px;

}

#menu-item-855-ja, #menu-item-956-fr {
    position: fixed;
    top: 25px;
    right: 10px;
    z-index: 40000;
}

.headroom--unpinned #menu-item-855-ja, .headroom--unpinned #menu-item-956-fr {
    position: relative;
    top: inherit;
    right: inherit;
}

#menu-item-855-ja, #menu-item-956-fr {
    position: fixed;
    top: 25px;
    right: 10px;
    z-index: 40000;
}


/** ------------------------------------------------------------ */
/** BLOG PAGE
/** ------------------------------------------------------------ */

.blog ul#menu-jp {
    /*display: none;*/
}


img[alt="Français"], img[alt="日本語"] {
    width: 32px !important;
    height: 20px !important;
}


#main .wp-container-core-columns-is-layout-6 .wp-block-columns,
#main .wp-container-core-columns-is-layout-5 .wp-block-columns {
    padding: 0rem 2rem 0;
    margin: 0 auto 0;

}

/** ------------------------------------------------------------ */
/** FIN BLOG PAGE
/** ------------------------------------------------------------ */
@media (min-width: 992px) {
    #masthead {
        height: 130px;
    }

    .navbar-expand-lg .offcanvas-body {
        display: block;
        flex-grow: 0;
        padding: 0;
        overflow-y: visible;
        position: absolute;
        left: -15px;
        top: 123px;
        width: calc(100% + 30px);
        background: #a3cbf8;
    }

    .navbar-nav {
        justify-content: space-around;
    }

    body:not(.theme-preset-active) #masthead .navbar-nav li.active > a {
        color: #222 !important;
    }

}

.calendar-logo.m-auto {
    width: 50%;
    margin: 3rem auto 0;
    text-align: center;
}

.calendar-logo.m-auto img {
    max-width: 70px;

}

.date_event {
    font-size: 1.3rem;
    color: #222;
}

.date_event.big {
    font-size: 1rem;
}


.nav-links {
    display: none;
}

/** ------------------------------------------------------------ */
/** SINGLE
/** ------------------------------------------------------------ */

#primary .post.hentry {
    background: #fdfefe;
    box-shadow: none !important;
    padding: 2px 40px;
    margin: 140px auto;
    width: 960px;
    max-width: 100%;
}

.page-id-984 #primary .post.hentry,
.page-id-346 #primary .post.hentry {
    margin: 0 auto;

}


.post:hover .post-thumbnail img {

    transform: scale(1) !important;

}

.page-id-1003 .entry-header {
    display: none;
}

.page-id-1003 .site-content {
    max-width: 75%;
    margin: 0 auto;
}

.wp-block-post-featured-image :where(img) {
    box-shadow: 0 0 4px #0002;
}


.btn-retour{

    display: block;
    margin: 0 auto;
    text-align: center;
}
@media (max-width: 640px) {

    #wpadminbar {
        position: fixed;
        bottom: 0;
        top: inherit;
    }

    .admin-bar .container {
        padding-top: 0;
    }

    .header-top-link {
        margin-left: -25px;
    }

    .header-logo {
        height: 113px;
        margin: 1px 26px 0 0;
    }

    .header-h {
        font-size: 1rem;
        padding-top: 0px;
        font-weight: 300;
        margin: auto;
        text-align: left;
        transform: scale(.8);
        margin-left: -34px;
    }

    .header-cite {
        /* display: block; */
        font-size: 0.7rem;
        margin: 0;
        padding: 0;
    }

    .header-maison {
        font-size: 1.1rem;
        padding-top: 0;
    }

    #main .wp-block-columns {
        background: #fff;
        padding: 1.1rem 0;
        border-radius: 20px;
        max-width: 100%;
        margin: 0 0 50px;
        position: relative;
    }

    #primary .post.hentry {
        padding: 2px 20px;
    }

    .has-large-font-size {
        margin-top: -20px;
        font-size: 1.2rem !important;
    }

    .date_event {
        font-size: .8rem;
    }


    .gutena-tabs-block > .gutena-tabs-content > .gutena-tab-block {
        padding: 0 !important;
    }

    h2.wp-block-heading {
        top: -1.1rem;
        font-size: 1.1rem !important;
        font-weight: 600;
        border-left: 20px solid #a3cbf8;
        left: auto;
    }

    .wp-block-gutena-tab.gutena-tab-block,
    .home .gutena-tabs-block > .gutena-tabs-content > .gutena-tab-block {
        padding: 0;
        margin: auto;
    }

    .gutena-tabs-tab.tab-left {
        position: relative;
        top: -2.5rem;
        left: 0.3rem;
        background: #ece1cb;
        width: 100%;
    }

    li.gutena-tab-title {
        font-size: .9rem;
        padding: 1rem 0.5rem !important;
    }

    .gutena-tabs-block.tablet-scroll > .gutena-tabs-tab {
        flex-wrap: nowrap;
        justify-content: flex-start !important;
        overflow: auto;
        white-space: nowrap;
        left: 0;
        border-radius: 10px 10px 0 0;
        right: 0;
    }

    #main-nav {
        display: none;
    }

    #navbarNavOffcanvas.show #main-nav {
        display: block;
        z-index: 100000;
        position: absolute;
        top: auto;
        left: 0;
        width: 100%;
    }

    p {
        margin-bottom: 1.5em;
        padding: 0 14px;
        font-size: 0.9rem;
    }

    .in-page h1 {
        position: absolute;
        top: 15.4rem;
        left: 1rem;
        background: #fff;
        width: auto;
        padding: 1rem;
        border-left: 20px solid #a3cbf8;
        font-size: 1.5rem;
    }

    .carousel-inner h3 {
        font-size: 1.3rem;

    }

    .navbar-toggler {
        position: absolute;
        top: 1rem;
        right: -15px;
        z-index: 1000;
    }


    .diapo-home.in-page {
        height: 340px;
    }

    .carousel-item {
        padding: 0;
        height: 340px;
    }

    .carousel-item figure {
        width: 100%;
    }

    .carousel-inner h3 {

        margin-bottom: 0;
    }

    .carousel-caption {
        right: inherit;
        bottom: 1.25rem;
        left: auto;
        width: 100%;
        height: 7rem;
    }

    .page div#content.site-content {
        padding-top: 50px !important;
    }

    .header-logo {
        height: 50px;
        margin: 0px 15px 0 -15px;
    }

    .page-id-1003 .site-content {
        max-width: 100%;
        margin: 0 auto;
    }


    .page-id-1003 #primary .post.hentry {
        margin: 0 auto;
    }

    .page-id-39 h3, .page-id-912 h3 {
        margin: -1rem 0 0;
        padding: 0;
    }

    .page-id-39  figure, .page-id-912  figure {
        margin: 2rem 0 -1rem;
    }


}

@media (max-width: 460px) {

    .wp-block-heading {
        padding: 0 15px;
    }

    .diapo-home.in-page {
        height: 260px;
    }

    h2.wp-block-heading {
        font-size: 1.2rem !important;
    }

    .has-large-font-size {
        margin-top: -20px;
        font-size: 1rem !important;
    }

    .date_event {
        font-size: .7rem;
    }

    label {
        font-size: 0.8rem;
    }

    #main .wp-container-core-columns-is-layout-6 .wp-block-columns, #main .wp-container-core-columns-is-layout-5 .wp-block-columns {
        padding: 0 10px;
    }

    .gutena-tabs-block > .gutena-tabs-content {
        padding: 0 10px;
    }


    .entry-header .entry-title {
        font-size: 1em;
    }

    .date_event.big {
        font-size: 0.7rem;
    }

}

@media (max-width: 720px) {
  .header-logo {
    height: 100px;
    margin: 0px 15px 0 -15px;
  }
}
  .galerie-manga {
  direction: rtl;
}
