.uploadsbuts { 
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
}
.uploadsbuts > div {
    width: 50%;
} 
.uploadsbuts .fuploadbut {
    display: block;
    width: 100%;
    margin: 0;
    padding: 3px 10px;
    font-size: .9rem;    
    cursor: pointer;
    border: 1px solid #d2d2d2;
    border-radius: 10px;
    margin: 5px 0;
}

.uploadsbuts .fuploadbut:hover {
    text-decoration: underline;
    border: 1px solid #005676;
}

#fuploadresult, #fuploadresult li {
    margin: 0; padding: 0; list-style: none;
} 
#fuploadresult {
    padding: 10px;
    border: 1px dashed #f1f5f9;
    margin-bottom: 30px;
}
#fuploadresult.hidden {
    display: none;
}
#fuploadresult li {
    display: inline-block; 
    border: 2px solid #f1f5f9;
    padding-right: 10px;
    line-height: 21px; font-size: 12px;
}
#fuploadresult li::before {
    display: block;
    content: '';
    background: #f1f5f9;
    width: 24px; height: 24px;
    float: left; margin-right: 10px;
}

#cartf-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;    
    height: 100%;
    max-width: 2000px;
    background: #FFF; 
    z-index: 999;
    opacity: .5;
    transition: 'opacity', ease, 2s; 
}
#cartf-overlay.cartfilehidden {
    right: -2200px;
    opacity: 1;    
}

#cartfilewrap { 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 1000px; 
    height: 100%;
    background: #FFF;
    z-index: 999;
    transition: all, ease, .5s; 
    padding: 15px;
    box-shadow: 0 0 30px rgba(0,0,0,.2);
}

.checkout .variation-Zaczonepliki { 
    display: none !important;
}
 

#cartfilewrap.cartfilehidden {
    left: -1000px;
}


.fupload-hidden { display: none; }

.fupload-wrapper textarea {
    display: block;
    width: 100%;
    padding: 15px;
    background: #FFF;
    border: 1px solid #dadada;
    margin-bottom: 15px;
}
.fupload-wrapper textarea:focus {
    outline: none; 
    border: 1px solid #00a650; 
}

.fupload-wrapper .dzone {
    border: 2px dashed #CCC !important;
    margin-bottom: 10px;
    padding: 45px 15px; 
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.fupload-wrapper .dzone:hover {
    border: 2px dashed #3c4849 !important
}
.fupload-wrapper .dzone .fupload-preloader {
    display: none;
    width: 1px; height: 1px;
}
.fupload-wrapper .dzone .fupload-preloader.active {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0; top: 0; z-index: 22;
    background: rgba(0,159,218, .9);
    display: flex;
    align-items: center;
    justify-content: center;
}
.fupload-wrapper .dzone .fupload-preloader.active span {
    display: inline-block;
    padding: 10px 30px;
    text-align: center;
    /* background: rgba(255,255,255, .5); */
    color: #FFF;
    font-size: 17px;    
    animation: blinked 1s infinite;
}

@keyframes blinked {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.fupload-wrapper .dzone .dz-default { 
    width: 100%;
}

.fupload-wrapper .dz-message {
    font-size: .85rem;
}
.fupload-description { font-size: .9rem }
.dz-button { background: #009fda; border: none; cursor: pointer; display: inline-block; color: #FFF;  padding: 10px 30px; border-radius: 4px;} 
.dz-button:hover {text-decoration: none; background: #00a650;}
#fupload-output { margin-bottom: 30px; max-height: 220px; overflow-y: auto; }
#fupload-output .dz-preview {display: flex; justify-content: space-between; width: 100%; text-align: center; border-bottom: 1px solid #CCC; padding-top: 7px; padding-bottom: 7px; }
#fupload-output .dz-preview .dz-image {display: none; } 

#fupload-output .dz-preview .dz-remove-link { margin-left: 20px;}
#fupload-output .dz-preview .dz-remove-link svg path { fill: #000 !important; }
#fupload-output .dz-preview .dz-remove-link:hover svg { opacity: .6 }

#fupload-output .dz-details {display: flex; flex-wrap: wrap; width: auto; justify-content: space-between; font-size: .8rem; min-width: 160px; padding-left: 10px;}
#fupload-output .dz-details .dz-filename { min-width: 100px; padding-left: 15px; padding-right: 15px;}

.dropzone-previews .dz-success-mark, .dropzone-previews .dz-error-mark, .dropzone-previews .dz-error-message {display: none;}
.dropzone-previews .mark-error .dz-error-mark {display: block; padding-right: 10px;}
.dropzone-previews .mark-error .dz-error-mark svg path { fill: red }
.dropzone-previews .mark-success .dz-success-mark {display: flex; align-items: center; padding-right: 10px;}
.dropzone-previews .mark-success .dz-success-mark svg {display: block; }
.dropzone-previews .mark-success .dz-success-mark svg path { fill: green }



.dropzone-previews .dz-success-mark svg, .dropzone-previews .dz-error-mark svg {width: 24px !important; height: 24px !important}
.dropzone-previews .dz-success-mark .dz-remove-link {display: block; width: 24px; height: 24px; padding: 4px;  }
.dropzone-previews .dz-success-mark .dz-remove-link svg { width: 16px !important; height: 16px !important } 

.comment-input-save { display: inline-block;  background: #009fda; border: none; cursor: pointer; display: inline-block; color: #FFF;  padding: 10px 30px; }
.comment-input-save:hover {text-decoration: none; background: #00a650;}

.fuploadselecttype, .fuploadselecttype li { 
    margin: 0; padding: 0; list-style: none;
} 
.fuploadselecttype {
    margin-bottom: 10px;
}
.fuploadselecttype li {
    display: inline-block;
    padding: 0px; 
    font-size: 1.1rem;
    margin-right: 30px;
    border-bottom: none;
    cursor: pointer;    
    text-align: center;
}
.fuploadselecttype li {        
    cursor: pointer;
}
.fuploadselecttype li.type-selected, .fuploadselecttype li:hover {    
    color: #278cb8;
    border-bottom: none;
}

.classfileinside {}

@media (min-width: 768px) { 
    #cartfilewrap {
        width: 50%;
        max-width: 730px;
        padding: 20px;
    }
    .fuploadselecttype li {
        font-size: 1rem;
    }
}

.attached-summary {display: block; padding-top: 10px; padding-left: 30px;} 

.upload-close, .upload-more, .upload-done { 
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px !important;
    height: 40px !important;
    padding-left: 15px;
    padding-right: 15px;
    /* float: right; */
    cursor: pointer;
    border: 1px solid #000;
    position: absolute;
    top: 10px; right: 20px;
    background: #FFF;
}
.upload-close svg, .upload-more svg, .upload-done svg { width: 18px; height: 18px; margin-left: 10px;}  
.upload-close:hover, .upload-more:hover, .upload-done:hover {
    opacity: .4;   
}

.upload-more, .upload-done {    
    right: 20px;
    bottom: 20px;    
    top: auto;
}

.no-graphic { display: none; padding: 8px 15px; color: red; background: #fce4e4; position: absolute; left: 20px; bottom: 20px;}

.upload-done {   
    display: none;
}

#amgs-overlay {
    display: block;
    width: 100%;
    height: 100%;
    z-index: 9999;
    position: fixed; 
    left: 0; top: 0;
    background: rgba(255,255,255, .8);
}
#amgs-overlay.overlay-hidden {
    width: 1px;
    height: 1px;
    left: -100px;
    top: -100px;
}
#amgs-overlay div {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    text-align: center;
    color: #278cb8;
    font-size: .85rem;
    
}

.attachedfiles-list { margin-bottom: 10px; padding-top: 5px;}
.attachedfiles-list a { display: inline-block; width: 32px; height: auto; margin-right: 10px;}
.attachedfiles-list a img { display: block; width: 100%; height: auto; }

.amgs-popup {transition: all, ease, .5s;  position: fixed; left: 50%; top: 50%; max-width: 420px; padding: 30px; z-index: 333; background: #FFF; box-shadow: 0 0 60px rgba(0,0,0, .05); text-align: center; transform: translate(-50%, -50%);} 
.amgs-popup.popup-hidden { top: -600px;}

.amgs-popup {width: 40%;min-width: max-content; max-width: 40%; font-size: 14px;border-radius: 2px;}
.amgs-popup p {font-size: 17px;text-transform: uppercase;font-weight: 400;font-family: Kanit, sans-serif;letter-spacing: 0.3px;}
.button.button-yes {border-radius: 2px;padding: 8px 60px !important;line-height: 23px !important;font-size: 14px !important;margin: 30px 5px !important; color: #000 !important; background: #F2F2F2 !important; } 
.button.button-yes:hover { color: #FFF !important}
.button.button-no {border-radius: 2px;padding: 8px 60px !important;line-height: 23px !important;font-size: 14px !important;margin: 30px 5px !important;  } 
/* box-shadow: 0 20px 40px -5px rgb(9 30 66 / 18%);  */

@media (max-width: 960px) {
    #cartfilewrap .upload-close {    
        min-width: auto !important;
        width: auto;
        padding-left: 10px; 
        padding-right: 10px;
    }
    #cartfilewrap .upload-close span {    
        display: none;
    }
    #cartfilewrap .upload-close svg { 
        margin-left: 0;
    }
    .fuploadselecttype li {
        font-size: 0.72rem;
        margin-right: 22px;
    }
}


