@import "../css/reset.css";

@import url(http://fonts.googleapis.com/css?family=Cabin:400,600,700);

article,aside,audio,canvas,command,datalist,details,embed,figcaption,figure,footer,header,hgroup,keygen,meter,nav,output,progress,section,source,video{display:block}mark,rp,rt,ruby,summary,time{display:inline}

/* Global properties ======================================================== */

html {width:100%}
body {
  font-size:14px;
  line-height:24px;
  color:#000;
  min-width:810px;
  font-family:Georgia, "Times New Roman", Times, serif;
  background-attachment: fixed;
  background: url(../images/body_dust.jpg) repeat-y center top, url(../images/white_wall.png) repeat center top fixed #FFF;
}
p,.p{padding-bottom:20px;}
.p0 {padding-bottom:0 !important;}
.wrapper {width:100%;overflow:hidden;}
.main {width:700px;padding:0;margin:0 auto;position:relative;}
a {color:#25a8b9; outline:none; text-decoration:none;}
a:hover {text-decoration:underline;}

#imgSego {
  float: left;
  margin-right: 20px;
  position: relative;
  height: 192px;
  width: 192px;
  margin-bottom: 20px;
}
h1,h2,h3,h4,h5,h6{line-height:1.2em;color:#000;font-family: Georgia, "Times New Roman", Times, serif;font-weight:normal;padding-bottom:5px;}
h1{font-size:34px;}
h2{font-size:30px;}
h3{font-size:24px;padding:25px 0 17px;}
h4{font-size:16px;
  padding:50px 0 0;
  font-family: 'Cabin', sans-serif;
  font-style:normal;
  text-transform:uppercase;
  font-weight: 400;
  color:#FFF
}
h5{
  font-size:20px;
  color:#25a8b9;
  border-bottom:1px solid #999;
  margin-bottom:40px;
  margin-right:85px;
  font-family: 'Cabin', sans-serif;
  font-style:normal;
  text-transform:uppercase;
  font-weight: 400;
}
h6{
  font-size:18px;
  font-family: 'Cabin', sans-serif;
  text-transform:uppercase;
  font-weight: 400;
}
.style-1 {
  font-size:23px;
  line-height:28px;
  color:#333;
  font-style: italic;	
}
.style-CV {
  font-size:15px;
  line-height:28px;
  color:#25a8b9;
  font-style: italic;	
}
.style-CV a {
  color:#25a8b9;
}
.style-CV a:hover {
  color:#333;
}
.citation {
  font-size:20px;
  line-height:25px;
  color:#333;
  font-style: italic;	
}
.extra-wrap {overflow:hidden;}
.fleft {float:left;}
.fright {float:right;}
.aligncenter{text-align:center}
.alignright {text-align:right;}
.d-in-block {display:inline-block;}
.reg {text-transform:none;}
.rel {position:relative;}

header {
}
h1.logo {
  float:left;
}
h1.logo a {
  display:block;
  text-indent:-9999px;
  width:200px;
  height:75px;
  overflow:hidden;
  background-image: url(../images/SWalle_logo_200px.png);
  background-repeat: no-repeat;
  background-position: 0 0;
}
.indent {padding:0 0 0 0;}
.indent-bottom {padding:0 0 3px;}

.top_container {
  position:fixed;
  left:0;
  top:0;
  z-index:99;
  width:100%;
  background: url(../images/body_dust.jpg) repeat-y center top, url(../images/white_wall.png) repeat center top fixed #FFF;
}
.header_row_top {
  padding:15px 0 50px;
  -webkit-transition: all 0.7s ease;
  -moz-transition: all 0.7s ease;
  -o-transition: all 0.7s ease;
  transition: all 0.7s ease;
}
.header_row_btn {
  padding:18px 0 0;
}
.top_container.scrolled .header_row_top {
  height:0px;
  padding:0px;
}

/* Nav*/
nav#menu {
  float:right;
  padding:75px 0 0;
  margin-right:50px;
}
nav#menu li {
  text-transform:uppercase;
  font-size:18px;
  line-height:22px;
  font-family: 'Cabin', sans-serif;
  font-weight: 400;
  float:left;
  transform:rotate(-45deg);
  -ms-transform:rotate(-45deg); /* IE 9 */
  -moz-transform:rotate(-45deg); /* Firefox */
  -webkit-transform:rotate(-45deg); /* Safari and Chrome */
  -o-transform:rotate(-45deg); /* Opera */
  font-style:normal;
  width:80px;
}
nav#menu li div {
  border-top:1px solid #999;
  height:55px;
  width:155px;
  padding:0 0 0 35px;
}
nav#menu a {
  color:#000;
  display:block;
  padding:18px 0;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
nav#menu a:hover, nav#menu a.active {
  color:#25a8b9;
  text-decoration:none;
  padding-left:35px;
}
nav.next-prev {
  height:75px;
  width:60px;
  position:absolute;
  right:0;
  top:-8px;
}
nav.next-prev .hr_border {
  height:1px;
  background:#999;
  width:100%;
}
a.prev,
a.next {
  position:relative;
  display: block;
  width:60px;
  height:35px;
  text-indent: -9999px;
}
a.prev span, a.next span {
  text-indent:0px;
  pointer-events:none;
  position:absolute;
  display:block;
  background:#25a8b9;
  border-radius:5px;
  color:#fff;
  height:30px;
  left:30px;
  right:30px;
  overflow:hidden;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  font-size:11px;
  line-height:26px;
  text-align:center;
}
a.prev span {
  top:-35px;
}
a.next span {
  top:40px;
}
a.prev:hover span,
a.next:hover span {
  left:0px;
  right:0px;
}
a.prev {
  background:url(../images/prev.png) 0 0 no-repeat;
}
a.prev:hover {}
a.next {
  background:url(../images/next.png) 0 0 no-repeat;
}
a.next:hover {}
a.false {
  background:none;
}
a.false span {
  display:none;
}

/* content */
#content {
  z-index: 4;
  position: relative;
  padding:0;
  margin: 0 auto;
}
#content article {
  width: 700px;
}
#main {
  padding-top:370px;
}
#services, #works, #contacts, #works2 {
  padding-top:260px;
  padding-bottom:500px;
}
#main {
  position: absolute;
  top: 0px;
}
#works {
  position: absolute;
  top: 970px;
}
#content h1 {
  margin: 0 0 25px 0;
  font-size: 60px;
  font-family: Georgia, serif;
  font-weight: normal;
  line-height: 65px;
}
#services {
  position: absolute;
  top: 1980px;
}
#works2 {
  position: absolute;
  top: 2670px;
}
#contacts {
  position: absolute;
  top:3470px;
}
.bg-1 {
  background:#25a8b9;
  padding:15px 25px 40px 40px;
  color:#fff;
  border-radius:5px;
  margin-top:15px;
}
footer {
  border-top:1px solid #999;
  padding:25px 0;
  text-align:center;
  font-size:12px;
  margin-top:35px;
}
#MentionsGauche{float:left;}
#MentionsDroite{float:right;}

/**************** layout ****************/
.col-1,.col-2 {
  float:left;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #999;
}
.col-4,.col-5 {
  float:left;
}
.col-1 {
  min-width:810px;
  margin-right:20px;
}
.col-2 {
  width:60px;
  text-align:center;
}
.col-3 {
  width:205px;
  float:left;
  margin-right:25px;
  }
.col-4 {
  width:380px;
  margin-right:50px;
}
.col-5 {
  width:270px;
}

/**************** links ****************/
.link {
  font-size:12px;
  font-family: 'Cabin', sans-serif;
  color:#FFF;
  text-transform:uppercase;	
  border-radius: 5px;
  padding:5px;
  font-weight: 400;
  background-color: #2FA8B8;
  float: left;
}
.link:hover {
  text-decoration:none;
  color:#000;
}

/**************** carousel ****************/

.es-carousel-wrapper{
  position:relative;
  padding:30px 0 0;
}
.es-carousel{
  width:690px;
  margin-left:auto;
  margin-right:auto;
}
.es-carousel ul{
  display:block;
}
.es-carousel ul li {
  height:100%;
  float:left;
  display:block;
  text-align:center;
  position:relative;
  margin-right:30px;
  margin-bottom:30px;
}
.es-carousel ul li img{
  border:none;
  max-height:100%;
  max-width:100%;
  position:relative;
  z-index:5;
}
.es-carousel .banner {
  height:192px;
  width:192px;
  background:#25a8b9;
  border-radius:500px;
  text-align:center;
  position:absolute;
  z-index:6;
  top:0;
  overflow:hidden;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  opacity:0;
}
.es-carousel ul li:hover .banner {
  opacity:1;
}
.es-carousel .banner p {
  color:#871816;
  padding:30px 0 0;
}
.es-carousel .banner p a {
  color:#fafafa;
}
.banner h4 a {
  color: #FFF;
  text-decoration: none;
}
.TitreContact {
  font-size: 20px;
  padding: 25px 0 20px;
}
.Texteclear {
  clear:both;
}
.col-4 h3 {
  font-size: 20px;
  font-style: italic;
  line-height: 26px;
}

/***** contact form *****/
#message_form {
  position:relative;
}
#message_form fieldset {
  border:none;
  padding:0;
}			
#message_form label {
  display:block;
  min-height:46px;
  position:relative;
}
#message_form label.message {
  height:142px;
}
#message_form label input, #message_form textarea {
  background:#f6f6f6;
  color: #333;
  font-family: Arial,Helvetica,sans-serif;
  font-size: 13px;
  font-weight: normal;
  margin: 0;
  outline: medium none;
  overflow: hidden;
  padding:10px 15px 11px;
  resize: none;
  vertical-align: middle;
  border-radius:5px;
}
#message_form label input {
  height:17px;
  vertical-align: middle;
  width:270px;
  float:left;
  margin-right:20px;
}
#message_form textarea {
  height:120px;
  overflow: auto;
  width: 350px;
}
#message_form .area .error {float:none;}
#message_form .label_name {
  line-height:34px;
}
#message_form a {cursor:pointer;}
#message_form .success {display:none;background: none;box-shadow: none;color: #fff;position:absolute;top:-23px;left:5px;font-size:12px;}
#message_form .error,
#message_form .empty {
  position:absolute;
  top:3px;
  right:85px;
  color:#f00;
  font-size:10px;
  line-height:12px;
  display:none;
  overflow:hidden;
}
#message_form .message .error,
#message_form .message .empty {
  right:5px;
}
.buttons-wrapper {padding-top:15px;}
.contact-info dt {
  padding-bottom:24px;
}
.contact-info a {
  color:#fff;
}
.clear_fix {display:none;}

@media only screen and (max-width:809px) {
	
body {
  min-width:520px;
}
#content article,.main {
  width:440px;
}
.header_row_top {
  padding-bottom:25px;
}
#main {
  padding-top:280px;
}
#services,
#works,
#contacts {
  padding-top:200px;
}
nav#menu {
  padding-top:80px;
  margin-right:65px;
}
nav#menu li {
  width:50px;
  font-size:16px;
}
nav#menu li div {
  width:130px;
}
nav#menu a {
  padding:6px 0;
}
.col-1 {
  width:365px;
  margin-right:10px;
}
.col-2 {
  width:60px;
}
.col-3 {
  width:200px;
  float:left;
  margin-right:20px;
}
.col-5 {
  display:none;
}
.es-carousel{
  width:440px;
}
.clear_fix {clear:both;display:block;overflow:hidden;visibility:hidden;width:0;height:0;}

}