*, *:before, *:after {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    min-height: 100%;
}

body {
    font-family: sans-serif;
    line-height: 1.5;
}

.nr {
    display: flex;
    /*flex: 0 0 auto;*/
    height: 100%;
    max-height: 100vh;
    position: fixed;
    width: 100%;
}

h1, h2, h3, h4 {
    font-weight: 300;
}

button {
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    line-height: 2.5rem;
    font-size: 0.8rem;
    padding: 0 2rem;
}

button:disabled {
    cursor: not-allowed !important;
}

select,
input[type="date"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="text"],
textarea {
    border: 0;
    border-radius: 0.2rem;
    box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.21);
    line-height: 2.5rem;
    font-size: 0.8rem;
    padding: 0 1rem;
}

textarea {
    line-height: 1.5rem;
}

input:disabled {
    border-radius: 0.2rem;
    line-height: 2.5rem;
    padding: 0 1rem;
}

select {
    cursor: pointer;
    padding: 0.7rem 1rem;
}

/* Prevent the text contents of draggable elements from being selectable. */
[draggable] {
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: element;
}

.qui-select .text {
    font-size: 0.8rem;
    padding: 0.1rem 0 0 0.9rem !important;
}

.fa-close:before {
    content: '\00d7';
}

.nr-tool-box {
    box-shadow: 0 15px 30px 0 rgba(0, 0, 0, .11), 0 5px 15px 0 rgba(0, 0, 0, .08);
    border-radius: .2rem;
    border: 1px solid #dae1e7;
}

.no-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.namerobot-disable-container {
    cursor: wait;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}

.namerobot-disabled .nr-nav *,
.namerobot-disabled .nr-side-panel * {
    text-shadow: 0 0 10px rgba(51, 51, 51, 0.9);
    opacity: 0.8;
}

button[name="upgrade"] {
    border-radius: 0.25rem;
    display: block;
    line-height: 2rem;
    margin: 1rem auto;
    min-width: 13rem;
}

button[name="upgrade"] .fa,
button[name="upgrade"] .far {
    margin-right: 0.5rem;
}

button[name="upgrade"] span {
    display: inline-block;
    line-height: 2rem;
}

/** Scrollbar
 ============================================== */

::-webkit-scrollbar {
    height: 6px;
    width: 6px;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .26);
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #BBBBBB;
    font-size: 0.8rem;
}

::-moz-placeholder { /* Firefox 19+ */
    color: #BBBBBB;
    font-size: 0.8rem;
}

:-ms-input-placeholder { /* IE 10+ */
    color: #BBBBBB;
    font-size: 0.8rem;
}

:-moz-placeholder { /* Firefox 18- */
    color: #BBBBBB;
    font-size: 0.8rem;
}


/** messages
 ============================================== */

.message-info,
.message-error {
    display: flex;
    padding: 1rem;
}

.message-info {
    background: #e8fffe;
    color: #39948b;
}

.message-info span:first-child {
    color: #4dc0b5;
    flex-grow: 0;
    flex-shrink: 0;
    font-size: 1.25rem;
    width: 2rem;
}

.message-info span {
    display: inline-block;
    flex-grow: 1;
    max-width: calc(100% - 2rem);
}

.message-error {
    background: #fcebea;
    border-width: 0;
    border-color: #ef5753;
    border-left: 4px;
    color: #cc1f1a;
}

.nobody .messages-message {
    background: #fcebea !important;
    border-width: 0 !important;
    border-color: #ef5753 !important;
    border-left-width: 4px !important;
    color: #cc1f1a !important;
    font: 12px/16px sans-serif;
    flex-direction: column;
    padding: 1rem !important;
}

.nobody .message-error .messages-message-header {
    margin: 0 0 5px 0 !important;
}

.message-info span > * {
    max-width: 100%;

    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

.namerobot-tool-message {
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .12);
    margin: 0.5rem 0;
    max-width: 100%;
    width: 100%;
    background-color: #e8fffe;
    border-left-color: #4dc0b5;
    color: #0d3331;
    border-radius: 0.25rem;
    border-left-width: 4px;
    border-left-style: solid;
    padding: 0.75rem 1.5rem 0.75rem 1rem;
    font-size: 0.9rem;
}

.namerobot-tool-message-text {
    flex-grow: 1;
    width: calc(100% - 2rem);
}

.namerobot-tool-message-icon {
    float: left;
    display: inline-block;
    color: #4dc0b5;
    font-size: 1.2rem;
    width: 2rem;
}

/** qui customizing
 ============================================== */

.qui-window-popup {
    border-radius: 0.25rem;
}

.qui-window-popup-title {
    font-size: 0.8rem;
}

.window-logout .textbody {
    width: 100% !important;
}

.qui-window-popup h1 {
    font-size: 1.75rem;
}

.qui-window-popup-title-close {
    line-height: 20px !important;
    padding: inherit;
}

.qui-loader-inner-fa-circle-o-notch {
    display: flex;
    justify-content: center;
}

/** NameRobot loader
 ============================================== */

.nr-loader {
    align-items: center;
    background: #fff;
    display: flex;
    height: 100%;
    justify-content: center;
    left: 0;
    position: fixed;
    text-align: center;
    top: 0;
    width: 100%;
    z-index: 100000;
}

.nr-loader-animation {
    display: block;
    font-size: 5rem;
    margin-bottom: 2rem;
}

.nr-loader-animation-tip {
    clear: both;
    display: block;
    max-width: 400px;
    width: 100%;
}

/** NameRobot left nav
 ============================================== */

.nr-nav {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    overflow: auto;
    width: 300px;

    -webkit-overflow-scrolling: touch;
}

.nr-nav nav {
    flex-grow: 1;
}

.nr-nav header {
    text-align: center;
    padding: 0;
    width: 100%;
}

.nr-nav header .fa {
    color: #fff;
    font-size: 24px;
    padding: 0 0 20px;
}

.nr-nav-title,
.nr-nav-title-description {
    clear: both;
    display: block;
    width: 100%;
}

.nr-nav-title {
    font-size: 20px;
}

.nr-nav-title-description {
    font-size: 12px;
}

.nr-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nr-nav ul li {
    font-size: 15px;
    width: 100%;
}

.nr-nav ul li .fa,
.nr-nav ul li .far {
    flex-shrink: 0;
    text-align: center;
    width: 30px;
}

.nr-nav ul a {
    border-left: 5px solid;
    padding: 10px;
    text-decoration: none;
}

.nr-nav footer {
    font-size: 12px;
    padding: 0 0 20px 0;
    text-align: center;
}

.nr-nav-section {
    margin-top: 20px;
}

.nr-nav-section header {
    text-align: left;
    margin-bottom: 10px;
    padding: 0 0.8rem;
}

.nr-nav-section header h2 {
    font-size: 12px;
    margin: 0;
    padding: 0;
}

/** NameRobot sub nav
 ============================================== */

.side-panel-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.side-panel-menu ul li {
    display: flex;
    font-size: 15px;
    width: 100%;
}

.side-panel-menu ul li a {
    border-left: 5px solid transparent;
    display: flex;
    color: #0c1e29;
    padding: 0.75rem 0;
    text-decoration: none;
    width: 100%;
}

.side-panel-menu ul li a.active {
    border-left: 5px solid #6574cd;
    color: #6574cd;
}

.side-panel-menu ul li a:hover {
    background: rgba(0, 0, 0, 0.1);
}

.side-panel-menu-entry-icon {
    padding-top: 0.1rem;
    text-align: center;
    width: 50px;
}

.side-panel-menu-entry-text {
    width: calc(100% - 50px);
}

/** NameRobot MAIN
 ============================================== */

.nr-desktop {
    display: flex;
    flex-grow: 1;
    flex-shrink: 1;
    flex-direction: column;
    overflow: auto;

    -webkit-overflow-scrolling: touch;
}

.nr-desktop-container {
    align-items: center;
    display: flex;
    overflow: auto;
    height: 100%;
    padding-bottom: 20px;
    justify-content: center;

    -webkit-overflow-scrolling: touch;
}

/** Media queries
 ============================================== */

.nr-desktop-header-buttons-subNav {
    display: none;
}

@media (max-width: 1000px) {
    .nr {
        display: flex;
    }

    .nr-nav,
    .nr-nav nav {
        width: 60px;
    }

    .nr-nav-section header h2 {
        font-size: 10px;
        text-align: center;
    }

    .nr-nav li a span:first-child {
        text-align: center !important;
    }

    .nr-nav-logo-slogan {
        display: none;
    }

    .nr-nav header {
        padding: 0;
    }

    .nr-nav-logo {
        padding: 0;
    }

    .nr-nav-avatar {
        width: 60px;
    }

    .nr-nav-title-description {
        display: none;
    }

    .nr-nav-menu-linkText {
        display: none;
    }

    .nr-nav .nr-nav-avatar {
        height: 40px;
        margin-top: 10px;
        width: 40px;
    }

    .nr-nav-footer {
        display: none;
    }
}

@media (max-width: 770px) {
    .nr {
        height: calc(100vh - 60px);
    }

    .nr-nav {
        display: none;
    }

    .nr-desktop-container {
        padding: 0 1.5rem;
    }

    .nr-desktop-header-buttons-profile {
        display: none;
    }

    .nr-desktop-header-buttons-subNav {
        display: inline-block;
    }
}

/** Mobile footer menu
 ============================================== */

.nr-mobile-footer-menu {
    background: #242c3a;
    display: none;
    height: 3.5rem;
}

.nr-mobile-footer-menu button {
    color: #dedede;
    flex-grow: 1;
    padding: 0;
}

@media (max-width: 770px) {
    .nr-mobile-footer-menu {
        bottom: 0;
        display: flex;
        position: fixed;
        width: 100%;
    }
}


/** Login
 ============================================== */

.quiqqer-auth-login-container span {
    color: #757f89;
    font-size: 0.8rem;
}

.quiqqer-auth-login-container input {
    margin-left: 2px;
    width: calc(100% - 4px) !important;
}

.quiqqer-fu-login-forget-password-link {
    font-size: 12px;
}

/** general word
 ============================================== */

.word {
    color: #606f7b;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
}

.word img {
    margin-right: 0.5rem;
}


/** word dragging
 ============================================== */

.dragging-word {
    background: #3f4975;
    border-radius: 0.25rem;
    color: #fff !important;
    float: left;
    overflow: hidden;
    padding: 0.5rem 1rem;
    position: absolute;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.nr-dropper {
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    flex-direction: column;
    font-size: 4rem;
    height: 100%;
    justify-content: center;
    position: absolute;
    text-align: center;
    width: 100%;
    z-index: 10;
}

.nr-dropper .far {
    display: block;
    text-align: center;
    width: 100%;
}

.nr-dropper-text {
    clear: both;
    display: block;
    font-size: 1.5rem;
    margin-top: 1rem;
    text-align: center;
    width: 100%;
}

.nr-dropper-leaver {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 11;
}

/** tables
 ============================================== */

.namerobot-table tr:nth-child(odd) {
    background: #f1f5f8;
}

.namerobot-table td {
    padding: 0.5rem;
    vertical-align: top;
}

.namerobot-table td + td {
    padding: 0.5rem 0.5rem 0.5rem 1rem;
}

.namerobot-table--bold-first tr td:first-child {
    color: #3d4852;
    font-weight: bold;
}

@media (max-width: 770px) {
    .namerobot-table tr {
        display: flex;
        flex-direction: column;
    }

    .namerobot-table td,
    .namerobot-table td + td {
        padding: 0.5rem;
    }
}


/** FA workarounds
 ============================================== */

.fa.fa-facebook:before {
    content: "\f39e" !important;
    font-family: "Font Awesome 5 Brands";
}

.fa.fa-google:before {
    content: "\f1a0" !important;
    font-family: "Font Awesome 5 Brands";
}

/** Browser workarounds
 ============================================== */

.html5tooltip-text {
    font-size: 12px;
}

.mac .html5tooltip-text {
    font-weight: 300;
}

/** Order process
 ============================================== */

.quiqqer-order-basket-articles-header-quantity,
.quiqqer-order-basket-articles-unitPrice,
.quiqqer-order-basket-articles-article-quantity,
.quiqqer-order-basket-articles-article-price {
    display: none !important;
}

.quiqqer-payment-paypal-recurring-paymentdisplay-btn {
    border: none !important;
}

.quiqqer-payment-paymill-btn-pay button,
.quiqqer-payment-paypal-recurring-paymentdisplay-btn,
.quiqqer-payment-stripe-submit button {
    background-color: #1F9D55 !important;
    border: none !important;
    color: #fff !important;
    height: 50px !important;
    margin: 20px 0 !important;
}

.quiqqer-payment-paymill-btn-pay button:hover,
.quiqqer-payment-paypal-recurring-paymentdisplay-btn:hover,
.quiqqer-payment-stripe-submit button:hover {
    background: #1F9D55 !important;
}

.quiqqer-coupons-couponcodeinput-title, .quiqqer-coupons-couponcodeinput-input {
    line-height: 38px;
    padding-left: 8px;
}

.quiqqer-order-basket-articles-article-remove button {
    background: transparent;
    line-height: 1.5rem;
    margin-left: 10px;
    padding: 0 10px;
}

.quiqqer-order-customerData-edit label span {
    width: 39% !important;
}

/****************/
/* step payment */
/****************/
.quiqqer-order-step-payments-list {
    margin-top: 10px;
}

/*****************/
/* step checkout */
/*****************/
.quiqqer-order-step-checkout-deliveryAddress {
    display: none;
}

.quiqqer-order-step-checkout-payments {
    margin: 20px 0;
}

.quiqqer-order-ordering-step h2 {
    margin-bottom: 10px;
}

.quiqqer-order-step-checkout-article {
    margin-top: 20px;
}

.quiqqer-order-step-checkout-article .articles-article {
    border-bottom: 1px solid #DDDDDD;
    margin-bottom: 20px;
    padding: 0 20px;
    width: 100%;
}

.quiqqer-order-step-checkout-article .articles-article-header th {
    color: #999999;
    font-size: 12px;
    line-height: 30px;
}

.quiqqer-order-step-checkout-article .articles-article td {
    padding-bottom: 20px;
    font-weight: normal;
}

.articles-article-header-quantity,
.articles-article-header-unitprice,
.articles-article-header-price,
.articles-article-quantity,
.articles-article-unitprice,
.articles-article-price {
    text-align: right;
}

.quiqqer-order-step-checkout-article .articles-sum td {
    font-size: 14px;
}

.quiqqer-order-step-checkout .quiqqer-order-step-checkout-notice label {
    width: 100%;
    border: 1px solid #ddd;
    background: #fafafa;
    padding: 0.5rem 0.5rem;
}
