@charset "utf-8";
/*-------CONTENTS-------

1. Reset
2. General style
3. Wrap
4. Head
5. Content
6. Footer
7. Sisuleht
8. Visuaalredaktor
9. Kalender
10. ENL-members
11. Search
12. PDF
13. Uudised
14. Arhiiv
15. MEDIA

*/

/* ------------------- reset ----------------------- */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
    padding: 0px !important;
}

footer ol,  footer ul, .header-flex ol, .header-flex ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ------------------- reset-end ----------------------- */

/* ------------------- general styles ----------------------- */

:root {
    --main-orange: #e05c28;
    --main-purple: #332d5d;
    --main-neon-blue: #22ced3;
    --accent-gray: #f1f1f1;
}


* {
    position: relative;
}

a {
    padding: 0;
    text-decoration: none;
    color: #4d4d4d;
    -webkit-transition: color .1s ease-in-out, background .1s ease-in-out;
    -o-transition: color .1s ease-in-out, background .1s ease-in-out;
    transition: color .1s ease-in-out, background .1s ease-in-out;
}

a:hover, a:active, a:focus {
    text-decoration: none;
    color: inherit;
}

html {
    font-family: Europa, sans-serif !important;
    font-weight: 300;
    font-size: 62.5%;
    color: #4d4d4d;
}

html, body {
    height: 100%;
    min-width: 280px;
    background-color: white;
}

h6, h5, h4, h3, h2, h1 {
    margin: 0 0 1em;
    padding: 1em 0 0;
    line-height: 1.4;
    color: #3d3d3d;
    -webkit-transition: color .1s ease-in-out, background .1s ease-in-out;
    -o-transition: color .1s ease-in-out, background .1s ease-in-out;
    transition: color .1s ease-in-out, background .1s ease-in-out;
}

h1 {
    font-size: 1.6em;
    font-weight: normal;
}

h2 {
    font-size: 1.4em;
    font-weight: normal;
}

h3 {
    font-size: 1.2em;
    /*font-size: 3.2em;*/
    font-weight: bold;
    margin: 0px;
}

h4, h5, h6 {
    font-size: 1em;
    font-weight: bold;
}

p, li {
    line-height: 1.4;
}

p {
    font-size: 1em;
    line-height: 1.4;
    font-weight: 400;
    color: #333333;
}

ol, ul {
    padding: 0 0 0 1em;
}

p, ul, ol {
    margin: 0;
}

li {
    padding: 0 0;
}


.btn-default {
    border-color: transparent;
    background-color: #e05d28;
    color: white;
}


.hidden {
    display: none !important;
    width: 0;
    height: 0;
    overflow: hidden;
}

input, textarea, select, button {
    font-family: Europa, sans-serif;
}

button:focus {
    outline: 0 !important;
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        /*max-width: 1140px;*/
    }
}

.taxonomy-list {
    list-style: none;
    font-size: 2rem;
    font-weight: 500;
}
.taxonomy-list a {
    color: #332D5D;
    line-height: 4rem;
}

/* ------------------- general styles-end ----------------------- */

/* ------------------- sisu wrapperid ----------------------- */

.content {
    min-height: calc(100vh - 465px);
}

/* ------------------- sisu wrapperid-end ----------------------- */

/* ------------------- Head ----------------------- */

.header-flex {
    background: #332d5d;
    -webkit-box-shadow: 0px 3px 0.8px 0.2px rgba(75, 75, 75, 0.05);
    box-shadow: 0px 3px 0.8px 0.2px rgba(75, 75, 75, 0.05);
}

.shop .header-flex {
    background: #332d5d;
}

.full-screen {
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    max-height: calc(100vh - 100px - 18rem) !important;
    background-color: #eaeaea !important;
}

@media screen and (max-height: 800px) {
    .full-screen {
        max-height: 100vh !important;
    }
}

@media screen and (max-width: 900px) {
    .full-screen {
        max-height: 52rem !important;
    }
}

.header-img {
    padding: 0;
}

.content-max {
    max-width: 110rem;
    margin: 0 auto;
    display: block;
}

.content-flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.top-bar {
    flex-direction: column;
    align-items: flex-end;
    padding-top: 1rem;
}

.logo {
    width: auto;
    height: 8rem;
}

#menu-top-bar {
    padding: 0 1em;
    margin-top: 2px;
}

/* Desktop menu **/
.header-all {
    display: flex;
    flex-wrap: wrap;
}
.header-all>* {
    flex: 1 1;
}
.menu {
    display: flex;
    flex-wrap: wrap;
    min-width: 1100px;
    justify-content: end;
}
.menu-item {
    color: #e5e5e5;
    text-transform: uppercase;
    margin: 0 0.8rem;
    font-size: 1.6rem;
    font-weight: 600;
}
html[lang="ru"] .menu-item {
    font-size: 1.5rem;
    font-weight: 500;
}
.menu-item a {
    color: inherit;
}

.parent.menu-item-has-children > .glyphicon-chevron-right {
    transform: rotate(90deg);
    top: -1px;
}
.header-flex ul.menu > li.menu-item {
    height: 9rem;
    line-height: 9rem;
}

li.menu-item.menu-item-has-children.parent a {
    margin-right: 8px;
}
li.menu-item.menu-item-has-children.parent:after {
    content: "";
    position: absolute;
    bottom: 0;
    margin: 0 auto;
    left: 0;
    right: 3rem;
    height: 4px;
    background-color: #f68a1f;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 300ms ease-in-out,transform 300ms ease-in-out;
}
li.menu-item.menu-item-has-children.parent:has(a.open):after {
    opacity: 1;
    transform: translateY(0);
}
.sub-menu {
    --width: 27rem;
    display: none;
    flex-direction: column;
    top: 9rem;
    position: absolute;
    background: white;
    z-index: 9999;
    width: var(--width);
    border-radius: 0 0 1rem 1rem;
    padding: 1rem;
    box-shadow: 0px 1px 0 1px rgb(75 75 75 / 10%);
}

.sub-menu.sub {
    left: calc(var(--width) - 2rem);
    top: -1rem;
    border-radius: 0 1rem 1rem 0;
    box-shadow: 0px 0 0 1px rgb(75 75 75 / 10%);
}
.menu-item.menu-item-has-children.parent:nth-last-child(1) .sub-menu {
    right: 0;
}

.sub-menu:before {
    display: none;
}
.sub-menu a {
    padding: 1rem;
    text-decoration: none;
    display: inline-block;
    font-family: Europa, sans-serif;
    font-weight: 600;
    line-height: 1.1;
    margin: 0;
    text-align: left;
    color: var(--main-purple);
}
.sub-menu span {
    color: var(--main-purple);
}


/*  Mobile menu **/

.mobileMenuToggle {
    display: none;
    z-index: 100;
    position: relative;
    justify-content: end;
    align-items: center;
}

.mobileMenuToggle.toggleVisible {
    position: fixed;
    right: 5px;
}
@media screen and (max-width: 1130px) {
    .mobileMenuToggle {
        display: flex!important;
    }
    .header-flex .menu {
        display: none;
    }
}

.mobileMenuToggle, .sideMenuToggle {
    display: none;
}

#toggle-menu {
    cursor: pointer;
    display: block;
    height: 50px;
    padding: 0;
    position: relative;
    top: 1px;
    left: 0px;
    width: 50px;
}

#toggle-menu div {
    width: 35px;
    height: 22px;
    position: absolute;
    top: 50%;
    left: 0;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

#toggle-menu span {
    display: block;
    width: 35px;
    height: 3px;
    background: #f97514;
    position: absolute;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

#toggle-menu span.top {
    top: 0px;
}

#toggle-menu span.middle {
    top: 9px;
}

#toggle-menu span.bottom {
    top: 18px;
}

.mobileMenuToggle.toggleVisible #toggle-menu span.top,
.sideMenuToggle.toggleVisible #toggle-menu span.top {
    -webkit-animation: inTop 0.8s forwards;
    -moz-animation: inTop 0.8s forwards;
    animation: inTop 0.8s forwards;
}

.mobileMenuToggle.toggleVisible #toggle-menu span.middle,
.sideMenuToggle.toggleVisible #toggle-menu span.middle {
    -webkit-animation: inMiddle 0.8s forwards;
    -moz-animation: inMiddle 0.8s forwards;
    animation: inMiddle 0.8s forwards;
}

.mobileMenuToggle.toggleVisible #toggle-menu span.bottom,
.sideMenuToggle.toggleVisible #toggle-menu span.bottom {
    -webkit-animation: inBottom 0.8s forwards;
    -moz-animation: inBottom 0.8s forwards;
    animation: inBottom 0.8s forwards;
}

.mobileMenuToggle.toggleHidden #toggle-menu span.top,
.sideMenuToggle.toggleHidden #toggle-menu span.top {
    -webkit-animation: outTop 0.8s backwards;
    -webkit-animation-direction: reverse;
    -moz-animation: outTop 0.8s backwards;
    -moz-animation-direction: reverse;
    animation: outTop 0.8s backwards;
    animation-direction: reverse;
}

.mobileMenuToggle.toggleHidden #toggle-menu span.middle,
.sideMenuToggle.toggleHidden #toggle-menu span.middle {
    -webkit-animation: outMiddle 0.8s backwards;
    -webkit-animation-direction: reverse;
    -moz-animation: outMiddle 0.8s backwards;
    -moz-animation-direction: reverse;
    animation: outMiddle 0.8s backwards;
    animation-direction: reverse;
}

.mobileMenuToggle.toggleHidden #toggle-menu span.bottom,
.sideMenuToggle.toggleHidden #toggle-menu span.bottom {
    -webkit-animation: outBottom 0.8s backwards;
    -webkit-animation-direction: reverse;
    -moz-animation: outBottom 0.8s backwards;
    -moz-animation-direction: reverse;
    animation: outBottom 0.8s backwards;
    animation-direction: reverse;
}

@-webkit-keyframes inMiddle {
    25% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}

@-moz-keyframes inMiddle {
    25% {
        -moz-transform: rotate(0deg);
    }
    100% {
        -moz-transform: rotate(45deg);
    }
}

@keyframes inMiddle {
    25% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes outMiddle {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}

@-moz-keyframes outMiddle {
    50% {
        -moz-transform: rotate(0deg);
    }
    100% {
        -moz-transform: rotate(45deg);
    }
}

@keyframes outMiddle {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes inTop {
    0% {
        top: 0;
    }
    25% {
        top: 9px;
        -webkit-transform: rotate(0deg);
    }
    100% {
        top: 9px;
        -webkit-transform: rotate(135deg);
    }
}

@-moz-keyframes inTop {
    0% {
        top: 0;
    }
    25% {
        top: 9px;
        -moz-transform: rotate(0deg);
    }
    100% {
        top: 9px;
        -moz-transform: rotate(135deg);
    }
}

@keyframes inTop {
    0% {
        top: 0;
    }
    25% {
        top: 9px;
        transform: rotate(0deg);
    }
    100% {
        top: 9px;
        transform: rotate(135deg);
    }
}

@-webkit-keyframes outTop {
    0% {
        top: 0;
    }
    50% {
        top: 9px;
        -webkit-transform: rotate(0deg);
    }
    100% {
        top: 9px;
        -webkit-transform: rotate(135deg);
    }
}

@-moz-keyframes outTop {
    0% {
        top: 0;
    }
    50% {
        top: 9px;
        -moz-transform: rotate(0deg);
    }
    100% {
        top: 9px;
        -moz-transform: rotate(135deg);
    }
}

@keyframes outTop {
    0% {
        top: 0;
    }
    50% {
        top: 9px;
        transform: rotate(0deg);
    }
    100% {
        top: 9px;
        transform: rotate(135deg);
    }
}

@-webkit-keyframes inBottom {
    0% {
        top: 9px;
    }
    25% {
        top: 9px;
        -webkit-transform: rotate(0deg);
        opacity: 1;
    }
    100% {
        top: 9px;
        -webkit-transform: rotate(135deg);
        opacity: 0;
    }
}

@-moz-keyframes inBottom {
    0% {
        top: 18px;
    }
    25% {
        top: 9px;
        -moz-transform: rotate(0deg);
        opacity: 1;
    }
    100% {
        top: 9px;
        -moz-transform: rotate(135deg);
        opacity: 0;
    }
}

@keyframes inBottom {
    0% {
        top: 18px;
    }
    25% {
        top: 9px;
        transform: rotate(0deg);
        opacity: 1;
    }
    100% {
        top: 9px;
        transform: rotate(135deg);
        opacity: 0;
    }
}

@-webkit-keyframes outBottom {
    0% {
        top: 18px;
    }
    50% {
        top: 9px;
        -webkit-transform: rotate(0deg);
        opacity: 0;
    }
    100% {
        top: 9px;
        -webkit-transform: rotate(135deg);
        opacity: 1;
    }
}

@-moz-keyframes outBottom {
    0% {
        top: 18px;
    }
    50% {
        top: 9px;
        -moz-transform: rotate(0deg);
        opacity: 0;
    }
    100% {
        top: 9px;
        -moz-transform: rotate(135deg);
        opacity: 1;
    }
}

@keyframes outBottom {
    0% {
        top: 18px;
    }
    50% {
        top: 9px;
        transform: rotate(0deg);
        opacity: 0;
    }
    100% {
        top: 9px;
        transform: rotate(135deg);
        opacity: 1;
    }
}

.mainMenu-wrap {
    z-index: 99;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(55, 49, 104, 0.95) !important;
    display: none;
}
.mainMenu {
    padding: 30px 0 0 30px;
}
.mainMenu .menu .menu-item {
    color: white;
}
.mainMenu .sub-menu {
    width: 100%;
    background: unset;
    top: 0;
    position: initial;
    padding-top: 10px;
    box-shadow: none;
    padding-left: 2rem;
}
.mainMenu .menu {
    padding-bottom: 30vh;
    flex-direction: column;
}
.mainMenu ul.menu li {
    margin-top: 10px;
    float: none;
    display: block;
    padding-left: 0;
}
.mainMenu ul.menu li.active::after,
.mainMenu ul.menu li::after {
    display: none!important;
}
.mainMenu ul.menu > li:first-child:before {
    display: inline-block;
}
.mainMenu ul.menu li:after,
.mainMenu ul.menu li:before {
    display: inline-block;
    position: relative;
    top: 0;
    left: 0;
    -ms-transform: translateY(0%);
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
}
.mainMenu ul.menu li a:active, .mainMenu ul li a:focus {
    text-decoration: none;
}
.mainMenu ul.menu li a:hover {
    text-decoration: underline;
}
.mainMenu li.menu-item.parent {
    height: auto;
    line-height: initial;
    margin-top: 20px;
}
.mainMenu li.menu-item.menu-item-has-children.parent:after {
    opacity: 0;
}
.mainMenu li.menu-item.menu-item-has-children.parent:has(.current-menu-item.open):after {
    opacity: 0;
}
.mainMenu .menu-item.parent > .current-menu-item .glyphicon-chevron-right {
    transform: none;
    top: 0;
}
.mainMenu ul.menu li.active a::before {
    display: block;
}


#toggle-menu span {
    height: 5px !important;
    background-color: white !important;
}

.toggleVisible #toggle-menu span,
.home .toggleVisible #toggle-menu span.top::before,
.home .toggleVisible #toggle-menu span.middle::before,
.home .toggleVisible #toggle-menu span.bottom::before {
    height: 5px !important;
    background-color: white !important;
    border-color: white !important;
}

.shop #toggle-menu span, .shop #toggle-menu span.middle {
    height: 5px !important;
    background-color: white !important;
}

.shop #toggle-menu span::before {
    content: none !important;
}

form#searchform {
    margin-top: 3px;
}

form#searchform i {
    color: white;
    font-size: 2em;
}

form.mobile-searchform {
    margin-top: 50px !important;
    padding-bottom: 70px !important;
}

form.mobile-searchform input[type="text"] {
    position: relative !important;
    width: 70% !important;
    border-bottom: 1px solid !important;
    color: white !important;
}

form.mobile-searchform input[type="submit"] {
    display: inline-block !important;
    background: none !important;
    border: 1px solid white !important;
    padding: 3px 10px 2px 10px !important;
    font-size: 16px !important;
    color: white !important;
    font-weight: 600 !important;
}

form.mobile-searchform img {
    display: none;
}

/* Slider */

.slogan {
    font-size: 2.4rem;
    color: #242424;
    text-transform: uppercase;
    margin: 0 1.5rem;
    font-family: Europa, sans-serif;
}

.slogan-small {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 500;
    color: #eaeaea;
    background-color: #e05d28;
    padding: 0.4rem 1rem;
    margin: 0 1.5rem;
    text-transform: uppercase;
}

.img-slogan-big {
    text-align: center;
    margin: 5rem 0 10rem 0;
}

.img-slogan {
    font-size: 7rem;
    line-height: 0.85;
    color: white;
    font-weight: 900;
    text-shadow: 0px 2px 0.8px rgba(75, 75, 75, 0.56);
    letter-spacing: 0.1rem;
    font-family: Europa, sans-serif;
}

.img-slogan-text {
    display: inline-block;
    font-size: 2.6rem;
    padding: 0 2rem;
    font-weight: 300;
    line-height: 1.79;
    color: white;
    background-color: #e05c28;
    margin-top: 2rem;
}

#mycarousel .item a {
    width: 100%;
    height: 100%;
    display: block;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-control {
    background-color: transparent;
    background-image: none !important;
    opacity: 1 !important;
    z-index: 10;
}

.right-control {
    background-color: transparent;
    background-image: none !important;
    opacity: 1 !important;
    z-index: 10;
}

#wrap {
    padding: 0;
    position: relative;
    margin-right: 3rem;
}

#searchform input[type="text"] {
    font-size: 1.5rem;
    height: 2.3rem;
    display: inline-block;
    font-weight: 500;
    border: none;
    outline: none;
    color: #555;
    padding: 3px;
    padding-right: 2rem;
    width: 0px;
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    z-index: 3;
    -webkit-transition: width .4s cubic-bezier(0.000, 0.795, 0.000, 1.000);
    -o-transition: width .4s cubic-bezier(0.000, 0.795, 0.000, 1.000);
    transition: width .4s cubic-bezier(0.000, 0.795, 0.000, 1.000);
    cursor: pointer;
}

#searchform input[type="text"]:focus:hover {
    border-bottom: 1px solid #BBB;
}

#searchform input[type="text"]:focus {
    width: 25rem;
    z-index: 1;
    border-bottom: 1px solid #BBB;
    cursor: text;
}

#searchform input[type="submit"] {
    display: none;
}

#searchform input[type="submit"]:hover {
    opacity: 0.8;
}


.nf-form-fields-required {
    display: none;
}

.nf-field input[type=button] {
    box-shadow: none;
    border: 0px !important;
    padding: 1px !important;
    background: #e05c28;
    color: white;
    line-height: normal;
    height: auto;
    margin-top: 3px;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-right: 32px !Important;
    border-radius: 3px;
}

input[type="button"] {
    border: 0px;
    -webkit-appearance: button;
}

.fa-search {
    font-size: 2rem;
}

.search {
    width: 2rem;
}

.search.white {
    background: white;
}

.search-bar {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.go-to-shop-wrapper {
    text-align: center;
    padding-top: 10px !important;
    padding-bottom: 20px !important;
}

@media screen and (max-width: 767px) {
    .go-to-shop-wrapper {
        text-align: center;
        padding-top: 80px !important;
        padding-bottom: 60px !important;
    }
}


.go-to-shop {
    background-color: #e05d28 !important;
    color: white !important;
    text-transform: uppercase !important;
    border: none !important;
    font-family: Europa, sans-serif !important;
    -webkit-border-radius: 0;
    border-radius: 0;
    font-size: 20px;
    font-weight: 500;
    width: 225px;
    padding: 10px 25px;
    display: block;
    margin: 15px auto;
    text-align: center;
}

.go-to-shop span, .go-to-shop img {
    display: inline-block;
    height: 15px;
}

/* Home */

.mapsvg-wrap-all {
    text-align: left;
}
.home .mapsvg-wrap-all .mapsvg {
    background: none!important;
}
.mapsvg-wrap-all svg path, .mapsvg-wrap-all svg polygon {
    cursor: pointer;
}
.mapsvg-tooltip {
    font-weight: normal;
    font-size: 1.6rem!important;
}
#mapsvg-region-see-more {
    border-color: transparent;
    background-color: #e05d28;
    color: white;
    padding: 5px 20px;
    font-size: 1.5rem;
    border-radius: 20px;
    position: absolute;
    width: 130px;
    z-index: 9999;
    margin: auto;
    left: 0;
    right: 0;
    top: 410px;
    visibility: visible;
    opacity: 1;
    transition: visibility 0s linear 0s, opacity 300ms;
}
.nano-content:hover #mapsvg-region-see-more {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 300ms, opacity 300ms;
}
.hero {
    margin: 1rem auto 0;
}
@media screen and (max-width: 991px) {
    .hero > div {
        margin-bottom: 3rem;
    }
    .hero > div:nth-child(1) {
        margin-bottom: 0;
    }
    .home .mapsvg-wrap-all .mapsvg {
        height: 40vh!important;
    }
}

.home .mapsvg-controller-view-content {
    padding-left: 0;
}
.home .mapsvg-controller-view-content h2 {
    font-size: 3rem !important;
    font-weight: 900;
    line-height: 1.5;
    color: #242424;
    text-transform: uppercase;
    word-break: break-word;
    box-shadow: 0px 3px 0.8px 0.2px rgba(75, 75, 75, 0.05);
    padding-bottom: 1rem;
    padding-top: 0;
}
.home .fullscreen .mapsvg-controller-view-content {
    padding-top: 3rem;
}
.home .mapsvg-controller-view-content {
    text-align: center;
}
.home .mapsvg-controller-view-content ul {
    text-align: left;
    padding-left: 0;
    box-shadow: 0px 3px 0.8px 0.2px rgba(75, 75, 75, 0.05);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
}
.home .mapsvg-controller-view-content ul:nth-last-child(1) {
    box-shadow: none;
}
.home .mapsvg-controller-view-content ul li {
    padding-bottom: 1rem;
}
.home .mapsvg-controller-view-content ul li a {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--main-purple);
}
.home .nano > .nano-content {
    top: -1rem;
}
.nano-content {
    margin-bottom: 10px;
}
#mapsvg-fullscreen {
    position: absolute;
    top: 90%;
    right: 1%;
}
@media screen and (max-width: 768px) {
    #mapsvg-fullscreen {
        display: none;
    }
    #mapsvg-region-see-more {
        display: none;
    }
}
#mapsvg-fullscreen svg {
    padding: 4px;
    width: 100%;
}
.mapsvg-wrap-all.fullscreen #mapsvg-fullscreen {
    top: 95vh;
    position: fixed;
}
.mapsvg-wrap-all.fullscreen {
    position: fixed;
    width: 100%!important;
    height: 100vh!important;
    left: 0;
    top: 0;
    z-index: 9999;
    background: white;
    padding-left: 3rem;
}
button.mapsvg-mobile-modal-close {
    padding: 5px 25px;
    border-radius: 30px;
    background: var(--main-purple);
}
.mapsvg-details-container.mapsvg-container-fullscreen {
}
.home .mapsvg-container-fullscreen .mapsvg-controller-view-content, .mapsvg-container-fullscreen .mapsvg-controller-view-content {
    padding: 3rem;
}
/* ------------------- head-end ----------------------- */

/* ------------------- content ----------------------- */

.content1-bigbox {
    padding: 0 0.7rem;
}

.content-row1 {
    margin-right: -0.7rem;
    margin-left: -0.7rem;
}

.section {
    margin-bottom: 1.3rem;
}

.project-big {
    background-image: url(../img/projekt1.jpg);
    background-position: center;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    height: 35rem;
}

.project-big-titel {
    font-size: 3rem;
    color: #ececec;
    text-shadow: 0px 2px 0.8px rgba(75, 75, 75, 0.56);
    text-transform: uppercase;
    font-family: Europa, sans-serif;
}

.newsletter {
    background-color: white;
    height: 40rem;
    background-image: url(../img/mail-taust2.png);
    background-position: bottom;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    display: inline-block;
}

.newsletter-icon {
    width: auto;
    height: 8rem;
    margin: 1rem 0;
}

.newsletter-icon-flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.newsletter-titel {
    font-size: 4rem;
    text-transform: uppercase;
    font-weight: 900;
    color: #e05d28;
    margin-top: -10px;
    margin: 0.2rem 0;
    font-family: Europa, sans-serif;
}

.newsletter-text {
    font-size: 1.5rem;
    text-align: center;
    font-weight: 300;
    margin: 1rem 0;
}

.send-button {
    background-color: #e05d28 !important;
    color: white !important;
    text-transform: uppercase !important;
    border: none !important;
    font-family: Europa, sans-serif !important;
    -webkit-border-radius: 0;
    border-radius: 0;
    margin: 1rem 0;
    font-size: 1.5rem;
}

.frontpage-projects-grid {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    min-height: 50vh;
    margin-top: 10px;
}

@media screen and (max-width: 1200px) {
    .frontpage-projects-grid {
        width: 100%;
    }
}

.grid-item-wide {
    flex: 1 0 100%;
}

.grid-item-narrow {
    flex: 1 0 50%;
}

@media screen and (max-width: 767px) {
    .grid-item-narrow {
        flex: 1 0 100%;
    }
}

.grid-first {
    flex: 0 1 100%;
    order: -1;
    cursor: pointer;
}

.grid-first .lcp_catlist a {
    font-size: 1.6rem;
    color: #322e5f;
    font-weight: 400;
    line-height: 2;
}

ul.lcp_catlist {
    padding: 0px;
}

.frontpage-projects-grid a:nth-child(even) {
    padding-left: 5px;
}

.frontpage-projects-grid a:nth-child(odd) {
    padding-right: 5px;
}

.frontpage-projects-grid a {
    padding-top: 10px;
}

.frontpage-projects-grid .section {
    margin-bottom: 0px;
}

.project {
    height: 35rem;
}

.project-name {
    position: absolute;
    left: 1rem;
    bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.6;
    color: white;
    padding: 0rem 1.5rem;
}

.project-name span {
    background-color: #e05d28;
    padding: 0.7rem 0;
    vertical-align: top;
    padding-right: 0.3em;
    padding-left: 0.3em;
    margin-right: -0.3em;
    line-height: 1.2em;
}

.flip-container, .front, .back {
    width: 100%;
    height: 35rem;
    padding: 0;
}

.project-hidden-text {
    padding: 1.5rem;
    font-size: 1.7rem;
    line-height: 1.6;
    font-weight: 300;
    max-height: 29.1rem;
    overflow: hidden;
}

.project-hidden-name {
    font-size: 2.1rem;
    font-weight: 300;
    line-height: 1.79;
    color: white;
    padding: 0rem 1.5rem;
    margin-top: 1.5rem;
    display: inline-block;
}

.project-hidden-name span {
    background-color: #e05d28;
    padding: 0.7rem 0;
    vertical-align: top;
    padding-right: 0.3em;
    padding-left: 0.3em;
    margin-right: -0.3em;
    line-height: 1.2em;
}

.card {
    position: relative;
    width: 100%;
    height: 35rem !important;
}

.card.uudised-card {
    height: 35rem !important;
}

.card.uudised-card .card__back {
    height: 34rem !important;
    overflow: hidden;
}

.card__front, .card__back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card__front, .card__back {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: -webkit-transform 0.6s;
    transition: -webkit-transform 0.6s;
    -o-transition: transform 0.6s;
    transition: transform 0.6s;
    transition: transform 0.6s, -webkit-transform 0.6s;
}

.card__front {
    /*background-image: url(../img/taust2.jpg);*/
    background-position: bottom;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    height: 35rem;
}

.card__back {
    background-color: white;
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
}


@media only screen and (min-width: 1031px) {
    .card.effect__hover:hover .card__front, .card.effect__hover.active .card__front {
        -webkit-transform: rotateY(-180deg);
        transform: rotateY(-180deg);
    }

    .card.effect__hover:hover .card__back, .card.effect__hover.active .card__back {
        -webkit-transform: rotateY(0);
        transform: rotateY(0);
    }
}


.card.tmm_member.card.active .card__front {
    -webkit-transform: none;
    transform: none;
}

.card.tmm_member.card.active .card__back {
    -webkit-transform: none;
    transform: none;
}


.toggle-tmm {
    cursor: pointer;
    display: none;
}

.toggle-tmm {
    display: block;
}

.tmm .tmm_container {
    display: flex !important;
    flex: 1;
    flex-direction: row;
    overflow: hidden;
}

.slb_data_content {
    display: none;
}
#slb_viewer_wrap .slb_theme_slb_baseline {
    position: fixed!important;
}
#slb_viewer_wrap .slb_theme_slb_default .slb_viewer_layout {
    top: 20px!important;
}

/* ------------------- content-end ----------------------- */


.dashicons, .dashicons-before:before {
    font-family: 'Glyphicons Halflings';
    color: #322d5f;
    font-size: 2em;
}

.entry .entry-content a.sponsors_carousel-control, .sponsors_carousel-control {
    border: 0px !important;
}

.sponsors_carousel img {
    width: auto!important;
    margin-right: 50px;
}
.sponsors_carousel_wrapper {
    margin-bottom: 3rem;
}

.dashicons-arrow-left-alt2:before {
    content: "\e079";
}

.dashicons-arrow-right-alt2:before {
    content: "\e080";
}

/* ------------------- footer ----------------------- */

footer {
    background-color: #322D5F;
    background-image: url('../img/ENL_footer_bg.png');
    padding: 4rem 0 4rem 0;
    color: white;
    font-size: 1.2rem;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.footer-titel {
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 2;
    letter-spacing: 0.3px;
    color: #e5e5e5;
}
html[lang="ru"] .footer-titel {
    font-weight: 500;
}

.footer-text a {
    font-family: Europa, sans-serif;
    font-size: 1em;
    line-height: 1.86;
    margin-left: 0.7rem;
    font-weight: 400;
}

.footer-text p {
    font-family: Europa, sans-serif;
    font-size: 1em;
    line-height: 1.86;
    margin-left: 0.7rem;
    font-weight: 400;
    color: white;
}

footer ul {
    margin: 2rem 0;
    padding: 0;
}

.footer-link:hover, .footer-link:active, .footer-link:focus {
    text-decoration: underline;
}

.social {
    height: 3.5rem;
    margin-left: 0.1rem;
    margin-top: 0.5rem;
}

iframe {
    width: 100%;
    /*height: 241px;*/
    min-height: 50rem;
    border: 0;
}

.collapseomatic {
    background: #332d5d !important;
    color: white;
    padding: 10px 15px 10px 15px;
    font-weight: 500;
    text-transform: uppercase;
}

.tunnustamised .collapseomatic {
    clear: both;
    width: 70px;
    margin-bottom: 20px;
    display: block;
}

.tunnustamised .collapseomatic_excerpt, .collapseomatic_content {
    margin-top: 30px;
    margin-left: 16px;
    padding: 0px;
}

.submit-container .nf-field {
    text-align: center;
}

.nf-form-cont h3 {
    font-size: 2.2em;
    padding-top: 0px;
    margin-bottom: 10px;
}

.wpgmza_map {
    width: 80% !important;
    margin-top: 10px;
    height: 200px !important;
    min-height: 0px !important;
}

.footer-link {
    color: #e5e5e5;
}

/* ------------------- footer-end ----------------------- */

/* ------------------- sisuleht ----------------------- */
@media only screen and (min-width: 64.064em) {
    .page-full .page-content .contentpage-titel {
        margin-left: 20%;
    }
}

.page-full .page-content {
    width: 100%;
}

.page-content {
    padding-bottom: 75px;
}

@media screen and (max-width: 768px) {
    .page-content > * {
        margin: 0 1rem;
    }
}

.contentpage-titel {
    font-size: 4.5rem !important;
    font-weight: 900;
    line-height: 1.5;
    color: #242424;
    margin-top: 4rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    word-break: break-word;
}

.contentpage-subtitel {
    font-size: 3.5rem !important;
    font-weight: 900;
    line-height: 1.5;
    color: #242424;
    margin-top: 4rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    word-break: break-word;
}

.contantpage-sidemenu {
    padding: 0;
}

.contantpage-link {
    margin-left: 1.3rem;
    margin-bottom: 0.1rem;
}

.contantpage-link-a {
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1.56;
    color: #242424;
    text-transform: uppercase;
}

.contantpage-link-a:hover {
    color: #e05d28;
}

.contantpage-active {
    background-color: #242424;
    display: inline-block;
    padding: 0.1rem 1.3rem 0;
    margin-left: 0;
}

.contantpage-active a {
    color: white !important;
}

.contantpage-text, .contantpage-text p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.contantpage-text img {
    display: block;
    max-width: 100%;
    height: auto;
}

.contantpage-text img.alignright {
    display: inline-block;
    float: right;
    margin-left: 20px;
}

.text-bold {
    font-weight: 900;
}

.contentpage-gallery img {
    /*height: 16rem;*/
    height: auto;
    max-height: 16rem;
    margin-right: 2rem;
    display: initial !important;
}

#gallery .row {
    justify-content: space-between;
}

#gallery img {
    width: 100%;
    max-height: initial;
    border-radius: 10px;
}

#gallery a {
    width: 33%;
    font-size: 1.5rem !important;
    font-weight: 900;
    line-height: 1.5;
    color: #242424;
    margin-top: 4rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    word-break: break-word;
}

.more-buttons {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.more-button {
    background-color: #242424;
    color: white !important;
    font-size: 1.4rem;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 1.56;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.more-button:hover, .more-button:active, .more-button:focus {
    /*color: white;
    background-color: #e05d28;*/
}

.look-more {
    margin-bottom: 5rem;
}

.sdfootnoteanc {
    font-size: 11px;
    display: inline;
    vertical-align: super;
    padding: 0 0.25rem;
}

.wp-block-separator {
    margin: 50px 0 35px 0;
}

/* ------------------- sisuleht-end ----------------------- */

/* ------------------- visuaalredaktor ----------------------- */

.contantpage-text a {
    color: #e05d28;
}

.contantpage-text a:hover {
    text-decoration: underline;
}

.contantpage-text strong {
    font-weight: 600;
}

.contantpage-text em {
    font-style: italic;
}

.contantpage-text ul {
    list-style: initial;
    margin-bottom: 2rem;
}

.contantpage-text li {
    font-weight: 400;
}

.contantpage-text blockquote {
    margin-bottom: 2rem;
    margin-left: 17px;
    margin-right: 28px;
}

.contantpage-text table tr {
    display: flex;
}

.juhatus tbody tr td {
    width: 33.3% !important;
}

.juhatus tbody tr td p img {
    margin: 0 auto;
}

.tootajad tbody tr {
    display: flex;
    align-items: flex-start;
    margin-bottom: 5rem;
    width: 90%;
}

.tootajad tbody tr td:nth-child(1) {
    width: 30% !important;
}

.tootajad tbody tr td:nth-child(2) {
    width: 70% !important;
    margin-left: 10px;
}

.alignleft {
    float: left;
    margin-right: 2rem;
}

/* ------------------- visuaalredaktor-end ----------------------- */


.sideblock-head {
    background-color: #484088;
}

.sideblock-head p {
    font-size: 2rem;
    text-transform: uppercase;
    color: white;
    font-weight: 300;
    background-color: #302b5b;
    display: inline-block;
    padding: 0.4rem 3rem 0.4rem 1.6rem;
}

.sideblock-head p::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 0px solid transparent;
    border-right: 1rem solid transparent;
    border-bottom: 3.4rem solid #302b5b;
    border-top: 0px solid transparent;
    display: inline-block;
    margin-top: -0.2rem;
    margin-left: 3rem;
    position: absolute;
}

.sideblock {
    margin-bottom: 3rem;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    display: inline-block;
    width: 100%;
}

@media screen and (min-width: 992px) {
    .hero .sideblock {
        display: grid;
        align-content: baseline;
        height: calc(100% - 1rem);
        padding-bottom: 0;
    }
}
@media screen and (max-width: 991px) {
    .hero .sideblock {
        display: none;
    }
    .sideblock {
        margin-top: 3rem;
    }
}

a.sideblock-cta {
    width: 100%;
    text-align: center;
    cursor: pointer;
    background-color: #e05d28;
    color: white;
    font-size: 1.5rem;
    padding: 1rem 0;
    margin-top: 1rem;
    font-weight: 200;
    position: absolute;
    bottom: 0;
}

/* ------------------- kalender ----------------------- */

.calender {
    background-color: #FFF;
    padding: 0;
    height: 65rem;
}

.wstc-event-block {
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    padding: 0rem 1rem;
    border-top: 0.1rem rgba(60, 57, 57, 0.23) solid;
    height: auto;
    min-height: 5rem;
}
.wstc-event-block:nth-child(2) {
    border-top: none;
}

.ui-datepicker-inline {
    width: 100%;
    border: none !important;
}

.ui-state-default {
    text-align: center !important;
    background-color: transparent !important;
    border: none !important;
    height: 2rem !important;
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-pack: center !important;
    -webkit-justify-content: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
    -webkit-box-align: center !important;
    -webkit-align-items: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
    color: #333333 !important;
}

.ui-state-highlight {
    border: none !important;
    background-color: #e05d28 !important;
    color: white !important;
    -webkit-border-radius: 0.3rem !important;
    border-radius: 0.3rem !important;
}

.ui-datepicker-header {
    background-color: transparent;
    border: none;
}

.ui-datepicker table {
    min-height: 200px;
}

.wstc-head {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    padding: 2rem 0;
}

.wstc-head p {
    font-size: 2rem;
    text-transform: uppercase;
    color: white;
    font-weight: 300;
    background-color: #e05d28;
    padding: 0.4rem 1.5rem;
}

.wstc-event-date {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.wstc-event-title {
    -webkit-box-flex: 4;
    -webkit-flex: 4;
    -ms-flex: 4;
    flex: 4;
    padding-left: 1rem;
}

.wstc-content {
    margin: 0 auto;
    width: 100%;
    overflow: auto;
    padding-bottom: 4rem;
    padding-top: 0.5rem;
    background: white;
}

.abs-link {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
}

.wstc-event-title p {
    font-size: 1.5rem;
    font-weight: 400;
}

.wstc-event-date p {
    font-size: 1.5rem;
    font-weight: 300;
    display: inline-block;
    padding: 0.3rem 0.5rem 0.1rem;
    margin-right: 1rem;
}

.wstc-event-block.orange .wstc-event-date p {
    background-color: #FA4A00;
    color: white;
}
.wstc-event-block.orange .wstc-event-title:hover a {
    color: #FA4A00;
}
.wstc-event-block.neon-blue .wstc-event-date p {
    background-color: #22CDD1;
    color: white;
}
.wstc-event-block.neon-blue .wstc-event-title:hover a {
    color: #22CDD1;
}

.wstc-event-block .wstc-event-calendar img {
    width: 1.6em;
    cursor: pointer;
}

.wstc-last-link {
    width: 90%;
    margin: 2rem auto;
    opacity: 0.65;
}

.wstc-last-link a {
    font-size: 2rem;
    font-weight: 400;
    color: rgb(60, 57, 57);
    display: inline-block;
}

.wstc-last-link:hover {
    opacity: 1;
}

.ui-datepicker-title {
    margin-bottom: 1.5rem !important;
    font-family: Europa, sans-serif;
}

.ui-datepicker-title span {
    font-size: 1.5rem;
    font-weight: 200;
}

.ui-state-default {
    font-size: 1.2rem !important;
}

th span {
    font-size: 1.3rem;
}

.ui-datepicker-week-end a {
    color: red !important;
}

.ui-datepicker-week-end a.ui-state-highlight {
    color: white !important;
}

.upcoming_event {
    background-color: rgba(224, 93, 40, 0.6);
}

.upcoming_event a {
    color: white !important;
}

.upcoming-event a {
    color: #fff !important;
}

.ui-datepicker-today {
    background-color: #e05d28 !important;
    opacity: 1 !important;
}

.tanane {
    width: 100%;
    text-align: center;
    cursor: pointer;
    background-color: #e05d28;
    color: white;
    font-size: 1.5rem;
    font-weight: 200;
    padding: 1rem 0;
    margin-top: 1rem;
}

.ui-datepicker td {
    padding: 0.4rem;
}

.ui-icon-circle-triangle-w {
    background-image: url(../img/arrows.png) !important;
    background-position: 0px 0px !important;
    -webkit-background-size: 3rem 3rem !important;
    background-size: 3rem !important;
    height: 2rem;
    width: 1rem;
    margin: -.25em !important;
    top: .3em !important;
    left: .5em !important;
}

.ui-icon-circle-triangle-e {
    background-image: url(../img/arrows.png) !important;
    background-position: -19px 0px !important;
    -webkit-background-size: 3rem 3rem !important;
    background-size: 3rem !important;
    height: 2rem;
    width: 1rem;
    margin: -.25em !important;
    top: .3em !important;
    left: .5em !important;
}

#calendar-loader {
    text-align: center;
}

.hasDatepicker {
    position: absolute;
    width: 100%;
    bottom: 6rem;
}

.tanane {
    position: absolute;
    bottom: 0;
}

.fancybox-inner {
    max-width: 65%;
    display: block;
    margin: 0 auto;
}

.fancybox-titel {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ------------------- kalender-end ----------------------- */

/* ------------------- ENL-members ----------------------- */

.enl-members-wrapper {
    display: flex;
    flex-wrap: wrap;
}
.enl-members-header {
    width: 100%;
}
.enl-members {
    display: flex;
    flex-direction: column;
    background-color: white;
    width: 100%;
    margin: 0 0.6rem;
    padding: 0 1.3rem;
    margin-bottom: 1.3rem;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.enl-members:hover {
    -webkit-transition: -webkit-box-shadow .25s;
    transition: -webkit-box-shadow .25s;
    -o-transition: box-shadow .25s;
    transition: box-shadow .25s;
    transition: box-shadow .25s, -webkit-box-shadow .25s;
    -webkit-box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.enl-members:hover .company-logo, .enl-members:hover .company-text, .enl-members:hover .company-website-flex {
    -webkit-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
    opacity: 1
}

.content-row2 {
    margin-right: -0.7rem;
    margin-left: -0.7rem;
    padding-bottom: 1.3rem;
    margin: 0 auto;
}

.company-name {
    background-color: #e05d28;
    margin: 0 -1.3rem;
    height: 6rem;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.company-name-titel {
    color: white;
    text-transform: uppercase;
    padding: 0 1.5rem;
    font-size: 1.8rem;
    font-weight: 500;
}

.company-logo {
    height: 15rem;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: contain;
    background-size: contain;
    opacity: 0.8;
    margin: 1rem 0;
}

.company-text {
    font-size: 1.8rem;
    font-weight: 300;
    overflow-y: hidden;
    min-height: 5.4rem;

}

.company-contact-flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: baseline;
    -webkit-align-items: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    flex-wrap: wrap;
    margin: 0.2rem 0;
}
.company-contact-flex:nth-last-child(1) {
    margin-top: 1rem;
}

.company-contact-first {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    font-size: 1.6rem;
    color: #242424;
    font-weight: 400;
    line-height: 1.56;
}

.company-contact-wide {
    width: 100%;
    font-size: 1.6rem;
    color: #242424;
    font-weight: 400;
    line-height: 1.56;
    display: inline-grid;
    grid-gap: 5px;
    grid-template-columns: repeat(2, 50%);
}

.company-contact-last {
    -webkit-box-flex: 3;
    -webkit-flex: 3;
    -ms-flex: 3;
    flex: 3;
    font-size: 1.5rem;
    line-height: 1.75;
    font-weight: 300;
    color: #242424;
    max-height: 5rem;
    overflow-y: hidden;
}
.company-contact ul {
    margin-top: 0.5rem;
    list-style: inside;
}
.company-website-flex {
    bottom: 1rem;
    left: 0;
    right: 0;
    opacity: 0.8;
    margin-top: auto;
}

.company-website {
    width: 24rem;
    height: 4.5rem;
    border: 0.2rem #e05d28 solid;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0.5rem auto;
    -webkit-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
}

.company-website p {
    font-size: 1.5rem;
    font-weight: 500;
    color: #e05d28;
    line-height: 1;
    text-align: center;
    -webkit-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
}

.company-website:hover {
    background-color: #e05d28;
}

.company-website:hover p {
    color: white;
}

.compnany-contact-last-count {
    -webkit-box-flex: 3;
    -webkit-flex: 3;
    -ms-flex: 3;
    flex: 3;
}

.members-menu, .members-menu .subcategory {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-left: 0.4rem;
}
.members-menu .subcategory {
    order: 100;
    display: none;
    margin: 2rem 0 0 2rem;
    width: 100%;
}
.members-menu #sub- {
    display: flex;
}
.members-menu-active {
    color: #ffffff !important;
    background-color: #e05d28 !important;
}

.members-menu a {
    font-size: 1.3rem;
    margin: 0.2rem 0.2rem;
    background-color: #242424;
    padding: 1rem 1.5rem;
    color: white;
}

.sortby {
    font-size: 2rem;
    font-weight: 600;
    margin: 2rem 0.6rem 0.5rem;
}

.members-menu a:hover {
    color: white;
    background-color: #e05d28;
}

.back-up {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 5rem 0;
}

.back-up a {
    text-transform: uppercase;
    background-color: #e05d28;
    color: #ffffff;
    padding: 1.4rem 3rem;
    font-size: 1.8rem;
    font-weight: 400;
}

.company-contact {
    margin: 1rem 0 3rem 0;
}

.single-liikmed-social img {
    display: inline-block;
    height: 5rem;
}

/* ------------------- ENL-members-end ----------------------- */

/* ------------------- search ----------------------- */

.search-answer {
    font-size: 2rem;
    font-weight: 500;
    color: white;
    background-color: #242424;
    padding: 0.65rem 1.5rem 0.65rem 0rem;
    line-height: 4rem;
    white-space: pre-wrap;
}

.search-answer:hover, .search-answer:focus, .search-answer:active {
    color: white !important;
    background-color: #e05d28 !important;
}

.search-all {
    margin: 2rem 0;
    border-left: 1rem solid #242424;
    -webkit-transition: color .1s ease-in-out, background .1s ease-in-out;
    -o-transition: color .1s ease-in-out, background .1s ease-in-out;
    transition: border .1s ease-in-out;
}

.search-all:hover, .search-all:focus, .search-all:active {
    border-left: 1rem solid #e05d28 !important;
}

.search-non {
    font-size: 1.5rem;
    font-weight: 500;
}

/* ------------------- search-end ----------------------- */

/* ------------------- pdf ----------------------- */

.pdf-big {
    background-color: #e05d28;
    height: 20rem;
    width: 28rem;
    margin-bottom: 1rem;
    margin-right: 1rem;
    opacity: 1;
}

.pdf-big:hover {
    opacity: 0.9;
}

.pdf-titel {
    color: white;
    font-size: 2.5rem;
    padding: 1rem;
    font-weight: 300;
    line-height: 1.2;
}

.pdf-small-titel {
    color: white;
    font-size: 1.5rem;
    padding: 0 1rem;
    font-weight: 100;
    text-transform: uppercase;
    margin-top: -1rem;
}

.pdf-icon {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
}

.pdf-icon img {
    width: auto;
    height: 4rem;
}

.pdf-click {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    display: inline-block;
}

/* ------------------- pdf-end ----------------------- */

/* ------------------- uudised ----------------------- */

.news-all-page {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.news-big {
    background-color: #e05d28;
    height: 20rem;
    width: 31.3rem;
    margin-bottom: 1rem;
    margin-right: 1rem;
    opacity: 1;
}

.news-big:hover {
    opacity: 0.9;
}

.news-sortby, .news-members-menu {
    margin-left: 0;
}

.news-members-menu a {
    margin: 0;
    margin-right: 0.2rem;
    margin-bottom: 0.2rem;
}

.news-titel {
    color: white;
    font-size: 2rem;
    padding: 1rem;
    font-weight: 300;
    line-height: 1.2;
    margin: 0;
}

.news-time {
    color: whitesmoke;
    font-size: 1.2rem !important;
    font-weight: 300;
    line-height: 1.2;
    padding: 0 1rem;
}

.news-sort-flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: baseline;
    -webkit-align-items: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    margin-right: 1rem;
    margin-bottom: 3rem;
}

.sort-select {
    margin: 0;
    border: none;
    background-color: #242424;
    color: white;
    padding: 1rem 1.5rem;
    padding-right: 1.9rem;
    font-size: 1.3rem;
    -webkit-border-radius: 0;
    border-radius: 0;
    -moz-appearance: none;
    -webkit-appearance: none;
    background-image: url(../img/chevron-small-down.svg);
    background-repeat: no-repeat;
    background-position: right;
    -webkit-background-size: 30% 30%;
    background-size: 30%;
}

.news-sort-titel {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-right: 0.3rem;
}

select::-ms-expand {
    display: none;
}

ol {
    list-style: initial;
    list-style-type: decimal;
}

/* new styles */
.news-hero-section {
    display: flex;
    margin-bottom: 5rem;
}


.news-main-article {
    display: flex;
    box-sizing: border-box;
    flex-wrap: wrap;
    width: 100%;
}

.article-wrapper {
    background-size: cover;
    display: flex;
    height: 500px;
    width: 30%;
    flex-direction: column;
    margin-right: 3%;
}

.article-wrapper a.article-link {
    height: 300px;
}


a.article-link {
    align-items: flex-end;
    display: flex;
    width: 100%;
    background-size: cover;
    background-position: center;
}

a.article-link h3 {
    font-size: 2rem;
    color: white;
    text-shadow: 1px 1px 6px #000000;
    padding: 1rem 2rem;
}

a.article-small-link p {
    font-weight: 500;
    color: var(--main-purple);
    font-size: 1.5rem;
    padding-bottom: 2rem;
    display: list-item;
    margin-left: 2rem;
}


a.article-small-link p::marker {
    color: var(--main-orange);
}

a.article-small-link p:hover {
    color: var(--main-orange);
}


.article-wrapper .article-category-link {
    color: var(--main-orange);
}

.article-wrapper .article-category-and-date {
    font-size: 1.5rem;
}

.article-wrapper h2.article-title a {
    font-size: 2rem;
    color: var(--main-purple);
}

.article-wrapper h2.article-title a:hover {
    color: var(--main-orange);
}
.news-title a {
    color: black;
}
.news-title .links {
    display: block;
}

.news-title .links a {
    color: var(--main-orange);
    font-size: 2.2rem;
}

.news-title .links a:hover {
    color: var(--main-purple);
}

.news-authors {
    display: flex;
    flex-direction: row;
}

.news-author {
    display: flex;
    flex-direction: row;
    padding-top: 1rem;
    padding-right: 8rem;
}

.news-author .author-image img {
    border-radius: 300px;
    width: 90px;
    margin-right: 30px;
}

.news-author .author-name p {
    font-size: 2.5rem !important;
    font-weight: 900;
    line-height: 1.5;
    color: #242424;
    margin-bottom: 1rem;
    text-transform: uppercase;
    word-break: break-word;
}

.news-author .author-name span.author-email {
    font-size: 1.5rem;
    font-weight: 500;
}

.news-author .author-name span.author-email a {
    color: var(--main-orange);
}

.news-author .author-name span.author-email a:hover {
    color: var(--main-purple);
}

p.news-post-date {
    font-size: 1.5rem;
    font-weight: 600;
    display: block;
    line-height: 5rem;
}


.related-articles {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}

#load-more-news {
    display: inline-block;
    font-size: 1.6rem;
    padding: 0 2rem;
    font-weight: 300;
    line-height: 1.79;
    color: white;
    background-color: #e05c28;
    margin-top: 2rem;
    cursor: pointer;
}

#news-list-load-more {
    text-align: center;
    padding-bottom: 8rem;
}


.news-list .article-row h3.article-category-and-date {
    display: inline-block;
    padding-top: 0;
}

.news-list .article-row a.article-small-link {
    display: inline-block;
}

.news-list .article-row .article-category-and-date {
    color: #6d6d6d;
}

.news-list .article-row {
    padding-bottom: 2rem;
}

.news-list .article-row a.article-small-link p {
    padding-bottom: 0;
}

.glide__arrows {
    top: 200px;
}

span.glide__arrow {
    font-size: 3rem;
    cursor: pointer;
}
span.glide__arrow.glide__arrow--left {
    margin-left: -7%;
}
span.glide__arrow.glide__arrow--right {
    float: right;
    margin-right: -7%;
}

@media screen and (max-width: 768px) {
    .news-hero-section {
        height: auto;
        flex-direction: column;
    }

    .glide--carousel {
        width: 90%!important;
        margin: auto;
    }

    span.glide__arrow {
        font-size: 20px;
    }

    .news-main-article {
        flex: 1;
        display: flex;
    }

    .news-aside-articles .article-wrapper {
        margin-left: 0;
        margin-bottom: 0;
        height: 10rem;
        margin-top: 3rem;
    }

    .article-wrapper {
        height: auto;
        width: 100%;
    }

    .related-articles {
        flex-direction: column;
        height: auto;
    }

    .related-articles .article-wrapper {
        margin-bottom: 2rem;
        min-height: 20rem;
        max-width: 100%;
    }

    .article-wrapper a.article-link {
        height: 200px;
    }
}

/* ------------------- uudised-end ----------------------- */

/* ------------------- arhiiv ----------------------- */

/* ------------------- arhiiv-end ----------------------- */

.arhiivDiv {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
}

.arhiivDiv a {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    background-color: #242424;
    color: white;
    padding: 1rem;
    margin-bottom: 0.3rem;
}

.arhiivDiv a:hover {
    background-color: #e05d28;
}

.arhiiv-titel, .arhiiv-date {
    font-size: 1.3rem;
}

.sortby-arhiiv, .arhiiv-news-sort-titel, .arhiiv-news-sort-flex {
    margin-right: 0;
}

.projektid-template .content-row2 {
    margin-top: 50px;
    margin-bottom: 100px;
}

.projektid-template .content1-bigbox {
    width: 35rem !important;
    padding: 0;
    margin: 0 0.7rem
}

/* ------------------- media ----------------------- */

@media screen and (min-width: 768px) {
    .enl-members {
        width: 47%;
    }
}
@media screen and (min-width: 1200px) {
    .enl-members {
        width: 32%;
    }
    .company-contact-wide {
        grid-template-columns: repeat(3, 33.3%);
    }

    .company-text {
        font-size: 1.6rem;
    }
}

@media only screen and (max-width: 1030px) {
    .footer-colum {
        text-align: center;
    }

    .grid-first .card.active {
        height: 50rem !important;
    }

    .card__back li {
        margin-bottom: 10px;
    }

    .grid-first .lcp_catlist a {
        font-size: 16px;
        line-height: 1.8;
    }

    .contentpage-titel {
        font-size: 3.5rem !important;
    }

    #wrap {
        height: 0;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: end;
        -webkit-justify-content: flex-end;
        -ms-flex-pack: end;
        justify-content: flex-end;
        margin-top: 3.7rem;
        margin-right: 6rem;
    }

    .hidden-desk {
        display: none !important;
    }

    .fa-search {
        margin: 0 2rem;
    }

    input[type="text"] {
        margin-right: 2rem;
    }

    .footer-text a {
        margin-left: 0;
    }

    .news-sort-titel, .sortby, .news-sort-flex {
        margin-right: 0;
    }

    .news-all-page {
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}

@media screen and (max-width: 840px) {
    .slogan-small {
        display: none;
    }

    .img-slogan {
        display: inline-block;
        margin: 0 1rem;
    }
}

@media screen and (max-width: 767px) {
    .frontpage-projects-grid {
        width: 100%;
    }

    .content-row1 {
        margin-bottom: 0;
    }

    .news, .newsletter {
        margin-bottom: 1.3rem;
    }

    .side-facebook {
        margin-top: 0;
    }

    .carousel-inner > .item.active {
        height: 50vh;
    }
}

@media screen and (max-width: 700px) {
    .news-big {
        margin-right: 0;
    }
}

@media screen and (max-width: 600px) {
    .slogan {
        display: none;
    }

    .img-slogan {
        font-size: 4.8rem;
    }

    .img-slogan-text {
        font-size: 1.5rem;
    }

    .enl-members {
        margin: 0.5rem 0;
    }

    .pdf-big {
        width: 100%;
    }

    .fancybox-inner {
        max-width: 95%;
    }
}

/* ------------------- media-end ----------------------- */

/* Meeskond */

.tmm .tmm_member {
    vertical-align: top;
    margin-top: 0px;
    float: left;
    box-shadow: none;
    border-top: none !important;
    border-bottom: none !important;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12) !important;
    margin-top: 0px !important;
}

.tmm_member.card {
    min-height: 52rem !important;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.content .tmm .tmm_member .tmm_photo {
    width: 100% !important;
    height: 330px !important;
    box-shadow: none !important;
    margin-top: 0 !important;
    max-width: 100% !important;
    background-size: contain;
    background-position: center -40px !important;
    border: 6px solid whitesmoke;
}

@media only screen and (max-width: 64.063em) {
    .tmm .tmm_2_columns .tmm_member .tmm_photo, .tmm .tmm_3_columns .tmm_member .tmm_photo, .tmm .tmm_4_columns .tmm_member .tmm_photo {
        border-radius: 0 !important;
        background-position: center -30px !important;
    }
}


.tmm .tmm_container {
    margin: 0 -15px;
}

.tmm .tmm_names {
    font-size: 14px !important;
    margin-bottom: 0px !important;
    margin-top: 0px !important;
    font-weight: 300;
    background: #e05d28;
    color: #fff !important;
    padding: 20px 15px 15px 20px;
    text-transform: uppercase;
    font-weight: 600;
    text-align: left;
}

.tmm .tmm_names span, .tmm .tmm_names span.tmm_fname, .tmm .tmm_names span.tmm_lname, .tmm .tmm_names {
    color: #fff !important;
}

.tmm .tmm_job {
    font-size: 12px !important;
}

.tmm .tmm_textblock {
    text-align: left !important;
}

.tmm .tmm_desc {
    line-height: 1.5;
    padding: 15px !important;
    margin-top: 80% !important;
}

.tmm .card__back .tmm_desc {
    text-align: center;
}

.tmm .tmm_job {
    font-size: 14px;
    color: #000 !important;
    text-transform: none;
    font-size: 2rem;
    margin-bottom: 0;
    word-break: break-word;
    line-height: 1.5;
}

.tmm .tmm_ori_f .tmm_container .tmm_fname, .tmm .tmm_ori_f .tmm_container .tmm_job, .tmm .tmm_ori_f .tmm_container .tmm_desc, .tmm .tmm_ori_f .tmm_container .tmm_lname {
    font-family: Europa, sans-serif !important;
}

.tmm .tmm_wrap {
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex: 5;
    flex-wrap: wrap;
}

.tmm_sociallink_row {
    margin-bottom: 10px;
}

.tmm .tmm_member .tmm_textblock .tmm_sociallink {
    font-weight: 400;
    line-height: 1.5;
}

.tmm_scblock span {
    font-weight: 300 !important;
    color: #000;
}

@media only screen and (max-width: 64.063em) {
    .tmm .tmm_3_columns .tmm_member {
        width: 45%;
        padding: 0px;
        margin-bottom: 20px;
    }

    .tmm .tmm_desc {
        margin-top: 20% !important;
    }
}

@media only screen and (max-width: 525px) {
    .tmm .tmm_3_columns .tmm_member {
        margin: 0;
        width: 100%;
        margin-bottom: 20px;
    }

    .tmm .tmm_member .tmm_photo {
        height: 250px !important;
    }

}

@media only screen and (max-width: 768px) {
    .toggle-tmm {
        margin-top: 3rem;
    }

    .tmm_member.card {
        min-height: 58rem !important;
    }
}


/* Muu */
.otgs-development-site-front-end {
    display: none;
}

.smush-detected-img {
    border: 0px !important;
}

#aghai-ac-toolbar .aghai-ac-toolbar-overlay p.aghai-ac-toolbar-title, #aghai-ac-toolbar .aghai-ac-toolbar-overlay p.aghai-ac-tools {
    font-size: 110%;
}

#aghai-ac-toolbar.aghai-ac-toolbar-right .aghai-ac-toolbar-toggle {
    right: 370px !important;
    font-size: 100% !important;
}

#aghai-ac-toolbar.aghai-ac-toolbar-right .aghai-ac-toolbar-toggle a {
    background: none !important;
    border: 1px solid white !important;
    border-radius: 0px !important;
    font-size: 100% !important;
}

#aghai-ac-toolbar.aghai-ac-toolbar-right .aghai-ac-toolbar-toggle svg {
    display: none !important;
}

a.aghai-ac-toolbar-link.aghai-ac-toolbar-toggle-link:before {
    content: "Vaegnägijatele";
    font-size: 1.5em !important;
    color: white;
    font-weight: 500;
}

.aghai-ac-toolbar-toggle {
    box-shadow: none;
    border: 0px !important;
    padding: 1px !important;
    background: #e05c28;
    color: white;
    line-height: 0px;
    height: 23px;
    margin-top: 3px;
    padding-left: 12px !important;
    padding-right: 12px !important;
    border-radius: 3px;
}

a.aghai-ac-toolbar-link.aghai-ac-toolbar-toggle-link {
    line-height: 19px;
    color: white;
}

.aghai-ac-toolbar-toggle svg {
    display: none;
}

.aghai-credit-link {
    display: none;
}

.aghai-sr-only {
    width: 120px !important;
    height: 31px !important;
    margin: -6px 0px 0px -108px !important;
}

.aghai-ac-toolbar-toggle {
    display: none;
}

.mobile-aghai .aghai-ac-toolbar-toggle {
    display: block;
    height: 30px;
    width: 150px;
    margin: auto !important;
}

a.aghai-ac-toolbar-link.aghai-ac-toolbar-toggle-link:before {
    font-size: 2em !important;
    line-height: 25px;
}

.mobile-aghai {
    display: block;
    padding-right: 30px;
}

li.aghai-ac-toolbar-item:nth-last-child(1) {
    display: none;
}

body.aghai-ac-links-underline .wstc-event-title p {
    text-decoration: underline;
}

body.aghai-ac-high-contrast .c.img-slogan-bigontent1-bigbox.col-xs-8.frontpage-projects-grid * {
    background: initial !important;
    background-position: bottom !important;
    background-repeat: no-repeat !important;
    -webkit-background-size: cover !important;
    background-size: cover !important;
}

body.aghai-ac-resize-font-130 .img-slogan-big p:nth-child(1) {
    font-size: 8rem !important;
}

body.aghai-ac-resize-font-140 .img-slogan-big p:nth-child(1) {
    font-size: 8.5rem !important;
}

body.aghai-ac-resize-font-150 .img-slogan-big p:nth-child(1) {
    font-size: 9rem !important;
}

body.aghai-ac-resize-font-160 .img-slogan-big p:nth-child(1) {
    font-size: 9.5rem !important;
}

body.aghai-ac-resize-font-170 .img-slogan-big p:nth-child(1) {
    font-size: 10rem !important;
}

body.aghai-ac-resize-font-180 .img-slogan-big p:nth-child(1) {
    font-size: 10.5rem !important;
}

body.aghai-ac-resize-font-190 .img-slogan-big p:nth-child(1) {
    font-size: 11rem !important;
}

body.aghai-ac-resize-font-200 .img-slogan-big p:nth-child(1) {
    font-size: 11.5rem !important;
}


body.aghai-ac-resize-font-130 .img-slogan-big p:nth-child(2) {
    font-size: 3.1rem !important;
}

body.aghai-ac-resize-font-140 .img-slogan-big p:nth-child(2) {
    font-size: 3.6rem !important;
}

body.aghai-ac-resize-font-150 .img-slogan-big p:nth-child(2) {
    font-size: 4.1rem !important;
}

body.aghai-ac-resize-font-160 .img-slogan-big p:nth-child(2) {
    font-size: 4.6rem !important;
}

body.aghai-ac-resize-font-170 .img-slogan-big p:nth-child(2) {
    font-size: 5.1rem !important;
}

body.aghai-ac-resize-font-180 .img-slogan-big p:nth-child(2) {
    font-size: 5.6rem !important;
}

body.aghai-ac-resize-font-190 .img-slogan-big p:nth-child(2) {
    font-size: 6.1rem !important;
}

body.aghai-ac-resize-font-200 .img-slogan-big p:nth-child(2) {
    font-size: 6.7rem !important;
}

body.aghai-ac-resize-font-130 .content-max {
    max-width: 105rem;
}

body.aghai-ac-resize-font-140 .content-max {
    max-width: 110rem;
}

body.aghai-ac-resize-font-150 .content-max {
    max-width: 115rem;
}

body.aghai-ac-resize-font-160 .content-max {
    max-width: 120rem;
}

body.aghai-ac-resize-font-170 .content-max {
    max-width: 125rem;
}

body.aghai-ac-resize-font-180 .content-max {
    max-width: 130rem;
}

body.aghai-ac-resize-font-190 .content-max {
    max-width: 135rem;
}

body.aghai-ac-resize-font-200 .content-max {
    max-width: 140rem;
}

body.aghai-ac-resize-font-130 .ui-state-default, body.aghai-ac-resize-font-130 .tanane {
    font-size: 1.3rem !important;
}

body.aghai-ac-resize-font-140 .ui-state-default, body.aghai-ac-resize-font-140 .tanane {
    font-size: 1.4rem !important;
}

body.aghai-ac-resize-font-150 .ui-state-default, body.aghai-ac-resize-font-150 .tanane {
    font-size: 1.5rem !important;
}

body.aghai-ac-resize-font-160 .ui-state-default, body.aghai-ac-resize-font-160 .tanane {
    font-size: 1.6rem !important;
}

body.aghai-ac-resize-font-170 .ui-state-default, body.aghai-ac-resize-font-170 .tanane {
    font-size: 1.7rem !important;
}

body.aghai-ac-resize-font-180 .ui-state-default, body.aghai-ac-resize-font-180 .tanane {
    font-size: 1.8rem !important;
}

body.aghai-ac-resize-font-190 .ui-state-default, body.aghai-ac-resize-font-190 .tanane {
    font-size: 1.9rem !important;
}

body.aghai-ac-resize-font-200 .ui-state-default, body.aghai-ac-resize-font-200 .tanane {
    font-size: 2.0rem !important;
}


div#lang_picker {
    width: 70px;
    margin-right: 10px;
    margin-top: 2px;
    text-align: center;
    cursor: pointer;
}

@media screen and (max-width: 767px) {
    body.hide-mobile-langpicker div#lang_picker {
        display: none;
    }
    div#lang_picker {
        margin-right: 25px;
    }
}

body.shop div#lang_picker {
    display: none;
}

.top-bar-menu a, div#lang_picker a.current {
    padding: 5px 5px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    background-size: cover;
}

.top-bar-menu a, div#lang_picker a.current span.icl_lang_sel_current.icl_lang_sel_native {
    padding: 1px 15px;
    border-radius: 5px;
    background: white;
    color: #4d4d4d;
}

div#lang_picker a.current span:before {
    content: "";
    position: relative;
    top: 8px;
    padding: 7px;
    margin-right: 7px;
    margin-left: -7px;
    background: url("../img/globe.svg") no-repeat;
}

#lang_picker ul {
    position: absolute;
    width: 130px;
    margin-top: 15px;
    background: white;
    font-size: 12px;
    z-index: 1111;
    box-shadow: 0 0 7px 3px #00000059;
    border-radius: 3px;
    margin-left: 0;
    padding: 0;
}

#lang_picker .lang_picker_dropdown {
    display: none;
    margin-top: -10px;
}

#lang_picker:hover .lang_picker_dropdown, #lang_picker:active .lang_picker_dropdown {
    display: block;
    width: 130px;
    height: 20px;
    position: absolute;
}

#lang_picker ul li a {
    padding: 9px 2px;
    display: block;
}

#lang_picker ul li:hover {
    background: #00000014;
}


.terms-error {
    font-size: 14px;
    text-align: center;
}

.terms-error-button-wrapper {
    width: 100%;
    text-align: center;
    padding-top: 15px;
}

.terms-error-button {
    box-shadow: none;
    border: 0px !important;
    padding: 2px 10px 2px 10px !important;
    background: var(--main-orange);
    color: white !important;
    line-height: 21px;
    border-radius: 3px;
    width: 50%;
    display: block;
    margin: auto;
    font-size: 16px;
}


.enl-odometer {
    display: flex;
    width: 100%;
    justify-content: center;
}

.enl-odometer-inner {
    width: 100%;
    display: flex;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

@media screen and (max-width: 768px) {
    .enl-odometer-inner {
        width: 100%;
    }
}

.enl-odometer:before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: #373168;
    /* background-image: url(../img/ENL_footer_bg.png); */
    background-size: contain;
}

.enl-odometer-block {
    width: 33%;
    text-align: center;
}

.enl-odometer-block p.text {
    font-size: 1.8rem !important;
    color: #ff7346;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

@media screen and (max-width: 600px) {
    .enl-odometer-block p.text {
        font-size: 1.2rem !important;
        word-break: break-word;
        min-height: 4rem;
    }
}

span.odometer-value, span.odometer-formatting-mark, .odometer-digit {
    color: white;
}

span.odometer-digit-spacer {
    width: 2.2rem;
}

/* Intro widget */
.enl-intro .enl-intro-title {
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}
.enl-intro .enl-intro-content {
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
}
.enl-intro-wrapper {
    border: 2px solid var(--main-neon-blue);
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 15px;
}
.enl-intro-link-wrapper {
    display: flex;
    gap: 10px;
}
.enl-intro-link {
    display: block;
    text-align: center;
    padding: 8px 5px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    border: 3px solid var(--main-neon-blue);
    background: var(--main-neon-blue);
    border-radius: 5px;
    flex: 1;
    min-width: 0;
}
.enl-intro-link:first-child:last-child {
    width: 100%;
}

.enl-intro-link:hover {
    background: white;
    color: black;
}


p.contentpage-subtitel.number {
    margin: 0;
}

.page-404 {
    min-height: 50vh;
}

.page-404 a.sideblock-cta {
    margin-bottom: -30px;
}

@media screen and (max-width: 767px) {
    .img-slogan {
        font-size: 4.8rem;
    }
    .img-slogan-text {
        font-size: 2rem;
    }
    #searchform input[type="text"] {
        font-size: 2rem;
    }
    .newsletter-text {
        font-size: 2rem;
    }
    footer {
        font-size: 1.5rem;
    }
    .footer-titel {
        font-size: 1.6rem;
    }
    .footer-text a {
        font-size: 1.5rem;
    }
    .footer-text p {
        font-size: 1.5rem;
    }
    .contantpage-text, .contantpage-text p, .contantpage-link-a {
        font-size: 2rem;
    }
    .tmm .tmm_job {
        font-size: 2rem!important;
    }
    .tmm .tmm_names {
        font-size: 2.2rem!important;
    }
    .wstc-event-title p {
        font-size: 1.8rem;
    }
    .wstc-event-date p {
        font-size: 2rem;
    }
    .ui-datepicker-title span {
        font-size: 2rem;
    }
    .ui-state-default {
        font-size: 1.5rem !important;
    }
    th span {
        font-size: 1.5rem;
    }
    .tanane {
        font-size: 2rem;
    }
    .company-contact-last {
        font-size: 2rem;
    }
    .company-website p {
        font-size: 2rem;
    }
    .search-answer {
        font-size: 2rem;
    }
    .search-non {
        font-size: 2rem;
    }
    .pdf-small-titel {
        font-size: 2rem;
    }
    .news-time {
        font-size: 1.2rem !important;
    }
}

/* Valinoor */
.mapsvg-directory-item, .mapsvg-tooltip {
    font-family: inherit !important;
}

.valimised-omavalitsus {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    padding: 0;
    justify-content: space-between;
}

.valimised-omavalitsus h2 {
    width: 100%;
    font-size: 2em;
    font-weight: normal;
    margin: 0 0 0;
    padding: 0;
}

.valimised-erakond-title {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.valimised-erakond-title img {
    width: 30px;
    height: 30px;
    margin-right: 12px;
}

.valimised-erakond p {
    font-size: 2em;
    font-weight: normal;
    margin: 0 0 1em;
    padding: 1em 0 0;
    line-height: 1.4;
}

div#details-content .mapsvg-controller-view-content {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    padding: 0;
    justify-content: space-between;
}

.valimised-erakond {
    padding-bottom: 30px;
}

div#details-content .mapsvg-controller-view-content .valimised-erakond {
    width: 50%;
}

.valimised-kandidaat {
    display: flex;
    flex-direction: row;
    align-items: center;
    color: initial;
    padding-bottom: 20px;
}

a.valimised-kandidaat:hover {
    text-decoration: none;
}

.valimised-kandidaat img {
    margin-right: 15px;
}

.valimised-kandidaat span {
    font-size: 1.6rem;
    color: initial;
}

.valinoor-toetaja {
    margin-top: 50px;
}

.valinoor-logod {
    margin-top: 30px;
}

.valinoor-logod img {
    max-width: 300px;
    padding-right: 20px;
    padding-bottom: 20px;
}

@media screen and (max-width: 767px) {
    .contantpage-text .valimised-erakond p {
        font-size: 1.2em;
    }

    div#details-content .mapsvg-controller-view-content .valimised-erakond {
        width: 100%;
    }
}

/* Kandidaat single */
.kandidaat-text {
    padding-right: 2rem;
}

.kandidaat-properties p {
    font-size: 1.5rem;
    font-weight: 600;
    display: block;
}

.kandidaat-properties {
    padding-bottom: 1rem;
}

.kandidaat-image img {
    width: 100%;
    height: auto;
    /*max-width: 30rem;*/
}

@media screen and (max-width: 767px) {
    .kandidaat-image {
        padding-bottom: 5rem;
    }

    .kandidaat-inner-row {
        display: flex;
        flex-direction: column-reverse;
    }

    .kandidaat-text {
        padding-right: 0rem;
    }
}


.oleviku-otsustajad-template #hero {
    background: url(../img/oleviku-otsustajad-bg.png) center;
    background-size: cover;
}
