/* The container must be positioned relative: */
.custom-select {
  position: relative;
  font-family: Arial;
}

.custom-select select {
  display: none; /*hide original SELECT element: */
}

.select-selected {
  background-color: DodgerBlue;
}

/* Style the arrow inside the select element: */
.select-selected:after {
  position: absolute;
  content: "";
  top: 14px;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #fff transparent transparent transparent;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #fff transparent;
  top: 7px;
}

/* style the items (options), including the selected item: */
.select-items div,.select-selected {
  color: #ffffff;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
}

/* Style items (options): */
.select-items {
  position: absolute;
  background-color: DodgerBlue;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

/* Hide the items when the select box is closed: */
.select-hide {
  display: none;
}

.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}

.custom-nav .navbar-nav li a.astyle {
    color: #000000 !important;
    font-size: 15px;
    background-color: #566c1100 !important;
    margin: 0 0px;
    letter-spacing: 0.05em;
    line-height: 24px;
    transition: all 0.5s;
    font-weight: 500;
}

.custom-nav .navbar-nav li a.astyle:hover {
    color: #000000 !important;
    font-size: 15px;
    background-color: #566c1178 !important;
    margin: 0 0px;
    letter-spacing: 0.05em;
    line-height: 24px;
    transition: all 0.5s;
    font-weight: 500;
}
.custom-nav .navbar-nav li a.astyle:focus {
    color: #000000 !important;
    font-size: 15px;
    background-color: #566c1178 !important;
    margin: 0 0px;
    letter-spacing: 0.05em;
    line-height: 24px;
    transition: all 0.5s;
    font-weight: 500;
}


.custom-nav .navbar-nav li a.active {
  background-color: #60655278 !important;
}
.custom-nav .navbar-nav li a.active:hover {
  background-color: #60655278 !important;
}

































/* ---- isotope ---- */

.grid {
  max-width: 1200px;
}

@media only screen and (max-width:1199px){
    .grid {
      max-width: 936px;
      margin-left: auto;
      margin-right: auto;
    }
}

@media only screen and (max-width:992px){
    .grid {
      max-width: 702px;
      margin-left: auto;
      margin-right: auto;
    }
}

@media only screen and (max-width:701px){
    .grid {
      max-width: 468px;
      margin-left: auto;
      margin-right: auto;
    }
}

@media only screen and (max-width:467px){
    .grid {
      max-width: 234px;
      margin-left: auto;
      margin-right: auto;
    }
}


/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

.grid-text{
    position: absolute;
    width: 100%;
    height: 100%;
    background: #ffa500c9;
    top: 0;
    opacity: 0;
    z-index: 2;
    color: white;
    text-align: center;
}

.grid-text-center{
    position: relative;
    top: 46%;
    margin-left: 15px;
    margin-right: 15px;
}

/* ui group */

.ui-group {
  display: inline-block;
}

.ui-group h3 {
  display: inline-block;
  margin-right: 0.2em;
  font-size: 16px;
}

.ui-group .button-group {
  display: inline-block;
}

.filters
{
    margin-right: auto;
    display: table;
    margin-left: auto;
}


.grid-item a:hover > .grid-text {
    opacity: 1;
    transition: opacity .5s ease-out;
    -moz-transition: opacity .5s ease-out;
    -webkit-transition: opacity .5s ease-out;
    -o-transition: opacity .5s ease-out;
}











@media only screen and (max-width: 467px) {
.s467{
  width:100%;
}
}


.bg-light{
  background-color: #78903f38!important;
}


#novinkyprezentacie:hover,#reklamamedia:hover {
 cursor: pointer;
}


@media (max-width: 849px){
#obsah img {
    width: 100%;
    height: auto;
}
}