a, embed, object, input, textarea, select{ outline: 0; }
input{ border: solid 1px #bbb; }
input:focus, textarea:focus, select:focus{ border: solid 1px #9cf !important; }

/* BOTONES */

input[type="button"], input[type="submit"]{
	-webkit-transition: background-color 0.1s, color 0.1s, border-color 0.2s;
	-moz-transition: background-color 0.1s, color 0.1s, border-color 0.2s;
	-ms-transition: background-color 0.1s, color 0.1s, border-color 0.2s;
	-o-transition: background-color 0.1s, color 0.1s, border-color 0.2s;
	transition: background-color 0.1s, color 0.1s, border-color 0.2s;
	background-color: #ccc;
	background-image: -webkit-linear-gradient(top,rgba(255,255,255,0.6),rgba(255,255,255,0));
	border: solid 1px #ccc;
	border-radius: 5px;
	color: #333;
	font-weight: bold;
	text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.4);
	min-width: 80px;
	padding: 3px;
	cursor: pointer;
}
input[type="button"], input[type="submit"]{
	background-image: -moz-linear-gradient(top,rgba(255,255,255,0.6),rgba(255,255,255,0));
}
input[type="button"].red, input[type="submit"].red{
	background-color: #c66;
}
input[type="button"].blue, input[type="submit"].blue{
	background-color: #06c;
}
input[type="button"]:hover:not(:disabled), input[type="submit"]:hover:not(:disabled){
	color: #111;
	border: solid 1px #aaa;
}
input[type="button"]:active:not(:disabled), input[type="submit"]:active:not(:disabled){
	box-shadow: inset 0 0 0 1px #6699ff;
	behavior: url(/PIE.htc);
}
input[type="button"]:active:hover:not(:disabled), input[type="submit"]:active:hover:not(:disabled){
	background-color: #ddd;
}
input[type="button"].red:not(:disabled):active:hover, input[type="submit"].red:not(:disabled):active:hover{
	background-color: #d78c8c;
}
input[type="button"].blue:not(:disabled):active:hover, input[type="submit"].blue:not(:disabled):active:hover{
	background-color: #69c;
}
input[type="button"]:disabled, input[type="submit"]:disabled{
	background: #fff;
	color: #ccc;
}
input[type="file"]{ width: 240px; }

/* CHECKBOX */

input[type="checkbox"]{
	-webkit-transition: border-color 0.2s;
	-moz-transition: border-color 0.2s;
	-ms-transition: border-color 0.2s;
	-o-transition: border-color 0.2s;
	transition: border-color 0.2s;
	width: 16px;
	height: 16px;
	background-color: #eee;
	background-image: -webkit-linear-gradient(top,rgba(255,255,255,0.6),rgba(255,255,255,0));
	display: inline-block;
	margin-bottom: -1px;
	border-radius: 2px;
	border: solid 1px #aaa;
	position: relative;
}
input[type="checkbox"]:hover:not(:disabled){ border: solid 1px #666; }
input[type="checkbox"]:active:not(:disabled){ background-color: #ccc; }
input[type="checkbox"]:disabled{ background-color: #fff; }

/* RADIO */

input[type="radio"]{
	-webkit-appearance: none;
	-webkit-transition: border-color 0.2s;
	-moz-transition: border-color 0.2s;
	-ms-transition: border-color 0.2s;
	-o-transition: border-color 0.2s;
	transition: border-color 0.2s;
	width: 15px;
	height: 15px;
	background-color: #eee;
	background-image: -webkit-linear-gradient(top,rgba(255,255,255,0.6),rgba(255,255,255,0));
	display: inline-block;
	margin-bottom: -1px;
	border-radius: 8px;
	border: solid 1px #ddd;
	position: relative;
}
input[type="radio"]:hover:not(:disabled){ border: solid 1px #aaa; }
input[type="radio"]:active:not(:disabled){ background-color: #ddd; }
input[type="radio"]:disabled{ background-color: #fff; }
input[type="radio"]:checked::before{
	content: " ";
	left: 4px;
	position: absolute;
	width: 5px;
	height: 5px;
	border-radius: 5px;
	background: Gray;
	top: 4px;
}

/* LABEL */

input[type="checkbox"] + label, input[type="radio"] + label{ color: #333; }
input[type="checkbox"]:hover + label, input[type="checkbox"] + label:hover,
input[type="checkbox"]:active + label, input[type="checkbox"] + label:active,
input[type="radio"]:hover + label, input[type="radio"] + label:hover,
input[type="radio"]:active + label, input[type="radio"] + label:active{ color: #111; }
input[type="checkbox"]:checked + label,
input[type="radio"]:checked + label{ color: #000; }
input[type="checkbox"]:disabled:not(:checked) + label,
input[type="radio"]:disabled:not(:checked) + label{ color: #ccc; }
input[type="checkbox"]:disabled:checked + label,
input[type="radio"]:disabled:checked + label{ color: #aaa; }

/* INPUT TEXT y SELECT */

input[type="text"], input[type="password"], textarea, input:not([type]){
	-webkit-transition: border-color 0.2s;
	-moz-transition: border-color 0.2s;
	-ms-transition: border-color 0.2s;
	-o-transition: border-color 0.2s;
	border: solid 1px #bbb;
	border-radius: 2px;
	color: #666;
	padding: 3px;
	margin: 0;
	box-shadow: inset -1px 1px 2px 0 rgba(0,0,0,0.2);
	width: 100px;
	box-sizing: content-box;
	-moz-box-sizing: content-box;
	-ms-box-sizing: content-box;
	text-transform: uppercase !important;
}
input[type="text"]:not(:disabled):hover, input[type="password"]:not(:disabled):hover,
textarea:not(:disabled):hover, input:not([type]):not(:disabled):hover, select:not(:disabled):hover{
	border: solid 1px #666;
	color: #333;
}
input[type="text"]:focus, input[type="password"]:focus, textarea:focus, input:not([type]):focus, select:focus{
	color: #000;
	box-shadow: none;
}
input[type="text"]:disabled, input[type="password"]:disabled, textarea:disabled,
input:not([type]):disabled, select:disabled{
	color: #999;
	background-color: #f3f3f3;
}
/*
select{
	-webkit-appearance: none;
	-moz-appearance: window;
	-webkit-transition: border-color 0.2s, background-color 0.2s;
	-moz-transition: border-color 0.2s, background-color 0.2s;
	-ms-transition: border-color 0.2s, background-color 0.2s;
	-o-transition: border-color 0.2s, background-color 0.2s;
	transition: border-color 0.2s, background-color 0.2s;
	min-width: 120px;
	border: solid 1px #bbb;
	border-radius: 5px 0 0 5px;
	color: #666;
	padding: 2px;
	margin: 0;
}
select:not([multiple]){
	background-color: #ddd;
	background-image: url(/Coding/select.png), -webkit-linear-gradient(top,rgba(240,240,240,1),rgba(240,240,240,0));
	background-position: right center;
	background-repeat: no-repeat;
	padding-right: 15px;
	border-radius: 5px;
}
select:not([multiple]){
	background-image: -moz-linear-gradient(top,rgba(240,240,240,1),rgba(240,240,240,0));
}
select:not([multiple]):focus{ background-color: rgb(250,250,250); }
*/
select{
	border: solid 1px #bbb !important;
	border-radius: 2px;
	color: #666;
	padding: 2px;
	margin: 0;
	box-shadow: inset -1px 1px 2px 0 rgba(0,0,0,0.2);
	max-width: 300px;
	text-transform: uppercase !important;
}

/* ANCHOR */

a{
	text-decoration: none;
}
a[href]:not(.nostyle){
	-webkit-appearance: none;
	-webkit-transition: background-color 0.2s;
	-moz-transition: background-color 0.2s;
	-ms-transition: background-color 0.2s;
	-o-transition: background-color 0.2s;
	transition: background-color 0.2s;
	color: #36c;
	background-color: rgba(203,229,255,0.1);
	border-bottom: solid 1px #69f;
}
a[href]:not(.nostyle):hover{
	background-color: rgba(203,229,255,0.8);
	color: #369;
	cursor: pointer;	
}
a:focus{ outline: #36c dashed 1px; }