
.modal {
  text-align: center;
  padding: 0!important;
}

.modal:before {
  content: '';
  display: inline-block;
  height: 90%;
  vertical-align: middle;
  margin-right: -4px;
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}


.bootstrap-dialog .modal-header.bootstrap-dialog-draggable {
	cursor: move;
}

.toolbar {
	font-size: 10pt;
}

.btn-graph-tool {
	height: 24px;
	width: 24px;
	margin-top: 8px;
	margin-bottom: 8px;
	margin-right: 2px;
	padding: 0px;
}

.btn-graph-tool-last {
	height: 24px;
	width: 24px;
	margin-top: 8px;
	margin-bottom: 8px;
	margin-right: 8px;
	padding: 0px;
}

table.item-table {
	border: 0;
	width: 100%;
}
td.item-td {
	min-width: 25%;
	width: 25% !important;
} 

table.dataTable td.dataTables_empty {
    text-align: center;
    vertical-align: middle;    
}

th { font-size: 12px; }
td { font-size: 12px; }

.dt-center {
    text-align: center;
    vertical-align: middle;    
}

img.img-circle {
	width: 32px;
}

.boxInputFile {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}
.boxFileUpload > .boxInputFile + label {
    font-size: 1.25em;
    font-weight: 700;
    color: white;
    background-color: black;
    display: inline-block;
}

.upload-preview {
	display : none;
}

.upload-preview-show {
	display : inline-block;
}

.preview {
	height: 100px;
}

/* layout.css Style */
.upload-drop-zone {
	height: 200px;
	border-width: 2px;
	margin-bottom: 20px;
	cursor: pointer; /* "hand" cursor */
}

/* skin.css Style*/
.upload-drop-zone {
	color: #ccc;
	border-style: dashed;
	border-color: #ccc;
	line-height: 200px;
	text-align: center
}

.upload-drop-zone.drop {
	color: #222;
	border-color: #222;
}

.colorPickSelector {
	border-radius: 5px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	-webkit-transition: all linear .2s;
	-moz-transition: all linear .2s;
	-ms-transition: all linear .2s;
	-o-transition: all linear .2s;
	transition: all linear .2s;
}

.colorPickSelector:hover {
	transform: scale(1.1); 
}

.vertical-center  {
	position: relative;
	top: 40%;
}

img.iconThumbnail {
	width: 64px;
	height: 100%;
	min-height:50px;
}
img.thumbnail {
	width: 150px;
	height: 100%;
	min-height:50px;
}
.toolbar-select > .dropdown-toggle {
    background-color: #fff;
	background-image: none;
}
.control-label {
	display: inline-block;
	text-align: right;
	vertical-align: middle;
	font-size: 16 px;
	padding: 5px;
	padding-right: 10px;
	margin: 0;
}

.input-group.position-relative input {
  padding-right: 32px !important;
}

.input-clear {
  align-items: center;
  bottom: 9px;
  color: rgba(0, 0, 0, .54);
  cursor: pointer;
  display: flex;
  justify-content: center;
  position: absolute;
  right: 0;
  width: 24px;
  z-index: 10;
}

.input-text+.input-clear {
  bottom: calc(1rem + 18px);
}

.input-clear .material-icons {
  font-size: 16px;
  font-weight: 500;
}


.wf-50 {
	width: 50px !important;
}

.wf-100 {
	width: 100px !important;
}

.wf-150 {
	width: 150px !important;
}

.wf-160 {
	width: 160px !important;
}

.wf-200 {
	width: 200px !important;
}

.custom-switch.custom-switch-sm .custom-control-label {
    padding-left: 1rem;
    padding-bottom: 1rem;
}

.custom-switch.custom-switch-sm .custom-control-label::before {
    height: 1rem;
    width: calc(1rem + 0.75rem);
    border-radius: 2rem;
}

.custom-switch.custom-switch-sm .custom-control-label::after {
    width: calc(1rem - 4px);
    height: calc(1rem - 4px);
    border-radius: calc(1rem - (1rem / 2));
}

.custom-switch.custom-switch-sm .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(calc(1rem - 0.25rem));
}

/* for md */

.custom-switch.custom-switch-md .custom-control-label {
    padding-left: 2rem;
    padding-bottom: 1.5rem;
}

.custom-switch.custom-switch-md .custom-control-label::before {
    height: 1.5rem;
    width: calc(2rem + 0.75rem);
    border-radius: 3rem;
}

.custom-switch.custom-switch-md .custom-control-label::after {
    width: calc(1.5rem - 4px);
    height: calc(1.5rem - 4px);
    border-radius: calc(2rem - (1.5rem / 2));
}

.custom-switch.custom-switch-md .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(calc(1.5rem - 0.25rem));
}

/* for lg */

.custom-switch.custom-switch-lg .custom-control-label {
    padding-left: 3rem;
    padding-bottom: 2rem;
}

.custom-switch.custom-switch-lg .custom-control-label::before {
    height: 2rem;
    width: calc(3rem + 0.75rem);
    border-radius: 4rem;
}

.custom-switch.custom-switch-lg .custom-control-label::after {
    width: calc(2rem - 4px);
    height: calc(2rem - 4px);
    border-radius: calc(3rem - (2rem / 2));
}

.custom-switch.custom-switch-lg .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(calc(2rem - 0.25rem));
}

/* for xl */

.custom-switch.custom-switch-xl .custom-control-label {
    padding-left: 4rem;
    padding-bottom: 2.5rem;
}

.custom-switch.custom-switch-xl .custom-control-label::before {
    height: 2.5rem;
    width: calc(4rem + 0.75rem);
    border-radius: 5rem;
}

.custom-switch.custom-switch-xl .custom-control-label::after {
    width: calc(2.5rem - 4px);
    height: calc(2.5rem - 4px);
    border-radius: calc(4rem - (2.5rem / 2));
}

.custom-switch.custom-switch-xl .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(calc(2.5rem - 0.25rem));
}
