html {
    font-size: 16px;
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    min-width: 1060px;
    background-color: #F8F7F8;
}


#container {
    background-color: #fff;
}

@media (min-width: 1400px){
    #container {
        width: 1400px;
        margin-left: auto;
        margin-right: auto;
        border-left: 2px solid #000;
        border-right: 2px solid #000;
        background-color: #fff;
    }
}

#header {
    background-color: #F8F7F8;
}

footer {
    font-family: Verdana;
    color: #fff;
    background-color: #000;
    display: flex;
    flex-direction: column;
    font-size: 1.22rem;
    padding-bottom: 2rem;
}

#footer-copyrights {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 4rem;
}


#footer-misc, #footer-locations {
    display: flex;
    justify-content: space-evenly;
    padding-top: 4rem;
}

#footer-misc div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#footer-locations {
    text-align: center;
    color: #ccc;
}

#footer-locations b {
    color: #fff;
    font-weight: 500;
}

.flex {
    display: flex;
}

.debug {
    border: 1px dotted red;
}

.f18 {
    font-size: 18px;
}

.f20 {
    font-size: 20px;
}

.nav {
    display: inline-flex;
    margin: 1.5rem;
    margin-left: 3rem;
}


.nav a, .nav span {
    flex: 1 0 auto;
    display: inline-block;
    margin-right: 1.5rem;
    text-decoration: none;
    color: #1F2125;
    font-weight: bold;
    margin-bottom: 1rem;
}

.nav .selected {
    border-bottom: 4px solid #CE1C1C;
}  

@media (max-width:1300px) {
    .nav {
        font-size: 12px;
    }

    .nav a, .nav span {
        margin-right: 0.8em;
        margin-bottom: 1.50rem;
    }

    .nav span.selected {
        border-bottom: 2px solid #CE1C1C;
    }  
}

header {
    display: flex;
    background-color: #F8F7F8;
}

.cells {
    display: flex;
    justify-content: space-evenly;
    font-size: 1.25em;
    line-height: 1.3em;
    padding: 4rem;
}

@media (max-width:1300px){
    .cells{
        flex-direction: column;
        padding:1rem;
    }

    .address {
        display: flex;
        justify-content: space-evenly;
    }

    .or {
        align-self: center;
    }
}

.cells.cards {
    padding-top: 0;
}

.cells > div {
    margin-left: 4rem;
    margin-right: 4rem;
    flex: 1 1 auto;
}

.cells > div.card {
    display: flex;
    border:1px solid #ccc;
    align-items: center;
    justify-content: center;
    height:15rem;
    flex: 0 1 20rem;
    margin: 0;
    position: relative;
}


.cells > div.card > img {
    width: 20rem;
}

.cells h2 {
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.1em;
}


.cells > div.card:hover {
    background-color: rgba(205, 35, 35, 0.3);
    transition: opacity 0.3s ease;
}

.cells > div.card:hover > img {
    opacity: 0.02;
}

.cells > div.card p {
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    padding: 1rem;
    color: #fff;
    opacity: 0;
}

.cells > div.card p > strong {
    font-size:1.25em;
    display: block;
}

.cells > div.card:hover p {
    opacity: 1;
}

.top-p-0, .tp-0 {
    padding-top: 0;
}

.top-p-1 {
    padding-top: 1rem;
}
.top-p-1_5 {
    padding-top: 1.5rem;
}

.p-0 { padding: 0; }
.top-m-0 { margin-top: 0; }
.top-m-1 {
    margin-top: 1rem;
}

.bp-0 { padding-bottom: 0; }
.bp-1 {
    padding-bottom: 1rem;
}

h4 {
    text-transform: uppercase;
    margin-top: 0;
    color: #CE1C1C;
}


.top-m-2 {
    margin-top: 2rem;
}

.center-cols {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.top-border {
    border-top: 2px dashed #ccc;
    margin-left: 4rem;
    margin-right: 4rem;
}