* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


a {
	text-decoration: none;
}

/* fonts */

@font-face {
    font-family: msr900;
    font-style: normal;
    font-weight: normal;
    src: url(../fonts/msr/exljbris_-_museosansrounded-900-webfont.ttf);
}

@font-face {
	font-family: msr700;
	font-style: normal;
	font-weight: normal;
	src: url(../fonts/msr/exljbris_-_museosansrounded-700-webfont.ttf);
}

@font-face {
    font-family: msr500;
    font-style: normal;
    font-weight: normal;
    src: url(../fonts/msr/exljbris_-_museosansrounded-500-webfont.ttf);
}

@font-face {
    font-family: msr300;
    font-style: normal;
    font-weight: normal;
    src: url(../fonts/msr/exljbris_-_museosansrounded-300-webfont.ttf);
}

@font-face {
    font-family: msr100;
    font-style: normal;
    font-weight: normal;
    src: url(../fonts/msr/exljbris_-_museosansrounded-100-webfont.ttf);
}

body {
	background-color: #E8E8E8;
}

.logo-heading span{
    padding: 10px;
    display: inline-block;

}

.img-div h4{
    border-bottom: 1px solid transparent;  
    transition: all 0.3s ease 0s;
}

.img-div h4:hover{
    border-bottom: 1px solid black;
}

.top-standard h4 a{
    border-bottom: 1px solid transparent;  
    transition: all 0.3s ease 0s;
}

.top-standard h4 a:hover{
    border-bottom: 1px solid black;  
}

.top-premium h4 a{
    border-bottom: 1px solid transparent;  
    transition: all 0.3s ease 0s;
}

.top-premium h4 a:hover{
    border-bottom: 1px solid black;  
}

#single-poslovi{
    background-color: white;
}

a{
    color: black;
}

#main-tag-s a{
    color: white;
}

.results {
    height: 1000px;
}
.spans span a{
    color: #333333;
}

.top-b-p span a{
    color: #333333;
}

.top-b-s span a{
    color: #333333;
}
.top-b span a {
    color: #333333;
}

.spans-hidden span{
    cursor: pointer;
}

.poslovi-header-wrapper {
	background-color: #000000;
	margin: 0 auto;
    width: 100%;
}

.poslovi-header-wrapper-black {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo-wrapper {
	padding-top: 20px;
}

.logo-wrapper > a {
    margin: 0 auto;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 12%;
}

.logo-white {
	width: 110px;
    margin-left: 10px;
	margin-bottom: -12px;
}

.logo-heading {
    color: #ffffff;
	font-family: msr900;
}

.search-wrapper {
	background-color: #25252B;
	width: 600px;
	margin: 0 auto;
	border-radius: 40px;
	display: flex;
	justify-content: space-around;
	align-items: center;
	margin-bottom: 30px;
    position: relative;
}

.magnifier-icon,
.filters-icon,
.sort-icon {
	display: inline-block;
	width: 20px;
	/* height: 20px; */
	cursor: pointer;
}

.filters-icon {
    width: 25px;
    height: 25px;
}

.sort-icon {
    padding-bottom: 2px;
}

#autocomplete {
    width: 70%;
    color: #ffffff;
    background-color: #25252B;
    font-family: msr500;
    padding: 5px;
    font-size: 16px;
	margin: 10px 0;
	border: none;
	outline: none;
	text-transform: uppercase;
}

#autocomplete::placeholder {
	text-align: center;
}

#autocomplete:focus::placeholder {
	color: transparent;
}

.autocomplete-suggestions {
    background-color: #25252B;
    color: #ffffff !important;
    border-radius: 20px;
    border: none !important;
    top: 49px !important;
    left: calc(50% - 233px) !important;
    right: unset !important;
    text-transform: uppercase;
    box-shadow: unset !important;
    -webkit-box-shadow: unset !important;
}

.autocomplete-suggestion:last-child {
    border-bottom: unset !important;
}

.autocomplete-suggestions::-webkit-scrollbar {
    position: relative;
    width: 15px;
}

.autocomplete-suggestions::-webkit-scrollbar-thumb {
    border-radius: 20px;
    -webkit-box-shadow: inset 6px 6px 6px #4E4E4E; 
}

.autocomplete-suggestions::-webkit-scrollbar-track-piece:start {
    background: transparent;
    margin-top: 9px;
}

.autocomplete-suggestions::-webkit-scrollbar-track-piece:end {
    background: transparent;
    margin-bottom: 9px;
}

.autocomplete-suggestions::-webkit-scrollbar-track,

filter-suggestions-show::-webkit-scrollbar-track {
    background: transparent;
}

.autocomplete-suggestion > strong {
    color: #33A331 !important;
    font-weight: bold !important;
}

.filter-sugestion-group{
    border-bottom: 1px solid rgb(0, 0, 0);
        color: #ffffff;
        padding: 5px 0;
        margin: 5px auto;
        font-family: msr900;
        font-size: 14px;
        text-transform: uppercase;
        opacity: 0.7;
}

.autocomplete-suggestion {
    /* border-bottom: 1px solid rgb(118, 118, 118); */
    color: #ffffff;
    padding: 15px 30px !important;
    /* margin: 5px 30px; */
    font-family: msr500;
    font-size: 16px;
    cursor: pointer;
    position: relative;
}

.autocomplete-suggestion::after {
    content: '';
    position: absolute;
    height: 1px;
    background-color: rgb(118, 118, 118);
    bottom: 0;
    left: 30px;
    right: 30px;
}

.autocomplete-suggestion:hover {
    background-color: #4A4A52 !important;
}

.autocomplete-selected {
    background-color: #4A4A52 !important;
}

.already-selected {
    color: #999;
    opacity: 0.5;
}

.already-selected strong {
    color: #999 !important;
}

.filters-icon-wrapper {
    width: 35px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.active {
    background-color: #4E4E4E;
}

.filters-wrapper-hidden {
    display: none;
}

.filters-wrapper-show {
    width: 600px;
	margin: 0 auto;
    margin-bottom: 30px;
	border-radius: 40px;
	display: flex;
	justify-content: space-evenly;
	align-items: flex-start;
}

.filter-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
}

.filter-inner-wrapper {
    border: 2px solid #ffffff;
    padding: 5px 13px;
    border-radius: 20px;
    cursor: pointer;
}

.filter-span {
    color: #ffffff;
    font-family: msr500;
    font-size: 16px;
    margin-right: 3px;
}

.filter-arrow {
    width: 15px;
    height: 15px;
    padding-top: 3px;
}

.filter-suggestions-hidden {
    display: none;
}

.filter-suggestions-show {
    display: flex;
    flex-direction: column;
    background-color: #000000;
    color: #ffffff;
    position: absolute;
    top: 50px;
    overflow: auto;
    max-height: 300px;
    height: fit-content;
    border-radius: 10px;
    width: 180px;
    z-index: 1;
}

.filter-suggestion {
    border-bottom: 1px solid rgb(118, 118, 118);
    color: #ffffff;
    padding: 5px 0;
    margin: 5px 15px;
    font-family: msr500;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
}

.filter-num-of-ads {
    color: #777;
}

.filter-suggestion:last-child {
    border-bottom: unset;
}

.filter-suggestion:hover {
    text-decoration: underline;
}

.filter-suggestions-show::-webkit-scrollbar {
    position: relative;
    width: 10px;
}

.filter-suggestions-show::-webkit-scrollbar-thumb {
    border-radius: 20px;
    -webkit-box-shadow: inset 5px 5px 5px #4E4E4E; 
}

.filter-suggestions-show::-webkit-scrollbar-track-piece:start {
    background: transparent;
    margin-top: 5px;
}

.filter-suggestions-show::-webkit-scrollbar-track-piece:end {
    background: transparent;
    margin-bottom: 5px;
}

.header-bottom-wrapper {
    background-color: #ffffff;
    width: 100%;
	display: flex;
	justify-content: space-between;
    padding: 10px 0;
}

.header-bottom-inner-wrapper {
    width: 100%;
    max-width: 960px;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
}

.num-and-sort {
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ads-number {
    font-size: 25px;
    font-family: msr900;
    color: #000000;
    margin-right: 10px;
}

.params-wrapper {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
	align-items: center;
    width: 90%;
}

.param, .param-svi {
    background-color: #000000;
    color: #ffffff;
    font-family: msr700;
    display: inline-flex;
    border-radius: 20px;
    height: 25px;
    width: fit-content;
    padding: 15px;
    align-items: center;
	margin: 5px 0 5px 5px;
	text-transform: uppercase;
}

.param > span {
    cursor: default;
}

.param-remove {
	cursor: pointer;
	width: 11px;
	margin-left: 5px;
}


/* DESKTOP SHRINK */
.logo-wrapper-shrink {
    width: 120px;
}

.logo-wrapper-a-shrink {
    flex-direction: row !important;
    margin-left: unset !important;
}

.logo-white-shrink {
    margin-bottom: 0px;
}

.logo-heading-shrink {
    font-size: 14px;
}

.search-wrapper-shrink {
    margin-bottom: unset;
    width: 192px;
    margin: unset;
}

.autocomplete-suggestions-shrink {
    width: fit-content;
    top: 55px !important;
    left: calc(50% - 50px) !important;
}

.poslovi-header-wrapper-black-shrink {
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
}

  .positions {
    width: 100%;
    /* height: 100%; */
    background: #e8e8e8;
  }

  .two {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .three {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .top-b {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .bottom h3 a {
    color: #000;
    transition: 0.5s ease;
  }
  .bottom h3 a:hover {
    color: grey;
  }
  
  .bottom-flex {
    width: 183px;
    margin-left: 0;
    height: 50px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }
  
  .mini-flex {
    width: 190px;
    height: 50px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
  }

  /* responsive */
  @media screen and (max-width: 960px) {
    .p-wrapper {
      width: 100%;
    }
    .two {
      width: 100%;
      margin: auto;
      justify-content: center;
    }
    .three {
      width: 100%;
      margin: auto;
      justify-content: center;
    }

  }

  @media screen and (max-width: 700px) {
      .header-bottom-inner-wrapper {
          width: 90%;
      }
  }

@media screen and (max-width: 630px) {
    .poslovi-header-wrapper {
        z-index: 1;
    }
    
    .poslovi-header-wrapper-shrink {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .logo-wrapper > a {
        margin-bottom: 20px;
    }

    .logo-white {
        margin-bottom: 0px;
        margin-right: 4px;
        width: 75px;
    }

    .logo-heading {
        font-size: 20px;
    }

    .search-wrapper {
        width: 300px;
        height: 33px;
        margin-bottom: 20px;
        position: relative;
    }

    .magnifier-icon, .filters-icon, .sort-icon {
        width: 13px;
        /* height: 13px; */
        margin: 15px;
    }

    .sort-icon {
        margin: unset;
    }

    .filters-icon {
        width: 18px;
        height: 18px;
    }

    .filters-icon-wrapper {
        width: 30px;
        height: 25px;
        margin: 10px 10px;
    }

    #autocomplete {
        font-size: 12px;
    }

    .autocomplete-suggestions {
        top: 40px !important;
        left: calc(50% - 122px) !important;
    }

    .autocomplete-suggestion {
        font-size: 11px;
        padding: 10px 20px !important;
    }

    .autocomplete-suggestion::after {
        left: 20px;
        right: 20px;
    }

    .filters-wrapper {
        width: 300px;
        margin-bottom: 20px;
        justify-content: space-between;
    }

    .filter-wrapper {
        height: 25px;
    }

    .filter-inner-wrapper {
        border: 1.4px solid #ffffff;
        border-radius: 10px;
        padding: 0 13px;
        display: flex;
        align-items: center;
    }

    .filter-span {
        font-size: 12px;
        margin-right: 5px;
    }

    .filter-arrow {
        width: 11px;
        padding-bottom: 2px;
    }

    .filter-suggestions-show {
        top: 35px;
        width: fit-content;
    }

    .filter-suggestions-right {
        right: 0;
    }

    .filter-suggestion {
        font-size: 11px;
    }

    .header-bottom-wrapper {
        padding: 5px 10px;
    }

    .ads-number {
        font-size: 19px;
        margin-right: 7px;
    }

    .params-wrapper {
        margin: 0;
    }

    .param, .param-svi {
        height: 22px;
        margin: 2px 5px;
        font-size: 10px;
        padding: 5px 12px;
    }

    .param-remove {
        width: 7px;
    }

    .logo-wrapper-shrink {
        width: 120px;
    }

    .logo-wrapper-a-shrink {
        flex-direction: row !important;
        margin-left: unset !important;
    }
    
    .logo-white-shrink {
        margin-bottom: 0px;
    }
    
    .logo-heading-shrink {
        font-size: 14px;
    }

    .search-wrapper-shrink {
        margin-bottom: unset;
        width: 192px;
        margin: unset;
    }

    .autocomplete-suggestions-shrink {
        width: fit-content;
        top: 55px !important;
        left: calc(50% - 50px) !important;
    }

    .poslovi-header-wrapper-black-shrink {
        justify-content: space-between;
        flex-direction: row;
        flex-wrap: wrap;
    }
}



  /* ON SCROLL */
  /* @media screen and (max-width: 630px) {
      .poslovi-header-wrapper-black {
          display: flex;
          flex-direction: row;
          padding: 12px 0;
      }

      .logo-wrapper {
          padding: unset;
      }
    
      .logo-wrapper > a {
          display: flex;
          flex-direction: row;
          width: 70%;
          margin-bottom: unset;
      }

      .logo-white {
          margin-bottom: unset;
          width: 30px;
      }

      .logo-heading {
          font-size: 14px;
      }

      .search-wrapper {
          margin-bottom: unset;
          height: 39px;
          width: 192px;
      }

      .magnifier-icon, .filters-icon, .sort-icon {
          width: 13px;
          margin: 15px;
      }

      .sort-icon {
          margin: unset;
      }

      .filters-icon {
        width: 18px;
      }

      .filters-icon-wrapper {
        margin: 10px 10px;
    }

    #autocomplete {
        font-size: 11px;
    }

    .header-bottom-wrapper {
        padding: unset;
    }

    .num-and-sort {
        margin-left: 15px;
    }

    .ads-number {
        font-size: 19px;
        margin-right: 5px;
    }

    .params-wrapper {
        margin: 8px 8px;
    }

    .param, .param-svi {
        height: 22px;
        margin: 2px 5px;
        font-size: 10px;
        padding: 5px 12px;
    }

    .param-remove {
        width: 7px;
    }
  } */

  .middle-premium{

    display: flex;
    align-items: center;
    justify-content: center;

  }

  .middle-premium img{
    /* width: 70px;
    height: 70px; */

  }

  @media screen and (max-width: 490px) {


    .middle-standard{
        height: 90px !important;
    }

    .flex {
      width: 100%;
      /* padding: 0 9px; */
    }

  }
  @media screen and (max-width: 410px) {
    .p-box {
      width: 100%;
    }
    .p-box h3 {
      font-size: 23px;
      width: 100%;
      padding-bottom: 20px;
      justify-content: center;
    }
  }
  @media screen and (max-width: 452px) {
      .main-cat{
          background-color: #333333;
      }
    .two {
      justify-content: center;
    }
    .bottom-flex {
      width: 100%;
      /* padding: 0 9px; */
      /* height: 70px; */
    }
    #location {
      margin-left: 9px;
      margin-top: 15px;
    }
  }
  @media screen and (max-width: 390px) {

    .mini-flex{
        width: 140px;
    }

      .standard-naslov{
        height: 45px;
        display: block;
        overflow: hidden;
    
      }

    .two {
      justify-content: center;
    }
    .bottom-flex {
      width: 100%;
      /* padding: 0 9px; */
      /* height: 70px; */
    }

    #location {
      margin-left: 9px;
      margin-top: 15px;
    }
    #location1{
        background-color: #646464;
        color: white;
    }

  }
  