@font-face {
  font-family: 'Fixel Text';
  src: url('../fonts/fixel/FixelText/FixelText-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fixel Text';
  src: url('../fonts/fixel/FixelText/FixelText-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fixel Text';
  src: url('../fonts/fixel/FixelText/FixelText-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fixel Text';
  src: url('../fonts/fixel/FixelText/FixelText-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Дополнительно для заголовков, если ты используешь другой файл */
@font-face {
  font-family: 'Fixel Display';
  src: url('../fonts/fixel/FixelDisplay/FixelDisplay-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* ****************************************** */
body {
  min-width: 370px;
  font-family: 'Fixel Text', sans-serif;
}
/* header */
header {
  height: 133px;
  position: fixed;
  right: 0;
  left: 0;
  z-index: 1030;
}
header .branding-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.08em;
  color: #174583;
}
header .region-language-switcher {
  padding-top: 7px;
}
/* search */
header .search-form .btn-search {
  border: 1px solid #174583;
  border-radius: 50px;
  background-color: transparent;
  color: #174583;
  text-transform: uppercase;
  position: relative;
  transition: background-color .5s, color .5s;
  height: 40px;
  width: 110px;
  font-size: 14px;
  background-image: url('/themes/custom/ifmc/images/icons/search.svg');
  background-repeat: no-repeat;
  background-position: 1rem center;
  background-size: 1em 1em;
}
header .search-form .btn-search:hover,
.search-form .btn-search:focus {
  background-color: #174583;
  color: #ffffff;
  background-image: url('/themes/custom/ifmc/images/icons/search-hover.svg');
}
header .search-form .btn-search div {
  margin: 0.4rem 0.5rem 0.4rem 1.5rem;
}
/* main menu */
header .menu {
  height: 65px;
  border-bottom: 1px dotted #a6b3cc;
}
header .menu .nav-link {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.08em;
  color: #fff;
  text-transform: uppercase;
}



.dropdown-submenu { position: relative; }
.dropdown-submenu > .dropdown-menu { top: 0; left: 100%; margin-left: .125rem; }
.dropdown.show > .dropdown-menu { display: block; }

.dropdown-menu-inline {
  position: static !important;
  display: block !important;
  float: none;
  width: auto;
  padding: .25rem 0;
  margin: .25rem 0 .5rem 1.25rem;
  border: 0;
  box-shadow: none;
  z-index: auto;
}

.nav-level-1 > li.show > .dropdown-item {
  background-color: var(--bs-primary);
  color: #fff;
}




header .navbar-nav .nav-link.show, header .menu .navbar-nav .nav-link.active {
  color: #fff;
}
.header-spacer {
  display: block;
  height: 133px;
  min-height: 133px;
  flex-shrink: 0;
}
.bg-second {
  background-color: #DBE6FF;
}

/* HERO block */
.hero {
  height: 693px;
  overflow: hidden;
}
.hero .hero-text {
  width: 660px;
  min-width: 660px;
  margin-left: calc((100vw - 1320px) / 2);
}
.hero .hero-title {
  font-size: 60px;
  font-weight: 500;
  line-height: 1.1;
  padding-top: 50px;
  letter-spacing: 2px;
}
.hero .hero-description {
  font-size: 20px;
  font-weight: 300;
  padding-right: 140px;
}
.hero .hero-img-wrap {
  height: 693px;
  overflow: hidden;
}
.hero .hero-img-wrap img {
  object-fit: cover;
  object-position: center;
  display: block;
}
/* main page block title "about as", "scientific directions", "selected activity" */
.main-page-block-title {
  font-size: 48px;
  font-weight: 500;
  color: #174583;
}
/* "about as" page */
.about-as-block {
  color: #174583;
  line-height: 1.3;
}
.about-as-block .about-main-desc  {
  padding: 15px 20px 5px 20px;
  border-radius: 11px;
  margin-bottom: 25px;
  font-size: 20px !important;
  font-weight: 500;
}
.about-as-block .about-desc {
  font-size: 0.875rem;
}
.about-as-block .about-desc p {
  margin-bottom: 0.5rem;
}
/* scientific directions */
.science-block .sb-header {
  margin-bottom: 15px;
}
.science-block .sd-card-first {
  height: 536px;
  padding-top: 19rem !important;
  position: relative;
}
.science-block .sd-card-first .molecule-icon {
  position: absolute;
  top: -4.5rem;
  left: -4.5rem;
  width: 24rem;
  height: 24rem;
  background-image: url('/themes/custom/ifmc/images/molecule.png');
  background-size: contain;
  background-repeat: no-repeat;
}
.science-block .sd-card {
  height: 256px;
}
.science-block .sd-title {
  font-size: 28px;
  color: #174583;
  line-height: 1;
}
.science-block .sd-description {
  font-size: 15px;
  color: #000000;
  line-height: 1.2;
  padding-top: 19px;
}

/* News and Events */
.news-events {
  background: linear-gradient(
    to right,
    #174583 0%,
    #174583 50%,
    #dbe6ff 50%,
    #dbe6ff 100%
  );
}
.news-events .news-events-container {
  background-color: #f1f4f7;
}
.news-events .news-header, .news-events .events-header {
  font-size: 48px;
  font-weight: 500;
}
.news-events .news-image img {
  border-radius: 1rem;
}
.news-events .news-title  {
  font-size: 20px;
  color: #174583;
  line-height: 1.2;
  font-weight: 500;
}
.news-events .news-text {
  font-size: 14px;
  line-height: 1.4;
}
.news-events .news-more a, .news-events .events-more a {
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
}
.events-block .events-date {
  color: #174583;
  font-size: 36px;
  line-height: 1.2;
}
.events-block .events-month, .events-block .events-time, .events-block .events-type {
  color: #174583;
  font-size: 15px;
}
.events-block .event-card {
  height: 180px;
}
.events-block .events-desc {
  font-size: 14px;
  line-height: 1.3;
}
.news-events .all-news {
  color: #ffffff;
  border: 1px solid #ffffff;
}
.news-events .all-events {
  color: #174583;
  border: 1px solid #174583;
}
.news-events .all-news, .news-events .all-events {
  border-radius: 50px;
  background-color: transparent;
  text-transform: uppercase;
  font-size: 14px;
  text-decoration: none;
  padding: 5px 15px;
}
/* selected activity */
.selected-activity-block .activity-card {
  height: 400px;
}
.selected-activity-block .sa-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.selected-activity-block .sa-title {
  color: #174583;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 500;
}
.selected-activity-block .sa-desc {
  font-size: 15px;
  line-height: 1.2;
}
.selected-activity-block .sa-more a {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
/* btn add/edit */
.btn-add-nodes a, .btn-edit-nodes a {
  text-transform: uppercase;
  color: #ce3232;
  border: 1px solid;
  border-radius: 5px;
  width: 100%;
  display: block;
  text-align: center;
}
.btn-add-nodes a:hover, .btn-edit-nodes a:hover {
  background-color: #ce3232;
  color: #fff;
}
.dotted-line {
  border-top: 1px solid #dbe6ff;
}
/* swiper */
.swiper-wrapper img {
  border-radius: 1rem;
}
.swiper-button-prev, .swiper-button-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 10;
  position: absolute;
  bottom: 15px;
  top: auto;
}
.swiper-button-prev {
  left: auto;
  right: 60px;
}
.swiper-button-next {
  right: 15px;
}
.swiper-button-prev::after, .swiper-button-next::after {
  color: #174583;
  font-size: 15px;
  font-weight: 900;
}
/* blue block title */
.region-block-title {
  padding-bottom: 10px;
}
.field--name-field-zs-title {
  font-size: 52px;
  line-height: 1.1;
}
.field--name-field-field-zs-desc {
  font-size: 20px;
  width: 800px;
  margin: auto;
  padding-top: 20px;
}
/* title pages */
.dep-lab-title {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.1;
}
/* right menu mobile style */
.fixmenu-dropdown {
  border: 1px solid #ccc;
  border-radius: 1rem;
  background: #ffffff;
  max-width: 100%;
  font-size: 14px;
  color: #174583;
  text-transform: uppercase;
}
.fixmenu-dropdown .fixmenu-toggle {
  padding: 10px;
  cursor: pointer;
  font-weight: bold;
  list-style: none;
  font-size: 15px;
}
.fixmenu-dropdown .fixmenu-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fixmenu-dropdown .fixmenu-menu li a {
  padding: 10px 0;
  font-size: 14px;
  font-weight: 500;
  border-top: 1px dotted;
}
.fixmenu-dropdown .fixmenu-menu li a:hover {
  background: #e9ecef;
}
.fixmenu-dropdown .fixmenu-menu li:last-child a {
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}
.fixmenu-dropdown .fixmenu-menu li a.is-active {
  font-weight: bold;
  background-color: #e9ecef;
}
/* leftbar menu */
.fixmenu-block ul {
  width: 100%;
  background-color: #fff;
  border-radius: 1rem;
  padding: 15px 25px;
  text-transform: uppercase;
}
.fixmenu-block ul li a {
  padding: 4px 0;
  font-size: 14px;
  font-weight: 500;
  color: #174583;
}
.fixmenu-block ul li a:hover {
  color: #174583;
}
.fixmenu-block ul li a.nav-link.active {
  color: #000;
}
.fixmenu-block ul li a.nav-link.active::before {
  content: '›';
  font-size: 1.2em;
  margin-right: 5px;
}

.image-style-posluhy-viddiliv {
  border-radius: 1rem;
}
.do-not-synthesize {
  font-size: 11px;
  line-height: 1;
  color: #800b0b;
  text-align: justify;
}
/* staff */
.image-style-foto-spivrobitnyka {
  border-radius: 1rem;
}
.spivrobitnyk .title-spivrobitnyka {
  font-size: 1.25rem;
  line-height: 1.2;
  min-height: 48px;
  overflow: hidden;
}
.spivrobitnyk .degree-spivrobitnyka {
  font-size: 15px;
  line-height: 1.1;
  color: #737d8b;
}
.spivrobitnyk .dotted-line {
  height: 41px
}
.spivrobitnyk .phone-spivrobitnyka, .spivrobitnyk .phone-spivrobitnyka {
  height: 22px
}
.spivrobitnyk .email-field {
  font-size: 14px;
}
.photo-rmv, .photo-rmv-zgr {
  overflow: hidden;
}
.rmv .degree-spivrobitnyka {
  height: 14px
}
.rmv .degree-spivrobitnyka.rmv-zgr {
  height: 34px
}
.photo-rmv-zgr img {
  max-width: 220px;
}
.field--name-field-rvm-e-mail .field__item,
.field--name-field-rvm-instagram .field__item {
  padding-left: 50px;
}
ul.education-friends-link {
  margin-bottom: 0;
  line-height: 1.2;
}
ul.education-friends-link li {
  padding: 4px 0;
}
/* zahust phd all */
.zphd .title-spivrobitnyka {
  font-size: 1.25rem;
  line-height: 1.2;
  min-height: 48px;
  overflow: hidden;
}
.zphd .spetsialnist-label, .zphd .nazva-robotu-label {
  font-size: 16px;
}
.zphd .spetsialnist, .zphd .nazva-robotu {
  font-size: 15px;
  line-height: 1.2;
  padding-left: 20px;
}
.zphd .dotted-line a {
  margin: auto;
  font-size: 15px;
  font-weight: 500;
}
/* zahust phd user */
.phd-user img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* обрезка без искажения пропорций */
  display: block;
}
.phd-user .defense-desc .field__item {
  font-size: 15px;
  line-height: 1.2;
  padding-left: 10px;
}
.phd-user .text-white a {
  color: #DBE6FF;
}
.phd-user .title-reviewer, .phd-user .title-opponent {
  font-size: 1.25rem;
  line-height: 1.2;
}
.phd-user .degre-reviewer, .phd-user .degre-opponent {
  font-size: 15px;
  line-height: 1.1;
  color: #000;
}
/* dep/lab */
.dep-lab-name {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}
figure.caption-img {
  background-color: #DBE6FF;
  text-align: center;
  padding: 15px;
  border-radius: 1rem 1rem 0 0;
}
figure.caption-img figcaption {
  background-color: #DBE6FF;
  padding: 0 15px 15px 15px;
  border-radius: 0 0 1rem 1rem;
  line-height: 1.2;
}
/* obladnannya */
.view-obladnannya .form-item.d-flex {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: nowrap;
  margin-bottom: 0;
}
.view-obladnannya .equipment-label,
.view-obladnannya .form-item label {
  font-size: 20px;
  margin-bottom: 0;
  white-space: nowrap;
}
.view-obladnannya .form-item select,
.view-obladnannya .form-item .form-select {
  background: #fff;
  border: none;
  border-radius: 1rem;
  padding: 0.20rem 1.2rem 0.20rem 0.7rem;
  font-size: 14px;
  min-width: 62px;
  min-height: 25px;
  color: #222;
  box-shadow: 0 0 0 1.5px #e1e6ee, 0 2px 6px 0 rgba(0,0,0,0.06);
  transition: box-shadow .15s;
  text-transform: uppercase;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #fff;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23154278" viewBox="0 0 24 24" width="20" height="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 1.3rem 1.3rem;
  padding-right: 2.2rem; /* чтобы не налезал текст на стрелку */
}
.view-obladnannya .equipment-title {
  font-size: 48px;
  font-weight: 500;
}
.view-obladnannya .form-item select:focus,
.view-obladnannya .form-item .form-select:focus {
  outline: none;
}
.view-obladnannya .equipment-name {
  font-size: 26px;
  line-height: 1.1;
}
.view-obladnannya .equipment-vyrobnyk {
  font-size: 20px;
}
.view-obladnannya .text-kontaktna-osoba {
  border-top: 1px solid #dbe6ff;
  padding-top: 5px;
}
.view-obladnannya .text-kontaktna-osoba span {
  float: right;
}
.image-style-foto-obladnannya {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 1rem;
}
/**/
.ac-posada {
  font-size: 14px;
  font-weight: 900;
  margin: auto;
  color: #000;
  text-align: center;
}
/**/
.view-documents-main a.main-doc-link {
  font-size: 15px;
}
/**/
.serices-all-name {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.1;
}
.serices-all-desc {
  line-height: 1.1;
}
img.image-style-posluhy-zahalna, img.image-style-novyny, img.image-style-podiyi {
  border-radius: 1rem;
  margin: auto;
}
.services-list-dep {
  line-height: 1.3;
}
.services-list-dep li {
  padding-bottom: 2px;
}
/**/
.title-rik-vtypy {
  font-size: 1.25rem;
}
.onp-files {
  font-size: 15px;
}
/* phd news */
.title-phd-news {
  font-size: 24px;
  font-weight: 900;
  border-bottom: 1px solid #dbe6ff;
}
.desc-phd-news {
  font-size: 15px;
  line-height: 1.3;
}
.phd-news time {
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  letter-spacing: 1px;
}
.phd-news-edit a {
  color: red;
}
/**/
.field--name-field-events-img {
  text-align: center;
}
/**/
.page-contact input, .page-contact textarea {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.6);
  padding: .75rem 1rem;
  border-radius: 20px;
}
.page-contact input#edit-submit:hover, .page-contact input:focus, .page-contact textarea:focus {
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(255,255,255,.25);
  outline: 0;
}
.page-contact input#edit-submit:hover {
  color: #174583;
  background-color: #fdfdfd;
}
/* contacts */
.page-contact .title-contact {
  font-size: 23px;
  font-weight: 500;
}
.page-contact .text-address {
  line-height: 1.2;
  font-size: 17px;
  font-weight: 500;
}
.page-contact .text-address-all {
  border-top: 1px dotted;
  font-size: 15px;
}
.page-contact .text-address-all ul {
  line-height: 1.3;
}
/* footer */
footer {
  font-size: 15px;
}
footer .footer-logo {
  width: 200px;
}
footer .icons .instagram a, footer .icons .facebook a {
  display: inline-block;
  width: 44px;
  height: 44px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
}
footer .icons .instagram a {
  background-image: url('/themes/custom/ifmc/images/instagram.png');
}
footer .icons .facebook a {
  background-image: url('/themes/custom/ifmc/images/facebook.png');
}
footer .help-btn a::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(to bottom, #2196f3 50%, #fdd835 50%);
}
footer .help-btn a {
  text-decoration: none;
  line-height: 1;
  position: relative;
  background: #fff;
  border-radius: 50px;
  padding: 14px 15px 14px 40px;
  height: 44px;
  margin-bottom: 4px;
}

@media (max-width: 1399.98px) {
  .hero, .hero .hero-img-wrap  {
    height: 610px;
  }
  .hero .hero-text {
    min-width: 590px;
    margin-left: calc((100vw - 1140px) / 2);
  }
  .about-as-block .about-main-desc  {
    padding: 11px 20px 5px 20px;
    margin-bottom: 5px;
    font-size: 17px !important;
  }
  .selected-activity-block .activity-card {
    height: 360px;
  }
  .selected-activity-block .sa-desc {
    font-size: 14px;
  }
  footer .help-btn a {
    font-size: 12px;
    line-height: 1.2;
  }
  .photo-rmv img {
    max-width: 260px;
  }
  .photo-rmv-zgr img {
    max-width: 100%;
  }
  .spivrobitnyk .email-field {
    font-size: 13px;
  }
}
@media (min-width: 767.98px) and (max-width: 1199.98px ){
  footer .icons {
    flex-wrap: wrap;
    justify-content: center;
  }
  footer .help-btn {
    order: -1;
    width: 100%;
    justify-content: center;
  }
  footer .help-btn a {
    line-height: 1;
    padding: 8px 15px 14px 40px;
    height: 30px;
    margin-bottom: 0px;
  }
  footer .icons > div {
    flex: 0 0 auto;
  }
}
@media (max-width: 1199.98px) {
  header .branding-title {
    font-size: 18px;
  }
  .search-form .btn-search {
    width: 95px;
    background-position: 0.7rem center;
  }
  .hero, .hero .hero-img-wrap {
    height: 530px;
  }
  .hero .hero-text {
    min-width: 500px;
    margin-left: calc((100vw - 960px) / 2);
  }
  .hero .hero-title {
    font-size: 50px;
    padding-top: 40px;
  }
  .hero .hero-description {
    font-size: 19px;
    padding-right: 70px;
  }
  .science-block .sd-title {
    font-size: 25px;
  }
  .science-block .sd-card-first {
    height: 595px;
  }
  .science-block .sd-card {
    height: 285px;
  }
  .selected-activity-block .activity-card {
    height: 315px;
  }
  .selected-activity-block .sa-desc {
    font-size: 15px;
  }
  .photo-rmv img {
    max-width: 100%;
  }
  .photo-rmv-zgr img {
    max-width: 100%;
  }
  .spivrobitnyk .email-field {
    font-size: 14px;
  }
}
@media (max-width: 991.98px) {
  header .branding-title {
    font-size: 15px;
  }
  header .search-form .btn-search {
    width: 50px;
    height: 35px;
    background-position: 1.05rem center;
  }
  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 20px;
    padding-left: 20px;
  }
  .hero, .hero .hero-img-wrap {
    height: 460px;
  }
  .hero .hero-text {
    min-width: 375px;
    width: 375px;
    margin-left: calc((100vw - 720px) / 2);
    color: #fff;
  }
  .hero .hero-title {
    font-size: 39px;
    padding-top: 25px;
  }
  .hero .hero-description {
    font-size: 16px;
    padding-right: 25px;
  }
  .about-as-block .about-main-desc  {
    padding: 15px 20px 5px 20px;
    margin-bottom: 15px;
    font-size: 20px !important;
  }
  .science-block .main-page-block-title {
    margin-bottom: 30px;
  }
  .science-block .sd-card-first, .science-block .sd-card {
    height: 256px;
  }
  .science-block .sd-card-first {
    padding-top: 1.5rem !important;
    padding-left: 19rem !important;
  }
  .news-events .news-events-container {
    background: none;
  }
  footer .footer-address, footer .footer-contacts {
    font-size: 13px;
  }
  .field--name-field-zs-title {
    font-size: 47px;
  }
  .field--name-field-field-zs-desc {
    font-size: 18px;
    width: 600px;
  }
  .phd-user .degre-reviewer, .phd-user .degre-opponent {
    font-size: 14px;
  }
  .services-list-dep li {
    padding-bottom: 6px;
  }
}
@media (max-width: 767.98px) {
  ol, ul {
    padding-left: 1.1rem;
  }
  .header-spacer {
    height: 68px;
    min-height: 68px;
  }
  header {
    height: 68px;
  }
  .branding-title {
    display: none;
  }
  header .region-language-switcher {
    padding-top: 10px;
  }
  header .region-search {
    margin-right: -10px;
    padding-left: 3px;
  }
  .site-header a.navbar-toggler:focus {
    outline: none !important;
    box-shadow: none !important;
  }
  /* mobile main menu */
  #mobile-main-menu .modal-content {
    background-color: #174583;
  }
  #mobile-main-menu .modal-header {
    border-bottom-style: dotted;
  }
  #mobile-main-menu .modal-footer  {
    border-top-style: dotted;
  }
  #mobile-main-menu .navbar-nav > .nav-item {
    padding: 2px 0;
  }
  #mobile-main-menu .navbar-nav > .nav-item > .nav-link:not(.dropdown-toggle), #mobile-main-menu .navbar-nav > .nav-item > .nav-link {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    box-sizing: border-box;
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    text-transform: uppercase;
    font-size: 1.125rem;
  }
  #mobile-main-menu .navbar-nav .nav-item.dropdown .dropdown-menu.nav-level-1 {
    position: static !important;
    transform: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
    padding-left: 15px;
    background: transparent;
    box-shadow: none;
    border: none;
  }
  #mobile-main-menu .navbar-nav .dropdown-menu.nav-level-1 .dropdown-item {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.5rem 1rem;
    margin: .25rem 0;
    background: #ffffff;
    color: #0f2e5f;
    font-size: 1rem;
    white-space: normal;
    word-break: break-word;
  }
  /* end mobile main menu */
  .hero, .hero .hero-img-wrap {
    height: 350px;
  }
  .hero .hero-text {
    min-width: 305px;;
    margin-left: calc((100vw - 547px) / 2);
  }
  .hero .hero-title {
    font-size: 30px;
    padding-top: 40px;
  }
  .hero .hero-description {
    font-size: 12px;
    padding-right: 20px;
  }
  .science-block .sd-card-first {
    padding-left: 14rem !important;
  }
  .science-block .sd-card-first .molecule-icon {
    width: 21rem;
    height: 21rem;
  }
  .science-block .sd-title {
    font-size: 28px;
  }
  .selected-activity-block .activity-card {
    height: 720px;
  }
  .selected-activity-block .sa-image {
    height: 68%;
  }
  footer .footer-logo {
    margin: auto;
    display: block;
  }
  footer .footer-address, footer .footer-contacts {
    font-size: 14px;
  }
  footer .help-btn {
    order: 0;
  }
  .field--name-field-zs-title {
    font-size: 43px;
  }
  .field--name-field-field-zs-desc {
    font-size: 16px;
    width: 440px;
  }
  .spivrobitnyk .title-spivrobitnyka {
    font-size: 1.2rem;
  }
  .photo-rmv img {
    max-width: 250px;
  }
  .spivrobitnyk .degree-spivrobitnyka.rmv-zgr {
    height: 17px
  }
  .spivrobitnyk .email-field {
    font-size: 11px;
  }
  .phd-user .link-files {
    line-height: 1.1;
    font-size: 14px;
  }
  .ac-posada {
    font-size: 12px;
  }
  .view-documents-main .main-docs {
    line-height: 1.3;
  }
  .view-documents-main a.main-doc-link {
    font-size: 14px;
  }
  .onp .dep-lab-title {
    font-size: 40px;
  }
}
@media (max-width: 575.98px) {
  .hero {
    height: 750px;
  }
  .hero .hero-img-wrap {
    height: 375px;
  }
  .hero .hero-text {
    width: 100%;
    height: 375px;
    margin: auto;
  }
  .hero .hero-title {
    font-size: 37px;
  }
  .hero .hero-description {
    font-size: 15px;
  }
  .science-block .sd-card-first .molecule-icon {
    top: -3.5rem;
    left: -3.5rem;
  }
  .science-block .sd-card-first {
    height: 445px;
    padding-left: 1.5rem !important;
    padding-top: 15rem !important;
  }
  .selected-activity-block .activity-card {
    height: 760px;
  }
  .selected-activity-block .sa-content {
    height: 100%;
  }
  .selected-activity-block .sa-image {
    height: 70%;
  }
  .field--name-field-zs-title {
    font-size: 38px;
  }
  .field--name-field-field-zs-desc {
    font-size: 15px;
    width: 100%;
  }
  .spivrobitnyk .title-spivrobitnyka {
    font-size: 1.25rem;
  }
  .spivrobitnyk .email-field {
    font-size: 14px;
  }
  .photo-rmv img {
    max-width: 100%;
  }
  .phd-user .link-files {
    font-size: 16px;
    text-align: center;
  }
  .ac-posada {
    font-size: 14px;
  }
}
@media (max-width: 540.98px) {
  .main-page-block-title {
    font-size: 43px;
  }
  .selected-activity-block .sa-image {
    height: 65%;
  }
  .field--name-field-rvm-e-mail .field__item,
  .field--name-field-rvm-instagram .field__item {
    padding-left: 30px;
    font-size: 15px;
  }
  .onp .dep-lab-title {
    font-size: 39px;
  }
}
@media (max-width: 489.98px) {
  .selected-activity-block .sa-image {
    height: 60%;
  }
  .field--name-field-rvm-e-mail .field__item,
  .field--name-field-rvm-instagram .field__item {
    padding-left: 20px;
    font-size: 14px;
  }
  .onp .dep-lab-title {
    font-size: 32px;
  }
}
@media (max-width: 425.98px) {
  .phd-user .link-files {
    font-size: 15px;
  }
}
@media (max-width: 419.98px) {
  .main-page-block-title {
    font-size: 40px;
  }
  .science-block .sd-card {
    height: 276px;
  }
  .news-events .news-header, .news-events .events-header {
    font-size: 44px;
  }
  .news-events .all-news, .news-events .all-events {
    font-size: 11px;
  }
  .selected-activity-block .sa-image {
    height: 52%;
  }
  footer .footer-address, footer .footer-contacts {
    font-size: 12px;
  }
  .field--name-field-zs-title {
    font-size: 32px;
  }
  .field--name-field-rvm-e-mail,
  .field--name-field-rvm-instagram {
    text-align: center;
   }
  .field--name-field-rvm-e-mail .field__item,
  .field--name-field-rvm-instagram .field__item {
    padding-left: 0px;
    font-size: 13px;
  }
}
@media (max-width: 408.98px) {
  .phd-user .link-files {
    font-size: 17px;
  }
}
