/* Miligram overrides */
body {
    font-weight: 400;
}
@import url(https://fonts.googleapis.com/css?family=Barlow:400,800&subset=latin-ext);
html *, body *, html, body, input, button, textarea, select, optgroup, option, h1, h2, h3, h4, h5, h6 {
    font-family: Barlow,-apple-system,BlinkMacSystemFont,"Helvetica Neue","Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,Arial,sans-serif;
    text-rendering: auto !important;
    -moz-font-smoothing: antialiased !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    font-smoothing: antialiased !important;
    font-smooth: always !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    display: block !important;
    padding-left: 46px !imprortant;
    font-weight: bold;
    font-size: 15px !imprortant;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    cursor: default;
    padding-left: 26px !important;
    padding-right: 5px;
    line-height: 46px;
}
.select2-selection__choice__remove {
    height: 42px !important;
    width: 40px !important;
    line-height: 4.5rem !important;
    border-right: none !important;
    font-size: 2rem !important;

}
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    font-size: 2rem !important;
}

a {
    color:#2f85ae;
    -webkit-transition:all 0.2s linear;
    transition:all 0.2s linear;
}

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

.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;
    /*margin-top: -70px;*/
    z-index: 10;
    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;
}

/* Nav bar */
.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 112rem;
    padding: 2rem;
    margin: 0 auto 2rem;
}
.top-nav-title a {
    font-size: 2.4rem;
    color: #d33c43;
}
.top-nav-title span {
    color: #404041;
}
.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-bottom: 4rem;
    box-shadow: 0px 0px 4px #999;
    border-radius: 5px;
    padding: 5px;
}

/* 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;
}
label  {
    font-size: 1.5rem;
    font-weight: normal;
}
.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";
    }
    .table-responsive {
        margin-top: none;
    }
}

.dataTables_wrapper .dataTables_filter input {
    margin-left: 0px !important;
}
.hidden {
    display: none;
}

.glyphbutton {
    border: 1px solid grey;
    cursor: pointer;
    border-radius: 5px;
    padding: 5px;
    display: inline-block;
    box-shadow: 1px 1px 3px #888;
    margin-right: 9px;
}

.imagecol {
    max-width: 90%;
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 30px;
    border: 20px solid #F9F9F9;
    border-radius: 20px;
    background-color: #F9F9F9;
    box-shadow: 2px 2px 10px grey;
}
.nopadding {
    padding: 0px;
}
.title {
    margin-top: 10px;
}
.text-center {
    text-align: center;
}
.float-right {
     margin-left: 10px;
}
main div.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0px 8px 0px #d33c43;
    border: 2px solid #d33c43;
    padding-top: 20px;
    margin-bottom: 40px;
}
.button.button-outline.tag {
    padding: 3px;
    height: 1rem;
    line-height: 1rem;
    margin-bottom: 0px;
    background-color: white;
}


.error-message {
    color: red;
    font-size: 10px;
}