@charset "UTF-8";

/* Загальна секція */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 10px;
  font-family: Verdana, Tahoma, Helvetica, sans-serif;
  font-size: 12px;
  /* line-height: 1.5; */
  padding-bottom: 80px;
}

a {
  color: #036;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  margin: 0;
  font-size: inherit;

}

/* Сайт */

#page {
  margin: 0 auto;
  text-align: left;
  max-width: 1200px;
}

#site-header {
  width: 100%;
  min-width: 200px;
  background-image: linear-gradient(to bottom, #EEF8F9 50%, #fff 50%);
  background-size: 1px 2px;
  background-repeat: repeat;
  display: flex;
  column-gap: 3px;
  margin-bottom: 10px;
  max-width: 100%;
  height: auto;
}

#site-logo {
  width: 100%;
}

.site-lang {
  width: 26px;
  text-align: right;
}

#site-body {
  width: 100%;
  display: flex;
  column-gap: 16px;
}

#body-left {
  width: 200px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

#body-right {
  width: 100%;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.list-hint {
  display: inline-block;
  padding-left: 20px;
  vertical-align: top;
}

.link-bold {
  font-weight: bold;
}

.list-ul-gap {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

/* .list-ul-close {
   margin-top: 0;  
} */

.img-main-right{
  float: right;
  margin-left: 15px;
  margin-top: 15px;
  margin-bottom: 10px;
}

.base-header {
  font-size: 14px;
  font-weight: bold;
  text-align: center;
}

/* Навігація */

#main-nav {
  width: 100%;
}

#main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  row-gap: 2px;
}

.mainmenu-item {
  font-size: 14px;
  font-weight: bold;
  width: 100%;
  height: 18px;
  display: flex;
  column-gap: 2px;
  line-height: 18px;
}

.mainmenu-text {
  background-color: #c4e1ff;
  width: 100%;
  height: 18px;
  text-align: right;
}

.mainmenu-badge {
  background-color: #c4e1ff;
  width: 22px;
  height: 18px;
  text-align: center;
}

.badge-active {
  background-color: #fff;
}

.mainmenu-badge.badge-active::after {
  content: "\203A";
}

#main-social {
  text-align: center;
}

/* Сторінки */

.articles-title,
.articles-title-h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.article-base {
  border: 1px solid #64b1ff;
  display: flex;
  flex-direction: column;
}

.article-base-header {
  background-color: #64b1ff;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding: 4px;
}

.article-base-header h2 {
  font-size: 14px;
}

.article-base-header a {
  color: #fff;
}

.article-base-body {
  padding: 10px;
}

.article-base-body>*:first-child {
  margin-top: 0
}

.article-base-body>*:last-child {
  margin-bottom: 0
}

.article-center {
  text-align: center;
}

.article-center>*:first-child {
  margin-top: 0
}

.article-center>*:last-child {
  margin-bottom: 0
}

/* Сторінки: Завантаження */

.prog-download {
  font-weight: bold;
}

.prog-addinfo-header,
.prog-download {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.prog-addinfo-header h3 {
  font-size: 12px;
}

.icon-pos-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-pos-left::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.icon-info::before {
  background-image: url("/assets/templates/my_soft/images/info.png");
}

.icon-download::before {
  background-image: url("/assets/templates/my_soft/images/download.png");
}

.prog-addinfo-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.addinfo-item summary {
  font-weight: bold;
  color: #036;
  text-decoration: underline;
}

.addinfo-item summary:hover {
  cursor: pointer;
} 

.news-date-meta {
  font-size: 10px;
  font-weight: bold;
}

.prog-changelog-text {
  white-space: pre-line;
  /* line-height: 1.5; */
  /* color: #475569; */
}

/*
.prog-changelog-text br {
    display: none;
}
.prog-changelog-text p {
    display: inline;
    margin: 0;
    padding: 0;
}
*/
/* Якщо всередині є теги, повертаємо стандартну поведінку HTML */
.prog-changelog-text:has(br),
.prog-changelog-text:has(p) {
  white-space: normal;
}

/* Скріншоти */

.sh-items {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sh-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}

/* Форма замовлення */

.form-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;

}

.form-order {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.form-group {
  display: flex;
  gap: 3px;
  align-items: stretch;
  /* box-sizing: border-box; */
  /* border: 1px solid #BCE7FF; */
}

.form-label {
  width: 50%;
  text-align: right;
  border: 1px solid #BCE7FF;
  padding: 6px;
  align-content: center;
}

.form-input,
.form-input-radio {
  width: 50%;
  padding: 6px;
}

.form-actions {
  text-align: center;
}

.form-btn-submit {
  display: inline-block;
  background-color: #467eb6;
  color: #fff;
  border: none;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.form-btn-submit:hover {
  background-color: #274869;
}

.form-btn-submit:active {
  transform: scale(0.98);
}

.required {
  color: red;
}

input#sfield {
  display: none;
}

#site-footer {
  margin: 0;
  width: 100%;
  margin-top: 20px;
  height: auto;
  font-size: 10px;
  text-align: right;
  padding: 3px;
}

/* дуже простий Мобайл */

@media (width < 900px) {
  .img-main-right {
    float: none;
    display: block;
    margin: 15px auto;
  }
}

@media (width < 600px) {
  #site-body {
    flex-direction: column;
  }

  #body-left {
    width: 100%;
    margin-bottom: 20px;
  }

  .mainmenu-text {
    text-align: center;
  }

  .mainmenu-badge.badge-active {
    font-size: 0;
  }

  .mainmenu-badge.badge-active::after {
    content: "\2039";
    font-size: 14px;
  }

  #site-footer {
    text-align: center;
  }
}

/* Пагінація */

.pagination a {
  text-decoration: underline;
}

.pagination a:hover {
  text-decoration: none;
}

.pagination .ditto-currentpage {
  border: 1px solid #036;
  padding: 1px 3px;
  margin: 2px;
  font-weight: bold;
}

.pagination .ditto-previous-link,
.pagination .ditto-next-link {
  margin: 0 10px;
}

.pagination .ditto-page {
  padding: 2px 5px;
}