/*
Theme Name: Hello Elementor Child
Description: Hello Elementor Child Theme
Author: Gatis Pavils
Template: hello-elementor
Version: 1.0.0
*/

/* =============================================================================
   1) CSS variables and globals
   2) Base elements / typography
   3) Links / interactive elements
   4) Header
   5) Footer
   6) Content basics (page-content, headings, tables, details, captions)
   7) Components (beginning, video, dropie, shadow family, breadcrumbs, etc.)
   8) Layouts (columns, startpage, lists, maps, etc.)
   9) Media queries
   ============================================================================= */


/* =============================================================================
   1) CSS variables and globals
   ============================================================================= */
:root {
  --wm-container-max: 1200px;
  --wm-container-pad: clamp(16px, 4vw, 96px);
  --font-sans: -apple-system, BlinkMacSystemFont, avenir next, avenir,
      segoe ui, helvetica neue, helvetica, Ubuntu, roboto, noto,
      arial, sans-serif;

  --font-serif: Iowan Old Style, Apple Garamond, Baskerville,
      Times New Roman, Droid Serif, Times, Source Serif Pro, serif,
      Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;

  --c-ink: #003a45;
  --c-accent: #efc402;
  --c-link-underline: #a1d6d6;
  --c-link-underline-hover: #f7edbc;
}

.wm-container{
  max-width: var(--wm-container-max);
  margin: 0 auto;
  padding-left: var(--wm-container-pad);
  padding-right: var(--wm-container-pad);
}

#content.site-main,
.site-main {
  padding-top: 40px;
  padding-bottom: 80px;
  max-width: var(--wm-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--wm-container-pad);
  padding-right: var(--wm-container-pad);
  width: 100%;
  box-sizing: border-box;
}

.page-content,
.entry-content{
  max-width: none;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  width: auto;
}

/* =============================================================================
   2) Base elements / typography
   ============================================================================= */
body {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: .01rem;
}

/* Elements that should use the sans-serif UI font */
h1, h2, h3, h4, h5, h6,
.valoda,
button,
.br,
.wm-map-btn,
.tcplace,
.tcplace2 {
  font-family: var(--font-sans);
}

p, li { font-size: 1rem; }

ul, ol { padding: 0; }


/* =============================================================================
   3) Links / interactive elements
   ============================================================================= */
/* Shared styling for summary + links */
summary,
a {
  color: var(--c-ink);
  text-decoration: none !important;
  border-bottom: 0.08em solid var(--c-link-underline);
  transition: color .3s ease-in-out, border-color .3s ease-in-out;
  line-height: 0.95;
  padding-bottom: 0;
}

summary:hover,
a:hover {
  color: var(--c-accent);
  border-bottom-color: var(--c-link-underline-hover);
}

/* Summary specifics */
summary {
  cursor: pointer;
  text-align: left;
}

/* Link specifics */
a {
  color: var(--c-ink) !important;
  font-weight: 700;
}

a:hover { color: var(--c-accent) !important; }

/* Don’t underline linked images */
a:has(> img),
a:has(> img):hover {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

/* =============================================================================
   4) Header
   ============================================================================= */

.wm-header{
  background: var(--c-ink);
  position: sticky;
  top: 0;
  z-index: 9999;
  backdrop-filter: blur(6px);
  background: rgba(0, 58, 69, 0.92);
  transition: transform .5s cubic-bezier(.22,.61,.36,1),
    box-shadow .3s ease;
  will-change: transform;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.wm-header.is-hidden{
  transform: translateY(-100%);
  box-shadow: none;
}

.wm-header:not(.is-hidden){
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.wm-header .wm-container{
  max-width: none;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

.wm-header__inner{
  max-width: var(--wm-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--wm-container-pad);
  padding-right: var(--wm-container-pad);
  width: 100%;
  box-sizing: border-box;

  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand  search"
    "nav    nav";
  column-gap: 24px;
  row-gap: 0;
  align-items: start;
  padding-block: 10px;
}

.wm-header__brand{ grid-area: brand; }
.wm-header__logo{ display: inline-flex; align-items: center; }
/* hide the empty logo link if WP outputs it */
.wm-header__logo:empty{ display:none; }

.wm-header__brand .custom-logo-link img{
  width: auto;
  height: auto;
  max-height: 110px;
  transition: max-height .25s ease, opacity .25s ease;
}

.wm-header__brand .custom-logo-link:hover img{ opacity: .75; }

/* Nav */
.wm-header__nav{
  grid-area: nav;
  justify-self: end;
  min-width: 0;
}

.wm-header__nav ul{ margin: 0; padding: 0; }
.wm-header__nav li{ position: relative; }

.wm-menu{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: nowrap;
}

.wm-menu a{
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .9rem;
  color: #a8d2dd !important;
  letter-spacing: .09rem;
  text-transform: uppercase;
  text-decoration: none !important;
  border-bottom: none !important;
  white-space: nowrap;
}

.wm-menu a:hover{ color: var(--c-accent) !important; }

/* Dropdown */
.wm-menu .sub-menu{
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background: var(--c-ink);
  min-width: 220px;
  padding: 10px 0;
  margin: 0;
  list-style: none;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  z-index: 50;
}

.wm-menu li:hover > .sub-menu,
.wm-menu li:focus-within > .sub-menu{ display: block; }

.wm-menu > li{
  padding-bottom: 0;
  position: relative;
}

.wm-menu .sub-menu a{
  display: block;
  padding: 10px 14px;
  white-space: normal;
}

/* Search */
.wm-header__search{
  grid-area: search;
  justify-self: end;
  padding-top: 20px;
}

.wm-search{
  display: flex;
  gap: 10px;
  align-items: center;
}

.wm-search input[type="search"]{
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  border-radius: 7px;
  padding: .4rem .7rem;
  font-size: .9rem;
}

.wm-search button{
  flex: 0 0 auto;
  background: #003A45;
  color: #fff;
  border: 1px solid var(--c-link-underline);
  border-radius: 7px;
  padding: .5rem .9rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .08rem;
  text-transform: uppercase;
  cursor: pointer;
}

.wm-search button:hover{ background: var(--c-link-underline); }

/* Hamburger (hidden on desktop) */
.wm-header__toggle{
  grid-area: toggle;
  justify-self: end;
  display: none;               /* shown only under 980px */
  background: transparent;
  border: 0;
  padding: 14px 10px;
  margin: 10px 0;
  cursor: pointer;
}

.wm-header__toggle-lines{
  width: 32px;
  height: 2px;
  background: var(--c-link-underline);
  transition: background .3s ease-in-out;
  display: block;
  position: relative;
}

.wm-header__toggle-lines::before,
.wm-header__toggle-lines::after{
  content:"";
  width: 32px;
  height: 2px;
  background: var(--c-link-underline);
  transition: background .3s ease-in-out;
  position: absolute;
  left: 0;
}

.wm-header__toggle-lines::before{ top: -8px; }
.wm-header__toggle-lines::after{ top:  8px; }

.wm-header__toggle:hover,
.wm-header__toggle:focus,
.wm-header__toggle:active{ background: transparent; }

.wm-header__toggle:hover .wm-header__toggle-lines,
.wm-header__toggle:hover .wm-header__toggle-lines::before,
.wm-header__toggle:hover .wm-header__toggle-lines::after,
.wm-header__toggle[aria-expanded="true"] .wm-header__toggle-lines,
.wm-header__toggle[aria-expanded="true"] .wm-header__toggle-lines::before,
.wm-header__toggle[aria-expanded="true"] .wm-header__toggle-lines::after{
  background: var(--c-accent);
}

/* = Responsive: collapse to hamburger = */

@media (min-width: 981px) and (max-width: 1200px){
  .wm-header__search{ padding-top: 10px; }
  .wm-menu{ gap: 16px; }
  .wm-menu a{
    font-size: .85rem;
    letter-spacing: .07rem;
  }
}

@media (max-width: 980px){
  .wm-header__inner{
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand  search"
      "toggle toggle"
      "nav    nav";
  }

  .wm-header__toggle{ display: inline-flex; }

  .wm-header__nav{ display: none; justify-self: stretch; }
  .wm-header.is-menu-open .wm-header__nav{ display: block; margin: 20px 6px 0 0; }

  .wm-menu{
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    padding: 10px 0 0;
  }

  .wm-menu .sub-menu{
    position: static;
    display: block;
    border: 0;
    box-shadow: none;
    margin: 6px 0 0 12px;
    padding: 0;
  }

  .wm-menu .sub-menu a{ padding: 6px 0; }
}

@media (max-width: 760px){
  .wm-header__inner{
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand brand"
      "search toggle"
      "nav    nav";
  }

  .wm-header__search{
    justify-self: start;
    padding: 5px 0 0 0;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .wm-header__inner,
  .wm-header__brand .custom-logo-link img,
  .wm-header__search,
  .wm-header__nav{
    transition: none !important;
  }
}

/* Utility: tags */
.tag-links { display: none; }

/* Language switcher text */
.valoda {
  text-align: right;
  color: #444;
  font-size: 0.6rem;
  letter-spacing: 2px;
  padding: 0 25px 2px 0;
}

/* Buttons (global) */
button {
  background-color: #003A45;
  border: 0;
  border-radius: 3px;
  color: #FFF;
  font-size: .8rem;
  letter-spacing: .08rem;
  line-height: 1.3;
  padding: .35rem .9rem;
  margin-left: 10px;
  text-transform: uppercase;
}

button:hover { background-color: var(--c-accent); }

/* Map button */
.wm-map-btn {
  background-color: #003A45;
  border: 0;
  border-radius: 3px;
  color: #FFF !important;
  font-size: .65rem;
  letter-spacing: .05rem;
  line-height: 1.1;
  padding: .2rem .4rem;
  margin-left: 5px;
  text-transform: uppercase;
  transition: background-color .3s ease-in-out;
  white-space: nowrap;
}

.wm-map-btn:hover {
  background-color: var(--c-accent);
  color: #FFF !important;
}

/* =============================================================================
   5) Footer
   ============================================================================= */
footer {
  background-color: var(--c-ink);
  margin-top: 80px;
  padding-left: 11%;
  transform: translateY(10px);
  width: 100%;
}

footer a {
  color: #a8d2dd !important;
  text-decoration-color: #0f9bb1;
}

footer a:hover { text-decoration-color: #5b5e07; }

/* Cookie / privacy info links */
.cc_more_info a {
  color: #61bec2 !important;
  text-decoration-color: #095c69;
}


/* =============================================================================
   6) Content basics – headings, tables, details, captions
   ============================================================================= */
h1, h2, h3, h4, h5, h6 {
  font-variant: petite-caps;
  letter-spacing: -1px;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.6rem; text-align: left; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.4rem; text-align: left; }
h5 { font-size: 1.2rem; }
h6 { font-size: .8rem; }

table { margin-top: 10px; }

th, td {
  border: 1px dotted #ddd !important;
  font-size: .9rem !important;
  padding: 1px 2px !important;
  vertical-align: middle !important;
}

th { text-align: left; }

.wp-caption-text { margin-bottom: -10px; }

details {
  background-color: #F8F8F8;
  border-bottom: 1px dashed #7A7A7A54;
  border-top: 1px dashed #7A7A7A54;
  clear: both;
  margin-top: 10px;
}

details li {
  margin: 5px 13px 0 20px;
  text-align: left;
}

p:last-child { margin-bottom: 0; }


/* =============================================================================
   7) Components
   ============================================================================= */

/* Beginning intro block */
.beginning {
  margin-bottom: 60px;
  text-align: center;
}

.beginning h1 {
  font-weight: 700;
  letter-spacing: -2px;
  margin-top: -20px;
}

.beginning h3 {
  clear: both;
  color: #444;
  font-size: 1rem;
  letter-spacing: 5px;
  margin-top: -15px;
}

.beginning img {
  border-radius: 2px;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.02),
      12px 5px 15px -12px rgba(0, 0, 0, 0.15),
      0 12px 15px -12px rgba(0, 0, 0, 0.1),
      -12px 5px 15px -12px rgba(0, 0, 0, 0.15);
  margin-top: -23px;
  position: relative;
  z-index: 1;
}

.beginning .wp-caption-text { margin: .5rem .2rem 0 .2rem; }

.beginning-border {
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 23px solid #fff;
  display: block;
  height: 0;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  width: 0;
  z-index: 2;
}

/* Video embeds */
.video-container {
  position: relative;
  margin-top: -23px;
  padding-bottom: 56.25%;
  height: 0;
}

.video-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

/* Drop-image layout */
.dropie { text-align: justify; }

.dropie::after {
  content: "";
  display: block;
  clear: both;
}

.dropie img {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.dropie h6 {
  font-size: 1rem;
  margin: 40px 40px 0 1% !important;
}

.dropieimg {
  border: solid 1px #0000000D;
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  float: right;
  margin: 10px 5% 10px 30px;
  padding: 0;
  width: 50%;
}

li .dropieimg {
  float: right;
  margin: 10px 0 10px 30px;
  padding: 0;
  width: 60%;
}

.dropieimg img,
.dropienarr img { margin: 0 !important; }

.dropieimg figcaption,
.dropienarr figcaption {
  font-size: .9em;
  margin-left: 10px;
  padding: 9px 55px 0 0;
  text-align: left;
}

.dropienarr {
  border: solid 1px #0000000D;
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  float: left;
  margin: 10px 10px 10px 37px;
  padding: 0;
  width: 26%;
}

/* Inner-column container */
.insidecolumn { padding: 42px 10% 0 10%; }
.insidecolumn p { margin: 15px 0; }

/* Shadow blocks */
.shadow {
  clear: both;
  border: solid 1px #0000000D;
  border-bottom: none;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  box-shadow: 0 -12px 15px -12px rgba(0, 0, 0, 0.02),
      12px 1px 15px -12px rgba(0, 0, 0, 0.08),
      0 0 0 0 rgba(0, 0, 0, 0.05),
      -12px -1px 15px -12px rgba(0, 0, 0, 0.08);
  margin-top: 50px;
  padding: 40px 10% 20px 10%;
}

/* Drop cap */
.shadow p:first-of-type:first-letter,
.dropie p:first-of-type:first-letter,
.insidecolumn p:first-of-type:first-letter,
.drop {
  color: var(--c-accent);
  float: left;
  font-size: 3rem;
  line-height: 35px;
  margin: 0 3px 0 -5px;
  padding: 5px;
}

.shadowfull {
  border: solid 1px #0000000D;
  border-radius: 8px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.05);
  padding: 70px 10% 50px 10%;
}

/* Left/right shadow blocks */
.shadowleft {
  border: solid 1px #0000000D;
  border-bottom-left-radius: 8px;
  border-top-left-radius: 8px;
  box-shadow: -1px -12px 25px -12px rgba(0, 0, 0, 0.02),
      -5px -3px 18px -23px rgba(0, 0, 0, 0.01),
      1px 12px 25px -15px rgba(0, 0, 0, 0.05),
      -12px -3px 25px -2px rgba(0, 0, 0, 0.02);
  margin: 0 0 30px 0;
  text-align: justify;
}

.shadowleft h2 { margin: 0; }

.shadowleft h4 {
  font-size: 1.3rem;
  margin: 20px 0 10px 0;
}

.shadowright,
.shadowright2 {
  border: solid 1px #0000000D;
  border-bottom-right-radius: 8px;
  border-left: none;
  border-top-right-radius: 8px;
  box-shadow: -1px -12px 25px -12px rgba(0, 0, 0, 0.02),
      12px -3px 25px -2px rgba(0, 0, 0, 0.02),
      1px 12px 25px -15px rgba(0, 0, 0, 0.05),
      -5px -3px 18px -23px rgba(0, 0, 0, 0.01);
  margin: 0 0 30px -1px !important;
  text-align: justify;
}

.shadowright h4 {
  margin-top: 55px;
  padding: 0 10px 10px 30px;
}

.shadowright p { padding: 0 20px 0 40px; }

.shadowright2 h2 {
  font-size: 1.6rem;
  margin: -8px 0 0 0;
}

.shadowright2 h4 {
  font-size: 1.3rem;
  margin: 20px 0 10px 0;
}

/* Two-sided blocks in Gutenberg columns */
.wp-block-columns:has(> .wp-block-column.shadowleft):has(> .wp-block-column.shadowright) {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
}

.wp-block-columns:has(> .wp-block-column.shadowleft):has(> .wp-block-column.shadowright)
> .wp-block-column {
  flex: 0 0 50%;
  max-width: 50%;
}

/* Linked-articles header */
.shadowtop { display: inline; }
.shadowtop img { margin: 0 20px 0 -30px; }
.shadowtop h2 { float: left; margin: 0 10% 30px 0; width: 100%; }
.shadowtop p { margin: 20px 5% 0 5%; text-align: justify; }
.shadowtop h4 { margin: 40px 40px 0 1%; }

.shadowtop h5, .shadowtop h6 { margin: 40px 40px 0 5%; }

.shadowtop ul, .shadowtop ol { margin: 1rem 5% 0 12%; }

/* Shadowdown */
.shadowdown {
  border: solid 1px #0000000D;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  border-top: none;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.05),
      12px 3px 15px -12px rgba(0, 0, 0, 0.08),
      0 18px 15px -12px rgba(0, 0, 0, 0.02),
      -12px 3px 15px -12px rgba(0, 0, 0, 0.08);
  margin: -50px 0 50px 0;
  padding: 0 12px 20px 12px !important;
  text-align: center;
}

.shadowdown:not(:first-child) { margin-left: 4%; }

/* Linked-articles cards */
.shadowdown2 {
  border: solid 1px #0000000D;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  border-top: none;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.05),
      12px 3px 15px -12px rgba(0, 0, 0, 0.08),
      0 18px 15px -12px rgba(0, 0, 0, 0.02),
      -12px 3px 15px -12px rgba(0, 0, 0, 0.08);
  display: inline-block !important;
  vertical-align: top;
  box-sizing: border-box;
  width: 31.3%;
  margin: -15px 3% 50px 0;
  padding: 0 0 10px 0 !important;
  text-align: center;
  font-size: 1rem;
}

.shadowdown2:last-of-type { margin-right: 0; }

.wp-block-columns:has(> .shadowdown2) { font-size: 0; }

.shadowdown2 img { width: 100%; }
.shadowdown2 p, .shadowdown2 h3, .shadowdown2 h4 { padding: 0 20px; }

.shadowdown2 h4,
.shadowdown h4 {
  font-size: 1.2rem;
  text-align: center;
}

.shadowdown2 figcaption {
  font-size: .75rem;
  padding: 0 3%;
}

.shadowdownfull {
  box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.05),
      12px 3px 15px -14px rgba(0, 0, 0, 0.1),
      0 18px 15px -14px rgba(0, 0, 0, 0.05),
      -12px 3px 15px -14px rgba(0, 0, 0, 0.1);
  padding: 0 10% 50px 10%;
}

/* Detail blocks */
.detail {
  border-top: 1px dashed #7A7A7A54;
  clear: both;
  margin-bottom: 0;
}

.detailleft {
  background-color: #F8F8F8;
  padding: 0 !important;
}

.detailleft h5, .detailleft h6 {
  margin: 0 !important;
  padding: 0 0 0 20px !important;
}

.detailleft img { padding: 5px 0; }

.detailright {
  float: right;
  padding-top: 5px;
  text-align: center;
}

/* Breadcrumbs */
.breadcr {
  border-radius: 8px;
  border-top: solid 1px #0000000D;
  box-shadow: 0 -12px 15px -12px rgba(0, 0, 0, 0.02),
      12px -3px 15px -12px rgba(0, 0, 0, 0.09),
      0 0 0 0 rgba(0, 0, 0, 0.05),
      -12px -3px 15px -12px rgba(0, 0, 0, 0.09);
  padding: 14px 1% 50px 1%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.breadcr .br {
  color: #333;
  font-size: .55em;
  font-weight: 500;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  white-space: nowrap;
}

.breadcr .br a,
.breadcr .br span {
  display: inline-flex;
  align-items: baseline;
  margin: 0;
}

.breadcr .br a {
  border-bottom: 0.08em solid var(--c-link-underline) !important;
  padding: 0 1px;
}

.breadcr .brleft { justify-content: flex-start; }
.breadcr .brright { justify-content: flex-end; text-align: right; }

.breadcr .brleft > * + *::before {
  content: "›";
  display: inline-block;
  padding: 0 0.5em;
}

.breadcr .brright > *:not(:last-child)::after {
  content: "‹";
  display: inline-block;
  padding: 0 0.5em;
}


/* =============================================================================
   8) Layouts (startpage, lists, columns, maps, ratings)
   ============================================================================= */

/* Startpage */
.startpage {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  column-gap: 28px;
  row-gap: 2px;
  align-items: start;
}

.startpage > .introleft {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.startpage > .introright {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.startpage img,
.startpage .wp-caption,
.startpage figure {
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

.startmap {
  margin-bottom: 30px;
  text-align: center;
}

.startmap h1 { font-size: 1.4em; }

/* Latest / News / Shadowlist */
.latest,
.news,
.shadowlist {
  border: solid 1px #0000000D;
  border-radius: 8px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.05);
}

.latest {
  padding: 15px 0 30px 0;
}

.latest h2 {
  font-size: 1.2em;
  margin: 0 3% 15px 5%;
}

.latestarticle {
  border-top: 1px dashed #7A7A7A54;
  margin: 0 !important;
}

.latestarticle img { margin: 0 !important; }

.latestarticle figcaption {
  font-size: .75rem;
  padding: 0 3% 0 6%;
}

.latestarticle h5 {
  font-size: 1em;
  margin: 15px 3% 10px 6%;
}

.latestarticle h6 {
  color: #444;
  font-style: italic;
  text-align: left;
  margin-left: 6%;
}

.latesttext {
  font-size: .9em;
  line-height: 1.2;
  padding: 7px 6% 0 6%;
  text-align: justify;
}

.news {
  padding: 15px 0 30px 0;
}

.news h2 {
  font-size: 1.2em;
  margin: 0 3% 20px 5%;
}

.shadowlist {
  margin: 40px 0 50px 0;
  padding: 70px 0 0 0;
}

.shadowlist h4 {
  clear: both;
  font-size: 1.6rem;
  font-weight: 900;
  margin: 50px 0 30px;
  text-align: center;
}

.shadowlisttop { clear: both; display: inline; }
.shadowlisttop img { margin: 0 20px 0 -30px; }
.shadowlisttop h2 { float: left; margin: 0 10% 30px 10%; }

/* Multi-column content layouts */
.threecolumns {
  border-top: 1px dashed #7A7A7A54;
  clear: both;
  display: flex;
  margin: 0 !important;
}

.threecolumns1 { width: 10%; padding-left: 6px; }
.threecolumns2 { padding: 0 20px 30px 0; text-align: justify; width: 50%; }
.threecolumns3 { width: 40%; }

.threecolumns1 h6 { color: #dc4848; font-size: 3em; }
.threecolumns2 h4 { margin: 15px 0; text-align: left; }

.threecolumns3 img,
.onecolumn img,
.newscol2 img,
.twocolumns2 img {
  box-shadow: 0 -12px 15px -12px rgba(0, 0, 0, 0.1),
      12px -3px 15px -12px rgba(0, 0, 0, 0.2),
      0 12px 15px -12px rgba(0, 0, 0, 0.1),
      -12px -3px 15px -12px rgba(0, 0, 0, 0.2);
}

.threecolumns3 img {
  float: right;
  margin-top: -1px;
  padding-bottom: 1px;
  vertical-align: top;
}

.threecolumns3 figcaption,
.twocolumns2 figcaption {
  font-size: .75rem;
  padding: 0 3% 0 1%;
}

.twocolumns {
  border-top: 1px dashed #7A7A7A54;
  clear: both;
  display: flex;
  margin: 0 !important;
}

.twocolumns h5 { margin: 0; text-align: left; }

.onecolumn {
  clear: both;
  display: flex;
  margin: 0 !important;
}

.onecolumn p { padding: 10px 25px 5px 10%; }

.onecolumn img {
  float: right;
  margin-top: -1px;
  vertical-align: top;
}

.onecolumn table {
  clear: both;
  margin: 20px 5px 10px 5px;
  border-style: hidden;
  box-shadow: 0 -12px 15px -12px rgba(0, 0, 0, 0.04),
      12px -3px 15px -12px rgba(0, 0, 0, 0.04),
      0 12px 15px -12px rgba(0, 0, 0, 0),
      -12px -3px 15px -12px rgba(0, 0, 0, 0.04);
}

.onecolumn tr { border-top: 1px dashed #7A7A7A54 !important; }

.onecolumn td {
  padding: 0 5px 5px 5px !important;
  border-left: 1px solid white !important;
  border-right: 1px solid white !important;
}

.onecolumn th {
  border: 1px solid white !important;
  border-radius: 3px;
  padding: 0 5px 5px 5px !important;
  background-color: #29a1a544;
  font-variant: small-caps;
  letter-spacing: 1px;
}

.onecolumn .tcp {
  margin-top: -10px;
  color: black;
  font-size: .8rem;
}

/* News columns */
.newscol {
  border-top: 1px dashed #7A7A7A54;
  display: flex;
  margin: 0 !important;
}

.newscol1 { float: left; padding: 10px 25px 5px 10%; width: 50%; }
.newscol1 p { line-height: 1.3; text-align: justify; }

.newscol2 { float: right; width: 50%; }
.newscol2 figcaption { font-size: .75rem; padding: 0 3% 0 1%; }

/* Two-column layout */
.twocolumns1 { float: left; padding: 10px 25px 5px 10%; width: 65%; }
.twocolumns1 p { line-height: 1.3; text-align: justify; }

.twocolumns2 { float: right; width: 35%; }

/* Tc place lines */
.tcp {
  color: #777;
  padding-left: 120px;
  margin-top: -15px;
  margin-bottom: 0 !important;
}

.tcplace {
  color: #444;
  font-size: .9em;
  font-style: italic;
  font-variant: all-small-caps;
  font-weight: 600;
  letter-spacing: -1px;
  margin-top: 5px !important;
}

.tcplace2 {
  color: #444;
  font-size: .7em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -1px;
  line-height: .5em;
  margin-top: -2px !important;
}

/* Rate bar */
.rateBar { margin: 10px 0 0 0; }

.rateBarContainer {
  width: 100%;
  max-width: 110px;
  height: 6px;
  background: #29a1a599;
  overflow: hidden;
  border-radius: 5px;
}

.rateBarValue {
  height: 100%;
  background: #0c6768;
  transform: scaleX(calc(var(--rating, 0) / 100));
  transform-origin: left center;
  animation: rateFill 900ms ease-out both;
  will-change: transform;
}

@keyframes rateFill {
  from { transform: scaleX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .rateBarValue { animation: none; }
}


/* W-columns & category map */
.wcolumns {
  border-top: 1px dashed #7A7A7A54;
  clear: both;
  display: grid;
  grid-template-columns: 3fr 5fr 0;
  margin: 0 !important;
}

.wcolumns1 {
  background-color: #F8F8F8;
  padding: 8px 10% 5px 5%;
}

.wcolumns1 h6 { text-align: left; }

.wcolumns2 {
  font-size: .95rem;
  line-height: 1.4;
  padding: 11px 8% 5px 5%;
  text-align: justify;
}

.categorymap {
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.05),
      12px 3px 15px -12px rgba(0, 0, 0, 0.2),
      0 18px 15px -12px rgba(0, 0, 0, 0.1),
      -12px 3px 15px -12px rgba(0, 0, 0, 0.2);
  margin: -85px 0 50px 0;
  padding: 0 !important;
}

.categorymap img { width: 100%; }

/* Route columns & maps */
.mcolumns {
  border-top: 1px dashed #7A7A7A54;
  clear: both;
  display: grid;
  grid-template-columns: 3fr 5fr 0;
  margin: 0 !important;
}

.mcolumns1 {
  background-color: #F8F8F8;
  padding: 11px 10% 7px 31%;
}

.mcolumns1 h6 {
  font-size: 0.95rem;
  text-align: left;
}

.mcolumns2 {
  font-size: .95rem;
  padding: 11px 8% 7px 5%;
  text-align: justify;
}

.routemap {
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.05),
      12px 3px 15px -12px rgba(0, 0, 0, 0.2),
      0 18px 15px -12px rgba(0, 0, 0, 0.1),
      -12px 3px 15px -12px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
  margin: -32px 0 50px 0;
  padding: 0;
}

/* OpenLayers attribution */
.ol-attribution * {
  font-size: 10px !important;
  font-family: Arial, sans-serif !important;
  color: #555 !important;
}


/* =============================================================================
   9) Media queries
   ============================================================================= */


/* max 1560px */
@media only screen and (max-width: 1560px) {
  .onecolumn th {
    letter-spacing: 0;
    font-size: .9rem !important;
  }
}

/* max 1200px */
@media only screen and (max-width: 1200px) {
  .threecolumns1 h6 { font-size: 2.5em; }
  .threecolumns1 h4 { font-size: .6em; }

  .onecolumn th {
    letter-spacing: -1px;
    font-size: .85rem !important;
  }
}

/* max 1000px */
@media only screen and (max-width: 1000px) {

  .onecolumn th { font-size: .8rem !important; }

  /* Breadcrumbs: stack */
  .breadcr {
    flex-direction: column;
    align-items: flex-start;
  }

  .breadcr .br {
    font-size: .5em;
    flex-wrap: wrap;
    white-space: normal;
  }

  .breadcr .brright {
    margin-top: 10px;
    justify-content: flex-start;
    text-align: left;
    padding-bottom: 20px;
  }
}

/* max 900px */
@media only screen and (max-width: 900px) {
  .dropienarr{
    width: 40%;
    margin-left: 20px;
  }	
}

/* max 768px Two-sided blocks: stack on mobile */
@media (max-width: 768px) {
  .wp-block-columns:has(> .wp-block-column.shadowleft):has(> .wp-block-column.shadowright) {
    display: block;
  }

  .wp-block-columns:has(> .wp-block-column.shadowleft):has(> .wp-block-column.shadowright)
  > .wp-block-column {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .shadowdown2 {
    width: 100%;
    margin: 0 0 30px 0;
    padding: 0 0 10px 0 !important;
  }

  .wp-block-columns:has(> .shadowdown2) {
    font-size: 1rem;
  }
}

/* max 760px */
@media only screen and (max-width: 760px) {
  .startpage{ grid-template-columns: 1fr; }

  .startpage > .introright {
    grid-column: 1;
    grid-row: 2;
  }
	
  .startmap { margin: 0; }
  .news { margin: 0 0 20px 0; }
  .latest { max-width: 100%; }

  .latesttop h2 { font-size: 1em; }
  .latestarticle h6 { margin-left: 3% !important; }

	.wp-block-column.shadowright,
  .wp-block-column.shadowleft {
    display: flow-root;
  }

  .travmap {
    float: none !important;
    width: 100% !important;
  }

  .shadowdown2:not(:first-child) { margin-left: 0; }

  .shadowdown:not(:first-child) {
    margin-left: 0;
    margin-top: -10px;
  }

  .threecolumns2 {
    float: left;
    line-height: 20px;
    width: 40%;
  }

  .rateBarContainer { width: 80%; }
  .tcp { padding-left: 120px; }

  .wm-map-btn { margin: 0; }
}

/* max 600px */
@media only screen and (max-width: 600px) {
  .beginning h1 { font-size: 1.5rem; }
  .beginning-border { opacity: 0; }

  .dropieimg { width: 92%; }

  .dropienarr{ float: none; width: 100%; margin: 12px 0; }

  .shadowdown { margin-top: -45px; }

  .travmap { float: right; width: 87%; }

  .shadowtop h4, .shadowtop h5, .shadowtop h6 { margin: 20px 2% 0 0; }

  .shadowlist h4 { font-size: 1.4rem; }

  .onecolumn { display: block; }

  .onecolumn p {
    font-size: .9em;
    line-height: 1.2em;
  }

  .onecolumn img {
    margin-top: 10px;
    width: 100%;
  }

  .twocolumns { display: block; }

  .twocolumns1 {
    display: block;
    float: none;
    width: 100%;
    padding-top: 20px;
  }

  .twocolumns1 p {
    font-size: .9em;
    line-height: 1.2em;
  }

  .twocolumns img {
    margin-top: 10px;
    width: 100%;
  }

  .twocolumns figcaption { padding: 0 2%; }

  .twocolumns2 {
    display: block;
    float: none;
    width: 82%;
    margin-left: 34px;
  }

  .threecolumns figcaption { padding: 0; }

  .threecolumns1 h6 {
    font-size: 1.6em;
    margin-top: 9px !important;
  }

  .threecolumns2 h4 { font-size: 1em; }

  .threecolumns3 { float: right; width: 50%; }
}/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg,
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	}

.leaflet-container.leaflet-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-tile {
	will-change: opacity;
	}
.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;
	   -moz-transition: opacity 0.2s linear;
	        transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	}
.leaflet-zoom-anim .leaflet-zoom-animated {
	will-change: transform;
	}
.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
	   -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	        transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	-webkit-transition: none;
	   -moz-transition: none;
	        transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor: -webkit-grab;
	cursor:    -moz-grab;
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor:    -moz-grabbing;
	cursor:         grabbing;
	}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.leaflet-container {
	background: #ddd;
	outline: 0;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-container a.leaflet-active {
	outline: 2px solid orange;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}


/* general typography */
.leaflet-container {
	font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a,
.leaflet-bar a:hover {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover {
	background-color: #f4f4f4;
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-control-layers-toggle {
	background-image: url(//wondermondo.lv/wp-content/plugins/travelers-map/includes/public/images/layers.png);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(//wondermondo.lv/wp-content/plugins/travelers-map/includes/public/images/layers-2x.png);
	background-size: 26px 26px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}

/* Default icon URLs */
.leaflet-default-icon-path {
	background-image: url(//wondermondo.lv/wp-content/plugins/travelers-map/includes/public/images/marker-icon.png);
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.7);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover {
	text-decoration: underline;
	}
.leaflet-container .leaflet-control-attribution,
.leaflet-container .leaflet-control-scale {
	font-size: 11px;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	font-size: 11px;
	white-space: nowrap;
	overflow: hidden;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;

	background: #fff;
	background: rgba(255, 255, 255, 0.5);
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 19px;
	line-height: 1.4;
	}
.leaflet-popup-content p {
	margin: 18px 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	padding: 4px 4px 0 0;
	border: none;
	text-align: center;
	width: 18px;
	height: 14px;
	font: 16px/14px Tahoma, Verdana, sans-serif;
	color: #c3c3c3;
	text-decoration: none;
	font-weight: bold;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover {
	color: #999;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	border-bottom: 1px solid #ddd;
	border-top: 1px solid #ddd;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}
.leaflet-oldie .leaflet-popup-tip-container {
	margin-top: -1px;
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-clickable {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}

/* Directions */

.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}.travelersmap-container {
  background: #f4f4f4;
}
.travelersmap-container * {
  box-sizing: border-box;
}
.travelersmap-container .default-popup .leaflet-popup-content-wrapper {
  border-radius: 0;
  padding: 0;
}
.travelersmap-container .default-popup .leaflet-popup-tip {
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
  background: #4a4a4a;
}
.travelersmap-container .default-popup .leaflet-popup-content {
  width: 300px;
  margin: 0;
}
.travelersmap-container .default-popup .leaflet-popup-content:hover .img-mask:after {
  background: rgba(0, 0, 0, 0.3);
}
.travelersmap-container .default-popup .leaflet-popup-content:hover .img-mask img {
  transform: scale(1.1);
}
.travelersmap-container .default-popup .img-mask {
  overflow: hidden;
  max-height: 200px;
  height: 200px;
}
.travelersmap-container .default-popup .img-mask:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  transition: 400ms background cubic-bezier(0.05, 0.9, 0.13, 0.99);
}
.travelersmap-container .default-popup .img-mask img {
  width: 100%;
  height: auto;
  transition: 2000ms transform cubic-bezier(0.05, 0.9, 0.13, 0.99);
}
.travelersmap-container .default-popup .img-mask .nothumbplaceholder {
  max-width: 100%;
  width: 300px;
  height: 200px;
  background: #0f0c29;
  background: -webkit-linear-gradient(left, #0f0c29, #302b63, #24243e);
  background: -o-linear-gradient(left, #0f0c29, #302b63, #24243e);
  background: linear-gradient(to right, #0f0c29, #302b63, #24243e);
}
.travelersmap-container .default-popup a.tooltip-link {
  position: absolute;
  height: 100%;
  width: 100%;
  display: block;
  vertical-align: middle;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  text-decoration: none;
  overflow: hidden;
}
.travelersmap-container .default-popup a.tooltip-link .popup-thumb-text-wrapper {
  padding: 40px 0 20px;
  width: 90%;
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
}
.travelersmap-container .default-popup a.tooltip-link .title {
  color: white;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}
.travelersmap-container .default-popup a.tooltip-link .date {
  color: white;
  font-size: 15px;
  font-weight: 400;
  text-align: center;
}
.travelersmap-container .default-popup a.tooltip-link .title + .date {
  padding-top: 5px;
}
.travelersmap-container .detailed-popup .leaflet-popup-content-wrapper {
  border-radius: 0;
  padding: 0;
  max-height: 220px;
  overflow-y: scroll;
  overflow-x: hidden;
}
.travelersmap-container .detailed-popup .leaflet-popup-content {
  width: 300px;
  margin: 0;
  position: relative;
}
.travelersmap-container .detailed-popup a.tooltip-link {
  position: relative;
  max-height: 200px;
  min-height: 120px;
  width: 100%;
  display: block;
  vertical-align: middle;
  top: 0;
  text-decoration: none;
  overflow: hidden;
}
.travelersmap-container .detailed-popup a.tooltip-link:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  transition: 400ms background cubic-bezier(0.05, 0.9, 0.13, 0.99);
}
.travelersmap-container .detailed-popup a.tooltip-link img {
  width: 100%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  transition: 2000ms transform cubic-bezier(0.05, 0.9, 0.13, 0.99);
}
.travelersmap-container .detailed-popup a.tooltip-link .nothumbplaceholder {
  position: absolute;
  width: 100%;
  height: 200px;
  background: #0f0c29;
  background: -webkit-linear-gradient(left, #0f0c29, #302b63, #24243e);
  background: -o-linear-gradient(left, #0f0c29, #302b63, #24243e);
  background: linear-gradient(to right, #0f0c29, #302b63, #24243e);
}
.travelersmap-container .detailed-popup a.tooltip-link .title {
  color: white;
  padding: 30px 5%;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  width: 100%;
  z-index: 10;
  position: relative;
}
.travelersmap-container .detailed-popup a.tooltip-link .date {
  color: white;
  padding: 40px 5% 40px;
  font-size: 15px;
  font-weight: 400;
  text-align: center;
  z-index: 10;
  position: relative;
  width: 100%;
}
.travelersmap-container .detailed-popup a.tooltip-link .title + .date {
  padding: 0 5% 25px;
  margin-top: -25px;
}
.travelersmap-container .detailed-popup a.tooltip-link:hover:after {
  background: rgba(0, 0, 0, 0.3);
}
.travelersmap-container .detailed-popup a.tooltip-link:hover img {
  transform: translate(-50%, -50%) scale(1.1);
}
.travelersmap-container .detailed-popup .excerpt {
  color: #333;
  padding: 20px 7%;
  font-size: 13px;
  text-align: justify;
  width: 100%;
}
.travelersmap-container .detailed-popup .leaflet-popup-close-button {
  right: initial;
  left: 0;
  padding: 4px 0 0 4px;
  z-index: 15;
  color: #e7e7e7;
}
.travelersmap-container .detailed-popup .leaflet-popup-close-button:hover {
  color: white;
}
.travelersmap-container .textual-popup .leaflet-popup-content-wrapper {
  border-radius: 0;
  padding: 0;
  max-height: 260px;
  overflow-y: auto;
  overflow-x: hidden;
}
.travelersmap-container .textual-popup .leaflet-popup-content {
  width: 300px;
  margin: 0;
  position: relative;
}
.travelersmap-container .textual-popup a.tooltip-link {
  text-decoration: none;
  color: #333;
}
.travelersmap-container .textual-popup a.tooltip-link:hover {
  color: black;
}
.travelersmap-container .textual-popup a.tooltip-link .title {
  padding: 25px 5% 25px;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  width: 100%;
}
.travelersmap-container .textual-popup a.tooltip-link .date {
  padding: 25px 5%;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  width: 100%;
}
.travelersmap-container .textual-popup a.tooltip-link .excerpt {
  padding: 25px 7%;
  font-size: 13px;
  text-align: justify;
  width: 100%;
}
.travelersmap-container .textual-popup a.tooltip-link .title + .date {
  margin-top: -20px;
  padding-top: 0px;
}
.travelersmap-container .textual-popup a.tooltip-link .date + .excerpt,
.travelersmap-container .textual-popup a.tooltip-link .title + .excerpt {
  margin-top: -5px;
  padding-top: 0px;
  font-size: 13px;
  text-align: justify;
  width: 100%;
}
.travelersmap-container .textual-popup .leaflet-popup-close-button {
  right: initial;
  left: 0;
  padding: 4px 0 0 4px;
  z-index: 15;
}.leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow {
	-webkit-transition: -webkit-transform 0.3s ease-out, opacity 0.3s ease-in;
	-moz-transition: -moz-transform 0.3s ease-out, opacity 0.3s ease-in;
	-o-transition: -o-transform 0.3s ease-out, opacity 0.3s ease-in;
	transition: transform 0.3s ease-out, opacity 0.3s ease-in;
}

.leaflet-cluster-spider-leg {
	/* stroke-dashoffset (duration and function) should match with leaflet-marker-icon transform in order to track it exactly */
	-webkit-transition: -webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in;
	-moz-transition: -moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in;
	-o-transition: -o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in;
	transition: stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in;
}
.marker-cluster-small {
	background-color: rgba(181, 226, 140, 0.6);
	}
.marker-cluster-small div {
	background-color: rgba(110, 204, 57, 0.6);
	}

.marker-cluster-medium {
	background-color: rgba(241, 211, 87, 0.6);
	}
.marker-cluster-medium div {
	background-color: rgba(240, 194, 12, 0.6);
	}

.marker-cluster-large {
	background-color: rgba(253, 156, 115, 0.6);
	}
.marker-cluster-large div {
	background-color: rgba(241, 128, 23, 0.6);
	}

	/* IE 6-8 fallback colors */
.leaflet-oldie .marker-cluster-small {
	background-color: rgb(181, 226, 140);
	}
.leaflet-oldie .marker-cluster-small div {
	background-color: rgb(110, 204, 57);
	}

.leaflet-oldie .marker-cluster-medium {
	background-color: rgb(241, 211, 87);
	}
.leaflet-oldie .marker-cluster-medium div {
	background-color: rgb(240, 194, 12);
	}

.leaflet-oldie .marker-cluster-large {
	background-color: rgb(253, 156, 115);
	}
.leaflet-oldie .marker-cluster-large div {
	background-color: rgb(241, 128, 23);
}

.marker-cluster {
	background-clip: padding-box;
	border-radius: 20px;
	}
.marker-cluster div {
	width: 30px;
	height: 30px;
	margin-left: 5px;
	margin-top: 5px;

	text-align: center;
	border-radius: 15px;
	font: 12px "Helvetica Neue", Arial, Helvetica, sans-serif;
	}
.marker-cluster span {
	line-height: 30px;
	}.leaflet-control-fullscreen a {
  background:#fff url(//wondermondo.lv/wp-content/plugins/travelers-map/includes/public/images/fullscreen.png) no-repeat 0 0;
  background-size:26px 52px;
  }
  .leaflet-touch .leaflet-control-fullscreen a {
    background-position: 2px 2px;
    }
  .leaflet-fullscreen-on .leaflet-control-fullscreen a {
    background-position:0 -26px;
    }
  .leaflet-touch.leaflet-fullscreen-on .leaflet-control-fullscreen a {
    background-position: 2px -24px;
    }

/* Do not combine these two rules; IE will break. */
.leaflet-container:-webkit-full-screen {
  width:100%!important;
  height:100%!important;
  }
.leaflet-container.leaflet-fullscreen-on {
  width:100%!important;
  height:100%!important;
  }

.leaflet-pseudo-fullscreen {
  position:fixed!important;
  width:100%!important;
  height:100%!important;
  top:0!important;
  left:0!important;
  z-index:99999;
  }

@media
  (-webkit-min-device-pixel-ratio:2),
  (min-resolution:192dpi) {
    .leaflet-control-fullscreen a {
      background-image:url(//wondermondo.lv/wp-content/plugins/travelers-map/includes/public/images/fullscreen@2x.png);
    }
  }