/* Google Fonts */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&subset=latin-ext');
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600&display=swap&subset=latin-ext');
@import url('https://fonts.googleapis.com/css?family=Caveat+Brush&display=swap&subset=latin-ext');
/* Real Fonts */
/* General */
body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #2b2b2b;
  background: #ebebe8;
}

ul, ol {
  list-style: none;
}

a {
  color: #2b2b2b;
}
a.active, a:hover {
  color: #2b2b2b;
}

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

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

/* Messages */
.msg {
    position: fixed;
    width: 100%;
    /*background: rgba(152, 198, 50, 0.9);*/
    background: rgba(83, 84, 95, 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: #fff;
  overflow: visible;
}
@media only screen and (min-width : 768px) {
  #adminbar.page {
    padding: 6px 15px;
  }
}
#adminbar div[class*="col"] {
  color: rgba(0,0,0,0.8);
  line-height: 2.4;
  font-size: 0.8125rem;
}
#adminbar .user {
  font-weight: 600;
  color: rgba(0,0,0,0.8);
}
#adminbar a {
  color: #777;
  transition: .3s;
  margin: 0 2px;
  font-weight: 600;
}
#adminbar a:hover {
  color: #444;
  text-decoration: none;
}

/* Main */
#main {
  background: #f8f8f8;
}

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

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

#hero {
  position: relative;
  font-family: 'Montserrat', sans-serif;
  z-index: 10;
}
#hero p {
    max-width: 700px;
    margin: 0 auto;
}
#hero .hashtag {
    font-family: 'Caveat Brush', cursive;
    text-align: right;
    font-size: 35px;
}
#hero .ovdje {
    color: #2b2b2b;
    text-decoration: underline;
}
#hero a {
  display: inline-block !important;
  font-family: 'Arial', sans-serif;
  /*-*
  margin-top: 54px;
  margin-right: 30px;
  /*-*/
  min-width: 80px;
  font-weight: bold;
  font-size: 16px;
  background: #404a5e;
  color: #fff;
  text-align: center;
  padding: 8px 25px 7px 25px;
  border-radius: 24px;
  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;
  /*-*/
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 101;
}
#hero a:hover {
  background: #404a5e;
}

/* 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 .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: 2;
}
#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);*/
    background: rgba(83, 84, 95, 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;
}
@media only screen and (max-width: 768px) {
  #gallery .slider {
    padding: 45px 0 0;
  }
}
#gallery .content>h4 {
  font-size: 22px;
}
#gallery .content {
  text-align: left;
  font-size: 13px;
}
#gallery .content .share-content {
    max-width: 700px;
    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;
  font-family: 'Caveat Brush', cursive;
  color: #2b2b2b;
  font-size: 33px;
  font-weight: bold;
  border-radius: 50%;
  z-index: 10;
}
@media only screen and (max-width: 768px) {
  #gallery .votes {
    background: #2b2b2b;
    color: #fff;
    display: inline-block;
    position: absolute;
    top: -5px;
    right: 0;
  }
}
#gallery .share {
  display: inline-block;
  position: absolute;
  bottom: 30px;
  right: 30px;
  z-index: 1;
}
@media only screen and (max-width: 768px) {
  #gallery .share {
    display: inline-block;
    position: absolute;
    top: 0;
    bottom: auto;
    right: auto;
    left: 0;
  }
}
#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;
}
@media only screen and (max-width: 768px) {
  #gallery .share a {
    border-color: #2b2b2b;
    color: #2b2b2b;
  }
}
#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: 'Montserrat', sans-serif;
}
#gallery .glasaj {
  display: inline-block !important;
  font-family: 'Arial', sans-serif;
  /*-*
  margin-top: 54px;
  margin-right: 30px;
  /*-*/
  min-width: 80px;
  font-weight: bold;
  font-size: 16px;
  background: #404a5e;
  background: -webkit-linear-gradient(45deg,#404a5e,#626a7a);
  background: linear-gradient(45deg,#404a5e,#626a7a);
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  padding: 6px 15px 5px 15px;
  border-radius: 14px;
  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;
  /*-*/
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 101;
}
#gallery .glasaj:hover {
  background: #404a5e;
}
@media only screen and (max-width: 768px) {
    #gallery .glasaj {
        margin-top: 6px;
        margin-right: 10px;
        font-size: 14px;
        padding: 3px 10px 2px 10px;
    }
}
#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: 600;
  color: #2b2b2b;
  font-size: 15px;
}
#gallery .more span, #gallery .more:hover span, #gallery .more:focus span {
  font-weight: normal;
  font-size: 14px;
}
#gallery .content>.container-full {
  display: none;
}

/* Carousel */
.carousel-fade .carousel-inner {
  position: relative;
  max-height: 400px;
  overflow: hidden !important;
}
@media only screen and (max-width: 768px) {
  .carousel-fade .carousel-inner {
    overflow: visible !important;
  }
}
.carousel-fade .carousel-item {
  max-height: 400px;
  opacity: 0;
  transition-duration: .6s;
  transition-property: opacity;
}
.carousel-fade .carousel-item .title-- {
  position: absolute;
  bottom: 0;
  left: 0;
  display: inline-block;
  background: #222;
  width: 100%;
  max-width: 100%;
  height: 105px;
}
.carousel-fade .carousel-item video {
  width: 700px;
  height: 400px;
  z-index: 1;
}
.carousel-fade .carousel-item .start-video,
.carousel-fade .carousel-item .pp-video {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.carousel-fade .carousel-item .pp-video span {
  font-size: 40px;
}
.carousel-fade .carousel-item .start-video-- {
  display: none !important;
}
.carousel-fade .carousel-item .start-video,
.carousel-fade .carousel-item .pause-video,
.carousel-fade .carousel-item .stop-video {
  display: inline-block;
  margin: 0 10px;
  color: #fff;
  cursor: pointer;
  z-index: 1;
  opacity: .8;
  transition: .3s;
}
.carousel-fade .carousel-item .start-video:hover,
.carousel-fade .carousel-item .pause-video:hover,
.carousel-fade .carousel-item .stop-video:hover {
  opacity: 1;
}
.carousel-fade .carousel-item .start-video i {
  font-size: 60px;
  color: #fff;
}
.carousel-fade .carousel-item .pause-video i,
.carousel-fade .carousel-item .stop-video i {
  font-size: 40px;
  color: #fff;
}
.carousel-fade .carousel-item .pp-video {
  display: none;
  opacity: 0;
  visibility: hidden;
  z-index: 9090;
}
.carousel-fade .carousel-item:hover .pp-video {
  opacity: 1;
  visibility: visible;
}
@media only screen and (max-width: 768px) {
    .carousel-fade .carousel-item .title-- {
        position: relative;
        display: inline-block;
        background: #222;
        width: 100%;
        max-width: 100%;
        height: 40px;
    }
    .carousel-fade .carousel-item video {
      width: 100%    !important;
      height: auto   !important;
    }
    .carousel-fade .carousel-item .start-video i {
      font-size: 30px;
    }
    .carousel-fade .carousel-item .pause-video i,
    .carousel-fade .carousel-item .stop-video i,
    .carousel-fade .carousel-item .pp-video span {
        font-size: 20px;
    }
}
.carousel-fade .carousel-item .videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
}
.carousel-fade .carousel-item .videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.carousel-fade .carousel-item .share-title {
    display: block;
    position: absolute;
    top: 52px;
    left: 38px;
    right: 0;
}
.carousel-fade .carousel-item .share-title .row {
    min-height: 50px;
}
.carousel-fade .carousel-item .share-title h4 {
    /*font-family: 'Caveat Brush', cursive;*/
    font-size: 33px;
    color: #fff;
}
.gallery-item .title {
  margin: 0 auto;
  max-width: 700px;
}
.gallery-item .title .share-title h4 {
  margin-top: 5px;
  font-weight: 600;
  /*font-family: 'Caveat Brush', cursive;*/
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2); 
  font-size: 23px;
}
.gallery-item .title .share-title h4 span {
  font-weight: normal;
  font-size: 23px;
}
@media only screen and (max-width: 768px) {
    .carousel-fade .carousel-item .share-title {
        top: 0px;
        left: 10px;
    }
    .carousel-fade .carousel-item .share-title .row {
        min-height: 40px;
    }
    .carousel-fade .carousel-item .share-title h4 {
        font-size: 14px;
    }
    .gallery-item .title .share-title h4 {
      font-size: 18px;
    }
    .gallery-item .title .share-title h4 span {
      display: block;
    }
}
.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: 85px;
}
#gallery .gallery-item .carousel-control-prev-arrow,
#gallery .gallery-item .carousel-control-next-arrow {
  display: inline-block;
  width: 21px;
  height: 36px;
  margin-top: 66px;
  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;
  }
}

#molg {
  position: relative;
  z-index: 19;
}
#molg a {
  text-decoration: underline !important;
}

/* Footer */
#footer {
  position: relative;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
}
#footer .container, #footer .container-full, #footer .container-fluid {
    background: #fffff5;
}
/* 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-header .close {
  padding: 0.587rem 1rem;
  font-size: 40px;
  cursor: pointer;
}
#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;
    }
}
