/*
 Theme Name:   Gazeta Dambovitei
 Theme URI:    https://adicodreanu.info
 Description:  Gazeta Dambovitei
 Author:       Adrian Codreanu
 Author URI:   https://adicodreanu.info
 Template:     generatepress
 Version:      0.1
*/
html {
	text-underline-offset: 5px;
}
:root {
	--black1: #000;
	--grey1: #888;
	--red1: #e52140;
}
.inside-header,
.widget-area .widget {
	padding: 5px;
}
body header .inside-header {
	display: flex;
	flex-direction: column-reverse !important;
}
header .inside-header .header-widget {
	margin: 0 auto !important;
	padding: 0;
}

.site-logo {
	margin: 20px auto;
}
.single .post h1,
.single .post h2,
.single .post h4,
.single .post h3 {
	font-weight: bold;
	line-height: 1.4em;
}
.single .post p {
	font-size: clamp(15px, 1vw + 10px, 18px);
	line-height: 1.5em;
}
.single h1 {
	font-size: clamp(26px, 2vw + 11px, 32px);
}
.single h2 {
	font-size: clamp(24px, 2vw + 11px, 30px);
}
.single h3 {
	font-size: clamp(22px, 2vw + 10px, 28px);
}
.single h4 {
	font-size: clamp(21px, 2vw + 9px, 26px);
}
.single h5 {
	font-size: clamp(20px, 2vw + 8px, 24px);
}
.inside-article h2 {
	font-size: 18px;
	margin: 0 auto;
}
.inside-article p {
	margin: 0 auto 15px;
}
.inside-article hr {
	margin: 10px auto;
	background: var(--grey1);
}
.text-center {
	text-align: center;
	margin: auto;
}
.one-container .site-content {
	padding: 20px 10px;
}
.category .page-title {
	text-align: center;
	padding: 25px 10px;
	display: block;
	margin: auto;
	color: var(--grey1);
}
.top-bar .inside-top-bar {
	display: flex;
	flex-direction: row;
	padding: 5px;
	justify-content: flex-end;
	gap: 10px;
}
.top-bar .inside-top-bar .widget {
	margin: unset;
	order: unset;
}
.editia {
	font-size: 12px;
	text-align: center;
}
.toptext {
	text-align: center;
}
.morearticles{
	display: block;
	max-width: max-content;
	background: var(--red1);
	color:#fff;
	text-decoration: none;
	padding: 10px;
	margin: 0 auto 20px;
	
}
.morearticles:hover,
.morearticles:active {
	background: var(--black1);
	color: #fff;
}
/*nav*/
#nav-below {
	width: 100%;
	justify-self: center;
	text-align: center;
}
#site-navigation {
	border-top: 1px solid var(--grey1);
	border-bottom: 3px double var(--grey1);
}
.main-navigation .main-nav ul li a {
	padding: 10px;
	line-height: 1.3em;
}
.nav-align-center .main-nav > ul {
	justify-content: center;
	width: 100%;
}
#primary-menu {
	width: 100%;
}
/*blog*/
.category .page-header{
	display: block;
	margin: auto;
	width: 100%;
}
.category .post.type-post,
.blog .post.type-post {
	display: flex;
	flex-direction: column;
	width: 32.3%;
	border-bottom: 1px solid #000;
}
.category .site-main,
.blog .site-main {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
}
.category .post.type-post .entry-summary,
.blog .post.type-post .entry-summary {
	display: none;
}

.category .post.type-post .entry-title,
.blog .post.type-post .entry-title {
	font-size: 18px;
	font-weight: bold;
}
.category .post.type-post .posted-on,
.blog .post.type-post .posted-on {
	font-size: 12px;
}
.category .post.type-post footer.entry-meta,
.blog .post.type-post footer.entry-meta {
	padding: 0;
	margin: 0;
	font-size: 12px;
}
.category .post.type-post footer.entry-meta a,
.blog .post.type-post footer.entry-meta a {
	color: var(--grey1);
	text-decoration: none;
}
.category .post.type-post .post-image,
.blog .post.type-post .post-image {
	margin: 0;
}
.category .post.type-post .post-image img,
.blog .post.type-post .post-image img {
	height: 250px;
	object-fit: cover;
}
.category .post.type-post .inside-article,
.blog .post.type-post .inside-article {
	display: flex;
	flex-direction: column
}
.category .post.type-post .inside-article .post-image,
.blog .post.type-post .inside-article .post-image {
	order: 1;
}
.category .post.type-post .inside-article .entry-header,
.blog .post.type-post .inside-article .entry-header {
	order: 2;
}
.category .post.type-post .inside-article .entry-meta,
.blog .post.type-post .inside-article .entry-meta {
	order: 3;
}
/*article*/
.inside-article > .featured-image {
	text-align: center;
}
.size-auto,
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
	margin: auto;
}
.single .inside-article .entry-title {
	padding: 10px;
}
.single .inside-article .entry-date {
	font-size: 12px;
	font-style: italic;
}
.single .entry-meta .cat-links {
	border-top: 1px solid var(--grey1);
	border-bottom: 1px solid var(--grey1);
	text-align: center;
}
.single .entry-meta .cat-links a {
	color: var(--grey1);
	text-transform: capitalize;
	text-decoration: unset;
	font-size: 12px;
}
.single .entry-meta .cat-links a:hover,
.single .entry-meta .cat-links a:active {
	text-decoration: underline;
	color: var(--red1);
}
#nav-below .gp-icon {
	display: inline-block;
}
#nav-below div {
	margin: 15px auto;
}
#nav-below a {
	line-height: 1.3em;
	text-decoration: none;
	font-weight: bold;
	color: var(--black1);
}
#nav-below a:hover,
#nav-below a:active {
	text-decoration: underline;
}
.tags-links a {
	color: var(--grey1);
	text-decoration: none;
	font-size: 10px;
	line-height: 1;
	display: inline-block;
	padding: 0;
	font-style: italic;
	text-transform: capitalize;
	text-align: center;
}
.socialmedialinks  {
	list-style: none;
	text-align: center;
	margin: 40px auto 20px;
	border-top:1px solid var(--grey1);
	padding-top: 30px;
}
.socialmedialinks span {
	font-weight: bold;
	font-size: 18px;
	color: var(--red1);
	letter-spacing: 2px;
}
.socialmedialinks img {
	width: 100%;
	max-width: 20px;
	height: auto;
	min-width: 20px;
}
.smlinks {
	display: flex;
	justify-content: center;
}
.socialmedialinks a {
	text-decoration: none;
	display: flex;
	gap:10px;
	align-items: center;
	margin: 10px;		
	color: var(--dark1);
}
.socialmedialinks a:hover {
	color: var(--red1);
}
/*hide*/
.entry-meta .gp-icon,
.byline,
.entry-header .cat-links,
.entry-header .comments-link,
.entry-header .tags-links,
.group-blog .byline,
.single .byline,
.home-widgets .w-title{
	display: none !important;
}
/*reclame*/
.trimitestire {
	display: flex;
	justify-content: center;
	text-align: center;
	padding: 10px;
	margin: 20px auto;
	border: 1px solid var(--grey1);
	color: var(--red1);
}
.headerimg,
.imgsubarticole {
	display: flex;
	margin: 10px auto;
	flex-wrap: wrap;
	max-width: 800px;
	justify-content: center;
}
.headerimg a,
.imgsubarticole a {
	min-width: 30px;
	max-width: 500px;
	width: 50%;
}
.imgsubarticole a img {
	width: 100%;
	min-width: 30px;
	max-width: 800px;
}
.rightbanners a {
	max-width: 250px;
	display: flex;
	margin: 10px auto;
	align-items: center;
}
.rightbanners img {
	width: 100%;
}
.imgsubmeniu {
	display: flex;
	max-width: 900px;
	margin: 10px auto;
	align-items: center;
	flex-wrap: wrap;
}
.imgsubmeniu a {
	display: flex;
	flex: 1 1;
	width: 100%;
	min-width: 160px;
}
.headerimg img,
.imgsubmeniu img {
	height: 100%;
	width: 100% !important;
}
.img2xsquare {
	display: flex;
	align-items: center;
	max-width: 500px;
	margin: auto;
}
.img2xsquare a {
	width: 50%;
}
.img2xsquare img {
	min-width: 100px;
	width: 100%;
	height: 100%;
}
.customscript {
	display: block;
	width: 100%;
	flex: 1;
	height: 170px !important;
}
.customscript img {
	max-height: 89% !important;
}
[alt="Advertisement"] {
	height: 0 !important;
}
@media (max-width: 960px) {
	.widget_search .search-form {
		width: 100%;
		display: flex;
		max-width: 100%;
	}
	.widget_search .search-form label {
		width: 100%;
	}
	.rightbanners {
		display: flex;
		flex-wrap: wrap;
	}
	.rightbanners a {
		width: 50%;
	}
	.customscript {
		height: 17vw !important;
	}
}
@media (max-width: 600px) {
	.headerimg a {
		width: 100%;
	}
	.customscript {
		height: 37vw !important;
		min-width: 50% !important;
	}
	.imgsubmeniu a {
		min-width: 40%;
	}

	.imgsubarticole a {
		width: 100%;
	}
}
/*footer*/
.site-footer {
	border-top: 3px double var(--grey1);
	margin-top: 20px;
}
.footerwidgets ul {
	margin: 0;
}
.footerwidgets li {
	list-style: none;
}
.footerwidgets a {
	text-decoration: none;
	color: var(--grey1);
}
.footerwidgets a:hover {
	color: var(--red1);
}
.footerwidgets,
.copyright-bar {
	display: flex;
	font-family: Arial, sans-serif;
	font-size: 13px;
	justify-content: space-between;
	color: var(--grey1);
	padding: 30px 20px 20px;
	flex-wrap: wrap;
	max-width: 1300px;
	margin: auto;
}
/*displayposts*/
.grid-layout {
	list-style: none;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 5px;
	margin: auto;
	justify-content: center;
}
.grid-layout .listing-item {
	border-bottom: 1px solid var(--grey1);
	padding-bottom: 20px;
	margin: 10px;
}
.grid-layout .listing-item:hover .title {
	text-decoration: underline;
}
.grid-layout .listing-item a.title {
	font-size: 16px;
	line-height: 1.3em;
	display: block;
}
.grid-layout .listing-item a {
	color: var(--black1);
	text-decoration: none;
}
.grid-layout .listing-item img {
	object-fit: cover;
	height: 200px;
}
.grid-layout .listing-item .date,
.grid-layout .listing-item .category-display {
	display: block;
	font-size: 11px;
	color: var(--grey1);
	line-height: 1;
	margin-top: 5px;
	font-style: italic;
}
.grid-layout .listing-item .category-display a {
	color: var(--grey1);
}
.list-layout {
	list-style: none;
	margin: auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.listing-item .excerpt {
	font-size: 12px;
	display: inline-block;
	margin-bottom: 10px;
}
.excerpt-dash {
	display: none;
}
.list-layout .listing-item {
	margin: 10px;
}
.list-layout a {
	text-decoration: none;
	color: var(--red1);
	line-height: 1.2em;
	display: block;
}
.list-layout a:hover,
.list-layout a:active {
	color: var(--black1);
}
.list-layout .date {
	font-size: 12px;
	color: var(--grey1)
}
.list-layout .listing-item {
	border-bottom: 1px solid var(--grey1);
	margin-bottom: 15px;
}
.listing-item .excerpt-more {
	display: none;
}
.category-display-label + a {
	text-transform: capitalize;
}
.sub-articol h4,
.home-widgets h4 {
	text-align: center;
}
.sub-articol h4 + ul,
.home-widgets h4 + ul {
	list-style: none;
	margin: auto;
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	flex-wrap: wrap;
}
.sub-articol h4 + ul li,
.home-widgets h4 + ul li {
	display: block;
}
.sub-articol h4 + ul li a, 
.home-widgets h4 + ul li a {
	text-decoration: none;
	text-transform: capitalize;
	border: 1px solid var(--grey1);
	padding: 5px 10px;
	font-size: 14px;
	color: var(--black1);
	line-height: 1;
	display: flex;
	align-items: center;
	min-height: 50px;
}
.sub-articol h4 + ul li a:hover,
.home-widgets h4 + ul li a:hover,
.home-widgets h4 + ul li a:active {
	border-color: var(--red1);
}
/*search*/
.top-bar {
	position: relative;
}
.top-bar .search-form {
	position: absolute;
	z-index: 99;
	display: none;
	left: 50px;
	top: 5px;
	background: rgb(255, 255, 255);
	border-bottom: 1px solid var(--grey1);
}
.top-bar .search-form .search-field {
	padding: 2px;
	font-size: 14px;
	background: transparent;
	border: transparent;
}
.top-bar .search-form .search-submit {
	padding: 2px;
}
.top-bar .search-form .search-submit svg {
	font-size: 12px;
}
.seacrhico {
	padding: 5px;
	display: grid;
	place-content: center;
	background: var(--grey1);
	position: absolute;
	left: 0;
	z-index: 99;
	top: 0;
	height: 30px;
	width: 30px;
}
.seacrhico.active svg {
	display: none;
}
.seacrhico.active:after {
	content: 'X';
	padding: 0;
	font-family: sans-serif;
}
.seacrhico:hover {
	background: var(--black1);
}
.seacrhico svg {
	fill: #fff;
	padding: 0px;
}
/*mobile*/
@media (max-width: 767px) {
	.grid-layout {
		gap: 2px;
		grid-template-columns: repeat(auto-fit, minmax(40%, 1fr));
	}
	.grid-layout .listing-item {
		margin: 5px;
	}
	.category .site-main,
	.blog .site-main {
		flex-direction: column;
		gap: 10px;
	}
	.category .post.type-post,
	.blog .post.type-post {
		width: 100%;
	}
	.category .post.type-post .post-image img,
	.blog .post.type-post .post-image img {
		height: 50vw;
	}
	.nav-align-right .inside-navigation,
	.nav-align-center .inside-navigation {
		justify-content: center;
	}
	.main-navigation.toggled .main-nav li {
		padding-left: 5vw;
		max-width: max-content;
	}
	.post.type-post {
		width: 100%;
	}
	.top-bar .inside-top-bar {
		justify-content: center;
		flex-direction: column;
	}
	.top-bar .search-form {
		max-width: 300px;
		left: 34px;
	}
	.top-bar .inside-top-bar {
		gap: 0;
	}
	.toptext {
		font-size: 12px;
	}
	.headerimg {
		max-width: 89%;
		gap: 4px;
	}
	.menu-toggle {
		line-height: 3.3em;
	}
	.secondline .grid-layout {
		display: flex;
		flex-wrap: wrap;
	}
	.secondline .grid-layout .listing-item {
		width: 45%;
	}
	.secondline .grid-layout .listing-item:last-of-type {
		width: 100%;
	}
}
@media (max-width: 500px) {
	.grid-layout .listing-item img {
		height: 220px;
	}
	.grid-layout {
		gap: 2px;
		grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	}
}
@media (min-width: 1100px) {
	.site-content .is-right-sidebar {
		width: 20%;
	}
	.single .content-area {
		width: 80%;
		margin-left: 10%;
	}
	.grid-layout {
		gap: 2px;
		grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	}
	.headerimg {
		max-width: 96%;
    gap: 2px;
		flex-wrap:nowrap;
	}
}
@media (min-width: 900px) {
	.firstline {
		max-width: 50%;
		float: left;
		padding-top: 10px;
	}
	.firstline .grid-layout {
		grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	}
	.firstline .grid-layout .listing-item {
		border: 0px;
	}
	.secondline {
		border-top: 1px solid var(--grey1);
		padding-top: 10px;
	}
	.home-widgets:nth-of-type(2) {
		max-width: 50%;
		float: left;
		margin-bottom: 20px;
		margin-top: 10px;
	}
	.home-widgets:nth-of-type(3) {
		clear: both;
	}
	.secondline .grid-layout .listing-item img {
		min-height: 270px;
	}
	.asideimage .listing-item {
		display: flex;
		flex-direction: column;
		position: relative;
	}
	.asideimage .listing-item:nth-of-type(2):after {
		content: '';
		position: absolute;
		height: 90%;
		top: 10px;
		border-right: 1px solid var(--grey1);
		right: -10px;
	}
}

@media print {
.header-widget,
.undernav,
#right-sidebar,
.addtoany_share_save_container,
.uderarticles,
footer.entry-meta,
.socialmedialinks,
.footerwidgets,
.generate-back-to-top,
#cookie-law-info-again,
#search-19, 
.seacrhico{
	display: none !important;
}
.site-header .header-image {
  max-width: 200px;
}
.wp-post-image,
.inside-article img {
	max-width: 400px;
	margin:auto;
}
	.one-container .inside-article > .featured-image {
	margin-bottom: 0 !important;
}
	.site-logo{
	padding: 0 !important;
	margin: 0 auto;
		
}
.entry-content{
	margin-top: 0px !important;
	padding: 0 !important;
}
.copyright-bar{
	padding: 0 20px !important;
}
.single .inside-article .entry-title {
	font-size: 22px;
}
.inside-article p {
	font-size: 12px !important;
}
.site-content .content-area {
	width: 100%;
}
}
/*agenda politica*/
.agendapolitica{
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 250px;
	margin:20px auto;
	width: 100%;
}
.agendapolitica:hover h3 {
	color: var(--accent);
}
.logopartide{
	display: flex;
	
	justify-content: center;
	gap:5px;
}
.logopartide a {
transition: 0.3s;
flex: 1;
}
.logopartide a:hover img,
.logopartide a:active img{
	transform: scale(0.9);
}
.logopartide  img {
	max-width: 154px;
	transition: 0.3s;
		min-width: 0;
  width: 100%;
}
.sub-articol .logopartide img {
	max-width: 120px;
}
.sub-articol  .agendapolitica {
	min-height:unset;
	margin:5px auto;
}

/*fixed header*/
@media (max-width: 767px) {
	.fixedtop .site-header .header-image {
		max-width: 300px;
	}
	.fixedtop .site-logo {
		margin: 0;
		position: fixed;
		top: 0;
		left: 0;
		background: #fff;
		z-index: 999;
	}
	.fixedtop .menu-toggle .gp-icon + .mobile-menu {
		display: none;
	}
	.fixedtop #site-navigation {
		border: 0;
		position: fixed;
		top: 0;
		right: 0;
		z-index: 998;
		width: 100%;
		box-shadow: 0 0 10px #333;
	}
	.fixedtop .main-navigation .inside-navigation {
		justify-content: flex-end;
	}
	.fixedtop .has-menu-bar-items button.menu-toggle {
		margin-top: 5px;
	}
		.fixedtop .main-navigation .menu-toggle {
		position: absolute;
		background: #fff;
		top: 0px;
		z-index: 999;
		right: 0;
	}
	.fixedtop .inside-header .site-logo  {
		background: #fff;
		width: 100%;
		text-align: left;
		z-index: 888;
		min-height: 50px;
	}
}