* {
    outline: none;
    margin: 0;
    padding: 0;
}
img {
    border: 0;
}
a {
    text-decoration:none;
}
/*a:hover {text-decoration:underline;}*/

/* A CSS sticky footer that just works */
html, body {
    height: 100%;
}
.wrapper {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -125px; /* the bottom margin is the negative value of the footer's + header height */
    position: relative;
    width: 990px;
    text-align: left;
    background-image:url(../images/content-background.png);
}
footer, .push {
    height:155px; /* .push must be the same height as .footer*/
    clear: both;
}

body {
    margin: 0;
    padding: 0;
    font-size:12px;
    font-family:Georgia, "Times New Roman", Times, serif;
    background:url(../images/header-background.png) repeat-x,  url(../images/body-background.png);
    color:#5a5649;
    
}
.header {
    height:58px;
    background: url(../images/header-wrapper-background.png) center no-repeat;
    color:#fefcf3;
    font-size:11px;
    padding-top:5px;
		float: left;
}
.header-wrapper {
    position: relative;
    width: 990px;
    text-align: left;
    margin: 0 auto 0;
}
.header .col1{
    word-spacing:5px;
}
.header .col3{
    text-align:right;
    text-transform:uppercase;
    word-spacing:40px;
}
.header a{
    color:#e6e2c6;
    word-spacing:10px;
}
.header a:hover{
    color:#fefcf3;
    word-spacing:10px;
}
.content {
    margin: 0 0 0 0;
    float:left;
    
}
.content p a{
    color:#9c2626;  
}


/*grid sistem*/
.col1, .col2, .col3 {
    float: left;
    display: inline;
    margin:15px;
}
.col1 {
    width:130px;
		margin: 0;
		margin-left: 10px;
}
.col2 {
    width:180px;
	margin-top: 370px;
	margin-left: 30px;
}
.col2 .fb_blue{
 	margin-top: -230px;
}

.col3 {
    width:590px;
}
.col3-0 /*csakszoveg*/ {
    float: left;
    display: inline;
    margin-bottom: 20px;
    width:590px;
}

.col3-1 /*kepgaleria kepei*/ {
    float: left;
    display: inline;
    margin-left: 20px;
    margin-bottom: 20px;
    width:100px;
}
.col3-2 /*hir teaser szoveg*/ {
    float: left;
    display: inline;
    margin-left: 20px;
    margin-bottom: 20px;
    width:440px;
}
.col3-3 /*hir teaser kepe*/ {
    float: left;
    display: inline;
    margin-left: 20px;
    margin-bottom: 20px;
    width:130px;
}

.col3-4 /*kepgaleria lista*/ {
    float: left;
    display: inline;
    margin-left: 17px;
    margin-bottom: 17px;
    width:160px;
    height:215px;
    padding:11px 14px 11px 11px;
    /*text-align:center;*/
    background:url(../images/gallery-map.gif) no-repeat;
}
.col3-5 /*kepgaleria lista kepe*/ {
    float: left;
    display: inline;
    margin-left: 20px;
    margin-bottom: 20px;
    width:100px;
}
.col3-6 /*kapcsolat lista kepe*/ {
    float: left;
    display: inline;
    margin-left: 20px;
    margin-bottom: 20px;
    width:100px;
}
.col3-7 /*videogaleria lista*/ {
    float: left;
    display: inline;
    margin-left: 17px;
    margin-bottom: 17px;
    width:185px;
    height:193px;
    /*padding:11px 14px 11px 11px;*/
    /*text-align:center;*/
}
.col3-7 p {
    height:50px;
    overflow:hidden; /*ha a cim tobb mint ket soros, akkor sem jeleneik meg a meghatarozott magassag miatt a tobbi sor*/
    padding-top: 5px;
    text-align:left !important;
}
.col3-7 p span {
    font-size:11px;
    color: #918d7d;
    font-style:italic;
}


.first {
    margin-left: 0;
    clear: left;
    
}
.container{
    display: inline-block;
}
.news, .list, .events, .publications{
    display: inline-block;
}
/* clearfix */
.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}
* html .clearfix {
    zoom: 1;
} /* IE6 */
*:first-child+html .clearfix {
    zoom: 1;
} /* IE7 */
/*grid sistem end*/

footer {
    position: relative;
    margin: 0 auto;
    background:url(../images/footers-background.png);
    color:#757065;
}
footer .wrapper{
    background:url(../images/footer-background.png) repeat-y;
}
footer a {
    color: #b53437;
    text-decoration: none;
    border: 0;
}
footer span {
    color:#d98628;
}

/* menu + accordion */

ul.menu {
    list-style:none;
    background:url(../images/separator-pottyos.png) top repeat-x;
}

ul.menu li a{
    display:block;
    line-height:normal;
	padding:5px 10px;
    color:#6c674a;
    text-decoration:none;
    background:url(../images/separator-pottyos.png) bottom repeat-x;
}
ul.menu li ul{
    list-style:none;
}

.submenu ul {
    height:0;
    overflow:hidden;
}
.submenu ul li a {
    padding:5px 10px 5px 20px;
}
    
p {
    font-size:12px;
    font-weight:normal;
}
ul.menu li a:hover, ul.menu li a:focus {
    color:#992322;
}

/*#media:target + ul {
    height:auto;
}*/
.submenu a:target + ul {
    height:auto;
}

/* tartalom */

.content .col3 h1{
    font-size:18px;
    font-weight:normal;
    font-style:italic;
    color:#3f3630;
    height:40px;
    line-height:30px;
    background:url(../images/separator-pottyos.png) bottom repeat-x;
    margin-bottom:20px;
}
.content .col3 h2{
    font-size:17px;
    font-weight:normal;
    /*font-style:italic;*/
    color:#3f3630;
    margin-bottom:20px;
}
.content .col3 p{
    font-size:14px;
    text-align:justify;
    color:#5a5649;
    margin-bottom:10px;
}
.content .col3 .news .date, .content .col3 .news-detail .date, .content .col3 .list .date, .content .col3 .date{
    font-size:12px;
    color:#918d7d;
    font-style:italic;
    margin-bottom:5px;
}

.content .col3 .news .col3-2 {
    position: relative;
//    height:135px;
}

.content .col3 .news .col3-2 .date{
//    display:block;
//    position: absolute;
//    bottom: 0; left: 0;
}
.content .col3 .news .col3-2 h2{
    max-height:40px;
    overflow:hidden;
}
.content .col3 .news .col3-2 p.description{
    max-height:65px;
    overflow:hidden;
}

.content .col3 .events .calendar{
    font-size:12px;
    color:#918d7d;
    /*font-style:italic;*/
    margin-bottom:3px;
}
.content .col3 .events{
    background:url(../images/separator-pottyos.png) bottom repeat-x;
    margin-bottom:15px;
    padding-bottom:15px;
    width:590px;
}

.content .col3 .events h2{
    margin-bottom: 0; !important;
}

.content .col3 .news .calendar span{
    font-size:17px;
    color:#fff;
}
.content .col3 .news h2{
    font-size:17px;
    font-weight:normal;
    font-style:normal;
    color:#8f0206;
    margin-bottom:15px;
}
.content .col3 .news{
    background:url(../images/separator-pottyos.png) bottom repeat-x;
    margin-bottom:20px;
    width:590px;
}
.content .col3 .news a{
    font-size:12px;
    color:#8f0206;
}
.content .col3 .innerimg{
    margin-bottom:10px;
}
.search{
    position:relative;
    left:320px;
    text-align:right;
    width:270px;
    height:0;
}
.searchbox{
    border:1px solid #a7a19b;
    padding:5px;
    margin-bottom:5px;
    font:inherit;
    color:#918d78;
    width:220px;
}
.searchbox_submit{
    position:relative;
    top:4px;
    width:28px;
    height:15px
}

.content .col3 .list h2 a{
    font-size:17px;
    font-style:normal;
    color:#8f0206;
}
.content .col3 .list h2 a:hover{
    color:#b53437;
}

.content .col3 .list{
    background:url(../images/separator-pottyos.png) bottom repeat-x;
    margin-bottom:20px;
    width:590px;
}
.content .col3 .news h2 a{
    font-size:17px;
    color:#8f0206;
    /*text-shadow:2px 2px #e7cec3;*/
}
.content .col3 .news h2 a:hover{
    color:#b53437;
    /*text-shadow: none;*/
}
.content .col3 h3{
    font-size:12px;
    font-weight:normal;
    font-style:normal;
    color:#8f0206;
    margin-top:5px;
    /*text-align:center;*/
}
.content .col3 h3 a{
    /*font-size:17px;*/
    color:#8f0206;
    /*text-shadow:2px 2px #e7cec3;*/
}

.content .col3 .contactlist{
    /*background:url(../images/separator-pottyos.png) bottom repeat-x;*/
    margin-bottom:0;
    width:590px;
    display:inline-block;
}

.content .col3 .pagination{
    background:url(../images/separator-pottyos.png) bottom repeat-x;
    padding-bottom:10px;
    width:590px;
    display:inline-block;
    text-align:right;
    word-spacing:5px;
    color:#a43636;
    position:relative;
    top:-10px;
    
}
.content .col3 .pagination a{
    color:#918d78;
}

.content .col3 a{
    /*font-size:12px;*/
    color:#8f0206;
}
.col3-4 h3 {
    height:45px;
    overflow:hidden;
    padding-top: 3px;
    text-align:left !important;
	line-height:15px;
}
.center{
    text-align:center;
    padding:10px !important;
}
.back{
    display:block;
    clear:both;
}
.sidebar{
    color:#6c674a;
    /*margin-left:10px;*/
	padding-left:10px;
    margin-top:15px;
    line-height:18px;
}
.sidebar-b{
    color:#6c674a;
    /*margin-left:10px;*/
	padding-left:10px;
	padding-bottom:10px;
    margin-top:15px;
    line-height:18px;
	background:url(../images/separator-pottyos.png) bottom repeat-x;	
}
    
.col2 .separator{
    text-align:center;
    padding:10px 0;
    background:url(../images/separator-pottyos.png) bottom repeat-x;
}
.sidecalendar {
    padding:10px 0;
    background:url(../images/separator-pottyos.png) bottom repeat-x;
}
.sidebar a:hover {
    text-decoration:underline;
}
.content .col3 .events .partners{
    font-size:11px;
    color:#918d7d;
    margin-top:8px;
	text-align:left;
}
.add{
    float: left;
    display: inline;
    margin:15px 0 0 15px;
}

table.calendar {
    font-size: 11px;
    text-align: center;
    border-spacing:0;
}
table.calendar .month-selection, table.calendar .the-month {
    width: 178px;
    border-collapse:collapse;
}
table.calendar .month-selection tr {
    font-weight: normal;
    background:#ded8b0;
    height:25px;
}
table.calendar .the-month td {
    border:#46432a solid 1px;
    /*padding:3px;*/
    width:22px;
    height:18px;
}
table.calendar .the-month td, .month-selection .next, .month-selection .prev {
    cursor:pointer;
}
table.calendar .days {
    background:#6d6842;
    color:#eeebd6;
}
table .whatever {
    width:178px;
    text-align:center;
    background:#ded8b0;
}
table .whatever a{
    color:#6d6842;
}



.content .col3 .publications{
    background:url(../images/separator-pottyos.png) bottom repeat-x;
    margin-bottom:20px;
    width:590px;
}
.content .col3 .publications .col3-2 {
    position: relative;
    height:130px;
}

.content .col3 .publications .col3-2 h2{
    max-height:40px;
    overflow:hidden;
}
.content .col3 .publications .col3-2 p.description{
    max-height:68px;
    overflow:hidden;
}
.partnerek {
	line-height:23px;
}

.socialmedia{
	margin:10px 0;
}
.socialmedia a {
display:block;
float:left;
margin:0 5px;
text-align:center;
}
.socialmedia a.flickr  {
display:block;
width: 22px;
height:22px;
background: url("../images/sm-flickr.png") 0 0 no-repeat;
}
.socialmedia a:hover { 
background-position: 0 -22px;
color: #049;
}
.facebook{
	position: absolute;
	margin-top: -145px;
}
/*.fb_blue{
	color: #3B5998;
}*/
