@charset "utf-8";
/*
Theme Name: Akkumulátor Pláza
Theme URI: https://www.akkumulator-plaza.hu
Author: tigaman webdesign
Author URI: https://www.tigaman.hu/
Description: mindent az akkumulátorokról 
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: responsive-layout, custom-menu, featured-images, responsive, mobil ready
*/
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&display=swap');
@import url('font-awesome.min.css');
@import url("mobil-navigation.css");
@import url("darkmode.css");
@import url("404.css");
@media screen and (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;    
        

  }
}

body {
	margin: 0;
	padding: 0;
	font-size: 10px;
	font-family: 'Oswald', sans-serif;
	background-size: cover;
	background-color: #fff;
	background-attachment: fixed;
	background-image: url(images/bg.webp);
	background-position: center top;
}

a {
	text-decoration: none;
	color: #333333;
	transition: color .8s ease-out
}
a:hover {
	text-decoration: none;
	color: rgba(131,141,143,1);
	transition: color .8s ease-out
}
.clear {
	clear: both;
}
blockquote {
	border: 0;
	background: #eeeeee;
	margin: 3vw 0;
	padding: 1em;
	font-size: 130%;
	line-height: 1em;
	position: relative;
    font-family: 'Oswald', sans-serif;
	

}
blockquote:before {
	color: #9BA78A;
	font-family: 'FontAwesome';
	content: '\f10e';
	font-size: 5em;
	left: 1%;
	top: .5em;
	position: absolute;
	opacity: .2;
}

h1, h2, h3, h4, h5 {
	font-family: 'Oswald', sans-serif;
	font-weight: 300;
	text-transform: uppercase;
}




#menu {
	display: flex;
	width: 90%;
	position: sticky;
	top: 0;
	background-color: #FFFFFF;
	justify-content: space-between;
	align-items: center;
	margin: 10px auto;
	z-index: 2;

}

.logo {
	width: 30%;
	background-color: #FF33CC;
}
.logo img {
	width: 90%;
	height: auto;
	margin: 10px 5%;
} 

 .social-buttons {
	width: 50px;
	position: relative;
}
.toggle-switch {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);display:none;
}


.menu {
	width: calc(80% - 50px);
	margin: 0px auto 0 auto;
}

.menu ul {
	list-style-type: none;
	padding: 0;
	margin: 0;  
	display: flex;
	justify-content: space-around;
}

.menu li {
	position: relative;
	display: inline-block;
	text-transform: uppercase;
	font-size: 120%;
	font-weight: 400;
	letter-spacing: .4em;
	margin: 0 3vw;
}

.menu li a {
  display: block;
  padding: 10px;
  color: #000;
  text-decoration: none;
}
.menu li a:hover {
	color: #FF33CC;
	transition: .4s ease-in-out;
}

		
/* submenu  */
.menu li:hover > ul {
	display: flex;
	flex-direction: column;
	animation: slide-in 0.3s ease-in-out;
}
.menu ul ul {
	position: absolute;
	top: 100%;
	left: 0;
	display: none;
	background-color: #FF33CC;

}


.menu ul ul li {
	position: relative;
	margin: 0;
	list-style-type: none;
	border-bottom: 1px solid rgba(255, 255, 255, .9);	

}
.menu ul ul a {
  padding: 1em 2em;
  color: #fff;
  display: block;
  text-decoration: none;
  font-size: 70%;
  letter-spacing: 1px;  
  white-space: nowrap; 
  background: linear-gradient(to right, #FF33CC, #000000);
  background-size: 200% 100%; 
  transition: background-position 0.5s ease;

}

.menu ul ul a:hover {
  background-position: -100% 0; /* Move the background position to the left */
}



.menu li > a:after {
	content: '+';
	position: absolute;
	right: -15px;
	top: 45%;
	transform: translateY(-50%);
	font-size: 250%;
	opacity: 1;
	color: #FF33CC;
}
.menu li > a:only-child:after { content: ''; }
@keyframes slide-in {
    0% {
        transform: translateX(-10px); /* Change translateY to translateX */
        opacity: 0;
    }
    50% {
        transform: translateX(0); /* Change translateY to translateX */
        opacity: 1;
    }
    70% {
        transform: translateX(-5px); /* Change translateY to translateX */
    }
    100% {
        transform: translateX(0); /* Change translateY to translateX */
    }
}

.headline {
	background-color: #FF33CC;
	width: cacl(100% - 40px);
	padding: 20px;
	text-align: center;
	margin: 20px 0;
	color: #FFFFFF;
}
.headline h1 {
	font-size: 400%;
	margin: 0 0 0 0;

	font-weight: 700;
}
.headline span {
	font-size: 200%;
	font-weight: 400;
	margin: 0 0 0 0;

}

#content {
	width: 90%;
	margin: calc(25px - 1.5625vw) auto;
}



.topslider{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: 1fr;
	grid-column-gap: 2em;
	margin: 0 0 2em 0;
}

.slider {
	grid-area: 1 / 1 / 2 / 3;
	background-color: #FF00CC;
}

.info {
	text-transform: uppercase;
	font-size: 120%;
	font-weight: 400;
	letter-spacing: 0.4em;
	grid-area: 1 / 3 / 2 / 4;
	color: #FFFFFF;
	padding: 2em;
	text-align: center;
	background-color: #FF33CC;
	line-height: 0.6;
}
.info img {
	width: 60%;
	height: auto;
	margin: 1em 0 3em 0;
}





.newsgrid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: 1fr;
	grid-column-gap: 2em;
} 

.newsgriditem {
	border: 1px solid #FF33CC;
	padding: 2% 2% 70px 2%;
	margin: 0 0 2em 0;
	text-align: center;
	position: relative;
	background-color: #FFFFFF;
	cursor: pointer;
}
img.ads{
	width: 100%;
	height: auto;
	margin: 0px auto;
}


.newsgriditem h2 {
	font-size: 250%;
	margin: 0 0 0 0;
}
.newsgriditemimage {
	width: 100%;
	height: auto;
	padding: 50% 0 0 0;
	margin: 0 0 1vw 0;
	position: relative;

}
.background-zoom {
	background-position: center center;
	transition: background-size 2s;
	background-size: 100% auto;	
}



.newsgriditem:hover .background-zoom, 
.sidebarnews:hover .background-zoom {
	background-size: 150% auto;  transition: background-size 2s;	background-position: center center;
}

.background-zoom:focus{
	background-size: 100% auto;  transition: background-size 2s;	background-position: center center;
}
.newscategory {
	position: absolute;
	top: 0px;
	right: 0px;
	background-color: #FF33CC;
	color: #FFFFFF;	
}
.newsdate {
	position: absolute;
	top: 0;
	left: 0;
	background-color: #FF33CC;
	color: #FFFFFF;
	padding: 5px;
	font-size: 150%;
}


.newsgriditem p {
	text-align: left;
	color: rgba(0,0,0,.7);
	font-size: 145%;
	font-weight: 300;
}

.readmore {
	background-color: #FF33CC;
	color: rgba(255,255,255,1);
	transition: background-color 0.5s ease;
	display: inline-block;
	padding: 20px 0;
	letter-spacing: 0.6em;
	text-transform: uppercase;
	margin:  0 0 0 0;
	font-weight: 500;
	cursor: pointer;
	position: absolute;
	bottom: 10px;
	left: 10%; /* Center horizontally */
	width: 80%;
}
.readmore:hover {
	background-color: rgba(0,0,0,.75);
	transition: background-color 0.5s ease;
}

.fleft {
	float: left;
	width: 70%;	
	margin: 0 2% 0 0;
}
.content {
	width: calc(100% - 2px - 4em);
	margin: 0 0 2em 0;
	border: 1px solid #FF33CC;
	padding: 2em 2em 50px 2em;
	font-size: 160%;
	color: rgba(0,0,0,.7);
	position: relative;
	font-weight: 300;
		background-color: #FFFFFF;

}
.content h1 {
	margin: 0;
	padding: 0;
}
.content img, .wp-caption {
	max-width: 90%;
	height: auto;
}

.more-link {
	background-color: #FF33CC;
	color: rgba(255,255,255,1);
	transition: background-color 0.5s ease;
	padding: 5px 10px;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	margin: 10px 0 0 0;
	font-weight: 500;
	cursor: pointer;
	position: absolute;
	right: 0px;
	bottom: 0px;
	font-size: 80%;
}
.more-link:hover {
	background-color: rgba(0,0,0,.75);
	transition: background-color 0.5s ease;
}

.syndicated-attribution {
	-webkit-transition: background-position .3s;
	-o-transition: background-position .3s;
	-moz-transition: background-position .3s;
	transition: background-position .3s;
	background-image: -webkit-linear-gradient(right, #000000 50%, transparent 49%);
	background-image: -moz-linear-gradient(right, #000000 50%, transparent 49%);
	background-image: -o-linear-gradient(right, #000000 50%, transparent 49%);
	background-image: linear-gradient(to left, #000000 50%, transparent 49%);
	-webkit-background-size: 200% 200%;
	-moz-background-size: 200% 200%;
	-o-background-size: 200% 200%;
	background-size: 200% 200%;
	background-color: #FF33CC;
	color: #FFFFFF;
	padding: 5px 10px 10px 35px;
	display: block;
	width: fit-content;
	font-weight: 600;
	margin: 20px auto;
	position: relative;
	border-radius: 4px;				
	box-shadow: 0 0 5px #333;
}
.syndicated-attribution::before {
	content: "";
	display: inline-block;
	width: 20px;
	height: 20px;
	background-image: url('images/info.png');
	background-size: cover;
	position: absolute;
	left: 10px;
	top: 10px;
}
.syndicated-attribution:not(:disabled):not(.button_disabled):hover {
    background-position: -100% 0
}
.syndicated-attribution a {
	color: #FFFFFF;
	border-bottom: 1px solid #FFFFFF;
}
.syndicated-attribution span {
	font-weight: 400;
	margin: 0 0 0 10px;
}

.featuredtitle {
	background-color: #FF33CC;
	padding: 10px;
	display: table-cell;
	margin: 30px 0;
	color: #FFFFFF;
}
.featuredgrid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: 1fr;
	grid-column-gap: 2em;
} 

.featuredgriditem {
	border: 1px solid #FF33CC;
	padding: 2% 2% 70px 2%;
	margin: 0 0 2em 0;
	text-align: center;
	position: relative;
	background-color: #FFFFFF;
	cursor: pointer;
}

.featuredgriditem h2 {
	font-size: 250%;
	margin: 0 0 0 0;
}
.featuredgriditemimage {
	width: 100%;
	height: auto;
	padding: 50% 0 0 0;
	margin: 0 0 1vw 0;
	position: relative;

}

.featuredgriditem:hover .background-zoom, 
.sidebarfeatured:hover .background-zoom {
	background-size: 150% auto;  transition: background-size 2s;	background-position: center center;
}

.featuredcategory {
	position: absolute;
	top: 0px;
	right: 0px;
	background-color: #FF33CC;
	color: #FFFFFF;	
}
.featureddate {
	position: absolute;
	top: 0;
	left: 0;
	background-color: #FF33CC;
	color: #FFFFFF;
	padding: 5px;
	font-size: 150%;
}


.featuredgriditem p {
	text-align: left;
	color: rgba(0,0,0,.7);
	font-size: 145%;
	font-weight: 300;
}


.sidebar {
	float: left;
	width: calc(28% - 2px);
	margin: 0;
}
.box {
	margin: 0px 0 30px 0;
	border: 1px solid #ffffff;
	color: #FFFFFF;
background: rgb(171,22,59);
background: linear-gradient(177deg, rgba(171,22,59,1) 0%, rgba(255,51,204,1) 35%);
}
.box:last-child {
	margin: 0px 0 0px 0;

}
 h2.boxtitle{
	border-bottom: 1px solid #ffffff;
	text-align: center;
	width: 80%;
	margin: 0 10%;
	padding: 1vw 0;
	font-size: 200%;
	color: #FFFFFF;
}
 h2.boxtitle a{

	color: #FFFFFF;
}

.boxcontent {
	padding: 10px  20px;
	font-size: 135%;
}
.boxcontent img {
	max-width:100%;
}

.boxcontent ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.boxcontent li  {
	margin: 0 0 5px 0;
}

.post-date {
	font-size: 80%;
}
.boxcontent a  {
	text-transform: uppercase;
	font-weight: 300;
	color: #FFFFFF;
	display: block;
}
.boxcontent a:hover  {
	text-shadow: 2px 2px 2px #000;
	color: #BB6AD5;
	transition: .4s color ease-in;

}

.searchform .screen-reader-text {
	display: none;
}
.searchform input[type="text"] {
	width: calc(80% - 20px);
	padding: 9px 10px;
	margin: 0 10px 0 0 ;
}
.searchform input[type="submit"] {
	width: calc(20% - 20px);
	padding: 10px;
	color: #fff;
	border: 1px solid #ffffff;
	cursor: pointer;
	margin: 0  0 0 0;
	text-indent: -9999px;
	background-image: url(images/search.png);
	background-position: center center;
	background-repeat: no-repeat;
	background-color: #FF33CC;
	background-size: 20px auto;
}


.searchform input[type="submit"]:hover {

	background-size: 22px auto;
}



#footer {
	width: 100%;
background: rgb(171,22,59);
background: linear-gradient(177deg, rgba(171,22,59,1) 0%, rgba(255,51,204,1) 35%);
	color: #FFF;
	margin: 3vw 0 0 0;
	font-size: 150%;
	font-weight: 400;
	border-top: 1px solid #ffffff;
}
#footer a {
	font-weight: 500;
	color: #FFF;	
}
#footer a:hover {

	border-bottom: 1px solid #fff;
}

.footer1 {
	padding: 100px 0 ;
	width: 90%;
	margin: 0 auto;
	position: relative;
}


.top {
	background-color: #FF33CC;
	color: rgba(255,255,255,1);
	transition: background-color 0.5s ease;
	padding: .7vw 1vw 1vw 1vw;
	font-size: 100%;
	border: 1px solid #FFFFFF;
	position: absolute;
	top: -2vw;
	left: 50%;
	transform: translateX(-50%);	
}
a.top , a.top:hover {
	color: rgba(255,255,255,1);
}
.top:hover {
	background-color: rgba(102,102,102,1);
	transition: background-color 0.5s ease;
}




.pagination {
	display: flex;
	justify-content: space-between;
	width: 30%;
	margin: 20px auto 50px auto;
}

.pagination div {
	width: 30%;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 20px 0;
	color: #FFFFFF;
}

.pagination div:first-child, .pagination div:last-child {
	background-color: #FF33CC;
	color: #FFFFFF;
	cursor: pointer;	
	border: 1px solid #ffffff;

}
.pagicurrent {
	background-color: #333333;
	color: #FFFFFF;
	font-size: 120%;
	border: 1px solid #ffffff;
}
.pagination div:nth-child(3) {	border: 1px solid #ffffff;	background-color: #FF33CC;}
.pagination div:first-child:hover, .pagination div:last-child:hover {
	background-color: #666666;
	color: #FFFFFF;
}
.pagination div a {
	color: #FFFFFF;
}




.mobil{
	display: none;
}
.nomobil{
	display: inline;
}





/* ----------------------------  mobil -------------------------------------   */
@media screen and (max-width: 980px) {
/**/
.mobil{
	display: inline;
}
.nomobil{
	display: none;
}
body {

	font-size: 10px;

}
#header, #menu {display:none;}
.toggle-switch {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 50%;
  left: calc(100% - 90px);
  transform: translateY(-50%);display:none;
}

#content {
	width: 95%;
	margin: calc(25px - 1.5625vw) auto;
}

.slider {
      grid-area: 1 / 1 / 2 / 4;
}
.info {
      display: none; 
    }


.newsgrid, .featuredgrid {
	grid-template-columns: repeat(1, 1fr);
	grid-template-rows: 1fr;
	grid-column-gap: 1vw;
}
.fleft {
	width: 99.5%;	
	margin: 0 0.25%;
}

.content {
	width: calc(100% - 2px - 2em);
	padding: 1em 1em 50px 1em;
}
.headline h1 {
	font-size: 300%;
	overflow: hidden;
}


.sidebar {
	width: calc(99.5% - 2px);
	margin: 0 .25%;
}
