/**
* 2007-2019 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-2019 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.
*/


.d-none {
  display: none;
}


  .cdek-map {
    width: 100%;
	height: 600px;
  }

  .display_extra_cdek {
    margin-bottom: 2rem;
    width: 100%;
  }
  .js-carrier-extra-content {
    border: none !important;
  }
  .spinner-border {
    border: .1em solid;
    border-right: .25em solid transparent;
  }
  #checkout-delivery-step {
    position: relative;
  }
  #loader-delivery-ewcdek {
    display: none;
    position: absolute;
    z-index: 9;
    background: white;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
    opacity: .5;
  }
  
  #loader-delivery-ewcdek .spinner-border {
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  @-webkit-keyframes spinner-border {
    to {
      transform: rotate(360deg) /* rtl:ignore */;
    }
  }
  
  @keyframes spinner-border {
    to {
      transform: rotate(360deg) /* rtl:ignore */;
    }
  }
  .spinner-border {
    border: .1em solid;
    border-right: .25em solid transparent;
  }
  .spinner-border.large {
    width: 5rem;
    height: 5rem;
  }
  .spinner-border.small {
    width: 3rem;
    height: 3rem;
  }
  .spinner-border.mini {
    width: 1.5rem;
    height: 1.5rem;
  }
  .spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: -0.125em;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: 0.75s linear infinite spinner-border;
    animation: 0.75s linear infinite spinner-border;
  }

  .skeleton {
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    border-radius: 2px;
    background-size: 200% 100%;
    animation: 1.5s shine linear infinite;
  }
  
  @keyframes shine {
    to {
      background-position-x: -200%;
    }
  }

  .spinner-border-back {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    padding-top: 3.5rem;
  }
  .spinner-border-back > div {
    text-align: center;
  }
  .spinner-border-back > div > div {
    margin-bottom: .5rem;
  }
  .spinner-border-back > div > div > div {
    color: #909090;
  }

  .radio-group {
    display: flex;
    gap: 10px;
  }
  
  .radio-button {
    width: 20px;
    height: 20px;
    border: 1px solid #cfcfcf;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
  }
  
  .radio-button::after {
    content: '';
    width: 12px;
    height: 12px;
    background-color: green;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
  }
  
  .radio-button.selected::after {
    opacity: 1;
  }
  .providerContainer.selected {
    border: 1px solid green;
  }

  .collapse-tariffs, .left-tariff {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  .collapse-tariffs-body {
    overflow: hidden auto;
    max-height: 400px;
  }

  .extra_ewcdek_id_load_body {
    overflow: hidden auto;
    max-height: 600px;
  }

  .collapse-tariffs-body::-webkit-scrollbar, .extra_ewcdek_id_load_body::-webkit-scrollbar {
    width: 12px;              
  }
  .collapse-tariffs-body::-webkit-scrollbar-trac, .extra_ewcdek_id_load_body::-webkit-scrollbar-track {
    background: #f7f7f7;      
  }
  .collapse-tariffs-body::-webkit-scrollbar-thumb, .extra_ewcdek_id_load_body::-webkit-scrollbar-thumb {
    background-color: #8b8b8b;  
    border-radius: 20px; 
    border: 2px solid #f7f7f7; 
  }

  .providerContainer {
    border: 1px solid #c7c7c7;
    margin-bottom: 10px;

  }
  .providerContainer.deliveryToDoor {
    cursor: pointer;
  }
  
  .collapse-tariffs {
    cursor: pointer;
  }
  .providerContainer img {
    width: 2.725rem;
    padding: 6px;
  }
  .providerContainer:hover {
    border: 1px solid black;
  }
  .tariffRadio {
    justify-content: end;
    display: flex;
  }
   .providerContainer {
    display: flex;
    align-items: center;
    padding: 4px 12px;
    width: 100%;
    justify-content: space-between;
   }

   .providerContainer button {
    font-weight: 500;
    padding: 6px 12px;
    min-width: 158px;
   }

   @media (max-width: 575px) {
    .providerContainer {
      display: block;
    }
    .collapse-tariffs, .left-tariff {
      justify-content: flex-start;
    }
    .providerContainer .text-right {
      text-align: left !important;
      margin-bottom: 1rem;
    }
    .display_extra_cdek  {
      padding: .9375rem;
    }
    .providerContainer {
      padding: 1rem;
    }
  }

  @keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

.shake-button {
    animation: shake 0.5s ease-in-out;
}