.bg-grey-light {
  background-color: #dae1e7 !important;
}

.bg-tf-grey-dark {
  background-color: #222 !important;
}

.t-wrapper {
  border-top: 1px solid #3d4852;
}

.b-wrapper {
  border-bottom: 1px solid #3d4852;
}

.tb-wrapper {
  border-top: 1px solid #3d4852;
  border-bottom: 1px solid #3d4852;
}

.lr-wrapper {
  border-left: 1px solid #8795a1;
  border-right: 1px solid #8795a1;
}

.divider {
  height: 0.25rem;
  background-color: #26448c;
  border-top: 1px solid #3d4852;
  border-bottom: 1px solid #3d4852;
}

.copyright {
  background-color: #26448c;
  border-top: 1px solid #3d4852;
}

.top_bar_link {
  cursor: pointer;
}

/* Menu */
.toggleMainMenu {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 100;
}

ul {
  margin: 0;
  padding: 0;
}

nav ul ul {
  display: none;
}

nav ul li {
  cursor: default;
  color: #fff;
}

nav ul li:hover > ul {
  display: block;
  color: #fff;
  padding-left: 2rem;
  border-color: #162854;
  border-width: 1px;
  border-style: solid;
  opacity: 0.98;
}

.hamburgerBar {
  display: none;
}

.navMenuBar {
  display: block;
}

.navmenu {
  display: flex;
  flex-direction: column;
}

.menu {
  display: flex;
  flex-direction: column;
}

.menu li {
  display: block;
  list-style-type: none;
}

.menu li a {
  display: flex;
  text-align: center;
  text-decoration: none;
  color: #fff;
  padding: 0.55rem 0.65rem 0.55rem 0.65rem;
}

.menu li a:hover {
  background: #162854;
  color: #fff;
}

.menu-item-has-children > a:after {
  font-family: 'FontAwesome';
  content: "";
  padding-left: 5px;
}

@media (min-width: 767px) {
  .menu-item-has-children > a:after {
    content: "";
  }

  nav ul ul {
    display: none;
    position: absolute;
    z-index: 999;
  }
  nav ul ul ul {
    margin: 0 0 0 100%;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.6);
  }
  .menu {
    flex-direction: row;
    justify-content: flex-start;
  }
  .navmenu {
    flex-direction: row;
    justify-content: flex-start;
  }
  nav ul li:hover > ul {
    padding-left: 0;
    background: #26448c;
  }
  nav ul li:hover > ul a {
    color: #fff;
  }
  .sub-menu li {
    display: flex;
  }
  .sub-menu li a {
    width: 100%;
    padding: 0.75rem 0.65rem 0.75rem 0.65rem;
  }
  .sub-menu li ul li a {
    width: 250px;
  }
  .sub-menu li:hover, .sub-menu li a:hover {
    background: #162854;
    color: #fff;
  }
  .menu-item-has-children .menu-item-has-children > a:after {
    font-family: 'FontAwesome';
    content: "";
    padding-top: 1px;
    padding-left: 12px;
  }
}

.list_group_link {
  display: block;
  color: #3d4852;
  cursor: pointer;
  font-size: 120%;
}

.card_title {
  font-size: 120%;
}

#topBtn {
  display: none;
  text-align: center;
  border-radius: 5px;
  border: 2px solid #3d4852;
  width: 45px;
  height: 45px;
  position: fixed;
  font-size: 40px;
  cursor: pointer;
  right: 50px;
  bottom: 50px;
  color: #fff;
  background-color: rgba(111, 123, 143, 0.4);
  z-index: 99;
}

.font_footer_link {
  display: block;
  font-size: 1.25rem;
  font-weight: 200;
}

.font_footer_link:hover {
  font-weight: 400;
}

.font_footer_link_big {
  line-height: 2rem;
  font-size: 1.4rem;
  font-weight: 200;
}

.font_footer_link_big:hover {
  font-weight: 400;
}

.footer_links_big {
  width: 75% !important;
}

.font_footer_text {
  line-height: normal;
  font-size: 1.05rem;
  font-weight: 200;
  padding-left: 25px;
}

.font_footer_text_big {
  line-height: normal;
  font-size: 1.25rem;
  font-weight: 200;
}

.font_footer_text_bigger {
  line-height: normal;
  font-size: 1.3rem;
  font-weight: 400;
}

.font_univerzitet {
  font-size: 1.85rem;
  margin-left: -180px;
}

.font_fakultet {
  font-size: 2.85rem;
  margin-left: -184px;
}

.logo {
  background-image: url('../../../../files/img/tf.svg');
  height: 187px;
  width: 187px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.logo-bar {
  align-items: center;
}

#news_body {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

#news_body ul a p {
  margin-bottom: 0.5rem;
}

.logo_loop div img {
  padding-left: 20px;
  padding-right: 20px;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin: 0.5em 1em 0.5em 0;
}

.alignright {
  float: right;
  margin: 0.5em 0 0.5em 1em;
}

/* Post in archives */
.post-item p {
  text-align: justify;
}

.post-item ul {
  padding-left: 40px;
}

/* Post */
.text-indent {
  text-indent: 35px;
}

.post p {
  text-align: justify;
  margin-bottom: 8px;
}

.post ul {
  padding-left: 40px;
}

.post a[href$= ".pdf"] {
  display: block;
  background: url(../../../../files/img/pdf.svg);
  background-repeat: no-repeat;
  background-size: 21px 21px;
  padding-left: 25px;
  margin-top: 3px;
}

.post a[href$= ".zip"] {
  display: block;
  background: url(../../../../files/img/zip.svg);
  background-repeat: no-repeat;
  background-size: 21px 21px;
  padding-left: 25px;
  margin-top: 3px;
}

.post a[href$= ".docx"] {
  display: block;
  background-image: url(../../../../files/img/word.svg);
  background-repeat: no-repeat;
  background-size: 24px 24px;
  padding-left: 30px;
}

.post a[href$= ".doc"] {
  display: block;
  background-image: url(../../../../files/img/word.svg);
  background-repeat: no-repeat;
  background-size: 24px 24px;
  padding-left: 30px;
}

.page_author_text {
  font-size: 3rem;
  color: #b8c2cc;
}

.page_search_text {
  font-size: 2rem;
  color: #b8c2cc;
}

.page_404_text {
  font-size: 2rem;
  color: #b8c2cc;
}

.page_404_text_big {
  font-size: 8rem;
  color: #b8c2cc;
}

.page_404_form {
  width: 50% !important;
}

@media (min-width: 1201px) {/* Desktop */
  .font_footer_link {
    display: block;
    padding-bottom: 0px;
    font-size: 1.3rem;
    font-weight: 200;
  }

  .font_footer_link_big {
    line-height: 2.2rem;
    font-size: 1.4rem;
    font-weight: 200;
  }

  .font_footer_text {
    line-height: normal;
    font-size: 1rem;
    font-weight: 200;
    padding-left: 10px;
  }

  .font_footer_text_big {
    line-height: normal;
    font-size: 1.2rem;
    font-weight: 200;
  }

  .font_footer_text_bigger {
    line-height: normal;
    font-size: 1.3rem;
    font-weight: 400;
  }

  .desktophide {
    display: none;
  }
}

@media (min-width: 993px) and (max-width: 1200px) {/* Laptop */
  .font_univerzitet {
    font-size: 1.75rem;
    margin-left: -185px;
  }

  .font_fakultet {
    font-size: 2.12rem;
    margin-left: -185px;
  }

  .font_footer_link {
    display: block;
    padding-bottom: 0px;
    font-size: 1.2rem;
    font-weight: 200;
  }

  .font_footer_link_big {
    line-height: 2rem;
    font-size: 1.4rem;
    font-weight: 200;
  }

  .font_footer_text {
    line-height: normal;
    font-size: 0.85rem;
    font-weight: 200;
    padding-left: 10px;
  }

  .font_footer_text_big {
    line-height: normal;
    font-size: 0.91rem;
    font-weight: 200;
  }

  .font_footer_text_bigger {
    line-height: normal;
    font-size: 1.3rem;
    font-weight: 400;
  }

  .list_group_link {
    cursor: pointer;
    font-size: 100%;
  }

  .laptophide {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 992px) {/* Tablet */
  .tablet-fix {
    padding-bottom: 20px;
  }

  .map-tablet-fix {
    display: none;
  }

  .font_univerzitet {
    display: none;
  }

  .font_fakultet {
    display: none;
  }

  .font_footer_link {
    padding-bottom: 0px;
    font-size: 1.1rem;
    font-weight: 200;
  }

  .font_footer_link_big {
    line-height: 1.7rem;
    font-size: 1rem;
    font-weight: 200;
  }

  .font_footer_text {
    line-height: normal;
    font-size: 0.89rem;
    font-weight: 200;
    padding-left: 0px;
  }

  .font_footer_text_big {
    line-height: 1.4rem;
    font-size: 1.2rem;
    font-weight: 200;
  }

  .font_footer_text_bigger {
    line-height: normal;
    font-size: 1.2rem;
    font-weight: 400;
  }

  .page_404_form {
    width: 75% !important;
  }

  .tablethide {
    display: none;
  }
}

@media (max-width: 767px) {/* Phone */
  .font_univerzitet {
    display: none;
  }

  .font_fakultet {
    display: none;
  }

  .logo {
    display: none;
  }

  .logo-bar {
    align-items: flex-end;
  }

  .hamburgerBar {
    display: flex;
  }

  .navMenuBar {
    display: none;
  }

  .font_footer_text_bigger {
    padding-top: 10px;
  }

  .page_404_text {
    font-size: 1rem;
    color: #b8c2cc;
  }

  .page_404_form {
    width: 100% !important;
  }
  
  .phonehide {
    display: none;
  }
}

.no_post a[href$= ".pdf"] {
    display: block;
    background: url(../../../../files/img/pdf.svg);
    background-repeat: no-repeat;
    background-size: 0px 0px;
    padding-left: 0px;
    margin-top: 0px;
}
