* {
    box-sizing: border-box;
}
main.mainpage > article#contentText > h1 {
    font-size: 3rem;
}

main.mainpage > article#contentText > h1 > small {
    margin-top: -1rem;
    display: block;
    font-size: 1.5rem;
}
article#contentText.contentText {
    width:99vw;
    max-width: 1600px;
    margin: 0 auto;
    display: block;
}

article#contentText.contentText > div#threeColumn {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: stretch;
    align-content: flex-start;
    margin: 2rem 1rem 5rem;
    flex-wrap: wrap;
}
article#contentText.contentText > div#threeColumn > article {
    flex-grow: 1;
    flex-basis:20%;
    align-self: flex-start;
    min-width: 250px;
    max-width: 35%;
}
article#contentText.contentText > div#threeColumn > article:first-of-type {
    flex-grow: 2;
    flex-basis:50%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-content: flex-start;
    justify-content: flex-start;
    min-width: 500px;
    max-width: unset;
}
article#contentText.contentText > div#threeColumn > article:first-of-type > div {
    width: 100%;
    height: 125px;
    display: block;
    flex: 1 0 100%;
    min-height: 125px;
}
article#contentText.contentText > div#threeColumn > article:first-of-type > div > p
{
    line-height: 1.4;
    font-family: "Trebuchet MS","Lucida Sans Unicode", "Lucida Sans", "Lucida Grande", Arial, sans-serif;
    text-align: left;
    font-size: 1.1rem;
}
article#contentText.contentText > div#threeColumn > article:first-of-type > div img {
    width: auto;
    height:110px;
    display: block;
    margin:0 1rem 0 0;
    padding:0;
    float:left;
}
article#contentText.contentText > div#threeColumn > article#mainEvent {
    border-radius: 1rem;
    flex-basis: 25%;
    align-self: flex-start;
}
main article#contentText.contentText > div#threeColumn > article#mainEvent figure {
    width: 95%;
    height: auto;
    margin: 2rem auto 1rem;
}
main article#contentText.contentText > div#threeColumn > article#mainEvent figure img {
    width: 100%;
    height: auto;
    max-width: 350px;
}

article#contentText.contentText > div#threeColumn > article#thingsToDoInner {
    max-width: 280px;
    border:none;
    padding: unset;
}
article#contentText.contentText > div#threeColumn > article#thingsToDoInner > div
{
    border: 2px solid var(--nav-button-bg);
    border-radius: 0.5rem;
    padding: 0.3rem 0.5rem;
    max-height: 520px;
    overflow-x: scroll;
}

#emergency {
    width: 180px;
    height: 180px;
    border-radius: 90px;
    background-color: #b00;
    color: #fff;
    border: #f00 5px solid;
    position: fixed;
    right: 50px;
    bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.5rem;
    line-height: 1.45;
    margin: 0;
    padding: 1rem;
    text-align: center;
    font-weight: bold;
    letter-spacing: -1px;
    transform: rotate(20deg);
    z-index: 999;
}
#emergency a {
    text-decoration: none;
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.65rem;
    line-height: 1.75;
    color:inherit;
    display: block;
}
#EDIclose {
    position: fixed;
    right: 40px;
    width: 30px;
    bottom: 140px;
    font-size: 1.15rem;
    z-index: 9999;
    overflow: hidden;
    background-color: #ffc;
    text-align: center;
    height: 30px;
    line-height: 25px;
    border-radius: 15px;
    border: 3px solid #f00;
    font-weight: bold;
    color:#000;
    font-family: "Trebuchet MS","Lucida Sans Unicode", "Lucida Sans", "Lucida Grande", Arial, sans-serif;
}
#EDIclose:hover, #EDIclose:focus {
    cursor: pointer;
}



@media screen and (max-width: 1080px) {
    article#contentText.contentText > div#threeColumn > article:first-of-type
    {
        order: 3;
        width: 80%;
        max-width: unset;
        margin: 3rem 10%;
    }

    article#contentText.contentText > div#threeColumn > article#thingsToDoInner {
        max-width: 360px;
    }
    article#contentText.contentText > div#threeColumn > article#mainEvent {
        max-width: 50%;
        flex-basis: 50%;
    }
    article#contentText.contentText > div#threeColumn > article:first-of-type > div {
        margin: 1rem auto;
    }
}

@media screen and (max-width: 500px) {
    main.mainpage > article#contentText > h1 {
        font-size: 2.6rem;
        margin:0.5rem auto 2rem;
    }

    main.mainpage > article#contentText > h1 > small {
        margin-top: -.5rem;
    }

    article#contentText.contentText > div#threeColumn > article:first-of-type
    {
        width:100%;
        margin: 3rem auto 1rem;
        max-width: 90vw;
        min-width: unset;
        flex-basis: 80%;
    }
    article#contentText.contentText > div#threeColumn > article:first-of-type > div {
        margin: 1rem auto;
        min-width: unset;
    }

    article#contentText.contentText > div#threeColumn > article#thingsToDoInner {
        display: block;
        width: 80%;
        margin: 1rem auto;
        order: 4;
        max-width: unset;
        min-width: unset;
        flex-basis: 80%;
    }
    div#threeColumn > article#mainEvent {
        max-width: 80%;
        flex-basis: 80%;
    }


}
