/*
Theme Name:   Hans Schlegel
Theme URI:    http://www.icwt.de
Description:  Custom Theme for Hans Schlegel
Version:    1.0
Author:     Matthias Rösele
Author URI:   http://www.icwt.de
Tags:
*/

/*
===========================
CONTENTS:

01 Sensible defaults
02 Typography
03 Media queries
===========================



GRAU #3c3c3b


*/

/* ----------------------------------------------------------------------------------------------------------
01 Sensible defaults ----------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

@import "css/reset.css";
@import "css/webfonts.css";
@import url(https://fonts.googleapis.com/css?family=Open+Sans);
div, article, section, header, footer, nav, li {
  position: relative; /* For absolutely positioning elements within containers (add more to the list if need be) */
}
.group:after {
  display: block;
  height: 0;
  clear: both;
  content: ".";
  visibility: hidden; /* For clearing */
}
::-moz-selection {
background:#c38580;
color:#333;
}
::selection {
  background: #c38580;
  color: #333;
}
/* ----------------------------------------------------------------------------------------------------------
02 Typography -----------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */
/*

14 / 16 =     0.875em     (14px equivalent)
16 / 16 =     1em       (16px equivalent)
18 / 16 =     1.125em     (18px equivalent)
21 / 16 =     1.3125em    (21px equivalent)
24 / 16 =     1.5em       (24px equivalent)
30 / 16 =     1.875em     (30px equivalent)

*/

body, input, textarea { /* We strongly recommend you declare font-weight using numerical values, but check to see which weights you're exporting first */
}
* {
  outline: none !important;

/*
  -moz-box-sizing: border-box;
  box-sizing: border-box;
*/
}
.clearfix {
  clear: both;
}

html,
body{
  width: 100%;
  height: 100%;
/*  overflow-x: hidden;  foo*/
}

html{
/*  background: #e5e5e5;
not visible due to .page_wrapper rule
*/
}

.feature_container{
/*  display: none; */
}

 .page_wrapper{
  /* background: #e5e5e5; */
  background: #fff;
  z-index: 106;
  /*  min-width: 990px; */

  /*  min-width: 760px; */
  overflow: hidden; /* foo */
}


  .kontakt .page_wrapper{
    background: url(/wp-content/uploads/2014/08/HS_MAP.jpg) no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }


@media screen and (max-width:45em) {
  .kontakt .page_wrapper{
    background-image: url(/wp-content/uploads/2014/08/HS-Map_Mobil.jpg); 
  }
}

.wrapper {
    margin: 0 auto;
/*    width: 990px; */ /* foo */

    width: auto;

    max-width: 1230px;
    padding-left: 20px !important;
    padding-right: 20px !important;

    clear: both;

    z-index: 0;
}


@media screen and (min-width:45em) {

 .wrapper {
  padding-left: 40px !important;
  padding-right: 40px !important;
 }

}

.project_slider{
  max-width: 1370px;

  max-width: 850px;
  margin: 0 auto 40px;
}

.page_wrapper{
  min-height: 100%;
}
.container {
  font-size: 0;
}
.container > li {
  display: block;
  margin: 0 0 20px 0;
  font-size: 16px;
  background: #eee;
  min-height: 50px;
}
.container > li img {
  width: 100%;
  height: auto;
}

/* ----------------------------------------------------------------------------------------------------------
03 Media queries (using a mobile-first approach) ------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */
html {
  font-size: 15px;
  font-family: arial;
  font-family: "AvenirLTStd-Light";

  /* Better Font Rendering =========== */
/*
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
*/
}



.rsSBlock h3,
.project_data h2,
.link_int{
  font-family: "AvenirLTStd-Heavy";
}

@media screen and (max-width:45em) {
  .proj_filter a,
  .similar_projects h2,
  .cms_content h1,
  .cms_content h2,
  .cms_content h3,
  .cms_content h4,
  .post_list h1,
  .header_text p{
    font-family: "AvenirLTStd-Heavy";
  }
}

/*
.slider_box h1{
  font-family: 'AvenirLTStd-BlackOblique';
}
*/


.claim,
.post_list h1,
.header_text p,
.cms_content h1, 
.cms_content h2, 
.cms_content h3,
.cms_content h4,
.footer li h3,
.similar_projects h2,
article h1,
.slider_box h1,
.logo_container h2,
header .title a,
header .menu a,
.proj_filter a {
  font-family: 'AvenirLTStd-Black';
}

.similar_projects h2,
header .menu a,
.claim{
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;  
}

/*
@media screen and (max-width:45em) {
article h1{
    font-family: "AvenirLTStd-Heavy";
}
}
*/


/* .footer li h3, */
/* .post_list h1, */
.rsSBlock,
.proj_filter{
  font-family: "AvenirLTStd-Medium";
}

a{
  text-decoration: none;
}

.footer a{
  color: #999;
}
header .menu a {
  text-decoration: none;
  text-transform: uppercase;
}


html,
.claim,
header .menu a{
  color: #d6d5d4;  
}


.similar_projects h2,
.project_links,
article h1,
.proj_filter a,
.slider_box h1,
.logo_container h2,
.footer a:hover,
.single .show_projects_btn a,
header .title a,
header .menu .nav_overlay_active a,
header .menu a:hover,
header .menu .current-menu-item a,
.cms_content h1,
.cms_content h2,
.cms_content h3,
.cms_content h4,
.header_text p,
.post_list h1,
.footer li h3,
.nav_proj_list li a:hover{
  color: #514a45;
}


.rsDefault .rsBullet.rsNavSelected span {
  background-color: #514a45;
}

.slider_box p,
.cms_content p,
.post_list p,
article p,
a,
.footer{
  color: #5a584e;
}

/* box über aktivem "projekte" */

/*
header .menu .nav_overlay_active a:before{
  content: '';
  display: block;
  width: 100%;
  height: 20px;
  top: -37px;
  left: 0;
  background: #fff;
  position: absolute;
}
*/

.footer li h3 {
  line-height: 32px;
  font-size: 25px;
  letter-spacing: 2px;
  margin-bottom: 7px;
}

.footer li h3 ~ h3{
  margin-top: 26px;
}



/*
.post_list:before {
  background: none repeat scroll 0 0 #D8D8D8;
  border-left: 36px solid #f6f6f6;
  border-right: 36px solid #f6f6f6;
  content: "lala";
  display: block;
  height: 100%;
  left: 50%;
  position: absolute;
  top: 36px;
  width: 1px;
  z-index: 22;
  margin-left: -36px;
}
*/

.no_overflow{
  overflow: hidden;
}


.post_list{
  font-size: 0;
/*  border-top: 1px solid #d8d8d8;   */
  margin: 7px 0 0;
/*  width: 792px; */
  width: auto;
}
.post_list + .post_list + .post_list{
  padding: 0 0 36px 0;
}


.post_list li{
  border-bottom: 1px solid #dcdcdc;
  font-size: 15px;
/*  display: inline-block; */
float: left;
  vertical-align: top;
  padding-bottom: 18px;
  width: 100%;
  margin: 0 0 36px 0;
}

@media screen and (min-width:45em) {

.post_list{
  margin: 60px -15px 0;
}

.post_list + .post_list{
	margin-top: 0;
}

.post_list li{

  width: calc( 50% - 30px );
  margin: 0 15px 36px 15px;

}

.post_list li.large{
		width: calc( 100% - 30px );
	}

.post_list li.large h1,
.post_list li.large p{
		max-width: 460px;
}



}

@media screen and (min-width:60em) {

	.post_list li{
	
		width: calc( 33.33333% - 30px );
		margin: 0 15px 36px 15px;
	
	}
	.post_list li.large{
		width: calc( 50% - 30px );
	}
	post_list li.large + li.large:after{
		clear: both;
	}
	
	
	/* workaround for beautiful aligned border-bottom of large projects */
.post_list li.no_border{
	border-bottom: 0;
	margin-bottom: 0;
}
.post_list.borderline{
	display: block !important;
}
.post_list.borderline li{
	padding-bottom: 0;
}

}

@media screen and (min-width:85em) {

	.post_list li{
		width: calc( 25% - 30px );
		margin: 0 15px 36px 15px;
	}
	
	.post_list li.large{
		width: calc( 50% - 30px );
	}
	
	post_list li.large + li.large:after{
		clear: both;
	}

}



.post_list li:after{
/*
  content: '';
  background: #3c3c3c;
  display: block;
  height: 1px;
  width: 37px;
  position: absolute;
  bottom: -20px;
  left: 0;
*/
}


/*
.post_list li:nth-child(3n+4),
.post_list li:first-child{
  padding-left: 0;
}
.post_list li:nth-child(3n+3){
  padding-right: 0;
}
.post_list li:nth-child(3n+2){
  border-left: 1px solid #d8d8d8;
  border-right: 1px solid #d8d8d8;
}
*/

.cms_content h1,
.cms_content h2,
.cms_content h3,
.cms_content h4,
.header_text p,
.post_list h1{
  font-size: 18px;
  line-height: 25px;
  letter-spacing: 0.8px;
  margin: 21px 0 9px 0;
/*  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto; */
}

.cms_content h1, 
.cms_content h2, 
.cms_content h3,
.footer li h3,
.similar_projects h2,
 .post_list h1{
  text-transform: uppercase;
 }


.detail_link{
/*  display: inline-block; */
  display: block;
}

@media screen and (min-width:45em) {

.cms_content h1,
.cms_content h2,
.cms_content h3,
.cms_content h4,
.header_text p,
.post_list h1{
    font-size: 18px;
    line-height: 24px;
    margin: 19px 0 9px 0;
}




  .detail_link:after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.40);
    opacity: 0;
    transition: all 0.3s linear;
    z-index: 1;
  }

  .detail_link:before{
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -47px 0 0 -47px;
    display: inline-block;
    width: 94px;
    height: 74px;
    background: url(img/hs_Icons_web.png) no-repeat;
    background-size: 839px 140px;
    background-position: 12px 20px;
/*
    background-color: #fff;
    border-radius: 50%;
*/
    z-index: 2;
    opacity: 0;
    transition: all 0.3s linear;
  }

  .img_container:hover .detail_link:after,
  .img_container:hover .detail_link:before{
    opacity: 100;
  }

}

article p{
  margin: 0 0 11px;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 1;

/*
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
*/
}

@media screen and (min-width:45em) {
article p{

  font-size: 25px;
  line-height: 32px;
  letter-spacing: 1;
}

}

.cms_content p,
.post_list p{
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0;
}

.cms_content p,
.post_list p,
.project_links li p{
  font-family: "NimbusRomNo9-RegIta";
}

.img_container img{
  width: 100%;
  height: auto;
}

.footer{
  margin-top: 40px;
  padding: 37px 0 0;
  font-size: 0;
  position: relative;
  background: #f1f1f1;

/*}

.single .footer{
  */
  background: #e5e5e5;
}

/*
.footer:before{
  content: 'test';
  width: 3000px;
  display: block;
  position: absolute;
  box-shadow: 0 -5px 4px -2px rgba(0, 0, 0, 0.2);
  z-index: -1;
  top: 0;
  left: -1000px;
  height: 100%;
}
*/

.footer > ul > li{
  display: inline-block;
  width: 100%;
  font-size: 18px;
  line-height: 24px;
  vertical-align: top;
/*  border-right: 1px solid #999; */
}

.footer > ul > li.first{
  width: 350px;
}
.footer > ul > li.first:after{
clear: both;
}

.footer > ul > li.second{
  width: 380px;
  padding-left: 10px;
}

.footer > ul > li.third{
  width: 90px;
  border: none;
  padding-left: 10px;
}

.footer li ul li{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 90%;
}

.footer_left{
  width: 70%;
  float: left;
}

.footer_left + ul{
  width: 20%;
  float: left;
}


.link_int{
  font-size: 12px;
  letter-spacing: 1px;
  position: relative;
  text-transform: uppercase;
  padding: 5px 28px 5px 0;
}


.link_int:before{
  content: '';
  height: 15px;
  width: 20px;
  display: inline-block;
  position: absolute;
  right: 0;
  top: 4px;

  background: url(img/hs_Icons_web.png) no-repeat -25px 0;
  background-size: 200px 30px;

}


/*
.post_list .link_int{
  background: #f6f6f6;
  padding: 0 32px 0 30px;
  margin: 0 0 0 -34px;
  z-index: 1;
  position: absolute;
  bottom: -6px;
}
*/



article{
  text-align: center;
}

article h1{
  font-size: 25px;
  line-height: 30px;
  letter-spacing: 1px;
  max-width: 600px;
  margin: 0 auto 20px;
  text-align: center;

  text-transform: uppercase;


/*  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
*/
}

@media screen and (min-width:45em) {

  article h1{
    font-size: 38px;
    line-height: 41px;
    letter-spacing: 2.2px;
  }

}

article p{
  margin: 0 auto;
  max-width: 950px;
  font-family: "NimbusRomNo9-RegIta";

}

.project_data h2{
  font-size: 11px;
  margin: 0 0 4px;
}

.project_data{
  font-size: 0;
  text-align: left;
  border-top: 1px solid #ddd;
  padding: 32px 0 0 0;
  margin: 29px 0 0 0;
  text-align: center;
}

.project_data > li{
  display: inline-block;
  font-size: 17px;
  width: 220px;
  vertical-align: top;
margin: 0 18px;
padding: 0 18px;
}

/*
.project_data > li:first-child{
  border-right: 1px solid #d8d8d8
}
*/



.project_data > li.marginal_li{
  width: 200px;
  font-size: 12px;
  text-align: left;
}
.project_data > li.main_li{
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  padding-bottom: 20px;
  text-align: center;
}

.similar_projects{
  text-align: center;

  margin: 0 auto;
/*
  width: 100%;
  padding: 0 27px;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
*/
}


.similar_projects h2 {
/*  border-top: 1px solid #999999; */
  font-size: 24px;
  letter-spacing: 1px;
  padding: 33px 0 30px;
  text-align: center;
/*  margin-top: 70px; */
}
@media screen and (min-width:45em) {

  .similar_projects h2 {
    padding: 53px 0;
  }

}


.project_links{
  text-align: left;
  margin: 0 0 20px;
  font-size: 0;
display: inline;
}

.project_links li{
  display: inline-block;
  width: calc((100% - 22px) / 2) ;
  font-size: 19px;
  line-height: 25px;
  margin-left: 22px;
}

@media screen and (min-width:45em) {

  .project_links li{
    width: calc((100% - 44px) / 3);
  }

}
.project_links li p{
  display: none;
}

@media screen and (min-width:45em) {
  .project_links li p{
    display: block;
    text-align: center;
  }

  .project_links .img_container{
    margin: 0 0 20px 0;
  }
}


@media screen and (max-width:45em) {

  .project_links li + li + li{
      display: none;
  }
}

.project_links li:first-child{
  margin: 0;
}




.link_proj{
  padding: 0 0 0 11px;
  font-size: 11px;
  line-height: 16px;
}

.link_proj:before{
  content: '';
  height: 0;
  width: 0;
  display: inline-block;
  position: relative;
  left: -10px;
  top: -1px;
  border-left: 5px solid #3E3D40;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}



.button_container{
  z-index: 10;
  max-width: 100vw !important;
}

.royalSlider img {
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}


.rsSBlock{
  left: 0 !important;
  right: 0;
  opacity: 0 !important;

  -webkit-transition: opacity .3s .6s ease-in;
  -moz-transition: opacity .3s .6s ease-in;
  transition: opacity .3s .6s ease-in;
}

.rsActiveSlide .rsSBlock{
  opacity: 1 !important;
  transition-delay: 0 !important;
  -webkit-transition-delay: 0 !important;
}

.rsSBlock h3 {
/*  color: #3C3C3B;*/
  color: #fff;
  font-size: 40px;
  line-height: 42px;
  margin: 0 auto;
  max-width: 950px;
  text-align: center;
  text-transform: uppercase;
  margin-top: -42px;
}


.rsUni .rsBullets {
  position: absolute !important;
  z-index: 35;
  padding-top: 4px;
  width: 15px !important;
  height: 100px !important;
  text-align: center;
  line-height: 5px;
  left: 20px;
  top: 50%;
  margin-top: -50px !important;

}
.rsUni .rsBullet {
  width: 13px;
  height: 13px;
  *display:inline;
  *zoom:1;

  display: block !important;
  padding: 10px 0 !important;

}
.rsUni .rsBullet span {
  display: block;
  width: 13px !important;
  height: 13px !important;
  border: 1px solid #4f4d4c;

  border-color: #fff;
  border-radius: 50%;
  background-color: transparent !important;
  cursor: pointer;
}
.rsUni .rsBullet.rsNavSelected span {
  background-color: #20201f !important;
  background-color: #fff !important;
  border-color: #20201f;
  border-color: #fff;
}



.feature_container{
  overflow: hidden;
  display: block;
  width: 100%;
  height: 100%;
  background: #ccc;
  margin-top: -100vh;
  margin-top: 0;
}

/*
.logo_container {
  left: 50%;
  margin-left: -455px;
  position: absolute;
  top: 30px;
  width: 990px;
  z-index: 102;
}
*/
.logo_container {
  -moz-box-sizing: border-box;
  box-sizing: border-box;

/*  background: #f6f6f6; */
  padding: 40px 0 0 40px;
/*  padding: 27px 0 0 calc(50% - 420px); */
  position: fixed;
  top: 0px;
  width: 100vw;
  z-index: 105;
}

.logo_container h2{
  cursor: pointer;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: 1px;
}

.logo_container h2,
.logo_container span{
  /*
  padding-left: 20px;
  */
}

.claim {
  font-size: 24px;
  letter-spacing: 1px;
  position: relative;
  display: block;
  margin: 0 0 28px 0;
  line-height: 1;
/*  color: #C6C3BD; */
}

@media screen and (min-width:45em) {

.claim {
  font-size: 24px;
  line-height: 30px;
  letter-spacing: 1px;
/*
  font-size: 18px;
  letter-spacing: 2px;
*/
}

}


.home .feature_container{
/*  margin-top: 0vh; */
}

/*
.hide_feature_btn,
.show_feature_btn{
  position: absolute;
  bottom: 0;
  right: 140px;
  width: 242px;
  height: 95px;
  background: url(img/hide_feature_bg.png);
  background-size: 100%;
}

.show_feature_btn{
  top: 0;
  z-index: 100;
  background: url(img/show_feature_bg.png);
  background-size: 100%;
}
*/

.main_header{
  padding: 15px 0 17px 0;
  height: auto;
  margin: 0 auto 2em auto;
  background: #fff;
/*  box-shadow: 0 0 20px rgba(0,0,0,0.5); */
}


@media screen and (max-width:45em) and (orientation : portrait) {

  .main_header.header_fixed_top{
  width: 100%;
  position: fixed;
  top: -55px;
  z-index: 1;

   -webkit-transform: translate3d(0, 0, 0);
   -moz-transform: translate3d(0, 0, 0);
   -ms-transform: translate3d(0, 0, 0);
   transform: translate3d(0, 0, 0);

    }

  .main_header.header_fixed_top ~ div .post_list,
  .main_header.header_fixed_top ~ .content,
  .main_header.header_fixed_top ~ .proj_detail{
    margin-top: 205px;
  }

}

@media screen and (min-width:45em) {
  .main_header{
    padding-top: 40px;
    background: none;
    border: none;
    box-shadow: none;
    max-width: 100%;

    margin-bottom: 6em;
  }

 /* .single .main_header{
    background: #e5e5e5;
  }
 */
}


.container {
  font-size: 0;
}
.container > li {
  display: inline-block;
  margin: 0 0 2.12766% 2.12766%;
  font-size: 16px;
  background: rgba(0,0,0,0.6);
  vertical-align: top;
}
.col_2 {
  width: 48.93617%;
}
.col_3{
  width: 230px;
}
.col_4 {
  width: 31.91489%;
}
.container .col_2:nth-child(odd), .container :first-child {
  margin-left: 0;
}
.col_8 {
  width: 65.95745%;
}




header .menu {
  font-size: 0;
  clear: both;
  line-height: 1.3;
  padding-bottom: 20px;
  border-bottom: 1px solid #dcdcdc;
}

.home header .menu{
  border-bottom: none;
}

header .menu li {
  display: inline-block;
  font-size: 17px;
  margin: 0 0 0 20px;
  letter-spacing: 1px;
}

header .menu li:first-child{
  margin: 0;
}

header .title a {
  font-size: 24px;
  letter-spacing: 1px;
}

header .menu li:before{
  content: '/';
  position: absolute;
  left: -15px;
  top: -3px;
  font-size: 24px;
}
header .menu li:nth-child(1):before{
  display: none;
}


@media screen and (min-width:45em) {

.title_container{
  display: inline-block;
  float: left;
}

header .menu {
  float: right;
  clear: none;
  position: relative;
  top: 0;
  border: none;
}

header .title a {
  font-size: 24px;
  line-height: 30px;
  letter-spacing: 1px;
}


header .menu li {
  font-size: 24px;
}

header .menu li:before{
  left: -16px;
  font-size: 30px;
  top: -1px;
}


}



.slider_box{
  text-align: center;
  width: 840px;

/*  max-width: 780px; */
  height: 284px;
  margin: -10px auto 0;
  padding-top: 10px;
/*  background: #e5e5e5; */
  background: #fff;
}

.slider_box h1{
  font-size: 38px;
  line-height: 41px;
  text-transform: uppercase;
  letter-spacing: 2.2px;
}

.slider_box p {
  font-size: 32px;
  line-height: 36px;
  letter-spacing: 0.5px;
  margin-top: 12px;
  margin-bottom: 18px;
  font-family: "NimbusRomNo9-RegIta";
  font-size: 25px;
  line-height: 32px;
  letter-spacing: 1;
}


#lang_sel_list{
  float: right;
  margin-top: 30px;
}


.nav_overlay {
/*
  background: url(img/nav_overlay_bg.png) no-repeat  center bottom;
*/
  background: #f1f1f1;
  color: #FFFFFF;
  font-size: 12px;
  height: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.3s ease-out 0s;
  width: 100%;
  z-index: 2;
  overflow: auto;
}

.nav_overlay.nav_overlay_active{
  height: 100vh;
}

@media screen and (max-width:45em) {

  .nav_overlay.nav_overlay_active ~ *{
    display: none;
  }

  .nav_overlay.nav_overlay_active .wrapper{
    padding-bottom: 40px;

   -webkit-transform: translate3d(0, 0, 0);
   -moz-transform: translate3d(0, 0, 0);
   -ms-transform: translate3d(0, 0, 0);
   transform: translate3d(0, 0, 0);

  }

}

.nav_overlay a,
.nav_overlay ul{
  opacity: 0;
  -webkit-transition: opacity .3s .3s ease-in-out;
  -moz-transition: opacity .3s .3s ease-in-out;
  transition: opacity .3s .3s ease-in-out;
}


.nav_overlay_active a,
.nav_overlay_active ul.visible{
  opacity: 100;
}

.proj_filter {
  padding: 20px 0 50px;
  letter-spacing: 1px;
}

@media screen and (min-width:45em) {

.proj_filter {
  padding: 40px 0 14px;
}


}



.proj_filter a{
  font-size: 25px;
  margin: 0 10px 0 0;
  text-transform: uppercase;
}

@media screen and (min-width:45em) {
.proj_filter a{
  font-size: 24px;
}

}

/*
.proj_filter a:hover,
.proj_filter a.sort_active{
  color: #1C1D1D;
}
*/

.nav_proj_list{
  font-size: 0;
  position: relative;
}

.nav_proj_list li {
  border-bottom: 1px solid #dcdcdc;
  display: inline-block;
/*  width: 300px; */
  width: 100%;
}


.nav_proj_list li a{
  font-size: 20px;
  line-height: 24px;
  height: 48px;
  display: block;
  width: 100%;
  color: #3c3c3b;
  padding: 15px 0 10px;
}
.nav_proj_list li:first-child{
  border-top: 1px solid #dcdcdc;
}


/* .nav_proj_list li:nth-child(3n+1), */
.nav_proj_list li:nth-child(2n+1),
.nav_proj_list li:first-child{
/*  margin-left: 0;   */
}



/*.show_projects_btn.active {
  border-bottom: 20px solid #3A3A3A;
  }

.show_projects_btn.active:before{
  content: '';
  width: 100px;
  height: 20px;
  background: #d8d8d8;
  position: absolute;
  top: -20px;
  left: 0;
}
*/

.close_proj_list_btn{
  position: absolute;
  top: 20px;
  right: 20px;
}

@media screen and (min-width:45em) {

.nav_overlay {
  position: relative;
  top: auto;
  left: auto;
}

.footer .wrapper,
.nav_overlay .wrapper{
  max-width: 100%;
}

.nav_proj_list{
  position: absolute;
  margin-left: -16px;
}

.nav_overlay.nav_overlay_active{
  height: 680px;
}

.nav_proj_list li {
  margin-left: 16px;
  width: calc( 100% - 56px );
}

.nav_proj_list li:first-child{
  border-top: 0;
}

.nav_proj_list li a{
  font-size: 17px;
  line-height: 38px;
  height: auto;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  padding: 3px 0 0 0;
  color: #999;
}

}

@media screen and (min-width: 50em) {

  .nav_overlay.nav_overlay_active{
    height: 500px;
  }

  .nav_proj_list li {
    width: calc( 50% - 36px );
  }

}
@media screen and (min-width: 80em) {

  .nav_overlay.nav_overlay_active{
    height: 373px;
  }

  .nav_proj_list li {
    width: calc( 33.33333% - 25px );
  }

}


.news_container,
.proj_detail{
  margin-top: 31px;
}

.proj_detail{
  padding-left: 20px !important;
  padding-right: 20px !important;
}


@media screen and (min-width:45em) {

.proj_detail{
  padding-left: 60px !important;
  padding-right: 60px !important;
}


}

.proj_images{
  margin: 60px auto 0;
/*  padding: 0 27px;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
*/
  font-size: 0; /* eliminating spaces in inline-block alignment */
}


.first_image img,
.proj_images img{
  width: 100%;
  height: auto;
  vertical-align: top;
}
.post_img_container{
  display: inline-block;
/*  margin-bottom: 2%; */
  margin-bottom: 11px;
  overflow: hidden;
  vertical-align: top;
  font-size: 15px;
}
@media screen and (min-width:45em) {
  .post_img_container{
    margin-bottom: 22px;
  }
}

.first_image{
  overflow: hidden;
  margin: 0 0 10px 0;
}

/*
.post_img_container{
  display: none;
}
.post_img_container + .post_img_container{
  display: inline-block;
}
*/


.half_width{
  width: 100%;
}

.caption{
  font-size: 12px;
  background: url(img/caption_bg.png);
  background: rgba(0,0,0,.7);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: #fff;
  padding: 5px;
}


@media only screen and (min-width: 45em){

  .proj_images .half_width{
/*    width: 48%; */
    margin-right: 22px;
  }
  .proj_images .half_width + .half_width{
    margin-right: 0;
  }
  .proj_images .half_width + .half_width + .half_width{
    margin-right: 22px;
  }
  .proj_images .half_width + .half_width + .half_width + .half_width{
    margin-right: 0;
  }
  .proj_images .half_width + .half_width + .half_width + .half_width + .half_width{
    margin-right: 22px;
  }
  .proj_images .half_width + .half_width + .half_width + .half_width + .half_width + .half_width{
    margin-right: 0;
  }
  .proj_images .half_width + .half_width + .half_width + .half_width + .half_width + .half_width + .half_width{
    margin-right: 22px;
  }
  .proj_images .half_width + .half_width + .half_width + .half_width + .half_width + .half_width + .half_width + .half_width{
    margin-right: 0;
  }
  .proj_images .half_width + .half_width + .half_width + .half_width + .half_width + .half_width + .half_width + .half_width + .half_width{
    margin-right: 22px;
  }
  .proj_images .half_width + .half_width + .half_width + .half_width + .half_width + .half_width + .half_width + .half_width + .half_width + .half_width{
    margin-right: 0;
  }

  .proj_images .half_width{
    width: calc(50% - 11px);
  }

  .proj_images .half_width.standalone{
    /* single half-width images appear on the right in the first row */
    margin-left: 51%;
    margin-right: 0;
  }

  .post_img_container{
    display: inline-block;
    width: 100%;
  }


}


.sprite{
  display: inline-block;
  width: 94px;
  height: 74px;
  background: url(img/hs_Icons_web.png) no-repeat;
  background-size: 839px 140px;
/*  background-color: #fff;
  border-radius: 50%; */
  /* transition: all 300ms linear; */
}


/*
.footer ul .sprite{
  width: 46px;
  height: 46px;
  background-size: 420px 70px;
}
*/


.hide_feature_btn {
  background-position: -181px 20px;
  bottom: 30px;
  left: 30px;
/*  margin-left: -47px; */
  position: absolute;
}
.hide_feature_btn:hover{
  background-position: -181px -65px;
}

.link_mail{
  background-position: -481px 22px;
}
.link_mail:hover{
  background-position: -481px -63px;
}

.link_fb{
  background-position: -380px 23px;
}
.link_fb:hover{
  background-position: -380px -62px;
}

.link_li{
  background-position: -280px 0;
}
.link_li:hover{
  background-position: -280px -85px;
}

.back_to_top{
  background-position: -680px 20px;
/*  background-color: #fff; */
  position: fixed;
  bottom: 37px;
  right: 37px;
  display: block;
  opacity: 1;
  transition: opacity 300ms linear;
  -webkit-transform: translateZ( 0 );
}

@media only screen and (max-width: 45em){

.back_to_top{
  transform: scale(0.7);
  transform-origin: 100% 100%;

  -webkit-transform: scale(0.7);
  -webkit-transform-origin: 100% 100%;
  
  margin: 0 -10px -10px 0;
}

}

.back_to_top:hover{
  background-position: -680px -65px;
}

.hidden {
  opacity: 0;
/*  right: -100px; */
}

.footer_links{
	height: 53px;
	text-align: right;
	padding-right: 100px;
	vertical-align: bottom;
	padding-top: 20px;
	font-size: 15px;
}
@media only screen and (min-width: 45em){
	.footer_links{
		padding-right: 160px;
	}
}
/*

.footer ul .link_mail{
  background-position: -240px 10px;
}
.footer ul .link_mail:hover{
  background-position: -240px -32px;
}

.footer ul .link_fb{
  background-position: -190px 10px;
}
.footer ul .link_fb:hover{
  background-position: -190px -32px;
}


.footer ul .link_li{
  background-position: -140px 10px;
}
.footer ul .link_li:hover{
  background-position: -140px -32px;
}
*/


.wrapper.cms_content{
  min-height: 400px;
  /* max-width: 100%; */
}

.cms_content_sidebar ul{
  position: relative;
  left: -25px;
  top: -10px;
}

@media screen and (min-width:45em) {

.cms_content_left{
  width: 75%;
  max-width: 585px;
  float: left;
}
.cms_content_sidebar{
  float: right;
  margin-left: 5%;
  text-align: right;
  width: 20%;
}

.cms_content_sidebar ul{
  position: relative;
  right: -23px;
  left: auto;
}


}
.sidebar_list li{
  margin-bottom: 10px;
}

.cms_content h1,
.cms_content h2,
.cms_content h3,
.cms_content h4{
  margin-bottom: 10px;
  margin-top: 0;
}

.cms_content p + h1,
.cms_content p + h2,
.cms_content p + h3,
.cms_content p + h4{
  margin-top: 40px;
}


.cms_content p{
  margin-bottom: 1em;
}


/*
} foo
*/


/* Retina Display */
@media screen and (-webkit-min-device-pixel-ratio:2) {

}



/* Recommended Isotope styles */
/*
.isotope-item {
  z-index: 2;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}


.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
      -ms-transition-duration: 0.8s;
       -o-transition-duration: 0.8s;
          transition-duration: 0.8s;
}

.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
      -ms-transition-property:     -ms-transform, opacity;
       -o-transition-property:      -o-transform, opacity;
          transition-property:         transform, opacity;
}


.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
     -moz-transition-duration: 0s;
      -ms-transition-duration: 0s;
       -o-transition-duration: 0s;
          transition-duration: 0s;
}
*/
/* End: Recommended Isotope styles */








/***************
*
*  1. Arrows
*
****************/

.rsDefault .rsArrow {
  height: 100%;
  width: 44px;
  position: absolute;
  display: block;
  cursor: pointer;
  z-index: 21;
}
.rsDefault.rsVer .rsArrow {
  width: 100%;
  height: 44px;

}

.rsDefault.rsHor .rsArrowLeft { left: -70px; top: 0; }
.rsDefault.rsHor .rsArrowRight { right: -70px; top:0; }

.rsDefault .rsArrowIcn {
  width: 94px;
  height: 94px;
  top: 50%;
  left: 50%;
  margin-top:-47px;
  margin-left: -47px;

  position: absolute;
  cursor: pointer;
  background: url(img/hs_Icons_web.png) no-repeat;
  background-size: 839px 55px;
  background-color: #fff;
  border-radius: 50%;

  transition: all 300ms linear
}
.rsDefault .rsArrowIcn:hover {
  background-color: #eee;
}

.rsDefault.rsHor .rsArrowLeft .rsArrowIcn { background-position: 20px center; }
.rsDefault.rsHor .rsArrowRight .rsArrowIcn { background-position: -85px center; }




.rsDefault .rsArrowDisabled .rsArrowIcn { opacity: .2; filter: alpha(opacity=20);  *display: none; }




.rsDefault .rsBullets {
  position: absolute;
  z-index: 35;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  margin: 0 auto;

  text-align: center;
  line-height: 8px;
  overflow: hidden;
}
.rsDefault .rsBullet {
  width: 13px;
  height: 13px;
  display: inline-block;
  *display:inline;
  *zoom:1;
  padding: 6px 5px 6px;
}
.rsDefault .rsBullet span {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f1f1f1;
  cursor: pointer;
}
.rsDefault .rsBullet.rsNavSelected span {
  cursor: default;
}


.no_mobile{
  display: none;
}

.only_mobile{
  display: block;
}

@media screen and (min-width:45em) {

  .no_mobile{
    display: block;
  }
  .only_mobile{
    display: none;
  }

}


.header_text{
  margin-top: -18px;
  margin-bottom: 45px;
}
.header_text p{
  max-width: 550px;
  padding-right: 5vw;
}

@media (min-width: 45em){
  .header_text{
    margin-top: -33px;
    margin-bottom: 45px;
  }
  .header_text p{
    max-width: 100%;
    font-size: 35px;
    line-height: 48px;
  }
}



@media (min-width: 60em){
  .header_text{
    margin-top: -18px;
    margin-bottom: 60px;
  }
  .header_text p{
    max-width: 950px;
  }
}

.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }