/*---------------------------------Articles---------------------------------------------- */

._text_hide_only_ipad {
  height: 195px;
  overflow: hidden;
}

/*---------------------------------sticky---------------------------------------------- */
.sticky {
  position: fixed;
  top: 0;
  background-color: #105baa;
  z-index: 50;
  height: 50px;
  width: 100%;
}

.sticky .dropdown.menu > li > a {
  color: white;
  font-size: 0.8rem;
  line-height: 1.2rem;
}

#fixed_div {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  width: 74rem;
  text-align: center;
}

.hide_logo {
  display: none;
}

/*------------------------------------form------------------------------------------- */
/* Style the tab - form */
.tabf {
  overflow: hidden;
  width: 100%;
}

/* Style the buttons inside the tab */
.tabf button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 7px 10px;
  transition: 0.3s;
  color: #0e4d91;
  font-size: 16px;
}

/* Change background color of buttons on hover */
.tabf button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tabf button.active {
  background-color: #8dd8f8;
}

/* Style the tab content */
.tabcontent {
  display: none;
  width: 100%;
}
/*------------------------------------------------------------------------------- */
/*------------------------------------------------mobilni meni------------------------------------------------------------------------------------------*/
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 100000;
  top: 0;
  left: 0;
  background-color: #105baa;
  overflow-x: hidden;
  transition: 0.5s;
}

.sidenav a {
  padding: 0px 8px 8px 8px;
  text-decoration: none;
  font-size: 12px;
  margin-bottom: 0;
  color: #fff;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #818181;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 1rem;
  font-size: 48px;
  margin-left: 50px;
}

#main {
  transition: margin-left 0s;
  padding: 0rem;
}

@media screen and (max-height: 450px) {
  .sidenav {
    padding-top: 0;
  }

  .sidenav a {
    font-size: 18px;
  }
}

/*-----------------fotogalerija kod vijesti-------------------*/

#photos {
  /* Prevent vertical gaps */
  line-height: 0;

  -webkit-column-count: 4;
  -webkit-column-gap: 0px;
  -moz-column-count: 4;
  -moz-column-gap: 0px;
  column-count: 4;
  column-gap: 0px;
}

#photos img {
  /* Just in case there are inline attributes */
  width: 100% !important;
  height: auto !important;
}

@media (max-width: 1200px) {
  #photos {
    -moz-column-count: 4;
    -webkit-column-count: 4;
    column-count: 4;
  }
}
@media (max-width: 1000px) {
  #photos {
    -moz-column-count: 3;
    -webkit-column-count: 3;
    column-count: 3;
  }
}
@media (max-width: 800px) {
  #photos {
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
  }
}
@media (max-width: 400px) {
  #photos {
    -moz-column-count: 1;
    -webkit-column-count: 1;
    column-count: 1;
  }
}
/*-----------------POPUP-------------------*/

@media only screen and (max-width: 800px) {
  .sakrijbanermob {
    display: none;
  }

  #popup {
    width: 350px;
    max-height: 100%;
    background: transparent;
    border: 0px solid #000;
    border-radius: 1rem !important;
    position: relative;
    top: 150px;
    left: 50%;
    transform: translate(-50%, 0);
  }

  #popup img {
    border-radius: 1rem !important;
  }
}

@media only screen and (min-width: 800px) {
  .sakrijbanerdesk {
    display: none;
  }

  #popup {
    width: 500px;
    max-height: 100%;
    background: transparent;
    border: 0px solid #000;
    border-radius: 1rem !important;
    position: relative;
    top: 50px;
    left: 50%;
    transform: translate(-50%, 0);
  }
  #popup img {
    border-radius: 1rem !important;
  }
}

#ac-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  z-index: 1001;
}

/*misljenja - info*/

._file_grid_element p {
  font-weight: 500;
  border-bottom: none;
}

._box_misljenja p {
  font-weight: 500;
  border-bottom: none;
}

.tooltip {
  background-color: #1c94d2;
}
.tooltip.top::before {
  border-color: #1c94d2 transparent transparent;
}
