/* termini da controllare */
.focus-box .box-title {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: .15rem;
}
.focus-box .box-title {
  text-transform: uppercase
}
.focus-box .box-container {
  color: #fff;
}
.focus-box .box-title {
				color: lime;
			}
			.btn-hover-primary:hover {
				background: lime;
			}
			.btn-outline-hover-primary:hover {
				border: 2px solid var(--primary);
			}		


.focus-box .box-container {
  background: #272e45;
}
/* general styles
----------------------------------------------- */
*, ::after, ::before {
  box-sizing: border-box;
}
body {
  overflow-x: hidden;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}
/*
html {
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  -ms-overflow-style: scrollbar;
}
*/
h1, h2, h3, h4, h5, h6, p {
  margin-top: 0;
}


/* margin
----------------------------------------------- */
ul {
  margin: 0;
  padding: 0;
}
.footer h4, .header-subtitle, h5, h6, p {
  margin-bottom: 8px;
}
.main-text {
  margin-bottom: 64px;
}
.focus-text, .header-text p, .parallax .main-text, .main-text:last-child, .parallax p {
  margin-bottom: 0;
}
section {
  padding: 120px 0 120px 0;
  position: relative;
}
.menu-item.category {
  margin-bottom: 32px;
}

.single-feature .box-container .box-text {
	padding: 16px;
}
.focus-container, .single-box {
  margin-top: 64px;
}
.single-box:nth-child(-n+4) {
  margin-top: 0;
}
.single-box .box-container {
	padding: 32px 8px;
}



/* typography
----------------------------------------------- */

body {
  font-family: 'Bitter', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 2.25;
  letter-spacing: .125rem; 
}
h1, h2, h3, h4, h5, h6, .box-title, .intro-subtitle, .menu-item a, .header-container label {
  font-family: 'EB Garamond', sans-serif;
}
h1 {
  font-size: 6rem;  
  font-weight: 700;  
  margin-bottom: 32px;  
  line-height: 6rem;
}
h2 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 4.5rem;
  margin-bottom: 22px;  
}
h3 {
  font-size: 2rem;
  line-height: 2.5rem;
  font-weight: 600;
}
h4 {
  font-size: 1.1rem;  
  font-weight: 500;
}
h5, h6 {
  font-size: 1.05rem;  
  font-weight: 400; 
}
h3, h4, h5, h6 {
  margin-bottom: 12px;  
}
a {
  text-decoration: none;
  color: inherit;
}
.sub-menu .menu-item a {
  font-size: .75rem;
}
.navbar-nav li.menu-item-has-children.megamenu > ul.sub-menu > li.menu-item > a {
  font-size: .8rem;
  font-weight: 600;
}
.header-container .navbar-nav .menu-item a.nav-link, .header-container label, .footer h4 {
  font-size: .75rem;  
  font-weight: 600;  
  text-transform: uppercase;
  letter-spacing: .2rem;
}
.box-title, #contact-info a {
  font-weight: 500;
}
.single-box .box-title {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: .15rem;
}

.btn, .btn-link {
  font-family: 'Kanit', sans-serif;
  font-weight: 500;  
  font-size: 0.875rem;
  letter-spacing: .15rem;
  text-align: center;
  text-transform: uppercase;  
}
.top-header, .footer {
  font-size: .8rem;    
  font-weight: 400;
}
.single-box {
  text-align: center;
}
.slider-content h1, .single-box .box-title {
  text-transform: uppercase
}
.box-header .icon, .box-header .box-title {
  margin-bottom: 0;
}
/*sostituito con block title e subtitle */
.intro-subtitle, .intro-title {
  margin-bottom: 0;
}
.service-header {
  margin-bottom: 64px;
}
.intro-subtitle {
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.5;
  margin-top: 8px;
}
/*sostituito con block text */
.intro-text {
  margin-top: 22px;
}

.align-centered .icon, .align-centered .box-title {
	margin: 0 auto;
}
.align-centered {
	text-align: center;
}
.align-left .icon {
	margin-right: 0;
}
.align-left {
	text-align: left;
}



/* colours
----------------------------------------------- */
.intro-subtitle {
  color: #272e45;
}
.btn-white, .btn-white, .bg-white-color .trigger-mobile-nav label[for="trigger-nav"], 
.black-color, .icon-black-color {
  color: #1c2234;
}
#contact-info a, .top-header, .btn-white:hover, .page-slide, .footer a:hover, 
.trigger-mobile-nav label[for="trigger-nav"],
.white-color, .white-color a, .icon-white-color {
  color: #fff;
}
.sub-menu, .bg-white-color, .bg-light-color .card, .bg-light-color .card-container,
.trigger-mobile-nav.close-menu .bar, .trigger-mobile-nav.close-menu .bar:after, .trigger-mobile-nav.close-menu .bar:before {
  background: #fff;
}
.btn-white {
  background: #fafafb;
}
.menu-item-has-children .sub-menu > .menu-item.category:hover {
  background: transparent;
}
.bg-light-color  {
  background: #f3f3f3;
}
/*
.menu-item:after, .menu-item:before {
  background: #2d2d2d;
}
*/


#contact-info a:hover, .bg-white-color .header-container .current-menu-item a.nav-link, .icon-list li:before,
			.btn-outline-hover-primary:hover, .btn-outline.btn-primary {
				color: lime;
			}
			.btn-hover-primary:hover {
				background: lime;
			}
			.btn-outline-hover-primary:hover {
				border: 2px solid var(--primary);
			}		


.btn-white:hover {
  background: #272e45;
}
.bg-white-color .bar, .bg-white-color .bar:after, .bg-white-color .bar:before {
  background: #242f4f;
}
.bg-white-color .trigger-mobile-nav .bar, .bg-white-color .trigger-mobile-nav .bar:after, .bg-white-color .trigger-mobile-nav .bar:before {
  background: #1c2234;
}
.bg-black-color{
  background: #121212;  
}
.single-box .box-container {
  background: transparent;
}
.single-box .box-container:hover {
  background: rgb(255 255 255 / 0.15);
}
.bg-light-color .card {
  border-bottom: 2px solid #272e45;
}
/*
.focus-box svg.icon {
  fill: #fff;
}
*/
/*
.box-header svg.icon {
  fill: #f64e4e;
}
*/


/* buttons
----------------------------------------------- */

.btn {
  display: inline-block;
  padding: 0 18px;
  border-radius: 34px;
  font-weight: 600;
  position: relative;
  border: none;
  white-space: nowrap;
  z-index: 100;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none; 
  transform: scale(1);
}
.btn-lg {
  min-width: 200px;
  height: 40px;
  line-height: 36px;
}
.btn-sm {
  min-width: 100px;
  height: 30px;  
  line-height: 24px;
  font-size: 0.7rem;
}
.btn-outline:after, .btn:after {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    top: 0;
    left: 0;
    position: absolute;
    border-radius: 34px;
    z-index: -1;
    -webkit-transition: all .6s ease-out;
    -moz-transition: all .6s ease-out;
    -o-transition: all .6s ease-out;
    transition: all .6s ease-out;
}
.btn-outline:hover:after, .btn:after {
    opacity: 0;
}
.btn-outline:after, .btn:hover:after {
    opacity: 1;
}
.btn-outline:focus, .btn-outline:hover, .btn:focus, .btn:hover {
    text-decoration: none;
}
.btn-outline.disabled, .btn-outline:disabled, .btn.disabled, .btn:disabled {
    background: #77819d;
    opacity: .65;
}
.btn-outline:not(:disabled):not(.disabled), .btn:not(:disabled):not(.disabled) {
    cursor: pointer;
}
.btn i, .btn-link i {
    position: absolute;
    top: 50%}
.btn i {
    right: 16px;
    margin-top: -.5rem;
}
.btn-link i {
    right: -16px;
    margin-top: -.45rem;
}
.btn:hover i {
    right: 4px;
}
.btn-link:hover i {
    right: -26px;
}
.btn-outline:active, .btn-outline:focus, .btn:active, .btn:focus, .form-control:active, .form-control:focus, button:active, button:focus, input:active, input:focus, select:focus, textarea:active, textarea:focus {
    outline: 0!important;
    -webkit-box-shadow: none!important;
    box-shadow: none!important;
    border-color: inherit;
}
.btn-black, .btn-dark, .btn-hover-black:hover, .btn-hover-dark:hover, .btn-hover-light:hover, .btn-hover-primary:hover, .btn-hover-secondary:hover, .btn-hover-white:hover, .btn-light, .btn-outline.btn-hover-black:hover, .btn-outline.btn-hover-dark:hover, .btn-outline.btn-hover-light:hover, .btn-outline.btn-hover-primary:hover, .btn-outline.btn-hover-secondary:hover, .btn-outline.btn-hover-white:hover, .btn-primary, .btn-secondary, .btn-white {
    border: 2px solid transparent;
}
.btn-black, .btn-dark, .btn-hover-black:hover, .btn-hover-dark:hover, .btn-hover-light:hover, .btn-hover-primary:hover, .btn-hover-secondary:hover, .btn-light, .btn-outline.btn-hover-black:hover, .btn-outline.btn-hover-dark:hover, .btn-outline.btn-hover-light:hover, .btn-outline.btn-hover-primary:hover, .btn-outline.btn-hover-secondary:hover {
    color: #fff!important;
}
.btn-hover-light:hover, .btn-hover-white:hover, .btn-light, .btn-outline.btn-hover-light:hover, .btn-outline.btn-hover-white:hover {
    color: #384554!important;
}
.btn-hover-light:hover, .btn-light {
    background: #e0e6ed;
}
.btn-hover-white:hover {
    background: #f0f0f0;
}
.btn-dark, .btn-hover-dark:hover {
    background: #384554;
}
.btn-black, .btn-hover-black:hover {
    background: #1e1e1e;
}
.btn-outline, .btn-outline-hover-dark:hover, .btn-outline-hover-light:hover, .btn-outline-hover-primary:hover, .btn-outline-hover-secondary:hover, .btn-outline-hover-tertiary:hover, .btn-outline-hover-white:hover {
    background: 0 0;
}
.btn-outline-hover-light:hover, .btn-outline.btn-light {
    color: #e0e6ed!important;
    border: 2px solid #e0e6ed;
}
.btn-outline-hover-white:hover, .btn-outline.btn-white {
    color: #f0f0f0!important;
    border: 2px solid #f0f0f0;
}
.btn-outline-hover-dark:hover, .btn-outline.btn-dark {
    color: #384554!important;
    border: 2px solid #384554;
}
.btn-outline-hover-black:hover, .btn-outline.btn-black {
    color: #1e1e1e!important;
    border: 2px solid #1e1e1e;
}
.btn-link {
  color: #f64e4e!important;
}
.btn-link:hover {
  color: #ff3a3a!important;
}



/* header
----------------------------------------------- */
#header {
	position: relative;
	z-index: 999;
}
#header.fixed-header {
  position: fixed !important;
  width: 100%;
  top: 0;
}
.header-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.header-background.trasparent_header{ 
	opacity: .75;
}
.logged-in .fixed-header, .logged-in .header-mobile {
  margin-top: 32px;
}
.header-mobile .header-mobile-wrap {
 height: 100%;
}
@media (max-width:782px) {
  .logged-in .fixed-header, .logged-in .header-mobile {
    margin-top: 46px;
  }
}

.top-header {
  width: 100%;
  height: 40px;
  line-height: 40px;
  margin-top: 0;
}
.top-header i  {
  font-size: 1rem;
  top: 1px;
  position: relative  
}

.index-header, .page-header {
  background: 0 0;
  margin-top: 0;
  position: relative;
}
.index-header, .page-header {
  -ms-flex-align: center;
  align-items: center;
  display: -ms-flexbox;
  display: flex; 
}
.page-header {
  height: 90px;
}
.page-scrolled .page-header {
  height: 70px;
}

.header-scrolled .top-header, .page-scrolled .top-header {
  margin-top: -40px;
}
@media (max-width:576px) {
  .header-scrolled .top-header, .page-scrolled .top-header {
    margin-top: 0;
  }
}
.header-mobile {
  height: 90px;
  padding: 0 24px;
}

.logo-sprites {
  width: 90px;
  height: 80px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.logo-sprites.left {
  background-position: left;
}
.page-scrolled .logo-sprites {
  width: 70px;
  height: 61px;
}
.logo-sprites .custom-logo-link {
  position: absolute;
  right: 0;
}
.site-title {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  padding-left: 14px;
  max-width: 220px;
  line-height: 30px;
}


/* footer
----------------------------------------------- */
.footer .footbar-nav, .footer .textwidget {
  margin-top: 16px;
}
.top-header span {
  padding-left: 6px;
}
.footer li {
  display: flex;
  position: relative;
  list-style: none;
  padding: 0 8px 8px 10px;
  border-bottom: 1px solid #323d5c; 
  margin-bottom: 8px;
  line-height: 1.5rem;
}



/* pages
----------------------------------------------- */



.featured-article h2, #parallax h2 {
  font-size: 1.75rem;
}

}
/*questo*/
.bg-dark-pattern, .bg-light-pattern {
    position: relative;
}
.bg-dark-pattern:before, .bg-light-pattern:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    z-index: 0;
}
.bg-light-pattern:before {
    background: url(../img/pattern-light.jpg);
    border-bottom: 2px solid #f3f3f3;
    opacity: .6;
}

body::-webkit-scrollbar {
  width: 16px;
}
.navbar-collapse.width::-webkit-scrollbar {
  width: 0px;
  background: #272e45;
}
.navbar-collapse.width::-webkit-scrollbar-thumb {
  background: #272e45;
}
.navbar-collapse.width::-webkit-scrollbar-thumb:hover {
  background: #242f4f;
}
::selection {
    background: rgba(255, 31, 0, .5);
    color: #202020;
}
::-moz-selection {
    background: rgba(255, 31, 0, .5);
    color: #202020;
}

.IE {
    display: none;
}
@media all and (-ms-high-contrast:none), (-ms-high-contrast:active) {
    .IE {
    display: inline-block;
}
.no-IE {
    display: none;
}
}

.icon-arrow {
  background: transparent;
  width: 15px;
  height: 15px;
  border: 2px solid #fff;
}
#back-to-top {
    position: fixed;
    width: 40px;
    height: 40px;
    bottom: 14px;
    right: 14px;
    text-align: center;
    cursor: pointer;
    z-index: 999;
    border-radius: 100%
}
#back-to-top .icon-arrow {
  transform: rotate(45deg);
  border-right: 0;
  border-bottom: 0;
  position: relative;
  top: 2px;
}
/*
#back-to-top:after {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    top: 0;
    left: 0;
    position: absolute;
    z-index: -1;
    -webkit-transition: all .6s ease-out;
    -moz-transition: all .6s ease-out;
    -o-transition: all .6s ease-out;
    transition: all .6s ease-out;
    border-radius: 100%}
*/
#back-to-top i {
  display: block;
}

input:not(.btn), select, textarea {
  font-family: monospace;
  font-style: italic;
  width: 100%;
  height: 40px;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: .1rem;
  line-height: 1.5rem;
  background: 0 0;
  padding: 12px 5px 0 10px;
  margin-bottom: 12px;
  border: 0;
  border-bottom: 1px solid #393939;
  color: #393939;
  background: rgba(135, 135, 135, .1);
}
select option {
  background: rgba(255, 255, 255, 1);
  font-style: normal;  
}
.bg-dark-color input,.bg-dark-color select, .bg-dark-color textarea, 
.bg-primary-color input, .bg-primary-color select, .bg-primary-color textarea {
    border-bottom: 1px solid #f0f0f0;
    color: #f8f8f8;
    background: rgba(41, 41, 41, .1);
}
input:focus, select:focus, textarea:focus {
  border-bottom: 1px solid #242f4f;
}
textarea {
    min-height: 180px;
}
button {
    cursor: pointer;
}
form p {
  position: relative;
  margin: 0;
  padding: 0;
}
form p:focus label {
  top: 0;
}
form label {
  position: absolute;
  top: 17px;
  left: 0;
}
form label, form .main-label {
  letter-spacing: 0;  
  margin-left: 8px;
}
.ajax-loader, form button {
    margin-top: 20px;
}
form .checkbox-line {
    width: 100%;
    position: relative;
    padding: 5px 15px;
    display: -ms-flexbox;
    display: flex;
}
form #submit:disabled {
    cursor: not-allowed;
}
.checkbox-line label {
    margin: 0 0 8px 8px;
}
.checkbox-line .checkbox {
    background: 0 0;
    min-width: 20px;
    width: 20px;
    height: 20px;
    position: relative;
    border: 1px solid #393939;
}
.bg-dark-color .checkbox-line .checkbox, .bg-primary-color .checkbox-line .checkbox {
    border: 1px solid #f0f0f0;
}
.checkbox-line input[type=checkbox] {
    width: 22px;
    height: 26px;
    cursor: pointer;
}
.checkbox-line .wpcf7-form-control-wrap {
    position: absolute;
    left: -2px;
    top: 2px;
    z-index: 1;
    opacity: 0;
}
.checkbox, .checkbox.checked:after {
    display: block;
    content: "";
    position: absolute;
}
.checkbox-line .checkbox.checked:after {
    left: 8px;
    top: -5px;
    width: 10px;
    height: 20px;
    border: solid #ff3a3a;
    border-width: 0 3px 5px 0!important;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}
.checkbox-line .checkbox.checked {
    border: 1px solid #ff3a3a;
}

.buttons {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.buttons {
    -ms-flex-pack: center;
    justify-content: center;
}
.buttons.justify-content-start .btn {
    margin: 14px;
}
.buttons.justify-content-start .btn:first-child {
    margin: 14px 14px 14px 0;
}

.ajax-loader {
    display: inline-block;
    position: relative;
    width: 34px;
    height: 34px;
    float: right;
}
div.wpcf7 .ajax-loader {
    background-image: none;
    width: 34px;
    height: auto;
    border: none;
    padding: 0;
    margin: 0;
    margin-top: 20px;
}
.ajax-loader div {
    display: inline-block;
    position: absolute;
    left: 6px;
    width: 6px;
    background: #ff3a3a;
    animation: ajax-loader 1.2s cubic-bezier(0, .5, .5, 4) infinite;
}
.ajax-loader div:nth-child(1) {
    left: 0;
    animation-delay: -.24s;
}
.ajax-loader div:nth-child(2) {
    left: 14px;
    animation-delay: -.12s;
}
.ajax-loader div:nth-child(3) {
    left: 28px;
    animation-delay: 0;
}
@keyframes ajax-loader {
    0% {
    top: 6px;
    height: 51px;
}
100%, 50% {
    top: 19px;
    height: 26px;
}
}.rotate-90, .rotate-90:after, .rotate-90:before {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}
::placeholder {
  font-family: 'Bitter', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 2.25;
  letter-spacing: .125rem;
    opacity: 1;
    color: #999!important;
}
:-ms-input-placeholder {
  font-family: 'Bitter', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 2.25;
  letter-spacing: .125rem;
    opacity: 1;
    color: #999!important;
}
::-ms-input-placeholder {
  font-family: 'Bitter', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 2.25;
  letter-spacing: .125rem;
    opacity: 1;
    color: #999!important;
}
::-webkit-input-placeholder {
    color: silver;
  font-family: 'Bitter', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 2.25;
  letter-spacing: .125rem;
    opacity: 1;
}
::-moz-placeholder {
    color: #999!important;
  font-family: 'Bitter', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 2.25;
  letter-spacing: .125rem;
    opacity: 1;
}
:-moz-placeholder {
    color: #999!important;
  font-family: 'Bitter', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 2.25;
  letter-spacing: .125rem;
    opacity: 1;
}
#steps .card, .animate, .animate * .animate:after, .animate:before, a, i, .btn i, .btn-link i, .card *, .card-caption, .icon-right-open-light, .slick-next, .slick-prev, figure, figure *, input, label, textarea, .footer li a, .menu-item:after {
    -webkit-transition: all 0.45s cubic-bezier(0.64, 0.28, 0.28, 1.185);
    -moz-transition: all 0.45s cubic-bezier(0.64, 0.28, 0.28, 1.185);
    -o-transition: all 0.45s cubic-bezier(0.64, 0.28, 0.28, 1.185);
    transition: all 0.45s cubic-bezier(0.64, 0.28, 0.28, 1.185);
}
.navbar-collapse, .menu-item {
  -webkit-transition: all .4s ease-out;
  -moz-transition: all .4s ease-out;
  -o-transition: all .4s ease-out;
  transition: all .4s ease-out;  
}
.animate-fast, .animate-fast * {
    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
}
.animate-slow, .animate-slow *, .animate-slow:after, .animate-slow:before, .special-shape:before, .custom-logo {
    -webkit-transition: all .6s ease-out;
    -moz-transition: all .6s ease-out;
    -o-transition: all .6s ease-out;
    transition: all .6s ease-out;
}
.svg path {
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;
}
@keyframes zoom-background {
    50% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}
}@keyframes animation-background {
    0% {
    transform: scale(1) translateX(0) translateY(0);
}
50% {
    transform: scale(1.05) translateX(-5%) translateY(5%);
}
100% {
    transform: scale(1) translateX(0) translateY(0);
}
}@keyframes animate-line {
    0% {
    width: 0;
}
100% {
    width: 200px;
}
}.bg-dark-color {
    background: #272828;
    color: #b8b8b8;
}
.parallax.bg-dark-color {
    color: #e8e8e8;
}
.bg-dark-color h2 {
    color: #e8e8e8;
}
.bg-dark-color a {
    color: #efefef;
}
.bg-dark-color a:hover {
    color: #fff;
}
.bg-gray-color {
    background: #eaeaea;
    color: #384554;
}
.bg-light-color svg.small-icon {
    fill: #e0e6ed;
}

.header-container {
  background: transparent !important;
}
#header .filter-background {
  opacity: 0;
}
.page-scrolled #header .filter-background, #header .navbar-collapse.show .filter-background {
  opacity: .9;
  z-index: -1;
}








/* navbar */
.navbar-nav {
  display: flex;
  margin: 0;
  padding: 0;
}
.navbar-nav > .menu-item {
  padding: 23px 0;
  display: flex;
  align-items: center;
}
.nav-link {
  padding: 0 12px;
}
.navbar-nav, .sub-menu {
  list-style: none;    
}
/*
.navbar-nav li.menu-item {
  position: relative;
}
*/
.navbar-nav li.menu-item a.nav-link {
  display: block;
}
.navbar-nav li.menu-item-has-children {
  position: relative;
}
.navbar-nav li.menu-item-has-children.megamenu {
  position: inherit;
}
.navbar-nav li.menu-item-has-children ul.sub-menu {
  width: 260px;  
  max-height: 0;
  padding: 0;
  position: absolute;
  left: 50%;
  top: 70px;
  margin-left: -130px;
  overflow: hidden;
  z-index: 1;
}
/*.navbar-nav > li.menu-item-has-children:hover > ul.sub-menu*/
.navbar-nav > li.menu-item-has-children.active-menu > ul.sub-menu {
  margin-top: 24px;
  padding: 6px 0;
  max-height: 100vh;
  z-index: 2;
}
/*.bg-white-color .navbar-nav > li.menu-item-has-children:hover > ul.sub-menu*/
/* .bg-white-color .navbar-nav > li.menu-item-has-children.active-menu > ul.sub-menu {
  margin-top: 38px;
} */
.navbar-nav li.menu-item-has-children ul.sub-menu li.menu-item {
  position: relative;
  margin: 8px 12px 0 12px;
  overflow: hidden;
}
.navbar-nav ul.sub-menu li.menu-item:not(.category) a:hover, .footbar-nav li.menu-item a:hover {
  padding-left: 18px;
}
.navbar-nav li.menu-item-has-children ul.sub-menu li.menu-item a {
  display: block;
  width: 100%;
  padding: 8px 12px 6px 6px;
  opacity: .9;
}
.navbar-nav li.menu-item-has-children.megamenu ul.sub-menu li.menu-item-has-children.category ul.sub-menu li.menu-item a {
  padding-right: 24px;
}
.navbar-nav li.menu-item-has-children ul.sub-menu li.menu-item a, 
.navbar-nav li.menu-item-has-children.megamenu ul.sub-menu li.menu-item:last-child a {
  border-bottom: 1px dashed #dadada;
}
.navbar-nav li.menu-item-has-children ul.sub-menu li.menu-item:last-child a, 
.navbar-nav li.menu-item-has-children.megamenu ul.sub-menu li.menu-item.category ul.sub-menu li.menu-item:last-child a {
  border: 0;
}
.navbar-nav li.menu-item-has-children ul.sub-menu li.menu-item a:hover, 
.navbar-nav li.menu-item-has-children ul.sub-menu li.menu-item-has-children:before a:hover, 
.navbar-nav li.menu-item-has-children ul.sub-menu li.menu-item-has-children:after a:hover {
  opacity: 1;
}
.navbar-nav li.menu-item-has-children ul.sub-menu li.menu-item-has-children:before {
  margin-top: -1px;
  transform: rotate(45deg);
}
.navbar-nav li.menu-item-has-children ul.sub-menu li.menu-item-has-children:after {
  margin-top: 2px;
  transform: rotate(-45deg);
}
.navbar-nav li.menu-item-has-children ul.sub-menu li.menu-item-has-children:before, 
.navbar-nav li.menu-item-has-children ul.sub-menu li.menu-item-has-children:after {
  content: ''; 
  width: 5px;
  height: 1px;
  position: absolute;
  right: 16px;
  top: 50%;  
  opacity: .7;
}
.navbar-nav > li.menu-item-has-children ul.sub-menu li.menu-item-has-children ul.sub-menu {
  top: -2px;
  padding: 0;
  left: 100%;
  max-width: 0;
  min-width: 0;
}
.navbar-nav  >li.menu-item-has-children > ul.sub-menu > li.menu-item-has-children:hover ul.sub-menu {
  max-height: 100vh;
  min-width: 200px;
}
.navbar-nav li.menu-item-has-children.megamenu ul.sub-menu li.menu-item-has-children.category:before, 
.navbar-nav li.menu-item-has-children.megamenu ul.sub-menu li.menu-item-has-children.category:after {
  display: none;
}
.navbar-nav > li.menu-item-has-children.megamenu > ul.sub-menu {
  /*test
  overflow: unset;
  margin-top: 12px;
  padding: 6px 0;
  max-height: 100vh; 
  /*fine test*/
  
  display: flex;
  width: 1140px;
  right: 0;
  left: unset;
}
.navbar-nav li.menu-item-has-children.megamenu ul.sub-menu li.menu-item {
  min-width: 228px; /* 5 cols */
  width: 25%; /* 4 cols */
}
.navbar-nav li.menu-item-has-children.megamenu ul.sub-menu li.menu-item-has-children.category ul.sub-menu {
  max-height: 100%;
  min-width: 100%;
  width: 228px;
  position: relative;
  top: 0;
  left: 0;
  margin: 0;
  -webkit-box-shadow: 0 0 transparent;
  box-shadow: 0 0 transparent;
}
.navbar-nav li.menu-item-has-children.megamenu ul.sub-menu li.menu-item-has-children.category ul.sub-menu li.menu-item {
  padding: 0;
  margin: 0;
}
/*
.navbar-nav:hover > .menu-item {
  padding: 24px 0;
}
.bg-white-color .navbar-nav:hover > .menu-item {
  padding: 40px 0;
}
/*
.navbar-collapse ul.navbar-nav li.menu-item:last-child {
    margin: inherit;
}

.navbar-collapse ul.navbar-nav li.menu-item:last-child:before {
    display: none;
}
*/


/*
.navbar-collapse ul.navbar-nav li.menu-item-has-children ul.sub-menu li.menu-item a {
    color: #393939;
    background: 0 0;
}
.navbar-collapse ul.navbar-nav li.menu-item-has-children ul.sub-menu>li.menu-item:hover>a {
    color: #fff;
}
.navbar-collapse ul.navbar-nav>li.menu-item-has-children>ul.sub-menu li.menu-item, .navbar-collapse ul.navbar-nav>li.menu-item-has-children>ul.sub-menu li.menu-item:first-child, .navbar-collapse ul.navbar-nav>li.menu-item-has-children>ul.sub-menu li.menu-item:last-child {
    border: 0;
}
*/


.nav-wapper .textwidget {
  display: flex;
}

/* utility classes
----------------------------------------------- */
.background {
  background-repeat: no-repeat;
  background-position: center; 
  width: 100%;
  height: 100%;
}
.background.contain {
  background-size: contain;
}
.background.cover {
  background-size: cover;
}
.filter-background {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  opacity: .9;
}
.box-container .filter-background {
  opacity: 0.8;
}
.filter-background.bg-black-color {
  opacity: .6;
}
.box-shadow, .sub-menu {
  -webkit-box-shadow: 0px 6px 15px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 6px 15px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 6px 15px 0px rgba(0, 0, 0, 0.1);  
}
.animate, .navbar-nav li.menu-item-has-children ul.sub-menu {
  -webkit-transition: all .4s cubic-bezier(0.82, 0.51, 0.32, 0.6);
  -moz-transition: all .4s cubic-bezier(0.82, 0.51, 0.32, 0.6);
  -o-transition: all .4s cubic-bezier(0.82, 0.51, 0.32, 0.6);
  transition: all .4s cubic-bezier(0.82, 0.51, 0.32, 0.6);
}
.btn {
  -webkit-transition: all .25s ease-out;
  -moz-transition: all .25s ease-out;
  -o-transition: all .25s ease-out;
  transition: all .25s ease-out; 
}
.pulse {
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
  transform: scale(1);
  animation: pulse 2s infinite;
}
@-webkit-keyframes pulse
{
  0% {
  transform: scale(1);
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
  }
  50% {
  transform: scale(0.95);
  box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
	}
  100% {
  transform: scale(1);
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}
.pulse-blue, .btn-white:hover {
  box-shadow: 0 0 0 0 rgba(39, 46, 69, 1);
  transform: scale(1);
  animation: pulse-blue 2s infinite;
}
@-webkit-keyframes pulse-blue
{
  0% {
  transform: scale(1);
  box-shadow: 0 0 0 0 rgba(39, 46, 69, 0.7);
  }
  50% {
  transform: scale(0.95);
  box-shadow: 0 0 0 10px rgba(39, 46, 69, 0);
	}
  100% {
  transform: scale(1);
  box-shadow: 0 0 0 0 rgba(39, 46, 69, 0);
  }
}
/*
.pulse {
  box-shadow: 0 0 0 0 rgba(246, 78, 78, 1);
  transform: scale(1);
  animation: pulse-red 2s infinite;
}
*/
@-webkit-keyframes pulse-red
{
  0% {
  transform: scale(1);
  box-shadow: 0 0 0 0 rgba(246, 78, 78, 0.7);
  }
  50% {
  transform: scale(0.95);
  box-shadow: 0 0 0 10px rgba(246, 78, 78, 0);
	}
  100% {
  transform: scale(1);
  box-shadow: 0 0 0 0 rgba(246, 78, 78, 0);
  }
}
.only-mobile {
  display: none;
}



/* elements classes
----------------------------------------------- */

/* icons */
.icon {
  font-size: 3.5rem;
  display: inline-flex;
}
.small-icon {
  font-size: 2.5rem;
}
/*
svg.icon {
  max-width: 60px;
  max-height: 60px;
}
svg.icon.small-icon {
  max-width: 45px;
  max-height: 45px;
}
*/


.footer h4:after {
  bottom: 2px;
}
/*questo*/
.intro-text li {
  position: relative;
}
.footer li:after, .navbar-nav li.menu-item-has-children ul.sub-menu li.menu-item:after, .intro-text li:after {
  position: absolute;
  top: 9px;
  left: -2px;
  font-family: 'flaticon_mycollection';
  content: '\f115'; /* eaca */
  display: block;
  width: 16px;
  height: 16px;
  font-size: .7rem;
  rotate: -90deg;
  display: block;  
}
.intro-text li:after {
    background: red;
    color: white;
    border-radius: 50%;
    line-height: 1;
    /* margin-bottom: 30px; */
    padding: 3px 2px 2px 2px;
    text-align: center;
}
.navbar-nav li.menu-item-has-children ul.sub-menu li.menu-item:after {
  left: -13px;
}
.navbar-nav li.menu-item-has-children ul.sub-menu li.menu-item:hover:after {
  left: -2px;
}
.footer li:after {
  top: 0;
}

/* boxes */
/*questo*/
.box-container, .box-icon, .box-text {
  position: relative;
}
.block-title, .footer h4 {
  position: relative;
  display: initial;
  line-height: 1;
}
/*sostituito con block title */
.intro-title {
  position: relative;
  display: initial;
  line-height: 54px;
}
.block-title:after, .page-subtitle:after, .footer h4:after {
  content: '';
  width: 4px;
  height: 4px;
  position: absolute;
  bottom: 4px;
  right: -12px;
}

/*sostituito con block title */
.intro-title:after {
  content: '';
  width: 4px;
  height: 4px;
  position: absolute;
  bottom: 5px;
  right: -12px;
}

.text-no-image {
  display: flex;
  align-content: center;
  flex-wrap: wrap;
}
.text-no-image .intro-text {
  margin: 0;
}
.text-no-image .intro-title {
  display: block;
  margin: 44px 0;
}





/* SLIDER
/*---------------------------------------------------*/
#slider {
  margin: 0;
  padding: 0;
  background: #2d2d2d;
  overflow: hidden;
  color: #fff;
	z-index: 1;
}
#slider.fixed-header {
	margin-top: -90px;
}
.slider-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.slide-content {
  background: rgba(0, 22, 76, .5);
  position: relative;
  height: 100%;
  padding-top: 100px;
}
.slide-container {
  padding-top: 90px;
  text-align: center;
  text-shadow: 1px 4px 10px rgb(10 23 52 / 50%);
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;  
	z-index: 1;
}
.slide-container h1 {
  margin: 0;
}
.slide-container .buttons {
  margin-top: 32px;
  text-shadow: 1px 4px 10px rgb(10 23 52 / 0%);
}


#slider .buttons .btn {
	margin-top: 10px;
}
.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}
.slick-slider video {
  width: auto;
  height: 100%;
  position: absolute;
  left: 0;
}
.slick-slide {
    margin: 0 8px;
}
.full-width-slider .slick-slide {
    margin: 0;
}
.full-width-slider, .full-width-slider .slide, .full-width-slider .slider {
  height: 855px;
  height: 100vh;
  position: relative;
}
.full-width-slider .slide {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  display: block;
	background-size: cover;
}
.full-width-slider .slide.animation {
  width: 110%;
  height: 110%;
  margin-left: -5%;
  margin-top: -5%;
  -webkit-animation: animation-background 60s linear infinite;
  animation: animation-background 60s linear infinite;
  background-repeat: no-repeat;
  background-size: cover;
}
.full-width-slider .slideshow-text {
  background: rgba(0, 22, 76, .5);
  position: relative;
  height: 100%;
  padding-top: 100px;
}
/*
.slick-slide img {
    width: 100%;
    max-width: 114px;
}
*/
.slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
.slick-list:focus {
    outline: 0;
}
.slick-list.dragging {
    cursor: pointer;
    cursor: hand;
}
.slick-slider .slick-list, .slick-slider .slick-track {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
.slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block;
}
.slick-track:after, .slick-track:before {
    display: table;
    content: ''}
.slick-track:after {
    clear: both;
}
.slick-loading .slick-track {
    visibility: hidden;
}
.slick-slide {
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
}
[dir=rtl] .slick-slide {
    float: right;
}
.slick-slide.slick-loading img {
    display: none;
}
.slick-slide.dragging img {
    pointer-events: none;
}
.slick-initialized .slick-slide {
    display: block;
}
.slick-loading .slick-slide {
    visibility: hidden;
}
.slick-vertical .slick-slide {
    display: block;
    height: auto;
    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}
.slick-dots {
    list-style: none;
    display: inline-flex;
    margin-top: 2rem;
    margin-top: 0;
    padding-left: 0;
}
/*
.full-width-slider .slick-dots {
    position: absolute;
    z-index: 1;
    margin: 0;
    display: inline-flex!important;
    bottom: 5%;
    margin-left: -48px;
}
*/
.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: 0;
    background: 0 0;
    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
}
.slick-dots li button:before {
    font-family: fontello;
    font-size: 8px;
    line-height: 10px;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    content: '\f111';
    text-align: center;
    opacity: .25;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.slick-dots li.slick-active button:before {
    opacity: .75;
}
.slick-next, .slick-prev {
    font-size: 0;
    line-height: 0;
    text-align: center;
    position: absolute;
    top: 50%;
    display: block;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    -o-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    border: none;
    outline: 0;
    z-index: 1;
  background: transparent;
}
.slick-prev {
    left: -30px;
}
.slick-next {
    right: -30px;
}
.slick-next:hover, .slick-prev:hover {
  color: #ff3a13;  
}
.slick-next:before, .slick-prev:before {
    font-family: 'flaticon_mycollection' !important;
    font-size: 18px;
    line-height: 1;
    opacity: 1;
    display: inline-block;
    transition: all .2s ease-out;
}
.full-width-slider .slick-next:before, .full-width-slider .slick-prev:before {
    font-size: .9rem;
    padding: 0;
}
.slick-prev:before {
  content: "\f115";
  rotate: 90deg;
}
.slick-next:before {
  content: "\f115"; 
  rotate: -90deg;
}

.multiple-items .slick-slide {
  height: 40px;
}
.multiple-items .slick-slide > div {
  display: flex !important;
  justify-content: center;
  align-items: center;  
  height: 100%;
}
.multiple-items .slick-slide img {
  min-width: 100px;
  width: auto;
  max-width: 120px;
  margin: 0 auto;
}
.multiple-items .slick-slide img[alt='TRW'] {
  height: 22px;
}


/* 2. picture box and cards
----------------------------------------------- */

.box-pic, .card-pic, .card-pic .background  {
  position: relative;
  width: auto;
  height: 260px; 
}
.box-icon {
  font-size: 56px;
  line-height: 0;
	margin-bottom: 12px;
}
.box-header {
  min-height: 72px;
}
.section-pic {
  width: auto;
  height: 100%;
  min-height: 260px; 
}



/* 4. focuses
----------------------------------------------- */
#focuses {
  position: relative;
  z-index: 1;
}
#focuses.style1 {
	padding: 0; margin-top: -60px;
}
#focuses.style2 {
	padding-top: 0;
}


#featured {
  padding-bottom: 0;
}
#featured .box-container {
  position: relative;
}
#featured .box-container:after {
  position: absolute;
  width: 1px;
  height: 60%;
  content: '';
  top: 20%;
  right: 0;
  display: block;
}
#featured .single-feature:last-child .box-container:after {
  display: none;
}
#featured .box-excerpt {
  font-size: 0.8rem;
  line-height: 1.8;
  padding: 6px 0;
}
#featured.style2 .icon  {
	width: 100%;
}
#featured.style2 .align-centered .icon  {
	justify-content: center;
}


/* 5. Location map
----------------------------------------------- */
#map {
  min-height: 600px;
  position: relative
}
#map, #map a {
  color: #2d2d2d;
}
#map .filter-background {
  opacity: .3;
  z-index: 1;
  transition: all 0.45s cubic-bezier(0.64, 0.28, 0.28, 1.185);
}
#map .filter-background.hover {
  opacity: 0;
}
#map .map-info {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 2;
  background: #fff;
  padding: 40px;
}
#map iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
}
#map .icon, #map li:hover a, #map li:hover i {
  color: #f64e4e;
}
#map ul {
  margin-top: 20px;
  list-style: none;
}
#map li i {
  padding-right: 15px;
  color: #242f4f;
  position: relative;
  top: 2px;
}


/* 6. parallax
----------------------------------------------- */
.parallax.background {
  background-attachment: fixed;
  background-size: cover;
}


  

/* questo */
.parallax, .block-content {
  position: relative;
}
.parallax {
  width: 100%;
}

.feedback-comments .feed-text {
    line-height: 2rem;
    padding: 1.2rem 2rem;
    margin-bottom: 1rem;
    position: relative;
}
.feedback-comments .feed-text p {
    margin-bottom: 0;
}
.feedback-comments .feed-text:before {
    position: absolute;
    top: 2rem;
    left: -1rem;
    font-size: 1.25rem;
    color: #3153b7;
    font-family: fontello;
    font-size: 2.5rem;
    font-weight: 600;
    width: 30px;
    height: 30px;
    display: block;
}
.feedback-comments .feed-text:before {
    content: '\e82a';
    speak: none;
    top: 20px;
    left: -5px;
}
.feedback-comments .author-quote {
    width: 80px;
    height: 80px;
}
div.wpcf7-response-output {
    border: 0;
    position: fixed;
    right: 0;
    bottom: 20%;
    z-index: 9999;
    background: #fff;
}
div.wpcf7-acceptance-missing, div.wpcf7-mail-sent-ok, div.wpcf7-not-valid-tip, div.wpcf7-validation-errors {
    letter-spacing: .1rem;
    line-height: 2rem;
    font-size: 1rem;
    font-weight: 500;
    width: auto;
    margin: 2em 0;
    padding: .2em 3.5em;
    border-radius: 0;
}
.required {
    color: #f20;
}
aside form .required {
    color: #f5d577;
}
span.wpcf7-not-valid-tip {
    color: #f20;
    display: inline-block;
    width: 100%;
		font-size: 14px;
  line-height: 1.25;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
	  background: #ffb900;
	border: 0;
	color:#000;
	
}
div.wpcf7-response-output {
	bottom: unset;
	top: 5%;
}
@media (min-width:576px) {
    .main-contact-form span.wpcf7-not-valid-tip {
    color: #f20;
    position: absolute;
    display: block;
    top: 6px;
    right: 15px;
    text-align: right;
    width: auto;
    margin: 0;
	}
}
.main-contact-form textarea~span.wpcf7-not-valid-tip {
    top: -10px;
}
textarea~span.wpcf7-not-valid-tip {
    margin-top: 0;
}
.page-template-primary aside form span.wpcf7-not-valid-tip {
    color: #f5d577;
}
input.wpcf7-not-valid, textarea.wpcf7-not-valid {
    border-bottom: 1px solid #f20;
}
.main-contact-form input.wpcf7-not-valid, .main-contact-form textarea.wpcf7-not-valid {
    border-bottom: 2px solid #f20;
}
.page-template-primary aside input.wpcf7-not-valid, .page-template-primary aside textarea.wpcf7-not-valid {
    border-bottom: 2px solid #f5d577;
}
div.wpcf7-acceptance-missing, div.wpcf7-not-valid-tip, div.wpcf7-validation-errors {
    color: #f0f0f0;
    background: #f20;
    border: 0!important;
}
div.wpcf7-mail-sent-ok {
    color: #f0f0f0;
    background: green;
    border: 0!important;
}
div.wpcf7-response-output:after {
    font-family: fontello;
    content: "\e827";
    cursor: pointer;
    font-size: .7rem;
    position: absolute;
    right: 18px;
    width: 30px;
    height: 30px;
    text-align: center;
    top: 50%;
    margin-top: -15px;
}
div.wpcf7-response-output:before {
    font-family: fontello;
    font-size: 1.5rem;
    position: absolute;
    content: "\e80d";
    left: 10px;
    width: 30px;
    height: 30px;
    text-align: center;
    top: 50%;
    margin-top: -15px;
}
div.wpcf7-mail-sent-ok:before {
    content: "\e82b"}


#footer .jumbotron h4 {
    margin: 0;
}
#footer li:hover:before {
    opacity: 1;
}
#footer ul.navbar-social li {
    padding: 0;
}
#footer ul.contact-list {
    padding-left: 0;
}
#footer ul.contact-list li {
    margin-bottom: 12px;
}
#footer ul.contact-list li:before {
    color: #ff3a3a;
    left: -5px;
    font-size: .9rem;
}
#footer ul.contact-list li:before {
    font-family: fontello;
}
#footer ul.contact-list li.email:before {
    content: '\e806'}
#footer ul.contact-list li.call:before {
    content: '\e808'}
#footer ul.contact-list li.location:before {
    content: '\e809';
    left: -2px;
}
#footer ul.contact-list li.website:before {
    content: '\e802'}
#footer ul.contact-list li.copyright:before {
    content: '\e80a'}
#footer .navbar-nav i {
    height: 28px;
    width: 28px;
    font-size: 1.1rem;
    opacity: .4;
}
#footer .navbar-nav i:before {
    margin-bottom: 2px;
}
#footer .navbar-nav i.highlight {
    color: #ff3a3a;
}
#footer .navbar-nav i:hover {
    color: #ff3a3a;
    opacity: 1;
}
#footer .bg-dark-color ul.navbar-nav li {
    width: 50%}
#footer .bg-black-color ul.navbar-nav li {
    padding-left: 15px;
    padding-right: 15px;
}
#footer .bg-black-color ul.navbar-nav li:before {
    left: 0;
}
#footer ul.navbar-social li:before {
    content: ""}

#footer .navbar-nav a:not(:last-child) {
    padding-right: 8px;
}
@media (min-width:1023px) {
  .collapse.navbar-collapse {
    background: transparent;
  }
}

@media (max-width:1023px) {
  
  .navbar-social {
    flex-direction: row;
  }  
/*
}
@media (max-width:991px) {
*/
  .only-mobile {
    display: block;
  }
  .slideshow.slideshow-right {
    display: none;
  }
    .nav-search-check {
    right: 17px;
}
.top-search-box {
    width: 95%;
    right: 2.5%}
.small-icons .focus-container:not(:nth-last-child(-n+2)) {
    margin-bottom: 3.5rem;
}
  
  .navbar-collapse.width {
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 998;
    width: 0;
    padding: 0;
    overflow-y: scroll;
  }
  
  .header-container {
    padding: 0 15px;
  }  

  .navbar-collapse {
    max-width: 500px;
  }  
  .navbar-collapse.width.show {
    width: 100%;
    display: block !important;
  }
  .navbar-collapse.width > ul {
    display: block
  }
  .navbar-nav > .menu-item {
    padding: 0;
	  display: block;
  }  
  .navbar-collapse ul.navbar-nav li.menu-item a.nav-link, .navbar-collapse ul.navbar-nav li.menu-item-has-children ul.sub-menu li.menu-item {
    padding: 16px 24px;
    width: 100%;
  }
  .navbar-collapse ul.navbar-nav>li.menu-item>a:hover,
  .close-menu.trigger-mobile-nav label[for="trigger-nav"] {
    color: #fff;
  }
  .close-menu.trigger-mobile-nav .bar, .close-menu.trigger-mobile-nav .bar:after, .close-menu.trigger-mobile-nav .bar:before {
    background: #fff;
  }
  .navbar-collapse li.menu-item-has-children ul.sub-menu li.menu-item a {
    border: 0 !important;
    padding: 0 12px;
  }
  .navbar-collapse ul.navbar-nav li.menu-item ul.sub-menu {
    width: auto;
    position: relative;
    display: block;
    background: 0 0;
    padding: 0;
    margin: 0;
  }
  .navbar-collapse ul.navbar-nav li.menu-item-has-children ul.sub-menu li.menu-item {
    border: 0;
    margin-top: 0;
  }  
  .navbar-collapse .navbar-nav > li.menu-item-has-children:hover > ul.sub-menu {
    border-bottom: 1px solid #383e53;
    left: 0;
	  top: 0;
    box-shadow: none;
  }
  .navbar-nav li.menu-item-has-children ul.sub-menu li.menu-item:after {
    left: 8px;
    top: 18px;
    color: #ff3a3a;
  }  
  .navbar-nav li.menu-item-has-children.megamenu > ul.sub-menu > li.menu-item > a {
    font-weight: 500;
    color: #f64e4e;
  }    
  
  

.navbar-collapse ul.navbar-nav li.menu-item:after {
    bottom: 0;
}
.navbar-collapse ul.navbar-nav li.menu-item:before {
    display: none;
}
.navbar-collapse ul.navbar-nav>li.menu-item-has-children ul.sub-menu li.menu-item-has-children ul.sub-menu {
    top: 0;
    padding: 0;
    left: -15px;
    max-width: unset;
}
}.navbar-social {
    flex-direction: row;
}
#trigger-nav-icon {
    cursor: pointer;
    padding-right: .5rem;
    z-index: 999;
    display: block;
    text-align: right;
    font-size: 1.5rem;
    padding-top: 6px;
    color: #f0f0f0;
}

.trigger-mobile-nav {
  cursor: pointer;
}
/*
.trigger-mobile-nav:after {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    top: 0;
    left: 0;
    position: absolute;
    z-index: -1;
    -webkit-transition: all .4s ease-out;
    -moz-transition: all .4s ease-out;
    -o-transition: all .4s ease-out;
    transition: all .4s ease-out;
    border-radius: 4px;
    background: 0 0;
}

#main-navbar.show~.trigger-mobile-nav:after {
    opacity: 0;
}
*/
.trigger-mobile-nav .bar, .trigger-mobile-nav .bar:after, .trigger-mobile-nav .bar:before {
  margin: 0 auto;
  width: 20px;
  height: 2px;
  background: #fff;
}
.trigger-mobile-nav label[for="trigger-nav"] {
  margin-right: 12px;
  padding: 0;
}
/*questo*/
.trigger-mobile-nav .bar {
  position: relative;
}
.trigger-mobile-nav .bar:after, .trigger-mobile-nav .bar:before {
  content: '';
  position: absolute;
  left: 0;
}
.trigger-mobile-nav .bar:before {
  bottom: 7px;
}
.trigger-mobile-nav .bar:after {
  top: 7px;
}

.trigger-mobile-nav .animate-bar {
  background: 0 0!important;
}
.trigger-mobile-nav .animate-bar:before {
  bottom: 0;
  transform: rotate(-45deg);
}
.trigger-mobile-nav .animate-bar:after {
  top: 0;
  transform: rotate(45deg);
}

.animate-bar:after {
    width: 20px;
}
.trigger-mobile-nav .bar {
  -webkit-transition: all .4s ease;
  -moz-transition: all .4s ease;
  -o-transition: all .4s ease;
  transition: all .4s ease;
}
.trigger-mobile-nav .animate-bar:after, .trigger-mobile-nav .animate-bar:before {
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}
.bar.animate-bar {
  -webkit-transition: all .1s ease;
  -moz-transition: all .1s ease;
  -o-transition: all .1s ease;
  transition: all .1s ease;
}
@-webkit-keyframes slide-bar-left {
    0% {
    -webkit-transform: translateX(-60px);
    transform: translateX(-60px);
    opacity: 0;
}
100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
}
}@keyframes slide-bar-left {
    0% {
    -webkit-transform: translateX(-60px);
    transform: translateX(-60px);
    opacity: 0;
}
100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
}
}@-webkit-keyframes slide-bar-right {
    0% {
    -webkit-transform: translateX(30px);
    transform: translateX(30px);
    opacity: 0;
}
100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
}
}@keyframes slide-bar-right {
    0% {
    -webkit-transform: translateX(30px);
    transform: translateX(30px);
    opacity: 0;
}
100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
}
}
.come-in {
    transform: translateZ(150px);
    animation: come-in 2s ease forwards;
}
.come-in:nth-child(odd) {
    animation-duration: .6s;
}
.already-visible {
    transform: translateZ(0);
    animation: none;
}
@keyframes come-in {
    to {
    transform: translateZ(0);
}
}





@media (max-width: 1399px) {
  .logo-sprites {
    width: 83px;
    height: 73px;
  }
  .header-container .navbar-nav .menu-item a.nav-link {
    padding: 0 0 0 16px;
  }
  .logo-wrapper, .header-scrolled .site-title {
    display: none;
  }    
  .header-scrolled .logo-wrapper {
    display: block;
  } 
  .site-title {
    padding: 0;
  }  
  #featured .single-feature:nth-child(even) .box-container:after {
    display: none;
  }
}
@media (max-width:768px) {
  h1 {
    font-size: 4rem;
    line-height: 4rem;
  }
  .intro-title  {
    margin: 0 !important;
    order: 1;
  }
  .second-col.intro-text {
    order: 2;
  }
  .full-width-slider .slick-dots, .full-width-slider .slide-container h3 {
    display: none !important;
  }
    .big-icons .focus-container: not(:nth-last-child(-n+1)), .small-icons .focus-container:not(:nth-last-child(-n+1)) {
    margin-bottom: 3.5rem;  
  }
}
@media (max-width:576px) {
  #map .map-info {
    padding: 20px;
    width: calc(100% - 18px);
  }  
  #featured .box-container:after {
    display: none;
  }
}
@media (max-width:493px) {
  .slide-container .buttons .btn:nth-child(2) {
    margin-top: 16px;
  }
}
@media (max-width:440px) {
    .page .col-sm-4 {
    margin-top: 20px;
  }
  h1 {
      font-size: 2.25rem;
  }   
  
  .page-header {
    height: 70px;
  }  
  .trigger-mobile-nav label, #map .map-info i {
    display: none;
  }    
  .header-scrolled .trigger-mobile-nav label {
    display: block;
  }      

}