@font-face {
	font-family: "Regular";
	src: url("../fonts/OpenSans-Regular.ttf") format("truetype");
	font-style: normal;
	font-weight: normal;
}
body:not(.layout-fixed) .main-sidebar {
	position: fixed;
}
.desktop{
	display: block;
}
.phone{
	display: none;
}
body {
	padding: 0;
	margin: 0;
	background: #efefef;
	font-family: 'Regular', regular;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0;
}

html, h1, h2, h3, h4, h5, h6, a {
	font-family: "Regular";
	color: black;
}

h1{
	font-size: 22px;
}
h2{
	font-size: 20px;
}
h3{
	font-size: 18px;
}
h4{
	font-size: 16px;
}
a{
	text-decoration: none;
	user-select: none;
}
.central{
	text-align: center;
}

.info{
	color: white;
}
.active_green{
	background-color: rgba(75, 137, 246, 0.1);
}
.active_green a{
	color: #38c172 !important;
}
/*.active_green{*/
/*	background-color: rgba(75, 137, 246, 0.1);*/
/*}*/

.brand-link{
	text-decoration: none
}
/*.content-wrapper {*/
/*	display: flex;*/
/*	flex-direction: column;*/
/*	min-height: 82vh;*/
/*}*/
.wrapper-site {
	display: flex;
	flex-direction: column;
	min-height: 82vh;
}

.navbar{
	padding: 0.5rem 1rem;
}
.flex-column {
	flex-direction: row !important;
}
.navbar-nav {

	padding-left: 1em;
}
.main-header, .navbar-default {
    position: sticky;
    top: 0;
    height: 80px;
    padding: 15px 0;
    background: white;
    transition: all 0.3s ease;
    z-index: 1000;
}
@supports (position: sticky) {
    .main-header, .navbar-default {
        /* Автоматическое изменение при прокрутке */
        height: clamp(60px, 8vh, 80px);
        padding: clamp(10px, 1.5vh, 15px) 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, calc(var(--scroll-ratio) * 0.1));
    }
    .brand-link1 img{
        height: clamp(46px, 4vh, 64px);
    }

    /* Для современных браузеров можно использовать CSS-переменные */
    .main-header, .navbar-default {
        --scroll-ratio: 0;
    }

    @media (hover: hover) {
        .main-header:hover, .navbar-default:hover {
            /* height: 80px; */
            /* padding: 15px 0; */
        }
    }
}

.navbar-default {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: #fff; /* Или ваш цвет фона */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Необязательная тень для эффекта */
}

.focusm:active, .focusm:hover {
	font-family: Regular;
	background-color: #98ceae;
	color: #ffffff;
	text-decoration: none;
	user-select: none;
}

.container-fluid{
	width: 80%;
}

.input-container {
	position: relative;
	width: 25em;
	margin: auto;
}

.catalog input {
	display: block;
	width: 100%;
	margin: auto;
	padding: 10px 45px;
	background: white url('../image/search.svg') no-repeat 15px center;
	background-size: 15px 15px;
	font-size: 16px;
	border: none;
	border-radius: 5px;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgb(129, 127, 127) 0px 1px 3px -1px;
}

.cat {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex: 1 1 30%;
	max-width: 100%;
	box-sizing: border-box;
}

 .btn_block  {
	 width: 50%;

}
.block img {
	 width: auto;
	height: 8em;
}

.text-h3 {
	height: 3em;
}

.catalog .row .between {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.catalog .color {
	display: flex;
	position: relative;
	flex-direction: column;
	justify-content: space-between;
	height: 92%;
	text-align: center;
	flex: 1;
	background-color: #f8f8f8;
	padding: 1em;
	border: none;
	border-radius: 8px;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgb(129, 127, 127) 0px 1px 3px -1px;
}
.catalog .color:hover {
	background: #FFFFFF;
	border: 4px dashed #777777;
}
.catalog h2 {
	font-family: "Regular";
	font-style: normal;
	font-weight: bold;
	font-size: 28px;
	line-height: 49px;
	color: #754abb;
}
.catalog h3 {
	font-size: 1rem;
	line-height: 1.2;
	color: #625f5e;
	font-weight: 700;
	padding-top: 1px;
	padding-bottom: 1px;
	font-family: Regular;
}

.catalog h4 {
	font-family:Georgia;
	font-style: normal;
	font-weight: normal;
	font-size: 18px;
	line-height: 25px;
}

.catalog {
	height: auto;
	position: relative;
}
.clear-icon {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	width: 15px;
	height: 15px;
	background: url("../image/close.svg") no-repeat center center;
	background-size: contain;
	cursor: pointer;
	
}

.clear-icon:hover {
	opacity: 0.7;
}

.footer {
	background-color: #fff;
	border-top: 1px solid #dee2e6;
	color: #869099;
	padding: 1rem;
}


.form-control{
	font-size: 12px;
}



.table-responsive {
	overflow-x: auto;
	overflow: auto;

}

table{
	table-layout: fixed;
	font-family: Arial;
	font-size: 12px;
}
th{
	text-align: center;
}
td{
	overflow: hidden;
	text-overflow: ellipsis;
	word-wrap: break-word;
}

.form-group {
	padding: 0.2em!important;
}

/*iphone se*/
@media screen and (min-device-width: 320px) and (max-device-width: 700px) {
	/*.desktop {*/
	/*    !*display: none;*!*/
	/*}*/
	/*.phone{*/
	/*    display: block;*/
	/*}*/
	.btn_block {
		width: 100%;
	}
	.block_app {
		width: 100%;
	}
	.desktop{
		display: none;
	}
	.phone{
		display: block;
	}
	.pagination {
		font-size: 0.7em;
	}

	.search .col1 {
		width: 7em;
	}

	table.reestr {
		table-layout: fixed;
	}


	table.reestr .col2, .col8 {
		width: 10em;
	}

	table.reestr .col3, .col9 {
		width: 8em;
	}

	table.reestr .col4, .col5, .col6, .col7, .col11 {
		width: 7em;
	}

	table.reestr .col10 {
		width: 30em;
	}


}

@media (max-width: 991.98px) {

	.category-card{
		font-size: 10px;
	}
    .desktop {
        display: none !important;
    }
    .phone {
        display: block !important;
    }
    .navbar-collapse {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        z-index: 1000;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    .navbar-nav {
        flex-direction: column !important;
        width: 100%;
    }
    .nav-item {
        margin: 0.5rem 0;
        width: 100%;
    }
    .nav-link {
        padding: 0.5rem 1rem;
        display: block;
        width: 100%;
    }
    .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0.5rem;
        border: none;
        box-shadow: none;
        padding: 0;
    }
    .dropdown-item {
        padding: 0.5rem 1rem;
    }
    .navbar-toggler {
        display: block !important;
    }
    .navbar .navbar-collapse.show ~ .navbar-brand.phone,
    .navbar-collapse.show ~ .navbar-brand.phone {
        display: none !important;
    }
    .navbar .navbar-brand.phone {
        transition: opacity 0.2s;
    }
    .brand-link1 img {
        display: none !important;
    }
}

@media (min-width: 992px) {

    .desktop {
        display: block !important;
    }
    .phone {
        display: none !important;
    }
    .navbar-collapse {
        display: flex !important;
    }
    .navbar-nav {
        /*flex-direction: row !important;*/
    }
    .navbar-toggler {
        display: none !important;
    }
    .main-header.shrink, .navbar-default.shrink {
        height: 48px !important;
        padding: 4px 0 !important;
        transition: all 0.3s;
    }
    .main-header.shrink .navbar-brand img,
    .navbar-default.shrink .navbar-brand img,
    .main-header.shrink .navbar-brand.phone img,
    .navbar-default.shrink .navbar-brand.phone img {
        height: 28px !important;
        max-height: 28px !important;
        width: auto !important;
        transition: height 0.3s, max-height 0.3s;
    }
    .main-header.shrink .navbar-brand,
    .navbar-default.shrink .navbar-brand {
        padding-top: 0.1rem !important;
        padding-bottom: 0.1rem !important;
    }
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

.navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.25rem;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.product-image {
  width: 100%;
  max-width: 80px;
  max-height: 80px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  background: #f5f5f5;
  border-radius: 12px;
}
.between {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2em;
  justify-content: flex-start;
}
.block {
    /* background: #fff; */
    border-radius: 16px;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); */
    padding: 1em 0.5em;
    margin: 0;
    width: 140px;
    min-width: 140px;
    max-width: 140px;
    flex: 0 0 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
