/**
* 2007-2021 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2021 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

/* order-carrier delivery by products */

#checkout .product_delivery{
    display: flex;
    width: 100%;
    background: #fff;
    line-height: 23px;
    position: relative;
    border-radius: 10px;
}

#checkout .product_delivery_dates{
    margin-top: 6px;
    margin-bottom: 30px;
}

#checkout .product_delivery .product_name{
    padding: 8px 11px 7px 11px;
    border: 1px solid #9a7958;
    border-right: 0;
    width: 60%;
    position: relative;
    top: 0;
    bottom: 0;
    height: initial;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 10px 0 0 10px;
}

#checkout .product_delivery .product_name .item{
    padding-bottom: 14px;
}

#checkout .product_delivery .product_transporteur{
    border-left: 1px solid #9a7958;
    width: 40%;
    position: relative;
    top: 0;
    bottom: 0;
    height: initial;
    display: flex;
    flex-direction: column;
}

#checkout .product_delivery .product_transporteur .item{
    border: 1px solid #9a7958;
    display: flex;
    height: 100%;
}

#checkout .product_delivery .product_transporteur .item:first-child{
    border-radius: 0 10px 0 0;
}

#checkout .product_delivery .product_transporteur .item:last-child{
    border-radius: 0 10px 10px 0;
}

#checkout .product_delivery .product_transporteur .item:hover{
    cursor: pointer;
}

#checkout .product_delivery .product_transporteur .item .delivery_option_radio,
#checkout .delivery_options .delivery_option_carrier .a_carrier > .radio > .delivery_option_radio{
    width: 16px;
    height: 16px;
    min-width: 16px;
    align-self: center;
    margin-left: 20px;
    margin-right: 20px;
    border-radius: 50%;
    border: 1px solid #d6d4d4;
    position: relative;
}

#checkout .product_delivery .product_transporteur .item .delivery_option_radio.checked,
#checkout .delivery_options .delivery_option_carrier .a_carrier > .radio > .delivery_option_radio.checked{
    border: 1px solid #9a7958;
    background: #9a7958;
}

#checkout .product_delivery .product_transporteur .item .delivery_option_radio.checked:before,
#checkout .delivery_options .delivery_option_carrier .a_carrier > .radio > .delivery_option_radio.checked:before{
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    border: 4px solid #9a7958;
}

#checkout .delivery_options .delivery_option_carrier .a_carrier > .radio{
    position: relative;
    width: 70px;
}

#checkout .delivery_options .delivery_option_carrier .a_carrier > .radio:hover{
    cursor: pointer;
}

#checkout .delivery_options .delivery_option_carrier .a_carrier > .radio > .delivery_option_radio{
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#checkout .product_delivery .product_transporteur .item .delivery_option_logo{
    padding: 10px;
    align-self: center;
}

#checkout .product_delivery .product_transporteur .price{
    align-self: center;
}

#checkout .order_carrier_logo{
    max-width: 100px;
}

.product_delivery_dates > br{
    display: none;
}

.hide{
    display: none!important;
}

@media(max-width: 767px){
    #checkout .product_delivery .product_name{
        width: 40%;
    }
    #checkout .product_delivery .product_transporteur{
        width: 60%;
    }
}

@media (max-width: 420px) {
    #checkout .delivery_options_by_products .product_transporteur .order_carrier_logo{
        width: 50px;
    }
}

/* fin order-carrier delivery by products */