/*
 * Globals
 */

 body {
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}

html a {
  color: #002855;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  margin-top: 0;
  font-weight: normal;
  color: #333;
}

h1.title,
h2.title {
  font-weight: 700;
}

.italic {
  font-style: italic;
}

.h-auto {
  height: auto!important;
}

.h-readmore .btn {
  padding: 0 5px;
}

.has-feedback label~.form-control-feedback {
  top: 35px;
  right: 15px;
  color: #666;
}

.lightgrey-bg {
  background-color: #f1f1f1;
  -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, .13)!important;
  box-shadow: 0 2px 3px rgba(0, 0, 0, .13)!important;
}

.yellow-bg {
  background-color: #FFC72C;
}

.white-bg {
  background-color: white;
}

.white {
  color: white;
}

.blue {
  color: #002855;
}

.yellow {
  color: #FFC72C;
}

.grey {
  color: #666;
}

.container {
  margin-top: 50px;
}

.btn {
  padding: 10px 20px;
  border-radius: 15px;
  font-family: Futura bold;
}

.btn-lg {
  font-family: Futura bold;
  border-radius: 15px;
}

.btn-blue {
  background-color: #002855;
  border: 1px solid #002855;
}

.btn-blue:hover {
  background-color: #FFC72C;
}

.btn-blue,
.btn-blue:active,
.btn-blue:hover,
.btn-blue:visited,
.btn-blue:link {
  color: #fff;
}

.btn-yellow {
  color: #fff;
  background-color: #FFC72C;
}

.logo {
  text-align: left;
  padding-left: 45px;
}

.logoHeader {
  width: 250px;
}

/*Bootstrap button outline override*/

.btn-outline {
  background-color: transparent;
  color: inherit;
  transition: all .5s;
}

.btn-yellow.btn-outline {
  color: #002855;
  border: 1px solid #FFC72C;
}

.btn-blue.btn-outline {
  color: #fff;
  border: 1px solid #002855;
}

.btn-primary.btn-outline {
  color: #428bca;
  border: 1px solid #428bca;
}

.btn-success.btn-outline {
  color: #5cb85c;
  border: 1px solid #5cb85c;
}

.btn-info.btn-outline {
  color: #5bc0de;
  border: 1px solid #5bc0de;
}

.btn-warning.btn-outline {
  color: #FFC72C;
  border: 1px solid #FFC72C;
}

.btn-danger.btn-outline {
  color: #d9534f;
  border: 1px solid #d9534f;
}

.btn-primary.btn-outline:hover,
.btn-success.btn-outline:hover,
.btn-info.btn-outline:hover,
.btn-warning.btn-outline:hover,
.btn-danger.btn-outline:hover {
  color: #fff;
}

.toUpper {
  text-transform: uppercase;
}

.pos-rel {
  position: relative;
  margin-top: 98px;
}

.m-0 {
  margin: 0;
}

.mt-10 {
  margin-top: 10px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-30 {
  margin-top: 30px;
}

.mt-40 {
  margin-top: 40px;
}

.mt-50 {
  margin-top: 50px;
}

.mt-70 {
  margin-top: 70px;
}

.mb-0 {
  margin-bottom: 0px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mr-10 {
  margin-right: 10px;
}

.mx-0 {
  margin-left: 0;
  margin-right: 0;
}

.my-20 {
  margin-top: 20px;
  margin-bottom: 20px;
}

.p-0 {
  padding: 0;
}

.p-5 {
  padding: 5px;
}

.p-10 {
  padding: 10px;
}

.p-20 {
  padding: 20px;
}

.pt-5 {
  padding-top: 5px;
}

.pt-10 {
  padding-top: 10px;
}

.pt-16 {
  padding-top: 16px;
}

.pt-20 {
  padding-top: 20px;
}

.pt-40 {
  padding-top: 40px;
}

.pt-50 {
  padding-top: 50px;
}

.pt-60 {
  padding-top: 60px;
}

.pt-70 {
  padding-top: 70px;
}

.pl-40 {
  padding-left: 40px;
}

.px-10 {
  padding-left: 10px;
  padding-right: 10px;
}

.py-50 {
  padding-top: 50px;
  padding-bottom: 50px;
}

.py-20 {
  padding-top: 20px;
  padding-bottom: 20px;
}

.px-20 {
  padding-left: 20px;
  padding-right: 20px;
}

.pr-10 {
  padding-right: 10px;
}

.pb-10 {
  padding-bottom: 10px;
}

.pb-20 {
  padding-bottom: 20px;
}

.pb-30 {
  padding-bottom: 30px;
}

.pb-110 {
  padding-bottom: 110px;
}

.pb-130 {
  padding-bottom: 60px;
}

.modal-backdrop {
  background-color: #000;
}

.modal-backdrop.in {
  filter: alpha(opacity=70);
  opacity: 0.7;
}

.modal-dialog {
  margin: 100px auto;
}

.modal-header {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.nodecoration {
  text-decoration: none!important;
}

a.white:focus,
a.white:hover,
a.white:active {
  color: white;
}

#fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
}

.header {
  padding: 8px 0;
  background-color: white;
  box-shadow: inset 0px 0px 0px white, 0px 0px 0px white, 0px 0px 0px white, 0px 4px 10px #002855;
}

#topwave {
  position: absolute;
  top: 83px;
  left: 0;
  width: 100%;
  height: 40px;
  z-index: 90;
}

#menu-main-menu {
  /*margin: 0;*/
  display: flex;
  justify-content: center;
  width: 100%;
}

#menu-main-menu.list-inline>li.current-menu-item {
  background-color: #FFC72C;
  border-radius: 20px;
}

#menu-main-menu li>a {
  background-color: transparent;
  /*color: #FFC72C;*/
  color: #002855;
  padding: 12px 7px;
  margin: 0 10px;
  font-weight: 700;
  text-transform: uppercase;
}

#menu-main-menu li>a:focus,
#menu-main-menu li>a:hover {
  color: #FFC72C;
  background-color: transparent;
  text-decoration: none;
}

.dropdown .dropdown-menu {
  display: none;
}

.submenu-view {
  height: 75px;
  background-color: #002855;
}

#submenu-container {
  position: absolute;
  top: -40px;
  width: 100%;
  height: 100px;
  z-index: -1;
  /*-webkit-transition-property: top;
  -webkit-transition-duration: 0.5s;*/
}

.expanded {
  top: 70px!important;
}

.submenu-view #submenu-content {
  list-style: none;
  text-align: center;
  padding-top: 40px !important;
}

.submenu-view .list-inline>li {
  padding: 0 40px;
  /*width: 33%;*/
  white-space: normal;
  vertical-align: middle
}

.submenu-view .list-inline>li a {
  color: white;
  font-weight: bold;
  height: 50px;
  text-transform: uppercase;
}

.submenu-view .list-inline>li a:focus,
.submenu-view .list-inline>li a:hover {
  color: #FFC72C;
  text-decoration: none;
}

.search-box {
  padding: 10px 30px;
  min-height: 110px;
  position: absolute;
  right: 0;
  top: 5px;
  background-color: #fdc74a;
  z-index: 20;
}

.search-input {
  border: none;
  background: transparent;
  outline: none;
}

.search_res {
  background-color: rgba(31, 91, 138, 0.04);
  border: 1px solid #002855;
  padding: 20px;
  margin-bottom: 30px;
}

.search_res.attachment {
  background-color: rgba(253, 197, 19, 0.04);
  border: 1px solid #FFC72C;
}

.search_res.news {
  background-color: rgba(204, 204, 204, 0.04);
  border: 1px solid #ccc;
}

.search_res .fa {
  padding-top: 3.65px;
}

.search_res:hover {
  -webkit-box-shadow: 0px 0px 20px -1px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 0px 20px -1px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 0px 20px -1px rgba(0, 0, 0, 0.3);
}

::-webkit-input-placeholder {
  /* WebKit, Blink, Edge */
  color: #cdddeb;
}

:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: #cdddeb;
  opacity: 1;
}

::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: #cdddeb;
  opacity: 1;
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #cdddeb;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #cdddeb;
}

::placeholder {
  /* Most modern browsers support this now. */
  color: #cdddeb;
}

.search-title {
  display: block;
  font-style: italic;
  font-size: 100%;
  color: #999;
}

.res_header {
  display: block;
  padding: .5em;
  font-size: 100%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.res_header-prodotto {
  background-color: #002855;
  color: white;
}

.res_header-attachment {
  background-color: #FFC72C;
  color: white;
}

.res_header-news {
  background-color: #ccc;
  color: #666;
}

.main-navigation .navbar-nav>.open>a,
.main-navigation .navbar-nav>.open>a:focus,
.main-navigation .navbar-nav>.open>a:hover {
  color: #00437A;
  background-color: #fafafa;
  border: 1px solid #f1f1f1;
  border-bottom: 1px solid transparent;
  -webkit-box-shadow: -1px -1px 0 rgba(0, 0, 0, .03);
  box-shadow: -1px -1px 0 rgba(0, 0, 0, .03);
}

.animated.main-navigation .open .dropdown-menu,
.open .dropdown-animation {
  -webkit-animation-duration: .2s;
  animation-duration: .2s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-name: fadeInDownSmall;
  animation-name: fadeInDownSmall;
}

.dropdown-menu {
  min-width: 220px;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
  background-color: #fafafa;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
  border: 1px solid #f1f1f1;
  z-index: 101;
}

.dropdown-menu .menu>.active>a,
.dropdown-menu .menu>.active>a:focus,
.dropdown-menu .menu>.active>a:hover,
.dropdown-menu>.active>a,
.dropdown-menu>.active>a:focus,
.dropdown-menu>.active>a:hover,
.dropdown-menu>li>a:focus,
.dropdown-menu>li>a:hover,
.nav .open>a,
.nav .open>a:focus,
.nav .open>a:hover {
 /* background-color: #fff;*/
  color: #FFC72C;
  /*border-color: #f1f1f1*/;
}

.dropdown-menu>li>a {
  padding: 12px 20px;
  font-size: 15px;
  color: #666;
  border-bottom: 1px solid #f1f1f1;
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  -ms-transition: none;
  transition: none;
}

.header-image {
  background-color: #fff;
  background-repeat: no-repeat;
  background-size: 100%;
  height: 225px;
  margin-top: -50px;
  background-position-y: center;
  background-position-x: center;
}

.news_pagination a {
  border-radius: 50%!important;
  background-color: #002855 !important;
  border: none !important; 
  height: 32px;
  width: 32px;
  padding: 8px !important;
}

.news_pagination a:hover, 
.news_pagination a:focus {
  color: #fff!important;
}

.news_pagination a.prev, .news_pagination a.next {
  min-width: 50px !important;
}
.prev.page-numbers{
  visibility: hidden;
  position: relative;
}

.prev.page-numbers:after  {
    color: #fff !important;
    background: #333;
    border-radius: 2px;
    -webkit-transition: all .3s;
    transition: all .3s;
    padding: 8px;
    display: inline-block;
    text-align: center;
    line-height: normal;
    box-shadow: none;
    text-shadow: none;
    font-size: 14px;
    text-transform: uppercase;
    border: 1px solid #333;
    text-decoration: none !important;
    visibility: visible;
    content: "<<";
    background-color: #002855 !important;
    border: none !important; 
    border-radius: 50%!important;
    height: 32px;
    width: 32px;
}

.next.page-numbers{
  visibility: hidden;
  position: relative;
}

.next.page-numbers:after  {
    color: #fff !important;
    background: #333;
    border-radius: 2px;
    -webkit-transition: all .3s;
    transition: all .3s;
    padding: 8px;
    display: inline-block;
    text-align: center;
    line-height: normal;
    box-shadow: none;
    text-shadow: none;
    font-size: 14px;
    text-transform: uppercase;
    border: 1px solid #333;
    text-decoration: none !important;
    visibility: visible;
    content: ">>";
    background-color: #002855 !important;
    border: none !important; 
    border-radius: 50%!important;
    height: 32px;
    width: 32px;
}

.page-numbers.current {
  padding: 8px 12px !important;
  color: #002855 !important;
  background: #FFC72C !important;
  border: none !important;
  border-radius: 50%!important;
  height: 32px;
  width: 32px;
}

.news-more-link {
  visibility: hidden;
}



.menu-item {
  font-size: 18px;
}
.footer-menu .menu-item {
  font-size: 15px;
}

@media (min-width: 1200px) {
  .main-navigation .navbar-nav>li:first-child {
    margin: 0;
  }
  .main-navigation .navbar-nav>li {
    margin: 0 0 0 -23px;
  }
}


/*
 * Masthead for nav
 */

.blog-masthead {
  background-color: #002855;
  -webkit-box-shadow: inset 0 -2px 5px rgba(0, 0, 0, .1);
  box-shadow: inset 0 -2px 5px rgba(0, 0, 0, .1);
}


/* Nav links */

.blog-nav-item {
  position: relative;
  display: inline-block;
  padding: 10px;
  font-weight: 500;
  color: #cdddeb;
}

.blog-nav-item:hover,
.blog-nav-item:focus {
  color: #fff;
  text-decoration: none;
}


/* Active state gets a caret at the bottom */

.blog-nav .active {
  color: #fff;
}

.blog-nav .active:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -5px;
  vertical-align: middle;
  content: " ";
  border-right: 5px solid transparent;
  border-bottom: 5px solid;
  border-left: 5px solid transparent;
}

.blog-nav li {
  position: relative;
  display: inline-block;
  padding: 10px;
  font-weight: 500;
}

.blog-nav li a {
  color: #fff;
}


/*
 * Blog name and description
 */

.blog-header {
  padding-top: 20px;
  padding-bottom: 20px;
}

.blog-title {
  margin-top: 30px;
  margin-bottom: 0;
  font-size: 60px;
  font-weight: normal;
}

.blog-description {
  font-size: 20px;
  color: #999;
}


/*
 * Main column and sidebar layout
 */

.blog-main {
  font-size: 18px;
  line-height: 1.5;
  padding-top: 50px;
  padding-bottom: 130px;
}


/* Sidebar modules for boxing content */

.sidebar-module {
  padding: 15px;
  margin: 0 -15px 15px;
}

.sidebar-module-inset {
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 4px;
}

.sidebar-module-inset p:last-child,
.sidebar-module-inset ul:last-child,
.sidebar-module-inset ol:last-child {
  margin: 0;
}

.wpnawfree-plugin {
  margin-bottom: 0;
}


/* Pagination */

.pager {
  margin-bottom: 60px;
  text-align: left;
}

.pager>li>a {
  width: 140px;
  padding: 10px 20px;
  text-align: center;
  border-radius: 30px;
}


/*
 * Blog posts
 */

.blog-post {
  margin-bottom: 60px;
}

.blog-post-title {
  margin-bottom: 5px;
  font-size: 40px;
}

.blog-post-meta {
  margin-bottom: 20px;
  color: #999;
}

.frontpage-news-date {
  font-size: 1.2em;
  padding: 0.3em .6em;
  font-weight: 700;
  color: white;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 10px;
  background-color: #002855;
}

.news-list-home .single-news {
  padding: 10px;
  margin: 10px 0;
  border-radius: 15px;
  background-color: rgba(255, 255, 255, 0.4);
  -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, .13)!important;
  box-shadow: 0 2px 3px rgba(0, 0, 0, .13)!important;
}

.news-list-home .single-news:hover {
  -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, .40)!important;
  box-shadow: 0 0 30px rgba(0, 0, 0, .40)!important;
}

.news-list-home .single-news h4 {
  height: 50px;
  text-align: center;
}

.news-list .row-news {
  padding: 20px 20px 20px 0;
}

.news-list .row-news:hover {
  background: #eee;
  border-radius: 15px;
  font-weight: bold;
  -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, .40)!important;
  box-shadow: 0 0 30px rgba(0, 0, 0, .40)!important;
}

.news-list .single-news h3 {
  font-size: 1.5em;
}

.news-box {
  background-color: #f1f1f1;
  -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, .13)!important;
  box-shadow: 0 2px 3px rgba(0, 0, 0, .13)!important;
  padding: 25px 0 0;
  margin-left: 0;
  margin-right: 0;
}

.news-box .news-title a {
  font-weight: 700;
  font-size: 1.2em!important;
}

.news-box .news-cat {
  display: none;
}

.news-box .post-content-text {
  width: 90%;
  margin-left: -26px;
  border: 3px solid #002855;
  border-left: none;
  float: left;
  padding: 5px 5px 5px 35px;
  border-radius: 15px;
  height: 102px;
  background-color: white;
}

.news-box .date-post,
.date-post {
  padding: 10px 9px!important;
  background-color: #002855!important;
  border-radius: 50%!important;
  font-style: italic!important;
  position: relative;
}

.news-box .date-post p,
.date-post p {
  display: block!important;
  color: #fff!important;
  font-weight: 600!important;
}

.news-box .date-post span,
.date-post span {
  display: block!important;
  color: #fff!important;
  font-weight: 600!important;
  font-size: 30px!important;
  margin: 0px 0px 2px!important;
  padding-bottom: 2px!important;
  border-bottom: 0!important;
}

.news-box .news-title {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-col-list .news-content {
  margin: 0!important;
  width: 90%!important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-col-list .news-content .post-content-text {
  padding-left: 20px;
}

.news-box .news-more-link,
.news-more-link {
  background: none!important;
  color: #002855!important;
  font-style: italic;
  width: 100%;
  text-align: right;
  position: absolute;
  bottom: 45px;
  right: 35px;
}

.news-box .news-col-1 .news-inner-wrap-view {
  border-bottom: 0;
}

.wpnawfree-plugin {
  margin: 0;
}

.news-box .wpnawfree-plugin {
  height: 160px;
}

.news-box .news.type-news {
  opacity: 0;
  -webkit-transition: opacity .4s ease-in-out;
  -moz-transition: opacity .4s ease-in-out;
  -ms-transition: opacity .4s ease-in-out;
  -o-transition: opacity .4s ease-in-out;
  transition: opacity .4s ease-in-out;
  position: absolute;
  z-index: 9;
}

.news-box .news.type-news.news-visible {
  opacity: 1;
  z-index: 10;
}

.scrollArrow {
  padding: 20px;
}

.ls-v5 .ls-nav-prev,
.ls-v5 .ls-nav-next {
  z-index: 1000!important;
}

@media only screen and (max-width: 1200px) {
  .ls-v5 .ls-nav-prev, .ls-v5 .ls-nav-next {
    display: none!important;
  }
  .home-intro {
    min-height: 150px!important;
  }
  .white-bg-mobile {
    background-color: #fff;
  }
  /*.header-image {
    background-attachment: initial!important;
  }*/
  .post-content-text {
    width: 70%!important;
  }
  .news-list-home .single-news {
    background-color: rgb(241, 241, 241);
  }

  .visible {
    display: inline!important;
  }
 
  #menuToggle {
    position: absolute;
    /*left: 10px;*/
    top: 15px;
    z-index: 99999;
  }
  .logoHeader {
    width: 200px;
  }
  .pos-rel {
    margin-top: 82px;
  }

  .logo {
    text-align: center;
    padding: 0px;
    margin: 0px;
  }

  
}

#mobileMenu {
  display: none;
  height: 100vh;
  padding: 10px 0;
  border-top: 1px solid #6186a2;
}


/*
 * Footer
 */

footer>svg {
  /*display: inline-block;*/
  position: fixed;
  bottom: -5px;
  left: 0;
  z-index: 99998;
}

.footer {
  font-size: 14px;
  color: #fff;
  padding: 30px 0;
  background-color: #002855;
  border-top: 1px solid #3a3a3a;
  border-bottom: 1px solid #333;
}

footer h2.cassa a,
footer h2.meglio a {
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  text-indent: -9999px;
  overflow: hidden;
  width: 200px;
  height: 60px;
}

footer h2.cassa a {
  background-image: url(../images/cassa.png);
  height: 88px;
}

.footer h2 {
  font-size: 24px;
  margin-bottom: 30px;
}

.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6 {
  color: #fff;
}

.nav-pills>li>a {
  border-radius: 0;
  padding: 10px 15px;
  border: 1px solid transparent;
  color: #666;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 700;
}

.footer-content .nav-pills>li>a {
  padding: 4px 0;
  border-color: transparent;
  color: #fff;
  font-weight: 400;
}

.footer-content .nav-pills>li.active>a,
.footer-content .nav-pills>li.active>a:focus,
.footer-content .nav-pills>li.active>a:hover,
.footer-content .nav-pills>li>a:focus,
.footer-content .nav-pills>li>a:hover {
  color: #fff;
  background-color: transparent;
  border-color: transparent;
}

.nav-pills>li.active>a:focus:after,
.nav-pills>li.active>a:hover:after,
.nav-pills>li>a:focus:after,
.nav-pills>li>a:hover:after {
  color: #FFC72C;
  right: 10px;
}

.nav-pills.nav-stacked>li>a:after {
  font-family: FontAwesome;
  content: "\f105";
  font-size: 14px;
  font-weight: 700;
  position: absolute;
  right: 15px;
  top: 0;
  color: #d1d1d1;
  -webkit-transition: all .2s ease-in-out;
  -moz-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  -ms-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}

.logo-footer {
  margin: 25px 0 20px;
}

.list li,
.list-icons li {
  padding: 5px 0;
}

.list,
.list-icons {
  padding: 0;
}

.list-icons li {
  list-style: none;
}

.list-icons li i {
  width: 25px;
  text-align: center;
}

.subfooter {
  padding: 25px 0;
  background-color: #000;
  font-size: 13px;
}

.subfooter p {
  margin: 0;
  color: #fff;
}

.subfooter .navbar {
  margin: 0;
  min-height: 0;
  background: 0 0;
  border-color: transparent;
}

.subfooter .navbar-default .nav>li>a {
  display: block;
  padding: 0 4px;
  text-transform: none;
  line-height: 1;
  font-size: 11px;
  font-weight: 400;
}

.light .subfooter .navbar-default .nav>li:last-child>a,
.subfooter .navbar-default .nav li:last-child a {
  border: 1px solid transparent;
  border-right: medium none;
}

.subfooter .navbar-default .nav>.active>a:focus,
.subfooter .navbar-default .nav>.active>a:hover,
.subfooter .navbar-default .nav>li>a:hover {
  background-color: transparent;
  text-decoration: underline;
  color: #FFC72C;
}

@media (min-width: 768px) {
  .subfooter {
    text-align: center;
  }
  .box-prodotti {
    height: 140px!important;
  }
}

@media (min-width: 1200px) {
  /*.header-image {
    height: 250px!important;
  } */
  .subfooter .navbar-default .nav>li>a {
    border-right: 1px solid #fff;
  }
  .subfooter {
    text-align: left;
  }
  .box-prodotti {
    height: 165px!important;
  }
  .date-post {
    width: 8%!important;
  }
}

.breadcrumb {
  padding: 0;
  margin-bottom: 0;
  list-style: none;
  background-color: rgba(250, 250, 250, .9);
  box-shadow: inset 0px 0px 0px white, 0px 0px 0px white, 0px 0px 0px white, 0px 4px 10px #002855;
  border-bottom: 1px solid #dadada;
  border-radius: 0;
  font-size: 13px;
  color: #888;
  bottom: 0;
  position: absolute;
  width: 100%;
  /*border-top-left-radius: 20%;
  border-top-right-radius: 100%;*/
}

.breadcrumb a {
  color: #002855;
  text-decoration: none;
  font-size: 13px;
}

.home-intro {
  /*padding-top: 50px;*/
}

.intro {
  text-align: center;
}

.arrow {
  color: #002855;
  cursor: pointer;
}

.arrow-white {
  color: #FFF;
  cursor: pointer;
}

@-webkit-keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

@-moz-keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

@-o-keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

.bounce {
  -webkit-animation: bounce 5s infinite;
  /* Safari 4+ */
  -moz-animation: bounce 5s infinite;
  /* Fx 5+ */
  -o-animation: bounce 5s infinite;
  /* Opera 12+ */
  animation: bounce 5s infinite;
  /* IE 10+, Fx 29+ */
}

#smoothup {
  color: #fff;
  position: fixed;
  bottom: 5px;
  right: 5px;
  width: 50px;
  height: 50px;
  text-align: center;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1005;
  display: none;
  -webkit-transition-duration: 0.4s;
  -moz-transition-duration: 0.4s;
  transition-duration: 0.4s;
}

#smoothup i {
  line-height: 50px;
  font-size: 24px;
}

.prodImg {
  padding: 0;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  overflow: hidden;
}

.box-prodotti {
  background-color: #f9f9f9;
  text-align: center;
  margin: 20px 0;
  border-radius: 10px;
  overflow: hidden;
  -webkit-box-shadow: 0 0 10px 0px rgba(0, 0, 0, .40)!important;
  box-shadow: 0 0 10px 0px rgba(0, 0, 0, .40)!important;
}

.box-prodotti:hover {
  background-color: #f1f1f1;
  -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, .40)!important;
  box-shadow: 0 0 30px rgba(0, 0, 0, .40)!important;
}

.box-prodotti-mini {
  margin-bottom: 5px;
}

.box-prodotti h4 {
  height: 40px;
  font-weight: bold;
  padding: 0 10px;
  text-align: left;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
}

.box-prodotti-mini a {
  text-transform: uppercase;
  font-weight: bold;
  text-decoration: none;
  display: block;
}

.box-prodotti .btn {
  border-radius: 0;
  font-weight: bold;
  font-size: large;
  padding: 6px;
}

.box-prodotti-mini .btn {
  white-space: normal;
}

.box-prodotti .btn:hover {
  background-color: #FFC72C;
  border: 1px solid transparent;

}

.box-prodotti p {
  height: 70px;
  padding: 0 10px;
  text-align: left;
  overflow: hidden;
}

.separator {
  display: block;
  width: 60px;
  height: 5px;
  margin: 15px auto;
  background-color: #ccc;
  position: relative;
  border: 1px solid #ccc;
}

.separator:after {
  width: 30px;
  height: 5px;
  background: #333;
  position: absolute;
  top: -1px;
  left: -1px;
  content: "";
}

.disclaimer {
  /*background-color: rgba(253, 197, 19, 0.15);*/
  font-size: 13px;
  font-style: italic;
  line-height: 15px;
  margin-top: 35px;
  padding: 10px;
  border-radius: 10px;
}

.contact-form {
  background-color: #002855;
  color: #fff;
}

#contact-form-container a,
#contact-form-container a:hover,
#contact-form-container a:active,
#contact-form-container a:visited {
  color: #FFC72C;
}

.contact-form .fa-overlay {
  font-size: 21em;
  position: absolute;
  transform: rotate(-30deg);
  color: #FFC72C;
  margin-top: 35px;
  left: 45px;
}

.contact-form-style label {
	display: block;
}

.wpcf7-form-control {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.wpcf7-acceptance {
  width: 25px;
  float: left;
  margin-right: 20px!important;
  margin-top: 0px!important;
  height: 25px;
}

.wpcf7-submit {
  display: inline-block;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  padding: 10px 20px;
  border-radius: 10px;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  color: #fff;
  background-color: #002855;
  width: auto;
  height: auto;
}

div.wpcf7-mail-sent-ng {
  border: none!important;
}

div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
  border: 2px solid #ff0000 !important;
}

.contactBtn {
  text-align: center;
}

.contactBtn .wpcf7-submit {
  font-weight: bold!important;
}

#introBtnLg {
  position: absolute;
  z-index: 99999;
  right: 50px;
  bottom: 80px;
  background-color: #fff5dc;
  padding: 5px;
  border-radius: 100px;
  width: 170px;
  text-align: center;
  -webkit-box-shadow: 0px 0px 20px -1px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 0px 20px -1px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 0px 20px -1px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}
#introBtnLg img{
  float:left;
  width:40px;
  padding:0 5px;
  margin-left:10px;
}
#introBtnLg p{
  float:left;
  width:110px;
  padding: 10px 0;
  font-style: italic;
  color: #b37216;
  margin: 0;
}

#overlay {
  display: none;
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 9;
  background-color: rgba(0, 0, 0, 0.7);
}

.fp-tableCell {
  padding-top: 10px;
}

.myc-content-overlay {
  z-index: 99999!important;
  right:0!important;
}

.wpcf7-form-control.wpcf7-validates-as-required.wpcf7-wpgdprc {
  height: 100%;
}

.wpcf7-acceptance{
  width: 100%;
  height: 100%;
}

.wpcf7-form-control.wpcf7-form-control.wpcf7-checkbox.wpcf7-exclusive-checkbox,
.wpcf7-form-control.wpcf7-radio{
  border: none;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0);
  padding: 0;
}

.wpcf7-form-control.wpcf7-validates-as-required.wpcf7-wpgdprc {
  border: 0 none!important;
  margin-top: 25px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0);
  padding: 0;
}

span.wpcf7-list-item:first-child {
  margin: 0!important;
}

span.wpcf7-not-valid-tip {
	margin-bottom: 20px;
}


@media (max-width: 450px){
  .news_pagination{
    padding: 0px !important;
    min-width: 38px !important;
  }
  .news_pagination a.prev, .news_pagination a.next {
    min-width: 38px !important;
  }

}
@media (min-width: 180px) and (max-width: 350px){
  /*.header-image {
    height: 120px!important;
  }*/
 .prev.page-numbers {
   margin-left: -40px;
 }
 .wpcf7-form-control.wpcf7-form-control.wpcf7-checkbox.wpcf7-exclusive-checkbox{
   margin-bottom:50px;
 }
}
@media (min-width: 351px) and (max-width: 768px){
  /*.header-image {
    height: 200px !important;
  }*/

 .prev.page-numbers {
   margin-left: -24px;
 }
 .wpcf7-form-control.wpcf7-form-control.wpcf7-checkbox.wpcf7-exclusive-checkbox{
   margin-bottom:30px;
 }
}	

/* 
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .home-intro {
    padding: 140px 0 190px;
  }
  .box-prodotti h4 {
    text-align: left;
    padding-left: 10px;
  }
  .box-prodotti p {
    height: 50px;
  }
  .submenu-view {
    height: 190px;
  }
  .submenu-view #submenu-content {
    padding-top: 100px;
  }
  .submenu-view .list-inline>li {
    padding: 0 20px;
    width: 30%;
  }
  #front-page>.fp-tableCell>.ls-wp-container {
    margin-top: 30px!important;
  }
  .frontpage-news-date {
    margin-bottom: 10px;
    height: 40px;
  }
  .frontpage-news-date i {
    float: left;
    font-size: 1.3em;
  }
  .frontpage-news-date>div {
    float: left;
    margin-left: 20px;
  }
  .frontpage-news-date>div+div {
    float: left;
    margin-left: 7px;
  }
}


/* 
  ##Device = Tablets, Ipads (landscape)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .home-intro {
    padding: 20px 0 0;
  }
  .submenu-view #submenu-content {
    padding-top: 80px;
  }
}


/* 
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/

@media (max-width: 450px) {
  .date-post {
    width: 22%!important;
  }
}
@media (min-width: 451px) and (max-width: 540px) {
  .date-post {
    width: 20%!important;
  }
}
@media (min-width: 541px) and (max-width: 680px) {
  .date-post {
    width: 16%!important;
  }
}
@media (min-width: 361px) and (max-width: 420px) {
  .date-post {
    width: 28%!important;
  }
}
@media (max-width: 360px) {
  .date-post {
    width: 40%!important;
    border-radius: 40%!important;
  }
}
@media (min-width: 180px) and (max-width: 1199px) {
  .home-intro {
    padding: 30px 0;
    min-height: 290px;
  }
  .pos-rel {
    margin-top: 82px;
  }
  #front-page>.ls-wp-container {
    padding-top: 85px;
  }
  .text-xs-center {
    text-align: center!important;
  }
  .frontpage-news-date {
    margin-bottom: 10px;
    height: 40px;
  }
  .frontpage-news-date i {
    float: left;
    font-size: 1.3em;
  }
  .frontpage-news-date>div {
    float: left;
    margin-left: 20px;
  }
  .frontpage-news-date>div+div {
    float: left;
    margin-left: 7px;
  }
  .modal-dialog {
    margin: 50px 20px;
  }
  .myc-content-overlay-container .myc-container #myc-conversation-area {
    height: 200px!important;
  }

  #menu-main-menu-1{
    margin: 15px auto 0;
    padding: 15px;
    background-color: #002855;
  }
  #menu-main-menu-1>li {
    /*position: relative;
    display: block;
    padding: 35px 5px;
    margin: 5px;
    float: left;
    border: 1px solid #002855 !important;
    background-color: rgba(31, 91, 137, 0.2);
    width: 43vw;
    height: 90px;
    border-radius: 15px;
    text-align: center;*/
    text-transform: uppercase;
    font-weight: bold;
  }
  #menu-main-menu-1>li>a {
    color:white;
    padding: 15px 0 0 5px;
  }
  #menu-main-menu-1>li>a:focus, 
  #menu-main-menu-1>li>a:hover {
    /*color: #002855;*/
    color: #FFC72C;
    /*background-color: white;*/
  }
  
  .dropdown.open .dropdown-menu {
    display: block;
    /*position: absolute;
    left: -105%;
    top: 95px;
    border: 1px solid #FFC72C;
    background-color: #FCFFE3;
    border-radius: 15px;
    overflow: hidden;
    padding: 15px 0!important;*/
  }

  .navbar-nav .open .dropdown-menu li.menu-item {
    /*padding: 10px;*/
    display: block;
  }

  .navbar-nav .open .dropdown-menu li>a {
      padding: 5px 25px!important;
      border: none;
      background-color: #002855;
      color: white!important;
      white-space: normal;
      font-weight: bold;
  }
  .dropdown-menu>.active>a, 
  .dropdown-menu>.active>a:focus, 
  .dropdown-menu>.active>a:hover {
    background-color: transparent;
  }
}

/** Menu footer*/
.footer-menu a {
  color: white;
}

.footer-menu a:hover,
.footer-menu a:hover {
  color: #FFC72C;
}

.footer-menu { 
  width: 100%;
  background-color: #002855;
  color: white;
}

@media (min-width: 1431px) {
  .footer-menu {
    position: fixed; 
    bottom: 0px;
    z-index: 99999;
    height: 50px;
    box-shadow: 0px -4px 10px white, 0px 0px 0px white, 0px 0px 0px white, 0px 0px 0px #002855
  }

  .footer-menu-list {
    display: flex;
    justify-content: center;
    width: 100%;
    /*padding-top: 10px;*/
  }
}
@media (min-width: 1290px) and (max-width: 1430px) {
  .footer-menu {
    position: fixed; 
    bottom: 0px; 
    z-index: 99999;
    width: 100%;
  }

  .footer-menu-list {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0 140px;
  }
}
@media (min-width: 1200px) and (max-width: 1289px) {
  .footer-menu {
    position: fixed; 
    bottom: 0px; 
    z-index: 99999;
  }

  .footer-menu-list {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  /*.header-image {
    height: 240px!important;
  }*/
  .date-post {
    width: 10%!important;
  }
  .footer-menu-list {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}


/**HEADER E ROTELLINNA PRIVACY*/
@media (max-width: 1199px) {
  #moove_gdpr_save_popup_settings_button {
    left: 20px !important;
  }
}

@media (min-width: 1200px) and (max-width: 1409px) {
  .logoHeader {
    width: 200px;
  }
  .pos-rel {
    margin-top: 82px;
  }
  /*.header-image {
    height: 225px !important;
    margin-top: -60px;
   }*/
  .footer-menu a {
    font-size: 12px;
  }
  .menu-item {
    font-size: 12px;
  }  
  .logo {
    text-align: left;
    padding-left: 20px;
  }
  #moove_gdpr_save_popup_settings_button {
    left: 20px !important;
  }
}

@media (min-width: 1410px) and (max-width: 1539px) {
  .logoHeader {
    width: 200px;
  }
  .pos-rel {
    margin-top: 82px;
  }
 /* .header-image {
    height: 225px !important;
    margin-top: -60px;
   }*/
  .footer-menu a {
    font-size: 14px;
  }

  .menu-item {
    font-size: 14px;
  }  
  .logo {
    text-align: left;
    padding-left: 20px;
  }
  #moove_gdpr_save_popup_settings_button {
    left: 20px !important;
  }
}

@media (min-width: 1540px) and (max-width: 1679px) {
  .logoHeader {
    width: 220px;
  }
  .pos-rel {
    margin-top: 88px;
  }

 /*.header-image {
   height: 215px !important;
   margin-top: -60px;
  }*/
  .footer-menu a {
    font-size: 14px;
  }

  .menu-item {
    font-size: 16px;
  }  
  .logo {
    text-align: left;
    padding-left: 25px;
  }
  #moove_gdpr_save_popup_settings_button {
    left: 25px !important;
  }
}
/** END HEADER E ROTELLINNA PRIVACY*/


@media (min-width: 681px) and (max-width: 991px) {
  .date-post {
    width: 13%!important;
  }
}

/*coockie Policy*/
#moove_gdpr_cookie_info_bar {
  z-index: 99999!important;
}
#moove_gdpr_save_popup_settings_button {
  z-index: 99999!important;
}
.lity.lity-opened.lity-inline.moove_gdpr_cookie_modal_open {
  z-index: 99999!important;
  background: rgba(0,0,0,0.3);
}

#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main 
.moove-gdpr-status-bar.gdpr-checkbox-disabled {
  display: none;
}



.nav>li>a:focus, .nav>li>a:hover{
	background-color: transparent!important;
}


/*IMMAGINI PER NEWS*/
#section-news{
background-color: #9FC1F4;
}

.frontpage-news-date {
  padding: 0.4em .6em;
}

.grid-news-thumb {
  height: auto !important;
  background-color: transparent !important;
  margin: 0 auto !important;
}

.img-news-home-container {
  overflow: hidden;
  position: relative;
  padding-top: 5px;
}

.img-news-home-container-inner {
  display:block;
  min-height:100px;
  line-height:100px;
  overflow:hidden;
  text-align: center;
}

.img-news-home-container-inner img{
  position: relative;
  margin: -50% auto;/* virtualy height needed turn don to zero */
  width: 100%;
  /*max-width: 200px;*/
  height:auto;
  vertical-align:middle;
}

@media (min-width: 1025px){
  .news-inner-wrap-view {
    height: 130px;
    position: relative;
    margin: 0 auto;
  }

  .news-thumb {
    width: 25% !important;
  }

  .news-content {
    height: 130px;
    padding-left: 27%;
    position: absolute;
    top:  0;
    left: 0;
  }

  .date-post {
    position: absolute;
    top: -15px;
    left: -15px;
    z-index: 1;
  }

  .grid-news-thumb img {
    /*object-fit: scale-down !important;*/
    width: 100%;
    max-height: 380px;
  }
  .news-inner-wrap-view .grid-news-thumb img{
    max-height: 100px;

  }

  .news-col-1 .grid-news-thumb {
    height: auto !important;
  }
}
@media (max-width: 1024px){
  .grid-news-thumb img {
    /*object-fit: scale-down !important;*/
    width: 100%;
    max-height: 350px;  
  }

  .news-inner-wrap-view .grid-news-thumb img{
    max-height: 250px;

  }

  .news-col-1 .grid-news-thumb {
    height: auto !important;
  }
}
@media (max-width: 768px){
  /*.header-image {
    height: 200px !important;
    margin-top: -60px;
   }*/

  .grid-news-thumb img {
    /*object-fit: scale-down !important;*/
    width: 100%;
    max-height: 240px;  
  }

  .news-inner-wrap-view .grid-news-thumb img{
    max-height: 200px;
  }

  .news-col-1 .grid-news-thumb {
    height: auto !important;
  }

  .img-news-home-container {
    height: auto;
    margin: 0 auto;
  }

  .img-news-home-container img {
    width: 100%;
  }
}

/*END IMMAGINI PER NEWS*/

