#platte-grosse {
    position: relative;
    margin: 0 auto 20px;
    min-width: 100px
}

#platte-grosse #platte-grosse-a,#platte-grosse #platte-grosse-b,#platte-grosse #platte-grosse-c,#platte-grosse #platte-grosse-d {
    position: absolute;
    font-size: 12px;
    margin-bottom: 0;
    color: #fff;
    min-width: 60px
}

p#platte-grosse-a {
    top: 48%;
    left: 28%;
    transform: translateX(-50%)
}

p#platte-grosse-b {
    bottom: 8%;
    left: 57%;
    transform: rotate(-29deg) translateY(4px)
}

p#platte-grosse-c {
    left: 86%;
    top: 13%;
    transform: translateX(-50%)
}

p#platte-grosse-d {
    left: 45%;
    top: 0;
    transform: translateX(-50%)
}

p#shims-values {
    text-align: center;
    color: #fff
}

.passplatten {
    display: block;
    width: 100%;
    padding: 40px 0 45px;
    margin: 0 0 30px;
    background-color: #333
}

.passplatten .pp-cart {
    width: 40px
}

.passplatten .shims-dropdown {
    width: 100px;
    height: 40px
}

@media (max-width:1300px) {
    .passplatten .shims-dropdown {
        width: 90px
    }
}

@media (max-width:1200px) {
    .passplatten .shims-dropdown {
        width: 70px
    }
}

@media (max-width:768px) {
    .passplatten .shims-dropdown {
        width: 100%
    }
}

.passplatten table thead tr th {
    border-right: 1px solid #666
}

.shims-form-container-row {
    display: flex;
    flex-direction: row;
    justify-content: center
}

@media (max-width:1000px) {
    .shims-form-container-row {
        flex-direction: column
    }
}

.shims-label-text {
    font-size: 14px
}

.shims-label-text p {
    font-size: 14px;
    margin: 0!important
}

.shims-label-styles {
    gap: 4px;
    margin-bottom: 6px;
    display: flex;
    flex-direction: row;
    align-items: flex-end
}

.shims-add-cart-container {
    display: flex;
    gap: 4px;
    justify-content: center;
    align-items: center
}

.label-wrapper {
    display: flex;
    gap: 4px;
    flex-direction: row;
    align-items: flex-start
}

@media (max-width:768px) {
    .label-wrapper {
        width: 100%
    }
}

#shims-form-container #shims-form {
    font-family: Arial,sans-serif;
    color: #fff;
    background-color: #333;
    padding: 10px;
    border-radius: 8px
}

#shims-form-container #shims-form h2 {
    text-align: left;
    font-size: 28px;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 300!important
}

@media (max-width:768px) {
    #shims-form-container #shims-form h2 {
        margin-bottom: 30px;
        font-size: 26px
    }
}

#shims-form-container #dropdown-form {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    justify-content: space-between
}

@media (max-width:768px) {
    #shims-form-container #dropdown-form {
        gap: 30px;
        align-items: start;
        margin-bottom: 40px;
        flex-direction: column
    }
}

#shims-form-container #dropdown-form label {
    font-weight: 700;
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-direction: column
}

#shims-form-container #dropdown-form select {
    padding: 8px;
    border-radius: 4px;
    border: 2px solid #d3d3d3
}

#shims-form-container #dropdown-form button {
    background-color: #fc0;
    border: none;
    color: #333;
    font-weight: 700;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px
}

#shims-form-container #dropdown-form button:hover {
    background-color: #e6b800
}

#shims-form-container #shims-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
    background-color: #fff;
    table-layout: auto;
    font-size: 14px;
    color: #000;
    display: none
}

#shims-form-container #shims-table td,#shims-form-container #shims-table th {
    border: 1px solid #ccc;
    padding: 6px;
    text-align: center
}

@media (max-width:1000px) {
    #shims-form-container #shims-table td,#shims-form-container #shims-table th {
        padding: 2px
    }
}

#shims-form-container #shims-table th {
    background-color: #f4f4f4
}

#shims-form-container #pass-plate-heading {
    background-color: #fc0;
    color: #333;
    padding: 10px;
    font-weight: 700;
    text-align: center;
    margin-top: 20px;
    border-radius: 4px
}

#shims-form #dropdown-form label {
    color: #fff
}

#shims-form #shims-table th {
    background-color: #333!important;
    color: #fff;
    font-weight: 300
}

.col-md-4 {
    margin-top: 40px;
    width: 20%!important
}

@media (max-width:1000px) {
    .col-md-4 {
        margin-top: 12px;
        width: 50%!important;
        margin: auto
    }
}

.col-md-8 {
    width: 75%;
    font-weight: 700
}

@media (max-width:1000px) {
    .col-md-8 {
        width: 100%
    }
}

.shims-forms-download .shims-field {
    gap: 4px!important
}

@media (max-width:768px) {
    .shims-forms-download .shims-field {
        width: 100%
    }
}

.shims-table-wrapper {
    overflow: auto
}

.btn-add-row {
    background-color: #fc0;
    border: none;
    width: -moz-fit-content;
    width: fit-content;
    border-radius: 6px;
    color: #333;
    font-weight: 700;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px
}

.btn-add-row:hover {
    background-color: #e6b800;
    border-color: transparent
}

button.btn-add-row {
    background-color: #fc0;
    border: none;
    color: #333;
    font-weight: 700;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999
}

.shims-popup-content {
    position: relative;
    background-color: #fff;
    color: #000;
    padding: 20px;
    border-radius: 8px;
    width: 900px;
    max-width: 90%;
    text-align: center;
    max-height: 90vh;
    overflow-y: auto
}

.shims-popup-content h4 {
    margin: 0;
    text-align: left;
    color: #444;
    font-size: 18px;
    font-weight: 600;
    line-height: 25.7px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 15px
}

.shims-close-popup {
    position: absolute;
    top: 20px;
    right: 10px;
    font-size: 21px;
    font-weight: 700;
    cursor: pointer;
    color: #555;
    line-height: 21px
}

#popup-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
    background-color: #fff;
    color: #000
}

#popup-table td,#popup-table th {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center
}

#popup-table th {
    border-bottom: 1px solid #ccc
}

img.pp-icon {
    position: relative;
    width: 20px;
    left: 0;
    top: 0
}

#no-selection-message {
    background: #d3d3d3;
    text-shadow: none;
    color: #222;
    width: 70%;
    padding: 8px 20px;
    border-radius: 4px
}

@media (max-width:1000px) {
    #no-selection-message {
        width: 100%
    }
}

a.delete-row.tr-remove {
    text-decoration: none!important;
    color: #ffc20e
}

a.delete-row.tr-remove:hover {
    cursor: pointer
}