body {
    touch-action: pan-x pan-y;
}
.section {
    padding: 40px 0;
}
.section-title {
    color: var(--stub);
    font-size: 20px;
    font-weight: 500;
}
.section-subtitle {
    padding: 10px 0;
    font-size: 16px;
    font-weight: 400;
    color: #a0a0a0;
}
.user-add-container {
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    display: inline-flex;
    height: 56px;
    width: calc(100% - 126px);
}
.desktop-only .button.new-user-invite.button-tooltip {
    padding: 18px 24px;
}
.user-type-button {
    background: #e2e2e2;
    flex: 0 0 180px;
    text-align: center;
    line-height: 56px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
}
.user-add-container .email-input, .user-add-container .email-input:focus {
    font-size: 16px;
    flex: 1 0 0;
    background: #fff;
    border: none;
}
.user-type-dropdown {
    background: #fff;
    position: absolute;
    left: 245px;
    width: 179px;
    border: 1px solid #e2e2e2;
    border-top: 3px solid #e2e2e2;
    margin-top: -13px;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
    display: none;
    z-index: 1;
}
.user-type-dropdown.popup {
    left: unset;
    width: 470px;
    margin-top: -3px;
}
.user-type-dropdown .option {
    height: 16px;
    line-height: 16px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
}
.user-type-dropdown .option:hover {
    background: #eee;
}
.profile {
    border-bottom: 1px solid #ececec;
    position: relative;
    padding: 24px 0 24px 60px;
}
.profile.no-image {
    padding-left: 0;
}
.profile-small {
    position: relative;
    border-bottom: 1px solid #ececec;
    padding: 12px 0 12px 20px;
}
.profile-small .name {
    font-size: 14px;
    color: #000;
}
.profile img {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    position: absolute;
    top: 30px;
    left: 0;
}
.profile .buttons {
    position: absolute;
    top: 24px;
    right: 0;
}
.profile .buttons .button {
    display: inline-block;
}
.profile .buttons .info {
    line-height: 64px;
}
.profile .name {
    font-size: 16px;
    color: #000;
    font-weight: 700;
    padding-bottom: 4px;
    word-break: break-all;
    white-space: normal;
    padding-right: 96px;
}
.profile .label {
    font-weight: 400;
    font-size: 14px;
    color: #797979;
    margin-top: 4px;
    word-break: break-all;
    white-space: normal;
}
.button {
    display: inline-block;
    background: #fff;
    color: #000;
    border: 1px solid #ccc;
    padding: 12px;
    margin: 8px 0;
    border-radius: 4px;
    font-size: 12px;
    line-height: 16px;
    width: 100%;
    font-weight: 500;
    cursor: pointer;
}
.button:hover {
    border: 1px solid #aaa;
}
.button.accent {
    background: var(--accent);
    transition: background-color 200ms;
    font-weight: 700;
    letter-spacing: 1px;
    border: 1px solid var(--accent);
}
.button.accent:hover {
    background: var(--accent-hover);
}
.button.invitation-pending {
    background: #dcdcdc;
}
.button.invitation-pending:hover {
    background: #d2d2d2;
}
.desktop-only {
    position: relative;
}
.invitation-loader {
    position: absolute;
    right: -16px;
    top: 16px;
    display: none;
}
.mobile-only .invitation-loader {
    position: absolute;
    left: 110px;
    top: 16px;
    display: none;
}
.invitation-loader.show {
    display: block;
}
input, select, textarea {
    width: 100%;
    margin: 8px 0;
    -webkit-appearance: none;
    background: #fff;
    border: 1px solid #ababab;
    transition: border 200ms ease-in-out;
    display: block;
    line-height: 20px;
    font-size: 16px;
    height: 56px;
    left: 0;
    top: 32px;
    border-radius: 4px;
    padding: 14px 14px 14px 16px;
}
textarea {
    height: 180px;
}
input, textarea, select {
    cursor: text;
}
select {
    cursor: pointer;
}
input:not(:placeholder-shown), textarea:not(:placeholder-shown), select {
    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;
}
.image-upload-container {
    width: 320px;
    position: relative;
    padding: 16px;
    height: 48px;
    border-radius: 2px;
    display: block;
    cursor: pointer;
}
.image-upload-container img {
    position: absolute;
    top: 8px;
    left: 8px;
    object-fit: scale-down;
}
.image-upload-container > span {
    display: block;
    position: absolute;
    left: 92px;
    top: 16px;
    font-size: 14px;
    color: #888;
}
input.extra-dropdown:focus {
    border-radius: 2px 2px 0 0;
}
.new-user-invite {
    transform: translateY(-3px);
    height: 18px !important;
}
.button.inline {
    display: inline-block;
    width: unset;
    margin: 8px;
    padding: 12px 24px;
    height: 18px;
}
.button.inline.small {
    padding: 8px 24px;
}
.button.inline.disabled {
    color: #ABABAB;
}
.error-label {
    font-size: 12px;
    color: #f40;
    display: block;
    margin: -4px 8px 4px;
}
.error-label.shifted {
    margin: 2px 8px 4px;
}
.user-type-mobile {
    display: none;
}
.user-type-button .icon-smaller {
    height: 12px;
    margin-bottom: -1px;
}
.mobile-only {
    display: none;
}
.edit-user-type-container {
    background: #f6f6f6;
    display: none;
}
.edit-user-type-container .edit-user-body {
    padding: 16px;
}
.edit-user-type-container .user-type-description {
    color: #797979;
    font-size: 12px;
    font-weight: 400;
    text-align: left;

    padding: 2px 0;
}
.edit-user-type-container .user-type-select {
    margin-top: 0;
    background: url("/static/img/ui/dropdown.svg") #fff no-repeat calc(100% - 10px);
    background-size: 12px;
    font-size: 16px;
    cursor: pointer;
}
.edit-user-type-container .actions {
    display: flex;
}
.edit-user-type-container .left {
    flex: 1;
}
.edit-user-type-container .right {
    flex: 1;
    text-align: right;
    margin-right: 4px;
}
.edit-user-type-container .delete-link {
    line-height: 56px;
    margin-left: 16px;
    font-size: 14px;
    color: #00667b;
    cursor: pointer;
    font-weight: 500;
}
.button.inline.user-management-save {
    width: 52px;
}
.button.inline.user-management-save.grey-button {
    background: #F0F0EE;
}
.delete-invited-user {
    height: 24px;
    width: 24px;
    position: absolute;
    top: 8px;
    right: 0;
    cursor: pointer;
}
@media screen and (max-width: 640px) {
    .user-type-dropdown {
        left: 0;
        width: calc(100% - 120px);
        border-top: 1px solid #e2e2e2;
    }
    .desktop-only {
        display: none;
    }
    .mobile-only {
        display: block;
        position: relative;
    }
    .invite-user-section {
        position: relative;
    }
    .invite-user-section .section-subtitle {
        padding-right: 124px;
    }
    .invite-user-button {
        position: absolute;
        top: 64px;
        right: 0;
    }
}
@media screen and (max-width: 480px) {
    .user-type-mobile {
        display: inline;
    }
    .user-type-fullsize {
        display: none;
    }
    .user-type-button {
        flex: 0 0 48px;
    }
}
