/* 
 * HTML5 ✰ Boilerplate
 *
 * What follows is the result of much research on cross-browser styling. 
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 *
 * Detailed information about this CSS: h5bp.com/css
 * 
 * ==|== normalize ==========================================================
 */


 @font-face {
     font-family: 'OpenSansLight';
     src: url('../css/fonts/OpenSans-Light-webfont.eot');
     src: url('../css/fonts/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
          url('../css/fonts/OpenSans-Light-webfont.woff') format('woff'),
          url('../css/fonts/OpenSans-Light-webfont.ttf') format('truetype'),
          url('../css/fonts/OpenSans-Light-webfont.svg#OpenSansLight') format('svg');
     font-weight: normal;
     font-style: normal;

 }

 @font-face {
     font-family: 'OpenSansLightItalic';
     src: url('../css/fonts/OpenSans-LightItalic-webfont.eot');
     src: url('../css/fonts/OpenSans-LightItalic-webfont.eot?#iefix') format('embedded-opentype'),
          url('../css/fonts/OpenSans-LightItalic-webfont.woff') format('woff'),
          url('../css/fonts/OpenSans-LightItalic-webfont.ttf') format('truetype'),
          url('../css/fonts/OpenSans-LightItalic-webfont.svg#OpenSansLightItalic') format('svg');
     font-weight: normal;
     font-style: normal;

 }

 @font-face {
     font-family: 'OpenSansRegular';
     src: url('../css/fonts/OpenSans-Regular-webfont.eot');
     src: url('../css/fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
          url('../css/fonts/OpenSans-Regular-webfont.woff') format('woff'),
          url('../css/fonts/OpenSans-Regular-webfont.ttf') format('truetype'),
          url('../css/fonts/OpenSans-Regular-webfont.svg#OpenSansRegular') format('svg');
     font-weight: normal;
     font-style: normal;

 }

 @font-face {
     font-family: 'OpenSansItalic';
     src: url('../css/fonts/OpenSans-Italic-webfont.eot');
     src: url('../css/fonts/OpenSans-Italic-webfont.eot?#iefix') format('embedded-opentype'),
          url('../css/fonts/OpenSans-Italic-webfont.woff') format('woff'),
          url('../css/fonts/OpenSans-Italic-webfont.ttf') format('truetype'),
          url('../css/fonts/OpenSans-Italic-webfont.svg#OpenSansItalic') format('svg');
     font-weight: normal;
     font-style: normal;

 }

 @font-face {
     font-family: 'OpenSansSemibold';
     src: url('../css/fonts/OpenSans-Semibold-webfont.eot');
     src: url('../css/fonts/OpenSans-Semibold-webfont.eot?#iefix') format('embedded-opentype'),
          url('../css/fonts/OpenSans-Semibold-webfont.woff') format('woff'),
          url('../css/fonts/OpenSans-Semibold-webfont.ttf') format('truetype'),
          url('../css/fonts/OpenSans-Semibold-webfont.svg#OpenSansSemibold') format('svg');
     font-weight: normal;
     font-style: normal;

 }

 @font-face {
     font-family: 'OpenSansSemiboldItalic';
     src: url('../css/fonts/OpenSans-SemiboldItalic-webfont.eot');
     src: url('../css/fonts/OpenSans-SemiboldItalic-webfont.eot?#iefix') format('embedded-opentype'),
          url('../css/fonts/OpenSans-SemiboldItalic-webfont.woff') format('woff'),
          url('../css/fonts/OpenSans-SemiboldItalic-webfont.ttf') format('truetype'),
          url('../css/fonts/OpenSans-SemiboldItalic-webfont.svg#OpenSansSemiboldItalic') format('svg');
     font-weight: normal;
     font-style: normal;

 }

 @font-face {
     font-family: 'OpenSansBold';
     src: url('../css/fonts/OpenSans-Bold-webfont.eot');
     src: url('../css/fonts/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'),
          url('../css/fonts/OpenSans-Bold-webfont.woff') format('woff'),
          url('../css/fonts/OpenSans-Bold-webfont.ttf') format('truetype'),
          url('../css/fonts/OpenSans-Bold-webfont.svg#OpenSansBold') format('svg');
     font-weight: normal;
     font-style: normal;

 }

 @font-face {
     font-family: 'OpenSansBoldItalic';
     src: url('../css/fonts/OpenSans-BoldItalic-webfont.eot');
     src: url('../css/fonts/OpenSans-BoldItalic-webfont.eot?#iefix') format('embedded-opentype'),
          url('../css/fonts/OpenSans-BoldItalic-webfont.woff') format('woff'),
          url('../css/fonts/OpenSans-BoldItalic-webfont.ttf') format('truetype'),
          url('../css/fonts/OpenSans-BoldItalic-webfont.svg#OpenSansBoldItalic') format('svg');
     font-weight: normal;
     font-style: normal;

 }

 @font-face {
     font-family: 'OpenSansExtrabold';
     src: url('../css/fonts/OpenSans-ExtraBold-webfont.eot');
     src: url('../css/fonts/OpenSans-ExtraBold-webfont.eot?#iefix') format('embedded-opentype'),
          url('../css/fonts/OpenSans-ExtraBold-webfont.woff') format('woff'),
          url('../css/fonts/OpenSans-ExtraBold-webfont.ttf') format('truetype'),
          url('../css/fonts/OpenSans-ExtraBold-webfont.svg#OpenSansExtrabold') format('svg');
     font-weight: normal;
     font-style: normal;

 }

 @font-face {
     font-family: 'OpenSansExtraboldItalic';
     src: url('../css/fonts/OpenSans-ExtraBoldItalic-webfont.eot');
     src: url('../css/fonts/OpenSans-ExtraBoldItalic-webfont.eot?#iefix') format('embedded-opentype'),
          url('../css/fonts/OpenSans-ExtraBoldItalic-webfont.woff') format('woff'),
          url('../css/fonts/OpenSans-ExtraBoldItalic-webfont.ttf') format('truetype'),
          url('../css/fonts/OpenSans-ExtraBoldItalic-webfont.svg#OpenSansExtraboldItalic') format('svg');
     font-weight: normal;
     font-style: normal;

 }



/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Force vertical scrollbar in non-IE
 * 3. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body { margin: 0; font-size: 11px; line-height: 1.231; }

body, button, input, select, textarea { font-family: 'OpenSansRegular', sans-serif; color: #222; }

/* 
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */

::-moz-selection { background: #000; color: #fff; text-shadow: none; }
::selection { background: #000; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a { color: inherit; }
a:visited { color: inherit; }
a:hover { color: inherit; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/e 
 */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

/*
 * Correct overflow not hidden in IE9 
 */

svg:not(:root) { overflow: hidden; }


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/* 
 * 1. Correct color not inheriting in IE6/7/8/9 
 * 2. Correct alignment displayed oddly in IE6/7 
 */

legend { border: 0; *margin-left: -7px; padding: 0; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 * 2. Correct inner spacing displayed oddly in IE6/7
 */

button, input { line-height: normal; *overflow: visible; }

/*
 * Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7
 */

table button, table input { *overflow: auto; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

/* 
 * Remove inner padding and border in FF3/4: h5bp.com/l 
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/* 
 * 1. Remove default vertical scrollbar in IE6/7/8/9 
 * 2. Allow only vertical resizing
 */

textarea { overflow: auto; vertical-align: top; resize: vertical; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }



/* ==|== primary styles =====================================================
   Author: Kum
   ========================================================================== */

h1, h2 {font-family: 'OpenSansBold', sans-serif; font-size: 1.9em; text-transform: uppercase; font-weight: normal; margin: 0 0 0.4em 0;}
h3 {font-family: 'OpenSansLightItalic', sans-serif; font-size: 1.6em; font-weight: normal; margin: 0 0 0.4em 0;}

hgroup {
  display: block;
  margin-bottom: 2.2em;
}

p {
  font-size: 1.1em;
  line-height: 1.5em;
  margin: 0 0 0.9em 0;
}

figure {
  margin-bottom: 1.8em;
}

#logo {
  margin-bottom: 2.6em;
}

#cboxLoadedContent {
  background: white;
  border: 1px solid #e9e9e9;
  padding: 15px 10px 25px 10px;
}

.link-imprint {
  z-index: 99;
  position: fixed;
  top: 425px;
  left: 10px;
  display: block;

  -moz-transform-origin: top left;  
  -webkit-transform-origin: top left;
  -ms-transform-origin: top left;
  -o-transform-origin: top left;
  transform-origin: top left;

  -moz-transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);

  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);

  text-decoration: none;
  color: #999;
}

.eventloop {width: 298px; float: left; margin: 10px; padding: 15px 10px 25px 10px; border: 1px solid #e9e9e9; background: #fff}
/*.eventloop */ figcaption {display: block; font-size: .8em; color: #999; padding: 3px 0 3px;}
/*.eventloop h2 {font-family: 'OpenSansBold', sans-serif; font-size: 2.0em; text-transform: uppercase; font-weight: normal; margin: 0 0 0.4em 0;}
.eventloop h3 {font-family: 'OpenSansLightItalic', sans-serif; font-size: 1.6em; font-weight: normal; margin: 0 0 1em 0;}
.eventloop p { font-size: 1.1em; margin: 0 0 1.2em 0;}
*/
.eventloop img { max-width: 100%; margin: 0;}

a:focus {outline: 0}
a:hover {color: #666}
a.moreinfo {display: block; color: #000; font-weight: bold; margin: 0 0 10px 0}


/*.corner { background: #000; color: #fff; border-color: #000} */

.masonry,
.masonry .masonry-brick {
  -webkit-transition-duration: 0.7s;
     -moz-transition-duration: 0.7s;
       -o-transition-duration: 0.7s;
          transition-duration: 0.7s;
}

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

.masonry .masonry-brick {
  -webkit-transition-property: left, right, top;
     -moz-transition-property: left, right, top;
       -o-transition-property: left, right, top;
          transition-property: left, right, top;
}

/* Lars */
.placeholder {background: #f9f9f9}
a.facebooklink {background: transparent url(imgs/facebook_32x32.png) 0 50% no-repeat; padding: 12px 0 12px 40px; display: inline-block; margin: 0 0 0 0; color: #4D68A2}
#ddorf_map {position: absolute; left: 0; top: 0; width: 100%; height: 100%; float: right; z-index: 0}
body#home {padding: 0 0 0 60px}
body#map #infobox a {text-decoration: none}
body#map #infobox a:hover {text-decoration: underline}

#home #infobox {overflow: hidden}
/*#home #infobox img {width: auto; margin: 0 0 10px 0}*/
#home #infobox #sponsors {margin-top: 30px; width: 95%; height: 740px; background: #fff url(../imgs/sponsors.png) 50% 0 no-repeat}
#sponsors a {display: block; overflow: hidden; text-indent: -2000px; width: 200px}
#sponsor01 {height: 94px}
#sponsor02 {height: 63px}
#sponsor03 {height: 50px}
#sponsor04 {height: 60px}
#sponsor05 {height: 73px}
#home #infobox #foursquare {width: 95%; height: 80px; background: #fff url(/imgs/foursquare.png) 50% top no-repeat; padding: 25px 0 0 0; text-align: center; font-size: 1em}
#home #infobox #twitter {width: 100%; height: 80px; background: #fff url(/imgs/twitter.png) 50% top no-repeat; padding: 30px 0 0 0; text-align: center; font-size: 1em}
#home #infobox #foursquare p, #home #infobox #twitter p {font-size: 1em}
#home #infobox .fb-like {width: 95%; overflow: hidden; padding: 0 0 10px 0 !important}

#infobox small {color: #666; font-size: 1em}
/*#infobox img {width: 200px; margin: 0}*/
#infobox h2 { font-size: 11px; margin: 0 0 0 0; padding: 0}
#infobox h3 { font-size: 12px; margin: 0 0 15px 0; padding: 0}

a.maplink {display: block; width: 100%; height: auto; background: transparent url(../imgs/map_marker.png) 0 50% no-repeat; padding: 5px 0 5px 20px}
#lglink, #locmaplink, #pressmateriallink {
  font-family: 'OpenSansBold';
  text-transform: uppercase;
  position: fixed;
  z-index: 2;
  left: 0px;
  display: block;
  padding: 10px 20px;

  -moz-transform-origin: top left;  
  -webkit-transform-origin: top left;
  -ms-transform-origin: top left;
  -o-transform-origin: top left;
  transform-origin: top left;


  -moz-transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);

  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);

  text-decoration: none;
  color: white;
  background: #cc3b30;
  text-shadow: 1px 0 1px rgba(0,0,0,.4);

  -moz-transition: all 0.2s;
  -webkit-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}

#lglink {
top: 100px;
}

#locmaplink {
top: 232px;
}
#pressmateriallink {
top: 375px;
}

#locmaplink:focus, #locmaplink:hover, #pressmateriallink:focus, #pressmateriallink:hover {
  outline: 0;
  padding-top: 15px;
}

.csstransforms #locmaplink {
  top: 232px;
}

.alert {color: #CC3B30; font-weight: bold; padding: 5px; border: 1px dashed #CC3B30}
#facebook {width: 240px; margin: 80px auto 10px auto}

/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }



/* ==|== media queries ======================================================
   PLACEHOLDER Media Queries for Responsive Design.
   These override the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 480px) {
  /* Style adjustments for viewports 480px and over go here */

}

@media only screen and (min-width: 768px) {
  /* Style adjustments for viewports 768px and over go here */

}



/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
  .eventloop {
    position: static !important;
    width: 80% !important;
    margin-left: 10%;
    }
  .eventloop img {
    width: 20%;
  }
  body#home {
    padding: 0;
    margin: 0;
  }
  #sponsors, #foursquare, #twitter, #facebook, a.maplink {
    display: none !important;
  }
}
