
html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Manrope', sans-serif;	
}

@font-face {
    font-family: 'Agrandir-Bold';
    src: url('../font/Agrandir-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Agrandir-Heavy';
    src: url('../font/Agrandir-Heavy.ttf') format('truetype');
}

a {
  color: #f7941e;
  -webkit-transition: all .35s;
  transition: all .35s;
}

a:hover, a:focus {
  color: #fcbd20;
  text-decoration: none;	
}


h1,
h2,
h3,
h4,
h6 {
  font-family: 'Agrandir-Bold';
  color: #f7941e;
  text-transform: uppercase;	
}

h2 {
  font-size: 48px;
  line-height: 52px;
}

h3 {
  font-family: 'Agrandir-Heavy';
    font-size: 46px;
  line-height: 50.6px;	
}

h4 {
  font-family: 'Agrandir-Heavy';
  font-size: 32px;
  line-height: 32.5px;
}

h5{
  font-family: 'Manrope', sans-serif;
  color: #f7941e;
  font-weight: 800;
  text-transform: uppercase;	
}


.h5-border {
  display: block;
  width: 36px;
  height: 3px;
  background: #FFF;
  margin: 10px 0 20px 0;
}

.h2-borderleft {
  border-left: solid 5px #f7941e;
  padding-left: 35px;
  font-size: 56px;
  line-height: 61.6px;
  font-family: 'Agrandir-Heavy';	
}

.h2-borderleft2 {
  border-left: solid 5px #FFF;
  padding-left: 35px;
  font-size: 56px;
  line-height: 61.6px;
  font-family: 'Agrandir-Heavy';
  color: #FFF;	
}

.h2-center {
  text-align: center !important;	
  font-size: 56px;
  line-height: 61.6px;
  font-family: 'Agrandir-Heavy';	
}

.h-border {
    display: block;
    width: 150px;
    height: 5px;
    background: #f7941e;
    margin: 0 0 20px 0;
}


p {
  font-size: 22px;
  line-height: 35.2px;
  margin-bottom: 20px;
}

.black {
  color:#2e3134;
}

.orange {
  color:#f7941e;
}

.beije {
  color:#fef5ea;
}

section {
  padding: 100px 0;
}


.container {
  max-width: 1320px;
}


#mainNav {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
}

#mainNav .navbar-brand {
  color: #fdcc52;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
}

#mainNav.navbar-shrink {
    border-color: rgba(34, 34, 34, 0.1);
    background-color: #f7941e;
  }

#mainNav .navbar-brand:hover, #mainNav .navbar-brand:focus {
  color: #FFFFFF;
}

#mainNav .navbar-toggler {
  font-size: 18px;
  padding: 8px 10px;
  color: #2e3134;
}

#mainNav .navbar-nav > li > a {
  font-size: 14px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}

#mainNav .navbar-nav > li > a.active {
  color: #FFFFFF !important;
  background-color: transparent;
}

#mainNav .navbar-nav > li > a.active:hover {
  background-color: transparent;
}

#mainNav .navbar-nav > li > a,
#mainNav .navbar-nav > li > a:focus {
  color: #2e3134;
}

#mainNav .navbar-nav > li > a:hover,
#mainNav .navbar-nav > li > a:focus:hover {
  color: #bf6800;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1.5rem;
    padding-left: 2rem;
}

.navbar-toggler {
    border: 0px solid transparent; 
}


#accedibt {
    background-color: #df7900;
    padding: 8px 40px;
    margin-left: 2rem;
	border-radius: 90px;
	font-weight: 400;
	color: #FFF !important;
}



header.masthead {
  position: relative;
  width: 100%;
  padding-top: 0;
  padding-bottom: 0;
  color: white;
  background: url("../img/masthead.jpg");	
  background-repeat: no-repeat;
  background-attachment:inherit;
  background-position: top;
}

header.masthead .header-content {
  max-width: 500px;
  margin-bottom: 100px;
  text-align: center;
}

header.masthead .header-content h1 {
  font-size: 30px;
}

header.masthead .device-container {
  max-width: 325px;
  margin-right: auto;
  margin-left: auto;
}

header.masthead .device-container .screen img {
  border-radius: 3px;
}

#logo {
  width: 156px;
}

#logo img {
  width: 100%
}


.btn {
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.btn-outline-warning {
  color: #f7941e;
  border-color: #f7941e;
  padding: 15px 50px;
  border-radius: 243px;
  font-weight: bold;
  border: solid 2px;
}

.btn-outline-light {
  color: #FFF;
  border-color: #FFF;
  padding: 15px 50px;
  border-radius: 243px;
  font-weight: bold;
  border: solid 2px;
}

.btn-outline-light:hover, .btn-outline-light:focus, .btn-outline-light:active, .btn-outline-light.active, .open>.dropdown-toggle.btn-outline-light {
    color: #fff;
    background-color: #fdcc52;
    border-color: #f7941e; 
}




@media (min-width: 992px) {
  header.masthead {
    /*height: 100vh;*/
    min-height: 840px;
    padding-top: 0;
    padding-bottom: 0;
  }
  header.masthead .header-content {
    margin-bottom: 0;
    text-align: left;
  }
  header.masthead .header-content h1 {
    font-size: 50px;
  }
  header.masthead .device-container {
    max-width: 325px;
  }
}

section.rivolto {
  padding: 100px 0 100px 0;
}


section.obiettivo {
  background-color: #fefbf7;
  background-image: url("../img/obiettivo-pezzi-bkg.png");
  font-size: 21px;
  background-repeat: no-repeat;
  background-position: 40% 20%;
  padding: 100px 0 250px 0;	
}


.box-obiettivo{
  background-color: #fef5ea;
  font-size: 19px;
  line-height: 30.4px;
  padding:8%;	
}


section.obiettivo p {
  font-size: 26px;
  border-top: solid #2e3134 1px;
  padding-top: 20px;
  line-height: 41.6px;
}
section.obiettivo .section-heading {
  margin-bottom: 100px;	
}

section.obiettivo .section-heading h2 {
  margin-top: 0;
}

section.obiettivo .section-heading p {
  margin-bottom: 0;
}


section.inchemodo {
  background-color: #f7941e;
  background-image: url("../img/inchemodo-pezzi-bkg.png");
  font-size: 21px;
  background-repeat: no-repeat;
  background-position: top center;
}

section.inchemodo p {
  font-size: 21px;	
}

section.inchemodo ul {
  list-style: none;
  font-weight: 600; 	
}


.modo-box{
  padding: 40px 0;
  border-top: solid 1px #FFF;
  color: #FFF;
  font-size: 19px;
}

.modo-box-ico {
  float: left;
  margin: 0 30px 0 0;
  padding-bottom: 50px;
}


section.digitaltools {
  background-color: #FFF;
  background-image: url("../img/digitaltools-pezzi-bkg.png");
  font-size: 21px;
  background-repeat: no-repeat;
  background-position: top center;
  padding: 100px 0 200px 0;
}

section.accedi {
	background-color: #fdf1e3;
	background-image: url("../img/accedi-bkg.jpg");
	background-position: top center;
	background-repeat: no-repeat;
	padding: 100px 0 0 0;

}

.form-box {
	margin-top:80px;
	padding: 48px 32px;
    border-radius: 16px;
	background-color: #f7941e;
}

.form-control {
	border-radius: 50px;
	height: auto;
	padding: 16px;
}

.form-group {
  margin-bottom: 30px;
}


.other-box {
	margin-top:100px;
	padding: 48px 32px;
    border-radius: 16px;
	background-color: rgba(255,255,255,0.80);
	position: absolute;
	bottom: 0;
}

.assistenza-box {
	margin:100px auto 50px auto;
	padding: 16px 32px;
    border-radius: 29px;
	background-color: #FFF;
	font-weight: 600;
}


.footer {
  background-color: #f7941e;
  padding: 80px 0;	
}



#button-top {
  display: inline-block;
  background-color: #f7941e;
  width: 50px;
  height: 50px;
  text-align: center;
  position: fixed;
  bottom: 30px;
  right: calc((100% - 1600px)/2);
  transition: background-color .3s, 
	opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}
#button-top::after {
  content: "\f062";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}
#button-top:hover {
  cursor: pointer;
  background-color: #fcd5a6;
}
#button-top:active {
  background-color: #f7941e;
}
#button-top.show {
  opacity: 1;
  visibility: visible;
}	

header.masthead {
	padding-bottom: 100px;
}	



@media (min-width: 992px) {
	
	header.masthead {
		padding-top: 0;
		padding-bottom: 100px;
	}	
	
	.cosebox {
	  width: 50%;
	  padding: 10px 0 0 10%;
	  margin-top:97px !important;	
	}

}



@media (max-width: 500px) {
	
	header.masthead {
	  background: url("../img/masthead_mob.jpg");	
	  background-repeat: no-repeat;
	  background-attachment:inherit;
	  background-position: top;
	}
	
	.cosebox {
	  width: 90%;
	  padding: 10px 0 150px 10%;
	  margin-top:97px !important;	
	}
	
	h2 {
	  font-size: 32px;
	  line-height: 36px;
	}
	
	p {
	  font-size: 17px;
	  line-height: 25.5px;
	}
	
	#mainNav {
  		background-color: #f7941e;
	}
	
	#mainNav .navbar-nav {
  	padding-bottom:30px ;
	}
	
	#mainNav .navbar-nav > li > a {
  		text-align: center;
	}
	
	.btn-outline-light {
  	padding: 15px 30px;
	}
	
	#accedibt {
  		margin: auto;
	}
	
	.h2-borderleft {
	  line-height: 40.6px;
	  padding-left: 23px;
	  font-size: 40px;
	}
	
	.h2-borderleft2 {
	  font-size: 40px;
	  line-height: 40.6px;
	}
	
	.img-fluid {
  	margin-bottom: 20px;
	}
	
	h3 {
  	font-size: 32px;
  	line-height: 34.6px;
	}
	
	.h2-center {
   font-size: 40px;
   line-height: 44.6px;
	}
	
	section.rivolto {
  	padding: 100px 0 50px 0;
	}
	
	section.obiettivo {
  	padding: 50px 0 50px 0;
	}
	
	.box-obiettivo {
	 font-size: 16px;
	 line-height: 25.6px;
	}	
	
	section.obiettivo p {
  	font-size: 22px;
  	line-height: 33px;
	}
	
	section.digitaltools {
 	 padding: 50px 0 50px 0;
	}
	
	.form-box {
	  margin-top: 40px;
	}
	
	.other-box {
	margin-top: 40px;	
  	position: relative;
	}
	
	section.accedi {
  	background-position: right 35% bottom -30%;
	}
	
	.assistenza-box {
	margin: 300px 15px 50px 15px;
	text-align: center;
	font-size: 15px;
	}
	
}