/* CSS Responsive Navbar */

/*
* {
  box-sizing: border-box;
}

body {
  margin: 0px;
  font-family: 'segoe ui';
}
*/


.splash {
  background: url("../img/sfondo_ricerca_titolo.jpg") bottom center no-repeat;
  background-size: cover;
  color: #fff;
  margin-bottom: 0 !important;
  overflow: hidden;
  padding-top: 1em !important;
  padding-bottom: 2em !important;
  position: relative;
  text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.4);
  z-index: 1;/*z-index: 9999;*/
  
    -moz-border-radius: 0px;
    -webkit-border-radius: 10px 10px 0px 0px;
    border-radius: 10px 10px 0px 0px; 

    -moz-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);
}

.splash:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #546E7A;
  opacity: 0.8;
  z-index: -1;
}

.logo {
    max-width: 198px;
    margin-bottom: 1em;
}

@media only screen and (max-width: 960px) { .logo {max-width: 160px;} }
@media only screen and (max-width: 564.70588235px) { .logo {max-width: 130px;} } 


.splash h1 { font-size: 3.4rem; }
@media only screen and (max-width: 960px) { .splash h1 { font-size: 5.66666667vw; } }
@media only screen and (max-width: 564.70588235px) { .splash h1 { font-size: 1.5rem; } } 

.splash h2 { font-size: 2rem; }
@media only screen and (max-width: 960px) { .splash h2 { font-size: 3.66666667vw; } }
@media only screen and (max-width: 564.70588235px) { .splash h2 { font-size: 1rem; } } 

.nav-bar-title {
  width: 100%;
  background: #395d7e; /* For browsers that do not support gradients */
  background: -webkit-linear-gradient(left top, #395d7e, #5d5d5d); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(bottom right, #395d7e, #5d5d5d); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(bottom right, #395d7e, #5d5d5d); /* For Firefox 3.6 to 15 */
  background: linear-gradient(to bottom right, #395d7e, #5d5d5d); /* Standard syntax */
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  /*background-color: #302f2a;*/
  position: relative;
}

.nav-bar-title > .header-title{
  font-weight: bold;
  font-size: 22px;
  color: #fff;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.nav-bar {
  height: 53px;
  width: 100%;
  background-color: #4d4d4d;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.nav-bar > .nav-header {
  display: inline;
}

.nav-bar > .nav-header > .nav-title {
  display: inline-block;
  font-size: 22px;
  color: #fff;
  padding: 10px 10px 10px 10px;
}

.nav-bar > .nav-btn {
  display: none;
}

.nav-bar > .nav-links {
  display: inline;
  float: right;
  font-size: 18px;
}

.nav-bar > .nav-links > a {
  display: inline-block;
  padding: 13px 10px 13px 10px;
  text-decoration: none;
  color: #efefef;
}

.nav-bar > .nav-links > a:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.nav-bar > #nav-check {
  display: none;
}

@media (max-width:600px) {
  .nav-bar > .nav-btn {
    display: inline-block;
    position: absolute;
    right: 0px;
    top: 0px;
  }
  .nav-bar > .nav-btn > label {
    display: inline-block;
    width: 50px;
    height: 50px;
    padding: 13px;
  }
  .nav-bar > .nav-btn > label:hover,.nav  #nav-check:checked ~ .nav-btn > label {
    background-color: rgba(0, 0, 0, 0.3);
  }
  .nav-bar > .nav-btn > label > span {
    display: block;
    width: 25px;
    height: 10px;
    border-top: 2px solid #eee;
  }
  .nav-bar > .nav-links {
    position: absolute;
    display: block;
    width: 100%;
    background-color: #333;
    height: 0px;
    transition: all 0.3s ease-in;
    overflow-y: hidden;
    top: 50px;
    left: 0px;
  }
  .nav-bar > .nav-links > a {
    display: block;
    width: 100%;
  }
  .nav-bar > #nav-check:not(:checked) ~ .nav-links {
    height: 0px;
  }
  .nav-bar > #nav-check:checked ~ .nav-links {
    height: calc(100vh - 50px);
    overflow-y: auto;
  }
}