/*
  Zakladni styly pro obsah stranek CMS.
*/

/* TABULKY */
.main TABLE {
	border-collapse: collapse;
	width: 80%;
}
.main .detail TABLE:not(.table) {
	border-top: 1px solid #DDDDDD;
}

.main TABLE:not(.table) > TBODY > TR:nth-child(odd) {
	background-color: #F9F9F9;
}
.main .detail TABLE:not(.table) > TBODY > TR:nth-child(odd) {
	background-color: transparent;
}

.main TABLE:not(.table) > THEAD > TR > TH {
	padding: 10px 10px;
	border-bottom: 2px solid #DDDDDD;
}
.main TABLE:not(.table) > TBODY > TR > TH,
.main TABLE:not(.table) > TBODY > TR > TD {
	padding: 10px 10px;
	border-bottom: 1px solid #DDDDDD;
}
.main TABLE:not(.table) > TBODY > TR > TH {
	background-color: #F9F9F9;
}
.main TABLE:not(.table) > TBODY > TR > TD.controls {
	width: 100px;
}

.main TABLE .sizeCol {
	text-align: right;
}

@media (max-width: 767px) {
	.main TABLE {		
		width: 100%;
	}	
}

/* FILTR MODULU */
.filter {
	padding: 15px 0;
	background-color: #F9F9F9;
}

/* ODDELENE FIELDY */
.separatedValues {
	margin: 20px 0 0 0;
}
.separatedValues UL {
	margin-bottom: 20px;
}

 /* JINE */
.main .paging {
	margin: 15px 0px;
}

.main .detailButtons {
	margin-top: 25px;
}

/* GALERIE */
.gallery, 
.gallery-classic {
	margin-bottom: 10px;	
}
.gallery:after, 
.gallery-classic:after,
.gallery:before, 
.gallery-classic:before {
	content: " ";
    display: table;
}
.gallery:after, 
.gallery-classic:after {
	clear: both;
}
.main .gallery, 
.main .gallery-classic {
	min-width: 200px;
	max-width: 820px;
}

.gallery-main-item {
	float: left;
}
.gallery-image A, 
.gallery-image IMG {
    vertical-align: middle;
    margin-bottom: 0px !important;
}
.gallery-image IMG {
	max-width: 100%;
	height: auto;	
}
.gallery-info B {
	font-size: 13px;
}

/* KOMPONENTA IMAGESTORAGE */
.gallery-classic .gallery-item {	
	background-color: #EAEAEA;
	height: 200px;
	width: 200px;
	text-align: center;
	margin-right: 2px;
	margin-top: 2px;		
}
.gallery-classic .gallery-image {								
	display: inline;
	line-height: 200px;	
	height: 200px;
	width: 200px;
	text-align: center;
	margin-right: 1px;			
}
.gallery-classic .gallery-image IMG {
	max-height: 190px;	
}
.gallery-classic .gallery-info {
	background-color: #EAEAEA;	
	text-align: center;
	margin-right: 2px;
	margin-top: 1px;	
	width: 200px;	
	padding: 2px;	
	overflow: hidden;
	text-overflow: ellipsis;	
}

/* KOMPONENTA PHOTOGALLERY */
.gallery .gallery-item {	
	background-color: #EAEAEA;
	height: 180px;
	width: 180px;
	text-align: center;
	margin-right: 2px;
	margin-top: 2px;		
}
.gallery .gallery-image {								
	display: inline;
	line-height: 180px;	
	height: 180px;
	width: 180px;
	text-align: center;
	margin-right: 1px;	
}
.gallery .gallery-image IMG {	
	max-height: 170px;	
}
.gallery .gallery-info {
	background-color: #EAEAEA;	
	text-align: center;
	margin-right: 2px;
	margin-top: 1px;	
	width: 180px;	
	padding: 2px;	
	overflow: hidden;
	text-overflow: ellipsis;
}

/* KOMPONENTA ANKETA */
.poll {
	width: 150px;
}
.poll .poll-question {
	font-weight: bold;
}
.poll .poll-answer {

}
.poll .poll-bar {
	border: 1px solid red;
	padding: 1px;
}
.poll .poll-bar-value {
	background-color: red;
	height: 5px;
}
.poll .poll-count {

}

.menu-blue {
	color:#004171!important;
}
.light-bg-1 {
	background-color: #eff6f9;
}




.row-image-text H2 {
	font-size:18px;
	font-family: 'Raleway', sans-serif;
	font-weight: bold;
	line-height: 30px;
	color:#004171;
	margin-bottom:50px;
}
.row-image-text P {
	font-size:18px;
	line-height: 30px;
	margin-bottom:35px;
}

.row-image-text {
	flex-direction: row-reverse;
}

#homepage-row-1 {
	margin-top:-75px;
	padding-top: 80px;
}
#homepage-row-1 H1 {
	margin-top:130px;
}

.btn-1 {
	display:inline-block;
	font-size:18px;
	color:#6b6b6b;
	padding:12px 20px;
	border:solid 1px #6b6b6b;
	transition: 200ms all;
}
.btn-1:hover,
.btn-1:focus,
.btn-1:active {
	color:white;
	background:#6b6b6b;
	text-decoration: none;
	transition: 100ms all;
}

#content H2,
.nemoc H3 {
	font-size:18px;
	font-family: 'Raleway', sans-serif;
	font-weight: bold;
	line-height: 30px;
	color:#004171;
	text-align: center;
}
#content .row-image-text H2 {
	text-align:left;
}
H2.with-after::after {
	content: ' ';
	margin: 40px auto;
	display: block;
	width: 50px;
	height: 1px;
	border-bottom: solid 3px #d2dbdf;
}
.nemoc-holder:nth-child(3n+1) .nemoc-shadow {
	margin-right:0px;
}
.nemoc-holder:nth-child(3n) .nemoc-shadow {
	margin-left:0px;
}
.nemoc-shadow {
	display: block;
	width: 300px;
	filter: drop-shadow(10px 10px 3px rgba(50, 50, 0, 0.08));
	margin-left:auto;
	margin-right:auto;
	margin-bottom: 50px;
	transition: 500ms all ease-out;
}
.nemoc-shadow:hover,
.nemoc-shadow:active,
.nemoc-shadow:focus {
	text-decoration: none;
	filter: drop-shadow(10px 10px 3px rgba(50, 50, 0, 0.25));
	transition: 180ms all ease-in;
}
.nemoc-shadow:hover .nemoc,
.nemoc-shadow:active .nemoc,
.nemoc-shadow:focus .nemoc {
	background: #56ab52;
	transition: 180ms all ease-in;
}
.nemoc-border {
	background: #b4bec4;
	clip-path: polygon(0 0, 100% 0, 100% 80%, 70% 100%, 0 100%);
	padding:1px;
}
.nemoc {
	padding: 30px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	height:270px;
	clip-path: polygon(0 0, 100% 0, 100% 80%, 70% 100%, 0 100%);
	background:white;
	transition: 180ms all ease-in;
}
.nemoc .heading-holder {
	height: 65px;
}
.nemoc .img-holder {
	width: 130px;
	height: 130px;
	display: flex;
	justify-content: center;
	align-items: center;
}


.podporuji-nas {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.podporuji-nas-item {
	width: 300px;
	height: 160px;
	-webkit-box-shadow: 8px 8px 14px 0px rgba(0,0,0,0.15);
	-moz-box-shadow: 8px 8px 14px 0px rgba(0,0,0,0.15);
	box-shadow: 8px 8px 14px 0px rgba(0,0,0,0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 25px 40px 25px;
	background:white;
}
.podporuji-nas-item.center-block {
	margin-left: auto;
	margin-right: auto;
}

#content .row-zaznam-stranka H2 {
	text-align: left;
	font-size: 26px;
	line-height: 40px;
	color:#004171;
	font-family:'Raleway', sans-serif;
	font-weight: bold;
}
#content .row-zaznam-stranka H2::after {
	content: ' ';
	margin: 25px 0 25px 0;
	display: block;
	width: 50px;
	height: 1px;
	border-bottom: solid 3px #d2dbdf;
}
#content .row-zaznam-stranka H3 {
	font-size: 18px;
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
    line-height: 30px;
    color: #004171;
	margin-bottom: 15px;
}
#content .row-zaznam-stranka P,
#content .row-zaznam-stranka UL LI,
#content .row-zaznam-stranka OL LI {
	font-size: 16px;
	font-family:'Raleway', sans-serif;
	line-height: 30px;
	margin-bottom:40px;
}
#content .row-zaznam-stranka UL,
#content .row-zaznam-stranka OL {
	margin-bottom:25px;
	padding-left: 20px;
	
}
#content .row-zaznam-stranka UL LI,
#content .row-zaznam-stranka OL LI {
	margin-bottom:8px;
}
#content .row-zaznam-stranka IMG {
	padding-left:80px;
	height:auto;
	max-width: 100%;
}
.btn-2 {
	display:block;
	color:#004171;
	font-size:16px;
}


#content .textova-stranka H2 {
	text-align:left;
}
#content  .textova-stranka H2::after {
	margin-left:0
}
#content .textova-stranka P {
	font-size:18px;
	line-height: 30px;
	margin-bottom:35px;
}

.last-articles-widget {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.last-articles-widget-item {
	width: 300px;
	display: flex;
	flex-direction: column;
	margin: 10px 25px 50px 25px;
	background:white;
	text-decoration: none;
	color: #6b6b6b;
}
.last-articles-widget-item * {
	font-family: 'Raleway', sans-serif!important;
}

.last-articles-widget-item:hover,
.last-articles-widget-item:focus,
.last-articles-widget-item:active {
	text-decoration: none;
	color:#6b6b6b
}
.last-articles-widget-item .heading,
.last-articles-widget-item .heading *,
.last-articles-widget-item P,
.last-articles-widget-item P * {
	font-size:16px!important;
	line-height: 30px!important;
	margin-top:0!important;
	margin-bottom:0!important;
}
.last-articles-widget-item IMG {
	margin-bottom:30px;
}
.last-articles-widget-item .casopis {
	color: #004171;
}
.last-articles-widget-item .heading {
	font-weight: bold;
	margin-bottom:20px!important;
}
.last-articles-widget-item .autori {
	margin-bottom:20px!important;
}

.citace-rok:nth-of-type(even) {
	background-color:#eff6f9;
}

.citace-rok H2 {
	color:#004171;
	font-weight: bold;
	font-size:18px;
} 
.publikace,
.publikace * {
	font-size: 18px!important;
	font-family: 'Raleway', sans-serif!important;
}
.publikace P {
	margin-bottom:0!important;
}

/*.publikace*/ .ustavy {
	margin-top:20px;
}
/*.publikace*/ .ustavy .ustav {
	width:18px;
	height:18px;
	margin-right: 10px;
	display: inline-block;
	position: relative;
	top:2px;
}
/*.publikace*/ .ustavy .ustav:not(:first-of-type) {
	margin-left:25px;
	
}
/*.publikace*/ .ustavy .ustav-1 {
	background-color: #56ab52;
}
/*.publikace*/ .ustavy .ustav-2 {
	background-color: #e1001b;
}
/*.publikace*/ .ustavy .ustav-3 {
	background-color: #004171;
}

#publikace-vystup-filtr-ustavy {
	margin-top:15px;
}
#publikace-vystup-filtr-ustavy A {
	padding: 5px;
	margin-left:25px;
	white-space: nowrap;
	font-size: 14px!important;
    font-family: 'Raleway', sans-serif!important;
}
#publikace-vystup-filtr-ustavy A:first-of-type {
	padding-left: 0px;
	margin-left:0px;
}
#publikace-vystup-filtr-ustavy .ustav {
	width:14px;
	height:14px;
}
#publikace-vystup-filtr-ustavy A.activate .ustav {
	background-color:#DDDDDD;
}


#nemoci-vystup-stranka .detailButtons,
#novinky-vystup-stranka .detailButtons {
	display:none;
}

#publikace-vystup-stranka .filter {
	display:none;
}
#publikace-vystup-filtr-roky A {
	display: inline-block;
	margin-right:10px;
	padding:5px;
}
#publikace-vystup-filtr-roky A:first-of-type {
	padding-left: 0;
}
#publikace-vystup-filtr-roky A.selected {
	color:#6b6b6b;
	font-weight: bold;
}
#publikace-vystup-filtr-ustavy A[data-ustav="reset"] {
	position: relative;
	top:-1px;
	left:-5px;
}
#publikace-vystup-filtr-roky A[data-rok="reset"],
#publikace-vystup-filtr-ustavy A[data-ustav="reset"] {
	display: none;
}
#publikace-vystup-filtr-roky A[data-rok="reset"].active,
#publikace-vystup-filtr-ustavy A[data-ustav="reset"].active {
	color:#e1001b;
	font-weight: bold;
	display:inline-block;
	text-decoration: none;
}

#novinky-vystup-stranka .detail .datum {
	color:white;
}

@media(max-width:1199px) {
	
	
	#homepage-row-1 {
		margin-top:0px;
	}
	#homepage-row-1 H1 {
		margin-top:0px;
	}
}
@media (max-width:991px) {
	.nemoc-holder:nth-child(2n+1) .nemoc-shadow {
		margin-right:0px!important;
		margin-left:auto!important;
	}
	.nemoc-holder:nth-child(2n+2) .nemoc-shadow {
		margin-left:0px!important;
		margin-right:auto!important;
	}
}
@media (max-width:767px) {
	#content .row-image-text H2 {
		text-align:center;
	}
	.row-image-text {
		flex-direction: column;
		margin-left:0;
		margin-right:0;
		text-align: center;
	}
	.row-image-text H2 {
		margin-bottom: 30px;
	}
	.row-image-text H2::after {
		content: ' ';
		margin: 28px auto;
		display: block;
		width: 50px;
		height: 1px;
		border-bottom: solid 3px #d2dbdf;
	}
	#homepage-row-1 IMG {
		display: none;
	}
	#content .nemoc-holder .nemoc-shadow {
		margin-right:auto!important;
		margin-left:auto!important;
	}
	
	.last-articles-widget-item {
		margin: 10px 25px 80px 25px;
	}
	
	.row-nemoc-stranka {
		margin-left:0;
		margin-right:0;
	} 
	
}