/**
 * Theme Name: Bioreģions
 * Description: Theme for bioregions.lv
 * Author: Janis Krievins (krievinshj@gmail.com)
 * Template: blocksy
 * Text Domain: blocksy
 */

/*******************
 * Transition
 * ***************/
.hotspot,.hotspot .gb-icon, .hotspot .gb-icon svg path, .entry-content a, .hero-button:after,.transition{
	transition:0.3s all ease-in-out;
	-webkit-transition:0.3s all ease-in-out;
}
.clickable-parent a:before,.hotspot .gb-headline-text a:after{
	content:"";
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
}
.entry-content > .gb-container:not(.map-section,.hero-section,.post-archive__header-section){
	padding-inline:clamp(40px, 5vw, 60px);
}
/*******************
 * Header
 * ***************/
.ct-language-switcher{
	flex-shrink:0;
}
.trp-language-switcher-container li {
    width: 40px;
    height: 65px;
    display: flex;
    justify-content: center;
    background-color: var(--theme-palette-color-11);
}
.trp-language-switcher-container li.current-lang{
	width: 70px;
	background-color: var(--theme-palette-color-10);
	mask-image: url(/wp-content/uploads/2025/02/language-switcher-mask.svg);
    mask-size: contain;
    mask-repeat: no-repeat;
}
#offcanvas .trp-language-switcher-container li{
	background-color:transparent;
}
#offcanvas .trp-language-switcher-container li.current-lang{
	background-color: var(--theme-palette-color-1);
}
@media (min-width: 1000px) {
[data-header*=type-1] .ct-header [data-id=menu]>ul>li>a{
	font-size: clamp(12px, 1vw, 18px);
}
[data-header*=type-1] .ct-header [data-id=logo] .site-logo-container {
    --logo-max-height: clamp(50px, 5vw, 90px);
}
}
.menu .current-page-ancestor a.ct-menu-link {
    color: var(--theme-palette-color-1) !important;
}
/*******************
 * Hero
 * ***************/
.hero-img{
	aspect-ratio:139/76;
	mask-image: url(/wp-content/uploads/2025/02/hero-bg-mask.svg);
	-webkit-mask-image: url(/wp-content/uploads/2025/02/hero-bg-mask.svg);
	mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}
.hero-content{
	font-size:clamp(.55em,1.4vw,1em);
}
.hero-button {
    align-items: center;
    font-size: 1.25em;
    font-weight: 700;
    justify-content: center;
    text-transform: uppercase;
    width: 11.2em;
    aspect-ratio: 56 / 41;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}
.hero-button-1{
    mask-image: url(/wp-content/uploads/2025/01/button-vector.svg);
	-webkit-mask-image: url(/wp-content/uploads/2025/01/button-vector.svg);
}
.hero-button:after{
	content:"";
	display:block;
	mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
	position:absolute;
	left:0;
	right:0;
	bottom:0;
	top:0;
	background-color:#fff;
	opacity:0;
}
.hero-button-1:after{
	mask-image: url(/wp-content/uploads/2025/02/hero-button-1-hover-mask-1.svg);
	-webkit-mask-image: url(/wp-content/uploads/2025/02/hero-button-1-hover-mask-1.svg);
}
.hero-button-2{
    mask-image: url(/wp-content/uploads/2025/01/hero-button-2-vector.svg);
	-webkit-mask-image: url(/wp-content/uploads/2025/01/hero-button-2-vector.svg);
}
.hero-button-2:after{
	mask-image: url(/wp-content/uploads/2025/02/hero-button-2-hover-mask-2.svg);
	-webkit-mask-image: url(/wp-content/uploads/2025/02/hero-button-2-hover-mask-2.svg);
}
.hero-button:hover:after{
	opacity:1;
}
/******************************
 * Section title with shape
 * ***************************/
.section-title{
	mask-repeat: no-repeat;
	mask-size: contain;
	mask-position: center;
	width: 10.6em;
    height: 5.675em;
    font-size: clamp(1.4em, 2.4vw, 1.875em);
	font-weight:bold;
	text-transform:uppercase;
	margin-inline:auto!important;
	display: flex;
    background-color: var(--theme-palette-color-10);
    justify-content: center;
    align-items: center;
}
.bioregions-title{
	mask-image: url(/wp-content/uploads/2025/01/bioregions-section-title-shape.svg);
    -webkit-mask-image: url(/wp-content/uploads/2025/01/bioregions-section-title-shape.svg);
}
.forums-title{
	mask-image: url(/wp-content/uploads/2025/01/Forums-section-title-shape.svg);
    -webkit-mask-image: url(/wp-content/uploads/2025/01/Forums-section-title-shape.svg);
}
.labumi-title{
	mask-image: url(/wp-content/uploads/2025/01/labumi-section-title-shape.svg);
    -webkit-mask-image: url(/wp-content/uploads/2025/01/labumi-section-title-shape.svg);
}
.iesaisties-title{
	mask-image: url(/wp-content/uploads/2025/01/post-archive-title-shape.svg);
    -webkit-mask-image: url(/wp-content/uploads/2025/01/post-archive-title-shape.svg);
}
/******************************
 * Bioregions map
 * ***************************/
.hotspot{
	display:inline-flex;
	align-items: center;
	column-gap: .5em;
    font-size: 1.5625em;
	font-weight: 700;
	position:relative;
}
.hotspot a{
	color:var(--theme-palette-color-3);
}
.hotspot a:hover{
	color:var(--theme-palette-color-1);
}
@media (min-width: 768px) {
.map-container {
  position:relative;
  aspect-ratio:787/484;
  width:86%;
  font-size: clamp(0.4em, 0.8vw, 1em);
}
.hotspot{
  position:absolute!important;
  line-height:1;
}
.hotspot-reverse{
	flex-direction:row-reverse;
	text-align:right;
}
.bioregions-faktos{
  bottom:40%;
  right:72%;
}
.kas-ir-bioregions{
  bottom:65%;
  right:65%;
}
.buj {
    top: 31%;
    left: 43%;
}
.atbalstitaji {
    top: 56%;
    left: 36%;
}
.memorands {
    top: 19%;
    left: 90%;
}
.kontakti {
    top: 44%;
    left: 96%;
}
.mediji {
    bottom: 33%;
    right: 6%;
}
.sejas {
    top: 80%;
    left: 75%;
}
.dibinataji {
    bottom: 18%;
    right: 38%;
}
.ideja {
    bottom: -2%;
    right: 49%;
}
}
.hotspot .gb-icon {
    background-color: var(--theme-palette-color-10);
    border-radius: 50%;
    padding: 10px;
}
.hotspot .gb-icon svg{
  width: 2.6em;
  height: 2.6em;
}
.hotspot:hover a{
	color:var(--theme-palette-color-2);
}
.hotspot:hover .gb-icon{
	background-color: var(--theme-palette-color-3);
}
.hotspot:hover .gb-icon svg path{
	fill:#fff!important;
}
/******************************
 * Forums cards
 * ***************************/
.forums-item-container{
	aspect-ratio: 370 / 197;
}
.forums-card__featured-img{
	mask-image: url(/wp-content/uploads/2025/01/forums-img-bg-1.svg);
    -webkit-mask-image: url(/wp-content/uploads/2025/01/forums-img-bg-1.svg);
	mask-repeat: no-repeat;
	mask-size: contain;
	aspect-ratio: 157 / 120;
}
/******************************
 * Labumi cards
 * ***************************/
.labumi-card figure{
	width:100%;
}

.labumi-card img{
	mask-repeat: no-repeat;
	mask-size: contain;
	margin-bottom:20px;
	aspect-ratio:53/52;
	width:100%;
	object-fit:cover;
}
.labumi-iedzivotajiem img{
	mask-image: url(/wp-content/uploads/2025/01/Blog-post-mask-1.svg);
    -webkit-mask-image: url(/wp-content/uploads/2025/01/Blog-post-mask-1.svg);
}
.labumi-uznemumiem img{
	mask-image: url(/wp-content/uploads/2025/01/blog-post-mask-2.svg);
    -webkit-mask-image: url(/wp-content/uploads/2025/01/blog-post-mask-2.svg);
}
.labumi-viesiem img{
	mask-image: url(/wp-content/uploads/2025/02/viesiem-bg-shape.svg);
    -webkit-mask-image: url(/wp-content/uploads/2025/02/viesiem-bg-shape.svg);
}
.labumi-card-title{
	text-transform:uppercase;
}
.labums-item span{
	font-size:16px;
	font-weight:bold;	
}
.labums-item .gb-icon {
    line-height: 0;
    background: var(--theme-palette-color-10);
    border-radius: 50%;
    padding: 9px;
}
.parent-iedzivotajiem .dropdown-selected:before,.parent-iedzivotajiem .dropdown-item:before,
.parent-uznemumiem .dropdown-selected:before,.parent-uznemumiem .dropdown-item:before{
    background-image: url(/wp-content/uploads/2025/02/buletpoint-icon.svg);
}
.parent-iedzivotajiem .dropdown-item:before,
.parent-uznemumiem .dropdown-item:before {
    border-radius: 50%;
    background-size: 16px;
}
/******************************
 * Iesaisties cards
 * ***************************/
.iesaisties-card{
	aspect-ratio:1;
	position:relative;
	font-size:clamp(0.5em, 1.1vw,1em);
}
@media (min-width: 768px) {
	.iesaisties-card{
	font-size:clamp(0.5em, 1.1vw,1em);
 }
}
.iesaisties-card img {
    height: 8.925em;
}
.iesaisties-card h3{
	font-size:1.25em;
}
.iesaisties-card h3 a{
	color:var(--theme-palette-color-3)
}
.iesaisties-card h3 a:hover{
	color:var(--theme-palette-color-1)
}
.iesaisties-card:before{
	content:"";
	display:block;
	background-size:contain!important;
	position:absolute;
	z-index:-1;
}
.iesaisties-memorands:before{
	width:17em;
	aspect-ratio:137/106;
	background:url(/wp-content/uploads/2025/02/iesaisties-line-1.svg) no-repeat;
	bottom: 84%;
    right: -27%;
}
.iesaisties-iesniedz:before{
	width:8.5em;
	aspect-ratio:34/43;
	background:url(/wp-content/uploads/2025/02/Iesaisties-line-2.svg) no-repeat;
	bottom: 93%;
    right: 34%;
    transform: rotate(20deg)
}
.iesaisties-atbalsti:before{
	width:29em;
	aspect-ratio:47/25;
	background:url(/wp-content/uploads/2025/02/iesaisties-line-3.svg) no-repeat;
	bottom: 85%;
    right: 49%;
	transform: rotate(9deg);
}
.parent-pageid-797 .menu .menu-item-913 a{
	color:var(--theme-palette-color-1)!important;
}
/******************************
 * Newsletter
 * ***************************/
.newsletter{
	font-size:clamp(0.7em, 1vw,1em);
}
.newsletter-icon {
    width: 13.625em !important;
    aspect-ratio: 109 / 113;
    padding: 20px;
}
.newsletter-form .fluentform .ff-el-group,
.newsletter-form .frm-fluent-form .ff-t-cell .ff_submit_btn_wrapper_custom button{
	margin-bottom:0;
}
.newsletter-form .frm-fluent-form .ff-t-container{
	align-items: center;
	gap: 10px 0;
}
.newsletter-form .frm-fluent-form .ff-t-column-1{
	flex-grow:1;
	flex-basis:auto!important;
}
.newsletter-form .frm-fluent-form .ff-t-column-2{
	margin-left:-50px;
}
.newsletter-form .frm-fluent-form .ff-t-cell .ff_submit_btn_wrapper_custom button{
	font-size:1.25em;
}
.newsletter-form .email input{
	padding-inline:28px!important;
}
.newsletter-form .email input:focus{
	height:54px!important;
}
.ff-inherit-theme-style .ff-el-form-control:not([size]):not([multiple]) {
    height: auto !important;
    padding: 12px 30px !important;
    font-size: clamp(0.75rem, 1vw, 1rem) !important;
}
/******************************
 * Post archive
 * ***************************/
.blog-posts-title{
	mask-image: url(/wp-content/uploads/2025/01/post-archive-title-shape.svg);
    -webkit-mask-image: url(/wp-content/uploads/2025/01/post-archive-title-shape.svg);
	mask-repeat: no-repeat;
	mask-size: contain;
}
/** Category filter **/
.category-filter-list {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    gap: 10px 25px;
    font-weight: bold;
	flex-wrap: wrap;
}
.category-filter-list li a{
	color:var(--theme-palette-color-3);
	display:flex;
	align-items: center;
	column-gap:5px;
}
.category-filter-list li a .icon-wrapper{
    width: 40px;
    height: 40px;
    display: block;
    background-color: var(--theme-palette-color-10);
    border-radius: 50%;
	display: flex;
    align-items: center;
    justify-content: center;
}
.category-filter-list li.active a{
	color:var(--theme-palette-color-3);
}
.category-filter-list li:hover a{
	color:var(--theme-palette-color-2);
}
.category-filter-list li.active a .icon-wrapper {
	background-color: var(--theme-palette-color-3);
}
.category-filter-list li:hover a .icon-wrapper{
	background-color: var(--theme-palette-color-2);
}
.category-filter-list li.active a svg path,
.category-filter-list li:hover a svg path {
    stroke: #fff;
}
/** tag filter **/
.tag-filter-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    list-style-type: none;
    font-size: 14px;
    gap: 5px;
    line-height: 1;
	max-width: 400px;
    margin-left: auto;
}
.tag-filter-list li.active a{
	color:var(--theme-palette-color-3);
}
/* By default, show the desktop filter and hide the mobile dropdown */
.desktop-category-filter { display: block; }
.mobile-category-filter { display: none; }


@media (max-width: 768px) {
    .desktop-category-filter { display: none; }
    .mobile-category-filter { display: block; }
}
/******************************
 * Post archive cards
 * ***************************/
.entry-card,.contacts-card,.gb-query-loop-item,.wp-block-gallery figure{
	position:relative;
}
.entry-card img,.contacts-card img,.entry-content .wp-block-image img,
.wp-block-image .components-resizable-box__container img, .image-mask-1 img,.image-mask-2 img,.image-mask-3 img,.image-mask-4 img,.blog-posts .gb-query-loop-item img,.wp-block-gallery figure img{
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}
.entry-card img,.contacts-card img,.blog-posts .gb-query-loop-item img,.wp-block-gallery figure img{
	mask-image: url(/wp-content/uploads/2025/01/Blog-post-mask-1.svg);
}
.entry-card:nth-child(4n+1) img,.contacts-card:nth-child(4n+1) img,.image-mask-1 img,.blog-posts .gb-query-loop-item:nth-child(4n+1) img,.wp-block-gallery figure:nth-child(4n+1) img{
    mask-image: url(/wp-content/uploads/2025/01/Blog-post-mask-1.svg);
    -webkit-mask-image: url(/wp-content/uploads/2025/01/Blog-post-mask-1.svg);
}

.entry-card:nth-child(4n+2) img,.contacts-card:nth-child(4n+2) img,.image-mask-2 img,.blog-posts .gb-query-loop-item:nth-child(4n+2) img,.wp-block-gallery figure:nth-child(4n+2) img{
    mask-image: url(/wp-content/uploads/2025/01/blog-post-mask-2.svg);
    -webkit-mask-image: url(/wp-content/uploads/2025/01/blog-post-mask-2.svg);
}

.entry-card:nth-child(4n+3) img, .contacts-card:nth-child(4n+3) img,.image-mask-3 img,.blog-posts .gb-query-loop-item:nth-child(4n+3) img,.wp-block-gallery figure:nth-child(4n+3) img{
    mask-image: url(/wp-content/uploads/2025/01/blog-post-mask-3.svg);
    -webkit-mask-image: url(/wp-content/uploads/2025/01/blog-post-mask-3.svg);
}

.entry-card:nth-child(4n+4) img, .contacts-card:nth-child(4n+4) img,.image-mask-4 img,.blog-posts .gb-query-loop-item:nth-child(4n+4) img,.wp-block-gallery figure:nth-child(4n+4) img{
    mask-image: url(/wp-content/uploads/2025/01/blog-post-mask-4.svg);
    -webkit-mask-image: url(/wp-content/uploads/2025/01/blog-post-mask-4.svg);
}
.mobile-category-filter .dropdown-item:before,.mobile-category-filter .dropdown-selected:before{
	background-image:url(/wp-content/uploads/2025/01/post-filter-icon.svg);
	background-size:16px;
}
/******************************
 * Kontakti cards
 * ***************************/
.contacts-card__container{
	display:grid;
	grid-template-columns: repeat(2, 1fr);
	gap:80px 40px;
}
.contacts-card img{
	max-width:225px;
}
/******************************
 * Bioregions dropdown
 * ***************************/
/* Dropdown Container */
.dropdown {
  position: relative;
  display: inline-block;
	z-index:1
}

/* Dropdown Button */
.dropdown-button {
  display: flex;
  align-items: center;
  column-gap:5px;
  padding: 4px 15px 4px 6px;
  width: 290px;
  background-color:#fff;
  border: 2px solid var(--theme-palette-color-1);
  border-radius: 30px;
  cursor: pointer;
  position:relative;
  z-index:1;
}

/* Arrow Icon */
.arrow-icon {
  margin-left: auto;
  font-size: 12px;
  transform: rotate(0deg);
  transition: transform 0.2s ease;
  justify-self:flex-end;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 290px;
    background-color:var(--theme-palette-color-10);
    border-radius: 20px;
    margin-top: -35px;
    padding: 45px 20px 20px 13px;
    display: none;
}


/* Dropdown Items */
.dropdown-item {
  display: flex;
  align-items: center;
  cursor: pointer;
  column-gap:10px;
  font-weight: 600;
}
.dropdown-item:before,.dropdown-selected:before{
	content:"";
	display:block;
	width: 32px;
    height: 32px;
    background-repeat: no-repeat;
    background-position: center;
	background-size:contain;
}
.dropdown-selected:before{
	background-color:var(--theme-palette-color-10);
	background-size: 18px;
	border-radius:50%;
}
.dropdown-selected{
	display: flex;
    column-gap: 8px;
	font-weight:600;
	text-align: left;
	align-items: center;
}
.dropdown-item:before{
	width: 24px;
	height:24px;
}
.dropdown-item .icon {
  margin-right: 8px;
}

.dropdown-item:hover {
	color:var(--theme-palette-color-1);
}
/* Show Dropdown Menu */
.dropdown.open .dropdown-menu {
  display: flex;
  flex-direction: column;
  row-gap: 7px;
}

/* Rotate Arrow Icon when Dropdown is Open */
.dropdown.open .arrow-icon {
  transform: rotate(180deg);
}

.dropdown-item[data-post-id="580"]:before,.dropdown-selected[data-post-id="580"]:before{
	background-image:url(/wp-content/uploads/2025/02/bioregions-faktos.svg);
}
.dropdown-item[data-post-id="578"]:before,.dropdown-selected[data-post-id="578"]:before{
	background-image:url(/wp-content/uploads/2025/02/Kas-ir-bioregions.svg);
}
.dropdown-item[data-post-id="582"]:before,.dropdown-selected[data-post-id="582"]:before{
	background-image:url(/wp-content/uploads/2025/02/Ka-dzima-ideja.svg);
}
.dropdown-item[data-post-id="584"]:before,.dropdown-selected[data-post-id="584"]:before{
	background-image:url(/wp-content/uploads/2025/02/Dibinataji.svg);
}
.dropdown-item[data-post-id="586"]:before,.dropdown-selected[data-post-id="586"]:before{
	background-image:url(/wp-content/uploads/2025/02/Bioregiona-sejas.svg);
}
.dropdown-item[data-post-id="588"]:before,.dropdown-selected[data-post-id="588"]:before{
	background-image:url(/wp-content/uploads/2025/02/Labas-gribas-memorands.svg);
}
.dropdown-item[data-post-id="590"]:before,.dropdown-selected[data-post-id="590"]:before{
	background-image:url(/wp-content/uploads/2025/02/Atbalstitaji.svg);
}
.dropdown-item[data-post-id="592"]:before,.dropdown-selected[data-post-id="592"]:before{
	background-image:url(/wp-content/uploads/2025/02/Kontakti.svg);
}
.dropdown-item[data-post-id="594"]:before,.dropdown-selected[data-post-id="594"]:before{
	background-image:url(/wp-content/uploads/2025/02/Mediji.svg);
}
.dropdown-item[data-post-id="596"]:before,.dropdown-selected[data-post-id="596"]:before{
	background-image:url(/wp-content/uploads/2025/02/BUJ.svg);
}
.dropdown-item[data-post-id="799"]:before,.dropdown-selected[data-post-id="799"]:before{
	background-image:url(/wp-content/uploads/2025/02/iesaisties-paraksti-memorandu-icon.svg);
}
.dropdown-item[data-post-id="815"]:before,.dropdown-selected[data-post-id="815"]:before{
	background-image:url(/wp-content/uploads/2025/02/iesaisties-iesniedz-ideju-icon.svg);
}
.dropdown-item[data-post-id="817"]:before,.dropdown-selected[data-post-id="817"]:before{
	background-image:url(/wp-content/uploads/2025/02/Iesaisties-atbalsti-icon.svg);
}

.parent-pageid-576 .menu .menu-item-690 a {
    color: var(--theme-palette-color-1) !important;
}
/******************************
 * Content styles and classes
 * ***************************/
.two-column-text{
	columns: 2;
    gap: clamp(30px, 5vw, 80px);
}
.grid-2,.grid-3,.grid-4{
	display:grid!important;
  --grid-gap: clamp(30px, 5vw, 80px);;
  --grid-columns: 2; 
  --grid-item--collapse-at: 400px;
  --grid-item--min-width: min(var(--grid-item--collapse-at), 100%);
  
  /*Calculated values.*/
  --gap-count: calc(var(--grid-columns) - 1);
  --total-gap-width: calc(var(--gap-count) * var(--grid-gap));
  --grid-item--max-width: calc((100% - var(--total-gap-width)) / var(--grid-columns));

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(max(var(--grid-item--min-width), var(--grid-item--max-width)), 1fr));
  gap: var(--grid-gap)!important;
}
.grid-3{
	--grid-columns: 3;
}
.grid-4{
	--grid-columns: 4;
}
.wp-block-table table{
	border:none;
}
.wp-block-table td,.wp-block-table th {
    padding: 15px 20px;
    text-align: center;
	border-width: 0 1px 0 0;
}
.wp-block-table td{
	font-size:14px;
}
.wp-block-table tr:nth-child(even){
	background:var(--theme-palette-color-14);
}
.wp-block-table th{
	font-size:20px;
	font-weight:bold;
}
.wp-block-table td:last-child,.wp-block-table th:last-child {
    border-right: none;
}
.wp-block-table table thead{
	border-bottom:none;
	background:var(--theme-palette-color-10);
}
.wp-block-list li{
	list-style-type:none;
	font-weight:bold;
	display: flex;
    align-items: center;
	column-gap:10px;
}
.wp-block-list li:before {
    content: "";
    width: 35px;
    height: 35px;
    display: block;
    background-color: var(--theme-palette-color-10);
	border-radius: 50%;
}
ul.wp-block-list li:before{
    background-image: url(/wp-content/uploads/2025/02/buletpoint-icon.svg);
    background-repeat: no-repeat;
    background-size: 15px;
    background-position: center;
}
.wp-block-list {
    display: flex;
    flex-direction: column;
    row-gap: 15px;
}
ol.wp-block-list{
	counter-reset: my-custom-counter;
}
ol.wp-block-list li{
	counter-increment: my-custom-counter;
}
ol.wp-block-list li:before{
	content:counter(my-custom-counter);
	display:flex;
	align-items: center;
    justify-content: center;
}
ul.checkmark.wp-block-list li:before{
    background-image: url(/wp-content/uploads/2025/02/checkmark-icon.svg);
}
/******************************
 * Back button
 * ***************************/
.back-button{
	width: clamp(80px, 10vw, 119px);
    height: clamp(80px, 10vw, 119px);
}
/******************************
 * Paraksti memorandu form
 * ***************************/

.horizontal-flex-list .ff-el-input--content {
    display: flex;
    gap: 20px;
}
.horizontal-2-col-list .ff-el-input--content{
	columns:2;
	gap:20px;
}
.ff-el-input--label label {
    font-size: 20px;
    font-weight: 700;
}
.fluentform .ff-el-group {
    margin-bottom: 50px!important;
}
.fluentform .ff-el-form-check input[type="radio"] {
  appearance: none; /* Remove default radio styling */
  width: 25px;
  height: 25px;
  border: 2px solid #fff; /* Border color */
  border-radius: 50%; /* Make it circular */
  margin-right: 10px;
  outline: none;
  background-color: #fff;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.2s, border-color 0.2s;
}
.fluentform .ff-el-form-check input[type="radio"]:checked {
  background-color: #fff;
	border-color:transparent;
}
.fluentform .ff-el-form-check input[type="radio"]:hover,.fluentform .checkbox .ff-el-form-check input[type=checkbox]:hover{
  border-color: var(--theme-palette-color-3); /* Checked state border */
}
.fluentform .ff-el-form-check input[type="radio"]::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--theme-palette-color-10);
  display: block;
	opacity:1;
}
.fluentform .ff-el-group .ff-el-input--label {
    margin-bottom: 20px;
}
.fluentform .ff-el-group.no-margin-bottom{
	margin-bottom:0!important
}
.fluentform .ff-el-form-check input[type="radio"]:checked::before {
	background-color:var(--theme-palette-color-2)
}
.fluentform .checkbox .ff-el-form-check{
	margin-bottom:10px;
}
.fluentform .checkbox .ff-el-form-check input[type=checkbox] {
    -webkit-appearance: none;
    appearance: none !important;
    /* border: none; */
    width: 24px;
    height: 24px;
    margin-right: 10px;
	background-color: #fff;
    border-color: #fff;
}
.fluentform .checkbox .ff-el-form-check input[type=checkbox]:before{
	width: 12px;
    height: 7px;
    border: 3px solid var(--theme-palette-color-10);
	border-top: none;
    border-right: none;
    opacity: 1;
}
.fluentform .checkbox .ff-el-form-check input[type=checkbox]:checked::before{
	border-color:var(--theme-palette-color-2);
}
.paraksti-memorandu.ff-btn-submit:after,.iesniedz-ideju.ff-btn-submit:after{
	content:"";
	width:26px;
	height:26px;
	display:block;
	background-color:#fff;
	margin-left: 15px;
	mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}
.paraksti-memorandu.ff-btn-submit:after{
mask-image:url(/wp-content/uploads/2025/02/Union.svg);
}
.iesniedz-ideju.ff-btn-submit:after{
	mask-image:url(/wp-content/uploads/2025/02/iesniedz-ideju-form-icon.svg);
}
/******************************
 * Responsive styling
 * ***************************/
@media (max-width: 1024px) {
	.forums-item-container{
		background-image: initial !important;
		aspect-ratio: initial;
	}
	.forum-item__img-wrap{
		background-image:url(/wp-content/uploads/2025/02/Forums-mobile-bg.svg);
		background-repeat:no-repeat;
		background-position: right center;
        background-size: contain;
        padding: 10px 20px;
	}
}
@media (max-width: 767px) {
.map-container {
    padding: 40px;
    columns: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
	font-size: 0.55em;
	background-image:url(/wp-content/uploads/2025/02/map-container-mobile-bg.svg)!important;
	}
	.iesaisties-card{
	font-size: clamp(.7em,3vw,1em);
	}
	.iesaisties-card:before {
		content:none;
	}
	.newsletter-form .frm-fluent-form .ff-t-container{
		display:flex;
		flex-wrap: wrap;
	}
	.newsletter-form .frm-fluent-form .ff-t-column-2,
	.newsletter-form .frm-fluent-form .ff-btn-submit{
		width: 100% !important;
        flex-basis: 100% !important;
	}
	.two-column-text{
	columns: 1;
	}
	.horizontal-2-col-list .ff-el-input--content{
		columns:1;
	}
	 .desktop-category-filter { display: none; }
    .mobile-category-filter { display: block; }
}
@media (max-width: 560px) {
	.hero-img{
		aspect-ratio: 139 / 96;
		mask-size:cover;
	}
	.ff-inherit-theme-style .ff-el-form-control:not([size]):not([multiple]) {
    padding: 10px 30px !important;
}
	.fluentform .ff-el-group {
    margin-bottom: 20px !important;
}
}