select, option {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.btn:disabled{
    opacity:0.3;
}
#details{
    width: 900px;
    max-width: 100%;
}
.tag-blue{
    color: #2b3f4b;
    padding: 0 7px;
    line-height: 23px;
    background: #dce8ef;
    display: inline-block;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    position: relative;
}

.legend-color {
    width: 20px;
    height: 10px;
    background: #1faf3e;
    display: block;
}
.legend-color--yellow {
    background: #fce582;
}
.legend-color--gray {
    background:#F65757;
}
.legends {
    display: flex;
    flex-wrap: wrap;
}
.legends li {
    display: flex;
    align-items: center;
    margin: 0 15px 15px 0;
}
.legends .legend-color {
    margin-right: 10px;
    flex-shrink: 0;
}
.details-window{
    overflow: hidden;
}
#details{
    opacity: 0;
    transition:all .2s ease; 
}
#details.is-loaded{
    opacity: 1;
}
.details-window .btn {
    line-height: 50px;   
     white-space: nowrap;
    padding-top: 0;
    padding-bottom: 0;
}
.details-window__row {
    display: flex;
}
.details-window__col {
    width: calc(50% - 30px);
    margin: 0 15px;
    display: flex;
    flex-direction: column;
}
.details-window__price {
    font-weight: 700;
    font-size: 24px;
    width: 100%;
    margin-bottom: 10px;
}
.details-window__cart {
    margin-bottom: 20px;
}
.details-window__link {
    text-align: right;
    display: block;
}
.details-window__link:hover {
    text-decoration: none;
}
.details-window hr {
    border: none;
    margin-bottom: 20px;
    border-bottom: solid 1px #ddd;
}
.details-window__table {
    margin-bottom: 15px;
}
.details-window__table td {
    padding: 8px 0;
}
.details-window__table td:first-child {
    width: 50%;
}
.details-window__table td:last-child {
    padding-left: 15px;
    font-weight: 700;
}
.details-window__gallery {
    margin-bottom: 20px;
    max-width: 600px;
    margin-top: 20px;
}

.content-height{
    min-height: calc(100vh - 240px);
}

.details-window__cart{
    margin-top: auto;margin-bottom: 0;
}
.content-height .details-window__title{
    padding-left: 15px;padding-right: 15px;
}

.details-window__gallery .slider-nav  .slick-slide {
    padding: 5px;
    opacity: 0.5;
}

.details-window__gallery .slider-nav  .slick-slide.slick-current{
    opacity: 1;
}

.details-window__gallery img {
    width: 100%;
    display: block;
}
.details-window__gallery .slider-for img {
    cursor: zoom-in;
}
.details-window__map {
    width: 100%;
    height: 250px;
    background: #ddd;
}
.details-window__title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px;
}


.years-list {
    display: flex;
    margin-left: -10px;
    margin-right: -10px;
}
.years-list li {
 
    padding: 0 10px;
}
.years-list .year {
    color: #a5a8a6;
    font-size: 13px;
    margin-bottom: 10px;
}
.years-list table {
    font-size: 13px;
    border-collapse: separate;
    border-spacing: 1px;
}
.years-list table td {
    width: 35px;
    height: 22px;
    background: #d8d8d8;
    text-align: center;
   vertical-align: center;
    border: 1px solid transparent;
    cursor: pointer;
}
.years-list table td.inactive {
    cursor: default;
    background: url('http://www.bboutdoor.ru/local/templates/general/images/icons/grey-lines-bg.png');
}
.years-list table td.inactive {
    background: #F65757;
	color: #fff;
}
.years-list table td.reserved {
    background: #fce582;
}
.years-list table td.past {
    background: #fff;
    cursor: default;
}
.years-list table td.free {
    color: #fff;
    background: #1faf3e;
}
.years-list table td.selected{
    border: solid 2px #000;
    color: #fff;
}
.years-list table td.reserved.selected{
	color: #000;
}
.details-window__tab{
    display: none;
}

.details-window__nav {
    display: flex;
    margin-bottom: 30px;
}
.details-window__nav li {
    padding: 10px 20px;
    border: solid 1px #ddd;
    margin-right: -1px;
    font-size:12px;
}
.details-window__nav li.is-active {
    background: #c7181d;
    color: #fff;
}
.details-window__nav li:not(.is-active):hover {
    background: #ddd;
}
.details-window__map{
    margin-bottom: 40px;
}
.cart__description .years-list table td{
font-size: 11px;    font-weight: 500;
}.cart__description .years-list{
    margin-top: 15px;
}
.cart__image{
    margin-bottom: auto;
}

.mobile-user .user-profile{
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    margin-bottom: 30px;
}
.mobile-user{
    display: none;
}
.mobile-user .user-profile__name{
    margin-right: 0;margin-bottom: 10px;width: 100%;
}

@media screen and (max-width: 1460px) {
    .legends{
        font-size: 12px;
    }
    .legends li{
        margin-right: 10px;
    }
}
@media screen and (max-width: 1020px) {
    .mobile-user{
        display: block;
    }


}
@media screen and (max-width: 1270px) {.content-height .details-window__title{
    padding-left: 0;padding-right: 0;
}
    #details{
        padding-left: 0;
        padding-right: 0;
    }
    .details-window__nav{
        padding-left: 30px;padding-right: 30px;
    }
   .details-window__row{
       flex-wrap: wrap;
   }
   .details-window__col{
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 30px;
}
.details-window__tab{
    padding: 0 30px;
}
.details-window__col:last-child{
    margin-bottom: 0;
}
  }
  @media screen and (max-width: 330px) {
    .years-list table td{
        font-size: 10px;
    }
  }

  .table-wrap , .details-window__nav{
   overflow-x: auto;
  }

 .table-wrap::-webkit-scrollbar , .details-window__nav::-webkit-scrollbar {
  width: .5em; 
  height: .5em;
}
 
.table-wrap::-webkit-scrollbar-track , .details-window__nav::-webkit-scrollbar-track {
 background: #ddd;
}
 
.table-wrap::-webkit-scrollbar-thumb , .details-window__nav::-webkit-scrollbar-thumb {
  background-color: #c7181d;
}

.pageup {
    visibility: hidden;
    opacity: 0;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    position: fixed;
    transition: all .2s ease;
    bottom: 0;
    right: calc((100% - 1200px)/ 4);
    z-index: 999
}

.pageup.active {
    visibility: visible;
    opacity: 0.7;
    -webkit-transform: translateY(-70px);
    -ms-transform: translateY(-70px);
    transform: translateY(-70px)
}

.pageup:hover button {
    opacity: .6
}

.pageup:hover .pageup__note {
    visibility: visible;
    opacity: 1;
    -webkit-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    transform: translateY(-10px)
}

.pageup button {
    width: 50px;
    height: 50px;
    cursor: pointer;
    background: 0 0;
    border: none
}
.pageup__note {
    visibility: hidden;
    text-align: center;
    opacity: 0;
    transition: all .3s ease;
    position: absolute;
    top: -30px;
    right: calc(50% - 45px);
    width: 90px;
    padding: 10px 0;
    background: #fff;
    border-radius: 5px;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0)
}
.pageup svg path {
    fill: #c7181d;
}
@media only screen and (min-width:768px) {
    .pageup {
        right: calc((100% - 720px)/ 4)
    }
}
@media only screen and (min-width:1024px) {
    .pageup {
        right: calc((100% - 960px)/ 4)
    }
}
@media only screen and (min-width:1366px) {
    .pageup {
        right: calc((100% - 1200px)/ 4)
    }
}

@media only screen and (min-width:1600px) {
    .pageup {
        right: calc((100% - 1360px)/ 4)
    }
}
@media only screen and (max-width:768px) {
    .pageup {
        display: none
    }
}

.field_error{
    border: 1px solid red;
}


.opening-item {
    border-bottom: 1px solid #dbdbdb;
    padding: 25px 0;
    max-height: 145px;
    overflow: hidden;
    transition: max-height .6s ease
}

.opening-item__top {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    cursor: pointer
}

.opening-item__top h3 {
    color: #bb101e;
    font-size: 1.375em;
    border-bottom: 2px dotted #bb101e;
    font-weight: 500;
    transition: all .3s ease;
    line-height: 1.5;
    position: relative;
    margin-bottom: 12px
}

.opening-item__top h3:after {
    content: "";
    display: block;
    position: absolute;
    top: calc(50% - 6px);
    right: -20px;
    width: 11px;
    height: 15px;
    background: url(../img/icons/arrow-red.svg) center no-repeat;
    background-size: 100%;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    transition: all .3s ease
}

.opening-item__top span {
    font-size: 1.0625em;
    font-weight: 700;
    text-transform: uppercase
}

.opening-item__top:hover h3 {
    border-color: transparent
}

.opening-item__bottom .text {
    font-size: 1rem;
    height: 0;
    overflow: hidden
}

.opening-item .form-inputs {
    margin-top: 50px;
    max-width: 100%
}

.opening-item.active {
    max-height: 9000px;
    transition: max-height 2s ease
}

.opening-item.active h3 {
    border-color: transparent
}

.opening-item.active h3:after {
    content: "";
    display: block;
    position: absolute;
    top: calc(50% - 6px);
    right: -20px;
    width: 11px;
    height: 15px;
    background: url(../img/icons/arrow-black.svg) center no-repeat;
    background-size: 100%;
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
    transition: all .3s ease
}

.opening-item.active .opening-item__bottom .text {
    height: 100%
}

.header-links{
    text-wrap: nowrap;
}
.user-profile__name {
    margin-left: 50px;
}
#cart_prod_table .container::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}

#cart_prod_table .container::-webkit-scrollbar
{
    width: 10px;
    background-color: #F5F5F5;
}

#cart_prod_table .container::-webkit-scrollbar-thumb
{
    background-color: #c7181d;
    border: 2px solid #555555;
}

.btn-icon--add:before {
    background: url(../img/icons/add.svg) center no-repeat;
    background-size: 60%;
}

.menu__item {
 padding-bottom: 10px;
 padding-top: 10px;
 border: none;
 padding-left: 8px;
 padding-right: 8px;
}

.menu__item, .menu__link {
 position: relative;
}
.menu__item.has-dropdown > a:after {
 content: "";
 width: 11px;
 height: 6px;
 background: url(../img/arrow-collapse.png) center no-repeat;
 display: block;
 position: absolute;
 right: 10px;
 top: 50%;
 transform: translateY(-50%) rotate(180deg);
}
.menu__item ul {
 background: #fff;
 position: absolute;
 left: 0;
 top: 100%;
 z-index: 2;
 box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.08);
}
.menu__item ul li a {
 text-align: left;
 color: #000;
 display: block;
 padding: 8px 16px;
 text-decoration: none;
 font-size: 14px;
 position: relative;
}
.menu__item ul li a:hover {
 color: red;
}
.menu__item ul li:not(:last-child) {
 border-bottom: solid 1px #eee;
}

@media screen and (max-width: 1023.98px) {
 .footer .menu{
  flex-wrap: wrap !important;
  height: auto;
 }
 .header-links .user-profile__name{
  margin-right: 15px;
  margin-left: 30px;
 }
}

@media screen and (min-width: 768px) {
 .menu__item:not(:last-child):after {
  content: "";
  width: 1px;
  height: 11px;
  background: #fff;
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
 }

 .menu__item ul {
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  transition: all .2s ease-in-out;
 }
 .menu__item.has-dropdown:hover ul {
  opacity: 1;
  transform: none;
  pointer-events: all;
 }
 .menu__item.has-dropdown a {
  padding-right: 30px;
 }
}

@media screen and (max-width: 768px) {
 .footer .menu__col {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
 }
 .footer .menu__phone{
  float: none;
  font-size: 12px;
  gap:6px; 
  display: flex;
  align-items: center;
}
 .menu__item ul {
  position: relative;
  background: transparent;
  top: initial;
  display: none;
 }
 .menu__item ul li a{
  color: #ffffffc2;
 }
 .menu__item ul li:not(:last-child){
  border-color: #1f262d;
 }
 .header-links .user-profile__name{
  display: none;
 }
}

.header-page .user-profile{
 display: flex !important;
}
.header-page .menu__col:last-child{
 margin-right: 0;
}

.filter-module__category{
 cursor: pointer;
 font-weight: 600;
 padding-bottom: 10px;
 position: relative;
}
.filter-module__category:after {
  content: "";
  width: 11px;
  height: 6px;
  background: url(../img/arrow-collapse.png) center no-repeat;
  background-size: contain;
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  transform: translateY(0%) rotate(180deg);
  transition: all .3s ease
}
.filter-module__category.is-active:after {
  transform: translateY(0%) rotate(0deg);
}
.filter-module__category:hover{
 color: #c7181d;
}
.app-city-dropdown__dropdown-category:after {
  content: "";
  width: 11px;
  height: 6px;
  background: url(../img/arrow-collapse.png) center no-repeat;
  background-size: contain;
  display: inline-block;
  vertical-align: middle;
  margin-left: auto;
  transform: translateY(0%) rotate(180deg);
  transition: all .3s ease
}
.app-city-dropdown__dropdown-category.is-active:after {
  transform: translateY(0%) rotate(0deg);
}