/*
 Theme Name:   Twenty Sixteen Child - AEC
 Theme URI:    http://www.aec.at/
 Description:  Twenty Sixteen Child Theme
 Author:       AES
 Author URI:   http://www.aec.at/solutions
 Template:     twentysixteen
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  twenty-sixteen-child-aec
*/

body{
  font-family: Helvetica Neue,Arial,Helvetica,Geneva,sans-serif;
  background-image: url('img/bg-page.png');
  background-repeat: repeat-x;
  background-color: #fff;
  font-size: 90%;
  min-width: 320px;
}

a:focus {
  outline: 1px dashed #007acc;
  overflow: hidden; 
}

.site {
  background-color: transparent;
  margin: 0;
}

.site-inner {
    max-width: 900px;
}

.site-header, .site-content, .site-footer {
   padding: 0;
}

.site-header {

}

.site-branding {
 margin-top: 10px !important;
 margin-bottom: 0;
}
.site-branding a.aec-logo {
  display: block;
  background: url('img/logo-aec.png') no-repeat;
  width: 246px;
  height:35px;
  text-indent: -9999px;
}

body.admin-bar:not(.custom-background-image)::before { top:0;}
body:not(.custom-background-image)::before, body:not(.custom-background-image)::after {
    height: 0;
}

.content-area {
  width: 590px;
}
.sidebar {
    float: left;
    margin-left: 610px;
    padding: 0;
    width: 290px;
    margin-bottom: 40px;
}
.no-sidebar .content-area {
    float: left;
    margin-right:-100%;
    width: 590px;
}
.no-sidebar .entry-header, .no-sidebar .entry-content, .no-sidebar .entry-summary, .no-sidebar .entry-footer, .no-sidebar .comments-area, .no-sidebar .image-navigation, .no-sidebar .post-navigation, .no-sidebar .pagination, .no-sidebar .page-header, .no-sidebar .page-content, .no-sidebar .content-bottom-widgets {
    margin-right: 0;
    margin-left: 0;
}

/* Top-left navigation links */

#nav-top {
	font-family: "klavika-web-1", Helvetica Neue, Arial, Helvetica, Geneva, sans-serif;
	float: right;
	font-size: 90%;
	/*color: #a4a4a4;  ----kontrast*/
	color: #666;
	padding: 0 ;
	margin: 0;
	width: 40%;
	height: 70px;
}

#nav-top.toggle-on {
  width: 40%;
}

#nav-top .search-lang-navigation {
  clear: both;
}

#nav-top ul.search-lang {
	float: right;
	width: auto;
	margin: 0;
	padding: 3px 0;
	list-style: none;
	line-height: 1em;
	clear: both;
}
#nav-top ul.search-lang {
  
  border: 2px solid #000;
  border-top: none;
  border-radius: 0px 0px 5px 5px;  
  
  background: #fff;
  margin-bottom: 10px;
}
#nav-top ul.sub-menu {
  margin-right: 14px;
  clear:both;
}
#nav-top li {
	float: right;
	list-style: none;	
	margin: 0;
	padding: 1px 9px;
	border-right: 1px solid #ccc;  
/*	line-height: 1em;	*/
}
#nav-top li:first-child  {
  border-right: none;
}
#nav-top a, #nav-top a:link, #nav-top a:visited {
	text-decoration: none;
	color: #484848;
	background: none;
	border: none;
	padding: 0;
}
#nav-top a:hover, #nav-top a:focus, #nav-top a:active { 
	color: #484848;
}
#nav-top li.search {
	margin-top: -.4px;
	padding: 0 4px;
	border: none;
}

#nav-top form {
	padding: 5px 0 0;
	float: left;
	margin:0;
}
#nav-top form div {
 margin: 0;
}
#nav-top fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}
#nav-top label {
 	margin-left: 5px;
	text-transform: none;
	font-weight: normal;
	font-size: 100%;
	text-indent:-99999px;
}
#nav-top select, #nav-top input {
	margin-top: -.4em;
	background-color: #fff;	
	/*color: #a4a4a4; ----kontrast*/
	color: #666;
}
#nav-top input {
	width: 150px;
	padding: 2px;
	

}
#nav-top input[type='submit'] {
  width: 20px;
  height: 24px;
  text-align: left;
  background-image: url('img/icon-search.png');
	background-repeat: no-repeat;
	background-position: 50% 50%;
	cursor: pointer;
	text-indent:-99999px;
	overflow: hidden;
}

#nav-top ul.language-chooser {
  padding-top: 3px;
}
#nav-top ul.language-chooser li{
  float: left;
  border: none;
  border-right: 1px solid #ccc;
}
#nav-top ul.language-chooser li:last-child {
  border: none;
}
#nav-top ul.language-chooser li a {
 text-transform: uppercase; 
} 

#nav-top ul.language-chooser li.active, #nav-top ul.language-chooser li.active a {
  color: #000;
  font-weight: bold;
}

/*top menu klein--------------------------------*/
#nav-top.toggled-on ul.search-lang {
  width: 100%;

}

/* ------------------------------ */

/* Main navigation bar */
.main-navigation {
    margin: 0;
}
.site-header-menu {
  margin:0;
}

#nav-main {
	clear: both;
	padding: 0;
	position: relative; 
	z-index: 30;
	margin:0;
	width: 900px;
}
#nav-main a, #nav-main a:link, #nav-main a:visited {
    font-family: "klavika-web-1", Helvetica Neue, Arial, Helvetica, Geneva, sans-serif !important;
    font-style: normal;
    font-size: 120%;
    font-weight: normal;
    text-transform: uppercase;
    text-shadow: 0 0 2px rgba(4,4,4,0.2);
    display: block;
    letter-spacing: 0em;
    color: #fff;
    text-decoration: none;        
    height: 43px;
    border: 0;
    background: none;
    line-height: 1em;
}
#nav-main ul {	
	margin: 0;
	padding: 0;
	line-height: 1em;
}
#nav-main li {
	float: left;
	list-style: none;
	margin: 0;
	border: 0;
	position: static;
	text-align: center;
}
#nav-main li.last {
	float: right;
}

#nav-main .main-menu > li > a {
  border-radius: .5em .5em 0 0;
  border:0;
  height: 29px;
  padding: 15px 0px 30px 0px;
  color: #000;
}




#nav-main .main-menu > li.current-menu-item > a, #nav-main .main-menu > li.current-menu-parent > a {
  color: #fff;
  
}


#nav-main ul.main-menu > li.about {
	width: 102px;
} 
#nav-main ul.main-menu > li.center{
	width: 138px;
}
#nav-main ul.main-menu > li.festival {
	width: 128px;
}
#nav-main ul.main-menu > li.prix {
	width: 112px;
}
#nav-main ul.main-menu > li.futurelab {
	width: 148px;
}
#nav-main ul.main-menu > li.export {
	width: 132px;
}
#nav-main ul.main-menu > li.solutions {
	width: 140px;
}

/* ----mit educationlab------
#nav-main ul.main-menu > li.about {
	width: 84px;
} 
#nav-main ul.main-menu > li.center{
	width: 116px;
}
#nav-main ul.main-menu > li.festival {
	width: 106px;
}
#nav-main ul.main-menu > li.prix {
	width: 90px;
}
#nav-main ul.main-menu > li.futurelab {
	width: 126px;
}
#nav-main ul.main-menu > li.export {
	width: 110px;
}
#nav-main ul.main-menu > li.solutions {
	width: 118px;
}
#nav-main ul.main-menu > li.educationlab {
	width: 150px;
}
*/


#nav-main .sub-menu {
	position: absolute;
	height: 43px;
	width: 900px;
	clear: both;
	left: 0;
	padding: 0 !important;
	background: #a5aeb6;
	top:43px;
	display: none;
	border-bottom: none;
}

/*--------submenu-sichtbar----------------------------------------------------------------------*/
#nav-main li.current-menu-item > .sub-menu, #nav-main li.current-menu-parent > .sub-menu,
body.about #nav-main li.about > .sub-menu,
body.center #nav-main li.center > .sub-menu,
body.festival #nav-main li.festival > .sub-menu,
body.prix #nav-main li.prix > .sub-menu,
body.futurelab #nav-main li.futurelab > .sub-menu,
body.export #nav-main li.export > .sub-menu ,
body.solutions #nav-main li.solutions > .sub-menu
{
  display: block;
}




#nav-main .sub-menu ul {
	margin: 0;
	padding: 0;
}
#nav-main .sub-menu li {
	float: left;
	list-style: none;
	background: transparent;
}
#nav-main .sub-menu a, #nav-main .sub-menu a:link, #nav-main .sub-menu a:visited {
  font-family: "klavika-web-1", Helvetica Neue, Arial, Helvetica, Geneva, sans-serif !important;
  color: #000;
	text-decoration: none;	
	padding: 2px 17px 0 17px;
	margin: 10px 0px 0px 0px;
	border-right: 1px solid #222 !important;
	height: auto !important;
	border-bottom: 0;
	background-repeat: no-repeat;
	text-indent: -7px;
	width: auto !important;
/*	display: block;*/
  font-size: 120%;
  line-height: 140%;
}
#nav-main .sub-menu  li:last-child a {
	border-right: 0 !important;
}
#nav-main .sub-menu a:hover,
#nav-main .sub-menu li.current-menu-item a,
#nav-main .sub-menu li.active a  { 	
	color: #fff;
	/*text-shadow: 0 0 2px rgba(255,255,255,0.5);*/
}



/* Sub-nav coloring -- 0:uniform, 1:pastel, 2:greyscale */
body.about #nav-main li.about > a,
#nav-main li.current-menu-item.about > a, #nav-main li.current-menu-parent.about > a, #nav-main li.active.about > a,
#nav-main li.about > .sub-menu,  
.site-header-menu.toggled-on #nav-main li.about,
#nav-main li.about .sub-menu.toggled-on li.current-menu-item a, #nav-main li.about .sub-menu.toggled-on li.active a , #nav-main li.about .sub-menu.toggled-on li:hover a  {
	/*background: #d0cfcb; ------zu wenig kontrast*/
	background: #767676;
	border-color: #767676;
	color: #fff;
}
body.festival #nav-main li.festival > a,
#nav-main li.current-menu-item.festival > a, #nav-main li.current-menu-parent.festival > a, #nav-main li.active.festival > a,
#nav-main li.festival > .sub-menu,  
.site-header-menu.toggled-on #nav-main li.festival,
#nav-main li.festival .sub-menu.toggled-on li.current-menu-item a, #nav-main li.festival .sub-menu.toggled-on li.active a , #nav-main li.festival .sub-menu.toggled-on li:hover a   {
	/*background: #b5b7b4; -----------------*/
	background: #767676;
  border-color: #767676;
  color: #fff;	
}
body.prix #nav-main li.prix > a,
#nav-main li.current-menu-item.prix > a, #nav-main li.current-menu-parent.prix > a, #nav-main li.active.prix > a,
#nav-main li.prix > .sub-menu,  
.site-header-menu.toggled-on #nav-main li.prix ,
#nav-main li.prix .sub-menu.toggled-on li.current-menu-item a, #nav-main li.prix .sub-menu.toggled-on li.active a , #nav-main li.prix .sub-menu.toggled-on li:hover a   {
	/*background: #8e908f; ----------------------*/
	background: #767676;
	border-color: #767676;
	color: #fff;
}
body.center #nav-main li.center > a,
#nav-main li.current-menu-item.center > a, #nav-main li.current-menu-parent.center > a, #nav-main li.active.center > a,
#nav-main li.center > .sub-menu,  
.site-header-menu.toggled-on #nav-main li.center,
#nav-main li.center .sub-menu.toggled-on li.current-menu-item a, #nav-main li.center .sub-menu.toggled-on li.active a , #nav-main li.center .sub-menu.toggled-on li:hover a   {
	/*background: #a2a5a4; --------------------------*/
	background: #767676;
	border-color: #767676;  
	color: #fff;
}
body.futurelab #nav-main li.futurelab > a,
#nav-main li.current-menu-item.futurelab > a, #nav-main li.current-menu-parent.futurelab > a, #nav-main li.active.futurelab > a,
#nav-main li.futurelab > .sub-menu,  
.site-header-menu.toggled-on #nav-main li.futurelab,
#nav-main li.futurelab .sub-menu.toggled-on li.current-menu-item a, #nav-main li.futurelab .sub-menu.toggled-on li.active a , #nav-main li.futurelab .sub-menu.toggled-on li:hover a     {
	/*background: #b5b7b4;   ----------------------------*/
	background: #767676;
	border-color: #767676;
	color: #fff;
}
body.export #nav-main li.export > a,
#nav-main li.current-menu-item.export > a, #nav-main li.current-menu-parent.export > a, #nav-main li.active.export > a,
#nav-main li.export > .sub-menu,  
.site-header-menu.toggled-on #nav-main li.export,
#nav-main li.export .sub-menu.toggled-on li.current-menu-item a, #nav-main li.export .sub-menu.toggled-on li.active a , #nav-main li.export .sub-menu.toggled-on li:hover a     {
	/*background: #d0cfcb;----------------------------------*/
	background: #767676;
	border-color: #767676;
	color: #fff;
}
body.solutions #nav-main li.solutions > a,
#nav-main li.current-menu-item.solutions > a, #nav-main li.current-menu-parent.solutions > a, #nav-main li.active.solutions > a,
#nav-main li.solutions > .sub-menu, 
.site-header-menu.toggled-on #nav-main li.solutions ,
#nav-main li.solutions .sub-menu.toggled-on li.current-menu-item a, #nav-main li.solutions .sub-menu.toggled-on li.active a , #nav-main li.solutions .sub-menu.toggled-on li:hover a   {
	/*background: #ABADAA;------------------*/
	background: #767676;
	border-color: #767676;
	color: #fff;
}
body.festival #nav-main li.educationlab > a,
#nav-main li.current-menu-item.educationlab > a, #nav-main li.current-menu-parent.educationlab > a, #nav-main li.active.educationlab > a,
#nav-main li.educationlab > .sub-menu, 
.site-header-menu.toggled-on #nav-main li.educationlab ,
#nav-main li.educationlab .sub-menu.toggled-on li.current-menu-item a, #nav-main li.educationlab .sub-menu.toggled-on li.active a , #nav-main li.educationlab .sub-menu.toggled-on li:hover a  {
	/*background: #b5b7b4;--------------------*/
	background: #767676;
  border-color: #767676;
  color: #fff;	
}

/* Define rounded corners based on active tab */

#nav-main li.about > .sub-menu {
	-moz-border-radius: 0 1em 0 0;
	-webkit-border-radius: 0 1em 0 0;
	border-radius: 0 1em 0 0;
}
#nav-main li.festival > .sub-menu,
#nav-main li.prix > .sub-menu,
#nav-main li.center > .sub-menu,
#nav-main li.futurelab > .sub-menu,
#nav-main li.export > .sub-menu {
	-moz-border-radius: 1em 1em 0 0;
	-webkit-border-radius: 1em 1em 0 0;
	border-radius: 1em 1em 0 0;
}
#nav-main li.solutions > .sub-menu {
	-moz-border-radius: 1em 0 0 0;
	-webkit-border-radius: 1em 0 0 0;
	border-radius: 1em 0 0 0;
}

/*  mit educationlab
#nav-main li.educationlab > .sub-menu {
	-moz-border-radius: 1em 0 0 0;
	-webkit-border-radius: 1em 0 0 0;
	border-radius: 1em 0 0 0;
}
*/

/*main menu klein--------------------------------*/
.site-header-menu.toggled-on {
  margin-bottom: 10px !important;
}

.site-header-menu.toggled-on #nav-main a, .site-header-menu.toggled-on #nav-main a:link, .site-header-menu.toggled-on #nav-main a:visited {
  text-shadow: none;
}

.site-header-menu.toggled-on ul.main-menu  li {
  width: 100% !important;
  position: relative !important;
}
.site-header-menu.toggled-on ul.main-menu > li {
  background: none !important;
  border-top-width: 4px !important;
  border-top-style: solid !important; 
}
.site-header-menu.toggled-on ul.main-menu > li > a {
  font-size: 150% !important;
  text-align: left;
  text-indent: 20px;
  border-radius: 0 !important;
}

.site-header-menu.toggled-on li.current-menu-item > .dropdown-toggle, 
.site-header-menu.toggled-on li.current-menu-parent > .dropdown-toggle, 
.site-header-menu.toggled-on li.active > .dropdown-toggle {
  color: white !important;
}


.site-header-menu.toggled-on ul.main-menu ul.sub-menu  {
  position: relative !important;
  height: initial !important;
  top: 0px !important;
  width: 100% !important;
  display: none !important;
}
.site-header-menu.toggled-on ul.main-menu ul.sub-menu.toggled-on  {
  display: block !important;
}

.site-header-menu.toggled-on ul.main-menu ul.sub-menu.toggled-on li a {
  border: none !important;
  margin-top: 0px !important;
  text-align: left;
  text-indent: 6px !important;
  padding: 7px 17px 5px 17px !important;  
}




/* twentysixteen menu überschreiben  -------*/
.main-navigation .menu-item-has-children > a::after {
    content: "";
    position: absolute;
    right: 0.625em;
    top: 0.8125em;
}
.main-navigation .menu-item-has-children > a {
  margin-right: 0;
  padding-right: 0;
}

.main-navigation ul ul::before, .main-navigation ul ul::after {
    border-style: solid;
    content: none;
    position: absolute;
}



/* slider -------------------------------------------*/
.site-header .meta-slider {
  width: 100%;
  clear: both;
  position: relative;
}

.site-header .meta-slider .flex-viewport {
  border-radius: 10px;
  -webkit-border-radius: 10px;
}


.site-header .meta-slider .meta-slider-mask {
  background: url('img/banner-mask.png');
  position: absolute;
  width: 930px;
  height: 265px;
  top: -2px;
  left: -15px;
  pointer-events: none;
}

.site-header .meta-slider #meta-slider-pause-play {
  position: absolute;
  right: 10px;
  bottom: -20px;
  z-index: 100;
}


.flex-direction-nav a {
    -moz-transition: none;
    transition: none !important;
    background-image: url("img/icon-banner-nav-arrow.png") !important;
}

.flexslider .flex-next, .flexslider .flex-prev {opacity: 1;}

.flex-direction-nav .flex-prev { left: 10px !important; }
.flex-direction-nav .flex-next { right: 10px !important; }

#meta-slider-pause-play {font-size:0.625rem;}


/*beadcrumb-------------------------------------------------------------*/
#breadcrumb, #breadcrumb a {
    /*color: #a4a4a4;  ----kontrast*/
	  color: #666;
    text-decoration: none;
    border: 0;
    background: 0;
}
#breadcrumb {
    margin-top: 15px;
    font-size: 77%;
    padding: 6px 0 0px 0;
}

body.news #breadcrumb {
    position: absolute;
    left: -9999px;
}



header .widget {
  border-top: none;
  margin: 0;
  padding: 0;
}

/*content------------------------------------------------------------------*/
.site-content {
  margin-top: 15px;
}

.site-main {
  margin-bottom: 40px;
}

.page-header {
  border: none;
  margin: 0;
  padding: 0;
}
.page-title, .entry-title {
  font-size: 1.25rem;
  line-height: 25px;
}

.entry-content {
  width: 100% !important;
}

.entry-content table {
  table-layout: auto;
}


.entry-content h3 {
  clear: both;
  margin: 0.5em 0;
  font-size: 1.125rem;
}
.entry-content p {
  clear: both;
  font-size: 0.875rem;
}

.entry-content p a {
  display: inline;
  box-shadow: none;
  text-decoration: underline;
  
}
.entry-content p a img {
  display: inline-block;
}

.entry-content h4, .entry-content h5, .entry-content h6, .entry-summary h4, .entry-summary h5, .entry-summary h6, .comment-content h4, .comment-content h5, .comment-content h6 {
    font-size: 1rem;

    line-height: 1.1;
    margin-top: 10px;
    margin-bottom: 10px;;
}

.entry-content ul  {
  clear: both;
}

article {
  margin-bottom: 20px !important;
}



.more {
    background: url('img/icon-more.png') no-repeat 100% 50%;
    padding: 2px 20px 0 0;
    text-decoration: none;
}

.more.right {
    float: right;
}

/*   NEWS entries     ----------------------------------------------------------------- */

.NEWS_entry {
  width: 185px;
  height: 185px;
  float:left;
  margin: 0px 17px 17px 0;
  overflow:hidden;
  /*border: 1px #000 solid;*/
  border-radius: 10px;
  position: relative;
  background: #FFEF2D;
}
.NEWS_entry:nth-child(3n+3)  {
  margin-right: 0;
}

.NEWS_entry .NEWS_entry_image {
  position: absolute;
  z-index:10;
  width: 100%;
  height: 100%;
}

.NEWS_entry .NEWS_entry_image h3 {
  position: absolute;
  color: #000;
  bottom: 15px;
  left: 0px;
  padding-left: 15px;
  font-weight: normal;
  font-size: 1.125rem;
  margin-bottom: 0; 
  display: block;
  width: 100%;
}


.NEWS_entry .NEWS_entry_image img {
  position: absolute;
  width: 185px;
  height: 185px;
  border-radius: 10px;
}

.NEWS_entry a, .NEWS_entry a:link, .NEWS_entry a:active {
  text-decoration: none;
  color: black;
}

.NEWS_entry .NEWS_entry_excerpt {
  position: absolute;
  width: 100%;
  height: 100%; 
  overflow:hidden;
  padding: 10px;
  z-index:9;
  border-radius: 10px;
}

.NEWS_entry .NEWS_entry_excerpt:after {
	content: "";
	position: absolute;
	width: 100%;
	height: 30px;
	bottom: 0; left: 0;
	
	background-image: -webkit-linear-gradient(bottom, rgba(255, 239, 45, 1), rgba(255, 239, 45, 0));
	background-image: -moz-linear-gradient(bottom, rgba(255, 239, 45, 1), rgba(255, 239, 45, 0));
	background-image: -ms-linear-gradient(bottom, rgba(255, 239, 45, 1), rgba(255, 239, 45, 0));
	background-image: -o-linear-gradient(bottom, rgba(255, 239, 45, 1), rgba(255, 239, 45, 0));
	background-image: linear-gradient(to top, rgba(255, 239, 45, 1), rgba(255, 239, 45, 0));
}

.NEWS_entry .NEWS_entry_excerpt h3 {
  padding-left:0;
  font-size: 0.875rem;
  margin: 0 0 5px 0;
}
.NEWS_entry .NEWS_entry_excerpt p {
  font-size: 0.75rem;
  line-height: 16px;;
}

.NEWS_entry:hover .NEWS_entry_image  {
  display: none;
}



/*  center    auflistung center ausstellungen------------------*/
.CE_about_news_entry {
	min-height:116px;
	list-style:none;
	padding:10px 10px 0 0;
	margin:0;
	/*background:#E3EAF4;*/
	border-bottom:1px solid #999;
	overflow:auto;
}

.CE_about_news_entry .news_wrapper {
	min-height:116px;	
}

.CE_ProjectExcerpt .more {
	margin-top:0;
}

.CE_about_news_entry h3{
  margin: 0 0 5px 0;
  padding: 0px 5px;
  display: inline;
}


.CE_about_news_entry p{
	padding-top: 5px;
	
  font-size:0.68rem;
	margin-bottom: 5px;
}

.CE_about_news_entry a {
	text-decoration:none;
}

.CE_about_news_entry span {
	/*font-size:0.56rem;*/
}


.CE_project_image {
	float:left;
	width:100px;
	height:100px;
	overflow:hidden;
	/*box-shadow: 0px 0px 5px 2px #FFEF2D;*/
  
  border: 2px solid #FFEF2D;
	
  -moz-border-radius: .8em;
	-webkit-border-radius: .8em;	
	border-radius: .8em;
  	
	background: #fff;	
	margin: 0px 10px 0 0;
} 

.CE_about_news_entry h3 {
  float: none;
  	
}
.CE_about_news_entry p {
	float: initial;
	clear: none;
	display: table-cell;
}

.CE_about_news_entry a{
	font-family: "klavika-web-1", Helvetica Neue, Arial, Helvetica, Geneva, sans-serif;
	font-size:0.75rem;
}

.CE_tag {
    background: none repeat scroll 0 0 #BFBFBF;
    border: 1px solid #BFBFBF;
    border-radius: 6px 6px 6px 6px;
    padding: 1px 3px;
    color: #000;
}


.video-container {
  position:relative;
	padding-bottom:56%;
  height:0;
	overflow:hidden;
}

.video-container iframe {
  position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}

/* festival ---------------------------------------------- */
.feature {
    padding: 15px 19px;
    background: #f5f5f5;
    -moz-border-radius: .8em;
    -webkit-border-radius: .8em;
    border-radius: .8em;
    margin: 0;
}

.gallery .thumb {
    list-style: none;
    float: left;
    margin: 8px;
    position: relative;
}

.gallery .thumb a {
    background: #CE1A7D;
    width: 70px;
    height: 70px;
    display: block;
    padding: 0;
    text-decoration: none;
    overflow: hidden;
    box-shadow: none;
}
.gallery .thumb img {
  position: absolute;
  top: 0px;
  left: 0px;
  opacity: 1;
  transition: 0.5s opacity;
  z-index: 10;
}

.gallery .thumb:hover img {
  opacity: 0;
  border: 0;
  
}

.gallery .thumb .caption {
    position: absolute;
    top: 15px;
    left: 0;
    background: none;
    color: #fff;
    padding: 2px 5px;
    font-size: 55%;
    font-family: 'Verdana', sans-serif;
    font-weight: bold;
    line-height: 1em;
    text-transform: uppercase;
    text-align: right;
    cursor: pointer;
    z-index: 5;
}

.gallery .thumb .date {
    position: absolute;
    bottom: 0;
    right: 0;
    color: #fff;
    background: #222;
    padding: 2px 5px;
    font-size: 70%;
    font-family: 'Verdana';
    border: 1px solid #fff;
    border-bottom: 0;
    border-right: 0;
    font-weight: bold;
    line-height: 1em;
    z-index: 11;
}




/* ausstellungen suche -------------------------------------------------   */
main .exhibition-search {
  background:#FFEF2D; 
  border-radius: 10px;
  padding: 10px;
  height: 48px; 
}
main .exhibition-search label,
main .exhibition-search input {
  float: left;
  font-size: 0.75rem;
  height: 30px;
  margin: 0 5px 5px 5px;
}
main .exhibition-search label {margin-top: 5px;}
main .exhibition-search input[type="text"] {width: 300px;}
main .exhibition-search input[type="submit"] { width: 100px;}

/* Calendar Table
------------------------------------------------------------- */
table.calendar {
	width: 100% !important;
	background: none;
	table-layout: auto;
}
table.calendar tr td {
	border: none;
  border-top: 1px solid #ccc;
	padding: 7px 1em 1em 0;
	vertical-align: top;	
}
table.calendar .description {
	font-size: .9em;
	line-height: 1.4em;
	border-top: 0;
}
table.calendar .day th {
  border: none;
	font-size: 110%;
	line-height: 1.8em;
	font-weight: normal;
	padding: 20px 0 7px 0px;
	background: none;
	color: inherit;
}
table.calendar .day.first th {
	padding-top: 20px;
}
table.calendar .time {
	width: 5% !important;
	font-size: .9em;
	text-align: left;
}
table.calendar .time abbr {
	border: 0;
}
table.calendar .category,
table.calendar .location { 
	font-size: .8em; 
	line-height: 2em; 
}

table.calendar .category {
	width: 20% !important;
}
table.calendar .day .date {
	width:32px;
	display:block;
	text-align:center;
	font-style: normal;
}
table.calendar .day .title {
	margin-left: 10px;
}
table.calendar .date span {
	display:block;
	float:left;
	width:100%;
}
table.calendar .date .month {
	font-size:0.56rem;
	height:10px;
	background: #484848;
	border: 1px solid #484848;
	color:#FFFFFF;
	font-weight:bold;
	line-height:1.1em;
	text-align:center;
	text-transform:uppercase;
	-moz-border-radius: .3em .3em 0 0;		
}
table.calendar .date .day {
	line-height:1.4em;
	font-size:0.875rem;
	background: #fff;	
	border: 1px solid #ccc;
	border-top: 0;
	color:#000000;
	font-weight:bold;
	-moz-border-radius: 0 0 .3em .3em;	
}
table.calendar .day .meta {
	display: block;
	font-size: 70%;
	color: #999;
	text-transform: uppercase;
}
table.calendar a { 
	color:#333333; 
	font-weight: bold; 
	text-decoration: none; 
	box-shadow: none;
}
table.calendar a:hover { 
	text-decoration: underline; 
	box-shadow: none;
}

.backtotop-noindent {
    width: 90px;
    font-size: 85%;
    padding: 5px 5px 5px 10px;
    background: #ebebeb;
    -moz-border-radius: .8em;
    -webkit-border-radius: .8em;
    border-radius: .8em;
    margin: 0 0 1em 0;
}

.backtotop-noindent a::before {
    content: "⇧";
    color: #000;
    font-size: 17px;
    padding: 0 5px;
}

/*auflistung der prix jahre  */
table#prix-years a {
  display: block; 
}
table#prix-years th, table#prix-years td {
  border: none;
}
table#prix-years td.active {
  background:#484848;
}

table#prix-years td a:hover img {
  -webkit-filter: grayscale(100%) invert(100%);; /* Safari 6.0 - 9.0 */
  filter: grayscale(100%) invert(100%);
}


/*widget--------------------------------------------------------------------*/
.widget {
  padding-top: 0;
  border-top: none;
  margin-bottom: 15px;
  font-family: Verdana, Arial, sans-serif;
}

.sidebar .widget .widget-title {
  margin-bottom: 10px;

  line-height: 25px;
}

body.center .sidebar .widget > div, 
body.press .sidebar .widget > div,
body.prix .sidebar .widget > div,
.sidebar .widget > ul, 
.sidebar .widget .textwidget > ul {
  border: 2px solid #FFEF2D;
  padding: 10px;
  border-radius: 10px;
  list-style: none;

}


body.center .sidebar .widget > div, 
.sidebar .widget > ul > li,
.sidebar .widget .textwidget > ul > li {
  list-style: none;
}

.sidebar .widget .textwidget.no-border {
  border: none;
  padding:0;
}
.sidebar .widget .textwidget.grey {
  background: #ccc;
  padding: 10px;
}
.sidebar .widget .textwidget.yellow {
  background: #FFEF2D;
}

.widget .textwidget .capped-widget {
  background-repeat: no-repeat;
  background-size: auto;
  width: 100%;
  height: 100%;
  border-radius: 7px;
  /*
  margin-top: 5px;
  margin-bottom: 5px;
  */
  display: inline-block;
  box-shadow: none;
  position: relative;
}
.widget .textwidget .capped-widget h3 {
  top:68px;
  position: absolute;
  font-size: 0.81rem
  height: 20px;
  margin: 0;
  /*width: 100%;*/
}

.widget .textwidget .capped-widget p {
  clear: both;
  padding:10px ;
  margin:0;
  margin-top: 88px;
  background: rgba(249,249,249,1);
  display: inline-block;
  width: 100%;
  border-radius: 0 0 7px 7px;
}

.widget .textwidget .capped-widget p.transparent {
  background: rgba(249,249,249,0.7);
}

.widget .textwidget .contact {
  clear: both; 
  display: inline-block;
  width: 100%;
}

.widget .textwidget .contact img {
  float: left;
  border: 2px solid #D6D6D6;
  border-radius: 5px;
}
.widget .textwidget .contact p {
  float: left;
  padding: 0 10px;
  width: 200px;
}

.widget .textwidget.flickrcollection {
  border: 1px solid #FFEF2D !important;
  background: #FFEF2D;
  border-radius:0 !important;
  padding:0 !important; 
}

.widget .textwidget.flickrcollection .flickr-collection img {
 margin:1px;
 height: 70px;
 width: 70px;
 display: inline;
}

.widget .textwidget .exhibition-search label,
.widget .textwidget .exhibition-search input {
  float: left;
  font-size: 0.75rem;

}
.widget .textwidget .exhibition-search label {text-indent:-9999px;}
.widget .textwidget .exhibition-search input[type="text"] { width: 164px; margin-right: 5px;}
.widget .textwidget .exhibition-search input[type="submit"] { width: 90px;height: 31px;}



/*visitorinfo widget---------------------------------------*/
.sidebar .widget .textwidget > ul {
  padding: 0;
  margin-bottom: 5px;
}
.sidebar .widget .textwidget > ul > li {
  margin: 0;
  border-bottom: 1px dotted #555555;
}
.sidebar .widget .textwidget > ul > li:last-child {
  border-bottom: none;
}
.sidebar .widget .textwidget > ul > li a {
  display: block;
  height: 40px;
  width: 100%;
  background: url('img/icon_yellow_arrow.png') no-repeat 97% center;
  text-decoration: none;
  box-shadow: none;
  padding: 10px;
  font-size: 0.875rem; 
}
.sidebar .widget .textwidget > ul > li a:hover,
.sidebar .widget .textwidget > ul > li.selected a {
  background: #FFEF2D url('img/icon_black_arrow.png') no-repeat 97% center;
  font-weight: bold;
}


.sidebar .widget .textwidget > ul.social-media {
  height: 53px;
  clear: both;
  padding: 5px 0;
}

.sidebar .widget .textwidget > ul.social-media li {
  height: 40px;
  background: none;
  border-bottom: none;
  float: left;
  margin-left: 7px;

}
.sidebar .widget .textwidget > ul.social-media > li.facebook { background: url("img/w_facebook.png") no-repeat scroll 50% 50%; }
.sidebar .widget .textwidget > ul.social-media > li.twitter { background: url("img/w_twitter.png") no-repeat scroll 50% 50%; }
.sidebar .widget .textwidget > ul.social-media > li.flickr { background: url("img/w_flickr.png") no-repeat scroll 50% 50%; }
.sidebar .widget .textwidget > ul.social-media > li.instagram { background: url("img/w_instagram.png") no-repeat scroll 50% 50%; }
.sidebar .widget .textwidget > ul.social-media > li.youtube { background: url("img/w_youtube.png") no-repeat scroll 50% 50%; }
.sidebar .widget .textwidget > ul.social-media > li.google-plus { background: url("img/w_google_plus.png") no-repeat scroll 50% 50%; }
.sidebar .widget .textwidget > ul.social-media > li.pinterest { background: url("img/w_pinterest.png") no-repeat scroll 50% 50%; }


.sidebar .widget .textwidget > ul.social-media > li a {
  background: none;
  width: 33px;
  height: 32px;
  text-indent: -9999px;
}

.widget.widget_search {
  border: 2px solid #FFEF2D;
  padding: 10px;
  border-radius: 10px;
  list-style: none;
  background: #FFEF2D;
}
.widget.widget_search input {
  font-weight: normal;
}




/*footer----------------------------------------------------*/

.site-footer {
  background-color: #EBEBEB;
  padding-top: 20px;
}

.menu-footer-menu-container {
  width: 900px;
}

.site-footer ul  ,.site-footer li {
  margin:0;
  padding:0;
  list-style: none;
}

.site-footer .footer-menu-ul  > li {
  display: inline;
  float:left;
  border-right: 1px solid #000;
}
.site-footer .footer-menu-ul  > li:last-child {
  border-right: none;
}

.site-footer .footer-menu-ul li a {
  padding: 1px 6px;
  text-decoration: none;
  display: block;
  float:left;
  white-space: nowrap;
}
.site-footer .footer-menu-ul > li:first-child > a {
  padding-left: 0;
}
.site-footer .footer-menu-ul > li ul {
  margin: 0 ;
  display: inline;

}
.site-footer .footer-menu-ul > li ul li {
  float:left;
  display: inline; 
}

.site-footer .footer-menu-ul  > li > ul > li:before {
  content: '|';
  float: left;
  padding-top: 0px;
}

.site-footer .footer-menu-ul > li ul li a {
  font-weight: normal;
  font-size: 0.75rem;
  
}

.site-footer .site-info {
  clear: both;
  margin-top: 10px;
  margin-bottom: 10px;
}
.site-footer .site-info .copyright {
  float: left;
}
.site-footer .site-info .powered {
  float: right;
}

/*
.more-contrast #nav-top {color:#666;}
.more-contrast #nav-top select, .more-contrast #nav-top input {color:#666;}
.more-contrast #breadcrumb, .more-contrast #breadcrumb a {color:#666;}
.more-contrast h1, h2 {color:#666;border-color:#666;}
*/
.hide_info {
  position: absolute;
  top: 0px;
  left: -9999px;
  width: 0px;
  height: 0px;
  overflow: hidden;
}

@media screen and (max-width: 945px) {
  body {overflow-x: hidden;}
}



@media screen and (max-width: 56.874em) {

  
  body {
    background: #fff;
    overflow-x: auto;
  }
  .site-branding {
   margin-left: 20px !important;

  }
  
  #menu-toggle {
    margin: 25px 20px 10px 0;
  }
  #nav-top ul.search-lang {
    border: none;
  }
  #nav-main {
   width: 100%;
  }
  .site-header .meta-slider {
    margin-top: 15px;
  }
  
  .site-header .meta-slider .flex-viewport {
    border-radius: 0;
  }
  
  .site-header .meta-slider .meta-slider-mask {
    display: none;
  }
  

  
  .site-main {
    margin-left: 20px;
    margin-right: 20px;
  }
  
  .entry-header, .post-thumbnail, .entry-content, .entry-summary, .entry-footer, .comments-area, .image-navigation, .post-navigation, .page-header, .page-content, .content-bottom-widgets {
    margin-right: 0;
  }
  
  .entry-header, .entry-summary, .entry-content, .entry-footer, .page-content {
    margin-left: 0px;
    margin-right: 0px;
  }
  
  
  .content-area {
    width: 100%;
  }
  .sidebar {
      float: left;

      padding: 0;
      margin: 0 ;
      width: 100%;
      margin-top: 20px;
      margin-bottom: 20px;
  }
  
  .sidebar .widget {
    margin-left: 20px;
    margin-right: 20px;
  }
  
  #breadcrumb {
    margin-left: 20px;
    margin-right: 20px;
    font-size: 100%;
  }
  
  .site-main .body {
    margin: 0 auto;
  }
  .NEWS_entry:nth-child(3n+3) {
    margin-right:17px;
  } 
  
  .NEWS_entry  {
    width: 100%;
    height: 100px;
  }
  .NEWS_entry:hover .NEWS_entry_image   {
    display: block;
  }
  
  .NEWS_entry.thumbnail .NEWS_entry_image img {
    width: 90px;
    height: 90px;
    margin: 5px;
     /*border-radius: 10px 0 0 10px;*/
  }
  .NEWS_entry.thumbnail .NEWS_entry_image h3 {
    display: none;
  }
  
  
  .NEWS_entry.thumbnail .NEWS_entry_excerpt {
    left: 100px;
    width: 65%;
  }
  .NEWS_entry.thumbnail .NEWS_entry_excerpt h3 {
    margin-top: 0;
    font-size: 90%; 
  }
  .NEWS_entry.thumbnail .NEWS_entry_excerpt p {
    margin-top: 5px;
    font-size: 90%;
  }
  
  .CE_about_news_entry .CE_project_image {
    margin-bottom: 5px;
  }
  
  .CE_about_news_entry p {

    	
  }
  
  main .exhibition-search label {text-indent: -9999px;}
  main .exhibition-search input[type="text"] {width:164px;}
  main .exhibition-search input[type="submit"] { width: 100px;height: 31px;}
  
  
  /*widgets-------------------------------------*/
  .widget .textwidget .capped-widget {
    background-size: cover;
  }
  
  .widget .textwidget .contact p {
    width: auto;
  }

  .site-footer .menu-footer-menu-container {
      width: 100%;
    }
    .site-footer .footer-menu-ul {
      margin: 20px !important;
    }
    

    
      .site-footer .site-info {
      padding:10px 20px;
    }
    .site-footer .site-info .copyright {
      clear: both;
    }
    .site-footer .site-info .powered {
      clear: both;
      margin-top: 10px;
      float:left;
    } 
    
    
    .sidebar .widget .textwidget > ul.social-media li a {
      width: 31px;
    }

}

@media screen and (max-width: 380px) {
    .site-branding a.aec-logo {
       width: 200px;
       background-size: 100%;
       margin-top: 10px;
    }
}
