.path-frontpage .sudovi-custom-courts-structure-block {
  margin-bottom: 60px;
}

.sudovi-custom-courts-structure-block-en {
  margin-top: 100px;
}

.sudovi-custom-courts-structure-block h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.75em;
  font-weight: 500;
  line-height: 1.8em;
  color: #252a37;
  padding-bottom: 12px;
  border-bottom: 5px solid #249ec5;
  margin-bottom: 65px;
}

.high-contrast .sudovi-custom-courts-structure-block h2 {
  border-bottom: 5px solid #0060aa;
}

.page-node-type-o-sudovima .sudovi-custom-courts-structure-block {
  margin-bottom: 35px;
}

.page-node-type-o-sudovima .sudovi-custom-courts-structure-block h2 {
  display: none;
}

.sudovi-custom-courts-structure-block::after {
  content: "";
  display: table;
  clear: both;
}

.sudovi-custom-courts-structure-block .sudovi-custom-courts-structure {
  display: table;
  width: 100%;
  position: relative;
}

.sudovi-custom-courts-structure-block .sudovi-custom-courts-structure .borders {
  display: table-cell;
  width: 1px;
}

.sudovi-custom-courts-structure-block .sudovi-custom-courts-structure .borders::before {
  content: '';
  width: 100%;
  height: calc(100% - 50px);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border-left: 1px dashed #a9bbca;
}

.high-contrast .sudovi-custom-courts-structure-block .sudovi-custom-courts-structure .borders::before {
  border-left: 2px dashed #003366;
}

.sudovi-custom-courts-structure-block .sudovi-custom-courts-structure .courts-content {
  display: table-cell;
  width: calc(100% - 1px);
}

.sudovi-custom-courts-structure-block .item {
  display: table;
  width: 100%;
}

.sudovi-custom-courts-structure-block .item .line {
  display: table-cell;
  width: 10%;
  position: relative;
}

.sudovi-custom-courts-structure-block .item:first-child .line::before {
  content: '';
  display: block;
  width: 60%;
  height: 1px;
  position: absolute;
  top: 32px;
  left: 0;
  border-top: 1px dashed #a9bbca;
}

.high-contrast .sudovi-custom-courts-structure-block .item:first-child .line::before {
  border-top: 2px dashed #003366;
}

.sudovi-custom-courts-structure-block .item:not(:first-child):nth-child(odd),
.sudovi-custom-courts-structure-block .item:nth-child(2) {
  margin-bottom: 34px;
}

.sudovi-custom-courts-structure-block .item:first-child .line::after {
  content: '';
  display: block;
  position: absolute;
  top: 26px;
  left: 65%;
  width: 14px;
  height: 14px;
  background: url(/themes/evidente/images/circle.svg);
  background-size: 14px 14px;
  background-repeat: no-repeat;
}

.sudovi-custom-courts-structure-block .item:not(:first-child):nth-child(even) .line::before,
.sudovi-custom-courts-structure-block .item:nth-child(3) .line::before {
  content: '';
  display: block;
  width: 60%;
  height: 1px;
  position: absolute;
  top: 25px;
  left: 0;
  border-top: 1px dashed #a9bbca;
}


.high-contrast .sudovi-custom-courts-structure-block .item:not(:first-child):nth-child(even) .line::before {
  border-top: 2px dashed #003366;
}

.sudovi-custom-courts-structure-block .item:not(:first-child):nth-child(even) .line::after,
.sudovi-custom-courts-structure-block .item:nth-child(3) .line::after {
  content: '';
  display: block;
  position: absolute;
  top: 19px;
  left: 65%;
  width: 14px;
  height: 14px;
  background: url(/themes/evidente/images/arrow_blue_right.svg);
  background-size: 14px 14px;
  background-repeat: no-repeat;
}

.sudovi-custom-courts-structure-block .item .item-content {
  display: table-cell;
  width: 90%;
}

.sudovi-custom-courts-structure-block .item .title a,
.sudovi-custom-courts-structure-block .item .title div {
  display: block;
  width: 100%;
  padding: 15px 0 15px 75px;
  font-size: 1.125em;
  line-height: 1.1375em;
  font-weight: 600;
  color: #ffffff;
  border-radius: 3px;
  background-color: #0060aa;
  cursor: pointer;
  position: relative;
  margin-bottom: 3px;
}

body.dyslexia .sudovi-custom-courts-structure-block .item .title a,
body.dyslexia .sudovi-custom-courts-structure-block .item .title div {
  letter-spacing: 1px;
}

.sudovi-custom-courts-structure-block .item .title a:hover,
.sudovi-custom-courts-structure-block .item .title div:hover {
  background-image: linear-gradient(to left, #2285d2, #0060aa);
  color: #FFFFFF;
}

.sudovi-custom-courts-structure-block .item:not(:first-child):not(:nth-child(3)):nth-child(odd) .title a,
.sudovi-custom-courts-structure-block .item:not(:first-child):nth-child(odd) .title div {
  background-color: #249ec5;
}

.high-contrast .sudovi-custom-courts-structure-block .item:not(:first-child):not(:nth-child(3)):nth-child(odd) .title a,
.high-contrast .sudovi-custom-courts-structure-block .item:not(:first-child):nth-child(odd) .title div {
  background-color: #003366;
}

.sudovi-custom-courts-structure-block .item:not(:first-child):not(:nth-child(3)):nth-child(odd) .title a:hover,
.sudovi-custom-courts-structure-block .item:not(:first-child):nth-child(odd) .title div:hover {
  background-image: linear-gradient(to left, #3db5dc, #249ec5);
}

.high-contrast .sudovi-custom-courts-structure-block .item:not(:first-child):not(:nth-child(3)):nth-child(odd) .title a:hover,
.high-contrast .sudovi-custom-courts-structure-block .item:not(:first-child):nth-child(odd) .title div:hover {
  background-image: linear-gradient(to right, #003366, #05519c);
}

.sudovi-custom-courts-structure-block .item:first-child .title a {
  background-color: #003366;
  font-size: 1.375em;
  line-height: 2em;
  margin-bottom: 45px;
  padding: 12px 0 12px 75px;
}

.sudovi-custom-courts-structure-block .item:first-child .title a:hover {
  background-image: linear-gradient(to right, #003366, #05519c);
}

.sudovi-custom-courts-structure-block .item .title a::before,
.sudovi-custom-courts-structure-block .item .title div::before {
  content: '';
  display: block;
  position: absolute;
  background-repeat: no-repeat;
}

.sudovi-custom-courts-structure-block .item:first-child .title a::before {
  top: 19px;
  left: 23px;
  width: 35px;
  height: 30px;
  background-image: url(/themes/evidente/images/court_big.svg);
  background-size: 35px 30px;
}

.sudovi-custom-courts-structure-block .item:not(:first-child):nth-child(even) .title a::before,
.sudovi-custom-courts-structure-block .item:not(:first-child):nth-child(even) .title div::before {
  top: 10px;
  left: 23px;
  width: 34px;
  height: 30px;
  background-image: url(/themes/evidente/images/court_medium.svg);
  background-size: 34px 30px;
}

.sudovi-custom-courts-structure-block .item:not(:first-child):nth-child(odd) .title a::before,
.sudovi-custom-courts-structure-block .item:not(:first-child):nth-child(odd) .title div::before {
  top: 13px;
  left: 25.5px;
  width: 26px;
  height: 23px;
  background-image: url(/themes/evidente/images/court_small.svg);
  background-size: 26px 23px;
}

.sudovi-custom-courts-structure-block .item:last-child .title a,
.sudovi-custom-courts-structure-block .item:last-child .title div {
  margin-bottom: 0 !important;
}

.sudovi-custom-courts-structure-block .item .title.collapsed div::after {
  content: '';
  display: block;
  position: absolute;
  top: 21px;
  right: 23px;
  width: 22px;
  height: 10px;
  background-image: url(/themes/evidente/images/arrow_down.svg);
  background-size: 22px 10px;
  background-repeat: no-repeat;
  -webkit-transition: transform 0.2s;
  -moz-transition: transform 0.2s;
  -ms-transition: transform 0.2s;
  -o-transition: transform 0.2s;
  transition: transform 0.2s;
}

.sudovi-custom-courts-structure-block .item .title.collapsed.open div::after {
  /*background-image: url(/themes/evidente/images/arrow_up.svg);*/
  transform: rotate(180deg);
}

.sudovi-custom-courts-structure-block .item .items {
  display: none;
  max-height: 384px;
  overflow-x: hidden;
  border-radius: 3px;
  box-shadow: 0 3px 6px 0 #e0e5f0;
  margin-bottom: 5px;
  position: relative;
}

.sudovi-custom-courts-structure-block .item .items.scroll::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 10px;
  background-color: #a9bbca;
  width: 3px;
  height: 100%;
}

.sudovi-custom-courts-structure-block .item .items .simplebar-track.horizontal {
  display: none;
}

.sudovi-custom-courts-structure-block .item .items .simplebar-scrollbar {
  right: 7.5px;
  width: 9px;
}

.sudovi-custom-courts-structure-block .item .items .simplebar-scrollbar::before {
  background-color: #249EC5;
  opacity: 1;
}

.sudovi-custom-courts-structure-block .item .items a {
  display: block;
  font-size: 0.875em;
  font-weight: 600;
  line-height: 2.29;
  color: #414b52;
  padding: 0 20px;
}

body.dyslexia .sudovi-custom-courts-structure-block .item .items a {
  color: #000000;
  font-size: 1em;
}

.sudovi-custom-courts-structure-block .item .items a:hover {
  background-color: rgba(36, 158, 197, 0.16);
}

.sudovi-custom-courts-structure-block .top-overlay,
.sudovi-custom-courts-structure-block .bottom-overlay {
  position: absolute;
  left: 0;
  background-color: #FFFFFF;
  width: 10%;
}

.sudovi-custom-courts-structure-block .top-overlay {
  top: 0;
  height: 32px
}

.sudovi-custom-courts-structure-block .bottom-overlay {
  bottom: 0;
  left: 0;
  height: 111px;
}

.sudovi-custom-courts-structure-block .sudovi-modal .modal-body p {
  font-size: 1.2em;
  margin: 0;
}

@media (max-width: 991px) {
  .sudovi-custom-courts-structure-block h2 {
    margin-bottom: 40px;
  }

  .sudovi-custom-courts-structure-block .bottom-overlay {
    height: 118px;
  }

  .sudovi-custom-courts-structure-block .item .title a,
  .sudovi-custom-courts-structure-block .item .title div {
    font-size: 1em;
    line-height: 1.5em;
    padding: 15px 0 15px 55px;
  }

  .sudovi-custom-courts-structure-block .item:first-child .title a {
    font-size: 1em;
    line-height: 1.5em;
    padding: 15px 0 15px 55px;
  }

  .sudovi-custom-courts-structure-block .item:first-child .title a::before {
    top: 13px;
  }

  .sudovi-custom-courts-structure-block .item:first-child .title a::before {
    left: 13px;
  }

  .sudovi-custom-courts-structure-block .item:not(:first-child):nth-child(even) .title a::before,
  .sudovi-custom-courts-structure-block .item:not(:first-child):nth-child(even) .title div::before {
    left: 13px;
  }

  .sudovi-custom-courts-structure-block .item:not(:first-child):nth-child(odd) .title a::before,
  .sudovi-custom-courts-structure-block .item:not(:first-child):nth-child(odd) .title div::before {
    left: 16px;
  }

  .sudovi-custom-courts-structure-block .item .items a {
    line-height: 1.5em;
    padding: 5px 20px;
  }

  .sudovi-custom-courts-structure-block .sudovi-custom-courts-structure .borders,
  .sudovi-custom-courts-structure-block .item .line {
    display: none;
  }

  .sudovi-custom-courts-structure-block .item .item-content {
    width: 100%;
  }
}
