/* Miligram overrides */
body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
}

.top-nav-links,
.side-nav,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Raleway", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
    color: #000000;
}

a {
    color: #000000;
    -webkit-transition: all 0.2s linear;
    transition: all 0.2s linear;
    font-weight: bold;
}

a:hover,
a:focus,
a:active {
    color: #000000;
    -webkit-transition: all 0.2s easeout;
    transition: all 0.2s ease-out;
}

.top-nav-links a,
th a,
.actions a {
    color: #000000;
}

.side-nav a:hover,
.side-nav a:focus,
.actions a:hover,
.actions a:focus,
.top-nav-links a:hover {
    color: rgb(185, 182, 182);
}

.side-nav a,
.actions a {
    color: #000000;
}
.side-nav a:hover,
.side-nav a:focus,
.actions a:hover,
.actions a:focus,
.side-nav-links a:hover {
    color: rgb(255, 255, 255);
}

/* Utility */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Main */
body {
    background: #ffffff;
}
.content {
    padding: 2rem;
    background: #ffffff;
    border-radius: 0.4rem;
    /* Thanks Stripe */
    box-shadow: 28px 21px 28px 28px rgba(60, 66, 87, 0.1),
        0 3px 6px 0 rgba(204, 195, 195, 0.07);
}
/*.actions a {
    font-weight: bold;
    padding: 0 0.4rem;
}
*/
th {
    white-space: nowrap;
}

/* Nav bar */
.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 120rem;
    padding: 2rem;
    margin: 0 auto 1.5rem;
}
.top-nav-title a {
    font-size: 2.4rem;
    color: #d33c43;
}
.top-nav-title img {
    width: 50%;
    height: auto;
}
.top-nav-links a {
    margin: 0 1.2rem;
}
.top-nav-title a,
.top-nav-links a {
    font-weight: normal;
}

.side-nav-item {
    display: block;
    padding: 0.5rem 0;
}

/* View action */
.view.content .text {
    margin-top: 1.2rem;
}
.related {
    margin-top: 2rem;
}

/* Flash messages */
.message {
    padding: 1rem;

    background: #eff8ff;
    color: #2779bd;

    border-color: #6cb2eb;
    border-width: 1px;
    border-style: solid;
    border-radius: 4px;
    margin-bottom: 2rem;
}
.message.hidden {
    display: none;
}
.message.success {
    background: #e3fcec;
    color: #1f9d55;
    border-color: #51d88a;
}
.message.error {
    background: #fcebea;
    color: #cc1f1a;
    border-color: #ef5753;
}

/* Forms */
.input.radio,
.input.checkbox {
    margin-bottom: 2rem;
}
.input.radio input,
.input.checkbox input {
    margin: 0;
}
.input.radio label,
.input.checkbox label {
    margin: 0;
    display: flex;
    align-items: center;
}
.input.radio label > input,
.input.checkbox label > input {
    margin-right: 1rem;
}
.input.radio label:first-of-type {
    margin-bottom: 2rem;
}

/* Paginator */
.paginator {
    text-align: right;
}
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}
.pagination li {
    margin: 0 0.5rem;
}
.prev.disabled a,
.next.disabled a {
    cursor: not-allowed;
    color: #000000;
}

li.prev.disabled a {
    display: none;
}

li.next.disabled a {
    display: none;
}
.asc:after {
    content: " \2193";
}
.desc:after {
    content: " \2191";
}

/* Error */
.error-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: center;
}

@media screen and (max-width: 640px) {
    .top-nav {
        margin: 0 auto;
    }
    .side-nav {
        margin-bottom: 1rem;
    }
    .heading {
        margin-bottom: 1rem;
    }
    .side-nav-item {
        display: inline;
        margin: 0 1.5rem 0 0;
    }
    .asc:after {
        content: " \2192";
    }
    .desc:after {
        content: " \2190";
    }
}
.simple-button i {
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 3px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    margin-bottom: 4px;
    cursor: pointer;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
}
.simple-button:hover {
    box-shadow: 0px 12px 18px 6px rgba(0, 0, 0, 0.24),
        0 18px 24px 0 rgba(0, 0, 0, 0.19);
    font-size: 22px;
}
.simple-button i:hover {
    font-size: 22px;
}
.red-btn i {
    background: #cc1f1a;
}
.orange-btn i {
    background: #da9502;
}
.green-btn i {
    background: #001f3f;
}
.open-btn i {
    background: #3d9970;
}
.time-btn i {
    background: #aaaaaa;
}

.box {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.fot {
    margin: 12px 42.2rem;
}
@media screen and (max-width: 1240px) {
    .fot {
        margin: auto 12.2rem;
    }
}
@media screen and (max-width: 840px) {
    .fot {
        margin: auto 2.2rem;
    }
}

#comp {
    text-align: center;
    margin-top: 0px;
}
.columns {
    float: left;
    width: 30%;
    padding: 10px;
    margin-left: 30px;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}
.local_status_1 {
    color: #3d9970;
    font-weight: bold;
}
.local_status_2 {
    color: #aaaaaa;
    font-weight: bold;
}
.local_status_3 {
    color: #001f3f;
}
.footer_img {
    width: 145%;
    display: flex;
    align-items: flex-end;
}