body {
  margin: 0;
  background-color:#f5f5f0; /*    #ccd9ff; */
  /* font-family: "Times New Roman", sans-serif; */
  font-family: "Calibri", sans-serif;
}

a{
	color: #blue;
	font-weight: bold;
}
a:hover{
	color: #990099;
}




/*--------------Menü elemekhez-----------*/
.sidebar {
  margin: 0px;
  padding: 0px;
  width: 200px;
  background-color: #f5f5f0; /*    #ccd9ff; */
  position: fixed;
  height: 100%;
  overflow: auto;
}
.an1 {
	border-radius: 15px;
}

.an2 {
	border-width: 2px;
	border-color: red;
	border-style: solid;
}

.sidebar a {
  margin: 5px;
  /*border-radius: 15px; */
  display: block;
  color: #000000;
  background-color: #d6d6c2;
  padding: 5px 15px 5px 15px;
  font-size: 20px;
  text-decoration: none;
  text-align: center;
  /*-------------------animation-----------------------*/
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 10px 10px 5px rgba(255, 0, 0, 0);
  -webkit-transition-duration: 1s;
  transition-duration: 1s;
  -webkit-transition-property: transform;
  transition-property: transform;
 /*-------- end animation ------*/
}
 
.sidebar a.active {
  background-color: #7c7c3d;
  color: #ffffff;
}

.sidebar a:hover:not(.active) {
  /*-------------------animation-----------------------*/
  background-color:  #5c5c3d;
  color: white;
   -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  -webkit-transform: scale(0.9);
  transform: scale(0.9);
   /*-------- end animation ------*/
}

div.content {
  margin: 10px 0px 0px 200px;
  padding: 1px 16px;
}

div.ntxt {
	font-size: 18px;
	text-align : Justify
	;
}
/*-------------------hirdetésekhez-------------------------*/
@keyframes example {
  from { transform: rotateY(0deg);}
  to { transform: rotateY(360deg);}
}
@keyframes example1 {
  from { transform: rotateY(180deg);}
  to { transform: rotateY(540deg);}  
}

.imgf {
  position: relative;
  top: 40px;
  width: 100%;
  height: 100%;

}
.imgfront, .imgback {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.imgfront	{
  animation-name: example;
  animation-duration: 3s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.imgback	{
  animation-name: example1;
  animation-duration: 3s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  transform: rotateY(180deg);
}
	
div.hircont {
	width:	100%;
  }
.hircim {
  font-size: 22px;
  text-align: center;
  text-decoration: underline;
  font-weight: bold;
}
.hirfb {
  float: left;
  width: 50%;
  margin: 0px 0px 0px 0px;
  text-align:left;
}
.hirfj {
  float: left;
  width: 50%;
  margin: 0px 0px 0px 0px;
  text-align:right;
}
.hirtorzs {
  width:	100%;	
  float:	left;
  margin:	10px 10px 10px 10px;
  text-align: justify;
  padding:	0px 0px 25px 0px;
}
.ujscim {
  text-decoration-line: underline;
  font-size: 24px;
  text-align: center;
  font-weight: bold;
  margin: 0 0 12px 0;
}
.ujscont {
  width: 100%;
}
.ujsfj {
  float: left;
  width: 50%;
  margin: 0px 0px 0px 0px;
  text-align:right;
}

.ujsfb {
  float: left;
  width: 50%;
  margin: 0px 0px 0px 0px;
  text-align:left;
}

.ujstorzs {
  width: 100%;	
  /*float:left; */
  margin: 10px 10px 10px 10px;
  text-align: justify;
  padding:		0px 0px 25px 0px;
}
h1{
	color: #225d06;
}
h2{
	color: #669900;
}
#kep{float:left}

table, th, td {
	border: 2px solid #5c5c3d;		/* #5c5c3d */
	margin: 10px;
	border-collapse: collapse;
	padding: 0px 10px 0px 10px;
	margin:auto;
}



@media screen and (max-width: 700px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }
  .sidebar a {float: left;}
  div.content {margin-left: 0;}
}

@media screen and (max-width: 500px) {
  .sidebar a {
    text-align: center;
    float: none;
	padding: 5px 16px 5px 16px;
  }
#kep {float:none}
}
