/* CSS Document */

html, body {
	width: 100%;
	height: 100%;
}

body {
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	font-size: 14px;
	color: #787878;
}

#loader {
	position: fixed;
	text-align: center;
}

body.on #loader {
	display: none;
}

a, a:hover {
	color: #ff9900;
}

#bkg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: #ff0000;
	z-index: 0;
	opacity: 0;
	transition: all 0.2s ease;
}

body.on #bkg {
	opacity: 1;
}


#bkg > div{
	width: 100%;
	height: 100%;
	position: absolute;
	opacity: 0;
	transition: all ease 2s;
}

#bkg > div.current{
	opacity: 1;
}

.bkg-home {
	background: #fff;
	position: relative;
	width: 100%;
	height: 100%;
}

.bkg-home  .carousel-indicators {
	visibility: hidden;
}

#header {
	/*position: fixed;
	left: 0;
	width: 100%;*/
	background-color: #fff;
	z-index: 9999999999999;
	box-shadow: 0 0 10px #999;
	text-align: right;
	top: -120px;
	transition: all 0.5s ease 1s;
	min-height: 100px;
}

body.on #header {
	top: 0;
}

#header img {
	position: absolute;
	top: 15px;
	height: 70px;
	width: auto;
	left: 30px;
}

#nav {
	/*text-transform: lowercase;*/
	font-weight: 400;
	letter-spacing: 1px;
	margin: 0;
}

#nav a {
	/*display: inline-block;*/
	padding: 40px 20px;
	text-decoration: none;
	color: #999;
}

#nav a.current {
	color: #ff9933;
}

#nav .lang a {
	text-transform: uppercase;
	padding: 6px 8px;
	margin: 34px 5px 14px;
	background-color: #eaeaea;	
	color: #787878;
	border-radius: 5px;
}

#nav .lang1 a {
	margin-left: 30px;
}

#nav .lang.active a {
	background-color: #ff9900;
	color: #fff;	
}

.navbar-brand {
	position: relative;
	top: -5px;
	left: -10px;
	width: 280px !important;
	height: 80px !important;
	padding: 0 !important;
}

.navbar-brand img {
	width: 280px !important;
	height: 80px !important;
}

@media (max-width: 980px) {
	
	.navbar-header {
		position: relative;
		width: 100%;
		border: none!important;
	}
	
	#nav a {
		text-align: left;
		padding: 5px;	
	}
	
	

	.navbar-toggle {
		display: block;
		position: absolute;
		right: 0px;
		top: 20px;
		background: none;
	}
	
	.navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-fixed-top {
		top: 0;
	}
	
	.navbar-collapse {
        border-top: none!important;
    }
	
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
		margin-top: 20px;
	}
	.navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
	
	#nav {
		padding: 30px 15px 35px !important;	
	}
	
    .collapse.in{
  		display:block !important;
	}
	
	#nav .lang a {
		background: none;
		margin: 0;	
	}
	
	#nav .lang.active a {
		background: none;
		color: #ff9900;	
	}
}

@media (max-width: 450px) {
	.navbar-brand {
		width: 200px !important;
		height: 60px !important;
		padding: 0 !important;
		left: -15px;
		top: 5px;
	}
	.navbar-brand img {
		width: 100% !important;
		height: auto !important;
	}
	.navbar-toggle {
		right: -25px;
	}
	
	#contact .content {
		margin-bottom: 500px;
	}
}

#content {
	opacity: 0;
	transition: all 0.5s ease;
}

body.on #content {
	opacity: 1;
}

.page {
	position: relative;
	z-index: 1;
	padding-top: 65px;
	font-size: 15px;
	line-height: 1.4em;
	visibility: hidden;
	min-height: 100%;
}

body.on .page {
	visibility: visible;
}


.page h1 {
	margin: 80px 100px;
	text-align: center;
	font-size: 60px;
	color: #fff;
	text-transform: lowercase;
	font-weight: 400;
	letter-spacing: 3px;
}

@media (max-width: 980px) {
	.page {
		min-height: 1000px;
	}
	.page h1 {
		margin: 60px auto;
		text-align: center;
		font-size: 48px;
		color: #fff;
		text-transform: lowercase;
		font-weight: 400;
		letter-spacing: 1px;
	}
}

@media (max-width: 450px) {
	.page h1 {
		margin: 40px auto;
	}
}


#home #logo {
	/*text-align: center;*/
	margin-bottom: 0;
}

#home #logo img {
	position: relative;
	top: -500px;
	transition: all 1s ease;
	width: 75%;
	margin: 0 auto;
	opacity: 0;
}

@media (max-width: 450px) {
	#home #logo img {
		width: 95%;
	}
}

body.on #home.current #logo img {
	top: 0;
	opacity: 1;
}

#home #slogan {
	background-color: rgba(255,255,255,1);
	text-align: center;
	color: #888;
	padding: 15px 0 100px;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4em;
	letter-spacing: 0.01em;
	opacity: 0;
	transition: all 1s ease 1.5s;
}

body.on #home #slogan {
	opacity: 1;
}

#home #slogan .titre {
	position: relative;
	font-size: 36px;
	font-weight: 300;
	line-height: 1.2em;
	letter-spacing: 1px;
	margin: 0 0 1.5em;
}

#home #slogan .titre strong {
	font-weight: 600;
}

#home .pics_deco img {
	width: 100px;
	height: 100px;
	margin: 20px;
}

#about > .row,
#services > .row {
	background-color: #fff;
	padding: 100px;
}

@media (max-width: 980px) {
	#about > .row,
	#services > .row {
		padding: 30px 10px;
	}
}

#about img,
#services img {
	
}


#realisations .row {
	background-color: rgba(255,255,255,1);	
	padding: 20px 0;
	/*margin: 0;*/
}

#realisations .row > div {
	/*margin: 0;
	padding: 10px 5px;	
	box-sizing: border-box;
	margin-right: -5px;*/
}

#realisations .pic {
	padding: 10px 10px 0;
	margin: 0;
}

#realisations .pic img {
	position: relative;
	z-index: 0;
	width: 100%;
	height: auto;
	transform: scale(1,1);
	transition: all 0.5s ease;	
}

#realisations .pic:hover {
	cursor: pointer;
}

#realisations .pic:hover img {
	transform: scale(1.2,1.2);
}

#realisations .title {
	text-align: center;
	margin: 15px 15px 20px;
	text-transform: uppercase;
	font-weight: 400;
	letter-spacing: 1px;
	line-height: 1.4em;
	color: #454545;
	height: 50px;
}

#realisations .title > span {
	text-transform: none;
	color: #999;
	letter-spacing: 0;
}

#realisations .pic > span {
	position: relative;
	display: block;
	overflow: hidden;
	width: 100%;
	height: auto;
}

#realisations .pic span.over {
	position: absolute;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0);
	transition: all 0.2s ease;
}

#realisations .pic:hover span.over {
	background-color: rgba(0,0,0,0.2);
}

#realisations .pic span.over a {
	display: block;
	position: absolute;
	margin: 0;
	padding: 0;
	color: #fff;
	text-decoration: none;
	font-size: 100px;
	font-weight: 300;
	opacity: 0;
	transition: all 0.2s ease;
}

#realisations .pic:hover span.over a {
	opacity: 1;
}

#contact img {
	margin: 2em auto;
	width: 280px;
	height: 80px;
}

#contact .row > div {
	padding: 60px;
	font-size: 16px;
}

@media (max-width: 980px) {
	#contact .row > div {
		padding: 20px;
	}
}

@media (max-width: 450px) {
	#contact img {
		width: 200px;
		height: auto;
	}
}


#contact .col-left {
	background-color: rgba(255,255,255,1.00);
	text-align: center;
}

#contact .col-right {
	background-color: rgba(255,255,255,0.6);
}

#contact form input,
#contact form textarea {
	border: none;
	box-shadow: none;
	margin-bottom: 1em;
}

.btn-default,
.btn-default:hover,
.btn-default:active {
	background-color: #ff9900;
	border: none;
	color: #fff;
	text-transform: uppercase;
	font-size: 13px;
	transform: scale(1,1);
	transition: all 0.1s ease;	
}

.btn-default:hover {
	transform: scale(1.15,1.15);
}


/*-----------------CAROUSEL -------------------*/

#diapo {
	width: 100%;
}

#diapo img {
	width: 100%;
	height: auto;
}


.carousel-fade .carousel-inner .item {
  opacity: 0;
  transition-property: opacity;
}

.carousel-fade .carousel-inner .active {
  opacity: 1;
}

.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;
}

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}

.carousel-fade .carousel-control {
  z-index: 2;
}

/*
WHAT IS NEW IN 3.3: "Added transforms to improve carousel performance in modern browsers."
now override the 3.3 new styles for modern browsers & apply opacity
*/
@media all and (transform-3d), (-webkit-transform-3d) {
    .carousel-fade .carousel-inner > .item.next,
    .carousel-fade .carousel-inner > .item.active.right {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.prev,
    .carousel-fade .carousel-inner > .item.active.left {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.next.left,
    .carousel-fade .carousel-inner > .item.prev.right,
    .carousel-fade .carousel-inner > .item.active {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
}

.carousel-control.left,
.carousel-control.right {
	background: none;
	box-shadow: none;
	text-shadow: none;
	display: block;
	color: #ccc;
	font-size: 36px;
	text-decoration: none;
	line-height: 1em;
	font-weight: 300;
	transform: scaleY(1.5);
	transition: all 0.2s ease;
	top: 50%;
}

#diapo_services .carousel-control.left,
#diapo_services .carousel-control.right {
	color: #fff;
	font-size: 42px;
	top: 0;
	padding-top: 43%;
	opacity: 1 !important;
}

.carousel-caption {
	margin-bottom: 1em;
	display: none;
}



.carousel {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#diapo_services {
	position: relative;
	height: 400px;
	width: 95%;
}

@media (max-width: 980px) {
	#diapo_services {
		width: 100%;
		margin-bottom: 50px;
	}
}

#diapo_services img {
	/*width: 100%;
	height: auto;*/
}

.carousel .carousel-inner {
	width: 100%;
	height: 100%;
}

.carousel .item {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: top center;
}

#diapo_services .item {
	background-size: contain;
}

.carousel img {
	height: 100%;
}

#home .carousel-indicators {
  position: relative;
  margin-top: 30px;
  margin-bottom: 0;
}

#diapo_services .carousel-indicators {
  position: absolute;
  bottom: -40px;
}

#home .carousel-indicators li,
#diapo_services .carousel-indicators li {
	margin: 0 2px;
	border-color: #ddd;
	border-width: 3px;
	background-color: #fff;
	width: 14px;
	height: 14px;
	border-radius: 14px;
}

#home .carousel-indicators li:hover,
#diapo_services .carousel-indicators li:hover {
	/*background-color: #ddd;*/	
	border-color: #aaa;
}

#home .carousel-indicators li.active,
#diapo_services .carousel-indicators li.active {
	margin: 0 2px;
	border-color: #ff9900;
	background-color: #fff;
	width: 14px;
	height: 14px;
	border-radius: 14px;
	border-width: 3px;
}


#home .carousel-control {
	color: #fff;
	margin: 0 0 0 0;
	opacity: 1;
	top: 0;
}

#home .carousel-control span {
	display: block;
	position: absolute;
	top: 45%;
	
}

#home .carousel-control.left span {
	left: 20px;
}

#home .carousel-control.right span {
	right: 20px;
}

#diapo_services .carousel-control {
	display: none;
}

/*-----------------MODAL -------------------*/

#modal {
	top: 100px;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.modal-backdrop {
	background-color: #fff;
	opacity: 1 !important;
}


#modal .modal-dialog {
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border: none !important;
	margin: 0;
}

.modal-content {
	width: 100%;
	height: 100%;
	border-radius: 0;
	border: none !important;
	box-shadow: none !important;
	overflow: hidden;
	padding: 0;
}

.modal-header {
	height: 20px;
	text-align: left;	
	border: none !important;
	display: none;
}

.modal-body {
	padding: 0;
}

.modal-body .row > div {
	padding: 25px;	
	position: relative;
}

.modal-body .descr {
	font-size: 13px;
}

.modal.fade { 
	transition: none !important;
}


iframe {
	border: none;
	top: 0;
	left: 0;
	position: absolute;
	z-index: 9999999999999;
}

body.body-realisations {
	height: 100%;
}

#diapo_realisations {
	height: 100%;
	overflow: auto;
	padding: 20px;
}

#diapo_realisations  img {
	display: inline-block;
	margin: 5px;
}

#diapo_realisations .infos {
	padding: 20px 40px;
}



@media (max-width: 450px) {
	
	#modal {
		top: 0;
		width: 100%;
		height: 100%;
		margin: 0;
		z-index: 99999999999999999999999;
	}
	.modal-body {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		margin: 0;
		top: 0;
	}
	iframe {
		width: 100%;
		height: 100%;
		top: 0;
	}
	#diapo_realisations {
		padding: 10px;
		margin: 0;
		padding-bottom: 150px;
	}
	#diapo_realisations > .row,
	#diapo_realisations > .row > div {
		padding: 10px;
		margin: 0;
	}
	
}

@media (max-width: 991px) {
	#diapo_realisations .pics {
		text-align: center;
	}
}

#diapo_realisations a.close-modal {
	text-decoration: none;
}

#diapo_realisations .infos h2 {
	font-size: 24px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;	
	margin: 0 0 0.25em;
}

#diapo_realisations .infos h3 {
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 1px;
	color: #999;
	margin: 0 0 2em;
}

#diapo_real {
	z-index: 0;
	display: none;
}

#diapo_real .item {
	height: 100%;
	width: 100%;
}

#diapo_real img {
	/*height: 100% !important;
	width: auto !important;*/
	margin: 0 auto;
}

#diapo_real .carousel-control {
	position: absolute;
	top: 0 !important;
}

#diapo_real .carousel-control span {
	top: 50% !important;
}

.close {
	position: absolute;
	opacity: 1 !important;
	top: 20px;
	right: 20px;
	z-index: 1;
	font-weight: 300;
	font-size: 12px;
}
