:root {
  --main-theme-color: var(--primary);
  --color-theme-main: var(--primary);
  --color-theme-main-dark: var(--primary);
  --color-theme-main-light: var(--primary);
  --color-theme-main-inverse: var(--primary);
  --swiper-theme-color: var(--main-theme-color) !important;
  --color-latte: #FFF8E7;
  /*https://en.wikipedia.org/wiki/Beigewiki*/
  --color-lilac: #F4F2FB;
  --cc-btn-primary-bg: var(--primary) !important;
  --cc-btn-primary-hover-bg: #002b82 !important;
}

body {
  position: relative;
}

html,
body {
  scroll-behavior: smooth;
}

html,
body,
[id] {
  scroll-margin-top: 64px;
}

/*html {
  scroll-behavior: smooth;
}
.hptc10 section {
  scroll-margin-top: 5.41875rem;
}
@media screen and (min-width: 992px) {
  .hptc10 section {
    scroll-margin-top: 3.625rem;
  }
}*/

body.afe {
  padding-top: 4rem;
}

@media (min-width: 1200px) {
  body.afe {
    padding-top: 6rem;
  }
}

.bg-lilac {
  background-color: var(--color-lilac);
}

.bg-latte {
  background-color: var(--color-latte);
}

#around {
  padding-top: 64px;
}

@media screen and (min-width: 1200px) {
  #around {
    padding-top: 85px;
  }
}

.carousel-caption {
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
}

.middle {
  min-height: 500px;
}

.middle p {
  color: #0a0424;
}

a[href^="tel"] {
  color: inherit;
}

#gotop {
  position: fixed;
  right: 0;
  bottom: 60px;
  display: none;
  z-index: 1000;
}

p#gotop a {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 12px;
  font-size: 20px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

#goback {
  position: fixed;
  right: 0;
  top: 196px;
  z-index: 1000;
}

p#goback a {
  display: inline-block;
  background: #0bb9a0;
  color: #fff;
  padding: 12px;
  font-size: 20px;
}

.navbar-nav .nav-link.active {
  color: #1eb6c1;
}

.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.marketing h2 {
  font-weight: 400;
}

.marketing .col-lg-4 p {
  margin-right: 0.75rem;
  margin-left: 0.75rem;
}

.featurette-divider {
  margin: 5rem 0;
}

.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.05rem;
}

@media (min-width: 40em) {
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}

.main-nav-toggle svg {
  fill: #002e89;
  height: auto;
  width: 100%;
}

.hc-offcanvas-nav .nav-back a,
.hc-offcanvas-nav .nav-item-link,
.hc-offcanvas-nav li.nav-close a {
  padding: 16px 0;
  font-size: 20px;
  border-bottom: 1px solid transparent;
}

.hc-offcanvas-nav .nav-custom-content {
  padding: 0 !important;
  border-bottom: none !important;
}

.hc-offcanvas-nav .bottom-nav {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #002e89;
}

.hc-offcanvas-nav .bottom-nav .bottom-nav-item a {
  padding: 12px 10px;
}

#head .navbar {
  height: 64px;
}

@media (min-width: 1200px) {
  #head .navbar {
    height: 96px;
  }
}

.header-sticked .head.bg-white {
  background: rgba(255, 255, 255, 0.85) !important;
}

#head .navbar .navbar-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  justify-content: center;
  flex: 0 1 auto;
}

#head .navbar .navbar-nav .nav-item .nav-link {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  flex: 1 1 100%;
  text-align: center;
}

#head .dropdown-toggle::after,
.head-rollout .head-topbar {
  display: none;
}

.logo,
.logo img {
  width: 240px;
}

.navigace {
  background: #f1f1f1;
  padding: 10px 15px;
  margin: 10px 0;
}

#topmenu a {
  color: #0038a8;
  font-weight: bold;
  font-size: 1em;
}

#intro {
  background-image: url("/img/introbg.webp");
  background-size: cover;
  clip-path: polygon(100% 0, 100% 83%, 67% 88%, 0 83%, 0 0);
}

@media (min-width: 768px) {
  #intro {
    clip-path: polygon(100% 0, 100% 83%, 67% 97%, 0 83%, 0 0);
  }
}

@media (min-width: 1200px) {
  #intro {
    height: 700px;
  }
}

.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
}

#intro h1,
#intro h2 {
  color: #fff;
  text-shadow: #000 1px 1px 1px;
  font-size: 140%;
}

#intro h1 {
  font-size: 2.6rem;
  font-weight: bold;
}

#intro h2 {
  font-size: 1.75rem;
}

@media (min-width: 576px) {
  #intro h1 {
    font-size: 3.6rem;
  }

  #intro h2 {
    font-size: 2rem;
  }
}

.jumbotron {
  padding: 2rem 0;
}

@media (min-width: 576px) {
  .jumbotron {
    padding: 5rem 2rem;
  }
}

.bg-overlay {
  background: rgba(0, 56, 168, 0.85);
}

.bg-wood {
  background-image: url("/img/wood-bg.jpg");
  background-size: cover;
}

.h2-polygon {
  background: #212120;
  color: #fff;
}

.h2-polygon:before {
  content: "";
  width: 0;
  height: 0;
  border-bottom: 54px solid #212120;
  border-left: 20px solid transparent;
  float: left;
  margin-left: -44px;
  margin-top: -8px;
  margin-bottom: -8px;
}

.h2-polygon:after {
  content: "";
  width: 0;
  height: 0;
  border-top: 54px solid #212120;
  border-right: 20px solid transparent;
  float: right;
  margin-right: -44px;
  margin-top: -8px;
  margin-bottom: -8px;
}

.divider hr {
  visibility: visible;
  height: 0.15rem;
  border: 0;
  background-color: #3d3d3c;
  width: 100%;
  position: relative;
  margin: 0 15px;
}

.divider hr:before {
  display: block;
  content: " ";
  position: absolute;
  left: 1rem;
  bottom: -0.25rem;
  background-image: url("/img/moto-divider-grey.svg");
  background-size: 100% 100%;
  height: 4rem;
  width: 6rem;
}

.usp span {
  background: var(--primary);
  border-radius: 50%;
  color: #fff;
  font-weight: bold;
}

.usp span:before {
  margin: 0;
  font-size: 3.25rem;
}

.usp-numbers span {
  width: 6rem;
  height: 6rem;
  font-size: 2rem;
}

.text-shadow {
  text-shadow: #000 1px 1px 1px;
}

footer {
  background-image: linear-gradient(to bottom,
      rgb(0, 0, 0, 0.8),
      rgba(0, 0, 0, 0.9)),
    url(/img/footerbg.jpg);
  background-size: cover;
}

footer.bg-dark {
  background: #02041a !important;
}


footer a:hover {
  text-decoration: none;
}

footer .divider hr {
  background-color: #fff;
}

footer .divider hr:before {
  background-image: url("/img/moto-divider-white.svg");
}

footer .divider hr:after {
  display: block;
  content: " ";
  position: absolute;
  right: 0;
  bottom: 0.5rem;
  background-image: url("/img/logo-white.svg");
  background-size: 100% 100%;
  height: 4rem;
  width: 16rem;
}

@media (min-width: 576px) {
  footer .divider hr:after {
    height: 2rem;
    width: 8rem;
  }
}

.middle h1,
.middle h2,
#intro {
  font-weight: bold;
}

.middle p {
  color: #010611;
}

.middle img {
  border-radius: 4px;
}

/* Contact Form*/
#FormLead .col-form-label {
  text-align: left;
}

#map {
  height: 400px;
  background: url("/img/mapofspain.jpg") center center no-repeat;
  background-size: cover;
}

.tc12 .middle>h1,
.tc13 .middle>h1,
.tc14 .middle>h1 {
  display: none;
}

.checkbox-lg .custom-control-label {
  padding-top: 12px;
  padding-left: 8px;
}

.checkbox-lg .custom-control-label::before,
.checkbox-lg .custom-control-label::after {
  top: 0.75rem;
  width: 1.55rem;
  height: 1.55rem;
}

#TransportPrice {
  margin-top: 2rem;
}

@media (min-width: 576px) {
  #TransportPrice {
    margin-top: 6rem;
  }
}

#TransportPriceVat {
  font-weight: 800;
}

.HasArrow {
  position: relative;
  overflow: hidden;
}

.HasArrow::before {
  display: none;
}

@media (min-width: 576px) {
  .HasArrow::before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: url("/img/rightarrow.svg") 20px center no-repeat !important;
    transform: rotate(90deg);
    margin-top: 3rem;
    z-index: 0;
  }
}

@media (min-width: 768px) {
  .HasArrow::before {
    top: 190px;
    margin-top: 0;
  }
}

@media (min-width: 992px) {
  .HasArrow::before {
    transform: rotate(0);
    top: 0;
  }

  #TransportPrice {
    margin-top: 0;
  }
}

#mmenu:not(.mm-menu) {
  display: none;
}

#mmenu-toggle {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 50px;
  padding: 15px 25px;
}

#mmenu-toggle:before,
#mmenu-toggle:after {
  content: "";
  display: block;
  background: var(--primary);
  height: 2px;
}

#mmenu-toggle span {
  background: var(--primary);
  display: block;
  height: 2px;
  margin: 7px 0;
}

@media (min-width: 992px) {
  /*   #mmenu-toggle {
    display: none;
  } */
}

.mm-menu {
  --mm-lineheight: 64px;
  font-size: 1.15rem;
}

.usp ico {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}

.usp ico svg {
  width: 48px;
  height: 48px;
}

.usp ico svg {
  stroke: #0038a8 !important;
  fill: #0038a8;
}

.usp ico svg path {
  stroke: #0038a8 !important;
}

#intro .btn-primary,
.card .btn-primary {
  background-color: #1eb6c1;
  border-color: #1eb6c1;
}

#intro .btn-primary:hover,
#intro .btn-primary:active,
#intro .btn-primary:focus,
.card .btn-primary:hover,
.card .btn-primary:active,
.card .btn-primary:focus {
  background-color: #1998a2 !important;
  border-color: #1998a2 !important;
  /*#188c95*/
}

.newsletter-optin .row {
  border-radius: 0.5rem;
}

.newsletter-optin .container {
  background-image: url("/img/introbg.webp");
  background-size: cover;
  background-position: center center;
  position: relative;
  border-radius: 0.5rem;
}

.newsletter-optin .container:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(0, 56, 168, 0.85);
  border-radius: 0.5rem;
}

.newsletter-optin .container [class^="col"] {
  z-index: 1;
}

.newsletter-optin .input-group-lg>.form-control {
  font-size: 1rem;
  padding: 1.5rem 1rem;
  /*background: rgba(255, 255, 255, 0.75);*/
  /*border: 1px solid rgba(255, 255, 255, 0.75);*/
}

.newsletter-optin .custom-control-input {
  opacity: 0;
}

.newsletter-optin .custom-control-label::before {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.newsletter-optin .custom-control-input:checked~.custom-control-label::before {
  border-color: var(--info);
  background-color: var(--info);
}

.newsletter-optin .custom-control-input:not(:disabled):active~.custom-control-label::before {
  background-color: rgb(23 162 184 / 50%);
  /*border-color: rgb(23 162 184 / 50%); */
}

.sl-overlay {
  opacity: 1 !important;
}


.logged-2 h4,
.logged-2 #menu1,
.logged-2 #menu2,
.logged-2 #Nmenu1,
.logged-2 #Nmenu2,
.logged-3 h4,
.logged-3 #menu1,
.logged-3 #menu2,
.logged-3 #Nmenu1,
.logged-3 #Nmenu2 {
  display: none !important;
}

.tc34 header,
.tc34 footer,
.tc35 header,
.tc35 footer, 
.tc35 #intro  {
  display: none;
}

.tc34 .text-primary,
.tc34 h2, 
.tc35 .text-primary,
.tc35 h2 {
  color: #e21e24 !important;
}

.tc34 .hc-offcanvas-nav.hc-nav-1, 
.tc35 .hc-offcanvas-nav.hc-nav-1, 
#wrapper {

}
