* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.container {
  max-width: 1100px;
}

.alignleft {
  float: right;
}

.alignright {
  float: right;
}

.content {
  margin: 60px auto;
}

.container.content img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container.content p:first-child > img {
  margin-top: -120px;
}

.container.content p {
  font-size: 18px;
  font-family: "Roboto Light", sans-serif;
  line-height: 1.4em;
  color: #333;
  margin: 0 0 30px 0;
}

.container.content h2 {
  font-size: 20px;
  color: #333;
  font-weight: 600;
  margin: 0 0 30px 0;
}

.container.content ul li {
  font-size: 18px;
  font-family: "Roboto Light", sans-serif;
  line-height: 1.4em;
  color: #333;
}

.page-title {
  background: #23323A;
  padding: 35px 0;
}

.page-title h1 {
  font-size: 34px;
  font-family: "Open Sans Condensed", sans-serif;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
}

.counter .container {
  position: relative;
  min-height: 450px;
}

.start-over {
  position: absolute;
  display: block;
  bottom: 30px;
  left: 15px;
  color: #fff;
  text-transform: uppercase;
  font-size: 16px;
  padding: 0 0 0 30px;
  background: url(../images/counter/arrow-left.png) no-repeat left center;
}

.counter {
  background: url(../images/counter/header.jpg) no-repeat center top;
  min-height: 550px;
  padding: 100px 0 0 0;
  background-size: cover;
}

.counter h1 {
  font-size: 42px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
}

.counter .number div {
  display: table;
  background: #fff;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto 20px auto;
}

.counter .number div p {
  display: table-cell;
  vertical-align: middle;
  font-size: 24px;
  text-align: center;
  margin: 0;
  padding: 0;
  color: #333;
  line-height: 1em;
  font-family: "Roboto Light", sans-serif;
}

.counter .result .number div p {
  font-size: 31px;
  color: #28549b;
}

.counter .number div p span {
  display: block;
  font-size: 80px;
  line-height: 1em;
  color: #28549b;
  font-family: "Roboto Black", sans-serif;
}

.counter .result .number div p span {
  font-size: 36px;
  color: #28549b;
}

.question {
  margin-top: 115px;
}

.questions-container {
  position: relative;
  overflow: hidden;
}

.questions-container p {
  color: #fff;
  font-size: 20px;
  font-family: "Roboto Light", sans-serif;
  line-height: 1.3em;
}

/*.questions::after {
  content: " ";
  display: table;
  clear: both;
}*/

.questions input[type="number"] {
  background: #fff;
  border: none;
  border-radius: 5px;
  padding: 15px 20px 14px 20px;
  color: #666;
  font-size: 16px;
  line-height: 1em;
  outline: none;
  width: 100%;
  margin: 60px 0 0 0;
}

.btn {
  background: #FA6500 url(../images/counter/arrow-right.png) no-repeat 90% center;
  display: block;
  border-radius: 5px;
  padding: 15px 20px 15px 20%;
  color: #fff;
  font-weight: 600;
  line-height: 1em;
  text-transform: uppercase;
  font-size: 17px;
  width: 100%;
  margin: 60px 0 30px 0;
}

.start-header, .result-header {
  position: absolute;
  left: 0;
  top: 0;
}

.result-header {
  display: none;
}

.result .orange {
  color: #FA6500;
  font-size: 24px;
}

.result .orange-big {
  font-size: 48px;
  color: #FA6500;
  font-weight: 600;
  line-height: 1em;
  margin-top: 10px;
  text-transform: uppercase;
  font-family: "Roboto Condensed", sans-serif;
}

.result-content, .bad-result, .good-result, .middle-result, .bad-text, .good-text, .middle-text, .good-title, .middle-title, .bad-title {
  display: none;
}

.result-text {
  font-weight: 800;
}

.capsule-container {
  position: relative;
  width: 203px;
  height: 409px;
  display: none;
}

.capsule {
  position: relative;
  width: 203px;
  height: 409px;
  background: url(../images/counter/empty.png) no-repeat center bottom;
  z-index: 1;
  overflow: hidden;
  border-radius: 50%;
}

.capsule-container::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 50%;
  width: 385px;
  height: 83px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background: url(../images/counter/shadow.png) no-repeat center center;
  z-index: 0;
}

.capsule-progress {
  position: absolute;
  width: 100%;
  height: 0;
  left: 0;
  bottom: 0;
  background: url(../images/counter/full.png) no-repeat center bottom;
  z-index: 2;
  -webkit-transition: all 1s ease-in-out;
  -moz-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
}

.line1, .line2, .line3, .line4, .line5 {
  width: 100%;
  height: 16.666666667%;
  border-top: 2px solid rgba(255,255,255,.6);
  position: absolute;
  left: 0;
  z-index: 3;
}

.line1 {
  bottom: 0;
}

.line2 {
  bottom: 16.666666667%;
  width: 110%;
  left: 3%;
}

.line3 {
  bottom: 33.333333334%;
}

.line4 {
  bottom: 50%;
  width: 110%;
  left: 3%;
}

.line5 {
  bottom: 66.666666667%;
}

.line2 > div, .line4 > div {
  position: absolute;
  top: -10px;
  right: -118px;
  color: #fff;
  width: 110px;
  font-family: "Roboto Light", sans-serif;
  font-size: 14px;
  line-height: 1.3em;
}

.line2 > div span, .line4 > div span {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.share-container {
  background: #f8f8f8;
  padding: 70px 0;
}

.share-container .btn {
  background: #FA6500 url(../images/counter/arrow-right.png) no-repeat 90% center;
  padding: 15px 30px 15px 15%;
  margin: 0 0 30px 0;
}

.share-container h1 {
  color: #000;
  text-transform: uppercase;
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 30px 0;
}

.share-container .icon {
  width: 53px;
  height: 49px;
  display: inline-block;
  margin: 0 5px 0 0;
}

.share-container .icon.twitter {
  background: url(../images/counter/twitter.png) no-repeat left top;
}

.share-container .icon.facebook {
  background: url(../images/counter/facebook.png) no-repeat left top;
}

.overlay {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 1000;
  background-color: rgba(35, 50, 58, 0.7);
  display: none;
}

.overlay .overlay-container {
  background-color: white;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  margin-top: 100px;
}

@media only screen and (max-width: 800px) {
  .overlay .overlay-container {
    margin: 20px;
    padding: 20px;
  }
}

.questions-container {
  overflow: visible;
}
.overlay .overlay-container .close-overlay {
  width: 32px;
  height: 32px;
  background-image: url("../images/close-overlay.png");
  background-repeat: no-repeat;
  display: block;
  overflow: hidden;
  position: absolute;
  top: -16px;
  right: -16px;
}

.overlay .overlay-container h2 {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}

@media only screen and (max-width: 800px) {
  .overlay .overlay-container h2 {
    font-size: 18px;
  }
}

.overlay .overlay-container form {
  margin-top: 20px;
}

.overlay .overlay-container form.sending input[type="submit"] {
  background-image: url("../images/preloader_white.gif");
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: right;
}

.overlay .overlay-container form p {
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}

.overlay .overlay-container form input {
  display: block;
  width: 100%;
  padding: 15px;
  font-size: 14px;
  outline: 0px;
  margin-bottom: 5px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

@media only screen and (max-width: 800px) {
  .overlay .overlay-container form input {
    font-size: 12px;
    padding: 10px;
  }
}

.overlay .overlay-container form input[type="text"]:focus {
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.overlay .overlay-container form input[type="submit"] {
  background-color: #fa6500;
  color: white;
  cursor: pointer;
  border: 0px;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 20px;
}

.overlay .overlay-container form input[type="submit"]:active {
  background-color: #fb751a;
}

.overlay .overlay-container form label {
  overflow: hidden;
  padding-top: 10px;
  display: block;
}

.overlay .overlay-container form label.sms {
  display: none;
}

.overlay .overlay-container form label.vissible {
  display: block;
}

.overlay .overlay-container form label input {
  display: block;
  float: left;
  width: 18px;
  height: 18px;
  margin: 0px;
  padding: 0px;
}

.overlay .overlay-container form label span {
  display: block;
  float: left;
  font-size: 14px;
  line-height: 18px;
  margin-left: 7px;
  width: 80%}
@media only screen and (max-width: 800px) {
  .overlay .overlay-container form label span {
    font-size: 12px;
  }
}

.overlay .overlay-container .text-content {
  font-size: 13px;
  line-height: 1.4;
  max-height: 500px;
  overflow: auto;
  margin: -40px;
  padding: 40px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.overlay .overlay-container .text-content ol {
  list-style-type: decimal;
  list-style-position: inside;
  margin-top: 20px;
}

.overlay .overlay-container .text-content ol li {
  line-height: 1.5;
  margin-top: 5px;
  padding-top: 5px;
}

.overlay .overlay-container .text-content ol li:first-child {
  margin-top: 0px;
  border-top: 0px;
  padding-top: 0px;
}

.overlay .overlay-container .text-content a {
  color: #23323a;
  text-decoration: underline;
}

.overlay .overlay-container .text-content a:hover {
  text-decoration: none;
}

.overlay .overlay-container .close-overlay {
  width: 32px;
  height: 32px;
  background-image: url(../images/counter/close-overlay.png);
  background-repeat-x: no-repeat;
  background-repeat-y: no-repeat;
  display: block;
  overflow-y: hidden;
  overflow-x: hidden;
  position: absolute;
  top: -16px;
  right: -16px;
}

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

.start-over {
  position: relative;
  bottom: auto;
  left: auto;
  color: #fff;
  padding: 0 0 0 30px;
  margin: 20px 0 50px 0;
}

.container.content p:first-child > img {
  margin-top: 0;
}

.start-header, .result-header {
  position: relative;
  left: auto;
  top: auto;
}

.question {
  margin-top: 30px;
}

.counter {
  background: #3B5C80;
  padding: 0;
}

.result-header, .start-header {
  background: #304E6C;
  padding: 30px 15px;
  margin: 0 0 0 -15px;
  width: 110%;
}

.counter h1 {
  font-size: 30px;
  color: #fff;
  margin-bottom: 10px;
}

.btn {
  display: block;
  border-radius: 5px;
  padding: 15px 20px 15px 30%;
  color: #fff;
  font-weight: 600;
  line-height: 1em;
  text-transform: uppercase;
  font-size: 18px;
  width: 100%;
  margin: 12px 0 30px 0;
}

.share-container {
  padding: 40px 0;
}


.line2 {
  bottom: 16.666666667%;
  width: 97%;
  left: 0;
}

.line4 {
  bottom: 50%;
  width: 97%;
  left: 0;
}


.line2 > div, .line4 > div {
  top: 5px;
  right: auto;
  left: 35px;
  width: 110px;
}

.capsule-container {
  margin: 285px auto 0 auto;
}

.result .orange-big {
  font-size: 30px;
  line-height: 1em;
}

.result .orange {
  font-size: 18px;
}

.capsule-container::after {
  width: 100%;
  background-size: contain;
}



}
