/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

a {
	transition: .3s;
}

#brxe-jqxcvf .bricks-nav-menu > li.menu-item-517,
#brxe-jqxcvf .bricks-nav-menu > li.menu-item-608,
#brxe-jqxcvf .bricks-nav-menu > li.menu-item-789,
#brxe-jqxcvf .bricks-nav-menu > li.menu-item-803 {
	background-color: #FFF;
	margin-top: 6px;
	margin-bottom: 6px;
}

#brxe-jqxcvf .bricks-nav-menu > li.menu-item-517 a,
#brxe-jqxcvf .bricks-nav-menu > li.menu-item-608 a,
#brxe-jqxcvf .bricks-nav-menu > li.menu-item-789 a,
#brxe-jqxcvf .bricks-nav-menu > li.menu-item-803 a {
	color: #000000!important;
}

@media (max-width: 1024px){
	#brxe-jqxcvf .bricks-nav-menu > li.menu-item-517 a,
	#brxe-jqxcvf .bricks-nav-menu > li.menu-item-608 a, 
	#brxe-jqxcvf .bricks-nav-menu > li.menu-item-789 a, 
	#brxe-jqxcvf .bricks-nav-menu > li.menu-item-803 a {
		text-align: center;
    	justify-content: center;
    	align-items: center;
    	display: flex;
	}
}

@media (min-width: 768px){
  #brxe-usvhde{
    display: flex;
    align-items: stretch;
  }
	
  #brxe-usvhde > .brxe-adwjbs{
    position: relative;
  }

  #brxe-usvhde > .brxe-adwjbs:not(:last-child){
    padding-right: 4px;
    margin-right: 26px;
  }

  #brxe-usvhde > .brxe-adwjbs:not(:last-child)::after{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: #000;
  }
}

@media (max-width: 787px){
  #brxe-usvhde > .brxe-adwjbs{
    border-bottom: 1px solid #000;
    padding-bottom: 12px;
    margin-bottom: 18px;
    padding-right: 0 !important;
    margin-right: 0 !important;
  }
  #brxe-usvhde > .brxe-adwjbs:last-child{
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
}

.brxe-button {
	padding: 12px 24px;
}



/* Desktop: 5 oszlop, az első kép teljes szélességű “fő kép” felül */
@media (min-width: 992px){
  /* ha Bricks a --columns változót használja, elég ezt beállítani */
  #brxe-tdprcr{
    --columns: 5; /* 5 kép egymás mellett alul */
  }

  /* az első elem span-olja az összes oszlopot */
  #brxe-tdprcr > .bricks-layout-item:first-child{
    grid-column: 1 / -1;
  }
}

@media (min-width: 992px){
  /* Alul 5 oszlop marad */
  #brxe-tdprcr{ --columns: 5; }

  /* 1. elem fusson végig az összes oszlopon */
  #brxe-tdprcr > .bricks-layout-item:first-child{
    grid-column: 1 / -1;
  }

  /* Fő kép doboz: fix képarány + vágás */
  #brxe-tdprcr > .bricks-layout-item:first-child figure{
    margin: 0;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;     /* itt szabod meg az arányt */
  }

  /* Anchor legyen blokkszintű, hogy az egész kattintható legyen */
  #brxe-tdprcr > .bricks-layout-item:first-child a{
    display: block;
    width: 100%;
    height: 100%;
  }

  /* Kép töltse ki a teret, szépen vágva */
  #brxe-tdprcr > .bricks-layout-item:first-child img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}


/* Amelia módosítások */
.amelia-v2-booking #amelia-container .am-button.am-button--medium,
.amelia-v2-booking #amelia-container .am-button.am-button--default {
    border: 1px solid var(--bricks-color-uzcqur)!important;
	padding: 12px 24px!important;
	font-family: "Poppins"!important;
    font-size: 16px!important;
    font-weight: 400;
	border-radius: 0!important;
	height:auto!important;
}

.el-dialog {
	border-radius: 0!important;
}

.amelia-v2-booking #amelia-container .am-input-wrapper .am-input .el-input__wrapper,
.amelia-v2-booking #amelia-container .m-phone-number-input {
	border-radius: 0!important;
}

.amelia-v2-booking #amelia-container.am-elf {
    margin: unset!important;
    max-width: none!important;
    padding: 0!important;
    border-radius: 0 !important;
}

.amelia-v2-booking #amelia-container.am-fs__wrapper {
	box-shadow: none!important;
	margin: 0!important;
	border:1px solid #000!important;
	border-radius:0!important;
}


