.standard-button {
    background-color: #00ffbf;
    cursor: pointer;
    border: 2px solid black;
    border-radius: 20px;
    padding: 10px 20px;
    display: inline-block;
}

.standard-button:hover {
    background-color: #00c997;
}

.standard-button:active {
    background-color: #00a37b;
}

.hidden {
    display: none!important;
}


.standard-button:disabled {
    cursor: default;
    background-color: #c5dbdb;
    color: #525252
}

input[type="file"] {
    display: none;
}

.action {
    font-size: 20px;
}

h1 {
    text-align: center;
}

.title-bar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    height: 50px;
    margin-right: 20px;
}

.errors-warnings {
    text-align: left;
    margin: 20px;
}

html, body {
    width: 100%;
}

body {
    background: rgb(226,208,255);
    background: linear-gradient(4deg, rgba(226,208,255,1) 0%, rgba(220,255,249,1) 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    text-align: center;
    padding-bottom: 200px;
}

#spreadsheetDiv {
    width: 100%;
    margin: 20px auto;
    border: 1px solid black;
}

#dataDiv {
    max-height: 500px;
    overflow: auto;
}

#sheetSelectorDiv {
    display: flex;
    align-items: center;
    justify-content: start;
    background-color: #d6f4ff;
    border: 1px solid black;
}

.sheet-selector {
    background-color: #82ffe6;
    border: 1px solid black;
    cursor: pointer;
    padding: 5px 10px;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

.sheet-selector:hover {
    background-color: #70dbc6;
}

.sheet-selector.active-sheet, .sheet-selector:active {
    background-color: #6ebedb;
    cursor: default;
}

#spreadsheetDiv table {
    border-collapse: collapse;
    table-layout: fixed;
    white-space: nowrap;
}

#dataDiv table td {
    border: 1px solid black;
    background-color: white;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    text-align: left;
    padding: 2px 4px;
}

#dataDiv table th {
    min-width: 30px;
}

#selectionDataDiv {
    width: 50%;
    background-color: #ffa3b9;
    border-radius: 25px;
    padding: 10px 25px;
    margin: 20px auto;
    text-align: center;
}

#dataDiv[show-only-selected="true"] table tr:not(.active-contact) td:not(.header) {
    display: none!important;
}


#selectionDiv {
    display: flex;
    align-items: center;
    justify-content: center;
}

button {
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

button:not(:disabled){
    cursor: pointer;
}

button img {
    height: 30px;
    padding-right: 10px;
}

* ~ 

.info {
    border: 2px solid black;
    background-color: white;
    font-size: 20px;
    position: relative;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: default;
    margin-left:-10px;
}

.info span {
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    color: blue;
    font-weight: bold;
}

.info div {
    opacity: 0;
    transition: opacity 150ms ease;
    position: absolute;
    border: 2px solid black;
    border-radius: 10px;
    font-size: 20px;
    padding: 10px 20px;
    background-color: white;
    z-index: -1;
}

#coloursInfo div {
    bottom: 0;
    right: 0;
    width: 500px;
}

.info:hover div {
    z-index: 100;
    opacity: 100%;
}

.select-button {
    font-size: 20px;
    padding: 5px 10px;
    border: 2px solid black;
    border-radius: 10px;
    background-color: #a9effc;
    margin: 0 10px;
}

.select-button:hover {
    background-color: #81cfde;
}

.select-button:active {
    background-color: #5b98a3;
}

.select-button:disabled {
    background-color: grey;
}

.select-button.selecting[selecting="names"], td.names {
    background-color: #ff9ec8!important;
}

.select-button.selecting[selecting="names"]:hover {
    background-color: #ff78b2;
}

.select-button.selecting[selecting="names"]:active, td.names-hover {
    background-color: #ff549e!important;
}

.select-button.selecting[selecting="letters"], td.letters {
    background-color: #ffffbf!important;
}

.select-button.selecting[selecting="letters"]:hover {
    background-color: #ffff69;
}

.select-button.selecting[selecting="letters"]:active, td.letters-hover {
    background-color: #ffff38!important;
}

.select-button.selecting[selecting="genders"], td.genders {
    background-color: #a3ff8a!important;
}

.select-button.selecting[selecting="genders"]:hover, td.genders-hover {
    background-color: #7ad461!important;
}

.select-button.selecting[selecting="genders"]:active {
    background-color: #4a9136;
}

.select-button.selecting[selecting="quantities"], td.quantities {
    background-color: #7db1ff!important;
}

.select-button.selecting[selecting="quantities"]:hover, td.quantities-hover {
    background-color: #5486d1!important;
}

.select-button.selecting[selecting="quantities"]:active {
    background-color: #2f5896;
}

.select-button.selecting[selecting="colours"], td.colours {
    background-color: #ffd175!important;
}

.select-button.selecting[selecting="colours"]:hover, td.colours-hover {
    background-color: #ffbc36!important;
}

.select-button.selecting[selecting="colours"]:active {
    background-color: #ffaa00;
}

.select-button.selecting[selecting="counts"], td.counts{
    background-color: #00ff37!important;
}

.select-button.selecting[selecting="counts"]:hover, td.counts-hover {
    background-color: #00a323!important;
}

.select-button.selecting[selecting="counts"]:active {
    background-color: #007d1b;
}

.accordion {
    border: 1px solid black;
    border-radius: 30px;
    width: 90%;
    margin: 20px auto;
    background-color: #4ecc95;
}

.accordion * {
    font-size: 20px;
}

.accordion .collapse-header {
    color: black;
    display: flex;
    align-items: center;
    justify-content: left;
    cursor: pointer;
    margin: 0;
    padding: 10px 20px;
    font-weight: bold;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

.ui-accordion-header:not(.ui-accordion-header-collapsed)::before {
    content: "-";
}

.ui-accordion-header-collapsed::before {
    content: "+";
}

.ui-accordion-header::before {
    color: white;
    display: inline-block;
    width: 30px;
    text-align: center;
    background-color: #32664f;
    border-radius: 40%;
    margin-right: 20px;
}

.accordion .content {
    padding: 0 5px 5px 5px;
}

.accordion .content .inner{
    background-color: white;
    border: 1px solid black;
    padding: 20px;
    border-radius: 10px 10px 30px 30px;
}

#countTable table {
    border-collapse: collapse;
    margin: auto;
}

#countTable td {
    border: 1px solid black;
    padding: 2px 6px;
}

#countTable .header {
    font-weight: bold;
}

.select-button[selecting="counts"] {
    margin: 20px auto;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }
  
/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .2s;
    transition: .2s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .2s;
    transition: .2s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}


#padOptions {
    display: flex;
    align-items: center;
    justify-content: center;
}

#padOptions > * {
    margin: 10px 20px;
}

#padOptions input[type="number"] {
    width: 50px;
    padding: 5px 0 5px 10px;
    margin-right: 5px;
}

.description {
    margin-bottom: 20px;
}

#availableColours tbody td {
    position: relative;
}

.add-input {
    background-color: #a1f1ff;
    border: 1px solid black;
    border-radius: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 4px;
}

.add-input:hover {
    background-color: #5dc2d4;
}

.add-input:active {
    background-color: #388694;
}

.remove-available-colour {
    background-color: red;
    border: 1px solid darkred;
    border-radius: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 50%;
    transition: opacity 150ms ease;
}

.remove-available-colour:hover {
    opacity: 100%;
}

.remove-available-colour:active {
    background-color: darkred;
}

tr:first-child:last-child .remove-available-colour {
    display: none;
}

#availableColours {
    margin: 20px auto;
}

.rule-row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rule-row > * {
    margin: 10px 10px;
}

.remove-rule {
    background-color: red;
    border: 1px solid darkred;
    border-radius: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#starKey {
    margin: 20px auto;
}

.hstar {
    color: red;
}

#starKey tr td {
    text-align: left;
}

#starKey tr td:last-child {
    padding-left: 30px;
    font-weight: bold;
}

#generateErrors, #generatePreviews {
    margin: 20px auto;
}

#generatePreviews {
    max-height: 500px;
    overflow-y: auto;
}

.picker {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid black;
    border-radius: 20%;
    cursor: pointer;
    transition: transform 1.5ms ease;
}

.picker:hover {
    transform: scale(1.1);
}