/**
 * @file
 * Use this CSS file to override base CSS rules
 */

/* Set default font weight to 300 for better typography in high-density screens */
/*body {
  font-weight: 300;
}*/

.header-top-highlighted span.contact,
.header-top-highlighted span.social {
  padding-right: 1rem;
  white-space: nowrap;
}

.header-top-highlighted span.contact a,
.header-top-highlighted span.social a {
  text-decoration: none;
}

#carousel-block-generic .carousel-item img {
  width: 100%;
}

.region-header-top-highlighted-second {
  text-align: right;
}

.view.product-area-block .views-field-field-ikon img {
  -webkit-filter: invert(1);
  filter: invert(1);
  width: 100px;
}

.view.product-area-block .view-content {
  display: flex;
  flex-wrap: wrap;
}

.view.product-area-block .views-row {
  padding-bottom: 20px;
}

.view.product-area-block h4 {
  font-size: 16px;
  font-weight: bold;
}

.view.product-area-block h4 a {
  text-decoration: none;
}

#block-views-block-termekek-block-3 h3 {
  margin: 0 0 20px;
}

#block-views-block-termekek-block-2 .views-row {
  position: relative;
} 

#block-views-block-termekek-block-2 .views-row .views-field-name {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  text-align: center;
}

#block-views-block-termekek-block-2 .views-row .views-field-name h3.kategoria-name {
  font-size: 1rem;
  background: rgba(0,0,0,0.2);
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  transition: all 0.3s ease-in-out;
}

#block-views-block-termekek-block-2 .views-row .views-field-name h3.kategoria-name:hover {
  background: rgba(0,0,0,0.5);
  font-size: 1.2rem;
  text-decoration: none;
}

#block-views-block-termekek-block-2 .pri-col .views-row .views-field-name h3.kategoria-name {
  font-size: 1.5rem;
  background: rgba(0,0,0,0.1);
}

#block-views-block-termekek-block-2 .pri-col .views-row .views-field-name h3.kategoria-name:hover {
  font-size: 1.7rem;
  background: rgba(0,0,0,0);
}

#block-views-block-termekek-block-2 .views-row .views-field-name h3.kategoria-name a {
  color: white;
  font-weight: bold;
  text-shadow: 0 0 10px #000;
  width: 100%;
  align-items: center;
  display: flex;
  justify-content: center;
}

#block-views-block-termekek-block-2 .flex-col {
  display: flex;
  flex-wrap: wrap;
}

#block-views-block-termekek-block-2 .views-field-field-kategoria-kep img {
  width: 100%;
}

#block-views-block-termekek-block-2 .flex-col .views-row:nth-child(1) {
  margin-bottom: 10px;
}

#block-views-block-termekek-block-2 .pri-col div {
  height: 100%;
}

#block-views-block-termekek-block-2 .pri-col img {
  height: 100%;
  object-fit: cover;
  width: 100%
}

.termekek-flex-grid .termekek-content {
  display: flex;
  flex-wrap: wrap;
}

#block-szolgaltatasok ul {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}

#block-szolgaltatasok ul li {
  flex: 1 1 0;
  text-align: center;
  list-style: none;
  min-width: 100px;
}

#block-szolgaltatasok ul li .icon {
  display: block;
  font-size: 48px;
}

.path-frontpage .main-content__section, .sidebar__section {
  padding: 0;
}

.view-ugyfelvelemenyek .row::after {
  content: ' ';
  display: block;
  margin: 15px auto 15px;
  width: 60%;
  border-bottom: 1px dotted;
}

.view-ugyfelvelemenyek .row:last-child::after {
  border-bottom: 0;
}

.view-ugyfelvelemenyek .row:nth-child(2n) {
  flex-direction: row-reverse; 
}
  
.view-ugyfelvelemenyek .source {
  text-align: right;
}  

@media (max-width: 767px) {
  #block-views-block-termekek-block-2 .pri-col img {
    width: 100%;
    padding: 15px;
  }
  .region-header-top-highlighted-second {
    text-align: center;
  }
  .region-header-first .logo {
    float: none;
    text-align: center;
    width: 100%;
  }
  .header-top-highlighted {
    line-height: 32px;
  }
  .region-header-third .kereso-simple-form {
    display: none;
  }
}

@media (max-width: 576px) {
  .header-top-highlighted .row > div {
    display: inline-block;
    width: auto;
    padding: 0 10px;
  }
  .header-top-highlighted__section {
    font-size: 24px;
    line-height: 64px;
  }
}

#sub-featured {
  background: url(../../images/harvest.jpg) no-repeat center center;
  background-size: cover;
}

#sub-featured .row {
  background: rgba(0,0,0,0.7);
}

.region-sub-featured .block {
  color: white;
  text-align: center;
}


.region-sub-featured .block h2 {
  color: white;
  padding: 20px 0 0;
  margin: 0 auto;
}

.region-sub-featured .block h3 {
  color: white;
  font-size: 24px;
  text-align: left;
}

.region-sub-featured .flexslider {
  background: transparent;
}

#block-cegadatok h2.title {
  text-align: left;
}

#block-termekkategoriak ul ul {
  margin-left: 1em;
}

.path-node #main-content > .container {
  border-bottom: 2px solid #eee;
}

.slick-arrow::before {
  color: #09f;
}

.media--type-remote-video.media--view-mode-galeria {
  position: relative;
}

.media--type-remote-video.media--view-mode-galeria .colorbox-media-video:after {
  content: '\f144';
  display: block;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  text-align: center;
  line-height: 50px;
  font-size: 40px;
  margin-top: -25px;
  color: white;
  font-family: 'Font Awesome 5 Free';
  text-shadow: 0 0 5px black;
}

.page-node-type-termek .main-content__section {
  padding-top: 0;
}

.region-slideout ul.sf-menu.sf-accordion.sf-expanded, 
.region-slideout ul.sf-menu.sf-accordion li.sf-expanded > ul {
  padding-left: 10px;
}

button.custom-block-toggle {
  background: transparent;
  display: inline-block;
  height: 48px;
  position: absolute;
  width: 100%;
  text-align: left;
  border: 0;
  padding: 0;
}

button.custom-block-toggle::after {
  content: "\f0c9";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 22px;
  cursor: pointer;
  color: #ffffff;
  background: #004d57;
  line-height: 48px;
  width: 48px;
  display: inline-block;
  text-align: center;
}

#filter-toggle::after {
  content: "\f00d";
}

#filter-toggle.collapsed::after {
  content: "\f067";
}

button.custom-block-toggle:focus {
  outline: 0;
}

.views-exposed-form h2.filter-title {
  padding-left: 56px;
}


@media (max-width: 991px) {
  #block-termekkategoriak h2.title {
    padding-left: 56px;
  }
}

.field-group-tabs-wrapper details {
  margin-top: 0;
  margin-bottom: 0;
  border-color: #0099ff;
}

.field-group-tabs-wrapper details summary {
  background: #0099ff;
  font-weight: bold;
  color: white;
}

h4.filter-title {
  font-size: 18px;
  font-weight: bold;
}

.filter-view,
.view-termekkategoria .view-filters .form--inline {
  border-bottom: 2px solid #007989;
  margin-bottom: 15px;
}

.view-termekkategoria h2.filter-title {
  margin-bottom: 10px;
}

.filter-view .active a {
  color: #0099ff;
  font-weight: bold;
}

.filter-view .active a:hover {
  font-weight: bold;
}

#filter-inner {
  display: flex;
  flex-wrap: wrap;
}

.node--type-termek details > .details-wrapper {
  padding: 0.5em 0;
}

h4.variation-title {
  font-size: 16px;
  margin: 5px 0 15px;
}

button.ui-dialog-titlebar-close {
  background: transparent;
  border: 0;
}

button.ui-dialog-titlebar-close::after {
  content: '\f00d';
  display: block;
  font-family: 'Font Awesome 5 Free';
  color: #004d57;
  background: transparent;
  width: 20px;
  line-height: 20px;
  font-weight: 900;
  font-size: 1.5em;
}

.webform-submission-form fieldset legend {
  border: 0;
  margin: 0;
}

.webform-submission-form .fieldset-wrapper .form-item:first-child {
  margin-top: 0;
}

.ui-widget-overlay {
  background: black;
  opacity: 0.7;
  -ms-filter: "alpha(opacity=70)";
}

#block-ajanlatkeresbuttonblock a.button {
  background: #009933;
  color: white;
  font-weight: bold;
  font-size: 1.5em;
}

#block-ajanlatkeresbuttonblock a.button:hover {
  background: #006600;
}

.card-header a.btn::before {
  content: '\f078';
  display: inline-block;
  font-family: 'Font Awesome 5 Free';
  font-weight: bold;
  margin-right: 10px;
}

.card-header a.btn.collapsed::before {
  content: '\f054';
}

#banner h3 {
  font-size: 3vw;
  margin: 2vw 0 1vw 0;
}

.carousel-caption {
  background: rgba(0,0,0,0.5);
  font-size: 1.5vw;
}

@media (max-width: 767px) {
  #banner h3 {
    font-size: 24px;
  }
  .carousel-caption {
    font-size: 16px;
    position: static;
  }
}

.tablesaw th, .tablesaw td {
  padding: 0.2em 0.3em;
}

.view-gyartolista .view-content {
  align-items: center;
}

#block-views-block-hirek-block-1 .view-content {
  position: relative;
}

#block-views-block-hirek-block-1 .view-content .views-field-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.5);
  padding: 0 10px;
}

#block-views-block-hirek-block-1 .view-content .views-field-title a {
  color: white;
}

#content-bottom {
  background-color: #f6f6f6;
  padding: 15px 0;
}

#block-views-block-hirek-block-2 .view-content .row {
  align-items: center;
}

#content-top-banner-fluid {
  background: #8cf;
  /*border-top: 8px dashed white;*/
  /*border-bottom: 8px dashed white;*/
}

.content-top-banner {
  padding: 20px 0;
}

.content-top-banner h2.title {
  padding: 0;
}

#content-top-banner-fluid h2.title {
  color: white;
  font-weight: bold;
  font-family: "PT Serif";
}

#content-top-banner-fluid h2.title::after {
  content: '\f02c';
  display: block;
  font-family: 'Font Awesome 5 Free';
  font-size: 96px;
  margin-top: 50px;
  transform-origin: 10px 10px;
}

@media (min-width: 768px) {
  #content-top-banner-fluid:hover  h2.title::after {
    animation: sale-icon 1s;
  }
}

@media (max-width: 991px) {
  #content-top-banner-fluid h2.title {
    font-size:24px;
  }
  #content-top-banner-fluid h2.title::after {
    margin-top: 30px;
    font-size: 48px;
  }
}

@media (max-width: 767px) {
  #content-top-banner-fluid h2.title::after {
    margin-top: 0;
  }
}


@keyframes sale-icon {
  0% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(-10deg);
  }
  20% {
    transform: rotate(10deg);
  }
  30% {
    transform: rotate(-10deg);
  }
  40% {
    transform: rotate(10deg);
  }
  50% {
    transform: rotate(-10deg);
  }
  60% {
    transform: rotate(10deg);
  }
  70% {
    transform: rotate(-10deg);
  }
  80% {
    transform: rotate(10deg);
  }
  90% {
    transform: rotate(0deg);
  }
}

.row.vertical-center {
  align-items: center;
}

/*széchenyi 2020 logó*/

#block-szechenyi2020logo {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 1000000;
}

#block-szechenyi2020logo button {
  width: 34px;
  line-height: 30px;
  font-size: 24px;
  padding: 0;
  background: white;
  border: 2px solid #007989;
  border-radius: 100%;
  margin-right: 10px;
  margin-bottom: -20px;
  z-index: 10;
  position: relative;
}

#block-szechenyi2020logo button.collapsed {
  margin-bottom: 10px;
}

#block-szechenyi2020logo button .closed {
  display: none;
}

#block-szechenyi2020logo button.collapsed .closed {
  display: inline;
}

#block-szechenyi2020logo button.collapsed .opened {
  display: none;
}

div.to-top {
  right: auto !important;
  left: 10px !important;
}
