/**
 *	SDBv3 Inputs - Switch
 *
 *	This is I/O Switch input field
 *	The Design is orignial from w3school : https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_switch
 *
 * HTML Template :
 
	<label class="SDBv3_I_S">
		<input type="checkbox"><b></b><span></span>
	</label>
	
 */
.SDBv3_I_S{
	position: relative;
	display: inline-block;
	width: 88px;
	height: 34px;
}
.SDBv3_I_S.compact{
	width: 60px;
	height: 24px;
	margin: 2px 0 3px;
}

.SDBv3_I_S>input{ 
	opacity: 0;
	width: 0;
	height: 0;
}

.SDBv3_I_S>span{
	border-radius:5px;
	box-shadow: 0 0 5px 0px inset #777;
	
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #DDD;
	transition: 250ms;
}

.SDBv3_I_S>span:before {
	border-radius:5px;
	box-shadow: 0 0 5px 1px #999;
	
	position: absolute;
	content: "";
	width: 26px;
	height: 26px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: 250ms;
	transition: 250ms;
}
.SDBv3_I_S.compact>span:before{width: 16px;height: 16px; box-shadow: 0 0 3px 1px #999;}

.SDBv3_I_S>b{
	position: absolute;
	top:0;
	z-index:2;
	display: block;
	width:inherit;
	height: inherit;
	font-size: 20px;

	box-sizing:content-box;
	
	overflow:hidden;
}
.SDBv3_I_S.compact>b{font-size:15px;}


.SDBv3_I_S>b:before, .SDBv3_I_S>b:after {
	position: absolute;
	top: 9px;
	z-index:2;
	transition:all 250ms;
	line-height: 1;
}
.SDBv3_I_S.compact>b:before, .SDBv3_I_S.compact>b:after {top: 7px;}



.SDBv3_I_S>b:before {
	content: "O";
	right: 13px;
	color: #AAA;
	text-shadow: 0 1px rgba(255, 255, 255, 0.5);
}
.SDBv3_I_S>b:after {
	content: "I";
	left: -38px;
	color: #888;
	text-shadow: 0 1px rgba(0, 0, 0, 0.2);
	opacity: 0;
}

.SDBv3_I_S>b:hover{
	cursor:pointer;
}

.SDBv3_I_S input:checked~span{
	background-color: #DFC;
}

.SDBv3_I_S input:checked~span:before {
	-webkit-transform: translateX(54px);
	-ms-transform: translateX(54px);
	transform: translateX(54px);
}
.SDBv3_I_S.compact input:checked~span:before {
	-webkit-transform: translateX(35px);
	-ms-transform: translateX(35px);
	transform: translateX(35px);
}

.SDBv3_I_S input:checked~b:before {
	opacity: 0;
	right: -41px;
}
.SDBv3_I_S input:checked~b:after {
	opacity: 1;
	left: 16px;
}






/**
 *	SDBv3 Inputs - CheckBox
 *
 *	Style for "Single" CheckBox
 *
 */
.SDBv3_I_CB{
	margin:10px 0;
	
	display:inline-block;
}

.SDBv3_I_CB>input{
	margin: 0 10px 0 5px;
	transform:scale(1.75);
	
	position:relative;
	top:2px;	
}

.SDBv3_I_CB>span{
	color:#999;
	
	position:relative;
	top:1px;
}

.SDBv3_I_CB:hover{cursor:pointer;}
.SDBv3_I_CB:hover>span{color:#333; font-weight:700;}
.SDBv3_I_CB>input:checked+span{color:#333; font-weight:700;}

/* Inline */
.SDBv3_I_CB.inline{
	margin:0 15px 0 0;
	display:inline-block;
}





/**
 *	SDBv3 Inputs - Text + Number
 *	
 * HTML Template :
 		<div class="SDBv3_I_TF">
			<input type="text">
		</div>
 */
.SDBv3_I_TF{
	width:300px;
	position:relative;
} 

.SDBv3_I_TF>input{
	width:inherit;
	height:inherit;
	
	border:1px solid #CCC;
	border-radius:5px;
	box-sizing:border-box;
	padding:5px 10px;
	
	font-family: 'Amiko', sans-serif;
	font-size:15px;
	font-weight:400;
	color:#333;	
	
	background-color:#FFF;
	
	transition:border-color 400ms;
}

/* Hover Effect */
.SDBv3_I_TF>input:hover{border-color:#555; outline:0;}

/* Focus Effect */
.SDBv3_I_TF>input:focus{background-color:#FFFFED;} 

/* DatePicker */
.SDBv3_I_TF.datepicker{width:110px;}

/* Inline */
.SDBv3_I_TF.inline{display:inline-block;}
.SDBv3_I_TF.inline.compact{width:auto;}

/* Compact */
.SDBv3_I_TF.compact>input{
	width:100px;
	margin-top:2px;
	margin-bottom:3px;
	padding:1px 5px;
	
	font-size:14px;
}


/*=== Number, Percentage & Currency =====*/
.SDBv3_I_Number{text-align:right;}
.SDBv3_I_TF.compact>.SDBv3_I_Number{width:150px; }
.SDBv3_I_TF.compact>input.SDBv3_I_Percent{padding-right:20px;}

.SDBv3_I_TF.compact>input.SDBv3_I_Percent+span:after{
	content:"%";

	font-size:13px;
	color:#BBB;
	
	display:block;
	position:absolute;
	/*top:2px; Full Size */
	top:6px;
	right:5px;
}

.SDBv3_I_TF.compact>input.SDBv3_I_Currency{padding-left:23px;}

.SDBv3_I_TF.compact>input.SDBv3_I_Currency+span:after{
	content:"$";
	
	font-size:15px;
	color:#999;
	
	display:block;
	position:absolute;
	/*top:3px; Full Size */
	top:5px;	
	left:8px;
}
	

	





/**
 *	SDBv3 Inputs - Link Fields
 */
.SDBv3_I_LF{
	position:relative;
	display:flex;
	align-items:center;
} 

.SDBv3_I_LF>input{
	border:1px solid #CCC;
	border-radius:5px;
	box-sizing:border-box;
	padding:5px 10px;
	
	font-family: 'Amiko', sans-serif;
	font-size:15px;
	font-weight:400;
	color:#333;	
	
	background-color:#FFF;
	
	transition:border-color 400ms;
	
	flex-grow:1;
}

/* Hover Effect */
.SDBv3_I_LF>input:hover{border-color:#555; outline:0;}

/* Focus Effect */
.SDBv3_I_LF>input:focus{background-color:#FFFFED;} 


.SDBv3_I_LF>i{
	margin:0 10px;
	font-size:18px;
	transition:color 400ms;
}
.SDBv3_I_LF>i:hover{cursor:pointer; color:red;}

/* Inline */
.SDBv3_I_LF.inline{display:inline-block;}
.SDBv3_I_LF.inline.compact{width:auto;}

/* Compact */
.SDBv3_I_LF.compact>input{
	width:100px;
	margin-top:2px;
	margin-bottom:3px;
	padding:1px 5px;
	
	font-size:14px;
}








	
	
/**
 *	SDBv3 Inputs - Textarea
 */
.SDBv3_I_TA{
	width:100%;
	max-width:500px;
	position:relative;
} 

.SDBv3_I_TA>textarea{
	width:inherit;
	height:100px;
	
	border:1px solid #CCC;
	border-radius:5px;
	box-sizing:border-box;
	padding:5px 10px;
	
	font-family: 'Amiko', sans-serif;
	font-size:15px;
	font-weight:400;
	color:#333;	
	
	background-color:#FFF;
	
	transition:border-color 400ms;
}

/* Hover Effect */
.SDBv3_I_TA>input:hover{border-color:#555; outline:0;}

/* Focus Effect */
.SDBv3_I_TA>input:focus{background-color:#FFFFED;} 

/* DatePicker */
.SDBv3_I_TF.datepicker{width:110px;}

	
	
	
 
/**
 *	SDBv3 Inputs - Radio Button
 *
 *	Ex. 
		<div class="SDBv3_I_R">
			<input id="SDB_DT_F_DF1" type="radio" name="exist" value="LK">
			<label for="SDB_DT_F_DF1">All</label>
		</div>
 */ 
.SDBv3_I_R{
	margin-right:15px;

	border-radius:5px;
	box-shadow:1px 1px 1px 1px #555;
	
	display:inline-block;
	
	position:relative;
} 


.SDBv3_I_R>input{
	transform:scale(1.5);
	
	position:absolute;
	top:9px;
	left:9px;
	z-index:10;
}


.SDBv3_I_R>label{
	padding:9px 20px 6px 40px;
	border-radius:5px;
	
	display:block;
	background-color:#F1F1F1;
	transition:background-color 400ms;
} 



/* Hover Effect */
.SDBv3_I_R>label:hover{cursor:pointer; background-color:rgb(255,255,200);}
.SDBv3_I_R>input:hover{cursor:pointer;}
.SDBv3_I_R>input:hover+label{background-color:rgb(255,255,200);}

/* Selected Effect */
.SDBv3_I_R>input:checked+label{background-color:rgb(255,255,200);}

/*=== For Dotless =====*/
.SDBv3_I_R.dotless>input{display:none;}
.SDBv3_I_R.dotless>label{padding:9px 20px 6px 20px;}

 
 
 
 
/**
 *	DropDown 
 *	
 *	Ex: 
		<select class="SDBv3_I_DD">
			<option value='last12m'>Within Last 12 months</option>
			<option value='last11m'>Within Last 11 months</option>
			<option value='last10m'>Within Last 10 months</option>
		</select>
 */
.SDBv3_I_DD{
	padding:4px 10px;
	border:1px solid #CCC;
	border-radius:5px;
	
	font-family: 'Amiko', sans-serif;
	font-size:15px;
	font-weight:400;
	color:#333;
	
	transition:border-color 400ms;
}
	
/* Hover Effect */
.SDBv3_I_DD:hover{
	border-color:#555;
}

/* Inline */
.SDBv3_I_DD.inline{display:inline-block;}

/* Compact */
.SDBv3_I_DD.compact{
	width:170px;
	height:24px;
	
	margin-left:5px;
	margin-bottom:5px;
	padding:1px 5px;
	font-size:14px;
}
 
 




/**
 *	Comment Field 
 *	
 *	Ex: 

 */
.SDBv3_I_CF{
	position:relative;
	
}

.SDBv3_I_CF>textarea{
	width:100%;
	min-height:70px;
	max-height:100px;
	border-radius:5px;
	box-sizing:border-box;
	padding:5px 10px;
	
	font-family: 'Amiko', sans-serif;
	font-size:13px;
	font-weight:400;
	color:#333;	
	
	resize:none;
	overflow:hidden;
	background-color:#FFF;
	
	transition:border-color 400ms,background-color 400ms;
}

.SDBv3_I_CF>.fas.fa-comments{
	font-size:28px;
	
	position:absolute;
	bottom:15px;
	right:10px;
	
	transition:color 400ms;
}


/* Hover Effect */
.SDBv3_I_CF:hover>textarea{border-color:#555; outline:0; background-color:#FFFFED; cursor:pointer;}
.SDBv3_I_CF:hover>.fas.fa-comments{color:red; cursor:pointer;}

/* Focus Effect */
.SDBv3_I_CF>input:focus{background-color:#FFFFED;} 

/* Comment Window */
#SDBv3_CF_OL{
	width:900px;
	height:85%;
	display:block;
}
#SDBv3_CF_OL>.M_Section{
	max-height:100%;
	
	display:flex;
	flex-direction:column;
}

#SDBv3_CF_Window{
	padding:10px; 
	overflow-x:auto;
}

.SDBv3_CF_Comment{
	margin-bottom:10px;
	
	display:flex;
	flex-direction:column;
}

	/* Commenter Meta Header */
	.SDBv3_CF_Comment>header{
		margin-bottom:5px;
		display:flex;
		align-items:baseline;
	}
	.SDBv3_CF_Comment.UserComment>header{
		flex-flow:row-reverse;
	}
	
	/* Commenter Name */
	.SDBv3_CF_Comment strong{
		margin:0 10px 0 0;
		font-size:20px;
		letter-spacing:-2px;
	}
	.SDBv3_CF_Comment.UserComment strong{margin:0 0 0 10px;}
	
	/* Comment Date */
	.SDBv3_CF_Comment span{
		font-size:13px;
		color:#777;
	}
	.SDBv3_CF_Comment span:before{
		content:"\f073";
		
		font-family:"Font Awesome 5 Free";
		font-size:15px;
		
		margin-right:3px;
	}
	
	/* Comment Flag */
	.SDBv3_CF_Flag{
		margin:0 5px;
		font-size:20px;
		color:#CCC;
		
		transition:color 400ms;
	}
	.SDBv3_CF_Flag:hover{color:red; cursor:pointer;}
	.SDBv3_CF_Comment.Highlighted .SDBv3_CF_Flag{color:red;}
	
	/* Comment Wrapper */
	.SDBv3_CF_Comment>section{display:flex;}
	.SDBv3_CF_Comment.UserComment>section{flex-direction:row-reverse;}

	/* Comment <p> */
	.SDBv3_CF_Comment p{
		margin:2px;
		padding:10px;
		
		border-radius:0 15px 15px 15px;
		border-top:1px solid #CCC;
		border-left:1px solid #CCC;
		border-right:2px solid #888;
		border-bottom:2px solid #888;
		
		background-color:#EEE;
		
		display:inline-block;
	}
	
	.SDBv3_CF_Comment.UserComment p{
		margin:0 0 0 10px;
		border-radius:15px 0 15px 15px;
		border-left:2px solid #888;
		border-right:1px solid #CCC;
		
		background-color:#FFFFDD;
	}
	
	.SDBv3_CF_Comment.Highlighted p{
		background-color:#FFDDEE !important;
		border-color:red;
	}
		
	/* Comment Input */
	#SDBv3_CF_Input{
		display:flex;
	}
	
	#SDBv3_CF_Input>textarea{
		width:85%;
		height:50px;
		padding:10px;
		border-radius:5px;
		
		font-family: 'Amiko', sans-serif;
		font-size:13px;
		font-weight:400;
		
		resize:none;
		flex-grow:1;
		
		transition: background-color 400ms, border-color 400ms;
	}
	#SDBv3_CF_Input>textarea:hover{
		border-color:#555;
		outline:0; 
		background-color:#FFFFDD;
	}
	
	#SDBv3_CF_Input>.M_btn{
		min-width:0;
		margin:0 0 2px 5px;
		line-height:50px;
		
	}
	
	
	
	
	
	
 
/*#########################################################################################

	Input Fields Loaded Effect
	
#########################################################################################*/
.SDBv3_Loaded{
	background: linear-gradient(89deg, #ffffff, #3aff00);
	background-size: 400% 400%;
	background-repeat: no-repeat;
	background-position:-50% 0%;
	
	animation: nowloaded 2.5s linear;
	animation-iteration-count: 1;
}

.SDBv3_Loaded_Fail{
	background: linear-gradient(89deg, #ffffff, #FF003A);
	background-size: 400% 400%;
	background-repeat: no-repeat;
	background-position:-50% 0%;
	
	animation: nowloadedv3 2.5s linear;	
}

@keyframes nowloadedv3 { 
    0%{background-position:100% 0%}
    100%{background-position:-50% 0%}
}
 
 
 
 
 
 