﻿.ktf-form {
    /*border-radius: 5px;*/
    margin: 0 auto 20px;
    overflow: hidden;
}
.genericiconhelp {
    position: absolute;
    right: 97px;
    cursor: pointer;
    height: 20px;
    width: 20px;
    background-image: url(../../xCSS/images/help_2021.png);
    background-size: 20px 20px;
    background-repeat: no-repeat;
    top: 55px;
}

.iconhelp {
    position: absolute;
    cursor: pointer;
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    background-size: contain;
    background-image: url(../../xCSS/images/help_2021.png);
    background-repeat: no-repeat;
}

span.genericiconhelp.edit {
    position: absolute;
    right: 127px;
    cursor: pointer;
    height: 20px;
    width: 20px;
    background-image: url(../../xCSS/images/help4.png);
    background-size: 20px 20px;
    background-repeat: no-repeat;
    top: 55px;
}

span.iconhelp.edit {
    cursor: pointer;
    background-image: url(../../xCSS/images/help4.png);
    background-repeat: no-repeat;
    right: 40px;
}

span.iconhelp.withtab {
    top: 50px;
    right: 10px;
}

.formContainer{
    overflow: hidden;
}

.w50 {
    float: left;
    width: 50%;
    padding: 10px 20px;
}

div.page1, div.page2
{
    display:none;
    /*padding: 30px;*/
} 

.invisible {
    visibility: hidden;
}


/*input*/

div.input {

    overflow: hidden;
    padding: 1px 0 2px 0;
    float: none;

}
div.input.float
{
    display: inline-block;
    float: left;
}

div.contentlabel {

    color: hsl(0, 0%, 20%);
    font-size: 13px;
    font-weight: normal;
    line-height: 20px;
    float:left;
}

div.input div.contentinput {
    float: left;
    max-width: 100%;
    padding: 0;
    position:relative;
}
div.contentinput input, div.contentinput select, div.contentinput textarea {
    background: none repeat scroll 0 0 hsl(0, 0%, 100%);
    /*border: 2px solid hsl(0, 0%, 20%);*/
    color: hsl(0, 0%, 0%);
    float: left;
    height: 30px;
    padding: 3px 5px;
    /*transition : border 800ms ease-out;*/
    border-radius: 7px;
}
div.contentinput input:focus, div.contentinput select:focus, div.contentinput textarea:focus
{
    border: 2px solid red;
}
div.checkbox input:focus
{
    box-shadow: none;
}
button:focus
{
    border: 1px solid red;
}

div.contentinput input.hasDatepicker {
    min-width: 75px;
}

div.contentinput select {
    /*border-radius: 0;*/
    border-radius: 7px;
    /*font-weight:bolder; */
}

div.contentinput select option {
    border: 1px solid hsl(0, 0%, 0%);
    line-height: 10px;
    min-height: 30px;
    padding: 5px 10px;
}

div.contentinput input[disabled], div.contentinput select[disabled], div.contentinput textarea[disabled] {
    background: none repeat scroll 0 0 hsl(0, 0%, 92%);
    opacity: 0.8;
}




div.contentinput input, div.contentinput select, div.contentinput textarea {
    width: 100%;
    font-size: 12px;
}

.contenidor-barra-estat {
    background: none repeat scroll 0 0 #C1FFC1;
    border: 2px solid #008000;
    bottom: 30px;
    font-weight: bold;
    height: 30px;
    left: 0;
    padding-left: 50px;
    position: fixed;
    width: 100%;
}

.i-h.input.checkbox > label 
{
    color: hsl(0, 0%, 20%);
    display: inline-block;
    font-weight: bold;
    line-height: 10px;
}

input[type="checkbox"], input[type="radio"] {
    display: inline-block;
    margin: 10px 10px;
    padding: 0;
    width: auto;
}

/*No label*/
div.input.noLabel div.contentinput input, div.input.noLabel div.contentinput select {
    max-width: 100%;
}


/*  checkbox, radio*/
/*
div.checkbox input[type=checkbox] {
	position: absolute; 
	overflow: hidden; 
	clip: rect(0 0 0 0); 
	height:1px; 
	width:1px; 
	margin:-1px; 
	padding:0;
	border:0;
}


div.checkbox label{
	background-image:url(http://csscheckbox.com/checkboxes/dark-check-green.png);
}

div.checkbox input[type=checkbox]{
	position: absolute; 
	overflow: hidden; 
	clip: rect(0 0 0 0); 
	height:1px; 
	width:1px; 
	margin:-1px; 
	padding:0;
	border:0;
}

div.checkbox input[type=checkbox] + label {
    background-position: right 0;
    background-repeat: no-repeat;
    cursor: pointer;
    display: inline-block;
    height: 15px;
    line-height: 15px;
    padding: 0 25px 0 15px;
    vertical-align: middle;
}

div.checkbox input[type=checkbox]:checked + label {
	background-position: right -15px;
}

.css-label{
	background-image:url(http://csscheckbox.com/checkboxes/dark-check-green.png);
}
*/

/* Barra estat*/

div.contenidor-barra-estat {
    background: none repeat scroll 0 0 rgba(65, 166, 42, 0.95);
    border-bottom: 1px solid #86FC6C;
    border-top: 1px solid #86FC6C;
    bottom: 0;
    height: 35px;
    left: 0;
    padding-bottom: 5px;
    padding-left: 20px;
    padding-top: 5px;
    position: fixed;
    text-decoration: none;
    text-shadow: none;
    width: 100%;
    z-index: 400;
}
div.contenidor-barra-estat div.capa-informacio {
    float: left;
}
div.contenidor-barra-estat div.capa-informacio-icone {
    background-image: url("../../xCSS/images/icone-barra-informacio.png");
    background-repeat: no-repeat;
    float: left;
    height: 30px;
    padding-top: 10px;
    width: 28px;
}
div.contenidor-barra-estat div.capa-informacio-text {
    color: #FFFFFF;
    float: left;
    padding-left: 15px;
    padding-top: 5px;
}
div.contenidor-barra-estat div.capa-restriccions {
    color: #82FA67;
    float: right;
    padding-right: 65px;
    padding-top: 5px;
}

/* Autocomplete */

div.input div.contentinput > div.search, div.input div.contentinput > div.inputscan {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: hsla(0, 0%, 0%, 0);
    background-image: url("../../xCSS/images/search2.png");
    background-origin: padding-box;
    background-position: center center, center center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    cursor: pointer;
    display: inline-block;
    float: left;
    height: 17px;
    margin-left: -20px;
    margin-top: 7px;
    width: 17px;
}

.ui-autocomplete {
    max-height: 200px;
    overflow-x: hidden;
    overflow-y: auto;
}

.ui-autocomplete li a label {
    display: inline-block;
}


/*SCAN*/



.kSearchCont.kscan.ktf-form {
    background-color: hsl(0, 0%, 87%);
    background-image: none;
    border: 2px solid hsl(0, 0%, 0%);
    padding: 10px 5px;
    width: 100%;
    border-radius: 5px 5px 0 0;
}

div.tableContainer.kscan
{
    border-radius: none;
}

div.tableContainer.kscan table.dataTable thead tr
{
    background-image: none;
    background-color: #DDD       
}

div.tableContainer.kscan table.dataTable thead tr th
{
    color: #333;
    text-shadow: none;      
}

div.kSearchCont.kscan div.closeOptions {
    display: none;
}

div.tableContainer.kscan table.dataTable tr.even td, 
div.tableContainer.kscan table.dataTable tr.odd td,
div.tableContainer.kscan table.dataTable tr.even td.sorting_1,
div.tableContainer.kscan table.dataTable tr.odd td.sorting_1{
    background-color: hsl(0, 0%, 100%);
    color: hsl(0, 0%, 20%);
    padding: 6px 10px;
}
.ktf-form div.kexpandablecontent {
    cursor: pointer;
    font-weight: bold;
    position: absolute;
    right: 5px;
    text-decoration: underline;
    top: 5px;
}


/*  WAIT AJAX  */

div.ContentLoader {
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 10000;
}


div.ContentLoader > div.lockLoader {
    background-color: hsl(0, 0%, 0%);
    height: 100%;
    opacity: 0.2;
    position: absolute;
    width: 100%;
}


div.ContentLoader > div.loader {
    /* background: url("../../xCSS/images/loading.gif") no-repeat scroll center center hsla(0, 0%, 0%, 0); */
    background: url("../../xCSS/images/svg/loading.svg") no-repeat scroll center center hsla(0, 0%, 0%, 0);
    height: 100%;
    position: absolute;
    width: 100%;
    background-size: 20%;
}


.optionkradio {
    overflow: hidden;
}
.optionkradio > input[type="radio"] {
    height: 13px;
    margin: 5px;
    width: 13px;
}
div.kSearchCont .optionkradio > input[type="radio"] 
{
    background-color: #60a29c;
}
div.input.width div.contentlabel label, 
div.input.width div.contentinput input,
div.input.width div.contentinput select
{
    width: 100%;     
}
td input {
    width: 100%;
}
div.kdisplayable {
    display: none;
}
div.kexpandablecontent div.kdisplayable {

    display: block;
    margin-top: 10px;
    margin-right: 20px;
    color: #333;
    text-decoration: underline;

}
div.contentinput textarea {
    height: 100px;
    resize: none;
}

div.input div.contentinput > div.search.loading {
    background-image: url("../../xCSS/images/loading.gif") !important;
    background-position: center center;
    background-size: 70% auto;
}

div.contentinput div.addreg {
    background-color: #888888;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    display: block;
    float: left;
    font-family: arial;
    font-size: 13px;
    font-weight: bold;
    height: 13px;
    padding-left: 0;
    padding-top: 1px;
    position: absolute;
    right: 25px;
    text-align: center;
    text-shadow: 0 0 0;
    top: 9px;
    width: 13px;
    line-height: 13px;
}
div.input div.contentlabel label.labellinkable {
    cursor: pointer;
    text-decoration: underline;
}
.ktf-form audio {
    width: 100%;
}
div.ui-dialog .ui-icon.log {
    background-image: url("../../xCSS/images/log.png");
    background-size: 16px;
}


 /* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 18px;
    margin-top: 1px;
}

.switch input
{
    margin-top:2px;
    margin-left:5px;
    width:1px !important;
    height:auto !important;
    margin-top:2px !important;
    margin-left:5px !important;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #aaa;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider::before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
  background-color: #0A7EDA;
}

input:focus + .slider {
  box-shadow: 0 0 1px #0A7EDA;
}

input:checked + .slider:before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}

.slider.round {
  border-radius: 10px;
}

.slider.round:before {
  border-radius: 50%;
}
.switch input:checked:disabled + .slider {
    background-color: #84BEEC;
}
.switch input:disabled + .slider {
    background-color: #ccc;
}
label.switch{
    padding-left: 0px !important;;
}
div.ktf-form input[type="checkbox"] {
    margin: 0 7px;
}
div.input.checkbox div.contentinput {
    height: 20px;
    width:45px !important; 
}
div.kSearchCont div.input.checkbox > div.contentlabel, div.kSearchCont div.input.checkbox > label
{
    width:auto;
}
.kSearchCont label.switch {
    padding: 0px;
}
#kFormMenu.hide {
    display: none;
}
div.cnter {
    color: #333;
    font-size: 9px;
    padding: 0 5px;
}
div.contentlabel.lblIcon {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 5px;
}