/* HIJERARHIJE, NIVOI SKLOPIVI */

.nivo-sklopivi {
  position: relative;
  border: 1px solid gray;
  /* margin-bottom: 2px; */
  min-width: 640px;
  min-width: 960px;
}

/* prakticno imamo dva headera, stari se zove nivo-header a novi se zove info-traka */

.nivo-sklopivi .nivo-header {
  position: relative;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    rgba(209, 209, 209, 1) 100%
  );
  /* padding: 10px; */
  padding: 0;
  padding-left: 35px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  height: 60px;
  line-height: 60px;
}

.nivo-sklopivi.nivo-poluproizvod .sklopivi .nivo-header {
  padding-left: 35px;
  font-size: 20px;
  height: 60px;
}
.nivo-sklopivi.nivo-poluproizvod .sklopivi .nivo-header span {
  line-height: 60px;
}

.dev-mode .nivo-sklopivi .nivo-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    rgba(209, 209, 209, 1) 100%
  );
  padding: 0;
  padding-left: 35px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  flex-direction: row;
}
.dev-mode .nivo-sklopivi .nivo-header span {
  line-height: 60px;
}

.info-traka {
  position: relative;
  /* cursor: pointer; */
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  height: 60px;
  line-height: 60px;
  /*
  background: -webkit-linear-gradient(top, #f9f6f1 0%, #f2efea 100%);
  background: #f9f6f1;
  */
  background-color: white;
  border: 0px solid #f9f6f1;
  padding-left: 30px;
  padding-right: 10px;
  /* padding-right: 200px; */

  /* outline: 1px dashed red; */
  /* background-color: aquamarine; */
  /* box-shadow: inset 0px 0px 0px 5px aquamarine; */
}

.info-traka .item {
  min-width: 60px;
  margin-right: 15px;
}

.info-traka .item.naziv-komore {
  max-width: 60px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.info-traka .item.NOVO {
  max-width: 60px;
}

.push-header-fix {
  margin-top: 60px;
}

.dev-mode .nivo-sklopivi .info-traka {
  /* PRIVREMENO */
  top: 65px;
  display: none;
}

.sklopivi .nivo-toolbar,
.nivo-toolbar {
  position: absolute;
  right: 0;
  top: 15px;
}

.sklopivi .nivo-toolbar.two-rows-options,
.two-rows-options {
  position: absolute;
  right: 0;
  top: 4px;
  width: 170px;
}

.dev-mode .nivo-sklopivi .nivo-toolbar {
  /* PRIVREMENO */
  top: 68px;
}

.nivo-sklopivi.nivo-nosilac-troska .nivo-header {
  font-size: 24px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    rgb(170, 250, 177) 100%
  );
  /* background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(156,203,219,1) 100%); */
}

.btn.btn-dodaj-nosioca-troska {
  background-color: rgb(170, 250, 177);
}

.nivo-sklopivi.nivo-klima-komora .nivo-header {
  font-size: 22px;
  /* background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgb(203, 192, 211) 100%); */
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    rgb(184, 158, 154) 100%
  );
}

.nivo-sklopivi-v2 {
  border: unset;
  margin-bottom: 0;
  min-width: 640px;
}

.nivo-sklopivi.bordered,
.nivo-sklopivi-v2.bordered {
  border: 1px solid gray;
  border: 1px solid rgba(144, 144, 144, 1);
  border: 1px solid rgba(160, 160, 160, 1);
  margin-bottom: 2px;
}

.nivo-sklopivi:nth-child(odd) {
}

.nivo-sklopivi.nivo-klima-komora > .sklopivi > .info-traka {
  /*
  background: -webkit-linear-gradient(top, #f9f6f1 0%, #f2efea 100%);
  background: #f9f6f1;
  */
  background: rgba(225, 215, 200, 0.5);
}

.nivo-sklopivi:nth-child(odd).nivo-klima-komora > .sklopivi > .info-traka {
  /*
  background: -webkit-linear-gradient(top, #e9e6e1 0%, #dddbd6 100%);
  background: #dfdcd9;
  */
  background: rgba(225, 215, 200, 0.8);
}

.nivo-sklopivi.nivo-modul > .sklopivi > .info-traka {
  /* background: rgb(255, 236, 185); */
  background: rgba(236, 219, 173, 0.5);
}

.nivo-sklopivi:nth-child(odd).nivo-modul > .sklopivi > .info-traka {
  /* background: rgb(243, 216, 165); */
  background: rgba(236, 219, 173, 0.8);
}

.info-traka {
  font-size: 16px;
  font-weight: 600;
}

.btn.dodaj-klima-komoru {
  /* background-color: rgba(231, 233, 148, 0.7); */
  background-color: #dfdcd9;
}

.nivo-sklopivi.nivo-modul .nivo-header {
  font-size: 20px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    rgb(243, 216, 165) 100%
  );
}

.btn.dodaj-modul {
  background-color: rgba(243, 216, 165, 0.7);
}

.nivo-sklopivi.nivo-poluproizvod .nivo-header {
  font-size: 18px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    rgb(170, 207, 250) 100%
  );
  /* DUSAN DODAO */
  height: 60px;
}
.nivo-sklopivi.nivo-poluproizvod.svez .nivo-header {
  animation-name: blink-orange;
  animation-duration: 2s;
  animation-timing-function: ease-in;
  animation-iteration-count: 3;
}

.btn.dodaj-poluproizvod {
  background-color: rgba(170, 207, 250, 0.7);
}

.sklopivi .slika {
  float: right;
  width: 240px;
  margin-bottom: 5px;
}

.sklopivi .slika > img {
  max-width: 240px;
  height: auto;
}

.sklopivi > .pad {
  padding: 15px;
  /* outline: 1px dashed red; */
}
.draft-editor .sklopivi > .pad,
.draft-editor .sklopivi > .pad.push-header-fix {
  padding: 0;
  margin-top: 0;
  /* outline: 1px dashed red; */
}

.item.editor-v2-sekcija-izabrani-modul .pad.push-header-fix {
  padding: 15px;
  /* margin-top: 60px; */
  /* outline: 1px dashed red; */
}

.item.editor-v2-sekcija-izabrani-modul {
  flex: 1;
}

.nivo-sklopivi .nivo-children {
  padding-left: 30px;
}

.nivo-sklopivi .nivo-children h3 {
  margin: 0;
  margin-top: 10px;
  margin-bottom: 5px;
}

.nivo-sklopivi .nivo-children h4 {
  margin: 0;
  margin-top: 15px;
  margin-bottom: 10px;
}

.nivo-sklopivi .nivo-children > .btn {
  margin-top: 10px;
}

.trouglic {
  /*
  display: inline-block;
  height: 20px;
  width: 20px;
  margin-right: 10px;
  */
  z-index: 999;
  position: absolute;
  top: 15px;
  left: 0;
  height: 30px;
  width: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 30px;
  color: #282828;
}

.nivo-sklopivi.opened > .trouglic,
.scope-svi-opened .nivo-sklopivi .trouglic {
  transform: rotate(90deg);
}

.nivo-sklopivi-v2 > .trouglic {
}

.trouglic:hover {
  background: silver;
  cursor: pointer;
}

.icon-active {
  z-index: 950;
  position: absolute;
  top: 15px;
  left: 0;
  height: 30px;
  width: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 30px;
  color: #282828;
}

.icon-active:hover {
  background: rgba(120, 118, 115, 0.5);
  cursor: pointer;
}

.nivo-sklopivi.nivo-modul > .trouglic {
  /* display: none; */
}
.nivo-sklopivi.nivo-modul > .trouglic i {
  color: transparent;
  background-color: #282828;
  height: 8px;
  width: 8px;
  border-radius: 10px;
}

/* CARD */

.card {
  flex: 1;
  position: relative;
  clear: both;
  width: auto;
  overflow: hidden;
  overflow: visible; /* FIX for sticky */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  /* Dusan dodao da bi bila ista sirina kao ono gore, nisam znao drugacije */
  /* max-width: 910px; */
  width: max-content;
}

.card .card-header {
  height: 40px;
  line-height: 40px;
  /* background: -webkit-linear-gradient(top, #f9f6f1 0%, #f2efea 100%); */
  border: 1px solid #d6d6d6;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  padding-left: 10px;
  padding-right: 10px;
}

.card .card-body {
  flex: 1;
  padding: 20px 15px 15px;
  background: #fff;
  border: 1px solid #d5d5d5;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

/* DRAFT EDITOR */

.draft-editor {
  /* display: block; */
  /* Dusan promenio da bi sekcija za prikazivanje poruka bila u istom redu*/
  /*
  display: flex;
  width: 100%;
  overflow-y: auto;
  overflow-x: auto;
  */
  /* border: 1px solid orange; */
  /* outline: 1px solid orange; */
}

.draft-editor-none {
  display: none !important;
}

.draft-editor .nivo-nosilac-troska > .nivo-header {
  display: none;
}

.draft-editor .sklopivi.izuzetak-za-nn > .pad {
  padding-left: 0;
  padding-right: 0;
}

.draft-editor .ribbon {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  justify-content: flex-start;
  align-items: stretch;
}

/*
.draft-editor .ribbon > .item {
  display: flex;
  margin-right: 20px;
  margin-bottom: 20px;
}

.draft-editor .ribbon > .item:last-child,
.fix-fake-last-child {
  margin-right: 0px !important;
}
*/

.draft-editor .ribbon > .item.editor-v2-sekcija-klima-komore {
  flex: 1;
  min-width: 960px;
}

.display-nosilac-troska {
  width: 400px;
}

.draft-editor .ribbon > .item.izaberi-komoru .form-field > label {
  display: none;
}

.draft-editor .ribbon > .item.izaberi-komoru .radio-group {
  border-color: transparent;
}

.draft-editor .ribbon > .item.izabrani-modul {
  flex: 1;
}

.draft-editor .ribbon > .item .izuzetak-sakrij-header > .nivo-header {
  display: none;
}

.draft-editor .ribbon > .item .izuzetak-sakrij-header > .sklopivi {
  border: unset;
  padding: unset;
}

.draft-editor .ribbon > .item .izuzetak-sakrij-header > .sklopivi > .pad {
  padding: 0;
}

.draft-editor .ribbon > .item .card-body > .nivo-sklopivi {
  border: unset;
}
.draft-editor
  .ribbon
  > .item
  .card-body
  > .nivo-sklopivi
  .nivo-sklopivi.nivo-modul {
  border: unset;
}

/* Dusan dodao */

.nesto .svi-nivoi {
  max-width: 910px;
}

.hr-display-nivo {
  width: 300px;
}

.flex {
  display: flex;
}

.justify-space-between {
  justify-content: space-between;
}

.justify-start {
  justify-content: start;
}

.display-klima-komora {
  width: 300px;
}

.display-modul {
  width: 300px;
}

.editor-v2-sekcija-izabrani-modul .card .card-header {
  display: flex;
}

.editor-v2-sekcija-izabrani-modul .card .card-header .card-header-btn {
  display: flex;
  flex: 1;
  justify-content: flex-end;
}

.editor-v2-sekcija-izabrani-modul .card .card-header .card-header-btn .btn {
  position: absolute;
  top: 10px;
}

.remove-margin {
  margin: 0;
}

/* DUSAN DODAO da se sklopivi ne smanjuje kad je prazan */
.sklopivi .info-traka {
  min-width: 960px;
}
