@media only screen and (min-width: 490px) {
    html.mm-opening .mm-slideout {
        transform: none !important;
    }
    /*
    }    #html.mm-blocking {
        display: none;
        z-index: 0;
    }
    
    #html.opened {
        display: none;
        z-index: 0;
    }
    
    #mm-blocker {
        z-index: 0;
    }
  
    html.mm-opened #mm-blocker,
    html.mm-blocking #mm-blocker {
        display: block;
        z-index: 0 !important;
    }
    */
    
    nav#mobilmenu {
        display: none !important;
    }
}

@media only screen and (min-width: 400px) {
  #page-top #logo-container {
      padding-left: 4px !important;
  }
  
  #search {
      display: block !important;
  }
  
    /*html.mm-opening .mm-slideout {
        transform: none;
    }
  
    html.mm-opened #mm-blocker, html.mm-blocking #mm-blocker {
        display: none;
    }*/
  
}

@media only screen and (max-width: 490px) {
    #rovatoldalak #legutobbi-lapszamok-felsorolas .lapszamkep {
        display: none;   
    }
    #rovatoldalak #legutobbi-lapszamok-felsorolas .views-row-1 {
        clear: both;   
    }
    #rovatoldalak #legutobbi-lapszamok-felsorolas .views-field-field-vezerkep,
    .page-taxonomy-term .views-field-field-vezerkep {
        width: auto;   
    }
    #rovatoldalak #aktualis-nezet .views-field-field-vezerkep {
        width: 37%;   
    }
    #rovatoldalak #aktualis-nezet .views-field-field-vezerkep img {
        width: 100% !important;   
        height: auto !important;
    }
    #rovatoldalak #aktualis-nezet h4 {
        font-size: 14px;   
    }
    #footer ul, #footer li {
        line-height: 2;
    }
    
    #page-top {
      min-height: 80px;
      height: auto;
    }
    
    #page-top #logo-container {
        padding-left: 0px !important;
        display: inline-block;
        clear: none;
        position: absolute;
        left: 0px;
        text-align: center;
        width: 100%;
    }
    #page-top #logo-container #logo {
        text-align: center;
        vertical-align: middle;
    }
    
    #mobilpage {
        width: 80px;
        display: inline-block;
        position: absolute;
        left: 0px;
        z-index: 100;
    }
    #search {
        display: none;
        width: 100%;
        height: 30px;
    	/*padding-right: 5px;*/
    	position: relative;
    	float: none;
    	top: 60px;
    	right: 0px;
    	clear: both;
    }
  #search #edit-search-block-form--2 {
      left: 0px;
      width: 100%;
      text-align: center;
  }
  #searchtoggle {
    display: block;
    position: absolute;
    float: right;
    top: 35px;
    right: 10px;
    cursor: pointer;
  }
    .page-active {
        min-height: 120px !important;
	    height: auto;
  }
  
    /*#top-menu {
    display: none;
    margin-left: 0px;
    clear: both;
    position: static;
    /*display: block;
    height: 40px;*/
    /*margin-top: 60px;
    top: 0;
    left: 0;
    }*/
    
    .page-nyitooldal #sidebar-first,
    .page-nyitooldalv3 #sidebar-first {
        display: block;
    }
    
    .mm-listview > li > .active {
        background-color: #F20000;
        color: #FFF;
    }
    
    .mm-listview > li > .active:hover {
        background-color: #F20000;
    }
    
    .mm-listview > li > a:hover {
        background-color: #D3D3D3;
    }
}

/*@media only screen and (min-width: 490px) {
    
    nav#mobilmenu {
        display: none !important;
    }
    
    html.mm-opening .mm-slideout {
        transform: none;
    }
  
    html.mm-opened #mm-blocker, html.mm-blocking #mm-blocker {
        display: none;
    }
}*/

@media only screen and (max-width: 480px) {
    #page-top #logo-container {
        /*width: 180px;*/
        display: inline-block;
        float: left;
        clear: none;
       margin-left: 0% !important;
    }
}

@media only screen and (min-width: 480px) {
    #block-views-korabbi_lapszamok_v2-block .korabbilapszam-wrapper {
        width: 100%;
    }
    #block-views-korabbi_lapszamok_v2-block .view-korabbi-lapszamok-v2 img {
        margin: 0px auto;
        display: block;
    }
    .korabbilapszam-info {
        margin-top: 15px;
        margin-bottom: 20px;
        float: none;
        clear: both;
        width: 100%;
    }
    .korabbilapszam-info-text {
        text-align: center;
    }
    .korabbilapszam-info-button {
        width: 100%;
    }
    .ahrefbutton-grey a, a.ahrefbutton-grey {
        text-align: center;
        display: block;
        width: 182px;
        margin: 0px auto;
        padding: 7px 0px;
    }
}
@media only screen and (max-width: 380px) {
    #block-views-korabbi_lapszamok_v2-block .korabbilapszam-wrapper {
        width: 100%;
    }
    #block-views-korabbi_lapszamok_v2-block .view-korabbi-lapszamok-v2 img {
        margin: 0px auto;
        display: block;
    }
    .korabbilapszam-info {
        margin-top: 15px;
        margin-bottom: 20px;
        float: none;
        clear: both;
        width: 100%;
    }
    .korabbilapszam-info-text {
        text-align: center;
    }
    .korabbilapszam-info-button {
        width: 100%;
    }
    .ahrefbutton-grey a, a.ahrefbutton-grey {
        text-align: center;
        display: block;
        width: 182px;
        margin: 0px auto;
        padding: 7px 0px;
    }
}

/*@media only screen and (max-width: 370px) {
    #page-top #logo-container {
        margin-left: 7%;
    }
}
@media only screen and (max-width: 360px) {
    #page-top #logo-container {
        margin-left: 6%;
    }
}
@media only screen and (max-width: 330px) {
    #page-top #logo-container {
        margin-left: 5%;
    }
}*/