/* Table of Content
==================================================
    #Font-Face
    #Site Styles
    #Media Queries */

/* #Font-Face
================================================== */


/* #Site Styles
================================================== */

/* ### Added by BSD ### */
#inputButton {
    display: none;
}


/* ### general ### */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    color: #000;
}

body {
    background: #f0f3f6;
}

input,
select,
textarea {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    color: #000;
}

img {
    display: block;
    max-width: 100%;
    border: 0;
}

ul,
li {
    list-style: none;
}

:focus {
    outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: #212f4a;
}

h1,
.h1 {
    font-size: 35px;
    line-height: 1;
}

h2 {
    font-size: 45px;
    line-height: 1.2;
}

h5 {
    font-size: 18px;
    line-height: 1.2;
}

.card-text {
    font-size: 15px;
}

a {
    color: #4e9eef;
}

/* ### global classes ### */
.container {
    padding-right: calc((100% - 1120px) / 2);
    padding-left: calc((100% - 1120px) / 2);
    max-width: 100%;
}

p {
    line-height: 1.35;
    color: #6c7b91;
}

.btn {
    padding: 0.55rem 1.5rem;
}

    .btn.disabled {
        opacity: 1;
        border-color: #d3dbe3;
        background: #d3dbe3;
    }

        .btn.disabled:hover {
            opacity: 1;
            border-color: #d3dbe3;
            background: #d3dbe3;
        }

    .btn.btn-sm {
        padding: 0.4rem 1rem;
    }

.btn-primary {
    border-color: #4e9eef;
    border-radius: 2px;
    background: #4e9eef;
}

    .btn-primary:not(:disabled):not(.disabled).active,
    .btn-primary:not(:disabled):not(.disabled):active,
    .show > .btn-primary.dropdown-toggle,
    .btn-primary:hover,
    .btn-primary.focus,
    .btn-primary:focus {
        border-color: #4181c1;
        background: #4181c1;
    }

.btn-outline-created {
    padding: 0.22rem 0.4rem 0.27rem;
    font-size: 14px;
    line-height: 18px;
    text-decoration: none;
    color: #374051;
    border-color: #e89b5c;
    background-color: #fff;
}

.btn-outline-printed {
    padding: 0.22rem 0.4rem 0.27rem;
    font-size: 14px;
    line-height: 18px;
    text-decoration: none;
    color: #374051;
    border-color: #4e9eef;
    background-color: #fff;
}

.btn-outline-sent {
    padding: 0.22rem 0.4rem 0.27rem;
    font-size: 14px;
    line-height: 18px;
    text-decoration: none;
    color: #374051;
    border-color: #42b28f;
    background-color: #fff;
}

.btn-outline-delete {
    padding: 0.22rem 0.4rem 0.27rem;
    font-size: 14px;
    line-height: 18px;
    text-decoration: none;
    color: #374051;
    border-color: #ff5b6c;
    background-color: #fff;
}

.btn-outline-created.focus,
.btn-outline-created:focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(232, 155, 92, 0.25);
    box-shadow: 0 0 0 0.2rem rgba(232, 155, 92, 0.25);
}

.btn-outline-printed.focus,
.btn-outline-printed:focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(78, 158, 239, 0.25);
    box-shadow: 0 0 0 0.2rem rgba(78, 158, 239, 0.25);
}

.btn-outline-sent.focus,
.btn-outline-sent:focus {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(66, 178, 143, 0.25);
    box-shadow: 0 0 0 0.2rem rgba(66, 178, 143, 0.25);
}

.btn-outline-created.fill {
    background-color: #f2dece;
}

.btn-outline-printed.fill {
    background-color: #b8d7f6;
}

.btn-outline-sent.fill {
    background-color: #acdbcd;
}

.btn-outline-delete.fill {
    background-color: #ff5b6c47;
}

.cancelled .btn-outline-created,
.cancelled .btn-outline-printed,
.cancelled .btn-outline-sent,
.cancelled .btn-outline-delete {
    color: #c3c3c3;
    border-color: #c3c3c3;
}

.dropdown-menu {
    padding: 0;
    min-width: 8rem;
    border-color: #dce1e8;
    border-radius: 2px;
}

.dropdown-item {
    padding: 8px 15px;
    font-size: 14px;
    color: #212f4a;
}

    .dropdown-item.line {
        border-bottom: 1px solid #dce1e8;
    }

    .dropdown-item.is-active {
        font-weight: 600;
    }

.card {
    border-color: #dce1e8;
    border-radius: 2px;
    height: 100%;
}

.card-title {
    margin-bottom: 25px;
}

label {
    margin-bottom: 1px;
    display: block;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #374051;
}

.form-check {
    padding: 0;
}

.form-check-input {
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
    width: 0;
    height: 100%;
    cursor: pointer;
}

label.form-check-label {
    padding: 0 0 0 25px;
    position: relative;
    font-size: 14px;
    line-height: 24px;
    color: #374051;
    cursor: pointer;
}

    label.form-check-label a {
        text-decoration: underline;
    }

.form-check-input:hover + label.form-check-label a:hover {
    text-decoration: none;
}

label.form-check-label:before {
    position: absolute;
    top: 5px;
    left: 0;
    display: block;
    width: 14px;
    height: 14px;
    border: 1px solid #dce1e8;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background-color: #fff;
    content: '';
}

label.form-check-label:after {
    position: absolute;
    top: 7px;
    left: 2px;
    display: block;
    width: 10px;
    height: 10px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background-color: #4e9eef;
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transition: all 350ms;
    transition: all 350ms;
    content: '';
}

.form-check-input:checked + label.form-check-label:after {
    -webkit-transform: scale(1);
    transform: scale(1);
}

.form-row {
    margin: 0 0 6px;
}

    .form-row .row {
        width: calc(100% + 30px);
    }

.form-control {
    height: 49px;
    font-size: 16px;
    font-weight: 400;
    line-height: inherit;
    border-color: #dce1e8;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

select.form-control {
    background-image: url('../images/dropdown-down-arrow.png');
    background-repeat: no-repeat;
    background-position: top 50% right 20px;
    background-size: 15px auto;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

textarea.form-control {
    height: 130px;
    resize: none;
}

.submit-row {
    padding-top: 2px;
}

    .submit-row .btn {
        min-width: 200px;
    }

.custom_table {
    border: 1px solid #dce1e8;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    background: #fff;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.table-top-panel {
    padding-bottom: 4px;
}

    .table-top-panel label {
        padding-right: 7px;
        font-size: 14px;
        line-height: 16px;
        color: #374051;
    }

    .table-top-panel select.form-control {
        padding: 0 10px;
        width: 145px;
        height: 26px;
        font-size: 14px;
        line-height: 16px;
        color: #374051;
        background-image: url('../images/dropdown-down-arrow1.png');
        background-position: top 50% right 10px;
        background-size: 9px auto;
    }

    .table-top-panel form {
        margin-left: auto;
    }

.table-header {
    padding: 12px 20px 8px;
    min-height: 61px;
    border-bottom: 1px solid #dce1e8;
}

    .table-header h3 {
        margin-bottom: 0;
        font-size: 18px;
        font-weight: 400;
        line-height: 24px;
    }

    .table-header .search {
        position: relative;
    }

        .table-header .search form {
            position: absolute;
            top: 0;
            right: 0;
            display: block;
            opacity: 0;
            visibility: hidden;
            width: 0;
            -webkit-transition: all 250ms;
            transition: all 250ms;
            pointer-events: none;
        }

            .table-header .search form.show {
                opacity: 1;
                visibility: visible;
                width: 220px;
                pointer-events: auto;
            }

            .table-header .search form .form-control {
                padding-right: 40px;
                height: 40px;
            }

            .table-header .search form button {
                position: absolute;
                top: 0;
                right: 0;
                display: block;
                width: 40px;
                height: 40px;
                font-size: 0;
                line-height: 0px;
                border: 0;
                background: url('../images/search-icon.png') center center no-repeat;
                background-size: 20px auto;
                cursor: pointer;
            }

                .table-header .search form button:focus {
                    outline: none;
                }

        .table-header .search .search-toggle {
            display: block;
            width: 40px;
            height: 40px;
            font-size: 0;
            line-height: 0px;
            background: url('../images/search-icon.png') center center no-repeat;
            background-size: 20px auto;
        }

    .table-header .link {
        margin-right: 8px;
        font-size: 18px;
        font-weight: 600;
        line-height: 24px;
        text-decoration: underline;
        color: #4e9eef;
    }

        .table-header .link:hover {
            text-decoration: none;
        }

.table-responsive {
    max-height: 525px;
    overflow: auto;
}

.table {
    margin-bottom: 23px;
    min-width: 870px;
}

    .table.material {
        min-width: inherit;
        margin-bottom: 0px;
    }

    .table.order {
        min-width: 600px;
        margin-bottom: 0px;
    }

        .table.order.new {
            min-width: inherit;
        }

        .table.order.user-order {
            min-width: 880px;
        }

        .table.order.order-history {
            min-width: inherit;
        }

            .table.order.order-history.new-user {
                min-width: 360px;
            }

        .table.order.news-list {
            min-width: inherit;
        }

    .table td,
    .table th {
        padding: 0.73rem 0.74rem 0.46rem;
        font-size: 14px;
        line-height: 18px;
        color: #374051;
        vertical-align: middle;
        border-top: 0;
        border-bottom: 1px solid #dce1e8;
    }

        .table td a:not(.btn),
        .table th a:not(.btn) {
            text-decoration: underline;
            color: #374051;
        }

        .table td a:hover,
        .table th a:hover {
            text-decoration: none;
        }

    .table tr:nth-child(odd) td {
        background: rgba(240, 243, 246, 0.66);
    }

    .table .customer-code {
        width: 256px;
    }

    .table .company-name {
        width: 216px;
    }

    .table .name {
        width: 263px;
    }

    .table .email {
        width: 211px;
    }

    .table .order {
        width: 204px;
    }

    .table .detail {
        width: 190px;
    }

    .table .customer-code a:not(.btn) {
        padding-left: 27px;
        position: relative;
        display: inline-block;
        font-size: 18px;
        font-weight: 600;
        line-height: 24px;
        text-decoration: none;
        color: #374051;
        vertical-align: top;
    }

    .table .customer-code a:before {
        margin-top: -5px;
        position: absolute;
        top: 50%;
        left: 8px;
        display: block;
        width: 9px;
        height: 9px;
        -webkit-border-radius: 100%;
        border-radius: 100%;
        background: #acb4bc;
        content: '';
    }

    .table .customer-code.pending a:before {
        background: #39b96f;
    }

    .table .customer-code.deactivated a:before {
        background: #ff5b6c;
    }

    .table.order .customer-code a:not(.btn) {
        padding-left: 7px;
    }

    .table.order .customer-code a:before {
        display: none;
    }

    .table.order .customer-code {
        width: 331px;
    }

    .table.order .name {
        width: 454px;
    }

    .table.order .detail {
        width: 352px;
    }

    .table.order .status {
        width: 215px;
    }

    .table .status .done {
        color: #39b96f;
    }

    .table .status .due {
        color: #ff5b6c;
    }

    .table .status .created {
        color: #e89b5c;
    }

    .table .status .printed {
        color: #4e9eef;
    }

    .table .buttons a {
        margin: 0 3px;
    }

    .table.order-history .customer-code {
        width: 209px;
    }

    .table.order-history .user {
        width: 278px;
    }

    .table.order-history .creationdate {
        width: 250px;
    }

    .table.order-history .name {
        width: 350px;
    }

    .table.order-history .detail {
        width: 236px;
    }

    .table.order-history .status {
        width: 300px;
    }

    .table.order-history td,
    .table.order-history th {
        padding: 0.6rem 0.74rem 0.35rem;
        height: 46px;
    }

.card-header,
.card-header:first-child {
    padding: 0.75rem 1.5rem 0.5rem;
    min-height: 62px;
    border-bottom-color: #dce1e8;
    -webkit-border-radius: 4px 4px 0 0;
    border-radius: 4px 4px 0 0;
    background: #fff;
}

    .card-header h3 {
        margin: 0;
        padding: 0;
        font-size: 18px;
        font-weight: 400;
        line-height: 24px;
        color: #374051;
    }

.table.order.new .customer-code {
    width: 117px;
}

.table.order.new .name {
    width: 233px;
}

.table.order.new .detail {
    width: 140px;
}

.table.order.new .status {
    width: 170px;
}

.table .status span {
    color: #a8a8a8;
}

.table .status .wait {
    color: #e89b5c;
}

.table .date {
    padding-left: 1.3rem;
    width: 97px;
    height: 46px;
    font-weight: 600;
    letter-spacing: 0.28px;
    color: #ff5b6c;
}

.table.order.news-list .detail a:not(.btn) {
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
}

.table.material tr {
    display: block;
    overflow: hidden;
}

    .table.material tr td {
        display: block;
        float: left;
    }

    .table.material tr .customer-code {
        width: calc(100% - 146px);
    }

    .table.material tr .detail {
        padding: 0.83rem 0.74rem 0.692rem;
        float: right;
        width: 146px;
        cursor: pointer;
    }

        .table.material tr .detail span {
            display: block;
            text-decoration: none;
        }

            .table.material tr .detail span:after {
                margin: 4px 0 0 7px;
                display: inline-block;
                width: 13px;
                height: 13px;
                vertical-align: top;
                background: url('../images/dropdown-arrow.png') top 50% right 0 no-repeat;
                background-size: 13px auto;
                -webkit-transform: rotate(180deg);
                transform: rotate(180deg);
                -webkit-transition: all 350ms;
                transition: all 350ms;
                content: '';
            }

        .table.material tr .detail.is-active span:after {
            -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
        }

    .table.material tr .accordian {
        padding: 0;
        display: none;
        width: 100%;
        font-size: 18px;
        font-weight: 400;
        line-height: 24px;
        color: #374051;
        background: #fff;
    }

        .table.material tr .accordian .info {
            padding: 34px 30px 31px 18px;
        }

        .table.material tr .accordian .deactivate-link {
            padding-left: 23px;
            background: url('../images/deactivate.png') top 5px left 0 no-repeat;
            background-size: 15px auto;
        }

            .table.material tr .accordian .deactivate-link input {
                background: none;
                border: none;
                text-decoration: underline;
            }

        .table.material tr .accordian .activate-link {
            /*padding-left: 23px;*/
            color: #39b96f;
            background-size: 15px auto;
        }

            .table.material tr .accordian .activate-link input {
                background: none;
                border: none;
                text-decoration: underline;
            }

        .table.material tr .accordian .remove-link {
            padding-left: 19px;
            background: url('../images/close.png') top 8px left 0 no-repeat;
            background-size: 11px auto;
        }

            .table.material tr .accordian .remove-link.disabled {
                color: #a8a8a8;
            }

            .table.material tr .accordian .remove-link input {
                background: none;
                border: none;
                text-decoration: underline;
            }

        .table.material tr .accordian .edit-link {
            padding-left: 19px;
            background: url('../images/edit.png') top 3px left 0 no-repeat;
            background-size: 15px auto;
        }

            .table.material tr .accordian .edit-link.disabled {
                color: #a8a8a8;
            }

            .table.material tr .accordian .edit-link input {
                background: none;
                border: none;
                text-decoration: underline;
            }

        .table.material tr .accordian .other-link {
            background-size: 11px auto;
        }

.table.order-detail {
    margin-bottom: 0;
    min-width: 960px;
}

    .table.order-detail td {
        padding: 0.73rem 1.2rem 0.46rem;
        height: 62px;
        font-size: 18px;
        font-weight: 400;
        line-height: 24px;
        color: #374051;
        vertical-align: middle;
        border: 1px solid #dce1e8;
        border-top: 0;
        border-left: 0;
    }

    .table.order-detail th {
        padding: 0.73rem 1.2rem 0.46rem;
        height: 60px;
        font-size: 18px;
        font-weight: 400;
        line-height: 24px;
        color: #374051;
        vertical-align: middle;
        border: 1px solid #dce1e8;
        border-top: 0;
        border-left: 0;
    }

    .table.order-detail tr:last-child td {
        border-bottom: 0;
    }

    .table.order-detail tr td:last-child,
    .table.order-detail tr th:last-child {
        border-right: 0;
    }

.table thead th {
    border-bottom: 1px solid #dce1e8;
}

.table.order-detail .product-name {
    width: 281px;
}

.table.order-detail .date {
    width: 163px;
}

.table.order-detail .property {
    width: 294px;
}

.table.order-detail .number {
    width: 157px;
}

.table.order-detail .payment {
    width: 152px;
}

.table.order-detail .status {
    width: 154px;
}

.table.order-detail .price {
    width: 153px;
}

.table.user-order td,
.table.user-order th {
    padding: 0.4rem 0.74rem 0.3rem;
    height: 45px;
}

.table.user-order .customer-code {
    width: 115px;
}

.table.user-order .name {
    width: 240px;
}

.table.user-order .detail {
    width: 150px;
}

.table.user-order .status {
    width: 269px;
}

.table.cart {
    margin-bottom: 0;
    min-width: 400px;
}

    .table.cart td,
    .table.cart th {
        padding: 0.78rem 1.5rem 0.8rem;
        font-size: 18px;
        line-height: 24px;
        color: #374051;
    }

    /* Added mby BSD */

    .table.cart tr:last-child td:nth-last-child(-n+3) {
        border-bottom: none;
    }

    .table.cart .remove {
        padding: 0.75rem 1.3rem 0.5rem 0;
        width: 40px;
    }

    .table.cart .product-name:before {
        content: '• ';
    }

    .table.cart .remove-product {
        margin: 0 0 0 auto;
        display: block;
        width: 20px;
        height: 20px;
        font-size: 0;
        line-height: 0px;
        background: url('../images/close.png') center center no-repeat;
        background-size: 10px auto;
    }

    .table.cart td a {
        font-style: italic;
        text-decoration: underline;
        color: #4e9eef;
    }

        .table.cart td a:hover {
            text-decoration: none;
        }

    .table.cart .price {
        padding-right: 1rem;
        text-align: right;
    }

.cart-total {
    padding-top: 14px;
}

    .cart-total .table {
        padding: 0;
        width: 308px;
        min-width: inherit;
        border: 1px solid #dce1e8;
        -webkit-border-radius: 4px;
        border-radius: 4px;
        background-color: #fff;
    }

        .cart-total .table th {
            padding: 0 1.31rem;
            font-size: 18px;
            font-weight: 600;
            line-height: 25px;
            color: #374051;
            border: 0;
        }

        .cart-total .table td {
            padding: 0 1.31rem;
            font-size: 18px;
            font-weight: 400;
            line-height: 25px;
            color: #374051;
            border: 0;
        }

        .cart-total .table .label {
            padding-right: 0;
            width: 154px;
        }

        .cart-total .table .amount {
            font-size: 22px;
            line-height: 30px;
        }

        .cart-total .table .orderTotalExclVat {
            font-size: 20px;
            padding-top:0.7em;
            padding-bottom:0.7em;
        }

        .cart-total .table tr:nth-of-type(1) td,
        .cart-total .table tr:nth-of-type(1) th {
            padding-top: 1.44rem;
        }

        .cart-total .table tr:nth-child(odd) td {
            background: #fff;
        }

        .cart-total .table tr.total td {
            padding-top: 1.25rem;
            padding-bottom: 1.28rem;
            border-top: 1px solid #dce1e8;
        }

        .cart-total .table tr:nth-last-of-type(2) td {
            padding-bottom: 1.15rem;
        }

#surchargeLabel,
#surchargeValue {
    color: #42b28f;
}

.modal-backdrop.show {
    opacity: 0.4;
}

.modal-dialog-centered {
    margin: 20px auto;
    min-height: calc(100% - 40px);
}

.modal-content {
    border: 1px solid #dce1e8;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

button.close {
    position: absolute;
    top: 5px;
    right: 5px;
    opacity: 1;
    width: 40px;
    height: 40px;
    font-size: 0;
    line-height: 0px;
    background: url('../images/pop-close.svg') center center no-repeat;
    background-size: 14px auto;
}

    button.close:focus {
        outline: none;
    }

.modal-dialog {
    position: relative;
    max-width: 485px;
}

.modal-body {
    padding: 45px 48px 33px;
}

    .modal-body h3 {
        font-size: 24px;
        font-weight: 600;
        line-height: 28px;
        text-align: center;
        color: #212f4a;
    }

    .modal-body .image {
        padding: 31px 0 43px;
    }

        .modal-body .image img {
            margin: 0 auto;
            display: block;
            height: auto;
        }

    .modal-body .text {
        padding: 0;
        font-size: 18px;
        line-height: 24px;
        color: #374051;
    }

        .modal-body .text p {
            margin-bottom: 6px;
        }

        .modal-body .text ul {
            margin: 0;
            padding: 0;
            list-style-type: none;
        }

            .modal-body .text ul li {
                padding-bottom: 6px;
            }

                .modal-body .text ul li .name {
                    display: inline-block;
                    min-width: 190px;
                    vertical-align: top;
                }

    .modal-body p {
        margin-bottom: 12px;
        color: #374051;
    }

#changeTermModal .modal-dialog {
    max-width: 484px;
}

    #changeTermModal .modal-dialog h3 {
        margin-bottom: 52px;
        font-size: 35px;
        line-height: 40px;
        color: #212f4a;
    }

#changeTermModal .modal-body {
    padding: 42px 55px 47px;
}

#changeTermModal .form-control {
    height: 56px;
    font-size: 32px;
}

#changeTermModal .submit-row {
    padding-top: 35px;
}

.form-text {
    margin-top: 13px;
    display: block;
    font-size: 16px;
    line-height: 22px;
    color: #374051;
}

#cartModal .cart-img {
    margin: 0 auto 18px;
    width: 76px;
}

#cartModal .modal-body {
    padding: 32px 52px 57px 55px;
}

    #cartModal .modal-body p {
        margin-bottom: 0.91rem;
        padding-right: 25px;
        position: relative;
    }

        #cartModal .modal-body p a {
            font-style: italic;
            text-decoration: underline;
        }

            #cartModal .modal-body p a:hover {
                text-decoration: none;
            }

#cartModal h3 {
    margin-bottom: 57px;
    font-size: 35px;
    line-height: 40px;
}

#cartModal .delete {
    margin: 0;
    position: absolute;
    top: 5px;
    right: 0;
    display: block;
    width: 20px;
    height: 20px;
    font-size: 0;
    line-height: 0px;
    background: url('../images/close.png') center center no-repeat;
    background-size: 10px auto;
}

/* ### wrapper ### */
#wrapper {
    position: relative;
    display: block;
    width: 100%;
    min-height: 100%;
}

/* ### main container ### */
#mainCntr {
    padding: 100px 35px 0 292px;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.btn-link {
    font-size: 16px;
    color: #212f4a;
}

    .btn-link:focus,
    .btn-link:hover {
        color: #212f4a;
        box-shadow: none;
    }

.dropdown-toggle {
    display: flex;
    align-content: center;
    align-items: center;
    font-weight: 400;
}

    .dropdown-toggle b {
        font-weight: 600;
    }

    .dropdown-toggle:after {
        margin-left: 10px;
        position: relative;
        top: 2px;
        width: 11px;
        height: 11px;
        border: 0;
        background: url('../images/dropdown-arrow.png') center center no-repeat;
        background-size: 11px auto;
        transform: rotate(180deg);
        content: '';
    }

.show .dropdown-toggle:after {
    transform: none;
}

/* ### header container ### */
.header-top {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
    width: 100%;
    height: 70px;
    border-bottom: 1px solid #dce1e8;
    background: #fff;
}

    .header-top .logo {
        margin-left: 36px;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        border-radius: 2px;
        background: #4e9eef;
    }

        .header-top .logo img {
            width: 28px;
            max-width: 100%;
        }

    .header-top .mobileMenu {
        margin-right: 25px;
        margin-left: auto;
        padding-left: 36px;
        position: relative;
        z-index: 15;
        display: none;
        text-decoration: none;
        color: #1c2f4d;
        background: url('../images/menu-icon.png') left center no-repeat;
        background-size: 23px auto;
        transition: none;
        cursor: pointer;
        overflow: hidden;
    }

        .header-top .mobileMenu span.close-text {
            display: none;
        }

    .header-top .mobile_menu {
        width: calc(100% - 83px);
    }

    .header-top .cart {
        margin-right: 40px;
        position: relative;
        display: block;
        opacity: 0.4;
        width: 40px;
        height: 40px;
        background: url('../images/cart.svg') center center no-repeat;
        background-size: 21px auto;
        -webkit-transition: all 350ms;
        transition: all 350ms;
    }

        .header-top .cart.is-value {
            opacity: 1;
        }

        .header-top .cart .value {
            position: absolute;
            top: 6px;
            right: 3px;
            display: block;
            width: 13px;
            height: 13px;
            font-size: 9px;
            font-weight: 700;
            line-height: 12px;
            text-align: center;
            color: #fff;
            -webkit-border-radius: 100%;
            border-radius: 100%;
            background-color: #dc3545;
        }

        .header-top .cart:hover {
            opacity: 1;
            text-decoration: none;
        }

.is-menu-open .header-top .mobileMenu {
    background: url('../images/close-icon.png') left center no-repeat;
    background-size: 17px auto;
}

    .is-menu-open .header-top .mobileMenu span.open-text {
        display: none;
    }

    .is-menu-open .header-top .mobileMenu span.close-text {
        display: inline-block;
    }

/* ### Login box ### */
.loginBox {
    padding-right: 12px;
}

    .loginBox ul {
        overflow: hidden;
        width: auto;
    }

        .loginBox ul li {
            margin: 0 20px;
        }

            .loginBox ul li a {
                font-size: 16px;
                color: #212f4a;
            }

                .loginBox ul li.is-active a,
                .loginBox ul li a:hover {
                    text-decoration: underline;
                }

/* ### sidebar box ### */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    width: 257px;
    height: 100vh;
    background: #212f4a;
    overflow: auto;
}

    .sidebar ul li {
        margin-bottom: 1px;
    }

        .sidebar ul li a {
            padding: 0 38px;
            position: relative;
            display: flex;
            align-content: center;
            align-items: center;
            justify-content: flex-start;
            height: 30px;
            font-size: 16px;
            color: #fff;
        }

            .sidebar ul li a:after {
                position: absolute;
                top: 0;
                left: 0;
                opacity: 0;
                width: 4px;
                height: 100%;
                background: #4392e6;
                content: '';
            }

        .sidebar ul li.is-active a {
            background: #1e2530;
        }

            .sidebar ul li.is-active a:after {
                opacity: 1;
            }

        .sidebar ul li a:hover {
            text-decoration: underline;
        }

    .sidebar .title {
        margin-bottom: 5px;
        padding: 0 38px;
        font-size: 13px;
        letter-spacing: 0.05em;
        color: #8796ab;
    }

    .sidebar .logo {
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        border-radius: 2px;
        background: #4e9eef;
    }

        .sidebar .logo img {
            width: 28px;
            max-width: 100%;
        }

    .sidebar .top {
        margin-bottom: 25px;
        padding: 0 0 0 36px;
        width: 100%;
        height: 70px;
        border-bottom: 1px solid #2c3b59;
    }

        .sidebar .top span {
            font-size: 16px;
        }

/* ### upload box ### */
.uploadBox {
    width: 100%;
    min-height: 588px;
    border: 1px solid #dce1e8;
    background: #fff;
}

/* Added by BSD */

#loadingDiv {
    width: 100%;
    height: 100%;
    display: none;
}

.uploadBox input {
    font-size: 12px;
    width: 50%;
}

.uploadBox select {
    font-size: 12px;
}

.uploadBox label {
    margin: 0;
    font-size: 12px;
    line-height: 18px;
}

.uploadBox .form-control {
    padding: 0;
    height: auto;
}

.uploadBox .text-danger {
    font-size: 12px;
}

.uploadBox .table-striped {
    font-size: 12px;
}

.uploadBox .table {
    min-width: 0px;
}

.uploadBox table tr:first-child td:nth-child(1),
.uploadBox table tr:first-child td:nth-child(2) {
    border-top: 0;
}

.uploadBox table tr:last-child td:last-child,
.uploadBox table tr:last-child td:nth-last-child(2) {
    border-bottom: 1px solid #dee2e6;
}

.uploadBox table td {
    padding: .75rem;
    font-size: 12px;
    display: inline-flex;
    width: 50%;
    border-bottom: 0;
    border-top: 1px solid #dee2e6;
    vertical-align: top;
}

    .uploadBox table td .btn.btn-sm {
        min-width: 0px;
        padding: 0.01rem 0.4rem;
        font-size: 12px;
        margin-left: 2px;
        border-radius: 0.25rem;
    }

/* End */

.uploadBox .block {
    margin: 0 auto;
    max-width: 450px;
}

.uploadBox .list {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    border-bottom: 1px solid #dce1e8;
}

.uploadBox .list-item {
    border-right: 1px solid #dce1e8;
}

/* Added by BSD */

.uploadBox .list-item-right {
    border-left: 1px solid #dce1e8;
}

/* end */

.uploadBox .list-link {
    display: block;
    width: 62px;
    height: 60px;
    text-decoration: none;
    color: #d3dbe3;
}

    .uploadBox .list-link.is-active,
    .uploadBox .list-link:hover {
        color: #374051;
    }

    .uploadBox .list-link i {
        height: 25px;
        font-size: 20px;
    }

    .uploadBox .list-link span {
        font-size: 11px;
    }

.uploadBox .heading {
    padding-left: 20px;
    width: 100%;
    height: 60px;
    color: #374051;
    border-bottom: 1px solid #dce1e8;
}

.uploadBox .block-icon {
    margin: 0 auto 20px;
    max-width: 156px;
}

.uploadBox .left {
    padding-top: 60px;
    position: relative;
    width: calc(100% - 293px);
}

.uploadBox .right {
    width: 293px;
    border-left: 1px solid #dce1e8;
}

    /* Added by BSD */

    .uploadBox .right .d-flex.flex-column.flex-fill {
        height: calc(100% - 60px);
    }

        .uploadBox .right .d-flex.flex-column.flex-fill ul {
            margin-bottom: 0px;
        }

/* End */

.uploadBox .btn {
    min-width: 200px;
    font-size: 18px;
}

.uploadBox .link {
    text-decoration: underline;
}

    .uploadBox .link:hover {
        text-decoration: none;
    }

.footerBox p {
    font-size: 14px;
    color: #212f4a;
}

/* Added by BSD */

.file-upload-input {
    position: absolute;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    outline: none;
    opacity: 0;
    cursor: pointer;
}


#GCodeTermsAndConditions {
    width: auto;
}

/* End */

/* ### step box ### */
.stepBox h1 {
    padding-top: 32px;
    max-width: 30%;
}

.stepBox .list {
    position: absolute;
    top: 0;
    left: 50%;
    width: 580px;
    transform: translateX(-50%);
}

    .stepBox .list li {
        padding: 0 44px 18px;
        position: relative;
        font-size: 12px;
        text-align: center;
        color: #aabccd;
    }

        .stepBox .list li:after {
            position: absolute;
            bottom: 0;
            left: 66%;
            width: 108px;
            height: 2px;
            background: #d8e9f6;
            content: '';
        }

        .stepBox .list li:before {
            margin-left: -9px;
            position: absolute;
            bottom: -7px;
            left: 50%;
            width: 16px;
            height: 16px;
            border: 2px solid #c7dbe9;
            border-radius: 50%;
            content: '';
        }

        .stepBox .list li.is-selected {
            color: #212f4a;
        }

            .stepBox .list li.is-selected span {
                text-decoration: underline;
            }

            .stepBox .list li.is-selected:after {
                opacity: 0.4;
                background: #42b28f;
            }

        .stepBox .list li.is-active {
            font-weight: 600;
            color: #212f4a;
        }

            .stepBox .list li.is-active:before,
            .stepBox .list li.is-selected:before {
                border-color: #42b28f;
                background: #42b28f;
            }

        .stepBox .list li:last-child:after {
            display: none;
        }

        .stepBox .list li:nth-child(2):after {
            left: 63%;
        }

        .stepBox .list li:nth-child(3):after {
            left: 65%;
            width: 92px;
        }

/* ### title box ### */
.titleBox {
    padding: 30px 0 13px;
}

    .titleBox.spacing {
        padding-bottom: 40px;
    }

    .titleBox .btn.btn-sm {
        margin-top: 5px;
        padding: 0.5rem 1.25rem 0.53rem;
        font-size: 14px;
        line-height: 18px;
    }

    .titleBox h1 a {
        text-decoration: underline;
        color: #212f4a;
    }

        .titleBox h1 a:hover {
            text-decoration: none;
        }

    .titleBox h1 small {
        font-size: 24px;
        font-weight: 600;
    }

/* ### form box ### */
.formBox {
    padding-top: 28px;
    padding-bottom: 75px;
}

    .formBox h1 {
        margin-bottom: 46px;
        font-size: 34px;
        font-weight: 600;
        line-height: 40px;
        text-align: center;
        color: #212f4a;
    }

    .formBox .login {
        margin: 0 auto 24px;
        padding: 35px 41px 32px;
        max-width: 484px;
        border: 1px solid #dce1e8;
        -webkit-border-radius: 4px;
        border-radius: 4px;
        background-color: #fff;
    }

        .formBox .login p {
            margin-bottom: 46px;
            text-align: left;
            color: #6c7b91;
        }

    .formBox .simpleBox {
        margin: 0 auto 24px;
        padding: 35px 41px 32px;
        max-width: 530px;
        border: 1px solid #dce1e8;
        -webkit-border-radius: 4px;
        border-radius: 4px;
        background-color: #fff;
    }

        .formBox .simpleBox p {
            margin-bottom: 46px;
            text-align: left;
            color: #6c7b91;
        }

    .formBox .profile {
        margin: 0 auto 24px;
        padding: 35px 41px 32px;
        max-width: 810px;
        border: 1px solid #dce1e8;
        -webkit-border-radius: 4px;
        border-radius: 4px;
        background-color: #fff;
    }

        .formBox .profile p {
            margin-bottom: 46px;
            text-align: left;
            color: #6c7b91;
        }

    .formBox p {
        font-weight: 400;
        text-align: center;
        color: #374051;
    }

        .formBox p a {
            font-weight: 600;
        }

    .formBox a {
        text-decoration: underline;
    }

        .formBox a:hover {
            text-decoration: none;
        }

    .formBox .forgot-password {
        font-size: 14px;
        line-height: 20px;
    }

/* ### thank box ### */
.thankBox {
    padding: 20px 0;
    min-height: calc(100vh - 265px);
    text-align: center;
}

    .thankBox .inner {
        margin: 0 auto;
        max-width: 450px;
    }

    .thankBox h1 {
        margin-bottom: 36px;
    }

    .thankBox .btn {
        margin-bottom: 41px;
        min-width: 200px;
    }

    .thankBox p {
        margin-bottom: 37px;
    }

        .thankBox p a {
            text-decoration: underline;
            color: #4e9eef;
        }

            .thankBox p a:hover {
                text-decoration: none;
            }

/* ### overview box ### */
.overviewBox {
    padding: 8px 0 15px;
}

    .overviewBox .row {
        margin-right: -8px;
        margin-left: -8px;
    }

        .overviewBox .row div[class*='col-'] {
            padding: 0 8px 16px;
        }

    .overviewBox .card {
        -webkit-border-radius: 4px;
        border-radius: 4px;
    }

    .overviewBox .card-body {
        padding: 1.92rem;
        text-align: center;
    }

        /* Added by BSD */
        .overviewBox .card-body .deactivate-link input,
        .overviewBox .card-body .activate-link input {
            background: none;
            border: none;
            text-decoration: underline;
            font-size: 14px;
            padding-left: 20px;
        }

        .overviewBox .card-body img {
            margin: 0 auto 14px;
        }

    .overviewBox .price {
        padding-bottom: 3px;
        display: block;
        font-size: 35px;
        font-weight: 600;
        line-height: 40px;
        color: #374051;
    }

    /*    .overviewBox .table-row .col-md-8 {
        -ms-flex: 0 0 65.2%;
        flex: 0 0 65.2%;
        max-width: 65.2%;
    }*/

    /*    .overviewBox .table-row .col-md-4 {
       -ms-flex: 0 0 34.8%;
        flex: 0 0 34.8%;
        max-width: 34.8%;
    }*/

    .overviewBox .table.order-history .customer-code {
        width: 134px;
    }

    .overviewBox .table.order-history.new-user .customer-code {
        width: 180px;
    }

    .overviewBox .table.order-history.new-user .detail {
        width: 200px;
    }

    .overviewBox .table {
        margin-bottom: 0;
    }

        .overviewBox .table tr:last-child td {
            border-bottom: 0;
        }

        .overviewBox .table .cancelled td {
            color: #a8a8a8;
        }

            .overviewBox .table .cancelled td a:not(.btn) {
                color: #a8a8a8;
            }

    .overviewBox .upload {
        min-height: 229px;
    }

        .overviewBox .upload .image {
            width: 42%;
        }

        .overviewBox .upload .text {
            padding: 12px 50px 0 0;
            width: 58%;
            text-align: center;
        }

        .overviewBox .upload .image img {
            margin: 0 auto;
            display: block;
        }

        .overviewBox .upload .file {
            margin: 0 auto 27px;
            position: relative;
            width: 200px;
        }

            .overviewBox .upload .file input {
                position: absolute;
                top: 0;
                left: 0;
                z-index: 1;
                opacity: 0;
                width: 100%;
                height: 100%;
                cursor: pointer;
            }

                .overviewBox .upload .file input:hover + .btn {
                    border-color: #4181c1;
                    background: #4181c1;
                }

            .overviewBox .upload .file .btn {
                width: 100%;
            }

        .overviewBox .upload p {
            margin-bottom: 0;
        }

            .overviewBox .upload p a {
                font-weight: 600;
                text-decoration: underline;
                color: #4e9eef;
            }

                .overviewBox .upload p a:hover {
                    text-decoration: none;
                }

    .overviewBox .card.profile .card-body {
        padding: 1.1rem 0.9rem;
        text-align: left;
    }

    .overviewBox .first-letter {
        margin: 0 auto 32px;
        display: block;
        width: 141px;
        height: 141px;
        font-size: 50px;
        line-height: 56px;
        text-transform: uppercase;
        color: #fff;
        -moz-border-radius: 100%;
        border-radius: 100%;
        background-color: #f2d3a1;
    }

    .overviewBox .card.profile p {
        margin-bottom: 0.71rem;
        text-align: right;
    }

        .overviewBox .card.profile p a {
            font-weight: 600;
            text-decoration: underline;
            color: #4e9eef;
        }

            .overviewBox .card.profile p a:hover {
                text-decoration: none;
            }

    .overviewBox .card.profile h3 {
        font-size: 30px;
        font-weight: 400;
        line-height: 36px;
        text-align: center;
        color: #374051;
    }

    .overviewBox.user-info {
        padding-bottom: 6px;
    }

        .overviewBox.user-info .row {
            margin-right: -10px;
            margin-left: -10px;
        }

            .overviewBox.user-info .row div[class*='col-'] {
                padding: 0 10px 27px;
            }

    .overviewBox .info-list {
        margin: 0;
        padding: 75px 12px 0;
        list-style-type: none;
    }

        .overviewBox .info-list li {
            padding-bottom: 16px;
            font-size: 14px;
            font-weight: 400;
            line-height: 20px;
            color: #374051;
        }

            .overviewBox .info-list li strong {
                display: inline-block;
                min-width: 106px;
                font-weight: 600;
                vertical-align: top;
            }

    .overviewBox .card.address .card-body {
        padding: 1.08rem 1.5rem 1.25rem;
        min-height: 172px;
        text-align: left;
    }

        .overviewBox .card.address .card-body address {
            margin-bottom: 0;
            font-size: 18px;
            font-weight: 400;
            line-height: 26px;
            color: #374051;
        }

            .overviewBox .card.address .card-body address strong {
                font-weight: 600;
            }

    .overviewBox .card.address .card-header h3 a {
        font-weight: 600;
        text-decoration: underline;
        color: #4e9eef;
    }

        .overviewBox .card.address .card-header h3 a:hover {
            text-decoration: none;
        }

    .overviewBox .card.payment .card-body {
        padding: 1.08rem 1.5rem 1.25rem;
        min-height: 172px;
        text-align: left;
    }

    .overviewBox .card.payment p {
        font-size: 14px;
        line-height: 26px;
        color: #374051;
    }

        .overviewBox .card.payment p strong {
            font-size: 18px;
            font-weight: 600;
        }

    .overviewBox .card.payment .btn {
        margin-top: 13px;
        min-width: 200px;
    }

    .overviewBox.user-info .table-responsive {
        max-height: 225px;
    }

    .overviewBox.user-info .table .cancelled td {
        color: #374051;
    }

        .overviewBox.user-info .table .cancelled td a:not(.btn) {
            color: #374051;
        }

/* ### cart box ### */
.cartBox {
    margin: 0 -3px;
    padding: 2px 0 0;
}

    .cartBox .row {
        margin-right: -8px;
        margin-left: -8px;
    }

        .cartBox .row div[class*='col-'] {
            padding: 0 8px 16px;
        }

    .cartBox h4 {
        margin-bottom: 1.4rem;
        font-size: 18px;
        font-weight: 400;
        line-height: 24px;
        color: #374051;
    }

        .cartBox h4 a {
            font-style: italic;
            text-decoration: underline;
            color: #4e9eef;
        }

            .cartBox h4 a:hover {
                text-decoration: none;
            }

    .cartBox address {
        margin-bottom: 0;
        font-size: 18px;
        font-weight: 400;
        line-height: 26px;
        color: #374051;
    }

        .cartBox address strong {
            font-weight: 600;
        }

    /* Amended by BSD */
    .cartBox .card-body {
        padding: 1.1rem 1.5rem 0.42rem;
        min-height: 210px;
    }

    .cartBox p {
        font-size: 14px;
        line-height: 20px;
        color: #858585;
    }

    .cartBox .card-body.spacing {
        padding: 1.1rem 1.5rem 0.42rem;
        min-height: 355px;
        border-top: 1px solid #dce1e8;
    }

        .cartBox .card-body.spacing h4 {
            margin-bottom: 1.2rem;
            padding-top: 5px;
        }

    /* Disabled for now because it is confusing X Articles, but articles might be ordered multiple times */

    .cartBox .product-counter {
        /*padding: 1.1rem 1.5rem;
        display: block;
        font-size: 18px;
        font-weight: 600;
        line-height: 24px;
        color: #374051;
        border-bottom: 1px solid #dce1e8;*/
        display: none;
    }

    /* Amended by BSD */

    .cartBox .table-responsive {
        max-height: 210px;
    }

    .cartBox .cart-total {
        padding: 0;
        height: 100%;
    }

        .cartBox .cart-total .table {
            margin-bottom: 46px;
            width: 100%;
            border: 0;
        }

            .cartBox .cart-total .table th {
                padding: 0;
                font-size: 18px;
                line-height: 26px;
            }

            .cartBox .cart-total .table td {
                padding: 0;
                font-size: 18px;
                line-height: 26px;
            }

            .cartBox .cart-total .table tr:nth-of-type(1) td,
            .cartBox .cart-total .table tr:nth-of-type(1) th {
                padding-top: 0;
            }

    .cartBox .card-body.cart {
        padding: 1.33rem 1.5rem 2rem;
        min-height: 319px;
        border-top: 1px solid #dce1e8;
    }

    .cartBox .cart-total .table .label {
        width: auto;
        vertical-align: top;
    }

    .cartBox .cart-total .table th:last-child,
    .cartBox .cart-total .table td:last-child {
        text-align: right;
    }

    .cartBox .cart-total .table tr.total td {
        padding-top: 5px;
        border: 0;
    }

    .cartBox .cart-total .table .amount {
        font-size: 26px;
    }

    .cartBox .cart-total .table .orderTotalExclVat {
        font-size: 22px;
        padding-bottom: 0.7rem;
    }

    .cartBox .cart-total .table tr:nth-last-of-type(2) td {
        padding-bottom: 0.7rem;
    }

    .cartBox .form-check {
        margin-bottom: 1.4rem;
    }

    .cartBox .btn-sm {
        padding: 0.55rem 1.2rem;
        min-width: 247px;
        font-size: 14px;
        line-height: 18px;
    }

/* ### payment box ### */
.paymentBox {
    padding: 2px 0 31px;
}

    .paymentBox .inner {
        padding: 35px 40px 31px;
        max-width: 485px;
        border: 1px solid #dce1e8;
        -webkit-border-radius: 4px;
        border-radius: 4px;
        background-color: #fff;
    }

    .paymentBox h3 {
        margin-bottom: 24px;
        font-size: 18px;
        font-weight: 400;
        line-height: 22px;
        color: #6c7b91;
    }

    .paymentBox .radio-custom-style {
        margin-bottom: 15px;
        padding: 5px 46px;
        position: relative;
        height: 69px;
        border: 1px solid #dce1e8;
        -webkit-border-radius: 4px;
        border-radius: 4px;
        background-color: #fff;
    }

        .paymentBox .radio-custom-style input[type='radio'] {
            position: absolute;
            top: 0;
            left: 0;
            z-index: 1;
            opacity: 0;
            width: 100%;
            height: 100%;
            cursor: pointer;
        }

        .paymentBox .radio-custom-style label {
            font-size: 18px;
            line-height: 24px;
            color: #6c7b91;
        }

            .paymentBox .radio-custom-style label:before {
                margin-top: -10px;
                position: absolute;
                top: 50%;
                left: 14px;
                width: 20px;
                height: 20px;
                border: 1px solid #dce1e8;
                -webkit-border-radius: 100%;
                border-radius: 100%;
                background-color: #fff;
                content: '';
            }

            .paymentBox .radio-custom-style label:after {
                margin-top: -5px;
                position: absolute;
                top: 50%;
                left: 19px;
                width: 10px;
                height: 10px;
                -webkit-border-radius: 100%;
                border-radius: 100%;
                background-color: #4e9eef;
                -webkit-transform: scale(0);
                transform: scale(0);
                -webkit-transition: all 350ms;
                transition: all 350ms;
                content: '';
            }

        .paymentBox .radio-custom-style input:checked + .image + label:after {
            -webkit-transform: scale(1);
            transform: scale(1);
        }

        .paymentBox .radio-custom-style .image {
            width: 106px;
        }

    .paymentBox .submit-row {
        padding-top: 14px;
    }

    .paymentBox .btn {
        min-width: 248px;
    }

        .paymentBox .btn.btn-sm {
            padding: 0.51rem 1rem 0.52rem;
            font-size: 14px;
            line-height: 18px;
        }

/* Added by BSD */
.container-fluid .row .col-md-6 .row input[type=text],
.container-fluid .row .col-md-6 .row select {
    width: 100%;
}

/*.container-fluid .row .col-md-4 .row .col-md-6,
.container-fluid .row .col-md-4 .row .col-md-4,
.container-fluid .row .col-md-4 .row .col-md-2,*/
.container-fluid .row .col-md-6 .row .col-md-6,
.container-fluid .row .col-md-6 .row .col-md-4,
.container-fluid .row .col-md-6 .row .col-md-2 {
    /*border-bottom: 1px solid;*/
    min-height: 31.67px;
}


/* #Media Queries
================================================== */
@media only screen and (max-width: 1679px) {
    .overviewBox .info-list {
        padding: 75px 0 0;
    }

        .overviewBox .info-list li strong {
            min-width: 96px;
        }

    .table.order-history .name {
        padding-right: 0;
        width: 210px;
    }

    .table.order-history .user {
        padding-right: 0;
    }

    .table.order-history .detail {
        padding-right: 0;
        width: 180px;
    }

    .overviewBox .table.order-history .customer-code {
        padding-right: 0;
        width: 70px;
    }

    .table.order-history .status {
        padding-left: 0;
        width: 240px;
    }
}

@media only screen and (max-width: 1439px) {
    .stepBox .list {
        margin: 0 auto;
        position: relative;
        top: auto;
        left: auto;
        display: block;
        transform: none;
    }

    .stepBox h1 {
        padding-top: 0;
        padding-bottom: 20px;
        max-width: 100%;
    }

    .thankBox {
        min-height: calc(100vh - 172px);
    }

    .table.order-detail th {
        padding: 0.73rem 1rem 0.46rem;
        font-size: 15px;
        line-height: 20px;
    }

    .table.order-detail td {
        padding: 0.73rem 1rem 0.46rem;
        font-size: 15px;
        line-height: 20px;
    }

    .cart-total .table {
        width: 308px;
    }

        .cart-total .table td {
            padding: 0 1rem;
            font-size: 15px;
            line-height: 20px;
        }

        .cart-total .table th {
            padding: 0 1rem;
            font-size: 15px;
            line-height: 20px;
        }

        .cart-total .table tr.total td {
            padding-top: 1rem;
            padding-bottom: 1rem;
        }

        .cart-total .table .amount {
            font-size: 22px;
            line-height: 28px;
        }

        .cart-total .table tr:nth-of-type(1) td,
        .cart-total .table tr:nth-of-type(1) th {
            padding-top: 1.2rem;
        }

    .table.material tr .accordian {
        font-size: 16px;
        line-height: 22px;
    }

    .table.order.news-list .detail a:not(.btn) {
        font-size: 14px;
        line-height: 18px;
    }

    .overviewBox .table-row .col-md-8 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .overviewBox .table-row .col-md-4 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .card-header,
    .card-header:first-child {
        padding: 0.75rem 1rem 0.5rem;
    }

    .overviewBox .card.address .card-body {
        padding: 1.08rem 1rem 1.25rem;
    }

    .overviewBox .card.payment .card-body {
        padding: 1.08rem 1rem 1.25rem;
    }

    .col-md-3.resize-width {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-md-3.change-width {
        -ms-flex: 0 0 32%;
        flex: 0 0 32%;
        max-width: 32%;
    }

    .col-md-4.change-width {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-md-9.change-width {
        -ms-flex: 0 0 68%;
        flex: 0 0 68%;
        max-width: 68%;
    }

    .overviewBox .card.profile {
        min-height: 850px;
    }

    .cartBox .card-body {
        padding: 1.1rem 1rem 0.42rem;
    }

        .cartBox .card-body.spacing {
            padding: 1.1rem 1.2rem 0.42rem 1rem;
        }

    .cartBox .product-counter {
        padding: 1.1rem 1rem;
    }

    .cartBox .card-body.cart {
        padding: 1.33rem 1rem 2rem;
    }

    .cartBox .btn-sm {
        padding: 0.55rem 0.8rem;
        min-width: inherit;
    }

    .cartBox address {
        font-size: 16px;
        line-height: 22px;
    }

    .cartBox h4 {
        font-size: 16px;
        line-height: 22px;
    }

    .table.cart td,
    .table.cart th {
        padding: 0.78rem 1rem 0.8rem;
        font-size: 16px;
    }

    .cartBox .cart-total .table td {
        font-size: 16px;
        line-height: 24px;
    }

    .cartBox .cart-total .table {
        margin-bottom: 54px;
    }

    .table.order.new .customer-code {
        padding-right: 0;
        width: 50px;
    }

    .table.order.new .name {
        padding-right: 0;
        padding-left: 10px;
        width: 181px;
    }

    .table.order.new .detail {
        padding-right: 0;
        padding-left: 10px;
        width: 122px;
    }

    .table.order.new .status {
        padding-right: 0;
        padding-left: 5px;
        width: 195px;
    }

    .table.order.news-list .date {
        padding-right: 0;
        min-width: 97px;
    }

    .overviewBox .table-row .col-md-8.full-lg-width {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .overviewBox .table-row .col-md-4.full-lg-width {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media only screen and (max-width: 1199px) {
    h1,
    .h1 {
        font-size: 30px;
    }

    #mainCntr {
        padding: 100px 20px 0 277px;
    }

    .uploadBox .left {
        width: calc(100% - 240px);
    }

    .uploadBox .right {
        width: 240px;
    }

    .header-top .cart {
        margin-right: 5px;
    }

    .titleBox {
        padding: 0 0 15px;
    }

        .titleBox.spacing {
            padding-bottom: 25px;
        }

    .table.order .customer-code {
        width: 160px;
    }

    .table.order .name {
        width: 300px;
    }

    .table.order .detail {
        width: 250px;
    }

    .table.order-history .detail {
        width: 230px;
    }

    .table.order-history .name {
        width: 350px;
    }

    .table.material tr .accordian .info {
        padding: 5px 18px 15px;
    }

        .table.material tr .accordian .info span,
        .table.material tr .accordian .info a {
            margin-top: 10px;
            width: 33.333%;
        }

    .overviewBox .table-row .col-md-8 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .overviewBox .table-row .col-md-4 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .col-md-3.change-width {
        -ms-flex: 0 0 42%;
        flex: 0 0 42%;
        max-width: 42%;
    }

    .col-md-4.change-width {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .col-md-9.change-width {
        -ms-flex: 0 0 58%;
        flex: 0 0 58%;
        max-width: 58%;
    }

    .overviewBox .info-list {
        padding: 20px 0 0;
    }

    .overviewBox .card.profile {
        min-height: 1112px;
    }

    .cartBox .table-responsive {
        max-height: inherit;
    }

    .cartBox .card-body.cart {
        border-top: 0;
    }

    .ui-widget-content {
        min-height: inherit;
    }

    .cartBox .card-body.spacing {
        min-height: inherit;
    }

    .cartBox .cart-total .table {
        margin-bottom: 15px;
    }
}

@media only screen and (max-width: 991px) {
    .stepBox .list {
        width: auto;
    }

        .stepBox .list li {
            padding: 0 24px 18px;
        }

            .stepBox .list li:nth-child(3):after {
                width: 65px;
            }

    .stepBox h1 {
        width: 100%;
    }

    .uploadBox .block {
        padding: 30px;
    }

    .stepBox {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: center;
    }

        .stepBox .list li:after {
            width: 80px;
        }

    #mainCntr {
        padding: 100px 20px 0 277px;
    }

    .uploadBox .left {
        width: 100%;
        min-height: 550px;
    }

    .uploadBox .right {
        width: 100%;
        min-height: 400px;
        border-top: 1px solid #dce1e8;
        border-left: 0;
    }

    .formBox {
        padding-top: 15px;
        padding-bottom: 20px;
    }

        .formBox h1 {
            margin-bottom: 25px;
            font-size: 30px;
            line-height: 36px;
        }

        .formBox .login p {
            margin-bottom: 30px;
        }

    .thankBox h1 {
        margin-bottom: 15px;
        font-size: 28px;
        line-height: 32px;
    }

    .thankBox p {
        margin-bottom: 25px;
    }

    .thankBox .btn {
        margin-bottom: 25px;
    }

    .cart-total .table {
        width: 270px;
    }

    .table.material tr .accordian .info span,
    .table.material tr .accordian .info a {
        width: 50%;
    }

    .overviewBox .upload .text {
        padding-right: 20px;
    }

    .overviewBox .price {
        font-size: 30px;
        line-height: 35px;
    }

    .col-md-3.change-width {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .col-md-4.change-width {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .col-md-9.change-width {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .overviewBox .info-list {
        padding: 20px 0 0;
    }

        .overviewBox .info-list li strong {
            min-width: 106px;
        }

    .overviewBox .card.profile {
        min-height: inherit;
    }

    .overviewBox .table.order-history.table-full-width tr {
        display: block;
    }

    .overviewBox .table.order-history.table-full-width .customer-code,
    .overviewBox .table.order-history.table-full-width .user,
    .overviewBox .table.order-history.table-full-width .detail,
    .overviewBox .table.order-history.table-full-width .name,
    .overviewBox .table.order-history.table-full-width .status {
        padding: 0.43rem 0.74rem 0.43rem calc(0.74rem + 7px);
        display: block;
        width: 100%;
    }

    .table-responsive.no-scroll {
        max-height: inherit;
    }

    .table.order.table-full-width .customer-code a:not(.btn) {
        padding-left: 0;
    }
}

@media only screen and (max-width: 767px) {
    .header-top .dropdown {
        order: 1;
    }

    .header-top .cart {
        margin: 0 0 0 -20px;
        order: 2;
    }

    .sidebar {
        top: 70px;
        width: calc(100% - 25px);
        height: calc(100vh - 70px);
        transform: translateX(-100%);
        transition: all 0.3s;
    }

    .is-menu-open .sidebar {
        transform: none;
    }

    #mainCntr {
        padding: 100px 20px 20px;
    }

    .footerBox p {
        margin-bottom: 0;
    }

    .header-top .mobileMenu {
        display: block;
        order: 3;
    }

    label.form-check-label {
        padding-left: 20px;
    }

    .formBox {
        padding-top: 0;
        padding-bottom: 0;
    }

        .formBox h1 {
            margin-bottom: 20px;
            font-size: 25px;
            line-height: 30px;
        }

        .formBox .login {
            padding: 25px 20px;
        }

            .formBox .login p {
                margin-bottom: 20px;
            }

    .thankBox {
        min-height: calc(100vh - 175px);
    }

        .thankBox h1 {
            margin-bottom: 15px;
            font-size: 27px;
            line-height: 31px;
        }

        .thankBox p {
            margin-bottom: 20px;
        }

        .thankBox .btn {
            margin-bottom: 20px;
        }

    .paymentBox {
        padding: 0 0 15px;
    }

        .paymentBox .inner {
            padding: 25px 20px 31px;
        }

        .paymentBox h3 {
            margin-bottom: 18px;
        }

        .paymentBox .radio-custom-style label {
            font-size: 14px;
            line-height: 18px;
        }

            .paymentBox .radio-custom-style label:before {
                left: 7px;
            }

            .paymentBox .radio-custom-style label:after {
                left: 12px;
            }

        .paymentBox .radio-custom-style {
            margin-bottom: 10px;
            padding: 5px 7px 5px 36px;
            height: 60px;
        }

            .paymentBox .radio-custom-style .image {
                margin-right: 7px;
                width: 40px;
            }

        .paymentBox .submit-row {
            padding-top: 7px;
        }

    .modal {
        padding: 15px;
    }

    .modal-dialog-centered {
        margin: 0 auto;
        min-height: calc(100% - 0px);
    }

    #cartModal .cart-img {
        width: 60px;
    }

    #cartModal .modal-body {
        padding: 32px 15px;
    }

    #cartModal h3 {
        margin-bottom: 25px;
        font-size: 28px;
        line-height: 34px;
    }

    #cartModal .modal-body p {
        font-size: 16px;
        line-height: 20px;
    }

    #cartModal .delete {
        top: 3px;
    }

    .modal-body {
        padding: 30px 30px 25px;
    }

    button.close {
        top: 0;
        right: 0;
    }

    #changeTermModal .modal-body {
        padding: 30px 20px 35px;
    }

    #changeTermModal .modal-dialog h3 {
        margin-bottom: 20px;
        font-size: 25px;
        line-height: 30px;
    }

    #changeTermModal .form-control {
        height: 46px;
        font-size: 25px;
    }

    .form-text {
        margin-top: 10px;
        font-size: 14px;
        line-height: 18px;
    }

    #changeTermModal .submit-row {
        padding-top: 20px;
    }

    .cart-total .table {
        margin-bottom: 0;
        width: 100%;
    }

        .cart-total .table .label {
            width: auto;
        }

    .table.material tr .customer-code {
        width: calc(100% - 125px);
    }

    .table.material tr .detail {
        width: 125px;
    }

    .overviewBox {
        padding-bottom: 0;
    }

        .overviewBox .upload {
            min-height: 180px;
        }

    .table-header .link {
        margin-right: 0;
        font-size: 16px;
        line-height: 22px;
    }

    .overviewBox .card.address .card-body address {
        font-size: 16px;
        line-height: 24px;
    }

    .overviewBox .first-letter {
        margin: 0 auto 20px;
        width: 120px;
        height: 120px;
    }

    .overviewBox .card.profile h3 {
        font-size: 26px;
        line-height: 30px;
    }

    .overviewBox .info-list {
        padding: 10px 0 0;
    }

    .overviewBox.user-info .row div[class*='col-'] {
        padding: 0 10px 15px;
    }

    .titleBox h1 small {
        font-size: 22px;
    }

    .ui-widget-content {
        max-width: 100%;
    }

    .cartBox .cart-total .table .amount {
        font-size: 22px;
        line-height: 26px;
    }

    .cartBox .cart-total .table .label {
        vertical-align: middle;
    }

    .cartBox .card-body.cart {
        padding: 1.33rem 1rem 1.5rem;
        min-height: inherit;
    }

    .ui-datepicker .ui-datepicker-header {
        padding: 12px 7px 10px;
    }

    .table.news-list td,
    .table.news-list th {
        padding-top: 0.4rem;
    }
}

@media only screen and (max-width: 575px) {
    .titleBox h1 {
        width: 100%;
    }

    .titleBox .btn.btn-sm {
        margin: 1.25rem auto 0;
    }

    .overviewBox .upload .image {
        padding-top: 25px;
        width: 100%;
    }

    .overviewBox .upload .text {
        padding: 25px 20px;
        width: 100%;
    }

    .col-md-3.resize-width {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .ui-widget-content {
        margin: 0;
    }

    .cartBox .cart-total .table td {
        font-size: 14px;
        line-height: 18px;
    }

    .cartBox .cart-total .table th {
        font-size: 14px;
        line-height: 18px;
    }

    .cartBox .cart-total .table .amount {
        font-size: 17px;
        line-height: 23px;
    }

    .cartBox .cart-total .table {
        margin-bottom: 0;
    }

    .cartBox .form-check {
        margin-bottom: 1rem;
    }

    .cartBox .btn-sm.btn-primary {
        margin-left: auto;
    }
}

@media only screen and (max-width: 479px) {
    .stepBox .list li {
        padding: 0 7px 18px;
    }

        .stepBox .list li:after {
            left: 76%;
            width: 50px;
        }

        .stepBox .list li:nth-child(3):after {
            width: 37px;
        }

        .stepBox .list li:nth-child(2):after {
            width: 56px;
        }

    .uploadBox .block {
        padding: 25px 20px;
    }

    #mainCntr {
        padding: 100px 15px 15px;
    }

    .modal-body {
        padding: 30px 10px 25px;
    }

        .modal-body h3 {
            font-size: 22px;
            line-height: 26px;
        }

        .modal-body .image {
            padding: 20px 0 30px;
        }

            .modal-body .image img {
                max-height: 200px;
            }

        .modal-body .text {
            font-size: 14px;
            line-height: 18px;
        }

            .modal-body .text ul li .name {
                min-width: 130px;
            }

    .table.material tr .customer-code {
        width: calc(100% - 51px);
    }

    .table.material tr .detail {
        padding: 0.83rem 0.74rem 0.75rem;
        width: 51px;
    }

        .table.material tr .detail span {
            display: block;
            font-size: 0;
            line-height: 0px;
        }

    .table.material tr .accordian .info span,
    .table.material tr .accordian .info a {
        width: 100%;
    }

    .table-header h3 {
        font-size: 16px;
        line-height: 22px;
    }

    .table-header .link {
        margin-right: -12px;
        font-size: 14px;
        line-height: 16px;
    }

    .cartBox .btn-sm {
        width: 100%;
    }

        .cartBox .btn-sm.btn-primary {
            margin-top: 15px;
        }

    .table.order.new {
        min-width: 450px;
    }
}
