.logoprint {
  display: none;
}
.hidden {
  display: none !important;
}

.bg-slategreen {
  background-color: #1c2a29 !important;
  color: #fff !important;
}

.bg-grey {
  background-color: #eceff1 !important;
}
.bg-gold {
  background-color: #9c8c3e !important;
}
.bg-green {
  background-color: #51825f !important;
}
.green {
  color: #4e7e5b !important;
}

.btn-green:hover {
  background-color: #395c42 !important;
}

.mt0 {
  margin-top: 0px !important;
}
.mt12 {
  margin-top: 12px !important;
}
.mb12 {
  margin-bottom: 12px !important;
}
.mt16 {
  margin-top: 16px !important;
}
.mb16 {
  margin-bottom: 16px !important;
}
.mr16 {
  margin-right: 16px !important;
}
.mb24 {
  margin-bottom: 24px !important;
}
.mt32 {
  margin-top: 32px !important;
}
.pt8 {
  padding-top: 8px !important;
}
.pb12 {
  padding-bottom: 12px !important;
}

.row-eq-height {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 24px;
}

a {
  color: #003882;
}

.container li a:focus {
  outline: 1px solid #ff8c00 !important;
}

.row.clearfix a:focus {
  outline: 1px solid #ff8c00 !important;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1184px !important;
    padding: 0;
  }
}
@media (min-width: 992px) and (max-width: 1999px) {
  .container {
    max-width: 960px;
    padding: 0;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .container {
    max-width: 720px;
    padding: 0;
  }
}

@media (min-width: 767px) {
  .col,
  .col-12,
  .col-3,
  .col-lg-10,
  .col-lg-12,
  .col-lg-2,
  .col-lg-3,
  .col-lg-4,
  .col-lg-5,
  .col-lg-6,
  .col-lg-9,
  .col-md-10,
  .col-md-11,
  .col-md-12,
  .col-md-3,
  .col-md-4,
  .col-md-6,
  .col-md-7,
  .col-md-8,
  .col-md-9,
  .col-sm-1,
  .col-sm-11,
  .col-sm-12,
  .col-sm-6,
  .col-xl-2,
  .col-xl-4,
  .col-xl-6 {
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  .row {
    margin-right: -14px;
    margin-left: -14px;
  }
}

body {
  color: #555;
  background-color: #fff;
  -webkit-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  position: relative;
  height: auto !important;
  font-weight: 400;
}

body.reduced {
  padding-top: 100px !important;
}

/* ---------- HEADER ---------- */
#mainheader {
  height: 224px;
  color: #fff;
  position: relative;
  -webkit-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

#mainheader .logoimg {
  display: inline-block;
}

.logoimg {
  margin-top: 25px;
  height: 82px;
  width:46px
}

.logoimg img,
#footer .logoimg img {
  height: 82px;
  max-height: 82px;
  width:46px
}

.logoimg a:focus {
  outline: 0px transparent !important;
}

.logotxt {
  vertical-align: middle;
  text-align: left;
  margin-left: 20px;
  display: inline-block;
}

.logotxt h1,
.logotxt h2 {
  vertical-align: bottom;
  margin: 0;
  font-size: 1.25em;
  letter-spacing: 0;
  line-height: 1.5;
}

.logotxt h1 a,
.logotxt h1 a:hover,
#footer .logotxt h1 a,
#footer .logotxt h1 a,
.logotxt h1 a:hover {
  color: #e6ac00;
  text-decoration: none;
}

.logotxt h2 a,
.logotxt h2 a:hover {
  color: #eeeeee;
  text-decoration: none;
}

.logotxt h1 a:focus,
.logotxt h1 a:hover:focus,
.logotxt h1 a:focus,
.logotxt h1 a:hover:focus {
  text-decoration: underline;
  outline: 1px solid #ff8c00 !important;
}

#mainheader .social {
  padding-top: 12px;
  margin-bottom: 0;
  display: inline-block;
  height: 48px;
  margin-top: 40px;
}

#mainheader .social .small {
  padding-right: 15px;
  font-size: 14px;
  font-weight: 300;
}

#mainheader .social a {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin: 0;
  font-size: 1.111em;
  line-height: 24px;
  color: #fff !important;
  text-align: center;
}

#mainheader .social a:hover {
  color: #badec3 !important;
  text-decoration: none;
}

#mainheader .social a svg.icon {
  width: 26px;
  display: block;
  height: 26px;
  border-radius: 50%;
  line-height: 260px;
  text-align: center;
  background: #e6ac00;
  border: 0.5em;
  fill: #1c1918;
  box-sizing: content-box;
  padding: 0.25em;
}

#mainheader .social a:hover svg.icon {
  fill: #fff;
}

#mainheader .social li {
  padding: 0;
  vertical-align: middle;
  margin-right: 30px;
}

#mainheader .social li:last-child {
  margin-right: 0;
  margin-bottom: 0.625rem;
}

#mainheader .search {
  margin-top: 40px;
  padding-top: 5px;
}

#mainheader .search span {
  color: #fff;
  font-size: 14px;
}

#mainheader .btn-search {
  height: 44px;
  width: 44px;
  border: 0;
  border-radius: 50%;
  color: #003882;
  padding: 0;
  background: #fff;
  margin-left: 24px;
}

#mainheader .btn-search svg.icon {
  width: 28px;
  height: 28px;
  vertical-align: middle;
  fill: #003882;
}

#mainheader .btn-search:hover {
  background: #badec3;
  color: #fff;
}

#mainheader .p_searchMobile {
  display: none;
}

#mainheader #sub_nav {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 53px;
  background: #f5f3f0;
  color: #fff;
  border-top: 3px solid #e6ac00 !important;
}

#mainheader .menu-btn {
  display: none;
}

#mainheader .menu-btn:focus,
#mainheader .menu-btn:hover:focus {
  outline: 3px solid #796c31 !important;
  outline-offset: 6px;
}

#mainheader.reduced {
  height: 53px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1071;
  margin-top: -53px;
}

#mainheader.reduced #sub_nav {
  z-index: 999;
}

#mainheader.reduced #sub_nav .useful-link-list {
  display: none;
}

#mainheader.reduced .social {
  display: none;
}

@media (min-width: 767px) {
  #mainheader.reduced .council .logoimg {
    margin-top: 10px;
  }

  #mainheader.reduced .council .logoimg img {
    height: 36px;
    z-index: 1000;
    position: relative;
    top: -50px;
    left: -50px;
  }

  #mainheader.reduced .council .logoimg img.crest {
    display: block;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(../img/kkcoco_logo_2.svg) no-repeat;
    width: 20px; /* Width of new image */
    height: 36px; /* Height of new image */
    padding-left: 20px; /* Equal to width of new image */
  }
}

#mainheader.reduced .council .logotxt {
  display: none;
}

#mainheader.reduced .council .logotxt h1 {
  height: 48px;
  max-height: 48px;
  vertical-align: middle;
}

#mainheader.reduced .search {
  margin-top: 10px;
  padding-top: 0;
  z-index: 1000;
  position: relative;
  top: -53px;
}
#mainheader.reduced .btn-search #mainheader.reduced .btn-search {
  height: 36px;
  width: 36px;
  position: relative;
  top: -53px;
}

#mainheader.reduced .btn-search svg.icon {
  width: 24px;
  height: 24px;
  position: relative;
}

#mainheader.reduced .search span {
  color: #1c2a29;
}

.sub_nav,
.useful-link-list {
  padding: 0;
  margin: 0;
}

.sub_nav:after,
.useful-link-list:after {
  content: '';
  display: inline-block;
}
.sub_nav:before,
.useful-link-list:before {
  content: '';
  display: block;
}

.sub_nav li,
.useful-link-list li {
  display: inline-block;
  padding: 0;
  margin: 0;
  font-size: 1em;
  font-weight: 700;
  line-height: 22px;
  position: relative;
}

.sub_nav li.active {
}

.sub_nav li a,
.useful-link-list li a {
  padding: 12px 28px 12px 28px;
  color: #1c2a29;
  display: block;
}

.sub_nav li:first-child a {
  padding-left: 0;
}

.sub_nav li a:focus,
.sub_nav li a:hover,
.useful-link-list li a:focus,
.useful-link-list li a:hover {
  color: #ff9800;
  text-decoration: underline;
}

.sub_nav li.active a,
.useful-link-list li.active a {
  border-bottom: 4px solid #fff !important;
}

.useful-link-list li:first-child a {
}

.useful-link-list li {
  font-weight: 300;
  font-size: 0.889em;
}
.useful-link-list li a {
  padding: 12px 25px;
}

.useful-link-list li:last-child a {
  padding-right: 0;
}

/* ---------- MEGAMENU ---------- */

nav.has-megamenu {
  background: #f5f3f0;
  padding: 0;
}

.sub_nav li.megamenu a {
  padding: 12px 22px 12px 22px;
}

.sub_nav li.megamenu:first-child a {
  padding-left: 0;
}

#sub_nav .sub_nav .megamenu a[data-toggle='dropdown'] svg.icon {
  float: right;
  fill: #fff;
  width: 22px;
  height: 22px;
}

#sub_nav
  .sub_nav
  .megamenu
  a[data-toggle='dropdown'][aria-expanded='true']
  svg.icon {
  -webkit-transform: scaleY(-1);
  transform: scaleY(-1);
}

#sub_nav .sub_nav .dropdown-menu {
  margin: 0;
  padding: 10px 30px 20px 30px;
  width: 1184px;
  transform: translate3d(-100px, 4px, 0) !important;
  -webkit-box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.1);
}

#sub_nav .sub_nav .dropdown-menu:before {
  display: none;
}

#mainheader.reduced #sub_nav .sub_nav .dropdown-menu {
  max-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

#mainheader.reduced #sub_nav .sub_nav .dropdown-menu .row {
  margin-bottom: 75px;
  z-index: 1000;
}

// #sub_nav .sub_nav .nav-item.megamenu:hover > a.dropdown-toggle:before {
//   z-index: 1001;
//   opacity: 0;
//   bottom: -16px;
//   margin-left: auto;
//   margin-right: auto;
//   left: 0;
//   right: 0;
//   content: '';
//   position: absolute;
//   top: auto;
//   width: 18px;
//   height: 18px;
//   border-radius: 4px;
//   background-color: #fff;
//   -webkit-transform: rotate(45deg);
//   transform: rotate(45deg);
//   display: block;
//   -webkit-transition: opacity 0.8s cubic-bezier(0.1, 0.57, 0.36, 0.99);
//   transition: opacity 0.8s cubic-bezier(0.1, 0.57, 0.36, 0.99);
// }

#sub_nav .sub_nav .nav-item.megamenu:first-child > a.dropdown-toggle:after {
  left: -29px;
}
#sub_nav .sub_nav .nav-item.megamenu:hover > a.nav-link.dropdown-toggle::after {
  z-index: 1000;
  bottom: -16px;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  content: '';
  position: absolute;
  top: auto;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background-color: #fff;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  display: block;
}

#sub_nav .sub_nav .nav-item.megamenu.show > a.dropdown-toggle:after {
  opacity: 1;
}

.megamenu ul {
  clear: both;
  float: none;
  margin: 0 0 20px 0;
  position: relative;
  z-index: 0;
}

.megamenu .link-list-wrapper ul li a {
  display: inline-block;
  padding: 0 6px;
  font-size: 0.778em;
  font-weight: 400;
  text-decoration: none;
  font-weight: 400;
}

.megamenu .link-list-wrapper ul li {
  text-transform: none;
  padding: 1px 0;
  float: none;
  display: block;
  clear: both;
}

.megamenu .link-list-wrapper ul li:first-child {
  padding-top: 10px;
  border-bottom: 1px solid #e6ecf2;
  padding-bottom: 6px;
  margin-bottom: 6px;
}

.megamenu .link-list-wrapper ul li:last-child {
  border-bottom: 0px solid #fff;
}

.megamenu .link-list-wrapper ul li a span {
  margin-right: 3px;
}

.megamenu .dropdown-menu .link-list-wrapper .link-list li .divider {
  width: 100px;
  margin-left: 0;
}

.megamenu .dropdown-menu .link-list-wrapper ul li h3 a {
  font-size: 1em;
  font-weight: 600;
  padding: 0;
  text-transform: none;
}

.megamenu .dropdown-menu .link-list-wrapper ul li h3 a:hover {
  text-decoration: underline;
}
.megamenu .dropdown-menu .link-list-wrapper ul li h3 {
  padding: 0;
}

/* ---------- JPUSH MENU ---------- */
.cbp-spmenu {
  position: fixed;
  background: #ffffff;
}

.cbp-spmenu-vertical {
  width: 300px;
  height: 100%;
  top: 0;
  z-index: 99999;
  overflow-y: scroll;
  position: fixed;
}

.cbp-spmenu-left {
  left: -300px;
}

.cbp-spmenu-right {
  right: -300px;
}

.cbp-spmenu-left.menu-open {
  left: 0px;
}

.cbp-spmenu-right.menu-open {
  right: 0px;
}

.push-body {
  overflow-x: hidden;
  position: relative;
  left: 0;
  padding: 0 !important;
}

.push-body.navbar-toggle {
  overflow-y: hidden;
  overflow: hidden !important;
}

.push_container {
  position: relative;
  left: 0;
}

.push-body-toright .push_container {
  left: 300px;
}

.cbp-spmenu,
.push-body,
.push_container {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.push-body-toright #mainheader .entesup,
.push-body-toright #mainheader .areariservata,
.push-body-toright #mainheader .council,
.push-body-toright #mainheader .pull-right,
.push-body-toright .sub_nav,
.push-body-toright .scrollto_top,
.push-body-toright footer,
.push-body-toright #main_container {
  -moz-opacity: 0;
  -khtml-opacity: 0;
  opacity: 0;
}

.push-body-toright .body_wrapper {
  background: #1c2a29 !important;
  overflow: hidden;
}

.push-body-toright .body_wrapper .preheader {
  background: #003882 !important;
}

.push-body-toright .body_wrapper #mainheader {
  -webkit-box-shadow: none;
  box-shadow: none;
}

.navbar-toggle.menu-active .icon-bar {
  -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=$ms)';
  filter: alpha(opacity=0);
  -moz-opacity: 0;
  -khtml-opacity: 0;
  opacity: 0;
  position: absolute;
  height: 4px;
  background: #fff;
  -webkit-transition: all 0.3s cubic-bezier(0.35, 0.085, 0.305, 1.005);
  -moz-transition: all 0.3s cubic-bezier(0.35, 0.085, 0.305, 1.005);
  -o-transition: all 0.3s cubic-bezier(0.35, 0.085, 0.305, 1.005);
  transition: all 0.3s cubic-bezier(0.35, 0.085, 0.305, 1.005);
}

.navbar-toggle.menu-active .icon-bar1 {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=$ms)';
  filter: alpha(opacity=100);
  -moz-opacity: 1;
  -khtml-opacity: 1;
  opacity: 1;
  background: #fff;
  top: 8px;
}

.navbar-toggle.menu-active .icon-bar3 {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=$ms)';
  filter: alpha(opacity=100);
  -moz-opacity: 1;
  -khtml-opacity: 1;
  opacity: 1;
  background: #fff;
  top: -8px;
}

.cbp-spmenu .logo-burger {
  margin: 60px 0 25px 25px;
}

.cbp-spmenu .logoimg-burger {
  display: inline-block;
}

.cbp-spmenu .logoimg-burger img {
  height: 82px;
  max-height: 82px;
}

.cbp-spmenu .logotxt-burger {
  vertical-align: middle;
  height: 100px;
  text-align: left;
  margin: 0 0 0 5px;
  display: inline-block;
  width: 200px !important;
}

.cbp-spmenu .logotxt-burger a {
  font-size: 1.375em;
  vertical-align: bottom;
  display: table-cell;
  height: 48px;
  font-weight: bold;
  color: #003882;
}

.cbp-spmenu .logotxt-burger a:hover {
  text-decoration: none;
}

/* ---------- MENU NAVBAR ---------- */

.navmenu a,
.navmenu li > a:hover > span {
  color: #225599;
}

.navmenu li a.current {
  font-weight: 700;
}

.navmenu li a.current span {
  color: #fff !important;
}

.navmenu,
.navmenu li,
.navmenu ul {
  padding: 0;
  list-style: none;
}

.navmenu ul,
.navmenu li.active ul li ul {
  display: none;
  padding: 0;
}

.navmenu a,
.navmenu li.active ul,
.navmenu li.active ul li.active ul {
  display: block;
}

ul.navmenu {
  /*    padding: 25px; */
  padding: 0px 0px 25px 0;
}

.navmenu {
  margin: 0;
}

.navmenu > li {
  /*    border-bottom:1px solid #979797; */
  border: 0;

  width: 100%;
}

.navmenu > li li {
  border: 0;
}

.navmenu a {
  outline: 0;
  text-decoration: none;
}

.navmenu [tabindex='0']:focus,
.navmenu li a:focus {
  outline: 3px solid #796c31 !important;
}

.navmenu li > a > span {
  float: right;
  font-size: 0.6em;
  text-align: center;
  display: inline-block;
  margin: 0;
}

.navmenu li > a > span:after {
  line-height: 1;
  content: '\e818';
  color: #003882;
}

.navmenu li a.current span:after {
  color: #003882;
}

.navmenu li.open > a > span:after {
  line-height: 1;
  content: '\e810';
}

.navmenu > li.open ul {
  background: transparent;
}

.navmenu > li.open ul li a {
  color: #003882;
}

.navmenu li li a {
  font-size: 1em;
}

.navmenu > li.open ul li a:hover,
.navmenu > li.open ul > li.open > a {
  background: transparent;
  color: #badec3;
}

.navmenu li a {
  font-size: 1.333em;
  font-weight: 700;
  color: #003882;
  line-height: 26px;
  padding: 13px 0;

  border-left: 4px solid transparent;
  padding-left: 25px;
}

/*
.navmenu li:first-child {
  display: none;
}
*/
.navmenu li ul li:first-child {
  display: block;
}

.navmenu > li > a:hover,
.navmenu > li > a:focus,
.navmenu li > a:hover > span:after {
  background-color: rgba(116, 166, 129, 0.1);
  border-left: 4px solid #4e7e5b;
}

.navmenu > li.open > a {
  background-color: rgba(116, 166, 129, 0.1);
  border-left: 4px solid #4e7e5b;
}

.utilitymobile {
  margin: 10px 25px;
  padding: 0;
}

.utilitymobile li {
  padding: 7px 0;
}

.utilitymobile li a {
  color: #003882;
}

.utilitymobile li a:hover {
  color: #badec3;
  text-decoration: none;
}

/*
.utilitymobile li:last-child a {
  font-weight: bold;
}
*/
.socialmobile {
  margin: 40px 25px 25px 25px;
}

.socialmobile .small {
  padding-right: 8px;
  font-size: 14px;
  color: #003882;
}

.socialmobile a {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin: 0;
  font-size: 1.111em;
  line-height: 24px;
  color: #003882 !important;
  text-align: center;
}

.socialmobile a:hover {
  color: #badec3 !important;
  text-decoration: none;
}

.socialmobile a svg.icon {
  fill: #003882;
  width: 22px;
  height: 22px;
}

.socialmobile a:hover svg.icon {
  fill: #badec3;
}

.socialmobile li {
  padding: 0;
  vertical-align: middle;
  margin-right: 4px;
  display: inline-block;
}

.socialmobile li:first-child {
  padding-left: 0;
}

/* ---------- FOOTER ---------- */

#footer {
  background: #003274;
  color: #fff;
  padding-top: 32px;
}

#footer a {
  color: #fff;
}

#footer a:hover {
  color: #badec3;
}

#footer section {
  margin-bottom: 28px;
}

#footer section .heading {
  margin-bottom: 28px;
}

#footer .logoimg {
  display: inline-block;
}

#footer .logotxt {
  vertical-align: middle;
  height: 48px;
  text-align: left;
  margin-left: 15px;
  display: inline-block;
}

#footer .logotxt h3 {
  display: table-cell;
  vertical-align: bottom;
  margin: 0;
  font-weight: 700;
  color: #fff;
  font-size: 1.778em;
  height: 48px;
}

#footer .logotxt h3 a {
  color: #fff;
}

#footer .logotxt h3 a:hover {
  color: #fff;
  text-decoration: none;
}

#footer h4 {
  color: #fff;
  font-size: 0.778em;
  font-weight: 700;
  margin: 0;
  padding: 0 0 16px 0;
  border-bottom: 1px solid #796c31;
  line-height: 1em;
  text-transform: uppercase;
  vertical-align: middle;
}

#footer h4 a {
  vertical-align: middle;
}

#footer h4 svg.icon {
  width: 22px;
  height: 22px;
  opacity: 0.5;
  margin-right: 8px;
  fill: #fff;
}

#footer p {
  margin: 16px 0;
  color: #fff;
  font-size: 0.889em;
}

#footer p a {
  color: #fff;
}

#footer p a:hover {
  color: #badec3;
}

#footer .footer-list {
  list-style-type: none;
  margin: 15px 0;
  padding: 0;
  font-size: 0.889em;
}

#footer .footer-list li {
  margin: 0;
}

#footer .footer-list li a {
  padding: 4px 0;
  display: block;
  color: #fff;
}

#footer .footer-list li a:hover {
  color: #badec3;
}

#footer .utility-list .footer-list {
  font-size: 0.889em;
}

#footer form {
  margin: 16px 0;
  font-size: 0.889em;
}

#footer form label {
  color: #ffffff;
}

#footer form input {
  border-radius: 4px;
  margin-bottom: 16px;
}

#footer form input::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #555555;
  opacity: 1; /* Firefox */
  font-weight: normal;
}

#footer form input:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #555555;
  font-weight: normal;
}

#footer form input::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #555555;
  font-weight: normal;
}

#footer form .btn-signup,
.btn-signup {
  color: #fff !important;
  padding: 12px 60px;
  background: #4e7e5b;
  font-family: 'Titillium Web', Geneva, Tahoma, sans-serif;
}

#footer form .btn-signup:hover,
.btn-signup:hover {
  background: #395c42;
  color: #fff;
}

#footer .social {
  margin: 16px 0;
}

#footer .social li {
  margin-right: 8px;
}

#footer .social a {
  color: #fff;
}

#footer .social a:hover {
  color: #badec3;
}

#footer .social a svg.icon {
  fill: #fff;
  width: 24px;
  height: 24px;
}

#footer .social a:hover svg.icon {
  fill: #badec3;
}

#footer .postFooter {
  font-size: 0.8889em;
  border-top: 1px solid #9c8c3e;
  padding: 20px 0;
}

#footer .postFooter {
  color: #fff;
}

#footer .postFooter a {
  color: #fff;
  margin: 0 5px;
}

#footer .postFooter a:hover {
  color: #badec3;
}

#footer .postFooter a:first-of-type {
  margin-left: 0;
}

#footer a:focus {
  outline: 1px solid #ff8c00 !important;
}

#footer section:last-of-type {
  margin-bottom: 0;
}

#topcontrol {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  visibility: hidden;
  opacity: 1;
  text-align: center;
  padding: 0;
  -webkit-transition: visibility 0s 1s, opacity 1s linear;
  -o-transition: visibility 0s 1s, opacity 1s linear;
  transition: visibility 0s 1s, opacity 1s linear;
}

#topcontrol.view {
  visibility: visible;
  opacity: 1;
  -webkit-transition: opacity 1s linear;
  -o-transition: opacity 1s linear;
  transition: opacity 1s linear;
}

#topcontrol svg.icon {
  width: 40px;
  height: 40px;
  fill: #fff;
}

/* COMMON PARTS HOME AND INTERNAL PAGES */

section .section-title h3 {
  color: #796c31;
  font-size: 1.778em;
  margin: 0 0 12px 0;
}

section .section-title h3 a {
  color: #796c31;
}

section .section-title.section-filters {
  border-bottom: 2px solid #f1f2f4;
  padding-bottom: 16px;
}

section.bg-grey .section-title.section-filters {
  border-bottom: 2px solid #dfe3e7;
}

section h3.section-title {
  color: #003882;
  font-size: 1.556em;
  font-weight: 600;
  margin: 0 0 36px 0;
  border-bottom: 2px solid #f1f2f4;
  padding-bottom: 16px;
}

section .section-title {
  margin: 0 0 12px 0;
  //   border-bottom: 2px solid #f1f2f4;
  padding-bottom: 4px;
}

section .section-title h3 {
  color: #003882;
  font-size: 1.556em;
  font-weight: 600;
}

.btn-trasparent {
  background: transparent;
  border: 1px solid #003882;
  border-radius: 4px;
  box-shadow: inset 0 -1px 0 0 rgba(255, 255, 255, 0.33);
  -webkit-box-shadow: inset 0 -1px 0 0 rgba(255, 255, 255, 0.33);
  color: #003882 !important;
  font-weight: 600;
  font-size: 0.889em;
  padding: 4px 12px;
  vertical-align: middle;
  margin: 0 8px;
}

.btn-trasparent:last-child {
  margin-right: 0;
}

.btn-trasparent svg.icon {
  vertical-align: middle;
  fill: #003882;
  width: 20px;
  height: 20px;
}

.btn-trasparent:hover svg.icon {
  fill: #fff;
}

.btn-trasparent.active {
  background: #4e7e5b;
  color: #fff !important;
  border: 1px solid #395c42;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.btn-trasparent.active svg.icon {
  fill: #fff !important;
}

.btn-trasparent:hover {
  background: #395c42;
  color: #fff !important;
}

.btn-green,
#intro .btn-green {
  font-size: 0.778em;
  color: #fff !important;
  padding: 8px 24px;
  background: #4e7e5b;
  margin: 0 16px 24px 0;
}

.themes {
  margin-bottom: 20px;
}

.themes a.badge-themes {
  color: #003882;
  border: 1px solid #003882;
  margin-right: 8px;
  margin-bottom: 12px;
  font-size: 0.889em;
  font-weight: 600;
}

.themes a.badge-themes:hover {
  background-color: #003882;
  color: #fff;
  text-decoration: none;
}

.other-themes {
  margin-top: 48px;
}

.other-themes .other-themes-title {
  float: left;
}

.other-themes .other-themes-title h4 {
  display: inline-block;
  color: #555;
  letter-spacing: 1px;
  font-size: 0.778em;
  text-transform: uppercase;
  font-weight: 700;
}

.other-themes .other-themes-list {
  margin-left: 144px;
}

.other-themes .other-themes-list a.badge-themes {
  font-weight: 700;
}

.other-themes .other-themes-all {
  text-align: center;
}

/* ---------- SLIDE ---------- */

#main_container .owl-theme .owl-dots .owl-dot span {
  width: 8px;
  height: 8px;
  margin: 5px 5px;
}

/* ---------- PAGINAZIONE ---------- */

section .pagination .page-item .page-link {
  font-size: 0.778em;
  color: #003882;
}

section .pagination .page-item .page-link svg.icon {
  fill: #003882;
  width: 26px;
  height: 26px;
}

section .pagination .page-item .page-link[aria-current] {
  border: 1.5px solid #51825f;
  color: #555;
}

section .pagination .page-item .page-link:hover {
  background: #51825f !important;
  text-decoration: underline !important;
  color: #fff;
}

section .pagination .page-item .page-link:hover svg.icon {
  fill: #fff;
}

.page-link:focus {
  -webkit-box-shadow: 0 0 0 0.1rem rgba(255, 140, 0, 0.25) !important;
  box-shadow: 0 0 0 0.1rem rgba(255, 140, 0, 0.25) !important;
}

/* ---------- COOKIEBAR ---------- */

.cookiebar {
  min-height: 120px;
  vertical-align: baseline;
  text-align: center;
  padding-top: 36px;
  font-size: 0.889em;
  width: 100%;
  max-width: none !important;
}

.cookiebar p {
  margin: 0 auto;
}

.cookiebar .btn-green {
  font-size: 0.875em;
  margin: 8px 0 8px 16px;
  vertical-align: baseline;
}

/* ---------- FOCUS ---------- */

.btn.focus,
.btn:focus {
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.1rem rgba(255, 140, 0, 0.85);
  box-shadow: 0 0 0 0.1rem rgb(255, 140, 0);
}
input[type='checkbox']:focus,
input[type='radio']:focus {
  border: 2px solid #ff8c00 !important;
}
h2:focus,
h2 a:focus,
h3:focus,
h3 a:focus,
h4:focus,
h4 a:focus {
  outline: 1px solid #ff8c00 !important;
}
.themes a.badge-themes:focus {
  border: 2px solid #ff8c00 !important;
  outline: 0;
}
a.all:focus {
  outline: 2px solid #ff8c00 !important;
}
#topcontrol:focus {
  outline: 2px solid #ff8c00 !important;
}
button.owl-dot:focus {
  outline: 0;
  border: 2px solid #ff8c00 !important;
  border-radius: 50%;
}
input[type='text']:focus,
select:focus,
input[type='checkbox']:focus + label::after {
  border: 2px solid #ff8c00 !important;
}
button.btn.btn-default.btn-trasparent.active:focus {
  border: 2px solid #ff8c00 !important;
  outline: 0;
}

/* ---------- ANGULAR ---------- */

@media (min-width: 992px) and (max-width: 1200px) {
  .sub_nav li a {
    padding: 13px 12px;
  }

  .sub_nav li.megamenu a {
    padding: 13px 6px;
  }

  #sub_nav .sub_nav .dropdown-menu {
    width: 960px;
  }

  .useful-link-list li a {
    padding: 13px 8px;
  }

  #mainheader .social li {
    margin-right: 15px;
  }
}

@media (min-width: 992px) {
  .socialmobile {
    display: none !important;
  }

  .modal-backdrop.show {
    opacity: 0 !important;
  }

  .cbp-spmenu {
    display: none;
  }
}

@media (max-width: 991px) {
  .sub_nav {
    display: block;
    padding: 0;
    margin: 0;
  }

  .sub_nav li {
    font-size: 1em;
    line-height: 20px;
  }

  .sub_nav li a {
    padding: 13px 12px;
  }

  .sub_nav li.megamenu a {
    padding: 13px 6px;
  }

  .useful-link-list li {
    display: none;
  }

  .useful-link-list li:last-child {
    display: inline-block;
  }

  .cbp-spmenu-vertical {
    width: 300px;
  }

  .cbp-spmenu-left {
    left: -300px;
  }

  .cbp-spmenu-right {
    right: -300px;
  }

  #mainheader.reduced .search {
    top: -45px;
  }

  .btn-amber {
    width: 98%;
  }
}

@media (min-width: 767px) and (max-width: 991px) {
  .nav-item.megamenu {
    position: static;
  }

  .nav-item.megamenu > a.dropdown-toggle {
    position: relative;
  }

  #sub_nav .sub_nav .dropdown-menu {
    width: 720px;
    transform: translate3d(14px, 32px, 0px) !important;
    padding: 24px;
  }

  #footer h4 svg.icon {
    margin-right: 2px;
  }

  .modal-backdrop.show {
    opacity: 0 !important;
  }

  .cbp-spmenu {
    display: none;
  }
}

@media (max-width: 767px) {
  #mainheader.reduced {
    margin: 0;
  }

  body.reduced {
    padding-top: 0 !important;
  }

  .container {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .hidden-xs {
    display: none !important;
  }

  html {
    overflow-x: hidden;
  }

  body {
    font-size: 16px;
    line-height: 1.2;
  }

  #mainheader,
  #mainheader.reduced {
    height: 200px;
  }

  #mainheader .search {
    display: inline;
  }

  #mainheader .search .form-control {
    display: none;
  }

  #mainheader .p_searchMobile,
  #mainheader.reduced .p_searchMobile {
    display: inline-block;
    height: 96px;
    padding-top: 35px;
    text-align: center;
    padding-right: 8px;
  }

  #mainheader .p_searchMobile .btn-search {
    height: 24px;
    width: 24px;
    border: 0;
    color: #fff;
    padding: 0;
    background: transparent;
  }

  #mainheader .p_searchMobile .btn-search svg.icon {
    width: 28px;
    height: 28px;
    vertical-align: middle;
    fill: #fff;
  }

  #mainheader .p_searchMobile .btn-search:hover svg.icon {
    fill: #badec3;
  }

  #mainheader .social {
    display: none;
  }

  #mainheader .menu-btn {
    display: block !important;
    float: left;
    width: 24px;
    height: 24px;
    padding: 0;
    margin: 35px 4px 16px 24px;
    border: 0 none;
    background: transparent;
  }

  #mainheader.reduced .menu-btn {
    visibility: visible;
  }

  #mainheader .menu-btn .icon-bar {
    position: relative;
    z-index: 171;
    width: 24px;
    height: 4px;
    background-color: #fff;
    display: block;
    border-radius: 0;
  }

  #mainheader .menu-btn .icon-bar + .icon-bar {
    margin-top: 4px;
  }

  #mainheader .menu-btn .icon-bar1,
  #mainheader .menu-btn .icon-bar3 {
    width: 16px;
  }

  #mainheader .navbar-toggle.menu-active .icon-bar1,
  #mainheader .navbar-toggle.menu-active .icon-bar3 {
    width: 24px;
  }

  #mainheader .navbar-toggle.menu-active {
    position: fixed;
    top: 40px;
    left: 300px;
  }

  .cbp-spmenu-vertical {
    width: 300px;
  }

  .cbp-spmenu-left {
    left: -300px;
  }

  .cbp-spmenu-right {
    right: -300px;
  }

  .modal-header-fullsrc {
    padding-top: 14px;
    padding-bottom: 14px;
    -webkit-box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.06);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.06);
    margin: 0 0 24px 0;
  }

  .modal-header-fullsrc h1 {
    font-size: 1.125em;
    text-align: center;
    display: inline-block;
  }

  .modal-header-fullsrc .confirm {
    top: 0px;
    right: 6px;
    left: auto;
    min-width: 0;
  }

  .modal-header-fullsrc .close,
  .modal-header-fullsrc .back {
    margin-top: 0;
    position: absolute;
    left: 0;
    z-index: 100;
  }

  .modal-header-fullsrc .close svg.icon,
  .modal-header-fullsrc .back svg.icon {
    width: 28px;
    height: 28px;
  }

  #searchModal #search-txt {
    height: 40px;
    font-size: 1em;
  }

  #searchModal .form-group .ico-sufix {
    width: 40px;
  }

  .searchWidgetModal .form-group {
    margin-top: 8px;
  }

  #searchModal .modal-body-search .form-group {
    height: 40px;
  }

  #searchModal #search-txt {
    padding-left: 40px;
  }

  #footer .logotxt {
    width: 150px;
  }

  #footer .logotxt h3 {
    font-size: 1.375em;
    vertical-align: bottom;
  }

  #footer section {
    margin-bottom: 0;
  }

  #footer section .heading {
    margin-bottom: 8px;
  }

  #footer h4 {
    font-size: 0.875em;
    border: 0;
    padding: 24px 0 0 0;
  }

  #footer h4 svg.icon {
    margin-right: 8px;
  }

  #footer .utility-list h4 {
    border-top: 1px solid #796c31;
  }

  #footer .utility-list div[class^='col']:first-of-type h4 {
    border: 0;
  }

  #footer .section-list .footer-list {
    border-bottom: 1px solid #796c31;
    padding: 0 0 24px 34px;
    margin: 0;
    font-size: 1em;
  }

  #footer .utility-list .footer-list {
    font-size: 1em;
  }

  #footer p {
    font-size: 1em;
    margin-bottom: 24px;
  }

  #footer form {
    margin: 16px 0 24px 0;
    font-size: 1em;
  }

  #footer .postFooter {
    font-size: 1em;
  }

  #footer .postFooter a {
    line-height: 1.5;
  }

  .other-themes {
    margin-top: 24px;
  }

  .other-themes .other-themes-title {
    float: none;
    margin-bottom: 8px;
  }

  .other-themes .other-themes-title h4 {
    font-size: 0.875em;
  }

  .other-themes .other-themes-list {
    margin-left: 0;
  }

  .other-themes .other-themes-list a.badge-themes {
    font-size: 1em;
  }

  section .section-title h3 {
    margin: 0 0 8px 0;
  }

  section .pagination {
    margin-top: 16px;
  }

  section .pagination .page-item .page-link {
    font-size: 0.875em;
    height: 32px;
    min-width: 32px;
    padding: 0;
  }

  section .pagination .page-item .page-link i[class^='it-'] {
    font-size: 0.875em;
  }

  .cookiebar p {
    font-size: 1em;
  }

  .logotxt h1,
  .logotxt h2,
  .logotxt-burger h1,
  .logotxt-burger h2 {
    font-size: 0.9em;
    vertical-align: bottom;
    margin: 10px 0 15px 10px;
    color: #e6ac00;
  }

  .logoimg img,
  #mainheader.reduced .council .logoimg img,
  #footer .logoimg img {
    height: 64px;
    max-height: 64px;
    display: inline-block;
  }

  #mainheader .logotxt,
  #mainheader.reduced .council .logotxt {
    text-align: left;
    margin-top: 10px;
    margin-left: 10px;
    display: inline-block;
    width: 65%;
  }

  #mainheader.reduced .council,
  #mainheader .council {
    display: flex;
    justify-content: space-between !important;
  }
}

@media (max-width: 576px) {
  #mainheader .logotxt,
  #mainheader.reduced .council .logotxt {
    width: 50%;
  }

  .logoimg img,
  #mainheader.reduced .council .logoimg img,
  #footer .logoimg img {
    margin-left: 45px;
  }

  #mainheader .menu-btn {
    position: absolute;
  }

  #mainheader .navbar-toggle.menu-active .icon-bar1 {
    top: 8px;
  }

  #mainheader .navbar-toggle.menu-active .icon-bar3 {
    top: -8px;
  }

  .modal-header-fullsrc .pb12 {
    padding: 0 !important;
  }

  .modal-header-fullsrc h1 {
    margin-left: 40px;
  }

  #searchModal #search-txt {
    padding-left: 32px;
  }
}

/* fix ie cover img */
.img-fit-cover {
}

.img-fit-ie {
  background-size: cover;
  background-position: center;
}

.img-fit-ie img {
  visibility: hidden;
}
