body {font-family: 'Roboto', sans-serif; font-size: 16px; line-height: 28px; color: #000;}

/*@media (max-width: 480px){
	body {font-size: 14px; line-height: 25px;}
}
*/
html {height: 100%;}
body {display: flex; flex-direction: column; height: 100%;}
header {flex: 0 0 auto;}
footer {flex: 0 0 auto;}
main {flex: 1 0 auto; }.
a, a:hover, a:visited {
    color: #000!important;
    text-decoration: none!important;
}
a:hover {
    opacity: 0.8;
    
}
* {
    outline:none;
}

header {
    position: fixed;
    background: #fff;
    width: 100vw;
    box-shadow: 0 0 20px rgb(0 0 0 / 20%);
    z-index: 2;
}
main {
    padding-top: 80px;
    
}

footer {
    background: #1c1f20;
    color: #fff;
    padding: 50px;
}

/*** header ***/

.flex-center {
    align-items: center;
    justify-content: space-between;;
}
.logo {
    
    font-family: 'Sriracha', cursive;
    font-size: 30px;
}
header {
    height: 80px;
    display: flex;
    align-items: center;
}
header ul {
    display: flex;
    list-style-type: none;
    margin-bottom: 0;
}
header ul li {
    margin-left: 25px;
}
header a, header a:hover, header a:visited {
    color: #000;
    text-decoration: none;
}
header a:hover {
    opacity: 0.8;
}
.personal-link {
    margin-right: 10px;
}
.feedback-button {
    border: 1px solid #000;
    padding: 3px 15px;
    font-size: 14px;
    cursor: pointer;
}
.link-login {
    cursor: pointer;
    display: flex;
    align-items: center;
}
.link-login:before {
    content: '';
    height: 20px;
    width: 20px;
    background: url('../imgs/person.png') center center;
    background-size: cover;    
    background-repeat: no-repeat;
    display: inline-block;
    margin-right: 15px;
}

/*** footer ***/

.sitename {
    font-size: 22px;
}
.copyrights {
    opacity: 0.8;
    font-size: 14px;
    margin-top: 20px;
}
footer a, footer a:hover, footer a:visited {
    color: #fff;
    text-decoration: none;
}
.footer-flex {
    display: flex;
    justify-content: space-between;
    
}
.footer__menu {
    list-style-type: none;
    padding-left: 0;
}
.footer_title {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: rgba(255, 255, 255, 0.5);
    font-size: 20px;    
}
/*** frontpage ***/

.frontpage__text1 {
    padding: 50px 0;
    text-align: justify;
}
.frontpage__text2 {
    padding: 50px 0;
    text-align: justify;
}
.banner {
    /*height: 200px;
    background: url('../imgs/banner.jpg') center center;
    background-size: cover;    */
    padding-top: 50px;    
    display: flex;
    justify-content: center;
}
.banner img {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}
.banner h1 {
    color: #fff;
    text-align: center;
    font-size: 70px;
    font-weight: 100;
}
.articles {
    display: flex; 
    flex-wrap: wrap;
    margin: 50px 0 0 0;    
    margin-left: -15px;
    margin-right: -15px;
    justify-content: center;    

}
/*.articles:after {
    content: "";flex: auto;    
}*/
.article {
    width: 100%;
    display: block;
    margin-bottom: 10px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 5px;
    padding: 10px;
    color: #000!important;
}
.article__image {
    width: 100%;
    height: 150px;
    border-radius: 5px;
    background-size: cover;
}
.article:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.article__title {
    margin: 15px 0 5px 0;
    font-size: 20px;    
    height: 50px;
}

.how-to-buy {
    background: #f0f0f0;
    padding: 50px 20px 10px 20px;
    box-shadow: 0 0 40px rgba(0, 0, 0, .1) inset; 
}
.how-to-buy__title {
    margin-bottom: 50px;
    text-align: center;
}
.how-to-buy__steps {
    display: flex;
    position: relative;
    width: 50%;
    margin: 0 auto;
    margin-bottom: 50px;
    font-size: 18px;
    background: #f0f0f0;
    
    
}
.how-to-buy__steps:before {
    content: '';
    height: 2px;
    width: 100%;
    background: #ccc;
    position: absolute;
}
.step {
    width: 33.33%;    
    position: relative;
}
.step:before {
    content: '';
    display: block; 
    border-radius: 50%;
    height: 20px;
    width: 20px;
    background: #ccc;
    
    position: absolute;
}
.step:nth-child(1):before {
    left: -10px;
    top:-10px;
}
.step > div {
    margin-top: 30px;
    text-align: center;
    margin-left: -10%;
    margin-right: -10%;
}
.step:nth-child(1) > div {
    left:-50%;
    position: relative;
}
.step:nth-child(3) > div {
    right:-50%;
    position: relative;
}


.step:nth-child(2):before {
    left: 50%;
    top:-10px;
}
.step:nth-child(3):before {
    right: -5px;
    top:-10px;
}

.advantages-wrapper {
    background: #f0f0f0;
    padding: 50px 20px 50px 20px;
    box-shadow: 0 0 40px rgba(0, 0, 0, .1) inset;     
}
.advantages {
    display: flex;
    margin-top: 50px;
    justify-content: center;
}
.advantage {
    margin-right: 20px;
    text-align: center;
}
.advantage img {
    height: 40px;
}
.advantage__title {
    text-align: center;
    margin-top: 30px;
}
h2 {
    text-align: center;
}


/*** buttons ***/

.button_fill {position: relative;}
.button_fill span {z-index: 2; position: relative; color: #000; transition: 0.3s;}
.button_fill:before {content: ""; background: #1c1f20; position: absolute; left: 0; right: auto; top: 0; bottom: 0; width: 0%; transition: 0.4s; ease-in-out; }
.button_fill.in:before {width: 100%; }
.button_fill.in span {color: #fff; }
.button_fill.out:before {width: 0%; right: 0; left: auto;}

.button_fill.button_fill_grey span {color: #fff;}
.button_fill.button_fill_grey:before {background: #fff;}
.button_fill.button_fill_grey.in span {color: #1f1f20; }


/*** page ***/

.page {
}
.page__h1 {
    margin-top: 50px;
}
.page__content {
    margin-top: 50px;
    text-align: justify;
}
.page__content br {
    display: block;
    margin: 20px 0;
    content: "";
}
.page__content img {
    float: right;
    width: 250px;
    margin-left: 20px;
    margin-bottom: 20px;
}
.buy {
    padding: 7px 25px;
    height: 50px;
    display: flex;
    border-radius: 25px;
    background: #d6a716;
    color: #fff;
    display: flex;
    margin-bottom: 70px;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    font-size: 18px;
    cursor: pointer;
    width: max-content;
}
.end {
    color: #888;
}
.price_text {
    margin: 20px 0;
    font-weight: bold;
}
.price {
    font-size: 25px;
    margin-left:20px;
}

/*** popup ***/

.popup {
  box-shadow: 0 0 40px rgba(8, 21, 33, 0.14);
  background-color: #fafafa;
  width: 829px;
  padding: 58px 96px;
  display: none;
}

.popup .title {
    font-size: 30px;
    margin-bottom: 30px;
}
.link-reg {
    display: inline-block;
    margin-bottom: 20px;
    border-bottom: 1px dashed #000;
}
.popup label {
    width: 100%;
}
.popup input[type=text], .popup input[type=password]{
    width: 100%;
    background: #fff!important;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 9px 15px;
    margin-bottom: 10px;
}
.popup textarea{
    width: 100%;
    background: #fff!important;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 9px 15px;
    margin-bottom: 10px;
    height: 100px;
}
.popup .btn {
    width: 200px;
    background: #f0f0f0!important;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 9px 15px;
    margin-bottom: 10px;
    margin-top: 30px;
}
.payment {
    padding: 7px 25px;
    height: 50px;
    display: flex;
    border-radius: 25px;
    background: #d6a716;
    color: #fff;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    font-size: 18px;
    cursor: pointer;
    width: max-content;
}
.a_border{
    border-bottom: 1px dashed #000;
}
.full-text {
    margin-bottom: 50px;
}

/*** personal ***/

.void {
    font-size: 25px;
    margin-top: 50px;
}
.logout {
    border: 1px solid #000;
    padding: 3px 15px;
    cursor: pointer;
}

/*** success ***/

.read {
    font-size: 20px;
    display: block;
    color: #f00!important;
    border-bottom: 1px dashed #f00;    
    width: fit-content;
    margin-top: 50px;

}
.success {
    color: #f00;
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .logo {
        display: block;
        font-size: 20px;
        margin-top: 20px;
        width: fit-content;
    }
    header {
        height: auto;
    }
    header ul {
        padding-left: 15px;
        margin-top: 20px;
        margin-bottom: 20px;
        border-top: 1px solid #e0e0e0;
        width: 100vw;
        padding: 0 15px;
        padding-top: 20px;        
        justify-content: space-between;
    }
    header ul li {
        margin-left: 0;        
        font-size: 18px;
    }
    .banner {
        margin-top: 40px;
        /*height: 140px;*/
        padding-top: 60px;
        
    }
    .banner h1 {
        font-size: 30px;
    }
    header .feedback-button {
        display: none;
    }
    header .link-login {
        position: absolute;
        right: 15px;
        top: 20px;
        font-size: 14px;
    }
    .frontpage__text1 {
        padding: 30px 0;
    }
    .article__title {
        line-height: 25px;
    }
    .frontpage__text2 {
        padding: 30px 0;
    }
    .advantages {
        flex-wrap: wrap;
    }
    h2 {
        font-size: 25px;
    }
    .footer-flex {
        flex-wrap: wrap;
    }
    .advantage {
        align-items: center;
        margin-bottom: 20px;
    }
    .advantage__image {
        width: 50px;
    }
    .advantage__title {
        margin-left: 20px;
        margin-top: 0px;
    }
    .how-to-buy__steps {
        width: 100%;
        flex-wrap: wrap;
    }
    .step {
        width: 100%;
    }
    .how-to-buy__steps:before {
        content: none;
    }
    .step:before {
        content: none;
    }
    .step > div {
        position: initial!important;
        margin-left: 0;
        margin-right: 0;
    }
    .step > div:after {
        content: '';
        width: 20px;
        height: 20px;
        background: url('../imgs/arrow.png') center center;
        background-size: cover;    
        background-repeat: no-repeat;
        display: block;
        left: 50%;
        position: relative;
        top: 15px;
        margin-left: -10px;
    }
    .step:nth-child(3) > div:after {
        content: none;
    }
    footer {
        padding: 20px 20px 25px 20px;
    }
    .offset-1 {
        margin-left: 0;
    }
    .footer-flex {
        margin-top: 25px;        
    }
    .footer-flex a {
        margin-bottom: 40px;
        
    }
    .footer_title {
        margin-top: 10px;
        padding-bottom: 30px;
    }
    .copyrights {
        margin-top: 30px;
    }
    .page__h1 {
        margin-top: 100px;
    }
    .page__content img {
        width: 150px;
    }
    .page__h1 {
        font-size: 25px;
    }
    .buy {
        height: auto;
        width: 100%!important;
        line-height: 40px;
    }
    .price {    
        margin-left: 0px;
        margin-top: 20px;
        display: block;
    }
    .popup {
        width: 100%;
        padding: 20px;
    }
    .page__content {
        text-align: left;
    }
    .void {
        margin-bottom: 50px;
    }
    .read {
        margin-bottom: 50px;
    }
}

.noselect {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}
a {
    border-bottom: 1px solid #000;
}

.ya-share2 a {
    border-bottom: 0;
}

.languages {
    position: relative;
    background: #fff;
}
.selected-language {
    border-radius: 50%;
    border: 1px solid #000;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 0;
}
.options {
    position: absolute;
    left: -12px;
    padding-top: 20px;
    padding-bottom: 10px;
    box-shadow: 0px 5px 10px rgb(0 0 0 / 10%);
    display: none;
}        
.languages:hover .options {
    display: block;
}
.options a {
    display: block;
    padding: 5px 20px;    
    background: #fff;
    text-decoration: none;
    border-bottom: 0;
}
.options a:hover {
    color: #555;
}

.buy {
    width: 290px;
    /*margin-bottom: 20px;*/
}
.buy.added {
    display: none;
    /*color: transparent;
    font-size: 1px;
    background: #d0d0d0;*/
    
}
/*.buy.added:before {
    color: #fff;
    content: 'В корзине';
    font-size: 18px;
}*/

.added_to_cart {
    padding: 7px 25px;
    height: 50px;
    display: flex;
    border-radius: 25px;
    background: #d6a716;
    color: #fff;
    display: flex;
    margin-bottom: 70px;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    font-size: 18px;
    cursor: pointer;
    width: max-content;
    
    width: 290px;
    text-align: center;
    text-decoration: none;
    border-bottom: 0;
}

.shop_table th, .shop_table td {
    border: 1px solid #ccc;
    padding: 20px;
}
.shop_table img {
    width: 100px;
    height: auto;
}
.page-cart {
    margin-top: 50px;
}
.page-cart a {
    color: #000;    
}
.wc-proceed-to-checkout {
    margin-top: 30px;
}
.col-1 {
    padding-left: 0;
}
.col-1, .col-2 {
    max-width: none;
}
.col-2 {
    display: none!important;
}
.woocommerce-checkout #payment div.form-row {
    margin-bottom: 50px;
}
.shop_table {
    border-collapse: collapse!important;
}

#billing_company_field, #billing_address_2_field, #billing_country_field, #billing_address_1_field, #billing_address_2_field, #billing_city_field, #billing_state_field, #billing_postcode_field {
    display: none!important;
}
.woocommerce form .form-row label {
    min-width: 170px;
}
textarea.input-text {
    min-width: 350px;
}
.cart_totals h2, .cart_totals table {
    display: none!important;
}
.woocommerce-notices-wrapper {
    display: none;
}
.woocommerce form .form-row-first, .woocommerce-page form .form-row-first {
    float: none;
        flex-wrap: nowrap;
}
.woocommerce form .form-row-last, .woocommerce-page form .form-row-last {
    float: none;
    flex-wrap: nowrap;
}

.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
    width: 200px;
}

.auth_button {
    padding: 7px 25px;
    height: 50px;
    display: flex;
    border-radius: 25px;
    background: #d6a716;
    color: #fff;
    display: flex;
    margin-bottom: 70px;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    font-size: 18px;
    cursor: pointer;
    width: max-content;
}
.auth_button:hover {
    color: #fff;
    opacity: 0.8;
    text-decoration: none;
}
