html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
  animation: fadeInAnimation ease 1s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}  

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

body {
  background-color: #fafafa;
}

#dayBadge {
  font-size: 85%;
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translate(-50%, 0%);
  margin: 0 auto;
  width: max-content;
  border-radius: 5px;
  background-color: #114063;
  z-index: 1000;
  color: #F7F7F7;
  /* padding-top: 2px; */
  padding-left: 8px;
  padding-right: 8px;
  padding-top: 4px;
  padding-bottom: 3px;
  border: 1px solid #f6f4eb;
  /* border: 3px solid #448CE4; */
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;

  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: 2px 2px 3px #29558b;
  -moz-box-shadow: 2px 2px 3px #29558b;
  box-shadow: 2px 2px 3px #29558b;
}

.content-osnivanje {
  padding-bottom: 0px !important;
}

.content-anonimnost {
  padding-bottom: 0px !important;
}

#osnivanje-aa {
  padding-top: 0px !important;
}

#anonimnost {
  padding-top: 1px !important;
}

@media only screen and (max-width: 500px) {
  .last-link {
    padding-bottom: 50px !important;
  }
}

@media only screen and (max-width: 769px) {

  /* ŽIVI SASTANCI */
  .map-div {
    height: 500px;
  }
  .team2{
    padding-top:60px;
    padding-bottom:60px;
  }
  /* END ŽIVI SASTANCI */
  .footer-sastanci {
    margin-top: 30px !important;
  }

  .social-row {
    margin-bottom: 40px !important;
  }
}

@media only screen and (max-width: 992px) {
  #dayBadge {
    /* right:10%; */
    top: 50px;
  }

  .copyright {
    font-size: smaller !important;
  }

  .footer4 {
    padding-bottom: 8px !important;
  }
}

/* SCROLLBAR */
/* total width */
body::-webkit-scrollbar {
  background-color: #FAFAFA;
  width: 12px;
}

/* background of the scrollbar except button or resizer */
body::-webkit-scrollbar-track {
  background-color: #FAFAFA;
}

/* scrollbar itself */
body::-webkit-scrollbar-thumb {
  background-color: #d9dcdd;
  border-radius: 10px;
  border: 2px solid #FAFAFA;
}

/* set button(top and bottom of the scrollbar) */
body::-webkit-scrollbar-button {
  display: none;
}

/* END SCROLLBAR */

.copyright {
  font-size: smaller !important;
  color: #b8c5c9 !important;
}

#footer {
  padding-bottom: 20px;
}

.footer-about {
  font-size: 110%;
}

img {
  border-radius: 10px !important;
}

#capture {
  padding-left: 0;
  padding-right: 0;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.navbar-caption-wrap {
  display: block !important;
}

.navbar-caption {
  white-space: nowrap;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
}

/* PLYR */
.plyr {
  border-radius: 10px;
  --plyr-video-background: rgb(255, 255, 255);
}

.plyr--video.plyr--stopped .plyr__controls {
  display: none;
}

.plyr--video.plyr--paused .plyr__controls {
  display: none;
}

/* END PLYR */

.swiper-slide {
  user-select: none;
}

.item-wrapper {
  border-radius: 10px !important;
}

.soc-item {
  background-color: #f6f4eb;
}

.card-header {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.card {
  margin-bottom: 0px !important;
}

.tab-col {
  padding-left: 24px !important;
  padding-right: 24px !important;
}

.card-text a {
  font-size: 150%;
}

.user_image {
  position: relative;
  border-radius: 10px !important;
  margin-left: 30px !important;
  margin-right: 30px !important;
  width: 100% !important;
}

.user_image .item-wrapper {
  width: 100% !important;
  background-size: contain !important;
  background-position: center !important;
}

.user_image .item-wrapper img {
  height: auto;
}

.btn-grupe {
  border-radius: 20px;
}

.embla__button--next {
  top: 70% !important;
  margin-right: 10px !important;
}

.embla__button--prev {
  top: 70% !important;
  margin-left: 10px !important;
}

.grupe-overlay-text {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  font-family: "Roboto Condensed", sans-serif;
  color: #fafafa;
  font-size: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.grupe-naslov {
  padding-bottom: 40px;
}

/* MOBILE STYLING */
@media only screen and (max-width: 700px) {
  #sto-je-aa {
    padding-top: 10px !important;
    padding-bottom: 60px !important;
  }

  #osnivanje-naslov {
    padding-top: 60px !important;
  }

  #clanovi-o-sebi {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }

  #aa-djelovanje {
    padding-top: 0px !important;
    padding-bottom: 60px !important;
  }

  #anonimnost-naslov {
    padding-top: 60px !important;
  }

  #anonimnost-text {
    padding-bottom: 60px !important;
  }

  #pitanja-i-odgovori {
    padding-top: 60px !important;
  }

  #aa-literatura {
    padding-top: 10px !important;
    padding-bottom: 60px !important;
  }

  #Dnevna-Razmatranja {
    padding-top: 60px !important;
  }

  #dnevna-razmatranja-text {
    padding-bottom: 30px !important;
  }

  #citaonica {
    padding-top: 60px !important;
  }

  #o-nasoj-grupi {
    padding-top: 10px !important;
    padding-bottom: 50px !important;
  }

  #postoji-rjesenje {
    padding-top: 20px !important;
    padding-bottom: 80px !important;
  }

  #sastanci {
    padding-top: 90px !important;
    padding-bottom: 80px !important;
  }

  #susjedne-grupe {
    padding-top: 60px;
  }

  #swiper-grupe {
    padding-top: 60px;
    padding-bottom: 20px;
  }

  .container-dn {
    padding: 0px !important;
  }

  .rc-container {
    margin-left: 10px;
    margin-right: 10px;
  }

  /* Enable native text selection for literatura content */
  #events-log, #current-text, #rc-text {
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
  }

  /* Enable text selection for all paragraphs in literatura content */
  #events-log p, #current-text p, #rc-text p {
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
  }

  #sastanci{
    padding-bottom: 40px !important;
  }
}

/* END MOBILE STYLING */

/* NAVIGATION */
.btn-nav {
  color: #a09d9d !important;
  text-decoration: none !important;
  background-color: #fafafa !important;
  width: fit-content;
  height: 40px;
  font-family: 'RobotoCondensed-VariableFont_wght';
  font-weight: 300;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-size-adjust: 100%;
  border-radius: 100px;
  margin: 5px;
  cursor: pointer;
}

.btn-nav:hover {
  font-weight: 400;
}

.btn-nav:active {
  font-weight: 400;
}

.nav-next {
  padding-right: 10px;
  padding-left: 16px;
  background: linear-gradient(to left, #fafafa 50%, #093959 50%) right;
  background-size: 202%;
}

.nav-prev {
  padding-left: 10px;
  padding-right: 16px;
  background: linear-gradient(to right, #fafafa 50%, #093959 50%) left;
  background-size: 200%;
}

@keyframes buttonAnimationNext {
  0% {
    background-position: right;
    /* color:#a09d9d !important; */
    /* font-weight: 300 !important; */
  }

  100% {
    background-position: left;
    /* color:#ffffff !important; */
    /* font-weight: 400 !important; */
  }
}

.nav-next-hover {
  color: #ffffff !important;
  font-weight: 400 !important;
  background: linear-gradient(to left, #fafafa 45%, #093959 50%) right;
  background-size: 200%;
  animation: buttonAnimationNext ease 100ms;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes buttonAnimationPrev {
  0% {
    background-position: left;
    /* color:#a09d9d;
    font-weight: 300; */
  }

  100% {
    background-position: right;
    /* color:#ffffff;
    font-weight: 400; */
  }
}

.nav-prev-hover {
  color: #ffffff !important;
  font-weight: 400 !important;
  background: linear-gradient(to right, #fafafa 45%, #093959 50%) left;
  background-size: 200%;
  animation: buttonAnimationPrev ease 100ms;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

/* END NAVIGATION */


.nav-page-title {
  color: #a09d9d !important;
  font-family: 'RobotoCondensed-VariableFont_wght';
  padding-top: 18px;
  font-weight: 400;
  font-size: 18.8425px;
}

#nav-section {
  padding-bottom: 0px !important;
}

.btn-header {
  margin-top: 40px;
  font-family: 'RobotoCondensed-VariableFont_wght';
  font-size: 18px;
}

/* TEXT ROTATOR */
.text-rotator {
  font-style: italic;
  animation: opacityAnimation 3s;
}

@keyframes opacityAnimation {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

/* END TEXT ROTATOR */

/* VERSION FOOTER */
.copyright {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.update-span {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.current-version-alone {
  background-color: rgb(44, 104, 74);
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 3px;
  padding-bottom: 3px;
  border-radius: 5px;
  color: #ffffff;
  letter-spacing: 1px;
  margin-left: 10px;
}

.current-version {
  background-color: #ed562c;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 3px;
  padding-bottom: 3px;
  border-radius: 5px;
  color: #ffffff;
  letter-spacing: 1px;
  margin-left: 10px;
}

.latest-version {
  background-color: rgb(44, 104, 74);
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 3px;
  padding-bottom: 3px;
  border-radius: 5px;
  color: #ffffff;
  letter-spacing: 1px;
}

.emoji {
  vertical-align: bottom;
  font-size: large;
}

/* END VERSION FOOTER */

/* Fix Chrome Android gesture navigation white space */
@media screen and (max-width: 768px) {
  html {
    height: 100vh;
    height: -webkit-fill-available;
  }

  body {
    min-height: 100vh;
    min-height: -webkit-fill-available;
  }

}

/* Alternative fix using safe-area-inset */
@supports (padding: max(0px)) {
  body {
    padding-bottom: max(0px, env(safe-area-inset-bottom));
  }
}

/* google maps */
/* Live meetings expandable maps */
.live-meetings-expandable .map-row {
    display: flex;
    align-items: stretch;
}

.live-meetings-expandable .map-div {
    display: flex;
    flex-direction: column;
}

.live-meetings-expandable .google-map {
    flex: 1;
    min-height: 300px; /* Fallback minimum height */
}

.live-meetings-expandable .google-map iframe {
    height: 100%;
    width: 100%;
    border: 0;
}

@media only screen and (min-width: 769px) {
    .site-share-button{
      margin-left: 15px !important;
  }
}

@media only screen and (max-width: 768px) {
    .site-share-button{
      margin-left: 10px !important;
  }
}
