@-moz-keyframes spin {
    100% { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform:rotate(360deg);
    }
}
@keyframes move {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

body {
    /*background-color: #f9f9f9;*/
    background-color: #f0f0f0;
}
h1 {
    padding-top: 40px;
}
#pb_pic_upl h4 {
    margin: 35px 0 15px;
}
#pb_pic_upl label {
    display: block;
    margin-bottom: 8px;
}
#pb_pic_upl input,
#pb_pic_upl select
{
    width: 100%;
    /*min-width: 145px;*/
    /*padding: 5px 0 8px 5px;*/
    margin-bottom: 13px;
    background: #ffffff;
}
#pb_pic_upl input[type="radio"] {
    width: auto;
}

#pb_pic_upl .checkout_container {
    display: none;
}

#pb_pic_upl button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 8px 10px;
    margin: 15px 0 0;
    color: #B16C29;
    border-color: #B16C29;
}
#pb_pic_upl button:hover {
    background-color: #B16C29;
    color: #ffffff;
}
#pb_pic_upl button:disabled,
#pb_pic_upl button:hover:disabled {
    background-color: transparent;
    border-color: #bbbbbb;
    color: #bbbbbb;
    opacity: 0.8;
}

#pb_pic_upl button .spinner {
    display: none;
    width: 20px;
    height: 20px;

    -webkit-animation:spin 2s linear infinite;
    -moz-animation:spin 2s linear infinite;
    animation:spin 2s linear infinite;
}
#pb_pic_upl button .spinner svg {
    display: inline-block;
}

#pb_pic_upl button.btn-buy {
    background-color: #0570de;
    color: white;
    font-weight: bold;
    outline: none;
    border: solid 1px transparent;
    border-radius: 3px;
    font-size: 15px;
}

#pb_pic_upl .md-col-2 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

#pb_pic_upl .row-2 {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
}
#pb_pic_upl .inline-flex {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 3px;
}

#pb_pic_upl .md-col-2 > div {
    flex-basis: 48%;
}



#pb_pic_upl .pic_uploaded_list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0;
    padding: 0;
}
#pb_pic_upl .pic_uploaded_list li {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    list-style: none;
    border-bottom: solid 1px #a3a3a3;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    /*width: 300px;*/
    margin: 10px;
    padding-bottom: 1px;
}
#pb_pic_upl .pic_uploaded_list .img_container {
    position: relative;
    width: 125px;
    height: 167px;
    text-align: center;
    overflow: hidden;

    box-shadow: rgba(0, 0, 0, 0.24) 0 3px 8px;
}
#pb_pic_upl .pic_uploaded_list img {
    width: 100%;
    height: auto;
}
#pb_pic_upl .pic_uploaded_list img.rotate_90 {
    /*position: absolute;
    left: -28px;
    top: 0;
    rotate: 90deg;
    width: auto;
    height: 143px;*/
}
#pb_pic_upl .pic_uploaded_list .img_options {
    height: 100%;
    padding-left: 15px;
    vertical-align: top;
    text-align: left;
}
#pb_pic_upl .pic_uploaded_list .opt_container {
    width: 140px;
}
#pb_pic_upl .pic_uploaded_list .remove {
    display: inline-block;
    margin-top: 5px;
    text-align: start;
    color: darkred!important;
    cursor: pointer;
}
#pb_pic_upl .pic_uploaded_list .remove svg {
    width: 10px;
    height: auto;
    fill: #8b0001 !important;
}


#pb_pic_upl .error-message {
    color: #8b0001;
}
#pb_pic_upl .err_desc {
    color: #CC3366;
}


/* Toggle images */
#pb_pic_upl .images_list {
    display: none;
    width: 100%;
    padding: 0 12px;
    margin: 15px 0;
    overflow: hidden;
    /*border: solid 1px #a3a3a3;*/
    border-radius: 3px;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}
#pb_pic_upl .images_list .images_list_header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    cursor: pointer;
}
#pb_pic_upl .images_list .images_list_header h4 {
    display: inline-block;
    margin: 0;
    font-size: 26px;
}
#pb_pic_upl .images_list .images_list_header .show_body {
    color: #3f3fae;
    font-size: 14px;
}

#pb_pic_upl .images_list .images_list_body {
    display: none;
    border-top: solid 1px #a3a3a3;
    border-bottom: solid 1px #a3a3a3;
}


#pb_pic_upl .upload_error {
    display: none;
    padding: 8px 10px;
    margin: 15px 0;
    overflow: hidden;
    border-radius: 3px;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}
#pb_pic_upl .upload_error ul {
    list-style: none;
    padding: 0;
}
#pb_pic_upl .upload_error ul li {
    font-size: 10px;
}
#pb_pic_upl .upload_error ul li p {
    font-size: 10px;
    margin-bottom: 0;
}
#pb_pic_upl .upload_error ul li span
{
    font-size: 10px;
    color: #8b0001;
}


#pb_pic_upl .images_list .images_list_footer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 10px;
}
#pb_pic_upl .images_list .images_list_footer .price {
    white-space: nowrap;
}

#pb_pic_upl .order_over_wrap {
    padding: 8px 10px;
    margin: 35px 0;
    overflow: hidden;
    border-radius: 3px;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}
#pb_pic_upl .info {
    display: block;
    font-size: 12px;
    /*margin-top: -8px;*/
    /*margin-bottom: 8px;*/
}

#pb_pic_upl .order_over_wrap .options,
#pb_pic_upl .order_over_wrap .shipping,
#pb_pic_upl .order_over_wrap .coupon
{
    padding: 5px 12px;
}
#pb_pic_upl .order_over_wrap h4 {
    margin-top: 0;
}

#pb_pic_upl .order_over_wrap .coupon input[type="text"] {
    width: auto;
}
#pb_pic_upl .order_over_wrap .coupon .coupon_message {
    display: block;
}
#pb_pic_upl .order_over_wrap .coupon tr.coupon_result_wrap {
    display: none;
}

#pb_pic_upl .text-right {
    text-align: right;
}

#pb_pic_upl .order_over_wrap table {
    width: 100%;
}
#pb_pic_upl .order_over_wrap table td {
    /*vertical-align: baseline;*/
    background-color: transparent;
    padding: 0;
    border: none;
}
#pb_pic_upl .price_list_overview .price_list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

#pb_pic_upl .checkout_container .price_list_overview {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 8px 10px 0;
    /*margin: 15px 0;*/
    overflow: hidden;
    border-radius: 3px;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}
#pb_pic_upl .checkout_container .price_list_overview h4 {
    margin-top: 0;
}
#pb_pic_upl .price_list_overview ul {
    list-style: none;
    padding: 0 10px;
}
#pb_pic_upl .price_list_overview ul li {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}
#pb_pic_upl .price_list_overview .price_list_overview_header {
    padding: 0 10px;
}
#pb_pic_upl .price_list_overview .price_list_overview_header p {
    margin-bottom: 0;
}
#pb_pic_upl .price_list_overview .price_list {
    margin: 0;
    padding: 0 12px;
    font-weight: bolder;
}
#pb_pic_upl .checkout_container .price_list_overview .line,
#pb_pic_upl .checkout_container .price_list_overview .price_list
{
    padding: 0 10px 10px;
}
#pb_pic_upl .checkout_container .edit_order_wrap {
    margin-bottom: 25px;
}



    /** File upload drop box */
#pb_pic_upl .file_drop_box {
    display: none;
    margin: 10px 0 23px;
    padding: 30px;
    /*display: flex;*/
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 3px dotted #a3a3a3;
    border-radius: 5px;
    cursor: pointer;
}
#pb_pic_upl .file_drop_box.hover,
#pb_pic_upl .file_drop_box:hover
{
    background-color: white;
}

#pb_pic_upl .file_drop_box h4 {
    font-size: 18px;
    font-weight: 400;
    color: #2e2e2e;
}

#pb_pic_upl .file_drop_box p {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 12px;
    color: #a3a3a3;
}
#pb_pic_upl .form input {
    margin: 10px 0;
    width: 100%;
    background-color: #e2e2e2;
    border: none;
    outline: none;
    padding: 12px 20px;
    border-radius: 4px;
}


/* Progress bar */
#pb_pic_upl .uploading_files {
    display: none;
    width: 100%;
    overflow: hidden;
}
#pb_pic_upl .meter {
    box-sizing: content-box;
    height: 25px; /* Can be anything */
    position: relative;
    /*margin: 60px 0 20px 0; !* Just for demo spacing *!*/
    /*background: #555;*/
    background: transparent;
    border-radius: 25px;
    padding: 10px;
    box-shadow: inset 0 -1px 1px rgba(255, 255, 255, 0.3);
    text-align: center;
}
#pb_pic_upl .meter > span {
    display: block;
    height: 100%;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    background-color: rgb(43, 194, 83);
    background-image: linear-gradient(
            center bottom,
            rgb(43, 194, 83) 37%,
            rgb(84, 240, 84) 69%
    );
    box-shadow: inset 0 2px 9px rgba(255, 255, 255, 0.3),
    inset 0 -2px 6px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    width: 5%;
    min-width: 225px;
}
/*#pb_pic_upl .meter > span:after,*/
#pb_pic_upl .animate > span > span {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-image: linear-gradient(
            -45deg,
            rgba(255, 255, 255, 0.2) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0.2) 75%,
            transparent 75%,
            transparent
    );
    z-index: 1;
    background-size: 50px 50px;
    animation: move 2s linear infinite;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    overflow: hidden;
    text-align: center;
}

#pb_pic_upl .animate > span:after {
    display: none;
}

#pb_pic_upl .orange > span {
    background-image: linear-gradient(#f1a165, #f36d0a);
}

#pb_pic_upl .red > span {
    background-image: linear-gradient(#f0a3a3, #f42323);
}

#pb_pic_upl .nostripes > span > span,
#pb_pic_upl .nostripes > span::after {
    background-image: none;
}