#enroll {
    background-image: url('/static/images/studio-pose-4.jpg');
    background-size: cover;
    background-position: top center;
    padding-bottom: 2em;
}

#enroll div.section-content {
    background-color: #4169e1;
    width: 50%;
    margin: 1em 0 1em 2em;
    border-radius: 1em;
    color: #eee;
}

@media (max-width: 760px)
{
    #enroll div.section-content {
        width: calc(100% - 2em);
        margin: 1em;
        border-radius: 1em;
        color: #eee;
    }
}

#enroll table {
    width: 100%;
    border-spacing: 0.5em;
}

#enroll table td {
    background-color: #fff;
    color: #111;
    text-align: center;
    border-radius: 0.5em;
    padding: 0.5em;
    font-weight: bold;
}

#enroll h3 {
    font-size: 2em;
}

#enroll h4 {
    font-size: 1.5em;
    text-align: center;
}

@media(max-width: 515px)
{
    #enroll h2 {
        font-size: 1.5em;
    }

    #enroll table td {
        width: 50%;
    }
}

@media(max-width: 350px)
{
    #enroll h2 {
        font-size: 1em;
    }
}

#schedule div.section-content {
    text-align: center;
}

#schedule h4 {
    text-align: center;
    font-size: 1.5em;
}

#schedule div.panel {
    background-color: #4169e1;
    display: inline-block;
    border-radius: 1em;
    color: #eee;
    vertical-align: top;
    margin: 0 0 1em 1em;
    width: 30%;
    text-align: left;
    padding: 0.5em;
}

@media (max-width: 1040px)
{
    #schedule div.panel {
        width: calc(100% - 2em);
    }
}

#events {
    background-image: url('/static/images/stock-6.jpg');
    background-size: cover;
    background-position: center;
}

#events div.columns{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#events div.columns > div {
    width: 50%;
}

#events h3 {
    font-size: 3em;
    margin-bottom: 0;
}

#events ul {
    list-style: none;
}

#events li {
    border: 1px solid #4169e1;
    border-radius: 20px;
    background-color: #fff;
    margin-bottom: 0.5em;
    display: flex;
    flex-wrap: nowrap;
}

#events li div {
    display: inline-block;
    padding: 0.3em;
}

#events li div.tag {
    background-color: #4169e1;
    border-radius: 1em;
    width: 20%;
    min-width: 160px;
    text-align: center;
    color: #eee;
    font-weight: bold;
}

@media (max-width: 1040px)
{
    #events div.columns > div {
        width: 100%;
    }
}

@media (max-width: 515px)
{
    #events li {
        flex-direction: column;
    }

    #events li div.tag {
        width: 100%;
        padding: 0.3em
    }

    #events li div {
        text-align: center;
        padding: 1em 0;
    }
}