@media only screen and (min-width:1200px) {
  article .banner {
    margin-left: -12px;
    margin-right: -12px;
  }
}

/* big tablets to 1200px (widths smaller than 1140 px row) */
@media only screen and (max-width:1200px) {
  .tplblock-item-Bloggie-tplbestarticlesblock .nav-tabs a {
    font-size: 75%;
  }
}

/* small tablets to big tablets: from 768-1023 */
@media only screen and (max-width:1023px) {
    section.hero .hero-text-box  {
        width: 90%;
    }
    header nav {
        display: none;
    }
    header .hambutt {
        display: block;
        background-color: #FFF;
    }
    .sidenav {
        width: 40%;
        margin-top: 0;
    }
    header, header.scrollup {
        transform: translateY(calc(-100% + 50px));
        transition: transform 0.4s;
    }
    header .top {
        overflow:hidden;
        position:relative;
        /*padding:0;*/
    }
    header.ontop {
      transform: translateY(0);
    }
    header.ontop .top {
      overflow:visible;
    }
    header.ontop .top .container {
      /*padding-top:8px;
      padding-bottom:8px;*/
    }
    header .bottom {
        height: 50px;
    }
    header .bottom .left img {
        height: 36px;
        width: auto;
    }
    section:first-of-type, section.institutes {
        margin-top: 20px;
    }
    section.banners {
        margin-top: 0;
    }
    section.bigview  {
        margin-top: -50px !important;
    }
    .searchbox {
	    right: 40px;
    }
    .banner.full{
        margin-top: -20px;
        margin-bottom: 0;
    }

    section.reszletes_galeria {
        margin-top: 50px !important;
    }

    .nothislanguage {
        margin-top: 6em;
        margin-bottom: 50px;
    }

    section.hero {
        margin-bottom: 0;
    }

    .topmargin {
      margin-top: 150px;
    }

    .bannerblock, .scroll-up .bannerblock {
      top: 82px;
    }
}

@media only screen and (max-width:991px) {
  .tplblock-item-Bloggie-tplbestarticlesblock .nav-tabs a {
    font-size: 100%;
  }
}

/* small phones to small tablets: from 481-767px */
@media only screen and (max-width:767px) {
    section.download .filedownload p {
        margin-left: inherit;
        display: block;
    }
    section.download .filedownload .details {
        margin-left: 0;
        display: block;
        width: 100%;
        margin-bottom: 2em;
    }
    .metrotiles {
        display: none;
    }
    .mobileinstitutes {
        display: block !important;
    }
    section.mainpage .articlepic {
        border-radius: 5px 5px 0 0;
        height: 300px;
    }
    section.mainpage .actual .details, section.articles .actual .details {
        padding: 0 32px;
        max-width: unset;
    }
    .swiper-button-prev, .swiper-button-next {
        display: none;
    }
}

/* small phones: from 0-480px */
@media only screen and (max-width:480px) {

    body {
        font-size: 14px;
    }

    header .bottom .left {
        text-align: center;
    }
    header .searchbox {
        width: 100%;
        right: 0;
    }
    header .searchbox form {
        width: 100%;
    }
    .searchbox input[type="text"] {
        width: 90%;
    }
    .searchbox input[type="submit"] {
        width: 10%;
    }
    .sidenav {
        width: 80%;
    }

    section.hero .hero-text-box h1 {
        font-size: 180%;
        margin-bottom: 10px;
    }
    section.hero .hero-text-box p {
        font-size: 110%;
        margin-bottom: 1em;
    }
    footer .bottom .container {
        display: block;
    }
    footer .bottom .left img {
        float: left;
    }
    footer .bottom .left, footer .bottom .right {
        display: block;
        padding: 3% 0;
        font-size: 75%;
        line-height: 1.6em;
    }
    footer .bottom .right {
        height: auto;
    }
    footer .bottom .right nav {
        height: auto;
    }
    footer .bottom .right ul {
        height: auto;
        display: block;
    }
    footer .bottom .right nav ul li {
        display: inline-block;
        border-right: none;
    }
    section.bigview .heropic {
        margin-bottom: 20px;
        min-height: 240px;
    }
    section.bigview .heropic .info {
        display: block;
        position: relative;
    }
    section.bigview .heropic .info h1 {
      color: #4A4A4A;
      font-size: 170%;
      margin: 20px 0 0;
      text-indent: unset;
    }
    section.bigview .heropic .info>*:first-child {
      transform: translateY(-100%);
      margin-top: -30px;
      float: none;
      position: absolute;
      top: 0;
      left: 3%;
      display: flex;
    }
    section.bigview .info hr {
        display: none;
    }
    section.bigview ul.tags {
        margin-bottom: 0;
    }
    section.bigview .more p {
        margin-bottom: 0;
    }
    section.articles .result .details {
        max-height: 40px;
    }
    section.articles .result h2 {
        max-height: 50px;
    }

    article {
        /* font-size: 87.5%; this is for 16px body font size */
        font-size: 100%;
        line-height: 1.57em;
    }

    article h1 {
        display: block;
        text-transform: none;
        font-size: 128.5%;
        font-weight: 600;
        line-height: 1.555em;
        letter-spacing: 0;
        color: #000;
    }

    article p, address {
        padding-left: 0;
        padding-right: 0;
    }

    article p.articlelead {
        font-weight: 600;
        box-shadow: none;
        margin-bottom: 10px;
        color: #000;
    }

    section.bigview .heropic .image-holder {
        min-height: 240px;
    }

    section.mainpage .actual, section.articles .actual {
        box-shadow: none;
    }

    section.articles .actual .details {
      max-height: unset;
    }

    section.mainpage .actual .details p, section.articles .actual .details p {
        color: var(--primaryfontcolor);
    }

    section.mainpage .articlepic {
        height: 250px;
    }

    section.hero .swiper-container, section.hero .element {
        height: calc( 100vh / 2.5 );
        min-height: 250px;
    }
    .swiper-button-prev, .swiper-button-next, .swiper-pagination, section.hero input[type="button"] {
        display: none;
    }
}
