/*
Theme Name: Neonalf
Theme URI:
Author: Turnup
Author URI:
Description: Starter Theme with Font Awesome and Bootstrap 4
Version: 0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, sticky-post, translation-ready
Text Domain: nx

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
*{
    box-sizing: content-box; /* Default */
    box-sizing: border-box;
  
      -webkit-transition: background 1s; /* For Safari 3.0 to 6.0 */
          transition: background 1s; /* For modern browsers */
    
  }

body{
  display: flex;
  min-height: 100vh;
  flex-direction: column;
    color: #041E91;
    font-weight: 400;
    font-style: normal;
    font-family: "Nunito", sans-serif;
      font-optical-sizing: auto;
}
p{  color: #041E91; font-size: 24px;}
.main-content{
  flex:1;
}

.container-fluid{
    max-width: 1440px !important;
}
.logo-img{
    max-width: 200px;
}
.fullImg{ width: 100% !important;}
#preheader{
    width: 100%;
    background: #fff;
    position: relative;
    z-index: 1;
    padding-top: 8px;
}
#indirizzi p,#indirizzi a{ color: #fff;}
#preheader p,#preheader a{ font-size: 14px; margin-bottom: 0px; color: #041E91;}
#preheader span{
  position: relative;
 display: inline-flex;
    vertical-align: top;
}
.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

#h_menu{
  position: fixed;
    top: 0px;
    left: -100%;
    width: 40%;
    height: 100vh;
    z-index: +6;
    background: #041E91;
    padding-top: 118px;
    padding-left: 0px;
    text-align: center;
        -webkit-transition: left 0.5s;
    -moz-transition: left 0.5s;
    -o-transition: left 0.5s;
    transition: left 0.5s;
}
.m_attivo{
  left: 0px !important;
}
#menu-header{
  padding: 0px;
  
}
.social{
  color: #041E91;
  font-size: 24px;
}
.clicon{
position: absolute;
    top: 0px;
    right: 0px;
    height: 45px;
    width: 45px;
    text-align: center;
    line-height: 45px;
    background: #FF0000;
    color: #fff;
    cursor: pointer;
}
#menu-header li{
  margin-bottom: 20px;
}

#menu-header li a{
  color: #fff;
  text-decoration: none;
  font-size: 36px;
  font-weight: 700;
  font-style: italic;
}

/* Contenitore Select2 personalizzato */
.select2-container--default .select2-selection--single {
    background: white;

    border: 3px solid transparent;
    background-clip: padding-box;
    padding: 6px 12px;
    font-size: 16px;
    height: auto;
    min-height: 40px;
    box-shadow: none;
    position: relative;
    border-radius: 10px !important;
}

/* Effetto bordo sfumato */
.select2-container--default .select2-selection--single::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 10px;
    background: linear-gradient(to right, blue, purple, red);
    z-index: -1;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{ top: 8px !important;}
/* Rimuove bordi standard al focus */
.select2-container--default .select2-selection--single:focus {
    outline: none;
    border-color: transparent;
    box-shadow: none;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #041E91 transparent transparent transparent !important;
  }
  .select2-container--default .select2-selection--single .select2-selection__clear{ color: #041E91 !important;}
/* Freccia */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
}

/* Testo della select */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #333;
    line-height: 1.4;
    padding-left: 0;
}
.select2-container--open .select2-dropdown{ top: 2px; border: none; background:none !important;}
.select2-results__option{
  border-radius: 10px;
   background: linear-gradient(to right, blue, purple, red);
   margin-bottom: 1px;
   color: #fff !important;
   padding: 10px !important;
}
.lightbox__caption{
    background: linear-gradient(to right, blue, purple, red);

   color: #fff !important;

}
.footer{ background: #041E91; padding-top: 20px; padding-bottom: 20px;}
.lightbox{ background: rgba(4,30,145,0.7);}
.lightbox__nav--next {
    right: 10px;
    background-image: url(right.svg);
    z-index: +9;
    opacity: 1 !important;
}
.lightbox__nav--prev {
    right: 10px;
    background-image: url(left.svg);
    z-index: +9; opacity: 1 !important;
}
.lightbox__close{
    background-image: url(close.svg);
    opacity: 1 !important;
}
.select2-results__option:hover{ opacity: 0.9; text-decoration: underline;}
.select2-container--default .select2-selection--single{ border: none !important;}
.select2-container{ width: 300px !important;}
.select2-search--dropdown{ display: none !important;}
.select2-container--default .select2-selection--single .select2-selection__clear{ position: relative; top: 3px;}
.select2-container--default .select2-selection--single .select2-selection__placeholder{ color: #041E91 !important;}
#menu-header li a:hover,.current-menu-item a{ color: #FF0000;    box-shadow: 0 8px 6px -6px red;}
#header_bar{
    width: 100%;
    background: #fff;
    margin-bottom: 10px;
    position: relative;
    z-index: +999;
}

.select2-container--default .select2-selection--single .select2-selection__rendered{ color: #041E91 !important;}
.cover_h{
    width: 100%;
    position: relative;
}
.margine{ margin-bottom: 30px;}
.cover_ctr{
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 80px;
    margin: auto;
    text-transform: uppercase;
}

.cover_ctr h1,.cover_ctr  p,.cover_ctr  h2,.cover_ctr h3,.cover_ctr  h4{
    font-size: 36px;
    color: #fff;
    font-style: italic;
    font-weight: 700;
}
.cover_ctr a,.abig a{
    font-size: 16px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    padding: 9px;
    background: #FF0000;
    border-radius: 8px;
    min-width: 250px; font-style: italic;
    text-transform: uppercase;
}
.redtitle{
    color: #FF0000;
    font-size: 36px;
    text-transform: uppercase;
    font-weight: 700;
    font-style: italic;
}
.rmore{
    font-size: 16px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    padding: 9px;
    background: #041E91;
    border-radius: 8px;
    min-width: 250px;
    text-align: center;
    text-transform: uppercase;
    font-style: italic;
}
.rmore:hover{ color: #fff; background: #FF0000; text-decoration: none;}
.evidenza h1{
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 40px;
}
.fullw{ max-width: 100% !important;}
.fullimg{ width: 100% !important;}
.npad{ padding: 0px;}
.item_card{
    padding: 60px;
}
.evidenza p{
    font-size: 24px;
}
.cover_ctr a:hover,.abig a:hover{
    background: #041E91;
}
.img-ctr{
    position: relative;
    border-radius: 25px;
}
.txt_serv{
    background: #041E91;
    width: 100%;
    position: absolute;
    left: 0px;
    bottom: 0px;
    right: 0px;
    padding: 15px;
}
.txt_serv p{
    color: #fff;
    margin-bottom: 0px;
    font-size: 16px;
}
.txt_serv h1{
    font-size: 24px;
    font-weight: 700;
    font-style: italic;
    color: #fff;
    margin-bottom: 0px;
}
.first_im{
    position: relative;
}
.txt_serv_centrato{
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    margin: auto;
    text-align: center;
    height: 88px;
}
.txt_serv_centrato h1{ font-size: 36px;}
.swiper{ padding-bottom: 60px;}
.swiper-pagination-bullet-active{
    background: #FF0000 !important;
    opacity: 1 !important;
}
.swiper-pagination-clickable .swiper-pagination-bullet{
opacity: 1 !important;
background: #041E91;
}
.is-scrolled #header_bar{
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: +9;
    box-shadow: 0 8px 6px -6px #041E91;
}
.img-ctr img{ width: 100%;}
.img-ctr{ overflow: hidden;}
.spacer{
    height: 40px; width: 100%;
    clear: both;
}
/* Slider
-------------------------------------------------------- */
.carousel,
.carousel-inner,
.carousel-item{height: 600px;}
.linea{ width: 100% !important;}

/* Comments
-------------------------------------------------------- */
#comments{margin-bottom: 40px;}
.comments{padding-top: 40px;}
.comments textarea{width: 100%;}
.comments label{ min-width: 80px;}
.comments ul,
.comments ol{list-style-type: none;}
.comment-author img{border-radius: 999px; width:50px;}
.comment .reply{border-bottom:  1px solid #ccc; margin-bottom: 30px;padding-bottom: 10px;}


/* Input & textarea
-------------------------------------------------------- */
input,
textarea{padding: 5px 10px; border: 1px solid #ccc}


/* Widgets
-------------------------------------------------------- */
.widget_search .screen-reader-text{display: block;}
.widget_search #s{width:70%;float:left;}
.widget_search #searchsubmit{width:30%;float:left;background: #fff;}


/* pagination
-------------------------------------------------------- */
.pagination{margin-bottom:40px}
.page-numbers{display: inline-block;padding: 10px 15px;border: 1px solid #ddd;margin-right:4px;}

/* general wordpress style
-------------------------------------------------------- */
.post img{max-width: 100%; height:auto;}



/* WordPress Core Styles
-------------------------------------------------------------- */
 .gallery-caption{padding:5px; font-size: 10px;}
 .bypostauthor{border-left: 3px solid #ddd;padding-left: 20px;}

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}
*{
  outline: none !important;
}
.form_cont input{ height: 45px;}
.form_cont input,textarea{ width:100%; border-radius: 10px; font-size: 16px;}
.form_cont .wpcf7-form-control-wrap::before{
  content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 10px;
    background: linear-gradient(to right, blue, purple, red);
    z-index: -1;
}
.txtr textarea{
 border: 1px solid #041E91;
}
.chedk label,.chedk p{ font-size: 12px !important;}
.wpcf7-spinner{ display: block !important;}
.btc_subm input{
  font-size: 16px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    padding: 9px;
    background: #041E91;
    border-radius: 8px;
    min-width: 250px;
    font-style: italic;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    border: none;
}
.btc_subm input:hover{
  background: #FF0000;
}
.wpcf7-form { margin-top: 40px;}
.wpcf7-form  label{ display: block !important; font-size: 24px; color: #041E91;}
.form_cont span{ display: block;}
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
        white-space: nowrap;
	height: 1px;
	width: 1px;
	overflow: hidden;
}
.w960{ max-width: 960px !important;}
.ctr img{
  max-width: 56px;
}
.ctrbig h1{
  text-transform: uppercase;
  font-size: 36px;
  font-style: italic;
  font-weight: 400;
}
.ctr h2{
  font-weight: 700;
  font-style: italic;
  font-size: 24px;
  margin-bottom: 35px;
}
.ctr a{
  color: #041E91 !important;
  text-decoration: none !important;
  font-size: 24px;
}
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}



#nav-icon1, #nav-icon2, #nav-icon3, #nav-icon4,#nav-icon5 {

     -webkit-transform: rotate(0deg);
     -moz-transform: rotate(0deg);
     -o-transform: rotate(0deg);
     transform: rotate(0deg);
     -webkit-transition: .5s ease-in-out;
     -moz-transition: .5s ease-in-out;
     -o-transition: .5s ease-in-out;
     transition: .5s ease-in-out;
     cursor: pointer;
       top: -3px;
       width: 40px;
       height: 40px;
   
       position: relative;
       top: -5px;
   
   }
   
   #nav-icon1 span, #nav-icon3 span, #nav-icon4 span ,#nav-icon5 span {
     display: block;
     position: absolute;
     height: 2px;
     width: 30px;
     background: #041E91;
     opacity: 1;
     left: 5px;
     -webkit-transform: rotate(0deg);
     -moz-transform: rotate(0deg);
     -o-transform: rotate(0deg);
     transform: rotate(0deg);
     -webkit-transition: .25s ease-in-out;
     -moz-transition: .25s ease-in-out;
     -o-transition: .25s ease-in-out;
     transition: .25s ease-in-out;
   }
   
    #nav-icon4 span{ height:5px}
    #nav-icon5 span{ height:5px}
   
   #nav-icon1 span:nth-child(1) {
     top: 0px;
   }
   
   #nav-icon1 span:nth-child(2) {
     top: 20px;
   }
   
   #nav-icon1 span:nth-child(3) {
     top: 40px;
   }
   
   #nav-icon1.open span:nth-child(1) {
     top: 18px;
     -webkit-transform: rotate(135deg);
     -moz-transform: rotate(135deg);
     -o-transform: rotate(135deg);
     transform: rotate(135deg);
   }
   
   #nav-icon1.open span:nth-child(2) {
     opacity: 0;
     left: -60px;
   }
   
   #nav-icon1.open span:nth-child(3) {
     top: 18px;
     -webkit-transform: rotate(-135deg);
     -moz-transform: rotate(-135deg);
     -o-transform: rotate(-135deg);
     transform: rotate(-135deg);
   }
   
   
   /* Icon 3 */
   
   #nav-icon3 span:nth-child(1) {
     top: 0px;
   }
   
   #nav-icon3 span:nth-child(2),#nav-icon3 span:nth-child(3) {
     top: 6px;
   }
   
   #nav-icon3 span:nth-child(4) {
     top: 12px;
   }
   
   #nav-icon3.open span:nth-child(1) {
     top: 18px;
     width: 0%;
     left: 50%;
   }
   
   #nav-icon3.open span:nth-child(2) {
     -webkit-transform: rotate(45deg);
     -moz-transform: rotate(45deg);
     -o-transform: rotate(45deg);
     transform: rotate(45deg);
   }
   
   #nav-icon3.open span:nth-child(3) {
     -webkit-transform: rotate(-45deg);
     -moz-transform: rotate(-45deg);
     -o-transform: rotate(-45deg);
     transform: rotate(-45deg);
   }
   
   #nav-icon3.open span:nth-child(4) {
     top: 18px;
     width: 0%;
     left: 50%;
   }
   
   #nav-icon3 span:nth-child(1) {
     top: 18px;
   }
   
   #nav-icon3 span:nth-child(2),#nav-icon3 span:nth-child(3) {
     top: 24px;
   }
   
   #nav-icon3 span:nth-child(4) {
     top: 30px;
   }
   
   #nav-icon4.open span:nth-child(1) {
     top: 18px;
     width: 0%;
     left: 50%;
   }
   
   #nav-icon4.open span:nth-child(2) {
     -webkit-transform: rotate(45deg);
     -moz-transform: rotate(45deg);
     -o-transform: rotate(45deg);
     transform: rotate(45deg);
   }
   
   #nav-icon4.open span:nth-child(3) {
     -webkit-transform: rotate(-45deg);
     -moz-transform: rotate(-45deg);
     -o-transform: rotate(-45deg);
     transform: rotate(-45deg);
   }
   
   #nav-icon4.open span:nth-child(4) {
     top: 18px;
     width: 0%;
     left: 50%;
   }
   
   
   #nav-icon5.open span:nth-child(1) {
     top: 18px;
     width: 0%;
     left: 50%;
   }
   #nav-icon5.open span:nth-child(2) {
     -webkit-transform: rotate(45deg);
     -moz-transform: rotate(45deg);
     -o-transform: rotate(45deg);
     transform: rotate(45deg);
   }
   
   #nav-icon5.open span:nth-child(3) {
     -webkit-transform: rotate(-45deg);
     -moz-transform: rotate(-45deg);
     -o-transform: rotate(-45deg);
     transform: rotate(-45deg);
   }
   
   #nav-icon5.open span:nth-child(4) {
     top: 18px;
     width: 0%;
     left: 50%;
   }
   
   
   
   #nav-icon2.open span:nth-child(1) {
     top: 18px;
     width: 0%;
     left: 50%;
   }
   
   #nav-icon2.open span:nth-child(2) {
     -webkit-transform: rotate(45deg);
     -moz-transform: rotate(45deg);
     -o-transform: rotate(45deg);
     transform: rotate(45deg);
   }
   
   #nav-icon2.open span:nth-child(3) {
     -webkit-transform: rotate(-45deg);
     -moz-transform: rotate(-45deg);
     -o-transform: rotate(-45deg);
     transform: rotate(-45deg);
   }
   
   #nav-icon2.open span:nth-child(4) {
     top: 18px;
     width: 0%;
     left: 50%;
   }
   #wrap{
    width: 100%;
    overflow-x: hidden ;
   }
   .flogo{ max-width: 200px;}
   .preventivo{
    font-size: 16px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    padding: 9px;
    background: #FF0000;
    border-radius: 8px;
    min-width: 250px;
    font-style: italic;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
   }
   .preff{ font-size: 11px; text-align: center; margin-bottom: 0px; padding-top: 8px; padding-bottom: 8px;}
   .preventivo:hover{ color: #fff !important; text-decoration: none;}
   .footer .social{ color: #fff !important;}
   @media (max-width: 764px) {
    .footer{ text-align: center !important;}
    .footer .preventivo{ margin-top: 10px; margin-bottom: 10px;}
    .footer .text-right{ text-align: center !important;}
    .cover_ctr{ height: 180px;}
  #indirizzi span{ display: block;}
   #indirizzi  div{ text-align: center !important;}
    #preheader{ display: none;}
    #h_menu{ width: 90%;}
     #h_menu li a{ font-size: 24px;}
     .item_card{ padding: 15px;}
     .evidenza p, p{
      font-size: 18px;
     }
     .evidenza h1{ font-size: 24px;}
     .txt_serv h1{ font-size: 18px;}
     .redtitle{ font-size: 28px;}
   }

