/*
Theme Name: p14-home
Theme URI: http://www.ys.cz
Description: Wordpress default theme for Praha14 portal.
Version: 1.0
Author: YOUR SYSTEM
Author URI: http://www.ys.cz
Tags: twitter bootstrap, simple, ys
License: GNU General Public License v2.0 & Apache License 2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html http://www.apache.org/licenses/LICENSE-2.0
*/


/* FONTS */


@import url("fonts/PrivaOnePro/styles.css");


/** DEFAULT COLORS
*
*	green:		#a2c516
*	orange: 	#f39600
*	blue:		#009dde
*	gray:		#58595b
*/

/** DEFAULT COLORS two
*
*	green:		#eaeec0
*	orange: 	#fbd59b
*	blue:		#9ad5f0
*	gray:		#58595b
*/

/* RESET */
table.reset {
	width: auto;
	margin: 0;
	padding: 0;
	color: #414042;
	background: none;
}
table.reset tr {
	margin: 0;
	padding: 0;
	color: #414042;
	background: none;
}
table.reset td {
	margin: 0;
	padding: 0;
	color: #414042;
	background: none;
}
table.reset th {
	margin: 0;
	padding: 0;
	color: #414042;
	background: none;
}

body {
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	color: #414042;
}


h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
}

h1 {
	font-size: 24px;
}
h2 {
	font-size: 22px;
}
h3 {
	font-size: 20px;
}
h4 {
	font-size: 18px;
}
h5 {
	font-size: 16px;
}
h6 {
	font-size: 14px;
}


i {
	font-family: PrivaOneItalicPro;
}


p {

}


a {

}
a:hover {

}

a img {
	opacity: 1;
	transition: 300ms;
	-webkit-backface-visibility: hidden;
  	-moz-backface-visibility:    hidden;
  	backface-visibility:     hidden;
}

a:hover img {
	opacity: 0.9;
	-webkit-backface-visibility: hidden;
  	-moz-backface-visibility:    hidden;
  	backface-visibility:     hidden;
}


input[type="text"] {
	min-height: 34px;
}
input.form-control, select.form-control {
	border: none;
}
input[type="submit"] {
	width: auto;
	color: #fff;
	background: #a2c516;
}



/* BUTTON */
button {
	padding: 6px 16px;
	color: #ffffff;
	border: none;
	font-size: 14px;
	font-weight: bold;
}
button:hover {
	text-decoration: underline;
}
.button {
	display: inline-block;
	padding: 2px 8px;
	background: #a2c516;
	color: #414042;
	font-size: 14px;
	font-weight: bold;
}


/* TABLE */
table {
	border-collapse: collapse;
	width: 100%;
	font-size: 12px;
}
tr {
	background: #ededee;
}
th {
	padding: 6px 10px;
	color: #ffffff;
	border-bottom: 6px solid #ffffff;
	font-weight: bold;
}
td {
	border-bottom: 3px solid #ffffff;
	border-right: 3px solid #ffffff;
	padding: 4px 10px;
}
tr:nth-child(even) {
    background: #e0e1e2;
}



/* WORDPRESS CLASS*/
.aligncenter {
	text-align: center;
}
.alignleft {
	text-align: left;
}
.alignright {
	text-align: right;
}


img.aligncenter {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
}
img.alignleft {
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
}
img.alignright {
	float: right;
	margin-left: 20px;
	margin-bottom: 20px;
}

/******************************************************************************/




/* DEFAULT LAYOUTS */

.p14_praha_bg, .p14_urad_bg,
body.p14-urad .p14-background,
body.p14-home #header,
body.p14-urad #header,
#p14-nav-urad a,
body.p14-urad button,
body.p14-urad th,
body.p14-urad input[type="submit"],
body.p14-urad .sidebar-right .widget-right-title,
body.p14-urad .widget_nav_menu ul.menu li a:hover,
body.p14-urad .widget_nav_menu .menu-item-selected,
body.p14-urad ul.nav-tabs li a:hover,
body.p14-urad ul.nav-tabs li.select a,
body.p14-urad .personbox-footer-title,
body.p14-urad .p14-filter-title,
body.p14-urad .pagination li.active a,
body.p14-urad .pagination li.active a:hover,
body.p14-urad .ui-datepicker-header,
body.p14-urad .p14-modal .modal-header,
body.p14-urad #menu-submenu ul.menu li a:hover
{
	background: #a2c516;
}





.p14_samosprava_bg,
body.p14-samosprava .p14-background,
body.p14-samosprava #header,
#p14-nav-samosprava a,
body.p14-samosprava button,
body.p14-samosprava th,
body.p14-samosprava input[type="submit"],
body.p14-samosprava .sidebar-right .widget-right-title,
body.p14-samosprava .widget_nav_menu a:hover,
body.p14-samosprava .widget_nav_menu .menu-item-selected,
body.p14-samosprava ul.nav-tabs li a:hover,
body.p14-samosprava ul.nav-tabs li.select a,
body.p14-samosprava .personbox-footer-title,
body.p14-samosprava .p14-filter-title,
body.p14-samosprava .pagination li.active a,
body.p14-samosprava .pagination li.active a:hover,
body.p14-samosprava .ui-datepicker-header,
body.p14-samosprava .p14-modal .modal-header,
body.p14-samosprava #menu-submenu ul.menu li a:hover
{
	background: #f39600;
}




.p14_zivot_bg,
body.p14-zivot .p14-background,
body.p14-zivot #header,
#p14-nav-zivot a,
body.p14-zivot button,
body.p14-zivot th,
body.p14-zivot input[type="submit"],
body.p14-zivot .sidebar-right .widget-right-title,
body.p14-zivot .widget_nav_menu ul.menu li a:hover,
body.p14-zivot .widget_nav_menu .menu-item-selected,
body.p14-zivot ul.nav-tabs li a:hover,
body.p14-zivot ul.nav-tabs li.select a,
body.p14-zivot .personbox-footer-title,
body.p14-zivot .p14-filter-title,
body.p14-zivot .pagination li.active a,
body.p14-zivot .pagination li.active a:hover,
body.p14-zivot .ui-datepicker-header,
body.p14-home .ui-datepicker-header,
body.p14-zivot .p14-modal .modal-header,
body.p14-home .p14-modal .modal-header,
body.p14-zivot #menu-submenu ul.menu li a:hover,
body.p14-zivot .search-akce h2
{
	background: #009dde;
}

.p14_zivot_bg,
body.p14-podle-vas .p14-background,
body.p14-podle-vas #header,
#p14-nav-ctrnactka a,
body.p14-podle-vas button,
body.p14-podle-vas th,
body.p14-podle-vas input[type="submit"],
body.p14-podle-vas .sidebar-right .widget-right-title,
body.p14-podle-vas .widget_nav_menu ul.menu li a:hover,
body.p14-podle-vas .widget_nav_menu .menu-item-selected,
body.p14-podle-vas ul.nav-tabs li a:hover,
body.p14-podle-vas ul.nav-tabs li.select a,
body.p14-podle-vas .personbox-footer-title,
body.p14-podle-vas .p14-filter-title,
body.p14-podle-vas .pagination li.active a,
body.p14-podle-vas .pagination li.active a:hover,
body.p14-podle-vas .ui-datepicker-header,
body.p14-home .ui-datepicker-header,
body.p14-podle-vas .p14-modal .modal-header,
body.p14-home .p14-modal .modal-header,
body.p14-podle-vas #menu-submenu ul.menu li a:hover,
body.p14-podle-vas .search-akce h2
{
	background: #073e60;
}

/*.home .home-sidebar-right {
	margin-right: -15px;
}

@media all and (max-width: 991px) {
	.home .home-sidebar-right {
		margin-left: -15px;
	}
}*/

.home-sidebar-right .widget-right:nth-child(3n+2) .widget-right-title h4,
.home-sidebar-right .widget-right:nth-child(3n+2) input[type="submit"],
.home-sidebar-right .widget-right:nth-child(3n+2) ul.menu li a:hover

{
	background: #a2c516; /*green - first*/
}

.home-sidebar-right .widget-right:nth-child(3n+1) .widget-right-title h4,
.home-sidebar-right .widget-right:nth-child(3n+1) input[type="submit"],
.home-sidebar-right .widget-right:nth-child(3n+1) ul.menu li a:hover
{
	background: #009dde; /*blue -secound */
}


.home-sidebar-right .widget-right:nth-child(3n+3) .widget-right-title h4,
.home-sidebar-right .widget-right:nth-child(3n+3) input[type="submit"],
.home-sidebar-right .widget-right:nth-child(3n+3) ul.menu li a:hover
{
	background: #f39600; /*orange - third */
}





body.p14-urad .panel.panel-default .panel-heading
{
	background: #a2c516 !important;
	filter: none;
}
body.p14-samosprava .panel-default .panel-heading
{
	background: #f39600;
	filter: none;
}
body.p14-zivot .panel-default .panel-heading
{
	background: #009dde;
	filter: none;
}



/* color light */

body.p14-urad .personbox-footer-content,
body.p14-urad .p14-filter-content,
body.p14-urad .pagination li a:hover,
body.p14-urad .widget_nav_menu ul.menu li .sub-menu a:hover,
body.p14-urad .datepicker,
body.p14-urad .search-input,
body.p14-urad .p14-modal .modal-content
{
	background: #ebf3c0;
}
body.p14-samosprava .personbox-footer-content,
body.p14-samosprava .p14-filter-content,
body.p14-samosprava .pagination li a:hover,
body.p14-samosprava .datepicker,
body.p14-samosprava .search-input,
body.p14-samosprava .p14-modal .modal-content
{
	background: #fde4bb;
}
body.p14-zivot .personbox-footer-content,
body.p14-zivot .p14-filter-content,
body.p14-zivot .pagination li a:hover,
body.p14-zivot .datepicker,
body.p14-home .datepicker,
body.p14-zivot .search-input,
body.p14-zivot .p14-modal .modal-content,
body.p14-home .p14-modal .modal-content,
#ui-datepicker-div
{
	background: #b2eafb;
}


body.p14-urad .panel,
body.p14-urad .sidebar-right .widget-right,
body.p14-urad ul.nav-tabs,
body.p14-urad .button,
body.p14-urad .personbox-content,
body.p14-urad .personbox-footer-title
{
	border-color: #a2c516;
}

.home-sidebar-right .widget-right:nth-child(3n+3) .widget-right-title,
.home-sidebar-right .widget-right:nth-child(3n+3) input,
.home-sidebar-right .widget-right:nth-child(3n+3) textarea
{
	border-color: #f39600; /*orange*/
}


body.p14-samosprava .panel,
body.p14-samosprava .sidebar-right .widget-right,
body.p14-samosprava ul.nav-tabs,
body.p14-samosprava .button,
body.p14-samosprava .personbox-content
{
	border-color: #f39600;
}

.home-sidebar-right .widget-right:nth-child(3n+1) .widget-right-title,
.home-sidebar-right .widget-right:nth-child(3n+1) input,
.home-sidebar-right .widget-right:nth-child(3n+1) textarea
{
	border-color: #009dde; /*blue*/
}


body.p14-zivot .panel,
body.p14-zivot .sidebar-right .widget-right,
body.p14-zivot ul.nav-tabs,
body.p14-zivot .button,
body.p14-zivot .personbox-content,
body.p14-zivot .personbox-footer-title
{
	border-color: #009dde;
}

.home-sidebar-right .widget-right:nth-child(3n+2) .widget-right-title,
.home-sidebar-right .widget-right:nth-child(3n+2) input,
.home-sidebar-right .widget-right:nth-child(3n+2) textarea
{
	border-color: #a2c516; /*green*/
}

.p14_praha_color,
.p14_urad_color,
.p14_praha_color:hover,
body.p14-urad .p14-color,
body.p14-urad .content-title,
body.p14-urad .content a,
body.p14-urad .content li:before,
body.p14-urad .topmenu li.current-menu-ancestor a,
body.p14-urad .widget_nav_menu .caret,
body.p14-urad li.current-menu-item a,
body.p14-urad .personbox h6,
body.p14-urad .personbox a,
body.p14-urad .ui-widget-content .ui-state-highlight,
body.p14-urad .pagination .glyphicon,
body.p14-urad .calendar-current-actions h5,
body.p14-urad .calendar-current-actions a
{
	color: #a2c516;
}

.p14_urad_color,
.p14_urad_color:hover
{
	color: #a2c516 !important;
}



.home-sidebar-right .widget-right:nth-child(3n+3) h6
{
	color: #f39600;
}



.p14_samosprava_color, .p14_samosprava_color:hover,
body.p14-samosprava .p14-color,
body.p14-samosprava .content-title,
body.p14-samosprava .content a,
body.p14-samosprava .content li:before,
body.p14-samosprava li.current-menu-ancestor a,
body.p14-samosprava .widget_nav_menu .caret,
body.p14-samosprava li.current-menu-item a,
body.p14-samosprava .personbox h6,
body.p14-samosprava .personbox a,
body.p14-samosprava .ui-widget-content .ui-state-highlight,
body.p14-samosprava .pagination .glyphicon,
body.p14-samosprava .calendar-current-actions h5,
body.p14-samosprava .calendar-current-actions a
{
	color: #f39600; /*orange*/
}
.home-sidebar-right .widget-right:nth-child(3n+3) h6
{
	/*color: #f39600; orange*/
}

.home-sidebar-right .widget-right:nth-child(3n+1) h6
{
	/*color: #a2c516;*/
}



.p14_zivot_color, .p14_zivot_color:hover,
body.p14-zivot .p14-color,
body.p14-zivot .content-title,
body.p14-zivot .content  a,
body.p14-zivot .content  li:before,
body.p14-zivot .topmenu li.current-menu-ancestor a,
body.p14-zivot .widget_nav_menu .caret,
body.p14-zivot li.current-menu-item a,
body.p14-zivot .personbox h6,
body.p14-zivot .personbox a,
body.p14-zivot .ui-widget-content .ui-state-highlight,
body.p14-home .ui-widget-content .ui-state-highlight,
body.p14-zivot .pagination .glyphicon,
body.p14-zivot .calendar-current-actions h5,
body.p14-zivot .calendar-current-actions a,
body.p14-home .calendar-current-actions h5,
body.p14-home .calendar-current-actions a
{
	color: #009dde;
}
.home-sidebar-right .widget-right:nth-child(3n+2) h6
{
	color: #009dde;
}


.p14-bg-green {
	background: #a2c516;
}
.p14-bg-orange {
	background: #f39600;
}
.p14-bg-blue {
	background: #009dde;
}
.p14-bg-gray {
	background: #58595b;
}

.ui-datepicker .ui-datepicker-title {cursor: pointer;}
.ui-datepicker .ui-datepicker-title:hover .ui-datepicker-month {font-weight: bold;}



/* color two  */
body.p14-urad .sites-search {
	background: #eaeec0;
}
body.p14-samosprava .sites-search {
	background: #fbd59b;
}
body.p14-zivot .sites-search {
	background: #9ad5f0;
}


/* topmenu
 ***************************************************************/
.topmenu {
	margin-top: 4px;
	margin-left: 4px;
	margin-right: 4px;
}
@media all and (max-width: 767px) {
	.topmenu{

	}
	.topmenu li {
		float: left;
	}

	.topmenu li:last-child a {
		border-right-color: transparent;
	}
}

.topmenu li a {
	color: #fff;
	border-right: 1px solid #fff;
	padding: 0px 14px;
	margin: 6px 0px;
}
.topmenu li a:hover {
	color: #444;
	background: transparent;
}
.topmenu li.current-menu-item,
.topmenu li.current-menu-ancestor {
	margin-left: -1px;
	background: #fff;
	font-weight: bold;
}
.topmenu li.current-menu-item a:hover {
	color: #444;
}

.topmenu li.current-menu-item a {
	color: #444;
}

/* Submenu - visible in SM and XS layout only
 ***************************************************************/
#menu-submenu .menuSectionName{
	padding: 5px 15px 5px 15px;
	margin-top: 10px;
	background-color: black;
	font-weight: bold;
	color: white;
}

body.p14-zivot #menu-submenu .menuSectionName{
	background-color: #009DDE;
}

body.p14-urad #menu-submenu .menuSectionName{
	background-color: #A2C516;
}

body.p14-samosprava #menu-submenu .menuSectionName{
	background-color: #F39600;
}

#menu-submenu ul:first-child{
	list-style: none;
	padding: 0;
	/*margin: 15px;*/
	margin-top: 10px;
	margin-bottom: 15px;
}
#menu-submenu ul:first-child > li{
	/*float: left;*/
	display: inline-block;
	margin-bottom: 10px;
	position: relative;
}
/*#menu-submenu ul:first-child > li > a{*/
#menu-submenu ul li a{
	/*color: black;*/
	/*margin-left: 40px;*/
	padding-left: 15px;
	padding-right: 15px;
	padding-bottom: 4px;
	padding-top: 4px;
	text-decoration: none;
}
#menu-submenu ul li a:hover{
	color: white !important;
}

#menu-submenu ul:first-child > li:first-child a{
	/*margin-left: 0px;*/
}
#menu-submenu ul:first-child > li.current-menu-item a{
	font-weight: bold;
}

#menu-submenu ul:first-child > li:not(.current-menu-item) a{
	color: black;
}

#menu-submenu ul:first-child > li ul{
	margin-left: 30px;
	position: absolute;
	background-color: white;
	border: solid 1px #c2c2c2;
	white-space: nowrap;
	z-index: 10;
	padding: 5px 20px 5px 20px;
}

#menu-submenu ul:first-child > li ul li{
	margin-bottom: 5px;
}

@media all and (max-width: 767px) {
	#menu-submenu ul:first-child{
		margin-top: 5px;
	}

	#menu-submenu ul:first-child > li{
		display: block;
	}
}


/* content
 ***************************************************************/
.content-title h2 {
	text-transform: uppercase;
	font-size: 22px;
	margin-top: 4px;
	margin-bottom: 16px;
}


/* right sidebar
 ***************************************************************/
.home-sidebar-nav-menu {
	padding: 4px 12px;
	display: block;
	color: #444;
}
.home-sidebar-nav-menu:hover {
	background: #a2c516;
	text-decoration: none;
	color: #fff;
}
.home-sidebar-col-container {
	padding-left: 12px;
	padding-right: 12px;
}

.home-sidebar-curent-actions h5 {
	margin-top: 20px;
	margin-bottom: 18px;
	font-size: 18px;
	color: #a2c516;
}
.home-sidebar-curent-actions h6 {
	margin: 0;
	margin-bottom: 14px;
}
.home-sidebar-curent-actions p {
	margin: 0;
}



/* HOME WIDGETS
 ***************************************************************/
.widget-contact-form input, .widget-contact-form textarea, .search-akce input.submit {
	border-style: solid;
	border-width: 1px;
}

.widget-contact-form div {
	margin-top: 10px;
}

.widget-contact-form input[type="checkbox"]{
	-webkit-appearance: none;
	border: 4px solid #009dde;
	width: 30px;
	height: 30px;
	background-color: white;
	margin: 0 0 -20px -5px;
}
.widget-contact-form input[type="checkbox"]:active,
.widget-contact-form input[type="checkbox"]:checked,
.widget-contact-form input[type="checkbox"]:checked:active
 {
	background-color: #009dde ;

}

.widget-contact-form input[type="checkbox"]:checked:after {
	background-color: #009dde ;
}
.widget-contact-form table.configm {
	margin-top: 10px; }
.widget-contact-form .configm tr,.widget-contact-form .configm td {
	padding: 0;
	background-color: white; }
/* content
 ***************************************************************/
/* First element from Content has zero padding and margin*/
.content h1:first-child,
.content h2:first-child,
.content h3:first-child,
.content h4:first-child,
.content h5:first-child,
.content h6:first-child,
.content p:first-child,
.content img:first-child,
.content table:first-child,
.content ul:first-child
{
	margin-top: 0px;
	padding-top: 5px;
}
.content ul {
	padding-bottom: 800px;
}

.content p {
	line-height: 16px;
}
.content h6 {
	margin-top: 20px;
}
.content table {
	margin-top: 12px;
	margin-bottom: 15px;
}



/* DEFAULT LIST */
.content ul,
ul.p14-list
{
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 15px;
}
.content li,
ul.p14-list li
{
	padding: 0px 10px;
}
.content ul li:before,
ul.p14-list li:before
{
    content: "\25A0\00a0\00a0\00a0";
	color: #58595b;
}

ul.p14-list li.p14-list-green:before {
	content: "\25A0\00a0\00a0\00a0";
	color: #a2c516;
}
ul.p14-list li.p14-list-orange:before {
	content: "\25A0\00a0\00a0\00a0";
	color: #f39600;
}
ul.p14-list li.p14-list-blue:before {
	content: "\25A0\00a0\00a0\00a0";
	color: #009dde;
}
ul.p14-list li.p14-list-gray:before {
	content: "\25A0\00a0\00a0\00a0";
	color: #58595b;
}



/* BOOTSTRAP
 ***************************************************************/



/* BOOTSTRAP MODIFICATIONS */
.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
	position: relative;
	min-height: 1px;
}

/* BOOTSTRAP bav-tabs */
ul.nav-tabs {
	list-style: none;
	border-bottom-width: 4px;
	border-bottom-style: solid;
}
ul.nav-tabs li {
	color: #000000;
}
ul.nav-tabs li a {
	border: none;
	color: #000000;
	padding: 4px 15px;
}
ul.nav-tabs li a:hover {

}
ul.nav-tabs li.select a {
	color: #ffffff;
}



/* BOOTSTRAP ACCORDION */
.panel-group {
	margin-bottom: 0px;
}
.panel {
	margin-bottom: 6px;
	border: none;
	border-left-style: solid;
	border-left-width: 4px;
	-webkit-box-shadow: none;
	box-shadow: none;
}
.panel-default .panel-heading {
	padding: 2px 1px 2px 10px;
}
.content .panel-default .panel-heading a,
.panel-default .panel-heading a {
	display: block;
	min-height: 25px;
	line-height: 25px;
	color: #ffffff;
	background-image: url("images/buttons/down.png");
	background-position: right center;
	background-repeat: no-repeat;
}

.panel-group .panel + .panel {
	margin-top: 8px;
}
.panel-body {
	padding: 5px 10px 0px 15px;
}



/* BOOTSTRAP PAGINATION */
.pagination-container {
	margin-top: 30px;
	text-align: center;
}
.pagination li {
	padding: 0 !important;
}
.pagination li:before {
	content: none !important;
}
.pagination li a {
	color: #777 !important;
	font-weight: bold;
	border: none;
}
.pagination li.active a {
	color: #fff !important;
}
.pagination li span, .pagination li span:hover {
	color: #777;
	font-weight: bold;
	background: transparent;
	border: none;
}



/* LAYOUT - header
 ***************************************************************/
#logo {
	margin: 10px 10px 20px 10px;
}

@media all and (max-width: 991px) {
	#logo {
		display: block;
		margin: 10px auto 20px auto;
		float: none !important;
	}
}

.web-title {display: none;}
header h1 {margin: 0; padding:0; }


body.p14-home #header {
	padding-top: 6px;
}

@media all and (max-width: 991px) {
	body.p14-home #header{
		margin-top: 4px;
	}
}

/*@media all and (max-width: 767px) {
	body.p14-home #header{
		display: none;
	}
}*/


#header-home-banner {
	height: 140px;
}
#header-home-banner h3 {
	display: inline-block;
	margin: 0;
	padding: 10px 15px;
	margin-left: 40px;
	color: #ffffff;
	background: #009dde;
}
#header-home-banner h4 {
	display: inline-block;
	margin: 0;
	padding: 10px 10px;;
	margin-left: 50px;
	color: #000000;
	background: #a2c516;
	font-size: 12px;
}
.header-home-search {
	height: 28px;
	width: 100%;
	border: 0;
	margin: 4px 0px;
}
.sites-panel-search {
	margin-top: 16px;
}

.search-result h3 {
	padding: 6px 10px;
	color: #ffffff;
}


#p14-nav {
	margin-top: 74px;
}
#p14-nav li {
	margin-left: 20px;
	position: relative;
}
#p14-nav li a {
	padding: 4px 14px;
	color: #ffffff;
}
#p14-nav li a:hover {
	color: #58595b;
}
#p14-nav h6 {
	margin-top: 6px;
	margin-bottom: 0;
	font-size: 14px;
}
#p14-nav p {
	font-size: 11px;
	margin: 0;
}

#p14-nav .siteMenu{
	display: none;
	position: absolute;
	top: 0;
	left: 70px;
	right: 0;
	z-index: 10;
	background-color: white;
	white-space: nowrap;
}

#p14-nav .siteMenu.visible{
	display: block;
}

#p14-nav .siteMenu ul{
	padding: 0;
	margin: 0;
}

#p14-nav .siteMenu ul li{
	float: none;
	margin: 0;
	padding: 0;
}

#p14-nav .siteMenu ul li a{
	margin: 0;
	padding-top: 5px;
	padding-bottom: 5px;
	border: none;
}

/*@media all and (max-width: 991px) {
	#p14-nav {
	      margin-top: 0;
	}
}*/

@media all and (max-width: 991px) {
	body > header nav{
		width: 100%;
	}

	#p14-nav {
		margin-top: 0;
		width: 100%;
	}

	#p14-nav li{
	    /*clear: both;*/
		width: 33.333333333%;
	    /*margin-bottom: 4px;*/
	    margin-left: 0;
	}

	#p14-nav li a{
		padding: 14px;
	}
}

@media all and (max-width: 767px) {
	#p14-nav li{
		clear: both;
		width: 100%;
		float: none;
	}
	#p14-nav li a{
		width: 100%;
		height: 100%;
	}
}

#p14-nav .navIcon{
	background-color: transparent;
	border: solid 6px white;
	opacity: 0.7;
	display: block;
	width: 42px;
	height: 40px;
	float: left;
	margin-right: 15px;
}

#p14-nav .navIcon .navIconRow{
	display: block;
	height: 10px;
	background: transparent;
	border-bottom: solid 2px white;
}

/* LAYOUT - middle
 ***************************************************************/
.middle {
	min-height: 500px;
	margin-top: 15px;
	margin-bottom: 15px;
}


/* LAYOUT - footer
 ***************************************************************/
@media all and (max-width: 767px) {
	footer #statistics .second{
		margin-top: 10px;
		margin-bottom: 10px;
	}
}


#footer {
	display: block;
	min-height:160px;
	margin-left: 0px;
	margin-right: 0px;
	padding: 30px 0px 15px 0px;
	background: #58595b;
	color: #ffffff;
}
@media all and (max-width: 767px) {
	#footer {
		padding-top: 0px;
	}
}
#footer a {
	color: #ffffff;
}
#footer a:hover {
}

@media all and (max-width: 1199px) {
	#footer .subinfo {
		padding-top: 20px;
	}
}

#footer #footer-copyright{
	font-size: 12px;
	margin-top: 15px;
}

.footer-top {
	text-align: center;
}
.footer-top div {
	margin: auto;
	width: 60%;
	color: #ffffff;
	padding: 3px 0px 3px 0px;
}
.footer-top div {
	margin-top: 6px;
	padding: 5px 0px;
}

div#footer-menu {
	padding-bottom: 6px;
}
div#footer-menu ul {

}
div#footer-menu ul li {
	float: left;
	padding: 0px 54px 0px 0px;
}
@media (max-width: 767px) {
	div#footer-menu{
		margin-top: 20px;
	}

	div#footer-menu ul li {
		float: none;
	}
}

div#footer-menu ul li:last-child {
	padding-right: 0px;
}

#footer-icons a {
	margin-left: 10px;
}

#footer-icons .searchIcon{
	cursor: pointer;
}

#footer-translator {
	margin-top: 10px;
}

#footer-social {
	margin-top: 10px;
	position: relative;
}

@media (max-width: 991px) {
	#footer-translator {
		margin-top: 20px;
	}

	#footer-social {
		margin-top: -20px;
		min-height: 34px;
	}
}

@media (max-width: 767px) {
	#footer-social {
		margin-top: 0px;
		min-height: 34px;
	}
}

@media (max-width: 991px) {
	#footer-login{
		margin-top: 30px;
	}
}

#footer-login h4 {
	font-weight: normal;
	margin-top: 0px;
	margin-bottom: 4px;
}
#footer-login input {
	margin-bottom: 6px;
}
#footer-login input[type="submit"], .logout, .logout:hover {
	background: #a2c516;
	border: none;
	color: #ffffff;
}


#footer-translate {
	list-style: none;
}
#footer-translate li {
	float: left;
	margin-right: 10px;
}

@media all and (max-width: 767px) {
	#footer-translate li {
		margin-bottom: 10px;
	}
}

footer .footerSearchForm{
	margin-right: 4px;
	position: absolute;
	left: 15px;
	top: 0px;
	right: 150px;
	display: none;
}

footer .footerSearchForm.visible{
	display: block;
}

/*@media all and (max-width: 767px) {
	footer .footerSearchForm{
		width: 280px;
	}
}

@media all and (max-width: 479px) {
	footer .footerSearchForm{
		width: 150px;
	}
}*/


/* POST CATEGORIES
 ***************************************************************/
.groups {
	margin-bottom: 30px;
}
.groups .groups-top {

}
.groups h2 {
	font-size: 16px;
	font-weight: bold;
	display: inline-block;
	color: #ffffff;
	margin: 0;
	padding: 6px 10px 2px 10px;
}
.groups h3 {
	margin: 0;
	padding: 0;
	margin-bottom: 10px;
}
.groups-one h3 {
	font-size: 30px;
}
.groups a h3 {
	color: #000000;
}
.groups a:hover {
	text-decoration: none;
}


.groups p {

}
.groups .row {
	margin-top: 15px;
}
.groups img {
	height: 180px;
	width: 100%;
}
.groups article {
	min-height: 180px;
	margin-top: 20px;
}


/* post categories color */
.groups-green .groups-top {
	border-bottom: 3px solid #a2c516;
}
.groups-green h2 {
	background: #a2c516;
}

.groups-orange .groups-top {
	border-bottom: 3px solid #f39600;
}
.groups-orange h2 {
	background: #f39600;
}

.groups-orange .groups-top {
	border-bottom: 3px solid #f39600;
}
.groups-orange h2 {
	background: #f39600;
}

.groups-blue .groups-top {
	border-bottom: 3px solid #009dde;
}
.groups-blue h2 {
	background: #009dde;
}

.groups-gray .groups-top {
	border-bottom: 3px solid #58595b;
}
.groups-gray h2 {
	background: #58595b;
}





/* RIGHT SIDEBAR
 ***************************************************************/
/*.sidebar-right {
	margin-right: -15px;
}*/
.home-sidebar-right .widget-right, #calendar-main-div {
	margin-bottom: 40px;
}

.home-sidebar-right .widget-right-title {
	border-bottom-style: solid;
	border-bottom-width: 3px;
}

.home-sidebar-right .widget-right-title h4 {
	display: inline-block;
	margin: 0;
	padding: 6px 10px 2px 10px ;
	font-size: 16px;
	font-weight: bold;
	color: #ffffff;
	/*background: black;*/
}

.home-sidebar-right .menu li a:hover{
	background: black;
}

@media all and (max-width: 767px) {
	.home-sidebar-right .widget-right .widget-right-title,
	.sidebar-right .widget-right .widget-right-title {
		cursor: pointer;
	}

	.home-sidebar-right .widget-right .widget-right-title > *,
	.sidebar-right .widget-right .widget-right-title > *{
		text-align: center;
		padding-top: 20px;
		padding-bottom: 20px;
		width: 100%;
	}

	.home-sidebar-right .widget-right > *:not(.widget-right-title),
	.sidebar-right .widget-right > *:not(.widget-right-title){
		display: none;
	}

	.home-sidebar-right .widget-right.expand > *:not(.widget-right-title),
	.sidebar-right .widget-right.expand > *:not(.widget-right-title){
		display: block;
	}
}


.sidebar-right .widget-right{
	border-left-width: 4px;
	border-left-style: solid;
	margin-bottom: 20px;
}

.sidebar-right .widget-right-title h4, .search-akce h2 {
	margin: 0;
	padding: 6px 0px 6px 10px;
	font-size: 16px;
	text-transform: uppercase;
	color: #ffffff;
	/*background: black;*/
}



.home-sidebar-right .widget_nav_menu li a {
	padding: 4px 10px;
}
.home-right-widget-content-padding-left {
	padding-left: 10px;
}



/*.sidebar-right .menu li a:hover{
	background: black;
}*/

/*@media all and (max-width: 991px) {
  .sidebar-right {
    margin-left: -15px;
  }
}*/







/* WIDGETS
 ***************************************************************/
.widget_nav_menu ul.menu {
	list-style: none;
	margin: 0;
	padding: 0;
}
.widget_nav_menu ul.sub-menu li {
	padding-left: 30px;
}
.widget_nav_menu li a {
	display: block;
	color: #444;
	padding: 4px 20px;
}


.widget_nav_menu ul.menu li a:hover {
	text-decoration: none;
}
.widget_nav_menu ul.menu li.current-menu-item a {
	font-weight: bold;
}
li.current-menu-item a:hover,

ul.sub-menu li.menu-item a:hover {
	color: #444444 !important;
}


.widget_nav_menu a:hover, .widget_nav_menu .menu-item-selected,
.widget_nav_menu a:hover .caret, .widget_nav_menu .menu-item-selected .caret {
	color: #fff !important;
}


.widget_nav_menu .caret {
	float: right;
	margin-top: 8px;
}


/* coments widget */
.comments_widget h6 {
	margin: 12px 0px 0px 0px;
}
.comments_widget a:hover {
	text-decoration: none;
}

/*comments form*/

.p14-zivot .comments input,
.p14-zivot .comments textarea {border: 1px solid #009dde;}
.p14-urad .comments input,
.p14-urad .comments textarea {border: 1px solid #a2c516;}
.p14-samosprava .comments input,
.p14-samosprava .comments textarea {border: 1px solid #f39600;}

.p14-zivot .comments h2{border-bottom: 4px solid #009dde;}
.p14-urad .comments h2{border-bottom: 4px solid #a2c516;}
.p14-samosprava .comments h2{border-bottom: 4px solid #f39600;}

.p14-zivot .comments h2 span{background-color:  #009dde;}
.p14-urad .comments h2 span{background-color:  #a2c516;}
.p14-samosprava .comments h2 span{background-color:  #f39600;}


.comments h2{
	margin: 0;
	padding: 6px 0px 3px 0px;
	color: #ffffff;
	font-size: 16px;
	text-transform: uppercase;
}

.comments h2 span{
	margin: 0;
	padding: 3px 20px;
}




.comments input, .comments textarea {
		width:100%;
		padding-left:10px;
		border: 1px solid #58595b;
}

.comment #submit {width:auto;}

/* HOME POST IMAGE FILTER
 ***************************************************************/
div.home-img {
	min-height: 180px;
	width: 100%;
	background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    /* Firefox 10+, Firefox on Android */
    /*filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); */
    /* IE6-9 */
    /*filter: gray; */
    /* Chrome 19+, Safari 6+, Safari 6+ iOS */
    /*-webkit-filter: grayscale(100%); */
}
div.home-img:hover {
/*     filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
    -webkit-filter: grayscale(0%);*/
}

@media all and (max-width: 767px) {
    div.home-img {
	background-size: contain;
    }
}


/*******************************************************************************/
#ui-datepicker-div {
                width: 260px;
                border: 4px solid #009dde;
    }
    .search-akce input.datepicker {
        width: 100%;
        margin-top: 10px;
    }


    .search-akce h2 {
        margin: 10px 0;
    }
    .search-akce form {
        padding: 10px;
    }
    .search-akce form h3 {
        font-size: 100%;
    }
    .search-akce label {
        font-weight: normal;
        margin: 0;
        font-size: 90%;
        display: inline;
    }
    .search-akce .from-to .keyword {
        margin-top: 1em;
    }



/******************************************************************************/

.searchform input#s {
	width: 300px;
	border: 1px solid #999;
}
.search-input {
	margin-bottom: 10px;
	padding-left: 20px;
}
/******************************************************************************/

.category-menu {
	margin-bottom: 20px;
}
/******************************************************************************/
.category-post-list a {
	color: #000000;
}
.category-post-list article {

}
.category-post-list h1 {
	margin-top: 0px;
}
.category-post-list-img {
	height: 196px;
	margin-bottom: 20px;
	background-repeat: no-repeat;
	background-size: cover;
}


.zivotni-situace table {
	font-size: 13px;
}
.zivotni-situace h6 {
	color: #a2c516;
	font-weight: normal;
	margin-top: 0px;
}
.p14-urad .zivotni-situace a.button {
	color: #414042;
}


.zivotni-situace-single h4 {
	margin: 18px 0px 18px 0px;
}
.zivotni-situace-single p {
	margin-bottom: 15px;
}
.zivotni-situace-single p.zs_odbor {
	color: #a2c516;
	font-size: 14px;
	text-transform: uppercase;
	padding: 4px 0px 4px 0px;
}



.zs-table {
	width: 100% !important;
}
.zs-table td {
	vertical-align: top;
}


.zs-of-button {
	cursor: pointer;
	color: #fff;
}
.zs-title {
	padding: 3px;
	padding-left: 10px;
}
.zs-title-select {
	background: #a2c516;
}
.zs-forms {
	display: none;
	background: #eaeec0;
}

ul.zs-online-form-list li:before {
	content: "";
}
ul.zs-online-form-list li {
	padding: 0;
	margin: 0;
	}

ul.zs-online-form-list li a {
	display: block;
	color: #444 !important;
	padding: 4px;
	padding-left: 10px;
}
ul.zs-online-form-list li a:hover {
	background: #a2c516;
	color: #fff !important;
	text-decoration: none;
}

.zs-modal-button {
	margin-left: 10px;
	color: #fff;
}
.zs-modal-button:hover {
	color: #fff;
}


/* personbox
 ***************************************************************/
.personbox {
	margin-bottom: 20px;
}
.personbox-content {
	min-height: 188px;
	display: block;
	border-width: 4px;
	border-style: solid;
	border-bottom: none;
	padding: 10px;
}
.personbox-footer-title {
	min-height: 32px;
	line-height: 30px;
	color: #fff;
	text-align: center;
}
.personbox-foto-container {
	padding-right: 0;
}
.personbox-foto {
	width: 100%;
}
.personbox .active {
	background-image: url("images/buttons/down.png");
	background-position: right center;
	background-repeat: no-repeat;
	cursor: pointer;
}
.personbox-footer-content {
	display: none;
	padding: 10px;
}
.personbox-footer-content ul {
	margin: 0;
}
h6.personbox-title {
	margin-top: 4px;
	text-transform: uppercase;
}

.personbox-icons {
	margin-left: 10px;
}
.personbox-icon {
	margin-right: 4px;
}




/* filter */
.p14-filter-title {
	color: #fff;
	padding: 5px 15px;
	font-weight: bold;
}
.p14-filter-content {
	padding: 20px;
}
.p14-filter input[type="text"], select {
	width: 100%;
}
.p14-filter select {

   }

#filter-today-tomorrow-weekend{
    text-align: center;
}
#filter-today-tomorrow-weekend a{
    color: #003c78;
    outline: 0;
}
#filter-today-tomorrow-weekend a:focus{
    text-decoration: none;
}
#filter-today-tomorrow-weekend a.selected{
    font-weight: bold;
    color: #e6001e;
}
#filter-days-wrap{
    background-color: #f5f5f5;
}
#filter-days-wrap .left{
    float: left;
    width: 25px;
    text-align: center;
    height: 58px;
    line-height: 58px;
    text-decoration: none;
    margin-right: 4px;
}

#filter-days-wrap .right{
    float: right;
    width: 25px;
    text-align: center;
    height: 58px;
    line-height: 58px;
    text-decoration: none;
    margin-left: 4px;
}
#filter-days-wrap .left:hover,
#filter-days-wrap .right:hover{
    background-color: lightgray;
    color: white;
}
#filter-days{
    white-space: nowrap;
    overflow: hidden;
}

#filter-days .day{
    width: 30px;
    display: inline-block;
}
#filter-days .day .month{
    font-size: 10px;
}
#filter-days .day a{
    display: block;
    padding: 2px 4px;
    text-decoration: none;
    outline: 0;
}
#filter-days .day a.isWeekend{
    color: #3A7EB8;
    font-weight: bold;
}
#filter-days .day a.selected,
#filter-days .day a.selected:hover{
    background-color: #003c78;
    color: white;
}
#filter-days .day a:hover{
    background-color: #b2eafb;
    color: white;
}
.search-akce .taxonomy{
    margin-top: 10px;
}
.search-akce .taxonomy .term{
    margin-left: 10px;
    color: #003c78;
    outline: 0;
}
.search-akce .taxonomy .term:focus{
    text-decoration: none;
}
.search-akce .taxonomy .term.selected{
    font-weight: bold;
    color: #e6001e;
}
.search-akce .taxonomy.checkboxed .term {
    margin-left: 30px;
    position: relative;
}
.search-akce .taxonomy.checkboxed .term::before{
    content: '';
    position: absolute;
    left: -1.5em; top: -0.05em;
    width: 1.2em; height: 1.2em;
    border: 2px solid #a0a0a0;
    background: #fff;
}
.search-akce .taxonomy.checkboxed .term.selected::after{
    content: '✔';
    position: absolute;
    top: 0em; left: -1.35em;
    font-size: 1em;
    line-height: 1em;
    color: #a0a0a0;
    transition: all .2s;
}
.search-akce .reset{
    margin-left: 10px;
    color: transparent;
    background-color: #e2e2e2;
}
.search-akce .reset::after{
    content: '˟';
    display: block;
    color: #6c6c6c;
    height: 0;
    font-size: 28px;
    position: relative;
    top: -24px;
}
/* calendar items list
****************************************************************/
.archive-akce .akce{
    text-decoration: none;
    margin-bottom: 25px;
    padding-top: 8px;
    max-width: 400px;
    display: block;
    margin: 0 auto;
}
.archive-akce .akce:hover{
    background-color: #f4f4f4;
    transition: background-color 0.5s linear;
    -webkit-transition: background-color 0.5s linear;
}
.archive-akce .akce .image{
    height: 220px;
    width: 100%;
    overflow: hidden;
}
.archive-akce .akce .image img{
    margin: 0;
    position: relative;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    height: 100%;
}
.archive-akce .akce .time,
.single-akce .content .akce-img .time{
    position: absolute;
    top: 10px;
    z-index: 100;
    left: 20px;
    background-color: rgba(162, 197, 22, 0.83);
    color: white;
    padding: 10px;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    border-radius: 40px;
    width: 70px;
    height: 70px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.17);
}
.archive-akce .akce .time.old{
    background-color: rgba(162, 162, 162, 0.8);
}
.archive-akce .akce .time .time1,
.single-akce .content .akce-img .time .time1{
    border-bottom: 1px dotted white;
    margin-top: 3px;
}
.archive-akce .akce .time .time12,
.single-akce .content .akce-img .time .time12{
    margin-top: 13px;
}
.archive-akce .akce h4{
    line-height: 1.3;
    display: block;
    height: 47px;
    overflow: hidden;
    color: #003c78;
}

.archive-akce .akce p{
    line-height: 1.3;
    height: 55px;
    overflow: hidden;
    color: #003c78;
}
.archive-akce .load-more{
    text-align: center;
    padding: 20px;
}
body.p14-zivot .archive-akce .load-more a{
    background-color: #009dde;
    color: white;
    padding: 6px 20px;
    font-size: 15px;
    outline: 0;
}
body.p14-zivot .archive-akce .load-more a.disabled{
    background-color: #c2c2c2;
    text-decoration: none;
    cursor: pointer;
}
#wprmenu_bar{
    z-index: 200;
}
/* calendar - single
****************************************************************/
.single-akce .akce-img{
    padding-bottom: 10px;
}
.single-akce .gm-map{
    clear: both;
}
.single-akce .content h1{
    margin-top: 4px;
}
.single-akce .content-title h2{
    display:inline-block;
}
.single-akce .content-title h2:hover{
    text-decoration: underline;
    cursor: pointer;
}
.content ul.akce-fields li{
    padding: 0;
}
.content ul.akce-fields li::before{
    content: '';
}

.moreinfo{
    float: right;
}
body.p14-zivot .moreinfo a{
    background-color: #009dde;
    color: white;
    padding: 7px 13px;
}
.single-akce .share-button{
    border: none;
    overflow: hidden;
    float: right;
    position: relative;
    top: -20px;
}
body.p14-zivot .content .back-to-filter{
    position: absolute;
    top: 6px;
    right: 40px;
    display: block;
    background-color: #009dde;
    padding: 3px 10px;
    color: white;
    text-decoration: none;
}
.akce-fields .akce-taxonomy a::after{
    content: ',';
}
.akce-fields .akce-taxonomy a:last-child::after{
    content: '';
}
/* calendar - banner
****************************************************************/
.widget_ys_actions_calendar_widget .banner-wrap{
    white-space: nowrap;
    overflow:hidden;
    margin: 10px 0 0 10px;
    height: 150px;
    position: relative;
}
.widget_ys_actions_calendar_widget .banner{
    white-space: nowrap;
    overflow:hidden;
    height: 150px;
    position: relative;
}
.widget_ys_actions_calendar_widget .banner-wrap .left{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 30px;
    z-index: 100;
    color: rgba(0,0,0,0.4);
    text-decoration: none;
    background: -webkit-linear-gradient(left, rgba(0,0,0,0.2) , transparent); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(right, rgba(0,0,0,0.2), transparent); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(right, rgba(0,0,0,0.2), transparent); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to right, rgba(0,0,0,0.2) , transparent); /* Standard syntax */
    outline: 0;
}
.widget_ys_actions_calendar_widget .banner-wrap .left:hover{
    color: rgba(0,0,0,0.6);
    background: -webkit-linear-gradient(left, rgba(0,0,0,0.3) , transparent); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(right, rgba(0,0,0,0.3), transparent); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(right, rgba(0,0,0,0.3), transparent); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to right, rgba(0,0,0,0.3) , transparent); /* Standard syntax */
}
.widget_ys_actions_calendar_widget .banner-wrap .left::before{
    content: '\25c4';
    line-height: 150px;
    padding-left: 4px;
    font-size: 19px;
}
.widget_ys_actions_calendar_widget .banner-wrap .right{
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 30px;
    z-index: 100;
    color: rgba(0,0,0,0.4);
    text-decoration: none;
    background: -webkit-linear-gradient(left,transparent,  rgba(0,0,0,0.2)); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(right, transparent, rgba(0,0,0,0.2)); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(right, transparent, rgba(0,0,0,0.2)); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.2)); /* Standard syntax */
    outline: 0;
}
.widget_ys_actions_calendar_widget .banner-wrap .right:hover{
    color: rgba(0,0,0,0.6);
    background: -webkit-linear-gradient(left,transparent,  rgba(0,0,0,0.3)); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(right, transparent, rgba(0,0,0,0.3)); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(right, transparent, rgba(0,0,0,0.3)); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.3)); /* Standard syntax */
}
.widget_ys_actions_calendar_widget .banner-wrap .right::before{
    content: '\25ba';
    line-height: 150px;
    padding-left: 4px;
    font-size: 19px;
}
.widget_ys_actions_calendar_widget .banner a.item{
    height: 150px;
    overflow: hidden;
    display: inline-block;
    position: relative;
    width: 100%;
}
.widget_ys_actions_calendar_widget .banner a.item h3{
    white-space: normal;
    padding: 4px 0 70px;
    margin: 0;
    position: absolute;
    top: 0px;
    color: white;
    text-align: center;
    /*text-shadow: 0px 0px 2px #797979;*/
    background: -webkit-linear-gradient(rgba(0,0,0,0.3), transparent); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(rgba(0,0,0,0.3), transparent); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(rgba(0,0,0,0.3), transparent); /* For Firefox 3.6 to 15 */
    background: linear-gradient(rgba(0,0,0,0.3), transparent); /* Standard syntax */
    background: linear-gradient(rgba(0,0,0,0.3), transparent);
    font-size: 16px;
    width: 100%;
    z-index: 90;
}
.widget_ys_actions_calendar_widget .banner a.item img{
    opacity: 1;
    transition: none;
    margin: 0;
    position: relative;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: 100%;
}
.widget_ys_actions_calendar_widget .banner a.item img:hover{
    opacity: 1;
    transition: none;
}
.widget_ys_actions_calendar_widget .banner a.item .time{
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-weight: bold;
    padding-top: 30px;
    background: -webkit-linear-gradient(transparent, rgba(0,0,0,0.3)); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(transparent, rgba(0,0,0,0.3)); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(transparent, rgba(0,0,0,0.3)); /* For Firefox 3.6 to 15 */
    background: linear-gradient(transparent, rgba(0,0,0,0.3)); /* Standard syntax */
    background: linear-gradient(transparent, rgba(0,0,0,0.3));
}
.p14-home .widget_ys_actions_calendar_widget .banner-wrap{
    margin-left: 0;
}
/* ys_actions_calendar_widget
 ***************************************************************/
.ui-datepicker {
	margin: auto;
	margin-top: 10px;

	border: none;
}
.ui-widget-header {
	border: none;
	border-radius: 0;
	background: transparent;
}
.ui-icon-circle-triangle-w, .ui-icon-circle-triangle-e {
	height: 18px;
	width: 18px;
	background: transparent;
	cursor: pointer;
}


.ui-icon-circle-triangle-w {
	background-image: url("images/calendar/left.png") !important;
}
.ui-icon-circle-triangle-e {
	background-image: url("images/calendar/right.png") !important;
}
#datepicker-loading-wrapper{
    height: 0;

}
#datepicker-loading{
    width: 100%;
    height: 215px;
    line-height: 215px;
    position: relative;
    top: -215px;
    background-color: rgba(255, 255, 255, 0.8);
    text-align: center;
    vertical-align: middle;
    display: none;
}
.searchform .submit:disabled{
    background-color: lightgray;
}
/* datepicker */
#datepicker{
	margin-left: 10px;
	font-size: 13px;
}
.home-sidebar-right #datepicker{
	margin-left: 0px;
}
.ui-datepicker {
	width: 100%;
	padding: 0;
}
.ui-datepicker-title {
	color: #fff;
}

.ui-datepicker-calendar {
	margin: auto;
	padding: 0 3%;
	padding-bottom: 10px;
}
.ui-datepicker-calendar th {
	background: transparent !important;
	color: #fff;
	font-weight: normal;
}
.ui-datepicker-calendar td:nth-child(6) a, .ui-datepicker-calendar td:nth-child(7) a, .ui-datepicker-calendar th:nth-child(6), .ui-datepicker-calendar th:nth-child(7) {
	/*margin-left: 5px;*/
}
.ui-datepicker table {
	border-collapse: separate;
	border-spacing: 4px;
	margin: 0;
}
.ui-datepicker-calendar tr {
	background: transparent;
}

.ui-datepicker-calendar td {
	background: #fff;
	height: 26px;
	width: 26px;
	line-height: 26px;
}
.datepicker {
	background: #9ad5f0;
}

.calendar-current-actions {
	margin-bottom: 20px;
}

.calendar-current-actions h6 {
	margin: 0;
}
.calendar-current-actions .calendar-current-actions-action {
	margin-bottom: 10px;
}

body.p14-zivot .content a.author-display-past-events{
    float: right;
    margin: 8px 14px;
    background-color: rgba(162, 197, 22, 0.83);
    padding: 4px 13px;
    color: white;
}
body.p14-zivot .content a.author-display-past-events:hover{
	text-decoration: none;
}

.ui-widget-content .ui-state-default {
	border: none;
	text-align: center;
	margin: 0;
	padding: 0;
	background: transparent;

}
.ui-datepicker-today.ui-datepicker-current-day{
        background-color: #a2c516 !important;
}
.ui-datepicker-today a {
	font-weight: bold !important;
        background-color: #a2c516 !important;
}

.ui-datepicker {
	background: transparent;
}
.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
	border: 0;
	background: transparent;
}


.amcp14 {
	background: #666 !important;
}
.amcp14 a {
	color: #fff !important;
        margin: 0;
}
.anumc {
	background-image: url("images/calendar/anumc.png") !important;
	background-repeat: no-repeat !important;
	background-position: top right !important;
	border: 1px solid #00baf2 !important;
}
.action-list {
	height: 26px;
	width: 26px;
}
.ys_actions_calendar_legend {
	width: 216px !important;
	margin: auto !important;
	margin-top: 20px !important;
}
.ys_actions_calendar_legend td {
	border: 0;
	padding: 2px !important;
}

.ui-state-default {
	cursor: default;
}
.amcp14 .ui-state-default {
	cursor: pointer;
}




.akce-current {
	background: #9ad5f0 !important;
}


/* usneseni - hlasovani
 ***************************************************************/
.vote-legend {
	background: #999;
}
.vote-legend-table {
	margin: 6px 0px 6px 0px !important;
}
.vote-legend-table td {
	padding-left: 14px !important;
	border-color: transparent !important;
	color: #fff !important;
}
.vote-legend-item {
	height: 20px;
	width: 20px;
}

.vote-0 { background: #f37021; }
.vote-1 { background: #a2c516; }


.vote-table td:nth-child(4) {
	text-align: right !important;
}

.vote-graph {
	height: 8px;
}

.vote-graph-0 { background: #f39600 !important; }
.vote-graph-1 { background: #a2c516 !important; }
.vote-graph-3 { background: #009dde !important; }
.vote-graph-4 { background: #58595b !important; }

.vote-title-0 { color: #f39600 !important; }
.vote-title-1 { color: #a2c516 !important; }
.vote-title-3 { color: #009dde !important; }
.vote-title-4 { color: #58595b !important; }



/* wordpress gallery
 ***************************************************************/
.gallery {
	clear: both;
}
.gallery-item {
	margin-top: 0 !important;
}
.gallery img {
	border: none !important;
}

@media all and (max-width: 767px) {
	.gallery .gallery-item {
	      width: 50% !important;
	}
}

@media all and (max-width: 479px) {
	.gallery .gallery-item {
	      width: 100% !important;
	}
}



/* popup windiow - welcome, form
 ***************************************************************/
.welcome {

}
.welcome-header {
	padding: 20px 10% 20px 10%;
	background: #009dde;
	border-bottom: 4px solid #58595b;
	color: #ffffff;
}
.welcome-header h5 {
	font-size: 36px;
	font-weight: normal;
}
.welcome-header h6 {
	font-size: 16px;
	font-weight: normal;
}


.welcome-content {
	padding: 60px 10% 40px 10%;
	background: #9ad5f0;
}
.welcome-content .wpcf7-list-item {
	margin: 0;
}

span.wpcf7-not-valid-tip {
	margin-top: 16px;
}

.welcome-content input,  .welcome-content textarea {
	border: 1px solid #009dde;;
}

.welcome-content .wpcf7-form-control[type="submit"] {
	background: #009dde;
	float: right;
}
.welcome-content .ajax-loader {
	display: none;
}

.modal-body {
	padding: 0;
}

.post-single-img {
	max-width: 370px;
	max-height: 200px;
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
}

/*register page*/

#setupform .submit {
	color: white;
	background: #a2c516;
	border: none;
	border-radius: 0;
}


@media all and (max-width: 767px) {
	.middle > div:first-child .post .panel-body{
	      overflow: auto;
	}
}



/* form validate error */
form p.error {
	font-weight: 700;
	padding: 10px;
	color: #333333;
	background: #FFEBE8;
	border: 1px solid #CC0000;
}


.mu_register label {
	font-weight: normal;
}
.mu_register input, #extension-registration-form input {
	border: 1px solid #a2c516;
 	}
.form-equal {
    color: #a2c516;
}



/* p14 modal dialog */

.p14-modal .modal-header {
	padding: 10px;
	color: #fff;
}
.p14-modal .modal-body {
	padding: 10px;
}
.p14-modal .p14-modal-end {
	display: block;
	height: 20px;
	width: 20px;
	background-image: url("images/buttons/modal_end.png");
}
.p14-modal .close {
	margin-top: 2px;
	opacity: 0.6;
}
.p14-modal .close:hover {
	opacity: 1;
}


.post-photogalerie {
	padding: 10px 0px 10px 0px;
}


.widget-contact-form .ajax-loader {
	float: left;
}



.textonly {
	display: none;
}


#graphic-mode {
	position: fixed;
	top: 10px;
	left: 10px;
}
#graphic-mode button {
	background: #a2c516;
}
@media (max-width: 991px) {
	#graphic-mode {
		position: static;
		margin: 2px 15px 2px 15px;
	}
}



.casopis-ctrnactka .casopis-ctrnactka-item {
	margin-bottom: 10px;
}

.ys-actions-calendar-widget-title{
    color: white;
    text-decoration: none;
}
.ys-actions-calendar-widget-title:hover,
.ys-actions-calendar-widget-title:focus{
    text-decoration: none;
    color: white;
}

.incident-form label{
  max-width: 100%;
  display: initial;
}
.incident-form input{
  max-width: 100%;
  display: block;
  min-height: 34px;
}
.incident-form textarea{
  max-width: 100%;
  display: block;
}

/* p14 podle vas - sidebar color fix */
body.p14-zivot.p14-podle-vas .sidebar-right .widget_nav_menu .menu-item.current-menu-item a:hover {
  color: #ffffff !important;
}


.hp-post__title {
  margin: 0 !important;
  padding: 0 !important;
  margin-bottom: 10px !important;
  line-height: 1.15;
  overflow: hidden;
}

.hp-post__content {
  line-height: 1.15;
  max-height: 6.9em;
  overflow: hidden;
}

.hp-post__link {
  display: block;
}

@media (min-width: 768px) {
  .hp-post__title {
    height: 2.3em;
  }

  .hp-post__content {
    max-height: none;
    height: 9.2em;
  }
}
