html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

#page {
  position: relative;
  height: 100%;
  height: auto !important;
  min-height: 100%;
}

#header {
  background: url(/https/www.ksh.hu/images/nepszamlalas/menu_full.png) repeat-x bottom left;
}

#footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  border-top: 4px solid #5C97CB;
}

/* f�bb tartalom egys�gek */

#header .content {
  height: 113px;
  background: url(/https/www.ksh.hu/images/nepszamlalas/header_census_uj.png) no-repeat top left;
  overflow: visible;
  position: relative;
	z-index: 1000;
}

.content {
  position: relative;
  width: 982px;
  margin: 0 auto;
  overflow: hidden;
}

.before-footer {
  padding-bottom: 64px; /* >= footer height */
}

#footer .content {
  height: 60px;
  text-align: center;
}

/* fels� elemek */

#logo {
  position: absolute;
  top: 10px;
  left: 5px;
  margin: 0;
  padding: 0;
}

ul#header-links {
  position: absolute;
  right: 15px;
  top: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
}

ul#header-links li {
  float: left;
  margin: 0;
}

ul#header-links a {
  display: block;
  margin: 0 5px;
}

/* keres� doboz */

form#search {
  position: absolute;
  top: 47px;
  right: 15px;
}

#search .input-text{
  height: 15px;
  border-width: 2px 1px 1px 2px;
  border-style: ridge solid solid ridge;
  font-size: 11px;
  border-color: #A1B1BE;
  color: #3C3C3C;
}

#search .input-submit {
  width: 62px;
  padding: 2px 0 8px;
  margin: 0;
  border: none;
  cursor: pointer;
  font-size: 11px;
  line-height: 12px;
  color: white;
  background: transparent url(/https/www.ksh.hu/images/nepszamlalas/submit_bg.png) no-repeat left top;
  vertical-align: middle;
}

/* icons */

.icon-rss {
  padding-left: 30px;
  background: url(/https/www.ksh.hu/images/nepszamlalas/icon-rss.png) no-repeat left center;
  line-height: 21px;
}

.icon-english {
  padding-left: 30px;
  background: url(/https/www.ksh.hu/images/nepszamlalas/icon-flag_en.png) no-repeat left center;
  line-height: 21px;
}

.icon-hungarian {
  padding-left: 30px;
  background: url(/https/www.ksh.hu/images/nepszamlalas/icon-flag_hu.png) no-repeat left center;
  line-height: 21px;
}

/* ikonok az �ltal�nos linkek el� */

.icon-exe {
  padding-left: 22px;
  background: url(/https/www.ksh.hu/images/nepszamlalas/icon-exe.gif) no-repeat left 2px;
	line-height: 20px;
	display: inline-block;
}

.icon-out {
  padding-right: 18px;
  background: url(/https/www.ksh.hu/images/nepszamlalas/icon-out.gif) no-repeat right 2px;
	line-height: 16px;
	display: inline-block;
}

.icon-pdf {
  padding-left: 22px;
  background: url(/https/www.ksh.hu/images/nepszamlalas/icon-pdf.gif) no-repeat left 2px;
	line-height: 20px;
	display: inline-block;
}

.icon-svg {
  padding-left: 22px;
  background: url(/https/www.ksh.hu/images/nepszamlalas/icon-svg.gif) no-repeat left 2px;
	line-height: 20px;
	display: inline-block;
}

.icon-xls {
  padding-left: 22px;
  background: url(/https/www.ksh.hu/images/nepszamlalas/icon-xls.gif) no-repeat left 2px;
	line-height: 20px;
	display: inline-block;
}

.icon-pdf-big {
  padding-left: 36px;
  background: url(/https/www.ksh.hu/images/nepszamlalas/icon-pdf-big.gif) no-repeat left 2px;
}

.icon-svg-big {
  padding-left: 36px;
  background: url(/https/www.ksh.hu/images/nepszamlalas/icon-svg-big.gif) no-repeat left 2px;
}

.icon-xls-big {
  padding-left: 36px;
  background: url(/https/www.ksh.hu/images/nepszamlalas/icon-xls-big.gif) no-repeat left 2px;
}

/* men� cs�k */

ul#menu {
  position: absolute;
  bottom: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

ul#menu li {
  float: left;
  margin: 0;
}

ul#menu a {
  display: block;
  padding: 5px 25px;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  background: url(/https/www.ksh.hu/images/nepszamlalas/menu_bg.png) no-repeat top left;
}

ul#menu a:hover {
  text-decoration: none;
  background: url(/https/www.ksh.hu/images/nepszamlalas/menu_bg_over.png) no-repeat top left;
}

ul#menu li.first a {
  background-position: top right;
}

#menu li:hover a {
  background: url(/https/www.ksh.hu/images/nepszamlalas/menu_bg_over.png) no-repeat top left;
}

ul#menu li.dropdown {
  position: relative;
}

ul#menu li.dropdown ul {
  top: 26px;
  left: 0;
  z-index: 100;
  position: absolute;
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid white;
  border-right: 1px solid white;
  border-bottom: 1px solid white;
  display: none;
}

ul#menu li.dropdown:hover ul {
  display: block;
}

ul#menu li.dropdown li {
  float: none;
}

ul#menu li.dropdown li a {
  background: #ffffff;
  color: black;
  text-transform: none;
  margin: 0;
  padding: 5px 10px;
  font-weight: normal;
  border-left: 1px solid #2D9ACF;
  border-right: 1px solid #2D9ACF;
  border-bottom: 1px solid #2D9ACF;
  width: 180px;
}

ul#menu li.dropdown li a:hover {
  background: #1B407B;
  color: white;
}

/* footer elemei */

#footer-cimer {
	position: absolute;
  top: 10px;
	left: 50px;
}

#footer-ksh img {
	position: absolute;
  top: 10px;
	right: 50px;
}

ul#footer-menu {
  list-style: none;
  margin: 15px 100px 0 100px;
  padding: 0;
	text-align: center;
}

ul#footer-menu li {
	display: inline-block;
  height: 11px;
  border-left: 1px solid #5C97CB;
  padding-left: 5px;
  padding-right: 5px;
  margin: 0;
	*display: inline;
}

ul#footer-menu li.first {
  border-left: none;
}

ul#footer-menu a {
  display: block;
  margin-top: -5px;
  padding: 3px 5px;
  font-size: 11px;
  line-height: 13px;
  font-weight: bold;
  *display: inline; /*ie6-7*/
}

ul#footer-menu a:hover {
  color: #003366;
  text-decoration: none;
}

/* oldal has�bok */

.col {
  float: left;
}

.col-200 {
  width: 200px;
  margin: 8px 0;
}

.col-480 {
  width: 480px;
  margin: 8px 5px;
}

.col-286 {
  width: 286px;
  margin: 8px 0;
}

.col-771 {
  width: 771px;
  margin: 8px 0 8px 5px;
}

.col-976 {
  width: 976px;
  margin: 8px 0;
}

/* dobozok, keretek, sz�nek */

h2 {
  font: 15px/20px Georgia, "Times New Roman", serif;
  font-weight: bold;
  padding: 9px 24px;
  margin: 0;
  color: #1B407B;
  -webkit-border-radius: 10px 10px 0 0;
  -moz-border-radius: 10px 10px 0 0;
  -ms-border-radius: 10px 10px 0 0;
  -o-border-radius: 10px 10px 0 0;
  border-radius: 10px 10px 0 0;
}

h3 {
  margin: 0;
  padding: 5px 10px;
  border-radius: 8px 8px 0 0;
  color: white;
  text-transform: uppercase;
  font-size: 11px;
  text-align: center;
}

h4 {
  margin-top: 1em;
  font-size: 12px;
}

	h4 span {
		font-weight: normal;
	}

.box {
  border-radius: 10px;
  margin-bottom: 8px;
}

.col-200 .box-content,
.col-286 .box-content,
.col-480 .box-content {
  margin: 8px;
}

.col-771 .box-content,
.col-976 .box-content {
  margin: 10px 24px;
  margin-bottom: 15px;
}

.col-771 .lead,
.col-976 .lead {
  margin: 10px 24px 0 24px;
	font-weight: bold;
}

.box-footer {
  height: 26px;
  background-color: #f1f1f1;
  border-radius: 0 0 10px 10px;
}

.color1 {
  border: 1px solid #2D9ACF;
}

.color1 h4 {
  color: #2D9ACF;
}

.color1 h3 {
  background-color: #2D9ACF;
}

.color1 h2,
.color1-bg {
  background-color: #EDF7FA;
}

.color1 .box-footer {
  border-top: 1px solid #2D9ACF;
}

.color1 .box-footer a {
  color: #2D9ACF;
}

.color2 {
  border: 1px solid #F39313;
}

.color2 h4 {
  color: #F39313;
}
.color2 h3  {
  background-color: #F39313;
}

.color2 h2,
.color2-bg {
  background-color: #F7EDDE;
}

.color2 .box-footer {
  border-top: 1px solid #F39313;
}

.color2 .box-footer a {
  color: #E08B17;
}

.color3 {
  border: 1px solid #B6C931;
}

.color3 h4 {
  color: #B6C931;
}

.color3 h3  {
  background-color: #B6C931;
}

.color3 h2,
.color3-bg {
  background-color: #F5F7DE;
}

.color3 .box-footer {
  border-top: 1px solid #B6C931;
}

.color3 .box-footer a {
  color: #8B9B21;
}

.color4 {
  border: 1px solid #E7277D;
}

.color4 h4 {
  color: #E7277D;
}

.color4 h3  {
  background-color: #E7277D;
}

.color4 h2,
.color4-bg {
  background-color: #FCE5F0;
}

.color4 .box-footer {
  border-top: 1px solid #E7277D;
}

.color4 .box-footer a {
  color: #E7277D;
}

.box-footer .more {
  color: #F2790D;
  float: right;
  margin-top: 4px;
  margin-right: 10px;
  padding-right: 12px;
  background: transparent no-repeat right 4px;
}

.color1 .box-footer .more {
 background-image: url(/https/www.ksh.hu/images/nepszamlalas/nyil1.png);
}

.color2 .box-footer .more {
 background-image: url(/https/www.ksh.hu/images/nepszamlalas/nyil2.png);
}

.color3 .box-footer .more {
 background-image: url(/https/www.ksh.hu/images/nepszamlalas/nyil3.png);
}

.color4 .box-footer .more {
 background-image: url(/https/www.ksh.hu/images/nepszamlalas/nyil4.png);
}

.box ul  {
  padding-left: 5px;
}

.box ul li {
  list-style: none;
  margin-left: 0;
  padding-left: 17px;
  background-repeat: no-repeat;
  background-position: left 4px;
}

.color1 ul li {
 background-image: url(/https/www.ksh.hu/images/nepszamlalas/bull1.png);
}
.color2 ul li {
 background-image: url(/https/www.ksh.hu/images/nepszamlalas/bull2.png);
}
.color3 ul li {
 background-image: url(/https/www.ksh.hu/images/nepszamlalas/bull3.png);
}
.color4 ul li {
 background-image: url(/https/www.ksh.hu/images/nepszamlalas/bull4.png);
}

.gray-bg {
  background-color: #f1f1f1;
}

.col-200 hr,
.col-286 hr {
	background: none;
	border: none;
	height: 0;
	padding: 0;
	margin-left: -8px;
	margin-right: -8px;
	*margin-left: -26px; /* ie6-7 only */
	*margin-right: -26px;
}

.col-200 .color1 hr,
.col-286 .color1 hr {
  border-top: 1px solid #2D9ACF;
}

.col-200 .color2 hr,
.col-286 .color2 hr {
  border-top: 1px solid #F39313;
}

.col-200 .color3 hr,
.col-286 .color3 hr {
  border-top: 1px solid #B6C931;
}

.col-200 .color4 hr,
.col-286 .color4 hr {
  border-top: 1px solid #E7277D;
}

.sidebox {
	float: right;
	margin:  10px 0 10px 10px;
	padding: 10px 10px 5px 10px;
	text-align: center;
}

	.sidebox img {
		margin-bottom: 5px;
	}

/* list�k */

ul.nobullet {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.nobullet li {
  margin: 0;
  padding: 0;
  background-image: none;
}

/* oldals�v linkes doboz */

ul.sidemenu {
  list-style: none;
  font-weight: bold;
  margin: 8px 10px;
  padding: 0;
}

ul.sidemenu ul {
  list-style: none;
  font-weight: normal;
  margin: 0 15px;
  padding: 0;
}

ul.sidemenu li {
  margin: 0;
	margin-left: 10px;
  padding: 0;
	text-indent: -10px;
  background-image: none;
}

/* nyit� oldal elemei */

.hirek_aktualitasok ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hirek_aktualitasok ul li {
  margin: 0;
  padding: 6px 12px;
  background-image: none;
/*	background-image: url('../images/mini_logo.png');
	background-position: 10px 6px;
	background-repeat: no-repeat;*/
}

.hirek_aktualitasok h4 {
  margin-top: 0;
	/*text-indent: 20px;*/
}

.ajanlott_kiadvanyok .box-content {
  padding: 0;
  margin: 0;
  margin-bottom: 15px;
}

.ajanlott_kiadvanyok .box-content  li {
	overflow: hidden;
}

.ajanlott_kiadvanyok .box-content h4 {
  font: bold 15px/20px Georgia, Tahoma, Arial, sans-serif;
  margin: 0;
  padding: 0;
  margin-bottom: 7px;
	clear: both;
}

.ajanlott_kiadvanyok .box-content .kep {
  float: left;
  margin: 0 8px 0 0;
}


#slider_wrap {
  padding: 6px 12px;
  border-color: #ffce8f;
  background-color: #fff;
}

#slider_wrap .kep img {
  border: 1px solid #ccc;
}

#slide_nav a:hover {
    text-decoration: none;
}

#slide_nav a {
    display: block;
    float: left;
    margin-right: 4px;
    width: 16px;
    height: 16px;
    text-align: center;
    font-weight: bold;
    background: #bfd6e7;
    color: #3c3c3c;
}

#slide_nav {
    float: left;
    margin-left: 17px;
    margin-top: 5px;
}

#slide_nav a.activeSlide,
#slide_nav a:hover  {
    background: #4266a1;
    color: #fff;
}

.fontosabb_adatok table {
  width: 100%;
  font-weight: bold;
  line-height: 14px;
}

.fontosabb_adatok table th,
.fontosabb_adatok table td {
  padding: 2px 0;
  vertical-align: top;
}

.fontosabb_adatok table td {
  text-align: right;
}

.prev-census a {
	display: block;
	margin: 3px 3px 0px 9px;
	padding-left: 35px;
	font-weight: bold;
	background-position: 0 0;
	background-repeat: no-repeat;
	line-height: 25px;
}

.prev-census .census-2001 {
	background-image: url(/https/www.ksh.hu/images/nepszamlalas/nyitolap/logo_2001_24h.png);
}

.prev-census .census-2005 {
	background-image: url(/https/www.ksh.hu/images/nepszamlalas/nyitolap/logo_2005_24h.png);
}

/* kiadv�nyok list�ja */

div.book {
    margin-bottom: 20px;
    overflow: auto;
}
div.book h4 {
    margin: 0 0 8px 0;
}
div.book p {
    margin-bottom: 10px;
}
div.bookdata img {
    float: left;
    margin-right: 10px;
    border: 1px solid #ccc;
}
div.bookdata p {
    margin-bottom: 8px;
}

div.bookdata a {
    font-weight: bold;
}

/* 404 oldal */

#err404 img {
	float: right;
	margin-left: 24px;
	margin-top: 10px;
}

#err404 h4 {
	margin-top: 0;
	margin-bottom: .5em;
	font: bold 12px/16px Tahoma,Arial,Verdana,sans-serif;
}

#err404 ul {
	margin-left: 0;
	padding-left: 1.3em;
	list-style: square;
}

#err404 p.gap {
	height: 0;
	padding: 1em;
}
