@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('switcher-resources/themes.css');
@import url('switcher-resources/theme-switcher.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html, body {
    height: 100%;
    overflow: hidden;
}

#app {
    background-color: inherit;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background-color: white;
    color: black;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.gradient-start {
    stop-color: var(--bs-primary);
}

.gradient-end {
    stop-color: var(--bs-secondary);
}

/* Form edit */

.form-group {
    margin-left: 5px;
    margin-bottom: 1rem;
}

.form-button-show {
    min-width: 3rem;
    margin-top: 1.7rem
}

.form-checkbox-show {
    margin-top: 2rem
}

.form-right-buttons {
    display: flex;
    justify-content: flex-end;
}

.form-popup-page {
    margin: 20px;
}
/* Grid icons */
.grid-toolbar-new, .grid-toolbar-edit, .grid-toolbar-delete, .grid-toolbar-refresh, .grid-toolbar-filter-row, .grid-toolbar-document, .grid-toolbar-column-chooser {
    background-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    background-position: center center;
    background-color: currentColor;
    height: 16px !important;
    width: 16px !important;
}

.grid-toolbar-new {
    -webkit-mask-image: url("/images/GridToolbarNew.svg");
    mask-image: url("/images/GridToolbarNew.svg");
}

.grid-toolbar-edit {
    -webkit-mask-image: url("/images/GridToolbarEdit.svg");
    mask-image: url("/images/GridToolbarEdit.svg");
}

.grid-toolbar-delete {
    -webkit-mask-image: url("/images/GridToolbarDelete.svg");
    mask-image: url("/images/GridToolbarDelete.svg");
}

.grid-toolbar-refresh {
    -webkit-mask-image: url("/images/GridToolbarRefresh.svg");
    mask-image: url("/images/GridToolbarRefresh.svg");
}

.grid-toolbar-filter-row {
    -webkit-mask-image: url("/images/GridToolbarFilterRow.svg");
    mask-image: url("/images/GridToolbarFilterRow.svg");
}

.grid-toolbar-document {
    -webkit-mask-image: url("/images/GridToolbarDocument.svg");
    mask-image: url("/images/GridToolbarDocument.svg");
}

.grid-toolbar-column-chooser {
    -webkit-mask-image: url("/images/GridToolbarColumnChooser.svg");
    mask-image: url("/images/GridToolbarColumnChooser.svg");
}

/* Drag and drop */
.dropArea {
    border: 2px dashed gray;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: lightgray;
    font-size: 1.0rem;
    cursor: pointer;
    position: relative;
    min-height: 50px;
}

.dropArea:hover {
    background-color: antiquewhite;
    color: #333;
}

.dropArea input[type=file] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.dropAreaDrug {
    background-color: lightcoral;
}

.draggingStyle {
    background-color: lightblue;
    z-index: 5000;
}

.targetRow {
    background-color: lightcoral;
}

/* Wait */
.sk-fading-circle {
    margin: 20px auto;
    width: 40px;
    height: 40px;
    position: relative;
}

    .sk-fading-circle .sk-circle {
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
    }

        .sk-fading-circle .sk-circle:before {
            content: '';
            display: block;
            margin: 0 auto;
            width: 15%;
            height: 15%;
            background-color: blue;
            border-radius: 100%;
            -webkit-animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
            animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
        }

    .sk-fading-circle .sk-circle2 {
        -webkit-transform: rotate(30deg);
        -ms-transform: rotate(30deg);
        transform: rotate(30deg);
    }

    .sk-fading-circle .sk-circle3 {
        -webkit-transform: rotate(60deg);
        -ms-transform: rotate(60deg);
        transform: rotate(60deg);
    }

    .sk-fading-circle .sk-circle4 {
        -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        transform: rotate(90deg);
    }

    .sk-fading-circle .sk-circle5 {
        -webkit-transform: rotate(120deg);
        -ms-transform: rotate(120deg);
        transform: rotate(120deg);
    }

    .sk-fading-circle .sk-circle6 {
        -webkit-transform: rotate(150deg);
        -ms-transform: rotate(150deg);
        transform: rotate(150deg);
    }

    .sk-fading-circle .sk-circle7 {
        -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    .sk-fading-circle .sk-circle8 {
        -webkit-transform: rotate(210deg);
        -ms-transform: rotate(210deg);
        transform: rotate(210deg);
    }

    .sk-fading-circle .sk-circle9 {
        -webkit-transform: rotate(240deg);
        -ms-transform: rotate(240deg);
        transform: rotate(240deg);
    }

    .sk-fading-circle .sk-circle10 {
        -webkit-transform: rotate(270deg);
        -ms-transform: rotate(270deg);
        transform: rotate(270deg);
    }

    .sk-fading-circle .sk-circle11 {
        -webkit-transform: rotate(300deg);
        -ms-transform: rotate(300deg);
        transform: rotate(300deg);
    }

    .sk-fading-circle .sk-circle12 {
        -webkit-transform: rotate(330deg);
        -ms-transform: rotate(330deg);
        transform: rotate(330deg);
    }

    .sk-fading-circle .sk-circle2:before {
        -webkit-animation-delay: -1.1s;
        animation-delay: -1.1s;
    }

    .sk-fading-circle .sk-circle3:before {
        -webkit-animation-delay: -1s;
        animation-delay: -1s;
    }

    .sk-fading-circle .sk-circle4:before {
        -webkit-animation-delay: -0.9s;
        animation-delay: -0.9s;
    }

    .sk-fading-circle .sk-circle5:before {
        -webkit-animation-delay: -0.8s;
        animation-delay: -0.8s;
    }

    .sk-fading-circle .sk-circle6:before {
        -webkit-animation-delay: -0.7s;
        animation-delay: -0.7s;
    }

    .sk-fading-circle .sk-circle7:before {
        -webkit-animation-delay: -0.6s;
        animation-delay: -0.6s;
    }

    .sk-fading-circle .sk-circle8:before {
        -webkit-animation-delay: -0.5s;
        animation-delay: -0.5s;
    }

    .sk-fading-circle .sk-circle9:before {
        -webkit-animation-delay: -0.4s;
        animation-delay: -0.4s;
    }

    .sk-fading-circle .sk-circle10:before {
        -webkit-animation-delay: -0.3s;
        animation-delay: -0.3s;
    }

    .sk-fading-circle .sk-circle11:before {
        -webkit-animation-delay: -0.2s;
        animation-delay: -0.2s;
    }

    .sk-fading-circle .sk-circle12:before {
        -webkit-animation-delay: -0.1s;
        animation-delay: -0.1s;
    }

@-webkit-keyframes sk-circleFadeDelay {
    0%, 39%, 100% {
        opacity: 0;
    }

    40% {
        opacity: 1;
    }
}

@keyframes sk-circleFadeDelay {
    0%, 39%, 100% {
        opacity: 0;
    }

    40% {
        opacity: 1;
    }
}

/* MessageBox */
.MessageBoxBody {
    white-space: pre-line;
}

/* Error connection _host.cshtml */
#components-reconnect-modal {
    display: none;
    position: fixed;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    z-index: 1000;
    overflow: hidden;
    background-color: rgb(255, 255, 255);
    opacity: 0.8;
    text-align: center;
    font-weight: bold;
}

    #components-reconnect-modal.components-reconnect-show {
        display: block;
    }

        #components-reconnect-modal.components-reconnect-show div.reconnecting {
            display: block;
        }

div.reconnecting {
    display: none;
}

#components-reconnect-modal.components-reconnect-failed {
    display: block;
}

    #components-reconnect-modal.components-reconnect-failed div.failedToConnect {
        display: block;
    }

div.failedToConnect {
    display: none;
}

#components-reconnect-modal.components-reconnect-rejected {
    display: block;
}

    #components-reconnect-modal.components-reconnect-rejected div.connectionRejected {
        display: block;
    }

div.connectionRejected {
    display: none;
}

#components-reconnect-modal.components-reconnect-hide {
    display: none;
}

/* Scheduler */
.scheduler-label-text-white {
    color: white !important;
}
.scheduler-label-text-black {
    color: black !important;
}

.scheduler-tree-item {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: .5rem !important
}

.scheduler-tree-item-svg {
    width: 20px;
    max-width: 20px;
    max-height: 20px;
    margin-right: .5rem;
}

/* DxGrid */
.grid-style {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.grid-style .dxbl-grid-toolbar-container {
    background: linear-gradient(0deg,var(--main-menu-bg),var(--table-header-bg));
}

.grid-style .dxbl-grid-header-row {
    background: linear-gradient(0deg,var(--main-menu-bg),var(--table-header-bg));
}

.grid-popup-style {
}

.grid-popup-style .dxbl-grid-toolbar-container {
    background: linear-gradient(0deg,var(--main-menu-bg),var(--table-header-bg));
}

.grid-popup-style .dxbl-grid-header-row {
    background: linear-gradient(0deg,var(--main-menu-bg),var(--table-header-bg));
}

.gridlist-style {
    border: 0 !important;
}

    .gridlist-style.dxbl-grid .dxbl-grid-table > tbody > tr > td {
        border-left-width: 0px !important;
        border-right-width: 0px !important;
        /*border-top-width: 0px !important;*/
        border-bottom-width: 0px !important;
    }

    .gridlist-style .dxbl-grid-header-row {
        display: none;
    }

@media (max-width: 600px) {
    .gridlist-style.dxbl-grid .dxbl-grid-table > tbody > tr > td {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Register */
.RegisterPage {
    height: calc(100vh - 9rem);
    overflow-y: auto;
    overflow-x: hidden;
}

.RegisterForm {
}

/* Login */
.btn-wk {
    display: grid !important;
    height: auto !important;
    color: #4a4a4a !important;
    background-color: #fff !important;
    width: 100%;
    border: none;
    background: none;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.wk-logo-row {
    margin-top: 0.5rem !important;
}

.login-col-md-3 {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    max-width: 20rem;
}

/* Other */
.popup-button {
    margin-left: 15px;
}

.paybutton {
    margin-left: auto;
    float: right;
    height: 2.3rem;
}

.popup-events-button {
    min-width: 80px;
    margin-left: 15px;
}

/* Footer */
.BodyContent {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: transparent;
    overflow: auto;
}

.BodyContentItem {
    flex-grow: 1;
    padding: 1.1rem 2rem 0 2rem;
}

@media (max-width: 600px) {
    .BodyContentItem {
        padding: 0.5rem 0.5rem 0 0.5rem;
    }
}
@media (min-width: 601px) and (max-width: 1200px) {
    .BodyContentItem {
        padding: 0.8rem 1rem 0 1rem;
    }
}

    .BodyFooter {
        margin-top: 10px;
        padding: 10px;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
    }

    .BodyEditGrid {
    }

    /* Documents */
    .DocumentEditTitle {
        margin-top: 1rem;
        margin-bottom: 1rem;
        font-size: 2rem;
        text-align: center;
    }

    .RichEditParentStyle {
        height: calc(100vh - 9rem);
        width: 100%;
        display: flex;
        justify-content: center;
        padding-bottom: 1rem;
    }

    .RichEditStyle {
        height: calc(100vh - 7rem) !important;
        max-width: 1000px !important;
    }

    /* ---- */
    .DocumRichEdit {
        display: flex;
        height: 100%;
        justify-content: center;
    }

    .DocumRichEditCtr {
        height: 80vh !important;
    }

    .HeaderRightBox {
        margin-left: auto;
        display: flex;
        flex-direction: column;
        align-items: end;
        margin-right: 10px;
    }

    .HeaderConfig {
    }

    .HeaderConfigIn {
        display: grid;
        margin-top: -0.2rem;
        margin-right: 0.5rem;
        grid-template-columns: 40px 40px 40px 40px 40px;
        align-self: center;
        justify-self: end;
    }

    .HeaderConfigItem {
        align-self: end;
        justify-self: center;
    }

    .HeaderConfigItem1 {
        grid-column: 1;
        font-size: 1rem;
        font-weight: bold;
    }

    .HeaderConfigItem2 {
        grid-column: 2;
        font-size: 1.25rem;
        font-weight: bold;
    }

    .HeaderConfigItem3 {
        grid-column: 3;
        font-size: 1.5rem;
        font-weight: bold;
    }

    .HeaderConfigItem4 {
        grid-column: 4;
        font-size: 1.25rem;
    }

    .HeaderConfigItem5 {
        grid-column: 5;
        font-size: 1rem;
    }

    .header-navbar .navbar-login {
        outline: none;
        border-radius: 0;
        box-shadow: none;
        float: left;
        margin-top: -0.8rem;
    }

    /* Services */
    .ServiceGrid {
        display: grid;
        padding: 0.5rem !important;
        grid-row-gap: 2rem;
        grid-column-gap: 2rem;
        justify-content: center;
        align-content: center;
    }

    .ServiceGridItem {
        -webkit-box-shadow: 0 1rem 3rem rgba(34, 34, 34, 0.175) !important;
        box-shadow: 0.5rem 1rem 2rem var(--layout-top-row-border) !important;
        border-radius: 0.5rem !important;
        min-width: 18.75rem;
        max-width: 18.75rem;
        min-height: 9.70rem;
        max-height: 9.70rem;
        transition: transform .2s;
    }

        .ServiceGridItem:hover {
            transform: scale(1.1);
            cursor: pointer;
        }

    .ServiceCard {
        position: relative;
        display: flex;
        height: 100%;
        overflow: hidden !important;
        justify-items: center;
        align-items: center;
        justify-content: center;
        align-content: center;
    }

    .ServiceCardGrid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: minmax(50px, 1fr) auto;
        grid-row-gap: 0.5rem;
        height: 100%;
        justify-items: center;
        align-items: center;
    }

    .ServiceCardGridImg {
        grid-row: 1;
        grid-column: 1;
        height: 100%;
        object-fit: contain;
        padding-top: 0.5rem;
    }

    .ServiceCardGridName {
        grid-row: 2;
        grid-column: 1;
        text-align: center;
        padding-bottom: 0.5rem;
        white-space: pre-wrap;
    }

    .ServiceCardImgFull {
        height: 100%;
        width: 100%;
        object-fit: contain;
        border-radius: 0.5rem !important;
    }

    .ServiceCardImg {
        height: 100%;
        width: 100%;
        object-fit: contain;
        padding: 0.5rem;
    }

    .ServiceCardName {
        text-align: center;
        white-space: pre-wrap;
    }

    .ServiceCardHideCheckBox {
        position: absolute;
        top: 1rem;
        left: 1rem;
        background-color: white;
        padding: 0.5rem 0.5rem;
        border: 2px solid var(--bs-primary);
        border-radius: 0.5rem !important;
    }

    .ServiceParentComboBox {
        display: flex;
        margin-bottom: 1rem;
        justify-content: center;
    }

    .ServiceComboBox {
        width: 15rem;
    }

    /* ShowArticle */
    .ArticleShowRowButtonTop {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: flex-start;
        align-items: stretch;
        margin-top: 1rem;
    }

    .ArticleShowButtonTop {
        width: 10rem;
        margin-right: 1rem;
    }

    @media (max-width: 600px) {
        .ArticleShowButtonTop {
            flex-basis: 100%;
            min-width: 0;
        }
    }

    .ArticleShowRowButtonDown {
        display: flex;
        flex-direction: row;
        justify-content: center;
        margin-bottom: 1rem;
    }

    .ArticleShowButtonDown {
        width: 10rem;
        margin-left: 2rem;
        margin-right: 2rem;
    }

    .ArticleShowContent {
        padding-top: 20px;
    }

    .ArticleShowPlainContent {
        font-size: 0.9rem;
    }

    /* Cases */
    .CaseButtonDone {
        margin-top: 0rem;
        margin-bottom: 1rem;
        margin-right: 1rem;
        font-size: 1.5rem;
        height: 2.5rem;
    }

    .CaseButtonDoneIcon {
        height: 24px !important;
        width: 24px !important;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center bottom;
        margin-right: 6px !important;
    }

    .CaseListMarker {
        margin-top: 0.5rem;
        margin-right: 0.6rem;
        font-size: 0.5rem;
    }

    .CaseListText {
        font-size: 1rem;
        font-weight: bold;
    }

    .CaseCellIcon {
        padding: 5px;
        display: flex;
        align-content: center;
        justify-content: center;
        max-width: 45px;
        max-height: 45px;
    }

        .CaseCellIcon > img {
            max-width: 40px;
            max-height: 40px;
        }

    .CaseCellName {
        font-size: 1.25rem
    }

    .CaseCellDescription {
        margin-top: 0.6rem;
        margin-bottom: 0.4rem;
        font-size: 1rem;
    }

    .CaseCellLink {
        font-size: 0.75rem;
        margin-right: 1rem;
    }

    .ClauseAcceptGrid {
        display: grid;
        grid-template-columns: auto auto;
        gap: 1rem;
        margin: 1rem;
    }

    .ClauseAcceptCheckBox {
        grid-column: 1;
        justify-self: start;
        align-self: center;
    }

    .ClauseAcceptCheckFile {
        grid-column: 2;
        justify-self: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .ClauseAcceptDocImg {
        height: 60px;
        transition: transform .2s;
    }

        .ClauseAcceptDocImg:hover {
            transform: scale(1.1);
            cursor: pointer;
        }

    .CasePage {
        margin-left: auto;
        margin-right: auto;
        max-width: 1000px;
    }

    .CasePage-Header {
        position: sticky;
        top: 0px;
        background-color: var(--bs-body-bg); /* Dodaj tło, aby nagłówek był czytelny */
        z-index: 10; /* Ustaw z-index, aby nagłówek był nad listą */
        padding-top: 10px;
        padding-bottom: 2px;
    }

    .CasePage-Title {
    }

    .CasePage-Description {
        font-size: 0.9rem;
        white-space: pre-wrap;
    }

    .CasePage-Content {
        overflow-y: auto;
        flex-grow: 1;
    }

    .CasePage-Section-Name {
        font-size: 1.25rem;
        font-weight: bold;
        padding-bottom: 1rem;
    }

    .CasePage-Section-Content {
    }

    .CasePage-hrline {
        margin-top: 1rem;
        margin-bottom: 2rem;
    }

    .CasePage-Attachments-Title {
        font-size: 1.25rem;
        font-weight: bold;
        padding-bottom: 1rem;
    }

    .CasePage-Attachment-Img {
        height: 30px;
        margin: 10px;
        transition: transform .2s;
    }

        .CasePage-Attachment-Img:hover {
            transform: scale(1.1);
            cursor: pointer;
        }

    .CasePage-Contact {
    }

    .CasePage-Contact-Grid {
        display: grid;
        grid-template-columns: auto 1fr;
    }

    .CasePage-Contact-Name {
        grid-column: 1;
        font-weight: bold;
        margin-right: 1rem;
        align-items: center;
        justify-items: center;
    }

    .CasePage-Contact-Value {
        grid-column: 2;
        align-items: center;
        justify-items: center;
    }

    .CasePage-Pay-Grid {
        margin-top: 1rem;
        display: grid;
        grid-template-columns: auto auto 1fr;
        align-items: center;
    }

    .CasePage-Pay-Button {
        grid-column: 3;
        padding-left: 1rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .CasePage-Pay-PayButton {
        margin-top: 1rem;
        margin-left: 1rem;
        width: 12rem;
        grid-column: 3;
    }

    .CasePageBottomButtons {
        margin-top: 1rem;
    }

    .CaseGroupPanel {
    }

    .CaseGroupList {
        height: 100% !important;
        border: none !important;
    }

    /* Affairs*/
    .AffairsListLayout {
    }

    .AffairsListTable {
        margin-top: 3rem !important;
    }

    .AffairsListRow {
    }

    .AffairsListCell {
        padding-top: 0.2rem;
        padding-bottom: 0.2rem;
        font-size: 1.2rem;
    }

    .AffairDetailLayout {
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }

    .AffairDetailTitle {
        font-size: 1.5rem;
        display: flex;
        flex-direction: row;
        padding-top: 0.5rem
    }

    .AffairDetailTitleElem {
        font-weight: bold
    }

    .AffairDetailGrid {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .AffairDetailCol {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-gap: 0.25rem 0.5rem;
    }

    .AffairDetailCol2 {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-gap: 0.25rem 0.5rem;
        align-content: baseline;
    }

    .AffairDetailValue {
        font-weight: bold;
    }

    .AffairDetailAttach {
        display: flex;
        flex-direction: row;
        margin-bottom: 10px;
    }

    .AffairDetailAttachImg {
        padding: 0.25rem;
        height: 25px;
        margin-right: 5px;
        object-fit: cover;
        transition: transform .2s;
    }

        .AffairDetailAttachImg:hover {
            transform: scale(1.1);
            cursor: pointer;
        }

    .CheckAffairLayout {
        max-height: 20rem;
    }

    .CheckAffair {
        border: 1px solid var(--layout-top-row-border);
        margin-top: 0rem;
        padding: 2rem 1rem;
        display: grid;
        grid-template-rows: 1fr auto auto;
        grid-template-columns: 1fr auto;
        grid-gap: 1rem;
    }

    @media (max-width: 699.98px) {
        .CheckAffair {
            margin-top: 1rem;
        }
    }

    .CheckAffair-Label {
        font-size: 1.1rem;
        grid-row: 1;
        grid-column-start: 1;
        grid-column-end: 3;
    }

    .CheckAffair-TextBox {
        grid-row: 2;
        grid-column: 1;
    }

    .CheckAffair-Button {
        grid-row: 2;
        grid-column: 2;
    }

    .CheckAffair-Message {
        grid-row: 3;
        grid-column-start: 1;
        grid-column-end: 3;
        margin-top: 1rem;
    }

    .CheckAffair-Grid {
        display: grid;
    }

    .CheckAffair-Grid-Name {
        font-weight: bold;
        margin-bottom: 0.25rem;
    }

    .CheckAffair-Grid-Value {
    }

    /* Alcohol */
    .CaseAlcohol {
        width: 100%;
        border: 2px solid var(--bs-primary);
        margin-bottom: 1rem;
    }

    .CaseAlcoholPermit {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .CaseAlcoholType {
        margin-left: 1rem;
        font-size: 1.25rem;
        font-weight: bold;
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .CaseAlcoholTypeCB {
        padding-top: 0.3rem;
        margin-right: 1rem;
    }

    .CaseAlcoholForm {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .CaseAlcoholSummaryForm {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .CaseAlcoholSummaryTitle {
        margin-left: 1rem;
        font-size: 1.25rem;
        font-weight: bold;
    }

    .CaseAlcoholSummaryButton {
        margin-left: 1rem;
        margin-top: 1rem;
    }

    .CaseAlcoholLine {
        margin-top: 10px;
        margin-bottom: 1rem;
        margin-left: 10px;
        margin-right: 10px;
    }

    .CaseAlcoholPermitSingle {
        padding: 1rem
    }

    .CaseAlcoholTypeSingle {
        margin-left: 1rem;
        margin-top: 1rem;
        font-size: 1.25rem;
        font-weight: bold;
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .CaseAlcoholTypeSingleCB {
        padding-top: 0.3rem;
        margin-right: 1rem;
    }

    .CaseAlcoholSingleEdit {
        max-width: 20rem;
    }

    .CaseAlcoholSingleButton {
        margin-top: 1rem;
    }

    .AlcoholStatmentEditGridLayout {
        margin-top: 1rem;
    }

    .AlcoholStatementEditType {
        margin-top: 0.5rem;
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .AlcoholStatementEditTypeCB {
        margin-right: 0.8rem;
    }

    .AlcoholStatementEditTypeDescription {
        display: flex;
        flex-direction: column;
    }

    .AlcoholStatementEditTypeLine1 {
        font-size: 1rem;
        font-weight: bold;
    }

    .AlcoholStatementEditTypeLine2 {
        font-size: 0.9rem;
        font-weight: normal;
    }

    .AlcoholStatmentEditButtonGroup {
        display: flex;
        gap: 10px;
    }

    .AlcoholStatementList_Name {
        margin-top: 10px;
        margin-left: 10px;
        margin-right: 10px
    }

    .AlcoholStatementList_Grid {
        margin-bottom: 1rem;
    }

    .SecurityForm {
        display: flex;
        flex-direction: row;
    }

    .SecurityButton {
        width: 100%;
    }

    .SecurityCopyButton {
        margin-top: 2px;
        margin-left: 5px;
        width: 24px
    }

    /* Public data */
    .PublicDataDetail {
        margin: 1rem;
    }

    .PublicDataDetail-Grid {
        display: grid;
        padding: 0.5rem !important;
        grid-row-gap: 2rem;
        grid-column-gap: 2rem;
        justify-content: center;
        align-content: center;
        margin-bottom: 1rem;
    }

    .PublicDataDetail-Card {
        -webkit-box-shadow: 0 1rem 3rem rgba(34, 34, 34, 0.175) !important;
        box-shadow: 0.5rem 1rem 2rem var(--layout-top-row-border) !important;
        border-radius: 0.5rem !important;
        min-width: 15rem;
        max-width: 15rem;
        min-height: 8rem;
        max-height: 8rem;
    }

    .PublicDataDetail-Title {
    }

    .PublicDataDetail-Description {
        font-size: 0.9rem;
        white-space: pre-wrap;
        padding-top: 10px;
    }

    .OfficeDownload {
        margin-top: 3rem;
    }

    .OfficeAndroidDownloadImg {
        height: 80px;
        margin-right: 20px;
        object-fit: cover;
    }

        .OfficeAndroidDownloadImg:hover {
            transform: scale(1.1);
            cursor: pointer;
        }

    .OfficeAppleDownloadImg {
        height: 80px;
        object-fit: cover;
        padding: 9px;
    }

        .OfficeAppleDownloadImg:hover {
            transform: scale(1.1);
            cursor: pointer;
        }

    .InstallAllPanel {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .InstallAppLabel1 {
        margin-top: 10px;
        font-size: 1.2rem;
    }

    .InstallAppQRCode {
        max-height: 200px;
    }

    .InstallAppLabel2 {
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 1.2rem;
    }

    .InstallAppSend {
        display: flex;
        grid-column-gap: 10px;
    }

    .InstallAppStoreImg {
        object-fit: cover;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .TaxDetailBillingInfoTitleGroup {
        display: flex;
        flex-direction: row;
        width: stretch;
    }

    .TaxDetailBillingInfoCheckBox {
        align-self: end;
        margin-left: auto;
    }
