html, body {
    font-family: 'Tahoma', sans-serif;
    display: swap;
}

.bg-black{
    background-color: black;
}

.pseudo-link{
    cursor: pointer;
    color:white;
}

.pseudo-link:hover{
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: #e01d5f;
    color:white;
}

.italic {
    font-style: italic;
}

/* NAV */

.contact-haut p {
    font-size: 1rem;
    margin-top:1.5rem;
    line-height:18px;
    color:white!important;
    height: 30px;
}

.contact-haut a {
    font-size: 1rem;
    margin-top:1.5rem;
    line-height:18px;
    color:white;
    height: 30px;
    
}

.contact-haut a:hover {
    color: #e01d5f;
    text-decoration:none;
}

.dropdown-item.active {
    background-color: black !important;
}

.dropdown-menu {
    background-color: black;
}

.menu-nav-item {
    display: inline-block;
    color:white;
    font-family: 'Tahoma', sans-serif;
    font-size: 1.50rem;
    padding:1.2rem 0.95rem;
    text-decoration: none !important;
}

.menu-nav-item:hover {
    color: #e01d5f;
    cursor: pointer;
}

header #navReduite.btn-group {
    display: block!important;
}

#paddingNav a {
    padding-right: 1rem;
}

#navReduite .btn-group:hover {
    color: #e01d5f;
    background-color: black!important;
}
/* FIN NAV */

/* TITRES */
h1 {
    font-family: 'Verdana', sans-serif;
    font-size: 2.5rem;
    line-height: 2.5rem;
    color:white;
    margin:1rem 0rem 0.5rem 1rem;
}

h2 {
    font-family: 'Verdana', sans-serif;
    font-size: 1rem;
    line-height: 24px;
    color:white;
    font-variant: small-caps;
    margin: 0.5rem 0rem 1rem 1rem; 
}

@media screen and (max-width:576px){
    h1, h2 {
        text-align: center;
    }
}

h3 {
    font-family: 'Tahoma', sans-serif;
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #e01d5f;
    margin:2rem 0rem 2.5rem 0rem; 
    text-align: center;
}

h4 {
    font-family: 'Verdana', sans-serif;
    font-size : 2rem;
    font-weight: bold;
    font-variant: small-caps;
}
/* FIN TITRES */

/* A PROPOS */
#aPropos p {
    font-size: 1.2rem;
    line-height:1.75rem;
    vertical-align: middle;
}

#aPropos img {
    vertical-align: middle;
}

@media screen and (max-width:992px) {
    #aPropos img {
        max-width: 90%;
    }
}

.modal-content {
    padding: 1rem;
}

.modal-content p {
    font-size:1rem!important;
}

#titreFenetre {
    font-size:2rem!important;
}

.parallax-window {
    min-height: 380px;
    background: transparent;
}
/* FIN A PROPOS */

/* SERVICES */
.contour {
    border: solid 1px #e01d5f;
    margin:1rem;
    padding:0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.contour a{
    color: black!important;
}

.contour a:hover {
    color: #e01d5f!important;
    text-decoration: none!important;
}

.webp #serviceAide {
    background-image: url(../img/aide.webp);
}

.no-webp #serviceAide {
    background-image: url(../img/aide.jpg);
}

#serviceAide {
    background-repeat: no-repeat;
    background-size: cover;
    padding:0;
    margin: 1rem 0rem; 
}

.webp #serviceMediation {
    background-image: url(../img/mediation.webp);
}

.no-webp #serviceMediation {
    background-image: url(../img/mediation.jpg);
}

#serviceMediation {
    background-repeat: no-repeat;
    background-size: cover;
    padding:0rem;
    margin: 1rem 0rem 1rem 0rem; 
}

.webp #serviceFamille {
    background-image: url(../img/famille.webp);
}

.no-webp #serviceFamille {
    background-image: url(../img/famille.jpg);
}

#serviceFamille {
    background-size: cover;
    padding:0;
    margin: 1rem 0rem 1rem 0rem; 
}

.webp #serviceCivil {
    background-image: url(../img/civil.webp);
}

.no-webp #serviceCivil {
    background-image: url(../img/civil.jpg);
}

#serviceCivil {
    background-repeat: no-repeat;
    background-size: cover;
    padding:0;
    margin: 1rem 0rem 1rem 0rem; 
}

.webp #serviceCreances {
    background-image: url(../img/creance.webp);
}

.no-webp #serviceCreances {
    background-image: url(../img/creance.jpg);
}

#serviceCreances {
    background-repeat: no-repeat;
    background-size: cover;
    padding:0;
    margin: 1rem 0rem 1rem 0rem; 
}

.webp #serviceRessources {
    background-image: url(../img/ressources.webp);
}

.no-webp #serviceRessources {
    background-image: url(../img/ressources.jpg);
}

#serviceRessources {
    background-repeat: no-repeat;
    background-size: cover;
    padding:0;
}

.webp #aProposSection {
    background-image: url(../img/justice2.webp);
}

.no-webp #aProposSection {
    background-image: url(../img/justice2.jpg);
}

#aProposSection {
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    padding:0;
}

.webp #contactSection {
    background-image: url(../img/contact.webp);
}

.no-webp #contactSection {
    background-image: url(../img/contact.jpg);
}

#contactSection {
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    padding:0;
}

.services {
    background-color: black;
}

.services p {
    font-size: 1rem;
    line-height: 18px;
    margin: 0;
    padding-bottom: 1rem;
}

.services a {
    color: black;
}

.services a:hover {
    color:#e01d5f;
    text-decoration:none;
}

.btn-primary, .btn {
    font-size: 1rem;
    color:white;
    background-color:black;
    border: none;
    margin-top: 1rem;
    border-color:transparent;
    border-radius:0;
}

.btn {
    font-size: 1rem;
    color:white;
    background-color:black;
    border: none;
    margin-top: 1rem;
    border-color:transparent;
    border-radius:0;
}

.btn-primary:hover {
    background-color:#e01d5f!important; 
}


.black-bg {
    background-color: black;
}
/* FIN SERVICES */

/* TRANSITIONS */
.transition img {
    width: 100%;
}
.transition {
    overflow-x:hidden;
}

@media screen and (max-width: 768px){
    .transition img {
        width: 300%;
    }
    
}
/* FIN TRANSITION */

/* CONTACT */
#contact p {
    font-size: 1rem;
    line-height: 2;
    margin: 0;
    padding-bottom: 1rem;
}

#contact a {
    color: black;
}

#contact a:hover {
    color:#e01d5f;
    text-decoration:none;
}
/* FIN CONTACT */

/* FOOTER */
footer {
    background-color: black;
}

footer p {
    color: white;
    font-size: 0.75rem;
    margin:1.5rem 0rem 1.5rem 1rem;
}

footer nav a, footer nav span {
    font-size: 0.75rem;
    line-height:0.75rem;
    color: white;
    padding:0.5rem 0.4rem 0rem 0.4rem!important;
}

footer nav a:hover, footer nav span:hover {
    color:#e01d5f;
}

footer nav a.active, footer nav span.active{
    color:#e01d5f;
}

footer a {
    color: white;
}

footer a:hover {
    color:#e01d5f;
    text-decoration:none;
}

footer img {
    vertical-align: top;
    padding: 0.5rem 1rem;
}

@media screen (max-width:576px) {
    footer #map img {
        text-align:center;
    }
}

@media screen and (max-width:992px) {
    footer img {
        padding: 0.5rem;
    }
}

@media screen and (max-width:768px) {
    footer nav {
        text-align: center;
    }
}
/* FIN FOOTER */

.slide-in-blurred-top.triggered{-webkit-animation:slide-in-blurred-top .8s cubic-bezier(.23,1.000,.32,1.000) both;animation:slide-in-blurred-top .8s cubic-bezier(.23,1.000,.32,1.000) both}
@-webkit-keyframes slide-in-blurred-top{0%{-webkit-transform:translateY(-1000px) scaleY(2.5) scaleX(.2);transform:translateY(-1000px) scaleY(2.5) scaleX(.2);-webkit-transform-origin:50% 0;transform-origin:50% 0;-webkit-filter:blur(40px);filter:blur(40px);opacity:0}100%{-webkit-transform:translateY(0) scaleY(1) scaleX(1);transform:translateY(0) scaleY(1) scaleX(1);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-filter:blur(0);filter:blur(0);opacity:1}}@keyframes slide-in-blurred-top{0%{-webkit-transform:translateY(-1000px) scaleY(2.5) scaleX(.2);transform:translateY(-1000px) scaleY(2.5) scaleX(.2);-webkit-transform-origin:50% 0;transform-origin:50% 0;-webkit-filter:blur(40px);filter:blur(40px);opacity:0}100%{-webkit-transform:translateY(0) scaleY(1) scaleX(1);transform:translateY(0) scaleY(1) scaleX(1);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-filter:blur(0);filter:blur(0);opacity:1}}

.shadow-drop-2-center.triggered{-webkit-animation:shadow-drop-2-center .7s cubic-bezier(.25,.46,.45,.94) both;animation:shadow-drop-2-center .7s cubic-bezier(.25,.46,.45,.94) both}
@-webkit-keyframes shadow-drop-2-center{0%{-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-box-shadow:0 0 0 0 transparent;box-shadow:0 0 0 0 transparent}100%{-webkit-transform:translateZ(50px);transform:translateZ(50px);-webkit-box-shadow:0 0 20px 0 rgba(0,0,0,.35);box-shadow:0 0 20px 0 rgba(0,0,0,.35)}}@keyframes shadow-drop-2-center{0%{-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-box-shadow:0 0 0 0 transparent;box-shadow:0 0 0 0 transparent}100%{-webkit-transform:translateZ(50px);transform:translateZ(50px);-webkit-box-shadow:0 0 20px 0 rgba(0,0,0,.35);box-shadow:0 0 20px 0 rgba(0,0,0,.35)}}

.swing-in-top-fwd.triggered{-webkit-animation:swing-in-top-fwd 2s cubic-bezier(.175,.885,.32,1.275) both;animation:swing-in-top-fwd 2s cubic-bezier(.175,.885,.32,1.275) both}
@-webkit-keyframes swing-in-top-fwd{0%{-webkit-transform:rotateX(-100deg);transform:rotateX(-100deg);-webkit-transform-origin:top;transform-origin:top;opacity:0}100%{-webkit-transform:rotateX(0deg);transform:rotateX(0deg);-webkit-transform-origin:top;transform-origin:top;opacity:1}}@keyframes swing-in-top-fwd{0%{-webkit-transform:rotateX(-100deg);transform:rotateX(-100deg);-webkit-transform-origin:top;transform-origin:top;opacity:0}100%{-webkit-transform:rotateX(0deg);transform:rotateX(0deg);-webkit-transform-origin:top;transform-origin:top;opacity:1}}