body{
/*
	background-image: url("../img/tausta_cube.png");
	background-size: cover;
*/
    height: calc(100vh - (100vh - 100%));
    width: calc(100vw - (100vw - 100%));
	overflow:auto;
}
a {
	color:initial;
}
.page-content{
	/*height: calc(100vh - 76px);*/
	overflow:auto;
}
.bg-img {
	background-repeat: repeat-x, repeat-y;
	z-index: -1;
}
.bg-img .transparent_content {
	background:rgba(255,255,255,0.8);
}
.bg-img .transparent_content2 {
	background:rgba(255,255,255,0.7);
}
.bg-img .nontransparent_content {
	background:rgba(255,255,255,1);
}

.borderless td, .borderless th {
	border: none;
}
.highlight { 
	background-color: yellow 
}

.tags {
	padding-right:1em;
}

.disabled, .readonly {
	background-color: #e9ecef;
	opacity: 1;
}

.form-check-input:disabled ~ .form-check-label, .form-check-input[disabled] ~ .form-check-label {
	opacity: 1; /*Override default*/
}

/*-------------------------------- Checkbx and Radio start -------------------------*/
label.checkbox span { font-size: 1.5em;}

input[type="checkbox"] + label:before {
  display: inline-block;
}

input[type="checkbox"] ~ .fa-check-square{
    display: none;
}
input[type="checkbox"]:checked ~ .fa-square{
    display: none;
}
input[type="checkbox"]:checked ~ .fa-check-square{
    /*color: #7AA3CC; */
    display: inline;
}


input[type="radio"] ~ .fa-dot-circle{
    display: none;
}
input[type="radio"]:checked ~ .fa-circle{
    display: none;
}
input[type="radio"]:checked ~ .fa-dot-circle{
    /*color: #7AA3CC; */
    display: inline;
}

label > input[type="checkbox"],input[type="radio"] ~ .fa {
    /*color: #7AA3CC;*/
    /*padding-left: 4px;*/
    padding-right: 8px;
    /*padding-top: 2px;*/
    /*font-size: 9px;*/
}



/* image highlight when checked */

label > input[type=radio]:checked ~ span > img, input[type="checkbox"]:checked ~ span > img {
  border: 1px solid #fff;
  box-shadow: 0 0 3px 3px #090;
}

label > input[type="radio"] ~ span>img, input[type="checkbox"] ~ span > img {
  cursor:pointer;
  /*border: 1px dashed #444;*/
  max-width: 150px;
  max-height: 150px;
  transition: 200ms all;
}


.multiselect-container > li > a > label > input[type="checkbox"] {
	opacity: 1;
	display:initial;
	margin-bottom: 0px;
}

.multiselect-container > li > a > label > input[type="radio"] {
	opacity: 1;
	display:initial;
}

.multiselect-container > li {
	text-align:left;
	align-items:start;
}

.multiselect-clear-filter{
	border: 1px solid #ced4da;
	background-color: #e9ecef;
}
.multiselect-item.multiselect-filter > .input-group{
	margin:0px !important;
}
li.dropdown-item {
	padding-left: 15px;
	padding-right: 15px;
}
.dropdown-item-group {
  display: block;
  width: 100%;
  padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
  clear: both;
  font-weight: 400;
  color: var(--bs-dropdown-link-color);
  text-align: inherit;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}
.ms-dd-item-group {
  font-weight: bold;
}
/*
.dropdown-item-group-label {
  display: block;
  min-height: 1.5rem;
  margin-bottom: .125rem;
  padding: var(--bs-dropdown-item-padding-y)
}
.dropdown-item-group-label:focus, .dropdown-item-group-label:hover {
  color: var(--bs-dropdown-link-hover-color);
  background-color: var(--bs-dropdown-link-hover-bg);
  cursor: default;
}
*/
.ms-dd-item,
.ms-dd-item-group {
	padding-left: var(--bs-dropdown-item-padding-x);
	padding-right:0;
	padding-top:0;
	padding-bottom:0;
}
.ms-dd-item>div,
.ms-dd-item>div>label,
.ms-dd-item-group>div,
.ms-dd-item-group>div>label {
	width:100%;
}

/*-------------------------------- Checkbx and Radio end -------------------------*/

div.wysiwyg:empty:not(:focus):before{
	content: attr(placeholder);
	color: #6c757d;
	opacity: 1;
}

.wysiwyg {
	min-height: calc(1.5em + .75rem + 2px);
	height:unset;
}

/*--------------------------------- Sortable -------------------------------------*/
.sortable /*, .ui-sortable*/{ 
	list-style-type: none;
	margin: 0;
	/*padding: 0;*/
	/*width: 60%;*/
	cursor: grab;
}

.sortable li, #sortable li { 
	margin: 0 3px 3px 3px;
	padding: 0.4em;
	padding-left: 1.5em;
	font-size: 1.4em;
	/*height: 18px; */
}
.sortable li span, #sortable li span { 
	position: absolute;
	margin-left: -1.3em; 
}

.sortable-row {
	/*font-size: 1.4em;
    border-width: thin;
    border-color: gray;
    border-style: solid;
    border-spacing: 10px;
	*/
}
.ui-state-highlight {
	height: 1.5em;
	line-height: 1.2em;
}
.ui-sortable-placeholder {
	background-color: lightgoldenrodyellow;
	border-color:darkgoldenrod;
	border-width: thin;
	border-style: solid;
	border-spacing: 10px;
	font-size: 1.4em;
	padding: 0.4em;
	visibility:visible !important;
}
.ui-sortable-handle {
	background-color: white;
	padding: 0.25em;
}
.ui-sortable-helper {
	text-align:unset;
}
/*-------------------------------- form related -------------------------------------*/
/*.form-group {
	padding-left: 10px;
	padding-right: 10px;
}
.form-group > label {
	padding-right: 5px;
}
*/

/*---------------------------------slider switch ------------------------------------*/
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

#loading-overlay {
    position: fixed;
    width: 100%;
    height:100%;
    left: 0;
    top: 0;
    display: none;
    align-items: center;
    background-color: #000;
    z-index: 1040;
    opacity: 0.5;
}
.loading-icon{ 
	position:absolute;
	border-top:2px solid #fff;
	border-right:2px solid #fff;
	border-bottom:2px solid #fff;
	border-left:2px solid #767676;
	border-radius:25px;
	width:25px;
	height:25px;
	margin:0 auto;
	position:absolute;
	left:50%;
	margin-left:-20px;
	top:50%;
	margin-top:-20px;
	z-index:4;
	-webkit-animation:spin 1s linear infinite;
	-moz-animation:spin 1s linear infinite;
	animation:spin 1s linear infinite;
}
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }  

.dropdown-menu {
min-width : 250px;
/*left : -250px;*/
max-height: 420px;
overflow-y: auto;
-webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
box-shadow: 0 6px 12px rgba(0,0,0,.175);
}

.button_row {
	padding-top: 10px;
}

.overlay2 {
    position: fixed;
    width: 100%;
    height:100%;
    left: 0;
    top: 0;
    display: none;
 /*   align-items: center;*/
    background-color: #fff;
    z-index: 899;
    opacity: 0.5;
}

.av_class {
	padding: 1px;
	/*border: 1px solid #000*/
}

.float-end {
	float: right;
}
.float-start {
	float: left;
}

.div_table-info {
    background-color: #cff4fc;
}
