/*Fix Popup*/
#popupcart_extended {
  border: 2px solid #42302b!important;
  border-radius: 0!important;
    background: url(../image/retro.png)!important;
}
#popupcart_extended .head {
  font-weight: 700!important;
    text-transform: uppercase;
    color: #42302b!important;
  text-shadow: none!important;
  border-bottom: solid 2px #42302b!important;
  background: url(../image/panel-bg.jpg)!important;
}
#popupcart_extended .popupcart_info tr:first-child td {
    color: #42302b;
    text-shadow: none;
}
#popupcart_extended .popupcart_info .hr td {

}
#popupcart_extended .popupcart_buttons .button {
  padding: 10px;
    text-shadow: none;
}
@media (max-width: 650px){
    #popupcart_extended .popupcart_info .quantity {
        width: 50px;
    }
    #popupcart_extended .popupcart_info .quantity input[type='text'] {
        width: 50px !important;
    }
    #popupcart_extended .popupcart_info .quantity span {
        width: 50px;
        margin-left: 0;
    }
    #popupcart_extended .popupcart_info span .fa {
    font-size: 14px;
    height: 21px;
    }
    #popupcart_extended .popupcart_info .fa-plus {
        background: #aed581 !important;
    }
    #popupcart_extended .popupcart_info .fa-minus {
        background: #ef9a9a !important;
    }
    #popupcart_extended .popupcart_info .quantity span {
        display: inline-block;
    }
    #popupcart_extended .popupcart_buttons :first-child {
        display: block;
    }
}
/*Fix pagination*/
.pagination {border-radius: 0;}
.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    border: 1px solid #42302b;
    border-radius: 0!important;
    background: #be0024;
}
.pagination>li>a, .pagination>li>span {
    border: none;
    background: transparent;
    color: #42302b;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}
.pagination>li>a:focus, .pagination>li>a:hover, .pagination>li>span:focus, .pagination>li>span:hover {
    color: #be0024;
    background: transparent;
    border: none;
}
/*Главная*/
#slideshow4 .owl-wrapper-outer {
    border: none;
    border-radius: 0;
}
.slideshow_title_4, .slideshow_description_4 {
    text-shadow: 0px 0px 10px #000;
    -webkit-transform: scale3d(0.66, 0.66, 1);
    transform: scale3d(0.66, 0.66, 1);
    font-size: 48px;
    line-height: 42px;
    margin-bottom: 4px;
    color: #fcfefe;
    right: 0;
    top: 50%;
    margin-top: -5%;
    text-align: center;
}
.slideshow_description_4 {
    font-size: 30px;
    margin-top: -20px;
}
.slideshow_description_4 span {
    display: block;
}
.slideshow_description_4 a.btn {
    -webkit-transform: scale3d(1.66, 1.66, 1);
            transform: scale3d(1.66, 1.66, 1);
    margin-top: 40px;
    text-shadow: none;
    box-shadow: 1px 1px 5px #222;
}
.owl-item:nth-child(2) .slideshow_title_4 {
    font-weight: bold;
    text-transform: uppercase;
    right: 48px;
    margin-top: -35px;
}
@media(max-width: 768px) {
.slideshow_title_4, .slideshow_description_4 {
    font-size: 150%;
    right: 0;
}
.slideshow_title_4 {
    margin-right: 6%;
}
.slideshow_description_4 span, .slideshow_description_4 a.btn {
    margin-top: 10px;
}
}
@media(max-width: 520px) {
.slideshow_title_4, .slideshow_description_4 {
    font-size: 100%;
    right: 15px;
    top: 33%;
}
}
/*Button up*/
#button-light-up {
    position: fixed;
    right: 30px;
    bottom: 30px;
    height: 30px;
    width: 30px;
    opacity: 0.5;
    display: none;
    z-index: 10000;
    background: #be0024;
    border: 1px solid #42302b;
}
#button-light-up > i {
    font-size: 20px;
    color: #fff;
}
#button-light-up:hover {
    opacity: 1;
}
/*Social button*/
#goodshare {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    align-content: center;
}
.quantity_div {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    margin: 0 auto;
    margin-bottom: 10px;
}
.quantity_div .minus, .quantity_div .plus {
    border: 1px solid #618091;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    text-align: center;
    color: #fff;
    font-size: 20px;
    line-height: 20px;
    font-weight: bold;
    background: #618091;
    cursor: pointer;
    margin: auto;
}
.quantity_div .minus:hover, .quantity_div .plus:hover {
    background: #be0024;
    border-color: #be0024;
}
.quantity_div #input-quantity {
    text-align: center;
}
.stock_warning {
    position: absolute;
    z-index: 99;
    background: #fff;
    border: 1px solid #ddd;
    padding: 5px 10px;
    top: -20px;
}