:root{
  --clr-white: #ffffff;
  --clr-white30: rgba(255, 255, 255, 0.3);
  --clr-white60: rgba(255, 255, 255, 0.6);
  --clr-black: #000000;
  --clr-blue: #005E9C;
  --clr-blue-dark: #00273A;
  --clr-grey-light: #EAEAEA;
  --clr-blue-darkest: #001219;
}

html, body, #nf_viewhome{
  height: 100%;
}

#nf_categories, #nf_application, .nf_content-page{
  padding: 160px 0;
}

.encode-sans-expanded-regular {
  font-family: "Encode Sans Expanded", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.encode-sans-expanded-medium {
  font-family: "Encode Sans Expanded", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.encode-sans-expanded-semibold, label {
  font-family: "Encode Sans Expanded", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.encode-sans-expanded-bold {
  font-family: "Encode Sans Expanded", sans-serif;
  font-weight: 700;
  font-style: normal;
}

h1, h2, h3, h4, h5, h6{
	font-family: "Encode Sans Expanded", sans-serif;
  font-weight: 700;
  font-style: normal;
}

p, a, span{
	font-family: "Encode Sans Expanded", sans-serif;
  font-weight: 400;
  font-style: normal;
}

a{
	text-decoration: none;
}

.img-responsive{
	max-width: 100%;
	height: auto;
}

.img-center{
	display: block;
	margin: auto;
}

.img-full{
    width: 100%;
    height: auto;
}

.w-full{
  width: 100%;
}

ul{
	margin: 0;
	padding: 0;
  list-style: none;
} 

p, a, span{
	font-size: 0.9em;
}

label{
  font-size: 0.8em;
}

p.bigP{
  font-size: 1.25em;
}

*:focus{
	outline: none;
}

header{
  position: fixed;
  width: 100%;
  z-index: 500;
  top: 0;
}

#nf_viewhome{
  overflow: hidden;
}

#nf_categories{
  position: relative;
}

.nf_wrap_header{
  border-top: 10px solid var(--clr-blue);
  padding: 20px 10px;
  background: var(--clr-white30);
  backdrop-filter: blur(10px);
}

.nf_header_contact{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;  
  transition: .5s;
}

.nf_header_contact a{
  color: var(--clr-blue-dark);
  transition: .5s;
  font-size: 0.875em;
}

.nf_header_contact a:hover{
  color: var(--clr-blue);
}

.nf_header_contact ul li a{
  font-size: 1.125em;
}

.nf_sticky #fn_wraplogo{
  display: block !important;
  font-size: 2em;
}

.nf_sticky .nf_logo{
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}

.nf_sticky .nf_header_contact{
  justify-content: end;
}

.nf_sticky #nf_openmenu_desk{
  display: none;
}

.nf_content_center{
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translate(0, -50%);
}

.nf_content_bottom{
  position: absolute;
  width: 100%;
  bottom: 0;
}

.nf_button{
  border: 2px solid var(--clr-blue);
  padding: 10px 12px;
  color: var(--clr-blue-dark);
  transition: .5s;
  display: inline-block;
  font-family: "Encode Sans Expanded", sans-serif;
  font-weight: 500;
  font-style: normal;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.nf_button.nf_butt_outline{
  color: var(--clr-blue);
  width: 100%;
  text-align: center;
}

.nf_button::before{
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  top: 0;
  left: -100%;
  background: var(--clr-blue);
  transition: .5s;
  z-index: -1;
}

.nf_button:hover{  
  color: var(--clr-white);
}

.nf_button:hover::before{
  left: 0;
}

.nf_button.nf_filled{
  color: var(--clr-white);  
}

.nf_button.nf_filled::before{
  left: 0;
}

.nf_button.nf_filled:hover{
  color: var(--clr-blue-dark);
}

.nf_button.nf_filled:hover::before{
  left: 100%;
}

.nf_polynav h5, .nf_app h5{
  color: var(--clr-blue-dark);
  position: relative;
  display: block;
  overflow: hidden;
}

.nf_polynav img{
  transition: .5s;
}

.nf_polynav h5::before, .nf_app h5::before{
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  width: 50px;
  background: url(../img/icon-nastroflex.webp) no-repeat center;
  background-size: contain;
  left: -100%;
  top: 50%;
  transform: translate(0, -50%);
  transition: .5s;
}

.nf_polynav:hover h5::before, .nf_app:hover h5::before{
  left: 100%;
  transform: translate(-100%, -50%);
}

.nf_polynav:hover img{
  transform: translate(0, 20px);
}

.nf_app img{
  transition: .5s;
}

.nf_app:hover img{
  opacity: .7;
}

.nf_cat{
  position: relative;
}

.carousel a, .carousel-app a{
  color: var(--clr-blue-dark);
}

.nf_cat .nf_details{
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 10px 10px 10px;
}

.nf_cat .nf_details img{
  width: 50px !important;
}

.flexslider{
  background: transparent;
  border: none;
  margin: 0;
}

.nf_app h5{
  margin-top: 12px
}

.nf_form form input:not(input[type="checkbox"]):not(input[type="submit"]), .nf_form form select{
  width: 100%;
  border: none;
  background: var(--clr-grey-light);
  display: block;
  padding: 9px 5px;
}

.nf_form form label{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nf_form form label span{
  display: inline-block;
  font-size: 1.15em;
  color: var(--clr-blue);
  position: relative;
  cursor: pointer;
}

.nf_form form label span::after{
 content: attr(data-info); 
 display: none; 
 top: calc(100% + 12px);
 right: 0;
 background: var(--clr-blue);
 color: var(--clr-white);
 font-size: 0.7em;
 padding: 5px;
 position: absolute; 
 min-width: 170px; 
}

.nf_form form label span::before{
  content: '';
  display: none;
  top: calc(100% + 5px);
  right: 0;
  height: 7px;
  width: 7px;
  position: absolute;
  background: var(--clr-blue) url('../img/triangle-white.png') left top no-repeat;
  background-size: contain;
}

.nf_form form label span:hover::after, .nf_form form label span:hover::before{
  display: inline-block;  
}

.nf_form form fieldset{
  margin-bottom: 20px;
}

.nf_form form textarea{
  display: block;
  width: 100%;
  min-height: 130px;
  height: 130px;
  background: var(--clr-grey-light);
  border: none;
  padding: 9px 5px;
}

.nf_form form input[type="submit"]{
  border: none;
  width: 100%;
  padding: 9px 5px;
  color: var(--clr-white);
  background: var(--clr-blue);
  transition: .5s;
}

.nf_form form input[type="submit"]:hover{
  background: var(--clr-blue-dark);
}

.nf_form form .nf_wrapcheckbox{
  display: flex;
  align-items: center;
  gap: 8px;
}

.nf_form form .nf_wrapcheckbox input[type="checkbox"]{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: block;
  min-width: 25px;
  min-height: 25px;
  background: var(--clr-grey-light);
  border: none;
  cursor: pointer;
}

.nf_form form .nf_wrapcheckbox input[type="checkbox"]:checked{
  background: var(--clr-grey-light) url('../img/tick.webp') no-repeat center;
  background-size: contain;
}

.nf_form form .nf_wrapcheckbox p{
  margin: 0;
}

footer{
  background: var(--clr-blue-dark);
  color: var(--clr-white);
}

footer a{
  color: var(--clr-white);
}

footer .nf_findus{
  background: var(--clr-blue-darkest);
}

footer .nf_findus p{
  margin: 0;
}

footer p{
  margin-bottom: 5px;
  font-size: 0.75em;
}

footer .nf_button{
  color: var(--clr-blue);
}

#nf_mainmenu{
  position: fixed;
  transition: .5s;
  top: -100%;
  left: 0;
  height: 100%;
  width: 100%;
  background: var(--clr-white60);
  backdrop-filter: blur(10px);
  z-index: 501;
}

#nf_closemenu{
  position: absolute;
  right: 50px;
  top: 50px;
  display: block;
  width: 40px;
  height: 40px;
  background: url('../img/close_icon.webp') no-repeat center;
  z-index: 10;
}

#nf_mainmenu .container{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.nf_navigation ul{
  margin-bottom: 40px;
}

.nf_navigation ul li a{
  font-size: 1.375em;
  display: inline-block;
  padding: 10px 0;
  color: var(--clr-blue-darkest);
}

.nf_navigation ul li a:hover, .nf_navigation ul li.nf_em a{ 
  color: var(--clr-blue); 
}

.nf_navigation ul li.nf_em a{   
  font-weight: 600;
}

.nf_navigation ul.nf_littleone li a{
  font-size: 1.125em;
  padding: 5px 0;
}

.nf_bggrey{
  background: var(--clr-grey-light);
}

.nf_arrow{
  position: absolute;
  z-index: 10;
  top: 50%;
  transform: translate(0, -50%);  
  width: 39px;
  height: 77px;
  display: block;
}

.nf_arrow.prev_arr{
  left: 0;
  background: url('../img/arrow-left.webp') no-repeat center;
}

.nf_arrow.next_arr{
  right: 0;
  background: url('../img/arrow-right.webp') no-repeat center;
}

.nf_arrow.prev_arr.grey_version{
  background: url('../img/arrow-left-grey.webp') no-repeat center;
}

.nf_arrow.next_arr.grey_version{
  background: url('../img/arrow-right-grey.webp') no-repeat center;
}

.nf_content_bottom #nf_explore{
  display: none;
}

#nf_content_page h1{
  text-transform: uppercase;
}

.nf_product .nf_wrap_thumb{
  position: relative;
}

.nf_product .nf_wrap_thumb span{
  position: absolute;
  top: 0;
  left: 0;
  padding: 5px 12px;
  background: var(--clr-blue);
  color: var(--clr-white);
}

.nf_detail_product{
  padding: 20px 7px 0 7px;
  min-height: 130px;
}

.nf_product a:not(a.nf_skeda){
  width: 100%;
  text-align: center;
}

.nf_skeda{
  display: inline-block;
  margin-bottom: 15px;
  padding: 0 0 0 10px;
  color: var(--clr-blue-dark);
  font-weight: 600;
}

.nf_skeda i{
  font-size: 1.3em;
}

.nf_pagination li{
  display: inline;
  margin-right: 5px;
}

.nf_pagination li:last-child{
  margin: 0;
}

.nf_pagination li a, .nf_pagination li span:not(.dots){
  display: inline-block;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  border: 1px solid var(--clr-blue-dark);
  color: var(--clr-blue-dark);
  transition: .5s;
}

.nf_pagination li span.dots{
  width: 40px;
  display: inline-block;
}

.nf_pagination li a:hover, .nf_pagination li span.current{
  background: var(--clr-blue);
  color: var(--clr-white);
}

.nf_cf{
  display: inline-block;
  margin: 0 8px 8px 0;
  background: var(--clr-grey-light);
  border-radius: 5px;
  padding: 5px 10px;
}

.wpcf7-list-item{
  margin: 0;
}

#nf_openmenu_desk{
  position: absolute;
  top: 50%;
  left: 0;
  font-size: 20px;
  cursor: pointer;
  transform: translate(0, -50%);
}

.wpcf7-list-item-label{
  display: none;
}

.ni_par_searches{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ni_par_searches span{
  display: inline-block;
  background: var(--clr-grey-light);
  padding: 5px 8px;
}

#fn_wraplogo a img{
  display: none;
}

.nf_sticky #fn_wraplogo a img{
  display: block;
}

.single-prodotto h1{
  border-bottom: 1px solid var(--clr-grey-light);
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.nf_square_prop{
  background: var(--clr-grey-light);
  padding: 15px 0; 
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nf_square_prop label{
  width: 100%;
}

.nf_square_prop span{
  display: inline-block;
  line-height: 15px;
}

@media (max-width: 1200px){
  .nf_content_bottom > .container-fluid{
    display: none;
  }

  .nf_content_bottom #nf_explore{
    width: 100%;
    display: block;
    text-align: center;
    padding-bottom: 15px;
    font-weight: 600;
  }

  .nf_header_contact > a span{
    display: none;
  }

  .nf_header_contact{
    gap: 20px;
  }

  #fn_wraplogo{
    display: block !important;
    font-size: 2em;
  }
  
  .nf_logo{
    display: flex;
    flex-direction: row;
    gap: 20px;
  }
  
  .nf_header_contact{
    justify-content: end;
  }

  #nf_openmenu_desk{
    display: none;
  }

  .nf_sticky #fn_wraplogo a{
    flex: 0 0 70px;
    display: flex;
  }

  .nf_sticky #fn_wraplogo a img{
    display: block;
  }

}

@media (max-width: 1000px){
  #nf_mainmenu{
    overflow-y: scroll;           
  }

  #nf_mainmenu .container{
    top: 60px;
    transform: translate(-50%, 0);
    margin-bottom: 60px;
  }
}

@media (max-width: 990px){

  p, a, span, label{
    font-size: 0.8em;
  }
  
  p.bigP{
    font-size: 1em;
  }

  #nf_categories, #nf_application, .nf_content-page{
    height: auto;
    padding: 120px 0;
  }

  #nf_categories .nf_content_center{
    position: relative;
    width: 100%;
    top: initial;
    transform: translate(0, 0);
  }

  #nf_closemenu {   
    right: 20px;
    top: 30px;
  }

}

