@font-face {
    font-family: 'OpenSans-Regular';
    src: url('/public/font/open-sans/OpenSans-Regular.ttf');
}

@font-face {
    font-family: 'OpenSans-Semibold';
    src: url('/public/font/open-sans/OpenSans-Semibold.ttf');
}

body::-webkit-scrollbar {
    width: 5px;
    background: #f5f5f5;
}

body::-webkit-scrollbar-thumb {
    background: #F20009;
}

body {
    font-family: OpenSans-Regular;
}

header {
    text-align: center;
    background-color: white;
    z-index: 20;
}

header .head .options {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0;
    margin: 0 10%;
}

.text-center {
    text-align: center;
}

header ul li {
    display: inline-block;
    list-style: none;
    font-size: 16px;
    padding: 5px 5px;
    vertical-align: middle;
    text-transform: uppercase;
}

header ul li a {
    text-decoration: none;
    color: black;
}

header ul li a span {
    transition: .5s;
}

header ul li a span:hover {
    border-bottom: 1px solid gray;
}

header ul li a i {
    margin-right: 15px;
}

select {
    background-color: white;
    padding: 3px 5px;
}

header #count-product {
    background-color: #F20009;
    font-weight: bold;
    color: white;
    margin-left: 10px;
    padding: 3px 5px;
    font-size: 13px;
}

header .search-block {
    height: 130px;
    background-image: url("/public/images/header_back.webp");
    background-position: center;
    background-size: cover;
    background-position-y: 55%;
}

header .phone a {
    text-decoration: none;
    color: #f20009;
    border-radius: 25px;
    font-weight: bold;
}

header .search-block input {
    width: 550px;
    padding: 10px;
    border: none;
    margin-top: 50px;
    border-radius: 5px 5px 0px 0px;
    font-size: 16px;
    font-weight: bolder;
}

header .search-block input:focus {
    outline: none;
}

header .search-block i {
    margin-left: -35px;
    font-size: 18px;
}

header .menu-block {
    width: 300px;
    position: absolute;
    text-align: left;
}

header .menu-block .item-menu {
    transition: 0.35s;
    padding-top: 15px;
    font-weight: bold;
    text-transform: unset;
}

header .menu-block .item-menu:hover a, header .menu-block .item-menu:hover i {
    color: #F20009;
}

header .menu-block .item-menu i {
    float: right;
}

header .menu-block ul li {
    display: block;
}

main {
    margin-left: 300px;
    min-height: 700px;
}

header .filter-data {
    display: none;
    width: 280px;
    margin: 10px auto;
    padding: 10px 15px;
    background-color: #F20009;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 16px;
}

header .filter-data i {
    margin-right: 10px;
}

header .mobile-burger, header .hide-menu i {
    background-color: #EBEBEB;
    font-size: 32px;
    padding: 5px 10px;
}

header .mobile-burger, header .mobile-logo, header .hide-menu {
    display: none;
}

header .hide-menu i {
    font-size: 15px;
    margin-right: 20px;
}

header .hide-menu {
    width: 100%;
    text-align: right;
}

.back-hide {
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: black;
    opacity: 0.6;
}

header .menu-block .close-category {
    display: none;
    font-size: 24px;
    background-color: #e0e0e0;
    width: 25px;
    border-radius: 100%;
    padding: 6px 10px;
    position: absolute;
    top: 40px;
    left: 50px;
}

.bread-crums {
    display: block;
    margin: 20px 0px;
}

.bread-crums a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.bread-crums .current {
    font-weight: 100;
    color: gray;
}

footer {
    text-align: center;
    background-color: #F5F5F5;
}

footer .content div {
    text-align: left;
    display: inline-block;
    margin: 30px;
    vertical-align: top;
}

footer .content ul {
    margin-left: -40px;
}

footer .content ul li {
    list-style: none;
    padding: 5px 10px;
}

footer .content ul li a {
    color: black;
}

.hidden {
    display: none;
}

.popup {
    display: none;
    width: 350px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    background-color: white;
    padding: 45px;
    box-shadow: 0px 15px 20px hsla(0, 0%, 0%, 0.08);
    border: 1px solid gray;
}

.popup input {
    width: 100%;
    box-sizing: border-box;
}

.popup .title-block {
    text-align: left;
    font-weight: bold;
}

.popup .title-block .active {
    color: #F20009;
    text-decoration: underline;
}

.popup .title-block div:first-child {
    margin-right: 25px;
}

.popup .title-block div {
    vertical-align: top;
    display: inline-block;
    cursor: pointer;
}

.popup.login-popup {
    max-height: 468px;
}

.popup .form form > div {
    text-align: left;
    margin-top: 16px;
}

.popup .form div.phone ul li {
    display: block;
    text-transform: unset;
}

.popup form {
    margin-top: 26px;
}

.popup form input {
    padding: 10px;
    background-color: #F2F2F2;
    border: none;
}

.popup form .events {
    text-align: left;
}

.popup form input[type=submit] {
    background-color: #F20009;
    color: white;
    width: 180px;
}

.popup form input[type=submit], .popup form .cancel {
    cursor: pointer;
    padding: 10px;
    display: inline-block;
    font-weight: bold;
    text-transform: uppercase;
}

.page-404 {
    margin-top: 25px;
    text-align: center;
}

.page-404 div {
    width: 40%;
    margin: 25px;
    display: inline-block;
    vertical-align: top;
}

.page-404 div img {
    width: 100%;
}

.page-404 div:nth-child(2) {
    text-align: left;
}

.page-404 h1 {
    font-weight: bold;
    font-family: OpenSans-Semibold;
    color: #bcbcbc;
    font-size: 82px;
    margin: 0px;
    margin-top: -20px;
    margin-bottom: -40px;
}

.page-404 a {
    background-color: #F20009;
    color: white;
    font-weight: bold;
    width: 180px;
    padding: 10px;
    text-decoration: none;
}

.item-menu .sub-menu {
    margin-top: 5px;
    display: none;
    margin-left: 20px;
}

.item-menu .sub-menu a {
    display: block;
    color: gray;
    margin-top: 5px;
    font-style: italic;
}

.item-menu .sub-menu a:hover {
    text-decoration: underline;
}

input[type=hidden] {
    display: none;
}

.ui-widget {
    font-weight: bolder;
}

.ui-widget.ui-widget-content {
    padding: 10px;
    padding-left: 0px;
}

.paggination {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 10px auto;
    text-align: center;
}

.paggination a {
    text-decoration: none;
    font-size: 16px;
    font-weight: bolder;
    margin: 0 10px;
    padding: 5px 10px;
    color: gray;
    border: 1px solid #F20009;
}

.paggination a.to_back {
    border: none;
    text-decoration: underline;
}

.paggination a.current, .paggination a:not(.to_back):hover {
    background-color: #F20009;
    color: white;
}

.paggination::-webkit-scrollbar {
    height: 5px;
}

.paggination::-webkit-scrollbar-track {
    border: 1px solid #f2f2f2;
}

.paggination::-webkit-scrollbar-thumb {
    background-color: #F20009;;
}

.admin-events {
    text-align: center;
    font-size: 20px;
}

.admin-events i, .admin-events a {
    color: black;
    text-decoration: none;
    cursor: pointer;
    margin: 0px 10px;
}

.admin-events i:hover {
    color: #F20009;
}

.counter input::-webkit-outer-spin-button,
.counter input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: auto;
}

.notification {
    text-align: center;
    width: 80% !important;
    padding: 15px;
    height: 550px;
    overflow-y: auto;
}

.button {
    border: none;
    color: white;
    background-color: #F20009;
    padding: 7px 10px;
    cursor: pointer;
}

.close, .close-call-me {
    position: absolute;
    font-size: 32px;
    color: #f20009;
    cursor: pointer;
    top: 20px;
    right: 30px;
}

.notification h3 {
    font-size: 34px;
}

.notification .buttons {
    display: inline-flex;
    width: 100%;
    justify-content: space-between;
}

.notification .buttons a {
    text-decoration: none;
    color: white;
}


.notification .buttons .hide-notification, .notification .buttons .to-basket {
    width: 200px;
    border-radius: 25px;
    text-align: center;
    cursor: pointer;
    font-weight: bolder;
    color: white;
    padding: 8px 5px;
}

.notification .buttons .to-basket {
    background-color: #F20009;
}

.notification .buttons .hide-notification {
    background-color: gray;
}

.successful_order {
    width: 600px !important;
    height: 380px;
}

.successful_order h3 {
    color: #80b945;
}

.successful_order img {
    width: 250px;
}

.to-shop {
    border: 1px solid;
    cursor: pointer;
    width: 200px;
    margin: 10px auto;
}

.text-inline {
    display: inline-block;
    width: 100px;
}


/* Customize the label (the container) */
.container {
    display: inline-block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: -7px;
    left: 5px;
    height: 25px;
    width: 25px;
    border: 1px solid;
    background-color: white;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
    background-color: #f200091a;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
    background-color: #f20009;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.description-category {
    margin: 20px;
}
@media only screen and (max-width: 1366px) {
    header .menu-block {
        width: 250px;
        height: 100%;
    }

    header .menu-block ul {
        margin-left: -40px;
    }

    header .head .options {
        margin: 0;
    }

    main {
        margin-left: 250px;
    }

    .page-404 div:first-child {
        display: none;
    }

    .page-404 div {
        width: 90%;
    }
}

@media only screen and (max-width: 1024px) {
    header {
        top: 0px;
        padding-top: 10px;
        position: sticky;
    }

    header .head .options {
        display: none;
        padding: 30px 0 0 40px;
        margin: auto;
    }

    header .filter-data {
        display: block;
    }

    header .menu-block {
        width: 100%;
        display: none;
        position: fixed;
        top: 0;
        background-color: white;
    }

    header .menu-block ul {
        width: 300px;
        display: block;
        margin: 100px auto 0px auto;
    }

    main {
        margin-left: 0px;
    }

    header .head {
        display: inline-flex;
        width: 100%;
        justify-content: space-between;
    }

    header .mobile-burger, header .mobile-logo, header .hide-menu {
        display: inline-block;
        vertical-align: middle;
        margin-bottom: 10px;
    }

    header .menu-block .close-category {
        display: block;
    }

    header .options {
        display: none;
        z-index: 20;
        position: fixed;
        right: 0px;
        top: -16px;
        height: 100%;
        margin-top: 10px;
        padding-top: 20px;
        background-color: white;
        width: 250px;
    }

    header ul li {
        text-align: left;
        display: block;
        padding: 9px 25px;
        margin-left: -40px;
    }

    header ul li.logo {
        display: none;
    }

    footer {
        display: inline-flex;
        width: 100%;
        justify-content: space-between;
    }

    footer .content div {
        margin: 15px;
    }

}

@media only screen and  (max-width: 768px) {
    header .menu-block ul {
        width: 250px;
        margin-top: 10px;
    }

    header .search-block {
        height: 80px;
    }

    header .search-block input {
        margin-top: 15px;
        width: 80%;
    }

    header .menu-block .close-category {
        top: 10px;
        left: 10px;
    }

    header .menu-block ul .name {
        margin-left: -40px;
    }

    .popup {
        width: 90%;
        padding: 10px;
    }

    .notification {
        width: 90% !important;
        max-height: 90%;
    }

    .notification .buttons {
        display: block;
        width: 100%;
    }

    .notification .buttons a {
        text-decoration: none;
        color: white;
    }

    .notification .buttons .hide-notification, .notification .buttons .to-basket {
        display: block;
        margin: 10px auto;
    }

    .successful_order {
        width: 90% !important;
        height: auto;
    }

    .paggination a.to_back {
        display: block;
        margin-top: 5px;
        margin-bottom: 5px;
    }

    header .filter-data {
        width: auto;
    }
}

@media only screen and  (max-width: 320px) {
    header .menu-block ul .name {
        margin-left: -15px;
    }
}