/*
 * Base structure
 */

.show_larger{
  width: 90%;
}

div.tooltip-inner {
  max-width: 350px;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
  body {
    padding-top: 50px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 14px;
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-font-smoothing: subpixel-antialiased;
    font-smoothing: subpixel-antialiased;
    -webkit-text-stroke: 0.5px rgba(255,255,255,0.1);
    -moz-text-stroke: 0.5px rgba(255,255,255,0.1);
    text-stroke: 0.5px rgba(255,255,255,0.1);
    text-rendering: optimizedLegibility;
    text-shadow: 0 0 0px rgba(255,255,255,0.1);
    /*letter-spacing: 0.75px;*/
  }
}

label {
   font-size: 12px;
}
.input-xs {
    padding: 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 6px;
    }
    
.kpi_title {
  font-weight: bold;
  font-size: 16px;
  padding: 0px;
  margin-top: -5px;
  margin-bottom: -6px;
}

/*form validator=========================================*/
.error_strings a{ 
  text-decoration: none;
}

.error_strings a ul {
  list-style-type: none;
}

.error_strings a ul li{
  padding-top: 6px;
  padding-bottom: 6px;
  padding-left: 5px;
  color : #CC0066;
  border: 1px solid #FFFFFF;
  margin: 6px;
  background: #FFC2D6;
  border-radius: 5px;
}
/*=========================================*/

/*
 * Global add-ons
 */
.sub-header {
  font-size: 16px;
  vertical-align: middle;
}
.pull-top {
  margin-top: -4px;
}
/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  position: fixed!important;
  right: 0;
  left: 0;
  z-index: 1030;
  border: 0;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #f5f5f5;
  }
}

@media (max-width: 767px) {
  .navbar-inverse .navbar-nav .open .dropdown-menu>li>a {
    color: #ddd;
  }
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: #428bca;
}

/*
 * Main content
 */

.main {
  padding: 20px;
}
.main .page-header {
  margin-top: 0;
}


/*
 * Placeholder psc ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}

.table-header-rotated th.row-header{
  width: 10px;
}

.table-header-rotated td{
  width: 40px;
  border-top: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
  vertical-align: middle;
  text-align: center;
}

.table-header-rotated th.rotate-45{
  height: 110px;
  width: 40px;
  min-width: 40px;
  max-width: 40px;
  position: relative;
  vertical-align: bottom;
  padding: 0;
  font-size: 10px;
  line-height: 0.8;
}

.table-header-rotated th.rotate-45 > div{
  position: relative;
  top: 0px;
  left: 25px; /* 80 * tan(45) / 2 = 40 where 80 is the height on the cell and 45 is the transform angle*/
  height: 100%;
  -ms-transform:skew(-25deg,0deg);
  -moz-transform:skew(-25deg,0deg);
  -webkit-transform:skew(-25deg,0deg);
  -o-transform:skew(-25deg,0deg);
  transform:skew(-25deg,0deg);
  overflow: hidden;
  border-left: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
  border-top: 1px solid #dddddd;
}

.table-header-rotated th.rotate-45 span {
  -ms-transform:skew(45deg,0deg) rotate(315deg);
  -moz-transform:skew(45deg,0deg) rotate(315deg);
  -webkit-transform:skew(45deg,0deg) rotate(315deg);
  -o-transform:skew(45deg,0deg) rotate(315deg);
  transform:skew(45deg,0deg) rotate(315deg);
  position: absolute;
  bottom: 30px; /* 40 cos(45) = 28 with an additional 2px margin*/
  left: -25px; /*Because it looked good, but there is probably a mathematical link here as well*/
  display: inline-block;
  width: 85px; /* 80 / cos(45) - 40 cos (45) = 85 where 80 is the height of the cell, 40 the width of the cell and 45 the transform angle*/
  text-align: left;
  padding: 6px;
  /* white-space: nowrap; *//*whether to display in one line or not*/
}

#table_scroll{
  overflow: scroll;
}
/* Override feedback icon position */
.form-horizontal .has-feedback .input-group  .form-control-feedback  {
        top: 0;
        right: -30px;
    }

    #natureof_incident {
      font-size: 12px;
    }

/* bs override */
a {
  text-decoration: none;
}
table {
  font-size: 12px;
  color: #333;
}
.table>thead>tr>th,
.table>tbody>tr>th,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>tbody>tr>td,
.table>tfoot>tr>td,
.table>thead>tr>td>label,
.table>tbody>tr>td>label,
.table>tfoot>tr>td>label {
  color: #444;
}
.panel-heading,
.panel-title {
  font-weight: bold;
  font-size: 14px;
  vertical-align: middle;
}
.panel-title>a {
  color: #428bca;
  text-decoration: none;
}
.panel {
  font-size: 12px;
  color: #444!important;
}
.badge {
  font-size: 10px;
}
/* end of bs override */


table.psc, table.irs{
  table-layout: fixed;
}
table.psc,
table.irs,
table.crewmodule,
table.vesselinfo,
table.incidentinfo,
table.category,
table.operations,
table.accSettings{
  width: 100%!important;
}

.fixed{
  top:0;
  position:fixed;
  width:auto;
  display:none;
  border:none;
}
.psc thead th,
.psc tbody td,
.irs thead th,
.irs tbody td {
  width: 85px!important;
  text-align: center;
}
.crewmodule thead th,
.vesselinfo thead th,
.incidentinfo thead th,
.category thead th,
.operations thead th,
.accSettings thead th{
  text-align: left;
}
.psc td,
.irs td,
.crewmodule td,
.vesselinfo td,
.incidentinfo td,
.category td,
.operations td,
.accSettings td{
  background: #f5f5f5;
  color: #444;
}
.psc>thead:first-child>tr:first-child>th,
.irs>thead:first-child>tr:first-child>th {
  background: #444;
  color: #fff;
  font-size: 10px;
  height: 22px;
  vertical-align: bottom;
  border-bottom: none;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}
.irs>thead:first-child>tr:first-child>th {
  height: 50px;
}
.crewmodule>thead:first-child>tr:first-child>th,
.vesselinfo>thead:first-child>tr:first-child>th,
.incidentinfo>thead:first-child>tr:first-child>th,
.category>thead:first-child>tr:first-child>th,
.operations>thead:first-child>tr:first-child>th,
.accSettings>thead:first-child>tr:first-child>th{
  background: #444;
  color: #fff;
  font-size: 10px;
  vertical-align: bottom;
  border-bottom: none;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}
.psc>tbody:last-child>tr:last-child>td,
.irs>tbody:last-child>tr:last-child>td {
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  background: #ccc;
  font-weight: bold;
}
.crewmodule>tbody:last-child>tr:last-child>td,
.vesselinfo>tbody:last-child>tr:last-child>td,
.incidentinfo>tbody:last-child>tr:last-child>td,
.category>tbody:last-child>tr:last-child>td,
.operations>tbody:last-child>tr:last-child>td,
.accSettings>tbody:last-child>tr:last-child>td{
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}
.psc thead,
.irs thead,
.crewmodule thead,
.vesselinfo thead,
.incidentinfo thead,
.category thead,
.operations thead,
.accSettings thead{
  display: table-header-group;
}

.psc>thead>tr>th,
.psc>tbody>tr>th,
.psc>tfoot>tr>th,
.psc>thead>tr>td,
.psc>tbody>tr>td,
.psc>tfoot>tr>td,
.irs>thead>tr>th,
.irs>tbody>tr>th,
.irs>tfoot>tr>th,
.irs>thead>tr>td,
.irs>tbody>tr>td,
.irs>tfoot>tr>td,
.crewmodule>thead>tr>th,
.crewmodule>tbody>tr>th,
.crewmodule>tfoot>tr>th,
.crewmodule>thead>tr>td,
.crewmodule>tbody>tr>td,
.crewmodule>tfoot>tr>td,
.vesselinfo>thead>tr>th,
.vesselinfo>tbody>tr>th,
.vesselinfo>tfoot>tr>th,
.vesselinfo>thead>tr>td,
.vesselinfo>tbody>tr>td,
.vesselinfo>tfoot>tr>td,
.incidentinfo>thead>tr>th,
.incidentinfo>tbody>tr>th,
.incidentinfo>tfoot>tr>th,
.incidentinfo>thead>tr>td,
.incidentinfo>tbody>tr>td,
.incidentinfo>tfoot>tr>td,
.category>thead>tr>th,
.category>tbody>tr>th,
.category>tfoot>tr>th,
.category>thead>tr>td,
.category>tbody>tr>td,
.category>tfoot>tr>td,
.operations>thead>tr>th,
.operations>tbody>tr>th,
.operations>tfoot>tr>th,
.operations>thead>tr>td,
.operations>tbody>tr>td,
.operations>tfoot>tr>td,
.accSettings>thead>tr>th,
.accSettings>tbody>tr>th,
.accSettings>tfoot>tr>th,
.accSettings>thead>tr>td,
.accSettings>tbody>tr>td,
.accSettings>tfoot>tr>td{
  border-right: 4px solid #fff;
  border-top: none;
  padding: 4px 6px;
}
.sticky-psc,
.sticky-irs {
  padding: 0 0 5px;
}
.sticky-crewmodule,
.sticky-vesselinfo,
.sticky-incidentinfo,
.sticky-category,
.sticky-operations,
.sticky-accSettings{
  /*height: 400px;*/
}
.sticky-psc,
.sticky-irs,
.sticky-crewmodule,
.sticky-vesselinfo,
.sticky-incidentinfo,
.sticky-category,
.sticky-operations,
.sticky-accSettings{
  overflow: auto;
  position: relative;
  width: 100%;
}
.sticky-psc .sticky-thead,
.sticky-psc .sticky-col,
.sticky-psc .sticky-intersect,
.sticky-irs .sticky-thead,
.sticky-irs .sticky-col,
.sticky-irs .sticky-intersect,
.sticky-crewmodule .sticky-thead,
.sticky-crewmodule .sticky-col,
.sticky-crewmodule .sticky-intersect,
.sticky-vesselinfo .sticky-thead,
.sticky-vesselinfo .sticky-col,
.sticky-vesselinfo .sticky-intersect,
.sticky-incidentinfo .sticky-thead,
.sticky-incidentinfo .sticky-col,
.sticky-incidentinfo .sticky-intersect,
.sticky-category .sticky-thead,
.sticky-category .sticky-col,
.sticky-category .sticky-intersect,
.sticky-operations .sticky-thead,
.sticky-operations .sticky-col,
.sticky-operations .sticky-intersect,
.sticky-accSettings .sticky-thead,
.sticky-accSettings .sticky-col,
.sticky-accSettings .sticky-intersect{
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: all .125s ease-in-out;
  z-index: 50;
  background: #444;
  color: #fff;
  vertical-align: text-bottom;
  width: auto; /* Prevent table from stretching to full size */
}
  .sticky-psc .sticky-thead,
  .sticky-irs .sticky-thead,
  .sticky-crewmodule .sticky-thead,
  .sticky-vesselinfo .sticky-thead,
  .sticky-incidentinfo .sticky-thead,
  .sticky-category .sticky-thead,
  .sticky-operations .sticky-thead,
  .sticky-accSettings .sticky-thead{
    /*box-shadow: 0 0.25em 0.1em -0.1em rgba(0,0,0,.125);*/
    z-index: 50;
    width: 100%; /* Force stretch */
  }
  .sticky-psc .sticky-intersect,
  .sticky-irs .sticky-intersect,
  .sticky-crewmodule .sticky-intersect,
  .sticky-vesselinfo .sticky-intersect,
  .sticky-incidentinfo .sticky-intersect,
  .sticky-category .sticky-intersect,
  .sticky-operations .sticky-intersect,
  .sticky-accSettings .sticky-intersect{
    opacity: 1;
    z-index: 150;
  }
   .sticky-psc .sticky-intersect th,
    .sticky-irs .sticky-intersect th,
    .sticky-crewmodule .sticky-intersect th,
    .sticky-vesselinfo .sticky-intersect th,
    .sticky-incidentinfo .sticky-intersect th,
    .sticky-category .sticky-intersect th,
    .sticky-operations .sticky-intersect th
    .sticky-accSettings .sticky-intersect th{
    background-color: #444;
    color: #fff;
    font-size: 10px;
    vertical-align: bottom;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
  }
  .sticky-irs .sticky-intersect th {
    height: 50px;
  }
  .sticky-psc th, .sticky-psc .sticky-intersect th {
    height: 22px;
  }
  .sticky-psc .sticky-thead a,
  .sticky-psc .sticky-col a,
  .sticky-psc .sticky-intersect a,
  .sticky-irs .sticky-thead a,
  .sticky-irs .sticky-col a,
  .sticky-irs .sticky-intersect a,
  .sticky-crewmodule .sticky-thead a,
  .sticky-crewmodule .sticky-col a,
  .sticky-crewmodule .sticky-intersect a,
  .sticky-vesselinfo .sticky-thead a,
  .sticky-vesselinfo .sticky-col a,
  .sticky-vesselinfo .sticky-intersect a,
  .sticky-incidentinfo .sticky-thead a,
  .sticky-incidentinfo .sticky-col a,
  .sticky-incidentinfo .sticky-intersect a,
  .sticky-category .sticky-thead a,
  .sticky-category .sticky-col a,
  .sticky-category .sticky-intersect a,
  .sticky-operations .sticky-thead a,
  .sticky-operations .sticky-col a,
  .sticky-operations .sticky-intersect a,
  .sticky-accSettings .sticky-thead a,
  .sticky-accSettings .sticky-col a,
  .sticky-accSettings .sticky-intersect a{
    color: #f5f5f5;
  }
.sticky-psc td,
.sticky-psc th,
.sticky-irs td,
.sticky-irs th,
.sticky-crewmodule td,
.sticky-crewmodule th,
.sticky-vesselinfo td,
.sticky-vesselinfo th,
.sticky-incidentinfo td,
.sticky-incidentinfo th,
.sticky-category td,
.sticky-category th,
.sticky-operations td,
.sticky-operations th,
.sticky-accSettings td,
.sticky-accSettings th{
  box-sizing: border-box;
  text-align: center!important;
  padding: 4px 6px;
}
.sticky-psc th,
.sticky-irs th,
.sticky-crewmodule th,
.sticky-vesselinfo th,
.sticky-incidentinfo th,
.sticky-category th,
.sticky-operations th,
.sticky-accSettings th{
  vertical-align: bottom;
}
.dropdown-menu>li>a {
  font-size: 14px;
}
.navbar-inverse {
  background: #444;
}
.navbar-inverse .navbar-nav>li>a {
  color: #ddd;
}
.navbar-inverse .navbar-nav>.active>a,
.navbar-inverse .navbar-nav>.open>a,
.navbar-inverse .navbar-nav>.open>a:hover,
.navbar-inverse .navbar-nav>.open>a:focus {
  color: #ddd;
  background: #111;
}
.cont-holder {
  margin: 20px 0 0;
}
.icon-holder {
  margin-right: 5px;
}
#dashboard {
  margin-top: -4px;
  width: 18px;
}
#crewmodule {
  margin-top: -2px;
  width: 14px;
}
#kpi {
  margin-top: -4px;
  width: 16px;
}
#graph {
  margin-top: -4px;
  width: 18px;
}
#admin {
  margin-top: -2px;
  width: 12px;
}
#vessel {
  margin-top: -2px;
  width: 18px;
}
#natureofincident {
  margin-top: -2px;
  width: 16px;
}
#settings {
  margin-top: -2px;
  width: 16px;
}
#account {
  margin-top: -2px;
  width: 16px;
}
#accSettings {
  margin-top: -2px;
  width: 12px;
}
#logout {
  margin-top: -2px;
  width: 14px;
}

/* added 062915 */
/* helper classes */

.text-center {
    text-align: center!important;
}
.text-left {
    text-align: left!important;
}
.text-right {
    text-align: right!important;
}