/* 2017.11.13 G.A. */
h1, h2, h3, h4, h5{
    color: #12394a;
    font-family: 'Open Sans';
}
body{
    font-family: 'Open Sans';
}
header nav a{
    color: #12394a;
    font-family: 'Open Sans';
}
.content{
    width: auto;
    max-width: none;
    padding-top: 0;
}
.header_h1{
    background-color: #12394a;
    height: 40px;
    margin-bottom: 0;
}
.header_h1 h1{
    line-height: 40px;
    color: #fff;
    font-family: 'Open Sans';
    font-size: 12px;
    float: left;
}
.headerSocial{
    display: inline-block;
    float: right;
    height: 100%;
}
.headerSocial a{
    margin-top: 10px;
    display: block;
    float: left;
    padding: 0 3px;
}
.clearboth{clear: both; height: 0;}
header nav{
    background: #fff;
    border-radius: 0;
    height: 125px;
    padding: 0;
    margin: 0;
    display: table;
    width: 100%;
}


.headerMenuContainer .headerMenu .headerNavMainMenu ul {
    z-index: 9999;
    font-size: 16px;
    font-weight: normal;
    line-height: 50px;
    display: none;
    padding: 0 16px 0 16px;
}

.headerMenuContainer .headerMenu .headerNavMainMenu li {
    display: inline-block;
}

.headerMenuContainer .headerMenu .headerNavMainMenu li a{
    text-transform: uppercase;
    font-family: 'Open Sans';
    font-size: 14px;
    font-weight: 600;
    line-height: 35px;
    padding: 0 10px;
}


.headerMenuContainer .headerMenu .headerNavMainMenu li:hover ul{
    display: block;
    position: absolute;    
}

.subMenu{
    width: auto;
    text-align: center;
    margin-left: 10px;
}

.subMenu li a{
    background-color: transparent !important;
}

.contentInside {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}
.shareTopMain{
    display: none;
}
header  .topNav .topNavMenuDiv, header .topNav .topNavMenuDiv{
    display: table-cell;
    vertical-align: middle;
    text-align: right;
}
.headerLogo{
    display: block;
    position: absolute;
    z-index: 999999;
    top: 49px;
}
header .wideBlock{
    height: 580px;
    margin: 0;
}
header .wideBlock img{
    position: absolute;
    left: 0;
}
header .wideBlock .slideTextContainer{
    position: absolute;
    left: 0;
    width: 100%;
    height: 580px;
    overflow: hidden;
    z-index: 999;
}
header .wideBlock .slideTextContainer .contentInside{
    display: table;
    height: 100%;
    width: 100%;
}
header .wideBlock .slideTextContainer .contentInside .cell{
    display: table-cell;
    vertical-align: middle;
    text-align: left;
    /* "silderen" a szöveg a "csíkba" */
    position: relative;
    top: -40px;
    /**/
}
.slideTextContainer .contentInside .cell h2, .slideTextContainer .contentInside .cell h3, .slideTextContainer .contentInside .cell a{
    color: #fff;
}
.slideTextContainer .contentInside .cell h2{
    font-size: 65px;
    line-height:85px;
}
.slideTextContainer .contentInside .cell h3{
    font-size: 50px;
    line-height: 70px;
}
.slideTextContainer .contentInside .cell a{
    background-color: #12394a;
    padding: 10px 20px;
    font-size: 36px;
    font-weight: 400;
    text-transform: uppercase;
    margin-top: 15px;
    display: inline-block;
}
.slideTextContainer .contentInside .cell a:hover{
    text-decoration: none;
}
.lowerNav{
    background: #83b4ce;
    text-transform: uppercase;
    font-family: 'Open Sans';
    font-size: 14px;
    font-weight: 600;
    border-radius: 0;
    position: absolute;
    left: 0;
    margin-top: 1px;
    z-index: 1;
}
.lowerNav .lowerNavMenuDiv .lowerNavMenu li a{
    color: red;
}
.leftSide, .rightSide{
    margin-top: 65px;
    border-top: 0;
}
.boxBlockThin h2, .boxBlockThinRight h2, .boxBlockThinMain h2, .boxBlockThinRightMain h2, .boxBlock h2{
    border-image: none;
    border: 0 !important;
    font-family: 'Open Sans';
    font-size: 24px;
    font-weight: 400;
    text-transform: uppercase;
}
.boxBlock label{
    font-family: 'Open Sans';
    color: #12394a;
    font-size: 18px;
    width: auto;
    margin: 9px 0;
}

.boxBlock input[type="text"]{
    background-color: #83b4ce;
    color: #fff;
    border: 0;
    height: 30px;
    line-height: 30px;
    outline: 0;
    float: right;
    width: calc(100% - 120px);
    max-width: calc(100% - 120px);
    margin: 9px 0;
}
.boxBlock textarea{
    background-color: #83b4ce;
    color: #fff;
    border: 0;
    outline: 0;
    line-height: 20px;
    height: 70px;
    float: right;
    width: calc(100% - 120px);
    max-width: calc(100% - 120px);
    margin: 9px 0;
}
.kekGomb{
    font-family: 'Open Sans';
    background-color: #12394a!important;
    color: #fff!important;
    padding: 5px 25px!important;
    font-size: 16px!important;
    text-transform: uppercase!important;
    height: auto!important;
    font-weight: 400!important;
}
.thinBlock img{
    max-width: 100%;
    height: auto;
}
label, .loginContainer span, .loginContainer a, .boxBoxBody p, .newsBox p{
    color: #12394a;
    font-size: 18px;
}
.boxBlockBanner{
    padding: 5%;
}
.boxBlock{
    max-width: 50%;
    margin: 0;
    padding: 0;
    float: left;
    font-size: 18px;
    max-width: 370px;
    padding-left: 15px; padding-right: 15px;
    padding-bottom: 40px;
    color: #12394a;
}
.boxBlock h2{
    text-align: center;
}
.middleBlock{
    margin-left: 60px;
    margin-right: 60px;
}
.newsBox, .fb-like-box{
    min-height: inherit;
}
.newsBox .boxBlockBanner{
    min-height: 505px;
    width: calc(50% - 66px);
    float: left;
    margin: 33px;
    padding: 0;
}
.boxBlockThick.newsBox{
    width: 100%;
}
.newsBox h3{
    height:106px;
    font-size: 30px;
    color: #12394a;
    line-height: 35px;
    margin-top: 20px;
    overflow: hidden;
}
.newsBox a{
    color: #12394a;
}
.newsBox p{
    font-size: 18px;
    color: #12394a;
    margin-top: 20px;
    /*Mobilon a szöveg magasságának korlátozása*/ 
    /*max-height: 97px;*/
    text-align: justify;
    overflow: hidden;
}

.cikkekTitle{
    font-size: 30px;
    text-transform: uppercase;
    color: #12394a;
}
.cikkekTitle h2{
    padding-left: 2.5%;
    color: #12394a;
    margin-top: 25px;
}
.middleBlock strong{
    font-size: 22px;
    font-weight: 500;
    margin-top: 12px;
    display: inline-block;
}
.navPlaceholder{
    height: 63px;
    margin-bottom: 30px;
}
.fullWidth{
    margin: 0 0;
    padding: 0 0;
    max-width: 100%;
    overflow: hidden;
    height: 400px;
    position: relative;
}
.fullWidth .contentInside{
    position: relative;
    height: 100%;
    z-index: 2;
}
.fullWidth p img{
    position: absolute;
    top: 0;
}
.fullWidth .contentInside .table{
    display: table;
    height: 100%;
}
.fullWidth .contentInside .cell{
    display: table-cell;
    vertical-align: middle;
}
.fullWidth .contentInside h2{
    color: #fff;
    font-size: 65px;
    line-height: 80px; 
}

.clearAfter::after{
    content: '';
    display: block;
    clear: both;
}
footer{
    padding: 60px 0 0 0;
    background: #393a3c;
    border-radius: 0;
}
footer a{
    color: #fff;
    font-weight: 400;
    font-family: 'Open Sans';
    line-height: 30px;
    font-size: 14px;
}
footer ul{
    float: left;
    width: 33.33%;
}
.tinyArrow{
    margin-right: 5px;
}
footer .last{
    margin-top: 60px;
    background-color: black;
    height: 100px;
    color: #fff;
}
footer .last a{
    color: #fff;
    font-size: 16px;
}
footer .contentInside{
    height: 100%;
}
footer .last .lastLeft{
    float: left;
    font-size: 12px;
    display: table;
    height: 100%;
}
footer .last .lastRight{
    float: right;
    font-size: 16px;
    display: table;
    height: 100%;
}
footer .last .cell{
    display: table-cell;
    vertical-align: middle;
}
.ellen{
    float: none;
}
.boxBlock .m2adminForm div.form_imagecheck{
    float: none;
}
.boxBlock .m2adminForm .form_imagecheck img{
    float: right;
    clear: none;
    margin-top: 14px;
    margin-right: 5px;
}
.kekGomb{
    clear: both;
    margin-top: 10px !important;
    margin-right: 0 !important;
}
.viewPage .fck h2 {
    padding-top: 10px;
    clear: both;
}
.viewPage .fck img{
    padding-right: 20px;
}

.header_h1 a i{
    font-size: 25px;
}

.m2adminForm input.submit{
    background-color: #e0e0e0;
    color: black;
}

.errMsg{
    color:red;
    font-size: 20px;
    padding-bottom: 15px;
}
.shareTopHtml .shareTopInner{
    float:left;
}
.headerMenuContainer{
    width: 100%;
    height: 145px ;
}
.headerMenu{
    width: 1320px;
    margin:0 auto;
    height:145px;
    vertical-align: middle;
    text-align: right;
}
.headerMenu .hoverOver{
    padding-top: 55px;
}
.wideBlock .boxBlock h2{
    overflow: hidden;
}
.clearAfter .last {
    background-color: red;
}

.lastMobil{
    display: none;
}

.wideBlock .boxBlock h2, .wideBlock .boxBlock p{
    overflow: hidden;
    max-height: 130px;
}

.banner .bannerImage, .newsBox img{
    max-height: 297px;
}
#h3todiv{
    border: 0;
    margin: 0;
    padding: 0;
    font-family: 'Open Sans';
    color: #fff;
    font-size: 50px;
    line-height: 70px;
}

.subMenu2 .subMenuLi2 a{
    text-align: center;
}



.lowerNav .lowerNavMenuDiv ul.lowerNavMenu li ul li a{
    text-align: center;

}

.overlay2 {
    display:none;
}

.adsbygoogle, .fck .bannerImage{
        margin-bottom: 12px;
        margin-top: 12px;
    }
    
#firstBannerNomargin .adsbygoogle, #firstBannerNomargin .bannerImage{
    margin-bottom: 0px;
    margin-top: 0px;
}



@media only screen and (max-width: 1340px) {
    .contentInside{
        max-width: 100%;
    }
    .middleBlock{
        margin-left: calc((100% - 1200px) / 2);
        margin-right: calc((100% - 1200px) / 2);
    }

    header .wideBlock .slideTextContainer .contentInside .cell{

        text-align: center;
    }

    .header_h1 h1{
        padding-left: 20px;
    }
    .lastLeft .cell{
        padding-left: 50%;
    }
    .lastRight .cell{
        padding-right: 20%;
        text-align: right;   
    }

    .lastMobil{
        display: inline;
        text-align: center;
    }

}
@media only screen and (max-width: 1200px) {
    .wideBlock .boxBlock{
        max-width: 300px;
        width: 300px;
    }
    .wideBlock .boxBlock .boxImage{
        width: 100%;
        height: auto;
    }
    .middleBlock{
        margin-left: calc((100% - 990px) / 2);
        margin-right: calc((100% - 990px) / 2);
    }
    header .topNav .topNavMenuDiv .headerNavMainMenu li a{
        font-size: 12px;
    }
    .last .lastLeft, .last .lastRight{
        max-width: 49%;
    } 
    .viewPage, .listPage{
        padding-left: 10px;
        padding-right: 10px;
    }
    .m2adminForm .form_imagecheck img {
        float: right;
        clear: both;
        margin-top: 0;
        margin-right: 0;
    }
}
@media only screen and (max-width: 950px) {
    .wideBlock .boxBlock{
        max-width: 230px;
        width: 220px;
    }
    .middleBlock{
        margin-left: calc((100% - 780px) / 2);
        margin-right: calc((100% - 780px) / 2);
    }
    .boxBlock input[type="text"]{
        width: auto;
        max-width: 95%;
    }
    .boxBlock textarea{
        width: auto;
        max-width: 95%;
    }
    .boxBlock label{
        margin-bottom: 0;
        margin-top: 0;
    }
    .newsBox .boxBlockBanner{
        min-height: 385px;
    }
    .fullWidth .contentInside h2{
        font-size: 48px;
        text-align: center;
    }
    .newsBox h3{
        font-size: 24px !important;
        text-align: center;
    }
    .mobileLogo{
        display: block;

    }
    .headerLogo{
        display: none;
    }
    header nav{
        height: auto;
    }
    .fullWidth .contentInside .table{
        width: 100%;
    }
}
@media only screen and (max-width: 750px) {
    .wideBlock .boxBlock {
        max-width: calc(100% - 30px);
        width: auto;
        margin-left: 0;
        margin-right: 0;
    }

    footer ul{
        width: auto;
        padding-left: 30px;
    }
    .fullWidth .contentInside h2{
        font-size: 36px;
        line-height: 45px;
    }
    .slideTextContainer .contentInside .cell a{
        font-size: 18px;
    }
    .slideTextContainer .contentInside .cell h2 {
        font-size: 32px;
        line-height: 45px;
    }
    header .wideBlock {
        height: 500px;
        overflow: hidden;
    }
    header .wideBlock img{
        max-height: 500px;
    }
    header .wideBlock .slideTextContainer{
        height: 500px;
    }
    .slideTextContainer .contentInside .cell h3{
        font-size: 22px !important;
    }
    .boxBlock input[type="text"], .boxBlock textarea{
        max-width: calc(100% - 120px);
    }
    .newsBox .boxBlockBanner{
        min-height: inherit;
        width: auto;
        float: none;
        margin: 15px;
        padding: 0;
        height: auto;
    }

    .first{
        width: 100%;
    }

    .boxBlockThick.newsBox{
        width: 100%;
    }
    .picturesContainer img{
        max-width:none;
    }
    .header_h1 h1{
        padding-left: 20px;
        max-width: 55%;
    }
    .mobileLogo{
        margin-top: 5px;
        margin-bottom: 5px;
        text-align: center;
        size: auto;
    }
    .newsBox img {
        width: 100%;
        height: auto;
    }

    .cikkekTitle h2{
        padding-left: 2.5%;
        color: #12394a;
        text-align: center;
    }

    .headerLogo{
        display: none;
    }

    .headerMenu{
        width: auto;
    }
    .headerMenu .hoverOver{
        padding-top: 0px;
        text-align: center;
        text-transform: uppercase;
        font-family: 'Open Sans';
        font-size: 14px;
        font-weight: 600;
    }
    header .wideBlock{
        margin-top: 50px;
    }
    .wideBlock .boxBlock h2, .wideBlock .boxBlock p{        
        overflow: visible;
        max-height: none;
    }
    .newsBox h3{
        max-height: 110px;
        height: auto;
    }
    footer{
        padding-top: 0px;
    }
    footer .last{
        margin-top: 0px;
    }
    .topNav{
        margin-top: 0px;        
    }
    .topNav .topNavMenuDiv .hoverOver .headerNavMainMenu {
        z-index: 1000;    
        display: block; 
    }
    .topNav .topNavMenuDiv .hoverOver .headerNavMainMenu:active li{
        display: none;  
        z-index: 0;
    }

    .topNav .topNavMenuDiv .hoverOver .headerNavMainMenu li a{
        vertical-align: middle;
        line-height: 55px;
    }

    .boxH2{
        margin: 10px 0 10px 0;
    }

    #h3todiv{
        font-size: 22px !important;
    }

    .headerMenuContainer .headerMenu .headerNavMainMenu li:hover ul{
        position: initial;
        margin-left: 0;
    }
    
    .subMenu { 
        background-color: transparent !important; 
    }
    
    .subMenu2{
            position: initial !important;
            padding:0 !important;
    }
    
    .subMenu2 li a{
        line-height: 62px !important;
    }
    
/*   a=UL (.headerNavMainMenu)
     b=LI MENU (#MobHeadNavLi1)
     c=LI MENUPONTOK (.headerNavMainMenu li)

*/

    
    .overlay{
        position:absolute;
        left: 0;
        top: 0;
        height:0;
        width: 100%;
        z-index: 9999;
        overflow: hidden;
        color: #fff;
        transition: height 1000ms;
    }

    .containerHeader{
        position:relative;
    }

    .containerHeader:hover .overlay{
        height:60px;
    }
    .containerHeader .overlay:hover{
        height:0;
    }
    
    .overlay2{
        position:absolute;
        left: 0;
        top: 0;
        height:0;
        width: 100%;
        z-index: 9999;
        overflow: hidden;
        color: #fff;
        transition: height 1000ms;
    }

    .containerHeader2{
        position:relative;
    }

    .containerHeader2:hover .overlay2{
        height:60px;
    }
    .containerHeader2 .overlay2:hover{
        height:0;
    }

    
    .lowerNavMenu li a{
        display:inline-block !important;
    }
    .lowerNavMenu li .subMenu2 li a{
        display:block !important;
    }
  
    .overlay2 {
        display:block;
    }
    
    .headerMenuContainer .headerMenu .headerNavMainMenu li a:hover{
        background-color: transparent !important;
        color: #fff !important;
    }
}
