:root {
  --blue: #06477F;
  --blue-dark: #003E73;
  --yellow: #FFC800;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #f7f6f5;
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}

a:focus {
	text-decoration: none;
}

.site-header {
  width: 100%;
  background: #f8f7f5;
  position: relative;
  z-index: 1000;
}

footer p {
	font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: normal;
	color: #004078;
}

footer a {
	font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: normal;
	color: #004078;
	text-decoration: none;
}

footer a:hover {
    font-weight: bold;
	color: #004078;
	text-decoration: none;
}

a.link {
	font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: normal;
	color: #004078;
	text-decoration: none;
}

a.link:hover {
    font-weight: bold;
	color: #004078;
	text-decoration: none;
}

.vonal {
	border-top: 3px solid #004078;
	padding-top: 30px;
}

.fejlec {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.terkoz {
	margin-right: 20px;
}

.elemi {
	width: 300px;
	height: 300px;
	float: left;
	margin-left: 20px;
	margin-right: 20px;
	margin-top: 15px;
}

.feature-title {
    font-family: 'Poppins', sans-serif;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.2;
    color: #004078;
    text-align: center;
}

.feature-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
    color: #004078;
    text-align: left;
}

.feature-subtitle2 {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
    color: #004078;
    text-align: center;
}

.table {
	border: 1px solid black;
}

td,th {
	border-right: 1px solid black;
}

.tablasor1 {
	background-color: #f2f2f2;
}

.table2 {
	width: 100%;
	border: 1px solid black;
}

.table2 th {
	font-family: Tahoma, Arial, Times New Roman; 
	font-size:14pt;
	color: #004078;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 20px;
}

.table2 td {
	font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: normal;
	color: #004078;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 20px;
}

.equal-height {
    display: flex;
    flex-wrap: wrap;
}

.equal-height > [class*="col-"] {
    display: flex;
	margin-bottom: 30px;
}

.mybox {
	width: 90%;
	height: 100%;
	margin: 0 auto;
	border: 2px solid #c0c0c0;
	border-radius: 20px;
}

.mybox2 {
	height: 80%;
}

.mybox button {
    margin-top: 20px;
    margin-bottom: 20px;
}

.mybox3 {
	width: 90%;
	height: 100%;
	margin: 0 auto;
	border: 2px solid #c0c0c0;
	border-radius: 20px;
}

.mybox3a {
	width: 90%;
	height: 100%;
	margin: 0 auto;
	border: 2px solid #ffd325;
	border-radius: 20px;
	background-color: #ffd325;
}

a .mybox3 {
	width: 90%;
	height: 100%;
	margin: 0 auto;
	border: 2px solid #c0c0c0;
	border-radius: 20px;
}

a .mybox3:hover {
	border: 2px solid #ffd325;
	background-color: #ffd325;
}

.mybox4 {
	width: 90%;
	height: 100%;
	margin: 0 auto;
	border: 2px solid #c0c0c0;
	border-radius: 20px;
	padding-left: 20px;
	padding-right: 20px;
}

p.content {
	font-family: Tahoma, Arial, Times New Roman; 
	font-size:14pt;
	color: #004078;
	padding-left: 20px;
	padding-right: 20px;
}

p.content3 {
	font-family: Tahoma, Arial, Times New Roman; 
	font-size:14pt;
	color: #004078;
	padding-left: 20px;
	padding-right: 20px;
}

p.content4 {
	font-family: Tahoma, Arial, Times New Roman; 
	font-size:12pt;
	color: #004078;
}

.animalt-gomb {
	--x: 50%;
	--y: 50%;
			
	width: 70%;
	margin: 0;

	position: relative;
	overflow: hidden;

	padding: 14px 28px;
	border: none;
	border-radius: 999px;

	background-color: #ffd325;
	color: #1c5b6b;

	cursor: pointer;

	font-size: 16px;
	font-weight: 600;
}

.animalt-gomb:hover {
	color: #1c5b6b;
}
		
.animalt-gomb::before {
	content: "";

	position: absolute;

	left: var(--x);
	top: var(--y);

	width: 0;
	height: 0;

	background-color: yellow;
	border-radius: 50%;

	transform: translate(-50%, -50%);

	transition:
		width 0.5s ease,
		height 0.5s ease;
	z-index: 0;
}

.animalt-gomb:hover::before {
	width: 800px;
	height: 800px;
}

.animalt-gomb span {
	position: relative;
	z-index: 1;
}

.custom-navbar {
	min-height: 88px;
	margin-bottom: 0;
	border: 0;
	border-radius: 0;
	background: #f8f7f5;
}

.custom-nav {
  float: right;
  margin: 0;
}

.custom-nav > li {
  margin: 0 5px;
}

.custom-nav > li > a.menu-link {
  position: relative;
  padding: 34px 22px 27px;
  font-family: 'Poppins', sans-serif;
  font-size: 21px;
  font-style: normal;
  font-weight: 500;
  line-height: 27px;
  color: var(--blue);
  background: transparent;
  transition: color .2s ease, background-color .2s ease;
}

.custom-nav > li > a.menu-link:hover,
.custom-nav > li > a.menu-link:focus {
  color: var(--blue-dark);
  background: transparent;
}

.custom-nav > li.active > a.menu-link {
  color: var(--blue);
  background: transparent;
  font-weight: 600;
}

.custom-nav > li.active > a.menu-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 76px;
  height: 7px;
  transform: translateX(-50%);
  background: var(--yellow);
  border-radius: 10px;
}

/* A képen nincs látható caret az asztali menüben */
.custom-nav > li.dropdown > a .caret {
  display: none;
}

/* ===== Almenü ===== */

.custom-dropdown {
  min-width: 250px;
  margin-top: 0;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: #f8f7f5;
  box-shadow: 0 7px 20px rgba(0,0,0,.12);
}

.custom-dropdown > li > a {
  padding: 13px 22px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--blue);
  background: #f8f7f5;
  transition: .2s ease;
}

.custom-dropdown > li > a:hover,
.custom-dropdown > li > a:focus {
  color: var(--blue-dark);
  background: #f7f9fb;
  padding-left: 28px;
}

/* ===== Hamburger ===== */

.custom-toggle {
  margin-top: 25px;
  margin-right: 15px;
  padding: 9px 10px;
  border: 0 !important;
  border-radius: 4px;
  background: transparent !important;
}

.custom-toggle .icon-bar {
  width: 29px;
  height: 3px;
  margin: 5px 0;
  background: var(--blue);
  border-radius: 3px;
}

/*
 * Carousel külső konténere
 */
.responsive-carousel {
	position: relative;
	width: 100%;
	max-width: 1400px;
	margin: 50px auto;
	padding: 0 55px;
	background: #fff;
	overflow: hidden;
}

/*
 * Az ablak, amelyen keresztül a slide-ok látszanak
 */
.carousel-window {
	overflow: hidden;
	width: 100%;
}

/*
 * A teljes mozgó sáv
 */
.carousel-track {
	display: flex;
	flex-wrap: nowrap;
	transition: transform 0.5s ease;
	will-change: transform;
}

/*
 * Egyetlen carousel elem
 */
.carousel-item {
	flex: 0 0 25%;
	box-sizing: border-box;
	padding: 15px;
}

/*
 * A kártya
 */
.carousel-card {
	height: 100%;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	overflow: hidden;

	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);

	transition:
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.carousel-card:hover {
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
	transform: translateY(-2px);
}

/*
 * Kép
 */
.carousel-card img {
	display: block;
	width: 100%;
	height: 170px;
	object-fit: cover;
}

/*
 * Szöveges rész
 */
.carousel-content {
	padding: 15px;
}

.carousel-content h3 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 18px;
}

.carousel-content p {
	margin: 0;
	color: #666;
	line-height: 1.5;
}

/*
 * Lapozó nyilak
 */
.carousel-control-custom {
	position: absolute;
	top: 50%;
	z-index: 10;

	width: 42px;
	height: 42px;

	margin-top: -21px;

	border: 1px solid #ddd;
	border-radius: 50%;

	background: #fff;
	color: #555;

	text-align: center;
	line-height: 40px;

	font-size: 22px;

	cursor: pointer;

	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);

	transition:
		background 0.2s ease,
		color 0.2s ease,
		box-shadow 0.2s ease;
}

.carousel-control-custom:hover {
	background: #337ab7;
	color: #fff;
	border-color: #337ab7;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

/*
 * Bal oldali nyíl
 */
.carousel-control-prev {
	left: 8px;
}

/*
 * Jobb oldali nyíl
 */
.carousel-control-next {
	right: 8px;
}

@media screen and (min-width: 992px) and (max-width: 1400px) {
	.mybox2 {
		height: 85%;
	}
}

/*
 * Tablet
 */
@media (max-width: 991px) {

	.carousel-item {
		flex-basis: 33.333333%;
	}

	.carousel-card img {
		height: 150px;
	}

	.feature-title {
		font-size: 20px;
	}

	.feature-subtitle {
		font-size: 16px;
	}

	.feature-subtitle2 {
		font-size: 16px;
	}
	
	p.content {
		font-size: 12pt;
	}

}

/* ===== Mobil: 767 px alatt csak a hamburger látszik ===== */

@media (max-width: 767px) {

    .fejlec {
        flex-direction: column;
        align-items: stretch;
    }

    .fejlec a {
        align-self: flex-start;
    }

    #vakos {
        align-self: flex-end;
    }

  .custom-navbar {
    min-height: 70px;
  }

  .custom-toggle {
    display: block;
    float: right;
  }

  /*
   * A mobil menü ne foglaljon helyet a dokumentumfolyamban.
   * Így megnyitáskor nem tolja le a háttérképes fejlécet
   * és az alatta lévő tartalmat.
   */
  .custom-navbar {
    position: relative;
    z-index: 2000;
  }

  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    border-top: 1px solid #eee;
    box-shadow: 0 7px 20px rgba(0,0,0,.12);
    background: #f8f7f5;
    z-index: 2001;
  }

  .custom-nav {
    float: none;
    margin: 0;
    padding: 8px 0 12px;
  }

  .custom-nav > li {
    margin: 0;
  }

  .custom-nav > li > a.menu-link {
    padding: 14px 20px;
    font-size: 18px;
    line-height: 24px;
    border-bottom: 1px solid #eee;
  }

  .custom-nav > li.active > a.menu-link::after {
    left: 5px;
    bottom: 0;
    width: 5px;
    height: 100%;
    transform: none;
    border-radius: 0;
  }

  .custom-dropdown {
    position: static;
    float: none;
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .custom-dropdown > li > a {
    padding: 12px 35px;
    font-size: 16px;
  }

  .custom-dropdown > li > a:hover,
  .custom-dropdown > li > a:focus {
    padding-left: 42px;
  }

  .custom-nav > li.dropdown > a .caret {
    display: inline-block;
    margin-left: 7px;
    border-top-color: var(--blue);
  }
	
	.responsive-carousel {
		padding-left: 45px;
		padding-right: 45px;
	}

	.carousel-item {
		flex-basis: 50%;
	}

	.carousel-card img {
		height: 140px;
	}

	.carousel-content h3 {
		font-size: 16px;
	}
}

@media (max-width: 480px) {
  .custom-navbar { min-height: 62px; }
  .custom-toggle { margin-top: 20px; margin-right: 10px; }
  .custom-toggle .icon-bar { width: 27px; }
	.responsive-carousel {
		padding-left: 40px;
		padding-right: 40px;
	}

	.carousel-item {
		flex-basis: 100%;
	}

	.carousel-card img {
		height: 180px;
	}

	.carousel-control-custom {
		width: 36px;
		height: 36px;
		line-height: 34px;
		font-size: 18px;
		margin-top: -18px;
	}

	.carousel-control-prev {
		left: 2px;
	}

	.carousel-control-next {
		right: 2px;
	}
}
