/*!
Theme Name: GeoRiga
Theme URI: https://them.es/starter
Author: Mārcis Veļikanovs
Author URI: https://them.es/
Description: GeoRiga sites lapa
Version: 3.2.2
Requires at least: 5.0
Tested up to: 6.0
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: geo
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/assets/dist/main.css" */

/* From http://codex.wordpress.org/CSS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html {
  background-color: #aad0ff !important;
  margin: 0 !important;
  padding: 0 !important;
}
body p, li, td, div {
  color: #000b40 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px;
}
body {
  background-color: #f8f8f8 !important;
  margin: 0 !important;
  padding: 0 !important;
}
a, span{
  font-family: 'Poppins', sans-serif !important;
}
span::before,
span::after {
  font-family: dashicons;
}

button {
	font-size: 14px !important; 
	font-family: 'Poppins', sans-serif !important;
	font-weight: 600 !important;
}

.navbar-brand {
  margin-left: -5px;
}

#navbar {
  width: 100%;
  background-color: #f7f7f7 !important;
  margin-left: -15px;
  margin-right: -15px;
}

@media (min-width: 992px) {
  #navbar {
      background-color: #ffffff !important;
      margin-left: 0px;
      margin-right: 0px;
  }
}

@media (min-width: 992px) {
  #menu-top-nav {
    height: auto;
  }

}

#menu-top-nav {
  margin-right: 0px !important;
}

@media (min-width: 992px) {
  #menu-top-nav {
    margin-right: auto !important;
  }
}

.switcher {
  height: 100vh;
}

@media (min-width: 992px) {
  .switcher {
    height: auto;
  }
}

.menu-item a {
  width: 100vw;
  text-align: center;
}
@media (min-width: 992px) {
  .menu-item a {
    width: auto;
    text-align: initial;
  }
}

.navbar-nav {
  align-items: center;
  min-height: 55px;
}

@media (min-width: 992px) {
  .navbar-nav {
    align-items: normal;
  }
}

.navbar-nav>li>a {
  font-size: 14px;
  font-weight: 600;
  line-height: 23px;
}
main {
	padding-top: 0 !important;
}
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.front-card-body {
	-webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
	display: flex;
    align-items: center;
    justify-content: center;
    height: 63.2px;
}

.front-card-body h5 {
  	font-size: 14px !important;
	display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 2;
}

@media (min-width: 768px) {
  .card-3d-img {
      max-height: 89px;
  }
}
@media (min-width: 992px) {
  .card-3d-img {
      max-height: 121px;
  }
}
@media (min-width: 1200px) {
  .card-3d-img {
      max-height: 150px;
  }
}

.wp-caption {
  max-width: 96%; /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}
.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}
.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}
.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

.gallery-item {
  display: inline-block;
  text-align: left;
  vertical-align: top;
  width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
  background: none;
  display: inline-block;
  max-width: 100%;
}

.gallery-item a img {
  display: block;
  -webkit-transition: -webkit-filter 0.2s ease-in;
  transition: -webkit-filter 0.2s ease-in;
  transition: filter 0.2s ease-in;
  transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
  -webkit-filter: opacity(60%);
  filter: opacity(60%);
}

.gallery-caption {
  display: block;
  text-align: left;
  padding: 0 10px 0 0;
  margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
  max-width: 100%;
}

.gallery-columns-2 .gallery-item {
  max-width: 50%;
}

.gallery-columns-3 .gallery-item {
  max-width: 33%;
}

.gallery-columns-4 .gallery-item {
  max-width: 25%;
}

.gallery-columns-5 .gallery-item {
  max-width: 20%;
}

.gallery-columns-6 .gallery-item {
  max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
  max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
  max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
  max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
  display: none;
}

.bypostauthor {
  font-weight: bold;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar. */
}
.jumbotron {
  background: linear-gradient(
      rgba(255, 255, 255, 0.2),
      rgba(255, 255, 255, 0.2)
    ),
    url(https://georiga.eu/wp-content/uploads/2022/09/sakums_galveneB-scaled.jpg);
  background-size: cover;
  background-attachment: fixed;
  color: white !important;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-scroll {
  height: 5000px;
}

.btn-outline-danger {
  color: white;
  border-color: white;
  border-radius: 0px;
  font-weight: 100;
  margin-top: 20px;
}
.lead {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 100;
  margin-top: -10px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important;
  color: #000b40;
}
h5 {
	font-size:22px !important;
}
h4 {
	font-size: 24px !important;
}
h3 {
  font-size: 24px !important;
}
@media (min-width: 992px) {
  h3 {
    font-size: 28px !important;
  }
}
mark {
    padding: 0 !important;
}
.jumbotron h1 {
  font-size: 48px !important;
}
@media (min-width: 992px) {
  .jumbotron h1 {
    font-size: 62px !important;
  }
}
.jumbotron p {
	font-weight: 600;
}
.bg-geo {
  color: #000b40 !important;
  background-color: #aad0ff !important;
}
.bg-geo-blue {
  background-color: #aad0ff;
}
.hover-geo:hover {
  transform: translate(0, -4px) scale(1);
}
.hover-geo {
  transition: transform .15s ease-in-out
}
/* Sidebar */
.btn-toggle-nav a {
  display: inline-flex;
  padding: 0.1875rem 0.5rem;
  margin-top: 0.125rem;
  margin-left: 2.25rem;
}
.btn-toggle {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.65);
  background-color: transparent;
  border: 0;
}
.btn-toggle:hover,
.btn-toggle:focus {
  color: rgba(0, 0, 0, 0.85);
  background-color: #aad0ff;
}
.btn-toggle-nav a:hover,
.btn-toggle-nav a:focus {
  text-decoration: underline;
  text-decoration-color: #aad0ff;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.link-dark:focus,
.link-dark:hover {
  color: #1a1e21;
}
.btn-toggle::before {
  line-height: 0;
  content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23000b40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e"); /* RIGHT arrow */
  transform: rotate(0deg);
  transition: transform 0.35s ease;
  transform-origin: 0.5em 50%;
}
/* Collapsed state - pointing right */
.btn-toggle[aria-expanded="false"]::before,
.btn-toggle.collapsed::before {
  transform: rotate(0deg);
}

/* Expanded state - pointing down */
.btn-toggle[aria-expanded="true"]::before,
.btn-toggle:not(.collapsed)[aria-expanded="true"]::before {
  transform: rotate(90deg);
}
.nav-link  {
	min-height: 55px !important;
}

.nav-link:focus,
.nav-link:hover {
  color: #000b40 !important;
  background-color: #aad0ff;
  text-decoration: none;
}
.navbar-nav .nav-link.active,
.navbar-nav .show > .nav-link {
  color: #000b40;
  text-decoration: underline;
  text-decoration-color: #254cd4;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-left: 12px !important;
    padding-right: 12px !important;
}
}
.exclamation-mark {
  color: #1D42F4;
  font-weight: bold;
}
.card-title-color {
  color: #000b40 !important;
}
.card-title-color.overflow-hidden {
  display: -webkit-box !important;
  -webkit-line-clamp: 6 !important;
  line-clamp: 6 !important;
  -webkit-box-orient: vertical !important;
  text-overflow: ellipsis !important;
  max-height: 116px !important; /* fallback for browsers that don't support line-clamp */
  line-height: 1.4 !important;
}
.read-more-btn {
  display: none !important;
  background-color: #f8f8f8 !important;
  color: #000b40 !important;
  border: 1px solid #000B40 !important;
}
.read-more-btn:hover {
  background-color: #0624bc !important;
  color: #ffffff !important;
}
.read-more-btn:focus {
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.read-more-btn.show {
  display: inline-block !important;
}

.shadow-color {
  box-shadow: 0 2px 5px 0 #b4b4b4;
}
.geo-button {
  background-color: #000b40 !important;
  color: white !important;
  font-size: 14px !important;
}
.geo-button:hover {
  background-color: #0624bc !important;
  color: white !important;
}
.jumbotron .ard {
  margin-right: 256px;
}
.navbar-toggler {
  color: #000b40 !important;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,11,64, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !important;
}

.fusion-widget-area .widget_nav_menu li a::marker {
  content: "";
}
.bi::before,
[class^="bi-"]::before,
[class*=" bi-"]::before {
  margin-right: 5px;
}
.men-col {
  color: #000b40 !important;
}
#menu-footer-menu-2 a {
  color: #000b40 !important;
}
#menu-footer-menu-2 {
  padding: 0;
  list-style: none;
}
#menu-footer-menu-1 {
  padding: 0;
  list-style: none;
}
#menu-footer-menu-1 a {
  color: #000b40 !important;
}

#menu-footer-menu-1-eng {
  padding: 0;
  list-style: none;
}
#menu-footer-menu-1-eng a {
  color: #000b40 !important;
}

#menu-footer-menu-2-eng a {
  color: #000b40 !important;
}
#menu-footer-menu-2-eng {
  padding: 0;
  list-style: none;
}

a:hover, a:focus {
  color: #00020d !important;
  outline-color: #000b40;
  text-decoration: underline;
}

#footer {
	overflow:hidden;
}
.fsize {
  font-size: 1.375rem !important;
}
.ard {
  position: relative;
  margin-left: 297px !important;
}
.margin-footer {
	margin-bottom:10.5px;
}
@media (min-width: 992px) {
  #header .container-fluid {
      max-width: 970px;
  }
}

@media (min-width: 1200px) {
  #header .container-fluid {
      max-width: 1170px;
  }
}

@media (min-width: 992px) {
  #header .container {
      width: auto !important;
      padding: 0px !important;
  }
}

/* Ensure header is fixed and navbar doesn't shift during animation */
#header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 999 !important;
}

/* Account for WordPress admin bar when logged in */
.admin-bar #header {
  top: 32px !important;
}

@media screen and (max-width: 782px) {
  .admin-bar #header {
    top: 46px !important;
  }
}

/* Ensure wrapper and content start after the fixed header */
#wrapper {
  padding-top: 55px !important;
  margin-top: 0 !important;
}

.admin-bar #wrapper {
  padding-top: 87px !important;
}

@media screen and (max-width: 782px) {
  .admin-bar #wrapper {
    padding-top: 101px !important;
  }
}

/* Ensure header image is positioned correctly after fixed header */
.header-image {
  margin-top: 0 !important;
}

.header-image {
  background-attachment: scroll !important;
  background-size: cover !important;
}

.header-iesaisties-position {
	background-position: center !important;
}

.header-riga-skaitlos-position {
	background-position: center !important;
}

.header-front-position {
	/*background-position: center !important;*/
	background-position: 0% !important;
}

@media (min-width: 768px) {
  .header-front-position {
	/*background-position: center !important;  */
	background-position: 60% !important; 
  }
}
.header-color {
  background-color: #ffffff !important;
  color: #000b40 !important;
  font-weight: 400 !important;
  --bs-navbar-color: #000b40 !important;
}
.header-text-color {
  color: #ffffff !important;
}
.header-text {
  font-weight:400; 
  font-size:14px;
  line-height: 1.1;
}
@media (min-width: 992px) {
  .header-text {
    font-size:16px;
  }
}
.text-justify {
  text-align: justify;
  text-justify: auto;
}
.text-color {
  color: #000b40 !important;
}
.menu_focus {
  text-decoration: underline;
  text-decoration-color: #aad0ff;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.border-start-light-blue {
  border-left: 2px solid #aad0ff !important;
}
.border-bottom-light-blue {
  border-bottom: 2px solid #aad0ff !important;
}
.border-top-light-blue {
  border-top: 2px solid #aad0ff !important;
}
.news-card-no-border {
  height: auto !important;
  --bs-card-border-width: none !important;
  margin-top: 0px !important;
  padding: 15px 10px 15px 10px;
  background-color: #ffffff !important;
  display: flex !important;
  flex-direction: column !important;
}

@media (min-width: 992px) {
  .news-card-no-border {
    margin-top: 1rem !important;
  }
}

.news-card-no-border .card-body {
  padding-top: 0px !important;
  padding-right: var(--bs-card-spacer-y) var(--bs-card-spacer-x) !important;
  padding-left: var(--bs-card-spacer-y) var(--bs-card-spacer-x) !important;
  padding-bottom: var(--bs-card-spacer-y) var(--bs-card-spacer-x) !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

@media (min-width: 992px) {
  .news-card-no-border {
    margin-top: 1rem !important;
  }
  
  .news-card-no-border .col-lg-5 {
    height: 231px !important;
  }
  
  .news-card-no-border.expanded .col-lg-5 {
    height: 231px !important;
  }

  .news-card-no-border .card-body {
    padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
  }
}

.news-card-title {
	margin-top: 1.5rem!important;
	margin-bottom: var(--bs-card-title-spacer-y);
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
  max-height: 60px !important;
}

@media (min-width: 992px) {
  .news-card-title {
      margin-top: 0!important;
  }
}

@media (min-width: 576px) {
  .news-row {
      flex-direction: column;
  }
}
@media (min-width: 992px) {
  .news-row {
      flex-direction: row;
  }
}

.kartes-img {
	margin-bottom: 0px!important;
	margin-right: 3rem!important;
	margin-top: 3rem!important;
}

@media (min-width: 768px) {
  .kartes-img {
      margin-bottom: 3rem!important;
  }
}

@media (min-width: 576px) {
  .kartes-row {
      flex-direction: column-reverse;
  }
}
@media (min-width: 768px) {
  .kartes-row {
      flex-direction: row;
  }
}

.kartes-title {
	margin-top: 0px!important;
}

@media (min-width: 768px) {
  .kartes-title {
      margin-top: 1.5rem!important;
  }
}

.entry-atvertie-dati {
  margin: 1.5rem 0;
}

.carousel-indicators button {
    background-color: #000 !important;
    transition: opacity 1s ease;
}

.carousel-inner {
  padding: 1rem;
  display: flex;
  justify-content: center;
}

.active.carousel-item-right,.carousel-item-next:not(.carousel-item-left){
  -webkit-transform:translateX(100%);
  transform:translateX(100%)
}
.active.carousel-item-left,.carousel-item-prev:not(.carousel-item-right){
  -webkit-transform:translateX(-100%);
  transform:translateX(-100%)
}
.carousel-fade .carousel-item{
  opacity:0;
  transition-property:opacity;
  -webkit-transform:none;
  transform:none
}
.carousel-fade .carousel-item-next.carousel-item-left,.carousel-fade .carousel-item-prev.carousel-item-right,.carousel-fade .carousel-item.active{
  z-index:1;
  opacity:1
}
.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{
  z-index:0;
  opacity:0;
  transition:opacity 0s 1s
}
@media (prefers-reduced-motion:reduce){.carousel-fade .active.carousel-item-left,.carousel-fade .active.carousel-item-right{transition:none}}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.carousel-control-prev-icon {
  background-image: url("templates/arrows/chevron-left-solid.svg")!important;
}
.carousel-control-next-icon {
  background-image: url("templates/arrows/chevron-right-solid.svg")!important;
}

.carousel-item {
  transition: transform 1s ease-in-out !important;
  width: 80% !important;
  margin-right: 0px !important;
}

@media (min-width: 768px) {
  .carousel-item {
    width: 100% !important;
  }
}

.active.carousel-item-end, .carousel-item-next:not(.carousel-item-start) {
  transform: translateX(150%) !important;
  position: absolute;
}

.active.carousel-item-left, .carousel-item-prev:not(.carousel-item-right) {
  transform: translateX(-150%) !important;
}

.active.carousel-item-start, .carousel-item-prev:not(.carousel-item-end) {
  transform: translateX(-150%) !important;
  position: absolute;
}

.active.carousel-item-right, .carousel-item-next:not(.carousel-item-left) {
  transform: translateX(150%) !important;
}

.iesaisties-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

ul.inline {
  margin: 0;
  padding: 0;
  list-style: none;
}
ul.inline li {
  display: inline-block;
  padding: 0;
  margin: 0 5px 0 0;
}

.iesaisties-content {
  padding-left: 32px !important;
}

.iesaisties-filters-cats {
  margin-bottom: 20px;
}
.iesaisties-filters-cats li button.active {
  cursor: auto;
  color: #000B40;
}
.iesaisties-filters-cats li button {
  background-color: transparent;
  margin-bottom: 1px;
  padding: 5px 10px;
  color: #757578;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  display: inline-block;
  -webkit-transition: 600ms;
  -moz-transition: 600ms;
  -o-transition: 600ms;
  transition: 600ms;
}
.iesaisties-card {
  background-color:#F5F5F5 !important;
  border-radius:10px !important;
  --bs-card-border-width: none !important;
}
.iesaisties-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0px !important;
}
.iesaisties-row {
  margin-right:0px !important;
  margin-left:0px !important;
}
.iesaisties-row>* {
  padding-right:0px !important;
  padding-left:0px !important;
}
.iesaisties-img-col {
  padding-right:0px !important;
  padding-left:0px !important;
}
.iesaisties-img {
  width: 100%;
  height:100%;
  border-top-left-radius:10px;
  border-bottom-left-radius:0px;
  border-top-right-radius:10px;
  border-bottom-right-radius:0px;
}
@media (min-width: 992px) {
  .iesaisties-img {
    height: 222px !important;
    border-top-left-radius:10px;
    border-bottom-left-radius:10px;
    border-top-right-radius:0px;
    border-bottom-right-radius:0px;
  }
}

.iesaisties-info-col {
  padding:16px !important;
}

@media (min-width: 992px) {
  .iesaisties-info-col {
    height: 222px !important;
	  padding-bottom: 0px !important;
  }
}

.iesaisties-card-title {
    font-size: 20px !important;
    margin-top: 1rem;
	  display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 2;
}
@media (min-width: 992px) {
  .iesaisties-card-title  {
    margin-top: 0px;
  }
}

.iesaities-card-text {
  display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 4;
}

@media (min-width: 992px) {
  .iesaities-card-text {
    height: 63px;
  }
}

@media (min-width: 992px) {
  .iesaities-card-text {
      -webkit-line-clamp: 3;
      line-clamp: 3;
  }
}

.breadcrumbs {
  display: flex;
  align-items: baseline;
  margin-bottom: 10px;
  margin-top: 9px;
}

.iesaisties-full-img{
  position: relative;
}

.iesaisties-content {
  position: relative;
}

.iesaisties-aktivs-container {
  flex-direction: column;
}
@media (min-width: 992px) {
  .iesaisties-aktivs-container {
    display:flex; 
    flex-direction: row;
    justify-content: center;
  }
}

.iesaisties-aktivs-info {
  width:100%;
}
@media (min-width: 992px) {
  .iesaisties-aktivs-info {
    width:60%;
    padding-right: 30px;
    padding-bottom: 70px;
  }
}

.form-container {
  width: 100%;
  height: 40rem;
}
@media (min-width: 992px) {
  .form-container {
    width: 70%;
    height: auto;
  }
}

/* New Iesaisties Design Styles */
.btn-group {
  padding: 5px;
  border-radius: 10px !important;
  background-color: #e9e9e9 !important;
  gap: 5px;
}

.iesaisties-toggle-buttons {
  display: flex;
  margin-bottom: 2rem;
}

.iesaisties-toggle-btn {
  border-radius: 10px !important;
  padding: 10px 20px !important;
  transition: all 0.3s ease;
  background-color: #F5F5F5 !important;
  color: #000b40 !important;
  font-size: 12px !important;
  border: none !important;
}

.iesaisties-toggle-btn:hover {
  background-color: white !important;
  color: #254cd4 !important;
}

.iesaisties-toggle-btn.active {
  background-color: white !important;
  color: #254cd4 !important;
}

.iesaisties-new-card {
  border: none !important;
  border-radius: 15px !important;
  overflow: hidden;
  background-color: #ffffff !important;
}

.iesaisties-new-card .card-title {
  height: 34px;
}

.iesaisties-categories {
  min-height: 41px;
}

.iesaisties-new-img-container {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.iesaisties-new-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.iesaisties-new-category {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: auto;
}

.iesaisties-new-category .badge {
  width: fit-content;
  font-size: 8px;
  padding: 5px 10px;
  border-radius: 15px;
  color: #000b40;
}

.iesaisties-apspriesana {
  background-color: #E0FD85;
}

.iesaisties-pieteiksanas {
  background-color: #C2CEF2;
}

.iesaisties-aptauja {
  background-color: #82DBB3;
}

.iesaisties-balsosana {
  background-color: #F6B6E3;
}

.iesaisties-priekslikumi {
  background-color: #FF8B8B;
}

.iesaisties-sabedriska-apspriede {
  background-color: #FDC3BC;
}

.iesaisties-sanaksme {
  background-color: #B7FCFC;
}

.iesaisties-vebinars {
  background-color: #FFE3A2;
}

.iesaisties-subcategory {
  background-color: #AAD0FF;
}

.iesaisties-aktivs {
  background-color: #96F550;
}

.iesaisties-nosledzies {
  background-color: #B8B6A4;
}

.iesaisties-new-status {
  margin-bottom: auto;
  width: fit-content;
  font-size: 8px !important;
  padding: 5px 10px !important;
  border-radius: 15px !important;
  color: #000b40 !important;
}

/* Subcategory badge styles */
.iesaisties-attistibas-programma, .iesaisties-development-programme {
  background-color: #e3f2fd !important;
}

.iesaisties-ricibas-plans, .iesaisties-action-plan {
  background-color: #f3e5f5 !important;
}

.iesaisties-buvniecibas-iecere, .iesaisties-construction-intention {
  background-color: #e8f5e8 !important;
}

.iesaisties-detalplanojums, .iesaisties-detailed-plan {
  background-color: #fff3e0 !important;
}

.iesaisties-lokalplanojums, .iesaisties-local-plan {
  background-color: #fce4ec !important;
}

.iesaisties-koku-cirsana, .iesaisties-tree-felling {
  background-color: #AAD0FF !important;
}

.iesaisties-politikas-planosanas-dokuments, .iesaisties-development-planning-documents {
  background-color: #BEAEFC !important;
}

.iesaisties-teritorijas-planojums, .iesaisties-spatial-plan {
  background-color: #e3f2fd !important;
}

.iesaisties-sabiedribas-lidzdaliba, .iesaisties-public-participation {
  background-color: #bef4a6 !important;
}

.iesaisties-new-intro {
  min-height: 63px;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.iesaisties-card-footer {
  min-height: 56px;
}

.iesaisties-card-footer a {
  color: #FFFFFF !important;
  padding: 6px 8px 6px 8px !important;
}

.iesaisties-new-time {
  margin: 0px !important;
}

.iesaisties-info-block .card {
  background-color: #ffffff !important;
}

.iesaisties-info-block .card-title {
  font-size: 20px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .iesaisties-toggle-buttons {
    margin-bottom: 1.5rem;
  }
  
  .iesaisties-new-img-container {
    height: 180px;
  }
}

.wpml-ls-legacy-dropdown-click .wpml-ls-flag {
	margin-right: 3px;
}

.wpml-ls-legacy-dropdown-click {
	width: 6em;
	padding-right: 0px;
  margin: auto;
}

@media (min-width: 992px) {
  .wpml-ls-legacy-dropdown-click {
    padding-right: 5px;
    margin: 0px;
  }
}

.wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle {
	border-top-left-radius: 6px;
  border-top-right-radius: 6px;
	border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
	padding: 10px;
}

.wpml-ls-legacy-dropdown-click a {
  background-color: #f7f7f7;
}


@media (min-width: 992px) {
  .wpml-ls-legacy-dropdown-click a {
    background-color: #ffffff;
  }
}
.wpml-ls-legacy-dropdown-click ul {
  min-width: 84px;
}

.wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu a {
	padding: 10px;
}

.wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu a {
	border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle:after {
  margin-right: 5px;
}

.download-icon:hover {
  transform: translate(0, -4px) scale(1);
}

.download-icon {
  transition: transform .15s ease-in-out;
}

.image-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.team-images {
  display: block;
}

.team-member {
  position: relative;
  display: inline-block;
  opacity: 0.6;
  transition: opacity .15s ease-in-out;
  border-radius: 100%;
  margin-left: 2rem;
  margin-right: 2rem;
  margin-bottom: 1rem;
}
@media (min-width: 992px) {
  .team-member {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}
@media (min-width: 1200px) {
  .team-member {
    margin-left: 2rem;
    margin-right: 2rem;
  }
}

.team-member img {
  width: 140px;
  height: 140px;
  border-radius: 100%;
}

.team-member .member-info {
  visibility: hidden;
  background-color: #fff;
  color: black;
  text-align: center;
  border-radius: 6px;
  border: 1px solid #dee2e6;
  padding: 15px 15px 20px 15px;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  width: 230px;
  transform: translate(-50%, 10px); 
  white-space: normal; 
  word-wrap: break-word;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px 0 #dee2e6;
}

.member-info b {
  font-size: 16px;
}
.member-info span {
  color: #0d6efd; 
  font-weight: 400 !important;
}
.member-info p {
  margin: 10px 0 10px 0;
  font-weight:400 !important;
}

.member-info a {
  opacity: 0.3; 
}

.member-info a:hover {
  opacity: 1; 
  transition: opacity 0.3s ease; 
}

.team-member .member-info::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
  filter: drop-shadow(0px 2px 1px rgba(255,255,255,.5));
}



.team-member:hover {
  opacity: 1;
}

.team-member:hover .member-info {
  visibility: visible;
}

.wpca-lay-out .wpca-lay-out-content * {
  line-height: 21px !important;
}

#wpca-bar-meta {
  margin-top: 15px;
  text-align:center !important;
}

#wpca-bar.wpca-decline-not .wpca-lay-out-meta {
  width: 100% !important;
}

#wpca-bar.wpca-decline-not .wpca-lay-out-content {
  width: 100% !important;
}

.no-content-message {
  font-size: 28px;
}

/* Search & Filter Styles */

.searchandfilter
{
	padding-bottom: 1rem;
}

.searchandfilter ul
{
	display: flex;
	margin: 0; 
	padding: 0; 
	list-style-type: none; 
}
.searchandfilter li
{
	list-style: none;
	width: auto; 
	float: left;
  padding-right: 0px;
}
.searchandfilter li:nth-child(1)
{
	flex-grow: 1;
}

.search_input {
	-webkit-appearance: initial;
    appearance: none;
    border: var(--bs-border-width) var(--bs-border-style) rgba(0, 11, 64, 0.5);
	border-radius: 10px 0px 0px 10px;
    margin-left: 0;
    margin-right: 0;
    min-width: 3rem;
    padding: 8px;
    text-decoration: unset!important;
	width: 100%;
}
.wp-element-button {
	height: 100%;
}
.wp-block-search__button.has-icon {
	margin-left:0px;
	border: var(--bs-border-width) var(--bs-border-style) rgba(0, 11, 64, 0.5);
  border-left: none !important;
	border-radius: 0px 10px 10px 0px;
  background-color: #aad0ff;
}
article .card-header {
	background-color: transparent;
	border-bottom: none;
	padding-bottom: 0px;
	height: 77px;
	display: flex;
    align-items: center;
    justify-content: flex-start;
}
.card-title {
  font-size: 14px !important;
	margin-bottom: 5px !important;
	display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  line-clamp: 2;
}
.card-title a {
	color: #000b40;
}

article .card-body {
/* Replaced fixed height with flexible layout so cards equalize height and content flows */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 0px;
  flex: 1 !important;
  /* removed fixed height to avoid uneven card layouts */
}
article .card-text {
  height: 128px; /* align with IN version for consistent excerpt height */
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 6;
}
.row>article {
	padding-left: 8px !important;
	padding-right: 8px !important;
}

.jumbotron h1, .jumbotron p {
    color: white !important;
}


/*
@media (min-width: 768px) {
  .carousel-control-prev-icon {
    display:none !important;
  }
  .carousel-control-next-icon {
    display:none !important;
  }
  .carousel-indicators {
    display:none !important;
  }
*/

/* Global Search Functionality Styles */
/* Search Button Styles */
.search-btn {
  background: transparent !important;
  border: none !important;
  padding: 8px 12px !important;
  border-radius: 0px !important;
  color: #000b40 !important;
  height: 55px;
}

.search-btn:hover, .search-btn:focus {
  background-color: #aad0ff !important;
  color: #000b40 !important;
}

.search-btn[aria-expanded="true"] {
  background-color: #aad0ff !important;
  color: #000b40 !important;
}

/* Search Dropdown Styles */
.search-dropdown {
  position: fixed !important;
  top: 55px !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  background: #aad0ff !important;
  z-index: 1000 !important;
}

/* Adjust for admin bar */
.admin-bar .search-dropdown {
  top: 87px !important;
}

@media screen and (max-width: 782px) {
  .admin-bar .search-dropdown {
    top: 101px !important;
  }
}

.search-dropdown .search-form {
  padding: 30px 0 70px 0 !important;
}

.search-input-wrapper {
  display: flex !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  box-shadow: none !important;
  border: none !important;
  border-bottom: 1px solid #000b40 !important;
  max-width: 600px !important;
  margin: 0 auto !important;
}

.search-dropdown .search-input {
  border: none !important;
  padding: 12px 16px 0px 2px !important;
  font-size: 16px !important;
  flex: 1 !important;
  outline: none !important;
  background: #aad0ff !important;
  border-radius: 0 !important;
}

.search-dropdown .search-input:focus {
  outline: none !important;
  box-shadow: none !important;
}

.search-dropdown .search-submit-btn {
  background-color: transparent !important;
  border: none !important;
  padding: 4px !important;
  margin: 12px 0px 0px 16px !important;
  color: #000b40 !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease !important;
}

/* Style the native search clear (X) button */
.search-dropdown .search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  height: 16px;
  width: 16px;
  margin-left: .4em;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000b40' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M18 6L6 18M6 6l12 12'/></svg>");
  cursor: pointer;
}

.search-dropdown .search-submit-btn:hover {
  background-color: rgba(0, 11, 64, 0.1) !important;
}

/* Search Overlay and Page Fade */
.search-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: rgba(0, 0, 0, 0.5) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: all 0.3s ease !important;
  z-index: 500 !important;
  pointer-events: none !important;
}

.search-overlay.show {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: all !important;
}

/* Fade page content when search is active */
body.search-active #wrapper > *:not(header) {
  opacity: 0.3 !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease !important;
}

/* Ensure header stays visible */
body.search-active header {
  opacity: 1 !important;
  pointer-events: all !important;
}

/* Make sure the search dropdown itself is not faded */
body.search-active .search-dropdown {
  opacity: 1 !important;
  pointer-events: all !important;
}

.rokasgramata .card, .search-result .card, .iesaisties .card, .atvertie-dati .card {
  border: 1px solid #aad0ff !important;
  min-height: 288px !important; /* ensure consistent card height */
}

/* Admin bar adjustments */
.admin-bar #wrapper {
  padding-top: 87px !important;
}

/* Search Results Styling */
.post-type-indicator {
  max-height: 22px;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #254cd4 !important;
  padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
}

/* Search Load More Button Styling */
#search-load-more {
  min-height: 44px !important; /* Minimum touch target size for mobile */
  min-width: 44px !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: rgba(0,0,0,0.1) !important;
  touch-action: manipulation !important;
}

#search-load-more.loading {
  opacity: 0.7 !important;
  pointer-events: none !important;
}

#search-load-more svg {
  margin-right: 5px !important;
}

#load-more {
  min-height: 44px; /* Minimum touch target size for mobile */
  min-width: 44px;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0,0,0,0.1);
  touch-action: manipulation;
}
#load-more.loading {
  opacity: 0.7;
  pointer-events: none;
}

article .global-search-card-header {
	padding-top: 0px;
}

article .global-search-card-text {
	height: 128px; /* increased from 108px */
	display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
  line-clamp: 6;
}

/*
Alternative: remove strict height and clamps so the excerpt can grow freely.
Uncomment if you prefer the excerpt to take variable height instead of fixed clamp.
article .global-search-card-text {
  height: auto !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  overflow: visible !important;
}
*/

#pojo-a11y-toolbar .pojo-a11y-toolbar-toggle a:hover,
#pojo-a11y-toolbar .pojo-a11y-toolbar-toggle a:focus {
	color: #ffffff !important;
}

/* Accessibility / compatibility: add standard `line-clamp` where `-webkit-line-clamp` is used */
.card-title-color.overflow-hidden {
  -webkit-line-clamp: 6 !important;
  line-clamp: 6 !important;
}

.card-title {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.front-card-body h5 {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.news-card-title {
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
}

article .card-text {
  -webkit-line-clamp: 6;
  line-clamp: 6;
}

article .global-search-card-text {
  -webkit-line-clamp: 5;
  line-clamp: 5;
}

.iesaisties-card-title {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.iesaities-card-text {
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

@media (min-width: 992px) {
  .iesaities-card-text {
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
}


