/* 
 Theme Name:   astra-child
 Theme URI:    
 Description:  
 Author:       Martin Hauge
 Author URI:   https://www.hauge.cz
 Template:     astra
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/

/* ============================
   OBECNE DEFINICE
   ============================ */

@font-face {
  font-family: 'Inter';
  font-display: swap;
}
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-display: swap;
}

.wp-block-group {
  /* padding: 30px !important; */
}

ul.columns2 {
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 60px;
    height: 4px;
    background: #5d8b1f;
    border-radius: 2px;
}

.hero .icon-font-awesome,
.hero2 .icon-font-awesome,
.list .icon-font-awesome {
  border: none;
  background: transparent;
  width: auto;
  height: auto;
}

.icon-font-awesome {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #F9F7F3;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);	
  width: 70px;
  height: 70px;
  margin: 0 auto;
}

.wp-block-button__link { transition: transform 0.25s ease;}
.wp-block-button__link:hover {transform: scale(1.05);}

.orange {color: #e56f1b !important;}
.green {color: #577917 !important;}


@media (max-width: 767px) {
    .mrizka {
        grid-template-columns: 1fr !important;
    }
}





 
.podtrzeny-nadpis {
    position: relative;
    padding-bottom: 12px;
}

.podtrzeny-nadpis::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 3px;
}

.podtrzeny-nadpis.oranzovy::after { background: #f15a24;}
.podtrzeny-nadpis.zeleny::after {background: #5a9e3f;}






/* ============================
   NAVIGACE
   ============================ */


.main-header-menu .current-menu-item {
  text-decoration: underline;
  text-underline-offset: 8px;
}




.hlaseni-tyrani a {
  font-size: 16px;
  font-weight: 500;
  color: #000 !important;
  background-color: #ECECEC;
  opacity: 0.8;
  border-radius: 20px;
  height: 30px;
  margin-left: 10px;
  padding: 5px 15px;
}

.hlaseni-tyrani a:hover {
  opacity: 1;
}


.darujte {
  text-decoration: none !important;
}


.darujte a {
  font-size: 26px !important;
  font-weight: bold;
  text-decoration: none !important;
  color: #fff !important;
  background-color: #C92B25;
  border-radius: 5px;
  padding: 5px 15px !important;
}

.darujte a:hover,
.ast-below-header-bar:hover {
  background-color: #ee2b24;
}


.hero .btn-orange a {background: #E56F1B;}
.hero .btn-orange a:hover {background: #d06315 !important;}

/* ============================
   UVODNI STRANKA
   ============================ */

/* Desktop */
.hero-home .wp-block-cover__image-background {
    background-position: 50% 50% !important;
}

/* Mobil */
@media (max-width: 768px) {
    .hero-home .wp-block-cover__image-background {
        background-position: 75% 50% !important;
    }
}


/* Slider */
.home-slider .cb-slide {
  background-color: #F8F5F0;
  /* border: 2px solid #c3c4c7; */
  border-radius: 10px;
  /* padding: 15px; */
}

.home-slider .cb-slide img {
  border-radius: 10px 10px 0 0 !important;
  margin-bottom: 10px;
}

.home-slider .cb-slide p {
  margin: 20px;
}

.home-slider span.swiper-pagination-bullet.cb-pagination-bullet {
  background-color: #E56F1B !important;
}




/* Badge */
.badge {
  position: relative;
}

/* Společné nastavení všech badge */
.badge::before {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 20px;
  background: #ee2b24;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  /* text-transform: uppercase; */
}

/* SLIDER Jak pomáháme */
.badge-financni-podpora::before {
  content: "Nějaký text ...";
  background: #c92b25;
}

.badge-kastrace-kocek::before {
  content: "Nějaký text ...";
  background: #c92b25;
}

.badge-zachrana-tyranych-zvirat::before {
  content: "Nějaký text ...";
  background: #c92b25;
}

.badge-zachrana-srncat::before {
  content: "Nějaký text ...";
  background: #c92b25;
}

.badge-den-zvirat::before {
  content: "Nějaký text ...";
  background: #c92b25;
}

.badge-petice::before {
  content: "Nějaký text ...";
  background: #c92b25;
}

/* Staňte se andělem pro zvířata */
.badge-platba500::before {
  content: "Doporučujeme!";
  background: #c92b25;
}



.rotate-minus5 img {transform: rotate(-5deg);}
.rotate-plus5 img {transform: rotate(5deg);}





/* ============================
   AKCE
   ============================ */

.boxy .wp-block-column {
  background-color: #fbf7f4;
  /* border: 1px solid #577917; */
  border-radius: 10px;
  padding: 20px;
}

.boxy .wp-block-group {
  background-color: #fbf7f4;
  /* border: 1px solid #577917; */
  border-radius: 10px;
  padding: 20px;
}

@media (max-width: 768px) {
  .boxy {
    padding: 5px !important;
  }
}

/*
@media (max-width: 768px) {
  .wp-block-group {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
}
*/

/* ============================
   HLASENI TYRANI ZVIRAT
   ============================ */

/* Mapa */
button#openMapBtn {
  display: block;
  color: white;
  background-color: #C92B25;
  border: none !important;
  border-radius: 5px;
  margin: 0 auto;
  padding: 5px 15px;
}

button#openMapBtn:hover {
   background-color: #527118;
 }




.leaflet-bottom,
.leaflet-left {
  margin-bottom: 20px !important;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.5);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

#mapIframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

#modalClose {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  line-height: 36px;
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  color: #333;
  background: #fff;
  border: 2px solid #ccc;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10000;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

#modalClose:hover {
  background: #f5f5f5;
}

/* CF7 */
.hidden-fields-container {display: none !important;}
span.wpcf7-list-item { display: block; }

.wpcf7-form {
  background-color: #E9E9E9;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.wpcf7-form a {color: #CA383C;}

.wpcf7-form .hlaseni-nadpis-oddilu {
  font-size: 18px;
  font-weight: 600;
  color: #942428;
}

.wpcf7-form .row {
  display: flex;
  margin: 0;
}

@media only screen and (max-width: 921px) {
.wpcf7-form .row {
  flex-direction: column;
}
}

.wpcf7-form .box {
  background-color: #f0f0f0;
  margin: 10px;
  padding: 10px 20px;
}

.wpcf7-form label {
  font-size: 16px;
  font-weight: 600;
}

.wpcf7-form h3 {
  font-size: 20px;
}

.wpcf7-form p {
  margin-bottom: 15px;
}

.wpcf7-form input[type="text"], 
.wpcf7-form input[type="email"], 
.wpcf7-form input[type="url"], 
.wpcf7-form input[type="password"], 
.wpcf7-form input[type="search"], 
.wpcf7-form input[type="number"], 
.wpcf7-form input[type="tel"], 
.wpcf7-form textarea {
  width: 100%;
  /* margin: 5px 0 20px !important; */
  padding: 5px !important;
}

.wpcf7-form .povinne-pole {
  font-weight: bold;
  color: red; 
}

.wpcf7-form .wpcf7-not-valid-tip {
  font-size: 16px;
}

.wpcf7-form .wpcf7-submit {
  color: #fff;
  background-color: #C92B25;
  border: none !important;
  border-radius: 5px !important;
}

/* Legislativa */

.legislativa ul {
  list-style: disc !important;
}




.floating-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    z-index: 9999;
}

.floating-bar a {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    width: 100%;
    height: 30px;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
    box-sizing: border-box;

    background: #c92b25;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
	font-weight: 700;
}

.floating-bar a:hover {
    background: #ee2b24;
}





/*** FORMULAR Darujme.cz ***/
.darujme-form form {
  background-color: #fff !important;
  border-radius: 30px;
  border-width: 0px 0px 0px 4px;
  border-color: #CA383C;
}

.darujme-form form .bg-black {
  font-weight: bold;
  background-color: #CA383C !important;
}

.darujme-form form .shadow, .shadow-md {
  box-shadow: none;
}

.darujme-form form .button {
  border-radius: 20px;
  border-color: #CA383C;
  margin: 10px;
  padding: 10px 20px;
}

.darujme-form form .button:hover {
  background-color: #CA383C !important;
}

.darujme-form form .bg-white {
  font-weight: bold;
  background-color: #fff;
}

.darujme-form form .bg-white:hover {
  background-color: #CA383C !important;
}

.darujme-form form .shadow-md.p-5.text-center {
  background-color: #F5F5F5;
}

.darujme-form form .bg-blue-500 {
  display: block;
  font-size: 20px;
  text-transform: uppercase;	
  background-color: #CA383C !important;
  border: none;
  border-radius: 5px;
  margin: 0 auto;
  margin-top: 20px;
}

.darujme-form form .bg-blue-500:hover {
  background-color: #577917 !important;
}

/*
.form-darujme form .bg-blue-500::before {
  font-family: FontAwesome;
  display: inline-block;
  padding-right: 6px;
  vertical-align: middle;
  content: "\f4be";
}
*/



.site-footer-above-section-1 img {
  background-color: #fff;
  opacity: 0.5;
  border-radius: 50%;
  padding: 10px;
}



