/*
Theme Name: ZpCity Child
Template: news
Version: 1.0
*/


body.td-body.zpcity .block-sidebar-projects {
	background: var(--color-main);
}
body.td-body.zpcity .share-trigger.black::before,
body.td-body.zpcity .footer-socials a:hover img{
	filter: unset;
}

body.td-body.zpcity blockquote.blockquote-3{
	background-image:url('img/td_ahtung.svg');
}

body.td-body.zpcity .single-company-address{
	background-image:url('img/td_company_address.svg');
}
body.td-body.zpcity .single-company-schedule{
	background-image:url('img/td_company_schedule.svg');
}
body.td-body.zpcity .single-company-phones{
	background-image:url('img/td_company_phones.svg');
}
body.td-body.zpcity .pagination .next {
	background-image: url('img/td_pagination_right.svg');
}
body.td-body.zpcity .pagination .prev {
	background-image: url('img/td_pagination_right.svg');
}

body.td-body.zpcity .pagination a:not(.prev):not(.next):active, 
body.td-body.zpcity .pagination a:not(.prev):not(.next):hover, 
body.td-body.zpcity .pagination a:not(.prev):not(.next).current, 
body.td-body.zpcity .pagination span:active, 
body.td-body.zpcity .pagination span:hover, 
body.td-body.zpcity .pagination span.current,
body.td-body.zpcity .news.topics .sidebar-seealso-link:hover,
body.td-body.zpcity #main-page-cats-flex .similar-posts-single-cat{
	color: #fff;
}

body.td-body.zpcity .td-button:hover, a.td-button:hover, 
body.td-body.zpcity .main-content .td-button:hover, 
body.td-body.zpcity .main-content a.td-button:hover {
	color: #fff !important;
}

body.td-body.zpcity header #search-form #search-btn{
	background-color: var(--color-secondary);
}

body.td-body.zpcity .td-archive-post-cat,
body.td-body.zpcity .news.topics .tag,
body.td-body.zpcity article .post-cover .category, 
body.td-body.zpcity .main-content .cards .single .category, 
body.td-body.zpcity .main-content .alm-reveal .single .category{
	background: var(--color-secondary);
}

body.td-body.zpcity .article .single-author .photo, 
body.td-body.zpcity article .single-author .photo,
body.td-body.zpcity .sidebar-blogs-block-photo{
	border-color: var(--color-secondary);
}
body.td-body.zpcity .article table tbody tr:nth-child(2n+1) td, 
body.td-body.zpcity article table tbody tr:nth-child(2n+1) td {
	background: var(--color-main);
	color: #fff;
}

body.td-body.zpcity header.mobileactive #td-toggle-menu::before, 
body.td-body.zpcity header.mobileactive #td-toggle-menu::after {
	background-color: #fff;
}


body.td-body.zpcity .aligncenter {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 15px;
}
body.td-body.zpcity header .logo img {
	max-width: 260px;
	max-height: 93px;
	width:auto;
	height:auto;
}


body.td-body.zpcity .gallery {
	margin: 30px 0 !important;
}
body.td-body.zpcity .gallery-item {
	display: flex;
	justify-content: center;
	margin-top:0 !important;
}
body.td-body.zpcity .gallery-columns-2 .gallery-item {
	width: calc(50% - 6px) !important;
}
body.td-body.zpcity .gallery-columns-3 .gallery-item {
	width: calc(33.333% - 7px) !important;
}
body.td-body.zpcity .gallery-columns-4 .gallery-item {
	width: calc(25% - 8px) !important;
}
body.td-body.zpcity .gallery-item img {
	border: none !important;
}
body.td-body.zpcity .gallery br{
	display: none !important;
}
@media (max-width:990px){
	body.td-body.zpcity .gallery-columns-3 .gallery-item,
	body.td-body.zpcity .gallery-columns-4 .gallery-item {
		width: calc(50% - 6px) !important;
	}
}
@media (max-width:500px){
	body.td-body.zpcity .gallery-columns-2 .gallery-item,
	body.td-body.zpcity .gallery-columns-3 .gallery-item,
	body.td-body.zpcity .gallery-columns-4 .gallery-item {
		width: 100% !important;
	}
}


body.td-body.zpcity .main-content .content h2 {
	font-size: 42px;
}

body.td-body.zpcity .article .post-cover img, body.td-body.zpcity article .post-cover img {
	object-fit: contain;
}