/*
Theme Name: FilipínskýLéčitel
Theme URI: https://filipinskylecitel.eu
Description: Child theme of Divi theme for the Divi theme
Author: Pavel Gracias
Author URI: https://www.pavelgracias.cz/
Template: Divi
Version: 5.0.0.3
*/

/* Generated by Orbisius Child Theme Creator (https://orbisius.com/products/wordpress-plugins/orbisius-child-theme-creator/) on Sat, 16 Nov 2024 14:28:41 +0000 */ 
/* The plugin now uses the recommended approach for loading the css files.*/

/**** CUSTOM PAVEL GRACIAS ****/
/*** GLOBAL ***/

::-moz-selection {
  background: #7b629ce0;
  color: #FFFFFF;
}

::selection {
  background: #7b629ce0;
  color: #FFFFFF;
}

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;
}

.et_pb_gallery p.et_pb_gallery_caption {
  display: none;
}

.et_pb_gallery_grid .et_pb_gallery_item {
  -webkit-animation: none !important;
  -moz-animation: none !important;
  -o-animation: none !important;
  -ms-animation: none !important;
  animation: none !important;
  display: block !important;
}

@media (min-width: 981px) {
  .et_pb_gutters3 .et_pb_column_4_4 .et_pb_grid_item {
    width: 18% !important;
    margin-right: 2% !important;
    margin-bottom: 40px !important;
  }

  .et_pb_grid_item.first_in_row,
  .et_pb_gutters3 .et_pb_column_4_4 .et_pb_grid_item {
    clear: none !important;
  }
}

.prepinac-primary .et_pb_toggle_title:before {
  right: 20px !important;
}

/*** HEADER ***/
.menu-cta a {
  font-weight: 900 !important;
  color: #7b629c !important;
}

#top-menu li {
  padding-right: 14px;
}

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

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

#main-header .et_mobile_menu li ul.hide {
  display: none !important;
}

#mobile_menu .menu-item-has-children {
  position: relative;
}

#mobile_menu .menu-item-has-children>a {
  background: transparent;
}

#mobile_menu .menu-item-has-children>a+span {
  position: absolute;
  right: 0;
  top: 0;
  padding: 10px 20px;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  z-index: 3;
}

span.menu-closed:before {
  content: "\4c";
  display: block;
  color: inherit;
  font-size: 16px;
  font-family: ETmodules;
}

@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);
  }
}

/*** LÉČITELÉ ***/
.img-lecitel {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.img-lecitel img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.vizitka-lecitel img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.title-lecitel {
  min-height: 5rem;
}

.profil-more-button {
  display: block;
}

/*** REZERVACE ***/
.am-category-service-color {
  display: none !important;
}

.am-service-header .am-service-info {
  display: none;
}

.am-payment-button {
  width: auto !important;
}

/*** COOKIES LIŠTA ***/
.cli-tab-header a.cli-nav-link {
  text-transform: none !important;
}

/*** PROGRAM AKCÍ ***/
body.page-id-520 #mapaterminu .et_pb_button,
body.page-id-520 .termin-button-rezervace {
  display: none !important;
}

/*** TERMÍNY ***/
/* #dmach-modal-wrapper .dmach-popup:first-of-type .dmach-nextprev-post .dmach-prev-post { */
#dmach-modal-wrapper>.dmach-popup .dmach-nextprev-post .dmach-prev-post {
  /* background: red !important; */
}

.termin-button-info a {
  width: fit-content !important;
  margin: 0 auto !important;
}

@media all and (max-width: 980px) {
  .termin-buttons-row .et_pb_column {
    margin-bottom: 0 !important;
  }
}

.termin-button-rezervace {
  display: block !important;
  width: fit-content !important;
  margin: 0 auto !important;
}

.dmach-popup.open .post-modal-cont {
  width: fit-content !important;
}

.termin-section {
  padding-top: 15px !important;
  padding-right: 15px !important;
  padding-bottom: 20px !important;
  padding-left: 15px !important;
}

.termin-section .et_pb_row {
  box-shadow: none !important;
}

.hide {
  visibility: hidden;
}


.et_pb_svg_logo #logo {
  height: 100% !important;
  max-height: 100% !important;
}

.pg_mobile_lang_switcher {
  display: none;
}

@media all and (max-width:980px) {
  #et-top-navigation {
    display: flex !important;
    flex-direction: row;
    justify-content: end;
    column-gap: 15px;
    width: 100%;
    padding-left: 0 !important;
  }

  .et_header_style_left #logo {
    /* width: 180px !important; */
    max-width: unset !important;
    max-height: 80% !important;
  }

  #et_top_search {
    margin: 0 !important;
  }

  .container.et_menu_container {
    width: 95%;
  }

  .et_search_outer {
    background-color: #FFFFFF;
  }

  .et_header_style_left .et-search-form {
    width: 100% !important;
    max-width: 100% !important;
  }

  .pg_mobile_lang_switcher {
    position: relative;
    z-index: 2;
    display: flex !important;
    flex-direction: row;
    justify-items: end;
    column-gap: 15px;
  }

  #gt_lightbox {
    /* display: block; */
    max-width: 100%;
    left: 0;
    top: 0;
    margin: 0;
  }

  #gt_lightbox>div:not(.gt_languages)>span {
    font-size: 25px !important;
    font-weight: 900 !important;
  }

  .gt_languages {
    column-count: 3 !important;
    overflow: scroll;
  }

  #mobile_menu {
    position: absolute !important;
    right: 0 !important;
    left: unset !important;
    padding: 5% !important;
    width: 95vw !important;
  }

  #mobile_menu li.menu-item-type-gs_sim {
    display: none;
  }
}

@media all and (max-width:480px) {
  .gt_languages {
    column-count: 2 !important;
  }
}

/*** TERMÍNY ***/
.post-modal-cont {
  min-width: 40%;
}

.dmach-popup .post-modal-cont .btn-termin-rezervace,
.dmach-popup .post-modal-cont .btn-termin-rezervace:hover {
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  padding: 0.3em 0.5em 0.3em 1.8em !important;
  margin-top: 1em !important;
}

.dmach-popup .post-modal-cont .btn-termin-rezervace::before {
  display: block !important;
  opacity: 1 !important;
  content: '' !important;
  line-height: 1.5em !important;
  font-size: inherit !important;
  margin-left: -1.3em !important;
  right: auto;
  font-family: ETmodules !important;
  font-weight: 400 !important;
}

.gm-style-iw .popup-button a,
.gm-style-iw .popup-button a:hover {
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  padding: 0.4em 1.5em 0.4em 2.8em !important;
  margin-top: 1em !important;
}

.gm-style-iw .popup-button a::before {
  display: block !important;
  opacity: 1 !important;
  content: '' !important;
  line-height: 1.5em !important;
  font-size: inherit !important;
  margin-left: -1.3em !important;
  right: auto;
  font-family: ETmodules !important;
  font-weight: 400 !important;
}