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

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;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Main */
body {
    background: #ffffff;
}

.content {
    padding: 3rem;
    background: #ffffff;
}

.content.form {
    margin: 3rem auto;
    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);
    width: 100%;
}

.actions a {
    font-weight: bold;
    padding: 0 0.4rem;
}

th {
    white-space: nowrap;
}

/* Nav bar */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    font-size: 2.4rem;
    background-color: #222;
    color: #888;
    height: 60px;
}

.top-nav-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-nav-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 2rem;
}

.top-nav-item .input.select {
    padding-top: 1.2rem;
}

.top-nav-links a {
    margin: 0 0.5rem;
}

.top-nav-title a,
.top-nav-links a {
    font-weight: bold;
    color: #fff;
}

.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.warning {
    background: #fffabc;
    color: #8d7b00;
    border-color: #d3b800;
}

.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";
    }
}

/* Custom */
/* div .button-flex-end {
    display: flex;
    justify-content: flex-end;
} */

div .button-flex-end {
    display: flex;
    justify-content: space-around;
}

a[type='cancel-button'] {
    margin: 0 1.0rem;
    background-color: #606c76;
    border: 0.1rem solid #606c76;
}

a[type='cancel-button']:focus,
a[type='cancel-button']:hover {
    background-color: #76828d;
    border-color: #76828d;
    color: #fff;
    outline: 0
}

.title-back-button {
    display: flex;
    justify-content: space-between;
}

.last-back-button {
    display: flex;
    justify-content: end;
    padding-top: 3rem;
}

button[type='back'] {
    background-color: #606c76;
    border: 0.1rem solid #606c76;
}

.top-nav-title {
    display: flex;
    justify-content: space-between;
}

.top-nav #top-nav-logout-link a {
    font-size: 2.0rem;
    color: #BBB;
    padding-top: 2rem;
    padding-left: 2rem;
}

.paginator {
    padding-top: 2rem;
}

.top-nav-title #top-nav-title-div {
    display: flex;
    justify-content: space-between;
    padding-left: 1rem;
    padding-right: 1rem;
}

.top-nav-title #top-nav-event-filter,
.top-nav-title #top-nav-event-filter .input {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 1rem;
    padding-right: 1rem;
}

#selected_event_id {
    font-size: 60%;
    height: 80%;
    padding-left: 1rem;
    background-color: #EEE;
}

input[readonly='readonly'] {
    background-color: #EEE;
}

a.add_player_button,
a.url_button {
    background-color: #BBB;
    border: 0.1rem solid #BBB;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 3px;
}

a.add_player_button:hover,
a.add_player_button:focus,
a.add_player_button:active,
a.url_button:hover,
a.url_button:focus,
a.url_button:active {
    background-color: #888;
    border: 0.1rem solid #999;
    -webkit-transition: all 0.2s easeout;
    transition: all 0.2s ease-out;
}

a.td_url {
    vertical-align: center;
    padding-right: 20px;
}

#selected_event_id {
    font-size: 2.4rem;
    font-weight: bold;
    margin-bottom: 1.2rem;
    color: #FFF;
    background-color: #222;
    border: 0.1rem solid #444;
}

.side-nav-heading {
    margin-bottom: 0.5rem;
}

.url_table_left_border {
    border-left: 0.5px solid #CCC;
}

.wickedpicker__controls__control--hours,
.wickedpicker__controls__control--separator-inner,
.wickedpicker__controls__control--minutes {
    font-size: 16px;
}

.content.board {
    margin: 3rem auto;
    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);
    width: 60%;
}