
.trans-op, .trans-op.--all * { transition: opacity .2s ease; }
.trans-op:hover, .trans-op.--all:hover * { transition: opacity .4s ease; }

/* ******************** */
/* Header */
/* ******************** */
#header { 
	position:relative; 
	/* padding-top: 122px; */
	height: 100vh;
	z-index: 1;
	background: #000;
	overflow: hidden;
}

#header .bg-img
{
	width: 100%;
    position:absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    /* transform: translate(-50%, -50%); */
    min-width: 100%;
    min-height: 100%;
	margin: auto;
    background: transparent url(../img/home.jpg) center center no-repeat;
	background-size: cover;
	opacity: 1;
	transform: scale3d(1, 1, 1);
	transform-origin: center;
}

#header.partial {
	height: 84px;
}
#header .bg-img.page-windows {
	background: transparent url(../img/products/windows/aluminium-windows.jpg) center center no-repeat;
}

.animate-header-img {
	animation: LoopImg 15s ease infinite;
}
@keyframes LoopImg {
  0% {
    /* background-position: 50% 0%; */
	transform: scale3d(1, 1, 1);
	opacity: 0.7;
  }
  50% {
    /* background-position: 50% 100%; */
	transform: scale3d(1.2, 1.2, 1);
	opacity: 1;
  }
  100% {
    /* background-position: 50% 0%; */
	transform: scale3d(1, 1, 1);
	opacity: 0.7;
  }
}

/* ******************** */
/* PreHeader  */
/* ******************** */
#preHeader { 
	background: rgba(0,0,0, 0.2); padding: 20px 0px; position:fixed; width: 100%; z-index: 998; 
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	/* mix-blend-mode: soft-light; */
	transition: all 0.2s ease;
}
#preHeader.pre-white { background: rgba(255, 255, 255, 0.9); }
#preHeader.topbar-shrink { background: rgba(245, 245, 245, 1); border-bottom-color: rgba(0,0,0, 0.15); transition: all 0.3s ease-out; padding: 10px 0; }

/* ******************** */
/* MainNav */
/* ******************** */
nav ul {
	padding: 0 !important;
}
nav ul li {
	position:relative;
}
#mainNav a.nav-link,
#mobileNav a.nav-link,
#brand .sub-nav a.nav-link {  
	color: rgba(255,255,255, 1);
	text-decoration:none;
	padding: 5px 15px;
	font-weight: 500;
	font-size: 16px;
	letter-spacing: 0px;
	background: transparent;
	text-transform: uppercase;
	border: 1px solid transparent;
	border-radius: 8px;
}
.pre-white #mainNav a.nav-link { color: rgba(0,0,0, 1); }

#mainNav li.nav-item:hover a.nav-link,
#mainNav li.nav-item a.nav-link.active {  
	background: #000;
	color: rgba(255,255,255, 1);
	border-color: rgba(255,255,255, 0.3);
	text-decoration:none;
}
.pre-white #mainNav li.nav-item:hover a.nav-link,
.pre-white #mainNav a.nav-link.active { color: rgba(255,255,255, 1); border-color:rgba(255,255,255, 0.1); }

/* Sub Nav */
#mainNav .nav-link { margin: 5px 0;}
#mainNav .sub-nav,
#brand .sub-nav { 
	display: block; 
	position:absolute;
	min-width: 170px; 
	opacity: 0;
	transition: all 0.3s ease;
	top: 9999px;
	z-index: 999;
	transform: translateY(-10px);
}
.sub-nav-inner { 
	overflow: hidden;
	padding: 10px 0; 
	color:#000; 
	background: #fff; 
	box-shadow: rgba(0,0,0, 0.15) 0px 0px 1px 1px inset, rgba(0, 0, 0, 0.07) 0px 8px 8px;
	border-radius: 10px; 
	margin-top: 20px;
}
#mainNav li.nav-item:hover .sub-nav,
#brand .logo:hover .sub-nav { 
	display:block;
	transform: translateY(0);
	opacity: 1;
	transition: all 0.3s ease;
	top: auto;
}
#mainNav .sub-nav a.nav-link,
#brand .sub-nav a.nav-link {  
	color: rgba(0,0,0, 1) !important;
	border-color: transparent !important;
	border-radius: 0;
}
#mainNav .sub-nav a.nav-link:hover,
#brand .sub-nav a.nav-link:hover
#mainNav .sub-nav a.nav-link.active,
#brand .sub-nav a.nav-link.active {  
	background: rgba(0,0,0, 0.7);
	color: rgba(255,255,255, 1) !important;
}

/* Sub Nav Categories */
#mainNav li.nav-item:hover .sub-nav.sub-nav-categories { display: flex; }
#mainNav .sub-nav.sub-nav-categories {  
	position: fixed;
	min-width: none !important;
	width: 100vw !important;
	left: 0;
}
#mainNav .sub-nav.sub-nav-categories .sub-nav-inner {
	border-radius: 0 !important;
	padding: 30px;
	margin-top: 20px;
}
.topbar-shrink .sub-nav-inner {
	margin-top: 10px !important;
}
#mainNav .sub-nav.sub-nav-categories .wrapper {
	max-width: 300px;
}
#mainNav .sub-nav.sub-nav-categories img {
	border: 1px solid rgba(0,0,0, 0.3);
}
#mainNav .sub-nav.sub-nav-categories h3 {
	text-transform:uppercase;
	font-weight: 400;
}
#mainNav .sub-nav.sub-nav-categories a {
	background: transparent !important;
	color: var(--red) !important;
	padding: 5px 0px;
	margin: 0;
	width: 100%;
}
#mainNav .sub-nav.sub-nav-categories a:hover, #mainNav .sub-nav.sub-nav-categories a.active {
	color: #000 !important;
	background: transparent !important;
	border-bottom: 1px solid #000 !important;
}

.btn-top-contact, .btn-contact { background: transparent; color:#fff; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 50px; padding: 5px 20px; font-size: 16px; font-weight: 500; line-height: 1.3; text-transform:uppercase; }
.btn-top-contact:hover { background: #fff; color: #000; text-decoration:none; border-color: #fff;  }
.pre-white .btn-top-contact, .btn-contact { color:#000; border-color: rgba(0,0,0, 0.7); }
.pre-white .btn-top-contact:hover, .btn-contact:hover { background: #000; color:#fff; border-color:#000; }
.btn-contact.--invert { color: #000 !important; background: rgba(0,0,0, 0) !important; border-color: rgba(0,0,0, 0) !important; }
.btn-contact.--invert:hover { color: #000 !important; background: rgba(0,0,0, 0) !important; border-color: rgba(0,0,0, 0.7) !important; }
.btn-social-icon { opacity: 0.5; }
.btn-social-icon:hover { opacity: 1; }
.brand-link { opacity: 1; }
.brand-link:hover { opacity: 0.7; }
#topContact { display: flex; }
/* ******************** */
/* Nav Toggle */
/* ******************** */
#navToggle { display: none; }
#navToggle {  padding: .4rem; }
#navToggle { background: transparent; border: 2px solid rgba(000, 0.5); color: #666;  }
#navToggle:hover { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
/**/


/* ******************** */
/* Mobile Nav */
/* ******************** */
#mobileNavWrapper { position: fixed; top:0; left: 0; display:block; width: 100%; height: 0; overflow: hidden; z-index: 999; color:#fff; opacity: 0; transition: opacity 0.8s ease-out; overflow-y: scroll;}
#mobileNavWrapper.show-nav { height: 100vh; opacity: 1; transition: opacity 0.4s ease-out; }
#mobileNav { width: 100%; height: 100%; margin: 0 auto;}
#mobileNav li.nav-item { padding: 5px 0; border-bottom: 1px solid rgba(0,0,0, 0.1); }
#mobileNav a.nav-link {
	color: rgba(0,0,0, 1);
	background: transparent;
	width: 100%;
	font-size: 24px;
	padding: 10px 10px !important;
	font-family: var(--heading-font);
	font-weight: 200;
	letter-spacing: normal;
	text-align: center;
	border-radius: 8px;
}
#mobileNav li:hover a.nav-link,
#mobileNav a.nav-link.active {  
	color: #fff;
	background: linear-gradient(to top, rgba(91,14,217, 0.9), #070262);
	background: #000;
	text-decoration:none;
}

#mobileNav .sub-nav {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: all 0.2s ease;
}
#mobileNav li .sub-nav.show { 
	max-height: 200px;
	opacity: 1;
	transition: all 0.3s ease; 
}
#mobileNav .sub-nav a.nav-link {  
	background: transparent !important;
	color: var(--red) !important;
	border-color: transparent !important;
	border-radius: 8px;
	font-size: 20px;
}
#mobileNav .sub-nav a.nav-link:hover {  
	background: transparent !important;
	color: #777 !important;
	text-decoration:underline;
}

#mobileNav a.nav-link.brand-link {  }
#mobileNav a.nav-link.brand-link:hover,
#mobileNav a.nav-link.brand-link.active { background: transparent; color: #000; }

#navCloseBtn { background: transparent; border: 2px solid #777; color: #777; }
#navCloseBtn:hover { background: #000; color: #fff; border-color: #000; }

#navToggle { display:none !important;}
#mainNavWrapper { display: flex !important;}

.title {}
.title.--h1 { font-size: 88px; font-weight: 400;}

.img-styled { border: 1px solid rgba(0,0,0, 0.2); }
.bg-img-divider { width: 100%; height: 60vh; background: transparent url(../img/products/windows/aluminium/alumil-s60.jpg) center center no-repeat; background-size: cover; }

.products-flex a { max-width: 336px; }
.accessories-flex a { max-width: 180px; }
.portfolio-flex { gap: 10px; }
.portfolio-flex .portfolio-item { flex: 24%; max-width: 24%; }
.portfolio-flex a { display:block; width: 100%; opacity: 1;}
.portfolio-flex a:hover { opacity: 0.7; }
.colors-flex .colors-item { width: 100%; max-width: 120px; }
.colors-flex a { display:block; width: 120px; height: 120px; background: #eee;}
.colors-flex a img { width: 100%; display:block; opacity: 1; }
.colors-flex a:hover img { opacity: 0.5; border-color: rgba(255,0,0, 1); }

.image-wrapper {
  position: relative;
}
.image-wrapper.--16-9 { padding-bottom: 56.25%; /* 1920 * x / 100 = 1080 ; x = 56.25 */ }
.image-wrapper img {
  position: absolute; object-fit: cover; width: 100%; height: 100%; transform: translateZ(0);
  vertical-align: middle;
}

.product-slider .colors-item a {  min-width: 80px; min-height: 80px;} 
.product-slider .colors-item a img {  width: 100%; height: auto; margin-bottom: 10px; } 

/* .carousel-inner { width: 100%; } */
/* .carousel-inner .carousel-item { width: 180px; height: 180px; } */
.slick-arrow { background: rgba(0,0,0, 1) !important; border-radius: 0 !important; border:none !important; outline: none !important; position:absolute; top: 28px; width: 50px; height: 50px; z-index: 999; color:#fff !important; }
.slick-arrow:hover { background: rgba(0,0,0, 0.7) !important; }
.slick-arrow:focus { box-shadow: none; }
.slick-arrow.btn-prev { left: 0; }
.slick-arrow.btn-next { right: 0; }

a.product-box { text-decoration:none; color:#000;}
a.product-box img { opacity: 1; }
a.product-box:hover img { opacity: 0.7; border-color: rgba(255,0,0, 1); }
a.product-box .product-info { position:relative; padding-bottom: 15px; margin-bottom: 15px; }
a.product-box .product-info:after { content: ""; position:absolute; width: 100%; max-width: 100%; height: 2px; background: rgba(0,0,0, 0.2); bottom: 0px; transition: all 0.3s ease !important; }
a.product-box:hover .product-info:after { background: rgba(255,0,0, 1); max-width: 80%; transition: all 0.2s ease !important; }

.check-list li { line-height: 1.9; font-size: 18px; }

.btn-link { text-decoration: none; }
.btn-link:hover { text-decoration: underline; }

.btn-black { background: #000; color:#fff; border-color: #000; }
.btn-outline-black { background: transparent; color:#000; border-color: #000; }
.btn-black:hover { background: transparent; color:#000; border-color:#000; }
.btn-outline-black:hover { background: #000; color: #fff; border-color:#000; }

.technical-table tr th { width: 65%; font-weight: 600; }
.technical-table tr td { width: 35%;}
.technical-table.--35_65 tr th { width: 35%; }
.technical-table.--35_65 tr td { width: 65%; }
.technical-table.--50_50 tr th { width: 50%; }
.technical-table.--50_50 tr td { width: 50%; }

.form-group { margin-bottom: 15px; }

.responsive-flex-images a {
  max-width: 190px; /* max 3 per row */
}

.video_wrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9, for an aspect ratio of 1:1 change to this value to 100% */ 
	width: 100%; /* seems that this is important if it's within a flex container with direction column or maybe make align-items: stretch on the parent*/
}
.video_wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	
}

.video-fluid-wrapper { overflow:hidden; background: transparent; position:relative; min-height: 167px; }
.video-fluid-wrapper::before { content: "Loading Video..."; color:#000; font-size: 1rem; position:absolute; display:block; left: 0; right: 0; top: 0; margin: 0 auto; z-index: 0; }
.video-fluid-wrapper video { display:block;position:relative; z-index: 1; }
.video-fluid { max-width: 100%; max-height: 100vh; height: auto; margin: auto; }
.video-fluid:focus { outline: none !important; }
.video-fluid:hover { cursor:pointer; }


.img-filter { filter: brightness(1) invert(0.05); }

/**
 * brands slider
*/
@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.brands {
  overflow: hidden;
  padding: 0px 0;
  white-space: nowrap;
  position: relative;
}

.brands:before,
.brands:after {
  position: absolute;
  top: 0;
  width: 5%;
  height: 100%;
  content: "";
  z-index: 2;
}

.brands:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.brands:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

.brands:hover .brands-slide {
  animation-play-state: paused;
}

.brands-slide {
  display: inline-block;
  animation: 25s slide infinite linear;
}

.brands-slide img {
  height: 75px;
  margin: 0 40px;
}
/* end brands slider*/

/* Form Ajax Loader */
.loading { 
	width: 26px; height: 26px; 
	border-radius: 50% !important;
	border: 3px solid rgba(0,0,0, 0.3);
	border-color: rgba(0,0,0, 0.8); border-top-color: rgba(255,255,255, 0.1); 
	animation: spin 1s ease-in-out infinite;
	-webkit-animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { -webkit-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
  to { -webkit-transform: rotate(360deg); }
}
/**/

@media (max-width: 1399px) {
	.responsive-flex-images a {
	  max-width: 160px; /* max 3 per row */
	}
	.products-flex a { max-width: 306px; }
}

@media (max-width: 1199px) {
	#preHeader .container { width: 100%; max-width: none; }
	.products-flex a { max-width: 306px; }
}

@media (max-width: 991px) {
	#mainNavWrapper { display:none !important;}
    #navToggle { display:block !important;}
}
@media (max-width: 767px) {
	#topContact { display: none; }
	.title.--h1 { font-size: 74px; }
	.products-flex a { max-width: 216px; }
	.portfolio-flex .portfolio-item { flex: 48%; max-width: 48%; }
}
@media (max-width: 575px) {  
	.title.--h1 { font-size: 64px; }
	.technical-table tr th { width: 50%; font-weight: 600; }
	.technical-table tr td { width: 50%;}
	.products-flex a { max-width: 336px; }
	.accessories-flex a { max-width: 138px; }
}
@media (max-width: 380px) {  
	.slick-arrow { top: 22px; width: 40px; height: 40px; }
}