
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

article, header, section, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
    display: block;
}
body {
    background: none repeat scroll 0 0;
    color: #222;
    font-size: 100%;
    line-height: 24px;
    margin: 0;
	padding:0;
	background-attachment: fixed;
    background-image: url("../image/fondimage.jpg");
    background-position: center center;
    background-size: cover;

}














.navigation{
	
    position: fixed;
    margin:0;
    padding: 0;
    z-index: 10;
}
    
.menu{
    position: fixed;
    display: inline;
    
    background-color: rgb(13, 192, 236);
    box-shadow: 0 6px 15px #333;
    width: 100%;
    padding-left: 0px;
    margin: 0;
}
.menu li{
    display: inline;
    list-style: none;
    margin-left: 35px;
    
    
}
.menu a {
    display: inline-block;
    font-weight: bold;
    color:rgb(1, 1, 87) ;
    text-decoration: none;
    padding:  5px 7px;
    margin: 3px 2px;
    
}
 .menu a:hover{
    
    color: rgb(241, 243, 243);
    
}
.menu li:hover{
    background-color:rgb(1, 1, 87) ;
    border-radius: 4px;
    padding: 2px 2px;
}
.menu_connexion a{
	display:inline-block;
	color: #FFF;
	border-radius:2px;
}
.menu_connexion li{
	display:inline;
	margin-left: 5px;
	background-color:rgb(1, 1, 87);
	border-radius:3px;
	padding: 2px 2px;
}
.menu_connexion {
	display:inline;
}
.menu_connexion a:hover{
	color: rgb(1, 1, 87) ;
}
.menu_connexion li:hover {
	background-color:rgb(241, 243, 243);
}
form{
	display:inline;
	margin-left:30px;
	
}
#search{
	padding:5px;
	border-radius: 30px;
    outline:none;
    padding-left:30px;
	border:3px solid rgb(1, 1, 87);
	margin-bottom:2px;
	 width: 40px;
	background:url(../image/boutonrecherche.png) right no-repeat;
	transition: width 2s;
}
#search:hover{
	width: 300px;
	
}

.media{
	display:inline;
	margin-left:15px;
	transition: margin-top 2s;
}

#media1{
display:inline;
vertical-align:middle;
}
#media2{
	display:inline;
	vertical-align:middle;
	margin-left:-5px;
}
#media3{
	display:inline;
	vertical-align:middle;
	margin-left:-5px;
}
#media4{
	display:inline;
	vertical-align:middle;
	margin-left:-5px;
}
#media5{
	display:inline;
	vertical-align:middle;
	margin-left:-5px;
}


/* Header*/
.ScriptHeader {
    float: left;
    width: 100%;
    padding-top: 3em;
}
.rt-heading {
    border-bottom: solid 1px #a470bc;
    padding-bottom: -5px;
    margin: 0 auto;
}

.ScriptHeader h1{
   font-size: 60px;
    text-shadow: 3px 3px 15px black;
    color:rgb(4, 27, 102);
    text-align: center;
    margin-top: 100px;
	font-family:vivaldy;
	background-color:rgba(255, 255, 255, 0.7);
	border-radius:4px;
	width:400px;
	position:relative;
	left:500px;
	top:-50px;
	height:60px;
	padding-top:15px;
}

.ScriptHeader h1 span {
    display: block;
    padding: 0;
    font-size: 22px;
    opacity: 0.7;
    margin-top: 5px;
	text-transform:uppercase;
}
.ScriptHeader span {
    display: block;
    padding: 0;
    font-size: 22px;
    opacity: 0.7;
    margin-top: 5px;
}

/* La Grande Section*/

section {
    float: left;
    width: 100%;
	 margin-top:3em;
	 margin-bottom:2em;
}

.rt-container {
	margin: 0 auto;
	padding-left:12px;
	padding-right:12px;
}
.col-rt-6, .col-rt-12 {
    width: 100%;
  }
  
  .conveytabs {
  
   min-width: 320px;
  max-width: 1168px;
  padding: 35px;
  margin: 0 auto;
  background: #fff;
  overflow:auto;
}

.conveytabs input {
	display:none;
 
 
}
.descriptif{
	float:left;
	padding:5px;
	margin-left:8px;
	
	
}

.descriptif1{
	float:left;
	padding:5px;
	margin-left: 10px;
	
}
.descriptif2{
	float:left;
	padding:5px;
	margin-left:15px;
	
}

.descriptif3{
	float:left;
	padding:5px;
	
	margin-left:15px;
	
	
}



.conveytabs label {
	
  
  padding: 2px;
  font-weight: 900;
  text-align: center;
  color: #bbb;
  border: 1px solid transparent;
  float:left;
  position:relative;
  top:150px;
  left:-90px;
  font-size:20px;
  margin-left:-90px;
  
}
.conveytabs label:hover {
  color: #8e44ad;
  cursor: pointer;
}

.conveytabs input:checked + label {
  color: #8e44ad;
  border: 1px solid #8e44ad;
  border-top: 2px solid 8e44ad;
  border-bottom: 1px solid #8e44ad;
}


}
 .descriptif{
	 
	 
 }
 
 .conveytabs section {
  display: none;
  padding: 15px 0 0;
  border-top: 1px solid #8e44ad;
}
.conveytabs h2 {
	position:relative;
	top:20px;
	color:#8e44ad;
    text-align: center;
	font-family:Vivaldi;
	font-size:50px;
}
.conveytabs section p {
	position:relative;
	top:45px;
    font-size: 19px;
    font-family: 'Lora', serif;
    font-style: italic;
    font-weight: normal;
    line-height: 1.5;
    margin: 0;
    padding: 10px 0;
    text-align: left;
}
.img_activ{
	width:1000px;
	height:400px;
	position:relative;
	top:50px;
	left:50px;
	right:50px;
	border-radius:5px;
}

/* les deux grandes parties de l'immobilier*/

.uxhover {
  width:400px;
  margin: 5px;
  float: left;
  overflow: hidden;
   border: 12px solid #fff;
  position: relative;
  
  text-align: center;
  
  cursor: pointer;
  
}

.uxhover .mask,
.uxhover .content {
  width: 100%;
  
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
}

.uxhover img {
  display: block;
  position: relative;
  top:-50px;
  padding:60px;
   
 
  
}

.uxhover h2 {
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  position: relative;
  top:5px;
  font-size: 26px;
  padding: 10px;
   border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  margin: 5px 0 0 0;
  font-family:"brandon-grotesque";
}

.uxhover p {
  font-size: 5px;
  position: relative;
  color: #fff;
  padding: 0px 20px 0px;
  text-align: center
}
#des_immo{
	font-size:15px;
	position: relative;
  color: #fff;
  padding: 0px 10px 0px;
  text-align: center;
  top:10px;
	
}
.uxhover a.info {
  display: inline-block;
  text-decoration: none;
  padding: 7px 14px;
  background: #000;
  color: #fff;
  text-transform: uppercase;
  font-size:18px;
  border-radius:5px;
  position:relative;
  top:30px;
}

h3{
	
	font-size: 30px;
    text-shadow: 3px 3px 15px black;
    color:rgb(4, 27, 102);
    text-align: center;
    margin-top: 100px;
	font-family:vivaldy;
}

/* Effect 3*/

.hoverEffect-tenth {
	position:relative;
	top:50px;
	left:80px;
}

.hoverEffect-tenth img {
	width:100%;
	height:100%;
  transform: scaleY(1);
  transition: all .7s ease-in-out;
}

.hoverEffect-tenth .mask {
  background-color: rgba(0, 0, 0, 0.7);
  transition: all 0.5s linear;
  opacity: 0;
  height:100%;
}

.hoverEffect-tenth h2 {
  border-bottom: 1px solid rgba(0, 0, 0, 0.9);
  background: transparent;
  margin: 20px 20px 0px 40px;
  transform: scale(0);
  transition: all 0.5s linear;
  opacity: 0;
  
}

.hoverEffect-tenth p {
  opacity: 0;
  transform: scale(0);
  transition: all 0.5s linear;
}

.hoverEffect-tenth a.info {
  opacity: 0;
  transform: scale(0);
  transition: all 0.5s linear;
}

/* Effect 3:hover*/

.hoverEffect-tenth:hover img {
  -webkit-transform: scale(10);
  transform: scale(10);
  opacity: 0;
}

.hoverEffect-tenth:hover .mask {
  opacity: 1;
}

.hoverEffect-tenth:hover h2,
.hoverEffect-tenth:hover p,
.hoverEffect-tenth:hover a.info {
  transform: scale(1);
  opacity: 1;
}

.aos-item {
  display: inline-block;
  float: left;
  width: 40%;
  height: 300px;
  padding: 5px;
}

.aos-item__inner {
	
    position: relative;
    width: 100%;
    height: 100%;
    float: left;
    
}

@media screen and (max-width: 800px) {
  .aos-item {
    width: 50%;
  }
}


 
#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4,
#tab5:checked ~ #content5 {
  display: block;
}

figure{
	position:relative;
	top:30px;
}


 figure.test img {
	width: 70%;
	height: 70%;
}
 
#descriptif{
	font-size:15px;
}
#sous_titre{
	text-align:center;
}
 .frame img {
	width: 70%;
	height: 70%;
}
 
 
 /*With :after */
figure.test {	
	display: inline-block;
	position: relative;
	overflow: hidden;	
	text-align: center;		
	cursor: pointer;
	width:35%;
	height:auto;
}


figure.test figcaption {
	
	width: 50%;
	height: auto;		
	padding: 5% 0%;
	position: absolute;	
	top: 50%;
	left: 22.5%;
	right: 22.5%;	
	opacity: 0;
	z-index: 1;
	transition: all 0.8s ease-out;
	transition-delay: 0.2s;
}
figure.test:after {
	display: inline-block;
	position: absolute;
	content: "";
	top: 7%;
	left: 10%;
	right: 10%;
	bottom: 7%;
	background: white;
	opacity: 0;
	transition: all 0.8s ease-out;
}
figure.test:hover:after {
	opacity: 0.9;
}
figure.test:hover figcaption {
	transform: translateY(-50%);
	opacity: 1;
}

#rotate {
	perspective: 500px;
}
#rotate:after {
	transform: rotateX(90deg);
	transition: all 0.6s ease-in-out;
}
#rotate:hover:after {
	transform: rotateX(0deg);
}
#rotate figcaption {	
	transition: all 0.6s ease-in-out;
	transform: translateY(-50%) rotateX(90deg);
}
#rotate:hover figcaption {
	transform: translateY(-50%) rotateX(0);
}


/*Without :after*/
.frame {
	text-align: center;	
	position: relative;
	cursor: pointer;
	top: 70px;
	perspective: 500px;
	width:35%;
	display:inline-block;
	height:auto;
}

.frame .details {
	width: 70%;
	height: auto;	
	padding: 0% 2%;
	position: absolute;	
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotateY(90deg);
	transform-origin: 50%;
	background: rgba(255,255,255,0.9);	
	opacity: 0;
	transition: all 0.4s ease-in;
	text-align:center;
	
}

frame .details:after {
	display: inline-block;
	position: absolute;
	content: "";
	top: 7%;
	left: 10%;
	right: 10%;
	bottom: 7%;
	background: white;
	opacity: 0;
	transition: all 0.8s ease-out;
}
frame .details:hover:after {
	opacity: 0.9;
}
.frame:hover .details {
	transform: translate(-50%, -50%) rotateY(0deg);
	opacity: 1;
}

/*Effect without Perspective*/
.frame#wth {
	perspective: none;
}