/* Alap beállítások */
body {
	background-color:white; /* háttérszín */
	color: #006; /* alap bet?típus színe */
	font-size:100%; /* alap bet?típus mérete*/
	margin-top:20;
	margin-left:20;
	font-family:"Verdana", Times, sans-serif;}

h1 {
	color:#006; /* bet?típus színe */
	font-size:1.5em; /* bet?típus mérete*/
	font-family:"Verdana", Times, sans-serif;}

table{
	border-collapse:collapse;}
	
table, td, th{
	border:0px solid grey;} /* tábla keret */

th{
	background-color:green; /* tábla fejléc háttérszín */
	color:white;} /* tábla fejléc bet?szín */


/* Small reset */

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
	display:block;}

ul{
	list-style: none;
	margin: 0;
	padding: 0;}

a{
	color: #6F3736;}      

/* Clear floats */

.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;}

.clearfix{
  *zoom: 1;
}

/* --------------------------------------------------- */

footer{
    text-align: right;
    width: 960px;
    margin: 0 auto;
    padding: 10px 0;
}

#tw, #fb{
    float: right;
    width: 130px;
    margin: 10px 0 0 0;
    overflow: hidden;
}

/* --------------------------------------------------- */        

#main{
    margin: 0px auto;
    width: 960px;
}

aside{
    float: left;
    width: 240px;
    margin-right: 10px;
}

#content{
    float: left;
    width: 690px;
}

article{
    position: relative;            
    padding: 20px;
    margin: 0 0 20px 0;
    text-align: center;
    background: #fff;
    box-shadow: 0 1px 1px #999;
    border-radius:5px;            
}

article:before, article:after{
  z-index: -1;
  position: absolute;
  content: "";
  bottom: 15px;
  left: 10px;
  width: 50%;
  top: 80%;
  max-width:300px;
  background: rgba(0, 0, 0, 0.7);
  box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
  transform: rotate(-3deg);
}

article:after{
  transform: rotate(3deg);
  right: 10px;
  left: auto;
}        

article footer{
    text-align: center;
    width: auto;
}

article footer span{
  padding: 0 10px 0 12px;
  margin: 0 0 0 12px;
  background: #bbb;
  color: #fff;
  font: bold 12px/24px arial, helvetica;
  display: inline-block;
  position: relative;
  text-shadow: 0 1px 0 #999;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 1px 0 #fff, 0 1px 0 #999 inset;
}

article footer span:before{
  content: "";
  position: absolute;
  top: 0;
  left: -12px;
  width: 0;
  height: 0;
  border-color: transparent #bbb transparent transparent;
  border-style: solid;
  border-width: 12px 12px 12px 0;
}
 
article footer span:after{
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 2px;
  background: #fff;
  box-shadow: -1px -1px 2px #777;
}        

figure{
    margin: 1em 0;
}

figcaption{
    margin: 0.5em 0;
    font-style: italic;
    font-size: 0.9em;
    color: #777;
}

/* Függ?leges menü */

/* Menüsor pozíció */

#menu li{
  margin: 0px 0px 2px 10px;             
}

/* F?menü */

#menu a{
  display: block;
  *display: inline-block;
  *width: 200px;
  text-decoration: none;	            
  background: white;
  color: green;	
  padding: 10px 5px;
  text-transform: uppercase;
  font: bold 10px Arial,Helvetica;          
  border-radius:5px;
  box-shadow: 0 1px 0 #ccc;   
}

/* F?menü kiválasztva*/

#menu a:hover{
    color: white;
    background: green;
    background: linear-gradient(top, #bbb, #999);          
}

#menu .expandable{
    position: relative; 
}

#menu .expandable:before,
#menu .expandable:after{
  content: '';
  position: absolute;
  right: 5px;
  margin-top: 5px;
  border-top: 6px solid #444;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;          
}

#menu .expandable:before{
   border-top-color: #fff;
   margin-top: 6px;
}

#menu .expanded:after{
  border-top: 0;
  border-bottom: 6px solid #444;       
}

#menu .expanded:before{
    border-top: 0;
    border-bottom: 6px solid #fff;               
}

/* Almenü inaktív */

#menu ul a{
    background: white;
    text-transform: capitalize;
    font-weight: bold;            
}

/* Almenü aktív */

#menu ul a:hover{
    background: blue;
    color: red;
}    