@font-face {
    font-family: 'Formular';
    src: url("../fonts/Formular-Regular.otf");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Formular';
    src: url("../fonts/Formular-Black.otf");
    font-weight: bold;
    font-style: normal;
}

/* Preloader */

#before-load {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 1001;
}
#before-load i {
    width: 64px;
    height: 64px;
    position: absolute;
    left: 50%;
    top: 50%;
    background: url('../img/preloader.gif') no-repeat 50% 50%;
    margin: -32px 0 0 -32px;
}

/* end Preloader */

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Formular', sans-serif;
    font-size: 9pt;
    line-height: 1.8em;
}

a, a:active, a:focus {
    outline: none;
    border: none;
    user-select: none;
    color: #555555;
}

::selection {
    background: red;
    color: white;
}

#header {
    height: 90px;
    box-sizing: border-box;
    padding-left: 15%;
}

#logo {
    position: sticky;
    top: 30px;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    margin-right: -4px;
    padding-left: 4%;
    width: 15%;
}

#logo img {
    width: 100px;
    height: 274px;
}

#content {
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    margin-right: -4px;
    width: 66%;
    min-height: 300px;
    padding: 0;
}

#content h1 {
    margin-top: 0;
}

#content.contact {
    padding-right: 50px;
}

.contact p {
    text-align: justify;
    padding-bottom: 20px;

}

#rightColumn {
    position: sticky;
    top: 0;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    margin-right: -4px;
    width: 19%;
    padding-right: 30px;
}

#rightColumn .wrap {
    background: rgba(255,255,255,0.5);
    transition: background 0.2s linear;
}

#rightColumn .wrap:hover {
    background: rgba(255,255,255,1);
}

#rightColumn.indexPage .wrap, #rightColumn.indexPage .wrap:hover {
    background: none;
}

ul#menu {
    color: #000000;
    list-style: none;
    padding: 2em 2em 1.5em 2em;
    margin: 0;
}

#rightColumn.indexPage ul#menu {
    padding: 0;
    text-align: right;
}

#rightColumn.indexPage #menu a {
    font-size: 12px;
}

#rightColumn.indexPage #menu .category-filter > a {
    padding-right: 7px;
}

#rightColumn.indexPage {
    text-align: right;
}

.indexPage .cartWish {
    text-align: right;
}

.indexPage .cartWish a {
    margin: 0 0 0 15px;
}

#menu li {
    text-transform: uppercase;
    text-decoration: none;
    color: #000000;
    list-style: none;
    margin: 0;
    padding: 0 0 0.5em 0;
}

#menu a {
    text-transform: uppercase;
    text-decoration: none;
    color: #000000;
}

#menu a:hover {
    text-decoration: underline;
}

#menu a.active {
    font-weight: bold;
}

#notificationWindow {
    position: fixed;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    border: 1px solid #333333;
    color: #FFFFFF;
    background: rgba(0,0,0,0.7);
    text-align: center;
    white-space: nowrap;
    padding: 5px 10px;
    box-sizing: border-box;
    opacity: 0;
    transition: all 0.2s ease;
}

#notificationWindow.active {
    top: 25px;
    opacity: 1;
}

/* Burger */
.burger {
    width: 20px;
    height: 16px;
    position: fixed;
    z-index: 5;
    top: 25px;
    right: 25px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
    vertical-align: bottom;
    display: none;
}

.burger:hover span {
    width: 100%;
}

.burger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #000;
    border-radius: 0px;
    opacity: 1;
    left: 0;
    user-select: none;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}
.burger .burgerLine_1 {
    top: 0px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}
.burger .burgerLine_2 {
    top: 6px;
    width: 80%;
    left: auto;
    right: 0;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}
.burger .burgerLine_3 {
    top: 12px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}
.burger.open .burgerLine_1 {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 0px;
    left: 0px;
}
.burger.open .burgerLine_2 {
    width: 0%;
    opacity: 0;
}
.burger.open .burgerLine_3 {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 14px;
    left: 0px;
}
/* end Burger */

.breadcrumbs {
    display: block;
    color: #999999;
    text-transform: uppercase;
    text-decoration: none;
    padding: 3em 0 1em 0;
}

.language_switch {
    display: inline-block;
    color: #999999;
    text-transform: uppercase;
    text-decoration: none;
    margin-top: 20px;
    padding: 0 0 20px 20px;
}

.breadcrumbs > a, .language_switch > a {
    color: #000000;
}

/* shop styles */

.block {
    display: inline-block;
    position: relative;
    width: 200px;
    height: 400px;
    margin: 0 7px 10px 7px;
    overflow: hidden;
    text-align: center;
    transition: box-shadow 0.2s linear;
}

.block:hover {
    box-shadow: 0px 0px 20px #c1c1c1;
}

.block a {
    text-decoration: none;
    white-space: nowrap;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 7px;
    color: #c2c2c2;
    outline: none;
    transition: color 0.2s linear;
}

.block:hover a {
    color: #333;
}

.block .wrap {
    display: inline-block;
    position: relative;
    width: 200px;
    height: 300px;
    overflow: hidden;
    /*background: #f5f5f5;*/
}

.block img {
    position: absolute;
    width: 200px;
    height: 300px;
    /* width: 100%;
    /*height: 285px; */
    top: 0;
    left: 0;
    transition: opacity 0.2s linear;
}

.block:hover img.firstImage {
    opacity: 0;
    visibility: hidden;
}

.block p {
    margin: 12px 0 0;
    padding: 0;
    font-size: 12pt;
    color: #c2c2c2;
    transition: color 0.2s linear;
}

.block:hover p {
    color: #333;
}

.block .fa-heart {
    font-size: 18px;
    cursor: pointer;
    position: absolute;
    top: 8px;
    right: 8px;
    color: #555;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s linear;
}

.block:hover .fa-heart {
    opacity: 0.4;
    visibility: visible;
}

.block:hover .fa-heart:hover {
    opacity: 1;
}

/* end shop styles */

.cartWish {
    padding: 0 0 2em 2em;
}

.cartWish a {
    display: inline-block;
    margin-right: 15px;
    transition: all 0.2s linear;
}

.cartWish a:hover {
    transform: translateY(-3px);
}

.cartWish a i {
    color: #555;
    font-size: 18px;
}

.addWish {
    color: #cfcfcf;
    font-size: 20px;
    border: 1px solid #cfcfcf;
    padding: 5.5px 10px;
    display: none !important;
    vertical-align: top;
    margin-top: 20px;
    margin-left: 5px;
    cursor: pointer;
}

.form_order, .form_user {
    max-width: 400px;
}

.form_order h2 {
    font-size: 24px;
    margin: 40px 0 15px;
}

.form_order input, .form_order select, .form_user input {
    box-sizing: border-box;
    padding: 10px 15px 5px 5px;
    width: 100%;
    margin-bottom: 15px;
    border: none;
    border-bottom: 1px solid #999;
    font-size: 14px;
}

.form_order select {
    padding-left: 0px;
}

.form_order button, .form_user button {
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 15px;
    font-size: 14px;
    margin-top: 20px;
    background: #555555;
    border: none;
    color: #FFF;
    padding: 12px;
    transition: all 0.2s ease;
}

.form_order button:hover, .form_user button:hover {
    background: #333333;
}

.removePosition {
    position: absolute;
    top: 10px;
    right: 10px;
    color : #CCC;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.removePosition:hover {
    color: #333333;
}

.sizeButton {
    display: inline-block;
    padding: 3px 7px;
    margin-top: 2px;
    margin-left: 5px;
    border-radius: 5px;
    border: 1px solid #CCC;
    color: #9a9a9a;
    min-width:15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sizeButton.check {
    color: #222222;
    border-color: #222222;
}

.sizeButton[data-count="0"] {
    cursor: default;
    border-color: transparent;
    text-decoration: line-through;
}

.count_position input {
    text-align: center;
    box-sizing: border-box;
    width: 35px;
    height: 35px;
    margin: 2px;
    color: #5e5e5e;
    border: 1px solid #5e5e5e;
}

.btn_buy {
    display: inline-block;
    background: #555555;
    border: 1px solid #555555;
    color: white;
    padding: 10px 40px;
    margin: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn_buy:hover {
    background: #333333;
    border-color: #333333;
}

.btn_buy:active {
    transform: translateY(2px);
}

.btn_buy.active {
    background: white;
    border: 1px solid #CCCCCC;
    color: #CCCCCC;
    cursor: default;
}

.btn_buy.desktop {
    font-style: normal;
}

.btn_buy .mobile {
    display: none;
}

.btn_wish {
    display: inline-block;
    background: white;
    border: 1px solid #555555;
    color: #555555;
    padding: 10px;
    width: 35px;
    margin: 2px;
    cursor: pointer;
}

.btn_wish_remove {
    display: inline-block;
    background: white;
    border: 1px solid #CCCCCC;
    color: #CCCCCC;
    padding: 10px;
    margin: 2px;
    cursor: default;
}

.div_wish .block:hover .p_price {
    display: none;
}

.block p.wish_remove {
    font-size: 12px;
    color: #afafaf;
    margin-top: 10px;
    cursor: pointer;
    display: none;
    transition: color 0.2s ease;
}

.block p.wish_remove:hover {
    color: red;
}

.div_wish .block:hover .wish_remove {
    display: block;
}

.col_photos {
    position: relative;
    display: inline-block;
    vertical-align: top;
    margin-right: -4px;
    width: 50%;
}

.wrap_photos {
    overflow: hidden;
    white-space: nowrap;
}

.arrowLeft {
    position: absolute;
    left: 5px;
    top: 50%;
    margin-top: -20px;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.arrowRight {
    position: absolute;
    text-align: right;
    right: 5px;
    top: 50%;
    margin-top: -20px;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.arrowLeft i, .arrowRight i {
    font-size: 40px;
    color: #c7c7c7;
    transition: color 0.2s ease;
}

.arrowLeft:hover i, .arrowRight:hover i {
    color: #555555;
}

.col_photos a {
    display: inline-block;
    vertical-align: top;
    margin-bottom: 10px;
    cursor: zoom-in;
}

.col_photos a img {
    display: block;
    width: 100%;
}

.col_product {
    display: inline-block;
    vertical-align: top;
    margin-right: -4px;
    width: 50%;
    height: 100px;
    box-sizing: border-box;
    padding: 10px 20px 20px 20px;
    height: 100px;
}

.price {
    font-size: 22px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.div_cartBlock {
    position: relative;
    padding: 10px 10px 10px 0;
    border-bottom: 1px dashed #CCCCCC;
    position: relative;
}

.a_img {
    display: inline-block;
    vertical-align: top;
    width: 133px;
}

.a_img img {
    width: 133px;
    height: 200px;
}

.div_rightBlock {
    display: inline-block;
    vertical-align: top;
    padding-left: 15px;
    width: 45%;
}

.div_rightBlock a {
    color: #333;
    font-size: 18px;
    text-decoration: none;
}

#PrivacyPolicy {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 14px;
    padding: 10px 12px;
    background: rgba(100,100,100,0.8);
    color: #cacaca;
}

#PrivacyPolicy a, .PrivacyPolicy_agree {
    color: #cacaca;
    transition: color 0.2s ease;
    cursor: pointer;
    text-decoration: underline;
}

#PrivacyPolicy a:hover, .PrivacyPolicy_agree:hover {
    color: #ffffff;
}

.div_address {
    display: none;
}

.delivery_cost {
    text-align: right;
    color: #a0a0a0;
    margin-top: 10px;
}

input[name="promocode"] {
    border: none;
    width: 110px;
    padding-bottom: 3px;
    border-bottom: 1px dotted #828079;
}

span[data-promocode] {
    color: red;
}

.sendPromocode {
    cursor: pointer;
    margin-left: 5px;
}

.size-collapse {
    margin-top: 15px;
}

.size-collapse > span {
    border-bottom: 1px dashed;
    cursor: pointer;
}

.size-collapse > div {
    display: none;
}

.size-collapse > div.show {
    display: block;
}

.table-sizes {
    margin-top: 5px;
    border:1px solid #e4e4e4;
    border-collapse:collapse;
    padding:5px;
}
.table-sizes th {
    border:1px solid #e4e4e4;
    padding:5px;
    background: #f0f0f0;
    color: #313030;
}
.table-sizes td {
    border:1px solid #e4e4e4;
    text-align:center;
    padding:5px;
    background: #ffffff;
    color: #313030;
}

.split-block {
    display: flex;
    margin-top: 35px;
    max-width: 290px;
}

.split-block > div {
    flex: 1 1 100%;
    margin: 2px;
    text-align: center;
    line-height: 16px;
}

.split-block > div > div.line {
    background: #e8e8e8; 
    height: 4px; 
    border-radius: 4px;
    margin-bottom: 4px;
}

.split-block > div:first-child > div.line {
    background: #50beb3; 
}

.fa-shopping-cart {
    position: relative;
}

.fa-shopping-cart:after {
    display: inline-block;
    /* line-height: 16px; */
    position: absolute;
    top: 3px;
    right: 0;
    color: #FFFFFF;
    /* background: rgba(255,255,255,0.8); */
    border-radius: 50%;
    /* border: 1px solid #a9a9a9; */
    width: 16px;
    height: 16px;
    text-align: center;
    font-size: 9px;
    content: attr(data-content);
}

.d-none {
    display: none;
}

.sertificates img {
    max-width: 100%;
}

.div_categories {
    display: flex;
    flex-wrap: wrap;
    padding: 2em;
    background-color: #fff;
}

.div_category {
    cursor: pointer;
    padding: 0px 4px;
    border: 1px solid #c7c7c7;
    margin: 2px;
    color: #ababab;
}

.div_category.active {
    color: #333;
    border-color: #333;
}

.block.hide {
    display: none;
}

.category-filter {
    position: absolute;
    right: calc(100% - 5px);
    top: 8px;
    padding: 15px 25px 15px 20px;
    background: #fff;
    white-space: nowrap;
    box-shadow: 0px -1px 10px 0px #b3b3b3;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#menu li:hover a[href$="shop.php"] + .category-filter {
    opacity: 1;
    visibility: visible;
}

.category-filter > span,
#rightColumn #menu .category-filter > a {
    display: block;
    padding: 2px 0;
    cursor: pointer;
    width: calc(100% + 45px);
    user-select: none;
}

.category-filter > span:hover
{
    color: #777;
}

.category-filter > span.selected {
    text-decoration: underline;
    text-underline-offset: 2px;
}

#rightColumn.indexPage .category-filter {
    right: 140px;
    top: -15px;
    background: transparent;
    box-shadow: none;
}

#rightColumn.indexPage #menu .category-filter > a {
    width: 100%;
}

.Player {
    position: fixed; 
    bottom: 40px; 
    right: 25px;
}

.Player i.far {
    font-size: 35px;
    color: #555555;
}

.Player span.trackName {
    position: absolute; 
    top: 5px; 
    right: 45px; 
    width: 190px; 
    line-height: 13px; 
    text-align: right;
}

.Player span.trackName div {
    font-size: 11px;
}

/* Start media styles */

@media(max-width: 1060px){
    #logo {
        display: none;
    }

    #logo.index {
        width: 100px;
        padding-left: 15px;
        display: inline-block;
    }

    #header {
        padding-left: 50px;
    }

    #content {
        padding-left: 50px;
        width: 70%;
    }
}

@media(max-width: 860px){

    #header {
        padding-left: 25px;
        height: 60px;
    }

    #rightColumn {
        position: fixed;
        z-index: 1;
        top: 0;
        right: -195px;
        width: 190px;
        padding: 0;
        transition: right 0.2s ease;
    }

    #rightColumn.open {
        right: 0;
        box-shadow: 0px 0px 20px 0px #d3d3d3;
    }

    #rightColumn .wrap, #rightColumn.indexPage .wrap, #rightColumn.indexPage .wrap:hover {
        background: #ffffff;
    }

    #rightColumn.indexPage ul#menu {
        padding: 2em 2em 1.5em 2em;
        text-align: left;
    }

    #rightColumn.indexPage, #rightColumn.indexPage .cartWish {
        text-align: left;
    }

    #rightColumn.indexPage .cartWish a {
        margin: 0 15px 0 0;
    }

    #rightColumn.indexPage .language_switch {
        margin-top: 0;
    }

    .burger {
        display: inline-block;
    }

    .breadcrumbs {
        padding-top: 23px;
        padding-right: 60px;
    }

    #content, #content.contact {
        width: 100%;
        padding: 20px;
    }

    .category-filter {
        position: relative;
        opacity: 1;
        visibility: visible;
        top: 0;
        right: auto;
        box-shadow: none;
        padding: 5px 5px 2px 10px;
    }

    #rightColumn.indexPage .category-filter {
        top: 0;
        right: auto;
    }
}

@media(max-width: 540px){
    .btn_buy {
        padding: 10px 15px;
    }
    .btn_buy .desktop {
        display: none;
    }
    .btn_buy .mobile {
        display: inline;
    }
    .wrap_photos {
        overflow: visible;
        white-space: normal;
    }
    .arrowLeft, .arrowRight {
        display: none;
    }
}

@media(max-width: 500px){
    .content__shop {
        display: flex;
        flex-wrap: wrap;
    }
    .block, .block .wrap {
        width: 100%;
    }
    .block {
        flex-basis: 44%;
        width: 44%;
        height: 320px;
    }
    .block .wrap {
        height: 230px;
    }
    .block img {
        top: 15px;
        left: calc(50% - 70px);
        width: 140px;
        height: 210px;
    }
    .split-block > div {
        white-space: nowrap;
    }
    .split-block > div:first-child {
        display: block;
    }
    .split-block > div b {
        font-weight: normal;
    }
}

@media(max-width: 290px) {
    .block {
        flex-basis: 100%;
        width: 100%;
    }
}