/* 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: #363637;
}

.side-nav a,
.top-nav-links a,
th a,
.actions a {
    color: #606c76;
}

.side-nav a:hover,
.side-nav a:focus,
.actions a:hover,
.actions a:focus {
    color:#2f85ae;
}

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

/* Main */
body {
    background: #f5f7fa;
}
.content {
    padding: 2rem;
    background: #ffffff;
    border-radius: 0.4rem;
    /* Thanks Stripe */
    box-shadow: 0 7px 14px 0 rgba(60, 66, 87, 0.1),
        0 3px 6px 0 rgba(0, 0, 0, 0.07);
}
.actions a {
    font-weight: bold;
    padding: 0 0.4rem;
}
th {
    white-space: nowrap;
    font-weight: 500;
    padding-bottom: 0.2rem !important;

}
@media (max-width: 40.0rem) {
    th {
        border-bottom: .1rem solid #e1e1e1;
        padding: .8rem 1.5rem !important;
    }
}

/* Nav bar */
.nav {
    background-color: #fff;
}

.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 112rem;
    padding: 2rem;
    margin: 0 auto 3rem;
    height: 75px;
}
.top-nav-title a {
    font-size: 2.4rem;
    color: #2cc3bc;
}
.top-nav-links a {
    margin: 0 0.5rem;
}
.top-nav-title a,
.top-nav-links a {
    font-weight: bold;
}

.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: 2.0rem;
}
.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: 1.0rem;
}
.input.radio label:first-of-type {
    margin-bottom: 2.0rem;
}

/* 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: #606c76;
}
.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";
    }
}
.text-white {
    color: white !important;
}
.button-small {
    font-size: .8rem;
    height: 2.8rem;
    line-height: 2.8rem;
    padding: 0 1.5rem;

}
.button-mini {
    font-size: .8rem;
    height: 2rem;
    line-height: 2rem;
    padding: 0 1.5rem;

}
.shadow {
    box-shadow: 1px 1px 6px 0px lightgray;
}

.mb-0 {
    margin-bottom: 0rem !important;
}
.mb-1 {
    margin-bottom: 0.5rem !important;
}
.me-2 {
    margin-right: 1rem !important;
}
.mb-3 {
    margin-bottom: 3rem !important;
}

.bg-danger {
    background-color: #d33c43;
    border: .1rem solid #d33c43;
}

.bg-success {
    background-color: #82d33c;
    border: .1rem solid #82d33c;
}

.bg-dark {
    background-color: #363637;
    border: .1rem solid #363637;
}

.text-danger {
    color: #d33c43;
}

.text-success {
    color: #82d33c;
}

td .button {
    margin-bottom: 0rem !important;
}

.small-input {
    height: 2rem;
    padding: 0rem 0.5rem 0rem 0rem;
    border: 0rem;
    color: #606c76;
    font-size: 16px;
}

/* Style the list */
ul.breadcrumb {
    padding: 7px 16px;
    list-style: none;
    background-color: #eee;
    margin-bottom: 30px;
}

/* Display list items side by side */
ul.breadcrumb li {
    display: inline;
    font-size: 12px;
}

/* Add a slash symbol (/) before/behind each list item */
ul.breadcrumb li+li:before {
    padding: 8px;
    color: black;
    content: "/\00a0";
}

/* Add a color to all links inside the list */
ul.breadcrumb li a {
    color: #2cc3bc;
    text-decoration: none;
}

/* Add a color on mouse-over */
ul.breadcrumb li a:hover {
    color: #606c76;
    text-decoration: none;
}

.transition { transition: filter 0.5s linear; }
.blur { filter: blur(7px);}
.hide {cursor: pointer;}


.text-center {
    display: block;
    text-align: center;
}
.d-none {
    display: none;
}
@media (min-width: 50.0rem) {
    .d-md-show {
        display: block;
    }
}

@media (max-width: 43.0rem) {
    .nav {
        padding-top: 10px;
        height: 100px;
        margin-bottom: 30px;
    }
    .top-nav-links {
        text-align: center;
    }
    .top-nav {
        justify-content: center;
    }
    .top-nav-title a, .top-nav-links a.button {
        display: block;
        margin: 0 auto;
    }
}

.error-message {
    color: #d33c43;
    margin-bottom: 30px;
}

.bold {
    font-weight: bold;
}

.no-border {
    border-width: 0;
}
