.item {
    width: 100px;
    height: 100px;
    float: left;
    margin: 5px;
    padding: 5px;
}

.item p {
    margin: 0;
}

.grid-item {
    /*transition: background 0.4s, box-shadow 0.4s !important;*/
    transition: all;
}
.inline-lists {
    margin-left: 0;
}

.inline-lists li {
    display: inline-block;
    list-style-type: none;
    padding: .2rem;
}

.post-content.with-background {
    padding: 1rem;
}

.post-content.with-background p {
    margin: 0 0 1rem;
}

.post-content.with-background a {
    display: block;
    font-size: 1.25rem;
    text-align: left;
}

.blog-masonry .post-title { 
    font-size: 1.75rem;
}
/*.cards {
    display: -ms-grid;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-rows: auto;
    grid-gap: 1rem;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    justify-items: center;
    justify-content: center;
}*/

.card {
    background-color: #fafafa;
    border: 2px solid #e7e7e7;
    border-radius: 4px;
    padding: .5rem;
}

.cards h2 a {
    font-size: 1.8rem;
    line-height: 1.5;
}

.card .post-title {
    font-size: 1.5rem;
}

.card p {
    font-size: 1.6rem;
}

.card .post-content.with-background a {
    font-size: 1.4rem;
}

article.post {
    height: 100%;
    background-color: #fafafa;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    text-align: center;
}

.post-media .post-title {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.jsBrightTALKEmbedWrapper > div {
    display: none;
}

/* For the checkbox toggles, hide the first and last columns until we get up until about 1200 */
.rowtogs > .column:first-child  {
    display: none;
}

@media screen and (min-width: 1200px) {
    .rowtogs > .column:first-child  {
        display: block;
    }
}

@media screen and (max-width: 768px) {

    .section-block .center h2, .section-block .center p {
        text-align: left !important;
    }

    .section-block {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    /* Adjustments to Toggle Panel 
    so everything fits nicely on mobile */

    .rowtogscontainer {
        display: -ms-grid;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr; 
    }

    .rowtogscontainer .checkbox+.checkbox-label:before {
        width: 2rem;
        margin-right: 0.5rem;
    }

    .filter-button-group .rowtogs .toggle label {
        font-size: 1rem;
        margin-bottom: 6px;
        width: 100%;
    }

    .rowtogscontainer .rowtogs .column {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

    .rowtogs .column {
        padding-left: 0;
        padding-right: 0;
    }

    .row.rowtogs {
        margin-left: 0;
        margin-right: 0;
    }

    /* Adjustments to cards so we can fit two 
    cards on one row so easier to scroll through */

    .cards {
        grid-template-columns: 1fr 1fr;
    }

    .cards h2 a {
        font-size: 2rem;
        text-decoration: none;
    }

    .cards p {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }

    .card .post-content.with-background a {
        font-size: 1.5rem;
        margin-bottom: 0;
    }

    .card .post-date {
        font-size: 1.5rem !important;
    }

    .cards .card h2.post-title {
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;   
    }

    .post-info span:first-of-type {
        margin-bottom: 0 !important;
    }

    .post-media {
        text-align: left;
        padding: 0.25rem;
    }

} /* end max width 768 */

.card.togglecard, 
#filtertoggle, 
.togglecard h4 {
    margin-bottom: 1rem !important;
}

.filter-button-group, .filter-button-group label {
    font-size: 1.4rem;
}

.rowtogs {
    margin-bottom: 0.1rem;
}

.rowtogs .toggle label {
    margin-bottom: 0;
}

.mb-0 {
    margin-bottom: 0 !important;
}

#filtertoggle {
    background-color: rgb(217, 71, 54);
    color: white;
    font-weight: 700;
    padding: 0.75rem 1.2rem;
    margin-right: 0 !important;
    margin-top: 1rem !important;
}


.togglecard.card {
    background-color: #fafafa;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.tab-panes {
    padding: 0 !important;
}

.tabs .tab-nav > li a {
    font-size: 2.476rem;
    font-weight: 300;
    text-transform: none;
}

.checkbox:checked + .alt1.checkbox-label:before {
    background-color: lightskyblue !important;
    border-color: lightskyblue !important;
}

.checkbox:checked + .alt2.checkbox-label:before {
    background-color: lightsalmon !important;
    border-color: lightsalmon !important;
}

/* Some final tweaks */
@media screen and (min-width: 600px) {
    .rowtogscontainer { 
        margin-left: 2rem;
    }
}


@supports (display: grid) {
    .cards {
    display: -ms-grid;
    display: grid;
    /*grid-template-columns: repeat(auto-fill, 350px);*/
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    grid-gap: 1rem;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    justify-items: center;
    justify-content: center;
    }  
    .cards .card {
        width: 100%;
    }

    @media screen and (min-width: 768px) {
        .cards {
            grid-template-columns: 1fr 1fr 1fr;

        }
    }

}


/* IE11 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .cards {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .card {
        align-items: center;
        display: flex;
        justify-content: center;
        margin: 4px auto;
        min-width: 370px;
        padding: 10px 0;
        width: 30%;
        background-color: #fafafa;
        border: 2px solid #e7e7e7;
        border-radius: 4px;
        padding: .5rem;
    }
    article.post{
        height: 100%;
        width: 100%;
        background-color: #fafafa;
        display: flex;
        flex-direction: column;
    }
    .thumbnail {
        width: 100%;
    }
    .card.togglecard {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .rowtogscontainer {
        display: flex;
        flex-direction: column;
        width: 90%;
    }
    .checkbox, .radio {
        position: relative !important;
    }
}