body {
    font-family: 'Noto Sans';
}

a:link { text-decoration: none; }
a:visited { text-decoration: none; }
a:hover { text-decoration: none; }
a:active { text-decoration: none; }
table {
    display: inline-block;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.column-resize-grab {
    min-height: 20px;
    min-width: 1px;
    cursor: grab !important;
    padding: 0px !important;
    border: 0 !important;
    transform: scaleX(20);
}
.rows-table {
    border-collapse:collapse;
    font-size: 12px;
    border-top: 1px solid lightgrey;
    border-right: 1px solid lightgrey;
    background-color: white;
}
.rows-table > tr > td {
    padding: 5px;
    border: 1px solid lightgrey;
    cursor: pointer;
}
.today {
    background-color: black; 
    color: white;
}
.rows-table > tr > td.title {
    min-width:400px;
    background: inherit;
    overflow: hidden;
    white-space: nowrap;
    border-right: 0px;
}

.rows-table > tr > td.day {
    padding: 5px;
    border-top: 1px solid lightgrey;
    border-bottom: 1px solid lightgrey;
    border-right: none;
    border-top: none;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
}

h2 {
    font-family: 'Noto Sans';
    font-size: 14px;
}
td {
    padding: 0;
}
ul {
    padding-inline-start: 0;
    list-style-type: none;
    margin-block-end: 0;
    margin-block-start: 0;
    padding: 5px;
}
img {
    vertical-align: middle;
}

#logo {
    width: 30%;
    max-width: 106px;
    margin-left: 20px;
    height: auto;
}
select {
    padding: 5px;
    font-family: 'Noto Sans';
    font-size: 14px;
    text-align: left;
    border: 1px solid black
}
input {
    border: 1px solid black;
}
.row {
    font-family: 'Noto Sans';
    user-select: none;
    background-color: white;
}
.row.thin-bottom {
    border-bottom: 1px solid gray
}
.row-date {
    border-bottom: 1px solid gray;
    padding: 5px;
    font-size: 12px;
}
.header {
    width: 100%;
    height: 60px;
    background-color: #1e1e1e;
    position:fixed;
    top: 0;
}
.faded-text {
    color: WhiteSmoke;
}
.rows-wrap {
    max-width: 100%;
    overflow-x: scroll;
    overflow-y: scroll;
    max-height: calc(100vh - 60px);
    min-height: calc(100vh - 60px);
    margin-top: 60px;
}
.event {
    color:white
}
.event {
    background-color: #04AA6D;
}
.event.unpublished {
    background-color: cornflowerblue;
}
.event.modified-since-published {
    background-color: darkseagreen;
}
.event.cancelled {
    background-color: rgb(237, 100, 136);
}
.past {
    color: lightgrey
}
.row-date.thick-bottom {
    border-bottom: 2px solid gray;
}
.row-date.thick-top {
    border-top: 2px solid gray;
}
.header__buttons {
    display:inline-block;
    vertical-align: middle;
    height: 40px;
    padding-left: 30px;
}
.header-align {
    height:100%;
    width: calc(100% - 500px);
    display: inline-block;
    vertical-align: middle;
}
.header-align__right {
    display: inline-flex;
    width: calc(500px - 100px);
    justify-content: flex-end;
    padding: 0 100px 0 0;
}
.date-input {
    width: 150px;
    padding: 5px;
    font-family: 'Noto Sans';
    font-size: 14px;
    text-align: center;
}
.left-margin {
    margin-left: 6px;
}
.rule {
    background-color:#505050;
    height: 2px;
}
.date-label-left {
    display:inline-block;
    width: 50%;
    vertical-align: middle;
    height: 100%;
}
.date-label-right {
    display:inline-block;
    width: 50%;
    text-align: right;
    vertical-align: middle;
    height: 100%;
}
.align {
    height: 100%;
    width: 0px;
    vertical-align: middle;
    display: inline-block;
}
.modal {
    position: fixed;
    background-color: white;
    border: 1px solid black;
    text-align: center;
    overflow-y: scroll;
    display: table-cell;
    vertical-align: middle;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 430px;
    max-height: calc(100% - 40px);
    min-height: calc(100% - 40px);
}
.spinner {
    position: fixed;
    background-color: white;
    border: none;
    display: table-cell;
    vertical-align: middle;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 150px;
}
.modal-text-input {
    width: 250px;
    padding: 5px;
    font-family: 'Noto Sans';
    font-size: 14px;
}
.modal-list-item {
    padding: 5px;
    font-family: 'Noto Sans';
    font-size: 14px;
}
.error-model {
    border: 1px solid black;
    padding: 10px;
    text-align: center;
    font-family: 'Noto Sans';
    font-size: 16px;
}
.click-blocker {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.2);
    display: table;
}
.lab {
    font-family: 'Noto Sans';
    font-size: 14px;
    font-weight: bold;
    vertical-align: middle;
}
.left-lab {
    margin-right: 5px;
}
.modal-row {
    width: 100%;
    margin-bottom: 5px;
    height: 40px;
}
.modal-label-td {
    text-align: right;
    padding-right: 5px;
    text-align: left;
}
.modal-right-column-td {
    text-align: left;
    padding-left: 5px;
}
.selected-event {
    font-size: 18px;
}
.stop-scrolling {
    height: 100%;
    overflow: hidden;
}
.modal::-webkit-scrollbar {
    
    width: 0px;
}
::-webkit-scrollbar:horizontal {
    
 
}
.button {
    background: white;
    color: black;
    border-radius: 7px;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
    cursor:pointer;
    width: fit-content;
    padding: 5px;
    display: inline-block;
    border: 1px solid black;
    margin-left: 5px;
    margin-right: 5px;
    font-family: 'Noto Sans';
    font-size: 14px;
    margin-bottom: 10px;
}
.button.disabled {
    color: rgba(0,0,0,0.4);
    cursor: not-allowed;
    pointer-events: none;
}
.list-item {
    font-family: 'Noto Sans';
    font-size: 15px;
    padding:5px;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
    cursor:pointer;
    background: white;
}
.list-item:nth-child(even) {
    background-color: #F8F8F8;
}
.top-button {
    cursor: pointer;
    margin-right: 20px;
    height: 40px;
}

/* LOADING INDICATOR */

.rows-wrap:after {
    content: '';
    background:url('/images/loading.svg');
    position: fixed;
    display: block;
    top: 50%;
    left: 50%;
    z-index: -1;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-size: cover;
}

/* HEADER */

.event-headings {
    display: flex;
    background-color: black;
    color: white;
    padding-left: calc(400px + 16px);
    width: calc(100% - 400px);
    border-top: 1px solid #ffffff38;
}
.event-heading {
    width: 33.33%;
    display: flex;
    justify-content: flex-start;
    border-right: 1px solid #ffffff40;
}
/* ACTS */
.acts-container {
    display: flex;
    width: calc(100% - 400px);
    align-items: center;
}
.acts {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.act {
    font-size: 12px;
    margin: 2px 5px;
    border: 1px solid white;
    border-radius: 12px;
    padding: 2px 2px 2px 8px;
    height: fit-content;
}
.act__link {
    display: flex;
    white-space: nowrap;
}

/*
.act:after {
    content: '|';
}
.act:last-child:after {
    content: '';
}*/
.act__status {
    padding: 0 5px;
    cursor: pointer;
    z-index: 1;
}

/* draggable acts to change order */
.cursor-move > li {
    cursor: move;
}

/* EVENT LAYOUT */
.event-overview {
    display: flex;
}
.event-details {
    display: flex;
    flex-direction: column;
    width: 400px;
}
.event-time__prices {
    display: flex;
    min-width: fit-content;
    width: 400px;
}

/* SLOTS */
.slot-container {
    margin: 0;
    padding: 0;
    list-style-type: none;
    min-width: 20vw;
    display: flex;
    justify-content: flex-start;
    width: calc((100vw - 400px) / 3);
    border-right: 1px solid #ffffff40;
    height: 100%;
    overflow-y: scroll;
    box-shadow: inset -25px 0px 10px -26px rgb(0 0 0 / 28%);
}

/* COLOUR HIGHLIGHTING */
.is-today {
    background-color: var(--secondary);
}
.-highlight {
    outline:1px dashed var(--primary);
}
.-highlight .act {
    opacity: .3;
}

/* MODAL */
.sticky__modal-title {
    width: 100%;
    padding: 14px 15px;
    position: sticky;
    top: 0;
    background-color: white;
    border-bottom: 1px solid;
    max-width: calc(100% - 30px);
    min-height: 18px;
    z-index: 100;
}

.modal-text-input__performers {
    margin-top: 10px;
    position: sticky;
    top: 6px;
}

.modal-block {
    margin: 10px;
    width: 400px;
    font-family: 'Noto Sans';
    font-size: 14px;
    display: inline-block;
}

/* ICONS */
.icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-self: center;
    border-radius: 100%;
    margin: 0 4px;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.icon--unpublished {
    background-color: var(--tertiary);
    color: white;
    border: 1px solid var(--tertiary);
}
.icon--published {
    background-color: var(--fithiary);
    color: black;
    border: 1px solid var(--fithiary);
}
.icon--cancelled {
    background-color: var(--forthiary);
    color: black;
    border: 1px solid var(--forthiary);
}
.icon--saved {
    background-color: var(--secondary);
    color: black;
    border: 1px solid var(--secondary);
}
.small {
    font-size: 10px;
    min-width: 110px;
}

@media screen and (max-width: 900px) {
    .acts-container {
        overflow-y: scroll;
    }
}

@media screen and (max-width: 700px) {
    .header {
        display: flex;
        flex-direction: column;
        height: 107px;
    }
    .header-align {
        display: flex;
        width: 100%;
        align-items: center;
    }
    .header__buttons {
        width: calc(100% - 100px);
        display: flex;
        justify-content: flex-end;
    }
    .header-align__right {
        width: 100%;
        justify-content: center;
    }
    .event-headings {
        display: none;
    }
    .rows-wrap {
        padding-top: 108px;
        width: 100%;
        overflow-y: scroll;
    }
    .rows-wrap:before {
        content: '';
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 46px;
        height: 100%;
        box-shadow: inset -39px 0px 10px -24px rgb(0 0 0 / 28%);
    }
    .rows-wrap__inner {
        width: fit-content;
    }
    .top-button {
        height: 30px;
    }
    .modal {
        width: calc(100vw - 60px);
        max-height: calc(100% - 100px);
    }

    .modal table {
        width: calc(100% - 20px) !important;
    }
    .modal tbody {
        display: block;
    }
    .modal-row {
        display: flex;
        flex-direction: column;
        height: auto;
        margin-bottom: 20px;
    }
    .modal-text-input {
        width: calc(100% - 20px);
    }
    .date-input {
        height: 12px;
        margin-bottom: 5px;
    }
    .modal-block {
        width: calc(100% - 20px);
    }
}
