/*
Theme Name: IPM
Author: 
Author URI: 
Theme URI: 
Tags: full-site-editing
Text Domain: ipm
Requires at least: 6.1
Requires PHP: 7.4
Tested up to: 6.1
Version: 1.0.0

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

All files, unless otherwise stated, are released under the GNU General Public
License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned
with others.
*/

html {
    scroll-behavior: smooth;
}

/* Change the WordPress default css to a 1023px media query */
@media (min-width: 1151px) {
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: none !important;
    }

    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: block !important;
        width: 100%;
        position: relative;
        z-index: auto;
        background-color: inherit;
    }
}

/* Remove the WordPress default for 600px */
@media (min-width: 600px) {

    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: flex;
    }

    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: none;
    }
}

a {
    text-decoration: none;
}

.wp-block-post-content {
    padding: 43px;
}

header .wp-block-group.alignfull.m-header__wrap {
    background: #f0ece5;
    margin: 0 auto 20px !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.m-header__wrap .wp-block-group figure:first-child {
    width: 132px !important;
    margin-right: 18px;
}

@media screen and (max-width: 1392px) {
    .m-header__wrap {
    }

    .m-header__wrap .wp-block-group figure:first-child {
        width: 62px !important;
    }

    .m-header__wrap .wp-block-group figure:last-child {
        width: 222px !important;
    }
    .m-menu a {
        font-size: 12px;
    }
    .m-menu .a-button a {
        margin-top: 0 !important; 
    }
}
@media screen and (max-width: 1150px) {
.m-menu a {
    font-size: 27px;
}
}
.sticky .m-header__wrap {
    background: #f0ece5;
    margin: 0 auto 20px;
    background: #fff !important;
}

.wp-site-blocks header {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10;
    left: 0;
}

.wp-site-blocks figure img {
    margin-bottom: 10px;
}

main {
    padding-top: 94px;
}

@media screen and (max-width: 1392px) {
    main {
        padding-top: 89px;
    }  
}
@media screen and (max-width: 1150px) {
    main {
        padding-top: 45px;
    }  
}
.m-header {
    display: flex;
    max-width: 1657px;
    margin: 0 auto;
    width: 100%;
}

.wp-block-navigation__submenu-icon {
    display: none !important;
}

.is-menu-open {
    background: #f0ece5 !important;
}

@media screen and (min-width: 1151px) {
    .m-menu a {
        border-bottom: 11px solid transparent;
        padding-bottom: 36px;
        padding-top: 35px;
    }

    .wp-block-navigation__submenu-container {
        border: none !important;
        width: 100% !important;
    }

    .wp-block-navigation__submenu-container a {
        background: #F0ECE5;
        padding: 18px 22px;
        border-bottom: 0 !important;
        font-weight: normal;
    }

    .wp-block-navigation__submenu-container a:hover {
        border-bottom: 0 !important;
    }

    .m-menu li:hover a {
        border-bottom: 11px solid #005eb8;
        color: #005eb8;
    }

}

.m-menu .a-button a {
    border: 2px solid #005eb8;
    border-radius: 30px;
    padding: 10px 13px;
    color: #005eb8;
    margin-top: 1px;
    letter-spacing: 1px;
    margin-top: -14px;
}

.m-menu .a-button:hover a {
    background: #005eb8;
    color: #F0ECE5;
    border-bottom: inherit !important;
}

@media screen and (max-width: 1151px) {
    .wp-block-navigation__container {
        width: 100%;
    }

    .wp-block-navigation__submenu-container {
        padding-left: 0 !important;
    }

    .wp-block-navigation__submenu-container a {
        font-size: 15px !important;
    }

    .has-child>a {
        border-bottom: 1px solid !important;
        margin-bottom: 10px;
    }

    .wp-block-navigation-item {
        width: 100% !important;
        display: block !important;
    }

    .m-menu .a-button a {
        width: auto !important;
        display: inline-block !important;
        padding: 10px !important;
    }
}

form label,
.with_frm_style .frm_required {
    color: #6B6B6B !important;
}

.frm_form_fields input,
textarea {
    background-color: rgba(0, 0, 0, .02) !important;
    border: 2px solid #6B6B6B !important;
    font-size: 20px !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    height: auto !important;
}

.frm_submit {
    text-align: center;
}

.frm_submit button {
    border: 2px solid #6B6B6B !important;
    border-radius: 30px !important;
    padding: 10px 50px !important;
    color: #6B6B6B !important;
    margin-top: 1px !important;
    letter-spacing: 1px !important;
    background: none !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px !important;
}

.frm_submit button:hover {
    color: #FFF !important;
    background: #6B6B6B !important;
}

.m-donate {
    max-width: 1920px !important;
}

.m-footer {
    max-width: 1458px;
    margin: 0 auto;
}

@media screen and (max-width: 1457px) {
    .wp-block-social-links.wp-container-21 {
        justify-content: center !important;
    }
    .wp-block-group.wp-container-15 {
        gap: 0 !important;
    }
}

.is-layout-constrained .wp-block-group.alignfull {
    margin-right: -43px !important;
    margin-left: -43px !important;
}

.wp-block-group.alignfull.m-footer {
    margin-right: auto !important;
    margin-left: auto !important;
}

@media screen and (max-width: 1456px) {
    .wp-block-group.alignfull.m-footer {
        flex-direction: column !important;
        padding: 0 43px !important;
        gap: 0 !important;
    }

    .wp-block-social-links.wp-container-22 {
        justify-content: center !important;
    }
    .wp-block-social-links.wp-container-13 {
        justify-content: center !important;
    }

    .wp-block-column {
        justify-content: center !important;
        display: flex;
    }
}

@media screen and (max-width: 1810px) {
    .wp-block-cover.alignwide.m-banner {
        margin-right: -22px !important;
        margin-left: -22px !important;
    }
}

.wp-block-cover.alignwide p:last-child {
    width: 786px !important;
}
@media screen and (max-width: 1024px) {
    .wp-block-cover.alignwide {
        padding: 40px !important;
    }

    .wp-block-cover.alignwide h1 {
        font-size: 61px !important;
        margin-bottom: 20px !important;
    }

    .wp-block-cover.alignwide p:last-child {
        display: none !important;
    }
}

.m-page-title {
    font-size: 76px !important;
    color: #035EB8;
    font-weight: bold;
    max-width: 1275px;
    margin: 0 auto;
    padding: 0 40px; 
    margin-top: 50px; 
}
@media screen and (max-width: 940px) {
    .m-page-title {
        font-size: 36px !important;
        line-height: 1.1; 
    }
}
.m-page-title:after {
    width: 153px;
    content: "";
    height: 13px;
    background: #0055ad;
    display: block;
    margin-top: 42px;
}

@media screen and (max-width: 960px) {
    #donate figure {
        display: none !important; 
    }
    #donate div {
        text-align: center; 
    }
    #donate {
        justify-content: center !important; 
    }
    #donate iframe {
        max-width: 425px !important; 
    }
    
}

.m-names ul {
 list-style: none; 
 padding: 0;
 margin: 0; 
}


.wp-block-cover.alignwide h1.m-cover-title {
    font-size: 96px;
    line-height: 36px;
}
.wp-block-cover.alignwide h1.m-cover-title strong {
    font-size: 36px;
    display: block; 
}

@media screen and (max-width: 640px) {
    .hide {
        display: none; 
    }
    .wp-block-cover.alignwide h1.m-cover-title {
        font-size: 37px !important;
    }
    .wp-block-cover.alignwide h1.m-cover-title strong {
        font-size: 20px !important;
        display: block; 
    }
    
}

a.has-dark-blue-color:hover {
    color: #fff !important;
    background: #035EB8 !important;
    border: 2px solid #035EB8 !important; 
}

.m-breadcrumb {
    margin-top: 50px; 
    display: block; 
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
    gap: 34px;
}

.wp-block-cover .wp-block-cover__inner-container {
    max-width: 1249px;
}

.frm_message {
    text-align: center !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 20px !important;
    color: #6B6B6B !important;
    padding: 0 !important;
}

.wp-block-post-template li {
    position: relative; 
}
.m-news__link a{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0; 
    background: red; 
    opacity: 0; 
}
.m-news__date {
    font-size: 15px; 
    font-weight: 500; 
}
.m-news__source {
    color: #2F7AC3;
    font-size: 15px; 
}

@media screen and (min-width: 1024px) {
    .m-news__list .gb-grid-column:first-child {
        margin-left: -46px; 
    }
}

h3 {
    line-height: 28px !important; 
}