* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
    font-family: 'Open Sans', sans-serif;
}

.spoil_js {
    margin: -5px 0 15px;
}

.top_stock {
    position: fixed;
    top: 0;
    transform: translate(70%);
    width: 300px;
    max-width: 100%;
    background: #ffbe00;
    text-transform: uppercase;
    color: #000;
    padding: 5px 0 0;
    font-size: 14px;
    display: none;
    text-align: center;
    cursor: pointer;
    z-index: 1;
    border: 2px solid #000;
    border-bottom: none;
    font-weight: bold;
}

.top_stock:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -176px;
    border: 150px solid transparent;
    border-top: 26px solid #ffbe00;
}
.top_stock span{
    content: '';
    position: absolute;
    height: 2px;
    width: 51%;
    background: #000;
    bottom: -14px;
}
.top_stock span:nth-of-type(1) {
    left: -2px;
    transform: rotate(10deg);
}
.top_stock span:nth-of-type(2) {
    right: -2px;
    transform: rotate(-10deg);
}

.stock {
    position: fixed;
    bottom: 34px;
    left: 0;
    width: 100%;
    max-width: 100%;
    background: rgba(127, 127, 127, 0.9);
    text-transform: uppercase;
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
    display: none;
    text-align: center;
    z-index: 1;
}

.stock .clock {
    display: inline-block;
    color: #ffbe00;
    font-weight: bold;
}

.yellow {
    font-weight: bold;
    color: #ffbe00;
}

.stock span {}

@media all and (min-width:0\0) and (min-resolution:.001dpcm) {
    .popup {
        background: #4b7dba;
    }

    .popup_btn {
        background: #c01f37;
    }

    .action li img {
        border: none;
    }
}

body {
    background: #eee;
}


header {
    background: #036;
}

header ul li {
    display: inline-block;
    vertical-align: middle;
}

header ul li:nth-of-type(1) {
    font-size: 25px;
    text-decoration: underline;
    color: #fff;
    padding: 10px 30px;
}

header ul li a {
    display: block;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    padding: 5px 10px;
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
}

header ul li a:hover {
    color: #fff !important;
}

.active ul li a,
.active li a {
    color: #7f99b2;
}

.wrapper {
    width: 1450px;
    margin: 0 auto;
    max-width: 100%;
}

.main {
    width: 1072px;
    margin-right: 10px;
    display: inline-block;
    vertical-align: top;
    background: #fff;
    margin-bottom: 30px;
}

h1 {
    font-size: 31px;
    line-height: 1.2;
    color: #f00;
    font-weight: 700;
    padding: 0 60px;
    margin: 20px 0 14px;
}

h2 {
    line-height: 28px;
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: bold;
    padding: 0 60px;
}

.title_img {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    position: relative;
}

.title_img img {
    width: 100%;
}

.title_img span {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: block;
    padding: 30px 60px;
    background: rgba(0, 0, 0, .7);
    font-size: 19px;
    font-weight: 700;
    color: #fff;
}

.main__content {
    display: inline-block;
    vertical-align: top;
    padding: 0 20px 0 60px;
    width: 800px;
    max-width: 100%;
}

.top_btn {
    text-decoration: none;
    color: #FFF;
    background: #eb0254;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
}

h3 {
    font-size: 19px;
    margin-bottom: 20px;
    font-style: italic;
    font-weight: normal;
}

h2.red {
    color: #f00;
    margin-bottom: 20px;
    padding: 0;
}

.content__img {
    width: 100%;
    max-width: 100%;
    display: block;
    margin-bottom: 20px;
}

p {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 20px;
}

.substrate {
    padding: 15px 10px;
    font-weight: bold;
    border: 2px solid #f00;
    margin-bottom: 20px;
}

.substrate p:nth-last-of-type(1) {
    margin-bottom: 0;
}

h4 {
    font-size: 24px;
    margin: 30px 0;
    text-align: center;
    color: #f00;
    cursor: pointer;
}

.spoil {
    display: none;
    text-align: center;
    font-weight: bold;
}

.spoil img {
    width: 100%;
    margin-bottom: 20px;
}

.link {
    color: #C71585;
    font-weight: bold;
}

.small {
    font-size: 13px;
}

.hr {
    width: 100%;
    height: 1px;
    background: #000;
    margin-bottom: 20px;
}

.order {
    width: 100%;
    border: 5px dashed #000;
    margin-bottom: 20px;
    padding: 15px;
}

.order>div {
    font-size: 31px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-align: center;
}

.purple {
    color: #C71585;
}

.order img {
    display: block;
    width: 200px;
    margin: 0 auto 20px;
    -webkit-filter: drop-shadow(0 0 10px #000);
    filter: drop-shadow(0 0 10px #000);
}

.btn {
    display: block;
    width: 250px;
    max-width: 100%;
    margin: 0 auto;
    padding: 9px 5px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    text-transform: uppercase;
    text-decoration: none;
    background: #f00;
    color: #fff;
    border: 1px solid #f00;
    text-align: center;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    -moz-transition: all .3s;
    transition: all .3s;
}

.btn:hover {
    background: #fff;
    color: #f00;
}

.content_btn {
    text-align: center;
    display: block;
    margin-bottom: 20px;
    font-size: 26px;
}

.autor {
    color: #eb0254;
    font-size: 14px;
    font-weight: bold;
    background: #fff;
}

.autor:hover {
    background: #eb0254;
    color: #fff;
}

.comments>li {
    list-style: none;
    padding: 20px 0;
    border-bottom: 1px solid #ccc;
}

.avatar {
    display: inline-block;
    vertical-align: top;
    margin-right: 10px;
    border: 1px solid #ccc;
    width: 48px;
}

.comment__post {
    display: inline-block;
    vertical-align: top;
    width: -webkit-calc(100% - 63px);
    width: -moz-calc(100% - 63px);
    width: calc(100% - 63px)
}

.action li {
    display: inline-block;
    vertical-align: middle;
    font-size: 13px;
    color: #90949c;
}

.action li img,
.action li span {
    vertical-align: middle;
}

.action li:nth-of-type(5) a:hover {
    text-decoration: none;
}

.action li a {
    text-decoration: none;
    color: #365899;
}

.action li a:hover {
    text-decoration: underline;
}

.action li:nth-of-type(5) {
    margin-bottom: 2px;
}

.comment_text b {
    color: #365899;
    display: block;
}

.comments {
    margin-bottom: 20px;
}

.comment_write {
    background: #f0f0f0;
    width: 100%;
    padding: 20px;
    margin-bottom: 20px;
}

.comment_write>div {
    color: #43A047;
    font-size: 24px;
    font-weight: bold;
    line-height: 30px;
    margin-bottom: 16px;
}

.comment_write form {
    margin-bottom: 20px;
}

.comment_write textarea {
    border: 1px solid #43A047;
    -webkit-box-shadow: 0px 2px 4px -3px #237a27;
    box-shadow: 0px 2px 4px -3px #237a27;
    font-size: 16px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 20px 0 76px 10px;
    width: 100%;
    height: 150px;
}

.write_btn {
    background: #43A047;
    border: none;
    -webkit-box-shadow: 0px 2px 4px -3px #000;
    box-shadow: 0px 2px 4px -3px #000;
    color: #fff;
    -webkit-border-radius: 25px;
    border-radius: 25px;
    display: inline-block;
    text-align: center;
    text-shadow: 0px 0px 1px #237a27;
    font-size: 18px;
    width: 200px;
    max-width: 100%;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
    padding: 10px 0;
    text-decoration: none;
}

.write_btn:hover {
    background: #237a27;
    text-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.content_aside {
    display: inline-block;
    vertical-align: top;
    width: -webkit-calc(100% - 805px);
    width: -moz-calc(100% - 805px);
    width: calc(100% - 805px);
    padding: 0 20px;
    border-left: 1px solid #dedede;
}

.content_aside a {
    font-size: 17px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: #000;
    margin-bottom: 20px;
    display: block;
}

.content_aside a:nth-last-of-type(1) {
    margin-bottom: 0;
}

.content_aside img {
    width: 100%;
}

aside {
    display: inline-block;
    vertical-align: top;
    background: #fff;
    width: -webkit-calc(100% - 1087px);
    width: -moz-calc(100% - 1087px);
    width: calc(100% - 1087px);
    padding: 20px;
}

aside img {
    width: 100%;
    margin-bottom: 20px;
}

aside .product {
    display: block;
    width: 200px;
    margin: 0 auto 20px;
}

.gray {
    color: #999;
}

aside>div {
    color: #d0323e;
    font-size: 20px;
    border-bottom: 1px solid #999;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.aside_link {
    color: #d0323e;
    text-decoration: none;
    font-size: 14px;
    font-style: italic;
    display: block;
    margin-bottom: 20px;
}

.aside_link:hover {
    text-decoration: underline;
}

footer {
    background: #036;
    color: #708aa5;
    padding: 20px 0 0;
    font-size: 14px;
}

footer div,
footer ul {
    display: inline-block;
    vertical-align: middle;
    width: 200px;
    margin-right: 90px;
}

footer div {
    margin-left: 65px;
}

footer ul a {
    text-decoration: none;
    color: #fff;
    font-weight: 400;
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
}

footer ul li {
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    padding: 5px 0;
}

footer ul li a:hover {
    color: #fff !important;
}

.copyright {
    display: block;
    width: 100%;
    background: #0d3d6e;
    padding: 15px 0;
    text-align: center;
    margin-top: 20px;
}

.overlay {
    width: 100%;
    position: fixed;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    top: 0;
    left: 0;
    display: none;
    z-index: 1;
}

.substrate_frame {
    margin-bottom: 20px;
    background: rgba(189, 61, 77, 0.04);
    padding: 12px 15px;
    color: rgb(8, 8, 8);
    font-size: 18px;
    border: 2px solid;
    border-radius: 4px;
    border-color: #bd3d4d;
    font-weight: bold;
}

.substrate_frame span {
    color: #bd3d4d;
}

.substrate_frame p:nth-of-type(2) {
    margin: 0;
}

.popup {
    display: none;
    left: 50%;
    position: fixed;
    top: 8%;
    width: 792px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    color: #222;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    background: -webkit-linear-gradient(315deg, rgba(60, 114, 181, 1) 0%, rgba(123, 159, 204, 1) 100%);
    background: -moz-linear-gradient(315deg, rgba(60, 114, 181, 1) 0%, rgba(123, 159, 204, 1) 100%);
    background: -o-linear-gradient(315deg, rgba(60, 114, 181, 1) 0%, rgba(123, 159, 204, 1) 100%);
    background: linear-gradient(135deg, rgba(60, 114, 181, 1) 0%, rgba(123, 159, 204, 1) 100%);
    border: 5px solid #dddddd;
    padding: 20px;
    z-index: 1;
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.close:before {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 3px;
    background: #000;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    -moz-transform: translate(-50%, -50%) rotate(45deg);
    -ms-transform: translate(-50%, -50%) rotate(45deg);
    -o-transform: translate(-50%, -50%) rotate(45deg);
    transform: translate(-50%, -50%) rotate(45deg);
}

.close:after {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 3px;
    background: #000;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%) rotate(-45deg);
    -moz-transform: translate(-50%, -50%) rotate(-45deg);
    -ms-transform: translate(-50%, -50%) rotate(-45deg);
    -o-transform: translate(-50%, -50%) rotate(-45deg);
    transform: translate(-50%, -50%) rotate(-45deg);
}

.popup_title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
}

.popup img,
.popup_text {
    display: inline-block;
    vertical-align: middle;
}

.popup_text {
    width: -webkit-calc(100% - 250px);
    width: -moz-calc(100% - 250px);
    width: calc(100% - 250px)
}

.popup img {
    width: 200px;
    margin-right: 30px;
}

.popup_text p {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

.popup_btn {
    cursor: pointer;
    border: 1px solid rgba(73, 155, 234, 1);
    background: -webkit-linear-gradient(315deg, rgba(222, 69, 92, 1) 0%, rgba(222, 69, 92, 1) 13%, rgba(192, 31, 55, 1) 76%, rgba(192, 31, 55, 1) 100%);
    background: -moz-linear-gradient(315deg, rgba(222, 69, 92, 1) 0%, rgba(222, 69, 92, 1) 13%, rgba(192, 31, 55, 1) 76%, rgba(192, 31, 55, 1) 100%);
    background: -o-linear-gradient(315deg, rgba(222, 69, 92, 1) 0%, rgba(222, 69, 92, 1) 13%, rgba(192, 31, 55, 1) 76%, rgba(192, 31, 55, 1) 100%);
    background: linear-gradient(135deg, rgba(222, 69, 92, 1) 0%, rgba(222, 69, 92, 1) 13%, rgba(192, 31, 55, 1) 76%, rgba(192, 31, 55, 1) 100%);
    color: #fff;
    padding: 10px 0;
    text-transform: uppercase;
    display: block;
    width: 360px;
    text-align: center;
    font-size: 21px;
    font-weight: 900;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -webkit-transition: 0.6s ease;
    -o-transition: 0.6s ease;
    -moz-transition: 0.6s ease;
    transition: 0.6s ease;
    text-decoration: none;
    margin: 20px auto 0;
}

.popup_btn:hover {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

.burger {
    display: none;
}

.burger {
    width: 40px;
}

.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    position: relative;
}

.burger span:before {
    content: '';
    position: absolute;
    left: 0;
    top: -10px;
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
}

.burger span:after {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
}

@media all and (max-width: 1300px) {
    .main {
        width: 965px;
    }

    aside {
        width: -webkit-calc(100% - 980px);
        width: -moz-calc(100% - 980px);
        width: calc(100% - 980px);
    }
}

@media all and (max-width: 1250px) {
    .main {
        width: 730px;
    }

    aside {
        width: -webkit-calc(100% - 745px);
        width: -moz-calc(100% - 745px);
        width: calc(100% - 745px);
    }

    .wrapper {
        padding: 0;
    }

    .title_img span {
        position: relative;
        margin-top: -5px;
        padding: 20px;
    }

    .main__content {
        padding: 0 20px;
        width: 495px
    }

    .content_aside {
        width: -webkit-calc(100% - 500px);
        width: -moz-calc(100% - 500px);
        width: calc(100% - 500px)
    }
}

@media all and (max-width: 1249px) {
  	.top_stock {
    	transform: translate(26%);
  	}
}

@media all and (max-width: 1024px) {
	.stock {
    	bottom: 45px;
   }
}
  
@media all and (max-width: 1023px) {
    header ul li,
    aside,
    .content_aside,
    footer div,
    footer ul {
        display: none;
    }
  
  	.top_stock {
    	left: 50%;
    	margin-right: -50%;
    	transform: translate(-50%,-50%);
    	top: 13px;
  	}

    footer {
        padding: 0;
    }

    .burger,
    header ul li:nth-of-type(1) {
        display: inline-block;
        vertical-align: middle;
    }

    header ul li:nth-of-type(1) {
        width: -webkit-calc(100% - 60px);
        width: -moz-calc(100% - 60px);
        width: calc(100% - 60px);
        padding: 10px 15px;
    }

    .main {
        width: 100%;
        margin-right: 0;
    }

    .main__content {
        width: 100%;
    }
}

@media all and (max-width: 768px) {
	.stock {
    	bottom: 37px;
   }
}

@media all and (max-width: 600px) {
    h1 {
        font-size: 24px;
        padding: 0 10px;
    }
  
  	.stock {
    	bottom: 50px;
    }

    h2 {
        font-size: 20px;
        padding: 0 10px;
    }

    .title_img span {
        padding: 10px;
    }

    .main__content {
        padding: 0 10px;
    }

    .content_aside {
        width: 100%;
        display: block;
        padding-bottom: 20px;
    }

    .content_aside img {
        width: 190px
    }
}

.blue-link {
    color: blue;
    text-decoration: underline;
    font-weight: 600;
}

.action li:nth-of-type(5) a {
    display: flex;
    align-items: center;
    column-gap: 5px;
}

.action li:nth-of-type(5) a img {
    display: block;
}

.red-border {
    border: 2px solid red;
    padding: 10px;
    font-weight: bold;
}