/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 .cotp-tradeprint-main {
    width: 100%;
}
 .cotp-tradeprint.cotp-product-attributes {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin: 8px 0;
    justify-content: space-between;
}

.cotp-product-attribute-single label, .cotp-product-attribute-single select {
    width: 100%;
}

.cotp-product-attribute-single {
    width: 49%;
}

.cotp-product-attribute-single select {
    font-size: 16px;
    padding: 8px;
    margin-bottom: 10px;
}

.cotp-product-attribute-single label {
    font-weight: 500;
    font-size: 16px;
}


.cotp-tradeprint.cotp-quantity-options label {
    font-weight: 500;
    font-size: 16px;
    width: 100%;
}

.cotp-tradeprint.cotp-quantity-options {
    width: 50%;
}

.cotp-tradeprint.cotp-quantity-options select {
    width: 100%;
    font-size: 16px;
    padding: 8px;
    margin-bottom: 10px;
}

.cotp-tradeprint.cotp-tradeprint-prices {
    width: 50%;
}

.cotp-tradeprint.cotp-tradeprint-prices .tradeprice_service_level label {
    width: 100%;
}

.cotp-tradeprint.cotp-tradeprint-prices .tradeprice_service_level {
    display: flex;
    flex-wrap: wrap;
}

.cotp-delivery-box {
    display: flex;
    margin-bottom: 10px;
    width: 100%;
	flex-wrap: wrap;
}

.cotp-postcode-field input {
    font-size: 16px;
    padding: 8px;
    width: 100%;
}

.cotp-tradeprint-expected-delivery {
    width: auto;
}

.cotp-postcode-field {
    width: 70%;
}

.cotp-postcode-submit {
    width: 30%;
}

.cotp-postcode-submit button {
    width: 100%;
}

.cotp-tradeprint.cotp-tradeprint-file-upload {
    width: auto;
}

.cotp-upload-main {
    display: flex;
    flex-wrap: wrap;
    padding: 8px 0;
}

button#cotp_upload_now_btn {
    width: 100%;
}

a#cotp_upload_later {
    width: 100%;
}

input#tradeprint_upload {
    display: none;
    width: 100%;
}

input#cotp_postcode_field {
    margin: 0 !important;
}

button.cotp-check-deliveryajax {
    margin: 0;
}

.cotp-delivery-box label {
    width: 100%;
}

.cotp-tradeprint.cotp-tradeprint-additional-product-fees h3 {
    margin-bottom: 0px;
}

.cotp-tradeprint.cotp-tradeprint-additional-product-fees {
    margin-bottom: 18px;
}

.cotp-tradeprint.cotp-tradeprint-additional-product-fees .cotp-additional-fees {
    font-size: 18px;
}
.cotp-tradeprint-total-price {
    font-size: 22px;
    margin-top: 12px;
}

.cotp-tooltip-icon {
    display: inline-block;
    cursor: pointer;
    position: relative;
    line-height: 1;
}
.cotp-tooltip-icon span.wc-tooltip-icon.dashicons.dashicons-info {
    font-size: 16px;
}

.cotp-tooltip-icon .cotp-tooltip-text {
    display: none;
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 10px;
    border-radius: 4px;
    font-size: 12px;
    top: -3px;
    z-index: 1000;
    left: 20px;
    width: 200px;
    line-height: 1.2;
}

.cotp-tooltip-icon:hover .cotp-tooltip-text {
    display: block;
}

.cotp-estimated-delivery-date {
    background: #c7e0b8;
    display: block;
    width: 100%;
    border-radius: 5px;
    text-align: center;
    margin-top: 10px;
}

input#cotp-switch-view[type=checkbox] {
    height: 0;
    width: 0;
    visibility: hidden;
  }
  
  #cotp-switch-view+label {
    cursor: pointer;
    text-indent: -9999px;
    width: 50px;
    height: 25px;
    background: grey;
    display: block;
    border-radius: 100px;
    position: relative;
  }
  
  #cotp-switch-view+label:after {
    content: "";
    position: absolute;
    top: 2px;
    left: 4px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 90px;
    transition: 0.3s;
  }
  
  input#cotp-switch-view:checked + label {
    background: #bada55;
  }
  
  input#cotp-switch-view:checked + label:after {
    left: calc(100% - 4px);
    transform: translateX(-100%);
  }
  
  #cotp-switch-view+label:active:after {
    width: 40px;
  }
  .cotp-pricing-grid-view-control {
    display: flex;
    justify-content: space-between;
    align-content: center;
    align-items: center;
}

.cotp-pricing-grid-view-control h4 {
    font-size: 16px;
    font-weight: 500;
}

.cotp-pricing-grid-view-switch {
    display: flex;
}
.tradeprice_service_level_qty_header label {
    border: 1px solid;
    width: 28%;
    display: flex;
    text-align: center;
    height: 50px;
    align-content: center;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 3px;
}

.tradeprice_service_level_qty_header label:first-child {
    width: 16%;
}

.tradeprice_service_level_qty_header {
    display: flex;
    gap: 5px;
    align-content: center;
    align-items: center;
    justify-content: space-between;
}

.tradeprice_service_level_qty_header label>span {display: block;line-height: 1;width: 100%;}

span.cotp-service-label_selected_price {
    color: #ff7878;
}
.cotp-tradeprint.cotp-tradeprint-prices.cotp-tradeprint-prices-grid-view .tradeprice_service_level {
    display: flex !important;
}

.cotp-tradeprint.cotp-tradeprint-prices.cotp-tradeprint-prices-grid-view {
    width: 100% !important;
    max-height: 400px;
    overflow: auto;
    border: 1px solid;
    padding: 0 5px;
    border-top: unset;
}
.cotp-tradeprint.cotp-tradeprint-prices.cotp-tradeprint-prices-grid-view .tradeprice_service_level {
    display: flex !important;
    gap: 5px;
    align-content: center;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px;
    flex-wrap: unset;
}

.cotp-tradeprint.cotp-tradeprint-prices.cotp-tradeprint-prices-grid-view {
    width: 100% !important;
}

.cotp-tradeprint.cotp-tradeprint-prices.cotp-tradeprint-prices-grid-view .tradeprice_service_level label {
    border: 1px solid;
    width: 28%;
    display: flex;
    text-align: center;
    height: 50px;
    align-content: center;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 3px;
    cursor: pointer;
    margin: 0;
}

.cotp-tradeprint.cotp-tradeprint-prices.cotp-tradeprint-prices-grid-view .tradeprice_service_level label:hover {
    background: #95b97a;
    color: #fff;
}
.cotp-tradeprint.cotp-tradeprint-prices.cotp-tradeprint-prices-grid-view .tradeprice_service_level label.selected-service-level {
    background: #95b97a;
    color: #fff;
}
.cotp-tradeprint.cotp-tradeprint-prices.cotp-tradeprint-prices-grid-view .tradeprice_service_level label:first-child {
    width: 16%;
}

.cotp-tradeprint.cotp-tradeprint-prices.cotp-tradeprint-prices-grid-view .tradeprice_service_level label span.cotp-sl-level-name {
    display: none;
}

.cotp-tradeprint.cotp-tradeprint-prices.cotp-tradeprint-prices-grid-view .tradeprice_service_level label input {
    display: none;
}
.cotp-sl-active {
    border: 2px solid #95b97a !important;
}
.service_level_opt_qty_val {
    display: none;
}
.cotp-tradeprint-prices-grid-view .service_level_opt_qty_val {
    display: block;
}
span.cotp-tooltip-i {
    background: #808080;
    color: #fff;
    display: block;
    width: 15px;
    height: 15px;
    text-align: center;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1;
    padding: 1px;
    font-family: serif;
}
.cotp-pricing-grid-view-header {
    border: 1px solid;
    /* padding: 5px 5px;
    padding-right: 20px; */
    padding: 5px 5px 0px 5px;
    border-bottom: unset;
}

.cotp-tradeprint.cotp-tradeprint-prices.cotp-tradeprint-prices-grid-view .tradeprice_service_level label
.tradeprice_service_level_qty_header label {
    margin: 0;
}

.cotp-upload-main label {
    line-height: 2rem;
}

.cotp-delivery-box label {
    line-height: 2rem;
    margin-top: 10px;
}


#cotp-switch-view+label {
    margin-left: 8px;
}
.cotp-tradeprint.cotp-tradeprint-additional-product-fees h3 {
    font-size: 20px;
    margin-bottom: 5px;
    margin-top: 10px;
}

body .cotp-pricing-grid-view-control h4 {
    font-size: 16px;
    font-weight: 500;
    margin-top: 0;
}

input#cotp_postcode_field {
    min-height: 45px;
    border-radius: 0 !important;
}

.cotp-postcode-submit button {
    min-height: 45px;
    border-radius: 0 !important;
}

@media(max-width:767px)
{
    .cotp-pricing-grid-view-header {
        width: 100%;
        padding-right: 5px;
    }
}