html{
  height: 100%;
  overflow-y: auto;
}
body { 
  position: relative;
  height: 110%;
  font: 400 15px/1.0 "Lato", sans-serif;
  color: rgb(255,255,255);
  margin: 0; 
  overflow-x: hidden;
  overflow-y: visible;
  }
.center {
  position: absolute;
  left: 50%;
  top: 55%;  
  transform: translate(-50%, -50%);  
  width: 50%;
  height: 67%;  
}
h2 {
  position: absolute;
  font-weight: 300;
  display: block;  
  opacity: 0.7;
  left: 50%;
 /* color: rgb(0, 0, 0);*/
  color: rgb(25, 25, 25);
  transform: translate(-50%, -50%);  
}
#main{    
  width: 100%;    
  text-align: center;
  display: inline-grid;
  top: 10%;
  position: absolute;
}
.fof{
  /*display: table-cell; */
  vertical-align: middle;
  height: 100px;   
}
.fof h1{ 
  font-weight: 100; 
  display: inline-block;
  background-color: rgba(100,100,100,0.0);
  padding: 18px;
  padding-left: 10px;
  color: rgb(25, 25, 25);
  opacity: 0.6;
  padding-right: 12px;
  letter-spacing: 10px;
  animation: type .5s alternate infinite;
}
#folio1{
  position: fixed;
  left: 50%;
  top: 45%;  
  transform: translate(-50%, -50%);  
  width: 98%;
  height: 85%;
  object-fit: contain;
}
#folio2{
  position: fixed;
  left: 50%;
  top: 45%;  
  transform: translate(-50%, -50%);  
  width: 98%;
  height: 85%;
  object-fit: contain;
}
.center {
    position: fixed;
    background-color: rgba(255, 255, 255, 1); 
    opacity: 1;
    border: none;
}
#container {
position: absolute;
top: 20%;
height: 100%;
width: 100%;
background-color: white;
}
#container img { border: 1px solid rgb(255, 255, 255); margin: 5px 5px 5px 5px;}
#btn1, #btn2, #btn3 {
    display: inline-block;
    border-style: none;
    text-decoration: none;   
    background-color: rgba(100,100,100,0.7);
    opacity: 0.7;
    text-align: center;
    vertical-align: middle;
    overflow: hidden;
    transition: .4s;
    font-size: x-large;
    font-weight: normal;
    color:rgba(235,238,242,1);
    margin: 4px 2px;
    cursor: pointer;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19); 
}
#btn1:hover {box-shadow: 0 8px 16px 0 rgba(197, 111, 111), 0 6px 20px 0 rgba(0,0,0,1);}
#btn2:hover {box-shadow: 0 8px 16px 0 rgba(197, 111, 111), 0 6px 20px 0 rgba(0,0,0,1);}
#btn3:hover {box-shadow: 0 8px 16px 0 rgba(197, 111, 111), 0 6px 20px 0 rgba(0,0,0,1);}
#btn1 {   
    border-style: none;           
    position: absolute;  
    width: 10%;          
    left: 25%;
    top: 10%;        
    }
#btn2 {   
    border-style: none;
    position: absolute;    
    width: 10%;     
    left: 45%;
    top: 10%;    
}
#btn3 {   
    border-style: none;   
    position: absolute;       
    width: 10%;           
    left: 65%;
    top: 10%;   
    
}
#payBtn {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
#loBeam {
  position: sticky;
  height: 2.5rem;  
  top: 95%;
  color: rgb(0, 0, 0);
  background-color: #57555a00;
  text-align:center;
  margin-left:auto; 
  margin-right:auto;
  margin-bottom: auto;  
}

@keyframes type{
  from{box-shadow: inset -3px 0px 0px rgb(136,135,136);}
  to{box-shadow: inset -3px 0px 0px transparent;}
}

/*
.popup-blog:hover {background-color:#1f7f5c;}
.popup-mail:hover {background-color:#1f7f5c;}
.popup-cart:hover {background-color:#1f7f5c;}
.popup-media:hover {background-color:#1f7f5c;}
.account:hover {background-color:#1f7f5c;}
*/
/*
select option[data-default] {
  color: #888;
}
*/
/* ************* navi **************** */
* {
	margin: 0; 
	/* padding: 0; */
}

.nav {
  position: relative;
  left: 0;
  right: 0;	
  height: 60px;
  display: flex; 
  background: -webkit-linear-gradient(0deg, rgba(22,22,22,0), rgba(22,22,22,1)); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(0deg, rgba(22,22,22,0), rgba(22,22,22,1)); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(0deg, rgba(22,22,22,0), rgba(22,22,22,1)); /* For Firefox 3.6 to 15 */
  background: linear-gradient(0deg, rgba(22,22,22,0), rgba(22,22,22,1)); /* Standard syntax (must be last) */
}

.nav li {
	float: left;
	list-style-type: none;
	position: relative;
}

.nav li a {
	font-size: 16px; 
	color: white;
	display: block;
	line-height: 60px;
	padding: 0 26px;
	text-decoration: none;
	border-left: 1px solid #2e2e2e;
	font-family: Montserrat, sans-serif;
	text-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}

.nav li a:hover {
	background-color: #1f7f5c;
}

#logo {
	background: url("../img/left_arrow_24.png") center no-repeat;		
	line-height: 24px;
	padding: 12px;
	height: 24px;
	font-size: 20px;
	line-height: 24px;
	color: white;
	font-family: Montserrat, sans-serif;
	cursor: pointer;
}

#search_ {	
  margin: 4px;
  height: 60px;
	/*position: relative;*/
	margin-left: auto;
  margin-right: auto;
  /* new: alla oleva on uutta-- keskitetty */
  top: 50%;
  position: absolute;
  left: 50%;  
  transform: translate(-50%, -50%);
  
/*
  display: flex;
  align-items: center;
  justify-content: center; */
}
#search{	
	padding: 10px 10px 10px 10px;
	font-size: 20px;
	font-family: Montserrat, sans-serif;
	border-style: solid;
	border-radius: 10px;
	border-color: rgb(66,101,190);
	height: 43px;
	width: 400px;
	margin-right: 0;
	color: rgb(255, 255, 255);
	outline: none;
	background: rgba(255, 255, 255,0.0);
	float: left;
	box-sizing: border-box;
	transition: all 0.15s;
}
::-webkit-input-placeholder { /* WebKit browsers */
	color: white;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
	color: white;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
	color: white;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
	color: white;
}

#search:focus {
	background: rgb(19, 19, 19);
	color: white;
}
#search_btn {
	position: fixed;
	border: 0 none;
	color: rgba(255,255,255,0.0);
	background: rgba(0,0,0,0.0) url("../img/search.png") center no-repeat;
	width: 60px; 
	float: left;		
	padding: 0;
	text-align: center;
	height: 43px;
	cursor: pointer;
}
#search_btn2 {
	position: relative;
	border: 0 none;
	color: rgba(255,255,255,0.0);
	background: rgba(0,0,0,0.0) url("../img/search.png") center no-repeat;
	width: 60px; 	
	left: 43%;
  margin-top: 3px;
	padding: 0;
	text-align: center;
	height: 43px;
	cursor: pointer;
}


#search_select{
	
	-moz-appearance : none !important;
	-moz-transform:translateX(-471%);		
        position: fixed;
        background-color: white;
        height: 42px;
        width: 140px;
        padding: 0px 0px 0px 5px;
	font-size: 16px;
	font-family: Montserrat, sans-serif;
	border: none;
		
}
#find{
  position: fixed;
  top: 11%;
  left: 5%;
}
#options {
  background: url("../img/menu.png") center no-repeat;
	height: 50px;
	font-size: 20px;
	line-height: 24px;
	color: white;
	font-family: Montserrat, sans-serif;       
  position: absolute;	
	right: 0%;
	
}
#options a {
	
	background-position: 85% center;
	background-repeat: no-repeat;
	padding-right: 42px;
	
}
.subnav {
	visibility: hidden;
	position: absolute;
	top: 110%;
	right: 10%;
	width: 200px;
	height: auto;
	opacity: 0;
	transition: all 0.1s;
	background: rgba(46,46,46,1.0); 
}
.subnav li {
	float: none;
}
.subnav li a {
	border-bottom: 1px solid rgb(46,46,46);
}
#options:hover .subnav {
	visibility: visible;
	top: 80%;
	opacity: 1;
}
#profolio{
  position: relative;
  top: 0px;
 /* background:#459eb947 url(https://storage.googleapis.com/kuvagallery.appspot.com/prof/front5.jpg) no-repeat;*/
  width: 100%;
  height: 30%;
  display: block;
  overflow:hidden;
  background-repeat: no-repeat;
  background-size: 100% auto;
  /*
  background-size: cover;
  -ms-background-size: cover;
  -o-background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  */
}
/*
#proimage{
  z-index: 0;
  background: blue url(/img/tausta2.jpg) no-repeat;
  background-position: 50% 50%;
  width:100%;
  height:100%;
  overflow:none;
}
*/
#searchForm{
  position: relative;
  top: 62%;
  margin: auto;
  width: 70%;  
  font: 300 16px/1.5 "Roboto", sans-serif;
  color: #555;
  text-align: center;
  box-sizing: inherit; 
  padding: 14px 24px 92px 24px;
}
#mS{
  position: relative; 
  display: inline-block;
  font: 300 16px/1.5 "Roboto", sans-serif;
  width: 60vh;
  height: 35px;
}
input {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type="submit"] {
  position: absolute;
  top: 7px;  
  height: 53px;
  width: 53px;
  font-size: 0;
  background: transparent url(/img/search2.png) center no-repeat; 
  background-size: 20px 20px;
  margin-left: -50px;
  border: none;
  border-radius: 0 5px 5px 0;
}
#targets{
font: 300 16px/1.5 "Roboto", sans-serif;
color: #555;
box-sizing: inherit;
display: grid;
position: relative;
right: 0;
left: 30%;
gap: 3rem;
}
#target{
  font: 300 16px/1.5 "Roboto", sans-serif;
  color: #555;
  box-sizing: inherit;
 /* width: fit-content;
  max-width: 1028px; */
  margin: 0 auto;
  overflow: auto;
  padding: 30px 0 1px 0;
  font-weight: 100;
  text-align: center;
 /* display: flex; */
  position: relative;
  align-items: center;
 /* justify-content: center; */ 
  }
  .btn-container {
    max-width: 1028px;
    margin: 0 auto;
    padding: 0 24px;
   /* overflow: hidden;*/     
}
#targets p {
  position: sticky;
  font-size: large;  
  color: #ffffffb5;
  margin: 10px;
}
.space{
  width: 200px;
    }
.space :active{
cursor: pointer;
background-color: gold;
}
.space :hover{
  cursor: pointer;
  }
#profolio img {
  width:100%;
  position: absolute;
  left: 0px;
  height: 100%;
}
#imagegrid{
position: relative;
top: 45%;
z-index: 0;
transition: all 0.6s; 
}
#imagegrid h2{
font-weight:700;
color:red;
display: block;
}
.grid-container{
  /* Prevent vertical gaps */
  line-height: 0;
   
  -webkit-column-count: 5;
  -webkit-column-gap:   0px;
  -moz-column-count:    5;
  -moz-column-gap:      0px;
  column-count:         5;
  column-gap:           0px;  
}
.grid-container img {
  /* Just in case there are inline attributes */
  width: 100% !important;
  height: auto !important;
}

.albumIdx p{
  position:relative; 
  left:-8%;
  
  text-align:center;
  width:113%;
  font-size:20px;
  line-height:50px;  
 /* padding:5px;
  top:55%;
  margin-top:-50px; */
  z-index:1;
  background:rgba(255,255,255, 0.7);
  color: black;
  transition:1s;
  cursor:pointer;
}
.albumIdx:hover{
  transform: scale(1.5);
}
.meti2 :hover{
  transform: scale(1.5);
}
.albumIdx { 
  font-size: 30px;
  text-align: center;
}
.pini:hover{
  cursor:pointer;
  transform: scale(1.5);
}
.member{
  list-style-type: none;
}
.member2{
  list-style-type: none;
}
.iframe-container{  
  position: absolute; 
  display: none;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 200%;
  z-index: 2;  
  overflow: hidden;
  background-color:rgba(255, 255, 255, 0.92);
}
.iframe-container iframe{
  position: absolute;
  top: 0px;
  left: 0;  
  width: 100%;
  height: 100%; 
  border: none; 
  overflow: hidden;
}
#ISO{
  width: 0%; 
  height: 100vh; 
  opacity: 0.98;
  z-index: 1;
}
#screen{
  margin-left: auto;
  margin-right: auto;
  display: block;
}
#tags{
 float: right;
 margin-right: 6em;
}
#tags li{
  list-style: none;
  padding: 5px;
}
#tags a{
  text-decoration: none;
/*  font-size: 20px; */
/*  color: cadetblue; */
}
ul.cloud {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  line-height: 2.75rem;
  width: 450px;
}

ul.cloud a {
  /*   
  Not supported by any browser at the moment :(
  --size: attr(data-weight number); 
  */
  --size: 4;
  --color: #a33;
  color: var(--color);
  font-size: calc(var(--size) * 0.25rem + 0.5rem);
  display: block;
  padding: 0.125rem 0.25rem;
  position: relative;
  text-decoration: none;
  /* 
  For different tones of a single color
  opacity: calc((15 - (9 - var(--size))) / 15); 
  */
}
/*
funktio short() korvaa alla-olevan
ul.cloud a[data-weight="1"] { --size: 1; }
ul.cloud a[data-weight="2"] { --size: 2; }
ul.cloud a[data-weight="3"] { --size: 3; }
ul.cloud a[data-weight="4"] { --size: 4; }
ul.cloud a[data-weight="5"] { --size: 6; }
ul.cloud a[data-weight="6"] { --size: 8; }
ul.cloud a[data-weight="7"] { --size: 10; }
ul.cloud a[data-weight="8"] { --size: 13; }
ul.cloud a[data-weight="9"] { --size: 16; }
*/
ul[data-show-value] a::after {
  content: " (" attr(data-weight) ")";
  font-size: 1rem;
}

ul.cloud li:nth-child(2n+1) a { --color: #181; }
ul.cloud li:nth-child(3n+1) a { --color: #33a; }
ul.cloud li:nth-child(4n+1) a { --color: #c38; }

ul.cloud a:focus {
  outline: 1px dashed;
}

ul.cloud a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 100%;
  background: var(--color);
  transform: translate(-50%, 0);
  opacity: 0.15;
  transition: width 0.25s;
}

ul.cloud a:focus::before,
ul.cloud a:hover::before {
  width: 100%;
}
@media (prefers-reduced-motion) {
  ul.cloud * {
    transition: none !important;
  }
}
#exit{  
  position: sticky;
  position: -webkit-sticky;
  right: 0;
  left: 0;
  top: 3px;
  margin: auto;
  display: inline-block; 
  z-index: 3;
  border: none;
  border-radius: 50%;  
  text-align: center;
  text-decoration: none; 
  color: white;
  background-color:#464449;
  cursor:pointer;
  padding: 16px;
  font-size: x-large;
  -webkit-transform: scale(1,1);  
  -moz-transform: scale(1,.9);
  -ms-transform: scale(1,1);
  -o-transform: scale(1,1);
}

#exit:hover{  
  background-color: rgb(164, 164, 170);
}
/*  dropBtn ja rating stars */
#dropbtn{       
  display: none;
  position: fixed;       
  z-index: 3;  
  }
#dropbtn:hover{
  background-color: #eee;
  }  
  a link{
      cursor: pointer;
  }
#navigation{
  height: 40px; 
  } 
  /*  RATING */
  .rating { 
    position: fixed;
    display: none; 
   /* background-color:white; */
    border-radius: 10px;
    top: 8px;
    z-index: 3;
   /* margin-left: -100px; huom? koko taytyy tietaa */
    transform: translate(-50%);  
    cursor: pointer;
  }
  .star{
    font-size:30px !important;
    cursor:pointer;
  }
.checked{   
  filter: invert(.5) sepia(1) saturate(5) hue-rotate(175deg); 
   /* filter: invert(1); /* (1) musta (.1) harmaa*/
}
.unchecked{
   /* color:black;   | jos .fa */
  filter: invert(0);
  }
#top{
  text-align: center;
  }
  video::-internal-media-controls-download-button {
    display:none;
   }

   video::-webkit-media-controls-enclosure {
        overflow:hidden;
   }

   video::-webkit-media-controls-panel {
        width: calc(100% + 30px); 
   }
 
