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

#check_pc_availability {
    margin: 20px auto;
}

#check_pc_availability input[type="text"] {
    min-height: 51px;
    padding: 0 15px;
    font-weight: normal;
}

.wrapper_loader {
    display: none;
    width: 100%;
}

.spinner {
    animation: rotate 2s linear infinite;
    z-index: 2;
    width: 22px;
    height: 22px;
    margin-right: 10px;
    margin-top: 2px;
}

.spinner__path {
    stroke: #9fccdf;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}
.spinner .checkmark {
    opacity: 0;
}

.spinner .circle {
    transition: all 0.5s linear;
}

.spinner .check {
    opacity: 0;
}

.spinner--fail {
    animation: none;
}

.spinner--fail .spinner__path {
    stroke: #f3705a;
    stroke-linecap: round;
}

.spinner--fail .circle {
    animation: fill 0.5s forwards;
}

.spinner--fail .checkmark {
    opacity: 1;
    stroke-width: 3.5px;
    transform-origin: 50% 50%;
    stroke-dasharray: 29;
    stroke-dashoffset: 29;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

.spinner--success {
    height: 100%;
    animation: none;
}

.spinner--success .spinner__path {
    stroke: #7de3a3;
    stroke-linecap: round;
}

.spinner--success .circle {
    animation: fill 0.5s forwards;
}

.spinner--success .check {
    opacity: 1;
    stroke-width: 0px;
    fill: #7de3a3;
    transform-origin: 50% 50%;
    stroke-dasharray: 20;
    stroke-dashoffset: 29;
    opacity: 0;
    animation: stroke2 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

.button.vc_btn3-color-grey {
    color: #666 !important;
    background-color: #ebebeb !important;
    background: #ebebeb !important;
}


.button.vc_btn3-color-grey:hover {
    color: #5e5e5e!important;
    background-color: #dcdcdc !important;
    background: #dcdcdc !important;
}

.dd_msg {
    text-align: center;
    font-size: 18px;
    margin-top: -15px;
    display: none;
}

.dd_msg .delivery_date_av {
    font-weight: bold;
}

.switch-subscription-modal {
    display: block;
    margin: 16px auto 0;
    text-transform: none;
    font-size: 14px;
    text-decoration: underline;
    color: #545454 !important;
    cursor: pointer;    
}

#subscription-skip-next-payment .dd_msg{
    display: block;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

@keyframes stroke2 {
    0% {
        transform: scale(4);
        opacity: 0.2;
    }
    50% {
        transform: scale(2);
        opacity: 0.5;
    }
    100% {
        stroke-dashoffset: 0;
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes fill {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dasharray: 123, 150;
        stroke-dashoffset: 0;
    }
}

.wrapper_fields {
    margin-top: 20px;
}

@media only screen and (max-width: 1024px) {
    .wrapper_fields {
        text-align: center;
    }

    .wrapper_fields .input-group {
        max-width: 50%;
        margin: 0 auto 20px auto;
    }
}

@media only screen and (max-width: 600px) {

    .wrapper_fields .input-group {
        max-width: 100%;
        margin: 0 auto;
    }

}

.form-row-last .intl-tel-input {
    width: 100%;
}

.dawa-autocomplete-suggestions {
    margin: 0 !important;
}

/*
 * CLAIMS
*/
.claim_reason label, #dd_wrapper {display: none;}

.success-animation { margin:50px auto;}

.checkmark {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #4bb71b;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #4bb71b;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
    position:relative;
    top: 5px;
    right: 5px;
   margin: 0 auto;
}
.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #4bb71b;
    fill: #fff;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;

}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #4bb71b;
    }
}

#csupport {
    margin: 30px 0;
    padding: 15px;
    text-align: center;
    border-radius: 5px;
}

.link-to-claim {
    font-size: calc(0.4vmin + 1.1em);
    text-align: center;
}

/*
 * Multi-step
*/

.width-50 {
   width: 50%;
}

.ml-auto {
   margin-left: auto;
}

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

label.subtle {
    font-size: 16px;
    font-weight: 400;
    text-transform: none;
}

#mstep p {
    max-width: 600px;
    margin: 0 auto;
}

#mstep .form-row {
    margin-top: 30px;
}

#mstep .width-full {
    max-width: none;
}

/* Progressbar */
.progressbar {
    counter-reset: step;
    display: flex;
    justify-content: space-between;
    margin: 2rem auto 4rem;
    max-width: 400px;
    position: relative;
}

.progressbar::before,
.progress {
   content: "";
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   height: 4px;
   width: 100%;
   background-color: #dcdcdc;
   z-index: 1;
}

.progress {
   background-color: #219028;
   width: 0%;
   transition: 0.3s;
}

.progress-step {
   width: 2.1875rem;
   height: 2.1875rem;
   background-color: #dcdcdc;
   border-radius: 50%;
   display: flex;
   justify-content: center;
   align-items: center;
   z-index: 2;
}

.progress-step::before {
   counter-increment: step;
   content: counter(step);
}

.progress-step::after {
   content: attr(data-title);
   position: absolute;
   top: calc(100% + 0.5rem);
   font-size: 0.85rem;
   color: #666;
}

.progress-step-active {
   background-color: #219028;
   color: #f3f3f3;
}

/* Form */
#mstep {
   max-width: 800px;
   margin: 0 auto;
}

#mstep  .form-step {
   display: none;
   transform-origin: top;
   animation: animate 0.5s;
}

#mstep  .form-step-active {
   display: block;
}

#mstep  .input-group {
   margin: 2rem 0;
}

@keyframes animate {
   from {
      transform: scale(1, 0);
      opacity: 0;
   }

   to {
      transform: scale(1, 1);
      opacity: 1;
   }
}

/* Button */
#mstep  .btns-group {
   display: grid;
   gap: 1.5rem;
   grid-template-columns: repeat(2, 1fr);
   margin: 40px auto;
   max-width: 400px;
}

#mstep .btn {
    background-color: #219028;
    border-radius: 0.25rem;
    color: #f3f3f3;
    cursor: pointer;
    display: block;
    font-family: NeueEinstellung;
    font-size:0.8125rem !important;
    font-weight: bold;
    min-width: 0;
    padding: 0.97rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.3s;
}

#mstep .btn-next {
    grid-column: span 1 / -1;
}

#mstep .btn-prev {
    background: none;
    border: 1px solid #bbb;
    color: #333;
}

#mstep .btn:hover {
   box-shadow: 0 0 0 2px #fff, 0 0 0 3px #219028;
   color: #f3f3f3;
}

#mstep .btn-prev:hover {
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px #333;
    color: #333;
}

#mstep  .btn:focus {
   color: #f3f3f3;
}

#mstep .filter_products, #mstep .filter_delivery {
   display: none;
}

#mstep .woocommerce form .form-row, #mstep .woocommerce-page form .form-row {
   padding: 0;
}

#mstep input[name="save_warranty_request"] {
   width: 100%;
   border-radius: 0.25rem !important;
}

.wcrw-request-form .replacement {
   display: none;
}

.mstep.guests .choose_products {
   margin: 20px 0 !important;
}

.guests .woocommerce-orders-table tbody td, .guests .woocommerce-orders-table thead th  {
   padding: 15px;
   vertical-align: middle;
}

.guests .woocommerce-orders-table tbody td:first-child, .guests .woocommerce-orders-table thead th:first-child {
   padding: 15px 15px 15px 0;
}

.order-comments__limit{
    color: #7de3a3;
}
.order-comments__limit-reached{
    color: #f3705a;
}

.claim_hidden_tr {
	display: none;
}

.claim_hidden_tr td {
	border-top: 0 !important;
}

.claim_hidden_tr td input[type="file"] {
	margin-bottom: 0;
}

.last-step label[for="claim_products"], .last-step label[for="claim_delivery"] {
	display: none;
}

.last-step table.shop_table thead th:last-child {
	display: block;
}