body {
    touch-action: pan-x pan-y;
}
.title-logo {
    margin: -40px 0 -20px;
    height: 140px;
    vertical-align: bottom;
}
.ui-autocomplete {
    background: #fff;
    border: 1px solid var(--accent);
    border-top: none;
    width: 256px;
    padding: 0;
    list-style-type: none;
}
.ui-autocomplete li {
    margin: 0;
    padding: 4px 16px;
    height: 24px;
    font-size: 12px;
    line-height: 24px;
    white-space: nowrap;
    width: calc(100% - 32px);
}
.ui-menu-item-wrapper {
    overflow-x: hidden;
    border: none !important;
    background: transparent !important;
    text-overflow: ellipsis;
    color: #000 !important;
}
.ui-autocomplete li:hover {
    background: #f6f6f6;
    cursor: pointer;
}
.ui-helper-hidden-accessible {
    display: none !important;
}
.centered {
    position: absolute;
    width: 50%;
    top: calc(50% - 24px);
    left: 50%;
    transform: translate(-50%, -50%);
}
.centered.master-form {
    width: 320px;
    margin-top: 20px;
    left: calc(50% - 160px);
    transform: translate(0, -50%);
    max-height: 100vw;
    overflow-y: hidden;
}
.centered.master-form input {
    margin: 0;
}
.centered.master-title h2 {
    font-weight: 500;
    font-size: 35px;
    line-height: 50px;
}
.centered.master-form h3 {
    font-weight: 500;
}
.centered.wide {
    width: calc(100% - 32px);
}
.button {
    display: inline-block;
    background: #fff;
    color: #000;
    border: 1px solid #ccc;
    padding: 12px;
    margin: 8px 0;
    border-radius: 4px;
    line-height: 16px;
    width: 100%;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}
.form-container {
    width: unset !important;
    max-width: unset !important;
}
.button:hover {
    border: 1px solid #aaa;
}
.button .brand-icon {
    height: 16px;
    margin-bottom: -4px;
    margin-right: 10px;
}
.button.accent {
    background: var(--accent);
    border: none;
}
.button.accent:hover {
    background: var(--accent-hover);
}
.button.accent.danger {
    background: #f40;
    color: #fff;
    border: none;
}
.button.accent.danger:hover {
    background: #f62;
}
.button.gray {
    background: #eee;
    border: none;
}
.button.gray:hover {
    background: #ddd;
    border: none;
}
.button.right {
    float: right;
    display: inline-block;
    width: auto;
    margin: 0;
    padding: 8px;
}
.button.topright {
    margin: 8px 20px;
    float: right;
    display: inline-block;
    width: 160px;
    letter-spacing: 1px;
    font-weight: 700;
    margin-top: 28px;
    margin-right: 32px;
}
.comment {
    color: var(--text-light);
    font-size: 12px;
}
.comment.strong {
    color: var(--stub);
    font-size: 12px;
}
.inline-link {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}
.inline-link.button-text {
    font-size: 12px;
    display: block;
    padding: 12px;
    width: 100%;
}
.inline-link.accent {
    font-weight: 300;
    color: #00667b;
}
.title h1 {
    font-size: 48px;
}
.title h2 {
    line-height: 32px;
}
.accented {
    color: var(--accent);
}
.fixedwidth-input {
    width: 240px;
    max-width: 100%;
    display: inline-block;
}
.fixedwidth-input.small {
    width: 140px;
}
input, select, textarea {
    background: #f6f6f6;
    border: 1px solid #e7e7e7;
    border-radius: 2px;
    margin: 8px 0;
    display: block;
    width: 100%;
    -webkit-appearance: none;
    font-size: 16px;
    line-height: 22px;
    padding:8px
}
.show-hover-password {
    top: 2px;
}
input, textarea {
    cursor: text;
}
select {
    cursor: pointer;
}
input:not(:placeholder-shown), textarea:not(:placeholder-shown) {
    background: #fff;
}
input.dropdown, select.dropdown {
    background: url("/static/img/ui/dropdown.svg") #f7f7f7 no-repeat calc(100% - 10px);
    background-size: 12px;
    padding-right: 24px;
    cursor: pointer;
}
input.calendar {
    background: url("/static/img/ui/calendar.svg") #f7f7f7 no-repeat calc(100% - 10px);
    background-size: 12px;
    cursor: pointer;
}
input:focus, textarea:focus {
    border: 1px solid var(--accent);
    background: #fff;
}
input.dropdown:focus, input.dropdown:not(:placeholder-shown) {
    background: url("/static/img/ui/dropdown.svg") #fff no-repeat calc(100% - 10px);
    background-size: 12px;
}
input.calendar:focus, input.calendar:not(:placeholder-shown) {
    background: url("/static/img/ui/calendar.svg") #f7f7f7 no-repeat calc(100% - 10px);
    background-size: 12px;
}
input.link, select.link {
    background: url("/static/img/ui/hyperlink.svg") #fff no-repeat 10px;
    padding-left: 36px;
}
input.dropdown.filter, select.dropdown.filter {
    background: url("/static/img/ui/dropdown.svg") #fff no-repeat calc(100% - 10px);
    background-size: 12px;
}
input.error, textarea.error {
    border: 1px solid #f80;
}
input.extra-dropdown:focus {
    border-radius: 2px 2px 0 0;
}
.button.inline {
    display: inline-block;
    width: unset;
    margin: 8px;
    padding: 12px 24px;
}
.button.inline.small {
    padding: 8px 24px;
}
.title-container {
    background: var(--stub);
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 50vw;
    color: #fff;
}
.form-container {
    position: fixed;
    left: 50vw;
    top: 0;
    bottom: 0;
    right: 0;
    background: #fff;
    padding: 0 0;
}
hr {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}
hr:after {
    content: "ili";
    display: inline-block;
    position: relative;
    top: -10px;
    font-size: 12px;
    padding: 0 4px;
    background: white;
}
.link-separator {
    width: 30%;
    height: 1px;
    border-top: 1px solid #ccc;
}
.error-label {
    font-size: 12px;
    color: #f40;
    display: block;
    margin: -4px 8px 4px;
}
@media screen and (min-width: 801px) and (min-height: 521px) {
    .mobile-only {
        display: none !important;
    }
}
@media screen and (max-width: 800px), screen and (max-height: 520px) {
    .title-logo {
        height: 82px;
    }
    .desktop-only {
        display: none !important;
    }
    .centered {
        width: 80%;
    }
    .title-container {
        right: 0;
        bottom: unset;
        height: 320px;
    }
    .form-container {
        position: absolute;
        left: 0;
        top: 280px;
        background: transparent;
    }
    .centered.master-title {
        top: unset;
        bottom: 0;
    }
    .centered.master-title h2 {
        font-size: 18px;
    }
    .centered.master-form {
        position: unset;
        transform: translate(0, 0);
        background: #ffffff;
        padding: 0 24px 64px;
        width: calc(100vw - 48px);
        max-height: unset;
    }
    .form-container div {
        position: relative;
    }
}
