* {
    margin: 0;
    padding: 0;
}

/* FONTS */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Sofia Sans', sans-serif;

}

p {
    font-family: 'Sofia Sans', sans-serif;
    font-weight: 300;
}

.nav-item {
    font-family: 'Sofia Sans', sans-serif;

}

::placeholder {
    font-family: 'Sofia Sans', sans-serif;
    color: #999898 !important;
}

.bar {
    border-bottom: 5px solid #fff;
    width: 20px;
    transition: border-bottom 0.3s ease-in-out;
}

.bar.active,
.nav-item:hover .bar {
    border-bottom: 5px solid #005696;
    width: 20px;
    border-radius: 10px;
    transition: border-bottom 0.3s ease-in-out;
}

/* COLORS */

.blue {
    color: #005696;
}

.lightblue {
    color: #4199db;
}

.green {
    color: #8bc63e;
}

.gray {
    color: #fafafa;
}

.bg-green {
    background-color: #8bc63e;
}

.bg-blue {
    background-color: #005696;
}

.bg-lightblue {
    background-color: #4199db;
}

/* BUTTONS */

.btn.btn-main {
    color: #fff;
    background-color: #8bc63e;
    font-family: 'Sofia Sans', sans-serif;
    border: #8bc63e 2px solid;
}

.btn.btn-second {
    color: #8bc63e;
    background-color: #fff;
    font-family: 'Sofia Sans', sans-serif;
    border: #8bc63e 2px solid;
}

.btn.btn-bulletin {
    color: #fff;
    background-color: transparent;
    font-family: 'Sofia Sans', sans-serif;
    border: #fff 2px solid;
}

.btn.btn-main:hover {
    border: #8bc63e 2px solid;
}

.btn.btn-second:hover {
    color: #fff;
    background-color: #8bc63e;
    font-family: 'Sofia Sans', sans-serif;
    border: #8bc63e 2px solid;
}

.btn.btn-bulletin:hover {
    color: #fff;
    background-color: #8bc63e;
    border: #8bc63e 2px solid;
}

.recent-link:hover p,
.recent-link:hover h5 {
    color: #8bc63e;
    transition: color 0.3s ease-in-out;
}

.recent-link:hover .row {
    box-shadow: 2px 2px 15px gray;
    transition: box-shadow 0.3s ease-in-out;
}

#btnPrev,
#btnNext {
    background-color: #fff;
}

#btnPrev:hover,
#btnNext:hover {
    background-color: #8bc63e;
}

.nav-link-offcanvas {
    text-decoration: none;
    font-weight: 700;
    color: #005696;
}

.page-link {
    color: gray !important;
    font-weight: bold !important;
}

.page-link.active {
    color: #005696 !important;
    background-color: #fff !important;
}

.news-link:hover .card-title {
    color: #8bc63e;
    transition: color 0.3s ease-in-out;
}

.news-link:hover .card {
    box-shadow: 2px 2px 15px gray;
    transition: box-shadow 0.3s ease-in-out;
}


/* CAROUSEL */

@media only screen and (max-width: 767px) {

    .carousel,
    .carousel-inner,
    .carousel-item {
        height: 155vh;
    }
}

@media only screen and (min-width: 768px) {

    .carousel,
    .carousel-inner,
    .carousel-item {
        height: 60vh;
    }
}

/* SLIDER */

.slider {
    background: white;
    height: 167px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slider::before,
.slider::after {
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 167px;
    position: absolute;
    width: 200px;
    z-index: 2;
}

.slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.slider::before {
    left: 0;
    top: 0;
}

/*@media (max-width: 430px) {*/
/*    .slider::before,*/
/*    .slider::after {*/
       
/*    }*/
/*}*/

.slide-track {
    animation: scroll 40s linear infinite;
    display: flex;
    align-items: center;
    width: max-content;
}

.slides {
    flex: 0 0 auto;
    height: 167px;
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slides a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.slides img {
    max-width: 175px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.slider:hover .slide-track {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Track contains 3 identical copies, so -1/3 = one seamless loop
           regardless of how many partner logos exist */
        transform: translateX(-33.333333%);
    }
}

.limited-lines {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.limited-featured {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.limited-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.limited-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


