html /deep/ [self-end] {
    --color-bg-default: #fff;
    --color-fg-primary: var(--main-color, #006837);
    --color-fg-default: #000000;
    --color-fg-accent: var(--main-color, #006837);
    --color-bg-inrange: #90d367;
    --day-width: 35px;
    --day-height: 30px;
}

:host {
    --color-bg-default: #fff;
    --color-fg-primary: var(--main-color, #006837);
    --color-fg-default: #000000;
    --color-fg-accent: #f80000;
    --color-bg-inrange: rgba(var(--main-color-rgb), 0.3);
    --day-width: 35px;
    --day-height: 30px;
}

/* common */
.ribbon {
    width: 150px;
    height: 150px;
    overflow: hidden;
    position: absolute;
}
.ribbon::before,
.ribbon::after {
    position: absolute;
    z-index: -1;
    content: '';
    display: block;
    border: 5px solid #ff8f00;
}
.ribbon span {
    position: absolute;
    display: block;
    width: 225px;
    padding: 15px 0;
    background-color: #ff8f00;
    box-shadow: 0 5px 10px rgba(0,0,0,.1);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    text-shadow: 0 1px 1px rgba(0,0,0,.2);
    text-transform: uppercase;
    text-align: center;
}

.discount {
    color: #ff8f00 !important;
}

.discount::before,
.discount::after {
    border: 5px solid #ff8f00;
}

.ribbon_premium::before,
.ribbon_premium::after {
    border: 5px solid #f3d767;
}

.ribbon_premium span {
    background-color: #f3d767;
}
.ribbon_premium::after {
    border: 5px solid #f3d767;
}

/* top left*/
.ribbon-top-left {
    top: -10px;
    left: -10px;
}
.ribbon-top-left::before,
.ribbon-top-left::after {
    border-top-color: transparent;
    border-left-color: transparent;
}
.ribbon-top-left::before {
    top: 0;
    right: 0;
}
.ribbon-top-left::after {
    bottom: 0;
    left: 0;
}
.ribbon-top-left span {
    right: -25px;
    top: 30px;
    transform: rotate(-45deg);
}

/* top right*/
.ribbon-top-right {
    top: -10px;
    right: -10px;
}
.ribbon-top-right::before,
.ribbon-top-right::after {
    border-top-color: transparent;
    border-right-color: transparent;
}
.ribbon-top-right::before {
    top: 0;
    left: 0;
}
.ribbon-top-right::after {
    bottom: 0;
    right: 0;
}
.ribbon-top-right span {
    left: -25px;
    top: 30px;
    transform: rotate(45deg);
}

/* bottom left*/
.ribbon-bottom-left {
    bottom: -10px;
    left: -10px;
}
.ribbon-bottom-left::before,
.ribbon-bottom-left::after {
    border-bottom-color: transparent;
    border-left-color: transparent;
}
.ribbon-bottom-left::before {
    bottom: 0;
    right: 0;
}
.ribbon-bottom-left::after {
    top: 0;
    left: 0;
}
.ribbon-bottom-left span {
    right: -25px;
    bottom: 30px;
    transform: rotate(225deg);
}

/* bottom right*/
.ribbon-bottom-right {
    bottom: -10px;
    right: -10px;
}
.ribbon-bottom-right::before,
.ribbon-bottom-right::after {
    border-bottom-color: transparent;
    border-right-color: transparent;
}
.ribbon-bottom-right::before {
    bottom: 0;
    left: 0;
}
.ribbon-bottom-right::after {
    top: 0;
    right: 0;
}
.ribbon-bottom-right span {
    left: -25px;
    bottom: 30px;
    transform: rotate(-225deg);
}

.woocommerce-button.wp-element-button.button.view {
    color: #fff !important;
}

.woocommerce-button.wp-element-button.button.view:hover {
    color: var(--main-color, #006837) !important;
}


/*view printfiles*/
.motiv_container {
    width: 100%;
    /*max-height: 250px;*/
}

.motiv_drag-area {
    height: 200px;
    border: 3px dashed #e0eafc;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 10px auto;
}

.motiv_drag-area h3 {
    margin-bottom: 20px;
    font-weight: 500;
}

.motiv_drag-area .motiv_icon {
    font-size: 50px;
    color: var(--main-color, #006837);
}

.motiv_drag-area .motiv_header {
    font-size: 20px;
    font-weight: 500;
    color: #34495e;
}

.motiv_drag-area .motiv_support {
    font-size: 12px;
    color: gray;
    margin: 10px 0 15px 0;
}

.motiv_drag-area .choose_motiv_button {
    font-size: 20px;
    font-weight: 500;
    color: var(--main-color, #006837);
    cursor: pointer;
}

.motiv_drag-area.active {
    border: 2px solid var(--main-color, #006837);
}

.motiv_drag-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.motiv_button {
    background-color: var(--main-color, #006837);
    border: none;
    color: white !important;
    padding: 4px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    border-radius: 0px;
    cursor: pointer;
    width: 100%;
}

.generator_button {
    background-color: var(--main-color, #006837);
    border: none;
    color: white !important;
    padding: 4px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 17px;
    border-radius: 0px;
    cursor: pointer;
    width: 250px;
    height: 50px;
    float: left;
    margin-top: 10px;
    line-height: 41px;
}

.del_button {
    background-color: #ff0000;
}

.view_button {
    background-color: var(--main-color, #006837);
}


::selection{
    color: #fff;
    background: var(--main-color, #006837);
}
.wrapper{

}
.wrapper header{
    color: var(--main-color, #006837);
    font-size: 27px;
    font-weight: 600;
    text-align: center;
}
.wrapper form{
    height: 167px;
    display: flex;
    cursor: pointer;
    margin: 30px 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 5px;
    border: 2px dashed var(--main-color, #006837);
}
/*form :where(i, p){*/
/*    color: #006837;*/
/*}*/
/*form i{*/
/*    font-size: 50px;*/
/*}*/
/*form p{*/
/*    margin-top: 15px;*/
/*    font-size: 16px;*/
/*}*/

section .row{
    margin-bottom: 10px;
    background: #c2e1d4;
    list-style: none;
    padding: 15px 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}
section .row i{
    color: var(--main-color, #006837);
    font-size: 30px;
}
section .details span{
    font-size: 14px;
}
.progress-area .row .content{
    width: 100%;
    margin-left: 15px;
}
.progress-area .details{
    display: flex;
    align-items: center;
    margin-bottom: 7px;
    justify-content: space-between;
}
.progress-area .content .progress-bar{
    height: 6px;
    width: 100%;
    margin-bottom: 4px;
    background: #fff;
    border-radius: 30px;
}
.content .progress-bar .progress{
    height: 100%;
    width: 0%;
    background: var(--main-color, #006837);
    border-radius: inherit;
}
.uploaded{
    max-height: 232px;
    overflow-y: scroll;
}
.uploaded.onprogress{
    max-height: 150px;
}
.uploaded::-webkit-scrollbar{
    width: 0px;
}
.uploaded .content{
    display: flex;
    align-items: center;
    margin-left: 0 !important;
}
.uploaded .details{
    display: flex;
    margin-left: 15px;
    flex-direction: column;
    align-items: baseline;
    max-height: 40px;
    margin-bottom: 0;
}
.uploaded .details .size{
    color: #404040;
    font-size: 10px;
    line-height: 17px;
}
.uploaded i.fa-check{
    font-size: 16px;
}

.fas.fa-rotate {
    display: inline-block;
    animation: rotate 2s linear infinite;
}

#motivauswahl {
    text-align: initial;
    font-size: 14px !important;
    line-height: initial;
    width: 100%;
    margin: 0 !important;
}

#motivauswahl thead tr {
    text-align: left;
}

#motivauswahl tbody tr {
    text-align: left;
    cursor: pointer;
}

#motivauswahl tbody tr:hover {

}

#motivauswahl tbody tr input {
    padding: 0;
    margin: 0;
}

#assign_to_all {
    height: 50px;
    line-height: 50px;
    float: left;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


.item_note {
    cursor: help;
    position: relative;
    place-content: center;
}

/* styling of the tooltip display */
p.tooltip-text {
    display: none;
    position: absolute;
    bottom: 27px;
    z-index: 1;
    background: var(--main-color, #006837);
    padding: 8px !important;
    color: #fff;
    border-radius: 2px;
    animation: fadeIn 0.6s;
    width: 300px;
    font-size: 8pt;
    line-height: 10pt;
}

/* optional styling to add a "wedge" to the tooltip */
p.tooltip-text:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    border: 8px solid transparent;
    border-top: 8px solid var(--main-color, #006837);
}


#printfile_select {
    float: left;
}

#printfile_select input {
    display:none;
}

#printfile_select input + label
{
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: solid 3px #fff;
    max-height: 200px;
    display: inline-block;
    padding: 0px 0 0 0px;
    width: 350px;
    cursor: pointer;
    height: 200px;
    max-width: 350px;
}

#printfile_select input:checked + label
{
    border: dashed 3px #f00;
    max-height: 200px;
    display: inline-block;
    padding: 0px 0 0 0px;
    width: 350px;
    cursor: pointer;
    height: 200px;
    max-width: 350px;
}


.printfile {
    float: left;
    font-size: 12pt;
    width: calc(50% - 11px);
    height: 85px;
    margin-bottom: 5px;
    padding-left: 5px;
    border: solid 3px #fff;
    border-bottom: solid 1px #c8c8c8;
    /*min-width: 450px;*/
}

#printfile_selector input + label
{
    cursor: pointer;
}

#printfile_selector input:checked + label
{
    border: dashed 3px #f00;
    cursor: pointer;
}

#printfile_selector input {
    display:none;
}

.printfile:hover {
    background-color: #b9b9b9;
}

.printfile_image {
    width: 100px;
    height: 80px;
    background-size: contain;
    background-repeat: no-repeat;
    float: left;
    background-position: center center;
}

.printfile_popup {
    display: none;
    width: 250px;
    height: 177px;
    position: relative;
    left: -5px;
    background-size: contain;
    background-repeat: no-repeat;
    top: -42px;
}


.printfile_image:hover > .printfile_popup {
    display: block;
    position: absolute;
    left: auto;
}

.printfile_name {
    margin-left: 107px;
    line-height: 28px;
    height: 28px;
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.printfile_name:hover{
    overflow: hidden;
    white-space: normal;
    max-width: 220px;
    position: absolute;
    height: 76px;
    margin-left: 107px;
    background-color: #b9b9b9;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    width: 19%;
    line-height: 20px;
    margin-top: 4px;
}
/*#data:hover+div {*/
/*    margin-top:20px;*/
/*}*/

.printfile_format {
    margin-left: 107px;
    line-height: 20px;
    height: 20px;
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.printfile_status {
    margin-left: 107px;
    line-height: 28px;
    height: 28px;
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* SPINNER */
.lds-ring {
    display: inline-block;
    position: relative;
    width: 30px;
    height: 30px;
    float: left;
}
.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    margin: 6px;
    border: 3px solid var(--main-color, #006837);
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: var(--main-color, #006837) transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}
@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.info-msg,
.success-msg,
.warning-msg,
.error-msg {
    margin: 10px 0;
    padding: 10px;
    border-radius: 3px 3px 3px 3px;
}
.info-msg {
    color: #059;
    background-color: #BEF;
}
.success-msg {
    color: #270;
    background-color: #DFF2BF;
}
.warning-msg {
    color: #9F6000;
    background-color: #FEEFB3;
}
.error-msg {
    color: #D8000C;
    background-color: #FFBABA;
}
.info-msg,
.success-msg,
.warning-msg,
.error-msg i {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
.warning-msg-text {
    display: table-cell;
}

.woocommerce-error {
    background-color: var(--main-color, #006837) !important;
}

.search_accordion {
    margin-bottom: 10px;
}

.search_accordion-item {
    border-bottom: 1px solid #ccc;
}

.search_accordion-title {
    background-color: #f4f4f4;
    padding: 10px;
    cursor: pointer;
}

.search_accordion-content {
    display: none;
    padding: 10px;
}

.search_accordion-content.active {
    display: block;
}

.preview_image_zoom
{
    position: absolute;
    z-index: 20;
    border-radius: 9px;
    height: 373px !important;
}













.decade_dates table {
    border-collapse: collapse;
}
.decade_dates thead tr {
    font-size: 7pt;
    max-width: 50px;
}
.decade_dates tbody tr {
    font-size: 7pt;
    max-width: 50px;
}
.decade_dates tbody td {
    height: 10px;
}
.decade_dates th, .decade_dates  td {
    border: 1px solid black;
    padding: 1px 2px !important;
    text-align: center;
    max-width: 34px;
    min-width: 20px;
    height: 30px;
}
.decade_dates .selected {
    background-color: #51a800;
}