html {
  --brown: #e3dcd4;
  --brown-1: #f8f4f3;
  --brown-2: #ba9072;
  --brown-3: #836d46;
  --brown-4: #966645;
  --brown-5: #c0bab2;
  --grey: #949494;
  --grey-2: #ebebeb;
  background-color: #f8f4f3;
}

body {
  background-color: #f8f4f3;
}

.m-r-5 {
  margin-right: 5px;
}

.m-l-5 {
  margin-left: 5px;
}

p {
  margin: 0px;
  padding: 0px;
}

a {
  color: #836d46;
}

a:hover, a:focus {
  color: #836d46;
  cursor: pointer;
}

.table-responsive a, .table a:not(.btn) {
  text-decoration: none;
}

h1 {
  text-align: center;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 40px; /* 20px eltolodas &#65279; miatt */
  margin-bottom: 55px;
}

button.rotate {
  transform: rotate(180deg);
}

.btn-default {
  background-color: #ba9072;
  border-color: #ba9072;
}

.btn-default:hover,
.btn-default:focus {
  background-color: #966645;
  border-color: #966645;
}

.btn-disabled,
.btn-disabled:hover {
  cursor: not-allowed;
  text-decoration: none;
  opacity: 0.5;
}

.admin-new-button {
  margin-top: 10px;
}

.label-tooltip {
  font-size: 60%;
  vertical-align: middle;
  margin-left: 10px;
  padding: 3px 7px;
}

.category-label {
  background-color: #ba9072;
  text-align: center;
  color: white;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  border-radius: 20px;
  padding: 5px 15px;
}

.category-label:hover {
  text-decoration: underline;
  color: white;
}

.search-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e3dcd4;
  height: 75px;
}

.search-container > form {
  margin-bottom: 0;
  margin-left: 30px;
  border-radius: 20px;
  display: flex;
}

.search-container input {
  width: 420px;
  border-radius: 20px;
}

.search-icon {
  position: relative;
  top: 7px;
  left: -37px;
}

.search-icon img {
  width: 28px;
}

.form-control:focus {
  border-color: #ba9072;
}

.ui-autocomplete {
  position: absolute;
  z-index: 1000;
  cursor: default;
  padding: 0;
  margin-top: 2px;
  list-style: none;
  background-color: #e3dcd4;
  border: 1px solid #e3dcd4;
}

.ui-autocomplete a {
  display: block;
  padding: 5px 20px;
}

.ui-autocomplete > li.ui-state-focus {
  background-color: #836d46;
}

.ui-autocomplete > li.ui-state-focus > a {
  color: white;
  text-decoration: none;
}

.ui-helper-hidden-accessible {
  display: none;
}

.content-hidden {
  background-color: black;
  opacity: 0.529;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 90;
}

.content-fixed {
  position: relative;
  top: 120px;
}

.header {
  margin-bottom: 0;
  border-bottom: 1px solid #c0bab2;
  height: 120px;
  background-color: #f8f4f3;
  z-index: 98;
}

.header-fixed {
  position: fixed;
  width: 100%;
}

.header .header-icons {
  width: 183px;
}

.header .header-icons img {
  max-width: 19px;
  max-height: 19px;
  margin-right: 15px;
}

.header .header-icons a:hover {
  text-decoration: none;
}

.header .header-main {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  margin: 0 55px;
}

.header > .header-main > .main-logo {
  position: relative;
  left: -40px;
  width: 250px;
}

.header .header-main .menu-buttons {
  cursor: pointer;
  width: 87px;
  outline: none;
  display: flex;
}

.header .header-main #menu-text {
  font-size: 16px;
  text-transform: uppercase;
  color: #836d46;
  font-weight: bold;
  position: relative;
  top: -1px;
  margin-left: 7px;
}

#nav-icon {
  position: relative;
  width: 23px;
  height: 21px;
  transform: rotate(0deg);
  transition: .5s ease-in-out;
  cursor: pointer;
  border: none;
  background-color: unset;
  padding: 0;
  outline: 0;
}

#nav-icon span {
  position: absolute;
  width: 100%;
  height: 4px;
  background: #836d46;
  border-radius: 9px;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

#nav-icon span:nth-child(1) {
  top: 0px;
}

#nav-icon span:nth-child(2),
#nav-icon span:nth-child(3) {
  top: 8px;
}

#nav-icon span:nth-child(4) {
  top: 16px;
}

#nav-icon.open span {
  width: 120%;
  left: -3px;
}

#nav-icon.open span:nth-child(1) {
  width: 0%;
  left: 50%;
}

#nav-icon.open span:nth-child(2) {
  transform: rotate(45deg);
}

#nav-icon.open span:nth-child(3) {
  transform: rotate(-45deg);
}

#nav-icon.open span:nth-child(4) {
  width: 0%;
  left: 50%;
}

.header .navbar-links {
  display: none;
  position: absolute;
  right: 0;
  z-index: 100;
  width: 340px;
  text-transform: uppercase;
  background-color: white;
  font-size: 18px;
  font-weight: bold;
}

.header .navbar-links.show-menu {
  display: flex;
  flex-direction: column;
}

.header .navbar-links p {
  padding-left: 60px;
  height: 45px;
  display: flex;
  align-items: center;
}

.header .navbar-links .other-menu {
  margin-bottom: 10px;
}

.header .navbar-links .other-menu p {
  font-size: 14px;
  height: 30px;
}

.header .navbar-links a:hover {
  text-decoration: none;
  background-color: #e3dcd4;
}

.header .navbar-links p:hover {
  background-color: #e3dcd4;
}

.header .navbar-links .divider {
  height: 1px;
  margin: 9.5px 0;
  overflow: hidden;
  background-color: #e5e5e5;
}

.header .navbar-links .other-menu p.divider {
  height: 1px;
}

.dropdown-menu > li > a {
  color: #836d46;
}

.dropdown-menu > li > a:hover {
  color: #836d46;
}

.article-list {
  margin: 30px auto 0 auto;
  max-width: 1300px;
  display: block;
  text-align: center;
}

.article-box {
  position: relative;
  display: inline-block;
  width: 270px;
  height: 655px;
  vertical-align: top;
  background-color: white;
  margin: 0 15px 30px 15px;
}

.article-text-section {
  text-align: left;
  height: 300px;
  padding: 25px 20px;
}

.article-text-section > h2 {
  margin: 10px 0;
  font-size: 18px;
  font-weight: bold;
}

.article-text-section > h2 > a {
  color: inherit;
}

.article-text-section > h4 {
  font-size: 14px;
  margin: 0;
}

.article-text-section > p {
  position: relative;
  z-index: 10;
  background-color: white;
  padding-bottom: 5px;
}

.article-category {
  position: absolute;
  z-index: 5;
  max-width: 230px;
  left: 20px;
  top: 600px;
  text-align: left;
}

.article-box .article-img {
  min-width: 270px;
  max-width: 400px;
  min-height: 335px;
  max-height: 400px;
  transition: all linear 0.4s;
}

.article-box .article-img:hover {
  transform: scale(1.05);
}

.article-box .box-img-horizontal .article-img {
  max-width: 700px;
  transform: translateX(-150px);
}

.article-box .box-img-horizontal .article-img:hover {
  transform: translateX(-150px) scale(1.05);
}

.article-box .img-container {
  position: relative;
  width: 270px;
  height: 335px;
  overflow: hidden;
}

.article-box .category-label {
  position: absolute;
  top: 8px;
  left: 8px;
}

.article-list-pager {
  margin: 30px auto 50px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.article-list-pager .pager-link {
  margin: 0 5px;
  font-weight: 500;
}

.btn-pager {
  margin: 0 20px;
  padding: 5px 15px;
  background-color: transparent;
  border: 2px solid #836d46;
  border-radius: 20px;
  text-transform: uppercase;
  font-weight: bold;
}

.article-list-pager .btn-pager:first-of-type {
  margin-top: 0;
}

.article {
  margin-top: 50px; /* 20px eltolodas &#65279; miatt */
  display: flex;
}

.article h1 {
  text-align: left;
  text-transform: unset;
  font-size: 36px;
  margin-top: 30px;
  margin-bottom: 10px;
}

.article h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.5;
}

.article h3 {
  font-size: 17px;
}

.article h4 {
  margin-top: 20px;
  margin-bottom: 0;
  font-size: 17px;
  color: #949494;
}

.article .meta-content {
  width: 200px;
  vertical-align: top;
  margin-left: 55px;
  margin-right: 10%;
  font-size: 16px;
  line-height: 1.3;
}

.article .article-social {
  margin-top: 20px;
}

.article .article-content {
  max-width: 850px;
  vertical-align: top;
  margin-right: 5%;
  margin-bottom: 50px;
}

.article .article-content img {
  margin: 10px;
}

.article .article-content .article-body > img {
  margin: 0 30px 20px 0 !important;
  width: 270px;
}

.article .article-content img.img-article-horizontal {
  max-width: 100%;
  width: unset;
  display: block;
  margin-left: auto!important;
  margin-right: auto!important;
}

.article .article-content .img-article {
  float: left;
}

.article .article-content .category-label {
  position: relative;
  top: 3px;
  margin-right: 5px;
}

.article .article-body {
  margin-top: 35px;
  text-align: left !important;
  font-family: 'Source Serif Pro', serif!important;
  font-size: 16px;
}

.article .article-body img {
  max-width: 100%;
}

.article .btn-action {
  display: block;
  margin-bottom: 10px;
  padding: 5px 10px;
  text-align: center;
  color: #ba9072;
  background-color: #f8f4f3;
  border: 1px solid #ba9072;
  border-radius: 20px;
  width: 100%;
}

.article .btn-action:hover {
  color: white;
  background-color: #ba9072;
  border: 1px solid white;
  text-decoration: none;
}

.other-articles {
  background-color: #ebebeb;
  padding: 50px 55px 50px 55px;
}

.other-articles h2 {
  margin: 0;
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  text-transform: uppercase;
}

.other-articles h3 {
  margin: 50px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  font-weight: 500;
}

.other-articles h3 button {
  background-image: url('//ekultura.hu/assets/icons/next.svg');
  background-repeat: no-repeat;
  background-color: unset;
  border: none;
  width: 17px;
  height: 100%;
}

.other-articles h3 div {
  display: flex;
  height: 22px;
  padding-top: 5px;
  cursor: pointer;
  font-size: 15px;
  color: #836d46;
}

.other-articles h3 .other-articles-title {
  margin: 0 auto;
}

.other-articles h3 a {
  font-weight: normal;
  text-decoration: none;
}

.other-articles-list {
  margin: 0 auto;
  max-width: 1300px;
  display: block;
  text-align: center;
}

.other-articles-box {
  position: relative;
  display: inline-block;
  width: 270px;
  height: 125px;
  vertical-align: top;
  margin: 0 10px 10px;
}

.other-articles-box ~ .other-articles-box {
  margin-bottom: 30px;
}

.other-articles-box .img-container {
  position: relative;
  width: 100px;
  height: 125px;
  overflow: hidden;
  float: left;
  margin-right: 10px;
}

.other-articles-box img {
  width: 120px;
  float: left;
}

.other-articles-box a {
  display: block;
  text-align: left;
}

.static-article {
  margin: 20px 10% 50px 5%; /* 20px eltolodas &#65279; miatt */
}

footer {
  position: relative;
  margin-bottom: 0;
  margin-top: -21px; /* 20px eltolodas &#65279; miatt */
  background-color: #ba9072;
  border: none;
  text-transform: uppercase;
  text-align: center;
}

footer ul {
  float: none;
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

footer .copyright-text {
  display: none;
}

footer ul > li > a {
  display: block;
  padding: 10px 15px;
  color: white;
}

footer ul > li > a:hover,
footer ul > li > a:focus {
  background-color: #966645;
  color: white;
  text-decoration: none;
}

.img-event {
  max-width: 400px;
}

@media only screen and (max-width: 768px) {
  iframe {
    width: 100%;
  }

  .hidden-in-mobile {
    display: none;
  }

  .content-hidden {
    top: 60px;
  }

  .header {
    height: 60px;
    position: fixed;
    width: 100%;
  }

  .header .header-main {
    margin: 0 25px;
  }

  .header > .header-main > .main-logo {
    position: inherit;
    left: unset;
    width: 190px;
  }

  .header .header-icons,
  .header .header-main #menu-text {
    display: none;
  }

  .header .header-main .menu-buttons {
    width: unset;
  }

  .nav {
    padding-left: 25px;
  }

  .header .navbar-links.show-menu {
    width: 100%;
  }

  .search-container {
    position: relative;
    top: 60px;
  }

  .search-container form {
    margin-left: 20px;
    width: 100%;
  }

  .search-container input {
    width: 100%;
  }

  .body-content {
    position: relative;
    top: 60px;
  }

  .article {
    margin-top: 50px;
    flex-direction: column-reverse;
  }

  .article .article-content {
    max-width: unset;
    margin: 0 7% 50px 7%;
  }

  .article .article-content .article-body > img {
    margin: 20px auto!important;
  }

  .article .meta-content {
    margin: 0 7% 50px;
  }

  .article .article-body {
    margin: 0;
  }

  .article .article-content .img-article {
    float: none;
    display: block;
  }

  .article-list-pager {
    flex-direction: column;
    margin-top: 0;
    margin-bottom: 10px;
  }

  .other-articles {
    padding: 50px 7%;
  }

  .other-articles-box {
    margin: 0;
  }

  .other-articles-box ~ .other-articles-box {
    margin-bottom: 0;
    margin-top: 30px;
  }

  .other-articles h3 {
    flex-direction: column;
    align-items: unset;
  }

  .other-articles h3 span {
    margin: unset;
  }
  
  .other-articles h3 div:nth-last-of-type(1) {
    justify-content: flex-end;
  }

  .other-articles h3 .other-articles-title {
    margin: 20px 0;
  }

  .btn-pager {
    margin: 20px;
  }

  footer {
    top: 60px;
  }

  footer .copyright-text {
    display: unset;
    color: white;
    margin: 15px 0;
  }
  
  footer ul {
    float: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
  }

  footer ul > li > a {
    padding-top: 5px;
    padding-bottom: 5px;
  }
}

.category-label.ajanlok,
.ui-autocomplete > li.ajanlok.ui-state-focus,
.header .navbar-links p.ajanlok:hover {
  color: white;
  background-color: #fe674c;
}

.category-label.hirek,
.ui-autocomplete > li.hirek.ui-state-focus,
.header .navbar-links p.hirek:hover {
  color: white;
  background-color: #24416b;
}

.category-label.interju,
.ui-autocomplete > li.interju.ui-state-focus,
.header .navbar-links p.interju:hover {
  color: white;
  background-color: #b8e6a5;
}

.category-label.beszamolo,
.ui-autocomplete > li.beszamolo.ui-state-focus,
.header .navbar-links p.beszamolo:hover {
  color: white;
  background-color: #ad97e0;
}

.category-label.eletrajz,
.ui-autocomplete > li.eletrajz.ui-state-focus,
.header .navbar-links p.eletrajz:hover {
  color: white;
  background-color: #eccf8b;
}

.category-label.reszlet,
.ui-autocomplete > li.reszlet.ui-state-focus,
.header .navbar-links p.reszlet:hover {
  color: white;
  background-color: #7fa6dd;
}

.category-label.egyeb,
.ui-autocomplete > li.egyeb.ui-state-focus,
.header .navbar-links p.egyeb:hover {
  color: white;
  background-color: #6887fb;
}

.category-label.olvasnivalo,
.ui-autocomplete > li.olvasnivalo.ui-state-focus,
.header .navbar-links p.olvasnivalo:hover {
  color: white;
  background-color: #4dcca1;
}

.category-label.latnivalo,
.ui-autocomplete > li.latnivalo.ui-state-focus,
.header .navbar-links p.latnivalo:hover {
  color: white;
  background-color: #6c23c7;
}

.category-label.hallgatnivalo,
.ui-autocomplete > li.hallgatnivalo.ui-state-focus,
.header .navbar-links p.hallgatnivalo:hover {
  color: white;
  background-color: #dc9e75;
}