/*  OTHER */

:root{
    --f-header-height: 172px;
	--carousel-item-auto-size: 270px;
	--z-index-header: 4;
	--btn-font-size: 0.85em;
	--btn-radius: var(--radius-md);
	--form-control-radius: var(--radius-md);
}

.footer-v4__socials a svg {
    width: 1.5em;
    height: 1.5em;
}

.hide-text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.iframe-badge {
    min-width: 760px;
}

.card-v12 {
	display: flex;
	flex-direction: column;
}

.table--expanded .table__body .table__row:nth-child(odd) {
    background-color: hsla(var(--color-bg-light-h), var(--color-bg-light-s), var(--color-bg-light-l), 0.85);
}

.autocomplete__list {
    z-index: 1;
}

.card-v8 {
    display: flex;
    flex-direction: column;
}

.pn-links__link {
    width: 100%;

    justify-content: center;
}

@media (max-width: 768px) {
	:root{
		--f-header-height: 60px;
	}

	.iframe-badge {
        min-width: 400px;
    }

	.map {
		min-height: 400px;
	}

    .feature-v8__sub-content {
        --carousel-item-auto-size: 150px;
    }

    .pn-links__link {
        flex-direction: column;
    }
}

@media (max-width: 500px) {
    .iframe-badge {
        min-width: auto;
    }
}

/***** NEWS *****/

.slide-wrap {
    padding: 20px 40px;
    margin-top: 20px;
    background: var(--color-primary);

	transition: all 0.3s ease-in-out;
}

.slide-wrap:hover {
	box-shadow: var(--shadow-md);
}

.short-news-item, .slide-wrap{
	display: flex; 
	align-items: center;
	justify-content: flex-start;
}

.short-news-container {
	flex-grow: 1;
	overflow: hidden;
}

.height-swiper{
    height: 96px;
}

.swiper-container {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
}

.short-news-buttons {
    flex-grow: 0;
    flex-shrink: 0;
    width: 28px;
    margin-left: 20px;
}

.short-news-buttons {
    flex-grow: 0;
    flex-shrink: 0;
    width: 28px;
    margin-left: 20px;
}

.swiper-container-vertical>.swiper-wrapper {
    flex-direction: column;
}

.short-news-time {
    display: flex;
    align-items: center;
    justify-content: left;
    margin-right: 3rem;
    font-size: 16px;
    line-height: 24px;
    color: hsl(0, 0%, 72.5%);
}

.padding-sm .short-news-time {
	position: absolute;
    bottom: 0;
}

.short-news-content {
    font-size: 18px;
    line-height: 24px;
    max-height: 72px;
    overflow: hidden;
    color: #000;
}

.card-v6-custom:hover > figure > img{
    transform: scale(1.05);
}

.story--featured:hover > a > figure > img{
    transform: scale(1.05);

    border-radius: var(--radius-md);
}

.card-v6-img{
    transition: 0.4s;
}

.story__title a:hover {
    text-decoration: none;
}

.story--featured .story__title {
	font-size: var(--text-lg);
}

.news-content h1,
.news-content h2,
.news-content h3,
.news-content h4 {
	color: var(--color-primary);
	text-transform: uppercase;
}

.select-pagination-item {
	font-weight: bold;
}

.story__category {
    border-radius: 0;
    color: var(--color-white);
    background-color: var(--color-primary);

    border-radius: var(--radius-md);
}

.story__category:hover {
    text-decoration: none;
    background-color: var(--color-success);
}

/* HEADER */

@media (min-width: 64rem) {
    .f-header__nav-grid {
		flex-direction: column;
		align-items: normal;
		justify-content: space-between;
	}

}

.f-header__link--form {
    font-weight: 700;
    color: #DB0529;
}

.f-header__link--form:hover {
    opacity: 0.9;
    color: #DB0529;
}

.f-header__dropdown {
    background-color: var(--color-bg)
}

/* .f-header__nav::before {
    border-bottom: 0;
} */

.pre-header {
	background: var(--color-primary);
}

.f-header__logo {
	display: flex;
}

.f-header__nav--right-item:hover {
	text-decoration: underline;
}

.form-control {
	background:	transparent;

}

@media (max-width: 768px) {
	.pre-header {
		display: none;
	}

    .f-header__item {
        border-bottom: 0px;
    }
}

/* SLIDESHOW MAIN */

.aspect-ratio-custom {
    --aspect-ratio: calc(16 / 9);
    position: relative;
    height: 0;
    padding-bottom: calc(100% / (var(--aspect-ratio)));
}

.slideshow--ratio-custom .slideshow__item {
    height: 0;
    padding-bottom: 28.25%;
}

.slideshow__nav-item button {
   color: var(--color-primary); 
}

.slideshow--ratio-custom {
    background-color: transparent;
}

.slideshow--ratio-custom .slideshow__navigation {
    position: static;
}

@media (max-width: 768px) {
	.slideshow--ratio-custom .slideshow__item {
		padding-bottom: 79.25%;
	}
}

/* Advantages V2*/

.main-direction-item .link-fx-1 {
    height: auto;
    padding: 0;
}

.main-direction-item .link-fx-1::before {
	display: none;
}

.main-direction-item .link-fx-1 .icon {
    position: static;
    transform: translateX(0%) rotate(90deg);
}

.main-direction-item:hover .icon circle {
    stroke-dashoffset: 200;
    transition: stroke-dashoffset 0.2s 0.1s;
}

.main-direction-item:hover .icon line {
    transform: rotate(-180deg);
}

.main-direction-item:hover .icon line:last-child {
    transform: rotate(180deg);
}

.main-direction-item:hover .icon line {
    transform: rotate(-180deg);
}

.tab-features-v2--custom .tab-features-v2__control-title {
	margin-bottom: 0;
}

.tab-features-v2__control {
    padding: var(--space-sm);

    border-radius: var(--radius-md);
}

.tab-features-v2__control--advantage:hover {
    background: var(--color-primary);
}

.tab-features-v2__control--advantage:hover .tab-features-v2__control-wrapper {
    background: var(--color-white);
}

.tab-features-v2__control--advantage:hover .tab-features-v2__control-wrapper .icon {
    color: var(--color-primary);
}

.tab-features-v2__control--advantage:hover .link-fx-1 {
    color: var(--color-white);
}

.tab-features-v2__control--advantage:hover .tab-features-v2__control-title,
.tab-features-v2__control--advantage:hover p {
    color: var(--color-white);
}

.main-direction-item:last-child .tab-features-v2__control--advantage {
    background: var(--color-primary);
}

.main-direction-item:last-child .tab-features-v2__control--advantage .tab-features-v2__control-wrapper {
    background: var(--color-white);
}

.main-direction-item:last-child .tab-features-v2__control--advantage .tab-features-v2__control-wrapper .icon {
    color: var(--color-primary);
}

.main-direction-item:last-child .tab-features-v2__control--advantage .link-fx-1 {
    color: var(--color-white);
}

.main-direction-item:last-child .tab-features-v2__control--advantage .tab-features-v2__control-title,
.main-direction-item:last-child .tab-features-v2__control--advantage p {
    color: var(--color-white);
}

/* BUTTONS */

.btn--secondary {
	background-color: transparent;

	color: var(--color-primary);

	border: 2px solid var(--color-primary);
}

.btn--secondary:hover {
	background-color: var(--color-primary);

	color: white;

	border: 2px solid var(--color-primary);
}

.btn--accent {
	background-color: var(--color-accent);

	color: var(--color-white);

	border-color: var(--color-accent);
}

.btn--accent:hover {
	background-color: var(--color-accent-dark);

	color: white;

	border-color: var(--color-accent-dark);
}


/* Services Item */

.services-item {
    max-height: 400px;

    transition: all 0.3s ease-in-out;
}

.services-item:hover {
    box-shadow: var(--shadow-lg);
}

.fade-out {
    position: relative;
}

.fade-out::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10px;
    right: 0;
    height: 60px;
    width: 90%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 1));
    pointer-events: none;
}