/*
* General Rules
*/
.view-article #sp-main-body,
.view-category #sp-main-body {
  padding: 50px 0px;
}
.com-sppagebuilder #sp-breadcrumbs .breadcrumb {
  background-color: transparent;
}
#sp-breadcrumbs .breadcrumb {
  max-width: 1460px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 0px;
}
#sp-breadcrumbs .breadcrumb .float-start {
  display: none;
}
/* ***MENIU MOBILE*** */
.offcanvas-menu .sp-module-content ul > li > ul > li {
  margin: 3px 0px;
  padding: 5px;
}
/* ***Buttons*** */
.sppb-addon-text-block.link-to-button [itemprop="articleBody"] a {
  background: #02416f;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
}
.sppb-addon-text-block.link-to-button [itemprop="articleBody"] a:hover {
  background: #0078cd;
}
.view-page .article-details.mx-link-list [itemprop="articleBody"] li {
  margin: 20px 0px;
}
.view-page .article-details.mx-link-list [itemprop="articleBody"] li a,
.view-page .article-details.mx-link-list [itemprop="articleBody"] a {
  display: inline-flex;
  background: #ffffff;
  box-shadow: 0px 0px 5px #0000002e;
  padding: 3px 5px;
  border-radius: 4px;
  color: #000;
  transition: 1000ms;
}
.view-page .article-details.mx-link-list [itemprop="articleBody"] li a:hover,
.view-page .article-details.mx-link-list [itemprop="articleBody"] a:hover {
  background: #ffffff;
  color: #005aff;
  box-shadow: 0px 0px 3px #005aff;
  transition: 500ms;
}
.sppb-section.mx-text-ultralink .article-details p > a {
  border: 1px solid #ffffff;
  border-radius: 4px;
  margin: 5px;
  padding: 0px 5px;
}
.sppb-section.mx-text-ultralink .article-details p > a:hover {
  background: #2a61c9;
  color: #fff;
  border-color: #2a61c9;
}
/* Magenix code - 2023 */
.sppb-section.mx-text-ultralink .article-details p {
  background: #efefef;
  padding: 7px 0px 7px 5px;
  margin-bottom: 5px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
}
#sp-header .container {
  max-width: 1460px;
}
#sp-header {
  background: #efefefe0;
  backdrop-filter: blur(5px);
  box-shadow: 0px 3px 21px 0px #00000059;
  border-bottom: 1px solid #00000038;
}
.sp-dropdown.sp-dropdown-main {
  width: max-content !important;
}
/* *** Cutsom Accordion *** */
.sppb-addon-accordion.mx-c-acc
  .sppb-panel.sppb-panel-custom
  .sppb-panel-heading:hover {
  background: #ddd !important;
  color: #006fd7 !important;
}
/* *** Front Page *** */
.sppb-section.mx-fp .sppb-article-info-wrap .sppb-article-introtext {
  margin-bottom: 25px;
}
.sppb-section.mx-fp .sppb-article-info-wrap a.sppb-readmore {
  padding: 10px 20px;
  border-radius: 4px;
  border: 1px solid #0345bf;
}
.sppb-section.mx-fp .sppb-article-info-wrap a.sppb-readmore:hover {
  background: #0345bf;
  color: #fff;
}

/*
* Conducerea
*/
.leading-persons.sppb-addon-person .sppb-person-image img {
  max-width: 420px;
}
#comisii .sppb-addon-wrapper.addon-root-text-block {
  height: 100%;
}
#comisii .sppb-addon-wrapper.addon-root-text-block > div {
  height: calc(100% - 32px);
}

/*
* Make Footer Fixed always at the bottom
*/
/* Metoda 1 */
/* .body-innerwrapper {
  position: relative;
  min-height: 100vh;
}
#sp-main-body {
  padding-bottom: 98px !important;
}
#sp-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 98px;
} */
/* Metoda 2 */
.body-innerwrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
#sp-footer {
  margin-top: auto;
}

/*
* Responsivitate
*/
/* Large desktops, less than 1400px */
@media (max-width: 1399.98px) {
  .sp-megamenu-parent > li > a,
  .sp-megamenu-parent > li > span {
    padding: 0 8px;
  }
  #sp-menu .sp-megamenu-parent > li > a,
  #sp-menu .sp-megamenu-parent > li > span,
  #sp-menu .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
    font-size: 14px;
  }
}

/* Desktops, less than 992px */
@media (max-width: 1199.98px) {
  #sp-menu .sp-megamenu-parent > li > a,
  #sp-menu .sp-megamenu-parent > li > span,
  #sp-menu .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
    font-size: 12px;
  }
}
