.product_date_container {
    background: #F5FFF5;
    border: 1px solid #ADE4AC;
    padding: 4px 10px;
    /*margin-top: 10px;
    margin-bottom: 10px;*/
    clear: both;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    /*max-width: 30em;  !*25*!*/
    justify-content: space-between;
}

.ups_logo {
    height: 2.5rem;
    width: auto;
}

.product_date_container > svg {
    height: 2.5rem;
    width: auto;
}

.product_date_container_config {
    border: 1px solid rgb(227, 227, 227);
    padding: 10px 10px;
    /*margin-top: 10px;
    margin-bottom: 10px;*/
    clear: both;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: center;
    max-width: 30em;  /*25*/
    justify-content: center;
}

.cart_product_date_container {
    background: #F5FFF5;
    border: 1px solid #ADE4AC;
    padding: 10px 15px;
    margin-top: 10px;
    margin-bottom: 10px;
    clear: both;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: center;
    justify-content: center;
}



.customer_product_date_container {
    background: #F5FFF5;
    border: 1px solid #ADE4AC;
    padding: 5px 10px;
    margin-top: 10px;
    margin-bottom: 10px !important;
    clear: both;
}

.customer_title_container {
    display: flex;
    flex-direction: row;
}

.customer_txt_container {
    display: flex;
    flex-direction: column;
}

.customerTitle { /*font-weight: bold;*/
    color: black;
    margin-left: 5px;
    margin-right: 5px;
}

.estimate_header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    color: black;
    margin-bottom: 0px !important;
}

.estimate_cart_header {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 10.5pt;
    margin: unset;
}

.estimate_title {
    /*margin-left: 10px;*/
    color: black;
}

.estimate_data_value {
    font-weight: bold;
    color: black;
    margin-right: 5px !important;
}

.estimate_cart_value {
    font-weight: bold;
    color: black; /*margin-right: 5px !important; margin-left: 5px !important;*/
}

.estimate_delivery_service_value {
    font-weight: bold;
    color: black;
    margin-left: 5px !important;
}

.estimate_cart_delivery_service_value { /*font-weight: bold; color: black;*/
    margin-left: 5px !important;
}

.estimate_values_container {
    display: flex;
    flex-direction: row;
    /*margin-left: 10px;*/
}

.estimate_days_value {
    font-weight: bold;
    color: black;
}

.estimate-mobile {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

/*-------------------------------------------------------------------------------------------*/

.product_estimate_header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    color: black;
    margin-bottom: 0px !important;
}

.product_estimate_cart_header {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 10.5pt;
    margin: unset;
}

.product_estimate_title {
    margin-left: 10px;
    color: black;
}

.product_estimate_data_value {
    font-weight: bold;
    color: black;
    margin-right: 5px !important;
}

.product_estimate_cart_value {
    font-weight: bold;
    color: black; /*margin-right: 5px !important; margin-left: 5px !important;*/
}

.product_estimate_delivery_service_value {
    font-weight: bold;
    color: black;
    margin-left: 5px !important;
}

.product_estimate_cart_delivery_service_value { /*font-weight: bold; color: black;*/
    margin-left: 5px !important;
}

.product_estimate_values_container {
    display: flex;
    flex-direction: row;
    /*margin-left: 10px;*/
}

.product_estimate_days_value {
    font-weight: bold;
    color: black;
}

.product_estimate-mobile {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}


/*-------------------------------------------------------------------------------------------*/
@media (max-width:850px) {
    #block_estimate_infos > img {
        display: none;
    }

    .btn-primary {
        border: solid 1px #b05c36!important;
    }
    .product_estimate_header {
        border: 1px solid #aaacaa;
        background: #f4f4f4;
        padding: .6rem;
    }
    .product-minimal-quantity {
        margin-bottom: 0.5rem!important;
    }
    .product-quantity > .col {
        margin-bottom: 0.2rem!important;
    }
    .extra-small-gutters > .col, .extra-small-gutters > [class*=col-] {
        padding-right: 0rem!important;
        padding-left: 0rem!important;
    }
    #quantity_wanted {
        padding: 0.5rem!important;
    }
    .product_estimate_title_container span {
        color: #767676;
    }
    .product_estimate_title_container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .product_date_container {
        padding: 4px 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-evenly;
        /*background: unset!important;
        border: unset!important;*/
    }
    .product_estimate_title {
        font-size: 1rem;
    }
}
@media (max-width:360px) /* smartphones, iPhone, portrait 480x320 phones */
{
    .product_date_container {
        width: 100%!important;
        max-width: unset!important;
        margin-top: unset;
        margin-bottom: unset;
        align-items: center;
    }
    .ups_logo {
        display: none;
    }
}

/*ESTIMATE ---------------------------------------------------------- */
@media (min-width:320px) and /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */
(max-width:641px)  /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */
{
    .product_date_container {
        width: 100%!important;
        max-width: unset!important;
        margin-top: unset;
        margin-bottom: unset;
        align-items: center;
        /*font-size: 10pt!important;*/
    }

    .ups_logo {
        height: 4em;
        width: 8em;
    }
    #content-wrapper .page-title{
        font-size: 2rem!important;
        margin: 0!important;
        justify-content: center!important;
    }

    /* -------------------------------------------------------- */
    .rating_count {
        display: none;
    }
    .product-block {
        margin-bottom: unset;
    }
    .ratings_container {
        flex-direction: row;
    }

    #review-col {
        display: none;
    }

    #reference-container {
        display: none;
    }

    /*.product-variants {
        margin: unset!important;
    }*/

    .pack-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 1rem;
        margin-bottom: 1rem;
        grid-auto-flow: row;
        /*display: flex;
        flex-flow: nowrap row;*/
    }
    .pack-product-desc {
        display: none;
    }

    /* - - - - - - - - - - - - - - - - - - - - - - - - - - - */
    .ap5-pack-product-content .ribbon {
        font-weight: bold!important;
        text-align: center!important;
        -webkit-transform: rotate(45deg)!important;
        -moz-transform: rotate(45deg)!important;
        -ms-transform: rotate(45deg)!important;
        -o-transform: rotate(45deg)!important;
        position: relative!important;
        padding: 3px 0!important;
        left: 8px!important;
        top: 6px!important;
        font-size: 1rem!important;
        width: 120px!important;
        -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.3)!important;
        -moz-box-shadow:    0px 0px 3px rgba(0,0,0,0.3)!important;
        box-shadow:         0px 0px 3px rgba(0,0,0,0.3)!important;
    }
    ::-webkit-scrollbar {
        -webkit-appearance: none;
    }

    ::-webkit-scrollbar:vertical {
        width: 12px;
    }

    ::-webkit-scrollbar:horizontal {
        height: 12px;
    }

    ::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, .5);
        border-radius: 10px;
        border: 2px solid #ffffff;
    }

    ::-webkit-scrollbar-track {
        border-radius: 10px;
        background-color: #ffffff;
    }
}

@media (max-width:320px) {
    #reference-container {
        display: none;
    }
    .rating_count {
        display: none;
    }
    ::-webkit-scrollbar {
        -webkit-appearance: none;
    }

    ::-webkit-scrollbar:vertical {
        width: 12px;
    }

    ::-webkit-scrollbar:horizontal {
        height: 12px;
    }

    ::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, .5);
        border-radius: 10px;
        border: 2px solid #ffffff;
    }

    ::-webkit-scrollbar-track {
        border-radius: 10px;
        background-color: #ffffff;
    }
}

@media (max-width: 768px), (max-height: 1024px) {
    #block_estimate_infos > img {
        display: none;
    }
    .ups_logo {
        display: none;
    }
    #gsr {
        width: 100%;
    }
}

@media (max-width: 820px), (max-height: 1180px) {
    #block_estimate_infos > img {
        display: none;
    }
    .ups_logo {
        display: none;
    }
}

@media (max-width: 912px), (max-height: 1386px) {
    #block_estimate_infos > img {
        display: none;
    }
    .ups_logo {
        display: none;
    }
}

/*@media (min-width:961px),  !* tablet, landscape iPad, lo-res laptops ands desktops *!
(min-width:1025px), !* big landscape tablets, laptops, and desktops *!
(min-width:1281px)  !* hi-res laptops and desktops *!
{
    .product_date_container {
        background: #F5FFF5;
        border: 1px solid #ADE4AC;
        padding: 10px 10px;
        clear: both;
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        margin-left: 5px;
        align-content: center;
        max-width: 25em;
        justify-content: center;
    }
    .ups_logo{
        height: 3em;
        width: 6em;
        margin-left: 15px;
    }

    !*#reference-container {
        display: none;
    }*!

    !*.product-variants {
        margin: unset!important;
    }
    .pack-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 1rem;
        margin-bottom: 1rem;
        grid-auto-flow: row;
        !*display: flex;
        flex-flow: nowrap row;*!
    }*!
}*/

/* smartphones, iPhone, portrait 480x320 phones */
@media only screen
and (device-width : 375px)
and (device-height : 812px)
and (-webkit-device-pixel-ratio : 3) {
    .product_date_container {
        width: 100%!important;
        padding: 10px 5px!important;
        max-width: unset!important;
        margin-top: unset;
        margin-bottom: unset;
        align-items: center;
        font-size: 10pt!important;
    }
    .ups_logo {
        margin-left: 5px!important;
    }
    .btn-mailalert {
        width: 100%;
    }

    /* -------------------------------------------------------- */
    .rating_count {
        display: none;
    }
    .product-block {
        margin-bottom: unset;
    }
    .ratings_container {
        flex-direction: row;
    }
    #review-col {
        display: none;
    }

    /*#reference-container {
        display: none;
    }*/

    /*.product-variants {
        margin: unset!important;
    }*/
    /*.pack-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 1rem;
        margin-bottom: 1rem;
        grid-auto-flow: row;
        !*display: flex;
        flex-flow: nowrap row;*!
    }*/
    /* - - - - - - - - - - - - - - - - - - - - - - - - - - - */
    .ap5-pack-product-content .ribbon {
        font-weight: bold!important;
        text-align: center!important;
        -webkit-transform: rotate(45deg)!important;
        -moz-transform: rotate(45deg)!important;
        -ms-transform: rotate(45deg)!important;
        -o-transform: rotate(45deg)!important;
        position: relative!important;
        padding: 3px 0!important;
        left: 8px!important;
        top: 6px!important;
        font-size: 1rem!important;
        width: 120px!important;
        -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.3)!important;
        -moz-box-shadow:    0px 0px 3px rgba(0,0,0,0.3)!important;
        box-shadow:         0px 0px 3px rgba(0,0,0,0.3)!important;
    }
}

/* Portrait and Landscape */
@media only screen
and (min-width: 1024px)
and (max-height: 1366px)
and (-webkit-min-device-pixel-ratio: 1.5) {
    .product_date_container {
        background: #F5FFF5;
        border: 1px solid #ADE4AC;
        padding: 10px 10px;
        clear: both;
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        margin-left: 5px;
        align-items: center;
        /*max-width: 25em;*/
        max-width: unset;
        justify-content: center;
    }
    #block_estimate_infos > img {
        display: none;
    }
    .ups_logo {
        display: none;
    }
    .btn-mailalert {
        width: 75%;
    }
}
