/*

Kirby Starterkit

Author: Bastian Allgeier / Sascha Lack
URL:    http://getkirby.com
Email:  support@getkirby.com

*/




/* Reset
-------------------------------------------------- */
*, *:before, *:after {
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section, summary {
  display: block;
}


/* Pix
-------------------------------------------------- */
img {
  display: block;
  max-width: 100%;
}


/* Links
-------------------------------------------------- */
a {
  color: #000;
  text-decoration: none;
  transition: color .3s, background .3s, border .3s;
}
a:hover {
  color: #EF7F29;
}


/* Clearfix
-------------------------------------------------- */
.cf:after {
  content: "";
  display: table;
  clear: both;
}


/* Site
-------------------------------------------------- */
html {
  height: 101%;
  font-family: "faricy-new", sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
font-family: "faricy-new",sans-serif;
  margin: 0 auto;
  font-size: 1em;
  line-height: 1.4em;
  padding: 1.5em;
  max-width: 64em;
  background: #fff;
  color: #222;
}


/* Header
-------------------------------------------------- */
.header {
  border-bottom: 0px solid #EF7F29;
  margin-bottom: 1.5em;
}
.logo {
  display: block;
  margin-bottom: 1.5em;
}
.logo img {
  width: 2em;
}


/* Navigation
-------------------------------------------------- */
.menu a {
  display: block;
  color: black;
}
.menu a:hover {
  color: #EF7F29;
  text-decoration: none;
}
.menu .active {
  color: #EF7F29;
}
.menu li {
  list-style: none;
}
.menu > li {
  position: relative;
  float: left;
}
.menu > li > a {
  padding: .35em 0.5em 0em 0em !important; 
  font-weight: 700;

}

.subnav li {
  list-style: none;
}

.languages li{
  display: inline;
  list-style: none;
  float: right;
  margin-left: .5em;
  font-size: 0.7em;
}
/* min-widht: 800 px;
-------------------------------------------------- */

@media screen and (min-width: 768px) {
  body {
    padding: 3em;
  }
  .logo {
    float: left;
  }
  .menu {
    float: left;
    margin-right: -1em;
  }
  .menu > li {
    float: left;
  }
  .menu > li > a {
    padding: .35em 1em;
    border: 0;
  }
  .menu > li:hover .submenu {
    display: block;
  }

  
  h1 {
  	  font-size: 2.3em  !important;
  }

  .menu > li > a {
  padding: .25em 2.5em .25em 0em !important; 

}

.menu > li > a {
  line-height: 2.75em;
}

.teaser li {
  	float: left;
  	margin-right: 1%;
  	

 }

}

/* min-widht: 980 px;
-------------------------------------------------- */

@media screen and (min-width: 980px){
	  .leftcolumn {
  	width: 38% !important;
  	float: left;
  	
  }
  .rightcolumn{
	float: left;
	width: 62% !important;

}	
 .teaser li {
  	float: left;
  	margin-right: 3%;

  }

 .menu > li > a {
  padding: .25em 2em .25em 0em !important; 

}

.menu > li > a {
  line-height: 2.75em;
}

}



/* Headings
-------------------------------------------------- */
h1 {
  font-size: 1.7em;
  line-height: 1.25em;
  font-weight: 700;
  text-transform: uppercase;
  float: left;
  color: #EF7F29;
}
h2 {
  font-size: 2em;
  line-height: 1.25em;
  font-weight: 300;
  margin-bottom: .5em;
  color: #EF7F29;
}
h3 {
  font-size: 1.4em;
  line-height: 1.5em;
  font-weight: 400;
  margin-bottom: .5em;
    color: #EF7F29;

}
h4 {
  font-size: 1.125em;
  font-weight: 600;
  line-height: 1.5em;
  margin-bottom: .5em;
  color: #EF7F29;
}
h1 a, h2 a, h3 a, h4 a {
  color: inherit;
  border: 0 !important;
}

.small {
	font-size: .8em;
	font-weight: 400;
	color: black;
}

p {
	padding-top: 0.2em;
}
/* Main
-------------------------------------------------- */
.main {
  padding-bottom: 1.5em;
  border-bottom: 2px solid #EF7F29;
}
.main hr {
  margin: 3em 0;
  height: 2px;
  background: #ddd;
}
.main p,
.main figure,
.main ul,
.main ol {
  margin-bottom: 0.5em;
}
.main a {
  text-align: center;
}
.main a:hover {
  border-color: #222;
}

/* Text blocks */
.text ul,
.text ol {
  margin-left: 1em;
}

.leftcolumn{
	width: 100%;
	float: left;
	text-align: left;
	padding-right: 4em;
}


.rightcolumn{
	float: left;
	width: 100%;

}

.image {display: none;}

/* Project meta
-------------------------------------------------- */
.meta {
  margin-bottom: 1.5em;
}
.meta li {
  float: left;
  list-style: none;
  margin-right: 2em;
  color: #EF7F29;
}
.meta li b {
  font-weight: 400;
  color: #000;
  padding-right: .25em;
}


/* Project teaser
-------------------------------------------------- */
.teaser {
  list-style: none;
}
.teaser li {
  margin-bottom: 1.75em;
  list-style: none;
  height: 180px;

}


.thumb_textframe {
	
	visibility: hidden;
	position: relative;
	margin-top: -60px;

}

.thumb_title{
	display: table-cell;
	height: 50px;
	text-align: left;
	font-weight: 700;
	color: #EF7F29;
	padding-left: .5em;
	vertical-align: bottom;
}

.thumb_title a {
	color: #EF7F29;
}

.video1 iframe {
  margin: 2rem 0;
  width: 100%;
  aspect-ratio: 16/9;
}

.video2 iframe {
  margin: 2rem 0;
  width: 100%;
  aspect-ratio: 4/3;
}




/* Next/Prev nav
-------------------------------------------------- */
.nextprev {
  padding: 1em 0;
}
.nextprev a {
  border: 0;
}
.nextprev .prev {
  float: left;
}
.nextprev .next {
  float: right;
}


/* Footer
-------------------------------------------------- */
.footer {
  padding: 1em 0 6em;
  font-size: .8em;
}
.copyright {
  float: right;
}
.subnav {
  float: left;
}
.subnav a b {
  color: #EF7F29;
  padding-left: .25em;
}

.subnav ul li {
  display: inline;
  padding-right: 2em;
}


/* min-widht: 1200 px;
-------------------------------------------------- */
@media screen and (min-width: 1229px) {
  .teaser li {
  	float: left;
    margin-right: 4%;
  	

  }
  .teaser li:first-child {
    margin-left: 0;
  }
  .leftcolumn {
  	width: 34%;
  	float: left;
  }
  .rightcolumn{
	float: left;
	width: 66%;

}
h1 { 
  font-size: 2.44em !important;

  }

  body {
  	font-size: 1.2em;
  }

  .menu > li > a {
  padding: .25em 1.5em .25em 0em !important; 

}