
.kozossegek { margin-right:10px; }

.custom-menu {
}
.custom-menu ul > li > ul {
    display: none;
}
.fomenu-belso {
    background: rgba(0, 0, 0, 0) linear-gradient(to bottom, rgba(39, 83, 173, 1) 0%, rgba(30, 63, 134, 1) 100%) repeat scroll 0 0;
    border-radius: 4px 4px 0 0;
    height: 54px;
    padding: 0 13px 0 13px;
    position: absolute;
    right: 0;
    top: 50px;
}
.fomenu-belso ul > li {
    border-left: 1px solid #5260ad;
    border-right: 1px solid #303865;
    border-top: 5px solid #ed6132;
    float: left;
    list-style-type: none;
    position: relative;
}
.fomenu-belso li:nth-child(1) {
    border-top: 5px solid #ed6132;
}
.fomenu-belso li:nth-child(2) {
    border-top: 5px solid #792c90;
}
.fomenu-belso li:nth-child(3) {
    border-top: 5px solid #539f44;
}
.fomenu-belso li:nth-child(4) {
    border-top: 5px solid #d05025;
}
.fomenu-belso li:nth-child(5) {
    border-top: 5px solid #f3ae2b;
}
.fomenu-belso li:nth-child(6) {
    border-top: 5px solid #ed6132;
}
.fomenu-belso li:nth-child(7) {
    border-top: 5px solid #539f44;
}
.fomenu-belso li a {
    color: white;
    float: left;
    height: 15px;
    padding: 17px;
    text-transform: uppercase;
}
.fomenu-belso li:last-child {
    border-right: 1px solid #5260ad;
}
.fomenu-belso li a.active, .fomenu-belso li a:hover {
    background: #3b5b99 none repeat scroll 0 0;
    color: #fff;
}
.fomenu-belso li a sup {
    font-size: 9px;
}
.fomenu-belso ul.nav > li > ul {
    left: 0;
    list-style: outside none none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 103%;
    z-index: 9999;
    display:none;
}
.fomenu-belso ul.nav > li:last-child > ul {
    border: medium none !important;
    left: auto;
    right: 0;
}

.fomenu-belso ul.nav > li:nth-last-of-type(2) > ul {
    border: medium none !important;
    left: auto;
    right: 0;
}

.fomenu-belso li.hovered ul li {
    border: medium none !important;
}
.fomenu-belso li.hovered ul li a {
    background: #1e3f86 none repeat scroll 0 0;
    border-bottom: 1px solid #be9c50;
    color: #fff;
    display: block;
    font-size: 14px;
    padding: 17px;
    text-transform: uppercase;
    white-space: nowrap;
    width: 200px;
}

.fomenu-belso li.nopic.member.parent.hovered ul li a { width: 260px }

.fomenu-belso li.hovered ul li a:first-child {
    border-top: 1px solid #be9c50;
}

.fomenu-belso li.hovered ul li:hover a, .fomenu-belso li.hovered ul li.activeli a {
    background: #dfdfdf none repeat scroll 0 0;
    color: #1e3f86;
}

.fomenu-belso li.activeli { background: #3b5b99 none repeat scroll 0 0}


/* MEDIA QUERIES */

@media only screen and (min-width: 994px) and (max-width: 1324px) {
 .fomenu-belso { padding: 0 5px 0 5px }
 .fomenu-belso li a { font-size: 12px; padding: 17px 15px; }
 .fomenu-belso li > ul > li > a { font-size: 12px!important;}
}
@media only screen and (min-width: 640px) and (max-width: 993px) {

 .fomenu-belso li > ul > li > a { font-size: 12px!important;}

.fomenu-belso {
    height: 50px;
    padding: 0 5px 0 5px;
    top: 50px;
}

.fomenu-belso li a.active, .fomenu-belso li a:hover { height: 50px }

#header {
    height: 110px;
}
.fomenu-belso ul > li {
    border-left: 1px solid #5260ad;
    border-right: 1px solid #303865;
    border-top: 5px solid #ed6132;
    float: left;
    height: 69px;
    list-style-type: none;
    position: relative;
    text-align: center !important;
    width: 75px;
    font-size: 12px;
}
.fomenu-belso li a {
    color: white;
    float: left;
    height: 100%;
    margin: 0;
    padding: 10px 0;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
}


.nav > li > ul {
    margin-top:35px!important;
}

.nav > li > ul > li {
    width:100%;
    margin-top:-30px!important;
    padding:0px!important;
}

.nav > li > ul > li > a {
    width:270px!important;
    height:30px;
    padding:8px 0px 0px 10px!important;
    text-align:left!important;
}
    
.fomenu-belso ul.nav > li > ul {
    top:51%;
    padding-top: 30px
}

}

@media only screen and (min-width: 480px) and (max-width: 639px) {
h1#logo {
    display: block;
    margin: 0 auto;
    width: 140px;
}
h1#logo a {
    display: block;
    margin: 0 0 15px;
    position: relative;
}
.header-middle {
    display: block;
    margin: 0 auto;
    position: relative;
    width: 438px;
    z-index: 999999999;
}
.fomenu-belso {
    background: transparent none repeat scroll 0 0;
    position: relative;
    width: 470px;
    z-index: 99999999;
}
.fomenu-belso li a {
    background: #1d3e85 none repeat scroll 0 0;
    border-right: 0 none;
    height: auto;
    margin: 0;
    padding: 10px;
    width: 422px;
}
.fomenu-belso li:last-child a {
    border-bottom: 0 none;
}
.main-menu {
    bottom: 0;
    left: 0;
    position: relative;
    top: -25px;
    width: 100%;
}
.fomenu-belso ul.nav > li > ul {
    /*left: 0;
    list-style: outside none none;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: -10px !important;
    padding: 0;*/
    position: relative;
    top: 0;
    width: 100%;
    z-index: 9999;
}
li.nopic.parent.hovered {
    width: 442px;
}
.fomenu-belso li.hovered ul li a {
    background: #3a5994 none repeat scroll 0 0;
    width: 409px;
}   
}
@media only screen and (min-width: 320px) and (max-width: 479px) {
.header-middle .part-search input#keywords { width:142px; }

#header .part-search { width:420px; margin-top:5px; }

.login { position: relative; right:0px; }



h1#logo {
    display: block;
    margin: 0 auto;
    width: 140px;
}
h1#logo a {
    margin: 0 0 15px;
    position: relative;
}
.fomenu-belso li.hovered ul li a {
    background: #3a5994 none repeat scroll 0 0;
    width: 247px !important;
}
.part-langswitch {
    margin-top: 30px;
    position: relative;
    z-index: 999999999;
}
.header-middle {
    margin: 0 auto;
    position: relative;
    width: 200px;
    z-index: 999999999;
}
.fomenu-belso {
    background: transparent none repeat scroll 0 0;
    position: relative;
    width: 260px;
    z-index: 99999999;
}
.fomenu-belso li a {
    background: #1d3e85 none repeat scroll 0 0;
    border-right: 0 none;
    height: auto;
    padding: 10px;
    width: 260px;
}
.fomenu-belso li:last-child a {
    border-bottom: 0 none;
}

.main-menu {
    bottom: 0;
    left: 0;
    position: relative;
    top: -25px;
    width: 100%;
}
.fomenu-belso ul.nav > li > ul {
    left: 0;
    list-style: outside none none;
    margin: 0;
    padding: 0;
    position: relative;
    top: 0;
    width: 260px;
    z-index: 9999;
}
.fomenu-belso li.hovered ul li a {
    width: 260px;
    font-size: 13px;
}
    
.fomenu-belso ul.nav > li > ul {
   padding-right: 20px;
}
}
