@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: normal;
  font-display: block;
  src: url('fonts/roboto/roboto-latin-ext-400-italic.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: normal;
  font-display: block;
  src: url('fonts/roboto/roboto-latin-400-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: bold;
  font-display: block;
  src: url('fonts/roboto/roboto-latin-ext-700-italic.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: bold;
  font-display: block;
  src: url('fonts/roboto/roboto-latin-700-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: normal;
  font-display: block;
  src: url('fonts/roboto/roboto-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: normal;
  font-display: block;
  src: url('fonts/roboto/roboto-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: bold;
  font-display: block;
  src: url('fonts/roboto/roboto-latin-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: bold;
  font-display: block;
  src: url('fonts/roboto/roboto-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Stat Custom';
  src: url('fonts/stat/stat.woff') format('woff'), url('fonts/stat/stat.ttf') format('ttf');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
	font-family: 'Font Awesome 6 Free';
	font-style: normal;
	font-weight: 400;
	font-display: block;
	src: url("fonts/fa/fa-regular-400.woff2") format("woff2"), url("fonts/fa/fa-regular-400.ttf") format("truetype");
}

@font-face {
	font-family: 'Font Awesome 6 Free';
	font-style: normal;
	font-weight: 900;
	font-display: block;
	src: url("fonts/fa/fa-solid-900.woff2") format("woff2"), url("fonts/fa/fa-solid-900.ttf") format("truetype");
}

html, 
body {
    font-family: 'Roboto';
    background-color: white;  
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;    
    position: relative;
    min-height: 100vh;
}

h3 {
	font-size: 22px;
    line-height: 28px;
	font-weight: bold;
    margin-top: 8px;
    margin-bottom: 8px;
}

h4 {
	font-size: 16px;
    line-height: 22px;
	font-weight: bold;
    margin-top: 16px;
    margin-bottom: 8px;
}

p:not(:last-child) {
    margin-bottom: 8px;
}

::-moz-selection {
  color: white;
  background: black;
}

::selection {
  color: white;
  background: black;
}

.navigation-container {
    display: flex; 
    flex-direction: column;
    position: relative;
    width: 100%;
    background-color: white;
}

.meta-header-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    padding-left: 56px;
    padding-right: 56px;
}

@media only screen and (max-width: 1024px) {
    .meta-header-container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

.social-container {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
}

@media only screen and (max-width: 960px) {
    .social-container {
        display: none;
    }
}

.langsel {
    color: white;
}

.main-navigation {
    padding-top: 1px;
    padding-bottom: 0;
    padding-left: 40px;
    padding-right: 56px;
    background-image: radial-gradient( circle at 1px 1px, #999 1px, #fff 0 );
    background-size: 18.8px 18.8px;
    background-position: 10px 11.5px;    
}

.main-navigation img {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;   
    background-color: white;
    padding-right: 5px;
    margin: 0;
    cursor: pointer;
}

#app {
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: center;
    justify-content: center;
    height: unset;
    width: 100%;
    padding: 24px;
    margin-bottom: 16px;
}

#meta {  
    font-size: 16px;
    line-height: 22px;
    width: 100%;
    height: auto;
    max-width: 720px;
    background-color: white;
    box-shadow: 1px 1px 10px #DDDDDD;
    order: 2;
    padding-top: 10px;
	padding-bottom: 10px;    
	padding-right: 24px;
	padding-left: 24px;     
}

#txtAssumptions ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#pyramid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 575px;
    order: 1;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

@media only screen and (max-width: 1048px) {
    #app {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
	padding: 8px;
    }
}

@media only screen and (max-width: 578px) {
    #pyramid svg {
        width: 100%;
        height: 100%;
    }
}

footer {
    display: flex;
    flex-direction: row;
    gap: 56px;
    background-color: black;
    width: 100%;   
    padding-left: 56px;
    padding-right: 56px;
    padding-top: 32px;
    padding-bottom: 52px;
    background-image: radial-gradient( circle at 1px 1px, #999 1px, #000 0 );
    background-size: 18.8px 18.8px;
    background-position: 17px 17px;     
}

@media only screen and (max-width: 1024px) {
    footer {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media only screen and (max-width: 576px) {
    footer {
        flex-direction: column;
        gap: 56px;
    }	
}

.footer-item-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: fit-content;
    background-color: black;
    padding: 24px;
    height: fit-content;
}

.footer-item-container a {
    display: flex;
    gap: 16px;
    font-size: 13px;
    font-weight: 400;
    line-height: 16px;
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.footer-item-container .contact-phone,
.footer-item-container .contact-mail {
    font-size: 18px;
    line-height: 24px;
    font-weight: bold;   
}

.contact-phone:before,
.contact-mail:before {
    font-family: 'Stat Custom';
    font-size: 18px;
    font-weight: 400;   
}

.contact-phone:before {
    content: "\e90a";
}

.contact-mail:before {
    content: "\e916";
}

button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    background-color: black;
    color: white;
    border-radius: 0; 
    outline: none;
    border: 2px solid black;
    font-size: 16px!important;
    padding: 6px 22px 6px 22px;
    width: fit-content;
    min-width: 40px;
}

button:hover {
    background-color: white;
    color: black;
}

button:focus-visible {
    outline: #9A82DB solid 2px;
    outline-offset: 2px;
}

select {
    padding: 8px 24px 8px 24px;
    border: 1px solid black;
    font-size: 16px;
    color: black;   
}

select:hover,
select:focus-visible,
select:focus,
select:active {
    border: 2px solid black;
    padding: 7px 23px 7px 23px;
    outline: none;
}

select:after {
    font-family: 'Stat Custom';
    content: "\e928";
    font-size: 16px;
    font-weight: 400;
}

.controls-container {
    display: flex; 
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
}

footer h2 {
    color: white;
    font-size: 22px;
    line-height: 26px;
}

table {
    border-collapse: collapse;
    font-size: 14px;
    line-height: 16px;
}

tr.head {
    font-weight: bold;
    background-color: #F8F8F8;
}

td {
    color: #595959;
}

tr.head td {
    color: black;
}

table, th, td {
    border: 1px solid #DDDDDD;
    padding: 8px;
}

@media only screen and (max-width: 1048px) {
	table, th, td {
    		padding: 4px;
	}
}


.active {
  /* Add your styles for the active button here */
  font-weight: bold;
    color: red;
}

.language-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
	gap: 8px;
}

.language-container li a,
.language-container span {
	font-size: 14px;
	line-height: 20px;
	font-weight: bold;
	color: #565656;
}

.language-container li a {
	text-decoration: none;
}

.language-container li a.selected {
	color: white;
}

.header-notification {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    background-color: #EFE9FB;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
    padding: 8px 56px 8px 56px;
    text-align: center;
}

.header-notification-content {
    max-width: 1920px;
    margin: auto;
}

@media only screen and (max-width: 1024px) {
    .header-notification {
        padding: 8px 24px 8px 24px;
    }
}


#dynamicTextGroup {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    text-align: center;
    padding: 24px;        
    background-color: black;
    color: white;
    min-width: 220px;
	position: fixed;
	top: 0;
	left: 0;
    font-size: 16px;
    line-height: 24px;   
    height: 200px;
}

.pyramid-tooltip.top::before {
    content:"";
    position: absolute;
    top: -10px;
    width: 0; 
    height: 0; 
    border-left: 10px solid transparent;
    border-right: 10px solid transparent; 
    border-top: 10px solid #8E8E8E;
    transform: rotate(180deg);
}

.pyramid-tooltip.bottom::before {
    content:"";
    position: absolute;
    bottom: -10px;
    width: 0; 
    height: 0; 
    border-left: 10px solid transparent;
    border-right: 10px solid transparent; 
    border-top: 10px solid #8E8E8E;
}

#yearData, 
#countData {
    line-height: 16px;
}

#extras {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

#extras div {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

#extras input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark-container {
  display: block;
  position: relative;
    font-size: 16px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.checkmark-container label {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.checkmark {
    border: 2px solid;
    display: inline-block;
    height: 20px;
    min-width: 20px;
    position: relative;
    width: 20px;
}

.checkmark-container input[type=checkbox]:checked+.checkmark:after {
    content: "";
}

.checkmark-container input[type=checkbox]:checked+.checkmark{
    background-color: black;
}


.checkmark-container input[type=checkbox]+.checkmark:after {
    content: none;
}

.checkmark:after {
    border-bottom: 2px solid white;
    border-left: 2px solid white;
    content: "";
    display: inline-block;
    height: 5px;
    left: 3px;
    position: absolute;
    top: 4px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    width: 10px;
}

#txtAQdef {
    font-size: 14px;
    line-height: 16px;
    padding: 8px 4px;
}

#txtCopyright {
    margin-top: 16px;
    font-size: 14px;
    line-height: 22px;
}

/*************************/
/*** Küpsiste nõusolek ***/
/*************************/

#cookie-consent-banner-wrapper {
  align-self: flex-start;
  padding: 0;
}
#cookie-consent-banner {
  max-width: calc(100% - 2 * 8px) ! important;
}

@media print {
  body > nav, body > footer {
    display: none ! important;
  }
}
