/*
╭━━━━━━━━━━━━╯ Karimba.net ╰━━━━━━━━━━━━╮
	Feuille de styles des formulaires
 __________________________________________________________ 
	© 2019 https://www.karimba.net
╰━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╯
*/

span.KFormElem {
	display: block;
	position: relative;
}

span.KFormElemToShow {
	display: block;
	float: left;
	margin: 3px 7px 0 0;
	width: 0;
	height: 0;
	border-right:	0px solid transparent;
	border-top:	5px solid transparent;
	border-bottom:	5px solid transparent;
	border-left:	5px solid #888;
	cursor: pointer;
	-webkit-transition: all 0.2s ease;
	   -moz-transition: all 0.2s ease;
	     -o-transition: all 0.2s ease;
		transition: all 0.2s ease;
}

span.KFormElem:hover span.KFormElemToShow {
	border-left:	5px solid #333;
}
span.KFormElem.KFormOpened span.KFormElemToShow {
	margin: 5px 4px 0 -2px;
	border-right:	5px solid transparent;
	border-top:	5px solid #888;
	border-left:	5px solid transparent;
	border-bottom:	0px solid transparent;
}
span.KFormElem.KFormOpened:hover span.KFormElemToShow {
	border-top:	5px solid #888;
}

.KFormElem.KFormDisabled label.KFormLabel,
.KFormElem label.disabled {cursor: default;}

#KForm-knospam3 {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	width:0 !important;
	height: 0 !important;
	margin:0 !important;
	padding:0 !important;
}
/* Errors */

span.KFormError {
	display: block;
	position: relative;
}
span.KFormError span.KFormInput input,
span.KFormError span.KFormInput textarea,
span.KFormError select.KFormSelect,
.form .KFormInput li.KFormError input {
	border: 1px solid #D00;
}
span.KFormElemCheckbox.KFormError input {
	outline: 1px solid #D00;
}

span.KFormError span.KFormInput input.KFileImport {
	border: none;
}
span.KFormErrorInfo {
	display: block;
	position: relative;
	padding: 3px 20px 3px 6px;
	background: #DDD;
	margin:3px 0px;
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
		border-radius: 3px;
}
span.KFormErrorInfo a.KFormErrorClose {
	display: none;
	position: absolute;
	right: 2px;
	top:3px;
	vertical-align: middle;
	width:16px;
	height:16px;
	background: transparent url(../../core/img/close_666666_16x16.png) no-repeat 0px 0px;
}

span.KFormInfos {
	display: block;
	position: relative;
	padding: 3px 20px 3px 6px;
	background: #FFF;
	margin:3px 0px;
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
		    border-radius: 3px;
}
span.KFormInfos a.KFormClose {
	display: none;
	position: absolute;
	right: 2px;
	top:3px;
	vertical-align: middle;
	width:16px;
	height:16px;
	background: transparent url(../../core/img/close_666666_16x16.png) no-repeat 0px 0px;
}

span.KFormErrorInfo:hover a.KFormErrorClose,
span.KFormInfos:hover a.KFormClose {
	display: block;
}


/*  Inputs */

span.KFormInput {
	position: relative;
}
span.KFormInput input,
span.KFormInput textarea {
	padding-right: 20px;
}
a.KFormClear,
a.KFormAlertIcon {
	position: absolute;
	right: 3px;
	top:-1px;
	vertical-align: middle;
	width:16px;
	height:16px;
	background: transparent url(../../core/img/close_666666_16x16.png) no-repeat 0px 0px;
	display: none;
}
a.KFormAlertIcon {
	background-image: url(../img/alerticon_16x16.png);
}
span.KFormError a.KFormAlertIcon {
	display: block;
}
a.KFormClear:hover,
a.KFormAlertIcon:hover {
	background-position: 0px -16px;
}
.KFormElem:hover a.KFormClear,
.KFormElem a.KFormClear:hover {
	display: block;
}
.KFormElem:hover a.KFormAlertIcon,
.KFormElem a.KFormAlertIcon:hover {
	display: none;
}

.KFormElemTextarea a.KFormClear,
.KFormElemTextarea a.KFormAlertIcon {
	right: 16px;
	top:0px;
}
.KFormElemTextarea.KFormAutoGrow a.KFormClear,
.KFormElemTextarea.KFormAutoGrow a.KFormAlertIcon {
	right: 2px;
	top:0px;
}
.KFormElem.KFormDisabled:hover a.KFormClear {display: none;}


/* Checkboxes */

.KFormElemCheckbox input {
	margin-right: 5px;
}
.KFormElemCheckbox.KFormLabelBefore input {
	margin-right: 0px;
	margin-left: 5px;
}

/* Radio et CheckBoxes Lists */

.KFormOption {
	position: relative;
	display: inline-block;
	margin-right: 10px;
	white-space: nowrap;
}
.KFormOption input {
	display: inline;
	margin-right: 5px;
}
.KFormOption label {
	display:inline;
}
.KFormFancyBox {
	display: inline-block;
    position: relative;
	width: 1em;
	height: 1em;
	top: 0.25em;
	background: transparent no-repeat center;
	background-size: contain;
}
.KFormOption .KFormFancyBox {
	position: absolute;
	display: block;
}


/* Tags */

span.KFormTags {
	padding: 3px;
	line-height: 1.7em;
}
span.KFormTag {
	position: relative;
	padding: 1px 16px 1px 4px;
	background: #DDD;
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
		border-radius: 3px;
	margin-right: 4px;
	white-space: nowrap;
}
span.KFormTag a.KFormTagClear {
	position: absolute;
	display: block;
	top:3px;
	right: 3px;
	width:9px;
	height:9px;
	background: transparent url(../../core/img/close_FFFFFF_666666_9x9.png) no-repeat 0px 0px;
}
span.KFormTag a.KFormTagClear:hover {
	background-position: 0px -9px;
}

input.KFormTagInput {
	margin-left:-4px;
}



/* Switches */

a.KFormSwitch {
	background-color:white;
	display:block;
	position: relative;
	float: left;
	width:80px;
	height:18px;
	margin-bottom:5px;
	border:1px solid #AAA;
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
		border-radius: 3px;
	-webkit-transition: background 0.3s ease;
	   -moz-transition: background 0.3s ease;
	     -o-transition: background 0.3s ease;
		transition: background 0.3s ease;
	-webkit-box-shadow:inset 0px 1px 5px rgba(0,0,0,0.2);
	   -moz-box-shadow:inset 0px 1px 5px rgba(0,0,0,0.2);
		box-shadow:inset 0px 1px 5px rgba(0,0,0,0.2);
	-ms-user-select: none;
	-moz-user-select: -moz-none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	user-select: none;
}

a.KFormSwitch b {
	position: absolute;
	display: block;
	width: 44px;
	height:18px;
	text-align: center;
	font-size:11px;
	font-weight: bold;
	line-height: 18px;
	color:#FFF;
}
a.KFormSwitch b.off {right: 0px;}
a.KFormSwitch.disabled b {opacity: 0.8;}

a.KFormSwitch span.switcher {
	position: absolute;
	display: block;
	width: 36px;
	height:18px;
	left:0px;
	background: #AAA url("../img/switchgrip.png") no-repeat center;
	-webkit-border-radius: 2px;
	   -moz-border-radius: 2px;
		border-radius: 2px;
	-webkit-transition: all 0.3s ease;
	   -moz-transition: all 0.3s ease;
	     -o-transition: all 0.3s ease;
		transition: all 0.3s ease;
	-webkit-box-shadow:inset 0px 0px 3px rgba(255,255,255,0.5);
	   -moz-box-shadow:inset 0px 0px 3px rgba(255,255,255,0.5);
		box-shadow:inset 0px 0px 3px rgba(255,255,255,0.5);
}
a.KFormSwitch.on span.switcher {
	left:44px;
}

a.KFormSwitch.off:hover		{background: #FF3535;}
a.KFormSwitch.off		{background: #E80000;}
a.KFormSwitch.off.disabled	{background: #BC8D8D;}
a.KFormSwitch.on:hover		{background: #008ADB;}
a.KFormSwitch.on		{background: #0074BC;}
a.KFormSwitch.on.disabled	{background: #8BA9BA;}

a.KFormSwitch.disabled,
a.KFormSwitch.disabled:hover {
	border-color:#888;
	cursor: default;
}
.KFormElemSwitch input {
	position: absolute;
	width: 1px;
	height: 1px;
	z-index: -1;
	opacity: 0;
}

/* Dates */

input.KDateInput {width:70px;}
select.KDateSelectHeures {margin:0 2px 0 8px;}
select.KDateSelectMinutes {margin:0 5px 0 2px;}
input.KDateHMBout,
input.KFileLoadBout,
span.KFormInput input.KFileLoadBout {
	padding: 2px 5px;
	-webkit-box-shadow:0px 1px 0px rgba(0,0,0,0.1);
	   -moz-box-shadow:0px 1px 0px rgba(0,0,0,0.1);
		box-shadow:0px 1px 0px rgba(0,0,0,0.1);
	background:#FFFFFF;
	background: -webkit-linear-gradient(#FFFFFF, #EEEEEE);
	background:    -moz-linear-gradient(#FFFFFF, #EEEEEE);
	background:     -ms-linear-gradient(#FFFFFF, #EEEEEE);
	background:      -o-linear-gradient(#FFFFFF, #EEEEEE);
	background:         linear-gradient(#FFFFFF, #EEEEEE);
	border: 1px solid #AAA;
	margin-left: 5px;
}
input.KDateHMBout:hover,
input.KFileLoadBout:hover {
	background:#EEEEEE;
	background: -webkit-linear-gradient(#EEEEEE, #FFFFFF);
	background:    -moz-linear-gradient(#EEEEEE, #FFFFFF);
	background:     -ms-linear-gradient(#EEEEEE, #FFFFFF);
	background:      -o-linear-gradient(#EEEEEE, #FFFFFF);
	background:         linear-gradient(#EEEEEE, #FFFFFF);
	border: 1px solid #888;
	-webkit-box-shadow:inset 0px 1px 3px rgba(0,0,0,0.15);
	   -moz-box-shadow:inset 0px 1px 3px rgba(0,0,0,0.15);
		box-shadow:inset 0px 1px 3px rgba(0,0,0,0.15);
}

/* Fichiers / Images */

.KFileImport {margin-left: 5px;}
.KImgBloc {
	position: relative;
	border: 1px solid #AAA;
	background: #FFF;
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
		border-radius: 3px;
	overflow: hidden;
	-webkit-box-shadow:inset 0px 2px 8px rgba(0,0,0,0.4);
	   -moz-box-shadow:inset 0px 2px 8px rgba(0,0,0,0.4);
		box-shadow:inset 0px 2px 8px rgba(0,0,0,0.4);
	text-align: center;
	overflow: hidden;
}
.KImgBloc:hover {
	overflow: visible;
}
.KImgContainer {
	position: relative;
	overflow: hidden;
}
.KImgImage {position: relative;}
.KFormElemImg a.KFormClear, .KFormElemImg a.KFormAlertIcon {
	top:3px;
	z-index: 1001;
}
span.KFormInput .KImgBloc p.KFileLoadBout,
.KImgBloc .KFileImport {
	position: absolute;
	bottom: 0;
	left: 0;
	margin: 10px 5%;
	padding: 4px 0;
	width: 90%;
	border: none;
	cursor: pointer;
	-webkit-box-shadow:none;
	   -moz-box-shadow:none;
		box-shadow:none;
	-webkit-border-radius: 0px;
	   -moz-border-radius: 0px;
		border-radius: 0px;
}
span.KFormInput .KImgBloc p.KFileLoadBout {
	background: url(../../core/img/1x1_FFFFFF_50.png);
	color: #333;
	text-align: center;
}
span.KFormInput .KImgBloc p.KFileLoadBout:hover {
	background: url(../../core/img/1x1_FFFFFF_80.png);
	color: #000;
}
.KImgBloc .KFileUploadDiv {
	display: none;
	background: #FFF;
	border: 1px solid #AAA;
	z-index: 1000;
	-webkit-border-radius: 5px;
	   -moz-border-radius: 5px;
		border-radius: 5px;
	-webkit-box-shadow:0px 2px 16px rgba(0,0,0,0.3);
	   -moz-box-shadow:0px 2px 16px rgba(0,0,0,0.3);
		box-shadow:0px 2px 16px rgba(0,0,0,0.3);
}
.KImgBloc:hover .KFileUploadDiv {
	position: absolute;
	top:-1px;
	left:-1px;
	width: 300px;
}
.KImgBloc .KFileInfos {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 80%;
	margin: 10px 5%;
	padding: 10px 5%;
	text-align: center;
	color: #333;
	background: url(../../core/img/1x1_FFFFFF_80.png);
}

.KImgBloc .KFileUploadDiv .KFilePlaceholder {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	background: url(../img/dl-32-888888-sw.png) no-repeat center;
	width: 100%;
	min-height: 200px;
	cursor: pointer;
}
.KImgBloc .KFileUploadDiv .KFileInfos,
.KImgBloc .KFileUploadDiv .KFileImport {
	display: none;
}

.KImgBloc:hover .KFileInfos,
.KImgBloc:hover .KFileImport {
	position: relative;
	bottom:0;
	left:0;
}
.KImgBloc:hover .KFileUploadDiv .KFileInfos,
.KImgBloc:hover .KFileUploadDiv .KFileImport {display: block;}
.KImgBloc:hover .KFileUploadDiv .KFilePlaceholder {display: none;}
.KFormElemImg .KFormErrorInfo {
	position: absolute;
	top:30px;
	left:5%;
	width: 75%;
	padding: 3px 10% 3px 5%;
}



/* Mini Listes */


.KFormElemMiniList .KFormInput {display: block;}

.KFormElemMiniList ul li {
	position: relative;
	padding: 0px 27px 0px 0px;
	margin-bottom: 2px;
}
.KFormElemMiniList ul li input {
	display: block;
	width: 100%;
}
.KFormElemMiniList ul li:hover {
	background: #EEE;
}
.KFormElemMiniList .KMiniListAdd,
.KFormElemMiniList ul li a.KMiniListDel {
	display: none;
	position: absolute;
	width: 16px;
	height: 16px;
	vertical-align: middle;
	right:3px;
	top:2px;
	text-indent: -10000px;
	background: url(../../core/img/close_666666_16x16.png) no-repeat 0px -0px;
}
.KFormElemMiniList ul li:hover a.KMiniListDel {
	display: block;
}
.KFormElemMiniList ul li a.KMiniListDel:hover {
	background-position: 0px -16px;
}
.KFormElemMiniList .KMiniListAdd {
	display: block;
	top: -18px;
	background: url(../../core/img/minicons_16x16.png) no-repeat -48px -32px;
}
.KFormElemMiniList .KMiniListAdd:hover {
	background-position: -48px -16px;
}

.KFormElemMiniList li.KMiniListModele {display: none;}



/* IBAN */

.KFormElemIban .cases input {
	width: 30px;
    padding: 2px 7px;
}



/* ╰━┅┉┈  © KARIMBA-DESIGN - www.karimba-design.fr  ┈┉┅━╯ /*