/* RESET */
html,body,div,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,fieldset,input,td { margin: 0; padding: 0; }
h1,h2,h3,h4,h5,h6,pre,code,address,caption,cite,code,em,strong,th { font-size: 1em; font-weight: normal; font-style: normal; }
ul,ol { list-style: none; }
fieldset,img { border: none; }
caption,th { text-align: left; }
table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

/* Body */

body {
  background: #D8D8D8 url(../images/bg.jpg) repeat-y center top fixed;
  font: 12px/16px arial, sans-serif;
  text-align: center;
}

body.with-bg {
  background-image: none;
}

#content {
  position: relative;
  width: 980px;
  padding: 90px 0 60px 0;
  text-align: left; 
  margin: 0 auto; 
}

#cp {
  position: fixed;
  right: 0;
  top: 90px;
 	z-index: 101;	
	width: 140px;
	height: 114px;
}

#cp .fb, 
#cp .ig,
#cp .yt,
#cp .ta {
	position: absolute;  
	top: 84px;
	width: 27px;
	height: 0;
	padding-top: 27px;
	overflow: hidden;
	background-repeat: no-repeat;
	background-image: url(../images/social.png);
}



#cp .fb {
	right: 4px;
  background-position: -112px -40px;
}

#cp .fb:hover {
	background-position: -112px 0;
}

#cp .ig {
	left: 75px;  
 	background-position: -77px -40px;	
}
#cp .ig:hover {
	background-position: -77px 0;
}


#cp .yt {
	left: 40px;  
  background-position: -41px -40px;	
}
#cp .yt:hover {
	background-position: -41px 0;
}

#cp .ta {
	left: 0px;  
	width: 32px;
  background-position: 0px -40px;	
}
#cp .ta:hover {
	background-position: 0 0;
}

.backgroundsize.svg #cp .fb, 
.backgroundsize.svg #cp .ig,
.backgroundsize.svg #cp .yt,
.backgroundsize.svg #cp .ta {
	background-image: url('../images/social.svg');
	background-size: 140px 67px;

}




#home {
	position: absolute;  
  top: 6px;
	left: 5px;
}

#home img {
  display: block;
  width: 129px;
  height: 68px;
}

/* Menu */

#menu {
  position: fixed;
  top: 20px;
  width: 980px;
  height: 40px;
  background: transparent url(../images/bg-menu.png) repeat 0 0 scroll;
  z-index: 100;
}

#menu #main {
  font: 11px/12px arial, sans-serif;
  margin: 5px 0 0 20px;
  text-transform: uppercase;
}

#menu #main li {
  float: left;
  margin-left: 20px;
}

#menu #main li:first-child {
  margin-left: 0;
}

#menu #main a {
  color: white;
}

#menu #main a:hover {
  color: white;
}

#menu a {
  text-decoration: none;
}

#menu a:hover {
  text-decoration: none;
}

#menu #page-menu {  
  position: absolute;
  left: 10px;
  bottom: 0;
}

#menu #page-menu li {
  position: relative;
  float: left;
  padding: 3px 0;
}

#menu #page-menu li a {
  padding: 0 10px;
  line-height: 0;
  text-transform: uppercase;
  color: white;
}

#menu #page-menu li ul {
  position: absolute;
  top: 22px;
  left: 0;
  background: white;
  display: none;
  border: 1px solid #666;
}

#menu #page-menu li ul li {
  float: none;
  white-space: nowrap;
  display: list-item;
  padding: 0;
}

#menu #page-menu li ul li a {
  display: block;
  padding: 4px 10px;
  line-height: 16px;  
  color: #333;
  text-transform: none;
}

#menu #page-menu li ul li a:hover {
  background: #f1f1f1;
  color: #000;
}

#search {
  position: absolute;
  right: 20px;
  bottom: 10px;
}

#search a, #search div {
  float: left;
}

#search div {
  position: relative;
  background: white;
  height: 20px;
  width: 170px;
}

#search .facebook, #search .youtube {  
  width: 14px;
  height: 0;
  padding-top: 14px;
  overflow: hidden;
  background: transparent url(../images/ui.png) repeat 0 -13px scroll;
  margin: 3px 6px 0 0;
  
}

#search .youtube {
  background-position: 0 -29px;
}


#search input, .search input {
  font: normal 12px/16px arial, sans-serif;
}

#search input.txt {
  position: absolute;
  left: 2px;
  top: 2px;
  background: white;
  border: none;
  width: 134px;
}

input.no-focus:focus {
  outline: none;
}


#search .btn {
  position: absolute;
  right: 2px;
  top: 2px; 
  background: white;
  border: none;
  text-transform: lowercase;  
  line-height: 16px;
  padding: 0px 4px;
  width: 0;  /* IE table-cell margin fix */
  overflow: visible;
}

#search .btn[class] {  /* IE < 7 ignores [class] */
  width: auto;
}

.example { 
  color: #CCC; 
}

/* Footer */

#footer {
  position: fixed;
  bottom: 0px;
  width: 980px;
  height: 40px;
  background: transparent url(../images/bg-footer.png) repeat 0 0 scroll;
  z-index: 10;
  text-align: center;
}

#footer ul {
  display: inline-block;
  margin: 0 auto;
  text-align: left;
}

#footer li {
  position: relative;
  display: inline;
  line-height: 40px;
}

#footer li a.page {
  color: white;
  text-transform: uppercase;  
  text-decoration: none;
  padding: 0 10px;
}

#footer li div {
  position: absolute;
  top: -36px;
  left: 10px;
  padding-bottom: 13px;
  background: transparent url(../images/ui.png) repeat 10px 23px scroll;
  display: none;
}

#footer li div a {
  line-height: 15px;
  display: block;
  padding: 4px 6px;
  color: black;
  background: #e1dfdd;
  text-transform: none;  
  white-space: nowrap;
  text-decoration: none;
}

/* Page */

.columns {
  width: 840px;
}

#left-column {
  float: left;
  width: 600px;
  margin-left: 20px;
  background: white;
  padding: 20px 10px 10px 10px;
}

.plain a {
  color: #25b730;
}

.plain a:visited {
  color: #818386;
}

#left-column.database {
  background: #f0f1f3;
}

.plain h1 {
  font-size: 22px;
  line-height: 24px;
  font-weight: normal;
  text-transform: uppercase;
  margin: 0 0 10px 0;
}

.plain .h2-container {
  background-color: inherit;  
  color: #666;
  margin: -10px 0 16px 0;  
  min-height: 14px;
}

.plain .h2-container h2 {
  display: inline;
  margin-right: 8px;
}

.plain .h2-container a.facebook {
  position: absolute;
  width: 14px;
  height: 0;
  padding-top: 14px;
  margin-left: 20px;
  overflow: hidden;
  background: transparent url(../images/ui.png) repeat -14px -13px scroll;
}

.plain .h2-container a.mail {
  position: absolute;
  width: 16px;
  height: 0;
  padding-top: 14px;
  overflow: hidden;
  background: transparent url(../images/ui.png) repeat -28px -13px scroll;
}

.plain .h2-container a.facebook:hover {
  background-position: 0 -13px;
}

.plain h2 {
  font-weight: normal;
  font-size: 14px;
}


.plain h3 {
  font-weight: bold;
  margin: 0;
}

.plain ul, .page ol {
  margin: 0 0 16px 0;
}

.plain p {
  margin: 0 0 16px 0;
}

.timestamp {
  color: #999;
  font-size: 11px;
  font-style: italic;
}

/* Search */

.search form {
  margin: 16px 0;
}

.search .txt {
  margin-right: 8px;
  width: 200px;
}

.search li {
  margin: 16px 0;
}

.search p {
  margin: 0;
}

.search .content-type {
  color: #999;
  font-size: 11px;
}

/* Pages */

#right-column {
  float: right;
  width: 180px;
  /*background: transparent url(../images/bg-subpages.png) repeat 0 0 scroll;*/
}

.pages li {
  position: relative;
  border-top: 1px solid #AAA;
  padding: 6px 6px 10px 6px;
  color: #888;
  font-size: 11px;
  line-height: 12px;
}

.pages li:first-child {
  border-top: none;
  padding-top: 0;
}

.pages li img {
  display: block;
  margin: 0 -6px 6px -6px;
}

.pages h4 {
  font-size: 12px;
  line-height: 13px;
}

.pages h4 a {  
  color: #333;
  display: block;
  text-decoration: none;
}

.pages h4 a:hover {
  text-decoration: underline;
}

.pages li a.overlay {
  position: absolute;
  background: transparent url(../images/bg-current.png) repeat 0 0 scroll;
  top: 0;
  left: 0;
  height: 0;
  width: 180px;
  overflow: hidden;
}

/* Pagination */

.pagination {
  text-align: center;
  margin: 16px 0;
}

.pagination em {
  font-style: normal;
}

/* Formular */

.form-container {
  margin: 0 0 16px 0;
}

.form-container ul {
  margin: 0 0 16px 0;
}

.form-container table {
	margin: 0 0 16px 0;
}

.form-container td {
  padding: 0 2px 2px 0;
}

.form-container dl { margin: 10px 0; }

.form-container dt {
  width: 100px;
  margin: 4px 8px 0 0;
  text-align: right;
  display: inline;
  float: left;
  clear: left;
}

.form-container .fieldWithErrors { display: inline; }
.form-container dd { margin: 0 0 5px 0; }
.form-container dd .txt { width: 200px; border: 1px solid #999; padding: 2px;}
.form-container dd.help { font-size: 11px; line-height: 12px;  color: #95979B;}

.form-container .ctrl {
  font-size: 12px;
}

p.options {
  margin: 8px 0 16px 0;
}

p.options label {
  margin-right: 16px;
}

/* Featured news */


.featured-news {
  margin: 0 0 40px 0;
}

.featured-news li {
  position: relative;
  float: left;
  width: 300px;
  margin: 0 0 20px 20px;  
  height: 250px;
  background: white;
  cursor: pointer;    
}

.featured-news label {
  position: absolute;
  left: 6px;
  top: 6px;
  /*background: transparent url(../images/bg-white.png) repeat left top scroll;*/
  background: white;
  padding: 2px 6px;
  cursor: pointer;      
}

.featured-news li div {
  position: absolute;
  left: 6px;
  bottom: 6px;
  width: 278px;
  background: white;
  font-size: 12px;  
  color: #666;
  padding: 5px;
}


.featured-news li a, .featured-news label {
  font-size: 14px;
  line-height: 16px;
  font-weight: normal;
  color: black;
  text-decoration: none;  
}

.featured-news label {
  color: #666;
}

/* YT */

.yt {
  position: relative;
  left: 20px;
  height: 340px;
  width: 940px;
  margin: 0 0 40px 0;  
  z-index: 1;
}

/* Featured */

.columns .featured {
  float: left;
  margin-top: 40px;
}

.featured {
  padding-bottom: 20px;
  min-height: 250px;
}

.featured li {
  position: relative;
  float: left;
  width: 300px;
  height: 250px;  
  margin: 0 0 20px 20px; 
  cursor: pointer;  
}

.featured li div {
  position: absolute;
  left: 6px;
  top: 6px;
  width: 278px;
  background: white;
  font-size: 14px;  
  color: #666;
  padding: 5px;
}

/* SLideshow */

.slideshow {
  position: relative;
  left: 20px;
  height: 340px;
  width: 940px;
  overflow: hidden;
  cursor: pointer;
  margin: 0 0 40px 0;
}

.slideshow div {
  position: absolute;
  left: 6px;
  top: 6px;
  width: 278px;
  background: white;
  font-size: 14px;  
  color: #666;
  padding: 5px;
}

.slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}

.slideshow img:first-child {
  display: block;
}

.slideshow div a, .featured li div a {
  font-size: 20px;
  line-height: 22px;
  font-weight: normal;
  color: black;
  text-decoration: none;  
}

#new_donation {
  width: 240px;
}


#new_donation input[type="text"] {
  width: 240px;
  font-size: 12px;
  padding: 2px;
}


#new_donation .pair p {
  float: left;
  width: 60px;
}

#new_donation .pair p+p {
  float: right;
  width: 160px;
}

#new_donation .pair p input {
  width: 100%;
}



/* Error */

.flash {
  margin: 8px 0 0 0;
  color: white;
  background: #8A8A8A;
  display: inline-block;
  padding: 2px 4px;
}

#errorExplanation {
	border-top: 2px solid #D41717;
	border-bottom: 2px solid #D41717;
	text-align: left;
	margin-bottom: 1em;
	padding: 4px 0;
}

#errorExplanation p.warning {
  margin-top: 4px;
}

#errorExplanation ul {
  margin: 0;
}


#errorExplanation h2 {
	font-size: 14px;
	margin: 2px 0;
	color: black;
}

#errorExplanation p {
	margin: 0px;
}

/* Cookie */

#cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: white;
  text-align: center;
  font: normal 13px/40px arial, sans-serif;

  z-index: 11;
}

#cookie > div {
  position: relative;
  width: 960px;  
  padding: 0 10px;
  margin: 0 auto;
  text-align: left;
}

#cookie a {
  color: #777;
  text-decoration: underline;  
  
}

#cookie a.close {
  position: absolute;
  right: 10px;
  top: 14px;
  color: #000;
  text-decoration: none;  
  text-transform: uppercase;  
  line-height: 1em;
}

#cookie a.close:hover {
  text-decoration: underline;  
}

#cookie p {
  color: #333;
  line-height: 40px;
}


#bg {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

#bg>img {
  position: absolute;
  top: 0;
  image-rendering: optimizeQuality;
  min-width: 100%;
  max-width: 100%;
  vertical-align: middle;
  width: auto;
  height: auto;  
  display: none;      
}

#bg img:first-child {
  display: block;
}