body.page_boka main {
    position: relative;
    padding-right: 6px;

    .boka-wrap {
        display: flex;
        width: 100%;
        box-sizing: border-box;

        * {
            box-sizing: border-box;
        }

        .boka-wrap-inner {
            display: flex;
            flex-direction: column;
            width: 100%;
            flex-shrink: 1;
            flex-basis: 0;
            flex-grow: 31;

            .boka-wrap-inner-cols {
                display: flex;

                &:last-child {
                    margin-top: 32px;
                }

                .boka-kolumn {
                    &:first-child {
                        flex-grow: 10;
                    }

                    &:nth-child(2) {
                        flex-grow: 7;
                        display: flex;
                        justify-content: space-between;
                        flex-direction: column;
                        padding: 0 28px;
                    }
                }
            }
        }

        .boka-part-header {
            display: flex;
            text-align: center;
            margin: 24px 0 20px;

            &:first-child {
                margin-top: 0;
            }

            .cirkel {
                width: 42px;
                height: 42px;
                line-height: 42px;
                border-radius: 50%;
                font-size: 18px;
                background-color: #f00;
                align-items: center;
                justify-content: center;
                margin-right: 12px;
                color: white;
            }

            h3 {
                font-family: 'Roboto', sans-serif;
                text-transform: uppercase;
                font-size: 18px;
                line-height: 38px;
                font-weight: normal;
                color: #4d4517;
                margin: 0;
            }
        }

        .boka-kolumn {
            flex-shrink: 1;
            flex-basis: 0;

            .kund-table {
                margin: 0 0 0 40px;

                .kund-row {
                    display: flex;
                    height: 30px;
                    margin: 0 0 4px;

                    label {
                        display: inline-block;
                        font-family: 'Roboto', Arial, sans-serif;
                        font-size: 14px;
                        line-height: 30px;
                        letter-spacing: 1px;
                        margin-bottom: 4px;
                        width: 106px;
                    }

                    input,
                    input:-webkit-autofill,
                    input:-webkit-autofill:focus,
                    input[type="text"], input[type="email"], input[type="tel"] {
                        flex: 1;
                        border-style: none none dashed;
                        border-image: initial;
                        border-bottom: 1px dashed gray;
                        margin: 3px 12px;
                        padding: 7px 2px 0 5px;
                        background-color: white;
                    }

                    input.invalid {
                        background-color: #ffe0e8;
                        border-bottom: 1px dashed #c13c3c;
                        color: #2c0101;
                    }

                    &.postort-row {
                        div {
                            display: inline-flex;
                        }

                        .postnr input {
                            width: 50px;
                        }

                        .postort label {
                            width: auto;
                            margin-right: 0;
                        }

                        .postort input {
                            width: calc(100% - 50px - 12px);
                        }
                    }
                }
            }

            #pnr-info {
                font-size: 12px;
                margin-left: 156px;
            }

            .last_part {
                align-self: flex-end;
            }

            .plats-select-wrap {
                display: flex;
                margin-bottom: 16px;
                justify-content: center;

                label {
                    font-family: 'Roboto', Arial, sans-serif; !important;
                    font-size: 15px;
                    margin-right: 8px;
                }

                input {
                    width: 45px;
                }
            }

            .plats-info p {
                font-size: 13px;
                line-height: 18px;
                text-align: justify;
                letter-spacing: 0.02rem;
            }

            &.receipt-col {
                display: flex;
                flex-direction: column;
                flex-grow: 11;
            }

            .extra-info {
                font-size: 14px;
                line-height: 16px;
                margin: 6px 0;
            }
        }
    }

    #pulinfo {
        margin: 52px 40px 0;
        text-align: justify;
        letter-spacing: 1px;

        p {
            font-size: 13px;
            line-height: 16px;

            &#pulfirst {
                font-size: 15px;
                line-height: 18px;
                margin-bottom: 1rem;

                a {
                    color: #E90D0D;
                    font-weight:bold;
                }
            }
        }
    }

    .date-range {
        position: relative;
        display: flex;
        width: 140px;
        margin: 0 auto;

        .kalender {
            position: relative;
            height: 45px;
            width: 58px;
            opacity: 0.8;
            cursor: pointer;
            border-width: 2px;
            border-style: solid;
            border-color: red;
            border-image: initial;
            border-radius: 10px;

            .kalender-top {
                font-size: 9px;
                height: 13px;
                line-height: 12px;
                text-align: center;
                font-weight: bold;
                color: white;
                border-top-left-radius: 3px;
                border-top-right-radius: 3px;
                background: red;
            }

            input {
                display: block;
                color: white;
                text-align: center;
                width: 0;
                height: 0;
                overflow-y: visible !important;
                cursor: pointer;
                border-style: none;
                padding: 0;
                margin: 3px auto 0;

                &::-webkit-calendar-picker-indicator {
                    display: none;
                    -webkit-appearance: none;
                }
            }

            .kalender-num {
                width: 100%;
                text-align: center;
                font-family: Arvo, Arial, sans-serif;
                font-size: 21px;
                font-weight: bold;
                content: attr(placeholder);
                color: black;
            }
        }

        #dag2_ctrl {
            margin-left: 24px;
            visibility: hidden;

            &:before {
                content: " - ";
                display: none;
                position: absolute;
                left: -14px;
                top: 50%;
                transform: translate(-50%, -50%);
                font-size: 18px;
                color: #4d4517;
            }
        }

        &.one-set {
            #dag2_ctrl {
                visibility: visible;
                opacity: 0.3;

                &:before {
                    display: inline-block;
                }
            }
        }

        &.two-set {
            #dag2_ctrl {
                opacity: 1;
            }
        }
    }

    .tillagg_cont {
        display: flex;
        width: auto;
        height:77px;

        .tillagg_sect {
            display: flex;
            width: 120px;
            flex-direction: column;
            align-items: center;
            background-color: #ccc;

            &:first-child {
                border-right: 1px dashed #FFF;
            }

            label {
                font-size: 13px;
                margin: 6px 12px 0 12px;
            }

            input {
                margin: 6px 12px 0 12px;
                width: 38px;
            }
        }
    }

    .din-bokning, .prislista {
        background-image: url('/stil/bilder/grafik/linedpaper-gul.jpg');
        padding: 10px 14px 14px 14px;
        box-shadow: 1px 1px 5px #888888;
        margin-top: 32px;

        h3 {
            font-size: 18px;
            color: #4d4517;
            font-weight: bold;
            font-family: 'Roboto', sans-serif;
            text-transform: uppercase;
            margin: 0 0 8px;
        }

        h4 {
            font-size: 14px;
            margin: 0 0 8px;
        }
    }

    .din-bokning {

        .dbok-rad {
            font-size: 14px;
            margin-top: 23px;
        }

        #valid-notice {
            display: none;
            margin-top: 12px;
            font-size: 13px;
            font-weight: bold;
            letter-spacing: 0.03rem;
            color: #bb0000;
        }

        .confirm-wrap {
            margin-top: 20px;
            text-align: center;
        }

        button#confirm-btn {
            border: 1px solid #aba799;
            background-color: #aba799;
            opacity: 0.6;
            font-size: 14px;
            letter-spacing: 2px;
            text-transform: uppercase;
            padding: 8px 12px;
            color: white;
            cursor: default;
        }

        &.valid {
            button#confirm-btn {
                opacity: 1;
                cursor: pointer;
                border: 1px solid #68624a;
                background-color: #68624a;

                &:hover {
                    background-color: #4d4517;
                    border-color: #4d4517;
                }
            }
        }

        &.invalid {
            #valid-notice {
                display: block;
            }
        }
    }

    .submitted-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
        backdrop-filter: blur(6px);
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

dialog {
    border: 1px solid #423737;
    padding: 16px 24px;

    h2 {
        font-size: 18px;
        color: #4d4517;
        font-weight: bold;
        font-family: 'Roboto', sans-serif;
        text-transform: uppercase;
        margin: 0 0 8px;
    }

    p {
        font-size: 14px;
        line-height: 18px;
        letter-spacing: 0.02rem;
    }

    .dialog-buttons {
        margin-top: 24px;
        text-align: center;

        button {
            border: 1px solid #aba799;
            background-color: #aba799;
            font-size: 14px;
            letter-spacing: 2px;
            text-transform: uppercase;
            padding: 8px 12px;
            color: white;
            cursor: pointer;
            margin: 0 6px;

            &:hover {
                background-color: #4d4517;
                border-color: #4d4517;
            }
        }
    }

    h4 {
        margin: 0;
    }

    &#submit-dialog {
        .msg-wrap {
            label {
                font-weight: bold;
                font-size: 14px;
                color: #4d4517;
            }

            display: flex;
            flex-direction: column;
        }
    }
}