﻿
:root {
    --rz-primary: #3e406f;
    --rz-primary-light: #ceaa69;
    --rz-primary-lighter: rgb(236, 228, 218);
    /*--rz-primary-lighter: rgb(46, 48, 99,0.3);*/
    --rz-on-primary-lighter: #72624f;
    /*--rz-grid-header-background-color: rgb(236, 228, 218);*/
    /*--rz-grid-header-background-color: #f6f3ec;*/
    --rz-secondary: #72624f;
    --rz-header-background-color: #6D8989;
    --rz-header-color: #3e406f;
    --rz-link-color: var(--rz-primary);
    --rz-link-hover-color: var(--rz-secondary);
    --rz-text-title-color: var(--rz-primary);
    --rz-text-display-h5-font-size: 20px;
    --rz-sidebar-background-color: #6D8989;
    --rz-layout-body-padding: 0px;
    --rz-panel-shadow: var(--rz-shadow-2);
    --rz-tabs-tab-background-color: var(--rz-base-100);
    --rz-gap: 1em;
    --rz-row-gap: 0.25em;
    --rz-text-display-h5-font-size: 1.4em;
    --rz-text-display-h6-font-size: 1.1em;
    --rz-dialog-content-padding: 0px;
    --rz-datalist-padding: 0px;
}
.rz-datatable-emptymessage {
    color: rgba(0,0,0,0.1)
}
.titlebar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 8px 22px 8px 8px;
}

.header-logo-large {
    height: 50px;
    margin-left: 0px;
    display: none;
}

.header-logo-small {
    height: 50px;
    margin-left: 0px;
    display: block;
}



.details-header {
    font-weight: bold;
}

.placeholdertext {
    font-style: italic;
    margin: 16px;
    margin-right: 32px;
}

.story {
    margin: 10px;
    /*height: 460px;*/
    width: 100%;
}

.card-exclusive {
    background-color: aliceblue !important;
}

.card-draft {
    background-color: lightgray !important;
}

.card-sold {
    background-color: lightyellow !important;
}



.line-image {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    width: 50px;
    height: 50px;
}

.line-row td {
    padding: 2px 6px 1px 6px !important;
}

.story-content {
    padding: 1rem;
}

.card-clean-margin {
    margin: 0px;
    margin-left: 16px;
    margin-right: 16px;
}



.center {
    display: flex;
    justify-content: center
}

.card-panel {
    padding: 16px;
}



.italic {
    font-style: italic
}

.orderline-selfpaid {
    background-color: lightgreen;
}

.orderline-seasunpaid {
    background-color: lightblue;
}


.mdc-table td {
    border: 1px solid rgba(0,0,0,.1);
    padding: 12px 2px 12px 4px;
}

.selected-list-item {
    background-color: rgba(0,0,0,.12);
}

.error-list-item {
    color: orangered;
}



.thumbnail {
    height: 100px;
    max-width: 150px;
    border: 6px solid white;
}

.thumbnail-selected {
    border: 6px solid #6470AA;
}


.thumbnail-square {
    height: 100px;
    width: 100px;
}

.image-large {
    max-height: 500px;
    max-width: 100%;
}

.label {
    font-family: Roboto;
    color: rgba(0,0,0,0.6);
    font-size: 14px;
}

.fab-absolute {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
}

.mat-text-field {
    width: 100%;
}

.banner-image {
    height: 100px;
    object-fit: cover;
}

    .banner-image:hover {
        transform: scale(1.3);
        border: 1px black;
    }

.banner {
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

.banner-item {
    margin: 4px;
    height: 150px;
}

.vendor-banner {
    width: 100%;
    margin: auto;
    display: flex;
    /*justify-content: center;*/
    overflow-x: scroll;
    overflow-y: hidden;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

    .vendor-banner::-webkit-scrollbar {
        display: none;
    }

.vendor-banner-item {
    margin: 4px;
    height: 100px;
    width: 100px
}

.fab-topright-1 {
    position: fixed;
    top: 1rem;
    right: 1rem;
}

.fab-topright-2 {
    position: fixed;
    top: 1rem;
    right: 1rem;
}

.vendor-logo-banner {
    display: flex;
    justify-content: space-evenly;
}

    .vendor-logo-banner img {
        height: 400px;
    }

.vendor-logo-banner-img {
    height: 300px;
}

.vendor-banner-item-img {
    height: 100px;
    width: 100px;
    object-fit: cover;
}

    .vendor-banner-item-img:hover {
        transform: scale(1.3);
        border: 1px black;
    }

.vendor-logo-small {
    width: 75px;
    height: 75px;
}

.paper {
    padding: 16px;
    margin: 10px;
    box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0,0,0,.12);
    overflow: hidden;
}

.paper-header {
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    color: #212529;
    margin-top: 16px;
    margin-bottom: 16px;
}

.paragraph-header {
    font-weight: bold;
    font-size: 16px
}

.textfield-light .material-icons {
    color: white;
}

.textfield-light .mdc-floating-label {
    color: white;
}

.mandatory-field {
    background-color: rgba(230,30,99,0.12) !important;
}

    .mandatory-field .mdc-select__anchor {
        background-color: rgba(230,30,99,0.12) !important;
        border-radius: 4px;
    }

    .mandatory-field.togglebox {
        background-color: rgba(230,30,99,0.12) !important;
        padding: 10px;
        border-radius: 4px;
    }

    .mandatory-field.mdc-text-field--filled {
        background-color: rgba(230,30,99,0.12) !important;
        border-radius: 4px;
    }

    .mandatory-field .mdc-text-field__ripple {
        background-color: rgba(230,30,99,0.12) !important;
    }

html {
    scroll-behavior: smooth;
}

.togglebox {
    min-height: 56px;
    height: auto;
    padding: 16px;
    padding-top: 6px;
    background-color: #f5f5f5 !important;
    margin-bottom: 8px
}

.dealer {
    margin: 10px;
    padding: 16px;
    color: black;
}

.dealer-item {
    width: 112px;
    height: 112px;
    color: black;
    margin: 2px;
    transition: 1s;
}

.dealer-item-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.dealer-item-title {
    margin: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-news-card {
    max-width: 1300px;
    padding-bottom: 1em;
    width: 100%;
    /*transition: 1s;*/
    margin: 10px;
}

.tile {
    height: 130px;
    width: 130px;
    margin: 10px;
    transition: 1s;
    font-size: 12px;
}

.tile-wide {
    height: 140px;
    width: 384px;
    margin: 10px
}

.tile-card-content {
    padding: 1rem;
    color: white;
}

.tile-flip {
    transition: transform 1s;
    transform: rotateY(180);
}

.seasun-field-group {
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

    .seasun-field-group h6 {
        padding: 5px;
    }


@media (min-width: 376px) {
    /*    .tile {
        height: 165px;
        width: 165px;
    }
*/ .dealer-item {
        width: 121px;
        height: 121px;
    }
}

@media (min-width: 410px) {
    .tile {
        width: 150px;
        height: 150px;
    }

    .dealer-item {
        width: 129px;
        height: 129px;
    }
}

@media (min-width: 576px) {
    .tile {
        width: 160px;
        height: 160px;
    }

    .header-logo-large {
        display: none;
    }

    .header-logo-small {
        display: block;
    }

    .content {
        padding: 16px;
    }

    .app-news-card {
        max-width: 595px;
    }
}

@media (min-width: 735px) {
    .tile {
        height: 180px;
        width: 180px;
    }
}

@media (min-width: 768px) {
    .tile {
        height: 200px;
        width: 200px;
    }

    .app-card {
        width: 332px;
    }

    .shop {
        margin: auto;
        width: 704px;
    }

    .app-news-card {
        max-width: 640px;
    }
}

@media (min-width: 992px) {
    .app-news-card {
        max-width: 860px;
    }
}

@media (min-width: 1100px) {
    .shop {
        margin: auto;
        width: 1056px;
    }
}

@media (min-width: 1200px) {

    .app-news-card {
        max-width: 1080px;
    }
}

/*    @media (min-width: 1352px) {
        .app-news-card {
            max-width: 1300px;
        }
    }
*/
@media (min-width: 1600px) {
    /*    .app-card {
        width: 332px;
    }*/

    .shop {
        margin: auto;
        width: 1408px;
    }
}

@media (min-width: 1850px) {
    /*    .app-card {
        width: 332px;
    }
*/
    .shop {
        margin: auto;
        width: 1760px;
    }
}

@media (min-width: 2200px) {
    /*    .app-card {
        width: 332px;
    }*/

    .shop {
        margin: auto;
        width: 2112px;
    }
}

/*********************************
    Transport cards

**********************************/


.line-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(375px, 1fr));
    gap: 8px;
    padding: 4px;
    width: 100%;
}

    .line-cards-container > * {
        width: 360px;

/*        max-width: 430px;
        min-width: 375px;*/
    }

/* Force 1 column layout when width is less than 430px plus margins */
.line-cards-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
}

@media (min-width: 430px) {
    .line-cards-container {
        grid-template-columns: repeat(1, 430px);
    }
}

@media (min-width: 1019px) {
    .line-cards-container {
        grid-template-columns: repeat(2, 430px);
    }
}

@media (min-width: 1500px) {
    .line-cards-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 2000px) {
    .line-cards-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 2500px) {
    .line-cards-container {
        grid-template-columns: repeat(5, 1fr);
    }
}
