/*
 Theme Name:   48th ASEAN Ministers on Agriculture and Forestry and Related Meetings
 Description:  Twenty Twenty Five Child Theme. Custom overwrite.
 Author:       W.A.I. Development Team
 Author URI:   https://www.wdotadoti.com
 Template:     twentytwentyfive
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         amaf48, child
 Text Domain:  twentytwentyfive-child
*/
@font-face{
    font-family: MrEavesXLSanOT;
    font-weight: 400;
    src: url("assets/fonts/Mr-Eaves-XL-San-OT-Reg.ttf");
}
@font-face{
    font-family: MrEavesXLSanOT;
    font-weight: 600;
    src: url("assets/fonts/Mr-Eaves-XL-San-OT-Book.ttf");
}
@font-face{
    font-family: MrEavesXLSanOT;
    font-weight: 700;
    src: url("assets/fonts/Mr-Eaves-XL-San-OT-Bold.ttf");
}
@font-face {
    font-family: Lato;
    font-weight: 400;
    src: url("assets/fonts/Lato-Regular.ttf");
}
@font-face {
    font-family: Lato;
    font-weight: 500;
    src: url("assets/fonts/Lato-Medium.ttf");
}
@font-face {
    font-family: Lato;
    font-weight: 700;
    src: url("assets/fonts/Lato-Bold.ttf");
}
@font-face {
    font-family: Lato;
    font-weight: 900;
    src: url("assets/fonts/Lato-Black.ttf");
}

:root{
    --amaf48-color-white: #fff;
    --amaf48-color-black: #000;
    --amaf48-color-darkgrey: #4d4d4d;
    --amaf48-color-lightgrey: #ccc;
    --amaf48-color-grey: #E6E7E8;
    --amaf48-color-browngrey: #8E8E87;
    --amaf48-color-beige: #FAF5EF;
    --amaf48-color-lightbeige: #F1F1EF;
    --amaf48-color-darkbeige: #6D6E71;
    --amaf48-color-greenbeige: #686658;
    --amaf48-color-brown: #B58E32;
    --amaf48-color-green: #2F6A6C;
    --amaf48-color-browngreen: #6C8787;
    --amaf48-color-yellowgreen: #A8A78C;
    --amaf48-color-darkgreen: #0C4C39;
    --amaf48-color-darkdarkgreen: #154449;
    --amaf48-color-olivegreen: #769795;
    --amaf48-color-red: #ED1C24;
    --amaf48-font-size-h1: 3.5rem;
    --amaf48-font-size-h2: 3rem;
    --amaf48-font-size-h3: 2.5rem;
    --amaf48-font-size-h4: 2rem;
    --amaf48-font-size-h5: 1.5rem;
    --amaf48-font-size-h6: 1.25rem;
    --amaf48-font-size-p1: 1rem;
    --amaf48-section-max-width: 960px;
}

body{
    background-color: var(--amaf48-color-beige);
    font-family: Lato, Arial, Helvetica, sans-serif;
}  

.wp-site-blocks{
    background-image: url("assets/img/background-bottom.png");
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: contain;
    padding-top: 0;
    padding-bottom: 0;
}

.wp-site-blocks main{
    margin-block-start: 0;
    min-height: 100vh;
}

img{
    height: auto;
    max-width: 100%;
}

.bp-container{
    margin: 0 auto;
    position: relative;
}

.row{
    display: flex;
    flex-direction: column;
}
.row.is-vcentered{
    align-items: center;
}
.row.is-centered{
    justify-content: center;
}
.bp-section.has-menu .bp-container .row{
    padding: 0.75rem;
}

/**
 * Header
 */
header{
    background-image: url("assets/img/background-top.png");
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
    padding-top: 3rem;
}
header .wp-block-navigation.wp-block-navigation-is-layout-flex{
    padding-right: 1rem;
}
header .wp-block-navigation-item__label,
header .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content{
    font-family: Lato, Arial, Helvetica, sans-serif;
    font-weight: 500;
}
header .wp-block-navigation .wp-block-navigation__responsive-container:not(.has-modal-open) .wp-block-navigation-item__content.wp-block-navigation-item__content,
header .wp-block-navigation .wp-block-navigation__responsive-container .wp-block-navigation-item__content.wp-block-navigation-item__content{
    color: var(--amaf48-color-black);
}
header .current-menu-item .wp-block-navigation-item__label,
header .wp-block-navigation .wp-block-navigation__responsive-container .current-menu-item .wp-block-navigation-item__content.wp-block-navigation-item__content{
    color: var(--amaf48-color-brown);
}
header .wp-block-navigation-item__label:hover,
header .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover{
    color: var(--amaf48-color-brown);
}

header .wp-block-navigation__responsive-container-open{
    color: var(--amaf48-color-black);
}

header nav button.wp-block-navigation__responsive-container-open svg,
header nav button.wp-block-navigation__responsive-container-close svg{
    color: var(--amaf48-color-black);
    height: 40px;
    width: 40px;
}

header{
    padding-bottom: 1rem;
}
header .site-header{
    padding-bottom: 1rem;
}
header > div:nth-child(2){
    background-color: var(--amaf48-color-darkgreen);
    padding: 3px;
}
header .wp-block-navigation .wp-block-navigation__responsive-container:not(.has-modal-open) .wp-block-navigation-item__content.wp-block-navigation-item__content,
header .wp-block-navigation .wp-block-navigation__responsive-container .wp-block-navigation-item__content.wp-block-navigation-item__content{
    border-radius: 1rem;
    color: var(--amaf48-color-white);
    padding: 5px 15px;
}
header .current-menu-item .wp-block-navigation-item__label,
header .wp-block-navigation .wp-block-navigation__responsive-container .current-menu-item .wp-block-navigation-item__content.wp-block-navigation-item__content{
    background-color: var(--amaf48-color-brown);
}
header .wp-block-navigation-item__label:hover,
header .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover{
    background-color: var(--amaf48-color-brown);
    text-decoration: none;
}
header .wp-block-navigation__responsive-container-open{
    display: none;
}
header .wp-block-navigation__responsive-container{
    display: block;
    position: relative;
    width: 100%;
    z-index: auto;
}
header .wp-block-navigation__responsive-container-close{
    display: none;
}
header .wp-block-navigation .wp-block-page-list{
    row-gap: 2rem;
    flex-direction: column;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.site-header{
    align-items: center;
    display: flex;
    flex-direction: column;
    font-family: MrEavesXLSanOT, Arial, Helvetica, sans-serif;
    justify-content: center;
    text-align: center;
}
.site-header .site-logo img{
    width: 9rem;
}
.site-header .title-tagline{
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.site-header .title-container{
    align-items: center;
    column-gap: 5px;
    display: flex;
    flex-direction: row;
    margin-bottom: 1rem;
}
.site-header .number-wrapper{
    color: var(--amaf48-color-brown);
    font-size: var(--amaf48-font-size-h4);
}
.site-header .number-wrapper sup{
    font-size: var(--amaf48-font-size-h6);
    position: relative;
    top: -6px;
}
.site-header .title-wrapper{
    color: var(--amaf48-color-darkgreen);
    font-weight: 700;
    line-height: 1.1;
    text-align: left;
}
.site-header .title-wrapper .top-line{
    font-size: 1.1em;
}
.site-header .tagline-wrapper{
    background-color: var(--amaf48-color-brown);
    color: var(--amaf48-color-white);
    line-height: 1.1;
    padding : 5px 15px;
    text-wrap: balance;
    margin-bottom: 1rem;
}
.site-header .event-date-location{
    color: var(--amaf48-color-brown);
}

/**
 * Footer
 */
footer{
    margin-block-start: 0;
}
footer .col{
    margin-top: 6rem;
}
footer section.is-layout-constrained{
    margin-block-start: 0;
}
footer .bp-container{
    padding: 1rem;
}

/**
 * Home
 **/
.page-home .emphasized-text{
    font-weight: 700;
}
.page-home p{
    text-align: justify;
}

.page-home .download-qr-url{
    text-align: center;
}
.page-home .download-qr-url img{
    width: 100%;
    max-width: 200px;
}


/**
 * Content
 **/
.page-header-section{
    background-color: var(--amaf48-color-grey);
}
.page-header-section .page-title{
    color: var(--amaf48-color-brown);
    font-family: Arial, Helvetica, sans-serif;
    font-size: var(--amaf48-font-size-h3);
    font-weight: 700;
    text-transform: uppercase;
}
.page-header-section .bp-container{
    padding: 1rem 0;
}

/**
 * Page - Meeting Dates
 * Page - Home: Meeting Dates
 **/
.section-title{
    font-size: var(--amaf48-font-size-h4);
    font-weight: 700;
}
.page-meeting-dates .tbl-wrapper,
.section-meeting-dates .tbl-wrapper{
    margin-bottom: 2rem;
}
/* .page-meeting-dates .tbl-row{
    background-color: var(--amaf48-color-lightbeige);
} */
.page-meeting-dates .tbl-cell,
.section-meeting-dates .tbl-cell{
    background-color: var(--amaf48-color-lightbeige);
    border-bottom: 1px solid var(--amaf48-color-darkbeige);
    font-size: var(--amaf48-font-size-h6);
    line-height: 1.1;
    padding: 1rem;
}
.page-meeting-dates .tbl-row .tbl-cell:first-child,
.section-meeting-dates .tbl-row .tbl-cell:first-child{
    padding: 1rem 1rem 0;
}
.page-meeting-dates .tbl-row .tbl-cell:last-child,
.section-meeting-dates .tbl-row .tbl-cell:last-child{
    padding: 0 1rem 1rem;
}
.page-meeting-dates .tbl-row.section-day-header .tbl-cell:first-child,
.section-meeting-dates .tbl-row.section-day-header .tbl-cell:first-child{
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    padding: 1rem;
}
.page-meeting-dates .tbl-row.section-day-header .tbl-cell:last-child,
.section-meeting-dates .tbl-row.section-day-header .tbl-cell:last-child{
    padding: 0;
}
.page-meeting-dates .section-main-heading .tbl-row > .tbl-cell:first-child,
.section-meeting-dates .section-main-heading .tbl-row > .tbl-cell:first-child{
    font-size: var(--amaf48-font-size-h5);
    font-weight: 700;
}

.page-meeting-dates .tbl-row .tbl-cell:first-child,
.page-meeting-dates .tbl-row:first-child .tbl-cell,
.page-meeting-dates .tbl-row:last-child .tbl-cell,
.section-meeting-dates .tbl-row .tbl-cell:first-child,
.section-meeting-dates .tbl-row:first-child .tbl-cell,
.section-meeting-dates .tbl-row:last-child .tbl-cell{
    border-bottom: none;
}
.page-meeting-dates .tbl-wrapper .tbl-row:not(:first-child) .tbl-cell:first-child,
.section-meeting-dates .tbl-wrapper .tbl-row:not(:first-child) .tbl-cell:first-child{
    font-weight: 700;
}
.page-meeting-dates .tbl-wrapper .tbl-row:last-child .tbl-cell:last-child,
.section-meeting-dates .tbl-wrapper .tbl-row:last-child .tbl-cell:last-child{
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}
.page-meeting-dates .section-day-header,
.section-meeting-dates .section-day-header{
    color: var(--amaf48-color-white);
    font-size: var(--amaf48-font-size-h5);
    font-weight: 700;
}
.page-meeting-dates .section-day-header .tbl-cell:last-child,
.section-meeting-dates .section-day-header .tbl-cell:last-child{
    padding: 0;
}

.page-meeting-dates .section-day-1 .section-day-header .tbl-cell,
.section-meeting-dates .section-day-1 .section-day-header .tbl-cell{
    background-color: var(--amaf48-color-browngrey);
}
.page-meeting-dates .section-day-2 .section-day-header .tbl-cell,
.section-meeting-dates .section-day-2 .section-day-header .tbl-cell{
    background-color: var(--amaf48-color-browngreen);
}
.page-meeting-dates .section-day-3 .section-day-header .tbl-cell,
.section-meeting-dates .section-day-3 .section-day-header .tbl-cell{
    background-color: var(--amaf48-color-yellowgreen);
}
.page-meeting-dates .section-day-3 .footnote,
.section-meeting-dates .section-day-3 .footnote{
    color: var(--amaf48-color-greenbeige);
    font-size: var(--amaf48-font-size-p1);
}
.page-meeting-dates .section-day-4 .section-day-header .tbl-cell,
.section-meeting-dates .section-day-4 .section-day-header .tbl-cell{
    background-color: var(--amaf48-color-darkdarkgreen);
}
.page-meeting-dates .section-day-5 .section-day-header .tbl-cell,
.section-meeting-dates .section-day-5 .section-day-header .tbl-cell{
    background-color: var(--amaf48-color-brown);
}


/**
 * Page - Register
 **/
.register-container .page-title{
    font-weight: 700;
    text-align: center;
}

.register-container .form-notice{
    text-align: center;
}

.error404 h1{
    text-align: center;
}


@media all and (min-width: 576px){

}
@media all and (min-width: 600px){
    /* Navigation */
    header{
        padding-top: 6rem;
        padding-bottom: 1rem;
    }

    .site-header{
        column-gap: 2rem;
        flex-direction: row;
        padding-bottom: 1rem;
    }
    .site-header .title-container{
        margin-bottom: 0;
    }
    .site-header .number-wrapper{
        font-size: var(--amaf48-font-size-h2);
    }
    .site-header .number-wrapper sup{
        font-size: var(--amaf48-font-size-h5);
        /* position: relative;
        top: -6px; */
    }
    .site-header .title-wrapper{
        font-size: var(--amaf48-font-size-h5);
        line-height: 1;
    }
    .site-header .tagline-wrapper{
        border-radius: 1rem;
        font-size: var(--amaf48-font-size-h6);
        width: 100%;
    }
    .site-header .event-date-location{
        column-gap: 1rem;
        display: flex;
        justify-content: center;
    }
    .site-header .event-date::after{
        color: var(--amaf48-color-brown);
        content: "\25cf";
        padding-left: 1rem;
    }

    /* header > div:nth-child(2){
        background-color: var(--amaf48-color-darkgreen);
        padding: 3px;
    } */
    /* header .wp-block-navigation .wp-block-navigation__responsive-container:not(.has-modal-open) .wp-block-navigation-item__content.wp-block-navigation-item__content,
    header .wp-block-navigation .wp-block-navigation__responsive-container .wp-block-navigation-item__content.wp-block-navigation-item__content{
        border-radius: 1rem;
        color: var(--amaf48-color-white);
        padding: 5px 15px;
    }
    header .current-menu-item .wp-block-navigation-item__label,
    header .wp-block-navigation .wp-block-navigation__responsive-container .current-menu-item .wp-block-navigation-item__content.wp-block-navigation-item__content{
        background-color: var(--amaf48-color-brown);
    }
    header .wp-block-navigation-item__label:hover,
    header .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover{
        background-color: var(--amaf48-color-brown);
        text-decoration: none;
    } */
    header .wp-block-navigation .wp-block-page-list{
        flex-direction: row;
        padding-top: 0;
        padding-bottom: 0;
    }

}
@media screen and (-webkit-min-device-pixel-ratio:0) and (min-width: 600px) {
    
}
@media all and (min-width: 640px){


}
@media all and (min-width: 678px){

}
@media all and (min-width: 910px){


}

@media all and (min-width: 960px){
    .bp-container:not(.alignfull){
        width: 960px;
        max-width: 100%;
    }

    .row{
        column-gap: 1rem;
        flex-direction: row;
    }

    .col.is-1{
        width: calc(1/12 * 100%);
    }
    .col.is-2{
        width: calc(2/12 * 100%);
    }
    .col.is-3{
        width: 25%;
    }
    .col.is-4{
        width: calc(4/12 * 100%);
    }
    .col.is-half{
        width: 50%;
    }
    .col.is-8{
        width: calc(8/12 * 100%);
    }
    .col.is-9{
        width: 75%;
    }
    .col.is-10{
        width: calc(10/12 * 100%);
    }
    .col.is-full{
        width: 100%;
    }

    /**
     * Header
     **/
    header{
        padding-top: 9rem;
    }

    /**
     * Site Title
     **/
    .site-header .number-wrapper{
        font-size: 5rem;
        line-height: 1;
    }
    .site-header .number-wrapper sup{
        font-size: var(--amaf48-font-size-h3);
        position: relative;
        top: -12px;
    }
     .site-header .title-wrapper{
        font-size: var(--amaf48-font-size-h4);
        line-height: 1;
    }
    .site-header .tagline-wrapper{
        border-radius: 1rem;
        font-size: var(--amaf48-font-size-h5);
        margin-bottom: 0.5rem;
        width: 100%;
    }

    /**
     * footer
     **/
    footer{
        margin-block-start: 6rem;
    }

    /**
     * Page - Meeting Dates
     **/
    .page-meeting-dates .tbl-wrapper,
    .section-meeting-dates .tbl-wrapper{
        display: table;
        width: 100%;
    }
    .page-meeting-dates .tbl-row,
    .section-meeting-dates .tbl-row{
        display: table-row;
    }
    .page-meeting-dates .tbl-cell,
    .section-meeting-dates .tbl-cell{
        display: table-cell;
    }
    .page-meeting-dates .tbl-row .tbl-cell:first-child,
    .section-meeting-dates .tbl-row .tbl-cell:first-child{
        border-bottom: 1px solid var(--amaf48-color-darkbeige);
        padding: 1rem;
        width: 70%;
    }
    .page-meeting-dates .tbl-row .tbl-cell:last-child,
    .section-meeting-dates .tbl-row .tbl-cell:last-child{
        padding: 1rem;
    }
    .page-meeting-dates .tbl-row.section-day-header .tbl-cell:first-child,
    .section-meeting-dates .tbl-row.section-day-header .tbl-cell:first-child{
        border-top-right-radius: 0;
    }
    .page-meeting-dates .tbl-row.section-day-header .tbl-cell:last-child,
    .section-meeting-dates .tbl-row.section-day-header .tbl-cell:last-child{
        border-top-right-radius: 1rem;
    }
    .page-meeting-dates .tbl-wrapper .tbl-row:last-child .tbl-cell:first-child,
    .section-meeting-dates .tbl-wrapper .tbl-row:last-child .tbl-cell:first-child{
        border-bottom-left-radius: 1rem;
    }
    .page-meeting-dates .tbl-wrapper .tbl-row:last-child .tbl-cell:last-child,
    .section-meeting-dates .tbl-wrapper .tbl-row:last-child .tbl-cell:last-child{
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 1rem;
    }
    .page-meeting-dates .tbl-row:first-child .tbl-cell:first-child,
    .page-meeting-dates .tbl-row:last-child .tbl-cell:first-child,
    .section-meeting-dates .tbl-row:first-child .tbl-cell:first-child,
    .section-meeting-dates .tbl-row:last-child .tbl-cell:first-child{
        border-bottom: none;
    }
    .page-meeting-dates .tbl-wrapper .tbl-row:not(:first-child) .tbl-cell:first-child,
    .section-meeting-dates .tbl-wrapper .tbl-row:not(:first-child) .tbl-cell:first-child{
        font-weight: 400;
    }
    .page-meeting-dates .section-main-heading .tbl-cell,
    .section-meeting-dates .section-main-heading .tbl-cell{
        font-size: var(--amaf48-font-size-h5);
        font-weight: 700;
    }

}

@media all and (min-width: 1024px){
    /**
     * footer
     **/
    footer{
        margin-block-start: 9rem;
    }

}

@media all and (min-width: 1440px){


}