/* Google Fonts */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&subset=latin-ext');
/* Real Fonts */
/* General */
body {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #fff;
  background: #016a36;
}

ul, ol {
  list-style: none;
}

a {
  color: #fff;
}
a.active, a:hover {
  color: #fff;
}

/* Content */
h1 {
  font-size: 1rem;
  color: #fff;
}

.page {
  margin: 0 auto;
  max-width: 810px;
  overflow: hidden;
}

/* Messages */
.msg {
    position: fixed;
    width: 100%;
    background: rgba(152, 198, 50, 0.9);
    padding: 1rem 2rem;
    z-index: 1;
}
.msg:focus, .msg:hover {
    text-decoration: none;
}
.msg i {
    font-size: 1.3rem;
}

/* Admin bar */
#adminbar {
  background: #222;
  overflow: visible;
}
#adminbar div[class*="col"] {
  color: rgba(255, 255, 255, 0.8);
  line-height: 2.4;
  font-size: 0.8125rem;
}
#adminbar a {
  font-weight: bold;
}

#main {
  background: #0c8e50;
}

/* Intro */
#intro h5 {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* Header */
#header .d-sm-none {
    opacity: 0;
    visibility: hidden;
}
#header .col {
    background-repeat: no-repeat;
    background-size: cover;
}

#hero {
  font-family: 'Open Sans', sans-serif;
}
#hero p {
    max-width: 650px;
    margin: 0 auto;
}
#hero .hashtag {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
}
#hero .ovdje {
    text-decoration: underline;
}

/* Gallery */
#gallery .gallery-item {
    position: relative;
  width: 100%;
  /*max-width: 700px;*/
  margin: 0 auto;
  padding-bottom: 40px;
}
#gallery .gallery-item:last-child {
    padding-bottom: 0;
}
#gallery .gallery-item:nth-child(1)::before {
    content: '';
    position: absolute;
    display: inline-block;
    width: 810px;
    height: 319px;
    top: -40px;
    left: -1.5rem;
    background: url('../img/crcka_1.jpg') center top no-repeat;
}
#gallery .gallery-item:nth-of-type(2n)::before {
    content: '';
    position: absolute;
    display: inline-block;
    width: 810px;
    height: 284px;
    top: 0;
    left: -1.5rem;
    background: url('../img/crcka_2.jpg') center top no-repeat;
}
#gallery .gallery-item:nth-of-type(2n+1):not(:first-child)::before {
    content: '';
    position: absolute;
    display: inline-block;
    width: 810px;
    height: 396px;
    top: 0;
    left: -1.5rem;
    background: url('../img/crcka_3.jpg') center top no-repeat;
}
#gallery .gallery-item .glasaj.disabled {
  pointer-events: none;
  opacity: 0.4;
  -moz-user-select: none; /* Firefox */
   -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none;
}
#gallery .gallery-item .item-voted {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: none; /*flex*/
  justify-content: center;
  align-items: center;
  z-index: 1;
}
#gallery .gallery-item .item-voted::before {
    content: 'Hvala! Vaš glas je zabilježen.';
    text-align: center;
    display: inline-block;
    position: relative;
    padding: 1rem 2rem;
    background: rgba(152, 198, 50, 0.9);
    color: #fff;
    font-size: 1.4rem;
  }
#gallery .gallery-item .item-voted.before::before {
    content: 'Nije moguće ponovno glasati.';
}
#gallery {
  margin: 0 auto !important;
}
#gallery .slider {
  position: relative !important;
  max-width: 700px;
  margin: 0 auto;
}
#gallery .content>h4 {
  font-size: 22px;
}
#gallery .content {
  text-align: left;
  font-size: 13px;
}
#gallery .content .share-content {
    max-width: 550px;
    margin: 0 auto;
}
#gallery .votes {
  display: inline-block;
  position: absolute;
  top: 30px;
  right: 30px;
  width: 66px;
  height: 66px;
  line-height: 66px;
  text-align: center;
  background: #fff;
  color: #2a7136;
  font-size: 26px;
  font-weight: bold;
  border-radius: 50%;
  z-index: 1;
}
@media only screen and (max-width: 768px) {
  #gallery .votes {
    display: inline-block;
    position: absolute;
    top: 15px;
    right: 15px;
  }
}
#gallery .share {
  display: inline-block;
  position: absolute;
  bottom: 60px;
  right: 30px;
  z-index: 1;
}
@media only screen and (max-width: 768px) {
  #gallery .share {
    display: inline-block;
    position: absolute;
    top: 15px;
    bottom: auto;
    right: auto;
    left: 15px;
  }
}
#gallery .share a {
  position: relative;
  font-size: 16px;
  border: 2px solid #fff;
  display: inline-block;
  text-align: center;
  margin: 0 3px;
  padding: 0;
  width: 36px;
  height: 36px;
  color: #fff;
  line-height: 32px;
  border-radius: 18px;
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}
#gallery .share a:hover {
  -webkit-transform: translate(0, -0.3em);
  -moz-transform: translate(0, -0.3em);
  -o-transform: translate(0, -0.3em);
  -ms-transform: translate(0, -0.3em);
  transform: translate(0, -0.3em);
}
#gallery>li:not(:last-child)>.content {
  font-family: 'Open Sans', sans-serif;
}
#gallery .glasaj {
  display: inline-block !important;
  margin-top: 64px;
  min-width: 80px;
  font-weight: 600;
  background: #fff;
  color: #2a7136;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 1rem;
  border-radius: 4px;
  text-decoration: none;
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
  z-index: 101;
}
#gallery .glasaj:hover {
  background-color: #fff;
}
@media only screen and (max-width: 768px) {
    #gallery .glasaj {
        margin-top: 63px;
    }
}
#gallery .complete {
  display: none;
}
#gallery .complete.open {
  display: inline;
}
#gallery .more, #gallery .more:hover, #gallery .more:focus {
  text-transform: uppercase;
  /*margin-left: 8px;*/
  font-weight: bold;
  color: #fff;
}
#gallery .more span, #gallery .more:hover span, #gallery .more:focus span {
  font-weight: normal;
}
#gallery .content>.container-full {
  display: none;
}

/* Carousel */
.carousel-fade .carousel-inner {
    overflow: visible !important;
}
.carousel-fade .carousel-item {
  opacity: 0;
  transition-duration: .6s;
  transition-property: opacity;
}
.carousel-fade .carousel-item .title {
    position: absolute;
    bottom: -100px;
    left: -25px;
    display: inline-block;
    background: url('../img/drvce-listic.png') no-repeat;
    width: 100%;
    max-width: 100%;
    height: 200px;
}
.carousel-fade .carousel-item .title::before {
    content: '';
    position: absolute;
    top: 56px;
    right: -35px;
    display: inline-block;
    background: url('../img/drvce-listic-rub.png') no-repeat;
    width: 55px;
    height: 55px;
}
@media only screen and (max-width: 768px) {
    .carousel-fade .carousel-item .title {
        position: absolute;
        bottom: -100px;
        left: -15px;
        display: inline-block;
        background: url('../img/drvce-listic-mobile.png') left 44px no-repeat;
        width: 100%;
        max-width: 100%;
        height: 200px;
    }
    .carousel-fade .carousel-item .title::before {
        content: '';
        position: absolute;
        top: 58px;
        right: -35px;
        display: inline-block;
        background: url('../img/drvce-listic-mobile-rub.png') no-repeat;
        width: 55px;
        height: 55px;
    }
}
.carousel-fade .carousel-item .share-title {
    display: block;
    position: absolute;
    top: 57px;
    left: 100px;
    right: 0;
}
.carousel-fade .carousel-item .share-title .row {
    min-height: 50px;
}
.carousel-fade .carousel-item .share-title h4 {
    font-size: 1.3rem;
}
@media only screen and (max-width: 768px) {
    .carousel-fade .carousel-item .share-title {
        top: 60px;
        left: 50px;
    }
    .carousel-fade .carousel-item .share-title .row {
        min-height: 40px;
    }
    .carousel-fade .carousel-item .share-title h4 {
        font-size: 14px;
    }
}
.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-left,
.carousel-fade .carousel-item-prev.carousel-item-right {
  opacity: 1;
}
.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-right {
  opacity: 0;
}
.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active,
.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-prev {
  transform: translateX(0);
  transform: translate3d(0, 0, 0);
}
/* Arrows */
#gallery .gallery-item .carousel-control-prev,
#gallery .gallery-item .carousel-control-next {
    bottom: 45px;
}
#gallery .gallery-item .carousel-control-prev-arrow,
#gallery .gallery-item .carousel-control-next-arrow {
  display: inline-block;
  width: 21px;
  height: 36px;
  margin-top: 26px;
  background: url('../img/arrow.png') center no-repeat;
}
#gallery .gallery-item .carousel-control-prev-arrow {
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
}

/*@media only screen and (max-width: 480px) {*/
@media only screen and (max-width: 768px) {
  #gallery .glasaj-- {
    display: block;
    width: 100%;
  }
  #gallery .votes {
    width: 44px;
    height: 44px;
    line-height: 44px;
    font-size: 16px;
  }
}

/* Footer */
#footer {
  position: relative;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
}
#footer .container, #footer .container-full, #footer .container-fluid {
    background: #a2cc38;
}
#footer .container a {}
/* Fixed - Bottom */
html, body {
  height: 100%;
}
body {
  position: relative;
  /* Scrollspy */
  display: flex;
  flex-direction: column;
}
#wrapper-- {
  flex: 1 0 auto;
}


/* Modal */
#pravilaModal .modal-header {
    padding: 25px 35px;
}
#pravilaModal .modal-title {
    color: #222;
    font-weight: 600;
    text-transform: uppercase;
}
#pravilaModal .modal-body {
    color: #222;
    padding: 35px;
}
#pravilaModal .modal-content {
    border-radius: 0;
}
#pravilaModal .modal-body h5 {
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}
#pravilaModal .modal-body h5:not(:first-child) {
    margin-top: 1.8rem;
}
#pravilaModal .modal-body p {
    margin-bottom: 0.4rem;
}
#pravilaModal .modal-body p:last-child {
    margin-bottom: 0.5rem;
}
#pravilaModal .modal-body a {
    color: #222;
    font-style: italic;
}
#pravilaModal .modal-body ul {
    list-style-type: disc;
    list-style-position: inside;
    padding-left: 1.5rem;
}
@media (min-width: 576px) {
    #pravilaModal .modal-dialog {
        max-width: none;
        margin: 15px;
    }
}