/* =======================================================
*
* 	Template Style 
*	
* ======================================================= */

/* ============================

        Main Body Style

==============================*/

/*--- General styles ---*/
body {
  font-family: "Raleway", Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  color: #404040;
  background: white;
  height: 100%;
  position: relative;
}

@media screen and (max-width: 991px) {
  body {
    font-size: 3vw;
  }
}

/*------*/

/*--- Link color and hovering color ---*/
a {
  color: #8c1515;
}

a:hover, a:active, a:focus {
  color: #8c1515;
  outline: none;
  text-decoration: none;
}
/*------*/

/*--- Paragraphes margin ---*/
p {
  margin-bottom: 20px
}

/*------*/

/*---Titles style, color, font and font weight---*/
h1, h2, h3, h4, h6, figure {
  color: black;
  font-family: "Raleway", Arial, sans-serif;
  font-weight: 500;
}

h5 {
  color: black;
  font-family: "Raleway", Arial, sans-serif;
  font-weight: 400; 
}
h1 span { 
    background-color: white; 
    padding:20px 20px; 
} 

@media screen and (max-width: 991px) {
  span{
    font-size: 5vw;
  }
        
    h4,h5{
        font-size: 2.75vw;
    }
}

/*------*/

/*---Selection background and text color---*/
::-webkit-selection {
  color: black;
  background: #dcdcc6 ;
}

::-moz-selection {
  color: black;
  background: #dcdcc6;
}

::selection {
  color: black;
  background: #dcdcc6 ;
}
/*------*/

/*============================

            Loader

==============================*/
.loader {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: url('../images/loaderHome.gif') 50% 50% no-repeat rgb(249,249,249);
}

/*============================

        Buttons Styles

==============================*/

.btn {
  font-family: "Raleway", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  border-radius: 30px;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  outline: 0 5px 15px rgba(0,0,0,0.3);
  border-radius: 100px;
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  transition: all 0.3s ease-in-out;
        
}

@media screen and (max-width: 991px) {
  .btn {
    font-size: 3vw;
  }
}

.btn.btn-md {
  padding: 20px 20px !important;
}
.btn.btn-lg {
  padding: 18px 36px !important;
}
.btn:hover, .btn:active, .btn:focus {
  box-shadow: 0 2px 2px rgba(0,0,0,0.3);
  outline: none !important;
}

.btn-primary {
  background: #8c1515;
  color: #fff;
  border: 2px solid #8c1515;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background: #8c1515 !important;
  border-color: #8c1515 !important;
}

/* ===========================

Navigation Bar and Header Style

==============================*/


#navbar {
  width: 100%;
  padding-top: 10px;
  margin-bottom: 40px;
  z-index:1;
  position:relative;
}

#navbar .navbar-items {
  height: 80px;
  padding-left: 2%;
  padding-right: 7%;
  float: left;
  width: 100%;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  -ms-border-radius: 7px;
  border-radius: 7px;
}

/* Logo*/
#navbar img {
  float: left;
  padding-top: 10px;
  padding-right:20px;
  height:70px;
}

#navbar h1 {
  float: left;
  padding: 0;
  font-weight: 600;
  line-height: 0;
  font-size: 40px;
}

#navbar h1 a {
  position: relative;
  color: black;
}

#navbar h1, #navbar nav {
  margin: 38px 0 0 0;
}

#navbar nav {
  float: right;
  margin-right: 20px;
  padding: 0;
}

@media screen and (max-width: 991px) {
  #navbar nav {
    display: none;
  }
  #navbar img {
  height: 13vw;  
  }
   #navbar h1 {
  font-size: 6vw; 
  margin-top: 7vw;
  } 
}

#navbar nav ul {
  padding-top: 2px;
  margin: 0;
  line-height: 0;
}

#navbar nav ul li {
  padding-right: 0px;
  margin: 0;
  list-style: none;
  display: -moz-inline-stack;
  display: inline-block;
  zoom: 1;
  *display: inline;
}

#navbar nav ul li a {
  color: black;
  font-size: 25px;
  font-weight: 500;
  padding: 10px;
  position: relative;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}

#navbar nav ul li a:after {
  content: "";
  position: absolute;
  height: 2px;
  bottom: 7px;
  left: 10px;
  right: 10px;
  background-color: black;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  -moz-transform: scaleX(0);
  -ms-transform: scaleX(0);
  -o-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -moz-transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -ms-transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -o-transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


#navbar nav ul li a:hover:after {
  visibility: visible;
  -webkit-transform: scaleX(1);
  -moz-transform: scaleX(1);
  -ms-transform: scaleX(1);
  -o-transform: scaleX(1);
  transform: scaleX(1);
}

#navbar nav ul li a:active, #navbar nav ul li a:focus {
  outline: none;
  text-decoration: none;
}

#navbar nav ul li.active a {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.8);
}

#navbar nav ul li.active a:after {
  visibility: visible;
  -webkit-transform: scaleX(1);
  -moz-transform: scaleX(1);
  -ms-transform: scaleX(1);
  -o-transform: scaleX(1);
  transform: scaleX(1);
}

/* ===========================
 
Main Page and Side NavBar Style

==============================*/

#fh5co-page {
  position: relative;
  z-index: 2;
  background: #fff;
 -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

#fh5co-offcanvas, .fh5co-nav-toggle, #fh5co-page {
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

#fh5co-offcanvas, .fh5co-nav-toggle, #fh5co-page {
  position: relative;
}

.offcanvas-visible #fh5co-page {
  z-index: 1;
}

#fh5co-offcanvas {
  display: none;
  height: 100%;
  right: 0;
  overflow-y: auto;
  position: fixed;
  z-index: 2;
  width: 100%;
  background: rgba(255, 255, 255);
  padding: 50px;
}
@media screen and (max-width: 991px) {
  #fh5co-offcanvas {
    display: block;
  }
}
#fh5co-offcanvas ul {
  margin-top: 20vh;
  padding-left: 0;
}
#fh5co-offcanvas ul li {
  margin: 0 0 10px 0;
  list-style: none;
  text-align: center;
}
#fh5co-offcanvas ul li a {
  font-size: 5vh;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.9);
  text-decoration: none !important;
}
#fh5co-offcanvas ul li a:hover {
  color: #8c1515;
}
#fh5co-offcanvas ul li.active a {
  color: #8c1515;
}
#fh5co-offcanvas ul li.cta {
  margin-left: 0;
  margin-top: 20px;
  display: block;
  float: left;
}
#fh5co-offcanvas ul li.cta a {
  padding-left: 16px !important;
  padding-right: 16px !important;
  padding-top: 7px !important;
  padding-bottom: 7px !important;
  border: 2px solid rgba(255, 255, 255, 0.7);
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  border-radius: 30px;
}
#fh5co-offcanvas ul li.cta a:hover {
  background: #fff;
  text-decoration: none;
}
#fh5co-offcanvas ul li.cta a:hover:after {
  display: none;
}

#fh5co-offcanvas .dropdown-menu {
  background-color: white;
}

.fh5co-nav-toggle {
  padding-top: 12px;
  cursor: pointer;
  text-decoration: none;
}
.fh5co-nav-toggle.active i::before, .fh5co-nav-toggle.active i::after {
  background: black;
}
.fh5co-nav-toggle.dark.active i::before, .fh5co-nav-toggle.dark.active i::after {
  background: #fff;
}
.fh5co-nav-toggle:hover, .fh5co-nav-toggle:focus, .fh5co-nav-toggle:active {
  outline: none;
  border-bottom: none !important;
}
.fh5co-nav-toggle i {
  position: relative;
  display: -moz-inline-stack;
  display: inline-block;
  zoom: 1.2;
  *display: inline;
  width: 30px;
  height: 3px;
  color: #fff;
  font: bold 14px/.4 Helvetica;
  text-transform: uppercase;
  text-indent: -55px;
  background: black;
  transition: all .2s ease-out;
}
.fh5co-nav-toggle i::before, .fh5co-nav-toggle i::after {
  content: '';
  width: 30px;
  height: 3px;
  background: black;
  position: absolute;
  left: 0;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}
.fh5co-nav-toggle.dark i {
  position: relative;
  color: white;
  background: white;
  transition: all .2s ease-out;
}
.fh5co-nav-toggle.dark i::before, .fh5co-nav-toggle.dark i::after {
  background: white;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}

.fh5co-nav-toggle i::before {
  top: -8px;
}

.fh5co-nav-toggle i::after {
  bottom: -8px;
}

.fh5co-nav-toggle:hover i::before {
  top: -10.5px;
}

.fh5co-nav-toggle:hover i::after {
  bottom: -10.5px;
}

.fh5co-nav-toggle.active i {
  background: transparent;
}

.fh5co-nav-toggle.active i::before {
  top: 0;
  -webkit-transform: rotateZ(45deg);
  -moz-transform: rotateZ(45deg);
  -ms-transform: rotateZ(45deg);
  -o-transform: rotateZ(45deg);
  transform: rotateZ(45deg);
}

.fh5co-nav-toggle.active i::after {
  bottom: 0;
  -webkit-transform: rotateZ(-45deg);
  -moz-transform: rotateZ(-45deg);
  -ms-transform: rotateZ(-45deg);
  -o-transform: rotateZ(-45deg);
  transform: rotateZ(-45deg);
}

.fh5co-nav-toggle {
  position: absolute;
  top: 40px;
  right: 30px;
  z-index: 9999;
  display: block;
  margin: 0 auto;
  display: none;
  cursor: pointer;
}
@media screen and (max-width: 991px) {
  .fh5co-nav-toggle {
    display: block;
    top: 20px;
  }
}

@media screen and (max-width: 768px) {
  #fh5co-pricing-section {
    padding: 3em 0;
  }
}

.js .animate-box {
  opacity: 0;
}

/* ===========================

Sections - ABOUT PAGE

==============================*/

.section
{
  padding-top: 2em;
  padding-bottom: 4em;
}

@media screen and (max-width: 768px) {
  .section{
    padding: 2em 0;
  }
}

/* Creates the strikethrough
.section h2 {
   width: 100%; 
   text-align: center; 
   border-bottom: 2px solid #000; 
   line-height: 0.1em;
} */

/* Adds the white background infront of the strikethrough
.section h2 span { 
    background-color: white; 
    padding:20px 20px; 
} */

.section img {
    width: 100%;
    display:block;
    margin:auto;
}

.section p{
    text-align: justify;
}

.section h1{
    border-bottom: 1px solid #000; 
    line-height: 0.1em;
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 60px;
    margin-top: -10px;
    text-align: center;
}

}
.section h1 span { 
    background-color: white; 
    padding:20px 20px;
}

.section .home-picture {
    width: 80%;
    height: auto;
    -webkit-box-shadow: 0px 1px 30px 1px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 1px 30px 1px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 1px 30px 1px rgba(0, 0, 0, 0.3);
}


.section .item-grid {
  padding: 1px 0 1px 0;
  border-radius: 10px;
  display: block;
  width: 95%;
  margin: auto;
  position: relative;
  background: rgba(0, 0, 0, 0.05);
  text-align: center;
}

.section .item-grid h3{
  font-weight: 500;
}
.section .item-grid .image {
  height: 300px;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  -webkit-box-shadow: 0px 1px 20px 1px rgba(0, 0, 0, 0.20);
  -moz-box-shadow: 0px 1px 20px 1px rgba(0, 0, 0, 0.20);
  box-shadow: 0px 1px 20px 1px rgba(0, 0, 0, 0.20);
}



.section .item-grid:hover, .section .item-grid:focus {
  text-decoration: none;
  -webkit-box-shadow: 0px 1px 20px 1px rgba(0, 0, 0, 0.20);
  -moz-box-shadow: 0px 1px 20px 1px rgba(0, 0, 0, 0.20);
  box-shadow: 0px 1px 20px 1px rgba(0, 0, 0, 0.20);
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  position: relative;top: -5px;
  transition: 0.3s;
}

.section .item{
    margin-bottom: 40px;
}


@media screen and (max-width: 991px) {
    .section h3,h2,h1{
        text-align: center;
        font-size: 4vw;
    }
    
    .desc span{
        text-align: center;
        font-size: 3vw;
    }
    
    .section img{
        margin-bottom: 1em;
    }
    .section .center{
        text-align: center;
    }
    .section .center p{
        text-align: center;
    }
    .section .home-picture {
    width: 50%;
    }
}


/* ===========================

       Project Listings

==============================*/

.image-gallery img{
    margin-bottom: 20px;
    height: 15vw;
    object-fit: cover;
}

@media screen and (max-width: 991px) {
   .image-gallery img{
    margin-bottom: 20px;
    height: 30vw;
    object-fit: cover;
}
}


.projects{
    padding-bottom: 100px
}


/* ===========================

        Single Page Description

==============================*/
.page{
    border-top:1px dotted #00127C;
	padding-top: 20px;
}

.page a {
	color:#000000;
}

.page h2 {
    text-align: left;
    font-size:25px;
    margin-top: -1px;
    margin-bottom: 15px;
    padding: 0;
    font-weight: 500;
    border-bottom:none;
    
}

.page h3 {
	font-size:15px;
	color:#828282;
	font-style:italic;
	font-weight:normal;
    margin: 0 0 20px 0;
    padding: 0;
}

.page a:hover {
	color:#A83434;
}

@media screen and (max-width: 991px) {
    .page img {
	   width:50%;
    }
    
    .page h2{
        text-align: center;
    }
}

/* ===========================

            Publications

==============================*/

.publications{
    color:dimgrey;
    font-size: 18px;
    text-align: justify;
}

.publications .item{
    max-width:300px;
    margin: auto;
}

@media screen and (max-width: 991px) {
    .publications{
        font-size: 3vw;
    }
}

/* ===========================

        About Box

==============================*/

.about{
    text-align: justify;
}

@media screen and (max-width: 991px) {
    .about img{
        width: 50%;
        margin: auto;
    }
}
/* ===========================

        Contact Box

==============================*/

.contact{
    background-color: lightgrey;
    padding-left: 10px;
    color:dimgrey;
    text-align: justify;
}

.contact h3{
    padding-top: 10px;
    font-weight: 500;
    font-size: 20px;
}

.contact p{
    font-size: 16px;
    padding-left: 10px;
}

@media screen and (max-width: 991px) {
    .contact p{
        text-align: center;
        padding-left: 0;
        font-size: 2.5vw;
    }
    
    .contact h3{
        text-align: center;
        padding-left: 0;
        font-size: 3vw;
    }
    
    .contact{
        width: 50%;
        margin: auto;
        padding-left: 0;
        margin-bottom: 3vh;
        
    }

}
/* ===========================
 
      Overlay on pictures

==============================*/
.item {
  position: relative;
}
.item .pop-up-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  opacity: 0;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

.item .pop-up-overlay .desc {
  position: absolute;
  top: 40%;
  left: 0;
  bottom: 0;
  right: 0;
  margin-top: -60px;
  padding: 30px;
}
.item .pop-up-overlay .desc h3 {
  color: rgba(0, 0, 0, 1);
  margin-bottom: 10px;
}
.item .pop-up-overlay .desc span {
  display: block;
  color: rgba(0, 0, 0, 1);
}
.item .pop-up-overlay:hover, .item .pop-up-overlay:focus {
  text-decoration: none;
}
.item:hover .pop-up-overlay, .item:focus .pop-up-overlay {
  opacity: 1;
}

@media screen and (max-width: 991px) {
.item .pop-up-overlay {
  background: rgba(255, 255, 255, 0.8);
  opacity: 1;
}
}


/* ===========================
 
Footer Style

==============================*/
.footer {
  position: relative;
  float: left;
  width: 100%;
  background-color: white;
}

.footer a{
    color: #7f7f7f;
}
