body {
	font-size: 12px;
}

.page_content {
	padding-bottom: 50px;
	padding-top: 60px;
}
.container-windowed .page_content {
	padding-top: 0px;
}

.panel-default .panel-heading {
	color: white;
}
.form-group {
	margin-bottom: 8px;
}
table {
	font-size: 1em;
}

.search-buttons-holder {
	text-align: right;
	clear: both;
}



th[data-sort] {
	cursor: pointer;
}
th[data-sort]:after {
	content:"\f0dc";
	font-family: "Font Awesome 5 Pro";
	font-weight: bold;
	float: right;
	padding-right: 10px;
}
th[data-sort].sort-asc:after {
	content:"\f0dd";
}
th[data-sort].sort-desc:after {
	content:"\f0de";
}

/* Colleague search screen */
#AttachmentDocumentIds, #multi_email_colleagues_list {
    max-height: 150px;
    overflow-y: auto;
}

#dialog_multi_sms ul.div_multi_sms_colleague_list {
    max-height: 150px;
    overflow: auto;
}

#dialog_multi_email span.ColleagueEmailList {
    width: 48%;
    margin: auto;
    display: inline-block;
}
.AttachmentContainer,
.EmailAttachmentContainer {
    list-style: none;
    padding: 0;
    margin: 0 auto 0 auto;
    border: 2px dashed #D3D3D3;
    min-height: 20px;
}
.AttachmentContainer li,
.EmailAttachmentContainer li {
    float: left;
}
.EmailAttachment, .Attachment {
    padding: 6px;
    margin: 10px;
    background-color: #e8e8e8;
    position: relative;
}
.InnerAttachment {
    background-color: #D3D3D3;
    padding: 6px;
    width: 112px;
}
.InnerAttachment .DeleteIcon {
    background: transparent url("/images/icons/cross_16.png") no-repeat scroll center center;
    height: 16px;
    width: 16px;
    position: absolute;
    top: 8px;
    right: 8px;
    cursor: pointer;
}
.Attachment .AttachmentThumb,
.EmailAttachment .AttachmentThumb {
    width: 100px;
    height: 60px;
    text-align: center;
}
.Attachment .AttachmentThumb img,
.EmailAttachment .AttachmentThumb img {
    max-width: 100px;
    max-height: 60px;
    display: inline-block;
    margin: auto;
}
.Attachment .AttachmentFilename,
.EmailAttachment .AttachmentFilename {
    overflow: hidden;
    white-space: nowrap;
}

/**
 * Autocomplete
 */
.AutoCompleteMultiHolder {
    padding-top: 8px;
}
.AutoCompleteMultiHolder div {
    border: 1px solid #000000;
    border-radius: 4px;
    /*background: url( /images/icons/cross_16.png ) no-repeat 98% white;*/
    display: inline-block;
    padding: 4px 22px 4px 4px;
    position: relative;
}
.AutoCompleteMultiHolder .fa-times {
    font-size: 1.5em;
    color: #EC4C00;
    cursor: pointer;
    position: absolute;
    right: 4px;
}

/**
* Typeahead css
*/
.tt-query {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
    color: #999
}

.tt-menu {    /* used to be tt-dropdown-menu in older versions*/
width: 422px;
    margin-top: 4px;
    padding: 4px 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.tt-suggestion {
    padding: 2px 20px;
    line-height: 24px;
	cursor: pointer;
}

.tt-suggestion.tt-cursor {
    color: #fff;
    background-color: #0097cf;

}

.tt-suggestion p {
    margin: 0;
}

.tt-dataset h4 {
	margin-top: 2px;
	margin-bottom: 2px;
	padding-left: 2px;
}
/* itemSelector */
.itemSelector {
    cursor: pointer;

}
.itemSelector:hover {
    background:#bedef5 !important;
}

.icon-button {
    cursor: pointer;
    color: grey;
 }

.icon-button:hover {
    color: black !important;
}

/* Documents */
.DocumentList tr .tools .icon,
.search-results tr .tools .icon {
    cursor: pointer;
    font-size: 1.5em;
    padding-left: 5px;
}
.DocumentList tr .tools ,
.search-results tr .tools {
    visibility: hidden;
}

.DocumentList tr:hover .tools ,
.search-results tr:hover .tools {
    visibility: visible;
}
/* Boostrap additions */

.alert-grey {
    background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
    background-image: -o-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#f8efc0));
    background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);
    border-color: #f5e79e;
}
.alert-grey {
    background-color: #d9edf7;
    border-color: #bce8f1;
    color: #31708f;
}
.alert-grey hr {
    border-top-color: #a6e1ec;
}
.alert-grey .alert-link {
    color: #245269;
}


.blockMsg{
    color:#184da2 !important;
    border:1px solid #6c8ec4 !important;
    border-radius:6px;
}

.blockMsg h1{
    font-size:1.5em;
    font-weight:normal;

}


.quick-registration-holder .page_content {
    padding-top: 10px;
}


.HiddenElement {
    display: none;
}
.InvisibleElement {
    visibility: hidden;
}

/* Icons and tool images */
.move_handle {
	background: url('/images/icons/drag_16.png') no-repeat center;
	width: 20px;
}

/* Common Height classes */
.min-ht-13 {
	min-height: 13em;
}

.cursor-pointer:hover {
	cursor: pointer;
}

/* Table inside table cell */
.table .has-inner-table {
	padding: 0;
}
.table .has-inner-table {
	border-left: 0;
}
.table .inner-table {
	margin: 0;
	border: none;
}

.table .inner-table tr:first-child td {
	border-top: 0;
}
.table .inner-table tr:last-child td {
	border-bottom: 0;
}
.table .inner-table tr td:first-child {
	border-left: 0;
}
.table .inner-table tr td:last-child {
	border-right: 0;
}
.rate-timeband .historic {
	display: none;
}
.rate-timeband.show-historic .historic {
	display: table-row;
}
.rate-timeband .toggle-historic:before {
	content: "\f13a";
}
.rate-timeband.show-historic .toggle-historic:before {
	content: "\f139";
 }

/* font awesome icons */
.icon.standard {
	font-size: 1.5em;
}


/* Hide the view logs button if it is within a record card */
#RecordCard .btn-view-log {
	display: none;
 }

.DriverDetailRequest {
	cursor: pointer;
}

.item-inactive {
	color: orangered;
}
.removed {
	text-decoration: line-through;
}

/* Main navigation icons */
.nav-icons {
	margin: 0;
}
.nav-icons > li > a {
	color: white;
	/*padding: 0.5em;*/
	display: block;
	position: relative;
}

.nav-icons > li > a > i {
	font-size: 1.6em;
}

/* Alerts */
.nav-icons > li.show-alerts .badge {
	top: 7px;
	left: 4px;
	position: absolute;
	font-weight: 300;
	padding: 3px 6px;
}

#alerts-modal .alert-list {
	list-style: none;
	margin: 0;
	padding: 4px;
	/*box-shadow: 0px 0px 2px 0px grey inset;*/
}
#alerts-modal li:hover {
	/*box-shadow: 1px 1px 2px 0px #2659aa;*/
	background-color: #f7f7f7 /*#fdfdfd*/;
	color: black;
}
#alerts-modal li {
	clear: both;
	font-weight: normal;
	padding: 5px 0 5px 0;
	margin-bottom: 3px;
}
#alerts-modal .alert {
	position: relative;
	padding-right: 5px;
}
#alerts-modal .alert.alert-plain {
	box-shadow: 0px 0px 2px 0px grey;
}
#alerts-modal .alert .alert-info-icon {
	display: none;
	position: absolute;
	right: 5px;
}
#alerts-modal .alert.alert-with-icon .alert-info-icon {
	display: initial;
}
#alerts-modal li .alert-date,
#alerts-modal li .alert-title {
	font-size: 0.9em;
}
/*
#alerts-modal li .alert-date {
	float: right;
}
#alerts-modal li .alert-message,
#alerts-modal li .alert-title {
	float: left;
}*/

.tn-icon-selected {
	visibility: hidden;
}
.attachment.tn-selected .tn-icon-selected {
	visibility: visible;
}

.attachment .tn-icon-selected {
	position: absolute;
	font-size: 1.5em;
	color: green;
}

.site-status.inactive {
	color: red;
}
.site-status.active {
	color: green;
}
.site-status.prospect {
	color: blue;
}
.site-status.pending {
	color: grey;
}

.site-editable {
	color: red;
	font-weight: bold;
}


.row.steps {
	overflow: auto;
}
.step.with-footer{
	min-height: 800px;
}

/**
 * Blinking element
 */
.show-alerts.alerts-present .alert-icon {
	color: orange;
}
.show-alerts.alerts-present .alert-icon {
	animation: blinker 4s ease-in-out infinite;
}

.show-alerts.alerts-present .badge {
	background-color: red;
}
@keyframes blinker {
	80% {
		opacity: 100%;
	}
	90% {
		opacity: 0;
	}
}

#main-navigation {
	font-family: "Magistral-BookItalic",Helvetica,Arial;
	font-size: 13px;
}
#main-navigation li .dropdown-menu{
	font-family: Helvetica,Arial;
	font-size: 12px;
}

#main-navigation li.dropdown a{
	padding-left: 8px;
}


/**
 * Postcode lookup
 */
.postcode-dropdown {
	width: 100px;
	background-color: white;
	height: 100px;
	position: absolute;
	z-index: 100;
	overflow: auto;
	display: none;
	padding-left: 5px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.postcode-dropdown .postcode-selector {
	padding: 2px;
	cursor: pointer;
}

.modal-xl {
	width: 98vw;
}
.modal-xl .modal-body {
	height: calc(100vh - 170px);
	overflow: auto;
}
