/* 32m custom styles */

:root {
	--red32m: #A02827;
	--white32m: #FFFFFF;
        --grey32m: #ECECEC;
        --lrmargin: 2vw;
        --desktop-lrmargin: 25vw;
        --typeface: 'Fivo Sans';
        --typeface-body: 'Fivo Sans';
        --font-weight-bold: 700;
        --font-weight-medium: 400;
        --font-size-large: 1.3em;
        --font-size-xlarge: 1.5em;
}



html {
	background: none;
	padding: 0 !important;
	margin: 0 !important;
}

body {
    background-color: var(--white32m);
    font-family: var(--typeface);
    font-weight: var(--weight-medium);
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: none;
    box-shadow: none;
    max-width: 100%;
}

p#copyright-footer {
    display: none;
}

div#page {
    font-family: var(--typeface);
    font-weight: var(--weight-medium);
    width: 100%;
    margin: 0;
    padding: 0;
    border-radius: none;
    box-shadow: none;
    max-width: 100%;
}

body.home {
	background-color: var(--red32m);
	padding: 0;
	margin: auto;
}

body > div#page header#masthead {
	background-color: var(--red32m);
}

body.home > div#page header#masthead {
	background-color: var(--white32m);
}

body.home > div#page article header {
    display: none;
}

body.home > div#page article div.entry-content {
    color: white;
    font-weight: var(--weight-bold);
    font-size: var(--font-size-xlarge);
}

body.home form#search-form {
	display: none;
}

h1.site-title {
	display: none;
}

div.site-logo > a > img.custom-logo {
	width: 10rem;
	height: 10rem;
}

div.site-logo {
    margin-left: var(--lrmargin);
}

div#content {
    margin-left: var(--lrmargin);
    margin-right: var(--lrmargin);
}


footer#colophon {
    background: var(--grey32m);
    margin: 0;
    padding: 0;
}

footer#colophon > p {
    margin-left: var(--lrmargin);
    margin-right: var(--lrmargin);
}

footer#colophon div.widget-area {
    margin-left: var(--lrmargin);
    margin-right: var(--lrmargin);
}

body.home footer#colophon {
    background: none;
    color: var(--white32m);
}

body.home footer#colophon a,
body.home footer#colophon a:link,
body.home footer#colophon a:visited,
body.home footer#colophon a:hover {
    background: none;
    color: var(--white32m);
    text-decoration: none;
}

body.home footer#colophon a:hover {
    background: none;
    color: var(--white32m);
    text-decoration: underline;
}

header#masthead {
    display: flex;
}

nav#site-navigation {
    margin-right: var(--lrmargin);
    margin-left: auto;
}

nav#site-navigation ul#primary-menu-list {
    display: flex;
}

nav#site-navigation ul#primary-menu-list li.menu-item {
    margin: 1em;
    list-style-type: none;
}

nav#site-navigation ul#primary-menu-list li.menu-item a,
nav#site-navigation ul#primary-menu-list li.menu-item a:hover,
nav#site-navigation ul#primary-menu-list li.menu-item a:visited  {
    color: var(--white32m);
    text-decoration: underline;
    text-transform: uppercase;
}

body.home nav#site-navigation ul#primary-menu-list li.menu-item a,
body.home nav#site-navigation ul#primary-menu-list li.menu-item a:hover,
body.home nav#site-navigation ul#primary-menu-list li.menu-item a:visited  {
    color: var(--red32m);
}

.compact-keyvalue-table .wp-block-columns {
    margin: 0;
    padding: 0;
}

.compact-keyvalue-table .wp-block-column {
    margin: 0;
    padding: 0;
}
.compact-keyvalue-table .wp-block-column p {
    margin: 0;
    padding: 0;
}

.compact-keyvalue-table.ckt-right .wp-block-column p {
    text-align: right;
}

.widget-area div#address-widget p {
    margin: 0;
}

@media (min-width: 640px) {

    body.home > div#page header#masthead {
        margin-bottom: 20vh;
    }

    div#content {
        margin-bottom: 20vh;
    }

    div.site-logo {
        margin-left: var(--desktop-lrmargin);
    }

    div#content {
        margin-left: var(--desktop-lrmargin);
        margin-right: var(--desktop-lrmargin);
    }

    footer#colophon > p {
        margin-left: var(--desktop-lrmargin);
        margin-right: var(--desktop-lrmargin);
    }

    footer#colophon > div.widget-area {
        margin-left: var(--desktop-lrmargin);
        margin-right: var(--desktop-lrmargin);
    }

    nav#site-navigation {
        margin-right: var(--desktop-lrmargin);
    }

}
