.line,
.lastUnit {
    overflow: hidden;
    *overflow: visible;
    *zoom: 1;
    padding: 0 10px;
}

.size1of4 {
    width: 25%;
}
.size3of4 {
    width: 75%;
}
.unit {
    /* unit - Base class which divides a line into sections (columns). */
    float: left;
    padding: 0 0px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box; /* box-sizing:border-box; creates a box-model where
	padding and border are NOT added onto the width - they are included in the width,
	so a 200px wide element with 20px padding will be 200px, NOT 240px wide */
}

/* MAIN LAYOUT */
body {
    margin: 0;
    background: #ededed;
    min-width: 240px;
    -webkit-text-size-adjust: none; /* The text size is not adjusted for Safari on iPhone */
}
.main {
    background: #fff;
    padding: 0 0 60px;
    min-height: 300px;
}
.inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}
/* HEADER */
.header {
    background: #fff;
}
.header .inner {
    padding-top: 45px;
    position: relative;
    min-height: 72px;
}

.header .breadcrumbs {
    width: 100%;
    background-color: #1c7ea370;
    padding: 10px 0 10px 80px;
    margin-top: 8px;
}

.header .breadcrumbs li {
    display: inline-flex;
}
.header .breadcrumbs li:not(:last-child)::after {
    content: ">";
    padding: 0 8px;
}


.mobile-only {
    display: none;
    visibility: hidden;
}
.desktop-only {
    display: inherit;
    visibility: visible;
}

/* Main Content */
.content-container,
.sidebar {
    width: 100%; /* sidenav is now shown above the page content */
    margin-bottom: 30px;
}
.typography h1 {
    /* decrease size of page heading due to smaller screen */
    font-size: 30px;
    line-height: 35px;
    margin-bottom: 15px;
    padding-bottom: 10px;
}
.typography p {
    font-size: 14px;
    line-height: 23px;
}

.no-sidebar .content-container {
    float: left;
    width: 100%; /* makes content container full width when there is no sidebar */
}

.tablet-nav .header .inner {
    padding-top: 20px;
}

header .inner:after,
footer:after {
    /* clearfix */
    height: 0;
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
}

.header .inner .flow {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.content .main {
    width: 75%;
}

/* BREAKPOINT 960px */

@media only screen and (max-width: 960px) {
    .content img {
        max-width: 97%;
        height: auto;
    }
    .content .main {
        width: 100%;
    }
    .header .primary ul {
        margin-left: -12px;
        -webkit-padding-start: 0px; /* removes default webkit padding on ul items */
    }

    .header .inner .flow {
        flex-direction: column;
    }
    .event-brite-panel {
        margin-left: 0 !important;
    }
}

/* when changing the breakpoint below, change it ito the same value in the script.js file as well */
@media only screen and (max-width: 640px) {
    body {
        max-width: 640px;
    }
    #media-query-trigger {
        visibility: visible;
    }
    .mobile-only {
        display: inherit;
        visibility: visible;
    }
    .desktop-only {
        display: none;
        visibility: hidden;
    }

    /* Navigation*/

    .tablet-nav .header .brand {
        float: none;
        display: inline-block;
        margin-left: 22px;
        margin-bottom: 22px;
    }
    .brand h1 {
        font-size: 40px;
    }
    .brand h1 {
        padding-right: 100px; /* padding stops .brand text from overlapping the search and nav buttons */
    }
    .tablet-nav .header {
        padding: 0;
    }
    .tablet-nav .header .inner {
        padding: 20px 0 0 0;
        min-height: 0;
    }
    .tablet-nav .header .primary .nav-open-button {
        /* styling and positioning of the nav toggle button */
        z-index: 100;
        width: 20px;
        height: 20px;
        position: absolute;
        right: 20px;
        top: 35px;
        display: block;
        cursor: pointer;
        margin-top: 0;
        padding: 0;
        background: none;
    }
    .tablet-nav .header .primary ul {
        z-index: 10;
        position: relative;
        display: none; /* initially hiding the navigation */
        float: left;
        margin: 0;
        padding: 0;
        white-space: normal;
        width: 100%;
    }
    .tablet-nav .header .primary ul li {
        width: 100%;
        margin: 0;
        padding: 0;
        float: none; /* displays list items vertically */
        background: none;
        position: relative;
        text-shadow: 0 1px #fff;
    }
    .tablet-nav .nav-open-button svg {
        width: 20px;
        height: 20px;
    }
    .tablet-nav .header .primary ul li a,
    .tablet-nav .header .primary ul li.current a,
    .tablet-nav .header .primary ul li.section a {
        /* styling the  top level nav links */
        padding: 10px 0 10px 22px;
        font-weight: bold;
        border-bottom: 1px solid #bbb;
        color: #434343;
        background: #e7e7e7;
    }
    .tablet-nav .header .primary ul li.current a {
        background: #cccccc; /* makes background on current top level page slightly darker */
    }
    .tablet-nav .header .primary ul li a:hover {
        color: inherit;
    }
    .tablet-nav .header .primary li.current:after {
        display: none; /* hides the link arrow on current top level page */
    }
    .tablet-nav .tablet-nav .header nav.primary ul li {
        padding: 0;
    }

    /* Main Content */
    .main {
        padding: 20px 0 45px; /* decrease padding so that more content can fit on screen */
    }
    .content-container,
    .sidebar {
        width: 100%; /* sidenav is now shown above the page content */
        margin-bottom: 30px;
    }
    .typography h1 {
        /* decrease size of page heading due to smaller screen */
        font-size: 30px;
        line-height: 35px;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    .typography p {
        font-size: 14px;
        line-height: 23px;
    }
    p.intro {
        font-size: 19px;
        line-height: 27px;
    }
    .main .inner {
        padding: 0 22px;
    }
    /* Footer */
    .footer .right {
        float: left;
        width: 100%;
    }
}


.flow-row {
    display: flex;
    flex-direction: row;
}

.flow-row.space-between {
    justify-content: space-between;
}

.video-container {
    width: 100%;
    overflow: hidden;
    display: block;
    height: 260px;
}

.content {
    margin-top: 15px;
}

.event-brite-panel {
    border-radius: 4px;
    border: 1px solid #bcedff;
    background-color: #1c7ea33b;
    margin-left: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
}

.event-brite-panel .bold{
    font-weight: bold;
}

.event-brite-panel  button {
    background-color: #5a4bff;
}

a {
    color: black;
}

.header .nav-open-button {
    display: none; /* removes the nav toggle button for desktop site */
}
.header .primary li {
    color: #000;
    float: left;
    padding-bottom: 14px;
    margin: 0 5px;
    position: relative;
    white-space: nowrap; /* forces text to never wrap onto a second line */
}
.header .primary li a {

    font-size: 11px;
    padding: 6px 8px;
    font-weight: bold;
    display: block;
}
.header .primary li a:hover {
    color: #000;
}
.header .primary li.current a {
    border-bottom: solid 4px #1c7ea3;
}

.header .primary li.current:after {
    content: "}"; /* adds triangle beneath current nav item ('}' is renders as a triangle when WebSymbolsRegular is set as the font) */
    display: block;
    position: absolute;
    left: 50%;
    margin-left: -7px;
    bottom: -7px;
    font-family: "WebSymbolsRegular";
    font-size: 30px;
    color: #fff;
    text-align: center;
    line-height: 20px;
}

/* FOOTER */
.footer {
    color: #6b6b6b;
    background: #ededed;
    padding: 20px 0;
    font-size: 11px;
    line-height: 22px;
}
.footer a {
    color: #6b6b6b;
}
.footer a:hover {
    color: #b90000;
}
.footer .left {
    float: left;
    color: #000;
    display: block;
    margin-bottom: 10px;
}
.footer .right {
    float: right;
    display: block;
    margin-bottom: 10px;
}
.footer span {
    padding: 0 3px;
    color: #bbb;
}
.footer .primary,
.footer .primary ul {
    display: inline;
    margin: 0;
    padding: 0;
}
.footer .primary li {
    display: inline;
}
.ie6 .footer .primary li,
.ie7 .footer .primary li {
    /* this is a bugfix for ie6/7 */
    display: inline;
    zoom: 1;
    margin-right: 10px;
}
.footer .primary li:after {
    /* adds '/' to separate the footer navigation items */
    padding: 0 3px 0 5px;
    content: "/";
    color: #999;
}
.footer .primary li:last-child:after {
    content: ""; /* makes sure last nav item doesn't have a '/' following it */
}
.footer .arrow {
    padding: 0 8px 0 5px;
    color: #b80000;
    font-size: 13px;
}
.footer .primary .nav-open-button {
    display: none; /* the footer includes the primary nav include - this makes sure the nav open close button doesn't show up */
}
.flash-message {
    margin: 5px 0;
    background-color: #94bfcf;
    text-align: center;
    padding: 15px;
}
.flash-message p {
    margin: 0;
}