body {
    font-size: 12pt;
}

a {
    color: #666;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

a:hover,
a:focus {
    text-decoration: none;
}


/*
a {
    color: #0e0183
}

a:hover {
    color: #353535
}
*/
.menu {
    background-color: #FFFFFF !important;
    color: #343434;
    font-size: 12pt;
    /*font-weight: bold;*/
    font-family: verdana;
    /*border-bottom: 2px solid rgba(0,0,0,0.1) !important;*/
    box-shadow: 0px 5px 12px -3px rgba(0, 0, 0, 0.1);
    transition: ease all 0.5s;
    min-height: 120px;
}

@media (max-width: 990px) {
    .logo {
        max-width: 350px;
        margin-top: -10px;
        max-height: 100px;
    }
}

@media (max-width: 767px) {
    .logo {
        max-width: 200px;
        margin-top: -10px;
        max-height: 100px;
    }
}

.logo {
    max-height: 60px;
}

.menu A {
    color: #a85406 !important;
}

.menu A:hover {
    color: #353535 !important;
}

.navbar-brand {
    margin-top: -10px;
}

.main {
    padding-top: 120px;
    min-height: 90vh;
}

/* ===========================
--- Footer
============================ */

footer {
    background-color: #f2f2f2;
    color: #666;
}

footer {
	padding: 50px 0 0;
	
}

footer .widget {
	margin-bottom: 30px;
}

footer .widget h5 {
	font-size: 20px;
	margin-bottom: 10px;
	text-transform: uppercase;
}

footer a {
  text-decoration: underline;
}

@media (max-width: 1024px) {
    li {
        padding: 5px;
    }
}

footer .titolo{
    text-transform: uppercase;
    font-size: 18px;
    font-weight: bold;
}

.sub-footer {
	margin-top: 30px;
    background-color: #f7f7f7;
	border-top: 1px solid #ddd;
	padding: 30px 0 10px;
}

.sub-footer a{
	color: #444;
}

footer .sub-footer  p {
	font-size: 14px;
}


/***********************************/

.btn-chiama {
    min-width: 200px;
}

.menu-scroll {
    margin-top: 50px;
    max-width: 400px;
    font-size: smaller;
    padding: 10px;
    max-height: calc(100vh - 100px);
    overflow-x: hidden;
}


@media (max-width: 990px) {
    .fixed-footer {
        visibility: visible;
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        z-index: 9999;
        background-color: #FFFFFF;
        padding: 5px;
    }
}
@media (min-width: 991px) {
    .fixed-footer {
        visibility: hidden;
    }
}


/* =======
Top area
======== */
.colore-top {
  transition: all .4s ease-in-out;

  /* SFONDO SFUMATO PIÙ SCURO */
  background: linear-gradient(
    180deg,
    #2f6fb8 0%,
    #1f4f8a 100%
  );

  padding-top: 6px;
  padding-bottom: 6px;
  margin-bottom: 10px;

  color: #ffffff;
  font-size: 14px;
}
.top-area {
	-webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
	width: 100%;
	color: #fff;
	padding-top: 10px;
	padding-bottom: 10px;
}

.top-area.top-padding {
	-webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
	padding-top: 6px;
	padding-bottom: 0;
	margin-bottom: 10px;
}

.top-area p {
	margin-bottom: 10px;
}

/* ===========
Navigation
============= */

.navbar-brand {
  padding-top: 5px;
  margin-top: 5px;
  padding-bottom: 0;
}

.navbar-brand.reduce {
	margin-top:0;
  padding-top: 5px;
	padding-bottom: 5px;
 	-webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}


.navbar.navbar-custom {
	width: inherit;
	margin: 0 auto;
	padding-bottom:0;
	box-shadow: 0 0 3px rgba(0,0,0,0.12);
	box-shadow: 0 1px 6px rgba(0,0,0,.2); 
	-webkit-box-shadow: 0 1px 6px rgba(0,0,0,.2); 
	-moz-box-shadow: 0 1px 6px rgba(0,0,0,.2); 
	-o-box-shadow: 0 1px 6px rgba(0,0,0,.2); 
}

.navbar.navbar-custom .navigation {
	padding-bottom: 15px;

}


.navbar {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255,255,255,.3);	
	
}



.navbar-brand {
    font-weight: 700;
}

.navbar-brand:focus {
    outline: 0;
}

.navbar.navbar-custom.navbar-fixed-top  {
	background: #fff;
}

.navbar-custom.top-nav-collapse .nav.navbar-nav {
    background-color: rgba(0,0,0,0);
}

.navbar.navbar-custom {
	padding-top: 0;
}

.navbar.navbar-custom ul.nav.navbar-nav {
	margin-top: 15px;
 	-webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}
.navbar.navbar-custom.top-nav-collapse ul.nav.navbar-nav {
	margin-top: 0;
 	-webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.navbar-custom ul.nav li a {
	font-size: 13px;
	letter-spacing: 1px;
    color: #666;
	text-transform: uppercase;
	font-weight: 700;
	background: transparent;
}


.navbar.navbar-custom.top-nav-collapse {
	background: #fff;
	
}

.navbar.navbar-custom.top-nav-collapse .navigation {
	padding-bottom: 10px;
}

.navbar-custom.top-nav-collapse ul.nav li a {
	-webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
	color: #444;
}

.navbar-custom ul.nav ul.dropdown-menu {
	border-radius: 0;	
	margin-top: 16px;
}

.navbar-custom ul.nav ul.dropdown-menu li {
	border-bottom: 1px solid #f5f5f5;

}

.navbar-custom ul.nav ul.dropdown-menu li:last-child{
	border-bottom: none;
}

.navbar-custom ul.nav ul.dropdown-menu li a {
	padding: 10px 20px;
	font-size: 13px;
	text-transform: uppercase;
}

.navbar-custom ul.nav ul.dropdown-menu li a:hover {
	background: #fefefe;
}

.navbar-custom.top-nav-collapse ul.nav ul.dropdown-menu li a {
	color: #666;
}

.navbar-custom .nav li a:hover,.navbar-custom .nav li a:focus  {
    -webkit-transition: background .3s ease-in-out;
    -moz-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
}



.navbar-custom.navbar-fixed-top .nav li a:hover,
.navbar-custom.navbar-fixed-top .nav li a:focus,
.navbar-custom.navbar-fixed-top .nav li.active a,
.navbar-custom.navbar-fixed-top .nav li.active {
    outline: 0;
	background: none;
}
.navbar-custom.top-nav-collapse .nav li a:hover,
.navbar-custom.top-nav-collapse .nav li a:focus,
.navbar-custom.top-nav-collapse .nav li.active {
    outline: 0;
    background-color: rgba(255,255,255,.2);
}

.navbar-toggle {
    padding: 4px 6px;
    font-size: 14px;
    color: black;
}

.navbar-custom .navbar-toggle .icon-bar {
    background-color: #000;
}

.navbar-toggle:focus,
.navbar-toggle:active {
    outline: 0;
}

/***************************************************************************/


/* scroll to top */
.scrollup{
    position:fixed;
	width:32px;
	height:32px;
    bottom:0px;
    right:20px;
	background: #222;
    -webkit-border-radius: 2px 2px 0 0;	
	-moz-border-radius: 2px 2px 0 0;	
	border-radius:  2px 2px 0 0;	
    z-index: 10000;
}

@media (max-width: 990px) {
    .scrollup{
        bottom:60px;
    }
}

a.scrollup {
	outline:0;
	text-align: center;
}

a.scrollup:hover,a.scrollup:active,a.scrollup:focus {
	opacity:1;
	text-decoration:none;
}
a.scrollup i {
	margin-top: 10px;
	color: #fff;
}
a.scrollup i:hover {
	text-decoration:none;
}

.company-social li{
	margin:0;
	padding:0;
	display: inline-block;
}

.company-social a{
	margin:0 2px 0 0;
}

.company-social a:hover {
    color: #fff;
}

.company-social a {
	width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
	color: #fff;
    -webkit-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
	text-align: center;
	border-radius: 3px;
	padding:0;
    font-weight: bolder;
}

.company-social .social-facebook a {
    padding: 14px 18px;
    background: #3873ae;
}
.company-social .social-facebook a:hover {
    padding: 14px 18px;
    background: #4893ce;
}


.map-placeholder {
  background: #f5f5f5;
  padding: 30px;
  text-align: center;
  border-radius: 6px;
}
.map-placeholder button {
  margin-top: 15px;
  padding: 10px 20px;
  background: #1f2a33;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

/*********************************************************************************
***************    Codice per visualizzare il menu mobile da 1024px  *************
*********************************************************************/

/* ===============================
   BOOTSTRAP 3 – BREAKPOINT 1024px
   =============================== */

@media (max-width: 1024px) {

  /* Mostra bottone hamburger */
  .navbar-toggle {
    display: block;
  }

  /* Nasconde menu orizzontale */
  .navbar-collapse {
    border-top: 1px solid #e7e7e7;
    box-shadow: none;
  }

  .navbar-collapse.collapse {
    display: none !important;
  }

  /* Menu aperto */
  .navbar-collapse.collapse.in {
    display: block !important;
  }

  /* Disposizione verticale */
  .navbar-nav {
    float: none !important;
  }

  .navbar-nav > li {
    float: none;
  }

  .navbar-nav > li > a {
    padding-top: 14px;
    padding-bottom: 14px;
  }

}

/* ===============================
   DESKTOP > 1024px
   =============================== */

@media (min-width: 1025px) {

  .navbar-toggle {
    display: none;
  }

  .navbar-collapse {
    display: block !important;
    height: auto !important;
  }

}

@media (max-width: 1024px) {

  /* non toccare il brand */
  .navbar-header {
    width: 100%;
    position: relative;
  }

  /* forza il toggle all'estrema destra */
  .navbar-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    float: none;
    z-index: 3;
  }

}


/*********************************************************************************/