/*
Theme Name:     turany-child
Description:    Child theme of the turany theme
Author:         SIMPLO s.r.o.
Author URI:     http://www.simplo.cz
Template:       turany
Version:        1.0.0
*/


/* your CSS here */
html,
body {
  height: 100%;
}
body {
  color: rgb(135,135,135);
  position: relative;
  
}

#page-header,
article > .c-content-box,
#page-content > .c-content-box {
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15) !important;
}

/* header */
.header-brno {
  position: absolute;
  top: 16px;
  right: 0;
  width: 141px;
}
.header-title {
  display: inline-block;
  width: 60%;
  padding: 6% 0 0 25px;
}
.header-title h1 {
  color: white;
  font-size: 2em;
  margin: 0 0 5px 0;
}
.header-title h1:first-child {
  font-weight: normal;
}
.header-title h1:last-child {
  text-transform: uppercase;
}
.header-bg {
  display: none;
}

/* header menu */
#m-menu {
  
}
#m-menu + #core {
  margin-top: 17px;
}
.h-multi-menu {
  //border-top: 5px solid  rgba(0,0,0,0.1);
  margin-top: 18px;
  margin-bottom: 17px;
  padding: 7px 20px;
  position: relative;
  z-index: 30;
  height: 150px;
}
.box-1 {
  background-color: #B86200 !important;
}
.box-2 {
  background-color: rgb(5,42,104) !important;
}
.box-4 {
  background-color: #4F8014 !important;
}
.box-3 {
  background-color: #E12D2D !important;
}
.h-multi-menu h3{
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: left;
  font-size: 24px;
  padding-top: 10px;
}
.h-multi-menu ul {
  list-style-type: square;
  color: #fff;
  font-size: 10px;
  margin: 0;
  padding: 0;
  text-align: left;
}
.h-multi-menu li {
  display: inline;
  padding-left: 0px;
}
.h-multi-menu li a {
  line-height: 18px;
}
.h-multi-menu ul.sub-menu {
  list-style-type: none;
  margin-left: 18px;
}
.h-multi-menu ul.sub-menu li {
  margin-top: 2px;
}
.h-multi-menu ul.sub-menu li a {
  color: #fff;
  font-size: 11px;
  font-weight: normal;
}
.h-multi-menu ul.sub-menu li::before {
  content: "- ";
  coloe: #fff;
}
.h-multi-menu > div > ul > li > a {
  position: relative;
  left: 0;
  padding: 4px 0;
  color: #fff;
  font-size: 13px;
  display:inline;
  padding-left: 0px;
  padding-right: 0px;
  font-weight: normal;
}
.h-multi-menu > div > ul > li::after {
	content: " , ";
}
.h-multi-menu > div > ul > li:last-child::after {
	content: "";
}
/*
.h-multi-menu > div > ul > li > a::after {
  content: "";
  background: url(/wp-content/themes/turany/library/img/arr-close.png) no-repeat;
  background-size: 4px 7px;
  width: 4px;
  height: 7px;
  display: inline-block;
  margin-left: 8px;
}
.h-multi-menu > div > ul > li > a.arr-open::after {
  background: url(/wp-content/themes/turany/library/img/arr-open.png) no-repeat;
  background-size: 7px 4px;
  width: 7px;
  height: 4px;
}
.h-multi-menu > div > ul > li > a:only-child:after {
  content: "";
  background: none;
}
*/

/* left main menu */
#menu-main-menu-1 li a{
  font-size: 14px;
  font-weight: normal;
}
#menu-main-menu-1 li:first-child a {
  font-weight: bold;
}

/* right banner */
.safety {
  text-align: center;
}
.safety img {
  padding: 2.5px;
  width: 118px;
}

/* articles */
h3.article-title a {
  font-size: 20px;
}
.article-excerpt p {
  font-weight: normal;
  color: rgb(135,135,135);
  font-size: 14px;
}
.c-article-list .article-date {
  color: rgb(135,135,135);
  font-weight: normal;
}
.brief-article h3.article-title a {
  font-size: 14px;
}

/* footer */
#footer,
.footer-bg,
.footer-inner,
.footer-top,
.footer-bg::before,
.footer-top .c-container,
#bottom-panel {
  height: 120px;
}
.textwidget p.text-right{
  font-size: 12px;
  font-weight: normal;
  text-align: right;
}
#nav_menu-2 {
  position: relative;
  top: -10px;
}
#nav_menu-2 li {
  display: inline-block;
  border: 0;
}
#nav_menu-2 li::after {
  content: "|";
  margin: 0 5px 0 8px;
}
#nav_menu-2 li:last-child::after {
  content: "";
  margin: 0;
}
#nav_menu-2 li a {
  color: #ddd;
  text-transform: uppercase;
  font-weight: normal;
  font-size: 12px;
}
#bottom-panel {
  padding: 34px 0 0;
}
#bottom-panel .widget {
  margin-bottom: 0;
}
#bottom-panel .widget-title {
	font-size: 12px;
	margin-bottom: 3px;
	color: #ddd;
}
footer .newsletter-widget form p {
	display: inline-block;
}
footer .newsletter-widget form > p:first-of-type {
	margin-right: 10px;
}
footer .newsletter-widget form p .newsletter-email {
	font-size: 12px;
	padding: 5px 7px;
	width: 25em;
}
footer .newsletter-widget form p .newsletter-submit{
	font-size: 12px;
	padding: 5.5px 10px;
}
#bottom-panel input {
	font-size: 12px;
}
.bottom-panel-inner .row > div:first-child {
	border-right: 1px dotted #565656;
	width: 42%;
}
.bottom-panel-inner .row > div:last-child {
	padding-left: 35px;
}
.footer-bottom p {
	text-align:center;
}

/* portrait */
.m-has-portrait {
	width: 45%;
	display: inline-block; 
	vertical-align: top;
	margin-right: 10px;
}
.vc_col-sm-4 .m-has-portrait {
	width: 100%;
}
.c-team-member .member-portrait {
	float: none;
	position: static;
}
.c-team-member .member-portrait img {
	max-height: 200px;
	max-width: initial !important;
}
.c-team-member.m-has-portrait .team-member-inner {
	padding-left: 0;
}


.attachments {
	padding-bottom: 0px;
}
.attachments #wpba_attachment_list .wpba-attachment-list {
}
.attachments #wpba_attachment_list li {
	list-style-type: none;
	margin-top: 5px;
}
.attachments #wpba_attachment_list li .wpba-link {
	padding-left: 5px;
} 
.attachments .pull-left {
	float: none !important;
}
.attachments h5 {
	margin-bottom: 0px;
} 

.viewed {
	color: #bebebe;
	font-weight: normal;
}

h2#starosta,
h2#o-vseobecny,
h2#o-ekonomicky,
h2#o-staveb-tech {
	cursor: pointer;
}
h2#starosta::after,
h2#o-vseobecny::after,
h2#o-ekonomicky::after,
h2#o-staveb-tech::after {
	content:'\f107';
    display: inline-block;
    font-family: FontAwesome;
    font-size: 16px;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    position: absolute;
    right: 70px;
    top: 8px;
}
#o-vseobecny-cont,
#o-ekonomicky-cont,
#o-staveb-tech-cont {
	display: none;
}

/* dominik */

.wp-polls p {
	padding-left: 0px;
	text-align:left !important;
	margin-bottom: 15px;
}
ul.wp-polls-ul {
	margin:0px;
}
#text-4 .widget-inner {
	padding:0px;
}
.side-menu nav {
	border-top: none !important;
}
.sidebar .widget-title {
	text-transform:none;
}
h3 {
	font-size: 16px !important;
}

.member-description p{
	font-size: 14px;
}
#page-header {
	background-color:white;
	border: none!important;
	margin: 0px;
	
    box-shadow: 1px 1px 0 rgba(0,0,0,0.05);
	
}
.custom-footer-menu {
	margin-bottom: 0px;
	height: 80px;
	padding:0px;
}
.custom-footer-menu li {
	display: inline-block;
    border: 0;
	margin-right: 20px;
	line-height: 80px;
	margin-top:0px;
}
.custom-footer-menu li:last-child {
	margin-right: 0px;
}
.custom-footer-menu li a{
	color:white;
	text-transform: uppercase;
	
}
#footer, .footer-bg, .footer-inner, .footer-top, .footer-bg::before, .footer-top .c-container, #bottom-panel {
	height: 80px;
}

.footer-text p {
	line-height: 80px;
	color:white;
	margin:0px;
}
.footer-bottom-inner {
	padding: 0px;
}
body {
	font-size: 13px !important;
	line-height: 14px;
	}
	
	.sidebar .widget-ico {
	display:none;
	}
	.sidebar .widget-title.m-has-ico {
    padding-left: 20px;
}
.sidebar .widget {
    box-shadow: 1px 1px 3px rgba(0,0,0,0.15) !important;
}
.main-menu h2 {
	color:white;
	margin-bottom: 5px;
}
.main-menu li a {
	opacity: 1;
}
table td {
	padding: 10px 20px 10px 20px !important;
}
/* table td.tribe-events-thismonth,
table td.tribe-events-othermonth {
	padding: 0 !important; 
}
table td.tribe-events-past h3 {
	font-size: 12px !important;
} */
table td {
	line-height: 18px;
	font-size: 13px;
}
table td.vyveseni {
	line-height: 12px;
}
table th {
    padding-left: 20px;
    padding-bottom: 10px;
    padding-top: 10px;
	padding-right: 0px;
}/*
#m-menu .active .h-multi-menu{
	opacity: 1;
}
#m-menu .h-multi-menu{
	opacity: 0.5;
}
#m-menu .h-multi-menu:hover{
	opacity: 1;
}*/
.current-menu-item > ul.sub-menu {
	display:block !important;
}

.side-menu.m-show-submenu nav>ul>.current-menu-ancestor>ul {
	display:block !important;
}
.article-single-page > .c-content-box {
	display:none;
	
}
.article > .c-content-box {
	display:block;
}
#page-content h1 {
display:none;
}
.files h2 {
	font-size: 14px;
}
h2.article-title {
	margin-bottom: 5px;
}
.order-1.first {
	display:none;
}
.main-menu h2 {
	margin-bottom: 10px;
	margin-top: 10px;
}
.side-menu nav>ul>li>a {
	text-transform: none;
}
.side-menu nav ul>li>ul>li>a{
	color: #111;
}
.widget.widget_categories ul.children {
	margin-left: 10px;
}

.c-content-box .article-content-inner h2 { display:none;}

#post-list .c-content-box { display:none !important;}
.images li {
	list-style-type:none;
}
.files p {
	margin-bottom: 5px !important;
}
/* a.tribe-events-ical.tribe-events-button {
	display: none !important;
} */

/* widget-rubriky */
.widget-list > #categories-4 {
	display: none;
}
body {
	sbackground-image: url('../turany/library/img/header-bcg.png');
	background-position: 50% 160px;
	background-repeat: no-repeat;
	background-color: #333;
}
@media screen and (max-width: 769px) {
    
	#m-menu {
		display:none;
	}
}
.current-menu-ancestor.current-menu-parent.current_page_parent > ul.sub-menu {
	display:block !important;
	margin-top: 0px;
}
.side-menu.m-show-submenu nav .current-menu-ancestor ul>li.current-menu-parent>ul {
	display:block !important;
	margin-top: 0px; 
    margin-left: 10px;	
}
.side-menu.m-show-submenu nav .current_page_ancestor>ul.sub-menu > li.current_page_ancestor>ul.sub-menu {
	display:block!important;
}
li ul.sub-menu li > ul.sub-menu {
	
	margin-top: 0px !important;
}
.side-menu nav .m-has-submenu>a:after {
	top: 7px;
}
.side-menu.m-show-submenu nav>ul>li>ul .current_page_ancestor>ul>li.m-has-submenu>a:after {
	top: 4px;
}
a.more-section {
	color:white;
	position: absolute;
    right: 10px;
    bottom: 15px;

}
a.more-section img {
	position:relative;
	top: 8px;
}
.pdf-doc {
	position: relative;
	padding-left: 24px;
}
.pdf-doc::before {
	position: absolute;
	top: 2px;
	left:0;
	content: "";
	background: url(/wp-content/themes/turany/library/img/pdf-doc.png);
	background-size: 14px 16px;
	width: 14px;
	height: 16px;
	display: inline-block;
}
#zpravodaj-cur {
	position: relative;
	padding-left: 34px;
	font-weight: bold;
	font-size: 12px;
	color: #333;
}
#zpravodaj-cur::before {
	position: absolute;
	top: -8px;
	left:0;
	content: "";
	background: url(/wp-content/themes/turany/library/img/pdf-doc-big.png);
	background-size: 24px 32px;
	width: 24px;
	height: 32px;
	display: inline-block;
}
#zpravodaj-listy h2 {
	margin-bottom: 8px;
	margin-top: 25px;
}
#zpravodaj-listy .zLeftBox {
	display: inline-block;
	width: 284px;
	margin-right: 34px;
}
#zpravodaj-listy .zRightBox {
	display: inline-block;
	width: 50%;
	vertical-align: top;
}
#zpravodaj-listy h2.main {
	font-size: 19px;
	font-weight: bold;
	color: #607d8b;
	margin-top: 0;
}
#zpravodaj-listy h2.main-2 {
	font-size: 19px;
	font-weight: bold;
	color: #607d8b;
	margin-top: 34px;
	margin-bottom: 0;
}
#zpravodaj-listy img {
	-webkit-box-shadow: 1px 1px 9px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 1px 1px 9px 0px rgba(0,0,0,0.75);
box-shadow: 1px 1px 9px 0px rgba(0,0,0,0.75);
}
#zpravodaj-listy .col-md-6 {
	padding-left: 0;
}

/* article - HP */
.article-hp {
	display: inline-block;
	width: 33%;
	vertical-align: top;
}
.article-hp > div,
article.article-hp > .c-content-box {
	box-shadow: none !important;
}
.page-content-hp {
	background: white;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15) !important;
}
.article-hp:first-of-type > .c-content-box > .article-core {
	padding-left: 15px;
	padding-right: 15px;
}
.article-page .article-core {
    padding: 24px 15px 1px 15px;
}
.article-page .article-footer {
	margin: 0px 15px 0px 15px !important;
}
.article-hp .article-core > .article-content > p {
	text-align:justify;
}
.article-hp > .c-content-box > .article-core {
	padding-top: 0;
	margin-top: 19px;
	border-right: 1px solid #dedede;
	border-bottom: 0;
}
.article-hp:last-child > .c-content-box > .article-core {
	border-right: none;
}
.page-content-hp h2.article-title {
	margin-bottom: 13px;
}
.page-content-hp h2.article-title > a {
	border-bottom: 2px solid #607d8b;
	line-height: 26px;
	font-size: 15px;
}
.aktuality-list h2.article-title > a {
border-bottom: 2px solid #607d8b;
	line-height: 26px;
	font-size: 16px;
	text-decoration: none;
}
.page-content-hp h2.article-title > a:hover {
	text-decoration: none;
}
.article-hp img {
	max-width: 199px !important;
}
.article-hp .article-core > a {
	display: inline-block;
	margin-bottom: 4px;
}
.article-hp .article-core > .article-content > p {
	margin: 0;
	font-size: 12px;
	font-weight: normal;
}
.article-hp .article-footer {
	border: none;
	padding: 7px 0;
}
.article-page .article-hp .article-footer > a {
	font-size: 12px;
	font-weight: bold;
	text-decoration: underline;
}
.more-news-cont {
	text-align: right;
	padding: 0 27px 31px 27px;
	min-height: 24px;
	margin-top: -10px;
}
#more-news {
	color: white;
	background: #607d8b;
	height: 27px;
	width: 96px;    
	padding: 6.5px 7px;
	font-weight: normal;
	text-decoration: none;
	line-height: 1.8em;
}
#more-news::before {
	font-family: FontAwesome;
	content: "\f105 \f105";
	margin-right: 2px;
}
/* article-hp END */

/* #wp-admin-bar-tribe-events, #wp-admin-bar-site-name, #wp-admin-bar-wp-logo, #wp-admin-bar-tribe-events {
	display:none;
} */

/* newsletter */
#newsletter {
	min-height: 183px;
}
#newsletter h2 {
	font-size: 17px;
	font-weight: bold;
	color: #607d8b;
	margin-bottom: 12px;
}
#newsletter .nLeft {
	width: 327px;
	padding-left: 30px;
	padding-right: 38px;
	display: inline-block;
	box-sizing: initial;
}
#newsletter .nRight {
	width: 48%;
	display: inline-block;
	vertical-align: top;
}
#newsletter .nRight p {
	margin-bottom: 15px;
	font-size: 12px;
	font-weight: normal;
}
#newsletter .newsletter-email {
	width: 273px;
	height: 29px;
	background: white;
	border: 1px solid #bbbbbb;
	color: #bbbbbb;
	padding: 0 10px;
	font-size: 12px;
	font-style: italic;
}
#newsletter .newsletter-submit {
	height: 29px;
	width: 87px;
	font-size: 12px;
	text-transform: initial;
	font-weight: normal;
	padding: 0;
	background: #e54d4d;
	border:1px solid #e54d4d;
}
/* newsletter END */

/* aktuality */

.category-aktuality .article-archive-page {
	background: white;
}
.article-hp:nth-of-type(3n) > .c-content-box > .article-core {
	border-right: none;
}

/* aktuality END */

/* slavnosti-zeli */

.c-button.button-slavnosti-zeli {
	background-color: rgb(131, 165, 27);
	border-color: rgb(131, 165, 27);
}

/* slavnosti-zeli END */

/* FOOTER-TOP */
.footer-top, .footer-top .c-container {
	height: initial !important;
	background-color: #171717 !important;
}
.footer-top .c-container div {
	padding: 0;
}
.footer-top .c-container > div {
	margin-top: 38px;
}
.footer-top span {
	font-size: 14px;
	font-weight: bold;
	color: #ffffff;
	margin-bottom: 20px;
	display: inline-block;
	width: 100%;
}
.footer-top ul {
	list-style: none;
}
.footer-top ul li:before {
	content: "-";
	margin-right: 2px;
}
.footer-top a {
	color: #fff;
}
.footer-top .fb-footer {
	text-align: right;
}
.footer-top .list-of-posts {
	margin-left: 80px;
}
.footer-top .list-of-posts p {
	display: inline-block;
	width: 174px;
}
.footer-top .latest-post {
	display: inline-block;
	height: 81px;
	width: 81px;
	margin: 4px 12px 12px 0;
	background-repeat: no-repeat;
	background-size: cover;
	vertical-align: top;
}
.footer-top .fb-page {
	width: 243px;
	height: 131px;
}
/* FOOTER-TOP END */

/* kalendar-akci */

/* .tribe-events-list h2.tribe-events-page-title {
	font-size: 22px;
	font-weight: normal;
	margin-bottom: 0;
} */
/* .tribe-events-list-separator-month::after {
	border-bottom: none;
}
.tribe-events-list-separator-month {
	font-size: 13px;
	text-transform: uppercase;
	font-weight: bold;
	text-align: left;
	padding: 10px;
	margin-top: 0;
	background-color: #eeeeee;
}
.tribe-events-list-separator-month span {
	background-color: transparent;
	padding: 0;
}
.event-thumb-img {
	display: inline-block;
	float: left;
	height: 140px;
	width: 140px;
	background-size: cover;
	margin-right: 20px;
}
.tribe-events-list .type-tribe_events,
.tribe-events-list .type-tribe_events#post-8168 {
	margin-left: 11px;
	padding-top: 23px !important;
	padding-bottom: 23px !important;
	border-bottom: 1px solid #d9d9d9;
}
.tribe-events-list .type-tribe_events:nth-of-type(3n),
.tribe-events-list .type-tribe_events#post-524 {
	border-bottom: 0;
}
.tribe-events-loop .tribe-events-content {
	float: none;
}
.tribe-events-loop .tribe-events-event-meta {
	clear: none;
}
.tribe-events-list .type-tribe_events h2 {
	font-size: 16px;
}
.tribe-events-list .type-tribe_events {
	padding-bottom: 0;
}
#tribe-events-footer .tribe-events-sub-nav .tribe-events-nav-left {
	float: right;
}
#tribe-events-footer span .c-button {
	text-transform: initial;
	font-size: 13px;
	font-weight: 400;
	padding: 6px;
}
#tribe-events-footer span .c-button.prev {
	float: right;
}
#tribe-events-footer span .c-button.next {
	float: left;
}
.tribe-events-loop > .tribe-events-list-separator-month {
	margin-bottom: 0;
}
.tribe-events-loop > .tribe-events-list-separator-month:last-of-type {
	margin-top: 22px;
}
#tribe-events-content h1.tribe-events-single-event-title {
	display: block;
	font-size: 22px;
	font-weight: 400;
	margin-bottom: 0;
}
.tribe-events-schedule h2 {
	font-size: 16px;
	color: #565656;
	margin-bottom: 0;
}
.single-tribe_events .tribe-events-cal-links {
	clear: both;
	float: right;
}
.single-tribe_events .tribe-events-event-meta {
	clear: both;
} */
/* kalendar-akci END */

/* -----------------------------------------------------------------------------

    RESPONSIVE DEFINITIONS

----------------------------------------------------------------------------- */

    /* -------------------------------------------------------------------------
        LARGE DEVICES
		devices with width between 992px and 1199px
    ------------------------------------------------------------------------- */

    @media ( max-width: 1199px ) {
		#bottom-panel .widget-col {
		  width: 100%;
		  text-align: center;
		}
		.textwidget p.text-right {
		  text-align: center;
		}
		#bottom-panel p {
		  line-height: 1em;
		}
		.bottom-panel-inner .row > div:first-child {
			border-right: 0;
		}
		.bottom-panel-inner .row > div:last-child {
			padding-left: 15px;
			margin-top: 20px;
		}
		#footer, .footer-bg, .footer-inner, .footer-top, .footer-bg::before, .footer-top .c-container, #bottom-panel {
			height: 80px;
		}
		/* mobilní menu */
		.header-toggle-holder {
			display:none;
		}
		#newsletter .nLeft {
			width: 40%;
			padding-right: 30px;
		}
		#newsletter form {
			position: relative;
		}
		#newsletter .newsletter-email {
			width: 100%;
		}
		#newsletter form .newsletter-submit {
			position: absolute;
			right: 0;
			top: 39px;
			margin-bottom: 30px;
		}
		#newsletter {
			min-height: 220px;
		}
		.footer-top .list-of-posts {
			margin-left: 0;
		}
	}


	@media ( max-width: 1080px ) {
		#m-menu  .row > div {
			width: 50%;
		}
		.h-multi-menu {
			max-height: 115px;
		}
	}
    /* -------------------------------------------------------------------------
        MEDIUM DEVICES
		devices with width between 768px and 991px
    ------------------------------------------------------------------------- */

    @media ( max-width: 991px ) {
		.header-branding {
		  display: inline-block;
		}
		.header-title {
		  position: relative;
		  top: -35px;
		}
		.h-multi-menu {
		  z-index: initial;
		}
		#lsvr_custom_code_widget-3 {
		  text-align: center;
		}
		#footer,
		.footer-bg,
		.footer-inner,
		.footer-top,
		.footer-bg::before,
		.footer-top .c-container,
		#bottom-panel {
		  height: initial;
		}
		hr.c-separator.m-transparent.hidden-lg.hidden-md {
		  display: none;
		}
		#nav_menu-2 {
		  top: -20px;
		}
		#bottom-panel {
		  padding: 48px 0 24px;
		}
		.side-menu.m-left-side.m-show-submenu {
			padding: 40px 20px 0 20px;
		}
		.footer-top .c-container > div {
			text-align: center;
		}
		.footer-top .list-of-posts p {
			text-align: left;
		}
	}

	/* -------------------------------------------------------------------------
        SMALL DEVICES
		devices with width between 481px and 767px
    ------------------------------------------------------------------------- */

    @media ( max-width: 767px ) {
		.h-multi-menu {
			height: auto !important;
		}
		/* your CSS here */
		#m-menu .c-container .row > .col-md-3 .h-multi-menu,
		#m-menu .c-container .row > .col-md-3:nth-of-type(2) .h-multi-menu {
			height: 120px;
		}
		.header-title {
			width: 50%;
		}
		.header-title h1 {
			font-size: 1.5em;
		}
		#m-menu  .row > div {
			width: 100%;
		}
		article.article-hp {
			width: 100%;
			border-bottom: 1px solid #dedede;
		}
		.article-hp > .c-content-box > .article-core {
			border-right: 0;
		}
		.more-news-cont {
			padding-top: 30px;
			text-align: left;
		}
	}
	
	@media ( max-width: 695px ) {
		.header-branding {
			top: 0;
		}
		.h-multi-menu {
			height: auto !important;
		}
		#newsletter {
			padding-right: 30px;
		}
		#newsletter .newsletter-subscription {
			min-height: 80px;
		}
		#newsletter .nRight,
		#newsletter .nLeft {
			width: 100%;
		}
		#newsletter .nRight {
			padding: 30px;
		}
		#newsletter .nLeft {
			box-sizing: border-box;
		}
	}
	@media ( max-width: 595px ) {
		.header-branding {
			top: 20px;
		}
		.header-brno {
			max-width: 90px;
		}
		.h-multi-menu {
			height: auto !important;
		}
		#footer .footer-text .pull-left,
		#footer .footer-text .pull-right		{
			float: none;
		}
	}
	@media ( max-width: 545px ) {
		.header-title {
			top: -15px;
		}	
		.h-multi-menu {
			height: auto !important;
		}
	}

	/* -------------------------------------------------------------------------
        EXTRA SMALL DEVICES
		devices with width up to 480px
    ------------------------------------------------------------------------- */

	@media ( max-width: 480px ) {
		.h-multi-menu {
			height: auto !important;
		}
		/* your CSS here */
		#m-menu .c-container .row > .col-md-3 .h-multi-menu {
			dheight: 190px;
		}
		.header-title {
			width: 60%;
		}
		.header-title {
			top: -15px;
		}
	}
	@media ( max-width: 400px ) {
		.header-branding {
			max-width: 80px;
			top: 30px;
		}
		.h-multi-menu {
			height: auto !important;
		}
		.header-title {
			top: 0;
		}
		.header-title h1 {
			font-size: 1.2em;
		}	
	}
	@media ( max-width: 380px ) {
		.custom-footer-menu {
			margin-top: 30px;
		}
		.custom-footer-menu li {
			display: block;
			margin-right: 0;
			line-height: 20px;
		}
		.footer-text .pull-right p {
			line-height: 40px;
		}
	}
	
	.article-hp.aktuality-list > .c-content-box > .article-core {
		border:none;
	}
	h1.visible {display:block !important;}
	label[for=email-newsletter] {
		font-weight: inherit;
		color: inherit;
	}

/*EDIT-little responzive changes Michal*/

@media (max-width: 400px){
	.header-title {
		top: 17px !important;;

	}
}

@media (max-width: 480px){
	.header-title {
		top: 0px;

	}

	.m-has-portrait{
		margin-right: 17px !important;
	}
}

.side-menu nav .main-menu.mobile {
	background: wheat;
	visibility: hidden !important;
}

@media ( max-width: 767px ) {

	.side-menu.m-left-side.m-show-submenu{
		padding: 10px 20px 0 20px !important;

	}
	.main-menu#mobile{
		padding: 0 !important;
		background-color: transparent;
	}

	.main-menu#mobile ul{
		margin: 5px 0 5px 0 !important;

	}

	.side-menu nav{
		margin-bottom: 5px;
	}


	.main-menu#mobile #menu-item-111{
		background-color: rgb(229,77,77) !important;
		padding: 7px 20px !important;
	}
	.main-menu#mobile #menu-item-112{
		background-color: #e09a12 !important;
		padding: 7px 20px !important;
	}
	.main-menu#mobile #menu-item-113{
		background-color: rgb(5,42,104) !important;
		padding: 7px 20px !important;
	}
	.main-menu#mobile #menu-item-114{
		background-color: rgb(131,165,27) !important;
		padding: 7px 20px !important;
	}

	.main-menu#mobile {
		display: block !important;
	}
	.main-menu.notmobile {
		display: none !important;
		visibility: hidden !important;
	}

	#page-content img{
		margin: 0 470px 0 15px !important;
	}
}

h4 {
	margin-bottom: 10px;
	line-height: 1.2em;
	font-size: 11px;
	font-weight: bold;
}

h3 {
	font-size: 16px !important;
	margin-bottom: 10px;
}

.fa{
	font-size: 14px !important;
}

p{
	line-height: 20px;
	margin: 0;
}
.lekar-text {
	padding-left: 15px!important;
}
body .lekar-text>.wpb_wrapper {
    margin-bottom: 0px;
}
.lekar-text .accordion-items>li {
	border: none;
}
.lekar-text h4.accordion-title {
	
}
.lekar-text .accordion-items {
	margin-top: 0px;
}
.lekar-text  .accordion-items .accordion-content {
	padding-bottom: 0px;
	line-height: 14px;
}
.lekar-text .accordion-items .accordion-content>* {
	margin-top: 7px;
}
#newsletter {
	display:none !important;
}
.top_news {
	background: white;
}
.article-hp-top {
	padding: 15px;
}
.article-hp-top article > .c-content-box {
	box-shadow: none !important;
}
.article-hp-top article > a {
	float:left;
}



@media only screen and (max-width: 768px) {
  #tribe-events-content .tribe-events-calendar div[id*=tribe-events-event-] h3.tribe-events-month-event-title {
      display: block !important;
      font-size: 12px !important;
  }
  .events-archive.events-gridview #tribe-events-content table .type-tribe_events {
      padding: 4px 0px !important;
  }
  .tribe-events-calendar thead th {
      padding: 7px 2px !important;
      font-size: 10px;
      width: 2ch !important;
      overflow: hidden !important;
      white-space: nowrap !important;
    }    
}

@media (max-width: 991px)
{
.header-tools {
    display: block;
    position: relative;
    right: auto;
    margin-bottom: 12px;
	}
}

@media (max-width: 600px)
{
.header-tools {
    display: block;
    position: relative;
    right: auto;
    margin-bottom: 12px;
	top: 10px;
	}
}