/*@import url(http://fonts.googleapis.com/css?family=Cabin:500,700,500italic,700italic);*/

@font-face {
    font-family: 'Cabin';
    src: url('fonts/Cabin-Regular-webfont.eot');
    src: url('fonts/Cabin-Regular-webfontd41d.eot?#iefix') format('embedded-opentype'),
         url('fonts/Cabin-Regular-webfont.woff') format('woff'),
         url('fonts/Cabin-Regular-webfont.ttf') format('truetype'),
         url('fonts/Cabin-Regular-webfont.svg#CabinRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Cabin';
    src: url('fonts/Cabin-Italic-webfont.eot');
    src: url('fonts/Cabin-Italic-webfontd41d.eot?#iefix') format('embedded-opentype'),
         url('fonts/Cabin-Italic-webfont.woff') format('woff'),
         url('fonts/Cabin-Italic-webfont.ttf') format('truetype'),
         url('fonts/Cabin-Italic-webfont.svg#CabinItalic') format('svg');
    font-weight: normal;
    font-style: italic;

}

@font-face {
    font-family: 'Cabin';
    src: url('fonts/Cabin-Bold-webfont.eot');
    src: url('fonts/Cabin-Bold-webfontd41d.eot?#iefix') format('embedded-opentype'),
         url('fonts/Cabin-Bold-webfont.woff') format('woff'),
         url('fonts/Cabin-Bold-webfont.ttf') format('truetype'),
         url('fonts/Cabin-Bold-webfont.svg#CabinBold') format('svg');
    font-weight: bold;
    font-style: normal;

}

@font-face {
    font-family: 'Cabin';
    src: url('fonts/Cabin-BoldItalic-webfont.eot');
    src: url('fonts/Cabin-BoldItalic-webfontd41d.eot?#iefix') format('embedded-opentype'),
         url('fonts/Cabin-BoldItalic-webfont.woff') format('woff'),
         url('fonts/Cabin-BoldItalic-webfont.ttf') format('truetype'),
         url('fonts/Cabin-BoldItalic-webfont.svg#CabinBoldItalic') format('svg');
    font-weight: bold;
    font-style: italic;

}

body {
	font-size: 13px;
	line-height: 1.4;
	font-family: Cabin, sans-serif;
	background: #fff;
	color: #000;
	margin: 0;
	overflow-y: scroll;
	min-width: 1260px;
}

sup,sub {
  height: 0;
  line-height: 100%;
  vertical-align: baseline;
  _vertical-align: bottom;
  position: relative;
}
sup { bottom: 1ex; }
sub { top: .5ex; }

.h,h1,h2,h3,h4,h5,h6 { font-size: 1em; font-weight: bold; }
.h,h1 { font-family: Georgia, serif; }

a {
	color: #0f6cac;
	text-decoration: none;
}
a img {
	border: none;
}
a:hover {
	text-decoration: underline;
}

fieldset { border: none; margin: 1em 0; padding: 0; }
.field { margin: 1em 0; }
label { display: block; }
input[type=text],input[type=password],input[type=submit],
select,textarea { border: 1px solid #aaa; padding: .2em .5em; }
.field-check input { float: left; }
.field-check label { padding-left: 2em; }

.align-center { text-align: center; }
.background { background-repeat: no-repeat; }

.contenttable td, .contenttable th {
	padding: 0 1em 0 0;
	text-align: left;
	vertical-align: top;
}
#content .contenttable p { margin: .2em 0; }

ul, ul li {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
ol li, ul li {
	padding: 0 0 4px 14px;
}
ul li:before {
	float: left;
	clear: left;
	margin: 4px 0 0 -13px;
	content: "\25ba";
	font-size: .7em;
}
#main ul li:before {
	color: #8ec03e;
	font-size: .5em;
}

#header, #menu, #carousel .text, #themes, #main, #footerlinks, #footer {
	margin: 0 auto;
	width: 1260px;
	position: relative;
}

#header-wrap {
	height: 64px;
	background: url(topbg.png) right top no-repeat;
}

#logo h1, #logo .h {
	margin: 0;
	text-indent: -999px;
	overflow: hidden;
}
#logo a {
	background: url(ecn_logo_zpo_rgb.png) 12px 8px no-repeat;
	display: block;
	width: 180px;
	height: 64px;
	position: absolute;
	top: 0;
	left: 0;
	transition: opacity .5s;
}
#logo a:hover { opacity: .7; }

#topmenu a, #language a, #footermenu a { color: inherit; }
#menu a, #topmenu a, #language a { text-decoration: none; }
#menu, #language {
	height: 50px;
	line-height: 50px;
	position: static;
}
#menu-wrap {
	background: #ccc;
	border-top: 1px solid #c0c0c0;
}
#menu p { display: none; }
#menu ul, #menu li {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
#menu li:before { display: none; }
#menu > ul > li {
	float: left;
}
#menu a {
	display: block;
	height: 49px;
	color: #555;
	padding: 0 20px;
	margin-right: 8px;
}
#menu ul ul a { height: auto; padding: 10px 15px 10px 20px; margin: 0; color: #000; }
#menu ul ul ul a { padding-left: 25px; }
#menu > ul > li.active > a, #menu > ul > li:hover > a {
	background: #f1f1f3;
	border-top: 1px solid #e2e3e5;
	margin-top: -1px;
	transition: background .2s;
}
#menu .helper { display: none; }
#menu ul li ul {
	visibility: hidden;
	opacity: 0;
	transition: opacity .2s;
	position: absolute;
	z-index: 1;
	background: #f1f1f3;
	line-height: 1.4;
	width: 190px;
	padding: 10px 0;
}
#menu ul li:hover > ul {
	visibility: visible;
	opacity: 1;
}
#menu ul ul li {
	position: relative;
}
#menu ul ul ul {
	left: 190px;
	top: 0;
	background: #f6f6f6;
	width: 190px;
}
#menu ul ul li:hover {
	background: #f6f6f6;
}
#menu ul ul ul a:hover {
	color: #e32212;
}

#language {
	position: absolute;
	top: 64px;
	z-index: 1;
	right: 24px;
	color: #9c9c9c;
}
#language abbr { display: none; }
#language span, #language a:hover { color: #fff; }

#topmenu {
	position: absolute;
	left: 244px;
	top: 24px;
	color: #858585;
}
#topmenu a.active, #topmenu a:hover { color: #000; }
#topmenu a, #footermenu a, #footertext p a { padding: 0 2px; }

#carousel-wrap {
	height: 330px;
	position: relative;
}
#carousel {
	width: auto;
	color: #949494;
	font-size: 16px;
}
#carousel .background {
	height: 300px;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
	position: absolute;
	left: 0;
	right: 0;
}
#carousel .h {
	font-size: 20px;
	color: #000;
	margin: 0;
}
#carousel p {
	margin: 10px 0;
}
#carousel p a {
	display: inline-block;
	background: #282828;
	color: #fff;
	padding: 8px 18px;
	margin-top: 18px;
	font-size: 14px;
}
#carousel p a:hover {
	text-decoration: none;
	background: #000;
}
#carousel .text > div {
	margin: 40px 0 0 60px;
	padding: 25px;
	background: #fff;
	width: 600px;
	height: 141px;
	border-top: 4px solid #ffec00;
}
#carouselmenu {
	position: absolute;
	top: 300px;
	left: 0;
	right: 0;
	text-align: center;
	font-size: 28px;
}
#carouselmenu a {
	color: #e4e6e8;
	text-decoration: none;
	outline: 0;
}
#carouselmenu a.active, #carouselmenu a:hover {
	color: #ccc;
}

#main-wrap {
	background: url(contentbg.png);
	overflow: hidden;
	color: #2e2d2d;
}

#menu-wrap + div, #carousel .background {
	box-shadow: 0 16px 18px -22px #000 inset;
}

#themes {
	padding: 10px 0;
	overflow: hidden;
	background: #fff;
	color: #8d8d8d;
	margin: 0 auto;
}
#themes .h {
	color: #000;
	font-size: 16px;
	margin: 16px 12px;
	border-bottom: 3px solid #1e9a44;
	height: 52px;
}
#themes .h a {
	color: inherit;
	display: block;
	text-decoration: none;
	height: 100%;
}
#themes .background {
	background-repeat: no-repeat;
	background-position: 8px 10px;
}
#themes > div {
	transition: background .3s;
	float: left;
	width: 187px;
	height: 188px;
	overflow: hidden;
	border: 1px solid #f3f3f3;
	margin: 0 0 10px 18px;
	box-shadow: 0 0 4px #e4e4e4;
}
#themes > div:hover {
	background: #f3f3f3;
	box-shadow: none;
}
#themes p {
	margin: 0 12px;
}

#breadcrumb {
	margin: 30px 20px 10px;
	font-size: 11px;
	color: #303030;
}
#breadcrumb a {
	color: #686868;
	text-decoration: underline;
}
#breadcrumb a:hover {
	color: inherit;
}
#breadcrumb a.current {
	text-decoration: none;
	color: inherit;
}

#content, #news, #banners, #leftcontent > div, #rightcontent > div {
	background: #fff;
	overflow: hidden;
	padding: 0 29px 20px;
	border-bottom: 1px solid #dfdfdf;
	margin: 20px 7px;
}
#leftcontent > div, #rightcontent > div { padding: 0 20px; }
#template-home #content, #template-home #news {
	float: left;
	width: 400px;
	height: 551px;
}
#template-home #content { margin-bottom: 0; }
#content h1, #news .h {
	font-size: 24px;
	border-bottom: 4px solid #ffec00;
	padding-bottom: 12px;
	margin: 20px 0;
}
#template-home #content h1 { border-color: #e32111; }
#template-home #content h1 + p:first-letter { font-size: 20px; line-height: 1; }

#leftcontent h1, #rightcontent h1 {
	font-size: 18px;
	border-bottom: 4px solid #8ec03e;
	padding-bottom: 12px;
}

#news { position: relative; }
#news > div > .h + p {
	font-size: 10px;
	position: absolute;
	right: 30px;
	top: 20px;
}
#news a { color: #000; text-decoration: none; }
#news .news-latest .h {
	font-family: inherit;
	font-size: 13px;
	border: none;
	margin: 5px 0;
	padding: 0;
}
.news-latest .h, #content .news-list-item h2 {
	margin: 5px 0;
}
.news-list-item { clear: both; }
.news-list-item img {
	float: right;
	margin: 3em 0 1em 1em;
}
.news-single-img {
	float: right;
	margin: .5em 0 .5em 2em;
	font-style: italic;
}
#content .news-date { margin: 0; }
.news-date {
	display: block;
	font-size: 10px;
	background: url(calendar.png) 1px 1px no-repeat;
	padding: 0 0 10px 20px;
	color: #666;
	border-bottom: 1px solid #eaeaea;
}
.news-text {
	margin: 0 0 20px;
	line-height: 20px;
}
.news-text a {
	display: inline-block;
	width: 16px;
	height: 16px;
	text-indent: -999px;
	overflow: hidden;
	margin: 0 0 -4px 5px;
	background: url(moreicon.png) no-repeat;
}
#news .csc-frame-frame2 {
	position: absolute;
	bottom: 30px;
	left: 29px;
	right: 29px;
	padding: 12px 14px;
	background: #1e9944;
	color: #fff;
	line-height: 24px;
	font-size: 14px;
}
#news .csc-frame-frame2 p { margin: 0; }
#news .csc-frame-frame2 img { float: right; }
.news-amenu-container { padding: 0 0 1em; }
.news-amenu-container li { margin-left: 1em; }
.news-amenu-container li.news-amenu-item-year { margin-left: 0; cursor: pointer; }
.news-single-cats { padding: .5em 0; border-top: 1px solid #eee; font-size: 11px; }

#content {
	margin-left: 18px;
	float: left;
	width: 1160px;
	min-height: 400px;
}
#content h2, #content h3 {
	font-size: 20px;
	margin: 24px 0 8px;
}
#content p {
	margin: 10px 0 22px;
}
#content .csc-textpic-caption { font-style: italic; }
#content .csc-textpic-intext-right .csc-textpic-imagewrap {
	float: right;
	margin: 0 0 1em 1em;
}

#submenu ul, #main .csc-frame-frame1 {
	background: #ecebeb;
	border: 1px solid #d9d9d9;
	padding: 10px 15px;
	margin: 20px 8px;
	font-size: .9em;
}
#content .csc-frame-frame1 {
	font-size: 1em;
	margin: 10px 0;
	padding: 22px 26px 10px;
	box-shadow: 0 0 1px #ddd;
}
#rightcontent .csc-frame-frame1 { width: 150px; }
#main .csc-frame-frame1 h1 {
	font-size: 15px;
	font-family: inherit;
	font-weight: normal;
	border: none;
	margin: 0 0 8px;
	padding: 0;
}
#content .csc-frame-frame1 h1 {
	font-size: 20px;
	font-weight: bold;
	margin: -23px 0 0 -27px;
	border-left: 11px solid #e32111;
	padding: 16px 16px 10px;
}

#submenu ul { padding: 8px 0; }
#submenu li:before { display: none; }
#submenu li {
	margin: 0;
	padding: 0;
}
#submenu a {
	padding: 5px 15px;
	display: block;
	color: inherit;
	text-decoration: none;
}
#submenu a:hover {
	background: #f3f4f5;
}

#template-content-2col #content { width: 860px; }
#template-content-3col #content { width: 650px; }
#left { float: left; margin-left: 12px; width: 198px; }
#right { float: right; width: 304px; }

#template-home #banners {
	float: left;
	height: 571px;
}
#banners {
	width: 290px;
	padding: 0;
	background: transparent;
}
#banners p {
	margin: 0 0 11px;
}
#banners img {
    vertical-align: bottom;
}

#footerlinks-wrap {
	background: #ccc;
	overflow: hidden;
	font-size: 12px;
	padding: 30px 0;
}
#footerlinks h2, #footerlinks .h {
	text-transform: uppercase;
	font-family: inherit;
	font-size: 16px;
	margin: 0 0 16px;
}

#footer1, #footer2, #footer3, #footer4 {
	width: 300px;
	float: left;
	margin: 10px 0 10px 20px;
}
#footerlinks a { color: inherit; }
#footer4 { width: auto; }
#footer4 p { margin-top: 35px; }
#footer4 a { margin-right: 5px; }
#footermenu, #footertext {
	height: 45px;
	line-height: 45px;
}
#footermenu {
	text-indent: 18px;
	width: 100%;
	background: #fff;
}
#footertext {
	position: absolute;
	top: 0;
	right: 20px;
}
#footertext p { margin: 0; }
#footertext p a { color: #09f; }


#search input {
	position: absolute;
	right: 20px;
	top: 18px;
	width: 250px;
	height: 25px;
	border: 1px solid #aeaeae;
	padding: 0 20px 0 0;
	background: #fff url(search.png) 97% 50% no-repeat;
	text-indent: 12px;
}
#search button { display: none; }

ul.browsebox { list-style-type: none; margin: 2em 0; }
ul.browsebox li { display: inline; padding: 0 1em 0 0; }
ul.browsebox li:before { display: none; }


.images-list {
  overflow: hidden;
  width: 550px;
}
.images-list-image {
  background: #eee;
  width: 250px;
  min-height: 30em;
  _height: 30em;
  float: left;
  overflow: hidden;
  margin: 10px 20px 10px 0;
}
.images-list-image img { border-bottom: 1px solid white; }
.images-list-image p, #main .images-list-image p { margin: 1em; }

.tx_jkpoll_pi1_answer label { display: inline; }

@media (max-width: 1279px) {
	body { min-width: 940px; }
	#header, #menu, #carousel .text, #themes, #main, #footerlinks, #footer { width: 940px; }
	#logo a { background-position: 0 8px; }
	#topmenu { left: 200px; }
	#carousel { font-size: 14px; }
	#carousel h2 { font-size: 20px; }
	#carousel .text > div { margin-left: 4px; width: 390px; }	
	#template-home #content, #content { width: 824px; height: auto; min-height: 0; }
	#template-home #news { width: 520px; margin-left: 18px; }
	#footer1, #footer2, #footer3 { width: 240px; }
	#template-content-2col #content { width: 550px; }
	#template-content-3col #content { float: right; width: 630px; margin-right: 20px; }
	#template-content-3col #right { float: right; width: 695px; margin-right: 20px; }
	
	#themes > div { width: 285px; height: 300px; margin: 0 11px 20px; }
	#themes h2 { font-size: 24px; height: 88px; margin: 30px 30px; }
	#themes p { font-size: 18px; margin: 0 30px; }
	#themes .background { background-position: 25px 30px; }
}

@media (max-width: 959px) {
	body { min-width: 620px; }
	#header, #menu, #carousel .text, #themes, #main, #footerlinks, #footer { width: 620px; }
	#template-home #content, #template-home #news, #template-content-2col #content, #content { float: none; width: 525px; }
	#template-home #banners { margin: 0 18px 20px; }
	#template-content-2col #right { float: none; width: 595px; margin-left: 11px; }
	#footertext { position: static; margin-left: 20px; }
	#header-wrap { background: none; height: 186px; }
	#menu-wrap + div, #carousel .background { box-shadow: none; }
	#logo a { width: 100%; background: url(ecn_logo_zpo_rgb-big.png) center 20px no-repeat; height: 105px; }
	#search input { left: 58px; top: 115px; width: 368px; height: 48px; font-size: 18px; }
	#menu-wrap { background: url(contentbg.png); height: 75px; border: none; padding-top: 80px; }
	#carousel .text > div { margin-left: 58px; }
	#template-content-3col #content { width: 310px; }
	#template-content-3col #right { width: 375px; }
	
	#language a, #language span, #topmenu a {
		color: #333;
		background: #acacac;
		display: inline-block;
		height: 50px;
		line-height: 50px;
		text-align: center;
		font-size: 18px;
	}
	#language a:hover, #language span, #topmenu a.active, #topmenu a:hover {
		color: #acacac;
		background: #000;
	}
	
	#language { right: 58px; top: 115px; color: transparent; font-size: 6px; }
	#language a, #language span {
		width: 50px;
		overflow: hidden;
	}
	#language abbr { display: block; }
	
	#topmenu { left: 58px; top: 200px; color: transparent; white-space: nowrap; }
	#topmenu a { padding: 0 20px; }
	
	#menu .helper { display: none; }
	#menu > p, #menu > ul {
		margin: 0 0 0 58px;
		width: 430px;
		color: #fff;
		padding: 0 57px 0 18px;
	}
	#menu > p {
		background: #333 url(down.png) 478px 50% no-repeat;
		height: 50px;
		display: block;
	}
	#menu > ul {
		display: none;
		background: #565656;
		position: absolute;
		z-index: 1;
		padding-bottom: 20px;
	}
	#menu > p:hover + ul, #menu > ul:hover {
		display: block;
	}
	
	#menu-wrap #menu ul ul, #menu-wrap #menu li, #menu-wrap #menu a {
		display: block;
		position: static;
		margin: 0;
		padding: 0;
		background: none;
		opacity: 1;
		visibility: visible;
		border: none;
		float: none;
		color: inherit;
		width: auto;
		font-weight: normal;
		line-height: 1.2;
		height: auto;
	}
	#menu-wrap #menu ul ul {
		margin-left: 35px;
	}
	#menu-wrap #menu li {
		font-size: 20px;
	}
	#menu-wrap #menu li li {
		font-size: 16px;
		color: #c8c8c8;
	}
	#menu-wrap #menu a {
		padding: 10px 0;
		border-bottom: 3px solid transparent;
	}
	#menu-wrap #menu a:hover { border-color: #3e3e3e; }
	#menu-wrap #menu a:hover:after {
		content: '>';
		position: absolute;
		font-size: 50px;
		right: 20px;
		color: #3e3e3e;
		line-height: 20px;
	}
}