/* Site Styles
================================================== */

@font-face {
    font-family: 'g8i';
    src: url('../fonts/GaramondNo8-Italic-webfont.eot');
    src: url('../fonts/GaramondNo8-Italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/GaramondNo8-Italic-webfont.woff2') format('woff2'),
         url('../fonts/GaramondNo8-Italic-webfont.woff') format('woff'),
         url('../fonts/GaramondNo8-Italic-webfont.ttf') format('truetype'),
         url('../fonts/GaramondNo8-Italic-webfont.svg#garamondno8italic') format('svg');
    font-weight: normal;
    font-style: italic;
}

body.site { background: #666666 url('../images/bg-verlauf.jpg') 50% 0 repeat-y; padding: 0; margin: 0;}
#headerbar { display: block; width: 100%; background: #f5f5f5 url('../images/bg-header.png') 0 100% repeat-x; overflow: visible; z-index: 100; }
#header { display: block; position: relative; background-color: #ffffff; z-index: 110; -moz-box-shadow: 0 0 20px rgba(0,0,0,.6); -webkit-box-shadow: 0 0 20px rgba(0,0,0,.6); box-shadow: 0 0 20px rgba(0,0,0,.6); }

#logo { cursor: pointer; position: absolute; z-index: 80; margin-left: -45px; width: 30px; height: 120px;  border-bottom-right-radius: 0px; background-color: #333; color: #fff; padding: 5px; }
#logo_text { height: 85px;  position: absolute; left: 5px; }
#logo_icon { height: 25px; position: absolute; left: 5px; bottom: 5px; }
#logo_small img { display: none; position: relative; max-width: 240px; }

/* Kartenreiter oben */
#sections { display: block; margin: 0 10px; }
#topics { margin: 0px 10px 20px 10px;  min-height: 67px;  }
#sections .tab { float: left; width: 195px;  }
#sections .tab a { display: inline-block;  margin: 0 10px 0 0; padding: 6px 10px 0 10px;  opacity: 0.8; font-size: 16px; line-height: 16px; height: 28px; font-family: "Open Sans Condensed", arial, helvetica, sans-serif; font-weight: 700; text-decoration: none; letter-spacing: 2px; box-shadow: 0px 0px 2px rgba(0,0,0,.2); background-color: #ffffff;  border-bottom-right-radius: 2px; border-bottom-left-radius: 2px;  }
#sections a.spannung { color: #b1071b; }
#sections a.kultur { color: #ee7000;  }
#sections a.digital { color: #488fdb; }
#sections .tab a:hover, #sections .tab a.active { padding-top: 7px; opacity: 1; text-decoration: none; box-shadow: 0 0 5px rgba(0,0,0,.6); }
#header div.search { float: right; display: inline-block; width: 190px; padding: 3px 10px 4px 10px;  margin: 0 8px 5px 8px; color: #666; border: 1px solid #ccc; border-top: none; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; background-color: #f5f5f5; opacity: 1; }
#searchword { margin: 0; padding: 0; border: 0; background-color: #f5f5f5; display: inline; float: left; width: 140px; font-size: 14px;  }
#searchword:focus{ outline: 0; }
.search .glyphicon { margin-top: 2px; }

#scrollbody { background: #ffffff url(../images/bg-main.png) 50% 0 repeat-y; -moz-box-shadow: 0 0 20px rgba(0,0,0,.6); -webkit-box-shadow: 0 0 20px rgba(0,0,0,.6); box-shadow: 0 0 20px rgba(0,0,0,.6); }
#gallery { display: block; overflow: hidden; border-bottom: 1px solid #aaa; }

.fullcontainer { margin: 0 -15px; }
.rightbar { padding: 0 20px; }
.seitenteaser {   display: block; float: left; margin: 0 10px 10px 0; }
#right img.cover { max-width: 120px; }
.cover { margin-bottom: 10px; }
.clearfix { clear: both; }
.showsmall { display: none; }
.hidesmall { display: inline; text-transform: uppercase; }

#right ul { margin: 0; padding: 0; list-style: none;}
#right ul li { margin: 0; padding: 0; padding-bottom: 5px; margin-bottom: 5px; }
#right .moduletable { margin-bottom: 20px; }

#menu { background-color: #666666; display: block; height: auto; padding: 0 15px; }
#main { border-top: 1px solid #fff; padding: 0 0 30px 10px; }
#footer {
    background: #444;
    background: -moz-linear-gradient(top, rgba(34,34,34,1) 1%, rgba(68,68,68,1) 15%, rgba(68,68,68,1) 100%); /* FF3.6+ */
    background: -webkit-linear-gradient(top, rgba(34,34,34,1) 1%,rgba(68,68,68,1) 15%,rgba(68,68,68,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -ms-linear-gradient(top, rgba(34,34,34,1) 1%,rgba(68,68,68,1) 15%,rgba(68,68,68,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(34,34,34,1) 1%,rgba(68,68,68,1) 15%,rgba(68,68,68,1) 100%); /* W3C */
    color: #fff; padding: 20px 30px;
}
#footer a { color: #ccc;}
#footer a:hover { color: #fff; }
#footer small { color: #aaa;}

a.menuimage { opacity: 0.6; }
a.menuimage:hover { opacity: 1; }
#sociallinks a { margin: 0 5px; }

#slideshow { padding: 0; background-color: #f5f5f5; z-index: 1; overflow: hidden; width: 720px; height: 190px; }
#gallery .column { height: 190px; }
#rightmenu { background-color: #ECECEC; }

/* Slideshow */
.kb-slide{ position: absolute; z-index: 1; opacity: 0; cursor: pointer; }
.kb-slide img{ position: relative; -webkit-transform: translate3d(0,0,0); -moz-transform: translate3d(0,0,0); -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; }
#kb-label{ background-color: #fff; max-width: 80%; position: absolute; margin-top: 50px; min-height: 30px; z-index: 5; padding: 10px 30px; font-weight: 500; display: none; opacity: 0.8 }
#kb-label .title { font-size: 2em; color: #e3000b; line-height: 1.1em; font-family: 'EB Garamond', 'times new roman', times ,serif; }
#kb-label .stitle { font-size: 1.6em; color: #444; font-family: 'g8i', 'times new roman', times ,serif; font-style: italic; }
.loader {
    width:32px;
    height:32px;
    top:50px;
    left:50px;
    border:5px solid rgba(128,128,128,0.9);
    opacity:.9;
    border-top:5px solid rgba(0,0,0,0);
    border-left:5px dotted rgba(0,0,0,0);
    border-radius:32px;
    -moz-animation:spin .7s infinite linear;
    -webkit-animation:spin .7s infinite linear;
}

@-moz-keyframes spin {
    0% { -moz-transform:rotate(0deg); }
    100% { -moz-transform:rotate(360deg); }
}
@-moz-keyframes spinoff {
    0% { -moz-transform:rotate(0deg); }
    100% { -moz-transform:rotate(-360deg); }
}
@-webkit-keyframes spin {
    0% { -webkit-transform:rotate(0deg); }
    100% { -webkit-transform:rotate(360deg); }
}
@-webkit-keyframes spinoff {
    0% { -webkit-transform:rotate(0deg); }
    100% { -webkit-transform:rotate(-360deg); }
}

.item-row { padding-bottom: 15px; margin-bottom: 15px;  background: url("../images/dots.png") 0 100% repeat-x; }
.subtitle { font-style: italic; }
.highlight { background-color: #ffee80 }

/* menus generell */
ul.nav { list-style: none; margin: 0; padding: 0; display: inline;  }
ul.nav li { vertical-align:top;  margin: 0; padding: 0; list-style: none; background: none; width: auto; margin-right: 10px;}
ul.nav li a { color: #666666; display: block; padding: 3px 0; text-decoration: none; font-weight: 400; text-transform: uppercase; font-size: 12px; }
ul.nav li a:hover, ul.nav li.current a, ul.nav li.active a { text-decoration: none; color: #000;}

/* oberes menü */
#menu ul.menu { list-style: none; margin: 0 5px; padding: 0;  }
#menu ul.menu ul { margin: 0; padding: 0; }
#menu ul.menu li { vertical-align:top;  margin: 0; padding: 0; list-style: none; display: inline-block; *display: inline; *zoom: 1; background: none; width: auto;}
#menu ul.menu li ul { width: 220px; w\idth: 220px; margin:0; text-align:left; position: absolute; z-index: 999; left: -999em;  height: auto; -moz-box-shadow: 2px 2px 5px rgba(0,0,0,.4); -webkit-box-shadow: 2px 2px 5px rgba(0,0,0,.4); box-shadow:  2px 2px 5px rgba(0,0,0,.4); border: 1px solid #ccc; background: #fff; }
#menu ul li:hover ul { left: auto; }

/** hauptebene **/
#menu ul.menu>li>a { font-weight: 600; color: #ccc; display: block; height: 25px;  line-height: 25px; overflow: hidden; margin-right: 100px; padding: 0 10px 1px 10px; font-size: 14px; }
#menu ul.menu>li.active>a {color: #fff; }
#menu ul.menu>li>a:hover { background-color: #444444;  color: #fff; }

#menu ul.nav>li:last-child>a { margin: 0; }

/** unterebenen **/
#menu ul li ul li { display:block; height: auto !important; overflow: visible; }
#menu ul li ul li a , .autocomplete-suggestion { color: #666666; font-size: 12px; padding: 5px 15px; margin: 0; display: block; height: auto; line-height: 1.2em; text-align: left; }
#menu ul li ul li a {  width: 218px; w\idth: 218px; }
#menu ul li ul li a:hover, .autocomplete-selected { color: #000; background-color: #eee !important; opacity: 1; font-weight: 400; font-size: 12px; }

#menu ul li ul li a:hover {  background-color: #666666; color: #000000; }
#menu ul li ul li.active a, #menu ul li ul li.current a { color: #000000; }

/* 2 unterebene */
#menu ul li:hover ul li ul { left: -999em; }
#menu ul li ul li:hover ul { left: 160px; margin-top: -26px; }

#toggletopics { margin: 0 -15px; clear: both; display: none; padding: 5px 15px; border-top: 1px solid #ccc; cursor: pointer; background-color: #ECECEC; color: #666; }
#toggletopics:hover { background-color: #e0e0e0; }
#topics ul.nav { float: left; display: inline-block; margin: 0 5px 0 10px; min-width: 180px; }
#topics ul.nav a { font-size: 11px; padding: 2px 0; }

/* pagination */
div.pagination { display:block; border-top: 1px solid #f5f5f5;  border-bottom: 1px solid #ccc;  background-color: #ECECEC; font-weight: 500; padding: 10px 5px; margin-bottom: 10px; text-align: center; }

.dropdown-menu { position: absolute;  top: 100%;  left: 0; z-index: 1000; padding: 4px 0; margin: 1px 0 0; list-style: none; background-color: #ffffff; background: #ffffff; border: 1px solid #ccc; border: 1px solid rgba(0, 0, 0, 0.2); *border-right-width: 2px; *border-bottom-width: 2px; -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);  }
.searchdrop {  padding: 0; }
.searchdrop strong { font-weight: 400; color: #e3000b; }
.title { color: #e3000b; }

div#bannerplate {  text-align: right; }
div#bannerplate  img {position: relative;  margin: 48px 20px 20px 20px;  height: auto; width: 100%;   max-width: 180px; }

#mobileDetect { display: none; }

/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 959px) {
    div#bannerplate  img { margin: 15px 20px;  }
    #mobileDetect { display: inline; }
    #logo_small img { display: block; margin: 10px auto 20px auto; width: 80%;}
    #scrollbody { width: auto; margin: 0 20px;  background-image: none; background: #fff; }
    #gallery .column { height: auto; }
    #slideshow { width: 100%;  height: 170px !important;  }
    #kb-label { margin-top: 30px; }
    #header { height: auto; width: auto; margin: 0 20px;  }
    #menu ul li a { margin-right: 15px; }
    #sections .tab { width: auto; }
    #sections div.search {  float: left; display: block; }
    #logo { display: none; }
    #right {display: none;}
    #menu { margin: 0 -15px; }
    #footer { margin: 0 -15px; }
    #menu ul.menu>li>a { margin: 0; }
    ul.nav li, ul.nav li a { display: inline-block;}
    ul.nav { float: none; display: block; clear: both;}
    #topics { margin-right: 100px; }
    #topics ul.nav { min-width: 0; width: auto;  background: none; border-left: 2px solid #E3000B; padding: 5px 0 5px 10px; margin-bottom: 5px; }
    #topics ul.kultur {border-left: 2px solid #EE7000;}
    #topics ul.digital { border-left: 2px solid #488fdb;}
    #topics ul.nav li a, #topics ul.nav li  { display: block !important; float: left; }
    .fullcontainer { margin: 0; }
    .cover-medium , .cover-big { max-width: 100%; height: auto;}
}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {

}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {
    div#bannerplate {  text-align: center; }
    div#bannerplate img { margin: 20px auto; }
    .showsmall { display: inline; }
    .hidesmall { display: none; }
    #logo_small { }
    #mobileDetect { display: block; }
    #sections { margin-top: 10px; height: auto; }
    #header div.search { margin: 0 0 10px 0; border: 1px solid #ccc; border-radius: 3px; float: left; display: block; width: 100%; }
    #searchword { width: 80%; }
    #sections .tab a { border-radius: 3px; font-size: 14px; letter-spacing: 1px; padding: 6px 6px 0 6px; margin-bottom: 10px; }
    #topics ul.nav { float: left; display: inline-block; clear: both;  }
    #header, #scrollbody { margin: 0; }
    #slideshow { height: 120px !important;  }
    #kb-label { margin-top: 30px; }
    #kb-label .title { font-size: 1.4em;}
    #kb-label .stitle { font-size: 1em; }
    #menu ul.menu { margin: 0; }
    #menu ul.menu>li>a { padding: 0 2px; margin-right: 10px; }
    #toggletopics { display: block; }
    #topics { display: none; margin: 10px 0;  min-height: 0px;  }
    #sociallinks { margin-top: 5px; margin-bottom: 5px; }
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {

}
