
html, body { 
  margin:0; height: 100%;
  font-family: sans-serif;  font-size: 16px;
}
a{text-decoration: none;}
a:hover{text-decoration: underline;}

#contentAll {
  position: relative; width: 100%;
  margin: -1px 0 0 0; padding: 0; 
  background-color: #d1ebFb;
  min-height: 60vh;
}
#page-content {
  width: 100%; min-height: 300px;
}
.mainTitle {
  position: relative;
  z-index: 1;
  margin: 0; padding: 60px 0 20px 0;
  font-size: 45px; font-family: 'Bubblegum Sans', cursive; text-align: center;
  color: #135d84; 
}

.mainTitle span{color: #222; font-size: 35px;}

.mainTitleTest {
  padding: 30px 0 40px 0; }

.mainSubTitle {
  z-index: 1;
  position: relative;
  display: block; margin: 0 auto; padding: 0; padding-bottom: 40px;
  text-align: center;
}

.mainSubTitle p { margin-bottom: 5px; font-size: 20px; font-weight: bold; color: #6958ca; }
.mainSubTitle p.wordList { margin-top: 10px; margin-bottom: 10px;}
.mainSubTitle p.tezinaDescription { color: black;}
.mainSubTitle p.autor{color: rgb(16, 0, 110);}
.mainSubTitle p.autor span.warning{color: orangered;}
.mainSubTitle p a{color: green;}
.mainSubTitle p a:hover{text-decoration: none;}

#sun {
  position: absolute;
  background-image: url(../images/css-images/sun.png);
  background-size: 100% 100%;
  width: 200px; height: 200px;
  float: right;
  right: 150px; top: 50px; 
}
.cloudMain {
  position: absolute;
  background-image: url(../images/css-images/cloud1.png);
  background-size: 100% 100%;
  float: left; z-index: 0; }
.cloud1 { width: 160px; height: 90px; right: 20%; top: 250px; }
.cloud2 { width: 192px; height: 108px; left: 10%; top: 160px; }
.cloud3 { width: 128px; height: 72px; right: 30%; top: 500px; }
.cloud4 { width: 96px; height: 54px; left: 35%; top: 270px; }

.backLink {
  position: absolute;
  display: block;
  background-image: url(../images/css-images/back.png);
  background-size: 150px 59px;
  background-repeat: no-repeat;
  width: 150px;
  height: 59px;
  top: 50px;
  left: 20px; 
  z-index: 100;
}

.backLink:hover {
  text-decoration: none; 
  background-image: url(../images/css-images/back2.png);
}

/* MAIN CONTET - GENERAL - KRAJ*/





/* KATEGORIJE NA NASLOVNOJ */
.category-title{
    display: block;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    color: #135d84;
}

/* GRID MAIN PAGE */
.grid-main-page{
  display: grid;
  width: 80%;
  margin: 30px 10% 0 10%;
  gap: 40px;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  background-color: transparent;
}

.grid-list-levels{
    width: 60%;
    gap: 40px;
    margin: 30px auto 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background-color: transparent;
}

/* GREEN */
a.grid-item-green{ display: block; max-width: 240px; margin: 0 auto; 
  border-radius: 5px; cursor: pointer; position: relative; width: fit-content;
  border: 6px solid #8ec71c; background-color: #8ec71c;
}
a.grid-item-green:hover{ text-decoration: none; box-shadow: 1px 1px 20px #8ec71c;}
.grid-item-green-img-holder{ background-color: #8ec71c;}
.grid-item-green-img-holder img{ max-width:100%; border-radius: 4px;}
.grid-item-green-title{ display: block; padding: 11px 0 8px 0; font-size: 1.2em;
  color: white; font-weight: bold; text-align: center;
  background-color: #8ec71c;}

/* BLUE */
a.grid-item-blue{ display: block; max-width: 240px; margin: 0 auto; 
  border-radius: 5px; cursor: pointer; position: relative; width: fit-content;
  border: 6px solid #90c4ff; background-color: #90c4ff;
}
a.grid-item-blue:hover{ text-decoration: none; box-shadow: 1px 1px 20px #90c4ff;}
.grid-item-blue-img-holder{ background-color: #90c4ff;}
.grid-item-blue-img-holder img{ max-width:100%; border-radius: 4px;}
.grid-item-blue-title{ display: block; padding: 11px 0 8px 0; font-size: 1.2em;
  color: white; font-weight: bold; text-align: center;
  background-color: #90c4ff;}
  
/* orange */
a.grid-item-orange{ display: block; max-width: 240px; margin: 0 auto; 
  border-radius: 5px; cursor: pointer; position: relative; width: fit-content;
  border: 6px solid #ffc567; background-color: #ffc567;
}
a.grid-item-orange:hover{ text-decoration: none; box-shadow: 1px 1px 20px #ffc567;}
.grid-item-orange-img-holder{ background-color: #ffc567;}
.grid-item-orange-img-holder img{ max-width:100%; border-radius: 4px;}
.grid-item-orange-title{ display: block; padding: 11px 0 8px 0; font-size: 1.2em;
  color: white; font-weight: bold; text-align: center;
  background-color: #ffc567;}


.srednje{ border-color: #81a3ff !important; background-color: #81a3ff !important;}
.srednje:hover{ box-shadow: 1px 1px 20px #81a3ff !important; }
.tesko { border-color: #da7536 !important; background-color: #da7536 !important;}
.tesko:hover { box-shadow: 1px 1px 20px #da7536 !important; }






/* --------- TEST - START --------- */
.spellingNoImg {
    width: fit-content;
    background-color: #8ec71c;
    }
.testReportDiv2 {
  display: block;
  margin-top: -25px;
  cursor: default;
  font-weight: bold;
  margin-bottom: 30px; }

.changeTestModeLeft {
  float: left;
  padding: 10px 20px;
  margin-right: 20px; }

.changeTestModeRight {
  width: auto;
  padding: 7px 20px;
  border-radius: 5px;
  float: right;
  text-align: center;
  font-weight: normal;
  background-color: yellow;
  border: 2px solid #e6e600; }

.changeTestModeRight:hover {
  cursor: pointer;
  background-color: #e6e600; }

/* staro start*/
.testReportDiv {
  display: block;
  padding: 5px 20px;
  margin: 0 25px;
  width: 300px;
  border: 1px solid black;
  border-radius: 4px; }

.testModeLearn {
  background-color: yellowgreen; }

.testModeLearn:hover {
  background-color: yellow; }

.testModeRated {
  background-color: #1c8dc7; }

.testModeRated:hover {
  background-color: orangered; }

.questionOrderReport {
  background-color: orange; }

.questionOrderReport:hover {
  background-color: yellow; }

/* staro kraj */
#divNoImage {
  float: right !important; }

#currentUserSettings {
  display: block;
  width: 100%;
  height: 50px;
  margin: 0;
  margin-bottom: 30px;
  line-height: 50px;
  text-align: center;
  font-size: 16px; }

#exampleSetup {
  background-color: #d1ebFb; }

#exampleSetup .exampleLeft {
  display: block;
  width: 50%;
  float: left;
  position: relative; }

#exampleSetup .exampleRight {
  user-select: none;
  display: block;
  width: 50%;
  float: right;
  position: relative; 
  z-index: 0;
}

#soundIcon {
  width: 65px;
  height: 65px;
  position: absolute;
  background-image: url(../images/css-images/soundIcon.png);
  background-size: contain;
  top: 147.5px;
  right: -30px;
  z-index: 1;
  cursor: pointer; }

  #showAnswerIcon {
    width: 40px;
    height: 40px;
    padding: 0px; margin: 0;
    position: absolute;
    background-image: url(../images/css-images/showAnswer.png);
    background-size: contain;
    top: 340px;
    right: -20px;
    z-index: 1;
    cursor: pointer; 
    background-size: contain;
    transition: transform 0.1s;
  }
#showAnswerIcon:hover {
  transform: scale(1.2);
}
#skipIcon {
  width: 64px;
  height: 64px;
  position: absolute;
  background-image: url(../images/css-images/skipIcon2.png);
  background-size: contain;
  top: 147.5px;
  left: 430px;
  z-index: 100;
  cursor: pointer; }

/* 2 * x + 5 * box + 4 * marg  x = 10 box = 100 marg = 10 = */
#lettersHolder {
  position: relative;
  display: block;
  width: 355px;
  height: 355px;
  left: 60px;
  top: 0pc;
  z-index: 100;
  background-color: #dcdcdc;
  border: 3px solid #24b5ff;
  background-color: #e6f7ff;
  border-radius: 10px; }


  #allWordsHolderHor{

    margin: -20px 0 20px 0;
    display: none;
    text-align: center;
  }


  #allWordsHolderHor .singleWordHolderHor{
    position: relative;
    z-index: 10;
    border: 1px solid grey;
    border-radius: 2px;
    padding: 0 20px;
    height: 38px;
    line-height: 38px;
    margin: 10px;
    background-color: whitesmoke;
    width: fit-content;
    display: inline-block;
  }

  #allWordsHolderHor .currnetWord{
    background-color: rgb(176, 224, 255);
    font-weight: bold;
    border: 1px solid black;
  }

#allWordsHolder{
  display: block;
  top: -10px;
  margin-left: 100px;
  position: absolute; 
}

#allWordsHolder .singleWordHolder{
  border: 1px solid grey;
  border-radius: 2px;
  padding: 0 40px;
  height: 38px;
  line-height: 38px;
  margin: 10px 0px;
  background-color: whitesmoke;
}

#allWordsHolder .currnetWord{
  position: relative;
  background-color: rgb(176, 224, 255);
  left: 40px;
  font-weight: bold;
  border: 1px solid black;
}

#questionImageHolder {
  position: absolute;
  display: block;
  width: 355px;
  height: 355px;
  top: 0px;
  z-index: 0;
  background-color: white;
  left: 100%;
  transform: translate(-415px, 0%);
  border: 3px solid #24b5ff;
  border-radius: 10px; }

.questionImage {
  width: 100%;
  height: 100%;
  border-radius: 10px; }

#imageCaptionHolder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px 40px;
  
  line-height: 40px;
  text-align: center;
  font-size: 1.6em;
  border: 3px solid #0e84bf;
  border-radius: 8px;
  background-color: white; 
  font-weight: bold;
  opacity: 0.90;
  letter-spacing: 5px;
}
#sourceLinkHolder {
  position: absolute;
  bottom: 0px;
  right: 5px;
  transform: translate(0%, 0%);
  color: #222;
  background-color: transparent;
  border-radius: 2px;;
  padding: 0;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-size: 0.9em;
  font-weight: normal;
}
#sourceLinkHolder a:hover{text-decoration: none;}

.letterDiv {
  display: block;
  position: absolute;
  width: 55px;
  height: 55px;
  padding: 0;
  background-color: #57c6ff;
  border: 2px solid #24b5ff;
  border-radius: 4px;
  color: white;
  line-height: 55px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer; 
}

#answerArea {
  position: relative;
  height: 55px;
  margin-top: 60px; }

.answerHolder {
  display: block;
  height: 55px;
  background-color: transparent;
  margin: 0 auto; 
}

.answerLetter {
  height: 55px;
  width: 55px;
  left: 0;
  top: 0;
  background-color: white;
  border: 2px dashed #24b5ff;
  border-radius: 4px;
  line-height: 55px;
  text-align: center;
  font-size: 20px;
  float: left;
  margin-left: 15px;
  color: #122cea;
  font-weight: bold; }

.answerLetter1 {
  left: 0;
  margin-left: 0; }

.answerLetter2 {
  left: 70px; }

.answerLetter3 {
  left: 140px; }

.answerLetter4 {
  left: 210px; }

.answerLetter5 {
  left: 280px; }

.answerLetter6 {
  left: 350px; }

.answerLetter7 {
  left: 420px; }

.answerLetter8 {
  left: 490px; }

.answerLetter9 {
  left: 560px; }

.answerLetter10 {
  left: 630px; }

.answerLetter11 {
  left: 700px; }

.answerLetterMarginPlus {
  margin-left: 50px; }

#circlesHolder {
  width: 100%;
  height: 20px;
  margin-top: 50px;
  text-align: center; }

.circle {
  height: 20px;
  width: 20px;
  border: 1px solid black;
  border-radius: 50%;
  display: inline-block;
  margin: 0 10px; }

.circleSuccess {
  background-color: greenyellow; }

.circleWrong {
  background-color: red; }

/* TEST - END */


.footer {
  position: relative;
  width: 100%;
  height: 303px;
  background-image: url(../images/css-images/footer_background.jpg);
  background-size: 100% 100%; }

#footerTextHolder{
  position: absolute;
  bottom: 20px;
  width: 90%;
  margin-left: 5%;
  text-align: center;
}
a.footerLanguageLink{display: inline-block; color: darkblue; font-size: 0.8em; margin: 0 10px;}
a.footerLanguageLink:hover{text-decoration: none;}

.footer .copyright{
  text-align: right;
  display: block;
  margin: 0 auto;
  font-size: 14px;
}

.footer .copyright a{text-decoration: none; color: black; }
.footer .copyright a:hover{text-decoration: none;}


/* FLUSH */
.flushMessage{
  display:block;
  margin: 0 auto;
  width:500px;
  height: 50px;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 70px;
  border-radius: 5px;
  animation: hideAnimation 0s ease-in 6s;
  animation-fill-mode: forwards;
  opacity: 0.9;
  line-height: 50px; text-align: center;
  z-index: 100;
}

.flushSuccess{
  background-color: #ecffe1;
  border: 2px solid #69ae44;
}

.flushNote{
  background-color: #fff4c9;
  border: 2px solid #f3c200;
}

.flushError{
  background-color: #ffb0ae;
  border: 2px solid #e75854;
}

@keyframes hideAnimation {
  to {
    visibility: hidden;
    width: 0;
    height: 0;
  }
}



