/* Google Fonts */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600&display=swap&subset=latin-ext');
/* General */
html, body {
  height: 100%;
}
body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #002b50;
  background-color: #eeeff0;
  background-image: url('../img/background.jpg'); 
  background-attachment: fixed ;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
@media (min-width: 576px) {
  body {
    background-repeat: no-repeat;
  }
}

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: 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;
  position: fixed;
  left: 50%;
  transform: translate(-50%,0);
}
@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: transparent/*#e3e5e5*/;
}

/* Intro */
#intro .content p {
  font-size: 18px;
  font-weight: 600;
}
@media (min-width: 576px) {
  #intro .content p {
    font-size: 24px;
  }
}
#intro .content hr {
  display: inline-block;
  width: 575px;
  height: 21px;
  max-width: 100%;
  background-image: url('../img/shadow.png');
  background-position: center;
  background-repeat: no-repeat;
  border: 0 !important;
  margin: 0 !important;
}
#intro .content h2 {
  font-size: 18px;
  font-weight: 600;
}
@media (min-width: 576px) {
  #intro .content h2 {
    font-size: 36px;
  }
}
#intro .content .linkovi a {
  display: inline-block;
  margin: 0 10px;
  font-size: 14px;
  text-decoration: underline;
  color: #002b50;
}
#intro .btn-play {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 14px;
  background-color: #002b50;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  max-width: 280px;
}
@media (min-width: 576px) {
  #intro .btn-play {
    font-size: 18px;
    max-width: none;
  }
}
#intro .btn-play:hover {
  text-decoration: none;
}
#intro .btn-play.disabled {
  user-select: none;
  pointer-events: none;
  opacity: .4;
}

/* Igra */
#igra .content {
  display: inline-block;
  max-width: 500px;
}
#igra .content img {
  display: inline-block;
  max-width: 90px;
}
#igra .content h2 {
  font-size: 22px;
  font-weight: 600;
}
@media (min-width: 576px) {
  #igra .container {
    margin-left: -38px;
  }
  #igra .content h2 {
    font-size: 36px;
  }
}
#igra .btn-finish {
  display: inline-block;
  padding: 10px 20px;
  min-width: 120px;
  border-radius: 14px;
  background-color: #002b50;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
}
#igra .btn-finish:hover {
  text-decoration: none;
}
#igra .btn-finish.disabled {
  user-select: none;
  pointer-events: none;
  opacity: .4;
}

#years {
  padding: 0 !important;
}
#years li { 
  position: relative;
  margin: 10px 0 0; 
  padding: 0 15px 0 0;
  font-size: 15px;
  height: 50px;
  line-height: 50px;
  background: none;
  font-family: Arial, Helvetica, sans-serif;
  color: #002b50;
  user-select: none;
  text-align: right;
  font-weight: 600;
}

#sortable { 
  list-style-type: none; 
  margin: 0; 
  padding: 0; 
  width: 100%; 
}
#sortable .row { 
  position: relative;
  margin: 10px 0 0; 
  /*padding: 0 65px 0 35px;*/
  padding: 0 20px;
  font-size: 12px;
  height: 50px;
  line-height: 16px;
  background: #00539a;
  font-family: Arial, Helvetica, sans-serif;
  color: white;
  user-select: none;
  font-weight: 600;
  cursor: pointer;
  border-radius: 16px;
  text-align: center;
}
#sortable .row:hover {
  background-color: #002b50;
}
@media (min-width: 576px) {
  #sortable .row {
    font-size: 13px;
  }
}
#sortable .row.placeholder {
  opacity: .25;
}
#sortable .col .handle {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  cursor: pointer;
  background-color: rgba(255,255,255,.1);
}
#sortable .col .handle::before,
#sortable .col .handle::after {
  position: absolute;
  content: '';
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  display: inline-block;
  margin: 0px;
  padding: 4px;
}
#sortable .col .handle::before {
  top: 15px;
  left: 20px;
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}
#sortable .col .handle::after {
  bottom: 15px;
  left: 20px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}


/* Hvala */
#hvala .content p {
  font-size: 24px;
  font-weight: 600;
}
#hvala .content hr {
  display: inline-block;
  width: 575px;
  height: 21px;
  max-width: 100%;
  background-image: url('../img/shadow.png');
  background-position: center;
  background-repeat: no-repeat;
  border: 0 !important;
  margin: 0 !important;
}
#hvala .content h2 {
  font-size: 36px;
  font-weight: 600;
}
#hvala .content .share {
  color: #002b50;
  margin: 0 6px;
  font-size: 24px;
}
#hvala .btn-play {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 14px;
  background-color: #002b50;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 18px;
  color: #fff;
}
#hvala .btn-play:hover {
  text-decoration: none;
}
#hvala .btn-play.disabled {
  user-select: none;
  pointer-events: none;
  opacity: .4;
}


/* Results */
#results .table {
  background-color: #eeeff0;
}
#results .table td {
  padding: 5px 12px;
  font-size: 12px;
}
#results .table th:first-child,
#results .table td:first-child {
  text-align: center;
}


/* 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;
    }
}
