/*=====================================================
Free Building Company Website Template Website Stylesheet
                Body Core Stylesheet
========================================================*/
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

body {
    width: 100%;
    margin: 0px;
    padding: 0px;
    color: #000;
    overflow-x: hidden;
    background-color: #fff;
    font-family: 'Montserrat', sans-serif;
}

body,
html {
    height: 100%;
}

html {
    scroll-behavior: smooth;
}

.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show > .nav-link {
    color: rgb(255, 255, 255);
    
    background-color: #8a9ea7;
}

.navbar {
    max-height: 65px;
    transition: 100ms ease;
    background: transparent;
}

.navbar-collapse {
    margin-top: 0;
}

.dropdown-menu , .dropdown-item {
   background-color: #3f3d56 ;
   bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 15px;
    color: #fff;
    object-fit: contain;

}

.dropdown-menu {
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border-radius: 4px;
    cursor: pointer;
    
}
.dropdown:hover>.dropdown-menu {
    display: block;
  }

.navbar.scrolled {
   padding-left: 5%;
   padding-right: 5%;
   margin-top: 0;
   background-color: #3f3d56 !important;
    
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .25);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .25);
    -box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .25);
}

.navbar.scrolled img {
    width: 95%;
}

#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #3f3d56;
    color: #ffffff;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
}

#myBtn:hover {
    background-color:#8a9ea7;
}

.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
    background-color: transparent;
}

.btn:focus,
.btn:active {
    outline: none !important;
    box-shadow: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
ul {
    margin: 0px;
    padding: 0px
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: block;
}

li {
    display: inline-block;
}

a,
.btn {
    cursor: pointer;
}

a:hover {
    text-decoration: none;
}

textarea {
    resize: none;
}

.viewbox-button-default {
    fill: rgba(0, 255, 0, 0.45);
}

.item {
    position: relative;
    overflow: hidden;
}

.item img {
    max-width: 100%;
    -moz-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.item:hover img {
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    font-size: 20px;
    color: #959595;
}

::-moz-placeholder {
    /* Firefox 19+ */
    font-size: 20px;
    color: #959595;
}

:-ms-input-placeholder {
    /* IE 10+ */
    font-size: 20px;
    color: #959595;
}

:-moz-placeholder {
    /* Firefox 18- */
    font-size: 20px;
    color: #959595;
}

/*---- Nav-Styles ----*/
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
    color: #fff;
    background-color: #8a9ea7;
}

.navbar-light .navbar-nav .nav-link {
    color: #fff;
    line-height: 16px;
    padding: 5px 30px;
    line-height: 30px;
    border-radius: 50px;
    background-color: #5b5879;
    text-transform: capitalize;
    font-family: 'Baloo Thambi', cursive;
}

.bg-light {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

nav ul > li > .active,
.nav-link:hover {
    color: #ffff;
}

.navbar {
    margin: 50px 0 0;
    height: 85px;
    z-index: 9;
}

.icons {
    float: right;
    margin-right: 0;
    margin-left: 0;
}

nav {
    width: 100%;
}

nav ul > li .nav-link {
    padding: 0;
}

.nav-item {
    margin: 0 5px;
}

nav ul > li > a {
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.hidden-xs {
    font-size: 13px;
    line-height: 32px;
}

.navbar-dark .navbar-toggler {
    color: rgb(0, 0, 0);
    border-color: rgba(0, 0, 0, 0.43);
}

.nav-item:last-child {
    margin-right: 0;
}



footer li a {
    font-size: 16px;
}

.banner .big-box {
    width: 60%;
    padding-top: 220px;
}


@media screen and (max-width: 991px) {
.navbar-light .navbar-nav .nav-link {
    border-radius: 0;
}

.navbar {
    margin: 0;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .25);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .25);
    
}

.about .main-content:nth-child(2) {
    margin-top: 0;
}

.about {
    margin-top: 0;
}

.nav-item {
    margin: 0;
}

.navbar img,
.navbar.scrolled img {
    width: 60%;
}

.navbar {
    height: 65px;
}
}
footer {
   position: relative;
    width: 100%;
    height: auto;
    padding: 30px 0 10px;
    background-color: #3f3d56;
    font-family: 'Montserrat', sans-serif;
    
    margin-bottom: 0;
    
}


footer p {
    margin: 0;
    padding: 0;
    color: #d7d7d7;
    font-size: 12px;
    letter-spacing: 1px;
    text-align: center;
    text-transform: capitalize;
    font-weight: 300;
}

footer a:hover {
    color: #fed253;
}

 .letter {
    
    text-transform: capitalize;
    font-family: 'Baloo Thambi', cursive;
    margin-top: 150px;
 }
 #président {
     margin-top: 100px;
 }
 @media screen and (max-width: 991px) {
    #président {
        margin-left: 25%;
    }
}
.view img {
    max-height: 350px;
}
.card-text {
    text-align: center;
}
.card-text strong {
    margin-left: 30px;
}
ul {
    margin: 0px;
    padding: 0px;
}
.footer-section {
  background: #151414;
  position: relative;
}
.footer-cta {
  border-bottom: 1px solid #373636;
}
.single-cta img {
  color: #ffffff;
  font-size: 30px;
  float: left;
  margin-top: 0;
}
.cta-text {
  padding-left: 15px;
  display: inline-block;
}
.cta-text h4 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 2px;
  margin-top: 6px;
}
.cta-text span {
  color: #757575;
  font-size: 15px;
}
/* FontAwesome for working BootSnippet :> */

@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');
#team {
    background: #eee !important;
    background-color: #5b5879;
    text-transform: capitalize;
    font-family: 'Baloo Thambi', cursive;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #3f3d56;
    border-color: #3f3d56;
    box-shadow: none;
    outline: none;
}

.btn-primary {
    color: #fff;
    background-color: #3f3d56;
    border-color: #3f3d56;
}

section {
    padding-top: 100px;
    padding: 60px 0;
}

section .section-title {
    margin-top: 100px;
    text-align: center;
    color: #3f3d56;
     margin-bottom: 40px;
    text-transform : uppercase;
}

#team .card {
    border: none;
    background: #ffffff;
}

.image-flip:hover .backside,
.image-flip.hover .backside {
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    transform: rotateY(0deg);
    border-radius: .25rem;
}

.image-flip:hover .frontside,
.image-flip.hover .frontside {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.mainflip {
    -webkit-transition: 1s;
    -webkit-transform-style: preserve-3d;
    -ms-transition: 1s;
    -moz-transition: 1s;
    -moz-transform: perspective(1000px);
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transition: 1s;
    transform-style: preserve-3d;
    position: relative;
}

.frontside {
    position: relative;
    -webkit-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    z-index: 2;
    margin-bottom: 30px;
}

.backside {
    position: absolute;
    top: 0;
    left: 0;
    background: white;
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    -o-transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -webkit-box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
    -moz-box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
    box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
    width: 100%;
}

.frontside,
.backside {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: 1s;
    -webkit-transform-style: preserve-3d;
    -moz-transition: 1s;
    -moz-transform-style: preserve-3d;
    -o-transition: 1s;
    -o-transform-style: preserve-3d;
    -ms-transition: 1s;
    -ms-transform-style: preserve-3d;
    transition: 1s;
    transform-style: preserve-3d;
}

.frontside .card,
.backside .card {
    min-height: 312px;
}

.backside .card a {
    font-size: 18px;
    color: #3f3d56!important;
}

.frontside .card .card-title,
.backside .card .card-title {
    color: #3f3d56 !important;
}

.frontside .card .card-body img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
}
.backside h4{
    margin-top: 40px;
}
.backside p {
    margin-top: 60px;
}

@media screen and (max-width: 991px) {
    .backside {
        width: 100%;
    }
}