.sub-topic {
    font-weight: bold;
}

.capb {
    font-size:150%;
    color:#0000FF;
}

.story-time {
    font-weight: bold;
    margin-bottom: 0;
}
.story-time + p {
    margin-top: 0;
}
:root {

    --em:18px;
    --maf-window-scrollbar-width:17px;
    --maf-window-client-width:calc(100vw - var(--maf-window-scrollbar-width));
    --menu-height: calc(3 * var(--em) * 0.9);
    --menu-spacer: calc(2 * var(--menu-height));
    --landing-width:1200px;
    --border-width:calc(0.0025 * var(--landing-width));
    --z-landing:10000;

    --z-menu:20000;

    /* highest value that safe across all browsers
   https://stackoverflow.com/questions/491052/minimum-and-maximum-value-of-z-index#491105 */
    --z-top:16777271;
    --landing-top-margin:30px;

    /*	-webkit-touch-callout: none;
            -webkit-user-select: none;
            -khtml-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
    
            -webkit-tap-highlight-color: transparent;
    */

    /*	--media-bar-background: #E0B542;
            --media-bar-color: black;
    */
    --media-bar-background: black;
    --media-bar-color: white;

    --video-background: black;
    --video-color: white;

}
p:lang(it) {

    background-color:green;
}
* {

    /*	-webkit-touch-callout: none;
            -webkit-user-select: none;
            -khtml-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
    */
    -webkit-tap-highlight-color: transparent;
}


a[href^="tel:"] {
    color: white;
    text-decoration: none;
}

a[href^="tel:"]:before {
    content: "\260e";
    margin-right: 0.5em;
}


.anchor {
    position:relative;
    height:0;
    margin:0;
    padding:0;
    top:0;
}

.copyright {
    text-align: center;
    margin-top:calc(0.5 * var(--em));
}

body {

    margin:0;
    border:0;
}

.exclamation {

    font-weight:bold;
    border:1px groove darkgray;
    border-style: outset;
    padding:1em;
    margin: 0 1em;
    background-color:lightgray;
    border-radius: 0.5em;
}

.example {

    font-weight:bold;
    font-size:120%;
    margin-bottom: 0;
}
.example + p {
    margin-top: 0.25em;
}

.example + u {
    margin-top: 0.25em;
}

ul.headings li p:first-of-type {
    font-weight:bold;
}
ul.headings li p {
    margin-top: 0.25em;
    margin-bottom: 0.25em;
}
#landing-container {

    will-change: transform;
    box-sizing: border-box;
    position:relative;
    width:var(--maf-window-client-width);
    /*	height:100vh;
            height:calc(0.5 * var(--landing-width)); */

    z-index:var(--z-landing);

    overflow:hidden;

    background-color: var(--video-background);
}

#landing-inner {

    box-sizing: border-box;
    position:relative;
    top:0;
    width:100%;
    max-width:var(--landing-width);
    height: 100%;
    margin:0 auto;
    border-width:1px;
    border-style:none;

    background: transparent;
    color:black;
    overflow:hidden;

}


#footer {
    position:fixed;
    z-index:var(--z-top);
    bottom:0;
    height:3em;
    width:100%;
    height:3em;
    margin:0 auto 0 auto;
    background-color:rgba(0,0,0,0.7);
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    transition-duration: 2s;
    opacity: 0;

}

#footer a {
    text-decoration: none;
    color:white;
    font-weight:bold;
    z-index:16777271;
    z-index:var(--maf_Z_MAX);
}

#main {

    background-image: url('/content/mud_run.jpg');
    background-size: cover;
    height: 100vh;
    width: 100%;
}

#banner {
    position: absolute;
    top: 5%;
    width: 90%;
    color: white;
    font-size: 5vw;
    padding: 3vh;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 1vw;

    left: 50%;
    transform: translate(-50%);

}
#logo {
    position:relative;
    left: 3vw;
    color: white;
    padding-top: 0.25lh;
    padding-bottom: 0.25lh;
}

#logo p:nth-of-type(1) {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.5em;
    font-weight: bolder;
    font-style: italic;
}

#logo p:nth-of-type(2) {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: bolder;
    font-style: italic;
    font-size: 1em;
}

#tagline {
    position: absolute;
    bottom: 10vh;
    width: 60%;
    color: #d7dce1;
    text-align: center;
    font-size: 4vh;
    padding: 3vh;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 1vw;

    left: 50%;
    transform: translate(-50%);

    font-weight: 600;
    font-family: sans-serif;


}
#menu {
    display: flex;
    flex-wrap: wrap;
    white-space: nowrap;
    color: white;
    font-weight: bolder;
    font-family: sans-serif;
    font-size: 20px;
    background-color:#BC2027;
    justify-content: space-around;
    border-radius: 1vw;
}
#menu.selected {
    color: red;
}

#menu a {

    color: white;
    text-decoration: none;
}

#menu div {

    padding-left: 2em;
    padding-right: 2em;
    padding-top: 0.3em;
    padding-bottom: 0.3em;

    border-radius: 1.5vw;
    background-color: rgba(0,0,0,5%);
    margin: 2px;
}

#below {
    position:absolute;
    top: 100vh;
}

.maf_moreButton {
    margin: 8px 0 12px 0;
    /*  background-image: linear-gradient(#42A1EC, #0070C9);
      border: 1px solid #0077CC;
    */
    left: 1em;
    background-image: linear-gradient(#d7dce1, #121212);
    border: 1px solid rgba(0, 0, 0, 0.7);
    border-radius: 4px;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    direction: ltr;
    display: block;
    font-family: "SF Pro Text","SF Pro Icons","AOS Icons","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 0.75em;
    font-weight: 400;
    letter-spacing: -.022em;
    line-height: 1.47059;
    min-width: 30px;
    overflow: visible;
    padding: 4px 15px;
    text-align: center;
    vertical-align: baseline;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
}

.maf_moreButton:disabled {
    cursor: default;
    opacity: .3;
}

.maf_moreButton:hover {
    background-image: linear-gradient(#51A9EE, #147BCD);
    border-color: #1482D0;
    text-decoration: none;
}

.maf_moreButton:active {
    background-image: linear-gradient(#3D94D9, #0067B9);
    border-color: #006DBC;
    outline: none;
}

.maf_moreButton:focus {
    box-shadow: rgba(131, 192, 253, 0.5) 0 0 0 3px;
    outline: none;
}

.bullet-wrapper {
    width:100%;
    background-color:rgba(131, 192, 253, 0.5);

}
.bullet-container {

    box-sizing:border-box;
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    align-items:start;
    margin:auto;
    padding:0 8px;
}


.bullet {
    display:flex;
    justify-content:left;
    align-items:start;
    width:30%;
    min-width:300px;
    /*	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.9);
            border-radius:1vw; */
    margin:0;
    background-color:#FEFEFE;
    font-size:16px;


}

.bullet img {
    width:20%;
    height:auto;
    margin-right:8px;
    /*	float:left;
            margin:auto 8px auto 0; */

}

.article-title {
    position: relative;
    margin: 0;
    margin-left: 3em;
    left: -1em;
    font-size: 150%;
    font-weight: bold;
    text-align: left;
}


.article-image {

    box-sizing:border-box;
    float:right;
    margin:4px 0 8px 16px;
    width:45%;
    max-width:300px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.9);
    border-radius:calc(0.01 * var(--landing-width));
    transition: 0.5s;

}
.article-image:hover {

    position: relative;
    transform:scale(1.5) translateX(-20%);
    z-index:var(--z-top);

}

.article-image-hover {

    position: relative;
    transform:scale(1.5) translateX(-20%);
    z-index:var(--z-top);

    position:fixed;
    top:50%
}
.topic {
    width:100%;

}
.topic-image {

    float: left;
    width: 2em;
    margin: 0 8px 4px 4px;
    cursor: pointer;
    transition: 0.5s;
    filter: drop-shadow(5px 5px 5px #222);

}

.topic-image:hover {
    position: relative;
    transform:scale(1.5) translate(20%, 20%);
    z-index:var(--z-top);
}

.link-button {
    float:left;
    width:2em;
}
[class*="maf_tooltip"] span:first-of-type {
    margin: 1em 0!important;
}


button {
    cursor:pointer;

}

.maf_modal {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color:rgba(0, 0, 0, 0.4);
    width:100vw;
    height:100vh;
    position:fixed;
    left:0;
    top:0;
    z-index:16777271;
    z-index:var(--maf_Z_MAX);

    overflow:auto;

}

#health-disclaimer-container {

    display: flex;
    align-items: center;
    justify-content: center;

    width:100vw;
    height:auto;
    position:fixed;
    left:0;
    bottom:1em;
    z-index:16777271;
    z-index:var(--maf_Z_MAX);


    transition-duration: 2s;
    opacity: 0;
    pointer-events: none;

}
#health-disclaimer {
    background-color:red;
    border:2px solid black;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.9);
    border-radius:1vw;
    margin:auto;
    padding:2em 2em 1em 2em;
    width:75%;
    max-height: 75vh;
    transition-duration: 1s;
    overflow:auto;
    font-size:1em;
}

#health-disclaimer button {
    font-size: 1.5em;
    padding-left: 1.5em;
    padding-right: 1.5em;
    padding-top: 0.75em;
    padding-bottom: 0.75em;
    border-radius: 0.5em;
}

.day-title {
    float: left;
    left: -1em;
    font-size: 150%;
    font-weight: bold;
    text-align: left;
    background-color: lightgray;
    padding: 2em;
    border-radius: 0.5em;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.9);
}
.day-image {
    box-sizing: border-box;
    float: right;
    margin: 4px 0 8px 16px;
    width: 45%;
    max-width: 300px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.9);
    border-radius: calc(0.01 * var(--landing-width));
    transition: 0.5s;
}
.day-container {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    margin: auto;
    background-color: #FEFEFE;
    background-color: #9a3232;
    padding: 8px;
    flex-direction: row;
    align-content: stretch;
    align-items: flex-end;
}

.crusty-quote {
    /* flow-root; causes the background and border to flow around the float image */
    display: flow-root;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.9);
    border-radius: 0.5em;
    padding: 0.5em 3em 0.5em 3em;
    background-color: rgba(0, 0, 0, 0.19);
    text-align: center;
    padding: 0.5em 3em 0.5em 3em;
    margin-left: 3em;
    width: fit-content;
    max-width: 40%;
}

.maf_moreText {

    border-left: 0.5px solid black;
    border-right: 0.5px solid black;
    border-top: 0.5px solid black;
    border-bottom: 0.5px solid black;
    overflow: visible;
    border-radius: 0.5em;
    padding: 0.5em;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.9);
    background-color: #f8f9fb
}

#popup-container {

    display: flex;
    align-items: center;
    justify-content: center;

    width:100vw;
    height:100vh;
    position:fixed;
    left:0;
    top: 0;
    z-index:16777271;
    z-index:var(--maf_Z_MAX);

    transition-duration: 0.5s;
    opacity: 0;
    pointer-events: none;

}
.popup {
    background-color: white;
    border: 2px solid black;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.9);
    border-radius: 1em;
    margin:auto;
    padding: 2em 2em 1em 2em;
    max-height: 75vh;
    overflow:auto;
    font-size:1em;
    min-width: 60%;
    pointer-events: all;
}

#popup-container button {
    font-size: 0.75em;
    padding-left: 1em;
    padding-right: 1em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    border-radius: 0.5em;
}

[id^='poptext-'] {
    display: none;
}

.food-table {
	border-collapse: collapse;
	border: 1px solid black;
	width:100%;
}
.food-table th, td {
	border: 1px solid;
	text-align:
	center;
	width: 15%;
}
