@import url(https://fonts.googleapis.com/css?family=Karla|Quicksand);
/*
Theme Name: ILGE
Theme URI: http://joosep.net
Author: Joosep Vaikma
Author URI: http://joosep.net
Description: ILGE
Version: 1.3.3.7
License: GNU General Public License
*/
html {	
    z-index: 1;
    background: url(./img/back.jpg) no-repeat center center fixed;
    /*background: url(./img/back.webp) no-repeat center center fixed;*/
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 100%;
    overflow: hidden;
	overscroll-behavior-x: none;
}
div {
	font-family: 'Karla', sans-serif;
}
body, .keha, .peidik, .taust, .fuajee .f, .fuajee {
    display: block;
    height: 100%;
    width: 100%;
	margin: 0;
	position: absolute;
	overflow: hidden;
	overscroll-behavior-x: none;
}
div, a {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
	-webkit-tap-highlight-color: transparent;
}
.taust {
	background: white;
}
.peidik {
    display: none;
	z-index: 909;
}
.keha  {
	z-index: 2;
}
.sisu {
	position: absolute;
    top: 2.5%;
    bottom: 2.5%;
    left: 2.5%;
    right: 2.5%;
    margin: auto;
    max-height: 95%;
    max-width: 95%;
	z-index: 2;
	display: flex;
}
.sisu .tekst {
    margin: auto;
    text-align: center;
	font-size: 1.5rem;
}
.tiiter {
	position: absolute;
	bottom: 1rem;
	right: 1rem;
	z-index: 2;
	background: rgba(255, 255, 255, 0.5);
    color: black;
    display: inline;
    padding: 0.1rem;
	font-size: 1.2rem;
}
.tume .tiiter {
	background: rgba(0, 0, 0, 0.5);
    color: white;
}
.burx, .peldik {
	cursor: pointer;
}
/* erki nooled */
.nooled a {
	position: absolute;
}
.nooled .parem, .nooled .vasak {
    width: 20%;
    height: 100%;
    top: 0;
	z-index: 4;
}
.nooled .ulos, .nooled .alla {
	width: 100%;
	height: 50%;
	z-index: 3;
}

.nooled .vasak {
    left: 0;
}
.nooled .parem {
    right: 0;
}
.nooled .ulos {
    top: 0;
}
.nooled .alla {
    bottom: 0;
}
.nooled .nokupikendus {
    content: '';
    width: 50%;
    width: 50vw;
    height: 33%;
    top: 33.5%;
    display: block;
    position: absolute;
}
.nooled .vasak .nokupikendus {
    left: 0;
}
.nooled .parem .nokupikendus {
    right: 0;
}
.nool {
    background: black;
    position: absolute;
    display: block;
}
.vasak .nool, .parem .nool {
    height: 1rem;
    width: 0.13rem;
    top: 50%;
}
.vasak .nool.essa, .parem .nool.essa {
    margin-top: -1rem;
}
.ulos .nool, .alla .nool {
    height: 0.13rem;
    width: 1rem;
	left: 50%;
}
.ulos .nool.essa, .alla .nool.essa {
    margin-left: -1rem;
}
.vasak .nool.essa, .alla .nool.tessa  {
	transform-origin: left bottom;
}
.vasak .nool.tessa, .ulos .nool.tessa {
	transform-origin: left top;
}
.parem .nool.essa, .alla .nool.essa {
	transform-origin: right bottom;
}
.parem .nool.tessa, .ulos .nool.essa {
    transform-origin: right top;
}
.vasak .nool {
    left: 5%;
}
.parem .nool {
    right: 5%;
}
.ulos .nool {
    top: 2%;
}
.alla .nool {
    bottom: 2%;
}
/* fuajee */
.fuajee {
    display: none;
}
/* lehtede stiilid */
.l-0.s-0 .sisu {
    width: 100%;
    height: 100%;
	/*-webkit-filter: drop-shadow(0px 0px 10px #00e6e6);
    filter: drop-shadow(0px 0px 10px #00e6e6);*/
}
.l-0.s-0 .nooled .alla {
    width: 100%;
    height: 100%;
    left: 0;
}
.l-0.s-0 .alla .nool {
    bottom: 1%;
}
.l-1.s-0 .sisu, .l-2.s-0 .sisu  {
    width: 80%;
    height: 80%;
}
.tume .l-2.s-2 img.sisu {
	-webkit-filter: invert(1);
    filter: invert(1);
}
/* gamburger */
.peldik {
    height: 100%;
    width: 42%;
    position: absolute;
    right: 0;
    top: 0;
	z-index: 808;
	display: none;
}
.kuller {
    width: 58%;
    height: 100%;
    position: absolute;
    top: 0;
	left: -100%;
	z-index: 0;
	display: flex;
}
.burx {
	z-index: 9;
	position: absolute;
	padding: 1rem;
	height: 2rem;
	width: 2rem;
	display: none;
}
.burx .pihv {
	top: 0.5rem;
}
.burx .sai {
	top: 1rem;
}
.burx .minu {
	background: black;
	position: relative;
	width: 2rem;
	height: 0.13rem;
}
.kuller div {
    padding: 0;
    margin: auto;
    bottom: 0;
    top: 0;
	text-align: right;
	display: block;
	left: -100%;
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
	.kuller div {
        height: 33%;
   }
}
.kuller div a {
	font-family: 'Karla', sans-serif;
	font-size: 3rem;
	font-size: 7vh;
    position: relative;
	-moz-transition: all 0.3s ease-out;
	-o-transition: all 0.3s ease-out;
	-webkit-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
	text-shadow: #58E 1px 1px, #58E 2px 2px, #58E 3px 3px, #58E 4px 4px, #58E 5px 5px, #58E 6px 6px;
	text-decoration: none;
    left: -5px;
    top: -5px;
	color: white;
	display: block;
}
.kuller div a:first-child {
	text-shadow: #FF0F98 1px 1px, #FF0F98 2px 2px, #FF0F98 3px 3px, #FF0F98 4px 4px, #FF0F98 5px 5px, #FF0F98 6px 6px;
}
.kuller div a:first-child + a {
	text-shadow: #00e6e6 1px 1px, #00e6e6 2px 2px, #00e6e6 3px 3px, #00e6e6 4px 4px, #00e6e6 5px 5px, #00e6e6 6px 6px;
}
/*.kuller div a:first-child + a.surnud {
text-shadow: #a4ffff 1px 1px, #6dffff 2px 2px, #3affff 3px 3px, #00ffff 4px 4px, #004848 5px 5px, #000000 6px 6px;
}*/
.kuller div a:first-child + a + a {
	text-shadow: #FFD900 1px 1px, #FFD900 2px 2px, #FFD900 3px 3px, #FFD900 4px 4px, #FFD900 5px 5px, #FFD900 6px 6px;
}
/*.kuller div a:first-child + a + a.surnud {
	text-shadow: #fff6c0 1px 1px, #ffec7c 2px 2px, #ffe346 3px 3px, #ffd900 4px 4px, #806c00 5px 5px, #000000 6px 6px;
}*/
.kuller div a:hover {
    left: 0;
	top: 0;
	text-shadow: none !important;
}
.kuller div a.surnud {
    opacity: 42%;
}
.kuller div a.surnud:active {
    pointer-events: none;
}
/* preloading */
.salajutt {
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    display: block;
    z-index: -1;
    overflow: hidden;
}
/* nupud */
.nupud {
	display: block;
    position: absolute;
    bottom: 0;
    height: 3rem;
    width: 58%;
	left: -100%;
}
.nupud a {
    width: 2rem;
    height: 2rem;
    z-index: 1;
	display: block;
    float: left;
    cursor: pointer;
    margin-left: 1rem;
	margin-bottom: 1rem;
}
.nupud .tumeaine {
	background: url(./svg/niki.svg);
    background-size: contain;
}
.tume .nupud .tumeaine {
	background: url(./svg/ines.svg);
	background-size: contain;
}
.nupud .ig {
	background: url(./svg/ig.svg);
    background-size: contain;
}
.nupud .at {
	background: url(./svg/at.svg);
    background-size: contain;
}
.nupud .at .arnold {
	text-transform: lowercase;
    position: absolute;
    color: white;
    bottom: 3.5rem;
	height: 1rem;
    padding-left: 2rem;
    left: 0;
	display: none;
}
/* tume aine */
.tume .taust {
    background: black;
}
.tume .burx .minu {
    background: white;
}
.tume .nool {
    background: white;
}
.tume .sisu .tekst {
    color: white;
}

/* allalaadimise nupp */
a.allalaadija {
    position: absolute;
    left: 0;
    bottom: 0;
	height: 2rem;
    width: 2rem;
    z-index: 5;
    margin: 1rem;
	background: url(./svg/alla.svg);
    background-size: contain;
}
.tume a.allalaadija {
	background: url(./svg/alla_must.svg);
    background-size: contain;
}