/******************* RAILS DEFAULTS *******************************************************************************************/
/*TODO override/customize */
body { background-color: #fff; color: #333; }

body, p, ol, ul, td {
  font-family: verdana, arial, helvetica, sans-serif;
  font-size:   13px;
  line-height: 18px;
}

pre {
  background-color: #eee;
  padding: 10px;
  font-size: 11px;
}

a {
	color: #000; 
	text-decoration: none;
}
a:visited { color: #666; }
a:active { outline: none; }

.fieldWithErrors {
  padding: 2px;
  background-color: red;
  display: table;
}

#errorExplanation {
  width: 400px;
  border: 2px solid red;
  padding: 7px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  background-color: #f0f0f0;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: -7px;
  background-color: #c00;
  color: #fff;
}

#errorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 5px;
}

#errorExplanation ul li {
  font-size: 12px;
  list-style: square;
}

#flashmessage{
	background: rgba(255,255,255,0.5);
	color: darkgreen;
}

/****  HTML5 SHIM *********************************************************************************************************************/
section, article, aside, header, footer, nav, dialog, figure, figcaption, small {
 display: block;
}

/**  FONTS  ***************************************************************************************************************************/
/*
 * These font declarations have been generated by fontsquirrel.com and are based on the work of Paul Irish.
 * http://paulirish.com/2009/bulletproof-font-face-implementation-syntax/
 * The fonts included are copyrighted by the vendor listed below.
 *
 * @vendor:     Yanone
 * @vendorurl:  http://www.yanone.de
 * @licenseurl: http://www.fontsquirrel.com/license/Yanone-Kaffeesatz
 */
@font-face {
	font-family: 'YanoneKaffeesatzThin';
	src: url('YanoneKaffeesatz-Thin.eot');
	src: local('Yanone Kaffeesatz Thin'), local('YanoneKaffeesatz-Thin'), url('YanoneKaffeesatz-Thin.woff') format('woff'), url('YanoneKaffeesatz-Thin.otf') format('opentype'), url('YanoneKaffeesatz-Thin.svg') format('svg');
}

@font-face {
	font-family: 'YanoneKaffeesatzBold';
	src: url('YanoneKaffeesatz-Bold.eot');
	src: local('Yanone Kaffeesatz Bold'), local('YanoneKaffeesatz-Bold'), url('YanoneKaffeesatz-Bold.woff') format('woff'), url('YanoneKaffeesatz-Bold.otf') format('opentype'), url('YanoneKaffeesatz-Bold.svg') format('svg');
}

@font-face {
	font-family: 'YanoneKaffeesatzLight';
	src: url('YanoneKaffeesatz-Light.eot');
	src: local('Yanone Kaffeesatz Light'), local('YanoneKaffeesatz-Light'), url('YanoneKaffeesatz-Light.woff') format('woff'), url('YanoneKaffeesatz-Light.otf') format('opentype'), url('YanoneKaffeesatz-Light.svg') format('svg');
}

@font-face {
	font-family: 'YanoneKaffeesatzRegular';
	src: url('YanoneKaffeesatz-Regular.eot');
	src: local('Yanone Kaffeesatz Regular'), local('YanoneKaffeesatz-Regular'), url('YanoneKaffeesatz-Regular.woff') format('woff'), url('YanoneKaffeesatz-Regular.otf') format('opentype'), url('YanoneKaffeesatz-Regular.svg') format('svg');
}
@font-face {
	font-family: 'VollkornRegular';
	src: url('vollkorn.eot');
	src: local('Vollkorn Regular'), local('Vollkorn'), url('vollkorn.woff') format('woff'), url('vollkorn.otf') format('opentype'), url('vollkorn.svg') format('svg');
}


/**  APP  ***************************************************************************************************************************/

body{
	background: #999 url(../images/background.jpg) fixed;
	margin: 0;
}

img{
	border: none;
}

article>header{
  position: absolute;
  top: 10px;
  margin-left: 170px;
}
article>header h1,
article>header h2,
article>header a,
article>header a:visited
{
  color: #ffb800 !important;
  text-shadow: none !important;
}
article>header h1{
	font-size: 175%;
  line-height: 1em;
}
article>header h2{
	font-size: 150%;
  line-height: 1em;
}

*{
	z-index: 100;     /*XXX warum? */
}

.translation_missing{
	text-decoration: blink;
}

label{
	font-weight: bolder;
	text-transform: lowercase;
	font-variant: small-caps;
}

aside{
	float: right;
	clear: right;
}


article{
	padding: 10px;
}



article.about{			
  background: rgba(255, 245, 120, 0.5);
}
article.workshops{			
  background: rgba(255, 230, 100, 0.5);
}
article.welding{			
  background: rgba(255, 215, 80, 0.5);
}
article.contact{
	background: rgba(255, 200,  60, 0.5); 
}
  article.contact img{
    max-width: 100%;
  }
article.links{
	background: rgba(255, 180,  30, 0.5); 
}
article.galleries,
article.sections{
	background: rgba(255,  160,  0, 0.5); 
}
article.section_1{
	background: rgba(255,  140,  0, 0.5); 
}
article.section_2{
	background: rgba(255,  120,  0, 0.5); 
}
article.section_3{
	background: rgba(255,  100,  0, 0.5); 
}
article.section_4{
	background: rgba(255,  80,  0, 0.5); 
}
article.section_5{
	background: rgba(255,  60,  0, 0.5); 
}
article.section_6{
	background: rgba(255,  40,  0, 0.5); 
}
article.videos{
	background: rgba(255,  20,  0, 0.5); 
}
article.comments{
	background: rgba(255,   0,  0, 0.5); 
}

article.galleries,
article.pictures,
article.current{
	color: #000;
}
	article.galleries a,
	article.pictures a,
  article.current a{
		color: #000;
		text-shadow: 1px 1px 5px #CCCCCC;
	}
	article.galleries figure{
    margin: 0;
		padding-top: 2em;
	}
    article.galleries figure img{
      width: 100%;
      height: auto;
    }


section.gallery{
	margin: 0 0 20px 0;
	width: 40em;
	height: 64px;
}
  section.gallery.narrow{
    width: 128px;
  }
  section.gallery.wide{
    width: 40em;
  }
	section.gallery img{
		float: left;
/*		clear: left;  */
		margin-right: 10px;
	}
    section.gallery.videos img{
      border: 10px solid black;
      border-image: url(filmstrip-vert.png) 25 25 round;
      border-top: none;
      border-bottom: none;
      outline: 1px solid black;
    }
	section.gallery a{
		text-decoration: none;
	}
	section.gallery h2{
		margin: 0;
	}

section.thumbnails{
	position: fixed;
	bottom: 0;
	height: 120px;
	width: 100%;
	padding: 10px;
	left: 0;		/*XXX should be inherit or 180px, but then it gets too wide as width is still 100% */
	background: rgba(255, 255, 255, 0.3);
	text-align: center;
	white-space: nowrap;
	overflow: auto;
	overflow-y: hidden;
}
  section.thumbnails a.thumb {
		opacity: 0.5;	filter:alpha(opacity=50);
		padding: 10px;
	}
	  section.thumbnails a.thumb:focus {
	  	outline: none;
			opacity: 1.0;	filter:alpha(opacity=100);
		}
    section.thumbnails a.thumb.current {
      opacity: 1.0; filter:alpha(opacity=100);
    }
	    section.thumbnails a.thumb.current img {
        outline: 10px solid #fff;
        outline: 10px solid rgba(255,255,255,0.5);
	    }



a.zoom:hover{
	border-bottom: none;
  cursor: -moz-zoom-in; 
  cursor: -webkit-zoom-in; 
  cursor: url(../images/zoom-in.cur);
}

figure.picture{
  text-align: center;
}
	figure.picture img{
		margin: auto;
  }

article.workshops{
}
	article.workshops section {
	  max-width: 40em;
	}
  	article.workshops section p,
  	article.workshops section li{
  		font-family: "YanoneKaffeesatzRegular", "Arial Narrow";
      font-size: 22px;
  	  line-height:1.5em; 
  	  padding-bottom: 1em;
  	}
	article.workshops div.figures{
		float: right;
	}
  	
article.welding{
}
	article.welding section {
	  max-width: 40em;
	}
  	article.welding section p{
  		font-family: "YanoneKaffeesatzRegular", "Arial Narrow";
      font-size: 22px;
  	  line-height:1.5em; 
  	  padding-bottom: 1em;
  	}
	article.welding figure{
		clear: both;
	}
  	




.link{
	min-height: 64px;
  padding: 1em;
}
	.link:hover{
		background: rgba(255,255,255,0.5);
		z-index: 1000;
	}
	.link img{
		float: left;
    margin-right: 5px;
	}
	.link a{
		text-decoration: none;
		color: inherit;
	}
  .link legend p{
    margin: 0;
  }

table.exhibitions td{
	padding: 10px;
}

	.comments dialog.comments dt{
    max-width: 72em;
		padding-top: 2em;
	}
	.comments dialog.comments header{
		float: right;
		clear: right;
	}
	.comments dialog.comments dd{
		background: rgba(255,255,221,0.7);
		padding: 0.5em 1em;
		max-width: 60em;
	}
	.comments dialog.comments .wrote{
		font-size: x-small;
	}
  .comments form.new_comment{
    padding: 3em;
		width: 60em;
    background: rgba(255,255,221,0.5);
  }
	  .comments form.new_comment textarea{
	    width: 100%;
	  }

article.videos section{
	margin: auto;
}

/*
a.maplink{
	background: url(/images/globus.png) no-repeat;
	padding-left: 16px;
}
*/
a.maplink::before{ content:'🌏'; } /* U+1F30F 	EARTH GLOBE ASIA-AUSTRALIA */
a.doclink::before{ content:'📄'; } /* U+1F4C4 	PAGE FACING UP */

.controls{
	opacity: 0.7;  filter: alpha(opacity=70);
}
  .controls span{
    font-size: xx-large; 
    color: white;
  }
	.controls:hover{
		opacity: 0.8;  filter: alpha(opacity=80);
	}
		.controls a:hover{
			opacity: 1.0;  filter: alpha(opacity=100);
			border: none;
		}
