/*
Website: Autosave
Author: Dragan Vukicevic
*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/*luka*/
.error-mess{
  text-align: center;
  padding: 10px 0 10px;
  background: rgba(64, 8, 10);
  color:white;
  top:0px;
}
/*luka*/
html {
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 40px;
}

hr {
  box-sizing: content-box;
  height: 0;
}

pre {
  overflow: auto;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
}

blockquote,
q {
  quotes: "" "";
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: bold;
}

dd {
  margin: 0 1.5em 1.5em;
}

img {
  height: auto; /* Make sure images are scaled correctly. */
  max-width: 100%; /* Adhere to container width. */
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

a,
a:visited,
a:hover,
a:focus,
a:active {
  color: inherit;
  text-decoration: none;
}

a:focus {
  outline: 0;
}

a:hover,
a:active {
  outline: 0;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
  outline: 0;
}

/*--------------------------------------------------------------
# MAIN STYLES
--------------------------------------------------------------*/

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

::-moz-selection {
  background: #000;
  text-shadow: none;
  color: #fff;
}

::selection {
  background: #000;
  text-shadow: none;
  color: #fff;
}

@font-face {
  font-family: "gilroy-extrabold";
  src: url("../fonts/gilroy/gilroy-extrabold-webfont.woff2") format("woff2"),
    url("../fonts/gilroy/gilroy-extrabold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

/* Variables */

:root {
  --color-red: #ec1d25;
  --color-dark-red: #a3070d;
  --color-darker-red: #77060a;
  --color-light: #fff;
  --color-dark: #000000;
  --color-black: #000000;
  --color-link-dark: #ec1d25;
  --color-link-light: rgba(255, 255, 255, 0.7);
  --hover-color-dark: #ec1d25;
  --hover-color-dark: #ffffff;
  --color-text-lighter: #777777;

  --heading-font: "gilroy-extrabold", sans-serif;
  --paragraph-font: "Montserrat", sans-serif;
}

body {
  font-family: var(--paragraph-font);
  font-weight: 400;
  color: var(--color-dark);

  overflow-x: hidden !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
}

h1 {
  font-size: 2em;
}

h2 {
  font-size: 1.5em;
  margin-bottom: 0.5em;
}

h3 {
  font-size: 1.25em;
  margin-bottom: 0.5em;
}

p,
a {
  font-size: 0.85em;
  line-height: 1.5em;
  margin-bottom: 0.5em;
}

a {
  transition: 0.3s;
}

nav a {
  color: var(--color-link-light) !important;
}

nav a:hover {
  color: #fff !important;
}

@media screen and (min-width: 900px) {
  h1 {
    font-size: 3.5em;
    margin-bottom: 0.35em;
  }

  h2 {
    font-size: 3em;
    margin-bottom: 0.5em;
  }

  h3 {
    font-size: 1.5em;
    margin-bottom: 0.75em;
  }

  p {
    font-size: 1em;
    line-height: 1.7em;
    margin-bottom: 0.5em;
  }

  a {
    font-size: 1em;
    line-height: 1.7em;
    margin-bottom: 0.5em;
  }
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

/* FORMS */
#form-container,
#inner-form-container {
  width: 100%;
}

::placeholder {
  color: var(--color-text-lighter);
}

input,
textarea {
  color: #000;
  font-size: 1em;
  padding: 0.75em 1em;
  margin-bottom: 0.15em;
  background-color: #fff;
  width: 100%;
  max-width: 100%;
  border: none;
}

textarea {
  height: 120px;
  margin-bottom: 1em;
}

input:hover,
textarea:hover,
input:focus,
textarea:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.95);
}

#btn-send {
  font-size: 1em;
  color: #fff;
  background-color: var(--color-black);
  width: 180px;
  padding: 1em;
  border: none;
  cursor: pointer;
  margin: 0.5em 0;
}

#btn-send:hover,
#btn-send:focus {
  background-color: rgba(0, 0, 0, 0.8);
}

@media screen and (min-width: 900px) {
  #inner-form-container {
    width: 80%;
    margin: 0 auto;
  }

  input,
  textarea {
    padding: 1em;
    margin-bottom: 0.25em;
  }

  textarea {
    height: 180px;
  }

  #btn-send {
    margin: 2em 0;
  }
}

/* FOOTER */
#footer {
  background-color: var(--color-black);
  color: var(--color-light);
}

#footer ul {
  line-height: 1.5em;
}

#footer p,
#footer a {
  color: rgba(255, 255, 255, 0.6);
}

#footer a:hover {
  color: #fff;
}

#f-container {
  display: flex;
  flex-wrap: wrap;
}

.f-col {
  margin: 0 1em 1em 0;
  width: 100%;
}

.f-col ul {
  line-height: 1em;
}

.f-col p span img,
.f-col ul li a span img {
  position: relative;
  top: 0.2em;
  margin-right: 0.5em;
}

p.copyright {
  margin-top: 2em;
  font-size: 0.75em;
}

@media screen and (min-width: 900px) {
  #footer ul {
    line-height: 2em;
  }

  .f-col {
    margin: 0 2em 2em 0;
    width: 30%;
  }

  .f-col ul {
    line-height: 2em;
  }

  p.copyright {
    margin-top: 8em;
    font-size: 0.85em;
  }
}

/* BUTTONS */
.btn {
  padding: 0.75em 1.5em;
}

.btn:hover {
  opacity: 0.9;
}

.btn-register {
  padding: 0.35em 0.75em;
  font-size: 0.95em;
  color: #fff;
  background: var(--color-red);
}

.btn-register:hover {
  opacity: 0.9;
}

.btn-normal {
  color: #fff;
  background: var(--color-red);
}

.btn-accent {
  text-align: center;
  display: inline-block;
  width: 140px !important;
  color: var(--color-text-lighter);
  background: rgba(0, 0, 0, 0.6);
}

.btn-accent:hover {
  color: var(--color-light);
  background: var(--color-dark-red);
}

.btn-special {
  display: block;
  width: 100%;
  color: #fff !important;
  background: var(--color-red);
}

.btn-special-2 {
  display: block;
  width: 100%;
  color: #fff !important;
  background: var(--color-black);
}

.btn-special:hover,
.btn-special-2:hover {
  color: #fff;
  opacity: 0.85;
}

@media screen and (min-width: 900px) {
  .btn-register {
    padding: 0.75em 1.5em;
  }
}

/* OVERLAY */

.overlay {
  height: 0%;
  width: 100%;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.95);
  overflow-x: hidden;
  transition: 0.5s;
}

.overlay-con-wrapper {
  position: relative;
  top: 20%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.overlay-con-wrapper > div:first-child {
  margin-bottom: 3em;
}

.overlay-content {
  color: #fff;
  text-align: center;
}

.overlay a {
  color: var(--color-text-lighter);
}

.overlay a:hover,
.overlay a:focus {
  color: #fff;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

@media screen and (max-height: 450px) {
  .overlay a {
    font-size: 20px;
  }
  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}

/* HELP CLASSES */
.s-content {
  padding: 0 60px 0 30px;
}

.s-content-inner {
  padding: 0 30px 0 30px;
}

.pd-r-2 {
  padding-right: 0;
}

.mg-bt-4 {
  margin-bottom: 4em !important;
}

.mg-bt-2 {
  margin-bottom: 2em !important;
}

.wrapper {
  max-width: 1080px;
  margin: 0 auto;
}

.divider,
.divider-center {
  display: block;
  width: 50px;
  height: 3px;
  background: var(--color-red);
}

.center {
  margin: 0 auto;
}

.s-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
}

.s-col {
  margin-bottom: 0.5em;
}

.s-col img {
  margin-bottom: 0.5em;
}

.col-40 {
  width: 100%;
}

.col-60 {
  width: 100%;
}

span.red {
  color: var(--color-red);
}

@media screen and (min-width: 900px) {
  .s-content,
  .s-content-inner {
    padding: 0;
  }

  .pd-r-2 {
    padding-right: 2em;
  }

  .s-container {
    flex-wrap: nowrap;
  }

  .s-col {
    margin-right: 6em;
    margin-bottom: 0;
  }

  .s-col-2 {
    width: 40%;
  }

  .s-col img {
    margin-bottom: 1em;
  }

  .col-40 {
    width: 40%;
  }
  .col-60 {
    width: 60%;
  }
}

/* NAVBAR */
.navbar {
  background: var(--color-black);
  width: 100%;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 25px;
}

.navbar-transparent {
  background: transparent;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 25px;
}

.navbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.branding {
  display: block;
  width: 110px;
  height: 19px;
  background: url("../images/logo2.svg") no-repeat;
  cursor: pointer;
}

nav span {
  margin-left: 0.25em;
  cursor: pointer;
}

@media screen and (min-width: 900px) {
  .navbar {
    padding: 25px;
  }

  .branding {
    display: block;
    width: 200px;
    height: 34px;
    background: url("../images/logo.svg") no-repeat;
    cursor: pointer;
  }

  nav span {
    margin-left: 1em;
  }
}

/* NAVIGATION ARROWS */
.fp-controlArrow.fp-prev {
  left: 30px !important;
  top: 95%;
  border: none;
  width: 40px;
  height: 44px;
  background: url(../images/arrow-left.svg) no-repeat;
  cursor: pointer;
}

.fp-controlArrow.fp-next {
  left: 80px;
  top: 95%;
  border: none;
  width: 40px;
  height: 40px;
  background: url(../images/arrow-right.svg) no-repeat;
  cursor: pointer;
}

.fp-controlArrow.fp-prev:hover,
.fp-controlArrow.fp-next:hover {
  opacity: 0.7;
}

@media screen and (min-width: 900px) {
  .fp-controlArrow.fp-prev {
    left: 80px !important;
  }

  .fp-controlArrow.fp-next {
    left: 130px !important;
  }
}

/* NAVIGATION DOTS */
#fp-nav ul li a span,
.fp-slidesNav ul li a span {
  background-color: #fff;
}

@media screen and (min-width: 900px) {
  #fp-nav.fp-right {
    right: 70px;
  }
}

/* BACKGROUND IMAGES */
.section {
  background-size: cover;
}
.slide {
  background-size: cover;
}
#section-1 {
  color: var(--color-light);
  background-color: var(--color-dark);
  background-image: url("../images/bg-car1-mob.jpg");
}
#section-1-1 {
  color: var(--color-light);
  background-color: var(--color-dark);
  background-image: url("../images/bg-car2-mob.jpg");
}
#section-1-2 {
  color: var(--color-light);
  background-color: var(--color-dark);
  background-image: url("../images/bg-car4-mob.jpg");
}
#section-1-3 {
  color: var(--color-light);
  background-color: var(--color-dark);
  background-image: url("../images/bg-car3-mob.jpg");
}

@media screen and (min-width: 900px) {
  #section-1 {
    background-image: url("../images/bg-car1.jpg");
  }
  #section-1-1 {
    background-image: url("../images/bg-car2.jpg");
  }
  #section-1-2 {
    background-image: url("../images/bg-car4.jpg");
  }
  #section-1-3 {
    background-image: url("../images/bg-car3.jpg");
  }
}

/* SECTIONS */

#section-1 .buttons,
#section-1-1 .buttons,
#section-1-2 .buttons,
#section-1-3 .buttons {
  margin-top: 2em;
}

/* .buttons a.btn {
  margin-right: 1px;
} */

p.lead {
  width: 100%;
}

@media screen and (min-width: 900px) {
  #section-1 .buttons {
    margin-top: 4em;
  }

  p.lead {
    width: 60%;
  }

  /* @keyframes animatedBg {
    from {
      background-position: 0 0;
    }
    to {
      background-position: 100% 0;
    }
  }

  .s-content-1,
  .s-content-2,
  .s-content-3,
  .s-content-4 {
    animation-name: animatedBg;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
  } */

  .s-content-1 {
    background: url("../images/01.svg") top right no-repeat;
  }

  .s-content-2 {
    background: url("../images/02.svg") top right no-repeat;
  }

  .s-content-3 {
    background: url("../images/03.svg") top right no-repeat;
  }

  .s-content-4 {
    background: url("../images/04.svg") top right no-repeat;
  }
}

/* #section-2 {
  background: var(--color-dark-red);
  background: url("../images/icn-envelope.svg") bottom left no-repeat,
    linear-gradient(31deg, #000000 0%, #a3070d 49%);
  color: #fff;
} */

#section-2 {
  background: var(--color-darker-red);
  background: url("../images/icn-envelope-darker.svg") bottom left no-repeat,
    linear-gradient(31deg, #000000 0%, #4a0205 49%);
  color: #fff;
}

#section-2-inner {
  background: var(--color-darker-red);
  background: url("../images/icn-envelope-darker.svg") bottom left no-repeat,
    linear-gradient(31deg, #000000 0%, #4a0205 49%);
  color: #fff;
}

#section-2 .section-2-content,
#section-2-inner .section-2-content {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}

.social {
  margin: 1em 0;
}

.social a {
  margin-right: 1em;
}

.social a:hover {
  opacity: 0.8;
}

@media screen and (min-width: 900px) {
  #section-2 .section-2-content,
  #section-2-inner .section-2-content {
    flex-direction: row;
  }

  .social {
    margin: 2em 0;
  }
}

.section-inner {
  padding: 4em 0;
}

.inner-content {
  background: url(../images/inner-background.svg) top right no-repeat;
  padding: 8em 0;
  text-align: center;
}

.registration {
  padding: 4em 0;
  text-align: center;
  background: var(--color-dark-red);
  color: #fff;
}

.contact {
  padding: 4em 0;
  text-align: center;
  color: var(--color-black);
}

.registration-business {
  background: url(../images/bg-registration-business.jpg) center center
    no-repeat;
  background-size: cover;
}

.registration-drivers {
  background: url(../images/bg-registration-drivers.jpg) center center no-repeat;
  background-size: cover;
}

.registration p a {
  text-decoration: underline;
}

.registration p a:hover {
  opacity: 0.85;
}

@media screen and (min-width: 900px) {
  .section-inner {
    padding: 12em 0;
  }

  .registration,
  .contact {
    padding: 8em 0;
  }
}

.features {
  padding: 2em 0;
  margin-top: 4em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.feature-single {
  width: 100%;
  padding: 1em;
  margin-bottom: 2em;
}

.feature-single p {
  color: var(--color-text-lighter);
}

@media screen and (min-width: 900px) {
  .feature-single {
    width: 50%;
    padding: 1em;
  }
}

.contact-info a {
  text-decoration: underline;
}

.contact-info a:hover {
  opacity: 0.85;
}
