.buy {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
    background: #ef8721;
    width: 300px;
    height: 50px;
    border-radius: 10px;
    margin-top: 20px;
    cursor: pointer;
}

.buy_form_overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    display: flex;
    align-self: center;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    margin: auto;
    z-index: 500;
}

.buy_form_background {
    width: 100%;
    height: 100%;
    background: #63636394;
}

.buy_form {
    width: 500px;
    height: 400px;
    background: #ffffff;
    margin: auto;
    display: flex;
    opacity: 1;
    position: fixed;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-around;

}

.buy_form input {
    width: 300px;
}

.close {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 32px;
    height: 32px;
    z-index: 50;
    /*opacity: 0.9;*/
}

.close:before, .close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #ff1705;
}

.close:before {
    transform: rotate(45deg);
}

.close:after {
    transform: rotate(-45deg);
}

.close:hover {
    cursor: pointer;
}

.send {
    width: 300px;
    height: 40px;
    background: red;
}

.slider {
    display: flex;
    position: fixed;
    align-items: center;
    justify-content: center;
    width: 850px;
    height: 750px;
    cursor: pointer;
}

.slide {
    position: relative;
    display: flex;
    align-self: flex-start;
    max-height: 850px;
    width: 100%;
}

.short_info ul {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0 40px;
}

.short_info ul input {
    width: 40px;
}

.buy_form .comment {
    width: 400px;
    margin: 0 auto;
}

.buy_form .comment form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.buy_form .row {
    margin-top: 15px;
}

.buy_form .row input {
    width: 300px;
    margin-top: 10px;
}

.buy_form .row input[type="submit"] {
    background: #ef8721;
    height: 50px;
    border-radius: 10px;
    color: #fff;
}

.buy_form h3 {
    margin: 0 auto;
}

.top_block {
    width: 90%;
    margin: auto;
}

.watch_image {
    display: flex;
    width: 80px !important;
    height: 80px !important;
    position: relative !important;
    cursor: pointer;
}

.param_block {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

.slider_wrapper_current_product li.active {
    opacity: 1;
    z-index: 20;
}

.slider_wrapper_current_product li {
    display: flex;
    transition-duration: 0.3s;
    position: absolute;
    opacity: 0;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: auto;
    height: 850px;
}

.slider_wrapper_current_product {
    display: flex;
    width: 100%;
    height: 100%;
}

.prev_slide{
    display: flex;
    position: absolute;
    height: 40px;
    width: 40px;
    background: url(/js/fancy/fancybox_sprite.png);
    background-position: 4px -34px;
    z-index: 30;
    left: 0;
}

.next_slide{
    display: flex;
    position: relative;
    height: 35px;
    width: 40px;
    background: url(/js/fancy/fancybox_sprite.png);
    background-position: 0 -73px;
    z-index: 30;
    right: 0;
    align-self: center;
}

.hide {
    display: none;
}