/* Ajustare inaltime - doar pentru versiunea desktop */
@media (min-width: 768px) {
    html, body {
        height: 100%;
        margin: 0;
        padding: 0;
    }

    .dialog-off-canvas-main-canvas {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    .main-container {
        flex-grow: 1;
    }

    footer {
        flex-shrink: 0;
    }
}

/* END - Ajustare inaltime div */

body {
    margin-top: 0;
    background-color: #f5f5f5;
}

ol.process-3 {
    padding-left: 0;
}

img {
    /*width: 100%;*/
    height: auto;
}

h1:not(:last-child),
.h1:not(:last-child) {
    margin-bottom: 1.25rem;
}

h2,
.h2 {
    margin-bottom: 0.75rem;
}

h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
    margin-bottom: 0.5rem;
}

a {
    text-decoration: none;
}

.btn .label {
    position: absolute;
}

.btn:hover {
    text-decoration: none;
}

.btn.type--uppercase .btn__text {
    margin-right: 0 !important;
}

.label {
    line-height: inherit;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
    text-decoration: none;
}

h2 a {
    font-weight: 300;
}

h5 a, h6 a {
    font-weight: 600;
}

p a, span a, label a {
    text-decoration: none;
}

ul.list-inline li {
    display: inline-block;
}

.field--label {
    font-weight: bold;
}

.text-white a:not(.btn-white) {
    color: white;
}

h1.title {
    font-size: calc(1.365rem + 1.38vw);
    line-height: 1.2;
    margin-bottom: 0.75rem !important;
}

@media (min-width: 1200px) {
    h1.title {
        font-size: 2.4rem;
    }
}

.text-inverse h1,
.text-inverse h2,
.text-inverse h3,
.text-inverse h4,
.text-inverse h5,
.text-inverse h6 {
    color: #cacaca;
}

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6 {
    color: #fff;
}

.image-wrapper.bg-image > .container {
    position: relative;
    z-index: 2;
}

/** Spacing **/
section > div[class*="container"]:not([class*="space-"])
    /*footer > div[class*="container"]:not([class*="space-"]) */
{
    padding-top: 2rem;
    padding-bottom: 2rem;
}

section .space-md,
footer .space-md {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.path-frontpage.page-node-type-landing-page .space-md {
    padding-top: 4rem !important;
    padding-bottom: .5rem;
}

section .space-xs,
footer .space-xs {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

section .space-sm,
footer .space-sm {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

section .space-lg,
footer .space-lg {
    padding-top: 7rem;
    padding-bottom: 7rem;
}

section .space-xl,
footer .space-xl {
    padding-top: 10rem;
    padding-bottom: 10rem;
}

section .space-xxl,
footer .space-xxl {
    padding-top: 16rem;
    padding-bottom: 16rem;
}

section .space-0,
footer .space-0 {
    padding-top: 0;
    padding-bottom: 0;
}

.space00 {
    padding: 0;
}

@media all and (max-width: 767px) {
    .node--type-landing-page .content > section:first-child > div[class*='container']:not(.space-0) {
        /*padding-top: 5rem;*/
    }

    section > div[class*="container"]:not[class*="space"],
    footer > div[class*="container"]:not[class*="space"] {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    section .space-sm,
    footer .space-sm,
    section .space-xs,
    footer .space-xs {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    section .space-md,
    footer .space-md {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    section .space-lg,
    footer .space-lg {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    section .space-xlg,
    footer .space-xlg {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

.unpad {
    padding: 0;
}

.unpad--bottom {
    padding-bottom: 0;
}

.unpad--top {
    padding-top: 0;
}

section.unpad--bottom {
    padding-bottom: 0;
}

section.unpad {
    padding: 0;
}

section.unpad--top {
    padding-top: 0;
}

.unmarg--bottom {
    margin-bottom: 0;
}

.unmarg {
    margin: 0;
}

.unmarg--top {
    margin-top: 0;
}

section .row--gapless div[class*="col-"],
section.row--gapless div[class*="col-"] {
    padding: 0;
}

section .region--top,
section .region--bottom {
    z-index: 1;
    margin: 0;
    position: relative;
}

@media (max-width: 991px) {
    section > div[class*="container"]:not([class*="space-"]) {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

@media (max-width: 540px) {
    section > div[class*="container"]:not([class*="space-"]) {
        padding-top: 0;
        padding-bottom: 0;
    }
}

/* Modal */
.modal-instance .video-play-icon + span {
    bottom: -10px;
}

.modal-instance .video-play-icon.video-play-icon--xs + span {
    bottom: 3px;
}

.modal-instance .video-play-icon + div {
    position: relative;
    display: inline-block;
    margin-left: 0.92857143em;
    white-space: nowrap;
    bottom: -10px;
}

.modal-instance + div:last-child {
    display: inline-block;
    margin-left: 0.92857143em;
}

@media all and (min-width: 768px) {
    .video-1 h2 {
        bottom: -15px;
    }
}

/* Table */
table {
    width: 100%;
    /*border-collapse: separate;*/
}

/* Navbar */
#toolbar-administration nav.clearfix {
    overflow: visible;
}

.bar.bg--dark .logo-dark,
.bar.bg--transparent .logo-dark {
    display: none;
}

.navbar:not(.transparent):not(.navbar-dark) .logo-light {
    display: none;
}

.navbar.transparent:not(.navbar-stick) {
    background: none;
}

.navbar.navbar-absolute {
    position: absolute;
}

.navbar.navbar-absolute,
.navbar.pos-fixed {
    z-index: 99;
    width: 100%;
}

.navbar.navbar.transparent:not(.navbar-stick) button.hamburger {
    color: white;
}

@media all and (min-width: 991px) {
    .navbar.transparent:not(.navbar-stick) {
        background: none;
    }

    .navbar.transparent:not(.navbar-dark):not(.navbar-stick) .logo-dark {
        display: none;
    }

    .navbar.bar--transparent:not(.navbar-dark) .logo-light {
        display: inline-block;
    }

    .navbar.transparent:not(.navbar-stick):not(.pos-fixed) ul.navbar-nav > li > a,
    .navbar.transparent:not(.navbar-stick):not(.pos-fixed) ul.navbar-nav > li > span {
        color: #fff;
    }
}

@media (max-width: 990px) {
    .navbar .navbar-other {
        display: none !important;
    }
}

/* Sidebar */
.sidebar .block:not(:last-child) {
    margin-bottom: 3.71428571em;
}

.sidebar .block {
    border: none;
    padding: 0;
}

.sidebar .block h2.block-title {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.45;
    border-bottom: none;
    margin-bottom: 0.75rem;
}

.sidebar .block-search .search-form {
    display: flex;
    align-items: center;
}

.sidebar .block-search .search-form input#edit-submit {
    padding: 10px;
    margin-top: 5px;
}

@media (min-width: 1200px) {
    section.sticky-column-first > [class*=container] > .row > [class*=col]:first-child {
        position: sticky;
        top: 8rem;
        height: 100%;
    }
}

/* Footer */
@media (min-width: 768px) {
    footer .footer-3 .row:last-child,
    footer .footer-4 .row:last-child {
        margin-top: 1.85714286em;
    }
}

footer {
    padding-top: 0;
    padding-bottom: 0;
}

[class*=text-md-end] .social a, .social[class*=text-md-end] a {
    margin: 0 0 0 0.7rem;
}

/* Masonry */
.masonry-filter-container > .masonry-filter-label {
    position: relative;
    bottom: 20px;
    display: inline-block;
}

.masonry-filter-container > .masonry-filter-label + .masonry-filter-holder {
    margin-left: 0.92857143em;
}

/* Card */
.card-img-bottom img {
    width: 100%;
    border-bottom-right-radius: var(--bs-card-inner-border-radius);
    border-bottom-left-radius: var(--bs-card-inner-border-radius);
}

/* Accordion */
ul.accordion {
    list-style: none;
    padding: 0;
}

ul.accordion li .accordion__title .field--name-field-paragraph-item-title {
    display: inline-flex;
}

.accordion-wrapper.plain .card {
    background: none;
    border: 0;
    margin-bottom: 0;
    box-shadow: none;
}

.accordion-wrapper li:not(.active) .card-header button {
    color: #343f52;
}

.accordion-wrapper.plain .card .card-body {
    padding: 0 0 0 1.1rem;
}

.accordion-wrapper.plain .card .card-header {
    padding: 0 0 0.8rem 0;
}

.accordion-wrapper.plain .card .card-header button {
    padding: 0 0 0 1rem;
}

.accordion-wrapper.plain .card .card-header button:before {
    left: 0rem;
}

.accordion-wrapper .card .card-header button:before {
    left: 1rem;
}

.accordion li .accordion-title button {
    box-shadow: none;
}

.accordion li.active .accordion-title button:before {
    content: "\e92d";
}

.accordion li .accordion-title button:after {
    display: none;
}

.accordion li.active .accordion-content {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
}

.accordion li .accordion-content > * {
    display: none;
}

.accordion li.active .accordion-content > * {
    display: inline-block;
}

.accordion.icon .card-body {
    padding: 0 1.25rem 0.25rem 2.8rem;
}

.accordion.icon button {
    padding: 0 0 0 1.5rem;
    display: flex;
    align-items: center;
}

.accordion.icon button:before {
    display: none;
}

.accordion.icon button > span {
    position: absolute;
    left: 0;
}

.accordion.icon button > span i {
    font-size: 1rem;
}

/* Column on mobile */
@media all and (max-width: 768px) {
    section.switch-column-mobile .row > .region--top {
        order: 1;
    }

    section.switch-column-mobile div[class*=container] > .row > div:nth-child(1 of [class*='col-']) {
        order: 3;
    }

    section.switch-column-mobile div[class*=container] > .row > div:nth-child(2 of [class*='col-']) {
        order: 2;
    }

    section.switch-column-mobile div[class*=container] > .row > div:nth-child(3 of [class*='col-']) {
        order: 4;
    }

    section.switch-column-mobile .row > .region--bottom {
        order: 5;
    }
}

/* Pager */
.active > .page-link, .page-link.active {
    background-color: var(--bs-template);
    /*background-color: #4a90e2;*/
    border-color: var(--bs-template);
}

a.page-link {
    color: #252525;
}

a.page-link:hover {
    color: #252525;
    background: #eee;
}

.view nav {
    display: flex;
    justify-content: center;
}

/* Tabs */
.tabs {
    display: block;
    margin-bottom: 0;
}

.tabs > li {
    display: inline-block;
    opacity: .5;
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
    -moz-transition: 0.3s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.tabs > .active,
.tabs:hover {
    opacity: 1;
}

.tabs .tab__title {
    cursor: pointer;
}

.tabs .tab__title:not(.btn) {
    padding: 0 1.85714286em;
}

.tabs li:first-child .tab__title:not(.btn) {
    padding-left: 0;
}

.tabs .tab__content {
    display: none;
}

.tabs-content {
    margin-top: 1.25rem;
}

.tabs-content li > .tab__content {
    width: 100%;
    display: none;
}

.tabs-content > .active > .tab__content {
    display: block;
    float: left;
}

.tabs-container[data-content-align="left"] .tabs-content {
    text-align: left;
}

@media all and (max-width: 767px) {
    .tabs-content > li:not(.active) .tab__content {
        display: none !important;
    }
}

.tabs-container.tabs--vertical {
    overflow: hidden;
}

.tabs-container.tabs--vertical .tabs {
    width: 25%;
    float: left;
}

.tabs-container.tabs--vertical .tabs li {
    display: block;
}

.tabs-container.tabs--vertical .tabs li:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid #ececec;
}

.tabs-container.tabs--vertical .tabs-content {
    width: 70%;
    float: right;
    margin-top: 0;
}

.tabs-container.tabs--vertical .tabs-content > li:not(.active) .tab__content {
    animation: fadeOutUp .5s ease forwards;
    -webkit-animation: fadeOutUp .5s ease forwards;
}

.tabs-container.tabs--vertical .tabs-content > li.active .tab__content {
    animation: fadeInUp .5s ease forwards;
    -webkit-animation: fadeInUp .5s ease forwards;
    backface-visibility: hidden;
}

.tabs-container.tabs--vertical.tabs--icons .tabs {
    width: 15%;
    text-align: center;
}

.tabs-container.tabs--vertical.tabs--icons .tabs-content {
    width: 80%;
}

@media all and (max-width: 767px) {
    .tabs-container.tabs--vertical .tabs,
    .tabs-container.tabs--vertical .tabs-content {
        width: 100%;
        float: none;
    }

    .tabs-container.tabs--vertical .tabs {
        margin-bottom: 1.85714286em;
    }

    .tabs-container.tabs--vertical .tabs-content > li:not(.active) .tab__content {
        animation: fadeOutRight .5s ease forwards;
        -webkit-animation: fadeOutRight .5s ease forwards;
    }

    .tabs-container.tabs--vertical .tabs-content > li.active .tab__content {
        animation: fadeInLeft .5s ease forwards;
        -webkit-animation: fadeInLeft .5s ease forwards;
        backface-visibility: hidden;
    }
}

.tabs {
    display: inline-flex;
}

.tabs li {
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
    -moz-transition: 0.3s ease;
    padding: 0.92857143em 1.85714286em;
}

.tabs li:not(:last-child) {
    border-right: 1px solid #ececec;
}

.tabs li.active {
    opacity: 1;
}

.tabs li:not(.active) {
    opacity: .5;
}

.tabs li:hover {
    opacity: 1;
    cursor: pointer;
}

.tabs .tab__title {
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
    -moz-transition: 0.3s ease;
}

.tabs .tab__title:not(.btn) {
    padding-right: 0;
    padding-left: 0;
}

.tabs .tab__title i + span {
    margin-top: 0.46428571em;
    display: inline-block;
    margin-bottom: 0;
}

.tabs-content {
    position: relative;
    list-style-type: none;
    padding: 0;
    float: left;
}

.tabs-content > li:not(.active) .tab__content {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    opacity: 0;
    pointer-events: none;
    animation: fadeOutRight .5s ease forwards;
    -webkit-animation: fadeOutRight .5s ease forwards;
}

.tabs-content > li.active {
    animation: fadeInLeft .5s ease forwards;
    -webkit-animation: fadeInLeft .5s ease forwards;
    backface-visibility: hidden;
}

@media all and (max-width: 767px) {
    .tabs li {
        display: block;
    }

    .tabs li:not(:last-child) {
        border-bottom: 1px solid #ececec;
        border-right: none;
    }
}

/* Image */
.img-mask.mask-1 img {
    -webkit-mask-image: url(../img/svg/blob.svg);
    mask-image: url(../img/svg/blob.svg);
}

.img-mask.mask-2 img {
    -webkit-mask-image: url(../img/svg/hex.svg);
    mask-image: url(../img/svg/hex.svg);
}

.img-mask.mask-3 img {
    -webkit-mask-image: url(../img/svg/blob2.svg);
    mask-image: url(../img/svg/blob2.svg);
}

/* Views Reference */
.paragraph--type--paragraph-views-reference .viewsreference--view-title {
    display: none;
}

/** Forms **/
button#edit-submit,
button#edit-subscribe {
    background: #4a90e2;
    border-color: #4a90e2;
    text-transform: uppercase;
    color: #fff;
}

/* Comment */
form.comment-form button#edit-preview,
form.comment-form input#edit-preview {
    display: none;
}

form#comment-form textarea {
    padding: 16px 20px;
    background: #f5f5f5 none repeat scroll 0 0;
}

form#comment-form select#edit-comment-body-0-format--2 {
    background: #f5f5f5 none repeat scroll 0 0;
}

form#comment-form button#edit-submit,
form#comment-form input#edit-submit {
    float: right;
    max-width: 25%;
    margin-right: 0;
}

figure.rounded-circle img {
    border-radius: 50% !important;
}

#comments ol.commentlist li.comment {
    margin-top: 2rem;
    display: block;
}

#comments .indented {
    margin: 2rem 0 0 0;
    overflow: inherit;
    padding: 0 0 0 3.5rem;
    list-style: none;
}

#comments .indented li.comment {
    position: relative;
}

#comments .indented li.comment:before {
    display: block;
    font-family: "Custom";
    content: "\e904";
    font-size: calc(1.325rem + 0.9vw);
    position: absolute;
    left: -2.5rem;
    top: -1.25rem;
    color: rgba(164, 174, 198, 0.25);
}

.comment .links-inline span {
    font-size: inherit;
}

@media (min-width: 1200px) {
    #comments .indented li.comment:before {
        font-size: 2rem;
    }
}

@media (max-width: 540px) {
    form#comment-form input#edit-submit {
        width: 100%;
        max-width: 100%;
    }
}

/* Search form */
#search-form .search-help-link {
    display: none;
}

#search-block-form .input-group {
    width: 100%;
}

a.nav-link-search {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 300px;
    line-height: 1;
    padding-left: 32px;
}

a.nav-link-search::before {
    content: "\eca5";
    font-family: "Unicons";
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 10px;
    font-size: .8rem;
    z-index: 1;
    color: #495057;
}

.btn-search {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .3rem;
    border-bottom: 1px solid #ced4da;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    text-decoration: none;
    color: rgba(73, 80, 87, 0.55);
    cursor: pointer;
}

.btn-search:hover {
    background-color: #f8f9fa;
    border-radius: .25rem;
    border-bottom: 1px solid;
    border-color: #dae0e5;
    box-shadow: rgb(255, 255, 255) 0 0 0 0, rgba(15, 75, 145, 0.87) 0 0 0 1px, rgba(0, 0, 0, 0.05) 0 1px 2px 0;
}

.btn-search:focus {
    outline: none;
}

.nav-link-search::after {
    content: "Ctrl K";
    margin-left: 0.5rem;
    padding: .2rem .25rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    font-size: .5rem;
    color: rgba(73, 80, 87, 0.62);
    text-indent: 0;
}

.nav-link-search:hover::after {
    border: 1px solid #f8f9fa;
}

#block-stisc-navigationother-2 .navbar-nav .nav-item {
    display: flex;
    justify-content: center;
}

a.nav-link-search-icon {
    position: relative;
    text-indent: 50px;
    overflow: hidden;
    width: 20px;
    height: 25px;
    display: block;
}

a.nav-link-search-icon::before {
    content: "\eca5";
    font-family: "Unicons";
    color: #495057;
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    font-size: 1rem;
    z-index: 1;
}

.search-api-input {
    width: 100%;
}

#block-stisc-navigationother-3,
#block-stisc-responsivemenublock,
#block-stisc-languageswitcherlangcode {
    width: fit-content;
}

@media (max-width: 991px) {
    .region-top-bar-center {
        display: none;
    }
}

/* Site wide form */
.container-inline {
    width: 100%;
}

.search-form .form-type-search {
    width: 100%;
    margin-bottom: 0 !important;
}

.search-form .form-actions,
.search-form input#edit-submit,
.search-form label {
    display: none;
}

.path-search h2 {
    margin: 2rem 0;
}

ol.list-group.node_search-results li.list-group-item {
    padding: 2rem;
}

/* Contact */
#block-sitewidecontactform .form-item label {
    float: left;
}

.contact-form button[type=submit],
.contact-form input[type=submit] {
    width: auto;
    border-radius: 50rem !important;
}

#block-sitewidecontactform textarea {
    background: #fcfcfc;
    border: 1px solid #ececec;
}

#block-sitewidecontactform button#edit-preview,
input#edit-preview {
    display: none;
}

.contact-form .captcha__title {
    margin-bottom: 0;
    font-size: 1rem;
}

.contact-form .captcha__element {
    margin-bottom: .7rem;
}

.contact-form .captcha__description {
    display: none;
}

@media all and (min-width: 768px) {
    .contact-form .form-item-name,
    .contact-form .form-item-mail {
        width: 48.5%;
        display: inline-block;
    }

    .contact-form .form-item-name {
        margin-right: 2%;
    }
}

/* Register */
.register-horizontal #user-register-form .form-item {
    width: 45%;
    display: inline-block;
    float: left;
    margin-right: 5%;
}

.register-horizontal #user-register-form .form-actions,
.register-horizontal #user-register-form .form-item.js-form-item-pass {
    width: 100%;
}

/* Login */
.page-node-type-full-page #block-userlogin ul {
    display: none;
}

#block-userlogin,
#block-userregistrationform,
#block-requestnewpasswordform {
    margin-bottom: 1.08333333333334em;
}

#block-userlogin button#edit-submit {
    background: #4a90e2;
    border-color: #4a90e2;
}

#block-userlogin button#edit-submit:hover {
    background: #609de6;
}

#block-userlogin ul.list-group > li.list-group-item {
    border: none;
}

/* Subscribe */
#block-simplenewssubscription .field--name-mail .form-type-email label,
#block-simplenewssubscription .description.text-muted,
#block-simplenewssubscription #edit-message {
    display: none;
}

.subscribe-inline #block-simplenewssubscription #edit-actions {
    margin-top: 10px;
}

.tooltip {
}

.tooltip-inner {
    float: left;
    overflow: hidden;
}

@media all and (min-width: 768px) {
    .subscribe-inline #block-simplenewssubscription .field--type-email {
        width: 75%;
        float: left;
    }

    .subscribe-inline #block-simplenewssubscription .field--type-email input {
        height: 40px;
    }

    .subscribe-inline #block-simplenewssubscription #edit-actions {
        width: 22%;
        float: left;
        margin-left: 3%;
        margin-top: -1px;
    }

    body.user-logged-in .subscribe-inline #block-simplenewssubscription #edit-actions {
        width: 100%;
        margin-left: 0;
    }
}

/** News page **/
.node .field--type-image,
.node .field--type-entity-reference {
    margin: 0;
}

.news-list-with-image .field--type-image {
    float: none;
}

.page-node-type-galerie-foto .breadcrumb-item,
.page-node-type-news .breadcrumb-item {
    font-size: .7rem;
}

.news-post .field--name-field-tags {
    padding-bottom: 1rem;
}

.category-delimiter {
    margin: 0 0.3em;
}

.post-header-meta {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 2px 5px;
}

.post-header-meta.meta-news {
    padding: 15px 20px;
}

.post-breadcrumbs-data ol.breadcrumb {
    justify-content: start;
    margin-top: .6rem;
    margin-bottom: 0;
    margin-left: .1rem;
}

.post-meta.meta-news .post-meta-data .post-date {
    margin-right: .3rem;
}

.post-meta.read-time {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.post-meta.read-time > i {
    padding-right: .2rem;
}

.page-node-type-news .field--name-field-category .field--item {
    display: inline-block;
}

.page-node-type-news .breadcrumb-item {
    color: #858585;
}

.card.news-node-card .card-body {
    padding-top: 1rem;
}

.btn.tag-btn {
    padding: .2rem .7rem;
    font-size: 14px;
    border-radius: 15px;
}

.field--name-user-picture a > img {
    margin: 0;
}

.node--type-news .user-avatar {
    height: auto;
}

.node--type-news .author-info div div > h6 {
    margin-bottom: 0;
    line-height: 25px;
}

.news-actions-block {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-block-end: 2rem;
    margin-block-start: 2.5rem;
}

.notificare-traducere-automata {
    color: var(--bs-danger-text-emphasis);
    background-color: var(--bs-danger-bg-subtle);
    border: 1px solid hsl(355.96deg 39.21% 44.51% / 26%);
    box-shadow: none;
    padding: 15px 10px 22px 15px;
    margin-bottom: -10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: normal;
}

.notificare-traducere-automata i {
    font-size: 1rem;
    line-height: normal;
}

.print-block .print__wrapper > a {
    display: block;
    font-size: 0;
    width: 34px;
    height: 34px;
    background: url(/themes/custom/stisc/img/icons/lineal/printer_2.png) no-repeat center;
    background-size: contain;
}

.author-info > div {
    padding: 1rem 1rem;
    background-color: var(--bs-gray-200);
}

.author-info-change span {
    font-weight: 600;
}

.card-body .links-inline > .comment-forbidden {
    padding-block-end: 0;
}

.card-body .links-inline > .statistics-counter {
    display: none;
}

.page-node-type-news .card-body > div.inline__links {
    display: none;
}

@media (min-width: 768px) {
    .post-header-meta.meta-news {
        padding: 0.8rem 3rem 0;
    }
}

@media (max-width: 768px) {
    .links.tag-list {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        column-gap: 8px;
        row-gap: 5px;
    }

    .field--name-field-tags ul.links li {
        padding: 0;
    }

    .card.news-node-card .card-body {
        padding-top: 0;
    }

    .news-actions-block .print-block {
        display: none;
    }
}

@media (max-width: 680px) {
    .page-node-type-news .card {
        box-shadow: none;
    }

    .page-node-type-news .card.news-node-card .card-body {
        padding: 0;
    }

    .page-node-type-news .post-header-meta.meta-news {
        padding: 15px 0;
    }

    .page-node-type-news .glightbox-clean .gdesc-inner .gslide-title + .gslide-desc {
        display: none;
    }

    .page-node-type-news .glightbox-clean .gdesc-inner .gslide-title {
        font-size: .8rem;
    }
}

@media (max-width: 420px) {
    .page-node-type-news .glightbox-clean .gdesc-inner .gslide-title {
        font-size: .6rem;
    }
}

/** Photo gallery page **/
@media (max-width: 767px) {
    .page-node-type-galerie-foto .post-category {
        display: none;
    }

    .page-node-type-galerie-foto .glightbox-clean .gdesc-inner .gslide-title {
        display: none;
    }

    .page-node-type-galerie-foto .glightbox-clean .gdesc-inner .gslide-title + .gslide-desc {
        font-size: .8rem;
    }

    .page-node-type-galerie-foto .glightbox-clean .gdesc-inner {
        padding: 0 0 1rem 0;
    }
}

@media (max-width: 991px) {
    .page-node-type-galerie-foto article {
        background-color: #fff;
    }
}

/* Gallery pages */
.view-gallery-lists .post-category a {
    color: var(--bs-template);
}

.view-gallery-lists .post-title a {
    color: #343f52;
}

/* Breadcrumb */
ol.breadcrumb {
    justify-content: center;
}

ol.breadcrumb li:not(:last-child) > a {
    text-decoration: underline;
}

.post-header-meta .post-breadcrumbs-data .breadcrumb {
    margin-bottom: 0;
}

/* Details */

.icon.glyphicon {
    font-size: 12px;
}

.field--name-field-blog-category {
    display: inline;
}

.field--name-field-image,
.field--name-field-video {
    margin-bottom: 1.85714286em;
}

.imagebg-content-article {
    padding: 5.57142857em 0;
}

.article__author .field--name-user-picture {
    width: 3.71428571em;
    height: 3.71428571em;
    margin: 0 auto;
    float: none;
}

.field--name-field-tags {
    margin-top: 20px;
}

.field--name-field-tags .field--item {
    display: inline-block;
    margin-left: 7px;
}

.node--type-article .article__body div.inline__links {
    float: right;
}

.node--type-article .article__body .field--name-field-tags h3.field__label {
    font-size: 1.35714286em;
}

.node--type-article .article__body .field--name-field-tags ul.links {
    display: inline-flex;
    font-size: 1.35714286em;
    margin-left: 20px;
}

.node--type-article .blog hr {
    margin: 3rem 0;
}

/* List */
article.post .post-title a {
    color: var(--bs-template);
    font-weight: bold;
}

article.post .post-title a:hover {
    text-decoration: underline;
}

.link-dark a {
    color: #343f52;
}

.view-blog-lists img {
    height: auto;
}

ul.pagination {
    margin-top: 3rem;
}

ul.pagination li.active .page-link {
    color: white;
}

.pagination .page-link {
    width: auto;
    min-width: 2.5rem;
    padding: 0 1rem;
}

/* Tags */
.view-blog-tags .views-row {
    display: inline-block;
    padding-right: 10px;
}

/* Tags Page*/
.tags-page .row .item {
    display: flex;
    align-self: stretch;
}

.tags-page .row .item .card {
    width: 100%;
}

.tags-page .row .item .card figure::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 9%);
    z-index: 2;
}

.node-tag-item .field--name-field-image {
    margin: 0;
}

.node-tag-item .card-img-top {
    margin-bottom: .5rem;
}

.tags-page .overlay span.bg {
    background: rgb(30 34 40 / 14%);
}

.node-tag-item .card-body {
    padding-bottom: 0;
}

.node-tag-item .post-title a {
    color: var(--bs-template);
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 24px;
}

.node-tag-item .post-title a:hover {
    text-decoration: underline;
}

.doc-img > img {
    margin: 0;
    width: auto;
    height: 100%;
    max-height: 274.38px;
}

.node-type-tag {
    left: 0;
    position: absolute;
    top: 0;
    padding: 10px;
    z-index: 1;
}

/* List */
.view-portfolio-lists .masonry__item img {
    border-radius: 6px;
}

.portfolio-fullwidth .masonry__item {
    margin: 0 !important;
    padding: 0 !important;
}

.portfolio-fullwidth hr {
    display: none;
}

.project-images {
    padding-top: 40px;
}

.masonry__item img {
    width: 100%;
    height: auto;
}

/** Edit form **/
.user-logged-in nav.tabs {
    position: fixed;
    left: 0;
    top: 80px;
    transition: all 0.5s ease 0.25s;
    z-index: 1000;
}

.user-logged-in nav.tabs ul.nav.primary {
    background: #fff none repeat scroll 0 0;
    border: medium none;
    list-style: outside none none;
    opacity: 0.9;
    flex-direction: column;
}

.user-logged-in nav.tabs ul.nav.primary li {
    float: none;
    opacity: 0.8;
    padding: 0;
}

.user-logged-in nav.tabs ul.nav.primary li a {
    margin-right: 0;
    font-size: 0.7rem !important;
    padding: 10px 28px;
}

.user-logged-in nav.tabs ul.nav.primary li.active a,
.user-logged-in nav.tabs ul.nav.primary li:hover a {
    background: #ffb500 none repeat scroll 0 0;
    /*border: none;*/
    border-radius: 0;
    color: #fff;
}

.user-logged-in nav.tabs ul.nav.primary li.active,
.user-logged-in nav.tabs ul.nav.primary li:hover {
    opacity: 1;
}

.path-node .node-form {
    padding-top: 5em;
}

.path-node .node-form input.btn.form-submit {
    width: auto;
    height: auto;
    margin: 0 10px 20px 0;
    font-size: 1.2em;
    padding: 15px 30px;
    background-color: black;
}

.layout-paragraphs-component-form input.form-check-input,
.path-node .node-form input.form-check-input {
    width: auto;
    padding: 0.46428571em;
    font-size: 1.2em;
    margin-left: -1.1em;
    margin-right: 0.5em;
}

.path-node .node-form .vertical-tabs details.vertical-tabs__pane {
    padding: 15px;
}

.path-node .node-form .layout-region-node-footer {
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px #ddd solid;
}

/* Layout Builder */
.node-form .wow,
.layout-paragraphs-component-form .wow {
    animation-name: none !important;
    visibility: visible !important;
}

.lp-builder section.imagebg {
    overflow: hidden;
}

.lp-builder section.lpb-layout {
    visibility: visible !important;
}

.lp-builder section.parallax .lpb-controls,
.lp-builder section.imagebg .lpb-controls,
.lp-builder section[class*='unpad'] .lpb-controls {
    top: 0;
}

.lp-builder section.hidden {
    display: block;
}

.lp-builder .lpb-controls {
    z-index: 20 !important;
}

.lp-builder .lpb-controls:not(.is-layout) span.lpb-controls-label {
    color: #666 !important;
}

.lp-builder .page-navigator {
    position: unset;
    transform: none;
}

.lp-builder .js-lpb-component .lpb-btn--add,
.lp-builder .js-lpb-component .lpb-controls {
    position: absolute;
}

.lp-builder .js-lpb-component .lpb-controls {
    top: 0;
}

/* Modal form */
.layout-paragraphs-component-form .field--name-field-paragraph-id,
.layout-paragraphs-component-form .field--name-field-paragraph-extra-class,
.layout-paragraphs-component-form .field--name-field-paragraph-spacing,
.layout-paragraphs-component-form .field--name-field-paragraph-content-align,
.layout-paragraphs-component-form .field--name-field-paragraph-tab-direction,
.layout-paragraphs-component-form .field--name-field-paragraph-tab-title,
.layout-paragraphs-component-form .field--name-field-paragraph-tabcontent-align,
.layout-paragraphs-component-form .field--name-field-paragraph-display-arrows,
.layout-paragraphs-component-form .field--name-field-paragraph-display-pager,
.layout-paragraphs-component-form .field--name-field-paragraph-shadow,
.layout-paragraphs-component-form .field--name-field-paragraph-shadow-bg-class,
.layout-paragraphs-component-form .field--type-viewsreference .js-form-item-field-paragraph-views-reference-0-target-id,
.layout-paragraphs-component-form .field--type-viewsreference .js-form-item-field-paragraph-views-reference-0-display-id,
.layout-paragraphs-component-form .field--name-field-paragraph-accordion-style {
    width: 22%;
    display: inline-block;
    padding-right: 3%;
}

.layout-paragraphs-component-form .field--name-field-paragraph-data-items-xs,
.layout-paragraphs-component-form .field--name-field-paragraph-data-items-sm,
.layout-paragraphs-component-form .field--name-field-paragraph-data-items-md,
.layout-paragraphs-component-form .field--name-field-paragraph-data-items-lg,
.layout-paragraphs-component-form .field--name-field-paragraph-data-items-xl,
.layout-paragraphs-component-form .field--name-field-paragraph-data-items-xxl,
.layout-paragraphs-component-form .field--name-field-paragraph-data-items,
.layout-paragraphs-component-form .field--name-field-paragraph-data-speed,
.layout-paragraphs-component-form .field--name-field-paragraph-data-margin,
.layout-paragraphs-component-form .field--name-field-paragraph-overflow-visible,
.layout-paragraphs-component-form .field--name-field-paragraph-data-nav,
.layout-paragraphs-component-form .field--name-field-paragraph-data-dots,
.layout-paragraphs-component-form .field--name-field-paragraph-data-items-auto,
.layout-paragraphs-component-form .field--name-field-paragraph-data-auto-height {
    width: 33%;
    display: inline-block;
    padding-right: 3%;
}

.layout-paragraphs-component-form .field--name-field-paragraph-padding,
.layout-paragraphs-component-form .field--name-field-paragraph-margin,
.layout-paragraphs-component-form .field--name-field-paragraph-gutter-class,
.layout-paragraphs-component-form .field--name-field-paragraph-angled {
    width: 22%;
    display: inline-block;
    padding-right: 3%;
}

.layout-paragraphs-component-form .field--name-field-paragraph-data-overlay,
.layout-paragraphs-component-form .field--name-field-paragraph-image-position,
.layout-paragraphs-component-form .field--name-field-paragraph-slider-classes,
.layout-paragraphs-component-form .field--name-field-paragraph-item-classes,
.layout-paragraphs-component-form .field--name-field-paragraph-tab-title {
    max-width: 200px;
}

.layout-paragraphs-component-form .paragraph-type-top,
.layout-paragraphs-component-form .paragraphs-nested,
.layout-paragraphs-component-form .paragraphs-subform {
    padding-right: 20px;
}

.layout-paragraphs-component-form input.form-submit {
    padding: 5px 10px;
}

.layout-paragraphs-component-form .field-multiple-table {
    overflow: hidden;
}

.layout-paragraphs-component-form .js-filter-guidelines {
    display: none;
}

.layout-paragraphs-component-form .layout-select__item-icon {
    margin-right: 0;
}

.layout-paragraphs-component-form #layout-paragraphs-layout-options {
    margin-bottom: 20px;
}

.layout-paragraphs-component-form .paragraph-type-top {
    justify-content: space-around;
}

.layout-paragraphs-component-form .paragraph-type-title {
    flex-basis: 10%;
}

.layout-paragraphs-component-form .paragraphs-description {
    max-width: 70%;
}

.layout-paragraphs-component-form #layout-paragraphs-element .form-check-input:checked[type=radio] {
    display: block;
    clip: auto !important;
    width: 10px !important;
    height: 10px !important;
}

a.lpb-btn {
    color: #4a90e2 !important;
}

/* Job Detail */
article.job article.post .field .field--label {
    line-height: 1.35;
    font-weight: 700;
    font-size: 1.3rem;
    color: #343f52;
    padding-bottom: 1rem;
    padding-top: 1rem;
}

article.job article.post .field:first-child .field--label {
    padding-top: 0;
}

.job-item-data {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: baseline;
    gap: 25px;
}

.job-title {
    font-weight: 600;
    margin-right: 0;
    font-size: .9rem;
}

.job-location {
    display: flex;
    flex-grow: 1;
    justify-content: flex-end;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    flex-basis: 185px;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vacancies-item {
    opacity: 0;
    transform: translateY(10px);
    visibility: hidden;
    animation-fill-mode: forwards;
}

@media (max-width: 910px) {
    .job-item-data {
        flex-direction: column;
        gap: 5px
    }

    .job-location {
        font-size: .7rem;
        flex-basis: unset;
    }
}

/* Swiper */
.swiper-container {
    overflow: hidden;
}

/* Toolbar menu */
.toolbar-menu .toolbar-box span {
    background: none;
}

/* Box/radio */
.form-type-checkbox,
.form-type-radio,
.input-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: inline-block;
}

.form-type-checkbox input,
.form-type-radio input {
    opacity: 1 !important;
    height: auto !important;
    width: auto !important;
    position: absolute !important;
    margin-top: 7px;

}

.form-type-checkbox input {
    -webkit-appearance: checkbox;
}

.form-type-radio input {
    -webkit-appearance: radio;
}

.form-type-checkbox {
    padding: 0;
}

.form-type-radio {
    padding: 0;
}

.form-type-checkbox {
    margin-top: 0.46428571em;
}

.dropdown.open > .dropdown__container {
    opacity: 1;
}

.image--xxs img {
    max-height: 1.85714286em;
}

/* Others */
.width-100 {
    width: 100%;
}

.feature > div + h5 {
    margin-top: 1.85714286em;
}

.row-align-items-center .row {
    align-items: center !important;
}

.row-justify-content-around .row {
    justify-content: space-around !important;
}

.row-justify-content-center .row {
    justify-content: center !important;
}

.text-block {
    margin-bottom: 1.85714286em;
}

.cover-features .region--top:not(:empty) {
    margin-bottom: 11.14285714em;
}

.cover .row .row:only-child {
    margin: 0;
}

section.row--gapless .row {
    padding-left: 0;
    padding-right: 0;
}

section.row--gapless > .row > div[class*="col-"] {
    padding: 0;
}

.slider--image-xxs li > img {
    max-height: 1.85714286em;
}

.alert-wrapper {
    position: relative;
    margin-bottom: 1rem;
    box-shadow: 0 0 1.25rem rgba(30, 34, 40, 0.04);
    border: 1px solid rgb(224 0 0 / 8%);
    border-radius: .4rem;
}

.alert-success {
    --bs-alert-color: #008236;
    --bs-alert-bg: #f0fdf4;
}

@media all and (min-width: 1200px) {
    .cta-1 .row > div[class*='col-'] {
        padding: 1.23809524em 15px;
    }

    .cta-1 .row > div[class*='col-']:last-child {
        border-left: 1px solid #ececec;
    }
}

input.form-radio, input.form-checkbox {
    width: .9rem;
    height: .9rem;
}

.imagebg p strong,
.bg--dark input.btn,
input#edit-submit {
    color: white;
}

.hover-element a {
    color: white;
}

.pagination {
    justify-content: center;
    flex-wrap: wrap;
}

.logo.logo-dark {
    width: 100px;
    height: auto;
}

@media (max-width: 768px) {
    .pagination {
        box-shadow: none;
        margin-top: 1.5rem !important;
        margin-bottom: 0;
    }
}

.field--widget-media-library-widget .media-library-item__preview {
    padding-bottom: 3.125rem;
}

@media (min-width: 992px) {
    .region-navigation-collapsible .navbar-nav.main-nav-menu {
        background-color: var(--bs-template);
    }

    .region-navigation-collapsible .navbar-nav.main-nav-menu .nav-link {
        color: var(--bs-white);
        font-family: 'Trajan-bold';
        text-transform: uppercase;
    }
}

/* Front page */
.path-frontpage .display-7 {
    font-size: calc(1rem + .2vw);
}

.front-block-title,
.front-block-button {
    text-transform: uppercase;
}

.other-link-block .front-block-button {
    font-size: .70rem;
    padding: calc(var(--bs-btn-padding-y) - 0.18rem) calc(var(--bs-btn-padding-x) - 0.2rem);
    --bs-btn-border-width: 1px
}

.documents-section-block .views-element-container {
    height: 100%;
}

.documents-section-block .views-element-container .view-documents-block-front {
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
}

@media (max-width: 767px) {
    .documents-section-block .row .region--bottom {
        margin-top: 1rem;
    }
}

/* Front page slider */
.mySwiper .swiper-slide {
    margin-bottom: .4rem;
    background-color: #FFFFFFFF;
}

.swiper-slide .field--type-image img {
    margin: 0;
}

.mySwiper {
    width: 100%;
    height: 100%;
}

.mySwiper .swiper-pagination {
    position: relative;
    text-align: unset;
    display: flex;
    box-shadow: 0 -1px 0 rgb(85 85 85 / 18%);
    bottom: 8px;
    background-color: #FFFFFFFF;
}

.mySwiper .swiper-pagination .swiper-pagination-bullet:not(:last-child) {
    border-right: 1px solid #d7d7d7;
}

.swiper-container.dots-over .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    border-color: #d7d7d7;;
}

.mySwiper .swiper-controls {
    display: none;
}

.base-slider-block-1 img {
    width: 100%;
    height: auto;
}

.swiper-pagination-bullet {
    width: auto;
    height: auto;
    padding: 0 10px;
    line-height: 20px;
    font-size: .8rem;
    color: #333333;
    font-weight: bold;
    opacity: 1;
    background: none;
    border-radius: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mySwiper .swiper-pagination-bullet:hover {
    color: var(--bs-template);
}

.swiper-pagination-bullet-active {
    color: var(--bs-template);
}

.info-block-with-node-title {
    display: none;
}

.node-title.active {
    font-weight: bold;
    color: #007bff;
}

.swiper-slide-body-content {
    padding: 20px 0;
    position: absolute;
    right: 15px;
    width: calc(50% - 35px);
    box-sizing: border-box;
}

.swiper-slide-body-content-title {
    font-weight: bold;
    font-size: calc(1.2rem + .188558vw);
    line-height: calc(1.4rem + .2vw);
}

.swiper-slide-body-content-title a {
    color: var(--bs-template);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.swiper-slide-body-content-title.lang_ro a {
    -webkit-line-clamp: 5;
}

.swiper-slide-body-content-title.lang_en a,
.swiper-slide-body-content-title.lang_ru a {
    -webkit-line-clamp: 4;
}

.swiper-slide-body-content-title a:hover {
    text-decoration: underline;
}

.swiper-slide-body-content-body {
    line-height: normal;
    color: #333333;
}

.swiper-slide-body-content.active {
    display: block;
}

.swiper-slide-body-content .card-footer .post-meta li:before {
    background: none;
}

/* Responsive slider */
.swiper-slide-inner {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: auto;
}

.swiper-slide-image {
    flex: 1;
    max-width: 50%;
}

.swiper-slide-image img {
    width: 100%;
    height: auto;
}

.swiper-slide-body-content {
    flex: 1;
    max-width: 50%;
    background-color: #fff;
}

@media (max-width: 1400px) {
    .swiper-slide-image {
        max-width: 60%;
    }

    .swiper-slide-body-content {
        padding: 10px 0;
        width: calc(40% - 30px);
    }

    .swiper-slide-body-content-title {
        font-size: calc(1.1rem + .188558vw);
        line-height: calc(1.3rem + .2vw);
    }

    .swiper-slide-body-content-body {
        font-size: 16px;
    }

    .swiper-slide-body-content-body p {
        margin-bottom: 0;
    }

    .card-footer .post-meta {
        font-size: .7rem;
    }

}

@media (max-width: 1200px) {
    .swiper-slide-body-content {
        padding: 5px 0;
    }

    .swiper-slide-body-content-title {
        line-height: calc(1.1rem + .2vw);
    }

    .swiper-slide-body-content-title a {
        font-size: 1rem;
    }

    .swiper-slide-body-content-body {
        font-size: .7rem;
    }


    .swiper-slide-body-content {
        order: 2;
    }

    .swiper-slide-image {
        order: 1;
    }
}

@media (max-width: 1000px) {
    .swiper-slide-image {
        max-width: 59%;
    }

    .swiper-slide-body-content {
        width: calc(41% - 30px);
        max-height: 248px;
        overflow: hidden;
    }
}

@media (max-width: 991px) {
    .swiper-slide-inner {
        flex-direction: column;
    }

    .swiper-slide-body-content,
    .swiper-slide-image {
        max-width: 100%;
        flex: none;
    }

    .swiper-slide-body-content {
        order: 2;
        padding: 15px;
        display: none !important;
    }

    .swiper-slide-image {
        order: 1;
    }

    .mySwiper .swiper-controls {
        display: block;
    }
}

@media (max-width: 640px) {
    .swiper-slide-body-content,
    .swiper-slide-body-content-body,
    .swiper-slide-body-content-body p,
    .mySwiper .swiper-pagination {
        display: none !important;
    }
}

@media (max-width: 1434px) {
    .userway_buttons_wrapper {
        top: 55px !important;
        left: 51px !important;
        right: auto !important;
    }
}

/*News listing*/
article.item.post {
    display: flex;
}

/*News blocks*/
.news-list-term .card-body,
.news-list-with-image .card-body {
    padding-top: calc(var(--bs-gutter-y) - 1.5rem);
    padding-bottom: calc(var(--bs-gutter-y) - 0.7rem);
}

.news-list-with-image .post-content p {
    margin-bottom: 0;
}

.card-footer {
    padding: calc(var(--bs-card-cap-padding-y) - 0.4rem) calc(var(--bs-card-cap-padding-x) - 1rem);
}

.news-list-wtitle .item {
    margin-top: calc(var(--bs-gutter-y) - 1rem);
}

.news-list-wtitle .card-body {
    padding-bottom: calc(var(--bs-card-cap-padding-y) - 0.9rem);
    padding-top: calc(var(--bs-card-cap-padding-y) - 0.3rem);
}

.front-block-title {
    color: var(--bs-template);
    letter-spacing: 0.02rem;
    font-family: 'Trajan-bold';
}

.front-block-button {
    --bs-btn-color: var(--bs-template);
    border-color: var(--bs-template);
    border-radius: 0;
}

.front-block-button:hover {
    color: #f0f8ff;
    background-color: var(--bs-template);
    border-color: var(--bs-template);
}

.card-img-top.overlay {
    margin: 0 0 1em;
}

.card-img-top .field--name-field-media-image img {
    margin: 0;
}

.view-display-id-block_11 > nav .pagination {
    margin-top: .3rem;
}

@media (min-width: 768px) and (max-width: 1400px) {
    .news-list-with-image .post-header .post-title,
    .news-list-wtitle .post-header .post-title,
    .news-list-term .post-header .post-title {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        color: var(--bs-template);
    }

    .news-list-with-image .post-content p,
    .news-list-term .post-content {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        word-break: break-word;
    }
}

/*Documents block list on front page*/
.documents-section-block {
    margin-top: 1.5rem;
    margin-bottom: 3rem;
}

.view-documents-block-front .view-header {
    padding-top: 1.25rem;
}

.view-documents-block-front .view-footer {
    padding-bottom: .8rem;
}

.document-body-block {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: start;
    padding: 0.1rem 1.25rem 0 1.25rem;
}

.document-body-block .document-item {
    width: 100%;
}

/*Documents list*/
.document-item .document-item-title a {
    color: var(--bs-template);
    font-weight: 600;
}

.document-item .document-item-title a:hover {
    text-decoration: underline;
    color: var(--bs-template);
}

.document-item .document-footer {
    border-bottom: var(--bs-card-border-width) solid var(--bs-card-border-color);
}

.front-doc .document-item-title {
    margin-bottom: 0.3rem;
}

.front-doc .post-date {
    font-size: 14px;
}

.front-doc .post-meta li i {
    padding-right: 0.1rem;
}

/*Footer block*/
.front-links-card {
    min-height: 135px;
    justify-content: space-evenly;
}

.footer-info.site-branding a img {
    max-width: 51px;
    width: auto;
    height: auto;
}

.footer-info.site-branding a {
    margin-right: .3rem;
}

.footer-info.site-branding a:hover {
    text-decoration: underline;
}

.footer-info p {
    font-weight: bold;
}

.front-links-img {
    max-width: 51px;
}

.front-links-title {
    font-size: .8rem;
    margin-top: 0.6rem;
    text-align: center;
    margin-bottom: 0;
}

/*Footer flag*/
#block-stisc-footerflag {
    padding: 0;
}

#footer-flag {
    padding-top: .7rem;
    width: 100%;
    max-width: 1320px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
}

#footer-flag .flag-blue,
#footer-flag .flag-yellow,
#footer-flag .flag-red {
    width: 440px;
    height: 10px;
}

#footer-flag .flag-blue {
    background-color: #023CA7;
}

#footer-flag .flag-yellow {
    background-color: #FFD200;
}

#footer-flag .flag-red {
    background-color: #CC0A2F;
}

@media (max-width: 1240px) {
    #block-block-1 {
        padding: 0 20px;
    }
}

/*Video gallery*/
.video-item-link {
    top: 31%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    z-index: 3;
}

/*Document list view*/
.bg-light.view-documents {
    padding: 2.8rem 3rem 2.8rem;
}

.view-documents .view-content h2.document-year {
    line-height: normal;
    margin-bottom: .7rem;
}

.view-documents .view-content h2.document-year:not(:first-of-type) {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.document-year-group .view-document-item:not(:first-of-type) {
    margin-top: 20px;
}

.document-year {
    font-size: 1.8em;
    font-weight: bold;
    color: #333;
    padding: 10px 20px;
    border-bottom: 2px solid #007bff;
}

.view-document-item {
    padding-bottom: .7rem;
    border-bottom: 1px solid var(--theme-color-gray);
}

.view-document-item .document-title a {
    color: var(--bs-template);
    font-size: 1rem;
    font-weight: 600;
}

.view-document-item .document-title a:hover {
    text-decoration: underline;
}

.view-document-item > article {
    display: flex;
    width: 100%;
    align-items: stretch;
    justify-content: flex-start;
}

.document-actions {
    margin-left: auto;
}

.document-data .post-meta li:before {
    margin: 0 0.4rem 0;
}

.document-data .document-title {
    margin-bottom: .5rem;
}

.document-title .file-size {
    font-size: .7rem;
    font-weight: normal;
    color: #87898f;
    margin-left: .3rem;
}

.document-data .document-actions {
    width: fit-content;
    margin-left: auto;
}

.document-data .document-actions > a {
    --bs-btn-padding-x: .8rem;
    --bs-btn-padding-y: .1rem;
}

.posta-date-text-body .text-formatted > p {
    margin: 0;
}

.file-icon {
    width: 20px;
    height: auto;
    margin-right: 4px;
    vertical-align: middle;
    transition: all 0.2s ease-in-out;
}

.document-download-link:hover .file-icon {
    filter: brightness(0) invert(1);
}

div.document-actions > .document-download-link {
    font-size: .7rem;
    padding: 4px 18px;
}

div.document-actions > .external-doc {
    min-width: 125px;
}

.document-edit-link i:before {
    color: var(--bs-red);
}

.document-filter-tabs .nav-link {
    margin-right: 5px;
    border-radius: 20px;
}

.document-filter-tabs .nav-link.active {
    background-color: #0056b3;
    color: white;
}

@media (max-width: 767px) {
    .document-actions {
        display: none;
    }

    #document-filter-form > div > label {
        display: none;
    }

    #document-filter-form > button {
        margin-block-start: .5rem;
        margin-block-end: .8rem;
        float: right;
    }

    .view-documents .view-content h2.document-year {
        margin-block-start: 2rem;
    }
}

@media (max-width: 640px) {
    .bg-light.view-documents {
        padding: 1.8rem 1rem 1.8rem;
    }

    .document-filter-tabs {
        display: none;
    }
}

@media (max-width: 470px) {
    .post-date-update-text {
        display: none;
    }

    .card-footer .post-meta,
    .document-title .file-size {
        font-size: 14px;
    }

    .post-meta li > i {
        padding-right: .1rem;
    }

    .post-meta li:before {
        margin: 0 0.3rem 0;
    }
}

@media (max-width: 380px) {
    .document-data .card-footer .post-meta {
        font-size: 12px;
    }

    .post-meta {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .post-meta .post-date {
        order: 1;
        width: auto;
    }

    .post-meta .post-date-counter {
        order: 2;
        width: auto;
    }

    .post-meta .post-date-update {
        order: 3;
        width: 100%;
    }

    .post-meta .post-date-update:before {
        content: none;
    }

    .post-date-update-text {
        display: inline;
    }

    .document-data .document-title {
        margin-bottom: .3rem;
    }
}

@media (min-width: 641px) {
    .document-filter-dropdown {
        display: none;
    }
}

/*Member page*/
.page-node-type-membru-echipa .node-member-data p {
    margin-bottom: 0;
}

.page-node-type-membru-echipa .node-member-data p + p {
    margin-top: 8px;
}

.member-about-block {
    border-bottom: 1px solid var(--color-publicgov-silver);
    padding-bottom: 20px;
}

@media (min-width: 769px) {
    .member-about-block {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        align-items: center
    }
}

.member-about-block .member-about-info {
    display: flex;
    flex-direction: column;
    margin-top: 20px
}

@media (min-width: 769px) {
    .member-about-block .member-about-info {
        flex: 1;
        margin-top: 0
    }
}

.member-about-block .member-data {
    font-size: 20px;
    font-weight: 700;
    line-height: 25px;
    color: var(--body-text-color-50)
}

.member-about-block img {
    min-width: 100%
}

.member-full-node .field--name-body {
    margin-top: 20px
}

.node-member-data .field--name-field-e-mail .field--label,
.node-member-data .field--name-field-data-nasterii .field--label {
    padding-inline-end: .3em;
    float: left;
}

.node-member-data .field--name-field-e-mail .field--label::after,
.node-member-data .field--name-field-data-nasterii .field--label::after {
    content: ":";
}

/*Functii vacante*/
.page-node-type-job .field--name-body p,
.page-node-type-job .field--name-field-job-responsibilities p,
.page-node-type-job .field--name-field-job-requirements p {
    margin-bottom: 0;
}

.job-cv-button {
    margin-top: -110px;
    margin-left: 51px;
    display: block;
    position: relative;
}

.job-cv-button a {
    z-index: 3;
}

#edit-image-attachment {
    padding: 0.6rem 1rem;
}

.page-node-type-job .field--name-field-category .field--item {
    display: inline-block;
}

.page-node-type-job .breadcrumb-item {
    color: #858585;
    font-size: .7rem;
}

.job-item:hover .job-type-title {
    text-decoration: underline;
}

.node--type-job .job-type-title {
    text-align: left;
}

.page-node-type-job .captcha__description {
    display: none;
}

.page-node-type-job .captcha__title {
    margin-bottom: 0;
}

.page-node-type-job .captcha__element {
    margin-bottom: .7rem;
}

@media (min-width: 991px) {
    .node--type-job .job-type-title {
        text-align: center;
    }
}

@media (max-width: 991px) {
    .node--type-job .job-type-title .post-meta {
        font-size: .65rem;
    }
}

@media (max-width: 640px) {
    .node--type-job .post-meta.meta-news {
        margin-block-end: 1.5rem;
    }
}

@media (max-width: 440px) {
    .node--type-job .job-type-title .post-meta > li:nth-child(1) {
        padding-inline-start: 4px;
    }

    .node--type-job .post-meta.meta-news {
        display: none;
    }
}

/*Echipa view*/
.team-member-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px
}

.team-member-data.node-teaser .node__title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    line-height: 24px;
    color: #34383e;
    text-align: center;
}

.team-member-data.node-teaser .node__title:hover {
    text-decoration: underline;
}

.team-member-data.node-teaser img {
    margin-bottom: 0
}

.team-member-data .field--name-field-job-position {
    text-align: center
}

.view-team-block .view-content {
    display: grid;
    gap: 20px
}

.view-team-block .view-content .views-row:first-of-type .team-member-data {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    gap: 20px
}

.view-team-block .view-content .views-row:first-of-type .team-member-data .field--name-field-job-position {
    text-align: left
}

.view-team-block .view-content .views-row:first-of-type .node-teaser .node__title {
    font-size: 1.2rem;
    text-transform: uppercase;
}

.view-team-block .view-content .views-row:first-of-type .node__content {
    width: auto;
    text-align: left
}

.view-team-block .view-content .views-row:first-of-type .node__content .node__title {
    text-align: left
}

@media (min-width: 469px) {
    .view-team-block .view-content .views-row:first-of-type {
        grid-area: 1 / 1 / 2 / 3;
    }

    .view-team-block .view-content {
        grid-template-columns:repeat(2, 1fr)
    }
}

@media (min-width: 769px) {
    .view-team-block .view-content {
        grid-template-columns:repeat(3, 1fr)
    }

    .view-team-block .view-content .views-row:first-of-type {
        grid-area: 1/1/2/4;
        border-bottom: 1px solid #CCCCCCFF;
        padding-bottom: 20px
    }

    .view-team-block .view-content .views-row:first-of-type img {
        width: 100%;
        max-width: 500px;
    }
}

@media (min-width: 992px) {
    .view-team-block .view-content .views-row:first-of-type {
        grid-area: 1 / 1 / 2 / 5;
    }

    .view-team-block .view-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

/*User view page*/
.img-mask.mask-author img {
    max-width: 149px;
}

/*Structure views*/
.structure-item-block .card-body {
    padding: 10px;
}

.structure-item-data .field--name-field-image,
.structure-item-data .field--type-entity-reference {
    margin-bottom: 0;
}

.structure-item-data .field--name-field-media-image img {
    margin: 0;
}

.structure-item-title {
    padding-left: 0;
    font-size: 1rem;
}

.structure-item-title > span {
    font-weight: 600;
}

.structure-item {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.structure-item-block {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: .8rem;
}

.structure-item-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.structure-item-data {
    display: flex;
    align-items: center;
    padding: 1rem;
}

.structure-item-title {
    font-size: 1.15rem;
    font-weight: 600;
}

.structure-item-title span {
    display: block;
    margin: 0;
}

.badge img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
}

.structure-item-block {
    opacity: 0;
    transform: translateY(30px);
}

.structure-item-link {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
}

.structure-item-link > i {
    padding-right: 0.1rem;
}

.structure-item-link {
    font-size: 0.9rem;
    color: #718096;
    display: inline-block;
    transition: color 0.2s ease-in-out;
    position: relative;
    padding: 1rem;
}

.structure-item-link i {
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
    margin-right: .2rem;
    display: inline-block;

}

@media (max-width: 768px) {
    .structure-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .structure-item-data {
        padding: 1rem .5rem 0;
    }

    .structure-item-title > span {
        line-height: normal;
    }

    .structure-item-link {
        padding: 0 0 .5rem 3.8rem;
        font-size: .8rem;
    }

    .structure-item-data .field--name-field-media-image img {
        width: 50px;
        height: 50px;
        max-width: none;
    }
}

@media (max-width: 380px) {
    .structure-item-title > span {
        font-size: 1rem;
    }
}

/*JSON data*/
.particip-gov-item {
    padding: 28px 25px 18px 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-left 0.3s ease;
    border-left: 4px solid transparent;
    border-bottom: 1px solid #E5E7EB;
}

.particip-gov-item:last-child {
    border-bottom: none;
}

.particip-gov-item:hover {
    background-color: #F9FAFB;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #0f4b91;
}


.particip_gov-item-link {
    text-decoration: none;
    color: #1F2937;
    display: block;
}

.particip_gov-etape {
    font-size: 14px;
    color: #6B7280;
}

.particip_gov-name {
    font-size: 18px;
    line-height: 1.2rem;
    font-weight: bold;
    color: #343f52;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.particip-gov-item:hover .particip_gov-name {
    color: #0f4b91;
}

.particip_gov-data {
    font-size: 14px;
    color: #6B7280;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.particip_gov-date span {
    color: #4B5563;
}

.particip_gov-location {
    color: #4B5563;
}

.particip_gov-item-link * {
    transform: none !important;
}

.particip-gov-item {
    will-change: background-color, box-shadow, border-left;
}

.particip_gov-date-range {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 4px;
}

/*JSON data new*/
.gov-data-item {
    padding: 28px 25px 18px 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-left 0.3s ease;
    border-left: 4px solid transparent;
    border-bottom: 1px solid #E5E7EB;
    will-change: background-color, box-shadow, border-left;
}

.gov-data-item:last-child {
    border-bottom: none;
}

.gov-data-item:hover {
    background-color: #F9FAFB;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #0f4b91;
}

.gov-data-item:hover .gov-data-name {
    color: #0f4b91;
}

.gov-data-item-link {
    text-decoration: none;
    color: #1F2937;
    display: block;
}

.gov-data-item-link * {
    transform: none !important;
}

.gov-data-etape,
.gov-data-data {
    font-size: 14px;
    color: #6B7280;
}

.gov-data-name {
    font-size: 18px;
    line-height: 1.2rem;
    font-weight: bold;
    color: #343f52;
    margin-bottom: .6rem;
    transition: color 0.2s ease;
}

.gov-data-details {
    font-size: 14px;
    color: #6B7280;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.gov-data-date span {
    color: #4B5563;
}

.gov-data-location {
    color: #4B5563;
}

.gov-data-date-range .gov-date-extended-info {
    color: #EAA501;
}

.gov-data-employment {
    padding-left: .5rem;
}

.gov-data-location ul {
    list-style: none;
    padding-left: .5rem;
    margin-bottom: 0;
}


.gov-data-date-range {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 4px;
}

.gov-data-date-range.extended {
    flex-direction: column;
}

/*Fix*/
table.sticky-header thead.header-fix {
    top: auto;
}

/*Documentation*/
@media (min-width: 1200px) {
    .sticky-column {
        position: sticky;
        top: 8rem;
        height: 100%;
    }
}

/*Login*/
.page-user-login .container.edit-page-menu,
.page-user-login .nav-tabs {
    border-bottom: none;
}

.page-user-login .js-form-type-password.form-type-password {
    margin-bottom: .4rem;
}

.form-item-persistent-login,
.reset-pass {
    display: inline-block;
}

.reset-pass {
    float: right;
}

.login-container.space-top {
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.js-form-item-persistent-login {
    padding-left: 0;
}

#edit-persistent-login {
    margin-right: 0.2rem;
    margin-left: 0;
}

.page-user-password .js-form-item-name {
    margin-bottom: .2rem !important;
}

.page-user-password #user-pass > p {
    font-size: 14px;
}

.user-login-form .captcha__description,
.user-pass .captcha__description {
    font-size: .6rem;
    line-height: normal;
}

.user-login-form .captcha__title,
.user-pass .captcha__title {
    font-size: 1.2rem;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .login-container.space-top {
        padding-top: 1rem;
    }
}

/*Ghide de utilizare*/
.view-ghi-de-utilizare-pagina > div.view-content {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 33%));
    grid-gap: 20px;
    margin-top: 20px;
}

.user-guide-item:hover {
    box-shadow: 0 0 0 1px rgba(50, 50, 93, 0.01), 0 7px 14px 0 rgba(50, 50, 93, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.02);
    outline: solid 1px #0f4b9138;
}

@media (max-width: 1150px) {
    .view-ghi-de-utilizare-pagina > div.view-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 750px) {
    .view-ghi-de-utilizare-pagina > div.view-content {
        grid-template-columns: 100% !important;
    }
}

/*Toolbar icons*/
#toolbar-bar .guide-toolbar-tab {
    float: right;
}

.toolbar-icon.toolbar-icon-guide::before {
    background-image: url(../img/icons/solid/note.svg);
    filter: invert(39%) sepia(87%) saturate(574%) hue-rotate(181deg) brightness(98%) contrast(89%);
}

.toolbar-icon.toolbar-icon-guide.solid-duo.text-navy-sky .fill-primary {
    fill: #414b64;
}

.toolbar-icon.toolbar-icon-guide.solid-duo.text-navy-sky .fill-secondary {
    fill: #5eb9f0;
}

/*Forms*/
.text-count-message {
    font-size: 13px;
}

/*Data info-block*/
@media (min-width: 768px) {
    .data-info-block {
        padding: 0;
    }
}

/*Toastify*/
.toastify a {
    color: hsla(234, 98%, 35%, 0.82);
    text-decoration: underline;
}

/*Video gallery*/
.gallery-block {
    display: flex;
    align-items: stretch;
}

.video-gallery {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

/*Node type PAGE*/
.node--type-page .field--label.sr-only {
    display: none;
}

/*Edit page*/
.user-logged-in.page-node-type-landing-page .ui-widget.ui-widget-content {
    top: -500px;
}

.user-logged-in.page-node-type-landing-page .ui-dialog .ui-dialog-content {
    padding: .5em 1.5em;
}

.user-logged-in.page-node-type-landing-page .ui-dialog .ui-dialog-titlebar-close {
    top: 15%;
    width: 28px;
    height: 27px;
    margin: 0;
    padding: 0;
}

.user-logged-in.page-node-type-landing-page .ui-dialog-titlebar-close::after {
    content: "X";
    display: block;
}

.user-logged-in.page-node-type-landing-page .layout-paragraphs-component-form input.form-check-input,
.user-logged-in.page-node-type-landing-page #edit-field-mainmenu-transparent-value,
.user-logged-in.page-node-type-landing-page #edit-promote-value,
.user-logged-in.page-node-type-landing-page #edit-status-value,
.user-logged-in.page-node-type-landing-page #edit-sticky-value {
    margin-left: 0;
}

.user-logged-in.page-node-type-landing-page .details-wrapper > div > input {
    margin-left: 0;
}

/*Front page banners*/
.gov_first_banner .card .card-body img,
.gov_index_banner .card .card-body img {
    width: 100%;
}

@media (max-width: 1200px) {
    .front_page_banners {
        padding-top: 1.5rem;
    }
}

/*Pages config*/
.page-node-58 #block-stisc-navigareprincipala-5 {
    display: none;
}

/*Guvernul construieste*/
.view-guvernul-construieste .view-content {
    align-items: stretch;
    display: flex;
    flex-grow: 1;
    flex-wrap: wrap;
    justify-content: space-between;
    list-style: none;
    padding: 0;
}

.view-guvernul-construieste .view-content .messages-rows {
    width: 100%;
    float: left;
    background: transparent;
    margin: 0;
    margin-bottom: 30px;
}

.view-guvernul-construieste .view-content .messages-rows .message-card,
.message-card.message-card-counter {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0 auto 40px;
    padding: 32px 25px 15px;
    min-width: 0;
    min-height: 195px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-color: #F2F6F9;
    border-style: solid;
    border-width: 1px;
    border-color: #dbdbdbd4;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* overflow: hidden; */
    transition: box-shadow 0.3s;
    -webkit-transition: box-shadow 0.3s;
}

.view-guvernul-construieste .view-content .messages-rows .message-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.message-card .message-card-body {
    padding: 1rem;
}

.message-card.message-card-counter {
    margin: 0 auto 20px;
}

.message-card.message-card-counter {
    display: block;
    height: 100%;
    min-height: auto;
    padding: 1rem 0;
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    color: #0e4b8f;
    background-color: rgba(232, 242, 249, 0.69);
    margin-bottom: 1rem;
}

.message-card-counter-text {
    font-size: 2.4rem;
}

.message-card-body .msg-infos {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    flex-direction: row;
    gap: .7rem;
}

.msg-infos .msg-infos-nr {
    /*width: 4%;*/
}

.msg-infos .msg-infos-nr p {
    color: #fff !important;
    background: #1a5191f0 !important;
    border-radius: 50%;
    padding: 13px 8px 8px 8px;
    width: 52px;
    height: 52px;
    text-align: center;
}

.msg-infos .msg-infos-nr p {
    font-weight: bold;
    font-size: 16px;
}

.msg-infos .msg-infos-data {
    /*width: 64%;*/
    flex: 1;
    padding: 0;
    margin: 0;
    /*flex-grow: 1;*/
}

/* .msg-infos-data .msg-info {
    margin-bottom: 7px;
} */

.msg-infos .msg-infos-video {
    margin: 0 auto;
}

.msg-infos-data .msg-info .msg-info-subtitle {
    font-size: 0.96rem;
    font-weight: 500;
}

.msg-infos-data .msg-info .msg-info-subtitle2 {
    font-weight: bold;
    color: #424141;
}

.msg-infos-data .msg-info .msg-info-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: #012f82;
}

.msg-infos-data .msg-info:nth-child(1) {
    padding-bottom: 5px;
    list-style: none;
}

.msg-infos-data .msg-info:not(:first-child) {
    list-style: disc;
    margin-left: 18px;
}

.msg-infos-footer2 {
    /*margin-right: 90px;*/
    /*margin-left: 354px;*/
    width: 100%;
    max-width: 377px;
    padding: 0 1px;
}

.share-div1 {
    display: inline-block;
}

.msg-infos-footer3 {
    display: inline-flex;
    float: right;
}

.flag-like {
    margin-right: 0.5rem;
}

.flag-wrapper.flag-like > a > i.far.fa-heart {
    transition: font-weight 0.3s ease;
}

.flag-wrapper.flag-like > a > i.far.fa-heart:hover {
    font-weight: bold;
}

.message-card-body .msg-infos-footer {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e5e5e5;
    padding-top: 0.75rem;
    margin-top: 1.5rem;
}

.msg-infos-footer .msg-infos-footer1 {
    margin-left: 40px;
}

.msg-infos-footer .msg-infos-footer1 > a {
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: background-color 0.3s ease;
}

.message-card-body .msg-infos-footer a {
    text-decoration: none;
    font-size: 14px;
}

.message-card-body .msg-infos-footer a:hover {
    text-decoration: underline;
}

.msg-infos-footer .msg-infos-footer1 > span > a {
    text-transform: lowercase;
    text-decoration: none;
    color: #fff !important;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    -webkit-transition: all .5s ease;
    -ms-transition: all .5s ease;
    transition: all .5s ease;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
}

.msg-infos-footer .msg-infos-footer1 > span > a:before {
    font-style: normal;
    content: "#";
    font-weight: normal;
    /*padding-right: 0.1rem;*/
}

.msg-infos-footer1 .tag_element_infr a {
    background-color: #F4A829;
}

.msg-infos-footer1 .tag_element_pace a {
    background-color: #84C2F7;
}

.msg-infos-footer1 .tag_element_dezv a {
    background-color: #007E66;
}

.msg-infos-footer1 .tag_element_just a {
    background-color: #80014D;
}

.msg-infos-footer1 .tag_element_ader a {
    background-color: #04267F;
}

.msg-infos-footer1 .tag_element_supo a {
    background-color: #e5bb38;
}

.msg-infos-footer1 .tag_element_inte a {
    background-color: #0a39bb;
}

.sharethis-wrapper span:not(:first-child) {
    padding-left: 20px;
}

.sharethis-wrapper span {
    padding: 0 25px;
}

.sharethis-wrapper span:before {
    content: '';
    background-size: cover;
    position: absolute;
    background-position: center center;
    background-repeat: no-repeat;
    /*width: 30px;*/
    /*height: 30px;    */
    width: 26px;
    height: 26px;
    cursor: pointer;
}

.st_facebook_custom:before {
    background: url(icons/facebook.svg);
}

.st_twitter_custom:before {
    background: url(icons/twitter.svg);
}

.st_linkedin_custom:before {
    background: url(icons/linkedin.svg);
}

.st_facebook_custom:hover:before,
.st_twitter_custom:hover:before,
.st_linkedin_custom:hover:before {
    /*transform: scale(0.5);*/
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.msg-info-subtitle2.Reali {
    background-color: #b6efaf !important;
    fill: #b6efaf;
    color: #324e2b !important;
    stroke: #324e2b;
    padding: 0.2em 0.4em;
    border-radius: 0.2em;
    display: inline-block;
}

.msg-info-subtitle2.În.pr {
    background-color: #4297fb3d !important;
    fill: #4297fb3d;
    color: rgba(30, 32, 39, 0.93) !important;
    stroke: rgba(30, 32, 39, 0.93);
    padding: 0.2em 0.4em;
    border-radius: 0.2em;
    display: inline-block;
}

/* --- Updated Filter Styles for Drupal 10 - Specific to .view-guvernul-construieste --- */

/* Target the main exposed form container within the specific view */
.view-guvernul-construieste .view-filters .views-exposed-form[data-drupal-selector="views-exposed-form-guvernul-construieste-page"] {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
}

/* Target individual form item divs (wrappers) within the specific form */
.view-guvernul-construieste .views-exposed-form .js-form-item {
  flex: 1 1 200px;
  min-width: 150px;
  margin-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
}

/* Specific targeting for text inputs and selects to ensure consistent styling */
.view-guvernul-construieste .views-exposed-form input.form-control,
.view-guvernul-construieste .views-exposed-form select.form-select {
  width: 100%;
  height: 45px;
  min-height: unset;
  padding: 0.5rem 0.75rem 0.5rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #4a5568;
  background-color: #fff;
  background-clip: padding-box;
  border: 0.1rem solid #dde0e3;
  border-radius: 0.375rem;
  transition: border-color 0.3s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  /* Add custom arrow for selects */
  background-image: url(../images/arrow.svg); /* Ensure path is correct */
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  padding-right: 2.5rem; /* Space for the arrow */
}

/* Style labels */
.view-guvernul-construieste .views-exposed-form label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 500;
  color: #495057;
  font-size: 0.875rem;
}

/* Style placeholder text */
.view-guvernul-construieste .views-exposed-form input.form-control::placeholder {
  color: #adb5bd;
  opacity: 1; /* Firefox fix */
}

/* Focus state */
.view-guvernul-construieste .views-exposed-form input.form-control:focus,
.view-guvernul-construieste .views-exposed-form select.form-select:focus {
  border-color: rgb(47 50 55 / 51%);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(21, 96, 179, 0.25);
}

/* Style the submit button */
.view-guvernul-construieste .views-exposed-form input#edit-submit-guvernul-construieste {
  flex: 0 0 auto;
  align-self: flex-end;
  margin: 0;
  height: auto;
  background-color: #1560b3;
  color: #ffffff;
  border: none;
  border-radius: 0.375rem;
  padding: 0.5rem 2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-weight: bold;
}
.view-guvernul-construieste .views-exposed-form input#edit-submit-guvernul-construieste:hover {
  background-color: #12539b;
}

/* Style the reset button container and button */
/* Ensure the actions wrapper is present and styled */
.view-guvernul-construieste .views-exposed-form #edit-actions {
  flex: 0 0 auto;
  align-self: flex-end;
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem; /* Align with other form items */
}
.view-guvernul-construieste .views-exposed-form button[data-drupal-selector="edit-reset-guvernul-construieste"] {
  margin: 0;
  font-weight: bold;
  height: auto;
  background-color: #465c75ba;
  color: #ffffff;
  border: none;
  border-radius: 0.375rem;
  padding: 0.4rem 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.view-guvernul-construieste .views-exposed-form button[data-drupal-selector="edit-reset-guvernul-construieste"]:hover {
  background-color: #ff4444e8;
}

/* Adjust layout for budget fields to be on one line */
.view-guvernul-construieste .views-exposed-form .js-form-item-field-buget-value,
.view-guvernul-construieste .views-exposed-form .js-form-item-field-buget-value-1 {
  flex: 1 1 calc(50% - 0.5rem);
}

/* Adjust layout for keyword search field */
.view-guvernul-construieste .views-exposed-form .js-form-item-title {
  flex: 1 1 100%;
  position: relative;
}

/* Add search icon to keyword field */
.view-guvernul-construieste .views-exposed-form .js-form-item-title::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  /* Inline SVG for icon */
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="%23888888"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z" /></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  z-index: 2;
}
.view-guvernul-construieste .views-exposed-form .js-form-item-title input {
  padding-left: 40px;
}

/* Adjust layout for Program field (entity autocomplete) - Hide as per original */
.view-guvernul-construieste .views-exposed-form .js-form-item-field-name-target-id {
  display: none;
}


/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .view-guvernul-construieste .views-exposed-form[data-drupal-selector="views-exposed-form-guvernul-construieste-page"] {
    flex-direction: column;
  }

  .view-guvernul-construieste .views-exposed-form .js-form-item,
  .view-guvernul-construieste .views-exposed-form .js-form-item-field-buget-value,
  .view-guvernul-construieste .views-exposed-form .js-form-item-field-buget-value-1 {
    flex: 1 1 100%;
  }

  .view-guvernul-construieste .views-exposed-form #edit-actions {
    align-self: stretch;
    justify-content: center;
  }

  .view-guvernul-construieste .views-exposed-form input#edit-submit-guvernul-construieste,
  .view-guvernul-construieste .views-exposed-form input[data-drupal-selector="edit-reset"] {
     flex: 1;
     margin: 0.25rem;
  }
}

/* --- End Updated Filter Styles for Drupal 10 --- */


/* --- Other Styles (Unchanged) --- */
.view-guvernul-construieste .view-empty p {
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 1rem;
  font-size: 1.4rem;
  border-top: 1px solid #e5e5e5;
}
.user-logged-in .field-content.project-remove-button {
  background-color: #df2f2f;
  transition: all .5s ease;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: .9rem;
  text-decoration: none;
  margin-left: 20px;
}
.user-logged-in .field-content.project-remove-button a {
  color: #ffffff !important;
}
.user-logged-in .field-content.project-remove-button:hover {
  text-decoration: underline;
  color: #ffffff !important;
}
/* --- End Other Styles --- */

#views-exposed-form-guvernul-construieste-page .form-item-field-name-target-id, #views-exposed-form-guvernul-construieste-page label {
    display: none;
}

@media (max-width: 580px) {
    .js-form-item:nth-child(-n+6) {
        flex: 1 1 100%;
    }

    #edit-field-statut-value,
    #edit-field-statut-value,
    #edit-field-buget-value,
    #edit-field-buget-value-1,
    #edit-field-raion-value,
    #edit-field-raion-value,
    #edit-field-beneficiari2-value,
    #edit-field-beneficiari2-value,
    #edit-field-domeniul-value,
    #edit-field-domeniul-value {
        max-width: none;
    }
}

@media (max-width: 460px) {
    .msg-infos-data .msg-info:not(:first-child) {
        margin-left: -30px;
    }

    .msg-infos-footer .msg-infos-footer1 {
        margin-left: 0;
        display: flex;
        flex-direction: column-reverse;
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .msg-infos-footer .msg-infos-footer1 > a {
        display: block;
        padding-top: 0.7rem;
        padding-left: 0.2rem;
    }

    .msg-infos-footer .msg-infos-footer1 > span {
        display: block;
        /*margin-top: 10px;*/
    }

    .msg-infos-footer .msg-infos-footer2 {
        margin-top: 15px;
    }

    .msg-infos-footer .msg-infos-footer2 .share-div1 .sharethis-wrapper .st_facebook_custom {
        padding-left: 0;
    }

    #edit-field-statut-value-wrapper,
    #edit-field-statut-value-wrapper {
        flex: 1 1 auto;
        width: 100%;
        padding: 0;
    }

    #edit-field-buget-value-wrapper {
        padding-left: 0;
    }

    #edit-field-buget-value-wrapper, #edit-field-buget-value-1-wrapper {
        flex: calc(40% - 10px);
        padding: 0;
    }

    .views-exposed-widget.views-submit-button, .views-exposed-widget.views-reset-button {
        padding: 0;
    }

    .view-guvernul-construieste .view-content .messages-rows .message-card {
        padding: 6px 1px 2px;
    }

    .message-card-body .msg-infos-footer {
        margin-top: 0.5rem;
    }

}

.ckeditor-accordion-container > dl dt > a, .ckeditor-accordion-container > dl dt > a:not(.button) {
	background-color: #1661B9FF;
}

.ckeditor-accordion-container > dl dt > a, .ckeditor-accordion-container > dl dt > a:not(.button):hover {
	background-color: #1661B9FF;
}

.ckeditor-accordion-container > dl {
	border: 1px solid #1661B9FF;
}