/*!
 * Start Bootstrap - Grayscale v3.3.7+1 (http://startbootstrap.com/template-overviews/grayscale)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */
body {
  width: 100%;
  height: 100%;
  font-family: Lato,'Helvetica Neue',Helvetica,Arial,sans-serif;
  color: #333;
  background-color: #fff;
}
html {
  width: 100%;
  height: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 10px;
  /*text-transform: uppercase;*/
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -.028em;
  line-height: 1.04;
  font-size: 27px;
}
p {
  margin: 0 0 25px;
  font-size: 18px;
  line-height: 1.5;
}

small{
  font-size: 70%;
}

@media only screen and (min-width: 768px) {
  p {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.6;
  }
}

a {
  color: #0b73af;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
a:hover,
a:focus {
  text-decoration: none;
  color: #1b8bcb;
}
.light {
  font-weight: 400;
}
.navbar-custom {
  margin-bottom: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #2C3E50;
}
.navbar-custom .navbar-toggle {
  color: white;
  background-color: rgba(255, 255, 255, 0.2);
  font-size: 12px;
}

.navbar-custom .navbar-toggle:focus,
.navbar-custom .navbar-toggle:active {
  outline: none;
}

.navbar-custom .navbar-brand {
  font-weight: 700;
}
.navbar-custom .navbar-brand:focus {
  outline: 0;
}
.navbar-custom a {
  color: white;
}
.navbar-custom .nav li a {
  -webkit-transition: background 0.3s ease-in-out;
  -moz-transition: background 0.3s ease-in-out;
  transition: background 0.3s ease-in-out;
}
.navbar-custom .nav li a:hover {
  color: rgba(255, 255, 255, 0.8);
  outline: none;
  background-color: transparent;
}
.navbar-custom .nav li a:focus,
.navbar-custom .nav li a:active {
  outline: none;
  background-color: transparent;
}
.navbar-custom .nav li.active {
  outline: none;
}
.navbar-custom .nav li.active a {
  background-color: rgba(255, 255, 255, 0.3);
}
.navbar-custom .nav li.active a:hover {
  color: white;
}

@media only screen and (min-width: 768px) {
  .navbar-custom {
    padding: 20px 0;
    /*border-bottom: none;*/
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
    background: transparent;
    -webkit-transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
    -moz-transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
    transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
  }
  .navbar-custom.top-nav-collapse {
    padding: 0;
    background: #2C3E50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }

}

.intro-banner {
  height: 272px;
}

.intro-banner>img {
  width: 92%;
  max-width: 1119px;
}

@media only screen and (max-width: 767px) {
  .intro-banner {
    width: 100%;
    max-width: 333px;
    height: 300px;
    background-image: url(../img/newportal.mobile.png);
    margin: 31px auto 0;
    box-shadow: 0 20px 50px 0 rgba(0,0,0,.05), 0 4px 8px 0 rgba(0,0,0,.18), 0 20px 40px 0 rgba(0,0,0,.21);
    border-radius: 4px 4px 0 0;
    overflow: hidden;
  }
  .intro-banner>img {
    display: none;
  }

}

.intro {
  display: table;
  width: 100%;
  height: auto;
  padding: 100px 0 0;
  text-align: center;
  color: white;
  background: url(../img/sfondo.svg#SVGID_2) no-repeat bottom center scroll, linear-gradient(-35deg,#008BCB,#1d5086);
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}
.intro .intro-body {
  display: table-cell;
  vertical-align: middle;
}
.intro .intro-body .brand-heading {
  font-size: 40px;
}
.intro .intro-body .intro-text {
  font-size: 18px;
  color: white; /*#525252;*/
}
@media only screen and (min-width: 768px) {

  .intro {
    /*height: 100%;*/
    padding: 150px 0 0 0;
  }
  .intro .intro-body .brand-heading {
    font-size: 100px;
  }
  .intro .intro-body .intro-text {
    font-size: 26px;
    color: white; /*#525252;*/
  }
}
.btn-circle {
  width: 70px;
  height: 70px;
  margin-top: 15px;
  padding: 7px 16px;
  border: 2px solid white;
  border-radius: 100% !important;
  font-size: 40px;
  color: white;
  background: transparent;
  -webkit-transition: background 0.3s ease-in-out;
  -moz-transition: background 0.3s ease-in-out;
  transition: background 0.3s ease-in-out;
}
.btn-circle:hover,
.btn-circle:focus {
  outline: none;
  color: white;
  background: rgba(255, 255, 255, 0.1);
}
.btn-circle i.animated {
  -webkit-transition-property: -webkit-transform;
  -webkit-transition-duration: 1s;
  -moz-transition-property: -moz-transform;
  -moz-transition-duration: 1s;
}
.btn-circle:hover i.animated {
  -webkit-animation-name: pulse;
  -moz-animation-name: pulse;
  -webkit-animation-duration: 1.5s;
  -moz-animation-duration: 1.5s;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  -moz-animation-timing-function: linear;
}
@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
@-moz-keyframes pulse {
  0% {
    -moz-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -moz-transform: scale(1.2);
    transform: scale(1.2);
  }
  100% {
    -moz-transform: scale(1);
    transform: scale(1);
  }
}
.content-section {
  background: #0b73af;
  color: #fff;
}

.about-section {
  width: 100%;
  color: #333;
  /*background: url(../img/downloads-bg.jpg) no-repeat center center scroll;*/
  background-color: #fff;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}

section {
  padding: 80px 0;
}

.btn {
  /*text-transform: uppercase;*/
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  /*border-radius: 0;*/
}
.btn-default {
  border: 1px solid #42DCA3;
  color: #42DCA3;
  background-color: transparent;
}
.btn-default:hover,
.btn-default:focus {
  border: 1px solid #42DCA3;
  outline: none;
  color: black;
  background-color: #42DCA3;
}
ul.banner-social-buttons {
  margin-top: 0;
}

@media only screen and (max-width: 1199px) {

  ul.banner-social-buttons {
    margin-top: 15px;
  }
  .menusx {
    display: none;
  }
}

.banner-container {
  height: 270px;
  overflow: hidden;
}
.banner-container>img {
  width: 90%;
  max-width: 1050px;
}

@media only screen and (max-width: 767px) {
  ul.banner-social-buttons li {
    display: block;
    margin-bottom: 20px;
    padding: 0;
  }
  ul.banner-social-buttons li:last-child {
    margin-bottom: 0;
  }
}

.floating-label-form-group {
  position: relative;
  margin-bottom: 0;
  padding-bottom: .5em;
  border-bottom: 1px solid #eee
}

.floating-label-form-group input,.floating-label-form-group textarea {
  z-index: 1;
  position: relative;
  padding-right: 0;
  padding-left: 0;
  border: none;
  border-radius: 0;
  font-size: 1.5em;
  background: 0 0;
  box-shadow: none!important;
  resize: none
}

.floating-label-form-group label {
  display: block;
  z-index: 0;
  position: relative;
  top: 2em;
  margin: 0;
  font-size: .85em;
  line-height: 1.764705882em;
  vertical-align: middle;
  vertical-align: baseline;
  opacity: 0;
  -webkit-transition: top .3s ease,opacity .3s ease;
  -moz-transition: top .3s ease,opacity .3s ease;
  -ms-transition: top .3s ease,opacity .3s ease;
  transition: top .3s ease,opacity .3s ease
}

.floating-label-form-group:not(:first-child) {
  padding-left: 14px;
  border-left: 1px solid #eee
}

.floating-label-form-group-with-value label {
  top: 0;
  opacity: 1
}

.floating-label-form-group-with-focus label {
  color: #18BC9C
}

form .row:first-child .floating-label-form-group {
  border-top: 1px solid #eee
}
footer {
  color: white;
}
footer h3 {
  margin-bottom: 30px;
}
footer .footer-above {
  padding-top: 50px;
  background-color: #2C3E50;
}
footer .footer-col {
  margin-bottom: 50px;
}
footer .footer-below {
  padding: 25px 0;
  background-color: #233140;
}

.white{
  color: white;
  border-color: white;
}
.blue {
  color:  #0b73af;
  border-color: #0b73af;
}
.blue:hover,
.blue:focus,
.blue:active {
  color: white;
  background: #0b73af;
  border-color: #0b73af;
}
.btn-outline {
  font-size: 20px;
  border: 2px solid;
  background: transparent;
  transition: all 0.3s ease-in-out;
  margin-top: 15px;
}
.white:hover,
.white:focus,
.white:active {
  color: #0b73af;
  background: white;
  border-color: #0b6599;
}

.grey, .grey:focus{
  color: #9fa3a6;
  border-color: #9fa3a6;
}

.grey:hover,
.grey:active {
  color: white;
  background: #9fa3a6;
  border-color: #9fa3a6;
}

.btn-social {
  display: inline-block;
  height: 50px;
  width: 50px;
  /*border: 2px solid white;*/
  border-radius: 100%;
  text-align: center;
  font-size: 20px;
  line-height: 45px;
}

body {
  -webkit-tap-highlight-color: rgba(255,255,255,.2)
}

/* ============ header ============ */

header h2 {
  font-size: 1.38889em;
  color: #3d4449;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 5px!important;
}

header.major {
  border-bottom: solid 3px #f56a6a; /*#f56a6a;*/
  display: inline-block;
  margin: 0 0 20px 15px;
  padding: 0 0.75em 0 0;
}

/* ============ General ============ */

a.image {
  overflow: hidden;
}

.image {
  border-radius: 0.375em;
  border: 0;
  display: inline-block;
  position: relative;
}

a.image img {
  -moz-transition: -moz-transform 0.2s ease;
  -webkit-transition: -webkit-transform 0.2s ease;
  -ms-transition: -ms-transform 0.2s ease;
  transition: transform 0.2s ease;
}

.image img {
  border-radius: 0.375em;
  display: block;
}

.image.left {
  float: left;
  margin: 0 1.5rem 0 0;
  top: 0.25rem;
}

.image.right {
  float: right;
  margin: 0 0 1rem 1.5rem;
  top: 0.25rem;
}

.image.left, .image.right {
  width: 40%;
  max-width: 10rem;
}

.image.left img, .image.right img {
  width: 100%;
}

menu, ol, ul {
  padding: 0;
  list-style: none;
  list-style-image: none;
  margin: 0;
}
li.block-hover {
  display: block!important;
}


/* ============ Mini Posts ============ */

.mini-posts {
  margin: 0 15px;
}

.mini-posts article {
  border-top: solid 1px rgba(210, 215, 217, 0.75);
  margin-top: 2em;
  padding-top: 2em;
}

.mini-posts article .image {
  display: block;
  margin: 0 0 1.5em 0;
}

.mini-posts article .image img {
  display: block;
  width: 100%;
}

.mini-posts article:first-child {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.mini-posts article p {
  color: #7f888f;
  margin: 0 0 1em 0;
  font-size: 100%;
}

/* ============ Posts ============ */
.posts {
  /*display: -moz-flex;*/
  /*display: -webkit-flex;*/
  /*display: -ms-flex;*/
  /*display: flex;*/
  /*-moz-flex-wrap: wrap;*/
  /*-webkit-flex-wrap: wrap;*/
  /*-ms-flex-wrap: wrap;*/
  /*flex-wrap: wrap;*/
  /*margin: 0 0 2em -6em;*/
  /*width: calc(100% + 6em);*/
}
.posts article {
  -moz-flex-grow: 0;
  -webkit-flex-grow: 0;
  -ms-flex-grow: 0;
  flex-grow: 0;
  -moz-flex-shrink: 1;
  -webkit-flex-shrink: 1;
  -ms-flex-shrink: 1;
  flex-shrink: 1;
  margin: 0 0 6em 6em;
  position: relative;
  width: calc(33.33333% - 6em);
}

.posts article:before {
  background: rgba(210, 215, 217, 0.75);
  content: '';
  display: block;
  height: calc(100% + 6em);
  left: -3em;
  position: absolute;
  top: 0;
  width: 1px;
}

.posts article:after {
  background: rgba(210, 215, 217, 0.75);
  bottom: -3em;
  content: '';
  display: block;
  height: 1px;
  position: absolute;
  right: 0;
  width: calc(100% + 6em);
}

.posts article > :last-child {
  margin-bottom: 0;
}

.posts article .image {
  display: block;
  margin: 0 0 2em 0;
}

.posts article .image img {
  display: block;
  width: 100%;
}
.posts .btn-outline {
  margin-top: 0;
}

.posts article p {
  color: #7f888f;
  margin: 0 0 1.5em 0;
  font-size: 120%;
}

.posts article h3 {
  margin: 0 0 0.5em 0;
  font-size: 22px;
}

.video-responsive{
  overflow:hidden;
  padding-bottom:56.25%;
  position:relative;
  height:0;
}
.video-responsive iframe{
  left:0;
  top:0;
  height:100%;
  width:100%;
  position:absolute;
}

@media screen and (min-width: 1681px) {

  .posts article:nth-child(3n + 1):before {
    display: none;
  }

  .posts article:nth-child(3n + 1):after {
    width: 100%;
  }

  .posts article:nth-last-child(1), .posts article:nth-last-child(2), .posts article:nth-last-child(3) {
    margin-bottom: 0;
  }

  .posts article:nth-last-child(1):before, .posts article:nth-last-child(2):before, .posts article:nth-last-child(3):before {
    height: 100%;
  }

  .posts article:nth-last-child(1):after, .posts article:nth-last-child(2):after, .posts article:nth-last-child(3):after {
    display: none;
  }

}

@media screen and (max-width: 1680px) {

  .posts article {
    width: calc(50% - 6em);
  }

  .posts article:nth-last-child(3) {
    margin-bottom: 6em;
  }

}

@media screen and (min-width: 481px) and (max-width: 1680px) {

  .posts article:nth-child(2n + 1):before {
    display: none;
  }

  .posts article:nth-child(2n + 1):after {
    width: 100%;
  }

  .posts article:nth-last-child(1), .posts article:nth-last-child(2) {
    margin-bottom: 0;
  }

  .posts article:nth-last-child(1):before, .posts article:nth-last-child(2):before {
    height: 100%;
  }

  .posts article:nth-last-child(1):after, .posts article:nth-last-child(2):after {
    display: none;
  }

}

@media screen and (max-width: 736px) {

  .posts {
    margin: 0 0 2em -4.5em;
    width: calc(100% + 4.5em);
  }

  .posts article {
    margin: 0 0 4.5em 4.5em;
    width: calc(50% - 4.5em);
  }

  .posts article:before {
    height: calc(100% + 4.5em);
    left: -2.25em;
  }

  .posts article:after {
    bottom: -2.25em;
    width: calc(100% + 4.5em);
  }

  .posts article:nth-last-child(3) {
    margin-bottom: 4.5em;
  }

}

@media screen and (max-width: 480px) {

  .posts {
    margin: 0 0 2em 0;
    width: 100%;
  }

  .posts article {
    margin: 0 0 4.5em 0;
    width: 100%;
  }

  .posts article:before {
    display: none;
  }

  .posts article:after {
    width: 100%;
  }

  .posts article:last-child {
    margin-bottom: 0;
  }

  .posts article:last-child:after {
    display: none;
  }

}

.callout {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  color: white;
}
.callout-danger {
  background-color: #dd4b39;
}
.callout-success {
  background-color: #00a65a;
}

