/* edit form */
.form_details_tab {
	position: relative;
}
.form-row {
	position: relative;
}
.sortable-placeholder {
	border: 1px dashed #999;
	background: #f8f8f8;
	min-height: 40px;
}
.modal .nav-tabs {
	margin: 10px 10px 0;
}

.form-tools {
	display: inline-block;
}

/* field permissions */
.field-permissions {
	margin: 0 0 10px;
}
.field-permissions > a {
	display: block;
	border: 1px solid #ddd;
	border-width: 1px 1px 0;
	background: #f8f8f8;
	padding: 10px;
	-webkit-border-radius: 	3px 3px 0 0;
	-moz-border-radius: 	3px 3px 0 0;
	border-radius: 			3px 3px 0 0;
}
.field-permissions > a:hover {
	background: #f5f5f5;
}
.field-permissions .scrollable {
	border: 1px solid #ddd;
}
.field-permissions table {
	border: 0;
}

.field-permissions th + th,
.field-permissions td  + td {
	border-left: 1px solid #ddd;
}
.field-options {
	background: #fafafa;
	border: 1px solid #ddd;
	border-bottom: 0;
	padding: 10px;
	display: inline-block;
	width: 100%;
}

.field-permissions .table-bordered colgroup+thead tr:first-child th:first-child {
	-webkit-border-radius: 	0;
	-moz-border-radius: 	0;
	border-radius: 			0;
}
.copy-perm-block {
	margin: 10px 0 0;
	border-top: 1px solid #eee;
	padding-top: 10px;
}
.field-permissions .badge {
	display: block;
}
.field-permissions table {
	margin-bottom: 10px;
}
.subheader {
	background: #eee;
}
.subheader th {
	border-top: 1px solid #ddd;
}

.field-group-actions.affix {
	z-index: 10;
	top: 40px;
	left: 0;
	right: 0;
	border: 0;
	-webkit-border-radius: 	0;
	-moz-border-radius: 	0;
	border-radius: 			0;
	-webkit-box-shadow: 0 3px 5px rgba(0,0,0,0.2);
	-moz-box-shadow: 	0 3px 5px rgba(0,0,0,0.2);
	box-shadow: 		0 3px 5px rgba(0,0,0,0.2);
}

.field-rights-group {
	position: relative;
}

.ic-import-log-header {
	margin-bottom: 1px;
}
.ic-import-log {
	width: 100%;
	max-height: 200px;
	overflow: auto;
}

.ic-import-log-success {
	color: #33CC00;
	font-weight: bold;
}

.ic-import-log-failure {
	color: #FF0000;
	font-weight: bold;
}


/* Corrected issue with check boxes not showing inline */

.form-inline div.checkbox {
display: block;
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 480px) {

}

.formula-wrap {
	position: relative;
}

.span-default-value select {
	max-width: 100%;
	min-width: 220px;
}

.formula-expand-toggle {
    &:after {
        display: none;
    }
}

textarea.expanded-formula {
	background: #fff;
	border-color: #ccc;
	height: 120px;
	left: 0;
	padding: 7px 12px;
	position: absolute !important;
	resize: none;
	top: 5px;
	width: 100% !important;
	z-index: 10;
}

.form-inline .form-control.input-width-sm {
	width: 30%;
}
.form-inline .form-control.input-width-md {
	width: 65%;
}
.form-inline .form-control.input-width-lg {
	width: 90%;
}

/* Rights list table lables */
.rights-list .label {
	display:inline-block;
	min-width:52px;
}

/* field permissions */
.field-list-options {
	z-index: 200;
	position: absolute;
	padding: 3px;
	margin-left: -20px;
	margin-top: -50px;
	border: 1px solid #ddd;
	background: #fff;
	border-radius: 5px;
	box-shadow: 1px 5px 15px -2px rgba(0,0,0,0.2);
}
.field-list-options a {
	zoom: 1;
	display: block;
	margin: 3px;
	color: #fff;
	font-size: 11px;
	font-weight: bold;
	line-height: 14px;
	padding: 5px 15px;
	border-radius: 5px;
	min-width: 82px;
}
.field-list-options a:hover {
	opacity: 0.8;
	text-decoration:none;
	color: #fff;
}

.field-list-options ul {
	margin: 0;
}

.field-list-options .field-default {
	background: #777;
}
.field-list-options .field-success {
	background: #4caf50;
}
.field-list-options .field-important {
	background: #d9534f;
}

// Project Summary view
.project-summary-icon {
	width: 150px;
	height: 150px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}

.project-summary-help {
	text-align:center;
	.glyphicons {
		font-size:50px;
	}
}

.project-summary-path {
	margin-bottom:0;
}

/**Enable table scrolling**/
@media only screen and (max-width: 767px) {
	.table-wrapper {
	    overflow-x: scroll;
	}
}


/********** Date Conditions  ***********/
.fc-dates__additional {
	display: none;

	.alert {
		white-space: normal;
		margin: 10px 0;
	}
}

// ------------------------------------
// LABEL STATUS STYLING ---
// ------------------------------------
.label-ic-status {
    max-width: 300px;
    overflow: hidden;
    display: inline-block;
    text-overflow: ellipsis;
    line-height: 1.285;
}

// ------------------------------------
// NOTIFICATION TEMPLATES ---
// ------------------------------------
.notification-content {
    word-break: normal;

    &-html {
        display: grid;
    }

    &-plain {
        white-space: pre-line;
    }
}
