html {
    position: relative;
    min-height: 100%;
}
body {
    /* Отступ снизу, по высоте футера */
    margin-bottom: 220px !important;
}
.carousel {
    margin-top:-20px;
    margin-bottom:20px;
}
.navbar-brand {
    padding:8px 15px;
}
/*
li.dropdown.open { position: static; }
li.dropdown.open .dropdown-menu {display:table; width: 100%; text-align: center; left:0; right:0; }
.dropdown-menu>li { display: table-cell; }
*/
#filter {
    margin-bottom:40px;
}
#filter .btn-group {
    width:100%;
}
#filter .btn {
    position:relative;
}
#filter .btn .caret {
    position: absolute;
    top:15px;
    right:15px;
    
}

.container-fluid .jumbotron {
     border-radius:0px;
}

.footer {
    background: #EEEEEE;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size:12px;
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Фиксированная высота футера */
    min-height: 200px;
}

.footer h3 {
    color: #eee;
}
.footer h3 {
    font-size: 11px;
    color: #555;
    font-weight: 400;
    margin-top: 50px;
    margin-bottom: 20px;
    margin-left: 0px;
    margin-right: 0px;
}
.footer ul {
    list-style: none;
    padding: 0px;
}
.footer li {
    padding-top: 5px;
}

.footer a {
    opacity: 0.7;
}
#brands {
    margin-top:30px;
    margin-bottom:30px;
}
#brands a {
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 24px;
}
.viewer {
    width: 100%;
    height: 500px;
    border: 1px solid black;
    position: relative;
}


.viewer {
    -ms-touch-action: none;
}
.viewer img {
    image-orientation: from-image;
}
.iviewer_common {
    position:absolute;
    bottom:10px;
    z-index: 5000;
}


.iviewer_button {
    cursor: pointer;
}

.iviewer_zoom_in {
    left: 20px;

}

.iviewer_zoom_out {
    left: 65px;

}

.iviewer_zoom_zero {
    left: 90px;
    display: none;
/*    background: url(img/iviewer.zoom_zero.gif) center center no-repeat;*/
}

.iviewer_zoom_fit {
    display: none;
    left: 125px;
/*    background: url(img/iviewer.zoom_fit.gif) center center no-repeat;*/
}

.iviewer_zoom_status {
    display: none;
    left: 160px;
    font: 1em/28px Sans;
    color: #000;
    background-color: #fff;
    text-align: center;
    width: 60px;
}

.iviewer_rotate_left {
    display: none;
    left: 227px;
/*    background: #fff url(img/iviewer.rotate_left.png) center center no-repeat;*/
}

.iviewer_rotate_right {
    display: none;
    left: 262px;
/*    background: #fff url(img/iviewer.rotate_right.png) center center no-repeat;*/
}

.glyphicon-refresh-animate {
    -animation: spin .7s infinite linear;
    -ms-animation: spin .7s infinite linear;
    -webkit-animation: spinw .7s infinite linear;
    -moz-animation: spinm .7s infinite linear;
}

@keyframes spin {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}
  
@-webkit-keyframes spinw {
    from { -webkit-transform: rotate(0deg);}
    to { -webkit-transform: rotate(360deg);}
}

@-moz-keyframes spinm {
    from { -moz-transform: rotate(0deg);}
    to { -moz-transform: rotate(360deg);}
}
#brands > div {
    position: relative;
    overflow: hidden;
    display: block;
    padding: 10px;
/*    border-radius:5px;*/
}
#brands > div .brand-hover {
    text-align: center;
    position: absolute;
    left:0px;
    right:0px;
    bottom:0px;
/*    padding-top:0px;*/
    top:0px;
    opacity:0;
    background: rgba(46, 109, 164,0.9);
    display: block;
/*    border-radius:5px;*/
/*    border-radius:100%;*/
    overflow: hidden;
}
.table{
    display:table;
    height:100%;
 
}
.table-cell {
    display: table-cell;
    vertical-align: middle;
}
#brands > div .brand-hover a {
    font-size: 14px;
    font-weight: normal;
    display:inline-block;
    width:100%;
    transition: all 0.3s ease;
    color:#FFF;
/*    text-shadow: 0 1px 1px rgba(0,0,0,.5);*/
}
#brands > div .brand-hover a:hover {
    color:#000;
    text-decoration: none;
}

.list-years a {
    font-size:18px;
    line-height:32px;
    border-bottom: 1px solid;
}
.list-years a:hover {
    text-decoration: none;
}
.type-title {
    font-size: 20px;
    font-weight: bold;
}
.list-years, .model-row {
       padding-bottom:15px;
}
.list-years + .list-years, .model-row + .model-row {
    padding-top:20px;
    border-top:1px solid #e7e7e7;
    
}
.model-key {
    font-size:32px;
    text-align: center;
}

.model-item {
    padding-bottom:10px;
}
.model-item > a {
    font-size:18px;
    line-height:30px;
    border-bottom: 1px solid;
}
.model-item > a:hover {
    text-decoration: none;
}
.search-row + .search-row {
    border-top:1px solid #e7e7e7;
}
.search-row a {  
    font-size:14px;
    line-height:28px;
/*    border-bottom: 1px solid;*/
}
.search-row a:hover {
   text-decoration: none;
}  

.animated {
  -webkit-animation-duration: .3s;
  animation-duration: .3s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}



@-webkit-keyframes zoomIn {
  from {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }

  50% {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }

  50% {
    opacity: 1;
  }
}

.zoomIn {
  -webkit-animation-name: zoomIn;
  animation-name: zoomIn;
}
.name-en {
    font-size:14px;
    color: #ACACAC;
    display: inline-block;
    margin-bottom:10px;
}
.part-detail tr td:first-child{
    background: #F1F1F1;
    width:50%;
    font-weight: bold;
}
.sticker {
    /*max-width:300px;*/
    text-align: center;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border: 3px solid #ACACAC;
    margin-bottom:15px;
    padding:10px 15px;
    
}
.sticker .pull-right {
    font-size:12px;
}
.sticker .pull-right strong {
    font-size:16px;
}
.sticker img {
    margin-top:10px;
}
.sticker hr{
    margin:5px 0;
    border-top:1px solid #ACACAC;
}
.sticker:after {
    display: table;
    content: " ";
    clear: both;
}
.thumbnail a {
    padding: 0px !important;
}
.zoom-thumb {
    color:#585858;
    font-size:20px;
    display: block;
    position: absolute;
    right: 5px;
    bottom: 15px;
    z-index:9;
    cursor: pointer;
}
#popup .modal-body {
    background: url('../image/ajax-loader.gif') center no-repeat;
}

.thumbnail-item { 
    /* position relative so that we can use position absolute for the tooltip */
    position: relative; 
    margin-bottom:10px;
}

.thumbnail-item a { 
    display: block; 
}

.thumbnail-item img.thumbnail {
    border:3px solid #ccc;    
}
a.image-wrap {
    display:table;
    width:100%;
}
.tooltip-item { 
    background: #FFF;
    /* by default, hide it */
    display: none; 
    /* allow us to move the tooltip */
    position: absolute; 
    border:4px solid #ccc;
    border-radius:4px;
    z-index:1;
}
.assembly-image {
    margin: 0 auto 20px auto;
    position: relative;
    text-align: center;
}
.types-description img, .years-description img {
    max-width:100%;
    height:auto !important;
    width:auto !important;
}
.container-article img {
    max-width:100%;
    height:auto !important;
    width:100% !important;
}
.assembly-list-title {
    font-size: 18px;
    padding-top: 15px;
    margin-bottom: 15px;
    border-top: 1px solid rgba(0,0,0,0.1);
    margin-top: 15px;
}
.assembly-item {
    padding-top: 5px;
    padding-bottom: 5px;
}
.assembly-item a.btn__edit,
.model-item a.btn__edit_model {
    transition: all .2s linear;
    opacity: 0;
    visibility: hidden;
    display: inline-block;
    margin-left: 10px;
    text-decoration: none !important;
    border-bottom: 0;
}
.assembly-item:hover a.btn__edit,
.model-item:hover a.btn__edit_model{
    opacity: 1;
    visibility: visible;
}
.brand__list {
    font-size: 16px;
    margin-top:15px;
    margin-bottom:15px;
}
.brand__list a {
    display: inline-block;
    margin-right: 5px;
}
.parts__list thead td {
    background: #F1F1F1;
    font-weight:bold;
}

.parts__list td {
    vertical-align: middle !important;
    text-align: center;
}
.btn__addtocart {
    float: right;
    margin-left: 15px;
}
.no-wrap {
    white-space: nowrap !important;
}
.part__time {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.42);
}
.part__price {
    font-weight: bold;
}
.col__name {
    text-align: left !important;
}
.box__payment, .box__delivery {
    margin-top: 15px;
}
.box__payment ul, .box__delivery ul{
    list-style:none;
    padding: 0px;
}
.box__payment ul li, .box__delivery ul li {
    padding: 5px 0px;
}

.box__info {
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #949494;
    border-radius: 5px;
    color: #FFF;
    padding: 10px 30px;
    margin: 15px 0;
}
.box__info i {
    font-size: 24px;
    margin-right: 20px;
    margin-left: -10px;
}
.box__payment .box__info {
    background: #286090;
}
#brands img {
    height: 100px;
}

.cat-toggle {
    cursor: pointer;
    padding: 5px 10px;
    display: block;
    font-weight: bold;
}

.cat-level-1 {
    border-bottom: 1px solid #ddd;
}

.cat-level-2 {
    font-weight: normal;
    padding-left: 15px;
}

.category-level-2 {
    margin-left: 12px;
}
.category-level-3 {
    margin-left: 24px;
}
.category-level-3 a {
    display: inline-block;
    padding: 4px 0;
}


.category-block .thumbnail {
    padding: 10px;
    border: 1px solid #ddd;
    min-height: 280px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
}

.category-block .thumbnail > img {
    margin-top: auto;
    margin-bottom: auto;
}
.subcategories {
    margin-top: 10px;
    font-size: 13px;
}

.subcategories li {
    line-height: 1.4em;
}


.subcategory-panel h4 {
    margin-top: 0;
}

.subcategory-panel ul {
    padding-left: 0;
    margin: 0;
}

.subcategory-panel ul li {
    margin-right: 15px;
    margin-bottom: 5px;
}

.hidden {
    display: none;
}
.category-level-3 a.active {
    font-weight: bold;
}
.table-parts img {
    max-height: 100px;
    max-width: 100px;
}
.table-parts .col-image {
    width: 120px;
}
.table-parts .col-ref {
    vertical-align: middle;
}

.assembly-image-wrapper {
    position: relative;
    display: inline-block;
}
.hotspot {
    cursor: pointer;
    position: absolute;
    background: #FFF;
    border: 1px dashed red;
    font-size: 16px;
    line-height: 1 !important;
}
.thumbs-row {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    transition: border 0.2s ease;
}

.product-thumb:hover {
    border: 2px solid #007bff;
}
.main-image-wrapper {
    height: 30vw;
    display: flex;
    align-items: center;
    justify-content: center;
}
#main-product-image {
    max-height: 100%;
}
.mb-24 {
    margin-bottom: 24px;
}