/*
	Default styles for elements:
	- input type: text, email, password, textarea, file (with button class 'btn-file'), select, checkbox, radio, button, modals
*/


/*	--------------------------
	Input default
	-------------------------- */
.form-group {
	position: relative;
}
.form-group span.styled-underline {
	position: absolute;
	width: 100%;
    height: 2px;
    left: 0px;
    z-index: 10;
    background-image: url('../pics/line_horizontal_right.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: width .3s ease-out;
}
.form-group span.styled-underline-active {
	width: 100%;
}
.form-group span.styled-label {
	position: absolute;
	top: 5px;
	left: 10px;
	color: gray;
	z-index: 1000;
    transition: all 0.3s linear;
}
.form-group span.styled-label-active {
	top: -18px;
}

input[type=text].form-control,
input[type=email].form-control,
input[type=password].form-control,
input[type=number].form-control,
textarea.form-control {
	position: relative;
	margin-top: 10px;
	padding-left: 10px;
	border: 2px solid #f171ff;
	border-radius: 0;
	background-color: transparent;
	color: #f171ff !important;
	font-weight: bold;
	box-shadow: none;
	outline: none;
	resize: none;
	transition: all 0.2s linear;
}
textarea.form-control {
	height: 130px;
}

input[type=text].form-control:focus,
input[type=email].form-control:focus,
input[type=password].form-control:focus,
input[type=number].form-control:focus,
textarea.form-control:focus {
	box-shadow: 0px 0px 5px 3px #f8b4ff;
	outline: none;
	border-color: rgba(133, 133, 133, 0.58);
	border-bottom-width: 1px;
	background-color: transparent;
}
input[type=checkbox] {
	margin: 0 5px;
}



/*	----------------------------
	File input default
	---------------------------- */
.btn-file {
	cursor: pointer;
/*     position: relative; */
    overflow: hidden;
}
input[type=file].styled-btn {
    position: absolute;
    filter: alpha(opacity=0);
    opacity: 0;
}
.image-show {
	display: inline-block;
	width: 170px;
	margin: 5 10px;
	background-color: #fafafa;
}
.image-preview {
	width: 100%;
	padding: 10px;
}
.delete-upload-file {
	position: absolute;
	margin-top: -7px;
	margin-left: -10px;
}



/*	----------------------------
	Styled select default
	---------------------------- */
.styled-select-sm,
.styled-select-md {
	position: relative;
	border: 2px solid #f171ff;
	width: 100%;
	top: 50%;
	border-radius: 0px;
	overflow: hidden;
	color: gray;
}
.styled-select-sm {
	height: 28px;
	margin-top: 11px;
}
.styled-select-md {
	height: 38px;
	margin-top: 11px;
}
.styled-select-sm select,
.styled-select-md select {
	width: 100%;
	border: none;
	border-radius: 0;
	height: 100%;
	padding: 0 7px;
	box-shadow: none;
	background: transparent;
	background-image: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	color: #f171ff;
	font-weight: bold;
	outline: none;
}




/* Styled checkbox */
[class^='styled-checkbox'] {
	position: relative;
	width: 100%;
}
[class^='styled-checkbox'] input {
	visibility: hidden;
}
[class^='styled-checkbox'] label {
	cursor: pointer;
	position: absolute;
	width: 23px;
	height: 23px;
	top: 0px;
	left: 0px;
	border: 2px solid rgba(133, 133, 133, 0.58);
	border-radius: 0px;
	background-color: rgba(255, 255, 255, 0.4);
	transition: background-color .3s linear, border-color .3s linear;
}

[class^='styled-checkbox'] label:after {
	content: '';
	padding-left: 4px;
	color: #bababa;
}

[class^='styled-checkbox'] label:hover::after {
	content:'\2714';
	padding-left: 4px;
	color: #525252;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
	filter: alpha(opacity=50);
	opacity: 0.5;
}

[class^='styled-checkbox'] input[type=checkbox]:checked + label:hover::after {
	opacity: 1;
}

[class^='styled-checkbox'] input[type=checkbox]:checked + label:after {
	content:'\2714';
	padding-left: 4px;
	color: #525252;
}
[class^='styled-checkbox'] .title {
	position: absolute;
	top: 0px;
	margin-left: 5px;
	font-weight: bold;
}
.checkbox-title-alone {
	margin-left: -2px;
}



/*	---------------------------
	Styled Radio
	--------------------------- */
.styled-radio {
	padding-top: 0;
	display: inline-block;
	margin-right: 20px;
}
.styled-radio label {
	margin-top: -16px;
}
/* hide input */
.styled-radio input.radio:empty {
	margin-left: -999px;
}

/* style label */
.styled-radio input.radio:empty ~ label {
	position: relative;
	float: left;
	padding-left: 30px;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.styled-radio input.radio:empty ~ label:before {
	position: absolute;
	display: block;
	top: 0;
	bottom: 0;
	left: 0;
	content: '';
	width: 24px;
	height: 24px;
	background: rgba(255, 255, 255, 0.4);
	border: 2px solid rgba(133, 133, 133, 0.58);
	border-radius: 50%;
}

/* toggle hover */
.styled-radio input.radio:hover:not(:checked) ~ label:before {
	content:'\2714';
	padding-left: 4px;
	color: rgba(81, 81, 81, 0.4);
	font-weight: bolder;
}

.styled-radio input.radio:hover:not(:checked) ~ label {
	color: #525252;
}

/* toggle on */
.styled-radio input.radio:checked ~ label:before {
	content:'\2714';
	padding-left: 4px;
	color: #525252; /* #bababa; */
	background-color: rgba(255, 255, 255, 0.4);/* #525252; */
	font-weight: bold;
}

.styled-radio input.radio:checked ~ label {
/* 	color: #777; */
}
.styled-radio input.radio:not(:checked) ~ label {
	color: #777;
}
.styled-radio input.radio:not(:checked) ~ label.normal-text {
	color: #313131;
	font-weight: normal
}
.styled-radio input.radio:checked ~ label.normal-text {
	font-weight: normal
}

/* radio focus */
.styled-radio input.radio:focus ~ label:before {
/* 	box-shadow: 0 0 0 3px #999; */
}




/*	--------------------------
	Button default
	-------------------------- */
.btn {
	background-color: #f171ff;
	color: black;
	font-weight: bolder;
	border-color: #f171ff;
	border-radius: 0;
	z-index: 20;
}
.btn:hover {
	cursor: pointer;
}
.btn:focus {
	outline: none;
}




/*	--------------------------
	Modal default style
	-------------------------- */
.modal-content {
	background-color: rgba(255, 255, 255, 0.99);
	border-radius: 0;
	color: #707070;
}
.modal-header {
	border-bottom-color: #515151;
}
.modal-header h4.modal-title {
	font-weight: bolder;
	color: #f171ff;
}
.modal-footer {
	border-top-color: #515151;
}
.close {
	padding-top: 3px;
	font-size: 22px;
	font-weight: bolder;
	text-shadow: none;
    color: #f171ff; 
    opacity: 1;
}
.close:hover {
	color: #0099ff;
	opacity: 1;
}



