header {
  overflow: hidden;
  position: relative;
  background-position: center -24px !important;
}

@media (max-width: 991px) {
  header {
    background-position: center right -500px !important;
  }
}

.hero-intro {
  position: relative;
  z-index: 10;
}

.btn-primary {
  background: #c4bc96 !important;
} 

.hero-services-box .btn-primary {
  background: #1e1e1e !important;
} 

.hero-services-box .btn-primary:hover {
  background: #000000d7 !important;
} 

.hero-services-box {
  background: #0c0c0cd6;
  border-radius: 8px;
  padding: 32px 24px 48px 24px;
  margin: 0 auto;
  margin-top: 400px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.hero-services-box .fa-stack {
    width: 1em;
    height: 1em;
    line-height: 120%;
}

.hero-services-box h4 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  color: #FFF;
}

.hero-services-box h5 {
    line-height: 150%;
}

.hero-services-box i {
  font-size: 60px;
}


@media (min-width: 768px) {
  header .intro-text {
    padding-bottom: 0 !important;
  }

  header .intro-text .intro-heading {
    margin-bottom: 0 !important;
  }
}

a.navbar-brand {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
}

.logo-img {
  width: 60px;
  transition: .2s ease-in;
}

.logo-text {
  font-size: 14px;
  color: #ddb62f;
  font-weight: 700;
  margin-left: 16px;
  max-width: 150px;
  line-height: 150%;
  transition: .2s ease-in;
}

.affix-top .logo-img {
  width: 80px;
}

.affix-top .logo-text {
  font-size: 18px;
}


.navbar-custom .navbar-nav a {
  font-size: 14px;
  transition: .2s ease-in;
}

.navbar-custom .navbar-nav .sub-menu a:hover {
  color: #444 !important;
}

.navbar-custom .navbar-nav > .active > a {
  background-color: #1e1e1e !important;
  font-size: 14px;
}

.affix-top.navbar-custom .navbar-nav a {
  font-size: 16px;
}

.navbar-custom .navbar-nav > .active > a > span {
  border-bottom: 2px solid #ddb62f;
  padding-bottom: 1px;
}

.flags {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-left: 40px;
}

.flags a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: white;
    font-size: 14px;
}


.header-menus ul {
  list-style-type: none;
}

.divider {
  margin-left: 10px;
  margin-right: 12px;
  color: white;
}

.portfolio-text {
  background: #000 !important;
  font-size: 23px;
  margin-top: 280px;
  margin-bottom: 0px;
  border-color: black !important;
  padding: 16px 24px;
  color: #ddb62f !important;
  box-shadow: 0px 0px 30px 1px #000000;
  transition: .1s ease-in;
}

.portfolio-text:hover {
  background: #000000d7 !important;
  color: #f0cb48 !important;
}

.hero-services-box .fa {
  color: #ddb62f !important;
  transition: .1s ease-in;
}

.hero-services-box .fa:hover {
  color: #f0cb48 !important;
}

@media (min-width: 768px) {
  section {
    padding-top: 140px !important;
    padding-bottom: 40px !important;
  }
}



@keyframes slide{
  from{
    transform:translateX(0) ;
    
  }
  to{
    transform:translateX(-100%) ;
  
  }
}
.logos{
  overflow:hidden;
  padding:60px 0 ;
  white-space:nowrap;
  position:relative;
}

.logos:before,
.logos:after{
  content:"";
  position:absolute;
  top:0;
  width:250px;
  height:100%;
  z-index:2;
}
.logos:before{
  left:0;
  background:linear-gradient(to left, rgba(255,255,255,0), #eeeeee);
}
.logos:after{
  right:0;
  background:linear-gradient(to right, rgba(255,255,255,0), #eeeeee);
}


.logos:hover .logos-slide{
  animation-play-state:paused;
  
  
}
.logos-slide{
  display:inline-flex;
  animation: 60s slide infinite linear;
  gap: 60px;
  margin-right: 60px;
}
.logos-slide img{
  height:50px;
  margin: 0 40px;
}

header::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 424px;
  left: 0px;
  top: -183px;
  background-image: url('../img/dots.png');
  transform: rotate(180deg);
  transform-origin: center;
  opacity: 0.9;
}

footer {
  background-color: #FFF !important;
  overflow: hidden;
}

header::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 424px;
  left: 0px;
  bottom: 0px;
  background-image: url('../img/dots.png');
  opacity: 0.9;
}

.header-menus {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 1200px) {
  .navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .header-menus {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    align-items: flex-end;
  }
}


@media (max-width: 768px) {
  .navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
  }

  .header-menus, .navbar-header, .navbar-collapse {
    width: 100%;
  }

  .nav {
    max-width: 100% !important;
  }

  .flags {
    margin-bottom: 12px;
  }
}

#contact {
  background-image: url(../img/map-image.png) !important;
  padding-bottom: 100px !important;
}

#contact button {
  margin-top: 24px;
}


footer {
  position: relative;
  background: linear-gradient(0deg, rgb(255 255 255) 0%, #d6ab29 60%);
  background: linear-gradient(0deg, #d6ab29 40%, #d6ab2983 100%);
  padding-bottom: 0px !important;
}

footer .city {
  position: relative;
  padding-top: 40px !important;
  padding-bottom: 180px !important;
  color: #000;
  background-image: url(../img/city.png) !important;
  background-repeat: repeat-x !important;
  background-position: left bottom 0px !important;
}

footer .city .container {
  position: relative;
}

footer .city-black {
  background-color: #161616;
  color: #FFF;
  padding-top: 40px;
  padding-bottom: 24px;
}

footer .copyright {
  display: flex;
  gap: 8px;
}

footer .adatkezelesi {
  margin-left: 16px;
}

footer a, #contact a {
  color: #d6ab29 !important;
}

footer .section-heading {
  margin-bottom: 24px;
}

footer .contact-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  font-size: 16px;
  line-height: 160%;
  margin-bottom: 40px;
}

.logoszgs {
  background-image: url(../img/logoszgs.png) !important;
  height: 200px;
  width: 200px;
  background-repeat: no-repeat;
  background-size: contain;
}

@media (min-width: 768px) {
  .footer-logo {
    display: flex;
    justify-content: flex-end;
  }
}

@media (max-width: 768px) {
  .footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: -80px;
  }
}

.btn-xl {
  background-color: #d6ab29 !important;
}

input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
  color: #444 !important;
}

input::-moz-placeholder, textarea::-moz-placeholder {
  color: #444 !important;
}

input:-ms-input-placeholder, v:-ms-input-placeholder {
  color: #444 !important;
}

input::placeholder, textarea::placeholder {
  color: #444 !important;
}

.text-mute {
  color: #eee !important
}

@media (min-width: 991px) {
  .sub-menu {
    display: flex;
    position: absolute;
    flex-direction: row;
    flex-wrap: wrap;
    width: 860px;
    background: #FFF;
    margin-left: -166px;
    border-radius: 4px;
    padding: 24px 32px;
    left: -10000%;
    opacity: 0;
    transition: left 0s ease .1s, opacity .1s ease-in;
  }
}

@media (max-width: 991px) {
  .sub-menu {
    display: none;
  }

  .sub-menu-mobile {
    display: flex;
    position: relative;
    flex-direction: row;
    flex-wrap: wrap;
    background: #FFF;
    border-radius: 4px;
    padding: 24px 32px;
    transition: left 0s ease .1s, opacity .1s ease-in;
  }
}

.sub-menu.active {
  left: 0%;
  opacity: 1;
  transition: left 0s ease .0s, opacity .1s ease-in;
}

.sub-menu li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  width: 50%;
}


.sub-menu li a {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  list-style: none;
  color: #000;
  padding: 10px 0;
  font-size: 14px;
  width: 100%;
  color: #000 !important;
  text-transform: none !important;
  text-decoration: none !important;
  font-family: "Roboto Slab", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

.sub-menu li a > div {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.sub-menu li a > div > span:first-child {
  font-size: 16px !important;
  font-weight: 700 !important;
}

.sub-menu li a > div > span:not(:first-child) {
  max-width: 80%;
}


.sub-menu li a > svg {
  min-width: 40px;
  width: 40px;
  height: 40px;
  margin-right: 12px;
  margin-top: 4px;
}

@media (max-width: 1200px) {
  .nav>li>a {
    padding: 10px 8px;
  }
}

@media (max-width: 991px) {
  .nav>li>a {
    padding: 8px 6px;
  }

  .navbar-brand {
    height: auto;
  }

  .nav {  
    display: flex;
    flex-direction: row;
    max-width: 380px;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-bottom: 4px;
  }
}

.navbar-custom .navbar-toggle {
    background-color: #ddb62f !important;
    color: #000 !important;
}

@media (min-width: 991px) {
  body .navbar-collapse .navbar-brand {
    display: none !important;
  }
}

@media (max-width: 991px) {
  body .navbar-collapse .navbar-brand {
    display: none !important;
  }

  .navbar-fixed-bottom .navbar-collapse, .navbar-fixed-top .navbar-collapse {
    overflow-y: hidden !important;
    display: flex;
    justify-content: flex-end;
    padding: 0px 30px;
  }

  .navbar-toggle {
    margin-top: 22px;
  }

  .affix-top .navbar-toggle {
    margin-top: 32px;
  }
}

@media (max-width: 480px) {  
  .logo-text {
    display: none !important;
  }
}

@media (max-width: 450px) {
  .nav {
    display: flex;
    flex-direction: column;
    max-width: 380px;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-bottom: 4px;
    align-items: flex-end;
  }
}

header + .container {
  padding-top: 80px;
}

.gyari-licencek-listaja {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 48px;
}

.gyari-licencek-listaja > div {
  display: flex;
  flex-direction: column;
  min-width: 180px;
}

.gyari-licencek-listaja img {
  max-width: 160px;
}

.service-card-body {
  display: flex;
  flex-direction: row;
}

#services .service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  margin-bottom: 40px;
    max-width: 400px;
}

#services a {
  color: #444;
  text-decoration: none;
}

.card-body {
  padding-left: 16px;
}

.service-card-body-show {
  display: flex;
  justify-content: flex-end;
}

#services .card-title {
  line-height: 150%;
  font-size: 14px;
}

.btn-outline {
  color: #444;
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
}

.btn-outline {
  position: relative;
}

.btn-outline.arrow-right::after {
  content: '';
  position: absolute;
  top: 6px;
  right: -8px;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='20px' height='20px' viewBox='-10 -2 25 15' xml:space='preserve'%3E%3Cpolyline fill='none' stroke='%23231F20' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' points='0,0 6,6 0,12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

#services .section-heading {
  margin-bottom: 60px;
}

#services .services-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.navbar-custom .nav li a:hover {
  color: #ddb62f !important;
}

body .modal-body p {
  font-size: 18px !important;
}

body .modal-body {
  font-size: 18px !important;
}

input[type=checkbox], input[type=radio] {
  margin: -4px 0 0 !important;
}

ul li {
    line-height: 150%;
}

section#contact {
    background-color: #222222;
    background-image: url(../img/map-image.png) !important;
    background-position: center;
    background-repeat: no-repeat;
}

#services a:active {
  box-shadow: none !important;
}

@media (max-width: 480px) {
.h2, h2 {
    font-size: 24px;
}

section h2.section-heading {
    font-size: 24px !important;
}
}

.service-card-body .card-text {
line-height: 150%;
}

@media (max-width: 768px) {
	.copyright {
		display: flex;
		flex-direction: column;
	}
}

@media (max-width: 768px) {
	#services {
		padding-bottom: 0px !important;
	}
}

@media (max-width: 768px) {
    header {
        background-position: center right -600px !important;
    }
}