body {
  box-sizing: border-box;
}
body,
.modal-content {
  background: #2d2e34;
}

/* LOGIN */

.login-wrapper .card {
  background-color: #474951;
}

.login-wrapper .card .card-heading {
  background-color: #474951;
}
.login-wrapper .card .card-heading h3 {
  color: white;
}
.select2-container {
  z-index: 2050;
}

.login-wrapper .card .form-group .form-control {
  background: #1f2024 !important;

  color: white;
}

.login-wrapper .card .form-group ::placeholder {
  color: white;
}

.login-wrapper .card .btn {
  background: linear-gradient(185.72deg, #667eea 0%, #764ba2 100%);
}

/* LOGIN KRAJ*/

/* LOAD */
.load-progres {
  position: fixed;
  top: 0;
  left: 250px;
  right: 0;
  width: 100%;
  background-color: #3b3c44;
}

.load-bar {
  width: 1%;
  height: 3px;
  background-color: #3b3c44;
  transition: width 500ms ease-out;
}

.load-bar.active {
  background-color: #333;
}

/* LOAD KRAJ*/

/* BOČNI MENI */
.flex-wrap .sidebar {
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: #474951;
  z-index: 999;
  overflow-y: auto;
  overflow-x: hidden;
}

.flex-wrap .sidebar {
  width: 250px;
}

.flex-wrap .sidebar .dropdown-menu {
  background: #444;
}

.flex-wrap .item {
  font-size: 14px;
  line-height: 24px;
  padding: 18px 0px 18px 18px;
}
.flex-wrap .item h3 {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-wrap .item .logo {
  margin-left: 22px;
}

.flex-wrap .item a {
  color: #ffff;
  text-decoration: none;
  opacity: 0.8;
  display: flex;
}

.flex-wrap .item a:hover {
  color: #aaa;
  opacity: 1;
}

.flex-wrap .item a .pozadina {
  margin-right: 20px;
  width: 22px;
  height: 22px;
  background: white;
}

.flex-wrap .item.naslov {
  padding-right: 0px;
  padding-left: 0px;
  display: flex;
  align-items: center;
}

.flex-wrap .item.naslov p {
  color: #898c99;
  margin: 0;
  width: fit-content;
  margin-right: 12px;
}

.flex-wrap .item.naslov div {
  width: 70%;
  border-bottom: 1px #2f3137 solid;
}

.flex-wrap .item.active {
  background-color: #2d2e34;
  border-radius: 7px;
}

.flex-wrap .item.active img {
  display: none;
}
.flex-wrap .item.active .pozadina {
  background: linear-gradient(185.72deg, #667eea 0%, #764ba2 100%);
}

/* BOČNI MENI KRAJ*/

/* MAIN */
.flex-wrap main {
  margin-left: 250px;
}

#view {
  padding: 0 0 40px 0;
  min-height: 250px;
}

/* KRAJ MAIN*/

/* ZAGLAVLJE*/
.zaglavlje {
  display: flex;
  position: relative;
}
.breadcrumb {
  padding: 28px 42px 28px 32px;
  margin-bottom: 0px;
  background: #3b3c44;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 85%;
}

.breadcrumb > li {
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.dataTables_wrapper .dataTables_filter {
  position: absolute;
  font-style: italic;
  left: 360px;
  top: -75px;
  width: 40%;
}
.dataTables_wrapper .dataTables_filter label {
  width: 100%;
}

div.dataTables_wrapper div.dataTables_filter input {
  width: 100%;
  height: 48px;
  color: white;
  background: #26272c;
  border-radius: 24px;
  box-shadow: none;
  border: none;
  padding: 0 10px;
  background-image: url('/admin/img/lupa.png');
  background-position: 95% center;
  background-repeat: no-repeat;
}

.breadcrumb .export {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.breadcrumb .export img {
  flex-grow: 0;
}

.breadcrumb .export p {
  margin: 0;
  margin-right: 17px;
  color: white;
  font-size: 14px;
}

.breadcrumb img {
  display: block;
  margin-right: 32px;
}
.breadcrumb .export img {
  flex-grow: 0;
  margin-right: 17px;
}

.breadcrumb .pozadina {
  width: 22px;
  height: 22px;
  background: linear-gradient(185.72deg, #667eea 0%, #764ba2 100%);
  margin-right: 30px;
}

.dt-buttons {
  margin-top: 16px;
  display: none;
  flex-direction: column;
  width: fit-content;
  padding-right: 135px;
  position: absolute !important;
  border-radius: 4px;
  background: white;

  top: -40px;
  right: 18%;
}

.dt-buttons .btn {
  background: none;
  border: none;
  box-shadow: none;
  text-transform: none;
  color: #1f2024;
}

.zaglavlje .user_loged {
  width: 15%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #474951;
  cursor: pointer;
}

.zaglavlje .user_loged p {
  margin-bottom: 0;
  margin-right: 14px;
  color: white;
  font-size: 14px;
}
.zaglavlje .triangle {
  position: absolute;
  top: 100%;
  left: 30px;
}
/* ZAGLAVLJE KRAJ*/
.zaron_kategorija {
  display: none;
}
/* TABLICA*/
.table-container {
  margin: 0 25px;
}
#datatable {
  background: #2d2e34;
  border-collapse: separate;
  border-spacing: 0 8px;
  width: 100% !important;
}

table.datatable td.radnje {
  width: 120px;
}

.dataTables_wrapper .dataTables_paginate .pagination {
  display: flex;
  align-items: center;
  justify-content: right;
}
.dataTables_wrapper .dataTables_paginate .pagination li a {
  background-color: #2d2e34 !important;
  color: white;
  border: none;
}

.dataTables_wrapper .dataTables_paginate .pagination li.active a {
  color: #8599f4;
}

thead tr .sorting::after {
  display: none !important;
}

thead tr .sorting::before {
  display: none !important;
}

thead tr .sorting {
  white-space: nowrap !important;
  width: fit-content !important;
}

.radnje {
  width: fit-content !important;
}

.dataTables_wrapper .dataTables_paginate .pagination li.previous a {
  background-image: url(/admin/img/prev.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.dataTables_wrapper .dataTables_paginate .pagination li.next a {
  background-image: url(/admin/img/next.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
thead,
tbody {
  background: #2d2e34;
  color: white;
}
tbody tr td {
  background-color: #1f2024 !important;
  border: none;
  border-right: 1px solid #2f3137 !important;
  vertical-align: middle;
}
tbody tr td:first-child {
  border-radius: 8px 0 0 8px;
  border-right: none;
}
tbody tr td:last-child {
  border-radius: 0px 8px 8px 0;
}

/* TABLICA KRAJ*/

/* NOVI UNOS*/
.btn-row button {
  position: fixed;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  right: 25px;
  top: 90vh;
  z-index: 99;
  background: radial-gradient(
    91.82% 354.32% at 96.97% 15.63%,
    #667eea 0%,
    #764ba2 100%
  );
  box-shadow: 0px 4px 11px rgba(0, 0, 0, 0.17);
  border-radius: 24px !important;
  padding: 12px 14px;
  text-transform: none;
  font-size: 14px;
  border: none;
}
.btn-row button i {
  margin-left: 20px;
  -webkit-text-stroke: 1px #6a73da;
}

/* KRAJ NOVI UNOS*/

/* MODAL*/

.modal-header {
  justify-content: right;
}

.close {
  background-image: url(/admin/img/close.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 12px;
  height: 12px;
  border: none;
  background-color: transparent;
}

.modal-body label {
  margin-bottom: 10px;
}

.modal-body .form-group {
  margin-bottom: 24px;
  position: relative;
}

.modal-body .form-group .js-toggle-password {
  position: absolute;
  top: 55px;

  right: 10px;
}

.buttons {
  display: flex;
}
.buttons button {
  width: 95%;
}

.buttons .col-sm-6:last-child {
  display: flex;
  justify-content: right;
}
/*KRAJ MODAL*/

.modal-content {
  background-color: white;
}

.modal-header,
.modal-body {
  padding-left: 51px;
  padding-right: 51px;
}

.modal-lg {
  width: 50%;
}

.modal-content .modal-body input {
  background-color: #ececee;
  border-radius: 8px !important;
  height: 64px;
}

.modal-content .modal-body textarea {
  background-color: #ececee;
  border-radius: 8px !important;
}

.modal-content .modal-body input.upload {
  background-color: transparent;
}
.modal-content .modal-body input:focus {
  box-shadow: none;
}
.modal-content .modal-body select {
  background-color: #ececee !important;
  border-radius: 8px !important;
  height: 64px;
}
.modal-content .modal-body select:focus {
  box-shadow: none;
}

.modal-content .modal-body button {
  border-radius: 24px !important;
  box-shadow: none;
}

.modal-content .modal-body form .row:last-child div div div:first-child button {
  border: solid 1px #a5a6b1;
}

.modal-content .modal-body form .row:last-child div div div:last-child button {
  background-color: #667eea;
  color: white;
}

.modal-content
  .modal-body
  form
  .row:last-child
  div
  div
  div:last-child
  button
  i {
  -webkit-text-stroke: 1px #667eea;
}
.flex-wrap .odjava {
  position: absolute;
  background-color: white;
  top: 80px;
  right: 0;
  width: calc((100% - 250px) * 0.15);
  z-index: 100;
  border-radius: 4px;
  display: none;
}

.flex-wrap .odjava .item a {
  color: black;
}

/* ck editor */

.ck-editor__editable_inline {
  min-height: 300px !important;
}

.ck-balloon-panel {
  z-index: 9999 !important;
}

table.datatable td.skrati {
  width: 100px !important;
}

.select2-container .select2-choices {
  background-color: #ececee !important;
  border-radius: 8px !important;
  height: 64px !important;
}
.select2-choices:focus {
  box-shadow: none;
}
.select2-search-choice-close {
  position: relative !important;
  left: -15px !important;
  top: -5px !important;
}
a.povratak {
  color: #6c757d !important;
}

.galerija-preview-trenutne-slika {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.galerija-preview-create-slika {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.galerija-preview-update-slika {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.galerija-preview-trenutne-slika a {
  position: static !important;
  display: block !important;
  width: 150px !important;
  max-width: 150px !important;
}

.galerija-preview-trenutne-slika a img {
  width: 100% !important;
  max-width: 100% !important;
}
.galerija-preview-create-slika img {
  width: 150px !important;
  max-width: 150px !important;
}

.galerija-preview-update-slika img {
  width: 150px !important;
  max-width: 150px !important;
}
