body {
    font-family: Futura,Trebuchet MS,Arial,sans-serif; 
    margin: 0;
    padding: 0;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    background-repeat: no-repeat;
    width: 100%;
     margin: 0; /* Убираем внешние отступы */
    border: 0; /* Убираем границы */
    box-sizing: border-box;
}

.email a{
    color: green;
}
.nav .menu {
    display: block;
}
.services li a{
    Color:deeppink;
}
.header {
    background-size: cover;
    color: #fff;
    padding: 20px;
    text-align: center;
    position: relative;
    display: none;
}
.header h1{
    display: none;
}
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 3em;
    cursor: pointer;
    color:deeppink;
}
.education-description {
    display: flex;
    justify-content: center;
}

.education-description p{
    font-size: 1.2em;
    color: #b5327c;
}
.education-description a {
    color: #cb90fd;
    font-style: italic;
}

.about-image {
        padding: 0px;
        width: 50%;
    }
a {
    text-decoration: none;
    color: white;
}
.header p {
    font-size: 17px;
}
.header {
    background-size: cover;
    color: #fff;
    padding: 20px;
    text-align: center;
    position: relative;
}

.header h1, .header p {
    position: relative;
    z-index: 2;
}

.nav {
    background-color: #6b90da;
    padding: 2px;
    text-align: center;
    width: 100%;
    margin: 0;
    border: 0;
    box-sizing: border-box;
    display: flex;
    height: 4em;
    align-items: center;
    justify-content: center;
}

.nav a {
    color: #fff;
    margin-left: 0.4em;
    text-decoration: none;
    padding: 0.6em 0.3em;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-size: 1.1em;
}

.nav a:hover {
    background-color: lavender;
    text-decoration: none;
}

.list-group {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    align-content: center;
}
.list-group.mob{
    display: none;
    
}
.nav .list-group {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    align-content: center;
}
.profile_button_wrapper {
    margin-left: auto; /* сдвигает кнопку в конец строки */
}

.profile_button {
    margin-left: 10px; /* если нужно добавить отступ между последней категорией и кнопкой */
}


/* Новый стиль для блока о платформе */
.about-platform {
    display: flex;
        flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.about-text {
    flex: 1;
    padding: 1em;
    margin-left: 5%;
}

.about-text h2 {
    margin-bottom: 10px;
}

.about-text p {
    font-size: 20px;
    line-height: 1.5;
}

.about-image {
    padding: 20px;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px; /* Закругленные углы для изображения */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Тень для изображения */
}

.container {
    padding: 20px;
    text-align: center;
}

.services, .products {
    list-style-type: none;
    padding: 0;
}

.services li, .products li {
    font-size: 17px;
    background-color: #fff;
    margin: 10px 0;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.footer {
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 1px 0;
    width: 100%;
}



/*Стили для карточек*/
.new{
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
}
.cards-container {
    gap: 20px;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    flex: 33%;
}

.company-card {
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    padding: 1em;
    box-sizing: border-box;
    display: inline-flex;
    flex-direction: column;
    width: 20em;
    margin: 0.7em;
    flex: 1 1 50%;
    flex-wrap: wrap;
    justify-content: center

}

.card-header {
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.company-logo {
    width: 250px;
    height: auto;
}

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

.company-name {
    font-size: 24px;
    margin-bottom: 10px;
}

.company-description {
    font-size: 16px;
    margin-bottom: 20px;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    justify-items: center;
}

.social-link {
    text-decoration: none;
    color: inherit;
    text-align: center;
    width: 60px;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
}

.social-text {
    margin-top: 5px;
    font-size: 14px;
}

.btn-info { background-color: #17a2b8; color: white; }
.btn-tiktok { background-color: #000000; color: white; }
.btn-instagram { background-color: #C13584; color: white; }
.btn-youtube { background-color: #FF0000; color: white; }
.btn-pr { background-color: #007bff; color: white; }
.btn-google-maps { background-color: #4285F4; color: white; }
.btn-telegram { background-color: #0088cc; color: white; }
.btn-facebook { background-color: #3b5998; color: white; }
.btn-vk { background-color: #4c75a3; color: white; }
.btn-success { background-color: #28a745; color: white; }



/*Меню категорий*/
.catmenu {
  width: 250px; /* Ширина меню */
  background-color: #f4f4f4; /* Цвет фона */
  border-radius: 5px; /* Скругленные углы */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Легкая тень */
  padding: 10px; /* Отступы внутри меню */
}

/* Основной стиль для меню */
.catmenu ul {
  padding: 0;
  margin: 0;
  list-style: none;

}

/* Стиль для элементов списка */
.catmenu > ul > li {
  position: relative; /* Для управления вложенными списками */

}

/* Ссылка в меню */
.catmenu a {
  display: block;
  padding: 10px;
  color: #333; /* Цвет текста */
  text-decoration: none; /* Убираем подчеркивание */
  background-color: #fff; /* Цвет фона ссылки */
  border-bottom: 1px solid #ddd; /* Разделительная линия */
  border-radius: 3px; /* Скругленные углы */
  transition: background-color 0.3s ease, color 0.3s ease; /* Плавный переход */
  font-size: 20px;
}

/* Стилизация ссылок при наведении */
.catmenu a:hover {
  background-color: #ff69b4;
  color: #fff; /* Цвет текста при наведении */
}

/* Вложенные списки */
.catmenu ul ul {
  display: none; /* Скрываем вложенные списки по умолчанию */
  padding: 0;
  margin: 0;
  list-style: none;
  position: absolute; /* Расположение относительно родителя */
  top: 0;
  left: 100%;
  background-color: #fff; /* Цвет фона вложенного меню */
  border: 1px solid #ddd; /* Рамка для вложенного меню */
  border-radius: 0 5px 5px 0; /* Скругленные углы справа */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Тень для вложенного меню */
  z-index: 1000; /* Слой для отображения поверх других элементов */
}

/* Отображение вложенных списков при наведении на родительский элемент */
.catmenu > ul > li:hover > ul {
  display: block;

}

/* Стиль для элементов вложенных списков */
.catmenu ul ul li {
  border-bottom: 1px solid #ddd; /* Разделительная линия */

}

/* Стиль ссылок во вложенных списках */
.catmenu ul ul a {
  padding: 10px;
  color: #333;
  background-color: #f9f9f9;
  transition: background-color 0.3s ease, color 0.3s ease;

}

/* Стилизация ссылок во вложенных списках при наведении */
.catmenu ul ul a:hover {
  background-color: #e2e6ea;
  color: #007bff;
}

/* Стили для вложенных уровней */
.catmenu ul ul ul {
  top: 0; /* Позиционируем вложенное меню на одном уровне с родительским элементом */
  left: 100%; /* Располагаем вложенное меню справа от родительского элемента */
  border-radius: 0 5px 5px 0; /* Скругленные углы справа */
  background-color: #f4f4f4; /* Цвет фона для следующего уровня */
}

/* Стили для ссылок в более глубоких уровнях */
.catmenu ul ul ul a {
  background-color: #f4f4f4;
  color: #333;
  padding-left: 35px; /* Увеличиваем отступ для более глубоких уровней */
}

/* Стилизация ссылок в более глубоких уровнях при наведении */
.catmenu ul ul ul a:hover {
  background-color: #ddd;
  color: #007bff;
}

.catmenu li li{
    margin-left: 15px;
}

.categories-container{
    display: flex;
    position: relative;
    align-items: flex-start;
    flex-direction: column;
}

.body {
    display: flex;
    position: relative;
    padding-left: 4em;
    padding-right: 4em;
}



.pagination {
    list-style-type: none; /* Убирает маркеры списка */
    padding: 0; /* Убирает отступы */
    display: flex; /* Выравнивает элементы в линию */
    margin: 2em;
}

.pagination a {
    padding: 5px; /* Пространство внутри обводки */
    margin: 2px; /* Пространство между обводками */
    text-decoration: none; /* Убирает подчеркивание ссылок */
    border: 0.07em black; /* Можно изменить цвет и стиль обводки */
    border-radius: 0.1em;
    background-color: white;
}
.pagination a:hover {
    border-color: #555; /* Цвет обводки при наведении */
    background-color: #f0f0f0; /* Фон при наведении */
}

.pagination li {
    color: deeppink;
    font-size: 2em;
    margin: 0 5px; /* Добавляет промежуток между элементами */
}

.pagination li a {
    text-decoration: none; /* Убирает подчеркивание ссылок */
    color: black; /* Наследует цвет текста */
    padding: 0.3em;
}
.pagination span
{
    border: 1px solid #000; /* Можно изменить цвет и стиль обводки */
    border-radius: 0.1em;
    background-color: white;
    padding: 0.3em;

}

.adres{
    margin-top: 1em;
    font-size: 2em;
}

#contact {
            margin-bottom: 1em;
            margin-top: 1em;
            background: #e4e4e4;
            color: black;
            font-size: 1.4em;
        }
        #contact h2 {
            text-align: center;
            margin-bottom: 20px;
        }
        #contact .content {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
        }
        #contact .content div {
            flex: 1;
            padding: 10px;
            margin: 10px;
            background: #fff;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
        }

#contact a {
    color: black;
    list-style-type: none;
}

#contact li {
    list-style-type: none;
    margin-right: 2.5em;
}

#contact a:hover {
    background-color: pink;
}

#contact .content div {
            flex: 1;
            padding: 10px;
            margin: 10px;
            background: #fff;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
        }

.card {
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.article.box.story {
  background: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
  max-width: 600px;
  width: 100%;
  margin: 20px;
}

/* Верхняя часть профиля */

.box_in.dark_top.userinfo_top {
    margin-top: 1em;
    background-color: #333;
    color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    width: 100%;
}

.box_in.dark_top.userinfo_top .avatar {
  flex-shrink: 0;
}

.box_in.dark_top.userinfo_top .avatar .cover {
  display: inline-block;
  width: 80px;
  height: 80px;
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  border: 3px solid #fff;
}

.box_in.dark_top.userinfo_top .title {
  margin-left: 20px;
  flex-grow: 1;
}

.box_in.dark_top.userinfo_top .title li {
  display: inline-block;
  margin-right: 1.2em;
}

.box_in.dark_top.userinfo_top .title li.active a {
  color: #70bb39;
}

/* Нижняя часть профиля */
.box_in {
  padding: 20px;
}

.tab-content {
  margin-top: 20px;
}

.usinf {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.usinf li {
  display: flex;
  margin-bottom: 10px;
}

.ui-c1.grey {
  width: 150px;
  color: #777;
}

.ui-c2 {
  flex-grow: 1;
}

.heading {
  font-size: 1.2em;
  margin-top: 20px;
  margin-bottom: 10px;
  border-bottom: 2px solid #70bb39;
  display: inline-block;
}

/* Кнопки */
.btn {
  background-color: deeppink;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #5aa32d;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.checkbox {
  margin-bottom: 10px;
}

.checkbox input[type="checkbox"] {
  margin-right: 5px;
}

/* Подсветка при наведении */
a:hover, .btn:hover, .checkbox:hover label {
  color: #70bb39;
}

/* Разделение секций */
.form-group.form-sep {
  border-top: 1px solid #ddd;
  margin-top: 20px;
  padding-top: 20px;
}

/* Центрирование кнопки */
.form_submit {
  display: flex;
  justify-content: center;
}

li {
    list-style-type: none; /* Убираем маркеры */
   }

.author a{
    color: deeppink;
}


.profile-popup {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  width: 350px;
  padding: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Profile Header */
.profile-header {
  text-align: center;
  margin-bottom: 20px;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid #ddd;
  object-fit: cover;
}

.profile-status .status-indicator {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
}

.profile-status .status-indicator.online {
  background-color: #28a745;
}

/* Profile Body */
.profile-body {
  padding: 0 10px;
}

.profile-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.profile-info:last-child {
  border-bottom: none;
}

.info-label {
  font-weight: bold;
  color: #555;
}

.info-value {
  font-size: 14px;
  color: #333;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Badge and Tags Styling */
.info-value.badge,
.info-value.tags {
  font-weight: bold;
  color: #007bff;
}

.unit-rating {
    display: flex;
}

.unit-rating a{
    display: flex;
    color: black;
    margin-left: 1em;
}

.usinf li {
    display: flex;
    margin-bottom: 10px;
    color: white;
}

.ui-c1.grey {
    width: 150px;
    color: #efd5ff;
}

.box_in {
    padding: 0em;
}

.heading {
    font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: 10px;
    display: inline-block;
    color: #e3b7ff;
}

.goog-logo-link {
    display:none !important;
} 
    
.goog-te-gadget{
    color: transparent !important;
}

#dropmenudiv a{
    color: black;
    word-break: normal;
}
#dropmenudiv a:hover{
    color: blue;
}
.redact a{
                    color: red;
                    }

.company-shop-logo
{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    margin-right: 93%;
    margin-top: 97em; !important;
}
.upheader {
    display: flex;
    align-items: center;
    justify-content: space-around;
}
@media (max-width: 560px) {
    .upheader{
        display:none;
    }
            .body {
        display: flex;
        position: relative;
        width: 100%;
        margin: 0;
        border: 0;
        box-sizing: border-box;
        margin-left: 0em;
        padding-left: 0em;
        padding-right: 0em;
        flex-wrap: wrap !important;
    }
        .header {
        display: flex;
        background-size: cover;
        color: #fff;
        padding: 0.1em;
        text-align: center;
        position: relative;
        justify-content: space-between;
    }

    .header h1 {
        display: block;
    position: relative;
    z-index: 2;
        font-size: 1.5em;
}
    .container {
    padding: 0px;
    text-align: center;
	}
    .about-text {
    flex: 1;
    padding: 0em;
    margin-left: 5%;
}
    .about-image {
    padding: 0px;
	}
                .catmenu {
        /* width: 9em; */
        background-color: #f4f4f4;
        border-radius: 5px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding-right: 5em;
    }
    .cards-container {
    gap: 20px;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    /* flex: 33%; */
}
                .company-card {
        background-color: #fff;
        border: 2px solid #ddd;
        border-radius: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        text-align: center;
        padding: 1em;
        box-sizing: border-box;
        display: inline-flex;
        flex-direction: column;
        /* width: 11em; */
        margin: 0.2em;
        flex: 1 1 50%;
        flex-wrap: wrap;
        justify-content: center;
    }
    .catmenu a {
        display: block;
        padding: 10px;
        color: #333;
        text-decoration: none;
        background-color: #fff;
        border-bottom: 1px solid #ddd;
        border-radius: 3px;
        transition: background-color 0.3s ease, color 0.3s ease;
        font-size: 1.2em;
    }
    li {
    list-style-type: none;
    width: 18em;
}
    .company-logo {
    width: 10em;
    height: auto;
}
    .categories-container {
    display: flex;
    position: relative;
    align-items: flex-start;
    flex-direction: column;
    width: 10em;
}
    .new {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    width: -webkit-fill-available;
}
        .pagination {
        list-style-type: none;
        padding: 0;
        display: flex;
        margin-left: 2em;
        width: 20em;
    }
    .services, .products {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
    .nav {
    background-color: #6b90da;
    padding: 2px;
    text-align: center;
    width: 100%;
    margin: 0;
    border: 0;
    box-sizing: border-box;
    display: none;
}
}




@media (max-width: 560px) {
    .choice {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-direction: column;
    align-items: center;
}
    .banner {
    position: relative;
    width: -webkit-fill-available !important;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #ccc;
    cursor: pointer;
}
    .nav .menu {
        display: none;
    }

    .list-group {
        display: none;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hamburger {
        display: block;
        background: none; /* Убираем фон у кнопки */
        border: none;
        font-size: 3em;
        cursor: pointer;
    }

        .list-group.active {
        display: flex;
        background-color: #6b90da;
        padding: 10px;
        border-radius: 4px;
        align-items: flex-start;
        flex-direction: column;
        align-content: flex-start;
    }
    
    .list-group.active a{
        color: #fff;
    margin: 0.3em;
    text-decoration: none;
    padding: 0.3em 0.3em;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-size: 1.1em;
    }

    .nav {
        background-color: transparent; /* Фон навигации прозрачный */
        padding: 2px;
        text-align: center;
        width: 100%;
        margin: 0;
        border: 0;
        box-sizing: border-box;
    }
}


@media (max-width: 1800px) {
    .nav a {
    color: #fff;
    margin-left: 0.9em;
    text-decoration: none;
    padding: 0.3em 0.3em;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-size: 1.1em;
}
    .nav .list-group {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    align-content: center;
}
    }

.vendor a{
    color:green;
}