@import "../../../../../assets/css/abstracts/custom-variables.scss";

table hr {
	margin: 8px 0;
}

.helpdesk-admin-proj-search .ic-grid-search {
    position: relative;
}

.helpdesk-admin-proj-search .ic-grid-search-icon {
    position: absolute;
    top: 8px;
    right: 12px;
    z-index: 2;
}

.not-search-active {
	display: none;
}

.PanelsTable { width:100%; margin: 0 0 7px 0; padding:0; border:1px solid #e5e8eb;/*#BEC6D2;*/ border-collapse: collapse; border-spacing:0;  }
.PanelsTable th { background: #d4dae0 url(/images/default/menu/boxtit_bg.gif) repeat-x top;/*background-color: #CCD5F6;*/ }
.PanelsTable input.small { font-size: 10px; margin:0; }
.PanelsTable .Blue { color: #0000FF; }
.PanelsTable caption { font-size: 16px; text-align: left; font-weight: bold; color: #969696; padding: 0 2px 3px 2px; }
.PanelsTable td, .PanelsTable th { border:none; margin:0; padding:2px 5px 2px 5px; line-height:1.2em; height:1.2em; text-align:left; }

/*#PanelsSysadminWrap { max-width: 900px; }*/
#PanelsSysadminUpdate { width: 100%; }
#PanelsSysadminUpdate p.warning { margin-bottom: 5px; }
#PanelsSysAdminAdmin ul { padding:0; margin: 0; }
#PanelsSysAdminAdmin li { list-style:none; float:left; padding:4px; width: 110px; margin: 0; }

#PanelsExtranetAreas table.table-main { margin-bottom:10px; }
#PanelsSysAdminAdmin { width: 100%; }

#PanelsSysadmin { color: #000000; margin: 0 0 7px 0; }

#PanelsExtranetAreas input.Radio { margin:0; padding:0; height:0.9em; }

#PanelsExtranetAreas img { margin:0; padding:0; }

#PanelsSysAdminEditUser { margin:0 0 14px 0; }

#PanelsSysAdminLicense, #PanelsSysAdminSetAdmins tfoot div.Left { float:left; width:48%; }

#PanelsExtranetAreas td, #PanelsExtranetAreas th { margin:0; padding:3px 5px 3px 5px; line-height:1em; height:1.2em; }


.heading {
	margin-top: 3px;
	float: left;
}
.doc-view-list {
	margin: 9px 0;
}
#PanelsDocsAdminStatistics { float:left; margin: 0 0 14px 20px; }
.PanelsDocsAdminRecordTypes table { margin:0 0 10px 0; }
.PanelsDocsAdminRecordTypes table.table-main tr { background: #F2F4F8; }
.PanelsDocsAdminRecordTypes table span.Color { color: #006699; }

#PanelsDocsAdminCleanUpFrame { width:49%; float:left; border:1px solid #CCCCCC; padding:0 1px 0 0; }
#PanelsDocsAdminCleanUpFrame iframe { width:99%; height:395px; overflow:auto; margin:0 5px 0 0; padding-left: 5px; }
#PanelsDocsAdminCleanUpTables { width:49%; float:left; margin:0 0 0 5px; }
#PanelsDocsAdminEditList li { list-style:none; float:left; text-align:center; padding:0 10px 20px 10px; }

#PanelsDocumentrepositoryAdminEdit td { padding: 5px; }

#PanelsDocumentgenericimportAdmin li.Clear { clear:both; }
#PanelsDocumentgenericimportAdmin:after { content:'.'; display: block; visibility:hidden; height:0; clear:both; }


#PanelsReportsadmin td, #PanelsShedadminPerms td { padding:5px; }
#PanelsReportsadmin select, #PanelsShedadminPerms select { width: 150px; }

#AdminEditSkils td { padding: 2px 2px 5px 2px; }
#AdminEditSkils tfoot td { padding: 2px; }

.PanelsGroupEditCRM select{ width: 200px; }

#PanelsCommsLinks { border: 1px solid #e5e8eb; /*#BEC6D2;*/ }
#PanelsCommsLinks td { border: 0; padding: 0 0 0 3px;}
#PanelsCommsLinks th { padding: 0 3px 0 3px; text-align: center; }
.PanelsCommsDraft { color: gray; }
.PanelsCommsRejected { color: brown; }

#PanelsPublishUpload td { border:none; }
#PanelsPublishUpload label { font-weight:bold; }

#PanelsPublishPerm { margin:0 0 20px 0; }
#PanelsPublishPerm h4 { margin:0; }

#PanelsPublishEdittemplate { margin:10px 0 10px 0; }
#PanelsPublishEdittemplate p { margin:4px 0 0 0; }
#PanelsCrmAdminTable table.table-main { margin:2px; }

#PanelsDocsadminEditDoc h3 { font-size:1.43em; }

.PanelsDiagramStyleTitle { border-top:none!important; padding:0!important; margin:0!important; }

.PanelsDocumentGenericImportAttention { color: blue; }
.PanelsDocumentGenericImportOk { color: green; font-weight:bold; }

.PanelsAuditTables { float: left; padding: 2px 5px 2px 0px; }

.PanelsRoomsSelect { font-weight: normal; text-align: right; }

.PanelsRoomsLoc { padding: 2px 5px; }
.PanelsRoomsLoc a { margin-left: 10px; }

.PanelsBase { background: #e8eef7; padding: 5px; margin: 5px 0; width: 250px; }


.PanelsHolidayType {
	min-width: 22px;
	min-height: 20px;
	display: inline-block;
	margin-right: 5px;
	text-align: center;
	background-position: center;
	-webkit-border-radius: 	3px;
	-moz-border-radius: 	3px;
	border-radius: 			3px;
	-webkit-box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
	-moz-box-shadow: 	inset 0 0 0 1px rgba(0,0,0,0.1);
	box-shadow: 		inset 0 0 0 1px rgba(0,0,0,0.1);
}

.PanelsHolidayEdit {
	cursor: pointer;
}
.PanelsHolidayConfigParam {
	text-align: right;
	white-space: nowrap;
	height: 1px;
	border-right: 0 !important;
}

.PanelsHolidayConfigValue {
	border-left: 0 !important;
}
.PanelsHolidayConfigBlock .char {
	float: left;
	width: 30px;
	height: 30px;
	text-align: center;
	margin: 0 5px 5px 0;
	font-weight: bold;
	color: red;
}
.PanelsAddFolder {
	width: 600px;
}

#PanelsHolidayEditGroup .Right {
	margin: 0 0 0.5em 0.5em !important ;
}

#PanelsHolidayEditGroup td {
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	vertical-align: top;
}

#PanelsHolidayEditGroup td td {
	padding-top: 0;
	padding-bottom: 0;
}

.tree-box-hp, #tree_box {
	width: 100%;
	height: 400px;
	overflow:auto;
}
.ie7 #tree_box {
	width: 99%;
	overflow-y: scroll;
}

#PanelsHolidayEditGroup #arrows { vertical-align: middle; white-space: normal; }

.PanelsRightToAddCourses select { width: 150px; display: block; }

#PanelsEditCompanyMenu select { display: block; width: 200px;}

#PanelsHDMainFilter {
	margin-top: 0.5em;
	padding-top: 0.8em;
	padding-bottom: 0.8em;
}

.allow { color: #008000; }

th.hd_rights_legend {
	background: #E7E7E7 !important;
}

#PanelsHDEditDefFilter td, #PanelsHDEditDefFilter th {
	vertical-align: top;
}
#PanelsHDEditDefFilter .reported { padding-top: 0.5em; }
#PanelsHDEditDefFilter select { width: 150px; }
#PanelsHDEditDefFilter #select_auto_width select { width: auto; }
#PanelsHDEditDefFilter fieldset select { width: auto!important; }
#PanelsHDEditDefFilter #created_on label {
	display: block;
	font-weight: bold;
	width: 50px;
	height: 20px; float: left;
}
#PanelsHDEditDefFilter #created_on legend label { display: inline; float: none; }

#PanelsFieldsCondition td {
	vertical-align: top;
}
#PanelsFieldsCondition span.date_period { min-width: 40px; width: auto!important; width: 40px; display: block; float: left; }

#PanelsBackupFoldersTree, #b_ftree { float: left; border: 1px solid silver; margin: 0; }

#PanelsBackupSelectedFolders { width: auto; margin-left: 310px; }
#PanelsBackupSelectedFolders table { float: left; width: 100% }
#PanelsBackupSelectedFolders ul { margin: 0.2em 0 0.2em 0.5em; padding: 0; font-weight: bold; list-style: none;}
#PanelsBackupSelectedFolders ul a { color: red!important ; font-weight: normal; }

table.SmallHeight td {
	height: 1.5em!important;
}


table.table-main table.NoBorder {
	border-collapse: collapse!important;
	border: 0;
}

table.table-main table.NoBorder td,
table.table-main table.NoBorder th
{
	border: 0; margin: 0;
}

table.table-main table.Padding1 td,
table.table-main table.Padding1 th
{
	padding: 1px;
}

#PanelsAdminGroups img {
	vertical-align: middle;
}

tr.ForumBoardInactive th { background-color: #b0b0b0 }
tr.ForumBoardInactive td { background-color: #f0f0f0 }

#WCDynamicResultsTree {
	height: 500px;
	overflow: none;
	clear:both;
}

#WCDynamicactions {
	height: 500px;
}

.PeopleAdminLayoutLeft, .PeopleAdminLayoutRight {
	vertical-align: top;
	padding: 0;
}
.PeopleAdminLayoutRight {
	padding-left: 10px;
}
#metadata_sort_list {
	padding: 0;
	margin:	0;
}
#metadata_sort_list li {
	padding: 3px 5px;
}

.people_field_highlight {
	background: #ffffcc;
}

.sync-users-options input[type="checkbox"] {
    margin-right: 4px;
}

.PublishLangDiv { padding: 3px 5px 2px !important; margin: 0 0 3px !important; }
.PublishLangDiv ul.PublishLangMenu li { padding-right: 17px; margin-right: 0px; }
.PublishLangDiv ul.PublishLangMenu li span.activeLang { margin-right: -5px; }
.PublishLangDiv ul.PublishLangMenu li form { display: block; margin: 0; padding: 0px; }

.PublishAddFile { margin-top: 7px; }
html >/**/body .PublishAddFile { margin-top: 2px; }

pre { white-space: pre-wrap; /* css-3 */ white-space: -moz-pre-wrap; /* Mozilla */ white-space: -pre-wrap; /* Opera 4-6 */ white-space: -o-pre-wrap; /* Opera 7 */ word-wrap: break-word; /* Internet Explorer 5.5+ */ }

.survey_section h4 {
	background: #eee;
	text-indent: 10px;
	border-bottom: 1px solid #ddd;
}

.survey_section_details {
	margin: 10px;
}

.survey_section .form-actions {
	margin-bottom: 0;
	-webkit-border-radius: 0 0 3px 3px;
	   -moz-border-radius: 0 0 3px 3px;
	        border-radius: 0 0 3px 3px;
}


.thumbnail-title {
	height: 3em;
	line-height: 1.5em;
	overflow: hidden;
}
.thumbnails .span4:nth-child(3n+1) {
	clear: left;
	margin-left: 0;
}
div .table tbody>.dragged_tr td {
	 background: #eee;
}



/* field permissions */
.field-list .alert {
	margin-bottom: 3px;
}
.field-list .alert small {
	display: block;
}
.field-list-options {
	z-index: 200;
	position: absolute;
	margin-top: -42px;
	margin-left: -1px;
	border: 1px solid #ccc;
	background: #f3f3f3;
	border-radius:5px;
	box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
.field-list-options ul {
	margin: 0;
}
.field-list-options a {
	zoom: 1;
	display: block;
	margin: 3px;
}
.field-list-options a:hover {
	filter: alpha(opacity=80);
	opacity: 0.8;
}
.field-list-options a {
	color: #fff;
	font-size: 11px;
	font-weight: bold;
	line-height: 14px;
	padding: 2px 17px 2px 4px;
	-webkit-border-radius: 	.25em;
	-moz-border-radius: 	.25em;
	border-radius: 			.25em;
}

.field-list-options a span {
	font-size: 10px;
	margin-right: -2px;
}
.field-list-options .field-default {
	background: #999;
}
.field-list-options .field-success {
	background: #468847;
}
.field-list-options .field-important {
	background: #B94A48;
}

#ProjectHolidayLegend {
    margin-bottom: 10px;
}

.default-day-type-opt {
    padding: 0px 0px 5px 16px;
    margin-top: -5px;
}

.project-icon-links .span3:nth-child(4n+1) {
	margin-left: 0;
}

.change-project-icon-panel .icon-settings {
    float: left;
}

.change-project-icon-panel .selected a {
    border-color: #08c;
}


// Infocapture icon picker
.icons-set {
	height: 340px;
	overflow: auto;
}

.icons {
    display: flex;
    flex-wrap: wrap;
}

.icon-wrapper {
    flex: 0 0 20%;
    max-width: 20%;
    position: relative;
    width: 100%;
    padding: 5px;
    border: 1px solid white;
}

@media only screen and (max-width: 576px) {
    .icon-wrapper {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

.icons .icon-wrapper .ic-project-content-icon .glyphicons {
    font-size: 30px;
}

.icons .icon-wrapper.selected {
    border: 1px solid var(--info);
    border-radius: var(--theme-rounded-corners);
}


/* search application settings */

.search-application-setting {
	/* draggable/sortable item in application settings */
	border: 1px solid red;
}
.search-sortable {
	/* style for sortable control */
	cursor: move;
}

//Search 'more' styles

tr.search-more td {
	background: $gray-800;
	color: #fff;
	padding: 0.75rem;
	border: 0;
	position: relative;
}

tr.search-more td:before,
tr.search-more td:after {
	position: absolute;
	left: 50%;
	top: -12px;
	content : " ";
	border: 5px solid $gray-800;
	border-color: transparent transparent $gray-800 transparent;
}

tr.search-more td:after {
	bottom: -12px;
	top: auto;
	border-color: $gray-800 transparent transparent transparent;
}

/* data markers - used to inject expressions into Infocapture html templates */
.data-markers {
	margin: 0;
}
.data-markers > li > a {
	display: block;
	font-size: 11px;
	font-weight: bold;
	line-height: 14px;
	color: #FFF;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	vertical-align: baseline;
	background-color: #999;
}

.data-markers > li > a:hover,
.data-markers > li > a:focus {
	background-color: #666;
}

.data-markers .well {
	margin-bottom: 5px;
}

@media only screen and (max-width: 480px) {
	.admin-icon {
		width: calc(96%/2);
	}
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
	.admin-icon {
		width: calc(92%/4);
	}
}
/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {
	.not-search-active {
		display: none;
	}
	.admin-filter {
		margin-bottom:10px;
	}
	.project-icon,
	.admin-icon-icon {
		font-size:		32px;
		line-height: 	48px;
		width: 			52px;
		text-align: center;
	}
	.admin-icon-link {
		height: 100px;
	}
	.admin-icon:hover .admin-icon-list {
		display: none;
	}

	.admin-icon-tooltip {
		display: none;
	}

	.admin-icon:active .admin-icon-allowed {
		background: #f3f3f3;
	}

	.project-icon-links .span3 {
		margin-bottom: 10px;
	}

	.current-project-icon {
		margin: 10px 0px 15px 0px;
	}
	.project-icon:before, .admin-icon-icon:before {
		height: 52px;
		width: 52px;
	}
}
