body{
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.letter-spacing-1{
    letter-spacing: .15rem;
}
.letter-spacing-2{
    letter-spacing: .25rem;
}
.letter-spacing-3{
    letter-spacing: .5rem;
}
.letter-spacing-4{
    letter-spacing: .75rem;
}
.first-letter::first-letter {
    font-size: 6em;
    float:left;
}
footer {
    background:rgba(245,245,245,1);
}



/* CURSEUR */
.cursor-pointer,
.c-pointer{
    cursor: pointer;
}

/* NAVIGATION */
#logo_bloc, #navigation{
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
#logo_bloc img{
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

/* FOOTER */
footer .footer-widget {
    color: #7d7d7d;
    font-size: .9rem;
}
footer li {
    list-style-type: none;
}
footer a {
    color: #7d7d7d;
    font-size: .9rem;
}
footer a:hover,
a.text-primary:focus,
a.text-primary:hover {
    color:#17284D !important;
    text-decoration: underline;
}

/* CAROUSEL */
#slider .btn-primary{
    letter-spacing: 1px;
    font-size: 26px;
    font-weight: 100;
}

#slider{
    position: relative;
}
.slider_middle{
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
.titre_slider{
    position: relative;
    background: #FFF;
    font-size: 70px;
    padding: 0.2em;
    text-transform: uppercase;
    font-weight: 800;
    color: #1C3260;
    line-height: 60px;
    display: inline-block;
}
.slider_middle .btn{
    display: inline-block;
    position: absolute;
    right: 0;
    bottom: -53px;
}
.carousel-indicators li{
    width: 10px !important;
    height: 10px !important;
    margin-left: 6px;
    margin-right: 6px;
}


/* DECOUVRIR */
#outils a,
#publications a,
.accueil_pictos a{
    text-decoration: none;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
#outils a div,
#publications a div,
.accueil_pictos a div{
    transform: scale(0.9);
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
#outils a span,
#publications a span,
.accueil_pictos a span{
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#outils a:hover div,
#publications a:hover div,
.accueil_pictos a:hover div{
    transform: scale(1);
}
#decouvrir .lien_decouvrir {
    font-size: 18px;
    font-style: italic;
    font-weight: 300;
}
.text-bg-primary {
    color: #fff !important;
    background-color:#1C3260 !important;
}

.bg-primary{
    background-color:#1C3260 !important;
}
.bg-green{
    background-color:#69BFAA !important;
}
.bg-red{
    background-color:#E8424C !important;
}
.bg-primary{
    background-color:#1C3260 !important;
}
.badge-primary{
    color:#fff;
    background-color:#1C3260 !important;
}
a.badge-primary:hover{
    color:#fff;
    background-color:#17284D !important;
}
.border-primary{
    border-color: #1C3260 !important;
}
.text-primary{
    color:#1C3260 !important;
}
.text-green{
    color:#69BFAA !important;
}
.text-red{
    color:#E8424C !important;
}
.text-gris{
    color:#636363 !important;
}
.text-club{
    color:#f3b82c !important;
}
.text-like{
    color:#0097e6 !important;
}
.text-hand{
    color:#6c5ce7 !important;
}
.text-star{
    color:#22a6b3 !important;
}
.bg-like{
    background-color:#0097e6 !important;
}
.bg-hand{
    background-color:#6c5ce7 !important;
}
.bg-star{
    background-color:#22a6b3 !important;
}
.btn-primary {
    background-color: #1C3260 !important;
    border-color: #1C3260 !important;
    color:#FFFFFF !important;
}
.btn-primary:hover{
    background-color: #17284D !important;
    border-color: #17284D !important;
}
.btn-green {
    background-color: #69BFAA !important;
    border-color: #69BFAA !important;
    color:rgba(0,0,0,0.6) !important;
}
.btn-green:hover{
    background-color: #50B49C !important;
    border-color: #50B49C !important;
}
.btn-outline-primary {
    color: #1C3260 !important;
    border-color: #1C3260 !important;
}
.btn-outline-primary:hover{
    background-color: #17284D !important;
    border-color: #17284D !important;
    color:#FFFFFF !important;
}
.list-group-item.active {
    color: #FFFFFF;
    background-color: #1C3260;
    border-color: #1C3260;
}
#decouvrir {
    background: #1C3260 none repeat scroll 0 0;
    color:#FFFFFF;
}
.breadcrumb-item + .breadcrumb-item::before {
    color: #1C3260 !important;
    content: ">" !important;
}

.alert-primary {
    color: #1C3260;
    background-color: #F3CEDD;
    border-color: #E79BB9;
}

/* ACTUALITES */
#actus{
    background: #F9F9F9 none repeat scroll 0 0;
}
#actus .une_actu{
    position: relative;
    transition: all 0.3s;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    text-decoration: none;
    color:#333333;
}
#actus .pagination{
    font-family: Open Sans Condensed;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 20px;
    display: inline !important;
}
#actus .pagination a{
    transition: all 0.3s;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    color:#7d7d7d;
}
#actus .pagination .on{
    color: #17284D;
}
#actus .pagination .sep{
    color: #DEDEDE;
}
#actus .pagination a:hover{
    color: rgba(194,47,105,1);
    text-decoration: none;
}
.une_actu img,
.link-next img{
    transition: all 0.3s;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
}
.une_actu .card-footer{
    background-color: rgba(0,0,0,0);
}
.une_actu:hover .card-footer{
    background-color: rgba(0,0,0,0.03);
}
.une_actu .card-footer i,
.card .card-footer i{
    vertical-align: middle;
}
.une_actu .card-footer .readmore,
.card-footer .readmore{
    transition: all 0.3s;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    vertical-align: middle;
    text-transform: uppercase;
    font-family: Open Sans Condensed;
    font-weight: bold;
}
.une_actu:hover .card-footer .readmore,
.card:hover .card-footer .readmore{
    letter-spacing: 2px;
}
.une_actu:hover img,
.link-next:hover img{
    transform:scale(1.1);
}

.une_actu:hover{
    box-shadow: 0 0 15px rgba(0,0,0,.4);
    background:#1C3260 !important;
    color: #FFFFFF !important;
}
.une_actu:hover .card-body h3{
    color: #FFFFFF !important;
}
#actus .une_actu:hover .card-img-top {
    opacity: 1;
}
#actus .card-title{
    color:#1C3260;
    font-weight: 600;
    font-style: italic;
    font-size: 30px;
}
#actus .card-img-top{
    opacity: 0.9;
    transition: all 0.3s;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
}

.link-next{
    position: relative;
    overflow: hidden;
}


.link-next .bloc-align-middle{
    width: 90%;
    color: #FFFFFF;
    transition: all 0.3s;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
}
.link-next:hover .bloc-align-middle{
    color: #FFFFFF;
}
.bloc-align-middle{
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}
blockquote{
    border-top: 2px solid;
    border-bottom: 2px solid;
    text-align: center;
    font-style: normal;
    font-weight: bold;
    font-size: 1.5em;
    color: #1C3260 !important;
    border-color: #1C3260 !important;
    padding-top:1rem;
    padding-bottom:1rem;
}
blockquote p{
    margin:0;
    padding:0;
}
strong{
    font-weight:600 !important;
}


.zoom_carousel {
	transform: scale(1);
	animation: zoom 8s;
}
@keyframes zoom {
	0% {
		transform: scale(1.2) rotate(4deg);
        filter: blur(2px);
	}
	90% {
        filter: blur(0px);
    }
	100% {
		transform: scale(1) rotate(0deg);
	}
}



/* SPINNER */
.spinner {
    position: relative;
    width: 100%;
    min-height: 300px; /* Taille minimale pour afficher le loader */
}

/* Ajouter un loader via ::after */
.spinner::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3rem;
    height: 3rem;
    border: 0.4rem solid #f3f3f3;
    border-top: 0.4rem solid #1C3260;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}

/* Animation de rotation pour le loader */
@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.bg-loader {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    visibility: hidden; /* Masquer jusqu'à ce que l'image soit chargée */
    transition: visibility 0s 0.5s; /* Animation de fondu */
}
.bg-loader::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0); /* Couleur blanche opaque */
    transition: background-color 0.5s ease; /* Transition de la couleur de fond */
    z-index: 1; /* S'assurer qu'il est au-dessus de l'image */
}
.bg-loader::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px; /* Centrage vertical */
    margin-left: -25px; /* Centrage horizontal */
    border: 5px solid #f3f3f3;
    border-top: 5px solid #1C3260;
    border-radius: 50%;
    animation: spinbg 1s linear infinite;
    visibility: visible; /* Toujours visible tant que l'image est en cours de chargement */
    z-index: 2; /* S'assurer que le spinner est au-dessus du fond */
}

@keyframes spinbg {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Masquer le spinner et changer la couleur de fond lorsque l'image est chargée */
.bg-loaded::before {
    animation: fondu 1s linear;
    width: 0;
    height: 0;
}
@keyframes fondu{
    0%{background-color: rgba(255, 255, 255, 1); width: 100%;height: 100%;}
    50%{background-color: rgba(255, 255, 255, 1); width: 100%;height: 100%;}
    99%{background-color: rgba(255, 255, 255, 0);width: 100%;height: 100%;}
    100%{background: transparent;width: 0;height: 0;}
}
/* Masquer le spinner une fois que l'image est chargée */
.bg-loaded::after {
    opacity: 0; /* Masquer le spinner après le chargement */
    display: none;
}
/* Afficher la div après le chargement */
.bg-loaded {
    visibility: visible; /* Rendre la div visible */
}

.bg-gradient-animate{
    background: linear-gradient(-45deg, #1C3260,rgb(105,191,170),#17284D);
	background-size: 400% 400%;
	animation: gradient 15s ease infinite;
}
@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

a{
    color: #1C3260;
}
a:hover{
    color: #17284D;
}