:root {
    --main-color: #5796d7;
    --main-translucent-color: rgba(87, 150, 215, .35);
    --main-link-color: #c1433f;
    --link-hover-color: #468bb1;
    --text-color: #333;
    --h-color: #000;
    --text-light-color: #848484;
    --h-light-color: #272727;
    --background-color: #fff;
}

* {
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font: normal 14px/20px Arial, Helvetica, sans-serif;
    color: var(--text-color);
    background: url('img/background/body.png');
    min-width: 350px;
}

section {
    background: var(--background-color);
    padding: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 7px;
    margin-bottom: 10px;
}

a {
    text-decoration: none;
    color: var(--main-link-color);
}

a:hover {
    color: var(--link-hover-color);
}

.relative {
    position: relative;
}

h1 {
    font-size: 1.6rem;
    line-height: 2rem;
}

h1:not(:only-child), h2:not(:only-child), h3:not(:only-child), h4:not(:only-child), h5:not(:only-child), h6:not(:only-child) {
    margin: .6rem 0;
}

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

.bold {
    font-weight: 700;
}

.accent_text {
    color: var(--main-link-color);
}

/* Width */
.width100 {
    width: 100%;
}

.width80 {
    width: 80%;
}

.width60 {
    width: 60%;
}

.width50 {
    width: 50%;
}

.width40 {
    width: 40%;
}

.width33 {
    width: 33%;
}

.width25 {
    width: 25%;
}

.width20 {
    width: 20%;
}

/* End Width */

/* Header */
#header {
    margin-bottom: 10px;
}

#headerbar {
    display: flex;
    font-size: 1.1rem;
    padding: 10px 15px 0 15px;
    margin-bottom: 10px;
}

#header a {
    font-weight: 700;
}

#headerbar .header_logo {
    display: flex;
    align-items: center;
    background: url('img/logo/logo_vector_pechat_za_chas.svg') no-repeat;
    width: 80px;
    height: 100px;
    background-size: contain;
    margin: auto 30px auto 0;
}

#headerbar .header_company {
    display: flex;
    flex-direction: column;
    margin: auto;
    flex: 1;
}

#headerbar .header_company p {
    font-size: 0.8rem;
}

#header_company_name {
    color: #000;
    font-size: 2rem;
}

#header_company_name span {
    color: var(--main-color);
}

#headerbar .header_contacts {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    margin: auto;
}

#headerbar .header_contacts p {
    margin-bottom: 8px;
}

/* Nav Main */
#navigation ul {
    padding: 0;
    list-style-type: none;
    display: flex;
    margin: 0;
}

#navigation li.level1 {
    flex: 1;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

#navigation li.level1:hover > a {
    background: #888;
}

#navigation li.level1 > a {
    color: #fff;
    background: #555;
    width: 100%;
    padding: 15px 0;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 6px solid rgba(0, 0, 0, .5);
    letter-spacing: 1px;
}

#navigation li.level1:first-child > a {
    border-radius: 0 0 0 4px;
}

#navigation li.level1:last-child > a {
    border-radius: 0 0 4px 0;
}

#navigation li.level1.active > a {
    background: var(--main-color);
}

#navigation .level2 {
    display: none;
    top: 100%;
    position: absolute;
    background: #555;
    width: max-content;
}

#navigation a {
    font-weight: inherit;
}

.level2 a {
    color: #fff;
    display: block;
    letter-spacing: .3px;
    padding: .3rem .5rem;
}

#navigation .level1:hover .level2 {
    display: block;
}

.level2 li:hover a {
    background: #888;
}

.level2 li.active > a {
    background: var(--main-color);
}

.level2 ul {
    flex-direction: column;
    text-align: left;
}

.level2 a {
    color: #fff;
}

/* End Nav Main */

/* End Header */

/* Social media, messengers, etc*/
.social_media {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.social_media > ul {
    padding: 0;
    list-style-type: none;
    display: flex;
    margin: 0;
}

.social_media > ul > li {
    width: 40px;
    height: 40px;
    margin-right: 30px;
}

.social_media > ul > li a {
    width: 100%;
    height: 100%;
    background-size: cover !important;
    display: block;
}

.social_media li a.wa_icon {
    background: url('img/messengers/whatsapp-pechat-za-chas.png');
}

.social_media li a.tg_icon {
    background: url('img/messengers/telegram-pechat-za-chas.png');
}

.social_media li a.mail_icon {
    background: url('img/messengers/email_mobile.png');
}

header .social_media li:last-child {
    display: none;
}

/* End Social media ...*/

/* Ask to call button */
.ask_to_call, #temp_notification button {
    cursor: pointer;
    border-radius: 10px;
    background-color: var(--main-link-color);
    font-size: 20px;
    padding: 5px 15px;
    color: #fff;
    text-transform: uppercase;
    border: 1px solid #fff;
    -webkit-transition-duration: .2s;
    -moz-transition-duration: .2s;
    -o-transition-duration: .2s;
    transition-duration: .2s;
}

.ask_to_call:hover, #temp_notification button:hover {
    -webkit-transition-duration: .2s;
    -moz-transition-duration: .2s;
    -o-transition-duration: .2s;
    transition-duration: .2s;
    background-color: transparent;
    color: var(--main-link-color);
    border-color: var(--main-link-color);
}

/* End Ask to call button*/

.text_block {
    text-align: center;
    font-size: 1.6rem;
    line-height: 2rem;
}

.text_block span {
    color: red;
}

/* Page card */
.stock {
    position: relative;
}

.stock:after {
    content: '';
    display: block;
    background: url(/media/img/card_pages/stock.png?date=20200227-1) 50% 50% no-repeat;
    background-size: contain;
    position: absolute;
    width: 150px;
    height: 50px;
    bottom: 0;
    left: 50%;
}

/*.stock_2 {
    position: relative;
}
.stock_2:after {
    content: '';
    display: block;
    background: url(/media/img/card_pages/stock_2.png?date=20200227-2) 0 0 no-repeat;
    background-size: contain;
    position: absolute;
    width: 200px;
    height: 100%;
    bottom: 0;
    left: 0
}*/

.page_card_wrapper {
    display: flex;
    flex-wrap: wrap;
}

.page_card_wrapper > * {
    flex-basis: 49%;
    margin-bottom: 15px;
}

.page_card_wrapper > *:nth-child(2n+1) {
    margin-right: 2%;
}

.page_card_index {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.page_card_index .page_card_img_wrapper img {
    width: auto;
    display: flex;
    margin: auto;
}

.page_card_index section {
    displaY: flex;
    flex-direction: column;
    height: 100%;
}

.page_card_index > * {
    flex-basis: 32%;
}

.page_card_delivery {
    display: flex;
}

.page_card_delivery .price_text {
    margin-top: .7rem;
}

.page_card_delivery section > div {
    display: flex;
    align-items: center;
}

.page_card_img_wrapper img {
    width: 100%;
}

.page_card h3 {
    border-bottom: 5px solid var(--main-color);
}

.page_card_wrapper section.page_card {
    margin-bottom: 0;
}

.page_card_wrapper .page_card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page_card_wrapper .page_card > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    margin-top: 15px;
}

.page_card_wrapper .page_card > div > div:first-child {
    flex-basis: 25%;
}

.page_card_wrapper .page_card > div > div:last-child {
    flex-basis: 65%;
}

.page_card_wrapper table {
    width: 100%;
}

.page_card tr:last-child {
    font-weight: 700;
}

/* End page card*/

.price_text {
    color: var(--main-color);
    text-align: center;
    font-size: 1.6rem;
}

.shadow_box {
    cursor: pointer;
    transition: .2s;
}

.shadow_box:hover {
    box-shadow: var(--main-translucent-color) 0 0 10px 5px;
    transition: .2s;
}

/* Footer */
footer {
    margin-top: 2rem;
    padding: .5rem;
}

footer .footer_main {
    display: flex;
}

footer .social_media > ul > li:last-child {
    margin-right: 0;
}

footer .social_media {
    align-items: flex-end;
    flex-direction: column;
}

.social_media li a.vk_icon {
    background: url(img/socialmedia/vk.png);
}

.social_media li a.fb_icon {
    background: url(img/socialmedia/facebook.png);
}

.social_media li a.inst_icon {
    background: url(img/socialmedia/instagram.png);
}

.social_media li a.tw_icon {
    background: url(img/socialmedia/twitter.png);
}

.ya-share2 {
    margin-top: 5px;
}

.policy {
    color: var(--text-light-color);
    font-size: .8rem
}

.policy a {
    color: var(--text-light-color);
    text-decoration: underline;
}

/* End footer*/

.t_align_center {
    text-align: center;
}

/* Tables */
.main_table {
    width: 100%;
    margin: 15px 0;
    border-collapse: collapse;
}

.main_table tbody {
    border: 2px solid #c3c3c3
}

.main_table th {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 8px 0;
    background: var(--main-translucent-color);
    text-align: center;
}

.main_table td {
    padding: 5px;
}

.delivery_table td {
    border: 2px solid #c3c3c3;
}

.delivery_table tr td:nth-child(2) {
    color: var(--main-color);
    text-align: center;
}

.main_table.contacts_table th {
    text-align: left;
    padding: 5px;
}

.contacts_table td {
    border-right: 2px solid #c3c3c3;;
}

.contacts_table th {
    border: 2px solid #c3c3c3;;
}

.contacts_nav {
    justify-content: center;
    margin: 20px 0;
}

.contacts_nav > ul > li {
    width: 80px;
    height: 80px;
    margin-right: 30px;
}

.contacts_nav li a {
    border: 1px solid var(--text-light-color);
    border-radius: 15px;
}

.contacts_nav > ul > li:last-child {
    margin-right: 0;
}

.social_media li a.ya_map_icon {
    background: url('img/navigators/yandex_maps.png');
}

.social_media li a.ya_nav_icon {
    background: url('img/navigators/yandex_navigator.png');
}

.social_media li a.g_map_icon {
    background: url('img/navigators/google_maps.png');
}
.table_no_border.main_table tbody {
    border:none;
}
/* End Tables */

.highlighted_text {
    color: var(--main-link-color);
    font-weight: 700;
}

.maincolor_text {
    color: var(--main-color);
}

a.no_decor {
    color: inherit;
    display: block;
}

/* FORM */
.hidden {
    display: none !important;
}

.selectable_block {
    width: 100%;
    text-align: center;
    line-height: 2.5;
    background-color: #e8e8e8;
    padding: 0 12px;
    cursor: pointer;
    margin-right: 1%;
    border-radius: 3px;
    border: 1px solid #c3c3c3;
}

.selectable_block:hover {
    background-color: #fffae6;
}

/*Colors*/
#colors_main_block {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

#colors_main_block > label {
    flex-basis: 18%;
    display: block;
}

input[name=imprint_color]:checked + label .blue_cb {
    color: #fff;
    background: blue;
}

input[name=imprint_color]:checked + label .black_cb {
    color: #fff;
    background: black;
}

input[name=imprint_color]:checked + label .red_cb {
    color: #fff;
    background: red;
}

input[name=imprint_color]:checked + label .purple_cb {
    color: #fff;
    background: purple;
}

input[name=imprint_color]:checked + label .green_cb {
    color: #fff;
    background: green;
}

/*End Colors*/

/*Time To Make*/
#ttm_main_block {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

#ttm_main_block > label {
    width: 30%;
}

input[name=ttm]:checked + label div {
    background: var(--main-color);
    color: #fff;
}

/*End Time To Make*/

/* Input text */
.input_text {
    display: flex;
    justify-content: space-between;
    width: 70%;
}

.input_text:not(:first-child) {
    margin-top: 15px;
}

.input_text label {
    flex-basis: 25%;
    margin-right: 50px;
}

.input_text *:last-child {
    flex-basis: 75%;
}

.input_longtext {
    display: flex;
    justify-content: space-between;
    width: 70%;
}

.input_longtext:not(:first-child) {
    margin-top: 15px;
}

.input_longtext label {
    flex-basis: 45%;
    margin-right: 50px;
}

.input_longtext *:last-child {
    flex-basis: 55%;
}

/* End Input text */

fieldset {
    border: 1px solid #aac3dc;
    border-radius: 9px;
}

legend {
    font-size: 1.3rem;
    line-height: 2.2rem;
}

/* ITEM BLOCK */
.no_price .item_price {
    display: none;
}

.item_container {
    display: flex;
    flex-wrap: wrap;
}

.item_wrapper:not(:nth-child(6n)) {
    margin-right: 2%;
}

.item_wrapper {
    flex-basis: 15%;
    border-radius: 5px;
    border: 3px solid transparent;
    padding: 5px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.item_wrapper:hover {
    border: 3px solid var(--main-color);
}

.item_container .selected {
    background: rgba(87, 150, 215, .2);
    border: 3px solid var(--main-color);
}

.item_container .selected .item_quantity {
    background: #928BEE;
    color: #fff;
}

.item_wrapper .img_wrap {
    max-width: 180px;
    text-align: center;
    /*display: flex;*/
    height: auto;
}

.item_wrapper .img_wrap img {
    width: 90%;
    margin: auto;
    cursor: pointer;
}

.item_title {
    font-weight: 700;
    text-align: center;
}

.client_imprint:before {
    content: 'От ';
}

.item_price {
    text-align: center;
    color: var(--main-link-color);
}

.item_quantity_wrap {
    display: flex;
    justify-content: space-around;
}

.item_quantity {
    text-align: center;
    height: 30px;
    width: 30px;
    font-size: 1.3rem;
    border-radius: 100%;
    border: 1px solid #555;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.item_container .active .item_quantity {
    background: #f8ac09;
}

.item_dec {
    cursor: pointer;
    background: #bd615e;
    height: 30px;
    width: 30px;
    border-radius: 5px;
    position: relative;
}

.item_dec:before {
    content: '';
    display: block;
    width: 70%;
    height: 4px;
    background: #fff;
    position: absolute;
    top: calc(50% - 2px);
    left: 15%;
}

.item_inc {
    cursor: pointer;
    background: var(--main-color);
    height: 30px;
    width: 30px;
    border-radius: 5px;
    position: relative;
}

.item_inc:before {
    content: '';
    display: block;
    width: 70%;
    height: 4px;
    background: #fff;
    position: absolute;
    top: calc(50% - 2px);
    left: 15%;
}

.item_inc:after {
    content: '';
    display: block;
    height: 70%;
    width: 4px;
    background: #fff;
    position: absolute;
    left: calc(50% - 2px);
    top: 15%;
}

/* End ITEM BLOCK */

.submit_wrapper {
    text-align: center;
    margin: 15px 0;
}

.submit_wrapper input[type=submit] {
    cursor: pointer;
    font-size: 1.8rem;
    line-height: 2rem;
    color: #fff;
    background: var(--main-color);
    border: 1px solid #555;
    border-radius: 5px;
    padding: 5px 20px;
    transition: .5s;
}

.submit_wrapper input[type=submit]:hover {
    background: #fff;
    color: var(--main-color);
    font-size: 2rem;
}

/* Table*/
#order_table {
    margin: 1.5rem auto;
    width: 80%;
    position: -webkit-sticky;
    position: sticky;
    bottom: 1rem;
}

#order_table tr > * {
    padding: .25rem;
    background: var(--background-color);
}

#order_table th {
    text-align: left;
    background: rgb(191, 213, 237);
}

#order_table tr > td:nth-child(1) {
    width: 50%;
}

#order_table tr > td:nth-child(2) {
    width: 20%;
    text-align: center;
}

#order_table tr > td:nth-child(2) > div {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    width: fit-content;
    margin: auto;
}

#order_table tr > td:nth-child(3) {
    width: 30%;
    text-align: right;
}

#order_table tr:last-child td {
    text-align: right;
    padding: .8rem;
    font-size: 1.7rem;
}

.table_dec {
    cursor: pointer;
    background: #bd615e;
    height: 1.2rem;
    width: 1.2rem;
    border-radius: 5px;
    position: relative;
    margin-right: .6rem;
}

.table_dec:before {
    content: '';
    display: block;
    width: 70%;
    height: 4px;
    background: #fff;
    position: absolute;
    top: calc(50% - 2px);
    left: 15%;
}

.table_inc {
    cursor: pointer;
    background: var(--main-color);
    height: 1.2rem;
    width: 1.2rem;
    border-radius: 5px;
    position: relative;
    margin-left: .6rem;
}

.table_inc:before {
    content: '';
    display: block;
    width: 70%;
    height: 4px;
    background: #fff;
    position: absolute;
    top: calc(50% - 2px);
    left: 15%;
}

.table_inc:after {
    content: '';
    display: block;
    height: 70%;
    width: 4px;
    background: #fff;
    position: absolute;
    left: calc(50% - 2px);
    top: 15%;
}

/* Table*/

/* colors */
img.black {
    filter: saturate(0);
}

img.red {
    filter: hue-rotate(125deg) brightness(1.2);
}

img.purple {
    filter: hue-rotate(45deg) brightness(1.2)
}

img.green {
    filter: hue-rotate(245deg) brightness(1.1)
}

.required:after {
    content: '*';
    padding-left: .2rem;
    color: red;
}

/* END FORM*/
input[type=file] {
    display: none;
}

.inputfile + label svg {
    width: 1em;
    height: 1em;
    vertical-align: middle;
    fill: currentColor;
    margin-top: -0.25em;
    margin-right: 0.25em;
}

input[type=file] + label:hover {
    background: var(--main-link-color);
}

input[type=file] + label {
    transition: .2s;
    color: #f1e5e6;
    background-color: var(--main-color);
    font-size: 1.2rem;
    line-height: 1.2rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    padding: 0.3rem .5rem;
    border-radius: 4px;
}

/* Tabs */
.tabs_cont {
    display: flex;
}

.tabs_cont > div {
    padding: 5px 10px;
    background: #333;
    color: #fff;
    margin-bottom: 10px;
    cursor: pointer;
}

.tabs_cont > div:first-child {
    border-radius: 5px 0 0 0;
}

.tabs_cont > div:not(:first-child ) {
    margin-left: 2px;
}

.tabs_cont > div:last-child {
    border-radius: 0 5px 0 0;
}

.tabs_cont > div:hover {
    background: #555;
}

.tabs_cont > div.tab_active {
    background: var(--main-color);
}

/* End Tabs */

.form_info {
    background: var(--main-translucent-color);
    padding: .5rem 1.5rem;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    margin: 1rem 0;
}

.form_info span:first-child {
    displaY: flex;
    background: #fff;
    border-radius: 100%;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: space-around;
    color: var(--main-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 1rem;
}

.form_info span:last-child {
    flex: 1;
}

#form_warning {
    background: var(--main-link-color);
    color: #fff;
    font-weight: 700;
}

#form_warning span:first-child {
    color: var(--main-link-color);
}

#success h1 {
    text-align: center;
}

.flex_50 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
}

.flex_50 > * {
    flex-basis: 47%
}

.tablichka img {
    width: 100%;
}

input[name=mobile_menu_input] + label {
    display: none;
}

#mobile_info_block {
    display: none;
}

#advantages {
    display: flex;
    justify-content: space-around;
}

#advantages > a {
    display: flex;
    padding: 5px 10px;
    border-radius: 10px;
}

#advantages > a div:first-child {
    flex: 4;
    padding-right: 10px;
}

#advantages img {
    width: 100%;
}

#advantages a div:last-child {
    flex: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

#advantages > div {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: space-around;
}

#advantages > div a {
    padding: 5px 10px;
    font-size: 1.5rem;
    line-height: 2rem;
}

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

#popup_form form {
    display: flex;
    flex-direction: column;
    width: fit-content;
    padding: 2rem;
    border: 1px solid #e5e5e5;
    margin: auto;
    background: #fff;
    font-size: 1.4rem;
    border-radius: 15px;
    position: relative;
}

#popup_form form > *:not(:first-child) {
    margin-top: 1rem;
}

#popup_form form > input {
    padding: .1rem .3rem;
    font-size: 1.2rem;
}

#popup_form input[type=submit] {
    cursor: pointer;
    font-size: 1.8rem;
    line-height: 2rem;
    color: #fff;
    background: var(--main-color);
    border: 1px solid #555;
    border-radius: 5px;
    padding: 5px 20px;
    transition: .5s;
}

#close_popup {
    display: block;
    position: absolute;
    width: 40px;
    height: 40px;
    top: 0;
    margin-top: 0 !important;
    left: calc(100% - 50px);
    cursor: pointer;
}

#close_popup:hover:before {
    background: var(--main-link-color)
}

#close_popup:hover:after {
    background: var(--main-link-color)
}

#close_popup:before {
    content: '';
    width: 100%;
    height: 6px;
    background: var(--main-color);
    display: block;
    position: absolute;
    top: 50%;
    transform: rotate(45deg);
}

#close_popup:after {
    content: '';
    width: 100%;
    height: 6px;
    background: var(--main-color);
    display: block;
    position: absolute;
    top: 50%;
    transform: rotate(135deg);
}

.longread > *:not(:first-child) {
    margin-top: .7rem;
}

#text_for_bottom {
    overflow: hidden;
    height: 350px;
    color: #848484
}

#text_for_bottom h1, #text_for_bottom h2, #text_for_bottom h3, #text_for_bottom h4 {
    color: #272727 !important
}

#gradient_for_bottom {
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), to(#fff)) !important;
    background: linear-gradient(rgba(247, 247, 249, 0), rgba(247, 247, 249, 1)) !important;
    height: 145px;
    margin: -145px 0 0;
    position: relative;
    box-shadow: none !important
}

#readmore {
    box-shadow: none !important;
    cursor: pointer;
    text-decoration: underline
}

#readmore:after {
    content: ' »'
}

.table_metro {
    line-height: 2rem;
    word-break: break-all;
}

.table_metro a {
    color: #000;
    padding: 7px;
}

.table_metro a:hover {
    color: #9b9b9b;
}

.metro_link {
    color: initial;
}

.metro_link:hover {
    color: #9b9b9b;
}

#page404 {
    text-align: center;
}

#page404 h1 {
    font-size: 2rem;
    line-height: 2.5rem;
}

#metro {
    display: flex;
    justify-content: space-around;
    font-size: 1rem;
}

#metro > div {
    height: 40px;
    display: flex;
    align-items: center;
}

#metro > div > div:last-child {
    flex-basis: 25%;
}

#metro > div > div:first-child {
    width: 25px;
    height: 25px;
    background-size: contain;
}

#metro .yellow_m {
    background: url('/media/img/metro/yellow.png') 50% 50% no-repeat
}

#metro .red_m {
    background: url('/media/img/metro/red.png') 50% 50% no-repeat
}

#metro .green_m {
    background: url('/media/img/metro/green.png') 50% 50% no-repeat
}

#metro .gray_m {
    background: url('/media/img/metro/gray.png') 50% 50% no-repeat
}

/* Temporary notification */
#temp_notification {
    z-index: 100;
    background: rgba(0, 0, 0, .3);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
}

#temp_notification > div {
    max-width: 450px;
    margin: auto;
    padding: 20px 50px;
    background: #fff;
    border-radius: 10px;
    font-size: 1.1em;
}

#temp_notification > div > *:not(:first-child) {
    margin-top: 15px;
}

#temp_notification button {
    width: 100%;
}

/* Temporary notification */

.files_container {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}
.hiddenRows tr:not(:first-child):not(:last-child) {
    display: none;
}
#tableSwitcher {
    text-align: right !important;
    cursor: pointer;
    padding-right:35px;
}

#tableSwitcher:after {
    display: block;
    content: '';
    width: 30px;
    height: 80%;
    position: absolute;
    top: 5%;
    right: 0;
    background: url(img/tabl/close.png?date-1) 50% 50% no-repeat;
    background-size: contain;
}
.hiddenRows #tableSwitcher:after{
    background: url(img/tabl/open.png?date-1) 50% 50% no-repeat;
    background-size: contain;
}

@media screen and (max-width: 1100px) {
    #metro {
        display: none;
    }

    #headerbar .header_company {
        margin: auto;
    }

    .input_longtext {
        width: 80%;
    }
}

@media screen and (max-width: 1020px) {
    #colors_main_block {
        flex-wrap: wrap;
        justify-content: space-around;
    }

    #colors_main_block > label {
        flex-basis: 32%;
        margin-bottom: 1rem;
    }

    .item_wrapper:not(:nth-child(6n)) {
        margin-right: 0;
    }

    .item_wrapper {
        flex-basis: 18%;
    }

    .item_wrapper:not(:nth-child(5n)) {
        margin-right: 2.5%;
    }

    .input_text {
        width: 100%;
    }
}

@media screen and (max-width: 960px) {
    .input_longtext {
        width: 100%;
    }

    .files_container {
        display: block;
    }
}

@media screen and (max-width: 900px) {
    .page_card_wrapper > *:nth-child(2n+1) {
        margin-right: 0;
    }

    .page_card_wrapper > * {
        flex-basis: 100%;
    }
}

@media screen and (max-width: 850px) {
    .item_wrapper:not(:nth-child(5n)) {
        margin-right: 0;
    }

    .item_wrapper {
        flex-basis: 24%;
    }

    .item_wrapper:not(:nth-child(4n)) {
        margin-right: 1.33%;
    }
}

@media screen and (max-width: 800px) {
    .input_longtext {
        flex-direction: column;
    }
}

@media screen and (max-width: 760px) {
    #headerbar .header_company p {
        font-size: inherit;
    }

    header .social_media li:last-child {
        display: inherit;
    }

    header .social_media li:nth-child(2) {
        display: none;
    }

    header .social_media li a.wa_icon {
        background: url('/media/img/messengers/whatsapp_mobile.png');
    }

    .tabs_cont > div:not(:first-child ) {
        margin-left: 0;
    }

    #advantages > a {
        display: none;
    }

    #advantages > div {
        display: flex;
    }

    #advantages > div {
    }

    .tabs_cont {
        flex-direction: column;
    }

    .tabs_cont > div:first-child {
        border-radius: 5px 5px 0 0
    }

    .tabs_cont > div:last-child {
        border-radius: 0 0 5px 5px
    }

    .input_text {
        flex-direction: column;
    }

    /*Header*/
    #header {
        position: fixed;
        z-index: 1;
        background: var(--main-color);
    }

    #header_company_name {
        color: #fff;
    }

    #header_company_name span {
        color: #fff;
    }

    main {
        padding-top: 54px;
    }

    #menubar {
        margin-left: 5px;
    }

    #headerbar .social_media ul {
        align-items: center;
    }

    .header_contacts p, .header_company *:not(:first-child) {
        display: none;
    }

    .header_company p {
        display: block;
    }

    #headerbar .header_logo {
        height: 50px;
        margin: 0 1rem;
        width: 40px;
    }

    #header {
        display: flex;
        flex-direction: row-reverse;
        padding: 0;
    }

    #header_company_name {
        font-size: 1.5rem;
    }

    .header_company {
        flex: 1;
    }

    /* Ask to call*/
    header .ask_to_call {
        display: none;
    }

    .call_me_btn {
        content: '';
        width: 50px;
        height: 80%;
        background: url('/media/img/messengers/telephone_mobile.png') no-repeat 80% 50%;
        background-size: contain;
        display: flex;
        margin: auto 0;
        cursor: pointer;
    }

    /* end Ask to call*/
    #headerbar {
        flex: 1;
        padding: 0;
        margin-bottom: 0;
    }

    input[name=mobile_menu] + label {
        display: flex;
        height: 100%;
        width: 50px;
        position: relative;
    }

    #headerbar .header_contacts {
        margin: 0;
        flex: unset
    }

    #mobile_menu_button {
        width: 100%;
        height: 6px;
        background: #fff;
        display: block;
        margin: auto;
    }

    #mobile_menu_button:before {
        content: '';
        width: 100%;
        height: 6px;
        background: #fff;
        display: block;
        position: absolute;
        top: calc(50% - 15px);
        transition: .3s
    }

    #mobile_menu_button:after {
        content: '';
        width: 100%;
        height: 6px;
        background: #fff;
        display: block;
        position: absolute;
        top: calc(50% + 9px);
        transition: .3s
    }

    input[name=mobile_menu]:checked + label #mobile_menu_button {
        background: transparent;
    }

    input[name=mobile_menu]:checked + label #mobile_menu_button:before {
        transform: rotate(45deg);
        top: 50%;
        transition: .3s
    }

    input[name=mobile_menu]:checked + label #mobile_menu_button:after {
        transform: rotate(135deg);
        top: 50%;
        transition: .3s
    }

    #navigation {
        position: absolute;
        z-index: 1;
        white-space: nowrap;
        transition: .3s;
        left: -100%;
        width: 100%;
    }

    #navigation ul {
        flex-wrap: wrap;
    }

    #navigation li.level1 {
        flex: unset;
        flex-basis: 25%;
    }

    #navigation li.level1:first-child > a, #navigation li.level1:last-child > a {
        border-radius: 0;
    }

    #navigation li.level1 > a {
        border: 2px solid rgba(0, 0, 0, .2)
    }

    input[name=mobile_menu]:checked + label + #navigation {
        display: block;
        left: 0;
    }

    /* end header*/
}

@media screen and (max-width: 650px ) {
    .stock_2:after {
        display: none;
    }

    #mobile_info_block {
        display: flex;
    }

    .item_wrapper:not(:nth-child(4n)) {
        margin-right: 0;
    }

    .item_wrapper {
        flex-basis: 32%;
    }

    .level2 {
        display: none !important;
    }

    #headerbar .header_company a {
        display: block;
    }

    .item_wrapper:not(:nth-child(3n)) {
        margin-right: 2%;
    }

    #colors_main_block > label {
        flex-basis: 45%;
    }

    #ttm_main_block {
        flex-wrap: wrap;
        justify-content: space-around;
    }

    #ttm_main_block > label {
        flex-basis: 45%;
        margin-bottom: 1rem;
    }

    .flex_50 {
        flex-direction: column;
    }

    .flex_50 > * {
        flex-basis: 100%;
        width: 100%;
    }

    .tablichka img {
        width: auto;
        text-align: center;
    }

    #order_table.mobile_table tr:not(:last-child) {
        display: none;
    }

    #order_table.mobile_table {
        margin-bottom: 2rem;
    }
}

@media screen and (max-width: 600px) {
    .page_card_delivery {
        display: none;
    }

    #order_table {
        position: inherit;
    }

    .footer_main {
        flex-direction: column;
    }

    footer .social_media {
        align-items: center;
        justify-content: space-between;
        margin-top: 1rem;
        flex-direction: row;
    }

    legend {
        font-size: 1.1rem;
        line-height: 1.5rem;
    }

    .page_card_index {
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .page_card_index > * {
        flex-basis: 47%;
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 500px) {
    .social_media > ul > li {
        width: 50px;
        height: 50px;
        margin-right: 15px;
    }

    #headerbar .header_logo {
        display: none;
    }

    #header_company_name {
        text-align: center;
    }

    #colors_main_block > label {
        flex-basis: 100%;
    }

    #ttm_main_block > label {
        flex-basis: 100%;
    }

    #advantages > div a, .ask_to_call {
        font-size: .9rem;
    }
}

@media screen and (max-width: 450px) {
    #metro {
        flex-wrap: wrap;
    }

    #metro > div {
        flex-basis: 50%;
    }

    .social_media.contacts_nav > ul {
        flex-direction: column;
    }

    .social_media.contacts_nav > ul > li {
        margin-bottom: 1rem;
    }

    .item_wrapper:not(:nth-child(3n)) {
        margin-right: 0;
    }

    .item_wrapper {
        flex-basis: 49%;
    }

    .item_wrapper:not(:nth-child(2n)) {
        margin-right: 2%;
    }

    .page_card_wrapper .page_card > div {
        flex-direction: column;
        align-items: baseline;
    }

    .page_card_wrapper .page_card > div > div:first-child {
        margin: auto;
    }

    .page_card_wrapper .page_card > div > div:last-child {
        width: 100%;
    }

    #navigation li.level1 {
        flex-basis: 50%;
    }
}

@media screen and (max-width: 450px) {
    footer .social_media {
        flex-direction: column;
    }
}

@media screen and (max-width: 400px) {
    .selectable_block {
        font-size:.68rem
    }
}
#more {
  display: none;
}


.imprint_container .show-buttons {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	font: normal 14px/20px Arial, Helvetica, sans-serif;
	color: var(--text-color);
	white-space: nowrap;
}

.imprint_container .show-buttons .show-part, .imprint_container .show-buttons .show-all{
	display: flex;
	justify-content: center;
	align-items: center;
	min-width: 7vw;
	min-height: 2.5vw;
	border: 2px solid #5796d7;
	margin: 20px;
	padding: 7px 15px;
	cursor: pointer;
	border-radius: 45px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease 0s;
	background-color: white;

}

.imprint_container .show-buttons .show-part:hover, .imprint_container .show-buttons .show-all:hover{
	
	filter: drop-shadow(5px 5px 1px rgba(0, 0, 0, 0.25));

}

