@charset "UTF-8";
/* CSS Document */

/*
font-family: "Roboto Slab", serif;
font-family: "Noto Sans Display", sans-serif;
*/
html {
  scroll-behavior: smooth;
}
body {
    font-family: "Noto Sans Display", sans-serif;
    letter-spacing: 0,01em;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: "Roboto Slab", serif;
}

.navbar .nav-link {
    font-family: "Roboto Slab", serif;
    font-weight: 400;
}

.navbar-brand img {
    width: 150px;
    height: auto;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(39,37,37,1);
    position: relative;
    margin: 0 8px;
}

.navbar-dark .navbar-nav .nav-link.active {
    color: #78b2d6;
}

.navbar-dark .navbar-nav .nav-link:after, .navbar-dark .navbar-nav .nav-link.active:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    border-bottom: 2px solid #78b2d6;
}

.navbar-dark .navbar-nav .nav-link.active:after {
    border-bottom: 2px solid #78b2d6;
    width: 100%;
}

.navbar-dark .navbar-nav .nav-link:after {
    border-bottom: 2px solid rgba(39,37,37,0);
    width: 0;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: rgba(39,37,37, 0.8);
    transition: all 0.3s ease-in-out;
}

.navbar-dark .navbar-nav .nav-link:hover:after {
    content: "";
    width: 100%;
    border-bottom: 2px solid rgba(39,37,37,1);
    transition: all 0.3s ease-in-out;
}

.btn-info {
    background-color: rgba(0,0,0,1) !important;
    border-color: rgba(0,0,0,1) !important;
}

.btn-info:hover {
    background-color: rgba(0,0,0,0.8) !important;
    border-color: rgba(0,0,0,0.8) !important;
}

a:hover {
    text-decoration: none;
}

section {
    padding: 1em;
    position: relative;
}

section.shadow {
    z-index: 2;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6) !important;
}

.bg-brand {
    background-color: rgba(85,83,46,1);
}
.bg-colour1 {
    background-color: #085378;
}
.bg-colour2 {
    color: #fff;
    background-color: #171717;
}
.bg-colour2 span {
    color: red;
}
.bg-colour3 {
    background-color: #033852;
}
.bg-dark1 {
    background-color: #272525;
}

.mobile-menu {
    background-color: rgba(255,255,255,1);
}

.hero {
    background-image: url("../images/splash_1.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
}

.hero:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(255,255,255,0.7);
    z-index: 0;
    width: 100%;
    height: 100%;
}

.hero .slogan {
    z-index: 1;
    position: relative;
}

.hero .slogan h1 {
    font-size: 2.2em;
    font-family: "Roboto Slab", serif;
    width: 100%;
}

.hero .slogan a {
    color: rgba(52,58,64,1);
}

.hero .slogan a img {
    opacity: 1;
    width: 100px;
}

.hero .slogan a:hover {
    color: rgba(52,58,64,0.9);
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.hero .slogan a:hover img {
    opacity: 0.6;
    width: 100px;
    transition: all 0.3s ease-in-out;
}

#services, #specialites, #pourquoi, #about {
    padding: 0;
}
#about .half, #pourquoi .half, #contact .half {
    flex: 1 0 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
#about .half.pict {
    background-image: url("../images/about.jpg");
}
#pourquoi .half.pict {
    background-image: url("../images/contact.jpg");
}
.services .service-box {
    background-color: #085378;
    flex: 1 0 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.services .service-box:nth-child(2n+2) {
    background-color: #10658e;
}
.services .service-box:hover {
    color: white;
    background-color: #013249;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.services .service-box.text-light:hover {
    color: white !important;
}

.services .service-box img {
    width: 70px;
}
.services .service-box:hover img {
    opacity: 0.8;
}
.services .service-box .service-title {
    font-size: 1.4em;
    font-family: "Roboto Slab", serif;
    margin: 10px 0;
    min-height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.text-dark a {
    color: #000;
}
.text-dark a:hover {
    color: rgba(0,0,0,0.75);
}
.text-light a {
    color: #fff;
}
.text-light a:hover {
    color: rgba(255,255,255,0.75);
}

#footer .address p {
    margin-bottom: 0;
}
#footer .partners img {
    height: auto;
    width: 90%;
    max-width: 100%;
    margin: 10px 0;
}

/* MODAL FADE LEFT RIGHT BOTTOM */
.modal .close {
    position: relative;
    float: inherit;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-shadow: none !important;
    opacity: 1;
    display: flex;
    justify-content: center;
    margin-right: 0;
}
.modal .close .cross {
    position: absolute;
    border-top: 2px solid white;
    width: 100%;
}
.modal .close .cross.one { transform: rotate(0deg); transition: transform 0.2s ease-in-out; }
.modal .close .cross.two { transform: rotate(0deg); transition: transform 0.2s ease-in-out; }

.modal .close:hover {
    opacity: 0.9;
}
.modal .close:hover .cross.one { transform: rotate(135deg); }
.modal .close:hover .cross.two { transform: rotate(225deg); }

.modal-header {
    align-items: center;
    border: none;
}
.modal.right {
    right: -100%;
}

.modal.fade:not(.in).left .modal-dialog {
	-webkit-transform: translate3d(-50%, 0, 0);
	transform: translate3d(-50%, 0, 0);
}
.modal.fade:not(.in).right .modal-dialog {
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}
.modal.fade:not(.in).bottom .modal-dialog {
	-webkit-transform: translate3d(0, 25%, 0);
	transform: translate3d(0, 25%, 0);
}

.modal.right .modal-dialog {
	position:absolute;
	top:0;
	right:0;
	margin:0;
    max-width: 100% !important;
}

.modal.left .modal-dialog {
	position:absolute;
	top:0;
	left:0;
	margin:0;
}

.modal.left .modal-dialog.modal-sm {
	max-width:300px;
}

.modal.left .modal-content, .modal.right .modal-content {
	min-height:100vh;
	border:0;
}

.modal-dialog .modal-content {
    border-radius: 0;
    min-height: 100vh;
    max-height: 100vh;
}

.modal-body {
    overflow-x: scroll;
}

.modal-listing div {
    position: relative;
}

.modal-listing div h5 {
    font-size: 1.1em;
    font-weight: 600;
}

.modal-listing div p {
    position: relative;
    font-size: 0.9em;
}

.modal-listing div span {
    font-size: 1em;
    font-weight: 700;
    position: absolute;
    left: -33px;
    top: 0;
    color: #085378;
    background-color: white;
    padding: 0 8px;
    border-radius: 100%;
}

.modal-diapos {
    
}
.modal-diapos img {
    max-width: 25%;
}

@media only screen and (min-width: 576px) {
    .bg-brand {
        background-color: rgba(255,255,255,1);
        transition: all 0.6s ease-in-out;
    } 
    section {
        padding: 6em 3em;
    }
    #about .half, #pourquoi .half, #contact .half {
        flex: 1 0 50%;
    }
    .hero .slogan h1 {
        width: 40%;
    }
    .hero:before {
        content: "";
        width: 50%;
    }
    .services .service-box {
        flex: 1 0 33%;
    }
    .modal.right .modal-dialog {
        max-width: 85% !important;
    }
    #footer .partners img {
        padding: 50px;
        width: 25%;
    }
}
@media only screen and (min-width: 992px) {
    .hero .slogan h1 {
        font-size: 3em;
    }
    .services .service-box .service-title {
        font-size: 2em;
    }
}
@media screen and (min-width: 1400px) {
    .services .service-box {
        flex: 1 0 20%;
    }
}