/*******/
/**/
/* defaults */
/**/
.xform {
	margin-left: auto;
	margin-right: auto;
	color: #222;
}
.xform.noshadow {
	box-shadow:none;
}
.xform header, .modal-header {
	border-radius: 4px 4px 0px 0px;
	background: #d13e51 none repeat scroll 0% 0%;
	box-shadow: 0px -3px 0px rgba(0, 0, 0, 0.2) inset;
	padding: 10px;
	font-size: 22px;
	font-weight: bold;
	color:white;
}
.modal-header {
	background: #d13e51 none repeat scroll 0% 0%;
	color:white;
}
.modal-header button {
	color:rgb(51, 51, 51)
}
.modal-header {
	cursor: move;
}
.xform fieldset {
	display: block;	
	padding: 10px 5px 2px 0px;
	border: none;
}
.xform fieldset + fieldset {
	border-top: 1px solid rgba(0,0,0,.1);
}
.xform section {
	margin: 0px 0px;
	padding-left:5px;
}
.modal-body {
	padding: 20px
	background-color: #EAEAEC !important;
	color:#222;
}

.xform footer, .modal-footer {
	padding: 10px 20px;
	background: #FFF none repeat scroll 0% 0%;
	border-radius: 0px 0px 4px 4px;
}
.xform footer:after {
	content: '';
	display: table;
	clear: both;
}
.xform a {
	color: #2da5da;
}
.xform .label, .xform section.view {
	display: block;
	padding: 1px 4px;
	height: 24px;
	font-size: 14px;
	font-weight:bold;
	margin-top:3x;
	margin-bottom:2px;
}
.xform section.view, .xform .onlyView {
	display: none;
}
.xform.view section.view, .xform.view .onlyView {
	display: block !important;
}
.xform.insert .hide-insert, .xform.update .hide-update, .xform.draftmode .hide-draftmode {
	display: none !important;
}
.xform .show-draftmode {
	display: none;
}
.xform section.view ul {
	box-sizing: border-box;
    list-style: none;
    margin: 0;
    padding: 0 5px;
    width: 100%;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.xform section.view li {
	background-color: rgba(240,240,240,.3);
    border: 1px solid rgba(235,235,235,.9);
    margin-right: 5px;
    padding: 5px 5px;
    float: left;
}
.xform.view .label {
	color:#aaa;	
}
.xform.view .nonView,
.xform.view .input,
.xform.view .select,
.xform.view .textarea,
.xform.view .radio,
.xform.view .checkbox,
.xform.view .toggle {
	display: none !important;
}
.xform .input,
.xform .select,
.xform .textarea,
.xform .radio,
.xform .checkbox,
.xform .toggle {
	position: relative;
	display: block;
}

.xform .input input,
.xform .select select,
.xform .select button,
.xform .textarea textarea,
.xform .input span.upl-info {
	display: block;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	width: 100%;
	height: 24px;
	padding: 2px 6px;
	outline: none;
	border-width: 1px;
	border-style: solid;
	border-radius: 0;
	background: #fff;
	color: #404040;
	appearance: normal;
	-moz-appearance: none;
	-webkit-appearance: none;
}

.xform .select .btn-group,
.xform .select ul {
	width:100%;
}
/**/
/* selects */
/**/
.xform .select > i {
	position: absolute;
	border-left:1px solid #c8c8c8;
	padding-left:3px;
	top: 1px;
	right: 2px;
	width: 22px;
	height: 22px;
	background: #fff;
	pointer-events: none;
}
.xform .select > i:after,
.xform .select > i:before {
	content: '';
	position: absolute;
	right: 6px;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
}
.xform .select > i:after {
	bottom: 6px;
	border-top: 4px solid #888;
}
.xform .select > i:before {
	top: 6px;
	border-bottom: 4px solid #888;
}
.xform .select select
{
	padding-right: 28px;
}
.xform .select button
{
	text-align:left;
	padding-right: 28px;
}
.xform .select ul.multiselect-container
{
	border: 1px solid #2da5da;
	border-radius:0px;
	max-height:200px;
	overflow-y:auto;
}

.xform .opt-status-disabled {
	font-style:italic;
	color:#aaa;
}
.xform .opt-status-hidden {
	display: none!important;
}
/**/
/* textareas */
/**/
.xform .textarea textarea {
	height: auto;
	resize: none;
	margin-bottom:3px;
}

/**/
/* radios and checkboxes */
/**/
.xform .radio,
.xform .checkbox {
	margin-bottom: 7px;
	margin-right: 10px;
	margin-top: 1px;
	padding-left: 27px;
	font-size: 14px;
	line-height: 27px;
	color: #404040;
	cursor: pointer;
}
.xform .radio:last-child,
.xform .checkbox:last-child {
	margin-bottom: 0;
}
.xform .radio input,
.xform .checkbox input {
	position: absolute;
	left: -9999px;
}
.xform .radio i,
.xform .checkbox i {
	position: absolute;
	top: 5px;
	left: 5px;
	display: block;
	width: 13px;
	height: 13px;
	outline: none;
	border-width: 2px;
	border-style: solid;
	background: #fff;
	box-sizing: content-box;
}
.xform .radio i {
	border-radius: 50%;
}
.xform .radio input + i:after,
.xform .checkbox input + i:after {
	position: absolute;
	opacity: 0;
	-ms-transition: opacity 0.1s;
	-moz-transition: opacity 0.1s;
	-webkit-transition: opacity 0.1s;
}
.xform .radio input + i:after {
	content: '';
	top: 4px;
	left: 4px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
}
.xform .checkbox input + i:after {
	content: '\f00c';
	top: -1px;
	left: -1px;
	width: 14px;
	height: 14px;
	font: normal 12px/16px FontAwesome;
	text-align: center;
}
.xform .radio input:checked + i:after,
.xform .checkbox input:checked + i:after {
	opacity: 1;
}
.xform .inline-group {
	margin: 0 -30px -4px 0;
}
.xform .inline-group:after {
	content: '';
	display: table;
	clear: both;
}
.xform .inline-group .radio,
.xform .inline-group .checkbox {
	float: left;
	margin-right: 10px;
}
.xform .inline-group .radio:last-child,
.xform .inline-group .checkbox:last-child {
	margin-bottom: 4px;
}

/**/
/* toggles */
/**/
.xform .toggle {
	margin-bottom: 4px;
	padding-right: 61px;
	font-size: 14px;
	line-height: 27px;
	color: #404040;
	cursor: pointer;
	font-weight:normal;
}
.xform .toggle:last-child {
	margin-bottom: 0;
}
.xform .toggle input {
	position: absolute;
	left: -9999px;
}
.xform .toggle i {
	content: '';
	position: absolute;
	top: 4px;
	right: 0;
	display: block;
	width: 49px;
	height: 17px;
	border-width: 2px;
	border-style: solid;
	border-radius: 12px;
	background: #fff;
	box-sizing: content-box;
}
.xform .toggle i:after {
	content: 'OFF';
	position: absolute;
	top: 2px;
	right: 8px;
	left: 8px;
	font-style: normal;
	font-size: 9px;
	line-height: 13px;
	font-weight: 700;
	text-align: left;
	color: #5f5f5f;
}
.xform .toggle i:before {
	content: '';
	position: absolute;
	z-index: 1;
	top: 4px;
	right: 4px;
	display: block;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	opacity: 1;
	-ms-transition: right 0.2s;
	-moz-transition: right 0.2s;
	-webkit-transition: right 0.2s;
}
.xform .toggle input:checked + i:after {
	content: 'ON';
	text-align: right;
}
.xform .toggle input:checked + i:before {
	right: 36px;
}


/**/
/* icons */
/**/
.xform .icon-append,
.xform .icon-prepend {
	position: absolute;
	top: 1px;
	width: 22px;
	height: 22px;
	font-size: 14px;
	line-height: 22px;
	text-align: center;
}
.xform .icon-append {
	right: 5px;
	padding-left: 3px;
	border-left-width: 1px;
	border-left-style: solid;
}
.xform .icon-prepend {
	left: 10px;
	padding-right: 3px;
	border-right-width: 1px;
	border-right-style: solid;
}
.xform .input .icon-prepend + input,
.xform .textarea .icon-prepend + textarea {
	padding-left: 38px;
}
.xform .input .icon-append + input,
.xform .textarea .icon-append + textarea {
	padding-right: 38px;
}
.xform .input .icon-prepend + .icon-append + input,
.xform .textarea .icon-prepend + .icon-append + textarea {
	padding-left: 38px;
}



/**/
/* tooltips */
/**/
.xform .tooltip {
	position: absolute;
	z-index: 1500;
	left: -9999px;
	padding: 0px;
	font-size: 0px;
	line-height: 0px;
	font-weight: 400;
	background: rgba(209,62,81,1);
	color: #ffff;
	opacity: 0;
	-ms-transition: opacity 0.2s;
	-moz-transition: opacity 0.2s;
	-webkit-transition: opacity 0.2s;
}
.xform .tooltip:after {
	content: '';
	position: absolute;
	border: 4px solid rgba(209,62,81,0.6);
}

.xform .label-tooltip:hover .tooltip,
.xform section.state-error:hover .tooltip,
.xform .input input:focus ~ .tooltip,
.xform .radio input:focus ~ .tooltip,
.xform .checkbox input:focus ~ .tooltip,
.xform .textarea textarea:focus ~ .tooltip,
.xform .select select:focus ~ .tooltip,
.xform .select .open ~ .tooltip,
.xform .tooltip.in {
	opacity: 1;
	padding: 2px 8px 3px;
	font-size: 11px;
	line-height: 16px;
	border: 1px dashed #fff;
}

.xform .label-tooltip {
	position:relative;
	cursor:pointer;
	border-bottom: 1px dashed rgb(209, 62, 81);
}
.xform .label-tooltip .tooltip {
    background: rgba(244, 233, 179, 0.85);
    color: rgb(51,51,51);
    border: 1px dashed rgb(209, 62, 81);	
	display:none;
}
.xform .label-tooltip:hover .tooltip {
	font-size:12px;
	display:block;
	-webkit-animation: fadeIn 0.5s ease-out;
	-moz-animation: fadeIn 0.5s ease-out;
	-o-animation: fadeIn 0.5s ease-out;
	animation: fadeIn 0.5s ease-out;
}

.xform .tooltip-top-right {
	bottom: 100%;
	right: 0;
	left: auto;
	margin-bottom: 5px;
}
.xform .tooltip-top-right:after {
	top: 100%;
	right: 16px;
	border-bottom:0px !important;
	border-right-color: transparent !important;
	border-left-color: transparent !important;
}

.xform .tooltip-top-left {
	bottom: 100%;
	right: auto;
	left: 0;
	margin-bottom: 5px;
}
.xform .tooltip-top-left:after {
	top: 100%;
	left: 16px;
	border-bottom:0px !important;
	border-right-color: transparent !important;
	border-left-color: transparent !important;
}

.xform .tooltip-right {
	top: 9px;
	white-space: nowrap;
	left: 100%;
	margin-left: 5px;
}
.xform .tooltip-right:after {
	top: 6px;
	right: 100%;
	border-top-color: transparent !important;
	border-left: 0px !important;
	border-bottom-color: transparent !important;
}

.xform .tooltip-left {
	top: 9px;
	white-space: nowrap;
	right: 100%;
	left: auto;
	margin-right: 5px;
}
.xform .tooltip-left:after {
	top: 6px;
	left: 100%;
	border-top-color: transparent !important;
	border-bottom-color: transparent !important;
	border-right: 0px !important;
}

.xform .tooltip-bottom-right {
	top: 100%;
	right: 0;
	left: auto;
	margin-top: 5px;
}
.xform .tooltip-bottom-right:after {
	bottom: 100%;
	right: 16px;	
	border-right-color: transparent !important;
	border-top: 0px !important;
	border-left-color: transparent !important;
}

.xform .tooltip-bottom-left {
	top: 100%;
	right: auto;
	left: 0;
	margin-top: 5px;
}
.xform .tooltip-bottom-left:after {
	bottom: 100%;
	left: 16px;
	border-right-color: transparent !important;
	border-top: 0px !important;
	border-left-color: transparent !important;
}


/**/
/* normal state */
/**/
.xform .input input,
.xform .select select,
.xform .select button,
.xform .textarea textarea,
.xform .input span.upl-info,
.xform .radio i,
.xform .checkbox i,
.xform .toggle i,
.xform .icon-append,
.xform .icon-prepend {
	border-color: #c8c8c8;
	-ms-transition: border-color 0.3s;
	-moz-transition: border-color 0.3s;
	-webkit-transition: border-color 0.3s;
}
.xform .toggle i:before {
	background-color: #8dc9e5;	
}
.xform .icon-append,
.xform .icon-prepend {
	color: #888;
}


/**/
/* hover state */
/**/
.xform .input:hover input,
.xform .select:hover select,
.xform .select:hover button,
.xform .textarea:hover textarea,
.xform .input:hover span.upl-info,
.xform .radio:hover i,
.xform .checkbox:hover i,
.xform .toggle:hover i,
.xform .ui-slider-handle:hover {
	border-color: #f4ae276e;
}

/**/
/* focus state */
/**/
.xform .input input:focus,
.xform .select select:focus,
.xform .select button:focus,
.xform .textarea textarea:focus,
.xform .radio input:focus + i,
.xform .checkbox input:focus + i,
.xform .toggle input:focus + i {
	border-color: #f4ae27;;
	background-color:#ffffff;
}
.xform .select button:focus, .xform .select button:hover, .xform .select button:hover
{
	border:2px solid #8dc9e5 !important;
	background-color:white !important;
}


/**/
/* checked state */
/**/
.xform .radio input + i:after {
	background-color: #2da5da;	
}
.xform .checkbox input + i:after {
	color: #2da5da;
}
.xform .radio input:checked + i,
.xform .checkbox input:checked + i,
.xform .toggle input:checked + i {
	border-color: #2da5da;	
}

/**/
/* error state */
/**/
.xform .state-error:before {
	font: normal normal normal 8px/1 FontAwesome;
	color: rgba(255,0,0,1);
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	content: "\f071";
	position: absolute;
	left: -5px;
	top:10px;
}
.xform .state-error .icon-append,
.xform .state-error .icon-prepend {
	color: rgba(255,0,0,.5);
}

.xform .select.state-error > i:after {
	border-top-color: rgba(255,0,0,.5);
}
.xform .select.state-error > i:before {
	border-bottom-color: rgba(255,0,0,.5);
}
/* tooltip */
.xform .state-error .tooltip {
	background: rgba(255,0,0,0.4);
}
.xform .state-error .tooltip:after {
	content: '';
	position: absolute;
	border: 4px solid rgba(255,0,0,0.4);
}
.xform .state-error ul {
	margin:0px;
	padding:0px;
}
.xform .state-error ul li {
	margin-left:14px;
}

/**/
/* disabled state */
/**/
.xform .input.state-disabled input,
.xform .select.state-disabled select,
.xform .select.state-disabled button.btn,
.xform .textarea.state-disabled textarea,
.xform .input.state-disabled span.upl-info,
.xform .state-disabled .radio,
.xform .state-disabled .checkbox,
.xform .state-disabled .toggle {
	cursor: not-allowed;
	opacity: 0.9;
	border-color: #f8f8f8;
}
.xform .input.state-disabled:hover input,
.xform .select.state-disabled:hover select,
.xform .select.state-disabled:hover button.btn,
.xform .textarea.state-disabled:hover textarea,
.xform .input.state-disabled:hover span.upl-info,
.xform .state-disabled .radio:hover i,
.xform .state-disabled .checkbox:hover i,
.xform .state-disabled .toggle:hover i {
	border-color: #e5e5e5;
}

.xform section.state-mandatory:after {
	font: normal normal normal 8px/1 FontAwesome;
	color: #d13e51;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	content: "\f069";
	position: absolute;
	left: -5px;
	top:0px;
}
.xform.draftmode section.state-mandatory:after {
	content: "" !important;
}

/**/
/* slider */
/**/
.xform .ui-slider {
	position: relative;
	height: 3px;
	border: 2px solid #e5e5e5;
	background: #fff;
	margin: 12px 6px 26px;
}
.xform .ui-slider-handle {
	position: absolute;
	width: 14px;
	height: 14px;
	margin: -8px 0 0 -8px;
	border: 2px solid #e5e5e5;
	outline: none;
	background: #fff;
	-ms-transition: border-color 0.3s;
	-moz-transition: border-color 0.3s;
	-webkit-transition: border-color 0.3s;
}

.xform .text-info {
	color: #2a95be !important;
	font-weight: normal !important;
}
.xform .label {
	border-radius: 0;
	text-align: left;
	white-space: normal;
	color: inherit;
}
@media screen and (max-width: 767px) {
	.xform .label {
		text-align: left;
		font-weight: bold;
	}
}
.xform .radio,
.xform .checkbox {
	font-weight: 400;
}
.xform .radio + .radio,
.xform .checkbox + .checkbox {
  margin-top1: 0;
}
.xform .input .input-group-btn .btn {
	height: 30px;
	border-radius: 0px;
	padding: 5px 10px;
}
.xform input::-moz-placeholder {
  color: #ccc;
  opacity: 1;
}
.xform input:-ms-input-placeholder {
  color: #ccc;
}
.xform input::-webkit-input-placeholder {
  color: #ccc;
}
.xform input::placeholder {
  color: #ccc;
}
.xform .state-disabled ::-webkit-input-placeholder {
	color: #fff;
}
.xform .state-disabled :-moz-placeholder {
	color: #fff;
}
.xform .state-disabled ::-moz-placeholder {
	color: #fff;
}
.xform .state-disabled :-ms-input-placeholder {
	color: #fff;
}
.xform .btn-filter-set {
	color: #f56954;
}
/**/
/* Datatable */
/**/
table.dataTable > thead > tr > th {
    background: rgba(248,248,248,1);
}
table.dataTable tbody tr:nth-of-type(odd) {
    background-color: #ffffff;
}
table.dataTable tbody tr:nth-of-type(even) {
    background-color: #fafafa;
}
table.dataTable tbody th,
table.dataTable tbody td {
	padding: 0px 2px;
}
table {
	border-collapse:collapse;
	border-spacing:0
}
ul.dt-button-collection li.buttons-columnVisibility {
	cursor:pointer
}
ul.dt-button-collection li.buttons-columnVisibility:hover {
	background: rgba(248,248,248,0.7);
}
table.dataTable td.select-checkbox::before, table.dataTable td.select-checkbox::after {
	left:10px !important;
	top:14px !important;
}
table.dataTable tbody td.select-checkbox {
	padding-left:20px !important;
}
div.dataTables_length select {
	height: 24px;
    padding: 0px;
    border-width:2px;
    border-color: #e5e5e5;
}
div.dataTables_length select:hover {
	border-color: #8dc9e5;!important;
}
table.dataTable div.dataTables_length select:focus {
	border-color: #2da5da;!important;
}
table.dataTable td.select-checkbox::before {
	margin-top: -10px !important;
}
table.dataTable tr.selected td.select-checkbox::after {
    margin-top: -15px !important;
    margin-left: -6px !important;
}
table.table-condensed tbody th,
table.table-condensed tbody td {
	padding: 0px 2px !important;
}
table.dataTable {
	margin: 0 0 !important;
}
/**/
/* XUploadField */
/**/
.upl-img-preview {
	border:1px solid #e6e6e6;width:100%;max-width:300px;max-height:100%;margin:auto;display:block
}
.upl-info {
	height:22px;
	line-height:22px;
}
.upl-uploading {
	display:none;
	font-size:18px;
}

.modal-xl {
	width: 90%;
}
.modal-xl .modal-body, .modal-body.modal-no-padding {
	padding: 0px;
}
.modal-xl .container {
	width:100%;
	padding:0px;
}
.modal-xl .container .box, .modal-body.modal-no-padding .box {
	margin:0px;
}

/**/
/* Header */
/**/
/**/
/* Alert */
/**/
.alert-bottom {
	position:fixed;
	width:100%;
	left:0;
	bottom:0;
	z-index:9999;
	margin:0px;
	padding:10px 15px;
	display:none;
}
/**/
/* Login */
/**/

#mdl-remote .modal-content {
	box-shadow: none;
	border: 0px;
}
#mdl-remote .modal-body {
	padding:0px;
}
#bootstrap-alert-box-modal .modal-body, #bootstrap-confirm-box-modal .modal-body {
	max-height: 30vh;
	overflow-y: auto;
}
#bootstrap-alert-box-modal .modal-xl .modal-body, #bootstrap-confirm-box-modal .modal-xl .modal-body {
	max-height: 70vh !important;
}
/**/
/* Bootstrap overrides */
/**/
body {
	padding-right: 0 !important;
	line-height:1.2;
}
.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    background-color: #4B3D3D !important;
    border-color: #4B3D3D !important;
}
.container {
    width: 100% !important;
}
.btn {
	padding11:4px 8px;
}
.nav>li>a {
 padding:5px 10px
}

/**/
/*  */
/**/
.state-login, .state-logout, .state-A, .state-U, .secure {
	display:none;
}
.text-strikethrough {
	text-decoration : line-through;
}
#img-loading {
	position: fixed;
	z-index: 999;
	bottom: 0;
	right: 0;
}
@-moz-document url-prefix() {
    fieldset {
        display: table-cell !important;
    }
}

ul.no-bullets {
	list-style-type: none;
	padding: 0;
	margin: 0;
}
