/* Fields */
/* @TODO all fields styling here */
/* @TODO !important stuff is temporary, need to remove */
.upfront-field-text, .upfront-field-checkbox, .upfront-field-radio {
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	-o-appearance: none;
	appearance: none;
	display: inline-block;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
input.upfront-field-text[type], /* add type attribute to add more specificity, fix input[type] rewrite */
textarea.upfront-field-text.upfront-field-textarea {
	border: 1px solid rgb(163, 191, 217);
	background: #fff;
	color: rgb(38, 58, 77);
	height: 26px;
	width: 100%;
	padding: 7px 10px;
	font-size: 11px;
	font-family: verdana, sans-serif;
	line-height: 16px;
}
input.upfront-field-text.upfront-has_inline_label {
	width: auto;
}
textarea.upfront-field-text.upfront-field-textarea {
	height: auto;
}
input.upfront-field-text::-webkit-input-placeholder {
	color: rgb(124, 158, 191);
}
input.upfront-field-text:-moz-placeholder {
	color: rgb(124, 158, 191);
}
input.upfront-field-text::-moz-placeholder {
	color: rgb(124, 158, 191);
}
input.upfront-field-text:-ms-input-placeholder {
	color: rgb(124, 158, 191);
}
.upfront-field-empty {
	opacity: 0.7;
}
input.upfront-field-text:hover,
.upfront-field-text:focus {
	opacity: 1;
	outline: none;
}
.upfront-field-textarea {
	height: auto;
}
.upfront-field-number[type=number] {
	border: 1px solid rgb(163, 191, 217);
	background: #fff;
	color: rgb(38, 58, 77);
	width: auto;
	height: 30px;
	padding: 0 0 0 5px;
  border-radius:2px;
  opacity:.9;
}
.upfront-field-number[type=number]:hover {
	border: 1px solid rgb(163, 191, 217);
	opacity:1;
}
.upfront-field-number[type=number]:focus {
	outline:none;
	border-color: rgb(124, 152, 179);
}
/* chrome input[type=number] styling */
.upfront-field-number[type=number]::-webkit-inner-spin-button {
	-webkit-appearance:none;
	width:14px;
	padding:0;
	margin:0;
	height:100%;
	background-color:#D8EDFF;
	display:inline-block;
	position:relative;
	border-left:1px solid #A1C3E5;
	cursor: pointer;
}
.upfront-field-number[type=number]::-webkit-inner-spin-button:before {
	content: ' ';
	position:absolute;
	width:0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 4px solid #6B8EB2;
	bottom:2px;
	left:3px;
}
.upfront-field-number[type=number]::-webkit-inner-spin-button:after {
	content: ' ';
	position:absolute;
	width:0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-bottom: 4px solid #6B8EB2;
	top:4px;
	left:3px;
}
/* end chrome input[type=number] styling */
.upfront-field-select, .upfront-field-select-options {
	background: #e6f3fe;
	border: 1px solid rgb(163, 191, 217);
	border-radius: 3px;
}
.upfront-field-select {
	display: block;
	height: 26px;
	max-height: 26px;
	margin: 0;
	color: rgb(96, 127, 153);
	font-size: 11px;
	font-family: verdana, sans-serif;
	line-height: 22px;
	position: relative;
	overflow: hidden;
	cursor: pointer;
}
.upfront-object-content .ulinkpanel-dark ul,
.upfront-object-content .ulinkpanel ul {
	color: rgb(96, 127, 153);
	font-size: 11px;
	font-family: verdana, sans-serif;
	line-height: 22px;
}
.ulinkpanel-dark .upfront-field-multiple label,
.ulinkpanel .upfront-field-multiple label {
	color: rgb(96, 127, 153);
	font-size: 11px;
	font-family: verdana, sans-serif;
}
.ulinkpanel .upfront-field-wrap-radios > label,
.ulinkpanel-dark .upfront-field-wrap-radios > label {
	display: inline-block;
	margin: 0 15px 0 0;
}
.ulinkpanel-dark .upfront-field-wrap-radios > label,
.ulinkpanel-dark .upfront-field-wrap-radios > .upfront-field-multiple,
.ulinkpanel .upfront-field-wrap-radios > label,
.ulinkpanel .upfront-field-wrap-radios > .upfront-field-multiple {
	vertical-align: top;
	color:#97B8DA;
	font-weight:normal;
}

.upfront-field-select-disabled {
	border-color: rgb(153, 181, 204);
	color: rgb(153, 181, 204);
}
.upfront-field-select-expanded {
	overflow: visible;
}
/*.upfront-field-select-multiple:hover {
	height: auto;
	overflow: visible;
	margin-bottom: -1px;
}*/
.upfront-field-select:hover {
	border-color: rgb(96, 127, 153);
}
.upfront-field-select:after {
	content: " ";
	display: block;
	position: absolute;
	top: 11px;
	right: 11px;
	border-top: 4px solid rgb(96, 127, 153);
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
}
.upfront-field-select-disabled:after {
	border-top-color: rgb(153, 181, 204);
}
.upfront-field-select-expanded:after,
.upfront-field-select-multiple:hover:after {
	display: none;
}
.upfront-field-select .upfront-field-select-value {
	margin: 0;
	padding: 1px 20px 1px 10px;
	height: 24px;
	box-shadow: inset 0 2px 0 rgb(242, 249, 255);
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.upfront-field-select .upfront-field-select-value .upfront-field-icon,
.upfront-field-select-option label .upfront-field-icon {
  margin-left: -10px;
}
.upfront-field-select-options {
	list-style: none;
	/*float: left;*/
	box-shadow: 0 0 3px rgba(96, 127, 153, 0.5);
	border-color: rgb(96, 127, 153);
	padding: 5px 0 !important;
	margin: 10px -1px 0 !important;
	position: relative;
	max-height: 26px;
	z-index: 10;
	overflow-x: hidden;
	overflow-y: scroll;
	-webkit-transition: max-height 0.3s;
	-moz-transition: max-height 0.3s;
	-ms-transition: max-height 0.3s;
	-o-transition: max-height 0.3s;
	transition: max-height 0.3s;
}
.upfront-field-select-expanded .upfront-field-select-options {
	margin-top: -1px !important;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	max-height: 142px;
	z-index: 21;
}
.upfront-field-select-option {
	margin: 0 10px 0 0 !important;
	position: relative;
	width:100%;
}
.upfront-field-select-expanded .upfront-field-select-option {
	margin: 0 !important;
}
.upfront-field-select-expanded .upfront-field-select-option:before,
.upfront-field-select-expanded .upfront-field-select-option:after {
	background-color:transparent;
	content:normal;
}
.upfront-field-select-option label {
	font:normal 11px/2 Verdana, sans-serif;
}
.upfront-field-select-single .upfront-field-select-option-selected {

}
.upfront-field-select-option .upfront-field-radio {
	display: none;
}
.upfront-field-select-option .upfront-field-checkbox {
	float: none !important;
	position: absolute;
	top: 0;
	bottom: 0;
	left: auto;
	right: 5px;
	margin: auto;
}
.upfront-field-select-zebra .upfront-field-select-option-even {
	background: rgb(218, 231, 242);
}
.upfront-object-content div.ulinkpanel.ulinkpanel-dark .upfront-field-wrap ul .upfront-field-select-option:hover label,
.upfront-field-select-option:hover {
	background: rgb(96, 127, 153);
	color: rgb(238, 247, 255);
}
.upfront-field-select-option label {
	display: block;
	font-weight: normal;
	padding: 2px 20px 2px 10px;
	margin: 0;
}
.upfront-field-select-option-selected label {
  padding-right: 4px;
}
.upfront-field-select-option label .upfront-field-icon {
	margin-top: 0;
	vertical-align: top;
}
.upfront-field-select-option-disabled,
.upfront-field-select-option-disabled:hover {
	background: none;
	color: rgb(153, 181, 204);
}
.upfront-field-checkbox, .upfront-field-radio {
	width: 12px;
	height: 12px;
	border: 2px solid rgb(157, 172, 186);
	margin: 0 10px 0 0;
	cursor: pointer;
	float: none;
}
.upfront-ui .upfront-field-checkbox:hover, .upfront-ui .upfront-field-radio:hover {
	border: 2px solid rgb(157, 172, 186);
}

.upfront-field-radio {
	border-radius: 6px;
}
.upfront-field-radio:focus {
	border-width: 3px;
	outline: none;
}
.upfront-field-radio:checked,
.upfront-field-radio:checked:hover {
  border-width: 3px;
  border-color: rgb(38, 58, 77);
	background: rgb(31, 205, 143);
}

.upfront-field-checkbox {
	border-radius: 2px;
}
.upfront-field-checkbox:checked {
	border-width: 0;
	background: rgb(38, 58, 77);
}
.upfront-field-checkbox:checked:hover {
	border-width:0;
}
.tile-select {
	width: 16px;
	height: 16px;
	border: 2px solid #7a8d9f;
}
.tile-select:hover {
	border-color: #263a4d;
}
.tile-select:checked {
	border-color: #263a4d;
	background-color: #263a4d;
}
.upfront-field-multiple {
	display: block;
	opacity: 0.8;
	line-height: 12px;
	padding: 0 0 0 17px;
	position: relative;
  margin-bottom: 10px;
}
.upfront-field-multiple-vertical {
	display: inline-block;
	max-width: 72px;
	text-align: center;
	margin: 0 35px 10px 0;
	padding: 0 0 12px;
}
.upfront-field-multiple-horizontal-inline {
	display: inline-block;
	vertical-align: baseline;
	margin: 0 15px 0 0;
}
.upfront-field-multiple:hover,
.upfront-field-multiple-selected {
	opacity: 1;
}
.upfront-field-multiple-disabled,
.upfront-field-multiple-disabled:hover {
	opacity: 0.5;
}
.upfront-field-multiple input.upfront-field-checkbox,
.upfront-field-multiple input.upfront-field-radio {
	position: absolute;
	bottom: 0;
	left: 0;
}
.upfront-field-multiple.upfront-field-complex_field-boolean_toggleable_text input.upfront-field-checkbox {
	bottom: auto;
	top: 0px;
}
.upfront-field-multiple.upfront-field-complex_field-boolean_toggleable_text label.upfront-field-label {
	display: none;
}
.upfront-field-multiple-vertical input.upfront-field-checkbox,
.upfront-field-multiple-vertical input.upfront-field-radio {
	position: absolute;
	bottom: 0;
	left: 50%;
	margin: 0 0 0 -6px;
}
.upfront-field-multiple label {
	display: table;
	color: rgb(48, 71, 94);
	font-size: 11px;
	font-weight: normal;
	font-family: verdana, sans-serif;
}
.upfront-field-multiple label .upfront-field-label-text {
	display: table-cell;
	vertical-align: middle;
}
.upfront-field-multiple-vertical label {
	display: block;
	height: auto;
}
.upfront-field-multiple-vertical label .upfront-field-label-text {
	display: block;
	max-height: 30px;
	padding: 3px 0;
	overflow: hidden;
    line-height: 13px;
}
.upfront-field-icon {
	display: inline-block;
	vertical-align: middle;
	margin: 1px 5px 0 0;
}
.upfront-field-multiple-vertical .upfront-field-icon {
	margin: 0 auto;
}
.upfront-suggest-list-wrap {
	height: 0;
	max-height: 0;
	overflow: hidden;
	background: rgb(242, 249, 255);
	-webkit-transition: max-height 0.3s;
	-moz-transition: max-height 0.3s;
	-ms-transition: max-height 0.3s;
	-o-transition: max-height 0.3s;
	transition: max-height 0.3s;
}
.upfront-suggest-list-wrap-expanded,
.upfront-additive_multiselection .labels_list {
	height: auto;
	max-height: 142px;
}
.upfront-suggest-lists {
	border: 1px solid rgb(163, 191, 217);
	border-top: none;
	margin: 0;
	padding: 0;
	max-height: 113px;
	overflow-x: hidden;
	overflow-y: scroll;
}
.upfront-additive_multiselection {
	color: rgb(96, 127, 153);
    cursor: pointer;
    display: inline-block;
    font-family: verdana,sans-serif;
    font-size: 11px;
    margin: 0;
    overflow: hidden;
    position: relative;
    background: none repeat scroll 0 0 #e6f3fe;
    border: 1px solid rgb(163, 191, 217);
    border-radius: 3px;
    padding: 0 4px;
    width: 100%;
}
.add_labels .upfront-additive_multiselection {
	padding-bottom: 2px;
}
.add_labels .upfront-field-label {
	margin-top: .6em;
}
.add_labels .upfront-additive_multiselection .add_labels {
	border: none;
}
.upfront-additive_multiselection .title {
    padding: 1px 30px 1px 10px;
}
.upfront-additive_multiselection .title:after {
	border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid rgb(96, 127, 153);
    border-bottom: none;
    content: " ";
    display: block;
    position: absolute;
    right: 11px;
    top: 11px;
}
.upfront-additive_multiselection.active .title:after {
	border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid rgb(96, 127, 153);
    border-top: none;

}
.upfront-additive_multiselection .labels_list,
.upfront-additive_multiselection input
 {
	display: none;
}
.upfront-additive_multiselection.active .labels_list,
.upfront-additive_multiselection.active input {
	display: block;
}
.upfront-additive_multiselection {
	overflow: hidden;
	-webkit-transition: max-height 0.3s;
	-moz-transition: max-height 0.3s;
	-ms-transition: max-height 0.3s;
	-o-transition: max-height 0.3s;
	transition: max-height 0.3s;
}
.upfront-additive_multiselection .labels_list ul {
	margin: 0;
	padding: 0;
	max-height: 113px;
	overflow-x: hidden;
	overflow-y: scroll;
}
.upfront-additive_multiselection .labels_list ul.empty {
	border: none;
	display: none;
}
.upfront-suggest-list,
.upfront-additive_multiselection .labels_list li {
	padding: 0;
	margin: 0 !important;
	line-height: 14px;
	position: relative;
}
.upfront-additive_multiselection .labels_list li label {
	font-weight: normal;
	font-family: verdana,sans-serif;
    font-size: 11px;
}
.upfront-suggest-list .upfront-field-checkbox,
.upfront-additive_multiselection .labels_list .upfront-field-checkbox  {
	float: none;
	position: absolute;
	top: 0;
	bottom: 0;
	left: auto;
	right: 10px;
	margin: auto;
}
.upfront-suggest-list label,
.upfront-additive_multiselection .labels_list li label {
	display: block;
	padding: 7px 30px 7px 10px;
}

.upfront-additive_multiselection .upfront-field-checkbox { border: none; }

.upfront-suggest-match,
.upfront-additive_multiselection .labels_list .selection {
	background: rgb(31, 205, 143);
	box-shadow: 0 0 0 1px rgb(31, 205, 143), 0 2px 0 rgb(27, 179, 125), 0 0 0 2px rgb(31, 205, 143);
	border-radius: 1px;
	color: rgb(255, 255, 255);
}
.upfront-field-wrap {
	color: rgb(48, 71, 94);
	font-size: 11px;
	line-height: 16px;
	font-weight: normal;
	font-family: verdana, sans-serif;
	margin: 13px 0 0;
}

.inline-radios {
	margin: 15px 0 0;
}
.inline-radios .upfront-field-multiple {
  margin-bottom: 0;
}

.upfront-field-wrap-multiple {
	margin-right: -15px;
}
.upfront-suggest-add-wrap,
.upfront-additive_multiselection .add_labels {
	border: 1px solid rgb(163, 191, 217);
	border-top: none;
	background: rgb(204, 230, 255);
	line-height: 16px;
	position: relative;
}
.upfront-additive_multiselection .add_labels.empty {
	border: none;
}
.upfront-suggest-add-value,
.upfront-additive_multiselection .add_labels .add_value {
	display: block;
	font-weight: bold;
	padding: 6px 0 6px 12px;
}
.upfront-suggest-add,
.upfront-additive_multiselection .add_labels .add_link {
	display: block;
	position: absolute;
	top: 6px;
	right: 10px;
	cursor: pointer;
}
.upfront-field-wrap .upfront-field-label,
.upfront-field-label {
	font-weight: normal;
	margin: 0;
}
.upfront-field-wrap .upfront-field-label-block,
.upfront-field-label-block {
	display: block;
  color: rgb(96, 127, 153);
	font-size: 11px;
  font-weight: bold;
	font-family: verdana, sans-serif;
	line-height: 1;
	margin: 0;
  margin-bottom: 8px;
}

.upfront-field-wrap-optional span {
	margin: 20px 0 0 0;
}

.upfront-field-wrap-color {
	clear: both;
  vertical-align: middle;
  line-height: 24px;
}

.upfront-field-wrap-color label {
	/* float: left; */
  float: none;
}

.upfront-field-wrap-color .upfront-settings-item {
	margin-bottom:10px;
}

.upfront-field-wrap-color .sp-preview {
	display: inline-block;
	width:20px;
	height:20px;
	border:1px solid #fff;
	vertical-align: bottom;
  	margin: 0;
  	border-radius: 0;
}

.upfront-field-wrap-color .sp-replacer {
	line-height: 30px;
}

.upfront-field-wrap-color .sp-texthint {
}


.upfront-field-slider{
	height:2px;
	background: #C2D5E6;
	position: relative;
}
.upfront-field-slider-vertical {
	height: 100px;
	width: 2px;
}

.upfront-field-slider .ui-slider-range {
	background: #263A4D;
	height:2px;
}
.upfront-field-slider-vertical .ui-slider-range  {
	width: 2px;
	position: absolute;
	bottom: 0;
	left: 0;
}
.upfront-field-slider .ui-slider-handle {
	border: 3px solid #263A4D;
	background: #ADC4D9;
	width:12px;
	height:12px;
	border-radius: 6px;
	position:absolute;
	top: -5px;
}
.upfront-field-slider-vertical .ui-slider-handle {
	left: -5px;
	top: auto;
}

.upfront-field-wrap-slider .upfront-field-info {
	margin-bottom: 10px;
}

.upfront-field-slider-value {
	margin-top: 6px;
  text-align: center;
}

.upfront-date_picker {
	background: #F2F9FF;
	border: 1px solid #6386A6;
	z-index:10000;
	font-size: 14px;
	display: none;
	position: absolute;
	z-index: 10000;
	text-transform: none !important;
	text-decoration: none !important;
}

.upfront-date_picker .ui-datepicker-header {
	padding: 5px 10px;
	border-bottom: 1px solid #accae6;
	text-align: center
}

.upfront-date_picker table{
	margin: 5px 10px;
}

.upfront-date_picker thead{
	color: #395269;
}

.upfront-date_picker select{
	font-family: 'Source Sans Pro', sans-serif;
	margin: 0 2px;
}

.upfront-date_picker .ui-datepicker-prev,
.upfront-date_picker .ui-datepicker-next {
	display: none;
}

.upfront-date_picker .ui-datepicker-prev {
	float: left;
}
.upfront-date_picker .ui-datepicker-next {
	float: right;
}

.upfront-date_picker td,
.upfront-date_picker th{
	text-align: center;
}

div.upfront-date_picker td a{
	padding: 2px 4px;
	color: #607F99;
}

.upfront-date_picker td a:hover{
	padding: 2px 4px;
	background: #1fcd8f;
	color: #fff !important;
	text-decoration: none;
}

.upfront-date_picker a.ui-state-active {
	background: #607F99;
	color: #F2F9FF !important;
}

.upfront-time_picker {
	padding: 5px 10px;
	border-top: 1px solid #accae6;
	text-align: center;
}
