main > .container {
    padding: 70px 15px 20px;
}

main > .container-fluid {
    padding: 70px 15px 20px;
}

footer > .container-fluid {
    padding-right: 50px;
    padding-left: 50px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

.carousel-caption,.carousel-control-prev-icon,.carousel-control-next-icon {
    background-color : rgba(0,0,0,0.5);
    border-radius: 10px;
}

.dropdown-menu {
    background-color : #0078be;
}

.dropdown-item {
    color: white;
}

html {
    scroll-padding-top: 60px;
    scroll-behavior: smooth;
}

.row {
    margin-bottom: 20px;
}

.carousel-item {
    max-height: 65vh; /* Set a fixed height for the carousel */
    position: relative;
    cursor:pointer;
}

.carousel-item img {
    object-fit: cover; /* Ensure the image covers the container */
    min-height: 65vh;
    height: 100%;
    width: 100%;
}

#reseaux img {
    height: 40px;
    margin-top:-6px;
}

.hide-scroll{
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer/Edge */
}

.hide-scroll::-webkit-scrollbar  {
    display: none; /* Safari and Chrome */
}

#site-index .card-container {
    padding:10px;

}

#site-index .card {
    cursor: pointer;
    width:220px;
    height: 160px;
    border-radius: 10px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:5px;
}

#site-index .card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.section-title {
    font-style:italic;
    color:#0078BE;
    font-size:2.4em;
    text-align:center;
    margin:20px;
}

.sub-section-title {
    color:#4a4a4a;
}

#site-partners .card {
    vertical-align: bottom;
    border-radius: 10px;
    margin-bottom:0px;
    height: 70vh;
    padding-bottom: 40px;
    text-align:justify;
    overflow:hidden;
}

.card:hover, .card:active{
    box-shadow: 0px 5px 20px 0px grey;
    cursor:pointer;
}

#site-partners .card img {
    margin : 40px;
    max-height: 100%;         /* Ensures the image fits inside the container */
    max-width: 100%;
}

#site-partners .card-img-container {
    height:35vh;
    display: flex;
    justify-content: center;  /* Horizontal alignment */
    align-items: center;
    padding: 20px;
}

#site-partners .card .btn-container{
    position: absolute;
    bottom:0px;
    width:100%;
}

.btn-container .btn{
    position: absolute;
    bottom: 10px;
    right:26px;
}
/*
.row.band:hover,.row.band:active{
    box-shadow: 0px 5px 20px 0px grey;
}
*/
.row.band .col-md-6{
    text-align: center;
    max-height: 100%;
    max-height:80vh;
}

.row.band img{
    max-height: 90%;
    max-width: 100%;
    margin-top:20px;
}

.row.band h1{
    margin-top: 20px;
}

.row.band p{
    padding-top: 40px;
}

.row.band p{
    width:80%;
    left:40%;
    margin:auto;
}

.partners{
    padding:0px 40px 0px 40px;
}

.partners h1, .domain h1{
    text-align: center;
    margin:20px 0px 40px 0px;
}

.domain{
    text-align:justify;
}

.business-card-container{
    padding: 10px;
}

.business-card {
    display:inline-block;
    width:100%;
    height:100%;
    padding: 10px;
    background: linear-gradient(155deg, #006cab, #4da1d2);
    color: white;
    font-family: 'Arial', sans-serif;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
}

.business-card:hover {
    transform: scale(1.05);
}

.card-header h2 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: bold;
}

.function {
    margin: 5px 0 20px 0;
    font-size: 1.1rem;
    color: #f4d03f;
}

.card-body p {
    margin: 8px 0;
    font-size: 1rem;
}

.card-body p strong {
    color: #f4d03f;
}

.card-body p + p {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 10px;
}

#site-index .row{
    padding: 20px 0px 20px 0px;
}

.appear-delayed {
    opacity: 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    animation: appear 1.5s forwards 1s;
    overflow: hidden;
}

.animate {
    position: relative;
    animation: slide-in 1s ease-out forwards, pulse 1s 1 1s;
    overflow: hidden;
}

.animate-inv {
    position: relative;
    animation: slide-in-inv 1s ease-out forwards;
    overflow: hidden;
}

.animate-top {
    position: relative;
    animation: slide-in-top 1s ease-out forwards;
    overflow: hidden;
}

.animate-bottom {
    position: relative;
    animation: slide-in-bottom 1s ease-out forwards;
    overflow: hidden;
}

.animate::before, .animate-inv::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 3px;
    background: #feb47b;
    animation: underline 1.5s ease-out forwards;
}

@keyframes slide-in {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes appear {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slide-in-inv {
    from {
        transform: translateX(50vw);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-in-top {
    from {
        transform: translateY(-20vh);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slide-in-bottom {
    from {
        transform: translateY(50vh);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes underline {
    from {
        top: 100%;
        left: -100%;
    }
    to {
        top: 100%;
        left: 0;
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.04);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#clientModal #modalContent {
    padding: 20px;
    width: 100%;
    transform: scale(1.05);
}

#clientModal img {
    float:left;
    max-width: 120px;
    max-height: 120px;
    border-radius: 5px;
    object-fit: cover;
    margin-right: 20px;
    border-color: grey;
    border: solid 1px;
}

.client-card {
    /*align-items: center;*/
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 15px 0;
    width: 100%;
    height: 191px; /* Fixed height for all cards */
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.client-card:hover {
    transform: scale(1.05);
}

.client-card img {
    float:left;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

.client-name {
    font-size: 1.4em;
    font-weight: bold;
    margin: 0px 0 10px 0;
}

.client-card .client-name {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Number of lines you want to limit to */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


.project-description {
    font-size: 1em;
    color: #555;
    overflow: hidden; /* Hide overflow text */
    text-overflow: ellipsis; /* Show ellipsis when text overflows */
}