

html,
body {
height: 100%;
}

html {
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}

body {
background: #1e292f;
font-family: Georgia, Times, "Times New Roman", serif;
font-weight: normal;
color: #ffffff;
font-size:16px;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
font-family: inherit;
font-weight: bold;
line-height: 1.1;
}


h1,
.h1 {
font-size: 30px;
}
h2,
.h2 {
font-size: 27px;
}
h3,
.h3 {
font-size: 24px;
}
h4,
.h4 {
font-size: 22px;
}
h5,
.h5 {
font-size: 20px;
}
h6,
.h6 {
font-size: 18px;
}

@media (min-width: 768px) {

}

@media (min-width: 992px) {

h1,
.h1 {
font-size: 36px;
}
h2,
.h2 {
font-size: 30px;
}
h3,
.h3 {
font-size: 27px;
}
h4,
.h4 {
font-size: 24px;
}
h5,
.h5 {
font-size: 21px;
}
h6,
.h6 {
font-size: 18px;
}
}

h1 small { color: inherit !important;}

h1 strong,
h2 strong,
h3 strong,
h4 strong,
h5 strong,
h6 strong,
.h1 strong,
.h2 strong,
.h3 strong,
.h4 strong,
.h5 strong,
.h6 strong { font-weight:bolder; !important; }

strong { font-weight:bold; !important; }

a {
color:#777777;
text-decoration: none;
-webkit-transition: opacity 0.4s ease, color 0.4s ease, background 0.4s ease;
-moz-transition: opacity 0.4s ease, color 0.4s ease, background 0.4s ease;
-ms-transition: opacity 0.4s ease, color 0.4s ease, background 0.4s ease;
-o-transition: opacity 0.4s ease, color 0.4s ease, background 0.4s ease;
transition: opacity 0.4s ease, color 0.4s ease, background 0.4s ease;
}

a:hover,
a:focus {
color: #040707;
text-decoration: underline;
}

ins { text-decoration:none; }

/* GRID 5 COLOUMNS */
.col-xs-2-5,
.col-sm-2-5,
.col-md-2-5,
.col-lg-2-5 {
position: relative;
min-height: 1px;
padding-left: 15px;
padding-right: 15px;
}
.col-xs-2-5 {
width: 20%;
}

@media (min-width: 768px) {
.col-sm-2-5, .col-sm-5-5 {
float: left;
}
.col-sm-2-5 {
width: 20%;
}
.col-sm-5-5 {
width: 40%;
}
.col-sm-2-5-offset-1-5 {
    margin-left: 30%;
  }
}

@media (min-width: 992px) {
.col-md-2-5 {
float: left;
}
.col-md-2-5 {
width: 20%;
}

.col-md-2-5-offset-1-5 {
    margin-left: 30%;
  }
}

@media (min-width: 1200px) {
.col-lg-2-5 {
float: left;
}
.col-lg-2-5 {
width: 20%;
}
.col-lg-2-5-offset-1-5 {
    margin-left: 30%;
  }
}

/* GRID 8 COLUMNS */

@media (min-width: 768px) {
.col-sm-1-5 {
float: left;
}
.col-sm-1-5 {
width: 12.5%;
}
}

@media (min-width: 992px) {
.col-md-1-5 {
float: left;
}
.col-md-1-5 {
width: 12.5%;
}
}

@media (min-width: 1200px) {
.col-lg-1-5 {
float: left;
}
.col-lg-1-5 {
width: 12.5%;
}
}

@media (min-width: 992px) {
.container-fluid {
    padding-right: 30px;
    padding-left: 30px;
}
}

/* colonne centrate verticalmente */
@media (min-width: 768px) {
.row-vertical {
display: flex;
align-items: center;
}
.row-vertical [class*='col-'] > :first-child {
margin-top:0
}
.row-vertical-bottom {
display: flex;
align-items: end;
}
}


.container-small {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 768px) {
  .container-small {
      width: 750px;
  }
}

@media (min-width: 992px) {
  .container-small {
    width: 870px;
  }
}

@media (min-width: 1140px) {
  .container-small {
    width: 1050px;
  }
}

/* ---------------------*/
/* ------------ COMMONS */
/* ---------------------*/

/* MARGIN TINY MCE */
.margin-top-0 { margin-top:0 !important; }
.margin-top-10 { margin-top:10px !important; }
.margin-top-20 { margin-top:20px !important; }
.margin-top-25 { margin-top:25px !important; }
.margin-top-30 { margin-top:30px !important; }
.margin-top-40 { margin-top:40px !important; }
.margin-top-60 { margin-top:60px !important; }
.margin-bottom-0 { margin-bottom:0 !important; }
.margin-bottom-10 { margin-bottom:10px !important; }
.margin-bottom-20 { margin-bottom:20px !important; }
.margin-bottom-25 { margin-bottom:25px !important; }
.margin-bottom-30 { margin-bottom:30px !important; }
.margin-bottom-40 { margin-bottom:40px !important; }
.margin-bottom-60 { margin-bottom:60px !important; }
.margin-bottom-negative-30 { margin-bottom:-30px !important; }

a:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
button:focus {
outline: none;
outline-offset: inherit;
}

/*.img-responsive { margin:0 auto; }*/

.alignright { text-align:right;}
.alignleft { text-align:left; }
.aligncenter { text-align:center;}

img.alignright { float:right !important; margin-left:15px; margin-bottom:5px; }
img.alignleft { float:left !important; margin-right:15px;  margin-bottom:5px; }
img.aligncenter { margin:0 auto !important; }

img.img-profile { max-width: 288px;}

blockquote {
border-left: 3px solid #777777;
background:#f7f7f7;
font-size:18px;
/* position:relative;
   padding-left:50px; */
}

.blockquote-reverse,
blockquote.pull-right {
border-right: 3px solid #777777;
}



hr {
border: 0;
margin:60px 0;
display:block;
border: 0;
position:relative;
height: 3px;
}

hr:after {
position: absolute;
content: "";
left: 50%;
bottom:0;
height: 3px;
width: 100px;
background-color: #ffffff;
margin-left: -50px;
}



.lead {
margin-bottom: 10px;
font-size: 18px;
font-weight: 400;
}

@media (min-width: 768px) {
.lead {
    font-size: 21px;
}
}

.container > .lead:last-child,
.lead p:last-child,
.container > p:last-child,
.container-small > .lead:last-child,
.container-small > p:last-child {
margin-bottom:0;
}

.list-inline {
margin-left:0;
}
.list-inline > li:first-of-type{ margin-left:0; }
.list-inline > li:last-of-type{ padding-right:0; }
.list-inline > li {
line-height: normal;
display: inline-block;
padding-right: 10px;
padding-left: 0;
}

/* content */
#main-content { }

/* CONTENT SECTIONS */



.section {
padding:60px 0;
}

.section-light {
background:#f7f7f7;
}

.section-light .thumbnail { background:#FFFFFF; }


.section-custom {
background:#777777;
color:#ffffff;
}

.section-custom .page-header {
}


.section-custom .page-header h1,
.section-custom .page-header h2 {
color:#ffffff;
}

.section-custom .well {
color:#040707;
}

.section-custom .thumbnail { border-color: #6699CC; }
.section-custom .featured-post-caption h4 a, .section-custom a {
  color: #ffffff;
}

.section-custom .featured-post-caption h4 a:hover,
.section-custom .featured-post-caption h4 a:focus,
.section-custom a:hover,
.section-custom a:focus {
color:#040707;
}

.section-custom .featured-post-caption p { color:#cccccc; }

.section-custom legend { border-color: #333333; color:#ffffff; }



.section-inverse {
background:#040707;
color:#ffffff;
}

.section-inverse h1,
.section-inverse h2,
.section-inverse h3 {
color:#ffffff;
}

.section-inverse .page-header h1,
.section-inverse .page-header h2 {
color:#ffffff;
}

.section-inverse .thumbnail { border-color: #666666; }
.section-inverse .featured-post-caption h4 a {
  color: #ffffff;
}

.section-inverse .featured-post-caption p {
    color: #999;
}

.section-inverse legend { border-color: #454545; color:#ffffff; }



.section-custom-content {
position:relative;
z-index:2;
}
.section-custom-content.section-light {
position:relative;
z-index:3;
}
.scroll-arrow { text-align:center; position:absolute; margin:0 0 0 0; width:100%; bottom:0; }
.section-light .scroll-arrow { bottom:-20px; z-index:4}

/* PARALLAX */

.section-parallax {
width:100%;
position: relative;
background-color:#222;
background-repeat: no-repeat;
-webkit-background-size: cover;
background-size: cover;
background-attachment: scroll;
background-position: center center;
/*    -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);*/
}

.section-parallax .fill {
padding: 60px 0;
display:block;
}

@media (min-width: 768px) {
.section-parallax .fill {
padding: 90px 0;
}
}

@media (min-width: 992px) {
.section-parallax {
background-attachment: fixed;
}
.section-parallax .fill {
padding: 120px 0;
}
}

@media (min-width: 1200px) {
.section-parallax .fill {
padding: 150px 0;
}
}


.section-parallax h1,
.section-parallax h2,
.section-parallax h3,
.section-parallax h4,
.section-parallax p {
padding:0;
color:#FFFFFF;
text-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
line-height:1.3;
}


.section-small, .section-small.section-parallax .fill { padding:40px 0 !important; }
.section-small.section-parallax { padding:0 !important; }

.section.padding-top-0 { padding-top:0 !important; }
.section.padding-bottom-0 { padding-bottom:0 !important; }

.section.margin-0 { padding-top:0 !important; padding-bottom:0 !important; }

.section.margin-0-negative { padding-top:0 !important; padding-bottom:0 !important; margin-top: -60px;}


/* IMAGE GRID - Cliccabili */

.section-image-grid .container-fluid.container-stacked { padding: 0; }

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

.image-grid-container { position: relative; overflow: hidden;}
.img-bg { position: relative; z-index: 18; }
.text-overlay {
  width:100%;
  height: 100%;
  position: absolute;
  top:0;
  left:0;
  z-index: 20;
  transition: .3s background;
}
a:hover .text-overlay {
    background: rgba(0,0,0,0.4);
}
.text-overlay h4 {
  color:#ffffff;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 30px;
  transform: translate(-50%, -50%);
  text-align: center;
  font-weight: 600;
  text-shadow: 0px 0px 10px #000000;
}

.text-overlay h4 span {
  font-size: 16px;
  display: block;
}

/* section menu */
.section-menu h2 { position: relative; padding-bottom:15px; }
.section-menu h2:after { position: absolute;
    content: "";
    left: 50%;
    bottom: 0;
    height: 1px;
    width: 200px;
    background-color: #e3e3e3;
    margin-left: -100px;
}
.section-menu .well .row > div.col-sm-6:last-child .equal-height { margin-bottom: 0 !important; }

@media (min-width: 768px) {
.section-menu .well .row hr { margin-top: 10px; width: 70%;}

.section-menu .well .row > div.col-sm-6:nth-last-child(-n+2) .equal-height { margin-bottom: 0 !important; }
}

/* home */

.row-services strong { display: block;}

@media (max-width: 767px) {
.btn-block-xs { width: 100%; display: block; margin-bottom: 5px; }
}

/* SPONSOR */

.sponsor-item {

}

.sponsor-item a {
	display:block;
height:150px;
line-height:150px;
text-align:center;
}

.sponsor-item a img {
  width:auto;
	max-width:100%;
	max-height:140px;
  height: auto;
	vertical-align:middle;
}


/* -------------------- */
/* GOOGLE MAPS / CAROUSEL */
/* -------------------- */
.map-wrapper,
.carousel-container {
 background: #e3e3e3;
}

.section-intro { height:100%; }
.section-intro.carousel-container { background:#FFFFFF;}


.map-wrapper {
position:relative;
z-index:4;
}

.map-wrapper iframe {
width:100%;
display:block;
margin:0;
padding:0;
}

.embed-responsive.embed-responsive-custom {
  padding-bottom: 75%;
}

@media (min-width: 768px) {
  .embed-responsive.embed-responsive-custom {
    padding-bottom: 56.25%;
  }
}

@media (min-width: 992px) {
  .embed-responsive.embed-responsive-custom {
    padding-bottom: 25%;
  }
}

@media (max-width: 767px) {
.map-wrapper .container { padding:0; }
}




.page-header {
padding-bottom:0;
margin: 20px 0 30px;
border-bottom: none;
}

.section > .page-header:first-child,
.section > .container > .page-header:first-child,
.section > .container-fluid > .page-header:first-child,
.section > .container-small > .page-header:first-child {
margin-top:-20px;
}


.page-header {
border-bottom: none;
text-align:center;
}

.page-header h1,
.page-header h2 {
margin:0;
padding:0;
line-height:36px;
position:relative;
display:inline-block;
font-weight: 600;
font-weight: 400;
}

.breadcrumb {
padding:0;
font-size:14px;
margin:5px 0 0 0;
background-color: transparent;
text-align:center;
}

.breadcrumb > li + li:before {
color:#e3e3e3;
}
.breadcrumb,
.breadcrumb a {
color: #ccc !important;
}

/*fix yoast*/
.breadcrumb div {
display:inline-block;
}

.breadcrumb div span.breadcrumb-separator {
padding:0 5px;
color:#e3e3e3;
}


.dropdown-menu>li>a {
font-weight: inherit;
}

/* NAVBAR */

.navbar {
border-radius:0;
border:none;
font-size:16px;
margin-bottom:40px;
}

.navbar-static-top {
border-width:0;
}

.navbar-text {
margin-left: 0;
}

.navbar-toggle {
  margin: 15px 5px 0 0;
}

.navbar-toggle .icon-bar {
  width: 22px;
  transition: all 0.2s;
}
.navbar-toggle .top-bar {
  transform: translateX(3px) rotate(45deg);
  transform-origin: 10% 10%;
}
.navbar-toggle .middle-bar {
  opacity: 0;
}
.navbar-toggle .bottom-bar {
  transform: translateX(3px) rotate(-45deg);
  transform-origin: 10% 90%;
}
.navbar-toggle.collapsed .top-bar {
  transform: rotate(0);
}
.navbar-toggle.collapsed .middle-bar {
  opacity: 1;
}
.navbar-toggle.collapsed .bottom-bar {
  transform: rotate(0);
}


.navbar .dropdown-menu {
margin:0;
border:0;
border-radius:0;
}


.navbar-inverse {
background-color: #040707;
}

.navbar-inverse .navbar-brand {
color: #ffffff;
}

.navbar-inverse .navbar-text {
color: #ffffff;
}

.navbar-inverse .navbar-text a { color: #ffffff; }

.navbar-inverse .navbar-toggle {
border-color: transparent;
}
.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
  background-color: transparent;
}

.navbar-inverse .navbar-nav > li > a {
  color: #ffffff;
}
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
 color: #777777;
}
.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
color: #777777;
 background-color: transparent;
}
.navbar-inverse .navbar-collapse,
.navbar-inverse .navbar-form {
/*  border-color: #777777;
*/
}
.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
 background-color: transparent;
  color: #777777;
}


.navbar-inverse .dropdown-menu {
background-color: #040707;
}

.navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
color: #fff;
}


.navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
color: #777777;
background-color: transparent;
}

.navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,
.navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,
.navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
color: #777777;
text-decoration: none;
background-color: transparent;
}

/* NAVBAR DEFAULT */
.navbar-default {
background:#FFF;
border-bottom:1px solid #e3e3e3;
}


.navbar-default .navbar-brand {
color: #040707;
}

.navbar-default .navbar-text {
color: #040707;
}

.navbar-default .navbar-toggle {
border-color: transparent;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: transparent;
}

.navbar-default .navbar-toggle .icon-bar {
background-color: #040707;
}

.navbar-default .navbar-nav > li > a {
  color: #040707;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #777777;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #777777;
  background-color: transparent;
}
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
  /* border-color: #6699CC;  */
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
 background-color: transparent;
 color: #777777;
}

.navbar-default .dropdown-menu {
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
 border:none; /*1px solid #e3e3e3;*/
 border-top:none;
 padding:10px 0;
}

.navbar-default .navbar-nav .open .dropdown-menu > li > a {
color: #040707;
}

.navbar-default .navbar-nav .open .dropdown-menu > .active > a,
.navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
.navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
color: #777777;
background-color: transparent;
}

.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
.navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
text-decoration: none;
color: #777777;
background-color: transparent;
}

.dropdown-menu>.active>a, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover { background:transparent; }


@media (max-width: 991px) {
.navbar-header {
float: none;
}
.navbar-left,.navbar-right {
float: none !important;
}
.navbar-toggle {
display: block;
}
.navbar-collapse {
border-top: 1px solid transparent;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.navbar-fixed-top {
top: 0;
border-width: 0 0 1px;
}
.navbar-collapse.collapse {
display: none!important;
}
.navbar-nav {
float: none!important;
margin-top: 7.5px;
text-align: center;
margin-bottom: 0;
}
.navbar-nav>li {
float: none;
text-align:center;
}
.navbar-nav.navbar-right {
margin-top: 0;
margin-bottom: 7.5px;
}
.navbar-nav.navbar-left {
margin-top: 0;
margin-bottom: 7.5px;
}

.navbar-nav.navbar-left>li,
.navbar-nav.navbar-right>li {
display: inline-block;
}
.navbar-nav>li>a {
padding-top: 10px;
padding-bottom: 10px;
}
.collapse.in{
display:block !important;
}

.navbar-nav .open .dropdown-menu {
position: static;
float: none;
width: auto;
margin-top: 0;
background-color: transparent;
border: 0;
-webkit-box-shadow: none;
box-shadow:none;
text-align:center;
}

}

@media (min-width: 768px) {
.navbar-toggle {
margin-right: -10px;
}
#branding .navbar-left { margin-left:0; }
#branding .navbar-right { margin-right:0; }
}

/* HEADER */
/* #branding {
top:-100px;
}

 */




img.wpml-ls-flag, ul.menu-top img { display:inline-block; /*margin-right:4px;*/ }

#branding.navbar {
margin:0;
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
font-size:16px;
font-weight:400;
-webkit-transition:all .4s ease-in-out;
transition:all .4s ease-in-out;
}

#branding.navbar .navbar-nav > li > a,
#branding.navbar .dropdown-menu > li > a {
font-weight:400;
text-transform: uppercase;
}

#branding.navbar .dropdown-menu > li > a {
padding:5px 20px;
}

#branding.has_carousel { position: fixed; z-index: 1300; width: 100%; }
#branding.has_carousel {
background: transparent;
border-color: transparent;
-webkit-box-shadow: none;
box-shadow: none;
}


#branding.affix {
 position: fixed;
 top: 0;
 z-index:1300;
 width:100%;
}


#branding.navbar.affix,
#branding.has_carousel.affix,
#branding.navbar:hover,
#branding.navbar.nav-mobile-open {
  background:#FFFFFF;
  border-color:#e3e3e3;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

/* navbar bianca se c'è carousel */
#branding.has_carousel .navbar-brand {
color: #ffffff;
}

#branding.has_carousel.affix .navbar-brand,
#branding.has_carousel.nav-mobile-open .navbar-brand,
#branding.has_carousel:hover .navbar-brand  {
color: #040707;
}

#branding.has_carousel .navbar-nav > li > a { color: #ffffff; }
#branding.has_carousel:hover .navbar-nav > li > a,
#branding.has_carousel.affix .navbar-nav > li > a,
#branding.navbar.nav-mobile-open .navbar-nav > li > a { color: #040707; }
#branding.navbar.nav-mobile-open .navbar-nav > .active > a,
#branding.navbar.nav-mobile-open .navbar-nav > .active > a:hover,
#branding.navbar.nav-mobile-open .navbar-nav > .active > a:focus {
  color: #777777;
}

#branding.has_carousel .navbar-toggle .icon-bar { background-color: #ffffff; }
#branding.has_carousel:hover .navbar-toggle .icon-bar,
#branding.has_carousel.affix .navbar-toggle .icon-bar,
#branding.navbar.nav-mobile-open .navbar-toggle .icon-bar { background-color: #040707; }


#branding.has_carousel:hover .navbar-nav > li > a:hover,
#branding.has_carousel:hover .navbar-nav > li > a:focus,
#branding.has_carousel.affix .navbar-nav > li > a:hover,
#branding.has_carousel.affix .navbar-nav > li > a:focus {
  color: #777777;
}

#branding.has_carousel .navbar-nav > .active > a {color: #ffffff; }

#branding.has_carousel:hover .navbar-nav > .active > a,
#branding.has_carousel:hover .navbar-nav > .active > a:hover,
#branding.has_carousel:hover .navbar-nav > .active > a:focus,
#branding.has_carousel.affix .navbar-nav > .active > a,
#branding.has_carousel.affix .navbar-nav > .active > a:hover,
#branding.has_carousel.affix .navbar-nav > .active > a:focus {
  color: #777777;
}
/* fine navbar bianca se c'è carousel */

/* #branding { min-height:57px; } */


#branding .navbar-toggle { margin-top: 11px; margin-bottom: 11px; }


.section-intro + #branding { height:0 !important; min-height:inherit !important; }

@media (min-width: 992px) {

/* #branding { min-height:150px; } */

#branding.navbar-default .dropdown-menu { border-width: 0 1px 1px 1px; border-style: solid; border-color: #e3e3e3; }

}


.navbar-brand { padding: 18px 15px; height: auto; }

.navbar-brand.custom-logo-text { text-transform: uppercase; font-size: 20px; line-height: 20px; font-weight: 600; }


img.logo-navbar {
max-width:115px;
}




@media (min-width: 992px) {

.navbar-brand.custom-logo-text { font-size: 30px; line-height: 30px; font-weight: 600; letter-spacing: 3px;}

.navbar-brand { padding: 30px 15px 0 15px; }

.affix .navbar-brand, .affix .navbar-header { display: none !important;}


img.logo-navbar {
max-width:185px;
}

.affix img.logo-navbar {
max-width:115px;
}


#branding .navbar-left { margin-left:-15px; }
#branding .navbar-right { margin-right:-15px; }

#branding .navbar-nav > li > a {
padding-top:30px;
padding-bottom: 30px;
}

.header-no-logo #branding .navbar-nav > li > a,
#branding.affix .navbar-nav > li > a {
padding-top: 15px;
padding-bottom: 15px;
}


} /* 992 */

@media (min-width: 992px) {

#branding .container-fluid {
text-align: center;
}

#branding  .navbar-header { float: none; display: inline-block;}
.navbar>.container-fluid .navbar-brand { margin: 0 auto; display: inline-block; float: none; height: auto;}


.navbar-nav.navbar-center {
width: 100%;
text-align: center;
}

.navbar-nav.navbar-center > li {
float: none;
display: inline-block;
}

.navbar-nav.navbar-center > li > a {
padding-left: 23px;
padding-right: 23px;
}

#branding .navbar-nav.navbar-left,
#branding .navbar-nav.navbar-right {
position:absolute;
top:20px;
}

#branding.affix .navbar-nav.navbar-left,
#branding.affix .navbar-nav.navbar-right {
top:0;
}

#branding .navbar-nav.navbar-left {
position:absolute;
left:30px;
}

#branding .navbar-nav.navbar-right {
position:absolute;
right:30px;
}

#branding .navbar-nav.navbar-left > li > a,
#branding .navbar-nav.navbar-right > li > a {
    padding:15px;
}

}


@media (min-width:1200px) {

.navbar-nav.navbar-center > li > a {
padding-left: 33px;
padding-right: 33px;
}

}


/* ----------------------------- */
/* ---------------------- FOOTER */
/* ----------------------------- */
#colophon .navbar {
margin:0;
}

#colophon .navbar.navbar-default {
border-top: 1px solid #e3e3e3;
}

#colophon .navbar .dropdown .dropdown-menu {
  top: auto;
  bottom: 100%;
}

#footer-logo { border-top: 1px solid #eeeeee; background: #f7f7f7; text-align: center; padding: 10px 0;}
#footer-logo .row > div { display: inline-block; margin: 15px 0; }

.section-footer  {
  background: #ffffff;
  border-top: 1px solid #e3e3e3;
  color:#040707;
  font-size: 16px;
}

.section-footer a {
  color:#040707;
}
.section-footer a:hover,
.section-footer a:focus {
color:#777777;
}

.section-footer .btn {
  text-transform: none;
}

.section-footer .widget-title { color: #040707; }

.section-footer .widget-title span { }


.section-footer .widget_media_image, .section-footer .widget_media_image .widget-title { display:none; }
.section-footer .widget_media_image img { max-width:200px !important; }

.section-footer hr {
    /* border-top: 1px solid #9d9d9d; */
}

.section-footer { padding-bottom:20px; }
@media (min-width: 992px) {
.section-footer .widget_media_image { display:block; }
}


@media (max-width: 991px) {
#colophon .navbar-right { margin:7.5px 0;}
#colophon .navbar-right,
#colophon .navbar-text {
float: none !important;
}

#colophon .navbar-text,
#colophon .nav {
text-align:center;
}

#colophon .nav > li {
display:inline-block;
}

}

/* -------------------- */
/* WIDGET */
/* -------------------- */

.fb_iframe_widget {
display: block !important;
background: none;
}

.fb-like-box iframe {
 width: 100% !important;
 left:0;
}

.fb-like-box span {
width: auto !important;
position: initial !important;
}
.fb_iframe_widget_fluid span {
width:100% !important;
}


.widget { margin-bottom:36px; overflow:hidden; }

.widget-title {
margin:0 0 30px 0;
color:#040707;
padding:0 0 0 0;
font-weight:600;
position:relative;
}

.widget-title a { text-decoration:none; }


.widget_nav_menu ul { list-style:none; padding-left: 0; }
.widget_nav_menu ul li { margin-bottom:10px; }

#secondary .widget-content .btn {
margin-bottom: 5px;
}


/* bs post widget*/
.bs_recent_entries > .media:first-of-type { margin-top:0; }
.media {
background: none;
/*margin-top:0; padding:10px;
border: 1px solid #e3e3e3;
margin-bottom:-1px;*/
}
.media h4 { margin:0; font-size:14px; font-weight:400;}
.media h4 a:hover, .media h4 a:focus {  }
.media-left img { max-width:40px; height:auto; }
.media .post-date { font-size:12px; }

.nav-stacked li + li {
margin-top:5px;
}

.nav-pills {
margin-bottom:30px;
}
.nav-pills > li > a {
 background-color: #9d9d9d;
 color:#fff;
 font-weight:400;
 font-size:14px;
 border-radius:0;

}

.nav-pills > li > a:hover,
.nav-pills > li > a:focus,
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
 background-color: #909090;
 color:#ffffff;
}


/* LIST GROUP NAVIGATION */
.container >.list-group:last-child {
margin-bottom:0;
}

.list-group {
/*-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);*/
}

.list-group-item, .list-group li {
border: 1px solid #e3e3e3;
overflow:hidden;
margin-bottom:-1px;
position: relative;
    display: block;
    padding: 10px 15px;
}

.section-light .list-group-item, .section-light .list-group li {
border: 1px solid #e3e3e3;
background: #ffffff;
}


.list-group-item .fa.pull-left {
font-size:24px;
color:#88be3b;
}

.list-group-item:first-child {
  border-top-right-radius: 0;
  border-top-left-radius:0;
}
.list-group-item:last-child {
  margin-bottom: 0;
  border-bottom-right-radius:0;
  border-bottom-left-radius:0;
}

/*.list-group-item > span, */
.list-group-item a.btn-sm {
float: right;
}

.list-group-item a.btn-sm {
margin-bottom:5px;
}

.fa-li {
top: .17em;
}

a.list-group-item.active,
a.list-group-item.active:hover,
a.list-group-item.active:focus {
  color: #000000;
  background-color: #f5f5f5;
  border-color: #dddddd;
}
a.list-group-item:hover,
a.list-group-item:focus {
color: #000000;
  background-color: #f5f5f5;
}


.badge {
display: inline-block;
min-width: 12px;
padding: 3px 7px;
font-size: 11px;
 font-weight: 400;
color: #ffffff;
line-height: 1;
vertical-align: baseline;
white-space: nowrap;
text-align: center;
background-color: #eeeeee;
border-radius: 10px;
}





/* THUMBNAILS */
.thumbnail {
padding:0;
display:block;
position:relative;
background: none;
border-radius:0;
border-color: #e3e3e3;
text-decoration:none;
overflow:hidden;
margin-bottom:30px;
-webkit-box-shadow: none;
box-shadow: none;
border-width:0;
}

a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
background:none;
border-color: #999;
border-width:0;
-webkit-box-shadow: none;
box-shadow: none;
text-decoration:none;
}

.thumbnail .entry-image { display:block; margin-bottom:8px; overflow:hidden; }
.thumbnail img { width:100%; height:auto; }

.thumbnail .caption {
font-size:18px;
color: inherit;
padding:10px;
text-align: center;
background: #ffffff;
text-transform: uppercase;
}

.thumbnail .caption h4 {
margin:0 0 6px 0;
color:#040707;
}

.thumbnail .caption p {
margin:0;
}

figure.wp-caption { margin-bottom:20px; }
figure.wp-caption .thumbnail { margin-bottom:0;}
figure.wp-caption .wp-caption-text { margin-top:5px; }

.img-thumbnail { border-radius: 0; }
.img-thumbnail.aligncenter { display: inherit;}








/* -------------------- */
/* FORM */
/* -------------------- */
textarea,
input[type="text"],
input[type="password"],
input[type="email"] {
-webkit-appearance: none;
}
.form-validate { margin-bottom:0; }


.form-group.form-group-submit {
margin-bottom:0;
}


.form-control {
color: #040707;
border: 1px solid #e3e3e3;
border-radius:0;
-webkit-box-shadow: none;
box-shadow: none;
}
.form-control:focus {
border-color: #999999;
color: #000000;
background:#FFF;
outline: 0;
-webkit-box-shadow: none;
box-shadow: none;
}

.input-lg {
font-size:18px;
line-height:inherit;
}

.input-group-addon {
    padding: 6px 12px;
    font-size: 14px;
    color: #040707;
    text-align: center;
    background-color: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 0;
}

.form-group-privacy label { margin-bottom: 0;}
.privacy { position: relative; }
.privacy div.error {position: absolute;}
.form-group-privacy.has-error { margin-bottom: 35px !important; }

.privacy input[type="checkbox"], .marketing input[type="checkbox"] {
margin-right: 5px;
}

legend {
color:#333333;
padding-bottom:5px;
margin-bottom:15px;
font-size:21px;
font-weight: 600;
}

label {
  font-weight: 400;
  font-size: 18px;
}

.help-form { line-height:1.2; display:block;}

.form-loading:before {
content: "";
position: absolute;
top: 0;
right: 15px;
left: 15px;
bottom: 0;
background-color: #fff;
background-color: rgba(255, 255, 255, 0.7);
z-index:1000;
}


.form-loading:after {
z-index:1001;
position: absolute;
top: 50%;
left: 50%;
margin-top: -25px;
margin-left: -25px;
width: 50px;
height: 50px;
line-height:50px;
border-radius:25px;
overflow:hidden;
background-color:rgba(0,0,0,0.3);
display: inline-block;
font-size:30px;
text-rendering: auto;
font-style: normal;
font-variant: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
color: #ffffff;
text-align:center;
font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f110";
-webkit-animation: fa-spin 1s infinite steps(8);
animation: fa-spin 1s infinite steps(8);
}



.has-error .help-block,
.has-error .control-label,
.has-error .radio,
.has-error .checkbox,
.has-error .radio-inline,
.has-error .checkbox-inline,
.has-error.radio label,
.has-error.checkbox label,
.has-error.radio-inline label,
.has-error.checkbox-inline label,
.has-error div.error {
  color: #a94442;
}
.has-error .form-control {
  border-color: #a94442;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.has-error .form-control:focus {
  border-color: #843534;
  -webkit-box-shadow:0 0 6px rgba(0, 0, 0, 0.075);
  box-shadow: rgba(0, 0, 0, 0.075);
}
.has-error .input-group-addon {
  color: #a94442;
  border-color: #a94442;
  background-color: #f2dede;
}


th {
    text-align: left;
    font-weight: 600;
}

/* PANELS - WELL - BUTTONS */
.panel, .well {
-webkit-box-shadow: none;
  box-shadow: none;
  border-radius:0;
}

.well {
background: #f7f7f7;
border: 1px solid #e3e3e3;
color:#040707;
}
.section-light .well, .well-white {
background:#fff;
}
.well > p:last-of-type { margin-bottom:0; }



/* ACCORDION */
.panel .list-group {
  margin-bottom: 0;
}
.panel .list-group .list-group-item, .panel .list-group li {
  border-width:1px 0;
  border-radius: 0;
}

.panel-group .panel-title {
font-size: 18px;
font-size: 21px;
font-weight: 600;
}

.panel-group .panel-title .pull-right {
font-size: 14px; vertical-align:middle;
}

.panel-group .panel {
 border-radius: 0;
}


.panel-group .panel-body {
padding: 15px 15px 5px;
color: #333333;
}

.panel-group .panel-heading {
padding:0;
}
.panel-group .panel-heading .accordion-toggle {
padding:15px;
display:block;
position: relative;
}

.panel-heading a { display:block; text-decoration:none; }

.panel-group .panel-heading a.accordion-toggle::before {
    position: absolute;
    content: '\002B';
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
}
.panel-group .panel.active > .panel-heading a.accordion-toggle::before {
content: '\2212';
}

.panel-default {
border-color: #e3e3e3;
}
.panel-default > .panel-heading {
border-color: #e3e3e3;
}

.panel-default > .panel-heading + .panel-collapse .panel-body {
border-top-color: #e3e3e3;
border-top:0;
}
.panel-default > .panel-footer + .panel-collapse .panel-body {
border-bottom-color: #e3e3e3;
}

.panel-default > .panel-heading a {
background:#fff;
color:#040707;
border:1px solid #e3e3e3;
margin:-1px;
}

.panel-group .panel-default > .panel-heading a:hover,
.panel-group .panel-default > .panel-heading a:focus,
.panel-group .panel-default > .panel-heading a:hover,
.panel-group .panel-default.active > .panel-heading a {
border:1px solid #999;
color: #040707;
background-color: #fff;
}

/* BUTTONS */

.btn {
border-radius:0;
font-weight:600;
white-space: normal;
font-size:18px;
/* text-transform:uppercase; */
}

.btn-sm {
font-size:16px;
}

.btn-lg {
font-size:21px;
}

.alert { border-radius:0; margin-bottom:30px; }

.alert-default {
border: 1px solid #e3e3e3;
background-color: #fff;
}

.bg-primary, .bg-info, .bg-success, .bg-danger, .bg-warning {
padding:6px;
}


.btn-default {
  border: 1px solid #e3e3e3;
  background-color: #fff;
color:#333333;
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active {
  background-color: #ffffff;
  border: 1px solid #999999;
color: #333333;
}

.text-custom {
color: #336699;
}

.bg-custom {
  background-color: #336699;
color:#ffffff;
padding:6px;
}

.btn-custom {
  border: 1px solid transparent;
  background-color: #fff;
  color:#333333;
}

.btn-custom:hover,
.btn-custom:focus,
.btn-custom:active,
.btn-custom.active {
  background-color: #ffffff;
  border: 1px solid transparent;
  color: #333333;
}
.btn-custom.disabled:hover,
.btn-custom.disabled:focus,
.btn-custom.disabled:active,
.btn-custom.disabled.active,
.btn-custom[disabled]:hover,
.btn-custom[disabled]:focus,
.btn-custom[disabled]:active,
.btn-custom[disabled].active,
fieldset[disabled] .btn-custom:hover,
fieldset[disabled] .btn-custom:focus,
fieldset[disabled] .btn-custom:active,
fieldset[disabled] .btn-custom.active {
  background-color: #ffffff;
  border-color: transparent;
}

.panel-custom {
border-color: #336699;
}
.panel-custom > .panel-heading {
border-color: #336699;
background-color:#336699;
color:#ffffff;
}

.panel-custom > .panel-heading + .panel-collapse .panel-body {
border-top-color: #336699;
}
.panel-custom > .panel-footer + .panel-collapse .panel-body {
border-bottom-color: #336699;
}

.panel-custom .list-group-item, .panel-green .list-group li {
border-color: #336699;
}


/* alternate */
.text-alternate {
color: #6699CC;
}

.bg-alternate {
background-color: #6699CC;
color:#ffffff;
padding:6px;
}

.btn-alternate {
  background-color: #6699CC;
  border-color: #6699CC;
  color:#ffffff !important;
}
.btn-alternate:hover,
.btn-alternate:focus,
.btn-alternate:active,
.btn-alternate.active {
  background-color: #538cc6;
  border-color: #4080bf;
  color:#ffffff !important;
}
.btn-alternate.disabled:hover,
.btn-alternate.disabled:focus,
.btn-alternate.disabled:active,
.btn-alternate.disabled.active,
.btn-alternate[disabled]:hover,
.btn-alternate[disabled]:focus,
.btn-alternate[disabled]:active,
.btn-alternate[disabled].active,
fieldset[disabled] .btn-alternate:hover,
fieldset[disabled] .btn-alternate:focus,
fieldset[disabled] .btn-alternate:active,
fieldset[disabled] .btn-alternate.active {
  background-color: #6699CC;
  border-color: #6699CC;
}

.panel-alternate {
border-color: #6699CC;
}
.panel-alternate > .panel-heading {
border-color: #6699CC;
background-color:#6699CC;
color:#fff;
}

.panel-alternate > .panel-heading + .panel-collapse .panel-body {
border-top-color: #6699CC;
}
.panel-alternate > .panel-footer + .panel-collapse .panel-body {
border-bottom-color: #6699CC;
}

.panel-alternate .list-group-item, .panel-alternate .list-group li {
border-color: #6699CC;
}

/* blu inverse  */
.text-inverse {
color: #040707;
}

.bg-inverse {
background-color: #040707;
color:#ffffff;
padding:6px;
}

.btn-inverse {
  background-color: #040707;
  border-color: #040707;
  color:#ffffff;
}
.btn-inverse:hover,
.btn-inverse:focus,
.btn-inverse:active,
.btn-inverse.active {
  background-color: #1a1a1a;
 border-color: #1a1a1a;
  color:#ffffff !important;
}
.btn-inverse.disabled:hover,
.btn-inverse.disabled:focus,
.btn-inverse.disabled:active,
.btn-inverse.disabled.active,
.btn-inverse[disabled]:hover,
.btn-inverse[disabled]:focus,
.btn-inverse[disabled]:active,
.btn-inverse[disabled].active,
fieldset[disabled] .btn-inverse:hover,
fieldset[disabled] .btn-inverse:focus,
fieldset[disabled] .btn-inverse:active,
fieldset[disabled] .btn-inverse.active {
  background-color: #040707;
  border-color: #040707;
}

.panel-inverse {
border-color: #040707;
}
.panel-inverse > .panel-heading {
border-color: #040707;
background-color:#040707;
color:#fff;
}

.panel-inverse > .panel-heading + .panel-collapse .panel-body {
border-top-color: #040707;
}
.panel-inverse > .panel-footer + .panel-collapse .panel-body {
border-bottom-color: #040707;
}

.panel-inverse .list-group-item, .panel-inverse .list-group li {
border-color: #040707;
}




/* -------------------- */
/* GOOGLE MAP */
/* -------------------- */

#acf-map{
width:100%;
height:240px;
overflow:hidden;
position: relative;
}



@media (min-width: 768px) {
#acf-map{
height:320px;
}
.container #acf-map{
height:300px;
}
}

@media (min-width: 992px) {
#acf-map{
height:400px;
}

.container #acf-map{
height:350px;
}

}

@media (min-width: 1200px) {
#acf-map{
height:450px;
}

.container #acf-map{
height:400px;
}
}


@media print{

.navbar-brand{ float:none; display:block; }
a.navbar-brand[href]:after { content:''; }

img.logo-navbar {
    max-width: 250px !important;
	display:block;
	margin:0 auto;
}

.navbar-header{ float:none; text-align:center;}

.page-header { border-bottom:none; }


.top-bar { display:none; }
.navbar {
display: block;
border-width:0 !important;
}
.navbar-toggle, .navbar-collapse.collapse {
display:none !important;
}

#colophon .nav, #sidebar-colophon { display:none;}

.affix, #branding.affix { position:static;}

}

.term-description { margin-bottom:36px !important;}

@media (min-width: 992px) {
  .term-description { margin-left:auto; margin-right: auto; width:940px; }
}

@media (min-width: 1200px) {
  .term-description { margin-left:auto; margin-right: auto; width:1140px; }
}

#cmplz-document {
  max-width:inherit !important;
}
label .screen-reader-text { display:none !important;}
