:root {
    --backgroundColorLightest: #ffffff;
    --backgroundColorLight: #f4f4f4;
    --backgroundColorMedium:  #e6e6e6;
    --backgroundColorDark: #c6c6c6;
    --textColorNormal: #000000;
    --textColorDarkest: #000000;
    --inactiveColor: #66666699;
    --primaryColor: #0055B7;
    --inputBorderColor: #c6c6c6;
    --linkColor: #0076ff;
    --visitedLinkColor: #0079ff;
}
.rounded-edge {
    border-radius: 6px;
}
html,
body * {
    box-sizing: border-box;
}
html,
body {
    padding: 0px;
    margin: 0px;
}
html,
body,
main {
    position: relative;
    width: 100%;
    min-height: 100vh;
}
main {
    display: flex;
    flex-flow: column;
}
body * {
    font-family: Lato, Arial, Helvetica, sans-serif;
    font-size: 16px;
}
.flex-0-1-auto {
    flex: 0 1 auto;
}
.flex-1 {
    flex: 1;
}
body {
    overflow-y: scroll;
}
span.strong {
    color: var(--textColorDarkest);
    font-weight: 700;
}
body {
    background-color: var(--backgroundColorLightest);
}
h1 {
    font-family: Lato;
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 34px;
}
h2 {
    font-size: 22px;
    line-height: 140%;
    font-weight: 400;
}
h1,
h2,
h3 {
    color: var(--textColorDarkest);
    margin: 0px;
    padding: 0px;
}
h3 {
    font-size: 16px;
}
.text-align-center {
    text-align: center;
}
a {
    color: var(--linkColor);
    text-decoration: none;
}
a:not(:last-child) {
    margin: 0px 4px;
}
i.material-icons.material-icons-blue {
    color: var(--linkColor);
}
div.hr {
    height: 1px;
    background-color: #c6c6c6;
    width: 100%;
    margin: 8px auto;
}
.weight-700 {
    font-weight: 700;
}
.size-24px {
    font-size: 24px;
}
div.row {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
}
div.row.no-wrap {
    flex-flow: row nowrap;
}
div.half-row {
    display: flex;
    width: 40%;
    margin: 0px 8px 0px 0px;
}
.flex-row-wrap-center-start {
    align-items: center;
    justify-content: flex-start;
}
.align-items-center {
    align-items: center;
}
.align-items-start {
    align-items: start;
}
.justify-content-flex-start {
    justify-content: flex-start;
}
.justify-content-center {
    justify-content: center;
}
.justify-content-flex-end {
    justify-content: flex-end;
}
.justify-content-space-between {
    justify-content: space-between;
}
.flex-row-wrap-jc-space-between {
    justify-content: space-between;
}
.flex-row-wrap-jc-center-ai-flex-end {
    justify-content: center;
    align-items: flex-end;
}

.flex-row-wrap-start-start {
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    justify-content: flex-start;
}

div {
    color: var(--textColorNormal);
}

.hidden {
    display: none;
}

.underline {
    border-bottom: 1px solid var(--backgroundColorMedium);
    padding-bottom: 12px;
}
.underline-dark {
    border-bottom: 1px solid var(--backgroundColorDark);
    padding-bottom: 12px;
}
input {
    height: 36px;
    padding-left: 8px;
    width: 100%;
    flex: 2;
    outline: none;
    border-radius: 6px;
    border: 1px solid var(--inputBorderColor);
}
input.code {
    padding: 0px;
    font-size: 36px;
    text-align: center;
    flex: 4;
    letter-spacing: 8px;
}
input[type="checkbox"] {
    height: 16px;
    padding: 0px;
    flex: none;
    font-size: 16px;
    text-align: center;
    letter-spacing: 8px;
}

div.left {
    width: 50%;
}
div.right {
    width: 50%;
}
div.left .flex-row,
div.right .flex-row {
    width: 100%;
}

.weight-400 {
    font-weight: 400;
}

select {
    border-radius: 6px;
    margin-right: 8px;
    padding: 0px 4px;
    cursor: pointer;
    height: 32px;
    outline: none;
}
option {
    cursor: pointer;
}

div.row.nowrap {
    flex-wrap: nowrap;
}
div.row-el-4 {
    flex: 4;
}
div.row-el-2 {
    flex: 2;
}
div.row-el-1 {
    flex: 0 1 auto;
    margin: 0px 24px auto 0px;
}
div.row .centered {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}
ul {
    list-style: none;
    display: flex;
    flex-flow: column;
    padding: 0px;
    margin: 0px;
}
li {
    display: flex;
    flex-flow: row nowrap;
    margin: 8px;
}
ul i.material-icons {
    width: auto;
    max-width: 36px;
    color: #c6c6c6;
    font-size: 24px;
}
a {
    color: var(--linkColor);
    text-decoration: none;
}
.no-touch a:hover {
    text-decoration: underline;
}

a:visited {
    color: var(--visitedLinkColor);
}

label {
    display: block;
}

i {
    cursor: pointer;
    padding: 0px;
    margin: 0px;
}
.no-touch .collapsed i:hover {
    color: var(--primaryColor);
}
.no-touch button.hover-style:hover {
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.15);
    color: var(--linkColor);
    transition: 180ms all ease-in-out;
}
.no-touch button.secondary.hover-style:hover div {
    color: var(--linkColor);
    transition: 180ms all ease-in-out;
}

input:disabled {
    color: #ccc;
}

input[type="range"] {
    height: 0;
}

button:disabled {
    color: #999;
}

button:not(:disabled):active {
    background-color: #ddd;
}

button:focus {
    border-color: #666;
}

button {
    border: 0px;
    outline: none;
    cursor: pointer;
    color: #fff;
    font-family: Lato;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 140%;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: none;
    margin: 8px 0px;
}
/* collapse-to-col styles */
div.collapse-to-col button {
    width: 100%;
    margin: 16px auto;
}
div.row.--v-centered {
    align-items: center;
}
input[type="text"] {
    width: 100%;
    padding: 0px;
    border-radius: 6px;
    font-size: 18px;
    padding-left: 8px;
    border: 1px solid #c6c6c6;
}
input[type="text"].code {
    font-size: 32px;
    text-align: center;
    flex: 4;
    letter-spacing: 8px;
}
input[type="checkbox"] {
    cursor: pointer;
    width: 16px;
    height: 16px;
    margin: 0px 8px 0px 0px;
}
.flex-with-page {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    width: 90vw;
    margin: 0px;
    max-width: 1000px;
    align-items: center;
}
.flex-with-page-column {
    display: flex;
    flex-flow: column;
    width: 90vw;
    align-items: baseline;
    margin: 0;
    max-width: 1000px;
}

div.row.collapse-to-col {
    flex-flow: column;
}

/* 100% width when we collapse to column */
div.row.collapse-to-col div.flex-row,
div.row.collapse-to-col div.left,
div.row.collapse-to-col div.right {
    width: 100%;
}

/* kinda narrow */
@media all and (min-width: 600px) {
    .flex-with-page {
        margin: auto;
        justify-content: space-between;
    }
    .flex-with-page-column {
        margin: auto;
    }
    /* row, but still with wrapping */
    div.row.collapse-to-col {
        flex-flow: row wrap;
    }

    div.row.collapse-to-col button {
        margin: 8px;
    }
}
/* wide open spaces */
@media all and (min-width: 912px) {
    button {
        flex: 1;
    }
    div.editable-text-row {
        margin-left: 24px;
    }
    /* make full row with no wrapping */
    div.row.collapse-to-col div.left,
    div.row.collapse-to-col div.right {
        width: 50%;
    }
    ul {
        flex-flow: row wrap;
    }
    li i.material-icons {
        flex: 2;
    }
    div.dropdown-card.dropdown-card-header .description {
        display: flex;
        font-size: 16px;
        flex: 4;
        justify-content: flex-end;
        padding-right: 24px;
    }
}
div.page-wrap {
    padding: 24px;
}
div.page-wrap > div,
div.page-wrap > h1,
div.page-wrap > h2 {
    margin: 16px 0px;
}


/* waiting spinner */
.lds-ring {
    width: 173px;
    height: 173px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s ease all;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 120px;
    height: 120px;
    margin: 6px;
    border: 12px solid;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #0075ff transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.fade-out {
    opacity: 0;
    display: none;
}
.fade-in {
    transition: 1s ease-in;
}
.hide-element {
    display: none;
}