* {
    box-sizing: border-box;
}

:root {
    --primary-text-color: #99ccff;
}

header {
    width: 100%;
    left: 0;
    top: 0;
    position: fixed;
    z-index: 100;
}

p, h1, h2, h3, div {
    max-width: 100%;
    overflow-wrap: break-word;
}

html {
    scrollbar-gutter: stable;
}

body {
    /*background-image: uFrl("/images/snowynight-pexels.webp");*/
   margin: 0;
   padding: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: var(--primary-text-color);
}

hr {
    color: #99ccff;
}

div.imgpreview {
    padding-left: 10px;
}

div.searchview {
    background-color: var(--mainview-bk-color);
    margin-top: 120px;
    margin-left: auto;
    margin-right: auto;
    padding: 25px;
    width: 70%;
    height: 140px;
    border-radius: 10px;
}

input.small {
    border-radius: 0px;
}

.gen_header {
    background-color: rgba(13, 15, 23, 0.6);
    margin-top: 100px;
    margin-left: auto;
    margin-right: auto;
    padding: 25px;
    width: 70%;
    height: auto;
    border-radius: 10px;
}

div.dmWindow {
    display: flex;
    padding: 10px;
    position: absolute;
    height: 35px;
    z-index: 103;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    bottom: -42px;
}

input.dmInput {
    background-color: rgba(58, 87, 120, 0.7);
    color: #99ccff;
    position: absolute;
    box-sizing: border-box;
    bottom: 0;
    left: 0;
    right: 60px;
    top: 0;
    font-size: medium;
    border: none;
    padding: 8px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.dmButton {
    color: white;
    padding: 10px;
    float: right;
    top: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

#tr_status {
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    text-align: center;
    margin-bottom: 2px;
}

.manage_products_button {
    color: white;
    padding: 10px;
    float: left;
    left: 0;
    bottom: 0;
    position: absolute;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}
/*
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-side {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-side.visible {
    opacity: 1;
    transform: translateX(0);
}
*/
h1 {
    margin-top: 1px;
    text-align: center;
    font-size: large;
}

@keyframes fadein {
    from {opacity: 0;}
    to {opacity: 1;}
}

#sidemenu {
    animation: fadein 1s;
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(6px);
    background-color: rgba(0, 0, 0, 0.6);
    padding: 5px;
    position: fixed;
    left: 0;
    top: 47px;
    margin-left: 0px;
    width: 15%;
    max-height: 90%;
    overflow: auto;
    font-size: 12px;
    z-index: 103;
}

#rightsidemenu {
    background-color: var(--menu-bk-color);
    animation: fadein 1s;
    backdrop-filter: blur(6px);
    position: fixed;
    right: 0;
    top: 87px;
    margin-right: 0px;
    width: 15%;
    max-height: 90%;
    overflow: auto;
    font-size: medium;
    display: none;
    z-index: 101;
}

div.kmbtgridcontainer_menu {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

button.gridmenubt {
    margin-bottom: 0px;
    margin-top: 10px;
    margin-left: 1px;
}

div.toprightcornercard {
    float: right;
    color: lime;
}

.leftimagecontainer {
    top: 0;
    left: 0;
    float: left;
    width: 240px;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    position: absolute;
}

button.phonenumber {
    color: #e6ffdc;
    background-color: var(--primary-bt-color);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

button.phonenumber:hover {
    background-color: var(--primary-bt-color-hover);
    color: white;
}

p.descriptioncont {
    text-align: start;
    float: inherit;
    max-height: 140px;
    overflow: auto;
}

.category_cont {
    background-color: rgba(31, 141, 152, 0.2);
    color: aqua;
    width: fit-content;
    text-align: end;
    max-height: 80px;
    overflow: auto;
    padding: 8px;
    border-radius: 10px;
    font-size: small;
}

.city_cont {
    /* background-color: rgba(14, 138, 49, 0.2); */
    /* border: 1px solid lime; */
    padding: 3px;

    font-size: small;
    border-radius: 7px;
    color: lime;
    width: fit-content;
    float: right;
    overflow: auto;
}

.tinyicon {
    font-size: small;
}

p.addresscont {
    text-align: start;
    float: inherit;
    color: lightslategray;
}

div.topbar {
    background-color: var(--header-bk-colour);
    backdrop-filter: blur(7px);
    height: auto;
    padding: 11px;
    position: relative;
    width: 100%;
    display: block;
}

#uacstatus {
    margin-top: 10px;
    padding: 4px;
}

#replytext {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px;
    border: none;
    margin-top: 10px;
    width: 100%;
    box-sizing:border-box;
    font-size: large;
    min-height: 100px;
}

.logo {
    font-weight: bold;
    font-size: 15pt;
}

p {
    text-align: center;
}

#mainview {
    background-color: var(--mainview-bk-color);
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 100px;
    padding: 25px;
    width: 70%;
    border-radius: 10px;
}

.account_view_container {
    background-color: rgba(13, 15, 23, 0.6);
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 100px;
    padding: 15px;
    width: 70%;
    border-radius: 10px;
}

#sidemenu {
    display: none;
    left: 0;
    top: 47px;
    margin-left: 0px;
    width: 20%;
}

a.sidebutton {
    text-decoration: none;
}

#sidebutton {
    color: #99ccff;
    width: auto;
    cursor: pointer;
    padding: 10px;
}

div.sidebuttoncont {
    background-color: rgba(48, 55, 83, 0.7);
    border-bottom: 1px solid rgba(153, 204, 255, 0.1);
    color: #99ccff;
    padding: 10px;
}

div.sidebuttoncont:hover {
    background-color: rgba(71, 80, 115, 0.9);
}

#sidebutton:visited {
    color: white;
}

#sidebutton:hover {
    opacity: 0.5;
}

.message {
    padding: 10px;
    border: solid 1px #dcdcdc;
    border-top: none;
    border-left: none;
    margin-top: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    font-family: 'Roboto', sans-serif;
    width: 100%;
    box-sizing:border-box;
}

div.sidebar {
    display: inline-block;
}

hr {
    background-color: rgba(153, 204, 255, 0.6);
    height: 1px;
    border: none;
}

.resultcard {
    position: relative;
    background-color: var(--card-bk-color);
    backdrop-filter: blur(7px);
    margin-top: 10px;
    width: 88%;
    height: 260px;
    min-height: 220px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    overflow-wrap: break-word;
    border-radius: 10px;
}

.resultcard_wimage {
    position: relative;
    background-color: var(--card-bk-color);
    backdrop-filter: blur(7px);
    margin-top: 10px;
    width: 97%;
    height: 260px;
    min-height: 220px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    padding-left: 250px;
    overflow-wrap: break-word;
    border-radius: 10px;
}

.small_result_card {
    position: relative;
    background-color: rgba(81, 114, 152, 0.3);
    backdrop-filter: blur(7px);
    margin-top: 10px;
    width: 95%;
    min-height: 110px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    overflow-wrap: break-word;
    border-radius: 10px;
}

.accountcard {
    position: relative;
    background-color: rgba(81, 114, 152, 0.3);
    backdrop-filter: blur(7px);
    margin-top: 10px;
    width: 70%;
    height: auto;
    min-height: 220px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    padding-bottom: 50px;
    overflow-wrap: break-word;
    border-radius: 10px;
}

.resultcard:hover {
    background-color: rgba(128, 158, 197, 0.3);
}

img {
    width: inherit;
    height: auto;
}

img.sideicon {
    cursor: pointer;
    width: 16px;
    height: auto;
    padding: 0px;
    margin-right: 10px;
}

.cardicon {
    width: 25px;
}

img.toplogo {
    width: 128px;
}

div.top_menu {
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 1px;
    border-top: 1px solid rgba(153, 204, 255, 0.1);
    position: fixed;
    top: 42px;
    height: 40px;
    left: 0;
    width: 100%;
    z-index: 101;
}

a {
    text-decoration: none;
    color: var(--primary-text-color);
}

a:hover {
    color: var(--hover-text-color);
}

a.toplink {
    color: var(--primary-text-color);
    font-weight: bold;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.3);
    text-align: center;
    padding: 5px;
    border-left: 1px solid rgba(153, 204, 255, 0.1);
    align-content: center;
}

a.toplink:hover {
    background-color: rgba(48, 71, 122, 0.6);
}

img.rightsideicon {
    position: absolute;
    cursor: pointer;
    width: 16px;
    height: auto;
    top: 13px;
    right: 15px;
    padding: 0px;
}

#resulttext {
    padding: 10px;
}

.replybox {
    background-color: rgb(32, 32, 53);
}

input[type=text], input[type=password], input[type=number], input[type=file] {
    background-color: var(--input-bk-color);
    color: var(--primary-text-color);
    padding: 10px;
    border: none;
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
}

input[type=file]::file-selector-button {
    float: right;
    padding: 10px;
    color: #d1e5ff;
    font-weight: bold;
    background-color: #4343a8;
    border: none;
    border-radius: 10px;
}

label.upload {
    display: inline-block;
}

div.search_cont {
    display: flex;
    padding: 0px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    justify-content: center;
}

select {
    background-color: rgba(14, 18, 37, 0.7);
    color: #99ccff;
    padding: 10px;
    border: none;
    margin-top: 10px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    box-sizing: border-box;
    width: 95px;
    appearance: none;
    border-right: 1px solid #99ccff;
    border-top: 1px solid rgba(153, 204, 255, 0.4);
    border-left: 1px solid rgba(153, 204, 255, 0.4);
    border-bottom: 1px solid rgba(153, 204, 255, 0.4);
}

input.small {
    border: none;
    width: 240px;
    padding: 10px;
    box-sizing: border-box;
    border-top: 1px solid rgba(153, 204, 255, 0.4);
    border-bottom: 1px solid rgba(153, 204, 255, 0.4);
}

button.searchbt {
    background-color: var(--primary-bt-color);
    padding: 8px;
    margin-top: 10px;
    box-sizing: border-box;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

input[type=text]:hover, input[type=password], input[type=number]:hover {
    border: none;
}

button {
    cursor: pointer;
    padding: 11px;
    font-size: small;
    background-color: #1d5e87;
    border: none;
    text-transform: uppercase;
    color: #FFFFFF;
    font-weight: bold;
}

.btcardcontainer {
    height: 40px;
}

.kmbtgridcontainer {
    display: grid;
    justify-content: right;
    height: auto;
    position: relative;
    bottom: 0;
    margin-top: 150px;
    text-align: right;
    justify-items: end;
    margin-right: 0px;
}

.kmbutton {
    position: relative;
    width: auto;
    padding: 10px;
    height: auto;
    color: #ffffff;
    font-weight: bold;
}

.emailright {
    float: right;
    color: lightgray;
}

.viewbutton {
    background-color: var(--primary-bt-color);
    color: white;
    padding: 10px;
    float: right;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    right: 0;
    bottom: 0;
    position: absolute;
    font-size: small;
}

.messagebutton {
    background-color: var(--small-bt-color);
    right: 115px;
    color: white;
    padding: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    bottom: 0;
    position: absolute;
}

.messagebutton:hover {
    background-color: #9494f8;
}

.viewbutton:hover {
    background-color: var(--primary-bt-color-hover);
}

.kmbutton:hover {
    background-color: #8a8afa;
}

button:hover {
    opacity: 0.5;
}

button:visited {
    color: white;
}

/* Assistive bar */

#assbar {
    border-radius: 4px;
    right: 0;
    bottom: 0;
    margin-bottom: 0px;
    padding-left: 5px;
    width: 95px;
    height: 52px;
    position: fixed;
}

#footerbutton {
    background-color: gray;
    padding: 3px;
    margin-left: 2px;
    margin-right: 5px;
    border: none;
    border-radius: 4px;
    width: 40px;
    height: 35px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 8pt;
    color: #FFFFFF;
}

.bigletter {
    font-size: 15pt;
}

@media screen and (max-width: 1600px) {
    header {
        width: 100%;
        left: 0;
        top: 0;
        position: fixed;
    }

    div.topbar {
        height: 45px;
        padding: 11px;
    }

    div.searchview {
        width: 100%;
        border-radius: 0px;
        margin-top: 110px;
        padding-top: 20px;
    }

    body {
        background-repeat: no-repeat;
    }

    .city_cont {
        margin-top: 230px;
    }

    .logo {
        font-size: 17pt;
        font-weight: bold;
    }

    a.sidebutton {
        text-decoration: none;
    }

    p {
        text-align: center;
    }

    input.small {
        margin-top: 10px;
    }

    button.phonenumber {
        position: absolute;
        bottom: 0;
        left: 0;
    }

    #rightsidemenu {
        width: 40%;
    }

    #mainview {
        /*
        overflow-x: hidden;
        overflow-y: auto;
        */
        padding: 5px;
        width: 100%;
        display: block;
        border-radius: 0px;
        margin-bottom: 35px;
        padding-bottom: 60px;
    }

    #sidemenu {
        display: none;
        top: 40px;
        height: 240px;
        width: 60%;
    }

    #sidebutton {
        cursor: pointer;
        width: auto;
        padding: 17px;
        font-size: 16pt;
    }

    #sidebutton:hover {
        opacity: 0.5;
    }

    .leftimagecontainer {
        width: 100%;
        height: 320px;
        margin-bottom: 10px;
        padding-bottom: 90px;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 0px;
        border-bottom-left-radius: 0px;
    }

    .emailright {
        float: inherit;
        display: block;
        margin-top: 10px;
    }

    .viewbutton {
        margin-top: 0px;
    }

    /*Search result */

    .resultcard {
        width: auto;
        height: auto;
    }

    .cardtext {
        margin-top: 235px;
    }

    .resultcard_wimage {
        padding: 10px;
        height: auto;
        width: 60%;
    }

    .gen_header {
        width: 100%;
        border-radius: 0px;
        height: auto;
    }

    .account_view_container {
        border-radius: 0px;
        width: 100%;
    }

    .accountcard {
        width: 100%;
    }

    img {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        height: auto;
    }

    img.sideicon {
        cursor: pointer;
        width: 18px;
        height: auto;
        padding: 0px;
        margin-right: 10px;
    }

    input[type=text], input[type=password], input[type=number] {
        padding: 10px;
        font-size: large;
    }

    input[type=text]:hover, input[type=password], input[type=number]:hover {
        border: none;
    }


    button:hover {
        opacity: 0.5;
    }

    #uacstatus {
        margin-top: 60px;
        display: grid;
        align-items: center;
        position: absolute;
    }
}

#assbar {
    border-radius: 4px;
    right: 0;
    bottom: 0;
    margin-bottom: 0px;
    padding-left: 5px;
    width: 95px;
    height: 52px;
    position: fixed;
}

#footerbutton {
    background-color: #4345d8;
    margin-right: 5px;
    border: none;
    width: 40px;
    height: 35px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 8pt;
    color: #FFFFFF;
    box-shadow: none;
}

.bigletter {
    font-size: 15pt;
}

@media screen and (max-width: 1366px) {
    .resultcard_wimage {
        width: 60%;
    }

    div.toprightcornercard {
        margin-top: 234px;
        font-size: small;
        padding-left: 10px;
    }
}

@media screen and (max-width: 900px) {
    body {
        background-image: url('../images/dbc-mobile.webp');
        background-position: center;
    }

    div.topbar {
        height: 45px;
    }

    img.sideicon {
        margin-top: 2px;
    }

    #uacstatus {
        margin-top: 53px;
        padding: 4px;
    }

    img.rightsideicon {
        top: 14px;
    }

    #sidemenu {
        top: 47px;
        height: 245px;
        width: 80%;
    }

    div.searchview {
        margin-left: auto;
        margin-right: auto;
        height: 140px;
        border-radius: 0px;
    }

    div.search_cont {
        display: flex;
        padding: 0px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        justify-content: center;
        width: 75%;
    }

    input.small {
        border: none;
        border-top: 1px solid rgba(153, 204, 255, 0.4);
        border-bottom: 1px solid rgba(153, 204, 255, 0.4);
        width: 120px;
        padding: 10px;
        font-size: 17px;
        touch-action: manipulation;
        outline: none;
    }

    input.form {
        width: 100%;
    }

    select {
        border-radius: 0px;
        border-right: 1px solid #99ccff;
        touch-action: manipulation;
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
    }

    button.searchbt {
        border-radius: 0px;
        margin-top: 10px;
        touch-action: manipulation;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
    }

    div.resultcard {
        width: 100%;
        height: auto;
    }

    div.resultcard_wimage {
        width: 100%;
    }

    .leftimagecontainer {
        height: 320px;
    }
}

@media screen and (max-width: 640px) {
    #rightsidemenu {
        top: 93px;
        width: 70%;
    }

    .resultcard_wimage {
        width: 100%;
    }
}