html,
body {
  height: 100%;
  background-color: white;
}
body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
#body {
  -webkit-box-flex: 1;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
}

.last-p {
  margin-bottom: 0;
}
.boxes > div > *:last-child {
  margin-bottom: 0;
}
a[href^='tel:']:before {
  content: '\260E';
  display: inline-block;
  margin-right: 0.5em;
}
::-webkit-scrollbar {
  width: 14px;
}
::-webkit-scrollbar-track {
  background-color: var(--color-main);
  border-left: 1px solid #282828;
}
::-webkit-scrollbar-thumb {
  background-color: var(--color-hl);
  border-left: 1px solid #282828;
}
::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-hl2);
}
::-webkit-scrollbar-button {
  background-color: var(--color-warning);
}
::-moz-selection {
  background: var(--color-main);
  color: var(--color-hl);
}
::selection {
  background: var(--color-main);
  color: var(--color-hl);
}
::-moz-selection {
  background: var(--color-main);
  color: var(--color-hl);
}

a {
  color: var(--color-hl);
  -webkit-transition: color 0.25s linear;
  -o-transition: color 0.25s linear;
  transition: color 0.25s linear;
}
a:hover {
  color: var(--color-hl2);
}
#styleDefault .md-button {
  font-size: 1.25rem;
}
.md-button {
  font-weight: bold;
  border-radius: 10px;
  padding: 15px 30px;
  color: white;
  background: var(--color-main);
}
.md-button:focus,
.md-button:hover {
  background: var(--color-hl2) !important;
  color: white;
}
.md-button.vers-hl {
  background: var(--color-hl);
  color: white;
}
.md-button.vers-hl:focus,
.md-button.vers-hl:hover {
  background: var(--color-hl2) !important;
}
.md-button.vers-hl2 {
  background: var(--color-hl2);
}
.md-button.vers-hl2:focus,
.md-button.vers-hl2:hover {
  background: var(--color-hl) !important;
  color: var(--color-main);
}

.md-button.vers-white {
  background: white;
  color: var(--color-main);
}
.md-button.vers-white:focus,
.md-button.vers-white:hover {
  background: var(--color-hl) !important;
  color: var(--color-main);
}
.md-button.vers-white2 {
  background: white;
  color: var(--color-hl2);
}
.md-button.vers-white2:focus,
.md-button.vers-white2:hover {
  background: var(--color-hl) !important;
  color: white;
}
.md-button.vers-warning {
  background: var(--color-warning);
  color: white;
}
.md-button.vers-warning:focus,
.md-button.vers-warning:hover {
  background: var(--color-hl2) !important;
  color: white;
}
hr {
  border: none !important;
  height: 1px !important;
  background: var(--color-main) !important;
  margin: 10px 0 !important;
}
.inner-container {
  max-width: 1920px;
  margin: auto;
}
.inner {
  max-width: 1210px;
  margin: auto;
}
.inner-pad {
  padding: 5% 0;
}
.inner-pad + .inner-pad {
  padding-top: 0;
}
header.main,
.graybox {
  background: #eee;
  background: -o-linear-gradient(181deg, #eee 0%, rgba(238, 238, 238, 0) 100%);
  background: linear-gradient(269deg, #eee 0%, rgba(238, 238, 238, 0) 100%);
}
.graybox .decor {
  background-size: 24%;
  background-position: right 46%;
}
.graybox .flex {
  min-width: 5%;
}
.graybox .img {
  max-width: 438px;
  position: relative;
  margin: auto;
  min-width: 36.1983%;
}
.graybox img {
  width: 100%;
  height: auto;
  display: block;
}
.graybox .img:before {
  content: '';
  display: block;
  height: 14.19%;
  width: 14.87%;
  position: absolute;
  top: 14.81%;
  left: -3.2%;
}

/* HEADER */
header.main {
  padding: 4.545% 8.26% 0;
}
header.main li a {
  font-size: 0.95rem;
}
header .logo {
  width: 169px;
  height: 55px;
  margin-right: 30px;
}
/* a legfelső elemek nem tartalmazhatnak felső margót, helyette padding kell, különben függőleges scrollbar keletkezik (a height 100% miatt) */

/* MENU */
nav {
}
nav ul {
  display: table;
  margin: 0;
  padding: 0;
  list-style-type: none;
}
nav li {
  display: block;
  float: left;
  position: relative;
}
nav li a {
  text-decoration: none;
  padding: 1em;
  display: block;
  -webkit-transition: all 0.25s linear;
  -o-transition: all 0.25s linear;
  transition: all 0.25s linear;
  white-space: nowrap;
  color: var(--color-main);
}
nav li.active a,
nav li a:hover,
nav li:focus-within a {
  /*background: red;*/
  color: var(--color-hl2);
}
nav li a[href='#'] {
  cursor: default;
}
nav li:focus-within a {
  outline: none;
}
nav ul li ul {
  visibility: hidden;
  opacity: 0;
  min-width: 5rem;
  position: absolute;
  left: 0;
  display: none;
  -webkit-transition:
    visibility 0s linear 0.25s,
    opacity 0.25s linear;
  -o-transition:
    visibility 0s linear 0.25s,
    opacity 0.25s linear;
  transition:
    visibility 0s linear 0.25s,
    opacity 0.25s linear;
  z-index: 1;
}
nav ul li:hover > ul,
nav ul li:focus-within > ul,
nav ul li ul:hover,
nav ul li ul:focus {
  visibility: visible;
  opacity: 1;
  display: block;
  -o-transition-delay: 0s;
  transition-delay: 0s;
  -webkit-transition-delay: 0s;
}
nav ul li ul li {
  clear: both;
  width: 100%;
}
nav > ul {
  margin: 0 -1em;
}

.main nav .buttonlike a {
  text-transform: uppercase;
  border-radius: 10px;
  background: var(--color-hl2);
  color: white;
  padding: 0.5em;
}
.main nav .buttonlike a:focus,
.main nav .buttonlike a:hover {
  background: var(--color-hl);
}
.md-button.breakable {
  white-space: normal;
}
.svg-triad {
  margin: 1.5rem 0;
  width: 59px;
  height: 14px;
  color: transparent;
}
.svg-triad * {
  display: none;
}
.svg-triad.center {
  margin-left: auto;
  margin-right: auto;
}

ul.fancy {
  list-style: none;
}
ul.fancy:not(.elementor-editor-element-settings) {
  clear: both;
  margin-bottom: 20px;
}
ul.fancy:not(.elementor-editor-element-settings) li:before {
  content: '';
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 1rem;
  height: 0.9rem;
  margin-left: -1.5rem;
  margin-top: 0.3rem;
  float: left;
}
.members {
  margin: -2%;
}
.members .item {
  /*max-width: 366px;
	width: 30.248%;*/
  padding: 2%;
}
.members img {
  width: 100%;
  height: auto;
  border-radius: 10px 10px 10px 0;
  margin-bottom: 30px;
}
.members h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
}
.members h4:first-of-type {
  font-size: 1.125rem;
  font-weight: bold;
  color: var(--color-hl);
}
.members h4:last-of-type,
.members p {
  margin-bottom: 30px;
}
.members p:last-of-type {
  margin-bottom: 0;
}
/* FOOTER */

/*alulrazárt footer*/
footer {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  background: #eee;
}
footer .nav {
  padding-bottom: 40px;
  border-bottom: solid 1px #aeaeae;
}
footer a {
  color: var(--color-main);
  font-weight: normal;
}
footer .svg-logo-foot {
  padding-bottom: 32.85%;
  margin-top: 8px;
}
footer .item-logo {
  width: 171%;
  max-width: 207px;
}
footer .item {
  padding: 0 10px;
}
footer .item:last-of-type {
  padding-right: 0;
}
footer h4 {
  text-transform: uppercase;
  font-weight: bold;
}
footer p {
  line-height: 2.5;
}
footer .copy {
  padding-top: 3.72%;
  text-align: center;
}
footer .inner-pad {
  padding-top: 3.72%;
  padding-bottom: 3.72%;
}
footer .logo {
  text-transform: uppercase;
  text-decoration: none;
  font-weight: normal;
  background: url(img/webdesign2.png) no-repeat right top;
  padding-right: 40px;
  height: 28px;
  line-height: 28px;
  display: inline-block;
}
footer .item p:last-of-type {
  margin-bottom: 0;
}
/* googlemaps */
#map.flexible-container {
  /* padding-bottom: 56.25%; iframe height/width * 100 */
}
.videoContainer {
  margin-left: auto;
  margin-right: auto;
  max-width: 620px;
  width: 100%;
}
.flexible-container .embed,
.flexible-container embed,
.flexible-container iframe,
.flexible-container object {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}
iframe {
  border-radius: 10px;
}
.e-con {
  margin: 0;
  padding: 0;
}
.e-con-full,
.e-con > .e-con-inner {
  margin: 0;
  padding: 0;
  max-width: none;
}
