//@import "style.less";
@import "colors.less";

section{
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 10;
}

.layout_white {
    background-color: @white;
}

.layout_grey{
    background-color: @grey;
}

.layout3{
   div:first-of-type{
    z-index: 5;
   }
}
#app{
	position: relative;
}
picture{
	position: relative;
	display: block;
    height: 100%;
	img {
		position: relative;
		z-index: 2;
        height: 100%;
		width: 100%;
		object-fit: cover;
	}
	&::after{
		content:'';
		position: absolute;
		z-index: 1;
		bottom: -.5rem;
		right: -.5rem;
		width: 2rem;
		height: 2rem;
		background-color: @whiteDark;
	}
}

section.menu_hp{
	div{
		ul.uk-accordion{
			li{
				a.uk-accordion-title{
					&::before{
						content: "⮜";
						background-image: none;
						font-size: 2rem;
						.time;
					}
					&:hover, &:focus{
						letter-spacing: 2px;
						div{
							.uk-text-right i{
								color: var(--secondary);
							}
						}
						&::before{
							transform: translateX(-5.1rem);
							background-image: none;
						}
					}
				}
			}
		}
	}
}

section{
    div.hp_image{
        position: relative;
        top: -2rem;
        //max-height: 50rem;
        padding: 0;
        //height: 100%;
        height: 100%;
        overflow: hidden;
        border-bottom-left-radius: 10rem;
        ul{
            height: 100%;
            position: relative;
            top: 2rem;
            li{
                picture{
                    height: 100%;
                    .fx;
                    .fxc;
                    .fxa;
                    img {
                        height: 100%;
                        object-fit: cover;
                    }
                }
            }
            //text
            div.text-hp-img{
				position: absolute;
                top: 0;
				width: 40%;
				margin-left: 10rem;
				padding: 2rem;
				background-color: rgba(0, 0, 0, 0.3);
				.radiusAngel;
				z-index: 5;
                @media only screen and (max-width: 600px) {
                    width: 80%;
                    margin-left: 6rem;
                    p{
                        display: none;
                        visibility: hidden;
                    }
                }
				h2{
					letter-spacing: .1rem;
				}
				p{
					color: @whiteDark;
				}
			}
        }
        .uk-dotnav > li{
            position: relative;
            top: -1rem;
            z-index: 5;
            margin: 0 .5rem;
            a{
                position: absolute;
                bottom: 3rem;
                background-color: rgba(255,255,255,.6);
                border-color: transparent;
            }
            &.uk-active a{
                background-color: @primary1;
            }
        }
    }
}

section.section_1{}
section.section_2{}

section.section_3{
	background-color: @whiteDark;

	.uk-container .uk-grid{
		.section_text {
			.fx;
			.fxc;
			.fxa;
		}
	 	.section_shape{
			padding: 2rem 0;
			&::before{
				content: '';
				position: absolute;
				left: -5rem;
				width: 5rem;
				height: 100%;
				background-color: var(--secondary);
				clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%);
			}
			ul {
				border-left: 2px solid var(--secondary);
				li{
					.fx;
					.fxa;
				}
			}
		}
	}
}
section.section_4{}

form{

}
.uk-card{
	.radiusAngel;
	position: relative;
	overflow: hidden;
	padding: 2rem 1rem;
	.uk-card-title{
		position: absolute;
		left: 0;
		top: 2rem;
		padding: .5rem 1rem;
		font-weight: 700;
		.radiusRight;
		.shadow2;
	}
	.bronze{
		background-color: #CD7F32;
	}
	.silver{
		background-color: #C0C0C0;
	}
	.gold{
		background-color: #FFD700;
	}
	.uk-card-body{
		padding: 3rem 0 1rem 0;
		.price{

		}
		picture{
			border-bottom-left-radius: 2rem;
			border-top-right-radius: 2rem;
			overflow: hidden;
			img{
				-webkit-transform: scale(1);
				transform: scale(1);
				-webkit-transition: .3s ease-in-out;
				transition: .3s ease-in-out;
				&:hover, &:focus {
					-webkit-transform: scale(1.3);
					transform: scale(1.3);
				}
			}
		}
	}
}

.post_box_img{
	picture{
		img{
			width: 100%;
			height: 100%;
			object-fit: cover;
		}
	}
}

/*prevzato*/

section.blog{
	padding-bottom: 6rem;
	margin-bottom: 6rem;
	border-bottom: 1px solid #a7a7a7;
	.container{
	  h2{
		font-weight: 700;
		font-size: 2.6rem;
		line-height: 3rem;
		color: @black;
		margin-top: 0;
		margin-bottom: 2rem;
	  }
	  >.uk-grid{
		>div{
		  .blog-right{
			max-width: 37.7rem;
			.resp(1199px, {
			  margin: auto;
			  margin-top: 5rem;
			  });
			.box-top{
			  max-width: 37.7rem;
			  .box;
			  border: 1px solid #a7a7a7;
			  margin-bottom: 4rem;
			  .boxbl{
				h3{
				  font-weight: 700;
				  font-size: 1.8rem;
				  line-height: 2rem;
				  color: @black;
				  .box;
				  padding: 1.5rem 2rem;
				  background: #e6e6e6;
				  margin-top: 0;
				  margin-bottom: 1rem;
				  i{
					font-size: 2rem;
					margin-right: .5rem;
				  }
				}
				ul{
				  padding: 2rem 3rem;
				  li{
					margin-bottom: 1rem;
					&:before{
					  content: none;
					}
					a{
					  font-weight: 400;
					  font-size: 1.5rem;
					  line-height: 1.6rem;
					  color: var(--primary);
					  text-decoration: underline;
					  i{
						font-size: 2rem;
						margin-right: .5rem;
					  }
					  &:hover{
						color: @green;
						text-decoration: none;
					  }
					}
					&:last-of-type{
					  margin-bottom: 0;
					}
				  }
				}
			  }
			}
			.banner{
			  .igc;
			  max-width: 37.7rem;
			  width: 100%;
			  height: 53.8rem;
			  picture{
				position: absolute;
				width: 100%;
				height: 100%;
				>img{
				  .ig;
				  max-width: unset;
				  min-width: 100%;
				  min-height: 100%;
				  max-height: 100%;
				}
			  }
			  .text{
				position: relative;
				padding: 4.5rem;
				.box;
				h3{
				  font-weight: 700;
				  font-size: 3.6rem;
				  line-height: 4rem;
				  color: @white;
				  text-transform: uppercase;
				  margin-top: 0;
				  margin-bottom: 1rem;
				}
				p{
				  font-weight: 300;
				  font-size: 2.4rem;
				  line-height: 2.6rem;
				  color: @white;
				  text-transform: uppercase;
				  margin-top: 0;
				  margin-bottom: 2rem;
				}
			  }
			}
		  }
		}
	  }
	}
  }
  .blog-box{
	display: block;
	max-width: 37.7rem;
	.box;
	border: 1px solid #a7a7a7;
	text-decoration: none !important;
	margin-bottom: 1.5rem;
	.resp(1199px, {
	  margin: auto;
	  margin-bottom: 1.5rem;
	  });
	.top{
	  .igc;
	  max-width: 37.7rem;
	  width: 100%;
	  height: 24.7rem;
	  picture{
		position: absolute;
		width: 100%;
		height: 100%;
		>img{
		  .ig;
		  max-width: unset;
		  min-height: 100%;
		  max-height: 100%;
		}
	  }
	}
	.bottom{
	  padding: 4rem 3rem 2rem;
	  .box;
	  h3{
		font-weight: 700;
		font-size: 1.7rem;
		line-height: 2rem;
		height: 2rem;
		.elipsis(1);
		color: #5b5b5b;
		margin-top: 0;
		margin-bottom: 1.5rem;
	  }
	  p{
		font-weight: 400;
		font-size: 1.5rem;
		line-height:2rem;
		color: @black;
		.elipsis(5);
		margin-top: 0;
		margin-bottom: 3rem;
		&.date{
		  margin-top: 0;
		  margin-bottom: 2rem;
		  span{
			font-weight: 400;
			font-size: 1.5rem;
			line-height: 2rem;
			color: #808080;
			i{
			  font-size: 2rem;
			  margin-right: .5rem;
			}
			&:first-of-type{
			  margin-right: 2rem;
			}
		  }
		}
	  }
	  .link-pack{
		.fx;
		.fxspace;
		.fxa;
		h3{
		  font-weight: 400;
		  font-size: 13px;
		  line-height: 1.9rem;
		  color: @black;
		  text-transform: uppercase;
		  margin-top: 0;
		  margin-bottom: 0;
		}
		button{
		  font-weight: 700;
		  font-size: 13px;
		  text-transform: uppercase;
		  background: transparent;
		  color: var(--primary);
		  border: 0;
		  outline: 0;
		  cursor: pointer;
		  i{
			margin-left: 0.5rem;
		  }
		}
	  }
	}
	&:hover{
	  .shadow;
	}
  }
  section.blog-detail{
	padding-bottom: 6rem;
	margin-bottom: 6rem;
	border-bottom: 1px solid #a7a7a7;
	.container{
	  .uk-grid{
		>div{
		  .content{
			h1{
			  font-weight: 700;
			  font-size: 2.6rem;
			  line-height: 3rem;
			  color: @black;
			  margin-top: 0;
			  margin-bottom: 2rem;
			}
			p{
			  &.date{
				margin-top: 0;
				margin-bottom: 2rem;
				span{
				  font-weight: 400;
				  font-size: 1.5rem;
				  line-height: 2rem;
				  color: #808080;
				  i{
					font-size: 2rem;
					margin-right: .5rem;
				  }
				  &:first-of-type{
					margin-right: 2rem;
				  }
				  &.categ{
					margin-left: 2rem;
					a{
					  font-weight: 400;
					  font-size: 1.5rem;
					  line-height: 2rem;
					  color: #808080;
					}
				  }
				}
			  }
			}
			h2{
			  font-weight: 500;
			  font-size: 1.7rem;
			  line-height: 2rem;
			  color: @black;
			  text-transform: uppercase;
			  margin-top: 0;
			  margin-bottom: 2rem;
			}
		  }
		  .blog-articles{
			margin-top: 4rem;
			h2{
			  font-weight: 400;
			}
		  }
		  .blog-picture{
			.igc;
			max-width: 69.9rem;
			width: 100%;
			height: 42.4rem;
			margin: auto;
			picture{
			  position: absolute;
			  width: 100%;
			  height: 100%;
			  >img{
				.igc;
				max-width: unset;
				min-height: 100%;
				max-height: 100%;
			  }
			}
		  }
		}
	  }
	}
  }

.menu_layout_1 {
    padding: 2rem 0;
}
/*bg angle*/
.bg_angle {
    position: absolute;
    height: 10rem;
    width: 100%;
    left: 0;
    z-index: -1;
    //background-color: @white;
}

.bg_angle_top {
    top: 0;

}

.bg_angle_bottom {
    bottom: 0;
}

.bg_angle_right_01 {
    -webkit-clip-path: polygon(0 0, 100% 100%, 100% 0);
    clip-path: polygon(0 0, 100% 100%, 100% 0);
}

.bg_angle_left_01 {
    -webkit-clip-path: polygon(0 100%, 100% 100%, 100% 0);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}
.bg_angle_left_03 {
    -webkit-clip-path:  polygon(0 0, 0% 100%, 100% 100%);
    clip-path: polygon(0 0, 0% 100%, 100% 100%);
}
.bg_angle_right_02 {
    -webkit-clip-path: polygon(0 100%, 100% 0, 0 0);
    clip-path: polygon(0 100%, 100% 0, 0 0);
}
.bg_angle_right_03 {
    -webkit-clip-path:  polygon(100% 0, 0% 100%, 100% 100%);
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
}
.bg_angle_left_02 {
    -webkit-clip-path: polygon(0 100%, 100% 100%, 0 0);
    clip-path: polygon(0 100%, 100% 100%, 0 0);
}
/*bg angle*/

.backgroundAnglePath01{
    background-image: -o-linear-gradient(266deg, #f8f8f8 50%, @white calc(50% + 2px));
    background-image: linear-gradient(-176deg, #f8f8f8 50%, @white calc(50% + 2px));
}


.banner-slogan {
    font-weight: bold;
    font-size: medium;
    span {
        font-size: large;
        font-weight: bold;
        color: var(--primary);
    }
}

//slideshow fade
.image-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    left: 0;
    right: 0;
    .wrapper{
        position: absolute;
        top: 0;
        left: 0;
        z-index: 16;
        background-color: rgba(0, 0, 0, 0.425);
        width: 0%;
        height: 100%;
        animation: moveWrapp .3s ease-out 3s forwards;
        -webkit-animation: moveWrapp 0.3s ease-out 3s forwards;
    }
    @media (max-width: 500px) {
        .wrapper {
            width: 100%;
        }
    }
    .langHP {
        position: absolute;
        right: 0;
        top: 0;
        background-color: rgba(0,0,0,.425);
        width: 27rem;
        height: 10rem;
        z-index: 20;
    }
    .menuSlider{
        position: absolute;
        left: 10rem;
        top: 2rem;
        z-index: 999;
    }
    picture {
        width: 100%;
        height: 100%;
        position: absolute;
            z-index: 15;
        img {
            bottom: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: opacity 1s ease-in-out;
        }
    }
    .slideshowLogoWrapper{
        background-color: #e0e0e0cc;
        //height: 20rem;
        position: absolute;
        top: 40%;
        z-index: 20;
        animation: moveLogoWrapp 1s ease-out  forwards;
        -webkit-animation: moveLogoWrapp 1s ease-out forwards;
        .shadow;
        .title{
            position: absolute;
            top: -4.5rem;
            h1{
                color: @white;
                font-size: 5rem;
            }
        }
        .uk-container{
            height: 100%;
            .slideshowLogo{
                position: relative;
                picture{
                    top: -114px;
                    opacity: 0;
                    animation: moveLogo 2s ease-out 1s forwards;
                    -webkit-animation: moveLogo 2s ease-out 1s forwards;
                    width: 40rem;
                    img{
                        height: auto;
                    }
                }
                picture::after{
                    content: none;
                }
                @media (max-width: 1180px) {
                    img {
                        width: 80%;
                    }
                }
                .slideShowText {
                    position: relative;
                    h1{
                        color: var(--secondary);
                        font-weight: 900;
                        font-size: 4rem;
                        margin: 0;
                        opacity: 0;
                        animation: moveLogoText 1s ease-out 2s forwards;
                        -webkit-animation: moveLogoText 1s ease-out 2s forwards;
                        &::before {
                            content: none;
                        }
                        span{
                            color: @white;
                            text-transform: uppercase;
                            background-color: var(--primary);
                            padding: 0 5px;
                        }
                    }
                    .button_wrapper {
                        position: absolute;
                        bottom: -8rem;
                        right: 20rem;
                        opacity: 0;
                        animation: fadeIn 2s 2s forwards;
                        @keyframes fadeIn {
                            0% {
                                opacity: 0;
                            }
                            100% {
                                opacity: 1;
                            }
                        }
                        a {
                            display: block;
                            font-size: 2rem;
                        }
                    }
                }
                @media (max-width: 1180px) {
                    .slideShowText {
                        padding-top: 10rem;
                        font-size: 3rem;
                        text-align: center;
                        .button_wrapper {
                            right: 5rem;
                        }
                    }
                }
            }
        }
    }
}

.image-container-hp{
    height: 100vh;
    top: -124px;
    z-index: 999;
    .header-contact {
        background-color: #5b5b5b8a;
        padding: 1rem;
        border-bottom-left-radius: 1rem;
        border-top-right-radius: 1rem;
    }
}

.image-container-other{
    height: calc(100vh - 100px);
    .slideshowLogoWrapper{
        top: 20%;
    }
    .slideshowLogo{
        .slideShowText{
            p{
                color: var(--secondary);
                font-weight: 500;
                font-size: 2.5rem;
                margin: 1rem 0;
            }
        }
    }
}

@media (min-width: 1180px) {
    @-webkit-keyframes moveWrapp {
        0% {
            width: 0;
        }
        100% {
            width: 36%;
        }
    }
}

@-webkit-keyframes moveLogoText {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes moveLogoWrapp {
    0% {
        left: 50%;
        width: 0;
    }
    100% {
        left: 0;
        width: 100%;
    }
}

@keyframes moveLogoWrapp {
    0% {
        left: 50%;
        width: 0;
    }
    100% {
        left: 0;
        width: 100%;
    }
}

@-webkit-keyframes moveLogo {
    0% {
        left: 50%;
        opacity: 0;
    }
    10% {
        left: 50%;
        opacity: 1;
    }
    100% {
        left: 0;
        opacity: 1;
    }
}

@keyframes moveLogo {
    0% {
        left: 50%;
        opacity: 0;
    }
    10% {
        left: 50%;
        opacity: 1;
    }
    100% {
        left: 0;
        opacity: 1;
    }
}

.nextHp{
    position: absolute;
    z-index: 15;
    bottom: 2rem;
    z-index: 20;
    animation: nextHpAnim 1.5s ease-in infinite;
    -webkit-animation: nextHpAnim 1.5s ease-in infinite;
    a span{
        color: @white;
        font-size: 4rem;
        opacity: .5;
    }
}

@keyframes nextHpAnim{
    0%   { transform: translateY(0); }
    50%  { transform: translateY(1rem); }
    100% { transform: translateY(0); }
}

@-webkit-keyframes nextHpAnim{
    0%   { transform: translateY(0); }
    50%  { transform: translateY(1rem); }
    100% { transform: translateY(0); }
}

.formSection .bg_angle {
    bottom: -1px;
}

.formSection div div h2{
    width: -moz-fit-content;
     width: fit-content;
     padding-left: 2rem;
}

.header_img {
    @media only screen and (max-width: 600px) {
        height: 15rem;
    }
}

.bg_angle.secondary {
    bottom: -1px;
}

.faq [id^="accordion"].uk-open {
    background-color: aliceblue;
}

