/* Alap beállítások */


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


body {
    font-family: Arial, sans-serif;
    display: flex;
    min-height: 100vh;
    justify-content: center;    
    flex-direction: row;
    background-color: rgb(20, 20, 20);
    color: white;
}












/*  Méretek */

/* mobil */

@media screen and (pointer: coarse) and (orientation: portrait)
{
    #mainwrapper
    {
        width: 100%;
    }

    #top1
    {
        display: flex;
        width: 100%;
        flex-wrap: nowrap; 
        background-color: #c00000;
    }
    .hpic {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
    }
    .hpic2
    {
        display: none;
    }

    div#maximenuck112 {
        font-size: 20px !important;
        line-height: 18px;
        
      }

    header {        
        width: 100%;
        max-width:400px !important;
    }
    
    nav{
        padding-right: 0 !important;    
        width: 100%;
    }
    #maximenuck112 .maximenumobiletogglericonck
    {
        padding-right: 15px;
    }
    div#maximenuck112 ul.maximenuck li.maximenuck.level1
    {
        text-align: right;
        padding-right: 15px !important;
    }
    #logo img
    {
        max-height: 150px;
    }

}




/* desktop */


/* mini képernyő desktop */
@media screen and (max-width: 1024px) and (pointer: fine) 
{
    #mainwrapper
    {
        width: 100%;
    }
    
    #top1
    {
        display: flex;
        width: 100%;
        flex-direction: row;
        flex-wrap: nowrap;
        background-color: #c00000;  
        
        height: 155px;
    }
    header {        
        width: 100%;
        max-width:400px !important;
    }


    .hpic {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
    }
    .hpic2
    {
        display: none;
    }
    #logo img
    {
        max-height: 150px;
    }

  /*  #maximenuck112 .maximenumobiletogglericonck
    {
        display: flex !important;
    }    */
    nav{
        padding-right: 0 !important;    
        width: 100%;
        z-index: 999;
    }
    #maximenuck112 .maximenumobiletogglericonck
    {
        padding-right: 15px;
    }
    div#maximenuck112 ul.maximenuck li.maximenuck.level1
    {
        text-align: right;
        padding-right: 15px !important;
    }
}



/* nem mini képernyő desktop általános */
@media screen and (min-width: 1025px)  and (pointer: fine)
{
    .hpic {
        max-width: 50%;
        max-height: 100%;
        width: auto;
        height: auto;
    }
    #maximenuck112
    {
        display: flex;
    }
    header {        
        width: 100%;
        flex-wrap: nowrap;
        max-width:400px !important;
    }
    #logo {
        max-width: 400px;
        display: block;
    }
    
    .hpic {
        max-width: 50%;
        max-height: 100%;
        width: auto;
        height: auto;
    }
    
    #top1
    {
        display: flex;
        width: 100%;
        flex-wrap: nowrap;
        background-color: #c00000;
    }
}
@media screen and (min-width: 1025px) and (max-width: 1600px)  and (pointer: fine)
{
    #mainwrapper
    {
        min-width: 1024px;
        max-width: 95%;
        margin-top: 10px;
    } 

}


@media screen and (min-width: 1601px)   and (pointer: fine)
{
    #mainwrapper
    {
        max-width: calc(0.95 * 1600px);
        margin-top: 10px;
    } 
}











#mainwrapper
{

    flex-direction: column;
    background-color: #000000;
} 


/* Fejléc, navigáció és lábléc stílusok */
header
{
    display: flex;
    background-color: #c00000;
    color: white;
    max-height: 150px;
}


#logo img
{
    max-height: 150px;
    width: auto;
}


#logo a
{
    width: 100%;
}
nav{
    padding: 1em;
    /*text-align: center;*/
}

footer {
    padding: 1em;
    text-align: center;
    width: 100%;
}

/* Tartalom elrendezés */
main {
    /*flex: 1;*/
    padding: 1%;
    width: 100%;
}


div#maximenuck112 {
    font-size: 12px;
    line-height: 16px;
    text-align: left;
  }

#maximenuck112 .maximenumobiletogglericonck
{
    font-size: 6em !important;
}

#maximenuck112 .maximenuck-toggler-anchor
{
    padding: 0.2em 0 auto;
    min-height: 1.2em;
}



a
{
    color: #f0f0f0;
}
a:visited
{
    color: #e0e0e0;
}