.cpp-container {
    background-color: #ffffff;
    box-shadow: 0 1px 6px rgba(33, 33, 33, 0.15);
    border-radius: var(--box-border-radius);
    width: 100%;
    box-sizing: border-box;
    padding: 1rem;
}

.cpp-row {
    position: relative;
    display: flex;
    row-gap: 0.5rem;
    overflow: hidden;
    margin-right: -1rem;
    margin-left: -1rem;
    align-items: stretch;
    flex-wrap: wrap;
}

.cpp-col {
    max-width: 100%;
    flex: 1 0 50%;
    padding-right: 1rem;
    padding-left: 1rem;
}

.select-file {
    border: 1px solid var(--cpp-main-color);
    border-radius: var(--input-border-radius);
    position: relative;
    overflow-y: hidden;
    overflow-x: auto;
    margin-bottom: .5rem
}

.select-file input[type="file"] {
    display: none;
}

.select-file svg#Capa_1 {
    width: 24px;
    height: 24px;
    margin-left: 7px;
    position: relative;
    top: 6px;
}

.select-file label {
    margin: 0px;
    line-height: 36px;
    padding-right: 1rem;
    display: block;
    position: relative;
    z-index: 999;
}

.file-input-wrp {
    width: auto;
    position: absolute;
    right: 9rem;
    top: 0px;
    z-index: 1;
}

.file-input-wrp span {
    line-height: 40px;
    padding: 0.25rem 1rem;
    background-color: #eee;
    border-radius: var(--box-border-radius);
}

.file-meta ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.file-meta ul li {
    flex: 0 0 30%;
}

.file-meta .meta-box {
    padding: .25px 1rem .25px 0;
    border-radius: var(--input-border-radius);
    background-color: #21212126;
    font-size: 22px;
    font-weight: 500;
    color: #212121;
    width: 150px;
    position: relative;
    line-height: 40px;
}

.file-meta .meta-box .meta-value {
    background-color: var(--cpp-third-color);
    padding-left: 1rem;
    padding-right: 1rem;
    border-top-left-radius: var(--input-border-radius);
    border-bottom-left-radius: var(--input-border-radius);
    width: 67px;
    display: inline-block;
    position: absolute;
    left: 0;
    text-align: center;
    box-shadow: inset 0 0px 6px #21212126;
    transition: all .2s linear;
}

.file-meta {
    padding: 0.5rem 0;
}

.cpp-shortcode-box {
    margin-bottom: 1rem;
}


.radio-wrapper .input-wrapper label {
    flex: 0 0 auto;
    border-radius: var(--input-border-radius);
    padding: 0 1rem;
    margin-left: 1rem;
    position: relative;
    box-shadow: 0 1px 6px #21212126;
    transition: all .2s linear;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 7px;
}

.radio-wrapper .input-wrapper label:hover {
    box-shadow: unset;
}

.radio-wrapper .input-wrapper {
    display: inline-block;
    margin-bottom: 0 !important;
}

.radio-wrapper .radio-desc {
    margin-bottom: 1rem;
	font-size: 15px;
    font-weight: 500;
}

.radio-wrapper .input-wrapper label input[type="radio"],
.radio-wrapper .input-wrapper label input[type="checkbox"] {
    display: none;
}

.radio-wrapper .radio-title,
.checkbox-wrapper .title {
    margin-bottom: .25rem;
    display: inline-block;
    margin-left: 1rem;
}

.radio-wrapper .radio-title:after,
.checkbox-wrapper .title:after {
    content: " :";
}

.radio-wrapper .input-wrapper label.active {
    background-color: var(--cpp-main-color);
    color: #fff;
    box-shadow: unset;
}

.radio-wrapper .input-wrapper label.grayscale-print,
.radio-wrapper .input-wrapper label.color-print,
.radio-wrapper .input-wrapper label.full_color-print {
    padding: 0 2.5rem 0 1rem;
}

.radio-wrapper .input-wrapper .grayscale-print:before,
.radio-wrapper .input-wrapper .color-print:before,
.radio-wrapper .input-wrapper .full_color-print:before {
    content: "";
    width: 32px;
    height: 32px;
    position: absolute;
    background-size: cover;
    right: 8px;
    top: 3px;

}

.radio-wrapper .input-wrapper .grayscale-print:before {
    background-image: url("../../media/bw-paper.png");
}

.radio-wrapper .input-wrapper .color-print:before {
    background-image: url("../../media/color-paper.png");
}

.radio-wrapper .input-wrapper .full_color-print:before {
    background-image: url("../../media/full-color-paper.png");
}

@media only screen and (max-width: 1124px) {
    .file-meta ul li {
        flex: 0 0 45%;
    }
}

@media only screen and (max-width: 768px) {
    .file-meta ul li {
        flex: 0 0 30%;
    }
}

@media only screen and (max-width: 576px) {
    .file-meta ul li {
        flex: 0 0 45%;
    }

    .file-meta ul li:last-child {
        flex: 0 0 100%;
    }

    .radio-wrapper .input-wrapper label {
        font-size: 1rem;
        margin-left: 0px;
    }
}

@media only screen and (max-width: 425px) {
    .radio-wrapper .input-wrapper label {
        font-size: .875rem;
        margin-left: 0px;
    }

    .radio-wrapper .input-wrapper .grayscale-print:before,
    .radio-wrapper .input-wrapper .color-print:before,
    .radio-wrapper .input-wrapper .full_color-print:before {
        width: 25px;
        height: 25px;
        right: 4px;
        top: 7px;
    }

    .radio-wrapper .input-wrapper label.grayscale-print,
    .radio-wrapper .input-wrapper label.color-print,
    .radio-wrapper .input-wrapper label.full_color-print {
        padding: 0 2rem 0 1rem;
    }
}

@media only screen and (max-width: 375px) {
    .file-meta ul li {
        flex: 0 0 100%;
    }

    .radio-wrapper .input-wrapper label.grayscale-print,
    .radio-wrapper .input-wrapper label.color-print,
    .radio-wrapper .input-wrapper label.full_color-print {
        padding: 0 1rem 0 1rem;
        font-size: .775rem;
        font-weight: 700;
    }

    .radio-wrapper .input-wrapper .grayscale-print:before,
    .radio-wrapper .input-wrapper .color-print:before,
    .radio-wrapper .input-wrapper .full_color-print:before {
        display: none;
    }
}

.input-wrapper {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
}

.input-wrapper, .checkbox-wrapper, .radio-wrapper {
    margin-bottom: 1rem;
}

.copies-wrapper .radio-wrapper {
    margin-bottom: 0;
}

.input-wrapper label, .radio-wrapper .radio-title, .checkbox-wrapper .title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
    color: #212121;
}

.input-wrapper label {
    background-color: #dedede;
    border-top-right-radius: var(--input-border-radius);
    border-bottom-right-radius: var(--input-border-radius);
    padding-right: 0.5rem;
    line-height: 40px;
    padding-left: 0.5rem;
}

.input-wrapper input[type="text"], .input-wrapper input[type="number"] {
    width: 100%;
    line-height: 40px;
    border: 0;
    background-color: var(--cpp-third-color);
    padding: 0 0;
    border-top-left-radius: var(--input-border-radius);
    border-bottom-left-radius: var(--input-border-radius);
    text-align: center;
    font-size: 16px;
    box-shadow: inset 1px 0px 6px 0px #21212126;
}

.input-wrapper select {
    width: 100%;
    border-radius: var(--input-border-radius);
    height: 40px;
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--cpp-main-color);
    font-size: 16px;
}

.checkbox-wrapper .input-wrapper {
    display: inline-block;
    margin-bottom: 0;
}

.input-wrapper .desc, .checkbox-wrapper .desc, .radio-wrapper .desc {
    line-height: 1.7;
    font-size: 14px;
    color: #4f5761;
}

.checkbox-wrapper .input-wrapper label {
    position: relative;
    border-radius: var(--input-border-radius);
    font-size: 0;
    width: 100px;
    display: inline-block;
    cursor: pointer;
    transition: all 0.2s linear;
}

.additional-meta {
    margin-bottom: 1rem;
}

.checkbox-wrapper .input-wrapper label input[type="checkbox"] {
    display: none;
}

.checkbox-wrapper .input-wrapper label:after {
    content: "";
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #fff;
    left: 2px;
    top: 2px;
    animation-name: rolloverBack;
    animation-duration: .2s;
    animation-fill-mode: forwards;
}

.checkbox-wrapper .input-wrapper label.active:after {
    left: 62px;
    animation-name: rollover;
    animation-duration: .2s;
    animation-fill-mode: forwards;
}

.checkbox-wrapper .input-wrapper label.active {
    background-color: var(--cpp-main-color);

}

@keyframes rollover {
    from {
        left: 2px;
    }
    to {
        left: 62px;
    }
}

@keyframes rolloverBack {
    from {
        left: 62px;
    }
    to {
        left: 2px;
    }
}

.description-wrapper label {
    font-size: 18px;
    font-weight: 500;
    color: #212112;
    display: block;
    margin-bottom: .25rem;
}

.description-wrapper textarea {
    width: 100%;
    min-height: 160px;
    border: 1px solid var(--cpp-main-color);
    border-radius: var(--box-border-radius);
    padding: 1rem;
}

.cpp-button {
    -webkit-appearance: button;
	display: inline-block;
    background-color: var(--cpp-third-color) !important;
    color: #212121 !important;
    padding: 0.5rem 1rem;
    border: none;
    cursor: pointer;
    width: 100%;
    border-radius: var(--input-border-radius);
    font-size: 1rem;
    font-weight: 600;
    line-height: 40px;
    box-shadow: 0 1px 6px 0 #2121212b;
    margin-bottom: .5rem;
    transition: all .2s linear;
    text-align: center;
    text-decoration: none !important;
}

.cpp-button[disabled], .cpp-button[disabled]:hover, .cpp-disable-link, .cpp-disable-link:hover {
    box-shadow: unset;
    background-color: #eee;
    color: #898989;
    cursor: not-allowed;
}

.cpp-button:hover {
    background-color: var(--cpp-main-color);
    color: #eee;
    box-shadow: unset;
}

.cpp-alert {
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    position: relative;
    background-color: var(--cpp-second-color);
    color: #eee;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--input-border-radius);
}

.cpp-alert .close-alert {
    position: absolute;
    content: "×";
    width: 24px;
    height: 24px;
    font-size: 18px;
    left: 1rem;
    top: .8rem;
    cursor: pointer;
    padding: 1rem;
}

.cpp-alert .close-alert:after {
    content: "";
    width: 4px;
    height: 24px;
    position: absolute;
    transform: rotate(45deg) translate(-8px, -10px);
    background-color: #eee;
    border-radius: 20px;
}

.cpp-alert .close-alert:before {
    content: "";
    width: 4px;
    height: 24px;
    position: absolute;
    border-radius: 20px;
    border-right: 4px solid #eee;
    transform: rotate(-45deg) translate(10px, -8px);
}

@media only screen and (max-width: 768px) {
    .cpp-col {
        flex: 1 0 100%;
    }

    .cpp-button {
        background-color: var(--cpp-main-color);
        color: #eee;
    }
}

/*************
 - progress
 */
.file-progress {
    background: var(--cpp-main-color);
    display: block;
    text-align: center;
    transition: width .3s;
    width: 0;
    border-radius: var(--input-border-radius);
    position: absolute;
    top: 0;
    height: 100%;
    z-index: 9;
    opacity: 0.5;
}

.file-progress.hide {
    opacity: 0;
    transition: opacity 1.3s;
}

/***************
 - spinner
 */
#loading {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
}

.cpp-button[disabled] #loading {
    border-color: #fff;
    border-top-color: var(--cpp-main-color);
    margin-right: 7px;
    margin-bottom: -5px;
}

@keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

/**************
 - table
 */
table {
    border-spacing: 0;
    width: 100%;
    margin: 0 0 1.41575em;
    border-collapse: separate;
}

table:not( .has-background ) th {
    background-color: #f8f8f8;
}

table td {
    padding: 1em 1.41575em;
    text-align: right;
    vertical-align: top;
}

table thead th {
    padding: 1.41575em;
    vertical-align: middle;
    white-space: nowrap;
}

table th {
    font-weight: 600;
}

table:not( .has-background ) tbody td {
    background-color: #fdfdfd;
}

/***
 - cart
 */
.cpp-cart-wrapper {
    position: relative;
    border: 1px solid var(--cpp-main-color);
    border-radius: var(--box-border-radius);
    padding: 1rem;
    z-index: 1;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.cpp-cart-title {
    position: absolute;
    top: -12px;
    background-color: #fff;
    z-index: 9;
    padding: 0 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.cpp-cart-body {
    position: relative;
    overflow: auto;
}

.cpp-cart-body .cpp-table th {
    width: auto;
}

.cpp-cart-wrapper.cart-loading:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: brightness(0.5);
    border-radius: var(--box-border-radius);
    overflow: hidden;
    z-index: 8;
}

.cpp-cart-wrapper.cart-loading {
    overflow: hidden;
}

.cpp-cart-wrapper .loading {
    position: absolute;
    top: 0;
    z-index: 99999;
}

.cpp-cart-wrapper.cart-loading::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
    position: absolute;
    z-index: 9;
    top: 50%;
    right: 50%;
}

button.cpp_remove_from_cart {
    width: 24px;
    height: 24px;
    padding: 0;
   border: none;
    text-align: center;
    color: var(--cpp-second-color);
    font-size: 24px;
    padding:0px !important;
	margin:0px !Important;
	font-family:none !Important;
}
button.cpp_remove_from_cart:hover {
    width: 24px;
    height: 24px;
    padding: 0;
   border: none;
    text-align: center;
    color: var(--cpp-second-color);
    font-size: 24px;
    padding:0px !important;
	font-family:none !Important;
	margin:0px !Important;
}

.cpp-cart-body .cpp-table tfoot th, .cpp-cart-body .cpp-table tfoot td {
    font-size: 1.2rem;
    font-weight: 700;
}

/***
 - checkbox wrapper
 */
.checkbox-select-wrapper label {
    font-size: 1rem;
    color: #212121;
    font-weight: 600;
    position: relative;
    padding-right: 2rem;
    line-height: 40px;
    cursor: pointer;
    display: inline-block;
}

.checkbox-select-wrapper input[type="checkbox"] {
    display: none;
}

.checkbox-select-wrapper label:before {
    content: "";
    position: absolute;
    right: 2px;
    width: 20px;
    height: 20px;
    background-color: var(--cpp-main-color);
    border-radius: 5px;
    top: 8px;
}

.checkbox-select-wrapper label.active:after {
    content: "";
    position: absolute;
    right: -2px;
    width: 24px;
    height: 24px;
    background-image: url(../../media/check.png);
    top: 6px;
    background-size: cover;
}

/**********************
 - drop file
 */
.cpp-dragover {
    position: relative;
    overflow: hidden;
}

.cpp-dragover:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: brightness(0.5) blur(2px);
    z-index: 999;
}

.cpp-dragover:before {
    content: "فایل خود را اینجا رها کنید.";
    position: absolute;
    z-index: 9999;
    color: #fff;
    right: 50%;
    top: 50%;
    transform: translate(+50%, -50%);
    font-size: 1.5rem;
    font-weight: 700;
}