body,
html {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  text-align: right;

}

hr {
  max-width: 50px;
  border-width: 3px;
  border-color: #F05F40;
}

hr.light {
  border-color: #fff;
}

a {
  color: #fff;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}

a:hover {
  color: #ccc;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Roboto', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  color: #000;
}
. colore {
  color: #000;

}


.bg-primary {
  background-color: #F05F40 !important;
}

.bg-dark {
  background-color: #212529 !important;
}

.text-faded {
  color: #000;
  text-align: right;

}


.text-faded-left {
  color: #000;
  text-align: left;

}

section {
  padding: 8rem 0;
}

.section-heading {
  margin-top: 0;
}

::-moz-selection {
  color: #fff;
  background: #212529;
  text-shadow: none;
}

::selection {
  color: #fff;
  background: #212529;
  text-shadow: none;
}

img::selection {
  color: #fff;
  background: transparent;
}

img::-moz-selection {
  color: #fff;
  background: transparent;
}

#mainNav {
  border-bottom: 1px solid rgba(33, 37, 41, 0.1);
  background-color: #fff;
  font-family: 'Roboto', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}

#mainNav .navbar-brand {
  font-weight: 700;
  text-transform: uppercase;
  color: #F05F40;
  font-family: 'Roboto', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

#mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
  color: #f05f40;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #212529;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
  color: #F05F40;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link.active,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active {
  color: #F05F40 !important;
  background-color: transparent;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active:hover {
  background-color: transparent;
}

@media (min-width: 992px) {
  #mainNav {
    border-color: transparent;
    background-color: transparent;
  }
  #mainNav .navbar-brand {
    color: rgba(255, 255, 255, 0.7);
  }
  #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
    color: #fff;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link {
    padding: 0.5rem 1rem;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
    color: rgba(255, 255, 255, 0.7);
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
    color: #fff;
  }
  #mainNav.navbar-shrink {
    border-bottom: 1px solid rgba(33, 37, 41, 0.1);
    background-color: #fff;
  }
  #mainNav.navbar-shrink .navbar-brand {
    color: #F05F40;
  }
  #mainNav.navbar-shrink .navbar-brand:focus, #mainNav.navbar-shrink .navbar-brand:hover {
    color: #f05f40;
  }
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link,
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus {
    color: #212529;
  }
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:hover,
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus:hover {
    color: #F05F40;
  }
}

header.istituzionale {
  padding-top: 10rem;
/*  padding-bottom: calc(10rem - 56px);*/
  background-image: url("../img/header.jpg");
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

header.istituzionale hr {
  margin-top: 30px;
  margin-bottom: 30px;
}

header.istituzionale h1 {
  font-size: 1,3rem;
}

header.istituzionale p {
  font-weight: 300;
}


header.istituzionale {
  padding-top: 10rem;
/*  padding-bottom: calc(10rem - 56px);*/
  background-image: url("../img/header-istituzionale.jpg");
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

header.masthead hr {
  margin-top: 30px;
  margin-bottom: 30px;
}

header.masthead h1 {
  font-size: 1,3rem;
}

header.masthead p {
  font-weight: 300;
}






header.si hr {
  margin-top: 30px;
  margin-bottom: 30px;
}

header.si h1 {
  font-size: 1,3rem;
}

header.si p {
  font-weight: 300;
}


header.si {
  padding-top: 10rem;
/*  padding-bottom: calc(10rem - 56px);*/
  background-image: url("../img/header-istituzionale.jpg");
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}





@media (min-width: 300px) {
  .logo {
     position: absolute;
    right: 0rem;

    width: auto;
    color: #fff;
    width: 300px;
    text-align: left;
    padding-top: 2rem;
  }
  header.masthead {
    padding-top: 10rem;
  /*  padding-bottom: calc(10rem - 56px);*/
    background-image: url("../img/header.jpg");
    background-position: left center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }


  header.istituzionale p {
    font-size: 1,3rem;

  }

  header.si p {
    font-size: 1,3rem;

  }

  .bg  {
    /*padding-top: 290px; */
    padding-top: 10px;;


  }


  .bg2  {
    /*padding-top: 290px; */

      font-size: 2rem;

  }
  .DiamindSei {
    /*padding-top: 290px; */
    padding-top: 100px;
    font-size: 3rem;
    margin-bottom: 130px;
    font-weight: lighter;

  }

  .DiamindSei b {
    font-weight: bold;
  }

  header.istituzionale {
    padding-top: 0rem;
  /*  padding-bottom: calc(10rem - 56px);*/
    background-image: url("../img/header-istituzionale.jpg");
    background-position: left center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }



  header.istituzionale p {
    font-size: 1,3rem;

  }
    header.si {
    padding-top: 0rem;
  /*  padding-bottom: calc(10rem - 56px);*/
    background-image: url("../img/header-si.jpg");
    background-position: left center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }



  header.si p {
    font-size: 1,3rem;

  }
  /* menu */
	.menu {
	  position: absolute;
	  margin-bottom: 10;
	  padding: 10px;
	  background-color: #000;

	}

	.menu ul {
	  margin-top: 2rem;
	  width: 100%;
	  text-align: center;
	}

	.menu ul > li {
	  margin-left: 1rem;
	  margin-right: 1rem;
	  display: inline-block;
	}

	.menu ul > li > a {
	  display: block;
	  color: white;
	  background-color: #000;
	  border-radius: 100%;
	  font-size: 1.5rem;
	  line-height: 4rem;
	  height: 3rem;
	  width: 10rem;
	}

}


@media (min-width: 468px) {
  .logo {
     position: absolute;
    right: 0rem;

    width: auto;
    color: #fff;
    width: 300px;
    text-align: left;
    padding-top: 2rem;


  }
  header.masthead {
    padding-top: 10rem;
  /*  padding-bottom: calc(10rem - 56px);*/
    background-image: url("../img/header.jpg");
    background-position: left center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }


  header.masthead p {
    font-size: 1,3rem;

  }
  .bg  {
    /*padding-top: 290px; */
    padding-top: 10px;;


  }
  header.istituzionale {
    /*padding-top: 15rem;*/
    padding-top: 0rem;
  /*  padding-bottom: calc(10rem - 56px);*/
    background-image: url("../img/header-istituzionale.jpg");
    background-position: left center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }


  header.istituzionale p {
    font-size: 1,3rem;

  }
  header.si {
    padding-top: 5rem;
  /*  padding-bottom: calc(10rem - 56px);*/
    background-image: url("../img/header-si.jpg");
    background-position: left center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }


  header.si p {
    font-size: 1,3rem;

  }
  /* menu */
	.menu {
	  position: absolute;
	  margin-bottom: 10;
	  padding: 10px;
	  background-color: #000;

	}

	.menu ul {
	  margin-top: 2rem;
	  width: 100%;
	  text-align: center;
	}

	.menu ul > li {
	  margin-left: 1rem;
	  margin-right: 1rem;
	  display: inline-block;
	}

	.menu ul > li > a {
	  display: block;
	  color: white;
	  background-color: #000;
	  border-radius: 100%;
	  font-size: 1.5rem;
	  line-height: 4rem;
	  height: 3rem;
	  width: 10rem;
	}

}

@media (min-width: 992px) {
  .logo {
   margin: 0;
    position: absolute;
    right: 2.5rem;
    top: 2rem;
    width: auto;
    color: #fff;


  }
  header.masthead {
    height: 100vh;
    min-height: 650px;
    padding-top: 0;
    padding-bottom: 0;
  }
  header.masthead h1 {
    font-size: 1,6rem;
  }
  .bg  {
    /*padding-top: 290px; */
    padding-top: 150px;;


  }
  header.istituzionale {
    height: 100vh;
    min-height: 650px;
    padding-top: 0;
    padding-bottom: 0;
  }
  header.istituzionale h1 {
    font-size: 1,6rem;
  }
   header.si {
    height: 100vh;
    min-height: 650px;
    padding-top: 0;
    padding-bottom: 0;
  }
  header.si h1 {
    font-size: 1,6rem;
  }
}
@media (min-width: 1000px) {
  .logo {
	 position: absolute;
    right: 0rem;

    width: auto;
    color: #fff;
    width: 300px;
    text-align: left;
    padding-top: 2rem;

  }
  header.masthead {
    height: 100vh;
    min-height: 650px;
    padding-top: 0;
    padding-bottom: 0;
  }
  header.masthead h1 {
    font-size: 2rem;
  }
  .bg  {
    /*padding-top: 290px; */
    padding-top: 150px;;


  }
  header.istituzionale {
    height: 100vh;
    min-height: 650px;
    padding-top: 0;
    padding-bottom: 0;
  }
  header.istituzionale h1 {
    font-size: 2rem;
  }
  header.si {
    height: 100vh;
    min-height: 650px;
    padding-top: 0;
    padding-bottom: 0;
  }
  header.si h1 {
    font-size: 2rem;
  }
}

@media (min-width: 1200px) {
  .logo {
	  position: absolute;
    right: 0rem;

    width: auto;
    color: #fff;
    width: 300px;
    text-align: left;
    padding-top: 2rem;

  }
  header.masthead h1 {
    font-size: 2,4rem;
  }
  .bg  {
    /*padding-top: 290px; */
    padding-top: 150px;;


  }
  header.istituzionale h1 {
    font-size: 2,4rem;
  }
}

.service-box {
  max-width: 400px;
}

.portfolio-box {
  position: relative;
  display: block;
  max-width: 650px;
  margin: 0 auto;
}

.portfolio-box .portfolio-box-caption {
  position: absolute;
  bottom: 0;
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  opacity: 0;
  color: #fff;
  background: rgba(240, 95, 64, 0.9);
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  text-align: center;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category,
.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
  padding: 0 15px;
  font-family: 'Roboto', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
  font-size: 18px;
}

.portfolio-box:hover .portfolio-box-caption {
  opacity: 1;
}

.portfolio-box:focus {
  outline: none;
}

@media (min-width: 768px) {
  .logo {
     position: absolute;
    right: 0rem;

    width: auto;
    color: #fff;
    width: 300px;
    text-align: left;
    padding-top: 2rem;

  }
  .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
    font-size: 16px;
  }
  .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
    font-size: 22px;
  }
}

.text-primary {
  color: #F05F40 !important;
}

.btn {
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 300px;
  font-family: 'Roboto', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.btn-xl {
  padding: 1rem 2rem;
}

.btn-primary {
  background-color: #F05F40;
  border-color: #F05F40;
  margin: 8px;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  color: #fff;
  background-color: #ee4b28 !important;

}

.btn-primary:active, .btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(240, 95, 64, 0.5) !important;
}



@media (min-width: 768px) {
  .logo {
     position: absolute;
    right: 0rem;

    width: auto;
    color: #fff;
    width: 300px;
    text-align: left;
    padding-top: 2rem;

  }


 .menu {

    position: absolute;
    right: 0rem;
    top: 20rem;
    width: auto;
    color: #fff;
    width: 300px;
    text-align: left;
    padding-top: 2rem;

  }
  .menu ul {
    margin-top: 0;
    width: auto;
  }
  .menu ul > li {
    display: block;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0rem;
  }
  .menu > li:last-child {
    margin-bottom: 0;
  }
  .menu ul > li > a {
    transition: all 0.2s ease-in-out;
    font-size: 1.3rem;
    line-height: 1rem;
    height: 2rem;
    width: 15rem;
  }
  .menu ul > li > a:hover {

  }
}



.masthead {
  position: relative;
  overflow: hidden;
  padding-bottom: 3rem;
}

.masthead .masthead-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  min-height: 35rem;
  height: 100%;
  background-color: rgba(0, 46, 102, 0.8);
  transform: skewY(4deg);
  transform-origin: bottom right;
}

.masthead .masthead-content h1 {
  font-size: 2.5rem;
}

.masthead .masthead-content p {
  font-size: 1.2rem;
}

.masthead .masthead-content p strong {
  font-weight: 700;
}

.masthead .masthead-content .input-group-newsletter input {
  font-size: 1rem;
  padding: 1rem;
}

.masthead .masthead-content .input-group-newsletter button {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 1rem;
}




/* social */


.social-icons {
  position: absolute;
  margin-bottom: 2rem;
  width: 100%;
}

.social-icons ul {
  margin-top: 2rem;
  width: 100%;
  text-align: center;
}

.social-icons ul > li {
  margin-left: 1rem;
  margin-right: 1rem;
  display: inline-block;
}

.social-icons ul > li > a {
  display: block;
  color: white;
  background-color: rgba(0, 46, 102, 0.8);
  border-radius: 100%;
  font-size: 2rem;
  line-height: 4rem;
  height: 4rem;
  width: 4rem;
}

@media (min-width: 768px) {
  .social-icons {
    margin: 0;
    position: absolute;
    right: 2.5rem;
    bottom: 2rem;
    width: auto;
  }
  .social-icons ul {
    margin-top: 0;
    width: auto;
  }
  .social-icons ul > li {
    display: block;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 2rem;
  }
  .social-icons ul > li:last-child {
    margin-bottom: 0;
  }
  .social-icons ul > li > a {
    transition: all 0.2s ease-in-out;
    font-size: 2rem;
    line-height: 4rem;
    height: 4rem;
    width: 4rem;
  }
  .social-icons ul > li > a:hover {
    background-color: #002E66;
  }
  .logo {
     position: absolute;
    right: 0rem;

    width: auto;
    color: #fff;
    width: 300px;
    text-align: left;
    padding-top: 2rem;
  }




}



.masthead {
  position: relative;
  overflow: hidden;
  padding-bottom: 3rem;
}

.masthead .masthead-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  min-height: 35rem;
  height: 100%;
  background-color: rgba(0, 46, 102, 0.8);
  transform: skewY(4deg);
  transform-origin: bottom right;
}

.masthead .masthead-content h1 {
  font-size: 2.5rem;
}

.masthead .masthead-content p {
  font-size: 1.2rem;
}

.masthead .masthead-content p strong {
  font-weight: 700;
}

.masthead .masthead-content .input-group-newsletter input {
  font-size: 1rem;
  padding: 1rem;
}

.masthead .masthead-content .input-group-newsletter button {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 1rem;
}


#footer {
  padding: 0;
  margin: 0;
  clear: left;
  margin-top: 90px;

}
