.visually-hidden {
    /* Contain text within 1px box */
    height: 1px;
    overflow: hidden;
    width: 1px;
    /* Keep the layout */
    position: absolute;
    /* Remove any visible trace (e.g. background color) */
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%); /* browsers in the future */
    /* Prevent the screen reader to skip spaces between words */
    white-space: nowrap;
}

/* Sign up form v3 */

.sufv3 {
    --icon-dims: 24px;
    --input-padding-left: 0.5rem;
    --icon-text-spacing: 0.75rem;
    --field-spacing-y: 2rem;
    --input-height: 40px;
    --checkbox-dims: 30px;
    margin: 1rem 0;
}

.sufv3__header {
    padding: 1rem 0;
    border-bottom: 1px solid #333;
}

#nfer-content .sufv3__header + * {
    margin-top: var( --field-spacing-y );
}

.sufv3__heading {
    font-size: 1.5rem;
    color: #95569e;
    font-weight: 500;
}

#nfer-content .sufv3__btn {
    width: 100%;
    color: #fff;
    background-color: #333;
    text-align: center;
    border-radius: 0%;
}

#nfer-content .sufv3__btn:hover {
    color: #333;
    background-color: #fff;
}

.sufv3 label {
    color: #8E599D;
}

.sufv3 input {
    height: 40px;
    font-size: 1rem;
}

.sufv3 label,
.sufv3 input[type="text"] {
    width: 100%;
}

.sufv3 input[type="text"] {
    font-size: 1rem;
    border-radius: 0%;
}

.sufv3 label.glyphicon + label.glyphicon {
    margin-top: var( --field-spacing-y );
}

.sufv3 input[type="text"]::placeholder {
    word-spacing: calc( -1rem + 0.25rem );
    opacity: 0.5;
}

.sufv3 .glyphicon:before {
    position: absolute;
    top: calc( 50% - ( var( --icon-dims ) / 2 ) );
    left: var( --input-padding-left );
    z-index: 5;
    font-size: var( --icon-dims );
    opacity: .5;
}

.sufv3 input[type="checkbox"] {
    width: var( --checkbox-dims );
    height: var( --checkbox-dims );
    margin: 0;
    cursor: pointer;
}

.sufv3__checkbox-label {
    display: flex;
    align-items: center;
}

.sufv3 input[type="checkbox"] + span {
    margin-left: 0.5rem;
}

.sufv3 .glyphicon {
    color: #333;
}

.sufv3 .glyphicon input {
    height: var( --input-height );
    padding: 0 0 0 calc( var( --icon-dims ) + ( var( --input-padding-left ) + var( --icon-text-spacing ) ) );
}

.sufv3__form-check {
    display: flex;
    position: relative;
    height: calc( var( --input-height ) + var( --field-spacing-y ) );
}

.sufv3__form-check > div {
    position: absolute;
    top: calc( ( var(--input-height) / 2 ) - ( var( --checkbox-dims ) / 2 ) );
    display: flex;
    align-items: center;
}

.sufv3 input + label {
    margin-left: var( --icon-text-spacing );
}

.sufv3__links {
    display: flex;
    align-items: center;
}

.sufv3__links > a {
    color: #8E599D;
}

#nfer-content .sufv3__links > a:hover {
    color: #8E599D;
    text-decoration: none;
}

.sufv3 .pipe-seperator {
    margin: 0 var( --icon-text-spacing );
    color: #8E599D;
}

@media ( max-width: var( --md ) ) {
    .sufv3__btn {
        margin-top: var( --field-spacing-y );
    }

    .sufv3__links {
        justify-content: center;
    }

    .sufv3__checkboxes {
        margin-top: var( --field-spacing-y );
    }
}

/* End of sign up form v3 */

/* Carousel V1 */

html {
    /* breakpoints */
    --xs: 576px;
    --sm: 576px;
    --md: 768px;
    --lg: 992px;
    --xl: 1200px;
    --xxl: 1400px;
    --topic-cards-offset: -3rem;
}

/* nav-fix */
#nfer-content .dropdown-cover {
    z-index: 99; /* ovveride bootstrap v3 z-index: 2 */
}

/* override bootstrap v5 */
#nfer-content .carousel-control-prev,
#nfer-content .carousel-control-next {
    width: 6%;
}

#nfer-content .carousel-control-next-icon,
#nfer-content .carousel-control-prev-icon {
    --control-dims: 3rem;
    height: var( --control-dims );
    width: var( --control-dims );
}

.nfer-carousel {
    --nfer-logo-height: 140px;
    --nfer-carousel-min-height: 560px;
    min-height: var( --nfer-carousel-min-height );
}

.nfer-carousel .carousel-inner,
.nfer-carousel .carousel-item {
    min-height: var( --nfer-carousel-min-height );
    height: 100%;
}

.nfer-carousel .nfer-carousel__slide {
    position: relative;
    padding: 2rem 10% calc( var( --topic-cards-offset ) - ( var( --topic-cards-offset ) * 2 ) + 2rem );
    height: 100%;
}







/* -------------- DESKTOP BANNER LAST -----------*/
@media ( min-width: 1440px ) {

	
		.nfer-carousel__mobile-img-wrapper {
		display: none;
	}
		.nfer-carousel__mobile-img-wrapper > img {
		display: none;
	}
		.nfer-carousel__tablet-img-wrapper {
		display: none;
	}
		.nfer-carousel__tablet-img-wrapper > img {
		display: none;
	}
	
		.nfer-carousel__img-wrapper {
			display: block;
			position: absolute;
			width: 100%;
			top: 0;
			left: 0;
			/*right: 0;*/
			bottom: 0;
		}

		.nfer-carousel__img-wrapper > img {
			display: block;
			pointer-events: none;
			width: 100%;
			z-index: 1;
			height: 100%;
			object-fit: cover;
			/*min-height: var( --nfer-carousel-min-height );*/
		}

}



/* -------------- TABLET BANNER NEXT -----------*/
@media ( max-width: 1439px ) {

	
		.nfer-carousel__mobile-img-wrapper {
		display: none;
	}
		.nfer-carousel__mobile-img-wrapper > img {
		display: none;
	}
		.nfer-carousel__img-wrapper {
		display: none;
	}
		.nfer-carousel__img-wrapper > img {
		display: none;
	}
	

		.nfer-carousel__tablet-img-wrapper {
			display: block;
			position: absolute;
			width: 100%;
			top: 0;
			left: 0;
			/*right: 0;*/
			bottom: 0;
		}

		.nfer-carousel__tablet-img-wrapper > img {
			display: block;
			pointer-events: none;
			width: 100%;
			z-index: 1;
			height: 100%;
			object-fit: cover;
			/*min-height: var( --nfer-carousel-min-height );*/
		}

}





/* -------------- MOBILE FIRST BANNER -----------*/
@media ( max-width: 620px ) {

	
		.nfer-carousel__tablet-img-wrapper {
		display: none;
	}
		.nfer-carousel__tablet-img-wrapper > img {
		display: none;
	}
		.nfer-carousel__img-wrapper {
		display: none;
	}
		.nfer-carousel__img-wrapper > img {
		display: none;
	}
	
		.nfer-carousel__mobile-img-wrapper {
			display: block;
			position: absolute;
			width: 100%;
			background-color:#95569e;
			top: 0;
			left: 0;
			right: 0;
			bottom: 0;
		}

		.nfer-carousel__mobile-img-wrapper > img {
			display: block;
			pointer-events: none;
			width: 100%;
			background-color:#95569e;
			z-index: 1;
			/*height: 100%;*/
			/*object-fit: cover;*/
			/*min-height: var( --nfer-carousel-min-height );*/
		}

}







.nfer-carousel__slide-content {
    position: relative;
    z-index: 2;
    padding-top: 35%;
    width: 50%;
	}

.nfer-carousel__slide-content p {
	margin-top:10px;
}

@media ( min-width: 768px ) {
.nfer-carousel__slide-content {
    position: relative;
    z-index: 2;
    padding-top: var( --nfer-logo-height );
    width: 50%;
	}
}
.nfer-carousel__slide-content > * {
    color: #fff;
    margin-bottom: 0;
}

.nfer-carousel__logo-wrapper {
    position: absolute;
    left: calc( var( --nfer-logo-height ) * -0.6 ); /* approx ratio */
    top: 0;
    height: var( --nfer-logo-height );
}

.nfer-carousel__logo-wrapper > img {
/*    max-height: var( --nfer-logo-height );  */
	max-height:80px;
	margin-left:-22px;
	margin-top:0px;
}

@media ( min-width: 768px ) {
.nfer-carousel__logo-wrapper > img {
/*  max-height: var( --nfer-logo-height );  */
	max-height:80px;
	margin-left:82px;
	margin-top:30px;
	}
}

@media ( max-width: 768px ) {
.nfer-carousel__logo-wrapper > img {
/*  max-height: var( --nfer-logo-height );  */
	max-height:80px;
	margin-left:0px;
/*  margin-top:30px;  */
	}


.nfer-carousel__slide-content > h1 {
    --title-font-size: 1.6rem;
    margin-top: 1rem;
    font-size: var( --title-font-size );
    line-height: calc( var(--title-font-size) );
/*    line-height: calc( var(--title-font-size) + 0.5rem );*/
}
	
.initialheading { max-width:240px; }
.initialdescription { max-width:240px; }	

}

@media ( min-width: 769px ) {
.nfer-carousel__slide-content > h1 {
    --title-font-size: 2rem;
    margin-top: 1rem;
    font-size: var( --title-font-size );
    line-height: calc( var(--title-font-size) );
/*    line-height: calc( var(--title-font-size) + 0.5rem );*/
}
}

.nfer-carousel__slide-content > p {
    font-size: 1rem;
	line-height:22px;
	margin-top:20px;
}

.nfer-carousel__slide-content > a {
    margin-top: 2rem;
    font-size: 1rem;
    background-color: #95569e;
    display: inline-block;
    color: #fff;
    border-radius: 2px;
    border: 1px solid #ffffff;
    cursor: pointer;
    box-sizing: border-box;
    text-align: center;
    min-width: 125px;
    height: auto;
    white-space: normal;
    word-break: break-word;
    word-wrap: break-word;
    padding: 12px 10px;
    line-height: 1.2;
    font-weight: 600;
}

.nfer-carousel__slide-content > a:hover {
    text-decoration: none;
    opacity: 0.9;
    color: #fff;
}

@media ( max-width: 768px ) {
    .nfer-carousel .nfer-carousel__slide {
        padding: 3rem 15%;
    }

    .nfer-carousel__logo-wrapper {
        left: 0;
    }

    .nfer-carousel__slide-content {
    width: 100%;
    }

    /*.nfer-carousel__slide-content > h1 {
        --title-font-size: 1.3rem;
    }*/
}

@media ( max-width: 576px ) {
    .nfer-carousel__logo-wrapper > img {
      /* max-height: 66%; */
    }
}

/* End of Carousel V1 */


/* Topic Cards */

.topic-cards__container {
    --border-color: #fff;
    --border-thickness: 10px;
    --topic-card-min-width: 50px;
    --topic-card-height: 320px;
    position: relative;
}

#nfer-content .topic-cards {
    display: flex;
    flex-wrap: wrap;
    border: var( --border-thickness ) solid var( --border-color );
    margin-top: var( --topic-cards-offset );
    background-color: var( --border-color );
}
#nfer-content .topic-cards .col {
    padding-left: calc( var( --border-thickness ) / 2 );
    padding-right: calc( var( --border-thickness ) / 2 );
    margin-bottom: var( --border-thickness );
}
#nfer-content .topic-cards .col:nth-child(1) {
    padding-left: 0;
}
#nfer-content .topic-cards .col:nth-child(4) {
    padding-right: 0;
}

.topic-card {
    display: flex;
    flex-flow: column;
    min-width: var( --topic-card-min-width );
    /* margin-bottom: 1.5rem; */
    height: var( --topic-card-height );
    max-height: var( --topic-card-height );
}

.topic-card__title {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex: 1;
    color: #fff;
    background-color: #333;
    padding: 0.5rem 1rem;
}

.topic-card__img-wrapper {
    width: 100%;
    height: 80%;
}

.topic-card__img-wrapper > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media ( max-width: 992px ) {
    .topic-cards__container {
        --topic-card-height: 260px;
    }
    #nfer-content .topic-cards .col:nth-child( 2 ) {
        padding-right: 0;
    }
    #nfer-content .topic-cards .col:nth-child( 3 ) {
        padding-left: 0;
    }
}
@media ( max-width: 768px ) {
    .topic-cards__container {
        --topic-card-height: 220px;
    }
    #nfer-content .topic-cards .col {
        flex: 50%;
    }
}
@media ( max-width: 576px ) {
    .topic-cards__container {
        --topic-card-height: 180px;
    }
    #nfer-content .topic-cards .col {

    }
}


/* End of Topic Cards */

/* Latest News v2 */

.news-items__header {
    margin-top: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #333;
}

    .news-items__header + * {
        margin-top: 1rem;
    }

.news-items__heading {
    font-size: 1.5rem;
    color: #95569e;
    font-weight: 500;
}

    .news-items__heading:hover {
        color: #95569e;
    }

.news-items > a + a > .news-item {
    margin-top: 1.5rem;
}

.news-item {
    display: flex;
    width: 100%;
}

.news-item__img-wrapper {
    min-width: 200px;
    flex: 0 33%;
}

    .news-item__img-wrapper > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.news-item__content-wrapper {
    flex: 0 67%;
    padding: 0 1rem 0;
    display: flex;
    flex-direction: column;
}

.news-item__content > * {
    display: block;
}

.news-item__title {
    font-size: 1.5rem;
    color: #000;
}

.news-item__date {
    font-size: 1rem;
    color: #585858;
}

.news-item__intro-text {
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    white-space: normal;
    color: #000;
}

.news-item__read-more {
    margin-top: 2rem;
    color: #95569e;
    font-weight: 500;
}

@media ( max-width: 768px ) {
    .news-item {
        flex-flow: column;
    }

    .news-item__content-wrapper {
        padding: 1rem 1rem 0;
    }

    .topic-card__img-wrapper,
    .news-item__content-wrapper {
        flex: 0 100%;
    }
}

/* End of Latest News v2 */

/* Header */

#nfer-content .site-header {
    background-color: #95569e;
    padding: 0.5rem 0;
    display: flex;
    justify-content: flex-end;
}

#nfer-content .site-header__search-button {
    background-color: #95569e;
    color: #fff;
    border: 0;
}

/* End of Header */

/* Footer */

#nfer-content .footer-menu {
    margin-top: 4rem;
}

#nfer-content .footer-social {
    margin-top: 0;
}

/* End of Footer */

/* Header */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-header ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.site-header__logo-wrapper {
    min-width: 150px;
    max-width: 200px;
}

.site-header__logo-wrapper a,
.site-header__logo-wrapper a img {
    width: 100%;
    height: 100%;
}

#header-search-modal .modal-dialog {
    --bs-modal-width: 100%;
    margin-top: 0;
}

#header-search-modal .modal-header {
    display: flex;
    justify-content: end;
    border-bottom: none;
}

#header-search-modal input[type="text"] {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    border-bottom: 2px solid #fff;
    width: calc(100% - 140px);
    margin-right: 20px;
    outline: none;
    line-height: 2.3;
    color: #fff;
}

#header-search-modal button.search {
    background-color: #95569e;
    color: #fff;
}

/* End of Header */

/* Footer */

#nfer-content .site-footer__social-links button {
    border-color: #95569e;
    color: #95569e;
    margin-right: 20px;
}

.site-footer {
    background-color: #f4f4f4;
    border-top: 1px solid #95569e;
    margin-top: 2rem;
}

.site-footer__social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
}

.site-footer__terms-container {
    margin-top: 1rem;
    color: #fff;
    background: #3c3c3b;
}

/* End of Footer */

/* Animations */
.custom-fade-in {
    opacity: 1;
    animation-name: fadeInOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 0.2s;
}

@keyframes fadeInOpacity {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* End of animations */

/* -------------- MOBILE FIRST BANNER -----------*/
@media ( max-width: 768px ) {
	.initialslidestyle img { height:100px; margin-left:3px; margin-top:0px; }
}
@media ( min-width: 769px ) {
.initialslidestyle img { max-height:110px; margin-left:80px; margin-top:0px; }
}
/*.initialheading { margin-left:33px; text-shadow: 2px 2px 25px black; }*/
.initialheading { margin-left:0px; font-size:14px; }
.initialdescription { margin-left:0px; font-size:100%; text-shadow: 2px 2px 10px #666; }



	
@media ( max-width: 620px ) {
.initialheading { max-width:280px; }
.initialdescription { max-width:280px; }	
}

/* Bootstrap v3 compatiability fixes */

#nfer-content section.container,
#nfer-content section .container {
    max-width: 1200px;
}

/* End of Bootstrap v3 compatiability fixes */
	