/*
Theme Name: DMKSystem
Theme URI: https://www.dmk-system.cz
Description: Child theme for DMK System
Author: Pavel Gracias
Author URI: https://www.pavelgracias.cz
Template: Divi
Version: 5.0.0.4
*/

/* The plugin now uses the recommended approach for loading the css files.*/

/**** CUSTOM ****/
/*** GLOBAL ***/
::-moz-selection {
  background: #80BD00;
  color: #FFFFFF;
}

::selection {
  background: #80BD00;
  color: #FFFFFF;
}

body {
  font-weight: 400;
}

a {
  transition: all 300ms ease 0ms;
  font-weight: 600;
}

a:hover {
  transition: all 300ms ease 0ms;
}

.et_pb_text a:hover {
  color: #000000;
  text-decoration: underline;
}

@keyframes pulse {
  0% {
    /* transform: scale(0.95); */
    box-shadow: 0 0 0 0 rgba(74, 171, 61, 0.7);
  }

  70% {
    /* transform: scale(1); */
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }

  100% {
    /* transform: scale(0.95); */
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

.arrow-continue .et_pb_icon_wrap {
  background: black;

  box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
  /* transform: scale(1); */
  animation: pulse 2s infinite;
}

.arrow-continue .et_pb_icon_wrap:hover {
  animation: pulse 3s infinite;
  box-shadow: 0 0 0 0 rgba(74, 171, 61, 0.7);
}

.row-1600 {
  max-width: 1600px !important;
}

.img-pozadi-mobile img {
  object-fit: cover;
}

#popup-banner {
  width: fit-content;
  margin: 0 auto;
}

#popup-banner .et_pb_row {
  max-height: unset;
  max-width: unset;
}

#popup-banner .et_pb_row .et_pb_image img {
  max-height: 90vh;
  width: auto;
  object-fit: cover;
}

/*** SIDE DOT NAVIGATION ***/
ul.et_pb_side_nav {
  left: 0 !important;
  background: transparent !important;
}

ul.et_pb_side_nav li a {
  height: 30px !important;
  width: 5px !important;
  box-shadow: 0em 0em 0.3em rgba(0, 0, 0, 0.5);
  transition: all 300ms ease 0ms;
}

ul.et_pb_side_nav li a.active,
ul.et_pb_side_nav li a:hover {
  background-color: #fff !important;
  width: 9px !important;
  transition: all 300ms ease 0ms;
}

/*** HEADER ***/
/** MOBILE MENU **/
.mobile_menu_bar:before {
  font-size: 35px;
  font-weight: 900;
}

.mobile_nav.opened .mobile_menu_bar:before {
  content: '\4d';
}

@media only screen and (max-width: 980px) {

  .et_fixed_nav #main-header,
  .et_fixed_nav #top-header,
  .et_non_fixed_nav.et_transparent_nav #main-header,
  .et_non_fixed_nav.et_transparent_nav #top-header {
    position: fixed;
  }

  #main-header {
    -webkit-box-shadow: 0 3px 50px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 3px 50px rgba(0, 0, 0, .2);
    box-shadow: 0 3px 50px rgba(0, 0, 0, .2);
  }
}

/*** HOMEPAGE ***/
@media all and (min-width:768px) {
  .section-fullscreen {
    min-height: calc(100vh - 74px);
  }
}

.section-overlay::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

#hp-hero {}

#hp-hero-text hr {
  max-width: 40%;
  height: 4px;
  background-color: #FFFFFF;
  color: #FFFFFF;
  border: 0;
}

#hp-video iframe {
  height: auto !important;
  aspect-ratio: 16/9 !important;
}

#hp-video .fluid-width-video-wrapper {
  padding: 0 !important;
}

#hp-video iframe::after {
  display: block;
  content: "";
  clear: both;
}

@media all and (max-width:980px) {
  ul.et_pb_side_nav {
    display: none !important;
  }
}

/*** KONTAKT ***/
.form-kontakt input,
.form-kontakt textarea {
  border-color: #afafaf !important;
  border-radius: 0px !important;
  border-width: 0 0 2px 0 !important;
}

.form-kontakt input:hover,
.form-kontakt input:focus,
.form-kontakt textarea:hover,
.form-kontakt textarea:focus {
  border-color: #80bd00 !important;
}

.form-kontakt button.wpforms-submit {
  font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif !important;
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 500;
  background-color: #80bd00 !important;
  border-color: #80bd00 !important;
  border-radius: 0px !important;
  padding: 0.3em 1em !important;
  transition: all 300ms ease 0ms !important;
}

.form-kontakt button.wpforms-submit:hover {
  color: #ffffff !important;
  background-color: #f07300 !important;
  border-color: #f07300 !important;
}

.form-gdpr,
.form-gdpr label {
  font-size: 0.9rem !important;
}

/*** OSTATNÍ ***/
.blog-kariera article {
  margin-bottom: 5% !important;
}

/*** FIRMY ***/
.firmy-list .et_pb_image {
  height: 100%;
  padding: 0 0 !important;
}

.firmy-list .et_pb_image a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 30px 5% !important;
}

.firmy-list .et_pb_image:hover {
  z-index: 10;
  box-shadow: 0px 2px 18px 0px rgba(0, 0, 0, 0.3);
}

.pg-firma-card img {
  display: block;
  object-fit: contain;
  margin: 0 auto;
  max-height: 115px !important;
}

@media all and (max-width:768px) {
  .firmy-list .et_pb_image a {
    padding: 20px 5% !important;
  }

  .pg-firma-card {
    padding: 0 20px !important;
  }

  .pg-firma-row {
    padding: 10px 0 20px 0 !important;
  }
}

.hp-firmy .et_pb_de_mach_repeater {
  display: none;
}

.hp-firmy .featured-image {
  width: auto;
  max-height: 100px;
  margin: 0 auto;
}

.vypis-firmy-button {
  font-size: 1rem;
}

.firma-parametry .dmach-acf-label {
  font-weight: 600;
}

.firma-mapa.et_pb_map_container .et_pb_map {
  height: 100%;
}

.firma-mapa .et_pb_code_inner iframe {
  width: 100% !important;
}

/*** VOLNÁ MÍSTA ***/
.blog-volna-mista .et_pb_post .entry-title a {
  display: block;
  min-height: 3.6rem;
}

/*** FOOTER ***/
@media all and (min-width:981px) {
  .footer-form h3 {
    font-size: 1.8rem;
  }
}

@media all and (max-width:980px) {
  .footer-form h3 {
    font-size: 1.6rem;
  }
}

@media all and (max-width:767px) {
  .footer-form h3 {
    font-size: 1.4rem;
  }
}

.footer-text img {
  filter: brightness(0) invert(1);
  height: 35px;
  vertical-align: middle;
}