@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/ptsans/v17/jizaRExUiTo99u79D0KExQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'MyriadProLight';
  font-style: light;
  font-weight: 100;
  src: url("./MyriadProLight/MyriadProLight.otf");
}

body {
font-family: 'MyriadProLight', "PT Sans", sans-serif;
font-weight: 100;
height: 100%;
width: 100%;
background-color: rgb(255, 255, 255);
line-height: 1.7;
box-sizing: border-box;
margin: 0;
padding: 0;
position: relative;
}

p, a {
font-size: 1.2rem;
}

#menu {
display: flex;
flex-wrap: wrap;
}


* {
box-sizing: border-box;
padding: 0;
margin: 0;
overflow: hidden;
}

html, body {
height: 100%;
width: 100%;
overflow-y: visible;

}

.example_container {
  position: relative;
}

.example_container img {
  width: 100%;
}

.top_img, .bottom_img {
  position: absolute;
}

.top_img {
	animation-name: fade;
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
	animation-duration: 3s;
	animation-direction: alternate;
}

@keyframes fade {
	0% {
		opacity: 1;
	}
	25% {
		opacity: 1;
	}
	75% {
		opacity: 0;
	}
	100% {
		opacity: 0;
	}
}



.clientform {
width: 100%;
margin: auto;
}

.clientform label{
display: inline-block;
width: 100%;
margin-right: 10px;
text-align: center;
}

.clientform input[type=text],
.clientform input[type=password],
.clientform input[type=email],
.clientform select {
display: block;
width: 90%;
margin: auto;
}

.clientform select {
border-color: #999999c4;
border-radius: 4px;
padding: 2px;
font: inherit;
text-align: center;
height: 100%;
}

#client_info .missing {
border-color: red;
border-width: 2px;
}

.clientform .checklabel {
width: 70%;
text-align: left;
}

#client_info input[type=checkbox] {
margin-left: 5%;
vertical-align: top;
width: 16px;
height: 16px;
}

#postal-code, #shipping_postal-code {
max-width: 10ch;
}

.alert_bg{
background-color: rgba(255, 0, 0, 0.192);
}

#prod input{
display: none;
}


div {
height: fit-content;
}

.slider_box {
overflow: hidden;
position: relative;
}

.slide_arrow {
position: absolute;
top: 50%;
overflow: visible;
display: inline-block;
transform: translateY(-50%);
height: 30px;
z-index: 3;
cursor: pointer;
  background-color: rgba(255, 255, 255, 0.4);
  border: 4px solid rgba(255, 255, 255, 0.2); /* 20% áttetsző fehér keret */
  border-radius: 50%; /* ha kör/ellipszis kell */
}

.icon {
height: 20px;
transform: translateY(30%);
padding-right: 3vw;
}


#contact_info a{
display: block;
margin-left: 3vw;
}

#left_arrow {
left: 4px;
}

#right_arrow {
right: 4px;
}

.slide_arrow img {
height: 100%;
}

.slider-container {
height: max-content;
display: inline-flex;
overflow: hidden;
scrollbar-width: none;
transform: translateX(0);
will-change: transform;
transition: transform 0.3s ease-out;
cursor: grab;
}

.slide{
max-height: 100vh;
width: 100vw;
display: flex;
align-items: center;
justify-content: center;
padding: 1rem;
margin: auto 0;
}

.blur-load {
  background-size: cover;
  background-clip: content-box;
}

.slide img {
max-width: 100%;
max-height: 100%;
transition: transform 0.3s ease-in-out;
box-shadow: 5px 5px 50px -1px var(--shadow);
border-radius: 4px;
user-select: none;
}

.grabbing {
cursor: grabbing;
}

.grabbing .slide img{
transform: scale(0.9);
box-shadow: 5px 5px 40px -1px var(--shadow);
}

h1, h2, ul {
margin-left: 1rem;
}

#prices {
  margin-left: 1rem; 
}


#prices input, #prices textarea {
  display: inline-block;
  overflow-y: unset;
}

#errorMessages p{
  font-size: 1rem;
  line-height: normal;
}

/* Modal ablak stílusok */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

p {
margin-left: 1.5rem;
margin-top: 6px;
}

li, .product {
margin-left: 2rem;
}

h2 {
cursor: pointer;
padding: 2px 8px;
border-radius: 6px;
}

h2 {
padding: 2px 8px;
border-radius: 6px;
}


ul::-webkit-scrollbar{
display: none;
}


.error-message {
  color: red;
}


#m2 {
  display: flex;
  align-items: center;
}

#m2 label, #m2 input, #m2 p {
  margin-right: 10px;
  padding: 2px;
}

#m2 p {
  margin-top: 0;
  margin-left: 0;
}

.calc_groups {
  border-style: solid;
  border-width: 1px;
  border-color: gray;
  width: clamp(140px, 1200px, 90%);
  max-width: 90%;
}

.estimated {
  font-weight: bold;
  margin: auto;
  width: 90%;
  text-align: center;
  line-height: 1.4rem;
}

.estimated p {
  margin-top: 0;
}

.light {
  font-weight: lighter;
}

.packagetype {
  margin-top: 10px;
}

.packagebox img {
  margin-left: 4px;
  margin-right: 0px;
  margin-top: 10px;
}

.serv_details {
  font-size: 0.96rem;
}

.types div {
width: 46%;
}

.package_label {
  font-size: unset;
}

.type_label {
  padding-left: 4px;
  margin-left: 2px;
}

.product_price {
color: rgb(97, 97, 97);
display: inline-block;
margin-left: auto;
position: absolute;
top: 0;
right: 4vw;
}

#cart_form #submit, #submit_clientform {
transform: translateX(-50%);
margin: 0 50% 40px 50%;
text-decoration: none;
font-weight: bold;
color: black;
text-align: center;
white-space: nowrap;
}

br {
width: 100%;
}


textarea {
  width: clamp(140px, 1200px, 90%);
  max-width: 90%;
}

.switch {
cursor: pointer;
}

.hidden {
/* max-height: 0px; 
opacity: 0;
pointer-events: none;
*/
max-height: 0px;
opacity: 0;
pointer-events: none;

}

.active {
animation: growDown 0.5s ease-in-out forwards;
transform-origin: top center;
animation-duration: 0.5s;
animation-iteration-count: 1;
overflow-y: hidden;
}

@keyframes growDown {
0% {
  transform: scaleY(0);
}
80% {
  transform: scaleY(1.05);
}
100% {
  transform: scaleY(1);
}
}

.types div p {
margin-left: 3rem;
}
/*
input{
display: none;
}
*/
.types div form {
list-style: none;
width: 60%;
margin-left: 1rem;
padding-left: 2px;
display: block;
width: calc(94% - 4px);
margin-right: 2px;
margin-top: 0;
}

form.type > label {
margin-left: 6px;
display: block;
width: 100%;
cursor: pointer;
}

.variables {
display: flex;
flex-wrap: wrap;
}

.types {
display: flex;
flex-wrap: wrap;
position: relative;
}


.variables > p.label1 {
display: block;
width: fit-content;
margin-top: 6px;
margin-left: 2px;
padding: 0;
padding-left: 4px;
}

.arrow {
height: 20px;
width: 20px;
margin: 12px 12px 0px 4px;
}

.questionmark {
  margin-top: 0px;
  transform: translateY(4px);
}

#cart {
position: fixed;
top: 4px;
right: 4px;
width: fit-content;
margin-left: auto;
z-index: 5;
height: auto;
text-decoration: none;
}

#cart p:first-child {
display: none;
}

#cart img {
width: 40px;
}

#cart p:last-child {
position: absolute;
bottom: 4px;
right: 4px;
font-weight: bold;
margin: 0;
color: rgb(255, 255, 255);
text-shadow: -2px -2px 0 rgb(75, 75, 75),
         2px -2px 0  rgb(75, 75, 75),
         -2px 2px 0  rgb(75, 75, 75),
         2px 2px 0  rgb(75, 75, 75),
         -3px 0 0  rgb(75, 75, 75),
         3px 0 0  rgb(75, 75, 75),
         0 -3px 0  rgb(75, 75, 75),
         0 3px 0  rgb(75, 75, 75);
padding: 0;
z-index: 10;
overflow: visible;
}

.admin_box {
border-style: solid;
border-color: #999999c4;
border-radius: 4px;
padding: 2px;
font: inherit;
text-align: center;
width: fit-content;
}

.underlined {
text-decoration: underline;
}

.bold {
font-weight: bold;
}

.example-image {
width: 96vw;
margin: 0;
}

.types .add_to_cart {
width: 100%;
}

.types .add_to_cart p, #cart_form .inline {
margin-left: 0px;
display: inline-block;
padding-left: 2px;
padding-right: 2px;
}

.types .add_to_cart .button, #cart_form .button, .button {
display: inline-block;
margin: 0.35rem auto;
border: 1px solid grey;
border-radius: 6px;
padding: 4px 6px;
font-size: 1rem;
line-height: 1rem;
}

.centered {
display: inline-block;
transform: translateX(-50%);
margin-left: 50%;
text-align: center;
}

.quantity_setter {
margin-left: 1.5rem;
padding: 2px 8px;
}

#cart_form .button:last-child {
margin-left: 1.5rem;
}

.button {
cursor: pointer;
}

.types .add_to_cart .submit_button {
margin-left: 1rem;
}

.mintakep {
width: 90vw;
height: auto;
}

#total {
font-weight: bold;
}

.cookie-popup {
display: none;
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background: #333;
color: #fff;
text-align: center;
padding: 10px;
}

.cookie-popup p {
margin: 0;
}

#accept-cookie {
background: #5cb85c;
color: #fff;
border: none;
padding: 8px 16px;
cursor: pointer;

}

#accept-cookie:hover {
background: #4cae4c;
}

.lightblue {
color:#39d4ec;
}

@media only screen and (min-width: 324px) {

.clientform .checklabel {
width: 80%;
}


}

@media only screen and (min-width: 400px){
#cart {
top: 6px;
right: 4vw;
}
}

@media only screen and (min-width: 700px){
#cart p:first-child {
display: inline-block;
text-decoration: none;
font-family: 'MyriadProLight', "PT Sans", sans-serif;
font-weight: bold;
font-size: 1.5em;
color: black;
}

#cart {
position: absolute;
}

}


@media only screen and (min-width: 608px) {
.clientform {
width: 500px;
}

.clientform label{
width: 120px;
margin-right: 10px;
text-align: left;
}

.clientform input[type=text],
.clientform input[type=password],
.clientform input[type=email],
.clientform select {
width: 300px;
display: inline-block;
}

#postal-code, #shipping_postal-code {
margin-right: 200px;
}

.clientform .checklabel {
width: 84%;
}

}

@media(min-width: 1200px){


#services_box {
order: 1;
width: 24%;
overflow: visible;
}
#appearances_box {
order: 2;
width: 24%;
overflow: visible;
}
#products_box {
order: 3;
width: 24%;
overflow: visible;
}
#contact_box {
order: 4;
width: 24%;
}
.slider_box {
order: 5;
margin: auto;
width: 70vw;
}

.slide {
width: 70vw;
overflow: hidden;
}
/*
.slide img {
width: 80vw;
}
*/

.prod_box, .serv_box, .appear_box {
width: 50vw;
margin-left: -25%;
}

.serv_box, .appear_box {
  margin-left: 0;
}

#menu {
justify-content: space-between;


}
}