/* DEFAULTS
/* DEFAULTS
----------------------------------------------------------*/

html, body
{
    font-family:Arial, Tahoma, Verdana;
	font-size:11px;
	margin:0 auto;
	padding:0;
	color:#555555;
	line-height:20px;
    width: 100%;
    height: 100%;
}

body > form {
    height: 100%;
    width: 100%;
}

#container {
    width:95%;
    min-width: 800px;
    height: 100%;
    min-height: 100%;
    margin:0 auto;
    padding:0 0;
    background-color: #fff;
    overflow: visible;
}

.content {
    min-height: 100%;
    margin-bottom: -90px;
}

.push {
    height: 65px;
}

.row {
    width: 100%;
}

.clearfix {
  overflow: auto;
}

.content > .row.clearfix {
    padding-top: 10px;
}

img.hazcheck-logo {
    float: left;
    padding: 6px 2px;
}

img.company-logo {
    float: right;
}

div.login {
    height: 200px;
    line-height: 200px;
    text-align: center;
    font-size: 2em;
}

.tooltip ul {
  padding-left: 0;
}

.tooltip li {
  list-style: none;
  padding-left: 1.25rem;
  position: relative;
}

.tooltip li::before {
  left: 0;
  position: absolute;
}

.tooltip ul > li::before {
  content: "●";
}

.tooltip ul > li > ul > li::before {
  content: "○";
}

.tooltip code {
  color: Red;
  font-family: monospace;
}

.heartbeat {
    width: 20px;
    height: 20px;
    background-color: red;
    transform: rotate(-45deg);
    -ms-transform:rotate(-45deg); /* IE 9 */
    -webkit-transform:rotate(-45deg); /* Opera, Chrome, and Safari */
    position: fixed;
    bottom: 10px;
    left: 10px;
}

.heartbeat::before, .heartbeat::after {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: red;
    position: absolute;
    top: -10px;
    left: 0;
    content:"";
}
.heartbeat::after {
    top: 0;
    left: 10px;
}

.alternatingItem {
     background-color: #D3D3D3
}

a:link, a:visited
{
    color: #034af3;
}

a:hover
{
    color: green;
    text-decoration: none;
}

a:active
{
    color: #034af3;
}

p
{
    margin-bottom: 10px;
    line-height: 1.6em;
    /*height: 24px;*/
}

a#user-name {
    cursor: pointer;
    font-weight: bold;
}


/* HEADINGS
----------------------------------------------------------*/

h1, h2, h3, h4, h5, h6
{
    font-size: 0.7em; /* 1.5em; */
    color: #666666;
/*    font-variant: small-caps;     No small caps for headings */
/*    text-transform: none; */
/*    font-weight: 200; */
    margin-bottom: 0px;
}

h1
{
    font-size: 2.0em; /* 1.6em; */
    padding-bottom: 0px;
    margin-bottom: 0px;
}

h2
{
    font-size: 1.1em;
    font-weight: 600;
}

h3
{
    font-size: 0.9em; /* 1.2em;*/
}

h4
{
    font-size: 0.7em ; /* 1.1em; */
}

h5, h6
{
    font-size: 0.6em ; /* 1em; */
}

/* this rule styles <h1> and <h2> tags that are the
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2
{
    margin-top: 0px;
}


/* PRIMARY LAYOUT ELEMENTS
----------------------------------------------------------*/

.page
{
    width: auto;
    background-color: #fff;
    margin: 20px auto 0px auto;
    border: 1px solid #496077;
}

.header
{
    position: relative;
    margin: 0px;
    padding: 0px;
    background: #4b6c9e;
    width: 100%;
}

.header h1
{
    font-weight: 700;
    margin: 0px;
    padding: 0px 0px 0px 20px;
    color: #f9f9f9;
    border: none;
    line-height: 2em;
    font-size: 0.7em ; /* 2em; */
}

.main
{
    padding: 0px 12px;
    margin: 12px 8px 8px 8px;
    min-height: 420px;
}

.leftCol
{
    padding: 6px 0px;
    margin: 12px 8px 8px 8px;
    width: 200px;
    min-height: 200px;
}

.footer
{
    color: #4e5766;
    padding: 8px 0px 0px 0px;
    margin: 0px auto;
    text-align: center;
    line-height: normal;
}

td
{
     border: 0;
}

.tdembedded
{
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* TAB MENU
----------------------------------------------------------*/

div.hideSkiplink
{
    background-color:#3a4f63;
    width:100%;
}

div.menu
{
    padding: 4px 0px 4px 8px;
}

div.menu ul
{
    list-style: none;
    margin: 0px;
    padding: 0px;
    width: auto;
}

div.menu ul li a, div.menu ul li a:visited
{
    background-color: #465c71;
    border: 1px #4e667d solid;
    color: #dde4ec;
    display: block;
    line-height: 1.35em;
    padding: 4px 20px;
    text-decoration: none;
    white-space: nowrap;
}

div.menu ul li a:hover
{
    background-color: #bfcbd6;
    color: #465c71;
    text-decoration: none;
}

div.menu ul li a:active
{
    background-color: #465c71;
    color: #cfdbe6;
    text-decoration: none;
}

/* FORM ELEMENTS
----------------------------------------------------------*/

fieldset {
    margin: 1em 0px;
    padding: 1em;
    border: 1px solid #ccc;
}

fieldset p {
    margin: 2px 12px 10px 10px;
}

fieldset label.inline {
    display: inline;
}

legend {
    font-size: 0.7em ; /* 1.1em; */
    font-weight: 600;
    padding: 2px 4px 8px 4px;
}

input.textEntry {
    width: 320px;
    border: 1px solid #ccc;
}

div.accountInfo {
    width: 42%;
}

.col {
    position: relative;
    float: left;
}


/* MISC
----------------------------------------------------------*/

.clear
{
    clear: both;
}

.title
{
    display: block;
    float: left;
    text-align: left;
    width: auto;
}

.failureNotification
{
    font-size: 0.7em ; /* 1.2em; */
    color: Red;
}

.bold
{
    font-weight: bold;
}

.submitButton
{
    text-align: right;
    padding-right: 10px;
}

.headerBlock {
/*
	cursor: pointer;
	position: relative;
	margin-top: 2px;
	padding: .5em .5em .5em .7em;
	min-height: 0; /* support: IE7 *x/
    font-size: .9em;
    font-weight: bold;
*/
	background-color: #dddddd;
    border:1px;
    border-style:solid;
    border-color:Gray;
    border-radius:5px;
    color: #333333;
    margin-bottom: 2px;
}


.axccordioon

.axccordionHeader
{
    border: 0px solid white;
    background-image: url(images/expand.gif);
    background-repeat:no-repeat;
    color: #666666;
    font-family: Verdana, Arial, sans-serif;
    /* font-family: Trebuchet MS, Tahoma, Arialxx, Verdana, Helvetica, sans-serif; */
    font-size: 0.7em; /* 9pt */
    font-weight: bold;
    padding: 5px 0px 0px 0px;
    margin-top: 5px;
    cursor: pointer;
    text-align: left;
}

.xaccordionHeaderSelected
{
    border: 1px solid #666666;
    color: #666666;
    background-color: #dddddd;
    background-image: url(images/collapse.gif);
    background-repeat:no-repeat;
    font-family: Verdana, Arial, sans-serif;
    /* font-family: Trebuchet MS, Tahoma, Arialxx, Verdana, Helvetica, sans-serif; */
    font-size: 0.7em; /* 9pt */
    font-weight: bold;
    padding: 5px;
    margin-top: 5px;
    cursor: pointer;
    text-align: left;
}

.xaccordionContent
{
    background-color: White;
    border: 1px solid #666666;
    border-top: none;
    padding: 5px;
    padding-top: 10px;
    text-align: left;
}

.ModalPopupHeader
{
    font-family: Verdana, Arial, sans-serif;
    font-size: 1.1em;
    font-weight: bold;
    text-align: left;/*text-align: center;*/
}

.ModalPopupText
{
    color: #ffffff;
    font-family: Verdana, Arial, sans-serif;
    font-size: 0.9em;
    font-weight: normal;
    text-align: left;
}

.ModalPopup
{
    border: 2px solid #808080;
    color: #ffffff;
    background-color: #778899;
    font-family: Verdana, Arial, sans-serif;
    font-size: 1.1em;
    font-weight: normal;
    /*padding: 5px;*/
    /*margin-top: 2px;*/
}

a.GridHeader, GridHeader
{
    font-family: Verdana, Arial, sans-serif;
    font-size: 1.0em;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    color: #666666;
}

.FormTitle
{
    font-family: Verdana, Arial, sans-serif;
    font-size: 1.5em;
    font-weight: normal;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    text-align: center;
    color: #333333;
    padding: 5px;

}

.DataPagerCurrent
{
    border-width: 1px; border-style: solid; padding: 1px 2px 1px 2px; border-color: #999999; /*color: white;*/ background-color: #ffffff;
}

/*lean_overlay JQuery-Plugin CSS items*/
#lean_overlay {
    position: fixed;
    z-index:100;
    top: 0px;
    left: 0px;
    height:100%;
    width:100%;
    background: #000;
    display: none;
}

.green_bg {
    background-color: #D4FFC8;
}
.white_bg {
    background-color: #FFFFFF;
}
.tblBorder {
    border-spacing:0;
    border-collapse:collapse;
    margin: auto;
    width: 100%;
    word-wrap: break-word;
    table-layout: auto;
}
.tblBorder thead, .tblBorder thead tr th,
.tblBorder tfoot, .tblBorder tfoot tr th {
    vertical-align: top;
border: 1px solid #c5dbec;
/*linear-gradient(center top , rgb(90, 90, 90) 0%, rgb(20, 20, 20) 100%) repeat scroll 0% 0% transparent;*/
background: #ff0305;/*#dfeffc url(/images/ui-bg_glass_85_dfeffc_1x400.png) 50% 50% repeat-x;*/ /*IE earlier than 10*/
background: -webkit-linear-gradient(#ff0305 0%,#a01305 100%); /* For Safari */
background: -o-linear-gradient(#ff0305 0%,#a01305 100%); /* For Opera 11.1 to 12.0 */
background: -moz-linear-gradient(#ff0305 0%,#a01305 100%); /* For Firefox 3.6 to 15 */
background: linear-gradient(#ff0305 0%,#a01305 100%); /* Standard syntax */
color: mintcream; /*#2e6e9e;*/
font-weight: bold;
font-size: 11px;
}
.tblBorder tr td {
    border: solid thin gray;
    text-align: center;
    cursor:pointer;
    word-wrap: break-word;
}
.tblBorder tr td.left {
    text-align: left;
}
.white_bg_tr {
    background-color: white;
    border: solid thin gray;
}
.inside {
    /*background-color: aqua;*/
    color: green;
}

.sortHeader {
	background-image: url(images/bg.gif);
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}

.headerSortAsc {
	background-image: url(images/asc.gif);
    background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}
.headerSortDesc {
	background-image: url(images/desc.gif);
    background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}
.complete{
    display:none;
}

.more{
    background:lightblue;
    color:navy;
    font-size:13px;
    padding:3px;
    cursor:-webkit-grab;
    line-height: 25px;
}

.bglightgray {
    background-color: lightgray;
}

.ui-progressbar-value { background-image: url(images/pbar-ani.gif); }
input[type="checkbox"] {
    background-color: white;
}
.ControlHighlight {
background: #FFFFAA !important;
border: 1px solid #FFAD33 !important;
}

fieldset.imposed {
    float: left;
    border: 0;
    display: inline-block;
    vertical-align: middle;
}

fieldset.imposed.imposed-location {
    width: 40%;
}

fieldset.imposed ul{
    width: 70%;
    float: right;
    margin: 0;
}

fieldset.imposed input[type="checkbox"] {
    vertical-align: bottom;
    margin-top: 10px;
}

fieldset.imposed-location-options {
    width: 20%;
}

fieldset.imposed-location-options span {
    display: block;
    padding-left: 10px;
    text-indent: -10px;
}

fieldset.imposed.imposed-location-options span input[type="checkbox"] {
    width: 20px;
    height: 13px;
    padding: 0;
    margin:0;
    vertical-align: bottom;
    position: relative;
    top: -1px;
    *overflow: hidden;
}

.right:not(td) {
    float: right;
}
.left:not(td) {
    float: left;
}
.left:after,
.right:after {
    content: "";
    display: table;
    clear: both;
}

/* #region Forms */

.audit-information {
    color: #202020;
}

.ui-dialog span.ui-dialog-title {
    width: 98%;
}
span.ui-dialog-title span.title {
    float: left;
}
span.ui-dialog-title span.audit {
    float: right;
}
form.loading {
    background: url(images/loading.gif) no-repeat center !important;
    background-size: 200px !important;
}

form.loading > * {
    display: none;
}



.button-loading {
    background: url(images/loading.gif) no-repeat center !important;
    background-size: 20px !important;
    color: transparent !important;
}

.form-horizontal hr {
    display: inline-block;
    width: 100%;
    margin-top: 10px;
}

.form-horizontal .form-group {
    padding-top: 7px;
    display: table;
    width: 100%;
}

.form-horizontal .form-group label {
    white-space: nowrap;
}

.form-horizontal .form-group label.control-label  {
    margin-bottom: 0;
    padding-right: 5px;
    text-align: right;
    float: left;
    width: 20%;
}

div.readonly a.select,
div.readonly a[data-select-all],
div.readonly a[data-add-new],
div.readonly td.comment-controls,
div.readonly div.comments-search,
div.readonly div.all-comments,
div.readonly button.save-button,
div.readonly .edit-only {
    display: none;
}
button.save-button[disabled]{
    display: none;
}

#company-form .form-group label.control-label  {
    margin-bottom: 0;
    padding-right: 5px;
    text-align: right;
    float: left;
    width: 24%;
}

.wider { margin: 0 15px 0 -15px; }

.form-horizontal .accordion .form-group label.control-label {
    width: 17.5%;
}

#company-form .accordion .form-group label.control-label {
    width: 22%;
}

form a.select-comment {
    font-size: 15px;
    color: #ED3F0E;
}

a.button {
    cursor: pointer;
}

a.button:hover {
    color: green;
    text-decoration: none;
}

.ui-dialog form.ui-dialog-content {
    overflow-y: auto;
    overflow-x: hidden;
}

.ui-dialog-buttonpane a {
    margin-top: 10px;
}

.form-horizontal .form-group input[type="text"] + a.add-new {
    vertical-align: middle;
    padding-left: 5px;
}

.form-horizontal .form-group label.ui-state-error {
    margin-left: 2px;
    overflow-wrap: break-word;
    font-size: 90%;
}

label.ui-state-error.group-error:after {
    content: '\a';
    white-space: pre;
}

.form-horizontal .form-group select.ui-state-error ~ span.select2-container {
    border: 1px solid #cd0a0a;
    color: #cd0a0a;
}

.form-horizontal .form-group .select2-selection__rendered {
  max-width: 90%;
}

.form-horizontal .form-group input[type="checkbox"][disabled].ui-state-error {
    border: none;
}

form ~ div.ui-dialog-buttonpane a.reset-validation {
    display: none;
}

form.has-errors ~ div.ui-dialog-buttonpane a.reset-validation {
    display: block;
}

.form-horizontal .form-group input:not([type="checkbox"]):not([type="radio"]),
.form-horizontal .form-group textarea,
.form-horizontal .form-group select,
.form-horizontal .form-group span.select2-container,
.form-horizontal .form-group [data-control="checkbox-group"],
.form-horizontal .form-group [data-control="radio"],
.form-horizontal .form-group ul.tagit {
    float: left;
    width: 45%;
}

.form-horizontal .accordion .form-group input:not([type="checkbox"]):not([type="radio"]),
.form-horizontal .accordion .form-group textarea,
.form-horizontal .accordion .form-group select,
.form-horizontal .accordion .form-group span.select2-container,
.form-horizontal .accordion .form-group [data-control="radio"],
.form-horizontal .accordion .form-group ul.tagit {
    width: 42.5%;
}

.form-horizontal .accordion .form-group [data-control="checkbox-group"] {
    width: 50%;
}

[data-control="checkbox-group"] input[type="checkbox"],
[data-control="radio"] input[type="radio"] {
    vertical-align: middle;
    float: none;
}

span.checkbox-group-divider {
    padding-left: 10px;
    padding-right: 10px;
}

textarea.no-resize {
    resize: none;
    overflow: hidden;
}

ul.tagit {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 1px !important;
    padding-right: 1px !important;
    min-height: 20px;
}

ul.tagit li.tagit-new {
    margin: 0 !important;
    padding: 0 !important;
}

ul.tagit li.tagit-choice {
    padding: 0 18px 0 0 !important;
}

ul.select2-results__options li[aria-selected="true"],
ul.select2-results__options li[aria-disabled="true"] {
    display: none;
}

span.select2-selection__clear {
  position: relative;
}

/*#region Company*/
#company-form div.company-defaults .form-group {
    float: left;
    width: 50%;
}

#company-form div.company-defaults .form-group .control-label {
    width: 30%;
}

#company-form div.company-defaults .form-group div[data-binding] {
    width: 50%;
}
/*#endregion*/

/* #region User */

div[data-binding="Role"] {
    width: 60%;
}

/* #endregion */

/* #region Comments */

#comment-form textarea {
    width: 50%;
}


/* #endregion */

/* #region Export */
#dialog-form-export .control-label,
#dialog-form-export span.select2-container {
    width: 45%;
}

button.export-button[disabled]{
    display: none;
}
/* #endregion*/

/*#region restriction-company*/
.restriction-company {
    width: 45%;
}
/* #endregion'*/

/* #region Import */
#dialog-form-import span.select2-container {
    width: 60%;
}

progress {
    width: 100%;
}

button.import-button[disabled]{
    display: none;
}
/* #endregion*/

/*#region Restriction */

#restriction-form div.form-group.active,
#restriction-form div.form-group.access-type {
    width: 30%;
}

#restriction-form div.form-group.restriction-tags,
#restriction-form div.form-group.type {
    width: 70%;
    float: left;
}

#restriction-form div.form-group.restriction-company,
#restriction-form div.form-group.type {
    width: 70%;
    float: left;
}

#restriction-form div.form-group.ship-type,
#restriction-form div.form-group.sailing-type,
#restriction-form div.form-group.storage,
#restriction-form div.form-group.notification {
    width: 50%;
    float: left;
}

#restriction-form div.form-group.restriction-tags label,
#restriction-form div.form-group.type label {
    width: 23%;
}
#restriction-form div.form-group.restriction-company label,
#restriction-form div.form-group.type label {
    width: 23%;
}


#restriction-form div.form-group.active label,
#restriction-form div.form-group.access-type label {
    width: 40%;
}

#restriction-form div.form-group.active span.select2-container,
#restriction-form div.form-group.access-type span.select2-container {
    width: 50%;
}

#restriction-form div.form-group.type div {
    width: 60%;
}

#restriction-form div.form-group.operator,
#restriction-form div.form-group.operator-group,
#restriction-form div.form-group.booking-operator,
#restriction-form div.form-group.booking-operator-group,
#restriction-form div.form-group.vessel,
#restriction-form div.form-group.vessel-group,
#restriction-form div.form-group.location,
#restriction-form div.form-group.location-group,
#restriction-form div.form-group.terminal,
#restriction-form div.form-group.terminal-group,
#restriction-form div.form-group.un-number,
#restriction-form div.form-group.handling-error-placement,
#restriction-form div.form-group.class,
#restriction-form div.form-group.subhazards,
#restriction-form div.form-group.units,
#restriction-form div.form-group.substance-attributes,
#restriction-form div.form-group.segregation-groups,
#restriction-form div.form-group.technical-names {
    padding-top: 10px;
    padding-bottom: 10px;
}

#restriction-form div.form-group.operator,
#restriction-form div.form-group.operator-group,
#restriction-form div.form-group.booking-operator,
#restriction-form div.form-group.vessel,
#restriction-form div.form-group.vessel-group,
#restriction-form div.location-terminal,
#restriction-form div.form-group.location-group,
#restriction-form div.form-group.terminal-group {
    width: 42.5%;
    float: left;
}

#restriction-form div.form-group.operator-group,
#restriction-form div.form-group.vessel-group {
    margin-left: 15%;
}

#restriction-form div.form-group.handling {
    padding-top: 0;
    margin-left: -10px;
    width: 15%;
    float: left;
}

#restriction-form div.form-group.operator .control-label,
#restriction-form div.form-group.operator-group .control-label,
#restriction-form div.form-group.booking-operator .control-label,
#restriction-form div.form-group.vessel .control-label,
#restriction-form div.form-group.vessel-group .control-label,
#restriction-form div.form-group.location .control-label,
#restriction-form div.form-group.location-group .control-label,
#restriction-form div.form-group.terminal .control-label,
#restriction-form div.form-group.terminal-group .control-label {
    width: 40%;
}

#restriction-form div.form-group.operator span.select2-container,
#restriction-form div.form-group.operator-group span.select2-container,
#restriction-form div.form-group.booking-operator span.select2-container,
#restriction-form div.form-group.vessel span.select2-container,
#restriction-form div.form-group.vessel-group span.select2-container,
#restriction-form div.form-group.location span.select2-container,
#restriction-form div.form-group.location-group span.select2-container,
#restriction-form div.form-group.terminal span.select2-container,
#restriction-form div.form-group.terminal-group span.select2-container {
    width: 55%;
}

#restriction-form div.form-group .apply-to,
#restriction-form div.form-group .not-apply-to {
    width: 30%;
    float: left;
}

#restriction-form div.form-group .apply-to {
    margin-left: 18%;
}

#restriction-form div.form-group .not-apply-to {
    margin-left: 13%;
}

#restriction-form div.form-group.un-number span.select2-container,
#restriction-form div.form-group.class span.select2-container,
#restriction-form div.form-group.subhazards span.select2-container,
#restriction-form div.form-group.units span.select2-container,
#restriction-form div.form-group.substance-attributes span.select2-container,
#restriction-form div.form-group.segregation-groups span.select2-container,
#restriction-form div.form-group.technical-names span.select2-container {
    width: 38%;
}

    #restriction-form div.form-group.un-number span.select2-container:last-child,
    #restriction-form div.form-group.class span.select2-container:last-child,
    #restriction-form div.form-group.subhazards span.select2-container:last-child,
    #restriction-form div.form-group.units span.select2-container:last-child,
    #restriction-form div.form-group.substance-attributes span.select2-container:last-child,
    #restriction-form div.form-group.segregation-groups span.select2-container:last-child,
    #restriction-form div.form-group.technical-names span.select2-container:last-child {
        margin-left: 5%;
    }

#restriction-form div.form-group.booking-operator-group {
    width: 50%;
    float: right;
}

#restriction-form div.form-group.booking-operator-group {
    margin-right: 5px;
}
#restriction-form div.form-group.booking-operator-group .control-label {
    width: 50%;
}

#restriction-form div.form-group.booking-operator-group span.select2-container {
    width: 47%;
}

#restriction-form div.form-group.ship-type .control-label,
#restriction-form div.form-group.sailing-type .control-label {
    width: 30%;
}

#restriction-form div.form-group.storage textarea,
#restriction-form div.form-group.notification textarea {
    margin-left: 10px;
}

#restriction-form div.form-group.quantities input[type="number"],
#restriction-form div.form-group.quantities-input input[type="number"] {
    width: 10%;
    margin-bottom: 15px
}

#restriction-form div.form-group.quantities-checkboxes {
    width: 10%;
}

#restriction-form div.form-group.quantities-input-weights,
#restriction-form div.form-group.quantities-input {
    width: 85%;
    float: right;
    margin-bottom: 20px;
}

#restriction-form div.form-group.flashpoint input[type="number"],
#restriction-form div.form-group.flashpoint-input input[type="number"] {
  width: 10%;
}
#restriction-form div.form-group.flashpoint-checkbox {
  width: 10%;
}
#restriction-form div.form-group.flashpoint-label {
  width: 10%;
}
#restriction-form div.form-group.flashpoint-input-weights,
#restriction-form div.form-group.flashpoint-input {
  width: 85%;
  float: right;
  margin-bottom: 20px;
}

#restriction-form input[type="text"][name="CommentFilter"] {
    width: 30%;
}

#restriction-form select[name="AllComments"],
#restriction-form table[data-binding="Comments"] {
    width: 100%;
}

#restriction-form table[data-binding="Comments"] td:nth-of-type(1) {
    width: 5%;
}

#restriction-form table[data-binding="Comments"] td:nth-of-type(2) {
    width: 75%;
}

#restriction-form table[data-binding="Comments"] td:nth-of-type(3) {
    width: 5%;
}

#restriction-form textarea[name="Remarks"] {
    width: 100%;
}

table.comment-table {
    border-collapse: collapse;
}

table.comment-table thead tr th {
    text-align: left;
}

table.comment-table tbody {
    background-color: white;
}

table.comment-table a {
    color: #ED3F0E;
}
/*#endregion */

/* #endregion */



div.data-table-buffer {
    margin: 50px 0 0;
}
a.clear-filter {
    margin: 0 10px;
    cursor: pointer;
}
a.column-selector-toggle, a.refresh {
    margin: 0 10px;
    cursor: pointer;
    font-size: 2em;
}
div.column-selector {
    background: rgba(0, 0, 0, 0) linear-gradient(#0d0d0f 0%, #46575c 100%) repeat scroll 0 0;
    color: white;
    margin: 5px 30px;
    padding: 10px;
    position: absolute;
    z-index: 1000;
}

/* #region Data Table */
table.data-table {
    min-width: 100%;
    box-sizing: border-box;
    border-spacing: 0;
    border-collapse: collapse;
    margin: 5px 25px 0 0;
    word-wrap: break-word;
    table-layout: fixed;
    background-color: #ffffff;
    display: inline-table;
}

table.data-table thead,
table.data-table thead tr th {
    vertical-align: top;
    border: 1px solid #c5dbec;
    background: #ff0305; /*IE earlier than 10*/
    background: -webkit-linear-gradient(#ff0305 0%,#a01305 100%); /* For Safari */
    background: -o-linear-gradient(#ff0305 0%,#a01305 100%); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#ff0305 0%,#a01305 100%); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#ff0305 0%,#a01305 100%); /* Standard syntax */
    color: mintcream; /*#2e6e9e;*/
    font-weight: bold;
    font-size: 11px;
}

table.data-table tbody tr td {
    border: solid thin gray;
    cursor:pointer;
    word-wrap: break-word;
    padding-left: 10px;
    padding-right: 10px;
}

table.data-table tr th.select-column {
    width: 20px;
    max-width: 20px;
}

table.data-table tr td.selected {
    background: center url(images/tick-button.png) no-repeat;
}

table.data-table tr td.left {
    text-align: left;
}

table.data-table tr td.right {
    text-align: right;
}

table.data-table tr td.centre {
    text-align: center;
}

table.data-table thead tr th div {
    height: 34px;
    margin: 3px;
    padding-left: 10px;
    padding-right: 10px;
    line-height: 16px;
}
table.data-table thead tr th div.sortable {
    cursor: pointer;
	background-image: url(images/bg.gif);
	background-repeat: no-repeat;
    background-position: right top;
}

table.data-table thead tr th div.sort-asc {
	background-image: url(images/asc.gif);
}

table.data-table thead tr th div.sort-desc {
	background-image: url(images/desc.gif);
}

table.data-table thead tr th .filter,
table.data-table thead tr th span.select2,
table.data-table thead tr th span.select2 .select2-selection--single {
    width: 100%;
    box-sizing: border-box;
    min-height: 32px;
    color: #555;
}

table.data-table thead tr th span.select2 .select2-selection__clear {
    margin-right: 0;
}

table.data-table thead tr th .filter-active,
table.data-table thead tr th .filter-active + span.select2 span.select2-selection {
    border: 1px solid #FFAD33 !important;
    background: #FFFFAA !important;
}

table.data-table thead tr th .filter-active + span.select2 span.select2-selection input {
    background: #FFFFAA !important;
}

table.data-table tbody tr td.row-selector div {
    min-height: 20px;
}

table.data-table tbody tr.loading,
table.data-table tbody tr.empty {
    height: 30px;
}

table.data-table tbody tr.empty td,
table.data-table tbody tr.loading td {
    text-align: center;
}

table.data-table tbody tr.loading td > span {
    background-image: url(images/loading.gif);
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: left;
    padding-left: 30px;
    display: inline-block;
}

table.data-table tbody tr.alternate {
    background-color: lightgray;
}

table.data-table tbody tr:hover {
    color: green;
}

table.data-table tfoot {
    background-color: #202020;
    height: 30px;
}

table.data-table tfoot div.left {
    margin-left: 40px;
    margin-top: 5px;
    margin-bottom: 5px;
}

table.data-table tfoot span {
    color: white;
}

table.data-table tfoot div.right {
    margin: 5px 10px 0 0;
    padding: 0;
    width: 80px;
}

table.data-table tfoot input {
    border: medium none;
    float: left;
    height: 18px;
    margin-left: 8px;
}

table.data-table tfoot input[type="text"] {
    width: 28px;
}

table.data-table tfoot input[type="button"] {
    display: block;
    cursor: pointer;
    background-color: #1D1D1D;
    color: #FFF;
    border: 1px solid #000;
    border-radius: 4px;
    margin: 0 0 0 4px;
    text-align: center;
}

table.data-table tfoot input[type="button"]:hover {
    color: green;
}

table.data-table tfoot ul {
    margin-top: 5px;
    margin-bottom: 0;
}

table.data-table tfoot ul li {
    display: inline;
    list-style-type: none;
    color: white;
    padding-left: 10px;
    cursor: pointer;
}

table.data-table tfoot ul li.current {
    color: green;
}

table.data-table tfoot ul li:hover {
    color: green;
}
table.data-table tbody td img {
    padding: 0;
    height: 25px;
}
/* #region Column Widths */
table.data-table [data-identifier] {
    min-width: 100px;
}
table.data-table [data-identifier$="Name"] {
    min-width: 200px;
}
table.data-table [data-identifier="Id"] {
    min-width: 50px;
}
table.data-table [data-identifier$="Code"],
table.data-table [data-identifier$="UnNumber"] {
    min-width: 80px;
}
table.data-table [data-identifier="Notes"] {
    min-width: 120px;
}
table.data-table [data-identifier="DataKnown"] {
    min-width: 100px;
}
table.data-table [data-identifier$="Locations."],
table.data-table [data-identifier$="Vessels."] {
    min-width: 400px;
}
table.data-table [data-identifier="IsActive"] {
    min-width: 60px;
}
table.data-table [data-identifier$="Type"] {
    min-width: 120px;
}
table.data-table [data-identifier$="Text"] {
    min-width: 250px;
}
/* #region Companies */
table.data-table [data-identifier="MaxUserCount"] {
    min-width: 100px;
}
table.data-table [data-identifier="IsInService"] {
    min-width: 100px;
}
table.data-table [data-identifier="Logo"] {
    min-width: 100px;
}
/* #endregion */
/* #region Users */
table.data-table [data-identifier="Email"] {
    min-width: 150px;
}
table.data-table [data-identifier="JobTitle"] {
    min-width: 150px;
}
table.data-table [data-identifier="IsApproved"] {
    min-width: 100px;
}
table.data-table [data-identifier="IsLockedOut"] {
    min-width: 100px;
}
/* #endregion */
/* #region RestrictionComments */
table.data-table [data-identifier="IsSystemComment"] {
    min-width: 100px;
}
/* #endregion */
/* #region Vessels */
table.data-table [data-identifier="CallSign"],
table.data-table [data-identifier="ImoNumber"],
table.data-table [data-identifier="LloydsNumber"],
table.data-table [data-identifier="Service"] {
    min-width: 120px;
}
/* #endregion */
/* #region Restrictions */
table.data-table [data-identifier*="AppliesTo"] {
    min-width: 140px;
}
table.data-table [data-identifier="PackingGroup"] {
    min-width: 100px;
}
/* #endregion */
table.data-table [data-identifier^="RestrictionCount."] {
    min-width: 90px;
}
table.data-table [data-identifier^="Audit."] {
    min-width: 120px;
}

table.data-table [data-identifier^="Max Qty"] {
    min-width: 60px;
}

table.data-table [data-identifier^="Notification"] {
    min-width: 140px;
}
table.data-table [data-identifier^="Delivery"] {
    min-width: 90px;
}
/* #endregion */
/* #endregion */

/*** CONTEXT MENU CUSTOMISATION & ICONS ***/
.context-menu-item.icon { min-height: 18px; background-repeat: no-repeat; background-position: 4px 2px; }
.context-menu-item.icon-edit { background-image: url(images/page_white_edit.png); }
.context-menu-item.icon-export { background-image: url(images/page_white_export.png); }
.context-menu-item.icon-import { background-image: url(images/page_white_import.png); }
.context-menu-item.icon-private { background-image: url(images/page_white_private.png); }
.context-menu-item.icon-public { background-image: url(images/page_white_public.png); }
.context-menu-item.icon-partner { background-image: url(images/page_white_partner.png); }
.context-menu-item.icon-cut { background-image: url(images/page_white_cut.png); }
.context-menu-item.icon-active { background-image: url(images/page_white_active.png); }
.context-menu-item.icon-inactive { background-image: url(images/page_white_inactive.png); }
.context-menu-item.icon-copy { background-image: url(images/page_white_copy.png); }
.context-menu-item.icon-paste { background-image: url(images/page_white_paste.png); }
.context-menu-item.icon-delete { background-image: url(images/page_white_delete.png); }
.context-menu-item.icon-add { background-image: url(images/page_white_add.png); }
.context-menu-item.icon-view { background-image: url(images/page_white_view.png); }


/* IMPORT FONT FACE (for icons):                        */
/* Font Awesome by Dave Gandy - http://fontawesome.io   */
@font-face{
    font-family:'FontAwesome';
    font-weight:normal;
    font-style:normal;
    src:url('//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.eot?v=4.3.0');
    src:url('//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.eot?#iefix&v=4.3.0') format('embedded-opentype'),
        url('//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.woff2?v=4.3.0') format('woff2'),
        url('//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.woff?v=4.3.0') format('woff'),
        url('//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.ttf?v=4.3.0') format('truetype'),
        url('//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.svg?v=4.3.0#fontawesomeregular') format('svg');
}

.context-menu-item span {
    margin-left: 10px;
    position: relative;
}

.context-menu-item.icon:hover {
    color: #fff;
}

.context-menu-item.icon span:before {
    position: absolute;
    font-family: 'FontAwesome';
    font-size: 1.3em;
    left: -22px;
}

.context-menu-item.icon-fa-plus span:before { content: "\f067"; }
.context-menu-item.icon-fa-eye span:before { content: "\f06e"; }
.context-menu-item.icon-fa-edit span:before { content: "\f044"; }
.context-menu-item.icon-fa-download span:before { content: "\f019"; }
.context-menu-item.icon-fa-upload span:before { content: "\f093"; }
.context-menu-item.icon-fa-toggle-on span:before { content: "\f205"; }
.context-menu-item.icon-fa-toggle-off span:before { content: "\f204"; }
.context-menu-item.icon-fa-user span:before { content: "\f007"; }
.context-menu-item.icon-fa-users span:before { content: "\f0c0"; }
.context-menu-item.icon-fa-user-plus span:before { content: "\f234"; }
.context-menu-item.icon-fa-trash span:before { content: "\f1f8"; }
.context-menu-item.icon-fa-thumbs-up span:before { content: "\f164"; }
.context-menu-item.icon-fa-thumbs-down span:before { content: "\f165"; }
.context-menu-item.icon-fa-question span:before { content: "\f128"; }
.context-menu-item.icon-fa-unlock span:before { content: "\f09c"; }
.context-menu-item.icon-fa-check span:before { content: "\f00c"; }
.context-menu-item.icon-fa-close span:before { content: "\f00d"; }
.context-menu-item.icon-fa-list span:before { content: "\f03a"; }
.context-menu-item.icon-fa-ban span:before { content: "\f05e"; }
.context-menu-item.icon-fa-files-o span:before { content: "\f0c5"; }

.abort-load:hover {
    color: red;

}

span.abort-load {
    font-size: 17px;
    padding-left: 5px;
}

.table-refresh-needed{
    opacity: 0.5;
}

.fa-refresh-active {
  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}
@keyframes shake {
  10%, 90% {
    transform: translate3d(-2px, 0, 0);
  }

  20%, 80% {
    transform: translate3d(3px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-5px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(5px, 0, 0);
  }
}

.grid-loading {
    display: table;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 1000;
}

.grid-loading i {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    color: slategrey;
    font-size: 200px;

    animation-name: spin;
    animation-duration: 20000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}