/* Bootstrap overriddes -> */

.btn-primary {
  color: #fff;
  background-color: #ea5b0c;
  border-color: #ea5b0c;
}

.btn-primary:hover,
.btn-primary:active {
  background-color: #ee6417 !important;
  border-color: #ee6417 !important;
}

.btn-primary.focus,
.btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 102, 0, 0.5) !important;
}

a {
  color: #ea5b0c;
  text-decoration: none !important;
}

a:hover {
  color: #ee6417;
}

.btn {
  border-radius: 32px !important;
}

.card {
  border-radius: 16px !important;
}

/* <- Bootstrap overriddes */

.main-menu {
  text-align: right;
}

.main-menu .header-bar-top {
  display: none;
  border-bottom: 1px solid #f8f8f8;
}

.main-menu .header-bar-bottom {
  font-weight: 500;
}

.header-bar nav a,
.header-bar nav span {
  padding: 25px 0 25px 35px;
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-weight: 300;
}

.header-bar nav a:first-child {
  padding-left: 0;
}

.header-bar-top nav span {
  padding: 10px 0 11px 12px;
  color: #a09f9f;
  font-size: 13px;
}

.logo {
  margin-top: 14px !important;
}

.logo img {
  width: 200px;
  margin-left: 15px;
}

.footer-logo img {
  width: 230px;
}

.carousel-image-bg {
  background-image: url("/public/images/background-carousel.jpeg");
  display: block;
  background-position: 46% 11%;
  background-size: cover;
  padding-top: 85px !important;
  padding-bottom: 65px !important;
}

.powered-by {
  position: absolute;
  bottom: -30px;
  width: 100%;
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  color: white;
}

.custom-underline {
  border-bottom: 2px solid #ea5b0c;
}

.slider {
  margin: 40px 0 !important;
}

.custom-handle {
  width: auto !important;
  padding: 0 13px !important;
  height: 2rem !important;
  top: 0.2rem !important;
  margin-top: -1.1em !important;
  text-align: center !important;
  line-height: 2em !important;
  background: #ea5b0c !important;
  border: 1px solid white !important;
  border-radius: 1rem !important;
  color: white !important;
  font-weight: 600 !important;
  background-color: #ea5b0c !important;
}

.ui-slider-horizontal {
  height: 0.2em;
}

.ui-widget-header {
  background: #409cff;
}

.ui-widget.ui-widget-content {
  border: none;
  background: #b3b3b3;
}

/*progressbar*/
#progressbar {
  margin-bottom: 30px;
  overflow: hidden;
  /*CSS counters to number the steps*/
  counter-reset: step;
  padding-left: 0;
}

#progressbar li {
  list-style-type: none;
  color: #212529;
  text-transform: uppercase;
  font-size: 14px;
  width: 33.33%;
  float: left;
  position: relative;
  letter-spacing: 1px;
  margin-top: 30px;
}

#progressbar li:before {
  content: counter(step);
  counter-increment: step;
  width: 40px;
  height: 40px;
  line-height: 40px;
  display: block;
  font-weight: 700;
  font-size: 16px;
  color: #333;
  background: #dadada;
  border-radius: 25px;
  margin: 0 auto 15px auto;
}

/*progressbar connectors*/
#progressbar li:after {
  content: "";
  width: 76%;
  height: 2px;
  background: #dadada;
  position: absolute;
  left: -38%;
  top: 19px;
  z-index: 0;
}

#progressbar li:first-child:after {
  /*connector not needed before the first step*/
  content: none;
}

/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#progressbar li.active:before,
#progressbar li.active:after {
  background: #ea5b0c;
  color: white;
}

body {
  font-family: "Roboto", sans-serif;
}

section.faq-short {
  padding: 4rem 0;
  background-color: #eaeef1;
  background-image: url("/public/images/faq-section-bg.jpg");
}

.row-background-image {
  background-position: -140px bottom;
  background-size: auto 88%;
  background-repeat: no-repeat;
}

@media only screen and (max-width: 1599px) {
  section.row-background-image {
    background-size: auto 68%;
  }
}

@media only screen and (max-width: 1199px) {
  section.row-background-image {
    background-size: auto 56%;
  }
}

@media only screen and (max-width: 992px) {
  section.row-background-image {
    background-image: none;
  }
}

h3 {
  color: #ea5b0c;
  margin-bottom: 41px;
  font-size: 34px;
  font-weight: 500;
}

h4 {
  font-size: 20px;
  margin-bottom: 10px;
  margin-top: 0;
  line-height: 1.4em;
  font-weight: 500;
}

.faq-short p {
  color: #818181;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8em;
  margin-bottom: 30px;
  font-style: normal;
}

.description {
  color: #818181;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8em;
  margin-bottom: 30px;
}

.card-deck .card {
  margin-right: -1px;
  margin-left: 0px;
  border-radius: 0;
  border: none;
}

.card-header {
  /*border-radius: 8px !important;
                border-left: 7px solid #dadada;
                border-bottom: 1px solid rgb(234, 238, 241);*/
}

.card-header h4 {
  font-weight: 400;
}

.text-muted {
  font-weight: 300;
}

@media only screen and (min-width: 577px) {
  .visible-xs {
    display: none;
  }
}

@media only screen and (max-width: 576px) {
  .visible-xs-up {
    display: none;
  }
}

footer {
  background: #212121;
  color: white;
}

footer h3 {
  color: #1c8aff;
  font-size: 27px;
}

footer h5 {
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 300;
  padding-top: 0px;
  padding-bottom: 19px;
}

footer p {
  font-size: 16px;
}

footer li {
  font-size: 15px;
}

footer .text-muted {
  color: #cbcbcb !important;
}

.payment {
  display: none;
}

h4.card-title {
  font-size: 26px;
}

.form-control {
  padding: 0.575rem 1.15rem;
  border-left: none;
  border-radius: 12px;
}

.input-group-text {
  border-radius: 12px;
}

input[type="email"] {
  border-top-right-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
}

.btn,
.card {
  border-radius: 12px;
}

.carousel-image-bg .card {
  border-color: white;
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.14),
    0 2px 2px 0 rgba(0, 0, 0, 0.098), 0 1px 5px 0 rgba(0, 0, 0, 0.084);
  z-index: 11;
}

.input-group-text {
  padding: 0.575rem 1.15rem;
}

.input-group-prepend,
.input-group-text {
  min-width: 55px;
}

.select-wrapper .input-group-text {
  padding: 0.575rem 0.98rem;
}

.slider-wrapper {
  float: left;
  width: 100%;
  height: 126px;
  display: none;
}

.main-menu-wrapper {
  height: 200px;
  background: #212121e3;
  position: absolute;
  z-index: 10;
  width: 100%;
  padding-top: 6px;
  background: linear-gradient(180deg, rgba(38, 31, 23, 0.8), transparent);
}

.select-wrapper label {
  margin-bottom: 4px;
  font-size: 14px;
  display: block;
  text-transform: uppercase;
}

select.form-control {
  height: 44px !important;
}

.select-wrapper {
  float: left;
  width: 100%;
}

.select-wrapper .row {
  margin: 0 -5px;
}

.select-wrapper .col-6 {
  padding: 0 5px;
}

.select-wrapper .col-sm-6 {
  padding: 0 5px;
}

.kuukausiera-wrapper {
  width: 100%;
  float: left;
}

.kuukausiera-label {
  font-weight: 500;
  line-height: 32px;
}

.kuukausiera-amount {
  font-weight: 500;
  line-height: 30px;
}

#cost_monthly {
  font-size: 21px;
  margin-right: 5px;
  color: #ea5b0c;
  font-weight: 700;
}

.form-wrapper {
  width: 30rem;
}

@media only screen and (max-width: 991px) {
  #progressbar li:after {
    width: 69%;
    left: -35%;
  }

  section.faq-short {
    padding: 3rem 0;
  }

  .container {
    padding-right: 30px;
    padding-left: 30px;
  }

  .laina-form-wrapper .container {
    padding-right: 10px;
    padding-left: 10px;
  }
}

@media only screen and (max-width: 991px) and (min-width: 769px) {
  footer h5.nikitec {
    padding-bottom: 0;
    margin-bottom: 3px;
  }
}

@media only screen and (max-width: 768px) {
  .main-menu-wrapper {
    padding-top: 3px;
  }

  .carousel-image-bg {
    padding-top: 60px !important;
    padding-bottom: 40px !important;
  }

  .main-menu {
    display: none;
  }

  #progressbar li:after {
    width: 61%;
    left: -31%;
  }

  footer h5 {
    padding-bottom: 0;
  }

  .form-wrapper {
    width: 100%;
  }

  .logo {
    text-align: center;
    margin-top: 11px !important;
  }

  .logo img {
    margin-left: -23px;
  }

  .pricing-header {
    padding-top: 40px !important;
    padding-bottom: 0 !important;
  }

  .pricing-header h1 {
    padding-bottom: 0px !important;
    font-size: 42px;
  }

  .pricing-header .lead {
    font-size: 18px;
    padding: 0 10px 30px 10px !important;
  }

  h3 {
    font-size: 30px;
  }
}

@media only screen and (max-width: 768px) and (min-width: 576px) {
  .pricing-card-title small {
    font-size: 17px !important;
  }
}

@media only screen and (max-width: 520px) {
  #progressbar li:after {
    width: 53%;
    left: -27%;
  }

  .container {
    padding-right: 20px;
    padding-left: 20px;
  }

  h3 {
    text-align: center;
  }
}

@media only screen and (max-width: 575px) {
  .laina-form-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media only screen and (max-width: 375px) {
  #cost_monthly {
    width: 100%;
    float: left;
  }

  .powered-by {
    display: none;
  }
}

.icon-set {
  text-align: center;
  font-weight: 300;
}

.icon-set .value {
  font-size: 30px;
  font-weight: 300;
  color: #ea5b0c;
}

.icon-set .icon-round {
  background: white;
  padding: 20px 0;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
  border-radius: 35px;
  width: 70px;
  height: 70px;
  margin: auto;
  margin-bottom: 15px;
  font-size: 30px;
  color: #ea5b0c;
  line-height: 30px;
}

#progressbar {
  hyphens: none;
}

@media only screen and (max-width: 576px) {
  .icon-set .unit {
    margin-bottom: 30px;
  }

  .icon-set {
    margin-bottom: 20px !important;
  }

  #progressbar {
    margin-left: -5px;
    margin-right: -5px;
  }
}

@media only screen and (max-width: 380px) {
  #progressbar {
    hyphens: manual;
  }
}
