.treeSelectPop {
	width: 400px;
	display: none;
	position: absolute;
	-webkit-box-shadow: 0px 2px 5px rgba(50, 50, 50, 0.3);
	box-shadow: 0px 2px 5px rgba(50, 50, 50, 0.3);
	border: 1px Solid #AAA;
	background-color: #EFEFEF;
	border-radius: 2px;
}

.treeSelectHeader {
	height: 28px;
	line-height: 20px;
	padding: 4px 5px 5px 10px;
	font-weight: bold;
	border-bottom: 1px Solid #CCC;
}

.treeSelectHeader button {
	float: right;
	font-size: 0.7em;
	font-weight: bold;
	border: 1px Solid #AAA;
	margin-right: 0px;
	margin-left: 5px;
}

.treeSelect {
	font-size: 0.85em;
	padding-top: 0px;
	padding-left: 10px;
	width: 100%;
	height: 450px;
	overflow-y: auto;
}

.treeSelect i {
	margin-right: 5px;
}

.treeSelect input.checkbox {
	background: #fafafa;
}

.treeSelect input.radio {
	background: #fafafa;
}

#SystemSelectTree .treeSelectHeader input {
	float: right;
	font-size: 0.85em;
	width: 135px;
	border: 1px Solid #AAA;
	margin-right: 0px;
	padding: 0.1em 0.5em;
}

#SystemSelectTree input.checkbox {
	margin: 0px 2px;
}

/* Tree Lines */
ul.treeLines {
	margin: 0px;
	padding: 0px;
}

ul.treeLines li ul {
	margin: 0px;
	margin-left: 20px;
}

ul.treeLines li {
	background-repeat: no-repeat;
	list-style-type: none;
	background-position: 0px -5px;
	background-image: url(../images/tree_l.png);
	margin: 0 0px;
	padding: 0 0 0 12px !important;
	width: 100%;
	line-height: 25px !important;
}

ul.treeLines li:last-child {
	background-repeat: no-repeat;
	background-image: url(../images/tree_el.png);
}

ul.treeLines li div {
	display: inline-block;
	border-bottom: 1px dotted #EEE;
	padding: 2 0px;
}

ul.treeLines li i {
	color: #888;
}

ul.treeLines li i.icon-plus-squared-small {
	cursor: pointer;
}

ul.treeLines li i.icon-minus-squared-small {
	cursor: pointer;
}

ul.treeLines li i:before {
	margin-left: 0px;
	margin-right: 0px;
	display: inline-block;
	font: normal normal normal 24px/1 "Material Design Icons";
	font-size: inherit;
	text-rendering: auto;
	line-height: inherit;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

ul.treeLines li i.icon-circle {
	font-size: 8px;
	color: #BBB;
}

ul.treeLines li div input {
	border: 1px Solid transparent;
	margin: 2px 1px;
	background-color: transparent;
}

ul.treeLines li div.col1 {
	width: 407px;
}

ul.treeLines li li div.col1 {
	width: 375px;
}

ul.treeLines li li li div.col1 {
	width: 343px;
}

ul.treeLines li li li li div.col1 {
	width: 312px;
}

ul.treeLines li li li li li div.col1 {
	width: 280px;
}

/* ul.treeLines li li li li li div.col1 input { width: 160px; } */
ul.treeLines li ul {
	display: none;
}

ul.treeLines li.open>ul {
	display: block;
}

ul.treeLines a.button {
	padding: 0.05em 0.5em
}

ul.treeLines a.button.grey {
	background-color: #EEE;
}

#ZoneSelectTree li,
#SystemSelectTree li {
	background-position: 0px -6px;
}


table.vessel-info {
	width: 100%;
}

table.vessel-info th {
	font-weight: 200;
	padding: 0.3em;
}

table.vessel-info td {
	font-weight: normal;
	padding: 0.3em;
}

ul.modlink li {
	display: inline-flex;
	list-style-type: none;
	margin: 1em 0.5em;
	padding: 0px;
}

div.modlink {
	width: 100px;
	height: 120px;
	background-image: url("../../images/ico_report.gif");
	background-repeat: no-repeat;
	position: relative;
	text-align: center;
}

ul.modlink li a {
	font-size: 10px;
	font-weight: normal;
}

ul.modlink li div.formID {
	color: #999;
	font-size: 10px;
	top: 25px;
	line-height: 1em;
	position: absolute;
	text-align: center;
	width: 100px;
}

ul.modlink li div.title {
	color: #555;
	font-size: 8.5px;
	line-height: 1.1em;
	position: absolute;
	width: 68px;
	left: 16px;
	top: 42px;
}

ul.modlink li div.date {
	color: #333;
	font-size: 12px;
	bottom: 5px;
	position: absolute;
	width: 100px;
	line-height: 1em;
	text-align: center
}

ul.modlink li .delete {
	position: absolute;
	top: 70px;
	right: 20px;
	color: red;
	font-size: 16px;
	display: none;
}

ul.modlink li:hover .delete {
	display: block;
}

ul.modlink2 li {
	margin: 1em 0.5em;
	display: inline-flex;
	font-size: 11px;
	list-style-type: none;
	text-align: center;
	color: #999;
}

ul.modlink2 li a {
	color: inherit;
	font-weight: normal;
}

input.mshow,
textarea.mshow {
	border: 1px solid transparent !important;
}

table.autowidth {
	width: auto !important;
}

table.stickyHeader {
	display: block;
	width: 100%;
	height: calc(100vh - 150px);
	overflow-y: auto;
}

table.stickyHeader thead {
	position: sticky;
	top: 0;
	z-index: 1000;
	background-color: #CCC;
}

table.stickyHeader thead th {
	border: 1px Solid #CCC;
}

table.dailyLog th {
	padding: 1px !important;
	text-align: center;
	vertical-align: middle;
	font-weight: 500
}

table.dailyLog td {
	padding: 1px !important;
	text-align: center;
	vertical-align: middle;
	border: 1px Solid inherit
}

table.dailyLog input {
	min-width: 30px;
	max-width: 60px;
	text-align: center;
	font-weight: 200;
	padding: 0.2rem
}

input.green {
	color: green
}

table.dailyLog .units {
	display: block;
	clear: both;
	font-size: 0.85em;
}

.template-layout-container.A4P .sheet {
	height: 297mm;
	width: 210mm;
}

div.scale .sheet {
	border: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}

#pc_container {
	display: inline-block;
	margin-top: 30px;
	width: 100%;
}

.pc_row {
	position: relative;
	display: block;
	float: left;
}

.pc_row2 {
	position: relative;
	display: inline-block;
	float: left;
}

.pc_row.A4P {
	width: 679px;
}

.pc_row.A4L {
	width: 482px;
}

.pc_row2.A4P,
.pc_row2.A4L {
	width: 338px;
}

.pc_canvas {
	position: relative;
}

.pc_canvas.A4P {
	width: 320px;
	display: inline-block;
	float: left;
}

.pc_canvas.A4L {
	width: 320px;
	height: 234px;
	overflow-y: hidden;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.pc_comments {
	vertical-align: top;
}

.pc_comments.A4P {
	width: 283px;
	display: inline-block;
	padding: 10px 0 0 0;
	float: right;
}

.pc_comments.A4L {
	width: 390px;
	display: block;
	padding: 0px;
	margin-left: auto;
	margin-right: auto;
}

.status_current {
	float: left;
	display: inline-block;
	width: 370px;
}

.status_text {
	font-size: 20px;
	color: #999;
}

.status_text.New {
	color: #258ecd;
}

.status_text.Issued,
.status_text.Confirmed,
.status_text.Approved {
	color: rgba(154, 162, 16, 1)
}

.status_text.Revised,
.status_text.Revise,
.status_text.Updated {
	color: rgba(219, 129, 8, 0.8);
}

.status_text.Cancelled,
.status_text.Canceled {
	color: rgba(218, 71, 140, 0.8);
}

.status_text.Received,
.status_text.Closed {
	color: rgba(96, 27, 170, 0.8)
}

.status_text.Open,
.status_text.Urgent {
	color: red;
}

.status_info {
	font-size: 10px;
	color: #555;
}

.status_history,
.log {
	overflow-y: scroll;
	padding-top: 1px;
	font-size: 9.5px;
	color: #555;
	padding-left: 10px;
	float: left;
	display: inline-block;
}

.status_history {
	height: 54px;
	width: 315px;
	border-left: 1px Solid #DDD;
}

.singlePictureUpload {
	position: relative;
	clear: both;
	height: 300px;
}

.singlePictureUpload form,
.singlePictureUploadContainer {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.inlinePhotoDrop.dropzone {
	background: transparent;
	border: 2px dashed transparent;
}

.inlinePhotoDrop:hover {
	border: 2px dashed var(--ct-input-border-color);
}

.inlinePhotoDrop .dz-message i,
.inlinePhotoDrop .dz-message p {
	color: transparent !important;
}

.inlinePhotoDrop:hover .dz-message i,
.inlinePhotoDrop:hover .dz-message p {
	color: #CCC !important;
}

.singlePictureUploadContainer img {
	max-width: 100%;
	max-height: 330px;
	overflow-y: hidden;
}

.ellipsis {
	white-space: auto;
	overflow: hidden;
	text-overflow: ellipsis;
}

.qrTag {
	position: absolute;
	top: 2em;
	right: 2em;
	width: 68px;
}

.qrTag small {
	margin-top: 70px;
	width: 68px;
	font-size: 8px;
}

#sticky-header-duplicate {
	position: fixed;
	top: 50px;
	z-index: 1000;
	display: none;
	background: white;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	border-bottom: 1px solid #dee2e6;
}

.sticky-header-table {
	margin-bottom: 0 !important;
	table-layout: fixed;
}

/* Qualification Matrix */
.status-marker {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 24px;
	height: 24px;
	margin: 0 auto;
	border-radius: 50%;
}

.status-check {
	color: var(--success);
	font-weight: bold;
}

.status-missing-compulsory {
	color: var(--danger);
	font-weight: bold;
}

.status-missing-optional {
	color: #94a3b8;
}

.rating-cell {
	font-weight: 700;
	text-align: center;
}

.rating-high {
	color: var(--success);
}

.rating-med {
	color: var(--warning);
}

.rating-low {
	color: var(--danger);
}

.legend {
	display: flex;
	font-size: 0.875rem;
	color: #64748b;
	gap: 1em;
}

.legend-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.legend-color {
	width: 15px;
	height: 15px;
	margin-right: 5px;
	border: 1px solid #ddd;
}

.rotated-header {
	height: 250px;
	vertical-align: bottom !important;
	text-align: center;
	min-width: 40px;
	padding-bottom: 15px !important;
}

.rotated-header .rotate-wrapper {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	display: inline-block;
	text-align: left;
	font-weight: 600;
	height: 250px;
	font-size: 0.85rem;
}

.stcw-ref {
	font-size: 0.6rem;
	font-weight: normal !important;
	text-align: center !important;
}

.matrix-container {
	overflow-x: auto;
	margin-top: 20px;
}

.rank-cell {
	font-weight: bold;
	background-color: #f8f9fa;
	white-space: nowrap;
}

.matrix-select {
	padding: 2px 4px 2px 4px;
	font-size: 0.85rem;
	width: 30px;
	background-image: none !important;
	text-align: center !important;
	border: none;
	margin-left: 4px;
}

.status-changed {
	background-color: #fff3cd !important;
}

#save-btn-container {
	display: none;
	position: sticky;
	bottom: 20px;
	right: 20px;
	z-index: 1000;
	text-align: right;
}

/* Sticky Columns */
.sticky-col {
	position: sticky;
	left: 0;
	z-index: 10;
	background-color: #fff !important;
}

.sticky-col-rank {
	position: sticky;
	left: 50px;
	z-index: 10;
	background-color: #fff !important;
}

thead th.sticky-col,
thead th.sticky-col-rank {
	z-index: 20;
	background-color: #fff !important;
	vertical-align: bottom !important;
}