﻿/* STYLESHEET FOR CUSTOM CLASSES, WIJMO AND DEVEX OVERRIDES*/

/* TEMPLATE TOOLBAR */
.template-wizard{
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    padding-right: 0px !important;
    /*background-color: #325b80;*/
    padding-left: 66px;
}
/* TEMPLATE NEW */
.template-new-left{
    background-color: #f4f4f4;
}
.template-new-left .title{
    display: block;
    width: 100%;
    float: left;
}
.template-new-left h2 {
    font-weight: 400;
    display:block;
    float:left;
}
.template-expert-switch{
    display: block;
    float: right;
}
.template-expert-switch span{
    font-weight: bold;
    text-transform: uppercase;
}
.template-new-left .template-expert-switch{
    padding-top: 18px;
}
.template-new-right {
    border-left: 1px solid #cccccc; 
    background-color: #ffffff;
    height:100%;
    min-height:100%;
    display:block;
    float:left;
    padding:0px;
}
.template-new-right h2{
    font-weight: 400;
}
.template-new-excel{
    display:block;
    float:left;
    padding-left: 0px;
    padding-right: 0px;
    width:100%;
    /* Firefox */
    height: -moz-calc(100% - 80px);
    min-height: -moz-calc(100% - 80px);
    /* WebKit */
    height: -webkit-calc(100% - 80px);
    min-height: -webkit-calc(100% - 80px);
    /* Opera */
    height: -o-calc(100% - 80px);
    min-height: -o-calc(100% - 80px);
    /* Standard */
    height: calc(100% - 80px);
    min-height: calc(100% - 80px);
    border: 1px solid #cccccc;
}
.template-new-excel-test{
    display:block;
    float:left;
    padding-left: 0px;
    padding-right: 0px;
    width:100%;
    height: 600px;
    min-height: 600px;
    border: 1px solid #cccccc;
}
.template-new-excel .wj-sheet-tab ul li{
    padding-left: 15px;
    padding-right: 15px;
}
.template-new-excel .wj-content{
    border-radius: 0px !important;
}
.template-image-upload{

}
.template-image-upload .dx-fileuploader-wrapper{
    padding: 0px;
}
.template-image-upload .dx-fileuploader-container{
    width: auto;
}
.template-image-upload .dx-fileuploader-input-wrapper{
    padding: 0px;
    margin: 0px;
    border: none 0px;
}
.template-image-upload .dx-fileuploader-input-container,
.template-image-upload .dx-fileuploader-input-label,
.template-image-upload .dx-fileuploader-files-container
{
    display:none;
}
/* TEMPLATE DB */
.template-db-excel{
    height:100%;
    min-height:100%;
    display:block;
    float:left;
    padding-left: 0px;
    padding-right: 0px;
    border: 1px solid #cccccc;
}
.template-db-excel .wj-content{
    border-radius: 0px !important;
}
.template-db-sidebar{
    display:block;
    float:right;
    height:100%;
    min-height:100%;
    padding: 0px;
    background-color: #f4f4f4;
}
.template-db-clear-btn{
    width: 130px;
}
.template-db-info {
    display:block;
    float:right;
    width: -moz-calc(100% - 145px);
    width: -webkit-calc(100% - 145px);
    width: -o-calc(100% - 145px);
    width: calc(100% - 145px);
    height: 32px;
    line-height: 32px;
    font-size: 18px;
    color: rgb(0, 0, 0);
}
/* TEMPLATE DB TABLE */
.template-db-table .form-control, .template-db-table .single-line {
    padding: 6px;
}
.template-db-table select{
    padding: 3px
}
.template-db-table .inline.dropdown {
    margin: 0px;
}
.template-db-table .custom-group-btn {
    border-radius: 0px 3px 3px 0px;
}


/* TEMPLATE FORM OPTIONS/EDIT */
.template-edit{
    height:100%;
    min-height:100%;
    display:block;
    float:left;
    width: -moz-calc(100% - 350px);
    width: -webkit-calc(100% - 350px);
    width: -o-calc(100% - 350px);
    width: calc(100% - 350px);
    background-color: #FFFFFF;
}
.template-edit-spreadsheet{
    display: block;
    width: 100%;
    position: relative;
    float: left;
    /* Firefox */
    height: -moz-calc(100% - 80px);
    min-height: -moz-calc(100% - 80px);
    /* WebKit */
    height: -webkit-calc(100% - 80px);
    min-height: -webkit-calc(100% - 80px);
    /* Opera */
    height: -o-calc(100% - 80px);
    min-height: -o-calc(100% - 80px);
    /* Standard */
    height: calc(100% - 80px);
    min-height: calc(100% - 80px);
}
#document-edit .wj-content,
.template-edit-spreadsheet .wj-content {
    border-radius: 0px !important;
}
/* TEMPLATE EDIT TOOLBAR*/
.template-edit-toolbar{
    display: block;
    width: 100%;
    float: left;
    clear: left;
    padding: 5px;
    background-color: #eaeaea;
    border-bottom: 1px solid #d4d4d4;
    height: auto;
}
.template-edit-toolbar input{
    background-color: #ffffff !important;
}
.template-edit-toolbar .toolbar-first-row-fix{
    padding-bottom: 5px;
}
.template-edit-toolbar .toolbar-address-formula{
    border: 1px solid #d4d4d4;
    background-color: #eaeaea;
}
/* ADDRESS AND FORMULA GROUPS */
.address-group {
    float: left;
    width: 15%
}
.formula-group {
    float: left;
    width: 85%
}
@media (max-width: 1551px) {
    .address-group {
      width: 25%;
    }
    .formula-group {
      width: 75%;
    }
    .import-fontsize-group {
      margin-top: 5px;
    }
}
@media (max-width: 1441px) {
    .import-font-group {
      margin-top: 5px;
    }
}
@media (max-width: 1359px) {
    .edit-fontsize-group {
      margin-top: 5px;
    }
}
@media (max-width: 1303px) {
    .edit-font-group {
      margin-top: 5px;
    }
}
/* TEMPLATE GRID OPTIONS */
.template-grid-left{
    padding: 0px;
    border-right: 1px solid rgb(212,212,212);
    background-color: #f4f4f4;
}
.template-grid-right{
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 15px;
    padding-right: 15px;
    background-color: #ffffff;
}
.template-grid-right .grid-wrapper{
    display: block;
    width: 100%;
    position: relative;
    /* Firefox */
    height: -moz-calc(100% - 160px);
    min-height: -moz-calc(100% - 160px);
    /* WebKit */
    height: -webkit-calc(100% - 160px);
    min-height: -webkit-calc(100% - 160px);
    /* Opera */
    height: -o-calc(100% - 160px);
    min-height: -o-calc(100% - 160px);
    /* Standard */
    height: calc(100% - 160px);
    min-height: calc(100% - 160px);
}
/* TEMPLATE PUBLISH OPTIONS */
.template-publish-left {
    background-color: #f4f4f4;
}
.template-publish-right {
    border-left: 1px solid #cccccc; 
    background-color: #ffffff;
}
.publish-permission-header{
    width: 68px;
    text-align:center;
}
.publish-permission-chkboxcell{
    padding-left: 21px !important;
}
.publish-user-search {
    width: 50%;
    margin-right: 5px;
    float: right !important;
}
/* SPREADSHEET DOCUMENT */
.spreadsheet-document{
    height:100%;
    min-height:100%;
    display:block;
    float:left;
    width: 100%;
    background-color: #FFFFFF;
}
/* TABLE EDIT*/
.table-edit-wrapper{
    background-color: #eaeaea;
}
.table-edit-wrapper .left-col{
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 15px;
    padding-bottom: 15px;
}
.table-edit-wrapper .right-col{
    display:block;
    float:right;
    height:100%;
    min-height:100%;
    padding: 15px;
    background-color: #e5e4e9;
    border-left: 1px solid #cccccc;
}
/* LOOKUP EDIT */
.lookup-edit{
    display: block;
    width: 100%;
    position: relative;
    height: 450px;
    min-height: 450px;
}
.lookup-edit .left-col{
    height:100%;
    min-height:100%;
    padding: 0px;
    border-right: 1px solid rgb(212,212,212);
    background-color: #f4f4f4;
}
.lookup-edit .right-col{
    height:100%;
    min-height:100%;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 15px;
    padding-right: 15px;
}
.lookup-edit .right-col .grid-wrapper{
    display: block;
    width: 100%;
    position: relative;
    /* Firefox */
    height: -moz-calc(100% - 100px);
    min-height: -moz-calc(100% - 100px);
    /* WebKit */
    height: -webkit-calc(100% - 100px);
    min-height: -webkit-calc(100% - 100px);
    /* Opera */
    height: -o-calc(100% - 100px);
    min-height: -o-calc(100% - 100px);
    /* Standard */
    height: calc(100% - 100px);
    min-height: calc(100% - 100px);
}
/* WIJMO CLASSES */
#document-edit .wj-flexgrid {
    position: absolute;
    left: 0px;
    top: 0px;
    bottom: 0px;
    right: 0px;
    /*background-color: #ffffff;*/
}
.wj-cell{
  /* OVO AKO NIJE POTREBNO TREBA MAKNUTI */
  padding: inherit !important;
  word-break: break-all;
  white-space: normal;
  /* BORDERI */
  /* MAKNUTO U NOVOJ VERZIJI - DINAMIČKI SE UČITAVAJU */
  /*
  border-right-color:rgba(0, 0, 0, 0.0);
  border-bottom-color:rgba(0, 0, 0, 0.0);
  border-top-color:rgba(0, 0, 0, 0.0);
  border-left-color:rgba(0, 0, 0, 0.0);
  */
}
.wj-cell input{
  word-break: break-all;
  white-space: normal;
  text-align: inherit !important;
}
.wj-frozen{
  background-color: #ffffff;
}
.wj-new-sheet {
  display: none !important;
}
.wj-content {
    display: inline-block;
    /*
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 0px;
    */
    border:none;
    /*background-color: transparent;*/
    outline: none;
    box-sizing: border-box;
}
.wj-calendar-outer{
    background-color: #fff !important;
}
.wj-listbox{
    background-color: #fff !important;
}
.wj-input input {
  text-align: inherit !important;
}
/* TEMPLATE CELL */
.wj-template-cell{
    /*
    background-color:#d4f0ff !important;
    */
    background-image: url('images/wj-blue-cell.png') !important;
}
.wj-template-cell.wj-state-active {
    background-color: #96d9ff;
}
.wj-template-cell-hidden{
    color: white !important;
}
.wj-template-cell-hidden input{
    display: none;
}
.wj-template-cell-hidden .wj-custom-editor {
    display: none;
}
/* DATE PICKER */
.wj-template-dtpicker-cell{
    background-image: url('images/wj-blue-cell.png');
    padding: 0px;
}
.wj-template-dtpicker-cell .wj-custom-editor{
    width: 100%;
    height: 100%;
    /* Bez ove linije se ponaša čudno*/
    display: block;
}


.wj-template-dtpicker-cell .wj-template {
    width: 100%;
    height: 100%;
    display: block;
}
.wj-template-dtpicker-cell .wj-input-group{
    min-height: 100%;
    max-height: 100%;
    height: 100%;
    border-radius: 0px;
}
.wj-template-dtpicker-cell .wj-input-group .wj-form-control{
    min-height: 100%;
    max-height: 100%;
    height: 100%;
    padding: inherit !important;
}
.wj-template-dtpicker-cell .wj-input-group-btn{
    min-height: 100%;
    max-height: 100%;
    height: 100%;
    text-align: center;
    vertical-align: middle;
}
.wj-template-dtpicker-cell .wj-input-group-btn button{
    display: inline-grid;
    min-height: 100%;
    max-height: 100%;
    height: 100%;
    text-align: center;
    vertical-align: middle;
    background-color: #6c8091;
    color: #ffffff;
    border-left: 1px solid rgba(255,255,255,0.2);
}
.wj-template-dtpicker-cell .wj-input-group-btn button:hover{
    color: white;
    background-color: #445764 !important;
    border: 1px solid #445764;
}
/* LOOKUP */
.wj-template-lookup-cell {
  background-image: url('images/wj-blue-cell.png');
  font-family: inherit;
  font-size: inherit;
  padding: 0px;
}
.wj-template-lookup-cell .wj-custom-editor{
    width: 100%;
    height: 100%;
    /* Bez ove linije se ponaša čudno*/
    display: block;
}
.wj-template-lookup-cell .input-group {
  min-height: 100%;
  max-height: 100%;
  height: 100%;
}
.wj-template-lookup-cell .input-group .input-group-btn {
  min-height: 100%;
  max-height: 100%;
  height: 100%;
}
.wj-template-lookup-cell .form-control {
  border: none;
  background-color: transparent;
  min-height: 100%;
  max-height: 100%;
  height: 100%;
}
.wj-template-lookup-cell .input-group .form-control {
  min-height: 100%;
  max-height: 100%;
  height: 100%;
  padding: 0px 0px 0px 5px;
  line-height: inherit;
}
.wj-template-lookup-cell .btn {
  border-radius: 0px;
  min-height: 100%;
  max-height: 100%;
  height: 100%;
  text-align: center;
  vertical-align: middle;
}
.wj-template-lookup-cell .input-group-btn button {
  min-height: 100%;
  max-height: 100%;
  height: 100%;
  text-align: center;
  vertical-align: middle;
  padding: 0px 5px;
}
.wj-template-lookup-cell .form-control-feedback {
  min-height: 100%;
  max-height: 100%;
  height: 100%;
  padding-right: 8px;
  display:table;
  right:0;
}
.wj-template-lookup-cell .form-control-clear {
  z-index: 10;
  pointer-events: auto;
  cursor: pointer;
}
.wj-template-lookup-cell .form-control-clear .fa {
    color: #a30303;
    display: table-cell;
    vertical-align: middle;
}
.wj-template-lookup-cell .form-control-clear .fa:hover {
    color: red;
}
.wj-template-lookup-cell .form-control-clear .fa:disabled {
    color: #888888;
}
/* CUSTOM CELL */
.wj-template-custom-cell {
  background-image: url('images/wj-blue-cell.png') !important;
}
.wj-template-cell-rotated{
    writing-mode: vertical-rl;
    padding-right: 4px !important;
}
.wj-custom-editor.image-editor {
    width: 100%; /* Define the width of the div */
    height: 100%; /* Define the height of the div */
    display: flex; /* Use flexbox for centering */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    overflow: hidden; /* Hide any content that overflows the div */
    background-color: #dddddd;
}
.wj-custom-editor.image-editor img {
    max-width: 100%; /* Make the image width maximum 100% of the div */
    max-height: 100%; /* Make the image height maximum 100% of the div */
    height: auto; /* Maintain aspect ratio */
}
.wj-custom-editor.image-editor i {
    color: #fff !important;
}
.wj-custom-editor.image-editor .card-img-actions-overlay a {
    border-radius: 20px;
    font-size: 16px;
}
/* TEXT AREA CELL */
/* OLD */
/*
.word-wrap-editor{
    width: 100%;
    height : 100%;
    display: block;
}
.word-wrap-editor textarea{
    resize: none;
    width: 100%;
    height: 100%;
    display: block;
    border: 0px none #cccccc;
    background-color: transparent;
    font-family: inherit;
    font-size: inherit;
    text-align: inherit;
    padding: 0px;
}
*/
.word-wrap-editor{
    width: 100%;
    display: block;
}
.word-wrap-editor textarea{
    resize: none;
    width: 100%;
    height: 28px;
    min-height: 22px;
    display: block;
    border: 0px none #cccccc;
    background-color: transparent;
    font-family: inherit;
    font-size: inherit;
    text-align: inherit;
    padding: 0px;
    overflow-y:hidden;
}
/* WIJMO CONTEXT MENU */
#wj-menu_dropdown{
    border-radius:0px;
    border-top:1px solid #a7b1c2;
    border-left:1px solid #a7b1c2;
    border-right:1px solid #a7b1c2;
}
#wj-menu_dropdown .wj-listbox-item{
    border-bottom:1px solid #a7b1c2;
    padding: 5px 10px;
}
.context-menuitem{
    line-height: 20px;
}
.context-menuitem i{
    font-size:20px;
    margin-top: 0px;
    margin-right: 10px;
    line-height: 20px;
}
.context-menuitem span{
    font-size:15px;
    line-height: 20px;
}
/* TITLES */
.spr-title {
    font-weight: 400;
}
.spr-bullet {
    color: #888888;
    background-attachment: scroll;
    background-image: url(images/bullets/arrow.gif);
    background-repeat: no-repeat;
    background-position: left 5px;
    padding-left: 15px;
    clear: left;
    display: inline-block;
}
/* CUSTOM */
.border-none{
  border: none;
}
.padding-left-fix{
  padding-left: 0px;
}
.padding-right-fix{
  padding-right: 0px;
}
.disabled-formula{
  background-color: #eeeeee;
  opacity: 1;
}
.margin-top-2px {
  margin-top: 2px;
}
.widget-text-align {
  line-height: normal;
}
.width-25 {
  width: 25% !important;
}
.width-75 {
  width: 75% !important;
}
.users-border-left {
  border-left: 1px solid #cccccc;
}
.cell-prop-padding {
  padding-top: 5px;
}

/* GRID COLUMNS SORT */
.grid-sort-container{
    padding: 15px;
}
.grid-sort-item{
    padding: 8px;
    background-color: #eeeeee;
    border: 1px solid rgb(212,212,212);
    margin-bottom: 8px;
    border-radius: 4px;
    z-index: 10;
}
.grid-sort-item .grid-rb{
    width: 28px;
    height: 28px;
    display: inline-block;
    float: left;
    text-align: center;
    line-height: 28px;
    border: 1px solid rgb(212,212,212);
    border-radius: 14px;
}
.grid-sort-item .grid-chk{
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 6px;
    padding-right: 6px;
    display: inline-block;
    float: left;
}
.grid-sort-item .grid-label{
    width: 160px;
    height: 28px;
    display: inline-block;
    float: left;
    padding: 6px;
    line-height: 14px;
    z-index: 20;
}
.grid-sort-item .grid-dbcolumn{
    padding: 5px;
    display: inline-block;
    float: left;
}
.grid-sort-container-lookupedit{
    padding-right: 15px;
    float: left;
}
.grid-sort-container-lookupedit .grid-dbcolumn{
    display: block;
    width: 130px;
    float: left;
    height: 28px;
    overflow: hidden;
}
/* BINARY DOXUMENTS */
.spreadsheet-binary {
	list-style: none;
	display: block;
	float: left;
	margin: 0px;
	padding: 0px;
	width: 100%;
	min-width:100%;
}
.spreadsheet-binary li {
	position: relative;
	float: left;
	padding: 0px;
	clear: left;
	width: 100%;
	border: 1px solid #3c5266;
	margin-top: 8px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	background-color: #233545;
}
.spreadsheet-binary li:hover {
	background-color: #2e455a;
}
.spreadsheet-binary li a {
	display: block;
	padding: 10px;
	clear: left;
	float: left;
	width: 228px;
}
.spreadsheet-binary li .fileicon {
	display: block;
	clear: left;
	float: left;
	width: 35px;
	height: 35px;
	display: block;
	text-align: center;
	vertical-align: middle;
	line-height: 34px;
	padding-right: 5px;
}
.spreadsheet-binary li .fileicon i {
	font-size: 28px;
	text-align: center;
	vertical-align: middle;
	color: #a7b1c2;
}
.spreadsheet-binary li .filedesc {
	width: 170px;
	display: block;
	float: left;
	padding-left: 5px;
}
.spreadsheet-binary li .filename {
	font-size: 14px;
	display: block;
	clear: left;
	float: left;
	color: #FFFFFF;
}
.spreadsheet-binary li .filesize {
	font-size: 11px;
	display: block;
	clear: left;
	float: left;
	color: #a7b1c2;
}
.spreadsheet-binary li .delete {
	display: block;
	float: right;
	width: 50px;
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 0px;
}
/* PERMISSIONS */
.permtable {
	border: 1px solid #3c5266;
}
.permtable th {
	background-color: #1f303e !important;
	color: #CCCCCC;
	border-top-color: #3c5266 !important;
	border-right-color: #3c5266 !important;
	border-bottom-color: #3c5266 !important;
	border-left-color: #3c5266 !important;
	font-style: normal;
	font-weight: normal;
	text-align: center;
}
.permtable td {
	color: #FFFFFF;
	border-top-color: #3c5266 !important;
	border-right-color: #3c5266 !important;
	border-bottom-color: #3c5266 !important;
	border-left-color: #3c5266 !important;
}
.permtable tr:hover {
	background-color: #2e455a !important;
}
.permtable tr:hover td {
	background-color: #2e455a !important;
}
.permtable .name {
	color: #FFFFFF;
	word-wrap:break-word;
	display: table-cell;
	vertical-align: middle; 
}
.permtable .chk-cell {
	color: #FFFFFF;
	padding-top: 0px;
	width: 200px;
	word-wrap:break-word; 
}
.permtable .buttons {
	width: 50px;
}

/* CUSTOM MODAL */
.custom-modal-body {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    float: left;
    overflow: hidden;
}

/* USERS MODAL */
.modal-body-fix {
    padding-top: 0px;
    padding-bottom: 0px;
}
.users-left-side {
    border-right: 1px solid rgb(212,212,212);
    background-color: #f4f4f4;
    height: 562px;
}
.users-right-side {
}
.user-buttons-fix {
    float: right;
    margin-top: 15px;
    margin-right: 0px;
    margin-bottom: 15px;
}
.users-left-side .user-img-parent {
    width: 202px;
    margin: 0 auto;
}
.users-left-side .user-img {
    display: block;
    width:202px;
    min-height: 202px;
    max-height: 202px;
    border: 1px solid rgb(212,212,212);
    overflow:hidden;
    background-color: #ffffff;
}
.users-left-side .user-img img {
    border: 0px none;
    width:100%;
    z-index: 0;
}
.users-left-side .user-img-buttons{
    display: block;
    margin-top: -40px;
    padding-right: 10px;
    width:100%;
    z-index: 1000;
}
.users-left-side .user-img-buttons button{
    z-index: 1001;
    border-radius: 0px;
}
/* EXCEL IMPORT */
.import-both-sides {
}
.import-left-side {
    padding-top:15px;
    padding-bottom:15px;
    height: 100%;
    min-height: 100%;
    border-right: 1px solid rgb(212,212,212);
    background-color: #f4f4f4;
}
.import-right-side {
    padding-top:15px;
    padding-bottom:15px;
    height: 100%;
    min-height: 100%;
    background-color: #ffffff;
}
/* COUNTER */
.counter-preview-well {
    min-height: 20px;
    padding: 10px;
    border: 1px solid;
    border-radius: 3px;
}
.wj-dropdown-panel {
    z-index:3000 !important;
}

.inin-modal-hidden{
    display:none !important;
}

/* TEMPLATE VIEW */
.template-view-grid{
    min-height: 100% !important;
    height: 100% !important;
    float:left;
}

.oratables{
    display: flex;
    flex-direction: row;
    height: 100vh;
    padding: 5px;
    padding-top: 53px;
    margin-top: -48px;
}
.oratables-left {
    width: 420px;
    display: flex;
    height: 100%;
    min-height: 100%;
    flex-direction: column;
    background-color: white;
}
.oratables-right {
    flex:1;
    display: flex;
    height: 100%;
    min-height: 100%;
    flex-direction: column;
    background-color: white;
    -webkit-app-region: drag;
    /* Mozilla Firefox */
    overflow: hidden;
}

/* CUSTOM TOOLBAR BUTTON */
.dx-custom-grid-toolbar-btn .dx-button-content {
    padding: 8px;
}

.dx-custom-grid-toolbar-btn i {
    margin-right: 4px !important;
}

div .wj-inputdate {
    width: 100% !important;
    height: 100% !important;
    background-color: transparent;
}

.wj-control .wj-inputdate .wj-input-group .wj-form-control {
    background-color: inherit;
}


.wj-control .wj-inputdate .wj-input-group .wj-input-group-btn {
    background-color: white;
}
