@import url('../fonts/icon-font.css');

/**@font-face {
    font-family: 'proxima_nova_rgregular';
    src: url('../fonts/ProximaNova-Reg-webfont.eot');
    src: url('../fonts/ProximaNova-Reg-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/ProximaNova-Reg-webfont.woff') format('woff'),
         url('../fonts/ProximaNova-Reg-webfont.ttf') format('truetype'),
         url('../fonts/ProximaNova-Reg-webfont.svg#proxima_nova_rgregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'proxima_novaregular_italic';
    src: url('../fonts/ProximaNova-RegIt-webfont.eot');
    src: url('../fonts/ProximaNova-RegIt-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/ProximaNova-RegIt-webfont.woff') format('woff'),
         url('../fonts/ProximaNova-RegIt-webfont.ttf') format('truetype'),
         url('../fonts/ProximaNova-RegIt-webfont.svg#proxima_novaregular_italic') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'proxima_nova_rgbold';
    src: url('../fonts/ProximaNova-Bold-webfont.eot');
    src: url('../fonts/ProximaNova-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/ProximaNova-Bold-webfont.woff') format('woff'),
         url('../fonts/ProximaNova-Bold-webfont.ttf') format('truetype'),
         url('../fonts/ProximaNova-Bold-webfont.svg#proxima_nova_rgbold') format('svg');
    font-weight: normal;
    font-style: normal;
}

*/


@font-face {
    font-family: 'DIN Pro';
    src: local('DIN Pro'), local('DINPro'),
        url('../fonts/dinpro/subset-DINPro.woff2') format('woff2'),
        url('../fonts/dinpro/subset-DINPro.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DIN Pro';
    src: local('DIN Pro Bold'), local('DINPro-Bold'),
        url('../fonts/dinpro/subset-DINPro-Bold.woff2') format('woff2'),
        url('../fonts/dinpro/subset-DINPro-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DIN Pro';
    src: local('DIN Pro Bold Italic'), local('DINPro-BoldItalic'),
        url('../fonts/dinpro/subset-DINPro-BoldItalic.woff2') format('woff2'),
        url('../fonts/dinpro/subset-DINPro-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'DIN Pro';
    src: local('DIN Pro Italic'), local('DINPro-Italic'),
        url('../fonts/dinpro/subset-DINPro-Italic.woff2') format('woff2'),
        url('../fonts/dinpro/subset-DINPro-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'DIN Pro';
    src: local('DIN Pro Light'), local('DINPro-Light'),
        url('../fonts/dinpro/subset-DINPro-Light.woff2') format('woff2'),
        url('../fonts/dinpro/subset-DINPro-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DIN Pro';
    src: local('DIN Pro Light Italic'), local('DINPro-LightItalic'),
        url('../fonts/dinpro/subset-DINPro-LightItalic.woff2') format('woff2'),
        url('../fonts/dinpro/subset-DINPro-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'DIN Pro';
    src: local('DIN Pro Medium'), local('DINPro-Medium'),
        url('../fonts/dinpro/subset-DINPro-Medium.woff2') format('woff2'),
        url('../fonts/dinpro/subset-DINPro-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DIN Pro';
    src: local('DIN Pro Medium Italic'), local('DINPro-MediumItalic'),
        url('../fonts/dinpro/subset-DINPro-MediumItalic.woff2') format('woff2'),
        url('../fonts/dinpro/subset-DINPro-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}



*{
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --center-width-wide:72rem;
    --main-font-family: 'DIN Pro',  'Arial', sans-serif;
    --brand-font-family: 'DIN Pro',  'Arial', sans-serif;   
    --sec-font-family: "Roboto", 'Arial', sans-serif;
    --input-font-family: "Roboto", 'Arial', sans-serif; 
    --txtblack: #4e394e;
    --brand-primary: #bebd00;
    --text-color: var(--txtblack);
    --link-color: #dc2e28;
    --bg-color: #4e394e;
	--footer-bg-color: #9fa138;
    --overlay-color: #1f1d1e;
    --overlay-hover: #bebd00;
    --header-bg-url: url('../images/header/bg-header.png');
    --header-bg-color: #303800;
    --logo-url: url('../images/header/enter-gauja.svg');
    --planner-badge-bg: #b8b700;
    --nav-active-bg: #1f1d1e;
    --nav-active-color: #bebd00;
    --border-color-accent: #bebd00;
    --footer-border: #90900b;
    --page-bg-url: url('../images/bg/bg.jpg');
    --header-height: 8.65rem;

    --input-bg: #ffffff;
    --input-border: #b7b7b7;
    --input-color: var(--txtblack);
    --input-focus-border: var(--brand-primary);
    --input-radius: 4px;

    --field-label-color: var(--txtblack);
    --field-label-width: 150px;

    --btn-primary-bg: var(--bg-color);
    --btn-primary-color: #ffffff;
    --btn-primary-hover-bg: #3a2d3a;
    --btn-primary-accent: var(--brand-primary);
    --btn-primary-accent-hover: #dedd00;

    --form-msg-ok-bg: #e8f5e9;
    --form-msg-ok-color: #2e7d32;
    --form-msg-err-bg: #fdecea;
    --form-msg-err-color: var(--link-color);
    --field-err-color: var(--link-color);
}


html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: var(--main-font-family);
    font-size: 18px;
    line-height: 1.5;
    color: var(--txtblack);
}

@media screen and (max-width: 1900px) and (min-width: 800px) {
    html {
       font-size: calc(14px + (18 - 14) * ((100vw - 860px) / (1900 - 860)));
    }
}
@media screen and  (max-width: 800px) {
    html {
       font-size: 16px;
    }
}

:root[data-fontsize="0.25"] { font-size: 1rem; }
:root[data-fontsize="0.5"] { font-size: 1rem; }
:root[data-fontsize="0.75"] { font-size: 1.1rem; }
:root[data-fontsize="1.25"] { font-size: 1.2rem; }
:root[data-fontsize="1.5"] { font-size: 1.3rem; }
:root[data-fontsize="1.75"] { font-size: 1.35rem; }
:root[data-fontsize="2"] { font-size: 1.4rem; }

body {
    font-family: var(--main-font-family);
    font-weight: 400;
    font-size: 1rem;
    color: var(--txtblack);
    

    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: 100%;

    width: 100%;
    min-height: 100%;
    
    min-width: 20.5rem;

    margin:0;
}

body#iframe { padding: 0 1rem; }
body#main {padding: 0;background: var(--page-bg-url) 50% 0; }

::-webkit-input-placeholder {
    color: currentColor;
    opacity: 0.9 !important;
}

::-moz-placeholder {
    color: currentColor;
    opacity: 0.9 !important;
}

:-ms-input-placeholder {
    color: currentColor;
    opacity: 0.9 !important;
}

IMG,picture{border:0px;margin:0px;padding:0px;line-height:0px;vertical-align:bottom;max-width:100%;}
img:-moz-loading {visibility: hidden;}

a {
    color: var(--link-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:focus-visible {
    outline: 0.13rem solid #bedd00;
    outline-offset: 0.13rem;
}

a.skip-link {
    position: fixed; top: 0; left: 0; z-index: 9999;
    background: #000; color: #fff; padding: 0.65rem 1.3rem; font-size: 0.9rem; text-decoration: none;
    clip: rect(0 0 0 0); clip-path: inset(50%); height: 0.06rem; overflow: hidden; white-space: nowrap; width: 0.06rem;
}
a.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; overflow: visible; }

.sr-only {
    position: absolute; width: 0.06rem; height: 0.06rem; padding: 0; margin: -0.06rem;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

a.image,
a span.image {
    display: block;
    width: 100%;
    height: 0;
    line-height: 0;
    padding-bottom: 66.666666667%;
    overflow: hidden;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-color: #D6D7DA;
    background-size: 100% auto;
    text-decoration: none;
}
a.image img.image,
span.data-picture img,
img.image {
	width: 100%;
	height: auto;

	color: #4e394e;
	color: transparent;
	text-decoration: none !important;
	font-weight: 400;
	font-size: 0.75rem;
}

a.image:hover img.image,
span.data-picture:hover img,
img.image:hover {
	text-decoration: none !important;
}

span.data-picture {
    line-height: 0;
}

div#blur {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.6s, visibility 0s 0.6s;
}

.f-roboto { font-family: var(--sec-font-family); }
.f-1p2 { line-height: 1.2em; }
.f-300 { font-weight: 300; }
.f-400 { font-weight: 400; }
.f-500 { font-weight: 500; }

.eg-ico {
    display: inline-block;
    /* ico.svg slices are 90x145, so every box must keep that 0.62069 aspect or
       the right-hand tip of the rhombus gets cropped. Height is the value that
       matters - sizes are always chosen as a height and the width follows. */
    width: 2.793rem;
    height: 4.5rem;
    background-repeat: no-repeat;
    background-image: url('../images/ico.svg');
    /* 18 slices, so the strip is 1800% of the element height and one slice
       fills the box exactly. `auto` on the width is deliberate: the sprite
       carries only a viewBox (no width/height attributes), so it has an
       intrinsic ratio but no intrinsic size. `auto` derives the width from
       that ratio and keeps the glyph undistorted; `100%` would discard the
       ratio and squash the whole strip to the box aspect instead.
       Adding a 19th icon means changing BOTH this to 1900% and the /17
       below to /18. */
    background-size: auto 1800%;
    /* Slot addressing. Slot N sits at N/17 of the way through the position
       range: background-position resolves a percentage against
       (box height - image height) = 17 slices. Consumers only set
       --ico-slot, so the division lives here and adding or re-ordering a
       slice is a one-number edit per brand. */
    --ico-slot: 0;
    background-position: 0 calc(var(--ico-slot) * 100% / 17);
}
/* Unchanged: brandless rows outside the map stay iconless. */
.nobrand .eg-ico {
    background-image: none;
}
/* The "info" rhombus is slot 0. It is a real glyph, not a nobrand
   placeholder - the map uses it as its default pin. */
.info .eg-ico { --ico-slot: 0; }
.nature .eg-ico { --ico-slot: 1; }
.history .eg-ico { --ico-slot: 2; }
.culture .eg-ico { --ico-slot: 3; }
.activity .eg-ico { --ico-slot: 4; }
.wellness .eg-ico { --ico-slot: 5; }
.festival .eg-ico { --ico-slot: 6; }
.winter .eg-ico { --ico-slot: 7; }
.relax .eg-ico { --ico-slot: 8; }
.eat .eg-ico { --ico-slot: 9; }
.help .eg-ico { --ico-slot: 10; }
.around .eg-ico { --ico-slot: 11; }
.shop .eg-ico { --ico-slot: 12; }
.other .eg-ico { --ico-slot: 13; }
.planned .eg-ico { --ico-slot: 14; }
.manors .eg-ico { --ico-slot: 15; }
.kids .eg-ico { --ico-slot: 16; }
.conferences .eg-ico { --ico-slot: 17; }


.nobrand .brand-bg { background-color: #bebd00; }
.other .brand-bg { background-color: #321d5c; }
.nature .brand-bg { background-color: #6a971f; }
.history .brand-bg { background-color: #e59000; }
.culture .brand-bg { background-color: #4f86a0; }
.activity .brand-bg { background-color: #eb5b56; }
.wellness .brand-bg { background-color: #bebd00; }
.festival .brand-bg { background-color: #9b6c8d; }
.help .brand-bg { background-color: #00a6aa; }
.winter .brand-bg { background-color: #0096d5; }
.eat .brand-bg { background-color: #fbba00; }
.relax .brand-bg { background-color: #b20e10; }
.around .brand-bg { background-color: #6a86b8; }
.shop .brand-bg { background-color: #cc004d; }
.planned .brand-bg { background-color: #9e4d13;  }
.manors .brand-bg { background-color: #ae8067; }
.kids .brand-bg { background-color: #ea8fd7; }
.conferences .brand-bg { background-color: #005cff; }

.nobrand:hover .brand-bg { background-color: #9f9e0d; }
.other:hover .brand-bg { background-color: #5f429a; }
.nature:hover .brand-bg { background-color: #597e21; }
.history:hover .brand-bg { background-color: #d58514; }
.culture:hover .brand-bg { background-color: #467284; }
.activity:hover .brand-bg { background-color: #da5755; }
.wellness:hover .brand-bg { background-color: #9f9e0d; }
.festival:hover .brand-bg { background-color: #825c77; }
.help:hover .brand-bg { background-color: #018c8e; }
.winter:hover .brand-bg { background-color: #0080b8; }
.eat:hover .brand-bg { background-color: #ce9a0b; }
.relax:hover .brand-bg { background-color: #a60f15; }
.around:hover .brand-bg { background-color: #5b7399; }
.shop:hover .brand-bg { background-color: #b50042; }
.planned:hover .brand-bg { background-color: #833c0a;}
.manors:hover .brand-bg { background-color: #986f59; }
.kids:hover .brand-bg { background-color: c178b1; }
.conferences:hover .brand-bg { background-color: #064fd1; }

.nobrand .brand-color { color: #bebd00; }
.other .brand-color { color: #6a86b8; }
.nature .brand-color { color: #6a971f; }
.history .brand-color { color: #e59000; }
.manors .brand-color { color: #986f59; }
.culture .brand-color { color: #4f86a0; }
.activity .brand-color { color: #eb5b56; }
.wellness .brand-color { color: #bebd00; }
.festival .brand-color { color: #9b6c8d; }
.help .brand-color { color: #00a6aa; }
.winter .brand-color { color: #0096d5; }
.eat .brand-color { color: #fbba00; }
.relax .brand-color { color: #b20e10; }
.around .brand-color { color: #6a86b8; }
.shop .brand-color { color: #cc004d; }
.planned .brand-color { color: #9e4d13; }
.manors .brand-color { color: #ae8067; }
.conferences .brand-color { color: #064fd1; }
.kids .brand-color { color: #c178b1; }
.nobrand a.brand-color { color: #4E394E; }