/* Styles */
html, body {
  height: 100%;
}

body {
  font-family: 'Ubuntu', sans-serif;
  color: #4d4d4d;
}

p {
  font-size: 1.8rem;
}

a:link {
  color: #fff;
  text-decoration: none;
}

a:visited {
  color: #fff;
  text-decoration: none;
}

a:hover {
  color: #fff;
  text-decoration: none;
}

a:active {
  color: #fff;
  text-decoration: none;
}

a.en-btn {
  display: block;
  text-align: center;
  background: red;
  color: #fff;
  font-size: 1.6rem;
  height: 50px;
  line-height: 50px;
}

p.en-note {
  font-size: 1rem;
}

.section-padding {
  padding-top: 60px;
  padding-bottom: 60px;
}

#background-image {
  background: url('../../img/bg.jpg');
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 0;
  min-height: 100%;
  height: auto;
  background-size: auto auto;
}

/* homepage */
.en-hp-section-1 video {
  position: relative;
  width: 100%;
  border: 4px solid #fff;
}

a.en-start {
  width: 150px;
  position: absolute;
  bottom: -20px;
  left: 50%;
  margin-left: -75px;
}

.en-start img {
  width: 150px;
  transition: width 0.6s;
  -webkit-transition: width 0.6s; /* Safari 3.1 to 6.0 */
}

.en-start img:hover {
  width: 160px;
}

/* QA page */
.en-qa-section-1 {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 30px;
}

.en-logo {
  position: fixed;
  width: 200px;
  left: 30px;
  top: 30px;
}

.en-qa-section-1 h1 {
  font-size: 1.7rem;
}

.en-qa-section-1 p {
  font-size: 1.4rem;
}

.en-qa-section-2 {
  position: relative;
  margin-bottom: 10px;
}

img.en-gastone {
  position: absolute;
  left: -210px;
  top: -60px;
  height: 375px;
}

.en-qa-container {
  position: relative;
  height: 380px;
  margin-bottom: 50px;
}

.en-qa-section-3 {
  position: relative;
  margin-bottom: 10px;
}

img.en-lampadina {
  position: absolute;
  right: -175px;
  bottom: -175px;
  height: 160px;
}

.en-bubble-q {
	position: relative;
  background: #000;
  padding-left: 10.6px;
  padding-right: 3px;
  margin-top: 30px;
  margin-bottom: 60px;
}

.en-bubble-text-q {
  background: #fff;
  color: #000;
  font-size: 1rem;
  min-height: 50px;
  padding: 0 30px;
}

.en-bubble-text {
  background: #fff;
  color: #000;
  font-size: 1rem;
  padding: 0 30px 0 50px;
}

.en-bubble-text input {
  margin-left: -20px;
}

img.en-q-bubble-top {
  width: 100%;
  position: absolute;
  top: -42px;
  left: 0;
}

img.en-q-bubble-bottom {
  width: 100%;
  position: absolute;
  bottom: -61px;
  left: 0;
}

.en-bubble-q:after {
  content: '';
	position: absolute;
	left: -20px;
	top: 50%;
	width: 0;
	height: 0;
	border: 10px solid transparent;
	border-right-color: #000;
	border-left: 0;
	margin-top: -10px;
	margin-right: -10px;
}

.en-bubble-a {
  position: relative;
  position: relative;
  background: #000;
  padding-left: 3.5px;
  padding-right: 13.2px;
  margin-top: 30px;
  margin-bottom: 60px;
}

img.en-a-bubble-top {
  width: 100%;
  position: absolute;
  top: -58px;
  left: 0;
}

img.en-a-bubble-bottom {
  width: 100%;
  position: absolute;
  bottom: -48px;
  left: 0;
}

.en-bubble-a:after {
  content: '';
	position: absolute;
	right: -15px;
	bottom: 10px;
	width: 0;
	height: 0;
	border: 10px solid transparent;
	border-left-color: #000;
	border-right: 0;
	margin-top: -10px;
	margin-left: -10px;
}

.en-qa-section-4 {
  width: 100%;
}

.en-explanation {
  position: relative;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.5);
	border-radius: .4em;
  border: 1px solid #000;
  padding: 15px;
  margin-left: 30px;
}

.en-explanation p {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 0;
}

.en-explanation-right {
  position: absolute;
  left: -10px;
  top: -20px;
  font-size: 3.5rem;
  font-weight: bold;
  color: green;
}

.en-explanation-wrong {
  position: absolute;
  left: -15px;
  top: -20px;
  font-size: 3.5rem;
  font-weight: bold;
  color: red;
}

.en-qa-section-5 {
  height: 50px;
}

#en-button-2 {
  display: none;
}

a.en-energetica {
  width: 250px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.en-energetica img {
  width: 250px;
  transition: width 0.6s;
  -webkit-transition: width 0.6s; /* Safari 3.1 to 6.0 */
}

.en-energetica img:hover {
  width: 260px;
}

a.en-avanti {
  width: 250px;
  position: absolute;
  bottom: 0;
  right: 0;
}

.en-avanti img {
  width: 250px;
  transition: width 0.6s;
  -webkit-transition: width 0.6s; /* Safari 3.1 to 6.0 */
}

.en-avanti img:hover {
  width: 260px;
}

/* Result page */
.en-res-container {
  position: relative;
  height: 350px;
  margin-bottom: 0;
}

.en-res-section-1 {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 30px;
}

.en-res-section-1 h1 {
  font-size: 1.6rem;
}

.en-res-section-2 {
  text-align: center;
  margin-bottom: 60px;
}
.en-res-section-2 p {
  font-size: 1.4rem;
}

.en-res-section-2 a {
  color: #4d4d4d;
}

.en-res-section-4 {
  padding-bottom: 60px;
}

.en-res-section-5 {
  height: 200px;
}

a.en-facebook {
  width: 250px;
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -125px;
}

.en-facebook img {
  width: 250px;
  transition: width 0.6s;
  -webkit-transition: width 0.6s; /* Safari 3.1 to 6.0 */
}

.en-facebook img:hover {
  width: 260px;
}

.en-go-to-result {
  background: #FFF26F;
  padding: 15px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  text-transform: uppercase;
  text-align: center;
  margin-top: 15px;
}

.en-go-to-result a {
  color: #000;
}

/* Certificate page */
.en-cer-section-1 {
  text-align: center;
}

.en-cer-section-2 {
  padding-top: 45px;
}

.en-cer-section-2 img {
  display: block;
  margin: 0 auto;
  width: 300px;
}

.en-cer-section-5 {
  height: 200px;
}

.en-cer-input {
  height: 50px;
  width: 100%;
	font-size: 1.2rem;
  border: 1px solid #dedede;
  padding-left: 10px;
  margin-bottom: 15px;
}

.en-cer-form a {
  color: #4d4d4d;
}

.en-cer-form-invia {
	border: none;
	height: 50px;
	width: 100%;
	background: #269AD1;
	color: #fff;
  cursor: pointer;
	text-align: center;
	line-height: 50px;
	font-size: 1.2rem;
	font-weight: 500;
	margin-top: 20px;
}

input[type="checkbox"] {
    margin: 0;
    vertical-align: middle;
}

.error {
  color: red;
  margin-bottom: 15px;
}

#popup-alert {
  display: none;
  font-weight: 700;
  text-align: center;
  color: #FF0000;
  margin-top: 15px;
}

/* footer */
.footer {
  text-align: center;
  padding: 60px 0 20px 0;
}

.footer p {
  font-size: .8rem;
  margin: 0;
}

/* Mobile */
@media only screen and (max-width: 1200px) {
  .en-bubble-q {
    padding-left: 9px;
    padding-right: 2.2px;
  }

  img.en-q-bubble-top {
    top: -35px;
  }

  img.en-q-bubble-bottom {
    bottom: -51px;
  }

  .en-bubble-a {
    padding-left: 3px;
    padding-right: 11px;
  }

  img.en-a-bubble-top {
    top: -49px;
  }

  img.en-a-bubble-bottom {
    bottom: -40px;
  }
}

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

  .en-bubble-text-q {
    font-size: .8rem;
  }

  .en-bubble-text {
    font-size: .8rem;
  }

  .en-bubble-q {
    padding-left: 7px;
    padding-right: 1.6px;
  }

  img.en-q-bubble-top {
    top: -25px;
  }

  img.en-q-bubble-bottom {
    bottom: -37px;
  }

  .en-bubble-a {
    padding-left: 2.3px;
    padding-right: 8px;
  }

  img.en-a-bubble-top {
    top: -36px;
  }

  img.en-a-bubble-bottom {
    bottom: -30px;
  }
}

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

  .en-bubble-q {
    padding-left: 4.7px;
    padding-right: 1.4px;
  }

  img.en-q-bubble-top {
    top: -18px;
  }

  img.en-q-bubble-bottom {
    bottom: -27px;
  }

  .en-bubble-a {
    padding-left: 1.4px;
    padding-right: 6px;
  }

  img.en-a-bubble-top {
    top: -26px;
  }

  img.en-a-bubble-bottom {
    bottom: -21px;
  }
}

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

  .en-qa-section-1 {
    padding-top: 30px;
    padding-bottom: 15px;
  }

  .en-qa-section-1 h1 {
    font-size: 1.2rem;
    margin-bottom: 0;
  }

  .en-res-section-1 {
    padding-top: 30px;
  }

  .en-res-section-1 h1 {
    font-size: 1.4rem;
  }

  .en-qa-container {
    position: relative;
    height: auto;
    margin-top: 0;
    margin-bottom: 10px;
  }

  .en-logo {
    position: relative;
    width: 200px;
    left: auto;
    top: auto;
    margin: 0 auto 30px auto;
  }

  .en-bubble-q {
    width: 300px;
    padding-left: 5.8px;
    padding-right: 1.6px;
    margin: 30px auto 60px auto;
  }

  .en-bubble-q:after {
    display: none;
  }

  img.en-q-bubble-top {
    top: -23px;
  }

  img.en-q-bubble-bottom {
    bottom: -34px;
  }

  .en-bubble-a {
    width: 300px;
    padding-left: 1.8px;
    padding-right: 7.6px;
    margin: 0 auto 60px auto;
  }

  .en-bubble-a:after {
    display: none;
  }

  img.en-a-bubble-top {
    top: -32px;
  }

  img.en-a-bubble-bottom {
    bottom: -27px;
  }

  img.en-gastone {
    display: none;
  }

  img.en-lampadina {
    display: none;
  }

  .en-qa-section-5 {
    height: auto;
  }

  .en-res-section-5 {
    height: auto;
  }

  .en-cer-section-5 {
    height: auto;
  }

  a.en-energetica {
    width: 100%;
    position: relative;
    bottom: auto;
    left: auto;
  }

  .en-energetica img {
    width: 100%;
    transition: width 0.6s;
    -webkit-transition: width 0.6s; /* Safari 3.1 to 6.0 */
  }

  .en-energetica img:hover {
    width: 105%;
  }

  a.en-avanti {
    width: 100%;
    position: relative;
    bottom: auto;
    left: auto;
  }

  .en-avanti img {
    width: 100%;
    transition: width 0.6s;
    -webkit-transition: width 0.6s; /* Safari 3.1 to 6.0 */
  }

  .en-avanti img:hover {
    width: 105%;
  }

  a.en-facebook {
    width: 100px;
    position: absolute;
    bottom: -10px;
    left: 50%;
    margin-left: -50px;
  }

  .en-facebook img {
    width: 100px;
    transition: width 0.6s;
    -webkit-transition: width 0.6s; /* Safari 3.1 to 6.0 */
  }

  .en-facebook img:hover {
    width: 110px;
  }

  .en-cer-section-2 {
    margin-bottom: 30px;
  }

  .en-cer-section-2 img {
    display: none;
  }

}
