.delivery-tab{
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  padding: 42px 0;
}
.delivery-tab__wrapper{
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
}
.delivery-tab-info{
  max-width: 718px;
  width: 100%;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}
.delivery-tab-title{
  font-family: 'Montserrat-bold';
  font-weight: 600;
  font-size: 18px;
  line-height: 170.19%;
  margin-bottom: 13px;
  color: #37363B;
}
.delivery-tab-group form{
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
}
.delivery-tab-group input[type="submit"]{
  font-size: 15px;
  font-weight: 500;
  line-height: 170.19%;
  border-radius: 0;
  border: 1px solid #3F47CC;
  -webkit-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
  padding: 12px 32px;
  margin-left: 10px;
  color: #3F47CC;
}
.delivery-tab-group input[type="submit"]:hover{
  color: #fff;
  background: #3F47CC;
}
.delivery-input-group .search-icon{
  content: '';
  width: 20px;
  height: 20px;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 15px;
  background: url('../img/search-icon.svg') no-repeat center;
}
.delivery-input-group{
  max-width: 514px;
  width: 100%;
  position: relative;
}
.delivery-tab-group input[type="text"]{
  width: 100%;
  font-size: 15px;
  line-height: 170.19%;
  outline: none;
  border-radius: 0;
  color: #4F4F4F;
  border: 1px solid #BDBDBD;
  padding: 12px 20px;
  background: #FFFFFF;
}
.delivery-tab-group{
  margin-bottom: 35px;
}
.delivery-tab-methods{
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  margin-bottom: 30px;
}
.delivery-tab-methods label{
  cursor: pointer;
  margin-bottom: 0;
}
.delivery-tab-methods label:not(:last-child){
  margin-right: 10px;
}
.delivery-tab-methods label input{
  display: none;
}
.delivery-tab-methods label input:checked + span{
  border: 1px solid #1E2972;
  background: #1E2972;
  color: #fff;
}
.delivery-tab-methods label span{
  min-width: 131px;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 15px;
  line-height: 170.19%;
  -webkit-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
  border: 1px solid #BDBDBD;
  padding: 8px 19px;
  color: #BDBDBD;
}
.delivery-tab-methods__list table{
  table-layout: fixed;
  width: 100%;
}
.delivery-tab-methods__list table thead td{
  padding: 13px 0;
}
.delivery-tab-methods__list table td{
  font-weight: 500;
  font-size: 15px;
  line-height: 170.19%;
  vertical-align: middle;
  border: 1px solid #E0E0E0;
  color: #37363B;
}
.delivery-tab-methods__list table td:first-child{
  width: 46%;
}
.delivery-tab-methods__list table thead td{
  padding-left: 25px;
  padding-right: 25px;
}
.delivery-tab-methods__list table thead td:first-child{
  padding-left: 77px;
}
.delivery-tab-methods__list table tbody td{
  padding-left: 25px;
  padding-right: 25px;
}
.delivery-tab-methods__list table tbody td:first-child{
  padding-left: 20px;
  padding-right: 20px;
}
.delivery-tab-methods__list table td label{
  min-height: 66px;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center;
  cursor: pointer;
  margin-bottom: 0;
}
.delivery-tab-methods__list table td input{
  display: none;
}
.delivery-tab-methods__list .delivery-radio{
  max-width: 20px;
  width: 100%;
  height: 20px;
  position: relative;
  border-radius: 20px;
  border: 1px solid #E0E0E0;
  margin-right: 33px;
  background: #F2F2F2;
}
.delivery-tab-methods__list input:checked + label .delivery-radio:before,.delivery-tab-methods__list input:checked ~ .delivery-radio:before{
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  background: #3F47CC;
}
.delivery-tab-methods__list .delivery-logo{
  max-width: 54px;
  width: 100%;
  max-height: 46px;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center;
  justify-content: center;
  margin-right: 38px;
}
.delivery-tab-methods__list .delivery-logo img{
  max-width: 100%;
}
.delivery-tab-method__item{
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  padding: 21px 85px 21px 76px;
  background: #F2F2F2;
}
.delivery-tab-method__item:not(:last-child){
  margin-bottom: 10px;
}
.delivery-tab-method__item input{
  display: none;
}
.delivery-tab-method__item .delivery-top{
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
}
.delivery-tab-method__item .delivery-top .delivery-pickup-data{
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}
.delivery-tab-method__item .delivery-logo{
  margin-right: 18px;
}
.delivery-tab-method__item .delivery-top .delivery-name{
  font-size: 15px;
  line-height: 138.69%;
  font-weight: bold;
}
.delivery-tab-method__item .delivery-bottom{
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
.delivery-tab-method__item .delivery-bottom span{
  font-weight: bold;
  font-size: 15px;
  line-height: 148.69%;
  color: #000000;
}
.delivery-tab-method__item .delivery-radio{
  position: absolute;
  top: 34px;
  left: 19px;
  border: 1px solid #E0E0E0;
  background: #FFFFFF;
}
.delivery-tab-map{
  width: 100%;
  height: 410px;
  display: none;
  margin-top: auto;
  margin-left: 30px;
  background: #F2F2F2;
}
.delivery-tab-methods__list.scroll-list{
  height: 410px;
  /* overflow-y: hidden; */
  padding-right: 19px;
}
.delivery-tab-methods__list{
  display: none;
}
.delivery-tab-methods__list.active{
  display: block;
}
.delivery-tab-map.active{
  display: block;
}
.scroll-wrapper{
  overflow: visible !important;
}
.scrollbar-inner > .scroll-element div{
  width: 10px;
}
.scrollbar-inner > .scroll-element .scroll-element_track, .scrollbar-inner > .scroll-element .scroll-bar{
  opacity: 1;
}
.scrollbar-inner > .scroll-element .scroll-element_track{
  background: #F2F2F2;
}
.scrollbar-inner > .scroll-element .scroll-element_outer, .scrollbar-inner > .scroll-element .scroll-element_track, .scrollbar-inner > .scroll-element .scroll-bar{
  border-radius: 0;
}
.scrollbar-inner > .scroll-element .scroll-bar{
  background: #BDBDBD;
  border-radius: 0;
  cursor: pointer;
}

.city_result{
  display: none;
  position: absolute!important;
  z-index: 100;
  width: 100%;
  background: white;
  height: 200px;
  overflow-y: auto;
}
.city_result div.city_item {
  border: 1px solid black;
  margin: 2px;
  padding: 2px 5px;
  cursor: pointer;
}
.city_result div.error_text {
  border: 1px solid red;
  margin: 2px;
  padding: 2px 5px;
}

@media(max-width: 991px){
  .delivery-tab{
    padding: 10px 0 0;
  }
  .delivery-tab-title{
    font-size: 14px;
    line-height: 170.19%;
    margin: 0 10px 13px;
  }
  .delivery-tab-group form{
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .delivery-tab-group input[type="submit"]{
    font-size: 15px;
    line-height: 170.19%;
    padding: 6px 32px;
    margin-left: 0;
    margin-top: 10px;
  }
  .delivery-input-group{
    max-width: 100%;
  }
  .delivery-tab-group input[type="text"]{
    font-size: 14px;
    line-height: 170.19%;
    padding: 7px 40px 7px 20px;
  }
  .delivery-tab-group{
    margin: 0 10px 34px;
  }
  .delivery-tab-methods label span{
    min-width: auto;
    padding: 7px 19px;
  }
  .delivery-tab-methods label{
    width: 49%;
    margin: 0 5px;
  }
  .delivery-tab-methods__list table td{
    font-family: 'Montserrat';
    font-weight: 500;
    font-size: 14px;
    line-height: 166.19%;
  }
  .delivery-tab-methods label:not(:last-child){
    margin-right: 0;
  }
  .delivery-tab-methods{
    margin: 0 5px 26px;
  }
  .delivery-tab-methods__list table thead{
    display: none;
  }
  .delivery-tab-methods__list table tbody tr{
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    border-top: 1px solid #E0E0E0;
    position: relative;
    padding: 15px 20px 15px 164px;
  }
  .delivery-tab-methods__list .delivery-radio{
    position: absolute;
    top: 28px;
    left: 12px;
  }
  .delivery-tab-methods__list table td label{
    min-height: auto;
  }
  .delivery-tab-methods__list table tbody td{
    border: none;
    vertical-align: top;
    padding: 0 0;
  }
  .delivery-tab-methods__list table td:first-child{
    width: initial;
  }
  .delivery-tab-methods__list .delivery-logo{
    position: absolute;
    left: 62px;
    top: 15px;
    margin-right: 0;
  }
  .delivery-tab-methods__list table tbody td:first-child{
    padding-left: 0;
    padding-right: 0;
  }
  .delivery-tab-map.active{
    display: none;
  }
  .delivery-tab-methods__list.scroll-list{
    height: auto;
    padding-right: 0;
  }
  .delivery-tab-method__item{
    padding: 78px 28px 26px 50px;
    margin: 0 10px;
  }
  .delivery-tab-method__item .delivery-bottom{
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: right;
    justify-content: flex-start;
    position: absolute;
    top: 16px;
    right: 18px;
    margin-top: 0;
  }
  .delivery-tab-method__item .delivery-logo{
    left: 50px;
    top: 13px;
    justify-content: flex-start;
  }
  .delivery-tab-method__item .delivery-bottom span{
    font-size: 14px;
    line-height: 148.69%;
  }
  .delivery-tab-method__item .delivery-top .delivery-name{
    font-size: 14px;
    line-height: 148.69%;
  }
  .delivery-tab-method__item .delivery-top .delivery-description{
    font-size: 14px;
    line-height: 148.69%;
  }
}
