/* CSS Document */
<!--
body {
	margin-top: 0px;
	background-color: #000000;
}
body,td,th {
	font-family: 'Dosis', sans-serif;
	font-size: 15px;
	color: #414141;
}
img
{
  border: 0;
}

/* ez a külső részet */
form#payment {
	background: #FFF9DF;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	padding-top: 20px;
	margin-top: 10px;
	margin-bottom: 10px;
	width: 500px;
	border-color: #81A412;
	border-style: solid;
	border-width: 1px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}
form#payment fieldset {
border: none;
	margin-bottom: 0px;
	
}
form#payment fieldset:last-of-type {
	margin-bottom: 0;
}
form#payment legend {
	color: #384313;
	font-size: 15px;
	padding-bottom: 10px;
	

}
form#payment > fieldset > legend:before {
	counter-increment: fieldsets;
}
form#payment fieldset fieldset legend {
	color: #111111;
	font-size: 14px;
	font-weight: normal;

	padding-bottom: 0;
}
form#payment ol li {
	background: #FFF9DF;
	border-color: #ffffff;

	border-style: solid;
	border-width: 1px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	line-height: 10px;
	list-style: none;
	padding: 0px 10px;
	margin-bottom: 10px;
}
form#payment ol ol li {
	background: none;
	border: none;
	float: left;
}
form#payment label {
	float: left;
	font-size: 15px;
	width: 160px;
}
form#payment fieldset fieldset label {
	background:none no-repeat left 50%;
	line-height: 15px;
	padding: 0 0 0 10px;
	width: auto;
}

form#payment fieldset fieldset label:hover {
	cursor: pointer;
}
form#payment input:not([type=radio]),
form#payment textarea {
	background: #FFF1BB;
	border: none;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
	border-radius: 3px;
font: 'Dosis', sans-serif;
	outline: none;
	padding: 5px;
	width: 250px;
}
form#payment input:not([type=submit]):focus,
form#payment textarea:focus {
	background: #eaeaea;
}
form#payment input[type=radio] {
	float: left;
	margin-right: 5px;
}

/* ez az elküld felirat */
form#payment button {
	background: #81A412;
	border: none;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	-khtml-border-radius: 10px;
	border-radius: 5px;
	color: #000000;
	display: block;
	font: 14px 'Dosis', sans-serif;
	letter-spacing: 1px;
	margin: auto;
	padding: 2px 5px;

}
form#payment button:hover {
	background: #FFF1BB;
	cursor: pointer;
		color: #000000;


}

h1 { 
font-family: 'Dosis', sans-serif;
font-size: 26px;
 color: #81A412;
 margin-bottom:inherit;
 margin-top:inherit;
letter-spacing:2px;
}
h2 { 
font-family: 'Dosis', sans-serif;
font-size: 26px;
 color: #272727;
  margin-bottom:inherit;
 margin-top:inherit;
 letter-spacing:1px;
}
h3 { 
font-family: 'Dosis', sans-serif;
font-size: 20px;
 color: #5B9318;
  margin-bottom:inherit;
 margin-top:inherit;
 letter-spacing:1px;
}
h4 { 
font-family: 'Dosis', sans-serif;
font-size: 14px;
 color: #AA0E12;
  margin-bottom:inherit;
 margin-top:inherit;
 letter-spacing:1px;
}

#h4 a {
	color: #AA0E12;
}


a:link {
	color: #81A412;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #81A412;
}
a:hover {
	text-decoration: underline;
	color: #81A412;
}
a:active {
	text-decoration: none;
	color: #81A412;
}
body {
	margin-top: 0px;
	background-color: #FFFFFF;
}
.style1 {
	color: #FFFFFF;
	font-size: 12px;
}
.style2 {color: #FFFFFF}
.style3 {color: #3B6101}
.style4 {
	color: #333333;
	font-size: 20px;
}
.style5 {color: #666666; font-size: 16px; }
.style6 {
	font-size: 18px;
	font-weight: bold;
}
.style9 {
	font-size: 18px;
	font-weight: bold;
	color: #FF9900}
	
html, body, h1, form, fieldset, legend, ol, li {
	margin: 0;
	padding: 0;
}
body {
	background: #ffffff;
	color: #111111;
	font-family: 'Dosis', sans-serif;
	padding: 0px;
}



#menu, #menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
 
}
#menu {
    width: 1000px;
    margin: 0px auto;
    background-color: #81A412;
    background-image: linear-gradient(#81A412, #3B6101);
}
#menu:before,
#menu:after {
    content: "";
    display: table;
}

#menu:after {
    clear: both;
}

#menu {
    zoom:1;
 
}
#menu li {
    float: left;
    border-right: 1px solid #81A412;
    box-shadow: 1px 0 0 #3B6101;
    position: relative;
 
}

#menu a {
    float: left;
    padding: 12px 16px;
	color: #ffffff; 
    z-index: 997;   
    font: 16px 'Dosis', sans-serif;
    text-decoration: none;
}


#menu li:hover > a {
    color: #FFFFFF;
    background-color: #81A412;
    background-image: linear-gradient(#272727, #000000);
}

*html #menu li a:hover { /* IE6 only */
    color: #fafafa;
}
#menu ul {
    margin: 20px 0 0 0;
    _margin: 0; /*IE6 only*/
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 38px;
    left: 0;
    z-index: 99;    
    background: #444;   
    background: linear-gradient(#, #111);
    box-shadow: 0 -1px 0 rgba(255,255,255,.3);  
    border-radius: 3px;
    transition: all .2s ease-in-out;
}

#menu li:hover > ul {
    opacity: 1;
    visibility: visible;
    margin: 0;
}

#menu ul ul {
    top: 0;
    left: 175px;
    margin: 0 0 0 20px;
    _margin: 0; /*IE6 only*/
    box-shadow: -1px 0 0 rgba(255,255,255,.3);   
	z-index: 9998;      
}

#menu ul li {
    float: none;
    display: block;
    border: 0;
    _line-height: 0; /*IE6 only*/
    box-shadow: 0 1px 0 #111, 0 2px 0 #666;
		z-index: 9999;  
}

#menu ul li:last-child {   
    box-shadow: none;    
}

#menu ul a {    
    padding: 10px;
    width: 190px;
    height: 20px; /*IE6 only*/
    display: block;
    white-space: nowrap;
    float: none;
    text-transform: none;
}


#menu ul a:hover {
    color: #000000;
    background-color: #FFCC00;
    background-image: linear-gradient(#FFCC00, #F9BB02);
}
#menu ul li:first-child > a {
    border-radius: 3px 3px 0 0;
}

#menu ul li:first-child > a:after {
    content: '';
    position: absolute;
    left: 30px;
    top: -6px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #444;
}

#menu ul ul li:first-child a:after {
    left: -6px;
    top: 50%;
    margin-top: -1px;
    border-left: 0; 
    border-bottom: 6px solid transparent;
    border-top: 6px solid transparent;
    border-right: 6px solid #FFCC00;
}

#menu ul li:first-child a:hover:after {
    border-bottom-color: #FFCC00; 
}

#menu ul ul li:first-child a:hover:after {
    border-right-color: #FFCC00; 
    border-bottom-color: transparent;   
}

#menu ul li:last-child > a {
    border-radius: 0 0 3px 3px;
}
$(function() {
  if ($.browser.msie && $.browser.version.substr(0,1)<7)
  {
    $('li').has('ul').mouseover(function(){
        $(this).children('ul').css('visibility','visible');
        }).mouseout(function(){
        $(this).children('ul').css('visibility','hidden');
        })
  }
}); 
$('#menu-wrap').prepend('<div id="menu-trigger">Menu</div>');       
$("#menu-trigger").on("click", function(){
    $("#menu").slideToggle();
});

// iPad
var isiPad = navigator.userAgent.match(/iPad/i) != null;
if (isiPad) $('#menu ul').addClass('no-transition');
#menu-trigger { /* Hide it initially */
    display: none;
}

@media screen and (max-width: 600px) {

    #menu-wrap {
        position: relative;
    }

    #menu-wrap * {
        box-sizing: border-box;
    }

    #menu-trigger {
        display: block; /* Show it now */
        height: 30px;
        line-height: 30px;
        cursor: pointer;        
        padding: 0 0 0 35px;
        border: 1px solid #222;
        color: #fafafa;
        font-weight: bold;
        background-color: #81A412;
        /* Multiple backgrounds here, the first is base64 encoded */
        background: url(data:image/png;base64,iVBOR...) no-repeat 10px center, linear-gradient(#81A412, #3B6101);
        border-radius: 6px;
        box-shadow: 0 1px 1px #777, 0 1px 0 #666 inset;
		 z-index: 99;  
    }

    #menu {
        margin: 0; padding: 10px;
        position: absolute;
        top: 40px;
        width: 100%;
        display: none;
        box-shadow: none;       
    }

    #menu:after {
        content: '';
        position: absolute;
        left: 25px;
        top: -1px;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid #444;
    }   

    #menu ul {
        position: static;
        visibility: visible;
        opacity: 1;
        margin: 0;
        background: none;
        box-shadow: none;               
    }

    #menu ul ul {
        margin: 0 0 0 20px !important;
        box-shadow: none;       
    }

    #menu li {
        position: static;
        display: block;
        float: none;
        border: 0;
        margin: 5px;
        box-shadow: none; 
		        
    }

    #menu ul li{
        margin-left: 20px;
        box-shadow: none;       
    }

    #menu a{
        display: block;
        float: none;
        padding: 0;
        color: #999;
    }

    #menu a:hover{
        color: #fafafa;
		 z-index: 999;
    }   

    #menu ul a{
        padding: 0;
        width: auto;        
    }

    #menu ul a:hover{
        background: none;   
    }

    #menu ul li:first-child a:after,
    #menu ul ul li:first-child a:after {
        border: 0;
    }       

}

@media screen and (min-width: 600px) {
    #menu {
        display: block !important;
    }
}   

/* iPad */
.no-transition {
    transition: none;
    opacity: 1;
    visibility: visible;
    display: none;          
}

#menu li:hover > .no-transition {
    display: block;
}

