/*
Theme Name: viteramedica
Theme URI: https://www.viteramedica.com/
Description: Custom child theme for Astra
Author: M3
Author URI: https://www.viteramedica.com/
Template: astra
Version: 1.0.0
*/

/* Add custom styles below */

body,
button,
input,
select,
textarea,
.ast-button,
.ast-custom-button {
    font-family: 'Open Sans', sans-serif !important;
}

/* hp separator */
.hp_separator {
  position: relative;
  display: flex;

  min-height: 240px;
  padding-top: 0;             
}


.hp_separator img {
  display: block;
  margin: 0 auto;
  max-height: 41px;
}


.hp_separator::after {
   content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 41px;
  height: 110%; 
  width: 2px; 
  
  background: repeating-linear-gradient(
    to bottom,
    #ebebeb,  
    #ebebeb 20px,  
    transparent 20px,
    transparent 30px
  );
}

.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item {
	line-height: 40px;
}

.current_page_item a {
  background-image: linear-gradient(#54aba3, #54aba3);
  background-size: 75% 2px;
  background-position: 55% 100%;
  background-repeat: no-repeat;
}

.custom-carousel-2 .testimonial-item {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
  position: relative;
  margin: 20px;
  min-height: 300px;
}

.custom-carousel-2 .quote {
  font-style: italic;
  color: #000000;
  line-height: 1.6;
  font-size: 16px;
  margin-bottom: 10px;
}

.custom-carousel-2 .quote-icon {
  font-size: 20px;
  color: #999;
  vertical-align: top;
}

.custom-carousel-2 .testimonial-name {
  font-weight: bold;
  color: #000;
  font-size: 16px;
  margin-bottom: 0px;
  text-style: 
}

.custom-carousel-2 .testimonial-stars {
  color: #FFD700;
  font-size: 20px;
  margin-top: 10px;
}



.custom-carousel-2 .owl-dots {
  text-align: center;
  margin-top: 20px;
}


.custom-carousel-2 .owl-dot {
  display: inline-block;
  width: 15px;
  height: 6px;
  background: #ebebeb !important;
  border-radius: 50%;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.custom-carousel-2 .owl-dot.active {
  background: #afcd49 !important;
  width: 15px;
  height: 6px;
}

.address_wrapper {
	color: #000;
}

#contact-form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0px 20px;
  margin-bottom: 0px;
}

#contact-form .two-columns .form-col {
  flex: 1 1 48%;
}

#contact-form .form-col label,
#contact-form .form-row label {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form input[type="tel"],
#contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

#contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  min-height: 120px;
}

#contact-form input[type="submit"] {
  background-color: #0a2c61;
  color: #fff;
  font-weight: bold;
  padding: 12px 40px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  border-radius: 25px;
}


#contact-form input[type="submit"]:hover {
  background-color: #001e4d;
}

#contact-form .form-row:last-child {
  display: flex;
  justify-content: center;
}

/* Base style for all language switcher items */
#ast-hf-menu-1 .menu-item.lang-item {
	margin-left: 10px;
}

#ast-hf-menu-1 .menu-item.lang-item > a {
    display: inline-block;
    padding: 7px;
    border-radius: 50%;
    background-color: #242e68;
    color: #fff;
    text-align: center;
    min-width: 30px;
    height: 33px;
    line-height: 20px;
    font-weight: 400;
    transition: 0.3s ease;
	font-size: 16px;
}

/* Active language */
#ast-hf-menu-1 .menu-item.lang-item.current-lang > a {
    background-color: #24a79c;
    color: #fff;
}

/* News archive */
.wk-news-thumb, .wk-thumb-placeholder{
  display:block; 
  width:100%;
  aspect-ratio:16/9; 
  object-fit:cover;
  border-radius:25px !important; 
  background:#e9edf0;
}
.wk-news-title{ 
	font-weight:300; 
	line-height:1.3;
	color: #24a79c !important;
}
.wk-news-title a{ 
	text-decoration:none !important;
	color: #24a79c !important;
}
.wk-news-title a:hover{ 
	text-decoration:underline;
}
.wk-news-excerpt { 
	color:#4b5563; 
	line-height:1.6;
}
.wk-news-pagination .page-numbers{ 
	display:flex; 
	gap:.5rem; 
	align-items:center; 
}
.wk-news-pagination .page-numbers li{ 
	list-style:none;
}
.wk-news-pagination a, .wk-news-pagination span{
  padding:.5rem .75rem; 
  border:1px solid #e5e7eb; 
  border-radius:8px; 
  text-decoration:none;
}
.wk-news-pagination .current{ 
	font-weight:600; 
	border-color:#cbd5e1; 
}

.wk-news-more {
	color: #24a79c !important;
}

/* Single News  */

.vm-hero{
  position: relative;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;                
  align-items: center;         
  justify-content: center;      
  text-align: center;
  z-index: -1;
}


/* заглавието над overlay-а */
.vm-hero__title{
  position: relative; z-index: 1;
  margin: 0;
  color: #fff;
  font-size: 60px;
  font-weight: 400;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

.vm-hero__arrow{
  margin: 12px auto 0 auto;
  width: max-content;
  margin-top: -50px;
  z-index: 4;
}
.vm-hero__arrow img { 
	display:block; 
}


body.vm-single-news .site-content .ast-container{
  display: block !important;
}

article.wk-underline{
  background: linear-gradient(#ebebeb, #ebebeb) center bottom / 100% 1px no-repeat;
  padding-bottom: 16px; /* отстояние от текста до линията */
}

.all_news_wrapper {
	display: flex;
}

.all_news_button {
	background-color: #1A2460;
    font-family: "Open Sans", Sans-serif;
    font-weight: 400;
    margin: 0 auto;
    color: #FFFFFF;
    border-radius: 25px 25px 25px 25px;
    padding: 15px 25px 15px 25px;
}

#single-news-wrapper h1 {
	color: #24a79c;
	font-weight: 400;
}


@media (min-width: 992px){
	.vm-hero {
		min-height: 500px;
	}
	
	#single-news-wrapper {
		max-width: 800px;
	}
}

@media (max-width: 991px){
  .vm-hero{
    min-height: 0;        
    height: 100vh;        
    overflow: hidden;
  }

  @supports (height: 100svh){
    .vm-hero{
      height: 90svh;
      max-height: 90dvh;
    }
  }
}

