body {
    /*background: url('./assets/Disainifailid/taust_landscape.png') no-repeat fixed;
    background-size: cover;
    box-sizing: content-box;
  padding-bottom: 50px;*/
  margin-bottom: 6rem !important;
  color: rgb(0, 33, 87);
  height: 70vh;
  /*position: relative; !*for virtual KB not to push sticky up*!*/
  }


.hideWhenLoading{
  display: none;
}

#loading {
  display: flex;
  position: fixed;
  z-index: 100;
  width: 100%;
  height: 100%;
  /*background-color: rgba(192, 192, 192, 0.5);*/
  /*background-image: url("https://i.stack.imgur.com/MnyxU.gif");*/
  /*background-repeat: no-repeat;*/
  /*background-position: center;*/
}

#BtnEestikalad,
#BtnKalamang,
.quizImageBtn {
  cursor: pointer;
  /*width: 25%;*/
}

button:disabled {
  cursor: not-allowed;
}

input[type='image']:hover {
  opacity: 0.8;
}

#game {
  height: 75vh !important;
}

#intro {
  height: 80vh;
}

/*#otsi {
  !*background-image: url('./assets/search_icon.png'); !* Add a search icon to input *!
    background-position: 10px 12px; !* Position the search icon *!
    background-repeat: no-repeat; !* Do not repeat the icon image *!
    background-size: 14px 14px;*!
    !*width: 100%;!*calc(100% - 62px); !* Full-width *!*!
    !*font-size: 1rem; !* Increase font-size *!*!
!*    padding: 12px 20px 12px 40px; !* Add some padding *!
    border: 1px solid #ddd; !* Add a grey border *!*!
  }*/
  
  #UlLiigiNimekiri {
    width: 100%;
    /* Remove default list styling */
    list-style-type: none;
    padding: 0;
    margin: 0;
  }
  
  #UlLiigiNimekiri li {
    /*background-repeat: no-repeat;
    background-position: left;*/
    background-size: 90px;
    background: rgba(255, 255, 255, 0.4) no-repeat left;
  }
  
  #UlLiigiNimekiri li a {
    border: 1px solid #ddd; /* Add a border to all links */
    margin-top: -1px; /* Prevent double borders */
    background-color: #f6f6f6; /* Grey background color */
    padding: 20px; /* Add some padding */
    text-decoration: none; /* Remove default text underline */
    font-size: 1.1rem; /* Increase the font-size */
    color: rgb(0, 33, 87); /* Add a black text color */
    display: block; /* Make it into a block element to fill the whole list */
    padding-left: 100px;
  }

  #UlLiigiNimekiri li p {
      font-size: 1rem;
  }
  
  #UlLiigiNimekiri a:hover {
      color: #ddd;
    background-color: rgba(0, 0, 0, 0.2) !important; /* Add a hover effect to all links*/
  }
  
  .liigiInfo {
    /* display: none; */
    background: rgba(255, 255, 255, 0.6);
    padding: 12px 5px 12px; /*top right-left bottom*/
  }
  
  .liigiInfoPildid img {
    /*max-width: 90vw;*/
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    width: 40%;
  }
  
  @media (max-width: 700px) {
    .liigiInfoPildid img {
      display: block;
      width: 100%;
    }
  }
  
  .kalaNimi {
    /*color: rgb(0, 33, 87);*/
    font-weight: bold;
    padding: 12px;
    position: -webkit-sticky;
    position: sticky;
    top: 5rem;
    z-index: 0;
    background-image: linear-gradient(to right, rgba(126, 219, 246, 1), rgba(126, 219, 246, 0.5));
  }

.kalaNimi .bi-x-lg::before {
  content: "\f659";
  position: absolute;
  right: 1rem;
  cursor: pointer;
  padding: 0.3rem;
}

.kalaNimi .bi-x-lg:hover::before {
  transition: 0.3s;
  color: #FFFFFF;
  background-color: rgba(217, 83, 78, 0.75);
  border-radius: 0.25rem;
}

.high-score {
  /*color: rgb(0, 33, 87);*/
  font-weight: bold;
  padding: 12px;
  background-image: linear-gradient(to right, rgba(126, 219, 246, 1), rgba(126, 219, 246, 0.5));
}

  .descriptionHeading {
    font-weight: 700;
    font-style: normal !important;
  }
  
  .latinName {
    font-style: italic;
  }

  #filterButton {
    display: none;
    bottom: 5rem;
    right: 1.4rem;
    z-index: 3;
    font-size: 1.25rem;
    padding: 0.25rem 0.75rem;
  }

#info{
  background-image: linear-gradient(to right, rgba(126, 219, 246, 1), rgba(126, 219, 246, 0.5));
}

/*line-height: 1;
background-color: transparent;
border: 1px solid transparent;
border-radius: .25rem;*/

/*  raadionuppude kujundus */
.filterclass p {
    border-top: 1px solid #ddd;/*border to filter paragraphs*/
    padding-top: 2px; /*add some padding under filters*/
  margin-bottom: 2px;
  }
  
  .filterclass {
    display: inherit;
    position: -webkit-sticky;
    position: sticky;
    /*position: fixed;*/
    bottom: 0;
    /*top: auto;*/
    /*left: 0;
    right: 0;*/
    /*justify-content: center;*/
    /*background: rgba(126, 219, 246, 0.9);*/
    background-image: linear-gradient(to right, rgba(126, 219, 246, 1), rgba(126, 219, 246, 0.9));
    /*color: rgb(0, 33,87);*/
    padding: 10px;
    /*margin-top: -75em;*/
    z-index: 1;
  }

/* radio buttons */
.switch-field {
  display: flex;
  /*margin-bottom: 2px;*/
  overflow: hidden;
}

.switch-field span{
  width: 3.5rem;
}

.switch-field input {
  position: absolute !important;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  width: 1px;
  border: 0;
  overflow: hidden;
}

.switch-field label {
  background-color: #e4e4e4;
  /*color: rgba(0, 0, 0, 0.6);*/
  font-size: 0.8rem;
  line-height: 1;
  text-align: center;
  padding: 8px 8px;
  margin-right: -1px;
  margin-bottom: 2px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.1s ease-in-out;
}

.switch-field label:hover {
  cursor: pointer;
}

.switch-field input:checked + label {
  background-color: rgba(0, 123, 255, 0.5);
  box-shadow: none;
}

.switch-field label:first-of-type {
  border-radius: 4px 0 0 4px;
}

.switch-field label:last-of-type {
  border-radius: 0 4px 4px 0;
}

  /* GAME area */
  #hud,
  .row #kysimused {
    background-image: linear-gradient(to right, rgba(126, 219, 246, 0.7), rgba(126, 219, 246, 0.5));
    /*color: rgb(0, 33,87);*/
    margin-left: 0;
    margin-right: 0;
    justify-content: space-between !important;
  }

#skoor,
#mitmesKalaMitmest {
  margin: 0;
}

#gameResetBtn {
  margin: 0.25rem 0;
}

.progress {
  margin-left: 0;
  margin-right: 0;
}

#vaheInfo,
#oigeVastus{
  position: absolute;
  top: 4.5rem;
  z-index: 10000;
}

#oigeVastus{
  font-size: 1.2rem;
}

  #kalaPiltImg {
    /*position: relative;
    left: 0 !important;*/
    max-width: 60%;
    height: auto;
  }

#habitatMap {
  position: relative;/* for rects to be positioned absolutely to this div */
  max-width: 40% !important;
  height: auto;
}

  /* Checkbox button backgrounds */

input[type=checkbox] {
  display: none;
}

#meriBtn + label {
    background: url("../assets/Disainifailid/meri.PNG") no-repeat center;
  user-select: none;
}
#meriBtn:checked + label {
  /*background: url("../assets/Disainifailid/meri_selected.PNG") no-repeat center;*/
  user-select: none;
}

#jogiBtn + label {
    background: url("../assets/Disainifailid/jõgi.PNG") no-repeat center;
  user-select: none;
}
#jogiBtn:checked + label {
  /*background: url("../assets/Disainifailid/jõgi_selected.PNG") no-repeat center;*/
  user-select: none;
}

#jarvBtn + label {
    background: url("../assets/Disainifailid/järv.PNG") no-repeat center;
  user-select: none;
}
#jarvBtn:checked + label {
  /*background: url("../assets/Disainifailid/järv_selected.PNG") no-repeat center;*/
  user-select: none;
}

#kaladBtn + label {
  background: url("../assets/Disainifailid/söök_kalu.PNG") no-repeat center;
  user-select: none;
}
#kaladBtn:checked + label {
  /*background: url("../assets/Disainifailid/söök_kalu_checked.PNG") no-repeat center;*/
  user-select: none;
}

#selgrootudBtn + label {
  background: url("../assets/Disainifailid/söök_selgrootuid.PNG") no-repeat center;
  user-select: none;
}

#selgrootudBtn:checked + label {
  /*background: url("../assets/Disainifailid/söök_selgrootuid_checked.PNG") no-repeat center;*/
  user-select: none;
}

#taimedBtn + label {
  background: url("../assets/Disainifailid/söök_taimi.PNG") no-repeat center;
  user-select: none;

}
#taimedBtn:checked + label {
  /*background: url("../assets/Disainifailid/söök_taimi_checked.PNG") no-repeat center;*/
  user-select: none;
}



.elupaikBtnCheck + label,
.sookBtnCheck + label {
  display:inline-block;
  padding: 0 0 0 0;
  /*height: 250px;
  width: 100%;*/
  background-size: contain !important;
}

/*not needed with habitatSVG*/
.quizImageLabelHabitat {
  color: yellowgreen;
  line-height: 10rem;
  max-width: 32%;
  /*max-width: 20rem;*/
  /*background-size: contain;*/
  /*object-fit: cover;*/
}

.quizImageLabelFood {
  color: #49CDD7;
  line-height: 10rem;
  margin: -1.25rem;
  /*max-width: 100%;*/
  /*max-width: 20rem;*/
  /*background-size: contain;*/
  /*object-fit: cover;*/
}

/*.floatingLabel {
  position: absolute;
  top: 50%;
  left: 50%
}*/

/*.elupaikBtnCheck:checked + label,
.sookBtnCheck:checked + label {
    border: gray solid 0.2em;
    border-radius: 1em;
}*/

.elupaikBtnCheck:hover + label,
.sookBtnCheck:hover + label {
    opacity: 0.8;
    cursor: pointer;
  }

#apid img {
  display: inline-block;
  width: 20%;
}

.foodLabel,
.sizeLabel{
  font-size: 1.2rem;
  font-weight: bold;
  display: block;
}

rect#jõgi{
  /*background: aliceblue;*/
  /*opacity: 50%;*/
  width: 35%;
  height: 60%;
  /* display: block; */
  position: absolute;
  top: 30%;
  left: 0%;
  z-index: 1000;
}

rect#meri{
  /*background: red;*/
  /*opacity: 50%;*/
  width: 50%;
  height: 40%;
  /* display: block; */
  position: absolute;
  top: 5%;
  left: 45%;
  z-index: 1000;
}

rect#järv{
  /*background: yellow;*/
  /*opacity: 50%;*/
  width: 40%;
  height: 40%;
  /* display: block; */
  position: absolute;
  top: 55%;
  left: 40%;
  z-index: 1000;
}



rect:hover{
  cursor: pointer;
}

  .submitBtn {
    font-size: 1.5rem;
    width: 3rem;
    height: 3rem;
    color: darkblue;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    user-select: none;
    z-index: 1000;
  }

/*.mitmeneValik{
  width: 18rem;
  !*height: 3rem;*!
  position: absolute;
  top: 4rem;
  right: 0.5rem;
  z-index: 1000;
}

.mitmeneValik input[type=checkbox] {
  display: inherit;
}*/


/*#howBig .quizImageBtn input {
  background-size: contain !important;
  width: 25%;
}*/

/*#howBig > div.row.justify-content-around.flex-nowrap input,
#whatEatsCheckboxes > div input {
  width: 100%;
}*/

#howBig > div.row.justify-content-around.flex-nowrap input,
#taimedBtn {
  width: 70%;
}

.btn-primary-modified:hover {
  color: #FFF;
  background: rgba(217, 83, 78, 0.75);
  /*border: 2px solid rgba(217, 83, 78, 0.75);*/
}

#footer img,
.logo {
  height: 4rem;
  /*text-align: center;*/
}

.question,
.counterAndScore {
  text-transform: uppercase;
  text-align: center;
  /*font-weight: 400;*/
  font-size: large;
  font-family: "Showcard Gothic", sans-serif;
}

#highScoresTableFull,
#logodInfos{
  margin-bottom: 5rem;
}

@media (min-width: 0px) and (max-width: 400px) {
  body {
    padding-bottom: inherit !important;
  }
  .quizImageLabelHabitat {
    line-height: 4rem !important;
    margin: -0.5rem;
  }
  .quizImageLabelFood {
    line-height: 6rem !important;
    margin: -0.75rem;
  }
  #howBig > div.row.justify-content-around.flex-nowrap input,
  #taimedBtn {
    width: 100% !important;
    /*padding: 0.5rem;*/
  }
  .whatEatsCheckboxes {
    /*display: block !important;*/
    flex-direction: column !important;
    flex-wrap: wrap !important;
  }
  #filterButton {
    display: inherit;
  }
  .filterclass {
    /*display: none;*/
    position: -webkit-sticky;
    position: sticky;
    display: inherit;
    /*position: fixed;*/
    bottom: 5rem;
    /*background: rgba(126, 219, 246, 0.9);*/
    background-image: linear-gradient(to right, rgba(126, 219, 246, 1), rgba(126, 219, 246, 0.9));
    /*color: rgb(0, 33,87);*/
    padding: 10px;
    /*margin-top: -75em;*/
    z-index: 1;
  }
  .navbar{
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 10000;
  }
  #footer{
    position: fixed;
    bottom: 5rem;
    width: 100%;
    z-index: 1;
  }
  #liiginimekiri{
    padding-bottom: 5rem !important;
  }
  .kalaNimi {
    top: 0;
  }
  #kysimused,
  #highScores,
  #info,
  #intro{
    margin-bottom: 5rem !important;
  }
  /*#footer {
    display: none;
  }*/

  #kalaPiltImg,
  #habitatMap{
    max-width: 100% !important;
    height: auto;
  }
  .foodLabel,
  .sizeLabel{
    font-size: 0.8rem !important;
    font-weight: bold;
    display: block;
  }
}
@media (min-width: 400px) and (max-width: 576px) and (orientation: portrait){
  .foodLabel,
  .sizeLabel{
    font-size: 0.8rem !important;
    font-weight: bold;
    display: block;
    margin-top: -1rem;
  }
  .quizImageLabelFood,
  .quizImageLabelHabitat {
    line-height: 6rem;
    margin-bottom: 0.25rem;
  }
}
@media (min-width: 400px) and (max-width: 576px) {
  body{
    margin-top: 0;
  }
  .quizImageLabelFood,
  .quizImageLabelHabitat {
    line-height: 6rem;
    margin-bottom: 0.5rem;
  }
  #howBig > div.row.justify-content-around.flex-nowrap input,
  #taimedBtn {
    width: 100% !important;
    /*padding: 0.5rem;*/
  }
  #filterButton {
    display: inherit;
  }
  .filterclass {
    /*display: none;*/
    position: -webkit-sticky;
    position: sticky;
    display: inherit;
    /*position: fixed;*/
    bottom: 5rem;
    /*background: rgba(126, 219, 246, 0.9);*/
    background-image: linear-gradient(to right, rgba(126, 219, 246, 1), rgba(126, 219, 246, 0.9));
    /*color: rgb(0, 33,87);*/
    padding: 10px;
    /*margin-top: -75em;*/
    z-index: 1;
  }
  .navbar{
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 10000;
  }
  #footer{
    position: fixed;
    bottom: 5rem;
    width: 100%;
    z-index: 1;
  }
  #liiginimekiri{
    padding-bottom: 5rem !important;
  }
  .kalaNimi {
    top: 0;
  }
  #kysimused,
  #highScores,
  #info,
  #intro{
    margin-bottom: 5rem !important;
  }
  #kalaPiltImg,
  #habitatMap {
    max-width: 70%;
    height: auto;
  }
}

@media (min-width: 576px) and (max-width: 768px) {
  body{
    margin-top: 5rem;
  }
  .navbar{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
  }
  .filterclass {
    position: -webkit-sticky;
    position: sticky;
    display: inherit !important;
    bottom: 0;
  }
  /*#liiginimekiri{
    padding-bottom: 12rem !important;
  }*/
  .quizImageLabelFood,
  .quizImageLabelHabitat {
    line-height: 8rem;
    margin: -1rem;
  }
  #kalaPiltImg,
  #habitatMap {
    max-width: 50% !important;
    height: auto;
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  body{
    margin-top: 5rem;
  }
  .navbar{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
  }
}

@media (min-width: 992px) {
  body{
    margin-top: 5rem;
  }
  .navbar{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
  }
}

@media (min-height: 0px) and (max-height: 550px) {
  #kalaPiltImg {
    max-width: 60% !important;
    height: auto;
  }
  #habitatMap{
    max-width: 70% !important;
    height: auto;
  }
}

/*mainly for macbookpro with reso 1200x800*/
@media (min-height: 550px) and (max-height: 850px) and (orientation: landscape){
  #kalaPiltImg {
    max-width: 30% !important;
    height: auto;
  }
  #habitatMap{
    max-width: 30% !important;
    height: auto;
  }
  #howBig > div.row.justify-content-around.flex-nowrap input {
    width: 60%;
    /*padding: 0.5rem;*/
    margin: -1rem;
  }
  #taimedBtn {
    width: 40%;
    padding: 0.5rem;
  }
}

@media (min-height: 850px) and (max-height: 2000px) and (orientation: landscape) {
  #kalaPiltImg {
    max-width: 40% !important;
    height: auto;
  }
  #habitatMap{
    max-width: 30% !important;
    height: auto;
  }

}
@media (min-height: 768px) and (max-height: 992px) and (orientation: portrait) {
  #kalaPiltImg {
    max-width: 80% !important;
    height: auto;
  }
  #habitatMap{
    max-width: 80% !important;
    height: auto;
  }
}
@media (min-height: 992px) and (max-height: 2000px) and (orientation: portrait) {
  #kalaPiltImg {
    max-width: 90% !important;
    height: auto;
  }
  #habitatMap{
    max-width: 90% !important;
    height: auto;
  }
}

@media (height: 720px) {

}

/*preload images*/

/*#meriBtn { background: url("./assets/Disainifailid/meri_selected.PNG") no-repeat -9999px -9999px; }*/
/*#body::after{
  !*background: url("./assets/Disainifailid/meri_selected.PNG") no-repeat -9999px -9999px;*!
  position:absolute; width:0; height:0; overflow:hidden; z-index:-1;
content:url('./assets/Disainifailid/meri_selected.PNG');
}*/
