/* 1200 */
@media only screen
and (max-width : 1200px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  header {
    height: 80px;
    margin-top: 60px;
  }
  #header-blocks {
    margin-left: auto;
    background: #f1f1f1;
    margin-right: -20px;
  }
  #header-blocks .block {
    width: 100px;
  }
  #header-blocks .block img {
    max-height: 40px;
  }
  #main-logo {
    width: 180px;
  }
  section#responsive-line {
    width: 100%;
    height: 60px;
    display: flex;
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
  }
  body.rolunk section#responsive-line {
    background: #00599d;
  }
  body.villanyszerelo section#responsive-line {
    background: #0073aa;
  }
  body.lakossag section#responsive-line {
    background: #0e88c2;
  }
  section#responsive-line .menu-container,
  section#responsive-line .search-container {
    width: auto;
    height: 100%;
  }  
  section#responsive-line .menu-container {
    margin-right: auto;
  }
  section#responsive-line .search-container {
    margin-left: auto;
    width: 24px;
  }
  section#responsive-line .menu-container i,
  section#responsive-line .search-container i {
    font-size: 24px;
    color: #ffffff;
  }
  section#responsive-line .search-container i {
    position: absolute;
  }
  section#responsive-line .search-container i.hide {
    opacity: 0;
    -webkit-opacity: 0;
    -moz-opacity: 0;
  }
  #header-search-container {
    width: calc(100% - 90px);
    position: absolute;
    top: -106px;
    left: 20px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    height: 46px;
    z-index: 101;
  }
  #header-search-container.open {
    top: -53px;   
  }  
  #header-search-container a {
    display: none;
  }
  nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100vw;
    height: 100vh;
    z-index: 500;
    overflow-y: auto;
  }
  nav.open {
    left: 0;
  }
  nav .container {
    padding: 0;
  }
  nav ul {
    flex-direction: column;
    height: auto;
    width: 100%;
    margin: 0;
  }
  nav ul li:not(.nav-theme) {
    display: none;
  }
  nav ul li {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 30px 20px 20px 20px;
    flex-direction: column;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;    
  }
  nav ul li::before {
    content: '';
    width: 100%;
    height: 10px;
    background: #ffffff;
    opacity: 0.2;
    -webkit-opacity: 0.2;
    -moz-opacity: 0.2;
    position: absolute;
    top: 0;
    left: 0;
  }  
  nav ul li a {
    width: 100%;
    text-align: center;
    color: #ffffff !important;
  }
  nav ul li.nav-rolunk {
    background: #00599d;
  }
  nav ul li.nav-villanyszerelo {
    background: #0073aa;
  }
  nav ul li.nav-lakossag {
    background: #0e88c2;
  }
  nav ul li .dropdown {
    position: relative;
    top: 0;
    padding: 0;
    background: none;
    display: flex;
    flex-direction: column;
    width: 100%;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    margin-top: 10px;
  }
  nav ul li .dropdown a i {
    display: none;
  }
  nav ul li .dropdown a {
    margin-top: 5px;
    white-space: normal;
  }
  nav ul li .dropdown a:not(:last-child) {
    padding-bottom: 8px;
    border-bottom: rgba(255,255,255,0.2) 1px solid;
  }
  section#responsive-nav-header {
    display: flex;
    height: 140px;
    width: 100%;
    background: #ffffff;
  }
  section#responsive-nav-header img {
    width: 250px;
    height: auto;
  }
  section#responsive-nav-header i {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 24px;
    color: #00599d;
  }


  
  
  
  
 
  
  
  
  
  section#page-header {
    height: 110px;
  }
  section#page-header .logo-container {
    display: none;
  }  
  section#page-header .theme-color-container {
    background: none !important;
    left: 0;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
  section#page-header .theme-color-container h1 {
    width: 100%;
    text-align: center;
    font-size: 20px;
  }
  body.rolunk section#page-header {
    background: url(../img/square-background-rolunk.jpg) center center no-repeat;
    background-size: cover;  
  }
  body.villanyszerelo section#page-header {
    background: url(../img/square-background-villanyszerelo.jpg) center center no-repeat;
    background-size: cover;  
  }
  body.lakossag section#page-header {
    background: url(../img/square-background-lakossag.jpg) center center no-repeat;
    background-size: cover;  
  }
  section#text h2::before,
  section#download-list h2::before {
    width: 105px;
  }  
  section#text h2::after,
  section#download-list h2::after {
    width: calc(100vw - 40px);
  }
  section#download .files-container {
    padding-right: 20px;
  }
  section#contact .contact-container {
    padding-right: 20px;
  }
  section#splash .theme-container a h2 {
    font-size: 16px;
  }
  section#splash .highlighted-container a span {
    font-size: 14px;
    line-height: 20px;
  }
}
  
/* 992 */
@media only screen
and (max-width : 992px) {
  h2.common {
    font-size: 18px;
  }
  h2.common::after {
    width: calc(100vw - 40px);
    left: calc(0px - (((100vw - 40px) - 100%)/2))
  }
  section#common-partners ul {
    flex-wrap: wrap;
  }
  section#common-partners li {
    width: calc(100% / 4);
  }
  section#common-contact .container {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
  }
  section#common-contact .container::before {
    left: 20px;
    width: calc(100% - 40px);
  }
  section#common-contact span {
    margin: 0;
  }
  section#common-contact span:not(:last-child) {
    margin-bottom: 10px;
  }
  section#sz2020 {
    height: 110px;
  }
  section#sz2020 img {
    height: 100%;
    width: auto;
  }
  section#common-footer {
    flex-direction: column;
    padding-bottom: 40px;
    height: auto;
    padding-top: 30px;
  }
  section#common-footer .logo-container {
    width: auto;
    margin-top: 30px;
    margin-right: auto;
    margin-left: 20px;
  }
  section#contact {
    flex-wrap: wrap;
  }
  section#contact .map-container {
    width: 100%;
    margin-bottom: 30px;
    margin-top: -30px;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    -moz-mask-image: none !important;
  }
  section#contact .map-container::after {
    display: none;
  }
  section#contact .contact-container {
    padding: 0 20px;
    width: 100%;
  }
  section#news .news-container a {
    width: calc((100% / 1) - 30px);
    margin-top: 10px;
    margin-bottom: 10px;
  }
  section#news .news-pagination a:not(:first-child):not(:last-child):not(.selected) {
    display: none;
  }
  section#theme-categories .theme-categories-container a,
  section#groups .groups-container a {
    width: calc((100% / 1) - 30px);
    margin-top: 10px;
    margin-bottom: 10px;    
  }
  section#theme-categories .theme-categories-container h2,
  section#groups .groups-container h2 {
    font-size: 14px;
  }
  section#theme-intro::before,
  body.villanyszerelo section#theme-intro .image-container::before {
    display: none;
  }
  section#theme-intro {
    height: 290px;
  }
  section#theme-intro .image-container {
    width: 100%;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    -moz-mask-image: none !important;    
  }
  section#theme-intro .image-container::after {
    right: 0; 
    width: 80px;    
  }
  section#theme-intro .data-container {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 0;
    z-index: 20;
    height: 80px;
    justify-content: center;
    align-items: center;
  }
  section#theme-intro .data-container h1 {
    padding: 0 20px;
    text-align: center;
    margin: 0;
    font-size: 20px;
  }
  body.rolunk section#theme-intro .data-container {
    background: url(../img/square-background-rolunk.jpg) center center no-repeat;
    background-size: cover;
  }
  body.villanyszerelo section#theme-intro .data-container {
    background: url(../img/square-background-villanyszerelo.jpg) center center no-repeat;
    background-size: cover;
  }
  body.lakossag section#theme-intro .data-container {
    background: url(../img/square-background-lakossag.jpg) center center no-repeat;
    background-size: cover;
  }  
  section#theme-intro .data-container a {
    display: none;
  }
  section#download {
    flex-wrap: wrap;
  }
  section#download .image-container {
    width: 100%;
    height: 200px;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    -moz-mask-image: none !important;    
  }
  section#download .image-container::after {
    right: 0; 
    width: 60px;
  }
  section#download .files-container {
    width: 100%;
    padding: 0 20px;
    margin-top: 20px;
  }
  section#licences .licences-container {
    width: calc(100% + 20px);
    margin: 0 -10px;
    justify-content: center;
  }
  section#licences .licences-container a {
    width: calc((100% / 3) - 20px);
    margin: 10px;
  } 
  section#tab-header .tabs {
    width: calc(100% + 20px);
    margin: 0 -10px;
  }
  section#tab-header .tabs.tab-2 a,
  section#tab-header .tabs.tab-5 a {
    width: calc((100% / 2) - 20px);
    margin: 10px;
  }
  section#search .refine-container .refine-blocks,
  section#message .message-container .message-blocks {
    flex-wrap: wrap;
  }
  section#search .refine-container .refine-blocks .block {
    width: 50%;
    border: none !important;
  }
  section#search .refine-container .refine-blocks .block.by-address,
  section#search .refine-container .refine-blocks .block.by-name,
  section#message .message-container .message-blocks .block {
    width: 100%;
  }
  section#search .refine-container .refine-blocks .block:not(.by-address),
  section#message .message-container .message-blocks .block:last-child {
    margin-top: 20px;
  }
  section#splash .bottom,
  section#splash .theme-container .left,
  section#splash .highlighted-container .left,
  section#splash .highlighted-container a .background {
    display: none;
  }
  section#splash .logo-container {
    height: 140px;
  }
  section#splash .theme-container {
    flex-direction: column;
    height: auto;
    margin: 0;
  }
  section#splash .theme-container a {
    width: 100%;
    height: 290px;
    margin: 0 !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    -moz-mask-image: none !important;    
  }
  section#splash .theme-container a::before {
    content: '';
    width: 90px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    mask-image: url(../img/mask.svg);
    -webkit-mask-image: url(../img/mask.svg);
    -moz-mask-image: url(../img/mask.svg);
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    -moz-mask-repeat: no-repeat;
    mask-position: right center;
    -webkit-mask-position: right center;
    -moz-mask-position: right center;
    mask-size: cover;
    -webkit-mask-size: cover;
    -moz-mask-size: cover;
    z-index: 100;
  }
  section#splash .theme-container a:first-child::before {
    background: url(../img/square-background-rolunk.jpg) center center no-repeat;
    background-size: cover;
  }
  section#splash .theme-container a:nth-child(2)::before {
    background: url(../img/square-background-villanyszerelo.jpg) center center no-repeat;
    background-size: cover;
  }
  section#splash .theme-container a:nth-child(3)::before {
    background: url(../img/square-background-lakossag.jpg) center center no-repeat;
    background-size: cover;
  }  
  section#splash .highlighted-container {
    height: auto;
    flex-direction: column;
    background: none;
  }
  section#splash .highlighted-container a {
    width: 100%;
    height: 135px;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    -moz-mask-image: none !important;
    background: #e8e8e8;
    margin: 10px 0 0 0 !important;
  }
}

/* 768 */
@media only screen
and (max-width : 768px) {
  section#organization-group .group,
  section#partners .partner {
    flex-wrap: wrap;
    height: auto;
    margin-top: 20px;
  }
  section#organization-group .group .image-container,
  section#partners .partner .partner-logo-container {
    height: 160px;    
  }
  section#organization-group .group .data-container,
  section#partners .partner .data-container {
    padding-left: 20px;
  }
  section#organization-group .group .data-container p,
  section#partners .partner .data-container p {
    height: auto;
  }
  section#licences .licences-container a {
    width: calc((100% / 2) - 20px);
    margin: 10px;
  }
  body.villanyszerelo section#dropdown-group .dropdown-head {
    flex-direction: column;
    align-items: flex-start;
  }  
  #course {
    flex-wrap: wrap;
  }
  section#course .sum,
  section#course .description {
    width: 100%;
    display: block;
    margin: 0;
  }
  section#course .description {
    order: 1;
  }
  section#course .sum {
    order: 2;
    margin-bottom: 20px;
  }
  section#search .result-container .result {
    width: calc((100% / 1) - 30px);
    margin-top: 10px;    
    margin-bottom: 10px;    
  }
  section#search .result-container .result .data-container {
    margin: 10px 0 0 0;
  }
  section#search .result-container .result .languages {
    top: 57px;
  }
  section#search .result-container .result .providers {
    top: 20px;
    left: 145px;
    flex-direction: row;
  }
  section#search .result-container .result .providers img {
    margin-bottom: 0;
    margin-right: 5px;
    height: 25px;
  }
}

/* 480 */
@media only screen
and (max-width : 480px) {
  section#common-partners li {
    width: calc(100% / 3);
  }
  section#news .news-container a .content-layer .image-container {
    display: none;
  }
  section#news .news-container a .content-layer .data-container {
    width: 100%;
  }
  section#news .news-container a .content-layer .data-container h2 {
    overflow: auto;
    text-overflow: unset;
    white-space: normal;
  }
  section#news .news-container a,
  section#news .news-container a .content-layer {
    height: auto;
  }
  section#licences .licences-container a {
    width: calc((100% / 1) - 20px);
    margin: 10px;
  }
  section#tab-header .tabs.tab-2 a {
    width: calc((100% / 1) - 20px);
  }
  section#download-list img {
    display: none;
  }
  section#apply .row,
  section#auth .row {
    flex-direction: column;
    align-items: flex-start;
  }
  section#apply .row label,
  section#auth .row label {
    margin-bottom: 5px;
    width: 100%;
  }
  section#search .refine-container .refine-blocks .block {
    width: 100% !important;
  }  
}