﻿.ktf-form {
    border-radius: 5px;
    margin: 0 auto 20px;
    overflow: hidden;
}

.formContainer{
    overflow: hidden;
}

.w50 {
    float: left;
    width: 50%;
    padding: 10px 20px;
}

div.page1, div.page2
{
    display:none;
} 

.invisible {
    visibility: hidden;
}


/*input*/

div.input
{
    overflow:hidden;
    padding: 1px 0;
    float:none;
}

div.input.float
{
    display: inline-block;
    float: left;
}

div.contentlabel 
{
    color: hsl(0, 0%, 20%);
    float: left;
    font-size: 100%;
    font-weight: bold;
    line-height: 10px;
}

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;
}
div.contentinput input:focus, div.contentinput select:focus, div.contentinput textarea:focus
{
    border: 2px solid red;
}
div.checkbox input:focus
{
    /*box-shadow: 0 0 3px red;*/
}
button:focus
{
    border: 1px solid red;
}

div.contentinput input.hasDatepicker {
    min-width: 75px;
}

div.contentinput select {
    border-radius: 0;
    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: 0px;
    padding: 0;
    width: auto;
    height:auto !important;
}
/*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 > 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 > 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;
    border: 1px solid black
}

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);
    height: 100%;
    position: absolute;
    width: 100%;
}


.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;
}
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: 40px;
    height: 20px;
    margin-top: 3px;
}

/* Hide default HTML checkbox */
.switch input
{
    margin-top:2px;
    margin-left:5px;
    width:1px !important;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #878787;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider::before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
  background-color: #FF6A0E;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 10px;
}

.slider.round:before {
  border-radius: 50%;
}
.switch input:checked:disabled + .slider {
    background-color: #FFB78B;
}
.switch input:disabled + .slider {
    background-color: #d2d2d2
}
div.input.checkbox div.contentinput {
    height: 30px;
}