/*
Theme Name: Psary
Theme URI: 
Author: infocount.cz
Author URI: https://infocount.cz/
Description: Theme for City Psary
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: psary-theme
*/

html, body, h1, h2, h3, h4, p, ul, ol, li, form, label, input, textarea, button {
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, p, li, a, div, label, input, textarea, button {
	color: #000000;
	font-family: 'IBM Plex Sans', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 28px;
}

body {
	background-color: #f4f4f4;
	transform-origin: top left;
}

.modal-content {
	border-radius: 0;
}
.modal-body {
	padding: 4px;
}
.ekko-lightbox a {
	text-decoration: none;
}
.ekko-lightbox a:hover {
	color: #ffffff;
}

*, ::after, ::before {
	box-sizing: unset;
}

.container {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: 1660px;
	padding: 70px 30px;
	margin: 0 auto;
}

a {
	color: #3da165; /* c22027 */
	text-decoration: none;
}
a:hover {
	color: #696969;
	text-decoration: none;
}

img {
	display: block;
}

/* move reCAPTCHA v3 */
 
.grecaptcha-badge {
	width: 70px !important;
	overflow: hidden !important;
	transition: all 0.3s ease !important;
	left: 4px !important;
}
.grecaptcha-badge:hover {
	width: 256px !important;
}

/* header */

header {
	position: absolute;
	width: 100%;
	background-color: #4ac078; /* 881115 */
	z-index: 2;
}
header.fixed {
	position: fixed;
}

header .container {
	padding-top: 50px;
	padding-bottom: 0;
}
header.fixed .container {
	padding-top: 0;
}

header nav {
	display: flex;
	flex-direction: column;
}
header.fixed nav {
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-end;
}

header ul {
	list-style-type: none;
}

header .top {
	position: absolute;
	display: flex;
	top: 0;
	left: 30px;
	right: 30px;
}
header .top::before {
	position: absolute;
	content: "";
	top: 0;
	left: 50%;
	width: 100vw;
	height: 50px;
	background-color: #048abf; /* 760f12 */
	transform: translateX(-50%);
}
header.fixed .top {
	display: none;
}

header .top li {
	position: relative;
	padding: 0 20px;
}
header .top li:first-child {
	padding-left: 0;
}
header .top li:last-child {
	padding-right: 0;
}
header .top li::before {
	position: absolute;
	content: "";
	top: 10px;
	left: 0;
	bottom: 10px;
	border-left: 1px solid #00000050; /* 922629 */
}
header .top li:first-child::before {
	content: none;
}

header .top li a {
	position: relative;
	display: inline-block;
	color: #ffffff;
	font-size: 18px;
	font-weight: 300;
	line-height: 30px;
	text-transform: uppercase;
	padding: 10px 0;
}
header .top li a:hover {
	color: #000000; /* d7d7d7 */
}
header .top li a::before {
	position: absolute;
	content: "";
	width: 100%;
	bottom: 0;
	border-bottom: 2px solid transparent;
}
header .top li a:hover::before {
	border-color: #000000; /* d7d7d7 */
}

header .header {
	position: relative;
	display: flex;
	min-height: 70px;
	justify-content: space-between;
	align-items: center;
	padding: 15px 0;
}
header .header::after {
	position: absolute;
	content: "";
	left: 50%;
	bottom: 0;
	width: 100vw;
	height: 0;
	border-top: 1px solid #ffffff; /* 6a0e10 */;
	transform: translateX(-50%);
}
header.fixed .header::after {
	content: none;
}

header .brand a {
	position: absolute;
	display: block;
	top: 20px;
	left: -20px;
	width: 160px;
	height: 120px;
	overflow: hidden;
	text-indent: -99999px;
	background: #4ac078 url("img/logo1.png") center no-repeat;
	z-index: 1;
}
header.fixed .brand a {
	top: 10px;
	left: 0;
	width: 80px;
	height: 80px;
	background-size: cover;
}

header .mobile {
	display: none;
}

header .mobile strong {
	position: relative;
	cursor: pointer;
	display: block;
	width: 50px;
	height: 42px;
}
header .mobile span {
	position: absolute;
	display: block;
	top: 0;
	bottom: 0;
	width: 100%;
	height: 6px;
	background-color: #ffffff;
	margin: auto 0;
}
header .mobile span:first-child {
	bottom: auto;
}
header .mobile span:last-child {
	top: auto;
}
header .mobile:hover span {
	background-color: #000000; /* d7d7d7 */
}

header.active .mobile span {
	display: none;
	top: 0;
	bottom: 0;
	transition: transform .3s;
}
header.active .mobile span:first-child {
	display: block;
	transform: rotate(45deg);
}
header.active .mobile span:last-child {
	display: block;
	transform: rotate(-45deg);
}

header .ico {
	display: flex;
	padding: 10px 0;
}
header.fixed .ico {
	display: none;
}

header .ico li {
	position: relative;
}
header .ico li::before {
	position: absolute;
	content: "";
	right: 0;
	height: 100%;
	border-right: 1px solid #00000050; /* 6a0e10 */
}
header .ico li:last-child::before {
	content: none;
}

header .ico li a {
	display: block;
	cursor: pointer;
	height: 50px;
	overflow: hidden;
	text-indent: -99999px;
	background-position: center;
	background-repeat: no-repeat;
	padding: 0 20px;
}
header .ico li.search a {
	width: 23px;
	background-image: url("img/ico-search.png");
}
header .ico li.user a {
	width: 29px;
	background-image: url("img/ico-user.png");
}
header .ico li.logged a {
	position: relative;
	width: auto;
	min-width: 29px;
	height: auto;
	color: #ffffff;
	text-indent: 0;
	line-height: 28px;
	text-align: center;
	background-image: none;
	padding-top: 22px;
}
header .ico li.logged a::before {
	position: absolute;
	content: "";
	top: 9px;
	left: 0;
	right: 0;
	width: 29px;
	height: 20px;
	background: url("img/ico-user.png") top no-repeat;
	margin: 0 auto;
}
header .ico li.sitemap a {
	width: 36px;
	background-image: url("img/ico-sitemap.png");
}
header .ico li.size a {
	width: 40px;
	background-image: url("img/ico-size.png");
}
header .ico li.zoom {
	color: #ffffff;
}
header .ico li.zoom a {
	color: #ffffff;
	text-indent: 0;
	font-size: 22px;
	line-height: 50px;
}
header .ico li.zoom .out {
	font-size: 80%;
}
header .ico li.zoom .in {
	font-size: 120%;
}
header .ico li:last-child a {
	background-position: right;
	padding-right: 0;
}
header .ico li a:hover {
	filter: invert(1);
}

header .menu {
	display: flex;
	justify-content: flex-end;
	gap: 40px;
}

header .menu li {
	color: #ffffff;
}
header .menu li a {
	position: relative;
	display: inline-block;
	color: #ffffff;
	font-size: 24px;
	font-weight: 600;
	line-height: 40px;
	padding: 10px 0;
}
header .menu li.items > a {
	cursor: pointer;
}
header .menu li a:hover, header .menu li:hover {
	color: #000000; /* d7d7d7 */
}
header .menu > li > a::before {
	position: absolute;
	content: "";
	width: 100%;
	bottom: 0;
	border-bottom: 5px solid transparent;
}
header .menu > li.active > a::before {
	border-color: #ffffff;
}
header .menu > li > a:hover::before {
	border-color: #000000; /* d7d7d7 */
}

header .sub {
	position: absolute;
	display: none;
	left: 0;
	right: 0;
	background-color: #696969;
	padding: 50px 30px;
}
header .sub::before {
	position: absolute;
	content: "";
	top: 0;
	left: 50%;
	bottom: 0;
	width: 100vw;
	background-color: #696969;
	transform: translateX(-50%);
	z-index: -1;
}
header li.active .sub {
	display: flex;
}

header .sub ul {
	flex: 0 0 33.333334%;
}
header .sub li ul {
	padding-bottom: 15px;
}
header .sub li li ul {
	padding-left: 15px;
}

header .sub li a {
	font-size: 20px;
	line-height: 30px;
	padding: 0 0 10px 0;
}
header .sub li li a {
	padding: 0;
}
header .sub li li a {
	font-size: 18px;
	font-weight: 400;
	padding-left: 15px;
}
header .sub li li a::before {
	position: absolute;
	content: "›";
	left: 0;
}

header .sub li a:hover {
	color: #000000;
}
header .sub li a:not([href]):hover {
	color: #ffffff;
}

header .close {
	position: absolute;
	top: 15px;
	right: 30px;
	opacity: 1;
}
header .close a {
	display: block;
	cursor: pointer;
	width: 50px;
	height: 50px;
	overflow: hidden;
	text-indent: -99999px;
	padding: 0 !important;
}
header .close a::before, header .close a::after {
	position: absolute;
	content: "";
	top: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 6px;
	background-color: #ffffff;
	margin: auto 0;
}
header .close a::before {
	transform: rotate(45deg);
}
header .close a::after {
	transform: rotate(-45deg);
}
header .close a:hover::before, header .close a:hover::after {
	background-color: #000000; /* d7d7d7 */
}

header div.search {
	position: absolute;
	display: none;
	left: 0;
	right: 0;
	background-color: #696969;
	padding: 50px 30px;
}
header div.search::before {
	position: absolute;
	content: "";
	top: 0;
	left: 50%;
	bottom: 0;
	width: 100vw;
	background-color: #696969;
	transform: translateX(-50%);
	z-index: -1;
}
header div.search.active {
	display: block;
}

header div.search .wrapper {
	display: flex;
	justify-content: center;
	gap: 20px;
}
header div.search input {
	font-size: 20px;
	line-height: 30px;
	background-color: #ffffff;
	padding: 10px 20px;
	border: none;
	border-radius: 15px;
	outline: 0;
}
header div.search button {
	cursor: pointer;
	color: #ffffff;
	font-size: 20px;
	line-height: 30px;
	background-color: #4ac078; /* 881115 */
	padding: 10px 20px;
	border: none;
	outline: 0;
}
header div.search button:hover {
	background-color: #000000; /* d7d7d7 */
}

/* main */

main {
	padding-top: 210px;
}

main .header h2 {
	color: #000000;
	font-size: 36px;
	font-weight: 400;
	line-height: normal;
	padding-bottom: 35px;
}
main h2.notitle {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	text-indent: -99999px;
	padding-bottom: 0;
}

/* slider */

#slider {
	background-size: cover;
	background-position: bottom;
	background-repeat: no-repeat;
}

#slider .container {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding-top: 0;
	padding-bottom: 0;	
}

#slider .header {
	display: flex;
	gap: 20px;
}

#slider .title {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 600px;
	z-index: 0;
}
#slider .title::before {
	position: absolute;
	content: "";
	right: 0;
	width: 100vw;
	height: 100%;
	background-color: #696969;
	z-index: -1;
}

#slider h1 {
	max-width: 500px;
	color: #ffffff;
	font-family: 'IBM Plex Serif', sans-serif;
	font-size: 30px;
	font-weight: 600;
	line-height: 36px;
}

#slider ul {
	list-style-type: none;
	display: flex;
	gap: 20px;
}

#slider li a {
	display: block;
	width: 130px;
	height: 55px;
	color: #ffffff;
	font-size: 16px;
	font-weight: 600;
	line-height: 26px;
	text-align: center;
	text-transform: uppercase;
	background-color: #696969;
	background-position: center 35px;
	background-repeat: no-repeat;
	padding: 100px 30px 30px 30px;
}
#slider li.citizen a {
	background-image: url("img/ico-citizen.png");
}
#slider li.phone a {
	background-image: url("img/ico-phone.png");
}
#slider li.budget a {
	background-image: url("img/ico-budget.png");
}
#slider li.waste a {
	background-image: url("img/ico-waste.png");
}
#slider li.photo a {
	background-image: url("img/ico-photo.png");
}
#slider li.disorder a {
	background-image: url("img/ico-disorder.png");
}
#slider li.virtualtour a {
	background-image: url("img/ico-virtualtour.png");
}
#slider li a:hover {
	background-color: #4ac078; /* 881115 */
}

/* path */

#path {
	background-color: #ffffff;
}

#path .container {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding-bottom: 35px;
}

#path h1 {
	color: #000000;
	font-size: 36px;
	font-weight: 400;
	line-height: normal;
}

#path ul {
	list-style-type: none;
	display: flex;
	gap: 30px;
	flex-wrap: wrap;
}

#path li, #path li a {
	font-weight: 300;
}
#path li {
	position: relative;
	color: #696969;
}
#path li::before {
	position: absolute;
	content: "/";
	left: -18px;
}
#path li:first-child::before {
	content: none;
}

#path .archive a {
	position: relative;
	display: inline-block;
	color: #ffffff;
	font-size: 20px;
	line-height: 30px;
	background-color: #696969;
	padding: 10px 30px 10px 20px;
}
#path .archive a:hover {
	background-color: #4ac078; /* 881115 */
}
#path .archive a::before {
	position: absolute;
	content: "›";
	right: 20px;
}

#path .share {
	margin-top: 10px;
}
#path .share a {
	position: relative;
	display: inline-block;
	color: #ffffff;
	background-color: #0866ff;
	padding: 6px 20px 6px 40px;
	border-radius: 6px;
}
#path .share a:hover {
	background-color: #696969;
}
#path .share a::before {
	position: absolute;
	content: "";
	left: 10px;
	width: 24px;
	height: 24px;
	background: url("img/ico-facebook.png") center no-repeat;
	background-size: 39px 39px;
}

/* news */

#news .header {
	border-bottom: 1px solid #cccccc;
}

#news .header ul {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
	gap: 50px;
}

#news .header li {
	position: relative;
	display: block;
	cursor: pointer;
	font-size: 20px;
	font-weight: 400;
	line-height: normal;
	padding-bottom: 15px;
}

#news .header li::before {
	position: absolute;
	content: "";
	bottom: 0;
	width: 100%;	
	border-bottom: 4px solid transparent;
}
#news .header li.active::before, #news .header li:hover::before {
	border-color: #3da165; /* c22027 */
}

#news .items {
	display: none;
	flex-wrap: wrap;
	gap: 35px;
	padding-top: 50px;
}
#news .items.active {
	display: flex;
}

#news .item {
	display: block;
	flex: 0 0 calc(25% - 3*35px/4);
	background-color: #ffffff;
}
#news .item:hover {
	box-shadow: 0 0 30px rgba(0, 0, 0, .3);
}

#news .image {
	position: relative;
	width: 100%;
	background-color: #ffffff;
	padding-top: 72%;
	overflow: hidden;
}

#news img {
	position: absolute;
	display: block;
	top: 50%;
	left: 50%;
	width: 100%;
	transform: translate(-50%, -50%);
}
#news .small img {
	width: auto;
}

#news .date, #news h3, #news p, #news .more {
	color: #000000;
	line-height: 26px;
	padding: 10px 20px;
}
#news .date {
	color: #696969;
	font-weight: 300;
	padding-top: 30px;
}
#news .date span {
	text-transform: uppercase;
}
#news h3 {
	font-size: 20px;
	font-weight: 600;
	padding-bottom: 20px;
}
#news .item:hover h3 {
	color: #3da165; /* c22027 */
}
#news .more {
	position: relative;
	color: #3da165; /* c22027 */
	padding-left: 30px;
	padding-bottom: 30px;
	text-transform: uppercase;
}
#news .item:hover .more {
	color: #696969;
}
#news .more::before {
	position: absolute;
	content: "›";
	left: 20px;
}
#news .important .date, #news .important h3 {
	color: #ffffff;
	background-color: #4ac078; /* 881115 */
}
#news .item:hover .important h3 {
	color: #ffffff;
}

#news .archive {
	text-align: center;
	padding-top: 50px;
}

#news .archive a {
	position: relative;
	display: inline-block;
	color: #ffffff;
	font-size: 20px;
	line-height: 30px;
	background-color: #696969;
	padding: 10px 30px 10px 20px;
}
#news .archive a:hover {
	background-color: #4ac078; /* 881115 */
}
#news .archive a::before {
	position: absolute;
	content: "›";
	right: 20px;
}

/* events */

#events {
	position: relative;
	background-color: #ffffff;
	overflow: hidden;
}
#events::before {
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	width: calc(50vw - 60px);
	height: 100%;
	background: url("img/events.jpg") right no-repeat;
	background-size: cover;
}

#events .container {
	width: calc(50vw + 30px);
	max-width: 860px;
	transform: translateX(calc(50% - 30px));
}

#events .items {
	position: relative;
}
#events .items::before {
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	width: 100vw;
	border-top: 1px solid #cccccc;
}

#events .item {
	display: block;
	padding: 10px 0;
	border-bottom: 1px solid #cccccc;
}
#events .item:hover {
	background-color: #f4f4f4;
}

#events .date {
	color: #696969;
	font-weight: 300;
}
#events .date span {
	text-transform: uppercase;
}

#events h3 {
	color: #000000;
	font-weight: 600;
}
#events .item:hover h3 {
	color: #3da165; /* c22027 */
}

#events article {
	position: relative;
	padding-left: 100px;
}
#events article::before {
	position: absolute;
	content: "";
	left: 0;
	background-position: center;
	background-repeat: no-repeat;
	width: 100px;
	height: 100%;
}
#events article.village::before {
	background-image: url("img/ico-village.png");
}
#events article.children::before {
	background-image: url("img/ico-children.png");
}
#events article.culture::before {
	background-image: url("img/ico-culture.png");
}
#events article.sport::before {
	background-image: url("img/ico-sport.png");
}

#events .more {
	position: relative;
	color: #3da165; /* c22027 */
	text-transform: uppercase;
	padding-left: 10px;
}
#events .item:hover .more {
	color: #696969;
}
#events .more::before {
	position: absolute;
	content: "›";
	left: 0;
}

#events .archive {
	padding-top: 35px;
}

#events .archive a {
	position: relative;
	display: inline-block;
	color: #ffffff;
	font-size: 20px;
	line-height: 30px;
	background-color: #696969;
	padding: 10px 30px 10px 20px;
}
#events .archive a:hover {
	background-color: #4ac078; /* 881115 */
}
#events .archive a::before {
	position: absolute;
	content: "›";
	right: 20px;
}

/* info */

#info .container {
	display: flex;
}

#info .comments {
	flex: 0 0 50%;
}

#info .comments .item {
	display: flex;
}

#info .comments h3 {
	flex: 0 0 50%;
}

#info .comments h3 a {
	display: block;
	color: #000000;
	position: relative;
	padding-left: 10px;
}
#info .comments h3 a:hover {
	color: #3da165; /* c22027 */
}
#info .comments h3 a::before {
	position: absolute;
	content: "›";
	left: 0;
}

#info .comments .date {
	color: #696969;
	font-weight: 300;
	text-transform: uppercase;
}

#info .partners {
	flex: 0 0 50%;
}

#info .partners .items {
	display: flex;
	flex-wrap: wrap;
	gap: 35px;
}

#info .partners .item a {
	display: block;
	width: 150px;
	height: 115px;
	overflow: hidden;
	text-indent: -99999px;
	background-position: center;
	background-repeat: no-repeat;
}
#info .partners .item a:hover {
	filter: brightness(0);
	opacity: .5;
}

/* detail */

#detail article {
	padding-bottom: 30px;
	margin-bottom: 30px;
	border-bottom: 1px solid #cccccc;
}
#detail article:last-child {
	padding: 0;
	margin: 0;
	border: none;
}
#detail article.strip {
	display: flex;
	gap: 200px;
}

#detail article.strip .text {
	flex: 0 0 calc(75% - 200px);
}

#detail article .title, #detail article .title a {
	color: #000000;
	font-size: 20px;
	font-weight: 600;
}
#detail article .title a:hover {
	color: #3da165; /* c22027 */
}

#detail article .perex {
	font-size: 20px;
	font-weight: 300;
	line-height: 36px;
	padding-bottom: 14px;
}

#detail article h2 {
	color: #000000;
	font-size: 30px;
	font-weight: 400;
	line-height: normal;
	padding-bottom: 7px;
}

#detail article h3 {
	color: #696969;
	font-size: 20px;
	font-weight: 600;
	padding-bottom: 7px;
}
#detail article h3.inline {
	display: inline-block;
	padding-right: 10px;
}

#detail article h4 {
	color: #000000;
	font-weight: 600;
}

#detail article p {
	padding-bottom: 14px;
}

#detail article ul {
	position: relative;
	list-style-type: none;
	padding-bottom: 14px;
}
#detail article ol {
	padding-left: 17px;
	padding-bottom: 14px;
}
#detail article ul li {
	padding-left: 10px;
}
#detail article ul li::before {
	position: absolute;
	content: "›";
	left: 0;
}

#detail article table {
	width: 100%;
	padding-bottom: 14px;
}
#detail article th {
	color: #696969;
	font-weight: 300;
	text-align: left;
	text-transform: uppercase;
	padding: 5px 0;
	border-bottom: 1px solid #cccccc;
}
#detail article td {
	padding: 5px 0;
	border-bottom: 1px solid #e6e6e6;
}
#detail article td.year { 
	border: none;
}
#detail article .value, #detail article .date {
	text-align: right;
}

#detail article hr {
	border: none;
	border-bottom: 1px solid #cccccc;
}

#detail article img {
	max-width: 100%;
}

#detail .sitemenu {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}
#detail .sitemenu article {
	flex: 0 0 calc(33.333334% - 2*20px/3);
	padding-bottom: 0;
	margin-bottom: 0;
	border-bottom: none;
}

#detail .sitemap ul {
	margin-left: 10px;
}
#detail .sitemap ul ul {
	padding-bottom: 0;
}
#detail .sitemap > li, #detail .sitemap > li > a {
	color: #000000;
	font-size: 20px;
	font-weight: 600;
	padding-left: 0;
}
#detail .sitemap > li > a:hover {
	color: #3da165; /* c22027 */
}
#detail .sitemap > li::before {
	content: none;
}

#detail .side {
	position: relative;
	flex: 0 0 25%;
}
#detail .side::before {
	position: absolute;
	content: "";
	top: -70px;
	left: -100px;
	bottom: -70px;
	border-left: 1px solid #cccccc;
}

#detail .side h2 {
	color: #696969;
	font-size: 20px;
	font-weight: 600;
	padding-bottom: 20px;
}

#detail .side ul {
	list-style-type: none;
}
#detail .side ul.flags {
	padding-top: 28px;
}

#detail .side li a {
	color: #000000;
	padding-left: 10px;
}
#detail .side li a:hover {
	color: #3da165; /* c22027 */
}
#detail .side li a::before {
	position: absolute;
	content: "›";
	left: 0;
}

#detail form {
	display: flex;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: 20px;
	padding-bottom: 20px;
}
#detail form .msg, #detail form .err {
	flex: 0 0 100%;
	text-align: center;
}
#detail form .msg {
	color: green;
}
#detail form .err {
	color: red;
}
#detail form .wrapper {
	flex: 0 0 calc(33.333334% - 2*20px/3);
}
#detail form .textarea {
	flex: 0 0 calc(66.666667% - 20px/3);
}
#detail form .select {
	position: relative;
}
#detail form .select.active {
	z-index: 1;
}
#detail form label, #detail form .label {
	display: block;
	color: #000000;
	font-size: 20px;
	font-weight: 600;
	padding-bottom: 10px;
}
#detail form .radio label {
	position: relative;
	display: inline-block;
	cursor: pointer;
	font-weight: 400;
	padding-left: 40px;
	margin-right: 20px;
}
#detail form .radio label::before,
#detail form .radio label::after {
	position: absolute;
	border-radius: 50%;
}
#detail form .radio label::before {
	content: "";
	top: 0;
	left: 0;
	width: 30px;
	height: 30px;
	background-color: #ffffff;
}
#detail form .radio label::after {
	top: 10px;
	left: 10px;
	width: 10px;
	height: 10px;
	background-color: #4ac078; /* 881115 */
}
#detail form .radio input:checked + label::after {
	content: "";
}
#detail form .arrow {
	position: relative;
	background-color: #ffffff;
	border-radius: 15px;
}
#detail form .arrow::before {
	position: absolute;
	content: "";
	top: 15px;
	right: 15px;
	width: 15px;
	height: 15px;
	border: solid #000000;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
#detail form .select.active .arrow::before {
	top: 20px;
	border-width: 2px 0 0 2px;
}
#detail form input, #detail form textarea {
	width: calc(100% - 2*20px);
	font-size: 20px;
	line-height: 30px;
	background-color: #ffffff;
	padding: 10px 20px;
	border: none;
	border-radius: 15px;
	outline: 0;
}
#detail form .arrow input {
	background-color: unset;
}
#detail form .select input {
	position: relative;
	cursor: pointer;
	width: calc(100% - 3*20px);
	padding-right: 40px;
}
#detail form .radio input {
	position: absolute;
	width: 0;
	height: 0;
	opacity: 0;
}
#detail form .select ul {
	position: absolute;
	width: 100%;
	max-height: 0;
	background-color: #696969;
	margin-top: -25px;
	border-radius: 0 0 15px 15px;
	overflow: hidden;
	z-index: -1;
}
#detail form .select.active ul {
	max-height: unset;
	padding: 25px 0 15px 0;
}
#detail form .select li {
	display: block;
	cursor: pointer;
	color: #ffffff;
	font-size: 20px;
	line-height: 30px;
	padding: 5px 20px;
}
#detail form .select li:hover {
	color: #000000;
}
#detail form .button {
	flex: 0 0 100%;
}
#detail form button {
	cursor: pointer;
	color: #ffffff;
	font-size: 20px;
	line-height: 30px;
	background-color: #4ac078; /* 881115 */
	padding: 10px 20px;
	border: none;
	outline: 0;
}
#detail form button:hover {
	background-color: #000000; /* d7d7d7 */
}

#detail .gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 35px;
}
#detail .gallery .item {
	flex: 0 0 195px;
	background-color: #4ac078; /* 881115 */
}
#detail .gallery a:hover {
	opacity: .5;
}
#detail .gallery img {
	width: 195px;
	height: 195px;
}

#detail .files a span {
	color: #696969;
}
#detail .files a span::before {
	content: '[';
}
#detail .files a span::after {
	content: ']';
}

#detail .comments {
	padding-top: 30px;
}
#detail .comments .item {
	padding-top: 14px;
	border-top: 1px solid #cccccc;
}
#detail .comments .header {
	display: flex;
}
#detail .comments h4.admin {
	color: #3da165; /* c22027 */
}
#detail .comments .ip {
	color: #696969;
	font-weight: 300;
	padding-left: 5px;
}
#detail .comments .ip::before {
	content: "[";
}
#detail .comments .ip::after {
	content: "]";
}
#detail .comments .date {
	color: #696969;
	font-weight: 300;
	text-align: left;
	text-transform: uppercase;
}
#detail .comments .date::before {
	content: "|";
	padding: 0 10px;
}
#detail .comments .more {
	padding-top: 14px;
	border-top: 1px solid #cccccc;
}
#detail .comments form {
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
}
#detail .comments .submit {
	cursor: pointer;
}

/* council */

#council .items {
	display: flex;
	flex-wrap: wrap;
	gap: 35px;
}
#council .item {
	flex: 0 0 calc(25% - 3*35px/4);
}

#council .item .image {
	background-color: #4ac078; /* 881115 */
	margin-bottom: 20px;
}
#council .item img {
	width: 100%;
}
#council .item a:hover img {
	opacity: .5;
}

#council h3, #council h3 a {
	color: #000000;
	font-size: 20px;
	font-weight: 600;
}
#council h3 a:hover {
	color: #3da165; /* c22027 */
}

#council .job {
	color: #696969;
	font-weight: 300;
	text-transform: uppercase;
	padding-bottom: 20px;
}

#council .party span {
	font-weight: 300;
	text-transform: uppercase;
}

/* posts */

#posts .header h2 {
	font-size: 30px;
	padding-bottom: 7px;
}

#posts article {
	display: flex;
	gap: 30px;
	padding: 30px 0;
	border-bottom: 1px solid #cccccc;
}
#posts article:first-child {
	padding-top: 0;
}
#posts article:last-child {
	padding-bottom: 0;
	border: none;
}

#posts article .image {
	position: relative;
	flex: 0 0 285px;
	height: 205px;
	background-color: #ffffff;
	overflow: hidden;
}

#posts article img {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 285px;
	transform: translate(-50%,-50%);;
}
#posts article .small img {
	width: auto;
}

#posts article .text {
	flex: 0 0 calc(100% - 315px);
}

#posts article h3, #posts article h3 a {
	color: #000000;
	font-size: 20px;
	font-weight: 600;
}
#posts article h3 a:hover {
	color: #3da165; /* c22027 */
}

#posts article .date {
	color: #696969;
	font-weight: 300;
	text-transform: uppercase;
}

#posts .sum {
	color: #696969;
	font-size: 20px;
	padding: 15px 0 30px 0;
}

/* list */

#list article, #list .head {
	display: flex;
	justify-content: space-between;
	padding: 5px 0;
	border-bottom: 1px solid #e6e6e6;
}
#list .head {
	border-color: #cccccc;
}
#list .head div {
	color: #696969;
	font-weight: 300;
	text-transform: uppercase;
}

#list .date {
	text-align: right;
}

/* important */

#important {
	border-top: 1px solid #cccccc;
}

#important .items {
	display: flex;
	flex-wrap: wrap;
	gap: 0 20px;
}

#important ul {
	list-style-type: none;
	flex: 0 0 calc(20% - 4*20px/5);
}

#important li {
	padding-bottom: 10px;
}
#important li li {
	padding-bottom: 0;
}

#important li a {
	display: inline-block;
	color: #000000;
	font-size: 20px;
	font-weight: 600;
}
#important li a[href]:hover {
	color: #3da165; /* c22027 */
}
#important li li a {
	position: relative;
	font-size: 16px;
	font-weight: 400;
	padding-left: 10px;
}
#important li li a::before {
	position: absolute;
	content: "›";
	left: 0;
}

/* footer */

footer {
	position: relative;
	background-color: #696969;
	z-index: 0;
}
footer::before {
	position: absolute;
	content: "";
	right: 0;
	width: 50vw;
	height: 100%;
	background: url("img/footer.png") top right no-repeat;
	z-index: -1;
}

footer .container {
	display: flex;
	gap: 35px 0;
}

footer h2 {
	color: #ffffff;
	font-size: 26px;
	font-weight: 400;
	line-height: normal;
	padding-bottom: 30px;
}
footer h2.notitle {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	text-indent: -99999px;
	padding-bottom: 0;
}

footer ul {
	list-style-type: none;
}

footer li, footer p, footer a {
	color: #ffffff;
	font-size: 16px;
	line-height: 36px;
}
footer a:hover {
	color: #000000;
}

footer .back {
	position: absolute;
	cursor: pointer;
	display: none;
	right: 60px;
	bottom: 60px;
	width: 60px;
	height: 60px;
	overflow: hidden;
	text-indent: -99999px;
	background-color: #696969;
	transition: background .3s;
	z-index: 2;
}
footer.fixed .back {
	position: fixed;
	display: block;
}
footer .back::before {
	position: absolute;
	content: "";
	top: 25px;
	left: 15px;
	width: 30px;
	height: 30px;
	border: solid #ffffff;
	border-width: 1px 0 0 1px;
	transform: rotate(45deg);
}
footer .back:hover {
	background-color: #4ac078; /* 881115 */
}

#contact .container {
	padding-bottom: 50px;
}

#contact .brand {
	flex: 0 0 25%;
}

#contact .brand a {
	display: block;
	width: 227px;
	height: 114px;
	overflow: hidden;
	text-indent: -99999px;
	background: url("img/logo2.png") center no-repeat;
}
#contact .brand a:hover {
	filter: brightness(0);
}

#contact .items {
	flex: 0 0 75%;
	display: flex;
	flex-wrap: wrap;
}

#contact .item {
	flex: 0 0 33.333334%;
}

#contact .hours strong {
	display: inline-block;
	width: 70px;
	font-weight: 400;
}

#contact .social ul {
	display: flex;
	gap: 15px;
}

#contact .social li a {
	display: block;
	width: 52px;
	height: 52px;
	overflow: hidden;
	text-indent: -99999px;
	background-position: center;
	background-repeat: no-repeat;
}
#contact .social li.facebook a {
	background-image: url("img/ico-facebook.png");
}
#contact .social li.instagram a {
	background-image: url("img/ico-instagram.png");
}
#contact .social li.youtube a {
	background-image: url("img/ico-youtube.png");
}
#contact .social li a:hover {
	filter: invert(1);
}

#most {
	border-top: 1px solid #757575;
}

#most .container {
	padding-top: 50px;
	padding-bottom: 50px;
}

#most li a {
	position: relative;
	display: inline-block;
	padding-left: 10px;
}
#most li a::before {
	position: absolute;
	content: "›";
	left: 0;
}

#most .links {
	flex: 0 0 75%;
}

#most .links .items {
	display: flex;
	flex-wrap: wrap;
}

#most .links ul {
	flex: 0 0 33.333334%;
}

#most .authorized {
	flex: 0 0 25%;
}

#footer {
	background-color: #5d5d5d;
}

#footer .container {
	justify-content: space-between;
	gap: 0;
	padding-top: 35px;
	padding-bottom: 35px;
}

#footer ul {
	display: flex;
	flex-wrap: wrap;
}

#footer li, #footer p, #footer a {
	font-size: 14px;
	line-height: 26px;
}

#footer .copy li {
	position: relative;
	padding-right: 15px;
	margin-right: 15px;
}
#footer .copy li:last-child {
	padding-right: 0;
	margin-right: 0;
}
#footer .copy li::after {
	position: absolute;
	content: "";
	top: 0;
	right: 0;
	bottom: 0;
	height: 14px;
	margin: auto 0;
	border-right: 1px solid #ffffff;
}
#footer .copy li:last-child::after {
	content: none;
}

#footer .by {
	text-align: right;
}

/* swpm */

#detail .swpm-login-widget-form .swpm-remember-me {
	display: none;
}

#detail .swpm-login-widget-form .swpm-login-form-submit,
#detail .swpm-pw-reset-widget-form .swpm-pw-reset-submit {
	width: auto;
	color: #ffffff;
	background-color: #4ac078; /* 881115 */
	border-radius: 0;
}
#detail .swpm-login-widget-form .swpm-login-form-submit:hover,
#detail .swpm-pw-reset-widget-form .swpm-pw-reset-submit:hover {
	background-color: #000000; /* d7d7d7 */
}

#detail .swpm-registration-form .swpm-registration-submit-section {
	text-align: left;
}

/* media */

@media (max-width: 1700px) {
	footer .back {
		right: 30px;
		bottom: 30px;
	}
}

@media (max-width: 1500px) {
	#detail article.strip {
		gap: 100px;
	}
	#detail article.strip .text {
		flex-basis: calc(75% - 100px);
	}
	#detail .side::before {
		left: -50px;
	}

	footer::before {
		content: none;
	}

	#contact .brand, #most .authorized {
		flex-basis: 33.333334%;
	}
	#contact .items, #most .links {
		flex-basis: 66.666667%;
	}
	#contact .item, #most .links ul {
		flex-basis: 50%;
	}
}

@media (max-width: 1400px) {
	#info .container {
		flex-direction: column;
		gap: 70px;
	}
	#info .comments, #info .partners {
		flex-basis: auto;
		width: 100%;
	}
}

@media (max-width: 1200px) {
	header .container {
		padding-top: 0;
	}
	header .top {
		display: none;
	}
	header .header::after {
		content: none;
	}
	header .brand a {
		top: 10px;
		left: 0;
		width: 80px;
		height: 80px;
		background-size: cover;
	}
	header .mobile {
		display: block;
	}
	header .menu {
		position: absolute;
		display: none;
		top: 100px;
		left: 0;
		right: 0;
		padding: 50px 30px;
		background-color: #696969;
		z-index: 3;
	}
	header.active .menu {
		display: block;
	}
	header .menu li a {
		padding-top: 0;
		padding-bottom: 15px;
	}
	header .menu li a:hover {
		color: #000000;
	}
	header .menu li a::before {
		content: none;
	}
	header .sub {
		position: static;
		padding: 0;
	}
	header li.active .sub {
		display: block;
	}
	header .sub::before {
		content: none;
	}
	header .sub {
		padding-bottom: 15px;
	}
	header .sub li ul {
		padding: 0 0 0 15px;
	}
	header .sub li a {
		padding: 0 0 0 15px;
	}
	header .sub li a::before {
		position: absolute;
		content: "›";
		left: 0;
	}
	header .close {
		display: none;
	}

	main {
		padding-top: 100px;
	}

	#slider .title {
		display: none;
	}
	#slider ul {
		justify-content: center;
		width: 100%;
	}

	#news .item {
		flex-basis: calc(33.333334% - 2*35px/3);
	}
	#news .item:nth-child(n + 7) {
		display: none;
	}

	#detail form .wrapper {
		flex-basis: calc(50% - 20px/2);
	}
	#detail form .textarea {
		flex-basis: 100%;
	}

	#council .item {
		flex-basis: calc(33.333334% - 2*35px/3);
	}

	#important ul {
		flex-basis: calc(33.333334% - 2*20px/3);
	}
}

@media (max-width: 1100px) {
	#events {
		padding-top: 250px;
	}
	#events::before {
		width: 100%;
		height: 0;
		padding-top: 250px;
	}
	#events .container {
		width: 100%;
		max-width: none;
		transform: none;
	}
	#events .items::before {
		width: 100%;
	}

	#contact .container, #most .links .items {
		flex-direction: column;
	}
	#most .links, #most .authorized {
		flex-basis: 50%;
	}
}

@media (max-width: 1000px) {
	.container {
		padding-left: 20px;
		padding-right: 20px;
	}

	header .menu {
		padding-left: 20px;
		padding-right: 20px;
	}

	#posts article {
		display: block;
	}
	#posts .image {
		display: none;
	}

	#detail article.strip {
		gap: 40px;
	}
	#detail article.strip .text {
		flex-basis: calc(75% - 40px);
	}
	#detail .side::before {
		left: -20px;
	}
	#detail .sitemenu article {
		flex-basis: calc(50% - 20px/2);
	}
	#detail table.subsidy th:nth-child(2), #detail table.subsidy td:nth-child(2),
	#detail table.subsidy th:nth-child(3), #detail table.subsidy td:nth-child(3),
	#detail table.complaint th:nth-child(3), #detail table.complaint td:nth-child(3),
	#detail table.fast th:nth-child(3), #detail table.fast td:nth-child(3),
	#detail table.information th:nth-child(3), #detail table.information td:nth-child(3),
	#detail table.invoice th:nth-child(2), #detail table.invoice td:nth-child(2),
	#detail table.invoice th:nth-child(4), #detail table.invoice td:nth-child(4),
	#detail table.events th:nth-child(2), #detail table.events td:nth-child(2) {
		display: none;
	}
	#detail table.meeting tr {
		display: flex;
		flex-wrap: wrap;
		border-bottom: 1px solid #cccccc;
	}
	#detail table.meeting th, #detail table.meeting td {
		border: none;
	}
	#detail table.meeting th:nth-child(3), #detail table.meeting td:nth-child(3),
	#detail table.meeting th:nth-child(4), #detail table.meeting td:nth-child(4) {
		flex: 0 0 100%;
	}

	footer .back {
		right: 20px;
		bottom: 20px;
	}
}

@media (max-width: 800px) {
	#slider li a {
		width: 125px;
		background-position: center 25px;
		padding: 90px 20px 20px 20px;
	}

	#news .item {
		flex-basis: calc(50% - 35px/2);
	}
	#news .item:nth-child(n + 5) {
		display: none;
	}

	#detail table.subsidy th:nth-child(4), #detail table.subsidy td:nth-child(4),
	#detail table.subsidy th:nth-child(5), #detail table.subsidy td:nth-child(5),
	#detail table.complaint th:nth-child(2), #detail table.complaint td:nth-child(2),
	#detail table.fast th:nth-child(2), #detail table.fast td:nth-child(2),
	#detail table.information th:nth-child(1), #detail table.information td:nth-child(1):not(.year),
	#detail table.invoice th:nth-child(5), #detail table.invoice td:nth-child(5),
	#detail table.invoice th:nth-child(6), #detail table.invoice td:nth-child(6),
	#detail table.events th:nth-child(3), #detail table.events td:nth-child(3) {
		display: none;
	}

	#council .item {
		flex-basis: calc(50% - 35px/2);
	}

	#important ul {
		flex-basis: calc(50% - 20px/2);
	}

	#footer .container {
		flex-direction: column;
	}
	#footer .by {
		text-align: left;
	}
}

@media (max-width: 700px) {
	header .ico {
		display: none;
	}

	#detail article.strip {
		flex-direction: column;
		gap: 60px;
	}
	#detail .side::before {
		top: -30px;
		left: 50%;
		bottom: auto;
		width: 100vw;
		height: 0;
		border-top: 1px solid #cccccc;
		border-left: none;
		transform: translateX(-50%);
	}

	footer .container {
		gap: 30px;
	}
	footer h2 {
		padding-bottom: 10px;
	}
	#contact .container {
		padding-bottom: 30px;
	}
	#contact .items {
		gap: 30px;
	}
	#contact .item {
		flex-basis: 100%;
	}
	#most .container {
		flex-direction: column;
		padding-top: 30px;
		padding-bottom: 30px;
	}
	#footer .container {
		padding-top: 30px;
		padding-bottom: 30px;
	}
}

@media (max-width: 600px) {
	.container {
		padding: 50px 10px;
	}

	header .menu {
		padding: 30px 10px;
	}
	header .menu li a {
		line-height: 30px;
	}

	main .header h2 {
		padding-bottom: 20px;
	}

	#slider ul {
		gap: 15px;
	}
	#slider li a {
		width: 90px;
		height: 35px;
		font-size: 12px;
		line-height: 16px;
		background-size: auto 35px;
		background-position: center 20px;
		padding: 70px 15px 15px 15px;
	}

	#news .header ul {
		gap: 20px;
	}
	#news .header li {
		font-size: 16px;
		padding-bottom: 10px;
	}
	#news .items {
		gap: 30px;
		padding-top: 30px;
	}
	#news .item {
		flex-basis: calc(50% - 30px/2);
	}
	#news .date, #news h3, #news p, #news .more {
		padding-left: 10px;
		padding-right: 10px;
	}
	#news .date {
		padding-top: 20px;
	}
	#news .more {
		padding-left: 20px;
		padding-bottom: 20px;
	}
	#news .more::before {
		left: 10px;
	}
	#news .archive {
		padding-top: 30px;
	}

	#detail form .wrapper {
		flex-basis: 100%;
	}
	#detail .sitemenu article {
		flex-basis: 100%;
	}
	#detail table:not(.meeting) th:last-child,
	#detail table:not(.meeting) td:last-child:not(.year) {
		display: none;
	}

	#info .container {
		gap: 50px;
	}
	#info .comments .items {
		display: flex;
		flex-direction: column;
		gap: 15px;
	}
	#info .comments .item {
		display: block;
	}
	#info .comments .date {
		padding-left: 10px;
	}
	#info .partners .header h2 {
		text-align: center;
	}
	#info .partners .items {
		flex-direction: column;
		align-items: center;
		gap: 15px;
	}

	footer .back {
		right: 10px;
		bottom: 10px;
		width: 40px;
		height: 40px;
	}
	footer .back::before {
		top: 17px;
		left: 10px;
		width: 20px;
		height: 20px;
	}
}

@media (max-width: 500px) {
	#path .container {
		flex-direction: column;
	}

	#news .item {
		flex-basis: 100%;
	}
	#news .item:nth-child(n + 4) {
		display: none;
	}

	#events .item:hover {
		background-color: transparent;
	}
	#events article {
		padding-left: 0;
	}
	#events article::before {
		content: none;
	}

	#detail .gallery {
		gap: 20px;
		padding-top: 20px;
	}
	#detail .gallery .item {
		flex-basis: calc(50% - 20px/2);
	}
	#detail .gallery img {
		width: 100%;
		height: auto;
	}

	#council .item {
		flex-basis: 100%;
	}

	#important ul {
		flex-basis: 100%;
	}
}