/* 
	***
	*** YU FORMS ***
	***
*/

*,
:before,
:after{
	box-sizing: border-box;
}

select{
  text-transform: none;
}

[type="checkbox"],
[type="radio"]{
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button{
	height: auto;
}


/* input / textarea */

.yu-form{
	display: block;
	position: relative;
	margin: 0;
	padding: 15px 0;
	box-sizing: border-box;
}

.yu-form-large{
	margin: 25px 0;
}

.yu-form > textarea{
 	resize: none;
}

.yu-form > input,
.yu-form > textarea{
	background: none;
	color: black;
	font-size: 100%;
	padding: 5px 5px 5px 0px;
	margin: 0;
	line-height: normal;
	display: block;
	width: 100%;
	border: none;
	border-radius: 0;
	border-bottom: 1px solid #c6c6c6;
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 30px;
}

.yu-form > input.yu-required,
.yu-form > textarea.yu-required{
	border-color: red;
}

.yu-form-icon > input,
.yu-form-icon > textarea{
	padding-right: 30px;
}

.yu-form-icon > span.yu-ficon{
	display: block;
	position: absolute;
	right: 0;
	top: 15px;
	width: 30px;
	height: 30px;
	text-align: center;
	line-height: 30px;
	color: #c6c6c6;
}

.yu-form > input:focus,
.yu-form > textarea:focus{
  	outline: none;
}

.yu-form > input:focus ~ label, 
.yu-form > input:valid ~ label,
.yu-form > input:disabled ~ label,
.yu-form > textarea:focus ~ label,
.yu-form > textarea:valid ~ label,
.yu-form > textarea:disabled ~ label{
	top: -2px;
	font-size: 70%;
	color: blue;
	text-overflow: ellipsis;
}

.yu-form > input:disabled,
.yu-form > textarea:disabled{
	cursor: not-allowed;
}

.yu-form-icon > input:focus ~ span.yu-ficon,
.yu-form-icon > input:valid ~ span.yu-ficon{
	color: blue;
}

.yu-form > label{
	color: #474747;
	font-size: 100%;
	font-weight: normal;
	position: absolute;
	pointer-events: none;
	left: 0;
	top: 20px;
	margin: 0;
	line-height: normal;
	-webkit-transition: 300ms ease all;
	transition: 300ms ease all;
	overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.yu-form-ieFix > label{
	top: -2px;
	font-size: 70%;
}

.yu-form > input:focus ~ .bar:before,
.yu-form > textarea:focus ~ .bar:before{
	width: 100%;
}

.yu-form > input[type="password"]{
	letter-spacing: 0.2em;
}

.yu-form > span.bar{
	position: relative;
	display: block;
	width: 100%;
}

.yu-form > span.bar:before{
	content: '';
	height: 2px;
	width: 0;
	bottom: 0px;
	position: absolute;
	background: blue;
	-webkit-transition: 300ms ease all;
	transition: 300ms ease all;
	left: 0%;
}

/* select field */

.yu-select{
	display: block;
	padding: 15px 0 15px 0;
	margin: 0;
	position: relative;
	box-sizing: border-box;
}

.yu-select-large{
	margin: 25px 0;
}

.yu-select:focus{
	outline: 0;
}

.yu-select:focus > select{
	height: 33px;
	margin-bottom: -1px;
	border-color: blue;
	border-width: 2px;
}

.yu-select > select{
	display: block;
	height: 32px;
	width: 100%;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	outline: none;
	border: none;
	border-bottom: 1px solid #c6c6c6;
	border-radius: 0px;
	-webkit-box-shadow: none;
	box-shadow: none;
	background-color: transparent;
	background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iNiIgd2lkdGg9IjEwIj48cG9seWdvbiBwb2ludHM9IjAsMCAxMCwwIDUsNiIgc3R5bGU9ImZpbGw6cmdiYSgwLDAsMCwuMjQpOyIvPjwvc3ZnPg==");
	background-repeat: no-repeat;
	background-position: right center;
	cursor: pointer;
	color: black;
	font-size: 100%;
	font-family: inherit;
	line-height: inherit;
	padding: 0 25px 0 0;
}

.yu-select > select.yu-required{
	border-color: red;
}

.yu-select > select::-ms-expand{
	display: none;
}

.yu-select > select:focus{
	outline: 0;
	height: 33px;
	margin-bottom: -1px;
	border-color: blue;
	border-width: 2px;
}

.yu-select > select:disabled{
	color: rgba(0, 0, 0, 0.5);
	cursor: not-allowed;
	background-color: transparent;
	opacity: 1;
}

.yu-select > select:-moz-focusring{
	color: transparent;
	text-shadow: 0 0 0 #000;
}

.yu-select > select:focus::-ms-value{
	background: none;
	color: rgba(0, 0, 0, 0.87);
}

.yu-select > label{
	position: absolute;
	top: 0;
	display: block;
	width: 100%;
	color: #474747;
	font-size: 12px;
	font-weight: 400;
	line-height: 15px;
	overflow-x: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.yu-select:focus > label,
.yu-select > select:focus ~ label,
.yu-select > select:valid ~ label{
	color: blue;
}

/* Checkbox / radio */

.yu-radio,
.yu-checkbox {
	position: relative;
	display: block;
	padding: 0;
	margin: 15px 0;
	box-sizing: border-box;
}

.yu-radio-large,
.yu-checkbox-large{
	margin: 25px 0;
}

.yu-radio > label,
.yu-checkbox > label {
	min-height: 20px;
	padding: 0 0 0 25px;
	margin: 0;
	font-weight: normal;
	cursor: pointer;
	font-size: 100%;
}

.yu-radio input:disabled,
.yu-checkbox input:disabled {
  	cursor: not-allowed;
}

.yu-radio input:focus,
.yu-checkbox input:focus {
	outline: thin dotted;
	outline: 5px auto -webkit-focus-ring-color;
	outline-offset: -2px;
}

.yu-radio-inline > label,
.yu-checkbox-inline > label{
	padding: 0;
}

.yu-radio > label > input[type="radio"],
.yu-radio-inline > label > input[type="radio"],
.yu-checkbox > label > input[type="checkbox"],
.yu-checkbox-inline > label > input[type="checkbox"] {
	position: absolute;
	left: 0;
	top: -1px;
}

.yu-radio > label > input[type="radio"],
.yu-radio-inline > label > input[type="radio"]{
	top: -2px;
}

.yu-radio + .yu-radio,
.yu-checkbox + .yu-checkbox {
	margin-top: -5px;
}

.yu-radio-inline,
.yu-checkbox-inline {
	display: inline-block;
	padding: 0;
	margin: 0;
	vertical-align: middle;
	font-weight: normal;
	cursor: pointer;
}

.yu-radio-inline > input[type="radio"],
.yu-radio-inline > input[type="checkbox"],
.yu-radio-inline > label > input[type="radio"],
.yu-radio-inline > label > input[type="checkbox"],
.yu-checkbox-inline > input[type="radio"],
.yu-checkbox-inline > input[type="checkbox"],
.yu-checkbox-inline > label > input[type="radio"],
.yu-checkbox-inline > label > input[type="checkbox"] {
	margin: 0 6px 0 0;
	line-height: normal;
	position: relative;
	top: -2px;
}

.yu-radio-inline + .yu-radio-inline,
.yu-checkbox-inline + .yu-checkbox-inline {
	margin-top: 0;
	margin-left: 15px;
}

.yu-checkbox label.yu-required {
	border-bottom: 1px solid red;
}

/* buttons */

.IWIHtml-Button {
	display: inline-block;
	text-transform: none;
	outline: none;
    overflow: hidden;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
    line-height: normal;
    user-select: none;
    text-rendering: optimizeLegibility;
    box-sizing: border-box;
    touch-action: manipulation;
    opacity: 1;
    font-weight: normal !important;
}

.IWIMail-Button,
.IWIHtml-Button,
.yu-btn {
	-webkit-transition: all 0.3s ease-in;
  	-moz-transition: all 0.3s ease-in;
  	-o-transition: all 0.3s ease-in;
  	-ms-transition: all 0.3s ease-in;
  	transition: all 0.3s ease-in;
  	cursor: pointer !important;
  	text-decoration: none !important;
  	opacity: 1;
  	-webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-rendering: optimizeLegibility;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -ms-touch-action: manipulation;
	touch-action: manipulation;
	line-height: normal;
	outline: none;
	-webkit-tap-highlight-color: transparent;
}

.yu-btn {
	position: relative;
	display: inline-block;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
	-ms-border-radius: 5px;
	border-radius: 5px;
	overflow: hidden;
	text-align: center;
	font-weight: 400;
	font-size: 100%;
	padding: 10px 15px 10px 15px;
    color: white;
    background-color: blue;
    border: 1px solid blue;
}

.yu-btn-small {
	padding: 6px 11px 6px 11px;
	font-size: 85%
}

.yu-btn-shut {
	opacity: 0.5 !important;
	cursor: not-allowed !important;
}

.yu-btn > i.fa ~ span{
	margin-left: 5px;
}

.yu-btn > span{
	opacity: 1;
}

.yu-btn > img{
	display: none;
	max-width: 20px;
	max-width: 20px;
}

.yu-btn-busy > span{
	opacity: 0;
	display: none;
}

.yu-btn-busy > img{
	display: inline-block;
}

.yu-btn-block{
	display: block;
	width: 100%;
}

.resp{
	text-align: left;
	line-height: normal;
	color: red;
	font-size: 90%;
	margin: 10px 0 0 0;
}

.success{
	text-align: left;
	line-height: normal;
	color: green;
	font-size: 90%;
	margin: 10px 0 0 0;
}



