body {
   padding-top: 88px; /* Adjusted for fixed navbar */
   color: #242424;
   background-color: #F2F2F2;
}

#hero, #services, #contact {
   position: relative;
   height: 590px;
   display: flex;
   justify-content: center;
   align-items: center;
}

#hero {
   background: #F9A948;
   background: linear-gradient(90deg,rgba(249, 169, 72, 1) 0%, rgba(0, 67, 73, 1) 50%);
}

#services {
   height: 725px;
   background: #8E9293;
   background: linear-gradient(90deg,rgba(142, 146, 147, 1) 0%, rgba(111, 110, 108, 1) 50%);
}

#contact {
   height: 725px;
   background: #00593D;
   background: linear-gradient(90deg,rgba(0, 89, 61, 1) 0%, rgba(223, 179, 144, 1) 50%);
}

#history {
   background-color: #F2EBE2;
}

#hero::before,
#services::before,
#contact::before {
   content: "";
   display: block;
   position: absolute;
   top: 0;
   left: 50%;
   transform: translateX(-50%);
   width: 1500px;
   height: 100%;
   background-size: cover;
   z-index: 1;
}

.hero-content {
   z-index: 2;
   text-align: center;
}

.hero-content h1 {
   font-size: 3rem;
   font-weight: bold;
}

.hero-content p {
   font-size: 2rem;
   margin-bottom: 2rem;
}

.hero-content .btn-hero {
   text-transform: uppercase;
   font-size: 2rem;
   background-color: #F8A844;
   border: 1px solid #A55C47;
   padding: 14px 24px;
   text-decoration: none;
}

.horizontal-scroll-row {
   flex-wrap: nowrap;
   overflow-x: auto;
   scroll-behavior: smooth;
   padding-bottom: 15px;
   margin-bottom: -15px;
}

.horizontal-scroll-row::-webkit-scrollbar {
   height: 8px;
}

.horizontal-scroll-row::-webkit-scrollbar-track {
   background: #2c3034; /* Sötét háttér a sávnak */
   border-radius: 10px;
}


.btn {
   text-transform: uppercase;
}

.hero-content .btn-hero:hover {
   background-color: #016A76;
   border: 1px solid #01444C;
}

.btn-green {
   background-color: #01444C;
   border: 1px solid #016A76;
}

.btn-green:hover {
   background-color: #016A76;
   border: 1px solid #01444C;
}

section {
   padding: 60px 0;
}

.section-title {
   text-align: center;
   margin-bottom: 40px;
   font-weight: bold;
   color: #004349;
}

.content-image {
   text-align: center;
   padding-bottom: 20px;
}

.content-image img {
   max-width: 100%;
}

#video .section-title,
#video h4 {
   color: #fff;
}

/* CONTENT LATEST LIST */
.latest-list {
   list-style-type: none;
   padding: 14px 0 6px 0;
}

.latest-list h3 {
   padding-left: 14px;
   text-transform: uppercase;
}

.latest-list img {
   float: left;
   max-width: 110px;
   padding: 0 14px 0 14px;
}

.latest-list-i i {
   font-size: 20px;
   padding-left: 14px;
   color: #F8AC4B;
}

.latest-list-i li {
   height: 50px !important;
}

.latest-list-i li a {
   font-size: 16px;
}

.latest-list li {
   height: 80px;
   line-height: 20px;
}

.latest-list li:hover {
   background-color: #3E454D;
}

.bg-green {
   background-color: #003C4E;
}

.bg-darker {
   background-color: #AEBAC6;
}

.bg-mnu:hover,
.nav-item.selected.bg-mnu {
   background-color: #9C4F38 !important;
}

.latest-list a {
   color: #F8F9FA;
   text-transform: uppercase;
   font-size: 16px;
}

.latest-list a:hover {
   text-decoration: none;
}

.latest-list li span {
   font-size: 12px;
   color: #ACB9C4;
}

.latest-list li span.vid {
   background-color: #016A76;
}

.latest-list li span.gal {
   background-color: #A65B44;
}

.img-list {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 10px;
}

.card-body {
   height: 278px;
}

.card-body:hover,
.list-item:hover {
   background-color: #C9DED2;
}

.card-img-top {
   width: 100%;
   height: 200px;      /* Fix magasság beállítása */
   object-fit: cover;  /* A kép kitölti a területet az arányok megtartásával */
   object-position: center; /* A kép középre igazítása */
}

main {
   padding-top: 30px;
}

/* TABLE FORM */
table.form > tbody > tr.odd > td,
table.form > tbody > tr.even > td {
   border-bottom: 1px solid #dadada;
   padding-top: 10px;
   padding-bottom: 10px;
}

table.form > tbody > tr.odd {
   background-color: #fff;
}

table.form td {
   font-size: 12px;
   line-height: 14px;
   padding: 4px;
}

table.form td label {
   display: initial !important;
   cursor: pointer;
}

table.form .i-td {
   padding-bottom: 6px !important;
}

table.form .submit-button {
   background-color: #016A76;
   border: 1px solid #01444C;
   color: #fff;
   text-transform: uppercase;
   padding: 18px 22px;
   border-radius: 6px;
   font-size: 24px;
}

table.form .labeltext {
   font-weight: bold;
}

span.yes {
   color: #00694e;
}

span.no {
   color: red;
}



.service-card .bi {
   padding-top: 20px;
   text-align: center;
   font-size: 2.5rem;
   margin-bottom: 1rem;
   color: #016A76; /* Bootstrap primary color */
}

.service-card .card-body {
   height: 208px;
}

.strength-item .bi {
   font-size: 2rem;
   margin-right: 10px;
   color: #016A76;
}

.contact-info p {
   margin-bottom: 0.5rem;
}

.contact-info .bi {
   margin-right: 8px;
}

#contact-cards {
   padding-bottom: 120px;
}

footer {
   font-size: 15px !important;
}

footer a {
   color: #adb5bd;
   text-decoration: none;
}

footer a:hover {
   color: #fff;
   text-decoration: underline;
}

.pt-20 {
   padding-top: 20px;
}

h1 {
   color: #003B42;
   text-transform: uppercase;
}

h2 {
   color: #A65B44;
   text-transform: uppercase;
}

h3 {
   color: #F7A840 !important;
}

h4, h5 {
   text-transform: uppercase;
}

a {
   color: #00434B;
   text-decoration: none;
}

a:hover {
   color: #F6A847;
   text-decoration: underline;
}

.breadcrumb {
   font-size: 0.775rem;
}

.sm-text {
   font-size: 0.775rem;
   color: #757575;
   padding-top: 10px;
}

.card-subtitle,
.misc {
   font-size: 12px;
   padding: 10px 0;
}

.misc {
   padding: 0 10px;
}

.item-cat {
   font-size: 12px;
   color: #000;
   padding: 6px 10px;
   border-radius: 6px;
   bottom: 15px;
   position: absolute;
   font-weight: bold;
}

a.item-cat:hover {
   color: #fff;
   text-decoration: none;
}

.item-lead {
   font-weight: bold;
   padding: 20px 10px;
   font-size: 18px;
   margin-bottom: 20px;
}

section img {
   max-width: 100%;
}

.item-text img {
   padding-top: 30px;
}

.nav-item {
   border-radius: 4px;
   margin: 0 2px;
}

.nav-item:hover {
   background-color: #003C4E;
}

.nav-link:hover,
.dropdown-item:hover {
   text-decoration: none;
   color: #fff;
}

.nav-item.selected a.nav-link {
   color: #fff;
}

.nav-item.selected,
.dropdown-item:hover {
   background-color: #003C4E;
}

/* PAGER */
div.pager {
   clear: both;
   margin: 25px 0px 0px 0px;
   padding: 2px 2px 4px 2px;
   text-align: center;
}

div.pager_container {
   text-align: center;
   padding-top: 1px;
}

div.pager span.plain {
   text-align: center;
   margin: 2px 3px;
   padding: 4px 8px 4px 8px;
   border: 1px solid #BCBCBC;
   color: #363636;
   background-color: #d9e2e0;
   border-radius: 3px;
}

div.pager a {
   height: 15px;
   padding: 4px 8px 4px 8px;
   margin: 2px 3px;
   border: 1px solid #00694e;
   text-decoration: none;
   color: #ffffff;
   font-weight: bold;
   background-color: #003C4E;
   border-radius: 3px;
}

div.pager a:hover,
div span.plain.selected {
   border: 1px solid #003C4E;
   background-color: rgb(132, 184, 0);
   color: #ffffff;
}

#scroll-right-arrow {
   cursor: pointer;
}

/* menu */
@media (min-width: 992px) {
   .dropdown:hover > .dropdown-menu {
      display: block;
   }

   .dropdown-submenu:hover > .dropdown-menu {
      display: block;
   }
}

.dropdown-menu.dropdown-menu-left {
   left: auto !important;
   right: 100% !important;
}

.dropdown-submenu {
   position: relative;
}

.dropdown-submenu > .dropdown-menu {
   top: 0;
   left: 100%;
   margin-top: -1px;
   display: none;
   position: absolute;
}

@media (max-width: 991.98px) {
   .dropdown-menu {
      position: relative;
   }

   .dropdown-submenu > .dropdown-menu {
      position: relative;
      left: 0;
      top: 0;
      margin-left: 1rem;
   }

   .table-wrapper {
      overflow-x: scroll;
   }

}


/* COOKIE TABLE */
.cookie-table {
   margin: 0px auto;
   max-width: fit-content;
}

.cookie-table tr:nth-child(1) td {
   padding: 4px;
   font-size: 14px;
}

.cookie-table-01 tr:nth-child(2) {
   border-bottom: 1px solid #081b46;
}

.cookie-table-02 tr:nth-child(1) {
   border-bottom: 1px solid #081b46;
}

.cookie-table td {
   font-size: 13px;
   line-height: 16px;
   padding-bottom: 10px;
}

.cookie-table-02 td {
   font-size: 14px;
   line-height: 16px;
   padding: 6px 4px;
}

.cookie-table-02 tr:nth-child(odd) {
   background-color: #f6f6f6;
}



/* BACK TO TOP */
#back-top {
   position: fixed;
   bottom: 50px;
   right: 30px;
   z-index: 5;
}

#back-top a {
   width: 108px;
   display: block;
   text-align: center;
   font: 11px/100% Arial, Helvetica, sans-serif;
   text-transform: uppercase;
   text-decoration: none;
   color: #bbb;

   /* transition */
   -webkit-transition: 1s;
   -moz-transition: 1s;
   transition: 1s;
}

form .sub-div {
   font-size: 12px;
   color: #7B7B7B;
   font-style: italic;
}

#back-top a:hover {
   color: #000;
}

#back-top span {
   width: 48px;
   height: 48px;
   display: block;
   margin-bottom: 7px;
   background: transparent url(/static/img/site/up.png) no-repeat center center;

   /* rounded corners */
   -webkit-border-radius: 15px;
   -moz-border-radius: 15px;
   border-radius: 15px;

   /* transition */
   -webkit-transition: 1s;
   -moz-transition: 1s;
   transition: 1s;


}
#back-top a:hover span {
   background-color: transparent;
}


/* LIST */

.list-item {
   margin-bottom: 20px;
   border: 1px solid #ccc;
   padding: 15px;
   border-radius: 5px;
   display: flex;
   align-items: center; /* Vertically align image and text */
}

.list-item-simple {
   margin-bottom: 20px;
   border: 1px solid #ccc;
   padding: 15px;
   border-radius: 5px;
}

.list-image {
   max-width: 150px;
   height: auto;
   margin-right: 20px;
   border-radius: 5px;
}

.list-image i {
   font-size: 4rem;
}
.list-image i:hover {
   color: #F6A847;
}

.list-details {
   flex-grow: 1; /* Allow details to take remaining width */
}
.list-item h5 {
   margin-bottom: 10px;
}

.list-item-simple h3 {
   margin-bottom: 16px;
}

.list-details p {
   margin-bottom: 5px;
}


.responsive-embed-wrapper {
   position: relative;
   overflow: hidden;
   width: 100%;
   /* padding-bottom will determine the aspect ratio */
   /* For 16:9 aspect ratio: (9 / 16) * 100% = 56.25% */
   /* For 4:3 aspect ratio: (3 / 4) * 100% = 75% */
}

.responsive-embed-wrapper iframe,
.responsive-embed-wrapper object,
.responsive-embed-wrapper embed {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   border: 0; /* Optional: removes default iframe border */
}

.content-tags {
   margin: 20px 0 40px 0;
}