@charset "utf-8";

:root {
    --bg-primary-green: #183837;
    --bg-primary-white: #ffffff;
    --bg-primary-offwhite: #fdf8f7;
    --border-color: #a1a1a1;
    --border-light-color: #eaeaea;
    --text-color: #111111;
    --text-light-color: #777777;
    --text-sub-color: #adadad;

    --black: #000;
    --white: #fff;
}

.block {
    display: block;
}

.flex {
    display: flex;
}

.space-between {
    justify-content: space-between;
}

.full-width {
    width: 100%;
}

.no-padding {
    padding: 0 !important;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fl-left {
    float: left !important;
}

.fl-right {
    float: right !important;
}

.imagethmb {
    display: table;
    text-align: center;
    width: 100%;
    font-size: 0;
}

.imagethmb_inner {
    vertical-align: middle;
    display: table-cell;
}

.imagethmb img {
    max-width: 100%;
    max-height: 100%;
    display: inline-block;
    vertical-align: middle;
}

/* Buttons */

.primary-button {
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
    border: none;
    background-color: var(--bg-primary-green);
    color: var(--bg-primary-white);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    position: relative;
    padding-left: 30px;
    border-radius: 5px;
}

.primary-button:active {
    top: 1px;
    background-color: #025451;
    color: #fff;
}

.primary-button::after {
    position: absolute;
    content: '›';
    height: 20px;
    line-height: 15px;
    width: 20px;
    text-align: center;
    z-index: 99;
    font-size: 24px;
    top: 0;
    bottom: 0;
    left: 10px;
    margin: auto;
}

.primary-button.small {
    height: 30px;
    line-height: 30px;
    font-size: 12px;
}

.primary-button.no-arrow {
    padding-left: 20px;
}

.primary-button.no-arrow::after {
    display: none;
}

.primary-button.danger {
    background-color: rgb(176, 31, 31);
}

.primary-button:disabled {
    background-color: #8a8a8a;
}

.primary-invert-button {
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
    border: none;
    background-color: transparent;
    color: var(--bg-primary-white);
    border: solid 1px var(--bg-primary-white);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    position: relative;
    padding-left: 30px;
    border-radius: 5px;
}

.primary-invert-button:disabled {
    background-color: #8a8a8a;
}

.primary-invert-button.small {
    height: 30px;
    line-height: 30px;
    font-size: 12px;
}

.primary-invert-button.dark {
    color: var(--bg-primary-green);
    border: solid 1px var(--bg-primary-green);
}

.primary-invert-button:active {
    top: 1px;
    background-color: #025451;
    color: #fff;
}

.primary-invert-button::after {
    position: absolute;
    content: '›';
    height: 20px;
    line-height: 15px;
    width: 20px;
    text-align: center;
    z-index: 99;
    font-size: 24px;
    top: 0;
    bottom: 0;
    left: 10px;
    margin: auto;
}

.primary-invert-button.no-arrow {
    padding-left: 20px;
}

.primary-invert-button.no-arrow::after {
    display: none;
}

/* Input */

.input-label {
    display: block;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    color: #999;
}

.primary-input {
    height: 40px;
    width: 100%;
    border-radius: 4px;
    border: solid 1px var(--border-color);
    padding: 0 20px;
    font-size: 14px;
}

.primary-textarea {
    width: 100%;
    border-radius: 4px;
    border: solid 1px var(--border-color);
    padding: 0 20px;
    font-size: 14px;
}

.input-error {
    display: block;
    color: red;
    font-size: 12px;
    float: right;
}

input[type="file"].primary-input {
    height: auto;
    padding: 10px 20px;
    background-color: #f6f6f6;
}



/* Headers */

.header-with-link {
    position: relative;
    padding: 30px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-with-link .title {
    display: block;
    width: 100%;
    height: 40px;
    line-height: 40px;
    color: var(--bg-primary-green);
    font-weight: 700;
    font-size: 30px;
    position: relative;
}

.header-with-link .title em {
    position: relative;
    font-style: normal;
    padding-right: 10px;
    z-index: 1;
}

.header-with-link .title em.white {
    background-color: var(--bg-primary-white);
}

.header-with-link .title em.offwhite {
    background-color: var(--bg-primary-offwhite);
}

.header-with-link .title::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 1px;
    background-color: var(--text-color);
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
}

.header-with-link .link {
    position: absolute;
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--text-color);
    text-align: right;
    right: 0;
    padding-left: 10px;
}

.header-with-link .link.white {
    background-color: var(--bg-primary-white);
}

.header-with-link .link.offwhite {
    background-color: var(--bg-primary-offwhite);
}

/* --- */

.header-default {
    clear: both;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
}

.header-default .title {
    display: block;
    height: 40px;
    line-height: 40px;
    color: var(--bg-primary-green);
    font-weight: 700;
    font-size: 30px;
    position: relative;
}


/* Padding */
.pt5 {
    padding-top: 5px;
}

.pt10 {
    padding-top: 10px;
}

.pt15 {
    padding-top: 15px;
}

.pt20 {
    padding-top: 20px;
}

.pt25 {
    padding-top: 25px;
}

.pt30 {
    padding-top: 30px;
}

.pb5 {
    padding-bottom: 5px;
}

.pb10 {
    padding-bottom: 10px;
}

.pb15 {
    padding-bottom: 15px;
}

.pb20 {
    padding-bottom: 20px;
}

.pb25 {
    padding-bottom: 25px;
}

.pb30 {
    padding-bottom: 30px;
}

/* Margin */
.mt5 {
    margin-top: 5px;
}

.mt10 {
    margin-top: 10px;
}

.mt15 {
    margin-top: 15px;
}

.mt20 {
    margin-top: 20px;
}

.mt25 {
    margin-top: 25px;
}

.mt30 {
    margin-top: 30px;
}

.mt40 {
    margin-top: 40px;
}

.mt50 {
    margin-top: 50px;
}

.mb5 {
    margin-bottom: 5px;
}

.mb10 {
    margin-bottom: 10px;
}

.mb15 {
    margin-bottom: 15px;
}

.mb20 {
    margin-bottom: 20px;
}

.mb25 {
    margin-bottom: 25px;
}

.mb30 {
    margin-bottom: 30px;
}

.mb40 {
    margin-bottom: 40px;
}

.mb50 {
    margin-bottom: 50px;
}

.ml5 {
    margin-left: 5px;
}

.ml10 {
    margin-left: 10px;
}

.ml15 {
    margin-left: 15px;
}

.ml20 {
    margin-left: 20px;
}

.ml25 {
    margin-left: 25px;
}

.ml30 {
    margin-left: 30px;
}

.ml40 {
    margin-left: 40px;
}

.ml50 {
    margin-left: 50px;
}

.mr5 {
    margin-right: 5px;
}

.mr10 {
    margin-right: 10px;
}

.mr15 {
    margin-right: 15px;
}

.mr20 {
    margin-right: 20px;
}

.mr25 {
    margin-right: 25px;
}

.mr30 {
    margin-right: 30px;
}

.mr40 {
    margin-right: 40px;
}

.mr50 {
    margin-right: 50px;
}

.f10 {
    font-size: 10px;
}

.f12 {
    font-size: 12px;
}

.f13 {
    font-size: 13px;
}

.f14 {
    font-size: 14px;
}

.f16 {
    font-size: 16px;
}

.f18 {
    font-size: 18px;
}

.f20 {
    font-size: 20px;
}

.f22 {
    font-size: 22px;
}

.f24 {
    font-size: 24px;
}

.f26 {
    font-size: 26px;
}

.f28 {
    font-size: 28px;
}

.no-margin {
    margin: 0 !important;
}

.no-padding {
    padding: 0 !important;
}

.divider {
    margin: 10px 0;
    border-bottom: solid 1px var(--border-light-color);
}

.order-status-badge {
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    text-transform: capitalize;
}

.order-status-badge.new {
    background-color: #3b82f6;
}

.order-status-badge.processing {
    background-color: #f59e0b;
}

.order-status-badge.shipped {
    background-color: #22c55e;
}

.order-status-badge.delivered {
    background-color: #22c55e;
}

.order-status-badge.cancelled {
    background-color: #f87171;
}

/* Paginations */

.product-pagination {
    padding-bottom: 50px;
    display: flex;
    justify-content: space-between;
}

.product-pagination .flex {
    display: flex;
    align-items: center;
}

.product-pagination .page-field {
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.product-pagination .nav-field {
    display: flex;
    justify-content: center;
}

.product-pagination .page-field span,
.product-pagination .nav-field a {
    display: block;
    padding: 0 !important;
    height: 44px;
    line-height: 44px;
    width: 60px;
}

.product-pagination .prev-last,
.product-pagination .prev,
.product-pagination .next,
.product-pagination .next-last {
    background-color: var(--bg-primary-green);
    border: solid 1px var(--bg-primary-green);
    color: var(--white);
    border-radius: 6px;
    cursor: pointer;
}

.product-pagination .page {
    background-color: var(--white);
    border: solid 1px var(--bg-primary-green);
    border-radius: 6px;
    cursor: pointer;
    padding: 0 !important;
    width: 60px;
    height: 44px;
    line-height: 44px;
}

.product-pagination .page.active {
    background-color: var(--bg-primary-green);
}