/*Checkbox Style*/
[class*="ga-checkbox"] {
    min-height: 18px;
    padding-left: 0;
    line-height: initial;
    padding-top: 2px;
    padding-bottom: 2px;
    position:relative;
    display: inline-block;
    vertical-align:middle;
}

[class*="ga-checkbox"]>label {
	min-width: 18px;
	min-height: 18px;
    line-height: 18px;
    padding-left: 24px;
	display: inline-block;
	position: relative;
	vertical-align: top;
	margin-bottom: 0;
	cursor: pointer;
}

[class*="ga-checkbox"]>input:first-child {
	position: absolute;
	opacity: 0;
	margin: 0;
	background-color: #787878;
	border-radius: 50%;
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	display: block;
	width: 18px;
	height: 18px;
	outline: none;
	transform: scale(2);
	-ms-transform: scale(2);
	transition: opacity .3s, transform .3s;
}

[class*="ga-checkbox"]>input:first-child:disabled, [class*="ga-checkbox"]>input:first-child[readonly] {
	cursor: default;
}

[class*="ga-checkbox"]>input:first-child:disabled+label,
[class*="ga-checkbox"]>input:first-child:disabled+input[type="hidden"]+label,
[class*="ga-checkbox"]>input:first-child:disabled+label::before,
[class*="ga-checkbox"]>input:first-child:disabled+input[type="hidden"]+label::before {
	pointer-events: none;
	cursor: default;
	filter: alpha(opacity=65);
	-webkit-box-shadow: none;
	box-shadow: none;
	opacity: .65;
}

[class*="ga-checkbox"]>input:first-child[readonly]+label,
[class*="ga-checkbox"]>input:first-child[readonly]+input[type="hidden"]+label,
[class*="ga-checkbox"]>input:first-child[readonly]+label::before,
[class*="ga-checkbox"]>input:first-child[readonly]+input[type="hidden"]+label::before {
	pointer-events: none;
	cursor: default;
	filter: alpha(opacity=65);
	-webkit-box-shadow: none;
	box-shadow: none;
	opacity: .65;
}

[class*="ga-checkbox"]>input:first-child+label::before,
[class*="ga-checkbox"]>input:first-child+input[type="hidden"]+label::before {
	content: "";
	display: inline-block;
	position: absolute;
	width: 18px;
	height: 18px;
	border: 2px solid #757575;
	border-radius: 3px;
    left: 0;
	box-sizing: border-box;
}

[class*="ga-checkbox"]>input:first-child:checked+label::after,
[class*="ga-checkbox"]>input:first-child:checked+input[type="hidden"]+label::after {
	content: "";
	display: inline-block;
	position: absolute;
	top: 0;
	left: 0;
	width: 6px;
	height: 11px;
	border: solid 2px #757575;
	border-left: none;
	border-top: none;
	transform: translate(6px, 2px) rotate(45deg);
	-ms-transform: translate(6px, 2px) rotate(45deg);
	box-sizing: border-box;
}

[class*="ga-checkbox"]>input:first-child:not(:checked):not(:disabled):hover+label::before,
[class*="ga-checkbox"]>input:first-child:not(:checked):not(:disabled):hover+input[type="hidden"]+label::before {
	border-width: 2px;
}

[class*="ga-checkbox"]>input:first-child::-ms-check {
	opacity: 0;
	border-radius: 50%;
}

[class*="ga-checkbox"]>input:first-child:active {
	transform: scale(0);
	-ms-transform: scale(0);
	opacity: 1;
	transition: opacity 0s, transform 0s;
}

[class*="ga-checkbox"]>input[type="radio"]:first-child+label::before,
[class*="ga-checkbox"]>input[type="radio"]:first-child+input[type="hidden"]+label::before {
	border-radius: 50%;
}

[class*="ga-checkbox"]>input[type="radio"]:first-child:checked+label::before,
[class*="ga-checkbox"]>input[type="radio"]:first-child:checked+input[type="hidden"]+label::before {
	background-color: transparent;
}

[class*="ga-checkbox"]>input[type="radio"]:first-child:checked+label::after,
[class*="ga-checkbox"]>input[type="radio"]:first-child:checked+input[type="hidden"]+label::after {
	content: "";
	position: absolute;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: none;
	top: 5px;
	left: 5px;
	transform: none;
	-ms-transform: none;
}

[class*="ga-checkbox"]>input[type="checkbox"]:first-child:checked+label::after,
[class*="ga-checkbox"]>input[type="checkbox"]:first-child:checked+input[type="hidden"]+label::after {
	width: 6px;
	height: 11px;
	transform: translate(6px, 2px) rotate(45deg);
	-ms-transform: translate(6px, 2px) rotate(45deg);
}

.ga-checkbox > input[type="radio"]:first-child:checked + label::after,
.ga-checkbox > input[type="radio"]:first-child:checked + input[type="hidden"] + label::after {
    background-color: #757575;
}

[class*="ga-checkbox"] > input:first-child:hover {
    opacity: 0.05;
}

/*Checkbox not container ga-checkbox*/
:not(.ga-checkbox) > input[type="checkbox"] {
    display: inline-block;
    position: relative;
    width: 18px;
    height: 18px;
    border: 2px solid #757575;
    border-radius: 3px;
    box-sizing: border-box;
    text-align:center;
    cursor:pointer;
    line-height:normal;
    opacity:1;
    -webkit-appearance: none;
    margin-top:2px;
    margin-bottom:2px;
    vertical-align:middle;
    outline:none;
}

:not(.ga-checkbox) > input[type="checkbox"]:checked:before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 11px;
    border: solid 2px #757575;
    border-left: none;
    border-top: none;
    transform: translate(0,0) rotate(45deg);
    -ms-transform: translate(0,0) rotate(45deg);
    box-sizing: border-box;
    vertical-align:super;
    position: initial;
}

:not(.ga-checkbox) > input[type="checkbox"]::after {
    content: "";
    display: block;
    visibility:hidden;
    width: 0;
    height: 0;
    transform: scale(2);
    -ms-transform: scale(2);
    opacity: 0;
    transition: opacity .3s, transform .3s;
    background: rgba(0,0,0,0.53);
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 100%;
}

:not(.ga-checkbox) > input[type="checkbox"]:hover::after {
    visibility:visible;
    width: 14px;
    height: 14px;
}

:not(.ga-checkbox) > input[type="checkbox"]:active::after {
    transform: scale(0);
    -ms-transform: scale(0);
    opacity: 1;
    transition: opacity 0s, transform 0s;
}

:not(.ga-checkbox) > input[type="checkbox"]:hover::after{
     opacity: 0.1;
}

/*Custom Checkbox Style*/
.grid-checkable-option input[type=checkbox] {
    display: none;
}

.grid-checkable-option input[type=checkbox] + label:before {
    font-family: "Font Awesome 5 Free", sans-serif;
    display: inline-block;
    font-size: 22px;
    cursor: pointer;
    font-weight: 500;
    content: "\f0c8";
    font-weight: 500;
    letter-spacing: 8px;
}

.grid-checkable-option input[type=checkbox]:checked + label:before {
    content: "\f14a";
    letter-spacing: 5px;
}

.tru-entry-weight-group input:not([type="checkbox"]) {
    text-align: center;
    font-size: 30px;
    width: 100%;
    line-height: 30px;
    height: 40px;
}

input[type="checkbox"].checkbox-tree-group + label:before {
    color: #777;
}

.columnsmenu-checkbox input {
    margin-bottom: 1px;
    vertical-align: middle;
}

.columnsmenu-checkbox input::after {
    width: 16px !important;
    height: 16px !important;
}

.columnsmenu-checkbox label {
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
}

.k-grid .k-grid-header table thead tr th input[type="checkbox"],
.k-grid .k-grid-content table tbody tr td input[type="checkbox"] {
    vertical-align: inherit;
}

.k-grid .k-grid-header table thead tr th input[type="checkbox"] + label:empty,
.k-grid .k-grid-content table tbody tr td input[type="checkbox"] + label:empty {
    padding-left: 0;
}

.k-grid .k-grid-header table thead tr th input[type="checkbox"] + label:empty::before,
.k-grid .k-grid-content table tbody tr td input[type="checkbox"] + label:empty::before {
    margin-left: 0;
}

.k-checkbox-label {
    vertical-align:middle;
}

.k-no-text.k-checkbox-label::before, .k-no-text.k-radio-label::before, .k-checkbox:checked + .k-checkbox-label::before, .k-radio:checked + .k-radio-label::before {
    content: none;
}