/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */

 .avm-font {
    color: #383747;
}

.avm-font,
.avm-font *:not(.material-icons):not(.fas),
.avm-font *:not(.material-icons):not(.fas)::after,
.avm-font *:not(.material-icons):not(.fas)::before {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

.avm-step-title {
    font-size: 24px;
    margin: 32px 0 0;
}

.avm-draw-selector {
    display: flex;
    flex-direction: column;
    margin: 24px 0;
}

.avm-draw-selector > div + div {
    margin-top: 32px;
}

.avm-draw-type {
    font-size: 18px;
}

.avm-draw-type.avm-no-draws {
    display: flex;
    align-items: center;
}

.avm-draw-type.avm-no-draws > i {
    color: var( --e-global-color-accent );
    margin-right: 8px;
}

.avm-draw-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 -8px;
}

.avm-draw-container > div {
    width: 100%;
    padding: 8px;
}

.width100pc {
    width: 100% !important;
}

.avm-draw-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 20px auto 0;
    padding: 16px;
    text-align: center;
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    transition: border 100ms, color 100ms, box-shadow 100ms;
    cursor: pointer;
    user-select: none;
    color: #383747;
}

.avm-draw-container.avm-highlight-container {
    padding: initial;
}

.avm-draw-card-image {
    flex-direction: column;
    text-align: center;
    font-size: 12px;
}

.avm-draw-card-image-data {
    margin-top: 8px;
}

.avm-draw-card-image-data-price {
    text-align: center;
    color: var( --e-global-color-accent ); 
}

.avm-draw-card-image-data-date {
    text-align: center;
}

.avm-draw-card-image-data-name {
    text-align: center;
    font-weight: bold;
}


.avm-draw-highlight {
    flex-direction: column;
    background-color: var( --e-global-color-accent );
    font-size: 14px;
    color: white;
    border: none;
}

.avm-draw-highlight > img {
    width: 56px;
    margin-bottom: 16px;
}

.avm-draw-card:hover {
    box-shadow: 0px 0px 14px rgba(0, 0, 0, 0.1);
}

.avm-draw-highlight:hover {
    box-shadow: 0px 4px 32px 0px rgba(0, 0, 0, 0.3);
}

.avm-draw-card.avm-selected {
    box-shadow: 0px 4px 32px 0px var( --e-global-color-accent ) !important;
}

.avm-option-title {
    margin-top: 24px;
    font-size: 20px;
    font-weight: 600;
}

.avm-option-title > small {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: normal;
}

.avm-option-dm-select {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 16px;
}

.avm-option-dm-select > div {
    width: 100%;
    text-align: center;
    margin-left: 0;
}

.avm-option-dm-select label {
    display: none;
}

.avm-option-input {
    display: flex;
    justify-content: center;
}

.avm-option-input > .avm-heading-kind {
    margin: 0 8px 0 0;
    font-size: 40px;
}

.avm-option-terminations > div {
    width: 100%;
}

.avm-option-terminations > div > div {
    width: 100%;
    padding: 8px 0;
    margin: 0 auto;
}

.avm-heading {
    font-size: 14px;
    color: #383747;
    margin-bottom: 0;
}

.avm-heading-kind {
    font-size: 32px;
    font-weight: bold;
    color: var( --e-global-color-accent );
    margin-top: 0;
    margin-bottom: 8px;
    transition: color 100ms;
}

.avm-draw-card.avm-selected:hover {
    box-shadow: none;
}

.avm-option-container {
    position: relative;
}

.avm-option-disabled {
    pointer-events: none;
}

.avm-option-disabled .avm-sold-out {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.3);
    padding-left: 10px;
}

.avm-option-disabled .avm-sold-out img {
    width: auto;
    max-width: 100px;
    height: auto;
    display: block;
    opacity: 1;
}

.avm-option-disabled .avm-sold-out,
.avm-option-disabled .avm-heading,
.avm-option-disabled .avm-heading-kind {
    color: #E5E3DB;
}

.avm-option-disabled .avm-spinner > .ui-spinner,
.avm-option-disabled .avm-spinner > .ui-spinner > a {
    background: #F5F5F5;
}

.avm-option-disabled .avm-spinner > .ui-spinner > input {
    background: transparent;
}

.avm-spinner-container {
    display: flex;
    align-items: center;
}

.avm-spinner {
    margin: 0 auto;
}

.avm-spinner > .ui-spinner {
    width: 70px;
}

.avm-spinner > .ui-spinner,
.avm-spinner > .ui-spinner > a,
.avm-spinner > .ui-spinner > input {
    transition: background 100ms;
}
.avm-btn {
  color: #fff !important;
  font-weight: 600;
}
.avm-btn.avm-add-to-cart {
    background-color: #383747;
    box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    width: 200px;
    height: 36px;
    margin: 32px auto;
}

.avm-btn.avm-add-to-cart:hover {
    background-color: #49475d;
}

.avm-btn.avm-btn-disabled {
    pointer-events: none !important;
    background-color: #dedede !important;
    border-color: #dedede !important;
    box-shadow: none !important;
}

.avm-company-numbers {
    width: 100%;
    margin: 8px 0;
}

.avm-company-numbers > div {
    display: flex;
    align-items: center;
}

.avm-company-numbers > div:first-child {
    color: #383747;
    font-weight: 500;
}

.avm-company-numbers > div + div {
    margin-top: 8px;
}

.avm-company-numbers > div > div {
    width: calc( 100% / 3 );
    text-align: left;
}

.avm-company-numbers > div > div:last-child {
    text-align: right;
}

.avm-side-cart-empty > div {
    text-align: center;
    font-size: 16px;
    color: #C4C4C4;
}

.avm-side-draw {
    border-bottom: 1px solid #E5E5E5;
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.avm-side-draw > div > b {
    font-size: 14px;
    font-weight: 600;
}

.avm-side-termination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2px 0;
}

.avm-side-termination-name {
    font-weight: 600;
}

.avm-sizer {
    padding: 16px 0;
}

.avm-cart-heading {
    display: none;
}

.avm-termination-draw-name {
    display: none;
}

.avm-cart-draw {
    border-bottom: 1px solid #E5E5E5;
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.avm-cart-draw > div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.avm-cart-draw > div > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

.avm-cart-draw > div > div:last-child {
    flex-direction: column;
    align-items: flex-end;
}

.avm-cart-draw > div > div:last-child > * + * {
    margin-top: 8px;
}

.avm-cart-draw > div > div i {
    cursor: pointer;
    user-select: none;
    color: #D2D6DB;
    margin-right: 8px;
}

.avm-accordion-content {
    font-size: 0.75em;
}

.avm-accordion-content table {
    color: #555 !important;
    border-collapse: separate;
    border-spacing: 0 16px;
}

.avm-accordion-content td {
    vertical-align: top;
}

.avm-accordion .fas.fa-plus,
.avm-accordion .fas.fa-minus {
    color: var( --e-global-color-accent );
}

.avm-accordion .fas.fa-plus {
    display: inline-block;
}

.avm-accordion .fas.fa-minus {
    display: none;
}

.avm-accordion.elementor-active .fas.fa-plus {
    display: none;
}

.avm-accordion.elementor-active .fas.fa-minus {
    display: inline-block;
}

.avm-actions {
    text-align: center;
}

i.delete,
i.edit,
i.details {
    cursor: pointer;
    user-select: none;
    margin: 0 2px;
    color: rgb(68, 68, 68);
    transition: color 150ms;
}

i.delete:hover,
i.edit:hover,
i.details:hover {
    color: rgba(68, 68, 68, 0.65);
}

.avm-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    cursor: pointer;
    margin: 16px 0;
    padding: 6px 16px;
    text-decoration: none;
    font-size: 14px;
    background-color: #383747;
    box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    color: white;
    transition: background-color 150ms, border-color 150ms, box-shadow 150ms;
}

.avm-btn.small {
    padding-top: 0;
    padding-bottom: 0;
    height: 28px;
}

.avm-btn + .avm-btn {
    margin-left: 16px;
}

.avm-btn:hover {
    color: white;
    background-color: #49475d;
}

.avm-btn > i {
    font-size: 20px;
    margin-right: 4px;
}

.avm-orange--text {
    color: var( --e-global-color-accent );
}

.avm-btn.avm-orange {
    background-color: var( --e-global-color-accent );
}

.avm-btn.avm-orange:hover {
    background-color: var( --e-global-color-accent );
}

/* -- SNACKBARS -- */

.avm-success > p,
.avm-error > p,
.avm-success > button,
.avm-error > button {
    color: white !important;
    font-weight: 400 !important;
    font-size: 16px !important;
}

.avm-success > button,
.avm-error > button {
    font-size: 14px !important;
    padding: 5px 10px !important;
    border: 1px solid white !important;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
}

.avm-success,
.avm-error {
    padding: 12px 16px !important;
}

.avm-success {
    background: #4caf50 !important;
}

.avm-error {
    background-color: #ff5252 !important;
}

/* -- SPINNER -- */

.avm-spinner input {
    border: none;
    width: 100%;
    text-align: right;
    color: #7a7a7a;
    font-weight: normal;
}

.avm-spinner .ui-spinner {
    position: relative;
    display: block;
    width: 90px;
    margin-left: auto;
    padding-left: 4px;
    padding-right: 28px;
    border: 1px solid #D2D6DB;
    border-radius: 4px;
    overflow: hidden;
}

.avm-spinner .ui-spinner > a {
    position: absolute;
    right: 0;
    height: 50%;
	width: 20px;
    margin: 0;
    padding: 0;
    border: none;
    border-left: 1px solid #D2D6DB;
}

.avm-spinner .ui-spinner > a.ui-spinner-up {
    top: 0;
}

.avm-spinner .ui-spinner > a.ui-spinner-down {
    bottom: 0;
}

.avm-spinner .ui-spinner > a > span {
    margin: 0;
    padding: 0 4px;
}

.avm-spinner .ui-spinner > a span {
	top: 1px;
	left: 1px;
}

.avm-spinner .ui-spinner > a.ui-spinner-down span {
	top: -2px;
}

.avm-spinner .ui-spinner > a .ui-icon-triangle-1-n {
    background-position: 1px -18px;
}

.avm-spinner .ui-spinner > a,
.avm-spinner .ui-spinner > a.ui-state-hover {
    background: white;
}

.avm-spinner .ui-spinner > a .ui-button-icon-space {
	display: none;
}

@media print {
    body * {
        visibility: hidden;
    }
    
    .avm-printable, .avm-printable * {
        visibility: visible;
    }
    
    .avm-printable {
        position: fixed;
        width: calc( 100% - 64px );
        top: 0;
        right: 32px;
        left: 32px;
    }
}

@media (min-width: 380px) {
    .avm-option-terminations > div {
        width: calc( 100% / 2 );
    }

    
    .avm-draw-container > div {
        width: calc( 100% / 2 );
    }
}

@media (min-width: 576px) {
    .avm-option-dm-select > div {
        width: calc( 100% / 2 );
    }

    .avm-option-terminations > div {
        width: calc( 100% / 3 );
        margin-left: 0;
    }

    .avm-single-column--highlight .avm-draw-container.avm-highlight-container > div {
        width: calc( 100% / 2 );
    }
}

@media (min-width: 768px) {
    .avm-draw-selector {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .avm-draw-selector > div {
        width: calc( 50% - 24px);
    }

    .avm-draw-selector > div + div {
        margin-top: 0;
    }

    .avm-draw-card {
        margin: 20px 0 0;
    }

    .avm-option-dm-select > div {
        width: 190px;
        text-align: left;
    }

    .avm-option-terminations > div {
        width: calc( 100% / 4 );
        margin-left: 0;
    }

    .avm-option-dm-select label {
        display: inline-block;
    }

    .avm-option-dm-select .avm-spinner small {
        display: none;
    }

    .avm-option-input {
        justify-content: flex-start;
    }

    .avm-spinner {
        margin-left: auto;
    }

    .avm-btn.avm-add-to-cart {
        margin: 32px 0;
        margin-left: auto;
    }

    .avm-draw-heading,
    .avm-unit {
        display: none;
    }

    .avm-cart-heading {
        display: flex;
        align-items: center;
        background-color: #F9F7F1;
        border-radius: 8px;
    }

    .avm-cart-draw > div {
        justify-content: initial;
        align-items: center;
    }

    .avm-cart-draw > div > div:last-child {
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
    }

    .avm-cart-draw > div > div:last-child > * + * {
        margin-top: 0;
    }

    .avm-cart-draw > div > div i {
        margin-right: 0;
    }

    .avm-termination-draw-name {
        display: block;
    }

    .avm-sizer {
        padding: 16px;
    }

    .avm-sizer > div {
        width: 55%;
    }

    .avm-sizer > div + div {
        width: 45%;
    }

    .avm-sizer > div * {
        margin: 0;
    }

    .avm-sizer > div > *:nth-child(1) {
        width: 10%;
    }

    .avm-sizer > div > *:nth-child(2) {
        width: 40%;
    }

    .avm-sizer > div > *:nth-child(3) {
        width: 50%;
    }

    .avm-sizer > div + div > *:nth-child(1) {
        width: 33%;
    }

    .avm-sizer > div + div > *:nth-child(2) {
        width: 33%;
    }

    .avm-sizer > div + div > *:nth-child(3) {
        width: 33%;
    }

    .avm-single-column .avm-draw-container > div {
        width: calc( 100% / 3 );
    }

    .avm-single-column .avm-draw-selector > div,
    .avm-single-column--highlight .avm-draw-selector > div {
        width: 100%;
    }
}

@media (min-width: 992px) {
    .avm-draw-container.avm-highlight-container > div {
        width: calc( 100% / 2 );
    }

    .avm-single-column--highlight .avm-draw-container.avm-highlight-container > div {
        width: calc( 100% / 6 );
    }

    .avm-single-column .avm-draw-container > div {
        width: calc( 100% / 4 );
    }

    .avm-option-terminations > div {
        width: calc( 100% / 5 );
        margin-left: 0;
    }

    .avm-single-column .avm-draw-selector > div {
        width: 100%;
    }
}

a[disabled] {
    pointer-events: none;
    cursor: default;
    opacity: 0.5;
}
