#selected_format {
    display: block;
    margin-left: 2px;
    margin-top: 5px;
    font-size: 11px;
    font-style: italic;
    text-align: left;
}

#admin_notes {
    display: block;
    margin-bottom: 20px;
    font-size: 12px;
    font-style: italic;
    text-align: left;
}

#datepicker_box {
    width: 100%;
    text-align: left;
    display: inline-block;
}

#datepicker_box .date-box {
    display: inline-block;
    margin: 0px;
    text-align: left;
}

div.custom_delivery>label>input {
    visibility: hidden;
    width: auto;
}

div.custom_delivery {
    float: left;
    width: 100%;
}

div.custom_delivery>label {
    display: block;
    border: 2px solid grey;
    margin: 0 5px 0 0;
    cursor: pointer;
    float: left;
    padding: 0 5px;
}

div.custom_delivery>label>span {
    display: inline-block;
    vertical-align: top;
    line-height: 2em;
    font-size: 14px;
}

div.custom_delivery>label>input+i {
    visibility: hidden;
    color: #2E4E40;
    margin-left: -0.5em;
    margin-right: 0.2em;
}

div.custom_delivery>label>input:checked+i {
    visibility: visible;
}

.truck-icon {
    vertical-align: middle;
    padding-top: 4px;
}

.fa-2x {
    font-size: 18px !important;
    padding-top: 5px;
}

.main-box {
    float: left;
    width: 100%;
    border: 1px solid rgba(61, 66, 70, 0.85);
    margin: 10px 0;
    padding: 15px;
}

.ztpl-product-wrapper #admin_notes:empty {
    display: none;
}

 .ztpl-product-wrapper {
    padding: 1rem;
    border-radius: 5px;
    background-color: #ffffff80;
    border: 1px solid #8a8a8a;
    position: relative;
    z-index: 1;
    display: inline-block;
    min-width: 312px;
}
:is(form, .product) .ztpl-product-wrapper {
    width: 100%;
}
.ztpl-product-wrapper .ztpl-loader {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(255 255 255 / 85%);
    border-radius: 5px;
    overflow: hidden;
    z-index: 99;
}
.ztpl-product-wrapper .ztpl-loader.hide {
    display: none;
}
.ztpl-product-wrapper .ztpl-loader .ztpl-spin {
    border: 3px solid #000000;
    border-radius: 50%;
    border-top: 3px solid #ffffff00;
    width: 30px;
    height: 30px;
    -webkit-animation: spin 500ms linear infinite;
    animation: spin 500ms linear infinite;
    display: block;
}
.ztpl-product-wrapper .delivery-date-pro-error-msg {
    display: none;
    border: 1px solid #f5c2c7;
    border-radius: 4px;
    margin-bottom: 10px;
    background-color: #f8d7da;
    padding: 8px 30px 7px 15px;
    position: relative;
    width: 100%;
    line-height: 1.2;
}
.ztpl-product-wrapper #ztpl-error-msg {
    color: #842029;
    font-size: 14px;
    line-height: 1.5;
    display: inline-block;
}
.ztpl-product-wrapper .delivery-date-pro-error-msg span#ztpl-error-close {
    position: absolute;
    right: 12px;
    top: 50%;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    color: #842029;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    translate: 0 -50%;
    line-height: 1;
}


.ztpl-product-wrapper .ztpl-product-wrapper p.date-box {
    margin: 0;
    display: flex;
    flex-direction: column;
}

.ztpl-product-wrapper .date-box input {
    min-height: 32px;
    padding: 6px 10px;
    box-shadow: none;
    outline: none;
    border-radius: 4px;
    border: 1px solid #8a8a8a;
    border-top-color: #898f94;
    font-size: 14px;
    background: white;
    width: 100%;
}

.ztpl-product-wrapper label#delivery-time-label {
    margin-top: 10px;
    display: block;
}

.ztpl-product-wrapper select#delivery-time {
    background: white;
    appearance: none;
    background-image: url(http://cdn.shopify.com/s/files/1/0028/6153/1181/t/5/assets/ico-select.svg?v=1460386%c3%83%c6%92%c3%82%c2%a2%c3%83%c2%a2%c3%a2%e2%82%ac%c5%a1%c3%82%c2%ac%c3%83%e2%80%9a%c3%82%c2%a6);
    background-repeat: no-repeat;
    background-position: right 10px center;
    min-width: auto;
    width: 100%;
    min-height: 32px;
    padding: 6px 10px;
    box-shadow: none;
    outline: none;
    border-radius: 4px;
    border: 1px solid #8a8a8a !important;
    border-top-color: #898f94 !important;
    font-size: 14px;
}

@-webkit-keyframes spin {
    0% { 
        -webkit-transform: rotate(0deg); 
    }
    100% { 
        -webkit-transform: rotate(360deg); 
    }
}

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

.ztpl-product-wrapper  #datepicker_box p.date-box {
    width: 100%;
}

.ztpl-product-wrapper  label {
    color: #303030;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 1.5;
}