body {
  margin: 0;
  background-color: #fefcfe;
  overflow-x: hidden;
}

header {
  z-index: 999;
  transition: 0.2s;
  height: 160px;
  position: absolute;
  top: 0;
  width: 100%;
}

a, a:hover {
  text-decoration: none;
}

section {
  position: relative;
  overflow-x: hidden;
}

section.main-page {
  padding-top: 160px;
}

/* brocoli start */

.xx {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default radio button */
.xx input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.xx:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.xx input:checked ~ .checkmark {
  background-color: #4ab8df;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.xx input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.xx .checkmark:after {
  top: 9px;
  left: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

/* brocoli end */

#site-header {
  height: 180px;
}

#site-header img.navig-img {
  height: 70px;
}

#site-header.change {
  height: 70px;
  background-color: #fefcfe;
  border-bottom: 1px solid #dadada;
}

#site-header.change img.navig-img {
  height: 50px;
}

.main-btn {
  text-transform: uppercase;
  color: #fff !important;
}

.question-sect:not(.main-page) {
  padding-top: 120px;
  padding-bottom: 25px;
}

.navig-bar {
  height: 100%;
  /* border-bottom: 1px solid #dadada; */
}

.navig-img {
  transition: 0.2s;
  height: 70px;
  padding: 5px;
}

.sect-img {
  position: absolute;
  bottom: 0;
  z-index: -1;
}

.sect-img-left {
  left: 0;
  bottom: 10px;
}

.sect-img-right {
  right: 0;
}

.background-line {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: #f8f6f8;
  height: 113px;
  z-index: -2;
}

div.sect-text {
  text-align: center;
  font-family: Merriweather, Georgia, serif;
  color: #4a4a4a;
}

h1.sect-h1 {
  font-size: 65px;
  font-family: Merriweather, Georgia, serif;
  font-weight: 400;
  margin-bottom: 25px;
  text-align: center;
  z-index: 1;
  color: #4a4a4a;
}

div.sect-text>p {
  font-size: 19px;
  z-index: 1;
}

.btn-bg {
  font-family: Lato, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  transition: 0.5s;
  font-weight: 500;
  background: #4ab8df;
  color: white;
  box-shadow: 5px 5px 10px #4ab8df7d;
  padding: 18px 44px;
  border-radius: 5px;
  min-width: 230px;
}

.btn-bg:hover {
  background: #37a7ce;
}

.question-sect {
  display: none;
  min-height: 100vh;
}

.question-sect.active {
  display: block;
}

.checkmark {
  top: 4px;
}

label.container.xx {
  padding-left: 40px;
}

.btn-primary {
  border: none;
  box-shadow: none;
  padding: 10px 50px;
}

.btn-primary:active, .btn-primary:focus {
  background-color: #4ab8df!important;
  border-color: transparent;
  box-shadow: transparent;
}

.btn-space {
  margin-top: 20px;
}

.inp-fld {
  max-width: 500px;
  width: 100%;
  display: flex;
  margin: 0 auto 20px;
  align-items: center;
  padding: 0 20px;
}

.inp-fld input {
  height: 52px;
}

.inp-fld input:focus {
  box-shadow: 0 0 10px #4ab8df;
  border-color: #4ab8df;
}

.ask.sect-h1 {
  font-size: 40px;
}

.table .thead-dark th {
  background-color: #4ab8df;
  border-color: #dee2e6;
}

.smoke-icon, .gender-icon, .gender-text {
  display: block;
  margin: 0 auto;
}

.gender-text {
  margin-top: 10px;
}

.gender-icon {
  max-width: 125px;
}

.smoke-icon {
  max-width: 300px;
  border-radius: 3px;
  margin-top: 10px;
  padding: 0 34px;
}

.birth-icon {
  max-width: 40px;
  margin-right: 26px;
}

.tobacco-selection {
  max-width: 315px;
  margin: 20px auto 0;
}

.tobacco-selection label.container.xx {
  max-width: 71px;
}

.table-container {
  max-width: 900px;
  margin: 0 auto;
}

.action-options {
  display: none;
  background-color: #e8f2ff;
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.search-new-quote {
  text-align: center;
  font-size: 10rem;
}

.search-new-quote i {
  color: #4ab8df;
}

.bg-primary {
  background: #4ab8df !important;
}

.table > thead > tr > td, .table > thead > tr > th {
  color: white;
}

#response .table-responsive {
  max-width: 900px;
  margin: 0 auto;
}

.make-another-quote {
  color: #4ab8df;
  text-decoration: underline;
  font-size: 1.5em;
  text-align: center;
  display: block;
  transition: 0.3s;
  max-width: 220px;
  margin: 20px auto 0;
}

.make-another-quote:hover, .make-another-quote:focus {
  color: #3390b0;
  text-decoration: underline;
}

.preloader-container {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #f6f9fd;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preloader {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.preloader div {
  position: absolute;
  border: 4px solid #4ab8df;
  opacity: 1;
  border-radius: 50%;
  animation: preloader 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.preloader div:nth-child(2) {
  animation-delay: -0.5s;
}
@keyframes preloader {
  0% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0;
    left: 0;
    width: 72px;
    height: 72px;
    opacity: 0;
  }
}

.loader {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 19px;
}

.loader div {
  position: absolute;
  top: 5px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.loader div:nth-child(1) {
  left: 8px;
  animation: loader1 0.6s infinite;
}

.loader div:nth-child(2) {
  left: 8px;
  animation: loader2 0.6s infinite;
}

.loader div:nth-child(3) {
  left: 32px;
  animation: loader2 0.6s infinite;
}

.loader div:nth-child(4) {
  left: 56px;
  animation: loader3 0.6s infinite;
}

@keyframes loader1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes loader3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}

@keyframes loader2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}

@media only screen and (max-width: 1160px) {
  .sect-img {
    width: 500px;
  }
  .background-line {
    height: 95px;
  }
}

@media only screen and (max-width: 960px) {
  .sect-img {
    width: 400px;
  }
  .background-line {
    height: 76px;
  }
}

@media only screen and (max-width: 768px) {
  div.sect-text {
    margin-top: 35px;
  }
  h1.sect-h1 {
    font-size: 47px;
  }
  .sect-img {
    width: 350px;
  }
  .background-line {
    height: 66px;
  }
}

@media only screen and (max-width: 680px) {
  .sect-img {
    width: 500px;
  }
  .sect-img-left {
    display: none;
  }
  .background-line {
    height: 95px;
  }
}

@media only screen and (max-width: 512px) {
  h1.sect-h1 {
    font-size: 35px;
  }
  .sect-img {
    width: 350px;
  }
  .background-line {
    height: 66px;
  }
  .tobacco-selection {
    max-width: 350px;
  }
  .tobacco-selection label.container.xx {
    max-width: 78px;
  }
}

@media only screen and (max-width: 380px) {
  h1.sect-h1 {
    font-size: 28px;
  }
  .sect-img {
    width: 300px;
  }
  .background-line {
    height: 57px;
  }
}