.container {
    background-color: #b3dadf;
}

h1 {
    padding: 1em;
}

.link {
    padding-bottom: 0.5em;
    margin: auto;
}

.link button {
    background-color: #266e77;
    padding: 0.4em;
}


.day-swapper-background {
    background-color: #55a6b0;
    width: 100%;
    position: sticky;
    top: 5em;
    display: grid;
}

.day-swapper {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
    max-width: 700px;
    margin: auto;
}

.day-swapper a {
    text-decoration: none;
    color: #173438;
}

.next-day, .prev-day {
    padding: 10px;
    font-size: 3em;
    cursor: pointer;
    width: 30%;
    user-select: none;
}

.next-day {
    text-align: end;
}

.date {
    font-family: Chilanka, sans-serif;
    font-size: 2em;
    font-weight: bold;
    color: #173438;
}

.pony-table {

    padding: 1em 1em 2em;
}

.time-slot-table {
    width: 80vw;
    max-width: 700px;
    margin: 3em auto auto;
    border-collapse: collapse;
}

.column {
    flex-direction: column;
}

.row {
    display: flex;
    flex-direction: row;

}

.table-header {
    margin-top: 1em;
    font-weight: bold;
    min-height: 1.5em;
    border: 1px solid #266e77;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    padding-left: 0.5em;
}


.table-item {
    min-height: 1.5em;
    border: 1px solid #266e77;
    margin-top: -1px;
    padding: 0.5em;
    display: flex;
    justify-content: space-between;
    min-width: 5em;
}

.table-item.pony {
    flex-shrink: 3;
    width: 7em;
}

.table-item.participant {
    flex-grow: 3;
}


.table-item.loading {
    border: 2px solid red;
}

.table-item.saved {
    border: 2px solid limegreen;
}


.pony-table input[type="text"] {
    border: none;
    outline: none;
    background-color: transparent;
    resize: none;
    overflow: auto;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    font-size: 1em;
    width: 100%;
}

.pony-table input[type="text"]:focus {
    background-color: #55a6b0;
}

input[type="checkbox"] {
    display: none;
}

input[type="checkbox"] + label {
    color: #f2f2f2;
}

input[type="checkbox"] + label span {
    display: inline-block;
    width: 19px;
    height: 19px;
    margin: -2px 10px 0 0;
    vertical-align: middle;
    background: url(images/check_radio_sheet.png) left top no-repeat;
    cursor: pointer;
}

input[type="checkbox"]:checked + label span {
    background: url(images/check_radio_sheet.png) -19px top no-repeat;
}


@media (min-width: 700px) {
    .table-header {
        margin-top: 2em;
    }

    .table-item {
        /*width: 10em;*/
    }
}

@media (max-width: 340px) {
    .table-item {
        /*width: 10em;*/
    }
}

