/*
 * Sistema de lead - Unifor
 *
 * By: Paulo Costa - paulocosta@unifor.br
 *
 */

/*---------- Página -----------*/
/*--- Criação de fomulário ---*/
/*---------------------------*/

/*--- FORM INDEX ---*/
#new-form i {
	font-size: 22px;
}

.form-actions {
	cursor: pointer;
}

.form-actions>.fa-trash:hover, .form-actions>.fa-eye-slash:hover {
	color: #e74e3d;
}

.form-actions>.fa-clipboard:hover {
	color: #CCC;
}

.form-actions>.fa-eye:hover {
	color: #337ab7;
}

.form-actions>.fa-calendar:hover, .form-actions>.fa-pencil:hover {
	color: #28a745;
}

.toggler:hover {
	color: #CCC;
}

/*--- FORM BUILDER ---*/
.form-expand {
	cursor: pointer;
}

#formBuilder input, #formBuilder label {
	color: #333;
}

#lead-form label {
	font-family: 'opensans-bold', sans-serif;
	display: block;
	margin: 0;
	font-size: 14px;
	font-weight: bold;
	line-height: 1.4;
	color: #333;
}

#formBuilder .highlight-title, #lead-form .highlight-title {
	float: none;
	margin: 0 auto;
}

#formBuilder .highlight-title:after, #lead-form .highlight-title:after {
	background-color: #002969;
	content: '';
	display: block;
	height: .0625rem;
	width: 10%;
	margin: .375em auto 1.5rem;
}

#formBuilder .highlight-input, #lead-form .highlight-input {
	border: none;
	box-shadow: none;
	font-size: 25px;
	font-weight: bold;
}

textarea.form-control.custom-form-control {
	height: auto !important;
	max-width: 80%;
	min-width: 80%;
	max-height: 50px;
	overflow-y: scroll;
}

.config-label {
	color: #777 !important;
	font-size: 15px;
	font-weight: bold;
	font-family: 'opensans-bold', sans-serif !important;
}

.config {
	z-index: 1;
}

#form-name {
	background: transparent;
	border: none;
	width: 50%;
}

#form-name:hover, #form-name:focus, .line {
	border-bottom: 0.1px solid #002969;
}

.line {
	margin-top: 10px;
	margin-bottom: 10px;
	opacity: 0.5;
}

.form-wrap.form-builder .frmb .prev-holder input[type=number] {
	width: 100% !important;
}

/*--- FORM COMPONENTS ---*/
.highlight-title>#title:focus, .date-range>input:focus {
	border-bottom: none !important;
}

#formComponents .list-group {
	font-weight: bold;
}

#formComponents .list-group a {
	color: #7da70e;
	text-decoration: none;
}

#formComponents .list-group .info-item>.info-link {
	color: #337ab7 !important;
}

#formComponents .list-group>.list-group-item>.text {
	padding-left: 10px;
}

#formComponents .list-group>.list-group-item:first-child {
	border-top: none;
}

#formComponents .list-group>.list-group-item:last-child {
	border-bottom: none;
}

#formComponents .info-item {
	position: relative;
}

#formComponents .list-group-item small {
	font-weight: 300;
	padding: 5px;
	margin-bottom: 0;
}

#toggle-drag-drop, #toggle-captcha {
	font-size: 20px;
	cursor: pointer;
}

#toggle-drag-drop {
	text-decoration: none;
	color: gray;
}

#save-form:hover {
	color: green;
}

#captcha-form:hover {
	color: #fbbc05;
}

#clear-form:hover, #exit-form-builder:hover {
	color: red;
}

#form-preview:hover {
	color: blue;
}

.on {
	color: green !important;
}

.form-submit-btn {
	vertical-align: middle;
	margin: 0 .5rem 1rem 0;
	width: 100%;
	font-family: inherit;
	padding: .625rem 1.25rem;
	border: 1px solid #002969;
	border-radius: 0;
	transition: all .25s ease-out;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.42857;
	text-align: center;
	text-transform: uppercase;
	cursor: pointer;
	background-color: #002969;
	color: #fff;
}

.btn--outline {
	border: 1px solid #002969;
	background-color: #fff;
	color: #002969;
}

@media screen and (min-width: 768px) {
	.form-submit-btn {
		width: auto;
		min-width: 25%;
	}
}

.select2-selection__choice {
	clear: none !important;
}

.select2-container--default .select2-selection--multiple {
	border: unset !important;
	border-bottom: 1px solid #CCC !important;
	border-radius: unset !important;
}

.select2-container--default:active .select2-selection--multiple:active {
	border-bottom: 1px solid #002969 !important;
}

li.select2-search.select2-search--inline {
	display: none;
}

.select2-container--default .select2-selection--single {
	border: unset !important;
	background-color: #fff !important;
	border-bottom: 1px solid #CCC !important;
	border-radius: unset !important;
}

.select2-container--default:active .select2-selection--single:active {
	border-bottom: 1px solid #002969 !important;
}

.radio-inline {
	display: inline-block !important;
	font-weight: 400 !important;
	padding-top: 3px;
	margin-left: 5px !important;
	vertical-align: unset;
}

/*---- ERROS ----*/
.error {
	border-color: #a94442 !important;
}

.formName-error {
	border-bottom: 0.1px solid #a94442 !important;
}

.formTitle-error {
	border-color: #a94442 !important;
}

.formTitle-error:after {
	background-color: #a94442 !important;
}