/*
 * Theme Name: Kiroro New V2
 * Author: MRM//McCann
 * Version: 2.0.0
 * Requires PHP: 8.0
 * Text Domain: kiroro-new-v2
 */

#wpadminbar {
    display: none;
}

/* Empty legacy cover areas should not reserve a hero's height on phones. */
@media (max-width: 767px) {
    .kiroro-mobile-compact-top #page-main-wrapper {
        padding-top: 20px;
    }

    .kiroro-mobile-compact-top #page-cover-container.noCover,
    .kiroro-mobile-compact-top #page-cover-container.kiroro-empty-cover,
    .kiroro-mobile-compact-top .kiroro-leading-spacer {
        display: none;
    }

    .kiroro-mobile-compact-top #page-main-wrapper > .container > .containerPanel,
    .kiroro-mobile-compact-top #page-main-wrapper > .post > .container > .containerPanel {
        margin-top: 0;
        padding-top: 0;
    }

    .kiroro-mobile-compact-top #page-main-wrapper > .post > .container > .registration {
        padding-top: 0;
    }
}

/* The dashboard map resets headings globally; keep the shared signup typography. */
#kiroro-page-dashboard #page-subscribe-container h2 {
    font-size: 30px;
    margin-top: 20px;
    margin-bottom: 10px;
}

#kiroro-page-dashboard #page-subscribe-container h4 {
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.dhidden {
    display: none;
}

/*
 * Wunderground plugin format
 */
.wu-wrapper {
    margin-top: -89px !important;
    margin-left: 105px !important;
}
.wu-copyright {
    display:none;
}
.wu-cond-text {
    display:none;
}
.wu-current-conditions .wu-day-title {
    font-family: 'Roboto', sans-serif;
    font-size: 30px;
    color: #fff;
}
/*
.wu-day-title > span {
    font-weight: bold;
}
.wu-day-title > small {
    font-weight: normal;
    margin-left: 0px !important;*
}*/
.wu-day-title {
    display:none;
}
.wu-forecast-body {
    width: 200px;
}
.wu-wrapper div img, .wu-wrapper table img {
    margin-top: 0px;
}
.wu-icon{
    height: 51px !important;
}
.wu-icon > img {
    height: 95px !important;
    width: 95px !important;
}
#page-sidebar-container .content-wrapper #sidebar-weatherInfo-container > #wea-spacebreak {
    margin-top: 10px;
}

@media (min-width: 992px) {    
    .col-md-3 #jp-dining-cb {
        width: 300px !important;
    }
}


.flex-row-box{
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 0 3.8%;
}

.flex-row-box-item{
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

.flex-row-box-item img{
    width: 100% !important;
    height: auto !important;
}

.flex-row-box-item iframe{
    width: 100% !important;
    height: 100% !important;
    min-height: 332px !important;
}

@media screen and (max-width: 768px) {
    .flex-row-box{
        flex-direction: column;
    }
    .flex-row-box-item{
        width: 100%;
    }
    .spmt2{
        margin-top: 20px !important;
    }
}


/* Keep the legal pages' Japanese typeface when WP Multilang sets lang="ja".
 * The source used lang="en", whose Japanese fallback was Noto Sans JP.
 * Explicitly naming it preserves the design without mislabelling the language.
 */
body.page-id-2013 article.post,
body.page-id-205 article.post,
body.page-id-6207 article.post,
body.page-id-10392 article.post {
    font-family: 'Roboto', 'Noto Sans JP', sans-serif;
}
body.page-id-2013 article.post .condensed {
    font-family: 'Roboto Condensed', 'Noto Sans JP', sans-serif;
}

/* Keep mobile accordion labels clear of the icon and center either arrow state. */
@media (max-width: 767px) {
    #kiroro-page-access .accordion-component .btn.btn-accordion-toggle,
    #kiroro-page-skiLesson .accordion-component .btn.btn-accordion-toggle,
    #kiroro-page-skiInternationalLesson .accordion-component .btn.btn-accordion-toggle {
        padding-left: 38px;
        padding-right: 38px;
        white-space: normal;
    }

    #kiroro-page-access .accordion-component .btn.btn-accordion-toggle > .fa.pullRight,
    #kiroro-page-skiLesson .accordion-component .btn.btn-accordion-toggle > .fa.pullRight,
    #kiroro-page-skiInternationalLesson .accordion-component .btn.btn-accordion-toggle > .fa.pullRight {
        width: 1em;
        height: 1em;
        margin: -0.5em 0 0;
        line-height: 1;
        text-align: center;
    }
}

/* Contain stacked shortcut floats so the following lesson cannot cover the links. */
@media (max-width: 767px) {
    #kiroro-page-skiLesson .page-shortcut-container {
        display: flow-root;
    }

    #kiroro-page-skiLesson .section_heading[id] {
        scroll-margin-top: 50px;
    }
}

/* Keep rental purchase labels inside their buttons on narrow screens. */
@media (max-width: 767px) {
    #kiroro-page-rentalPrice .content-adultPriceList .content-wrapper > table[width="25%"],
    #kiroro-page-rentalPrice .content-kidsPriceList .content-wrapper > table[width="25%"] {
        width: 160px;
        max-width: 100%;
    }

    #kiroro-page-rentalPrice .content-adultPriceList .content-wrapper > table[width="25%"] .btn,
    #kiroro-page-rentalPrice .content-kidsPriceList .content-wrapper > table[width="25%"] .btn {
        width: 100%;
        max-width: 100%;
        white-space: normal;
    }
}
