/*
Theme Name: Predsjednik RS
Theme URI: https://prointer.ba;
Author: PROINTER
Author URI: https://prointer.ba;
Description: Custom WordPress theme
Text Domain: prointer
Version: 1.0.0
License: a
*/
h1 span {
  color: #005689;
}
a {
  color: #005689;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
body {
  font-family: "Source Sans Pro", Helvetica, Arial, Lucida, sans-serif;
  font-size: 11pt;
  color: rgb(81, 85, 87);
  padding-top: 120px;
}
p {
  text-align: justify;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Merriweather", Georgia, "Times New Roman", serif;
}

h6,
h6.widget-title,
h6.widget-title a {
  color: #98a5ad;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 9pt;
  font-family: "Source Sans Pro", Helvetica, Arial, Lucida, sans-serif;
}
h1 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
}
.owl-carousel-hp {
  background-color: #005789;
}
.owl-carousel-hp .owl-dots {
  display: none;
}
.owl-carousel-hp .owl-nav {
  position: absolute;
  transform: translate3d(0, -50%, 0);
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  align-items: self-start;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
}
.owl-carousel-hp .owl-nav button {
  width: 30px;
  height: 45px;
  line-height: 45px;
  background-color: rgba(0, 0, 0, 0.5) !important;
  color: white !important;
}
.owl-carousel-hp .owl-nav button:hover {
  background-color: rgba(0, 0, 0, 0.8) !important;
}

.owl-carousel-hp a {
  font-family: "Merriweather", Georgia, "Times New Roman", serif;
  color: white;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 16pt;
  font-weight: 400;
  font-size: calc(14px + (20 - 14) * ((100vw - 300px) / (1600 - 300)));
}

.news-link {
  color: #005689;
  text-decoration: none;
  line-height: 1.3em !important;
  font-weight: 300;
  font-family: "Merriweather", Georgia, "Times New Roman", serif;
  font-size: 12pt;
  margin: 30px 0 10px 0;
  display: block;
}

hr {
  border-top: 1px solid #e1e5e7;
  margin: 30px 0;
  opacity: 1;
}
.date {
  color: #a6afb5;
  font-size: 9pt;
  margin: 10px 0 10px 0;
}

.post-template-default .ratio {
  margin-bottom: 22px;
}
footer .row {
  border-top: 1px solid #d6d6d6;
  margin-top: 36px;
}
footer span:first-of-type {
  border-left: 1px solid #d6d6d6;
}
footer span {
  margin-top: 16px;
  flex: 1;
  border-right: 1px solid #d6d6d6;
  list-style: none;
  font-size: 11pt;
  margin: 0;
  padding: 5px 20px 5px 20px;
}

.widget {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #e1e5e7;
}
.widget a {
  color: #005689;
  text-decoration: none;
}
.widget a:hover {
  text-decoration: underline;
}
.widget.widget_io_data_posts div {
  padding: 4px 0;
}
.widget.widget_io_data_posts div .meta {
  display: block;
  color: #a6afb5;
  font-size: 9pt;
}
.widget.widget_io_data_posts a,
.widget.widget_io_data_posts a:hover {
  text-decoration: none;
}

.widget.widget_io_data_posts a:hover .title {
  text-decoration: underline;
}
.widget.widget_io_data_posts .list-vertical a {
  width: 100%;
  display: flex;
  flex-direction: row;
  margin: 6px 0;
}
.widget.widget_io_data_posts .list-vertical a img {
  width: 72px;
  margin-right: 16px;
}
.widget.widget_io_data_posts .list-vertical a div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.widget.widget_io_data_posts .list-vertical .title,
.widget.widget_io_data_posts .list-horizontal .title,
.two-lines {
  display: block;
  display: -webkit-box;
  max-height: 36px;
  width: 100%;
  -webkit-line-clamp: 2;
  line-height: 120%;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.widget.widget_io_data_posts .list-horizontal .title,
.widget.widget_io_data_posts .list-horizontal .meta {
  text-align: center;
}
.widget.widget_io_data_posts .list-horizontal a {
  flex: 1;
  margin: 4px 4px;
}
.widget.widget_io_data_posts .list-horizontal {
  width: 100%;
  display: flex;
  flex-direction: row;
  margin: 6px -4px;
}
.widget.widget_io_data_posts .list-horizontal a img {
  width: 100%;
}
.navbar-toggler {
  position: absolute;
  top: 14px;
  right: 14px;
  border-color: transparent !important;
  padding: 0;
  color: #005689;
  font-size: 10pt;
}
body .navbar-logo {
  margin-top: 22px;
  height: 120px;
  object-fit: cover;
  transition: all 0.4s ease-in;
}

body.scroll-offset .navbar-logo {
  height: 70px;
}
.navbar-nav a:hover {
  text-decoration: none !important;
}
.navbar-nav {
  width: 100%;
  margin-top: 10px;
  text-align: center;
  justify-content: center;
  border-top: 1px solid #e1e5e7;
  border-bottom: 1px solid #e1e5e7;
  padding: 10px 0;
}
.navbar-nav > li {
  padding-left: 12px;
  padding-right: 12px;
}
.dropdown-menu {
  padding: 0;
  border-radius: 0;
}
.navbar-nav > li > a,
.dropdown-menu a {
  text-transform: uppercase;
  font-family: "Merriweather", Georgia, "Times New Roman", serif;
  font-weight: 300;
  font-style: normal;
  letter-spacing: 0.4pt;
  font-size: 13px;
  color: #717577;
  padding: 8px 16px;
}
.dropdown-menu.depth_0 > .dropdown-menu {
  display: block !important;
  border: none;
  position: relative;
}
.dropdown-menu.depth_0 > .dropdown-menu .dropdown-item::after {
  transform: rotate(315deg) !important;
}
.dropdown-item {
  padding-top: 8px;
  padding-bottom: 8px;
}
.dropdown-toggle::after {
  font-smooth: always;
  margin-left: 10px;
  width: 6px;
  height: 6px;
  background-color: transparent;
  border: 1px solid #717577;
  border-left: none;
  border-top: none;
  transform: rotate(45deg);
}
.dropdown-item.active,
.dropdown-item:active {
  color: #005689;
  background-color: white;
}
.dropdown-item:focus,
.dropdown-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .show > .nav-link {
  color: #005689;
}
.navbar {
  flex-direction: column;
  padding-bottom: 0;
}
.navbar img {
  margin-bottom: 12px;
}
.dropdown-menu.sub-menu.depth_1.show {
  margin: 10px 20px 20px 20px;
}
/* ============ desktop view ============ */
@media all and (min-width: 992px) {
  .dropdown-menu.sub-menu.depth_1 {
    margin: 0;
    right: 0;
    position: absolute;
    top: 0;
    transform: translate3d(100%, -1px, 0px);
  }
}
/* ============ desktop view .end// ============ */

/* ============ small devices ============ */
@media (max-width: 991px) {
}
/* ============ small devices .end// ============ */

.screen-reader-text {
  display: none;
}
#searchform {
  position: relative;
}
#searchform #s {
  width: 100%;
  border: 1px solid rgb(181, 181, 181);
  padding: 8px;
}
#searchform #searchsubmit {
  position: absolute;
  top: 50%;
  font-size: 9pt;
  right: 8px;
  transform: translate3d(0, -50%, 0);
  background-color: #005689;
  border: 1px solid #005689;
  color: white;
  text-transform: uppercase;
  border-radius: 2px;
}

.paginator {
  display: flex;
  width: 100%;
  justify-content: center;
}
.paginator * {
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  background-color: white;
}

@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1080px;
  }
}

.wp-block-embed {
  padding-top: 60%;
  /* aspect-ratio: 16 / 9; */
  position: relative;
}
.wp-block-embed > div {
  /* background-color: red; */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: inline-block;
  height: auto;
}

.wp-block-embed > div > iframe {
  position: relative;
  width: 100%;
  height: 100%;
}
ul.dropdown-menu li:hover > ul.dropdown-menu,
ul.dropdown-menu li:focus > ul.dropdown-menu {
  display: block;
}

.buttons {
  border-top: 1px solid #e1e5e7;
  border-bottom: 1px solid #e1e5e7;
  width: 90%;
  max-width: 1080px;
  margin: auto;
}

.navbar-light .navbar-nav .nav-link {
  padding-right: 0px !important;
  padding-left: 22px !important;
}

.dropdown-item {
  padding: 0.25rem 1.3rem;
}

.menu-item {
  text-transform: uppercase;
  font-weight: normal;
  font-style: normal;
  font-size: 14px;
}

.navbar-expand-md .navbar-nav .dropdown-menu {
  margin-top: -1px;
}
.navbar-toggler {
  position: absolute;
  top: 16px;
  right: 16px;
  background-repeat: no-repeat;
  background-color: white;
  width: 36px;
  height: 36px;
  /* background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); */
}
@media (max-width: 768px) {
  .navbar-toggler-icon {
    width: 24px;
    height: 24px;
  }
  .buttons {
    border-top: 0px !important;
    border-bottom: 0px !important;
  }
}

.lang-chooser {
  justify-content: flex-end;
  flex-direction: row;
  z-index: 1200;
  margin-right: 100px;
}

.lang-chooser a {
  display: inline-block;
  padding-left: 22px;
}
.lang-chooser p {
  text-align: left;
}
.header-mover {
  height: 68px;
}
@media (min-width: 768px) {
  .lang-chooser p {
    text-align: right;
  }
  .lang-chooser {
    margin-right: 0;
  }
  .header-mover {
    height: 128px;
  }
}

.wp-block-image.size-large img {
	height: auto;
}



.ratio-4x3 {
    --bs-aspect-ratio: calc(468/700 * 100%);
}