/*
Theme Name: TECH-CARE Team s.r.o.
Theme URI: http://www.techcare.cz
Author: Mgr. Karel Attl | Webdesign a tvorba webových řešení
Author URI: http://www.karelattl.cz/
*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video
{
	border: 0;
	margin: 0;
	padding: 0;
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section
{
	display: block;
}
ol,ul
{
	list-style: none;
}
table
{
	border-collapse: collapse;
	border-spacing: 0;
}
html{
	min-height: 100%;
}

html,body {
	height: 100%;
}
body
{
	color: #444;
	font-family: 'Open Sans', Helvetica,Arial,sans-serif;
	font-size: 14px;
	line-height: 21px;
	font-weight: 400;
	text-align: left;
	background-color: #ffffff;
}

.wpcf7 input,.wpcf7 textarea {
	color: #444;
	font-family: 'Open Sans', Helvetica,Arial,sans-serif;
	font-size: 15px;
	line-height: 23px;
	font-weight: 400;
	text-align: left;
	background-color: #fff;
	border: none;
	resize: none;
	margin: 0;
	margin-bottom: 4px;
	outline: none;
	padding: 10px;
}

.wpcf7 input[type=submit] {
	float: right;
	font-size: 15px;
	color: #fff;
	background: url(images/button-blue.png) center center no-repeat;
	width: 207px;
	height: 47px;
	text-align: center;
	margin-top: 5px;
	cursor: pointer;
	transition: all .3s;
}

.wpcf7 input[type=submit]:hover {
	background: url(images/button-red.png) center center no-repeat;
}

.clear
{
	clear: both;
	display: block;
}

.center {
	text-align: center;
}

img
{
	height: auto;
	max-width: 100%;
}

img.responsive {
	max-width: 100%;
}

h1,h2,h3,h4,h5,h6
{
	font-weight: 800;
	padding: 0;
	text-transform: uppercase;
	letter-spacing: -1px;
}

.heading {
	text-align: center;
}

h1 {
	padding-top: 15px;
	font-size: 40px;
	line-height: 40px;
	padding-bottom: 20px;
	background: url(images/line.png) center bottom no-repeat;
	margin-bottom: 15px;
}


p,ul,ol
{
	line-height: 24px;
	padding: 0 0 30px;
}

a {
	text-decoration: underline;
	color: #273d51;	
}

.transition {
	-o-transition:.5s;
	-ms-transition:.5s;
	-moz-transition:.5s;
	-webkit-transition:.5s;
	transition:.5s;
}

a.notransition {
	-o-transition:none;
	-ms-transition:none;
	-moz-transition:none;
	-webkit-transition:none;
	transition:none;
}

a:hover {
	color: #486c8c;
}

a.button {
	text-decoration: none;
	background-color: #e53a31;
	display: inline-block;
	padding: 10px 15px;
	color: white;
	text-transform: uppercase;
	font-weight: bold;
}

a.button:hover {
	background-color: #bb2119;
	color: white;
}

.outer-container {
	width: 100%;
	min-width: 760px;
}

.inner-container {
	max-width: 1920px;
	margin: 0 auto;
}

#wrapper {
	min-height: 100%;
	margin-bottom: -448px;
}

#wrapper:after {
  content: "";
  display: block;
  height: 448px; 
}

#footer-wrapper,#footer {
	height: 448px;
	position: relative;
}

#footer-wrapper {
	color: white;
}

#footer-top-wrapper, #footer-top {
	height: 330px;
}

#footer-top-wrapper {
	background: url(images/footer.png) center center repeat-y;
	color: white;
}

#footer-bottom-wrapper,#footer-bottom {
	height: 118px;
}

#footer-bottom-wrapper {
	background: url(images/footer-stripe.png) center center repeat-x;
}
#menu ul li:first-of-type a {
border: solid 2px #e53a31;
color: #333;
margin-top: -12px;
position: absolute;
left: 300px;
font-weight: 700;
}

#footer-bottom {
	background: url(images/footer-logo.png) center center no-repeat;	
}

#footer-map-bottom-detail.hovered, #footer-map-top-detail.hovered, #footer-map-right-detail.hovered {
	color: red;
}

#copyright {
	position: absolute;
	right: 8px;
	bottom: 0px;
	font-size: 11px;
	font-weight: 400;
}

#copyright a,#copyright a:hover {
	color: #e53a31;
}

#footer-menu {
	display: none;
}


/***/

#responsive-menu {
	display: none;
	position: absolute;
	background: url(images/menu-icon.png) top left repeat;	
	width: 32px;
	height: 32px;
	left: 10px;
	top: 30px;
}
@media (max-width: 768px) {
	#menu ul li:first-of-type a {
	position: initial;
	margin-top: 0;
	border: none;
	color: #fff;
}
#menu ul {
	float: none !important;
}
}

#menu, #menu ul, #menu ul li, #menu ul li a {
	height: 44px;
	line-height: 44px;
}
#menu ul li {
	margin-top: -5px;
}
#menu {
	width: 100%;
	position: relative;
}
#menu ul {
	float: right;
}

#menu ul.sub-menu {
	position: absolute;
	display: block;
	padding: 0;
	margin: 0;
	background-color: white;
	border: 1px solid #334e67;
	height: auto;
	display: none;
}
@media (min-width: 768px) and (max-width: 1278px) {
	#menu ul li:first-of-type a {
	top: 25px;
}	
}

#menu ul.sub-menu li,#menu ul.sub-menu li a {
	display: block;
	height: auto;
}

#menu ul.sub-menu li a {
	padding: 4px 10px;
	text-align: left;
	border-top: 1px dotted #334e67;
}

#menu ul.sub-menu li:first-child a {
	border-top: none;
}

#header {
	position: relative;
}

#header-wrapper, #header {
	height: 100px;
	
}

#header-wrapper {
	border-top: 8px solid #334e67;
	border-bottom: 1px solid #334e67;
	z-index: 9999;
	background: url(images/transparent-white-strong.png) center center repeat;
	position: fixed;
}

body.home #content-slider-wrapper {
	padding-top: 100px;
}

#menu {
	display: block;
	text-align: center;
	position: absolute;
	right: 10px;
	top: 45px;
}

#menu ul {
	padding-bottom: 0;
}

#menu ul li {
	display: inline-block;
}

#menu ul li a {
	text-decoration: none;
	font-weight: 400;
	text-transform: uppercase;
	color: #838383;
	display: block;
	padding: 0 8px;
	height: 42px;
	font-size: 13px;
}

#menu ul li:hover > a, #menu ul li.current-menu-item:hover > a {
	color: white;
	background-color: #e53a31;
}

#menu ul li.current-menu-item > a, 
#menu ul li.current_page_ancestor > a  {
	color: white;
	background-color: #304961;
}

.secondary-menu {
	text-align: center;
	background-color: #aaa;
	padding: 0;
	margin: 0;
}

.secondary-menu ul {
	display: block;
	padding: 0;
	margin: 0;
}

.secondary-menu ul li {
	display: block;
	padding: 0px;
}

.secondary-menu ul li a {
	text-decoration: none;
	text-align: center;
	display: block;
	padding: 6px;
	color: white;
	text-transform: uppercase;
	font-size: 12px;
}

.secondary-menu ul li a:hover,.secondary-menu ul li a.selected {
	background-color: #304961;
}

.secondary-menu.secondary-menu-kategorie {
	background-color: #5c7892;	
}

.secondary-menu.secondary-menu-kategorie ul li a {
	font-size: 10px;
}

.secondary-menu ul li a {
	border-bottom: 1px solid #ddd;
}



.secondary-menu.secondary-menu-kategorie ul li a:hover,.secondary-menu.secondary-menu-kategorie ul li a.selected {
	background-color: #5386b7;
}

.terciary-menu {
	background-color: #92a5b8;
}

.secondary-menu ul li .terciary-menu ul li a {
	text-transform: none;
	border-bottom: 1px dotted #e7d2d2;
}

.secondary-menu.secondary-menu-kategorie ul li .terciary-menu ul li a:hover,.secondary-menu.secondary-menu-kategorie ul li .terciary-menu ul li a.selected {
	background-color: #6f879e;
}


#logo {
	width: 168px;
	display: block;
	position: absolute;
	z-index: 9000;
	top: 20px;
	left: 40px;
}

#header-s {
	position: absolute;
	right: 10px;
	top: 10px;
}

#header-s a {
	text-decoration: none;
}

.searchform {
	position: relative;;
}

#s {
	height: 29px;
	line-height: 29px;
	border: 1px solid #ccc;
	padding: 0 5px;
	width: 200px;
	outline: none;
}

#searchsubmit {
	background: url(images/search-icon.png) center center no-repeat;
	height: 25px;
	width: 25px;
	border: none;
	position: absolute;
	right: 5px;
	top: 3px;
	cursor: pointer;
}

#content-slider-wrapper, #content-slider, .content-slider-item {
	height: 550px;
	overflow: hidden;
}

#content-slider-wrapper ul.slick-dots {
	bottom: auto;
	bottom: 10px;
	right: 5px;
	z-index: 999;
	width: auto;
}

#content-slider-wrapper ul.slick-dots li button::before {
	font-size: 16px;
	color: #e53a31;
}

#content-slider-wrapper {
	border-bottom: 8px solid #ffffff;
}

.content-slider-item {
	position: relative;
}

.content-slider-text {
	position: absolute;
	color: black;
	font-size: 20px;
	padding: 10px 20px;
	width: 500px;
	top: 150px;
	left: -600px;	
	text-align: left;
}

.content-slider-image {
	position: absolute;
	bottom: 50px;
	right: -200px;
}

.content-slider-main-claim {
	letter-spacing: -3px;
	font-weight: 100;
	text-transform: uppercase;
	font-size: 35px;
	line-height: 35px;
	background: url(images/transparent-white.png) top left repeat;
	display: inline-block;
	padding: 10px; 
}

.content-slider-second-claim {
	background: url(images/transparent-white.png) top left repeat;
	display: inline-block;
	padding: 10px; 
	font-size: 35px;
	line-height: 35px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: -3px;
}

.content-slider-bottom-text {
	position: absolute;
	bottom: 0;
	width: 100%;
	line-height: 60px;
	color: white;
	text-align: center;
	background: url(images/transparent.png) center center repeat;
}

.content-slider-bottom-link {
	display: inline-block;
	font-size: 15px;
	color: #fff;
	background: url(images/button-red.png) center center no-repeat;
	width: 207px;
	height: 47px;
	line-height: 47px;
	text-align: center;
	margin-top: 5px;
	cursor: pointer;
	transition: all .3s;
	text-decoration: none;
}

.content-slider-bottom-link:hover {
	background: url(images/button-blue.png) center center no-repeat;
	color: white;
}

.homepage-wrapper {
	padding: 30px 0;
}

.homepage-wrapper-title {
	display: block;
	width: 240px;
	padding-left: 180px;
	height: 87px;
	line-height: 87px;
	color: white;
	text-transform: uppercase;
}

#obory-pouziti-wrapper {
	background-color: #e0e0e0;
}

#obory-pouziti {
	max-width: 1400px;
	margin: 0 auto;
}

#obory-pouziti-content {
	text-align: center;
}

.obor-pouziti-item {
	width: 22%;
	height: 200px;
	margin: 1%;
	display: inline-block;
	background-color: white;
	vertical-align: top;
	position: relative;
	overflow: hidden;
}

.obor-pouziti-item a {
	text-decoration: none !important;
}

.obor-pouziti-item-image {
	margin: 0px;
	height: 200px;
}

.obor-pouziti-item-link {
	height: 40px;
	line-height: 40px;
	padding: 0 10px;
	position: absolute;
	bottom: 0;
	right: 0;
	width: 100%;
	text-align: right;
	background: url(images/obory-pouziti-item.png) top right no-repeat;
	color: white;
	text-transform: uppercase;
}

.obor-pouziti-item-link-hover {
	height: 40px;
	line-height: 40px;
	padding: 0 10px;
	position: absolute;
	top: -40px;
	left: 0;
	width: 100%;
	text-align: left;
	background: url(images/obory-pouziti-item-hover.png) top left no-repeat;
	color: white;
	text-transform: uppercase;
}

#obory-pouziti-title {
	background: url(images/obory-pouziti-bg.png) top left no-repeat;
}

#novinky-title {
	background: url(images/novinky-bg.png) top left no-repeat;
}

#novinky-items {
	text-align: center;
	padding: 30px 0;
}

.news-item {
	width: 400px;
	display: inline-block;
	float: left;
	padding: 0;
	height: 300px;
	margin: 8px;
	color: white;
	background: url(images/red.png) center center repeat;
}

.news-item-date {
	height: 48px;
	background: url(images/news-header.png) center center no-repeat;
	padding: 10px 20px;
	text-align: left;
	overflow: hidden;
	text-overflow: ellipsis;
}

.news-item-date a {
	color: white;
	text-decoration: none;
}

.news-item-text {
	padding: 15px;
	font-size: 12px;
	height: 200px;
	overflow: hidden;
}

#footer-top,#footer-bottom {
	position: relative;
}

#footer-contact-form {
	width: 500px;
	position: absolute;
	top: 75px;
	left: 15px;
}

.contact-form-left,.contact-form-right {
	width: 46%;
	padding: 0;
	padding-right: 4%;
	float: left;
}

#homepage-nils-wrapper, #homepage-nils, #homepage-nils-content {
	line-height: 40px;
	overflow: visible;
}

#homepage-nils-wrapper {
	background: url(images/red.png) center center repeat;
}

#homepage-nils {
	padding: 15px 0;
	position: relative;
}

#homepage-nils-content {
	padding: 0 140px;
	text-align: center;
	color: white;
}

#nils-logo {
	position: absolute;
	top: -60px;
	left: 10px;
}

#nils-40 {
	position: absolute;
	top: 0px;
	right: 10px;
}

#home-text {
	padding: 40px;
	text-align: center;
}

#home-text-wrapper {
	
	background-color: white;
}

#home-text-inside {
	max-width: 1000px;
	margin: 0 auto;
	padding: 20px;
	
}

#content {
	padding-top: 130px;
	padding-bottom: 20px;
	padding-left: 20px;
	padding-right: 20px;
}

#content-text {
	padding: 40px;
	max-width: 1400px;
	margin: 0 auto;
	background: url(images/transparent-white-strong.png) center center repeat;
}

#content-text p {
	padding-bottom: 15px;
}

#content-text ul {
}

#content-text ul li {
	list-style-type: disc;
}

#content-text table {
	width: 100%;
}

#contact-table td {
	width: 50%;
	vertical-align: top;
}

#contact-table td.right {
	text-align: right;
}

#contact-table .wpcf7 input[type=submit] {
	float: none;
}

#contact-table tr td:first-child h2 {
	text-transform: none;
}

#contact-table tr td .wpcf7 input[type=text],#contact-table tr td .wpcf7 input[type=email],#contact-table tr td .wpcf7 textarea {
	border: 1px solid #999;
} 

#contact-table .wpcf7-not-valid {
	border: 1px solid #c00;
}

#content-text-left {
	float: left;
	width: 200px;
}

#content-text-right {
	margin-left: 230px;
}

#produkty-wrapper {
	text-align: center;
}

.produkt-item {
	display: inline-block;
	vertical-align: top;
	width: 250px;
	margin: 10px;
	margin-top: 0;
	margin-bottom: 20px;
	background-color: #ddd;
	position: relative;
}

.produkt-item-image {
	width: 230px;
	height: 150px;
	text-align: center;
	margin: 10px;
	background-color: white;
}

.produkt-item-image img {
	display: inline-block;
	margin: 0 auto;
}

.produkt-item-subtitle {
	position: absolute;
	bottom: 40px;
	color: white;
	font-size: 10px;
	line-height: 10px;
	right: 0px;
	text-align: right;
	background-color: #273d51;
	padding: 5px;
}

.produkt-subtitle {
	display: inline-block;
	color: white;
	font-size: 10px;
	line-height: 10px;
	background-color: #273d51;
	padding: 5px;
}

.produkt-item-title {
	text-align: center;
	background: url(images/obory-pouziti-item.png) -20px 0 no-repeat;
	height: 40px;
	line-height: 40px;
	padding-left: 30px;
	padding-right: 10px;
	color: white;
	position: absolute;
	bottom: 0;
	right: 0;
}

.produkt-item-left, .produkt-item-right {
	width: 50%;
	float: left;
}

.produkt-item-right {
	background-color: #fafafa;
}

.produkt-item-detail {
	padding: 20px;
}

.produkt-item-detail-image {
	width: 100%;
	text-align: center;
	background-color: white;
}

.produkt-item-detail-image img {
	display: inline-block;
	margin: 0 auto; 
}

.produkt-item-left h2 {
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: 1px dotted #e53a31;
}

.produkt-item-left h4 {
	padding-top: 15px;
	padding-bottom: 8px;
}

#category-description, #category-overview {
	text-align: center;
	padding: 10px;
}

#category-overview {
	margin: 10px;
}

#category-overview ul {
	display: inline-block;
	text-align: center;
	background-color: #fafafa;
	margin: 10px; 
	padding: 0;
}

#category-overview ul li { 
	float: left;
	padding: 10px;
}

#category-overview ul li a { 
	text-transform: uppercase;
}

#footer-contact-form p {
	padding-bottom: 0;
}

#footer-contact-form textarea,
#footer-contact-form input[type=text],
#footer-contact-form input[type=email] {
	width: 96%;
	border: 1px solid white;
}

#footer-contact-form textarea {
	height: 72px;
}

span.wpcf7-not-valid-tip {
	display: none;
}

#footer-contact-form textarea.wpcf7-not-valid,
#footer-contact-form input[type=text].wpcf7-not-valid,
#footer-contact-form input[type=email].wpcf7-not-valid {
	border: 1px solid #c00;
	background-color: #fbf0f0;
}

#footer-contact-form input[type=submit] {
	margin-top: -6px;
	margin-right: 6px;
	font-weight: 100;
}

#footer-contact-address {
	position: absolute;
	top: 75px;
	right: 285px;
	width: 500px;
}

#footer-contact-map {
	position: absolute;
	top: 125px;
	right: 10px;
}

#footer-contact-address table {
	width: 100%;
}

#footer-contact-address table tr td {
	padding: 0;
	padding-right: 2%;
	vertical-align: top;
	color: #ddd;
}

#footer-contact-address a {
	color: #ddd;
}

.footer-title {
	font-size: 30px;
	line-height: 30px;
	font-weight: 100;
	color: white;
	padding-bottom: 30px;
}

.novinky-item {
	padding-bottom: 20px;
	border-bottom: 1px dotted #bbb;
	margin-bottom: 20px;
}

.news-item-meta {
	text-align: center;
	padding-bottom: 20px;
}

#reference-wrapper {
	text-align: center;
}

.reference-item {
	vertical-align: top;
	display: inline-block;
	margin: 10px;
	height: 50px;
	padding: 10px;
	border: 5px solid #ddd;
}

ul.sub-menu {
	display: none;
}

@media screen and (min-width: 760px) and (max-width: 1280px) {
	#logo {
		width: 150px;
		margin-top: 10px;
		margin-left: 10px;
		position: static;
	}

	#menu {
		display: inline-block;
		position: static;
		margin: 0 auto;
	}

	#menu, #menu ul, #menu ul li, #menu ul li a {
		height: auto;
	}

	#menu-wrapper {
		text-align: center;
	}

	#menu-wrapper {
		position: static;
		width: 100%;
		bottom: 15px;
	}

	#header-wrapper, #header {
		height: auto;
	}

	#footer-top, #footer-top-wrapper, #footer-wrapper {
		height: auto;
	}

	#footer-top-wrapper {
		text-align: center;
	}

	#footer-contact-form, #footer-contact-address, #footer-contact-map {
		position: static;
		margin: 0 auto;
		padding: 25px 10px;
		display: inline-block;
		float: left;
	}

}

@media screen and (max-width: 880px) {
	.obor-pouziti-item {
		width: 46%;
	}
}

@media screen and (max-width: 760px) {

	body {
		font-size: 16px;
		line-height: 30px;
		text-align: center;
	}

	.inner-container {
		width: auto;
	}

	.outer-container {
		width: auto;
		min-width: 100%;
	}

	#logo, #menu-wrapper {
		display: block;
		position: static;
	}

	#logo,#logo.page {
		margin: 0 auto;
		padding-top: 15px;
		width: 80%;
		max-width: 760px;
	}

	#banner-wrapper {
		display: none;
	}

	#header-s {
		position: static;
		width: 176px;
		margin: 5px auto;
		display: none;
	}

	#header-s a {
		margin: 5px;
		width: 28px;
		height: 30px;
	}

	#responsive-menu {
		display: block;
	}

	#menu {
		display: none;
	}

	#content-slider-wrapper {
		
	}

	.content-slider-item {
		text-align: center;
	}

	.content-slider-text {
		margin-left: 0;
		margin: 0 auto;
		margin-top: 100px;
		position: static;
	}

	#header-wrapper,#header,#menu, #menu ul {
		height: auto;
	}

	#header-wrapper {
		
	}

	#menu ul  li {
		height: auto;
		border-bottom: 1px solid #999;
	}

	#menu ul {
		padding: 0 !important;
	}

	#menu {
		height: auto;
		background-color: #304961;
		position: static;
	}

	#menu ul.sub-menu {
		position: static;
	}	

	#menu > div > ul > li {
		float: none;
	}

	#menu li {
		display: block !important;
		float: none;
	}

	#menu ul.sub-menu li a {
		text-align: center;
		background-color: #17293a;
	}

	#content-text, #homepage-text {
		padding: 30px 10px;
	}

	#homepage-text-wrapper {
		width: auto;
		float: none;
	}

	#news-wrapper {
		width: auto;
		float: none;
	}

	/*
	#homepage-text-content {
		-webkit-column-count: 1;
		  -moz-column-count: 1;
		       column-count: 1;
	}
	*/

	#footer-s {
		left: 5px;
	}

	#contact-table-form,#contact-table-address, #dealer-table-text, #dealer-table-image {
		width: 95%;
		margin: 0 auto;
		display: block;
	}

	#dealer-table td {
		width: 95%;
	}

	.subpage-item {
		margin: 80px auto;
	}

	.subpage-product-item {
		width: 90%;
		margin: 50px auto;
	}

	.subpage-product-item,.subpage-product-item-content,.subpage-product-inner-item {
		height: auto;
		float: none;
	}

	.subpage-product-inner-item-more {
		bottom: -40px;
	}

	#content-text {
		padding: 20px 5px;
	}

	.dealer-button {
		float: none;
	}

	#dealer-table-image {
		padding-top: 40px;
	}

	#simplemodal-container {
		width: 250px;
	}

	#header-s {
		position: absolute;
		top: 8px;
	}

	#header-s a {
		float: left;
	}

	table tr td {
		display: block !important;
		width: 96% !important;
		padding: 2% !important;
	}

	#menu ul li a, #menu ul li a:hover, #menu ul li.current-menu-item a:hover, #menu ul li.current-menu-item a {
		color: white;
		
	}

	#header-wrapper, #header {
		height: auto;
	}

	#footer-top, #footer-top-wrapper, #footer-wrapper {
		height: auto;
	}

	#footer-top-wrapper {
		text-align: center;
	}

	#footer-contact-form, #footer-contact-address, #footer-contact-map {
		position: static;
		margin: 0 auto;
		padding: 25px 0;
		display: block;
		float: none;
		width: auto;
	}

	#footer-contact-map {
		display: none;
	}

	.contact-form-left, .contact-form-right {
		width: 96%;
		padding: 0 2%;
		float: none;
	}

	.contact-form-bottom {
		margin-top: 10px;
	}

	.wpcf7 input[type=submit] {
		float: none;
	}

	#nils-logo {
		position: static;
	}

	.homepage-wrapper-title {
		width: auto;
		background: none !important;
		padding: 0 !important;
		margin: 0 !important;
		background-color: #304961 !important;
	}

	#homepage-nils-content {
		padding: 0 5px;
	}

	#contact table td {
		width: 100%;
		display: block;
	}
}

@media screen and (max-width: 650px) {
	#content-text-left,#content-text-right {
		float: none;
		width: auto;
		margin: 0;
	}

	#content-text-right {
		padding-top: 20px;
	}
}

@media screen and (max-width: 400px) {
	.news-item {
		width: 96%;
		margin: 2%;
	}

	#logo {
		width: 160px;
	}
	
	#nils-40 {
		display: none;
	}

}


/* galerie */
.ngg-album-compact {
	display: inline-block;
	float: none;
	margin: 10px;
	padding: 20px;
	padding-bottom: 0;
	background-color: rgba(230,230,230,0.8);
	text-align: center;
}

div.ngg-album-link {
	text-align: center;
}

div.ngg-album-link img {
	margin: 0 auto;
	display: inline-block;
}

.ngg-gallery-thumbnail {
	margin: 10px;
}