/* ALL COLORS ADD IN theme.css ONLY!!! */
html {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  font-family: "Helvetica Neue", "Helvetica", Arial, sans-serif;
  background-color: #fafafa;
}
a {
  color: inherit;
  text-decoration: none;
}
.labmedica,
.hospimedica,
.medimaging {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.labmedica #media-kit {
  display: flex;
  flex-direction: row;
  position: fixed;
  left: 0;
  top: 30%;
  z-index: 100000;
}
.labmedica #media-kit > .media-kit-item {
  margin: 4px 0;
  border-radius: 5px 0 0 5px;
  border-right: 3px solid #606061;
  background-color: #c8000b;
  padding: 10px;
  font-size: 15px;
  color: white;
  font-weight: 550;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: "Open Sans", sans-serif;
}
.hospimedica #media-kit,
.medimaging #media-kit {
  display: none;
}
.languageSwitcher {
  position: fixed;
  left: 0;
  top: 300px;
  z-index: 1000;
}
.languageSwitcher #switcher {
  padding: 10px 10px 10px 7px;
  display: block;
  color: #ffffff;
  font-size: 16px;
  font-weight: normal;
  border-radius: 0 6px 6px 0;
  border-left: 3px solid #606061;
}
.pagination-block {
  flex: 1;
  padding-left: 25px;
  padding-right: 25px;
}
.pagination {
  display: flex;
  flex-direction: row;
  gap: 5px;
  margin: 10px auto 20px auto;
  max-width: 1600px;
  width: 100%;
}
.pagination-item {
  padding: 10px;
  display: block;
  color: white;
  border-radius: 5px;
  font-size: 18px;
  font-weight: normal;
}
header {
  position: relative;
  height: 55px;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-left: 25px;
  padding-right: 25px;
  margin-bottom: 20px;
}
.header-main {
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}
#header_logo {
  width: auto;
  height: 50px;
}
.articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 15px;
  padding: 25px;
  max-width: 1600px;
  margin: 0 auto;
}
.articles-grid a {
  /*border: 3px solid #e3e3e3;*/
  padding: 0;
  display: flex;
  flex-direction: column;
  background-color: white;
  flex: 1;
  border-bottom-width: 2px;
  border-bottom-style: solid;
}
.articles-grid a .article-block {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.articles-grid a .article-block h2 {
  min-height: 66px;
}
.articles-grid a .article-block .article-image {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: white;
  border-left: 3px solid #e3e3e3;
  border-right: 3px solid #e3e3e3;
  border-top: 3px solid #e3e3e3;
  padding: 0 40px;
}
.articles-grid a .article-block .article-image img {
  width: 100%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.articles-grid a .article-block .article-image .image-window {
  overflow: hidden;
  max-height: 160px;
  min-height: 160px;
  position: relative;
  height: 100%;
}
.articles-grid a h2 {
  display: block;
  padding: 15px;
  background-color: #e3e3e3;
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  line-height: 22px;
  /* min-height: 66px; */
}
.article-content {
  margin: 20px auto;
  max-width: 1200px;
  background-color: white;
  padding: 40px;
  border: 3px solid #e3e3e3;
  font-size: 18px;
  line-height: 26px;
}
.article-content h1 {
  font-size: 30px;
  line-height: 34px;
  padding: 0;
  margin: 0 0 30px 0;
}
.article-content a {
  color: blue;
}
.page-not-found {
  margin: auto;
  font-size: 45px;
  font-family: sans-serif;
  font-weight: 900;
}
.webinars-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
  padding: 25px;
  max-width: 1200px;
  margin: 0 auto;
}
.webinars-grid:has( > .webinar-block:nth-child(2):last-child) {
  grid-template-columns: 1fr 1fr;
}
.webinars-grid:has( > .webinar-block:nth-child(1):last-child) {
  grid-template-columns: 1fr;
}
.webinars-grid .webinar-block {
  max-height: 400px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 0;
  display: flex;
  flex-direction: column;
  background-color: white;
  flex: 1;
  border-bottom-width: 2px;
  border-bottom-style: solid;
  max-width: 392px;
}
.webinars-grid .webinar-block .webinar-image {
  flex: 1;
  justify-content: center;
  background-color: white;
  border-left: 3px solid white;
  border-right: 3px solid white;
  border-top: 3px solid white;
}
.webinars-grid .webinar-block .webinar-image img {
  width: 100%;
  height: 100%;
}
.webinars-grid .webinar-block .webinar-description {
  flex: 2;
  padding: 15px;
  font-size: 12px;
  position: relative;
}
.webinars-grid .webinar-block .webinar-description h2 {
  padding: 0;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: black;
}
.webinars-grid .webinar-block .webinar-description .ondemand-block {
  font-size: 15px;
  display: flex;
  flex-direction: row;
  font-weight: 400;
  color: black;
  gap: 10px;
  align-items: center;
}
.webinars-grid .webinar-block .webinar-description .ondemand-block img {
  cursor: pointer;
}
.webinars-grid .webinar-block .webinar-description .ondemand-block .text {
  flex: 1;
  text-align: right;
  color: #00a808;
}
.webinars-grid .webinar-block .webinar-description .ondemand-block label {
  display: inline-block;
  padding: 4px 8px;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  background-color: #00a808;
  color: #ffffff;
  border-radius: 999px;
  /* делает форму похожей на капсулу */
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.webinars-grid .webinar-block .webinar-description .ondemand-block .live {
  background-color: #c8000b;
  margin-right: 10px;
}
.webinars-grid .webinar-block .webinar-link {
  padding: 0 15px 10px 15px;
  display: flex;
  justify-content: space-between;
  position: relative;
  flex-direction: row-reverse;
  /* Эффект перелива */
  /* При наведении — анимация "перелива" */
}
.webinars-grid .webinar-block .webinar-link .external-block {
  display: inline-block;
  margin: auto 0;
  font-weight: bold;
  color: #c8000b;
  background-color: #f9f9f9;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  font-size: 13px;
  padding: 4px 10px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.webinars-grid .webinar-block .webinar-link a {
  background-color: #ff8901 !important;
  font-weight: 400;
  font-size: 20px;
  border-radius: 5px;
  color: white;
  padding: 7px 20px;
  margin: 0;
  display: block;
  vertical-align: -webkit-baseline-middle;
  width: fit-content;
  position: relative;
  overflow: hidden;
  transition: background 0.5s ease;
}
.webinars-grid .webinar-block .webinar-link a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.webinars-grid .webinar-block .webinar-link a:hover::before {
  left: 125%;
}
.header-article {
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  width: 100%;
}
.article-image-block {
  padding-left: 25px;
  padding-bottom: 15px;
  float: right;
  max-width: 700px;
}
.article-image-block img {
  width: 100%;
}
.article-image-block .description {
  text-align: center;
  font-size: 15px;
}
.article-box {
  padding-left: 25px;
  padding-right: 25px;
}
.date-stuff {
  margin: 0 0 30px 0;
  font-size: 15px;
  font-style: italic;
  line-height: 19px;
}
.productBox {
  border-bottom-width: 2px;
  border-bottom-style: solid;
  background-color: #eaeaec;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  color: inherit;
  position: relative;
  cursor: pointer;
  text-decoration: none;
  flex: 1 0 21%;
  margin: 0;
}
.productBox .productLogo {
  width: 100px;
  min-height: 100px;
  height: auto;
  background-color: #fff;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.productBox .productLogo img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  max-width: 90px;
  max-height: 90px;
  height: auto;
  width: auto;
}
.productBox .productData {
  padding-bottom: 0;
  background-color: #eaeaec;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border-left: 1px solid #d1d1d3;
  border-top: 1px solid #d1d1d3;
  border-right: 1px solid #d1d1d3;
  align-items: stretch;
  flex-grow: 2;
}
.productBox .productData .productDescription {
  /*      */
  min-height: 66px;
  flex: 1;
}
.productBox .productText {
  padding-bottom: 0;
  background-color: #eaeaec;
  overflow: hidden;
  display: inline-block;
  padding: 5px 5px 0 5px;
  font-size: 15px;
  font-weight: 700;
  color: #494949;
  width: 100%;
}
.productBox .supplierStatus {
  font-size: 11px;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-weight: 700;
  padding: 4px 7px;
  text-align: center;
  color: #494949;
  text-shadow: 1px 1px 1px #fff;
  z-index: 100;
}
.productBox .topBlock {
  border-left: 3px solid #e3e3e3;
  border-right: 3px solid #e3e3e3;
  border-top: 3px solid #e3e3e3;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  max-height: 160px;
}
.productBox .productImg {
  max-width: 95%;
  width: auto;
  height: auto;
  /* max-height: 95%; */
}
.productBox .productBorder .supplierStatus {
  position: absolute;
  bottom: 0;
  left: 0;
}
.productBox .statusPlatinum {
  background-image: url('../img/platinum-bgr.jpg');
  background-color: #cfd0d2;
}
.productBox .satusGold {
  background-image: url('../img/gold-bgr.jpg');
  background-color: #edc93d;
}
.productBox .satusSilver {
  background-image: url('../img/silver-bgr.jpg');
  background-color: #c7c7c7;
}
.productBox .productModel {
  padding: 0 0 0 5px;
}
.Footer {
  background: #414142;
  border-top: 5px solid #babac3;
  padding-right: 25px;
  padding-left: 25px;
}
.Footer .FooterCont {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: relative;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  align-items: center;
  color: #fff;
  font-size: 18px;
}
.Footer .FooterCont a,
.Footer .FooterCont a:hover,
.Footer .FooterCont a:visited {
  color: #fff;
  text-decoration: underline;
}
.Footer .copyR {
  font-size: 14px;
  line-height: 20px;
  padding: 40px 0;
  flex-grow: 1;
  text-align: right;
}
.Footer .linkBack {
  font-size: 14px;
  line-height: 20px;
  padding: 40px 0;
  flex-grow: 1;
}
.article-footer .Footer .FooterCont {
  max-width: 1280px;
}
.related-links {
  font-size: 15px;
  line-height: 20px;
  margin: 40px 0 0 0;
}
.related-links h3 {
  font-size: 20px;
  margin: 0;
  padding: 0;
  line-height: 28px;
}
.related-links a {
  font-size: 15px;
  line-height: 20px;
  margin: 40px 0 0 0;
}
svg:not(:root).svg-inline--fa {
  overflow: visible;
}
.svg-inline--fa.fa-w-16 {
  width: 1em;
}
.svg-inline--fa {
  display: inline-block;
  font-size: inherit;
  height: 1em;
  overflow: visible;
  vertical-align: -0.125em;
}
@media all and (max-width: 1400px) {
  .webinars-grid,
  .articles-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media all and (max-width: 1100px) {
  .webinars-grid,
  .articles-grid {
    grid-template-columns: 1fr 1fr;
  }
  .webinars-grid a .article-image,
  .articles-grid a .article-image {
    padding: 0 20px;
  }
  .webinars-grid a h2,
  .articles-grid a h2 {
    font-size: 16px;
    line-height: 24px;
  }
}
@media all and (max-width: 1000px) {
  .pagination-item {
    padding: 10px 10px;
    font-size: 16px;
  }
  .Footer .FooterCont {
    flex-direction: column;
  }
  .Footer .copyR,
  .Footer .linkBack {
    padding: 20px 0;
  }
  .Footer .copyR {
    text-align: center;
  }
  .article-box {
    padding-left: 5px;
    padding-right: 5px;
  }
}
@media all and (max-width: 700px) {
  .webinars-grid:has( > .webinar-block:nth-child(2):last-child) {
    grid-template-columns: inherit;
  }
  .pagination-item {
    padding: 5px 5px;
    font-size: 16px;
  }
  .article-image-block {
    padding-left: 0;
    padding-bottom: 25px;
    float: none;
    width: auto;
    margin: 0 auto;
  }
  .article-content {
    margin: 20px 10px;
    padding: 20px;
    border: 3px solid #e3e3e3;
    font-size: 16px;
    line-height: 22px;
  }
  .article-content h1 {
    font-size: 25px;
    line-height: 31px;
    padding: 0;
  }
}
@media all and (max-width: 600px) {
  .pagination-item {
    padding: 5px 5px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: normal;
  }
  .pagination {
    flex-wrap: wrap;
  }
  #header_logo {
    width: 280px;
    height: auto;
  }
}
@media all and (max-width: 675px) {
  .webinars-grid,
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 15px;
  }
  header {
    padding-left: 15px;
    padding-right: 15px;
  }
}
