/* This file will hold styles for the mobile version of your website (mobile first). */
/* This also can include ANY global CSS that applies site-wide. Unless overwritten by a more specific style rule, CSS declarations in global.css will apply site-wide. */
html, body, div {
  margin: 0; 
  padding: 0; 
  border: 0; 
  outline: 0; 
  font-size: 100%; 
  vertical-align: baseline; 
  font: inherit;
}

html { -webkit-text-size-adjust: 100%; }

body {
	font-size: 81%;
	font-family: Arial,Helvetica,Verdana,sans-serif;
	line-height: 1.5em;
  color: #333;
  background: #fff;
  
}

p, dl, hr, h1, h2, h3, h4, h5, h6, pre, address, fieldset {
    margin-bottom: 12px;
    vertical-align: baseline;
}

address { font-style: normal; }

p { margin: 0 0 14px; line-height: 1.5em; }

ul {
	margin-left: 20px;
	padding: 0px;
	list-style-type: disc;
	text-align: left;
}

ol { 
	margin-left: 24px;
	padding: 0px;
	text-align: left; 
}

li {
	line-height: 130%;
	padding-left: 5px;
	padding-top: 0px;
	text-align: left;
	font-size: 1.0em;
}
ol li { padding-left: 3px; }

h1, h2, h3, h4, h5, h6, p, ol, ul {
  font-family: Arial,Helvetica,Verdana,sans-serif;
	color: #333;
	letter-spacing: normal;
}
h1 { font-size: 2em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.2em; font-weight: normal; }
h4, h5, h6 { font-size: 1.1em; }

tbody { border: 0; }

a, a:link, a:visited, a:hover {
	color: #226d8d;
	text-decoration: none;
}
a:hover { text-decoration: underline; } 
a:focus { outline: 0; }

hr {
	color: #cccccc;
	border: none;
  border-bottom: 1px solid #cccccc;
	height: 1px;
	width: 100%;
}

img, object, embed {
  max-width: 100%; 
}
img { height: auto; border: 0; }


/******* Fluid videos ************/
.embed-container, .video-container, .media-youtube-video {
    position: relative;
    padding-bottom: 56.25%; /* 16/9 ratio */
    /*padding-top: 30px;*/ /* IE6 workaround*/
    height: 0;
    overflow: hidden;
}

.embed-container iframe, .video-container iframe, .media-youtube-video iframe,
.embed-container object, .video-container object,
.embed-container embed, .video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media only screen and (min-width: 561px) and (max-width: 739px) {
  .embed-container, .video-container, .media-youtube-video {
    text-align: center; 
  }
  
  .embed-container iframe, .video-container iframe, .media-youtube-video iframe {
    max-width: 560px;
    margin: 0 auto;
    display: block;
  }
} 

/* ----------- Page --------- */
div#page { overflow:hidden; }

/* -------- Section Header -------- */
#section-header { 
  background: #053450 url('../images/121129-pt-logo-320.jpg') no-repeat; 
  min-height: 126px;
}

/* ----------- Logo ---------- */
.logo-img, .logo-bg {  max-width: 100%; }

.logo-bg {
  width: 320px;
  height: 75px;
  background: transparent no-repeat;
}

.logo-bg a { display: block; width: 100%; height: 100%; }

.block.logo-320 img { max-width: 320px; }
.block.logo-480 img { max-width: 480px; }

@media only screen and (max-width: 320px) {
  .block.logo-480 { display: none; }
  .logo-img { display: none; }
} 

@media only screen and (min-width: 321px) and (max-width: 739px) { 
  .block.logo-320 { display: none; }
  .logo-img { display: none; }
  .logo-bg {
    width: 100% /*480px*/;  
    height: 90px;
    background-image: url('../images/121129-25-pt-logo-landscape.png');
    background-position: 15px 15px;
    
  }
  #section-header { 
    background: #064c66 url('../images/121126-pt-header-bg-600.jpg') center top no-repeat;
  }
}

/* ----------- Top-Menu --------- */
#block-menu-menu-top-menu { display: none; }

/* ------------ Mainmenu ------------ */


div#region-menu { 
  position: relative; 
  height: 28px;
  padding-top: 4px;
  background: url('../images/121126-25-pt-logo-cdu-landscape-28.png') right 4px no-repeat; 
  padding-bottom: 12px;
}


/*div#region-menu .navigation { float: left; }*/

div#region-menu .navigation {
  position:absolute;
	top: 32px;
	z-index:10;
}

div#region-menu .navigation .content {
	position:absolute;
	left: 740px;
}

ul#main-menu, ul.nice-menu-main-menu { 
  margin: 0; 
  padding: 10px 0; 
  list-style-type: none;
  list-style: none; 
  background: #2c91ba; 
  display: block; 
  width: 739px;
  position:absolute; 
}

ul#nice-menu-1 {
  background: url('../images/bg-mainmenu-mobile-active.png') 28px top no-repeat;
  padding-top: 9px;
}

ul.nice-menu-main-menu ul {
  position:absolute;
	left: 740px;
	top: 9px;
	background: #2c91ba;
	padding-top: 0;
	margin: 0;
}

ul.nice-menu ul { visibility: visible; }

ul#main-menu li, ul.nice-menu-main-menu li {
  background: transparent; 
  background: #2c91ba;
  color: #fff;
  height: 30px;
  line-height: 22px;
  padding: 0;
  float: none;
  position: static;
}

.navigation ul li.leaf, .navigation ul li.expanded { list-style-image: none; list-style-type: none; }


ul#main-menu li a, ul#main-menu li span.nolink,
ul.nice-menu-main-menu li a, ul.nice-menu-main-menu li span.nolink { 
  color: #fff; 
  font-weight: bold; 
  font-size: 1.1em; 
  display: block;
  background: transparent url('../images/bg-mainmenulink-mobile.png') 10px 50% no-repeat;  
  padding: 0; 
  text-decoration: none; 
  height: 22px;
  padding: 0 0 0 24px;
  cursor: pointer;
}

ul#main-menu li span.nolink:hover, ul.nice-menu-main-menu li span.nolink:hover { cursor: pointer; }

.navigation .btn-navbar, .btn-navbar {
  cursor: pointer;
  display:block; /*display: none;*/
  text-indent:-9999px;
  float: left;
  padding: 5px;
  margin-left: 15px;
  background-color: #2c91ba;
  color: #ffffff;
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;      
}

.navigation .btn-navbar .icon-bar, .btn-navbar .icon-bar {
  display: block;
  width: 24px;
  height: 4px;
  background-color: #fff;
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
          border-radius: 2px;
  -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
     -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
          box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.btn-navbar .icon-bar + .icon-bar {
  margin-top: 3px;
}

ul.nice-menu-main-menu li.title { height: 40px; }


ul.nice-menu-main-menu li.title a {
	text-transform:uppercase;
	text-align:center;
	background: url('../images/bg-mainmenu-title.png') 10px 50% no-repeat ;
	padding: 12px 0 12px 24px;
	height: 16px;
}
nav li.title a:hover { background-color: #000; }

@media only screen and (max-width: 739px) {
	ul.nice-menu-main-menu li ul, 
  ul.nice-menu-main-menu li.current ul li ul, 
  ul.nice-menu-main-menu li.current ul li.current ul li ul,
  ul.nice-menu-main-menu li.current ul li.current ul li.current ul li ul,
  ul.nice-menu-main-menu li.current ul li.current ul li.current ul li.current ul li ul,
  ul.nice-menu-main-menu li.current ul li.current ul li.current ul li.current ul li.current ul li ul {
    display:none
  }

  ul.nice-menu-main-menu li.current > ul, 
  ul.nice-menu-main-menu li.current ul li.current > ul,
  ul.nice-menu-main-menu li.current ul li.current ul li.current > ul,
  ul.nice-menu-main-menu li.current ul li.current ul li.current ul li.current > ul,
  ul.nice-menu-main-menu li.current ul li.current ul li.current ul li.current ul li.current > ul,
  ul.nice-menu-main-menu li.current ul li.current ul li.current ul li.current ul li.current ul li.current > ul {
  	display:block
  }
}

/* --------- Region Menu Sociallinks --------- */
.block.sociallinks.mobileonly {
  width: auto;
  position: absolute;
  top: 4px;
  left: 75px;
  height: 28px; 
}

.block.sociallinks.mobileonly  a.sociallink {
  display: inline-block; 
  width: 24px;
  height: 24px; 
  margin: 2px 15px 2px 0;
}	
	
/* --------- Region Header --------- */
body.front #zone-header-wrapper {
  /*background: #fff url('../images/121129-header-pt-start-320a.jpg') center top no-repeat; */
  background: #fff url('../images/121204-header-am-320.jpg') center top no-repeat;
  border-top: 2px solid #fff;
  min-height: 188px; 
  position: relative;
}

#region-header-second { display: none; }


/**** Sidebar second ******/
#region-sidebar-second { 
  background: #f0f0f0; 
  padding-top: 0px;
  /*max-width: 100%;*/
}

#region-sidebar-second div.region-inner { padding: 10px; }

#region-sidebar-second .block { display: none;  }
#region-sidebar-second .block.mobile,
#region-sidebar-second .block.mobileonly { display: block; }

#region-sidebar-second .block h2.block-title {
  background: transparent;
  margin-bottom: 0;
  padding: 0;
  text-transform: uppercase;
  font-weight: ;  
  font-size: 1.1em;
}

#region-sidebar-second .block .content img { display: block; margin: 0 auto; }

/* Livestream only for PC */
/*@media only screen and (max-width: 1024px), (max-device-width:1024px) {
  #region-sidebar-second .block.livestream { display: none; }  
}*/


/********* Content *********/

#region-content { background: #fff; }
#region-content div.region-inner { padding: 10px; }

/* --- Sociallinkstable mobileonly unten ----- */
#region-content .block.sociallinkstable { margin: 10px 0; background: #fff; }

#region-content .block.sociallinkstable table {
  width: auto;
  margin: 0 auto;
}

.block.sociallinkstable p { margin: 0; }

.block.sociallinkstable td { 
  text-align: center; 
  padding: 0 5px;
  font-size: 0.8em;
  font-weight: bold;  
}

/* -------- Mainmenu mobileonly ----- */
.block.mainmenu { margin: 20px 0 10px 0; }

.block.mainmenu ul.menu { 
  margin: 0; 
  padding: 10px 0; 
  list-style-type: none;
  list-style: none; 
  background: #2c91ba; 
  width: 100%;
}

.block.mainmenu li ul.menu { background: #277395; padding: 4px 0; }

.block.mainmenu ul.menu li {
  background: transparent; 
  color: #fff;
  height: auto;
  line-height: 22px;
  padding: 0;
  margin: 0;
}

.block.mainmenu li ul.menu li {
  margin-left: 14px;
}

.block.mainmenu ul.menu li a, .block.mainmenu ul.menu li span.nolink { 
  color: #fff; 
  font-weight: bold; 
  font-size: 1.15em;
  letter-spacing: 0.5px; 
  display: block;
  background: transparent url('../images/bg-mainmenulink-mobile.png') 10px 50% no-repeat;  
  padding: 0; 
  text-decoration: none; 
  height: 22px;
  padding: 0 0 0 24px;
  cursor: pointer;
}

ul#main-menu li span.nolink:hover, ul.nice-menu-main-menu li span.nolink:hover { cursor: pointer; }

/* ------- PC only blocks ----- */
.block.pconly { display: none; }

/* --------- Footer First -------- */
#region-footer-first { background: #fff; }
#region-footer-first div.region-inner { padding: 10px; }

#region-footer-first .block .content {
  text-align: center;
  font-size: 0.86em;
  padding: 6px 0;
  line-height: 11px;
}

#region-footer-first .content p { margin: 0; }
#region-footer-first .content a { color: #333; text-decoration: none; }

#region-footer-first .block.orange { background: #ff9900; }
#region-footer-first .block.orange .content {
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
}
#region-footer-first .block.orange .content p, 
#region-footer-first .block.orange .content a { color: #fff; }

/* ---------- Load More Content --------- */
ul.pager-load-more {
  background: transparent;
  width: 100%;
  list-style: none;
  margin: 8px 0;
}

.item-list ul.pager-load-more li, 
ul.pager-load-more li {
  display: inline;
  padding: 0;
  margin: 0;
  text-align: center;
  font-size: 0.86em;
}


ul.pager-load-more a {
  display: block;
  height: 15px;
  padding: 6px 0;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  background: #ff9900;
  line-height: 15px;
}

/* ---------- Tabelle Wahlen --------- */
table#wahlen {
  width: 100%;
}

table#wahlen td, table#wahlen th {
  padding: 5px;
  border-bottom: 1px solid #999;
  border-left: 0px solid #999;
  vertical-align: top;
  text-align: left;
}

table#wahlen th { border-top: 0; font-weight: bold; }
table#wahlen tr td:first-child, table#wahlen tr th:first-child {
  border-left: 0;
  padding-left: 0;
}

/* ---------- Tabelle Programm --------- */
table.programm {
  width: 100%;
  margin: 16px 0;
}

table.programm td, table.programm th {
  padding: 3px 6px;
  border: 0;
  vertical-align: top;
  text-align: left;
}

table.programm td.date {
  border-right: 1px solid #999;
  padding-left: 0;
  width: 40px;
}

table.programm td.date img {
  width: 36px !important; 
  height: 36px !important;
}

table.programm td.day {
  font-size: 1.5em;
  font-weight: bold;
}

table.programm td.uhr {
  width: 22px;
}

table.programm td.zeit {
  width: 60px;
}

/* --------- Google Map ---------- */
h3.location-locations-header { display: none; }

/* ---------- Frontpage ----------- */
.view-frontpage .views-row {
  border-bottom: 2px solid #b2b2b2;
  padding: 10px 0;
}
.view-frontpage .views-row:first-child { padding-top: 0; }

.view-frontpage span.time, .view-frontpage h2.title, 
.view-frontpage div.picture, .view-frontpage div.video, 
.view-frontpage div.text, .view-frontpage div.links {
  display: none;
}

h2.title { text-transform: uppercase; line-height: 1.2em; }
.view-frontpage h2.title, h2.title.front { text-transform: none; }
h2.title a { text-decoration: none; }

h2.mobiletitle { 
  font-size: 0.95em;  
  margin: 0;
}

h2.mobiletitle a {
  color: #333;
  text-decoration: none;
}

span.time {
  font-size: 0.9em;
  font-weight: bold;
  background: url('../images/uhr-22x22.jpg') no-repeat;
  display: block; 
  line-height: 22px;
  padding-left: 25px;
}

div.video { margin: 10px 0; }

div.links ul {
    list-style: square outside none;
    margin: 0 0 0 20px;
    padding: 0;
}

div.links .item-list ul {
    margin: 0;
}

div.links .item-list li, div.files li {
    list-style-type: none;
    margin: 0 0 3px;
}

.field-name-field-datei div.field-item,
.field-name-field-links div.field-item { margin-bottom: 0px; }

div.externallinks .item-list li, 
.field-name-field-links div.field-item {
    background: url("../images/bg-externallink.png") 0 2px no-repeat;
    padding-left: 20px;
}

div.files li {
    background-image: none;
    padding-left: 0;
}

span.filefield_size, span.filesize { font-size: 0.9em; }

.fileicon, .field-content, .filesize, .file {
    line-height: 17px;
    vertical-align: bottom;
    display: inline-block;
}

img.file-icon { vertical-align: top; }

/* ------- Berichte, Reden, etc., Karte  -------- */
.view-berichte .views-row {
  margin-bottom: 16px;
}

.view-berichte h2.cat-title { text-transform: uppercase; font-size: 1.4em; }

.abbr h2.pane-title, 
.block.karte h2.block-title,
div#site-map h2 { text-transform: uppercase; }

/* --------- Sitemap --------- */
#site-map .site-map-box ul {
    padding-left: 0;
    margin-left: 0;
}

#site-map .site-map-box ul ul {
    margin-left: 10px;
}

#site-map .site-map-box ul li.leaf,
#site-map .site-map-box ul li.expanded {
  list-style-image: none;
  list-style-type: none;
  padding: 3px 0;
  line-height: 18px;
}

#site-map .site-map-box ul ul li.leaf,
#site-map .site-map-box ul ul li.expanded {
  background: url('../images/bg-sitemap.png') left 7px no-repeat;
  padding-left: 12px;
}

/* ----- EU Cookie Compliance --------- */
#sliding-popup {
  width: 100%;
  background-color: #f0f0f0;
  border-top: 1px solid #ccc;
  padding: 0.5em 0 0.5em 0; }

@media (min-width: 980px) {
  #sliding-popup {
    padding: 0.5em 0 0 0; 
  } 
}

#sliding-popup .popup-content {
  padding-left: 10px;
  padding-right: 10px;
  max-width: 100%; 
}

@media (min-width: 740px) {
  #sliding-popup .popup-content {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  #sliding-popup .popup-content:after {
    content: " ";
    display: block;
    clear: both; 
  } 
}

@media (min-width: 980px) {
  #sliding-popup .popup-content {
    max-width: 940px;
    margin-left: auto;
    margin-right: auto; 
  }
  
  #sliding-popup .popup-content:after {
    content: " ";
    display: block;
    clear: both; 
  } 
}

/*@media (min-width: 1220px) {
  #sliding-popup .popup-content {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto; 
  }
  
  #sliding-popup .popup-content:after {
    content: " ";
    display: block;
    clear: both; 
  } 
}*/

#sliding-popup .popup-content .hide-popup {
  position: absolute;
  right: 10px;
  top: 0em;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer; 
  font-weight: bold;
}

#sliding-popup .popup-content #popup-buttons {
  float: none;
  max-width: 100%;
  clear: none;
  margin-top: 1em; 
}

@media (min-width: 980px) {
  #sliding-popup .popup-content #popup-buttons {
    width: 38.31776%;
    float: right;
    margin-right: 0;
    margin-top: 0.5em; 
  } 
}

#sliding-popup .popup-content #popup-buttons button + button {
  margin-top: 0.5em; 
}

@media (min-width: 980px) {
  #sliding-popup .popup-content #popup-buttons button + button {
    margin-top: 0.5em; 
  } 
}

#sliding-popup .popup-content #popup-text {
  float: none;
  max-width: 100%; 
}

@media (min-width: 980px) {
  #sliding-popup .popup-content #popup-text {
    width: 58.8785%;
    float: left;
    margin-right: 2.80374%; 
  } 
}

#sliding-popup .popup-content #popup-text h2 {
  font-size: 1.25em; 
}

#sliding-popup .popup-content #popup-text h2, #sliding-popup .popup-content #popup-text p {
  margin-bottom: 0; 
}

#sliding-popup .popup-content #popup-text h2 + p, #sliding-popup .popup-content #popup-text p + p {
  margin-top: 0.5em; 
}

#sliding-popup .popup-content.popup-content-hide-button #popup-text {
  max-width: 90%; 
}

@media (min-width: 980px) {
  #sliding-popup .popup-content.popup-content-agree-button #popup-buttons {
    width: 28.03738%;
    float: right;
    margin-right: 0; 
  } 
}

@media (min-width: 980px) {
  #sliding-popup .popup-content.popup-content-agree-button #popup-text {
    width: 69.15888%;
    float: left;
    margin-right: 2.80374%; 
  } 
}

.ubg-privacy-googleanalytics-label .form-type-checkbox,
.ubg-privacy-piwik-label .form-type-checkbox {
  margin-bottom: 0;
  margin-top: 0.5em; 
}

.ubg-privacy-googleanalytics-label .form-type-checkbox label p,
.ubg-privacy-piwik-label .form-type-checkbox label p {
  display: inline-block; 
  margin-top: 0;
}


