﻿@font-face {
    font-family: 'tthoves';
    src: url("fonts/TTHoves-Regular.woff2") format('woff2');
}

@font-face {
    font-family: 'tthovesbold';
    src: url("fonts/TTHoves-Bold.woff2") format('woff2');
}

@font-face {
    font-family: 'raleway';
    src: url("fonts/raleway-regular.woff2") format('woff2');
}

@font-face {
    font-family: 'montserrat';
    src: url("fonts/Montserrat-Regular.woff2") format('woff2');
}

:root {
    --main-bg: #F8FBFF;
    --main-green: #25BA7B;
    --main-green-hover: #25ba7cde;
    --title: #313441;
    --light-blue: #E1F4FF;
    --stats-label: #0F4693;
    --warning-text: #ff1c74;
    --interface-bg: #D7EBD7;
    --logout-text: #ff1c74;
    --footer-title: #263238;
    --footer-bg: #1C272C;
    --table-row1: #F2F8FF;
    --table-row2: #E6F1FF;
}

body {
    font-family: tthoves;
    background-color: var(--main-bg);
    display: flex;
    flex-direction: column;
    height: 100vh;
}

header {
    padding-left: 7em;
    padding-right: 7em;
}

    header .nav-item {
        font-size: 18px;
    }

span.logo-txt {
    font-family: tthovesbold;
    font-size: 32px;
}

main {
    flex: 1 0 auto;
}

    main.login {
        text-align: center;
        align-content: center;
    }

section {
    margin-top: 5em;
    padding-left: 7em;
    padding-right: 7em;
}

    section h1 {
        color: var(--title);
        font-size: 48px;
        line-height: 51px;
        font-weight: 700;
    }

    section h2 {
        color: var(--title);
        font-size: 40px;
        line-height: 51px;
        text-align: center;
        font-weight: 700;
        margin-bottom: 1em;
    }

    section p {
        font-size: 24px;
    }

.col.img {
    margin: auto;
}

.stats-label {
    color: var(--stats-label);
    font-family: raleway;
    font-weight: 700;
    font-size: 48px;
    line-height: 56px;
}

.stats-label-text {
    color: var(--stats-label);
    font-size: 20px;
}

.card.features {
    height: 100%;
    border-radius: 10px;
    border: none;
    background: var(--light-blue);
    margin-bottom: 1em;
}

.card-body {
    padding: 2em;
    min-height: 448px;
}

    .card-body img {
        margin-bottom: 2em;
    }

    .card-body .title {
        font-weight: 700;
        font-size: 24px;
        line-height: 28px;
    }

    .card-body .txt {
        font-size: 18px;
        line-height: 30px;
    }

.tab {
    text-align: center;
}

    .tab .tablinks {
        background: transparent;
        border: none;
        font-size: 24px;
        font-weight: 400;
    }

        .tab .tablinks.active {
            cursor: unset;
        }

            .tab .tablinks.active img {
                background: linear-gradient(157.21deg, #9FDBFF 14.79%, var(--main-green) 128.09%);
                max-width: 119px;
                max-height: 109px;
            }

        .tab .tablinks img {
            background: white;
            border: none;
            border-radius: 10px;
            padding-top: 20px;
            padding-bottom: 20px;
            padding-left: 28px;
            padding-right: 28px;
            margin-bottom: 5px;
            min-width: 119px;
            min-height: 109px;
            max-width: 119px;
            max-height: 109px;
        }

            .tab .tablinks img:hover {
                background: linear-gradient(157.21deg, #9FDBFF 14.79%, var(--main-green) 128.09%);
            }

.tabcontent {
    background-color: white;
    border-radius: 10px;
    padding: 2em;
    margin-top: 2em;
    display: none;
    -webkit-animation: fadeEffect 1s;
    animation: fadeEffect 1s;
}

    .tabcontent h2, .blue-content h2 {
        text-align: left;
    }

    .tabcontent ul {
        font-size: 24px;
        list-style-position: inside;
        list-style-image: url('../img/accept.png');
        text-align: left;
        margin-left: -1.5em;
    }

    .tabcontent li {
        top: -5px;
        margin-top: 1.5em;
    }

        .tabcontent li span {
            position: relative;
            left: 0.25em;
        }

@-webkit-keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.blue-content {
    background-color: var(--light-blue);
    border-radius: 10px;
    padding: 2em;
    margin-top: 2em;
}

    .blue-content .col.right img {
        width: 30em;
        top: -4em;
        right: 1em;
    }

#trackno {
    width: 100%;
    font-size: 24px;
    text-align: center;
    border-radius: 10px;
    padding: 15px;
    outline: none;
    border: 4px solid var(--light-blue)
}

#tracking-table {
    width: 100%;
}

#tracking-table tbody tr {
    padding: 15px;
}

    #tracking-table tr:nth-child(odd) td {
        background-color: var(--table-row1);
    }

    #tracking-table tr:nth-child(even) td {
        background-color: var(--table-row2);
    }


    #tracking-table th {
        font-size: 16px;
    }

#tracking-table {
    margin-bottom: 1em;
}

    #tracking-table tr {
        border-bottom: 1px solid white;
        border-top: 1px solid white;
        border-collapse: collapse;
    }

​

table .left {
    text-align: left;
}

table .right {
    text-align: right;
}

table .center {
    text-align: center;
}

table .name {
    padding-left: 10px;
    padding-right: 10px;
}


table .first {
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

table .first2 {
    padding: 10px;
}

table .last {
    padding-right: 10px;
}

table .last2 {
    padding: 10px;
}

table .bold {
    font-weight: bold;
}

#error {
    font-size: 24px;
    text-align: center;
}

.card.dash-left {
    min-height: 29rem;
    min-width: 18.75rem;
    border-radius: 20px;
    box-shadow: 0px 7px 29.5px 0px #0000001A;
    border: none;
    font-size: 13px;
    padding: 1em;
    margin-bottom: 2em;
}

    .card.dash-left .card-body {
        padding-top: 2.5em;
        padding-left: 1.5em;
        padding-right: 1.5em;
    }

    .card.dash-left .login {
        font-family: montserrat;
        font-weight: bold;
    }

    .card.dash-left .email {
        font-family: montserrat;
        font-size: 10px;
        text-transform: uppercase;
        color: #8f7f7f;
    }

    .card.dash-left .sidebar-divider {
        margin-top: 0em;
    }

    .card.dash-left .nav-item.active {
        color: var(--main-green);
    }

.col.margin-1 {
    margin-left: -0.5em;
    font-size: 14px;
}

.link-text:hover {
    color: var(--main-green);
}

.nav-link.small {
    font-size: 12px;
    color: #808080;
}

.nav-link.small .link-text:hover {
    color: black;
}

.nav-link.logout {
    color: var(--logout-text);
}

.nav-link.logout .link-text:hover {
    color: var(--logout-text);
    font-weight: bold;
}


.card.dash-main {
    border: none;
    background-color: transparent;
    margin-left: 2em;
}

    .card.dash-main .card-body {
        padding: 0;
    }

    .card.dash-main .card-title {
        font-family: tthovesbold;
        color: #313441;
        text-transform: uppercase;
        font-weight: 800;
        font-size: 40px;
        margin-top: -0.4em;
        margin-left: -0.3em;
    }

    .card.dash-main h5 {
        margin-bottom: 0.2em;
    }

    .card.dash-main subtitle {
        color: #7C7E80;
    }

    .card.dash-main .stats-left {
        border: 1px solid #eff1f5;
        padding: 2em;
    }

    .card.dash-main .stats-right {
        border-left: none !important;
        border: 1px solid #eff1f5;
        padding: 2em;
    }

.legend-title {
    font-size: 20px;
}

.legend-value {
    font-size: 16px;
}

.ball {
    height: 43px;
    width: 43px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
}

    .ball.green1 {
        background-color: var(--main-green);
    }

    .ball.green2 {
        background-color: #2AB12C;
    }

    .ball.green3 {
        background-color: #22A482;
    }

.card.dash-main .shop {
    width: 80px;
}

.card.dash-main .shop-name {
    font-size: 12px;
}

.card.dash-main .shop-value {
    font-size: 12px;
}

/* ORDER BEGIN */

header.order {
    margin-top: 0;
    padding-left: 1em;
    padding-right: 1em;
    border: none;
}

main.order {
    margin-top: 2em;
    padding-left: 1em;
    padding-right: 1em;
}

    main.order h1 {
        font-family: tthovesbold;
    }

section.order {
    margin-top: 0em;
    margin-bottom: 5em;
    padding-left: 0;
    padding-right: 0;
}

section.order-data {
    margin-top: 1em;
    margin-bottom: 5em;
}

input.search {
    background-color: white !important;
    width: 300px;
    background: transparent url("../img/maglass.png") no-repeat 267px;
}

label.order {
    margin-right: 1em;
    font-weight: 600;
}

.img-btn {
    border: none;
    background-color: transparent;
}

.eb-btn.round {
    width: 200px;
    border-radius: 90px;
    margin-right: 1em;
}

    .eb-btn.round:hover {
        border-color: var(--main-green-hover);
        color: var(--main-green-hover);
    }

p.sums {
    font-size: 24px;
}

    p.sums span {
        color: var(--main-green);
        font-weight: 600;
    }

.order-tab {
    width: 100%;
}

    .order-tab th {
        background-color: #263238;
        color: white;
        text-align: center;
        padding: 10px;
        border: 1px solid #263238;
    }

    .order-tab td {
        background-color: white;
        text-align: center;
        border: 1px solid #DEDEDE;
        padding: 5px;
    }

    .order-tab input, .order-tab select {
        height: 22px;
        width: 100px;
        padding: 2px;
        font-size: 12px;
        text-align: center;
    }

div.left {
    text-align: left;
}

div.right {
    text-align: right;
}

div.pd1 {
    padding-bottom: 1em;
}

div.item-no {
    margin-bottom: 1em;
    font-size: 20px;
    font-weight: 600;
}

/* ORDER END */


@media (max-width:1199px) {

    header, section {
        padding-left: 2em;
        padding-right: 2em;
    }

        section h1 {
            font-size: 32px;
            line-height: 40px;
            font-weight: 700;
        }

        section p {
            font-size: 18px;
        }
}

@media (max-width:905px) {

    header, section {
        padding-left: 0;
        padding-right: 0;
        margin-left: 1em;
        margin-right: 1em;
    }

        section h1 {
            font-size: 32px;
            line-height: 38px;
            font-weight: 700;
        }

        section h2 {
            font-size: 32px;
            line-height: 38px;
            font-weight: 700;
        }

        section p {
            font-size: 18px;
        }

    .col.desc {
        min-width: 40em;
    }
}

@media (max-width:756px) {

    header, section {
        padding-left: 0;
        padding-right: 0;
    }

        section h1 {
            font-size: 24px;
            line-height: 30px;
            font-weight: 700;
        }

        section p {
            font-size: 18px;
        }

    .col.desc {
        min-width: 30em;
    }
}

.right-1 {
    margin-right: 1em;
}

.eb-btn {
    color: var(--main-green);
    border: 1px solid var(--main-green);
    border-radius: 10px;
    padding: 10px;
    background: none;
    min-width: 150px;
}

    .eb-btn:hover {
        border-color: var(--main-green-hover);
    }

    .eb-btn.filled {
        color: white;
        background-color: var(--main-green);
    }

    .eb-btn.eb-btn.filled:hover {
        background-color: var(--main-green-hover);
    }

    .eb-btn.filled.red {
        color: white;
        border: 1px solid var(--warning-text);
        background-color: var(--warning-text);
    }

    .eb-btn.eb-btn.red:hover {
        background-color: #ff1c73a2;
    }


    .eb-btn.larger, .eb-btn.filled.larger {
        font-size: 18px;
    }





.login-div {
    background-color: white;
    border-radius: 10px;
    padding: 2em;
}

#login-form {
    margin-top: 2em;
    margin-bottom: 1.5em;
}

#register-form {
    margin-top: 1.5em;
}

.form-label {
    display: flex;
    margin-bottom: 0.2em;
}

.logo-text {
    font-family: tthovesbold;
    font-size: 32px;
}

input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select {
    font-size: 14px;
    border: 1px solid #E0E2E6;
    border-radius: 10px;
    padding: 10px;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, input[type="password"]:focus, select:focus {
    border: 1px solid #E0E2E6;
    box-shadow: 0 0 5px #E0E2E6;
    outline-offset: 0px;
    outline: none;
}

.clickable {
    cursor: pointer;
}

.items-table {
    width: 100%;
    text-align: center;
    overflow: hidden; 
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.items-table th {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 20px;
}

.items-table td {
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 16px;
}

.items-table thead tr {
    border-radius: 20px;
    background-color: var(--interface-bg);
}

.items-table tr:nth-child(odd) td {
    background: #F2F8FF;
}
.items-table tr:nth-child(even) td {
    background: #ECF5FF;
}

.items-table .processing {
    color: #244BB5;
}

.items-table .done {
    color: #2A812C;
}

.items-table .cancelled {
    color: var(--warning-text);
}

.items-table .left {
    text-align: left;
}


.page-item {
    padding-left: 10px;
    padding-right: 10px;
}

.page-item a {
    text-decoration: none;
    color: black;
    font-weight: 400;
}

.page-item a:hover {
    font-weight: bold;
}

.page-item.active a:hover {
    font-weight: 400;
}

.page-item.active {
    color: white;
    background-color: var(--main-green);
    border-radius: 50%;
    padding-left: 9px;
    padding-right: 9px;
    font-weight: 700;
    margin-left: 0.5em;
    margin-right: 0.5em;
}



.modal-content {
    border-radius: 10px;
    border: none;
}

.modal-header {
    background-color: var(--interface-bg);
    display: block;
    text-align: center;
    padding: 1em;
}

.modal-title {
    font-family: tthovesbold;
    line-height: unset !important;
    font-weight: bold;
    text-transform: uppercase;
}

.modal-body {
    padding: 3em;
}

.modal-footer {
    text-align: center;
    border: none;
    display: block;
}

p#desc {
    word-wrap: break-word;
}

.clickable {
    cursor: pointer;
}



footer {
    background-color: var(--footer-bg);
    color: white;
    text-align: center;
    vertical-align: middle;
    height: 8em;
    width: 100%;
    flex-shrink: 0;
}

footer .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.footer-nav {
    padding-left: 7em;
    padding-right: 7em;
    background-color: var(--footer-title);
}

footer .white {
    color: white;
}

footer .nav-link.white:hover {
    color: rgb(179, 173, 173) !important;
}

footer .nav-link.white:visited {
    color: white;
}

footer .nav-item {
    font-size: 18px;
}

footer .copyright {
    padding-top: 10px;
}


.spinner {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3.8px solid var(--main-green);
    animation: spinner-bulqg1 0.96s infinite linear alternate, spinner-oaa3wk 1.92s infinite linear;
}

@keyframes spinner-bulqg1 {
    0% {
        clip-path: polygon(50% 50%, 0 0, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%);
    }

    12.5% {
        clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 0%, 100% 0%, 100% 0%);
    }

    25% {
        clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 100%, 100% 100%, 100% 100%);
    }

    50% {
        clip-path: polygon(50% 50%, 0 0, 50% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%);
    }

    62.5% {
        clip-path: polygon(50% 50%, 100% 0, 100% 0%, 100% 0%, 100% 100%, 50% 100%, 0% 100%);
    }

    75% {
        clip-path: polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 50% 100%, 0% 100%);
    }

    100% {
        clip-path: polygon(50% 50%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 50% 100%, 0% 100%);
    }
}

@keyframes spinner-oaa3wk {
    0% {
        transform: scaleY(1) rotate(0deg);
    }

    49.99% {
        transform: scaleY(1) rotate(135deg);
    }

    50% {
        transform: scaleY(-1) rotate(0deg);
    }

    100% {
        transform: scaleY(-1) rotate(-135deg);
    }
}

label.switch > input[type=checkbox] {
    opacity: 0;
    display: none;
}

label.switch > div.switch-btn {
    position: relative;
    width: 46px;
    height: 25px;
    background: #eee;
    box-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.15);
}

    label.switch > div.switch-btn:before {
        content: "";
        position: absolute;
        height: 22px;
        width: 22px;
        background: linear-gradient(white, #f2f2f2);
        left: 2px;
        top: 50%;
        transition: all 200ms ease-out;
        cursor: pointer;
        box-shadow: 0 8px 6px -4px rgba(0, 0, 0, 0.1);
        transform: translateY(-50%);
    }

label.switch > input[type=checkbox]:checked + div.switch-btn {
    background: #9ecfb9;
}

    label.switch > input[type=checkbox]:checked + div.switch-btn:before {
        left: 22px;
    }


hr.mhr {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    border-top: 1px dashed grey;
}

.order-seller {
    margin-left: 4em;
}

/* PRINT */

.print-comment {
    display: none;
}

.input4btn {
    border-right: none;
}

.input-btn {
    border-left: none;
    border-color: #e9e8e8;
    height: 22px;
    border-width: thin;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
    font-size: 12px;
    outline: none;
    cursor: pointer;
}

    .input-btn:active {
        outline: none;
    }

    .input-btn:active {
        outline: none;
    }

.full {
    width: 100%;
}

@media print {

    .inxm {
        display: none;
    }

    .btn-place-order {
        display: none;
    }

    .toggling {
        display: none;
    }

    .toggler {
        display: none;
    }

    .printable {
        display: block;
    }

    .print-comment {
        display: block;
    }

    .ctrl-buttons {
        display: none;
    }

    .add-item-btn {
        display: none;
    }

    footer {
        display: none;
    }
}

#chatBubble {
    background-color: transparent;
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 99;
    font-size: 16px;
    outline: none;
    cursor: pointer;
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

    #chatBubble:hover {
        opacity: 0.5;
    }

#chatWindow {
    background-color: white;
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 99;
    font-size: 16px;
    outline: none;
    border-radius: 10px;
}

    #chatWindow .card-header {
        background: transparent;
        border: none;
        margin: 0.75em;
        columns: 2;
        border-radius: 10px;
    }

    #chatWindow .title {
        font-weight: 600;
        margin-left: 0.5em;
    }

    #chatWindow .ava {
        width: 42px;
    }

    #chatWindow .login {
        font-weight: 600;
        margin-left: 0.5em;
        font-size: 14px;
    }

    #chatWindow .txt {
        width: 30rem;
    }

    #chatWindow .time {
        color: #B8B8B8;
    }

    #chatWindow .date {
        font-family: montserrat;
        padding: 0;
        font-weight: 600;
        text-align: center;
        color: #25BA7B;
    }

    #chatWindow hr {
        border: 1px solid #E6E6E6;
    }

#chatWindowBody {
    position: relative;
    height: 30rem;
    width: 45rem;
    overflow-y: scroll;
}

#chatWindow .card-footer {
    background-color: #F3F3F3;
    border: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

#chatModal {
    position: fixed;
    bottom: 80px;
    right: 100px;
    z-index: 99;
    font-size: 16px;
    outline: none;
}

#chatInput {
    border-radius: 5px;
}

.img-box {
    max-width: 15em;
    max-height: 15em;
    place-items: center;
}

.remove-img {
    position: absolute;
    z-index: 99;
    height: 50px;
    display: none;
    cursor: pointer;
}

.img-box:hover .remove-img {
    display: block;
}

.img-carousel {
    padding: 1em;
}

.hoverable:hover {
    opacity: 0.7;
}