/************************************************

Stylesheet: Forms Stylesheet

*************************************************/



/*********************
PLACEHOLDER STYLES
*********************/


::-webkit-input-placeholder {
	/* Chrome/Opera/Safari */
	opacity: 0.5;
	color: rgb(128, 128, 128);
}

::-moz-placeholder {
	/* Firefox 19+ */
	opacity: 0.5;
	color: rgb(128, 128, 128);
}

:-ms-input-placeholder {
	/* IE 10+ */
	opacity: 0.5;
	color: rgb(128, 128, 128);
}

:-moz-placeholder {
	/* Firefox 18- */
	opacity: 0.5;
	color: rgb(128, 128, 128);
}



/*********************
GENERAL FORM STYLES
*********************/

form {}

form.profile-form {
	position: relative;
}

form .dialog {
	position: absolute;
	top: -2em;
	right: 1.5em;
	opacity: 1;
	transition: opacity 0.4s;
	transition-delay: 1s;
}

form .dialog.hide {
	opacity: 0;
}

form.no-dialog .dialog {
	display: none;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea,
select,
.nice-select {
	color: #666;
	border: none;
	border-radius: 0.3em;
	padding: 1em 1.5em;
	width: 100%;
	height: auto;
	line-height: 1.4;
	font-size: inherit;
	min-height: 3.4em;
	background-color: #f2f2f2;
	box-shadow: none;
	font-weight: 400;
	display: block;
	background-clip: padding-box;
	transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus,
.nice-select:focus {
	color: inherit;
	border: unset;
	background-color: #f2f2f2;
	box-shadow: unset;
}

input[type="date"]::-webkit-calendar-picker-indicator {
	background-image: none;
	margin: 0 -1em 0 0;
	cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator:focus {
	outline: none;
}

textarea {
	width: 100%;
}

/*********************
APPLY DEFAULT SELECT STYLES TO NICE SELECT
*********************/

.nice-select {
	padding-right: 3em;
}

.nice-select::after {
	content: '';
	display: block;
	position: absolute;
	background-image: url('../images/dropdown-arrow.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	pointer-events: none;
	right: 0.7em;
	top: 50%;
	width: 28px;
	height: 8px;
	border: none;
	margin: -4px 0 0;
	-webkit-transform-origin: center;
	-ms-transform-origin: center;
	transform-origin: center;
	-webkit-transform: rotate(0deg);
	-ms-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: all 0.15s ease-in-out;
	transition: all 0.15s ease-in-out;
	filter: brightness(0.35);
}

.nice-select.open::after {
	-webkit-transform: rotate(-180deg);
	-ms-transform: rotate(-180deg);
	transform: rotate(-180deg);
}

.nice-select .current {}

.nice-select ul.list {
	min-width: calc(100% + 2px);
	border: 1px solid #cacaca;
	border-radius: 0;
	background-color: #fefefe;
	color: #0a0a0a;
	left: -1px;
	max-height: 250px;
	overflow-y: auto;
	margin: 0;
}

.nice-select ul.list li {
	margin: 0;
}