/* vars */
/* global */
body {
  font-family: 'Inter', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #08090a;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.3em;
  margin: 0;
}

h1 {
  font-size: 3em;
}

h2 {
  font-size: 40px;
}

h3 {
  font-size: 32px;
}

h4 {
  font-size: 24px;
}

h5 {
  font-size: 16px;
}

a {
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  color: #f9718e;
}

a:hover {
  color: #f74067;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

a.read-more {
  text-decoration: underline;
  font-size: 14px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #f9718e;
  position: absolute;
  bottom: 30px;
}

a:hover,
a:focus,
a:active,
button,
button:hover,
button:focus,
button:active {
  outline: 0;
  outline: none;
}

.btn__main {
  padding: 17px 22px;
  border: none;
  border-radius: 6px;
  background-color: #8e61e9;
  color: #fff;
  font-size: 18px;
  text-align: center;
  background-image: url('../img/button_bg.svg');
  background-repeat: no-repeat;
  background-position: 0 0;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.btn__main.btn__small {
  padding: 12px 50px;
}

.btn__main.btn__transparent {
  background: transparent;
  color: #08090a;
  border: 1px solid #d7dae0;
}

.btn__main.disabled {
  background-color: #dad8de;
  cursor: not-allowed;
}

.btn__main.disabled:hover {
  background-color: #dad8de;
  background-position: 0 0;
}

.btn__main:hover,
.btn__main:active,
.btn__main:focus {
  background-color: #9e77ec;
  background-position: -20px 0;
  text-decoration: none;
  outline: 0;
  outline: none;
  color: #fff;
}

input[type='text'],
input[type='tel'],
input[type='email'],
input[type='search'],
input[type='submit'],
select,
textarea {
  /*border: none;*/
  padding: 8px 15px;
  -webkit-appearance: none;
  outline: 0;
  outline: none;
}

input[type='text']:focus,
input[type='tel']:focus,
input[type='email']:focus,
input[type='search']:focus,
input[type='submit']:focus,
select:focus,
textarea:focus {
  outline: 0;
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

::-webkit-input-placeholder {
  color: #8a8f9a !important;
  color-opacity: 1;
}

::-moz-placeholder {
  color: #8a8f9a !important;
  color-opacity: 1;
}

:-ms-input-placeholder {
  color: #8a8f9a !important;
  color-opacity: 1;
}

::-ms-input-placeholder {
  color: #8a8f9a !important;
  color-opacity: 1;
}

::placeholder {
  color: #8a8f9a !important;
  color-opacity: 1;
}

.scroll-link {
  position: absolute;
  background-color: #fff;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  bottom: -32px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12);
}

.scroll-link span {
  display: block;
  position: relative;
  width: 22px;
  height: 36px;
  border: 2px solid #bfbfbf;
  border-radius: 13px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.scroll-link span:before {
  position: absolute;
  top: 10px;
  left: 50%;
  content: '';
  width: 6px;
  height: 6px;
  margin-left: -3px;
  background-color: #bfbfbf;
  border-radius: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: top 0.7s ease-in-out;
  -o-transition: top 0.7s ease-in-out;
  transition: top 0.7s ease-in-out;
}

.scroll-link:hover span:before {
  top: 20px;
}

section {
  padding: 90px 0 70px;
}

/* Header */
.nav-tabs {
  border: none;
}

.nav-tabs .nav-link {
  background-color: transparent;
  color: #08090a;
  width: 150px;
}

.nav-tabs .nav-link.active {
  background-color: #8e61e9;
  color: #fff;
  background-image: url('../img/btn-bg.png');
  background-repeat: no-repeat;
}

.nav-tabs .nav-link:hover {
  background-color: #8e61e9;
  color: #fff;
}

.card {
  background-color: #fff;
  border-radius: 14px;
  -webkit-box-shadow: 0 10px 14px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 14px 0 rgba(0, 0, 0, 0.1);
  border: none;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.card:hover {
  -webkit-box-shadow: 0 10px 14px 0 rgba(0, 0, 0, 0.3);
  box-shadow: 0 10px 14px 0 rgba(0, 0, 0, 0.3);
}

.header {
  position: relative;
}

.header .navbar-nav .nav-item {
  position: relative;
}

.header .navbar-nav .nav-item .nav-link {
  color: #645f7e;
}

.header .navbar-nav .nav-item .nav-link:hover {
  color: #f9718e;
}

.header .navbar-nav .nav-item.active .nav-link {
  color: #f9718e;
}

.header .navbar-nav .nav-item:first-of-type:after {
  content: '';
  display: block;
  position: absolute;
  width: 1px;
  height: 18px;
  right: 18px;
  top: 12px;
  background-color: rgba(0, 0, 0, 0.1);
}

.top_cta {
  position: relative;
  padding: 0;
}

.top_cta .header__cta {
  height: 630px;
  background-size: cover;
}

.top_cta .card {
  width: 570px;
  text-align: center;
  padding: 40px 32px;
  color: #8d8d8d;
}

.top_cta .card .btn {
  width: 154px;
}

.top_cta .card .timer__block {
  color: #08090a;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
}

.top_cta .card .timer__block span {
  display: inline-block;
  background-color: #f0f6f7;
  font-size: 36px;
  width: 60px;
  height: 60px;
  border-radius: 10px;
}

.top_cta .header__cta-sondaj {
  background-color: #f7f7f7;
}

.top_cta .header__cta-sondaj .card {
  width: 970px;
  padding: 40px 70px;
  margin-top: -350px;
  color: #586688;
}

.top_cta .header__cta-sondaj .card .social-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.top_cta .header__cta-sondaj .card .social-list li {
  display: inline-block;
  margin-right: 5px;
}

.top_cta .header__cta-sondaj .card .social-list li a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 50px;
  height: 50px;
  color: #fff;
  border-radius: 50%;
  background-color: #000;
  font-size: 20px;
  text-decoration: none;
}

.top_cta .header__cta-sondaj .card .social-list li a.facebook {
  background-color: #3a5a97;
}

.top_cta .header__cta-sondaj .card .social-list li a.facebook:hover {
  background-color: #2c4472;
}

.top_cta .header__cta-sondaj .card .social-list li a.messenger {
  background-color: #2b8bff;
}

.top_cta .header__cta-sondaj .card .social-list li a.messenger:hover {
  background-color: #0070f7;
}

.top_cta .header__cta-sondaj .card .social-list li a.whatsapp {
  background-color: #25d366;
}

.top_cta .header__cta-sondaj .card .social-list li a.ok {
  background-color: #ff9800;
}

.top_cta .header__cta-sondaj .card .social-list li a.ok:hover {
  background-color: #cc7a00;
}

.top_cta .header__cta-sondaj .card .social-list li a.viber {
  background-color: #695ab1;
}

.top_cta .header__cta-sondaj .card .social-list li a.viber:hover {
  background-color: #534593;
}

/* section Sondaje */
.sondaje {
  background-color: #f7f7f7;
}

.sondaje .card {
  padding: 30px;
}

.sondaje .card .img-wrapper {
  height: 155px;
  border-radius: 6px;
  overflow: hidden;
}

.sondaje .card .badge {
  position: absolute;
  top: 172px;
  right: 45px;
  background-color: #eaecef;
  font-size: 12px;
  text-transform: uppercase;
  color: #cecfd1;
  padding: 7px 18px;
}

.sondaje .card .badge.activ {
  background-color: #06d563;
  color: #00692c;
}

/* section Features */
.features {
  font-size: 18px;
  color: #586688;
}

.features .heading {
  width: 570px;
  margin-bottom: 65px;
}

.features .col-md .icon-wrapper {
  background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#f7faff));
  background-image: -o-linear-gradient(top, #ffffff, #f7faff);
  background-image: linear-gradient(to bottom, #ffffff, #f7faff);
  border-radius: 50%;
  border: 1px solid #d7deed;
  width: 232px;
  height: 232px;
}

.features .col-md .icon-wrapper img {
  width: 50%;
}

.features .col-md:not(:last-of-type) .icon-wrapper:after {
  content: '';
  position: absolute;
  right: 0;
  width: 1px;
  height: 100px;
  border-right: 1px dashed #d6d2d2;
  -webkit-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  transform: rotate(-90deg);
}

/* sondaj selector */
.select-sondaj {
  padding: 15px 15px 15px 30px;
  border: 1px solid #ddd;
  color: #08090a;
  text-align: left;
  font-size: 18px;
}

.select-sondaj input {
  visibility: hidden;
  position: absolute;
}

.select-sondaj input:checked + label::before {
  border: 2px solid #8e61e9;
}

.select-sondaj input[type='checkbox']:checked + label::after {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  color: #8e61e9;
  margin-top: -12px;
  top: 50%;
  left: 5px;
}

.select-sondaj input[type='radio']:checked + label:after {
  content: '';
  position: absolute;
  border-radius: 50%;
  top: 50%;
  margin-top: -6px;
  left: 7px;
  width: 15px;
  height: 15px;
  background-color: #8e61e9;
}

.select-sondaj label {
  position: relative;
  margin-bottom: 0;
  padding-left: 58px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.select-sondaj label img {
  margin-right: 20px;
  min-height: 60px;
}

.select-sondaj label:before {
  content: '';
  position: absolute;
  top: 50%;
  margin-top: -17px;
  left: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #cccccc;
  background-color: #fff;
}

.select-sondaj input[type='checkbox'] + label:before {
  border-radius: 0;
}

.select-sondaj.checked {
  border: 2px solid #8e61e9;
}

/* result page */
.result .card .timer__block span {
  width: auto;
  height: auto;
  padding: 5px 10px;
}

/* Footer */
footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 40px 0;
  color: #586688;
  font-size: 12px;
}

@media (max-width: 992px) {
  .header .navbar-nav .nav-item:first-of-type:after {
    display: none;
  }
  .navbar-toggler {
    border: none;
  }
  .navbar-toggler .navbar-toggler-icon {
    height: 20px;
  }
  .navbar-toggler .navbar-toggler-icon span {
    display: inline-block;
    position: relative;
    top: 0;
    background-color: #08090a;
    width: 25px;
    height: 3px;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
  }
  .navbar-toggler .open .h {
    width: 0;
  }
  .navbar-toggler .open .r {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .navbar-toggler .open .l {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: -7px;
  }
}

@media (max-width: 768px) {
  h2 {
    font-size: 32px;
  }
  section {
    padding: 60px 0;
  }
  .navbar-brand {
    width: 150px;
  }
  .top_cta {
    padding-bottom: 360px;
  }
  .poll_cta {
    padding-bottom: 0px;
  }
  .top_cta .header__cta {
    height: 190px;
  }
  .top_cta .header__cta-sondaj .card {
    margin-top: -100px;
    padding: 40px 15px;
  }
  .top_cta .header__cta .card {
    position: static;
    padding: 10px 20px;
    margin-top: 190px;
    width: auto;
  }
  .top_cta .header__heading {
    position: absolute;
    bottom: 40px;
    left: 0;
  }
  .header__heading h3 {
    font-size: 24px;
  }
  .features {
    font-size: 14px;
  }
  .features .heading {
    width: auto;
    margin-bottom: 40px;
  }
  .features .heading h2 {
    font-size: 24px;
  }
  .features .col-md .icon-wrapper {
    width: 60px;
    height: 60px;
    margin-right: 15px;
  }
  .features .col-md:not(:last-of-type) .icon-wrapper:after {
    height: 25px;
    right: auto;
    bottom: -8px;
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  .features .feature {
    margin-top: 8px;
  }
  .features .feature h4 {
    font-size: 18px;
  }
  .sondaj .top_cta {
    padding-bottom: 0;
  }
  .sondaj .header__cta {
    height: 280px;
  }
  .sondaj .header__cta-sondaj .card {
    margin-top: -155px;
    padding: 40px 20px;
  }
  .sondaj .header__cta-sondaj .card h3 {
    font-size: 24px;
  }
  .sondaj .select-sondaj label img {
    margin-right: 15px;
  }
}

.no-hover:hover {
  text-decoration: none;
  color: transparent !important;
}

.poll-item-background {
  width: 60px;
  height: 60px;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: center;
  display: inline-block;
}
.poll-item-text {
  float: right;
  padding-left: 15px;
}
.image-chart {
  width: 25px;
  height: 25px;
  border-radius: 25px;
  margin-left: 5px;
  position: absolute;
}
.navbar {
  padding: 0.5rem 0rem;
}
.highcharts-text-outline {
  stroke: none !important;
}
