body{
    box-sizing: border-box;
}
body,
.modal-content {
     background: #2D2E34; 
}

/* LOGIN */
.login-wrapper{
   color: #6c757d;
    background-image:url(../../img/bg-login.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
 
}
.login-wrapper .card{
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.login-wrapper .card .card-heading{
    background-color: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    height: 60px;
    padding: 10px;

}

.login-wrapper .card .card-heading img{
    max-height: 90%;
}

.login-wrapper .card .card-body p{
    text-align: center;
}
.login-wrapper .card .card-body label{
    padding-bottom: 8px!important;
}
.login-wrapper .card .card-body .link{
    text-align: center;
    width: 100%;
    display: block;
}
.login-wrapper .card .card-body a{
    color: red;
}
.login-wrapper .card .card-body .bottom{
   display: flex;
   justify-content: space-between;
   align-items: center;
}
.login-wrapper .card .form-group .form-control{
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.2)!important;
    color: #6c757d;
    
}

.login-wrapper .card .form-group ::placeholder{

    color: #6c757d;
}

.login-wrapper .card .btn{
 background: #00aeef;
}


/* 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: .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: 450px;
    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*/

/* 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 a{
    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;
 }
