html { height: 100%; }

body {
font: 11px lucinda console, sans-serif;
background-color: #eeeeee; 
background-image: linear-gradient(to bottom right, #F8F8F8 60%, #a1a1f5 90%);

color: #222222; 
link: #0000ff;
vlink: #800080;
alink: #ff0000;
margin: 0; 
height: 100%; 
}

a{
font: 14px lucinda console, sans-serif;

}

#header{
/* background-color: red; */
height: 10%;

}

#header > img {
height: 100%;
}

#menu {
background-color: yellow; 
height: 5%;
position:relative;
padding-bottom: 0;
margin: 0;
}


#menu ul { 

/* remove bullets */
list-style-type: none; 

/* remove padding and margins  */
padding: 1%;
margin-top: 0; 
list-style-type: none;
height: 10%;
  display: block;
  position: relative;

}

/* display horizontal */
#menu ul li { 

  position: relative;
}

/* remove underline on menu links */
#menu ul li a { 
text-decoration: none; 
border-bottom: 2px solid black;
border-right: 2px solid black;
padding: 0.3%;
background-color: grey;
margin-left: 5px;
}


#content{
height: 77%;
/* background-color: purple; */
overflow:auto;
clear:both;

   background-image: url(images/background.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
	
}

#footer{
height: 5%;
background-color: #46649B;
background: #46649B; /* Old browsers */
background: -moz-linear-gradient(top,  #4780AB  0%, #46649B 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #4780AB  0%,#46649B 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #4780AB  0%,#46649B 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4780AB', endColorstr='#46649B',GradientType=0 ); /* IE6-9 */

}

#footerleft{
float: left;
width: 50%;
}

#footerright{
float: right;
text-align: right;
width: 50%;
}

#submitbutton{
padding-left: 160px;
}

/* table lists */

#table_list tr:first-child{
font: 14px lucinda console, sans-serif;
font-weight: bold;
border-collapse: collapse;
border:0;
}
#table_list tr:nth-child(even) {
background: #CCC;
border:0;
}
#table_list tr:nth-child(odd) {
background: #FFF;
border:0;
}

/* if you want to style specific table then set id on table and use id#tr:nth-child{} */



/* cheating for css menu. will do my own later */

#cssmenu {
/*  background: #4cb6ea; */
/*  background: #46649B; */
background: #46649B; /* Old browsers */
background: -moz-linear-gradient(top,  #4cb6ea 0%, #46649B 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #4cb6ea 0%,#46649B 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #4cb6ea 0%,#46649B 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4cb6ea', endColorstr='#46649B',GradientType=0 ); /* IE6-9 */

  margin: 0;
  width: auto;
  padding: 0;
  line-height: 1;
  display: block;
  position: relative;
/*  font-family: 'PT Sans', sans-serif; */
	height: 46px;
	z-index: 9999;
}
#cssmenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
}
#cssmenu ul:after {
  content: ' ';
  display: block;
  font-size: 0;
  height: 0;
  clear: both;
  visibility: hidden;
}
#cssmenu ul li {
  margin: 0;
  padding: 0;
  display: block;
  position: relative;
}
#cssmenu ul li a {
  text-decoration: none;
  display: block;
  margin: 0;
  -webkit-transition: color .2s ease;
  -moz-transition: color .2s ease;
  -ms-transition: color .2s ease;
  -o-transition: color .2s ease;
  transition: color .2s ease;
}
#cssmenu ul li ul {
  position: absolute;
  left: -9999px;
  top: auto;
}
#cssmenu ul li ul li {
  max-height: 0;
  position: absolute;
  -webkit-transition: max-height 0.4s ease-out;
  -moz-transition: max-height 0.4s ease-out;
  -ms-transition: max-height 0.4s ease-out;
  -o-transition: max-height 0.4s ease-out;
  transition: max-height 0.4s ease-out;
  background: #ffffff;
}
#cssmenu ul li ul li.has-sub:after {
  display: block;
  position: absolute;
  content: '';
  height: 10px;
  width: 10px;
  border-radius: 5px;
  background: #000000;
  z-index: 1;
  top: 13px;
  right: 15px;
}
#cssmenu ul li ul li.has-sub:before {
  display: block;
  position: absolute;
  content: '';
  height: 0;
  width: 0;
  border: 3px solid transparent;
  border-left-color: #ffffff;
  z-index: 2;
  top: 15px;
  right: 15px;
}
#cssmenu ul li ul li a {
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  color: #000000;
  letter-spacing: 0;
  display: block;
  width: 140px;
  padding: 11px 10px 11px 20px;
}
#cssmenu ul li ul li:hover > a,
#cssmenu ul li ul li.active > a {
  color: #4cb6ea;
}
#cssmenu ul li ul li:hover:after,
#cssmenu ul li ul li.active:after {
  background: #4cb6ea;
}
#cssmenu ul li ul li:hover > ul {
  left: 170px;
  top: 0;
}
#cssmenu ul li ul li:hover > ul > li {
  max-height: 72px;
  position: relative;
}
#cssmenu > ul > li {
  float: left;
}
#cssmenu > ul > li:after {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  z-index: 0;
  background: #ffffff;
  -webkit-transition: height .2s;
  -moz-transition: height .2s;
  -ms-transition: height .2s;
  -o-transition: height .2s;
  transition: height .2s;
}
#cssmenu > ul > li.has-sub > a {
  padding-right: 40px;
}
#cssmenu > ul > li.has-sub > a:after {
  display: block;
  content: '';
  background: #ffffff;
  height: 12px;
  width: 12px;
  position: absolute;
  border-radius: 13px;
  right: 14px;
  top: 16px;
}
#cssmenu > ul > li.has-sub > a:before {
  display: block;
  content: '';
  border: 4px solid transparent;
  border-top-color: #4cb6ea;
  z-index: 2;
  height: 0;
  width: 0;
  position: absolute;
  right: 16px;
  top: 21px;
}
#cssmenu > ul > li > a {
  color: #ffffff;
  padding: 15px 20px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 14px;
  z-index: 2;
  position: relative;
}
#cssmenu > ul > li:hover:after,
#cssmenu > ul > li.active:after {
  height: 100%;
}
#cssmenu > ul > li:hover > a,
#cssmenu > ul > li.active > a {
  color: #000000;
}
#cssmenu > ul > li:hover > a:after,
#cssmenu > ul > li.active > a:after {
  background: #000000;
}
#cssmenu > ul > li:hover > a:before,
#cssmenu > ul > li.active > a:before {
  border-top-color: #ffffff;
}
#cssmenu > ul > li:hover > ul {
  left: 0;
}
#cssmenu > ul > li:hover > ul > li {
  max-height: 72px;
  position: relative;
}
#cssmenu #menu-button {
  display: none;
}
@media all and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
  #cssmenu > ul {
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height 0.35s ease-out;
    -moz-transition: max-height 0.35s ease-out;
    -ms-transition: max-height 0.35s ease-out;
    -o-transition: max-height 0.35s ease-out;
    transition: max-height 0.35s ease-out;
  }
  #cssmenu > ul.open {
    max-height: 1000px;
    border-top: 1px solid rgba(110, 110, 110, 0.25);
  }
  #cssmenu ul {
    width: 100%;
  }
  #cssmenu ul > li {
    float: none;
  }
  #cssmenu ul li a {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    padding: 12px 20px;
  }
  #cssmenu ul > li:after {
    display: none;
  }
  #cssmenu ul li.has-sub > a:after,
  #cssmenu ul li.has-sub > a:before,
  #cssmenu ul li ul li.has-sub:after,
  #cssmenu ul li ul li.has-sub:before {
    display: none;
  }
  #cssmenu ul li ul,
  #cssmenu ul li ul li ul,
  #cssmenu ul li ul li:hover > ul {
    left: 0;
    position: relative;
  }
  #cssmenu ul li ul li,
  #cssmenu ul li:hover > ul > li {
    max-height: 999px;
    position: relative;
    background: none;
  }
  #cssmenu ul li ul li a {
    padding: 8px 20px 8px 35px;
    color: #ffffff;
    width: auto;
  }
  #cssmenu ul li ul ul li a {
    padding: 8px 20px 8px 50px;
  }
  #cssmenu ul li ul li:hover > a {
    color: #000000;
  }
  #cssmenu #menu-button {
    display: block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    padding: 15px 20px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    color: #ffffff;
    cursor: pointer;
  }
  #cssmenu #menu-button:after {
    display: block;
    content: '';
    position: absolute;
    height: 3px;
    width: 22px;
    border-top: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    right: 20px;
    top: 16px;
  }
  #cssmenu #menu-button:before {
    display: block;
    content: '';
    position: absolute;
    height: 3px;
    width: 22px;
    border-top: 2px solid #ffffff;
    right: 20px;
    top: 26px;
  }
}


/* module add_quotation */

#quotedetails{
float:left; 
position:relative;
text-align: center;
/*border-bottom: 2px solid black;
border-right: 2px solid black;
*/

width: 200px;
padding-right: 50px ;
}

#quotedetails h2{
font-size: 200%;
font-style:italic;
}

#quotedetails table{
border: 2px solid black;
padding: 5px;
}

#quotedetails tr{
height: 20px;
}

#company_details{
width:60%;
float:left; 
padding: 10px;
}


#formname {
font-size: 16px;
font-style: bold italic;


}

#box {
border: 1px;
border-color: #dddddd;
}

/* search-results */

#colheader{
float: left;
width: 150px;
min-width: 150px;
font-weight:bold;
height: 25px;
}

#cell{
float: left;
width: 150px;
min-height:10px; //prevent hidden blank div
/* height:auto; */
}

#cleardiv{
clear:both;
}

/*tender-view */

#tvcell {
padding: 5px;
border: 1px SOLID;
min-height: 1px;
display: table-cell;

}

#tvcell2 {
padding: 5px;
border: 1px SOLID;
min-height: 1px;
display: table-cell;
width: 250px;
}

#tvcell3 {
padding: 5px;
border: 1px SOLID;
min-height: 1px;
display: table-cell;
width: 333px;
}


#tvcell4 {
padding: 5px;
border: 1px SOLID;
min-height: 1px;
display: table-cell;
width: 500px;
}
#tvcell8 {
padding: 5px;
border: 1px SOLID;
min-height: 1px;
display: table-cell;
width: 1000px;
/* height: 100px; */
max-width: 1000px;
autoflow: hidden;

}

#tvcelltitle {
text-align: right;
padding: 5px;
border: 1px SOLID;
font-weight: bold;
min-height: 1px;
}

#row{
clear:both;
border-bottom: 1px SOLID;
}

#docref {
font-size: 15px;
font-weight: bold;
height: 30px;
padding-top: 5px;
}

/* users module */

#ucell{
float: left;
width: 180px;
min-height:10px; /* prevent hidden blank div */
/* height:auto; */
}

/* notes module */

#addnote{
height: 70px;
}

#addnotetext{
width: 75%;
float:left;
margin: 0;
overflow:hidden;
height: 50px;
}

#editnotetext{
width:65%;
float:left;
margin: 0;
overflow:hidden;
height: 50px;
}

#addnotetextarea {
width: 98%;
height: 98%;

}

#viewstate{
width: 5%;
margin-top: 2px;
float:left;
min-width: 50px;
}

.todo{
width: 5%;
float:left;
min-width: 10px;
padding-left: 2px;
}

#addbutton{
float:left;
padding-left: 5px;
width: 8%;
}

#viewnotes{
clear:both;
padding-top: 20px;
position:relative;
}

#viewnote{
clear:both;
padding-top: 5px;
position:relative;

}

#viewnotedate{
float:left;
width: 15%;
}

#viewnotetext{
width: 60%;
float:left;
}

#hline{
clear:both;
}

#viewnotetext pre{
margin-top: 0;
}

#editnotetextarea {
width: 98%;
height: 98%;

}

#vesselnotes {
padding-top: 20px;
}

.bordered {
border: 1px solid #444444;
padding-top: 5px;
border-radius: 10px;
background: #fdfdfd;

}

.pdfinput{
width: 40%;
}

/* updateshipment */

#formlabel{
float:left;
width:20%; 
padding-top:10px;
clear:both; 
font-size:14pt;
}

#formfield{
width:80%; 
float:left; 
padding-top:10px;
}

#formfield input{
width:90%; 
height:30px; 
font-size:14pt;
}

#formfield select{
width:90%; 
height:30px; 
font-size:14pt;
}

#formfield2{
width:37.9%; 
float:left; 
padding-top:10px;
}

#formfield2 input{
width:90%; 
height:30px; 
font-size:14pt;
}

/* current shipments graph */

.timelinewrapper {
  max-width: 1200px;
  min-width: 700px;
  margin: 0;
  padding-left: 10px;
  padding-top: 10px;
}

.gantt {
  display: -ms-grid;
  display: grid;
  border: 0;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-box-shadow: 0 75px 125px -57px #7e8f94;
          box-shadow: 0 75px 125px -57px #7e8f94;
}
.gantt__row {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 150px 1fr;
  grid-template-columns: 150px 1fr;
  background-color: #fff;
}
.gantt__row:nth-child(odd) {
  background-color: #f5f5f5;
}
.gantt__row:nth-child(odd) .gantt__row-first {
  background-color: #f5f5f5;
}
.gantt__row:nth-child(3) .gantt__row-bars {
  border-top: 0;
}
.gantt__row:nth-child(3) .gantt__row-first {
  border-top: 0;
}
.gantt__row--empty {
  background-color: #ffd6d2 !important;
  z-index: 1;
}
.gantt__row--empty .gantt__row-first {
  border-width: 1px 1px 0 0;
}
.gantt__row--lines {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: transparent;
  -ms-grid-columns: 150px (1fr)[90];
  grid-template-columns: 150px repeat(90, 1fr); /* 4 months to allow for new shipment the day before oldes shipment is discharged */
}
.gantt__row--lines span {
  display: block;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}
.gantt__row--lines span.marker {
  background-color: rgba(10, 52, 68, 0.13);
  z-index: 2;
}

.gantt__row--lines:after {
  -ms-grid-row: 1;
  grid-row: 1;
  grid-column: 0;
  background-color: #1688b345;
  z-index: 2;
  height: 100%;
}

.gantt__row--months {
  color: #fff;
  background-color: #0a3444 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  -ms-grid-columns: 150px (1fr)[90];
  grid-template-columns: 150px repeat(90, 1fr);
  min-height: 50px;
 
}
.gantt__row--months .gantt__row-first {
  border-top: 0 !important;
  background-color: #0a3444 !important;
}
.gantt__row--months span {
  text-align: center;
  font-size: 9px;
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
  font-weight: bold;
 /* padding: 20px 0; */
   	-webkit-transform: rotate(270deg);
   	    -ms-transform: rotate(270deg);
   	        transform: rotate(270deg);
	width: 12px;
	margin-bottom: -10px;
	margin-left: -3px;
}
.gantt__row-first {
  background-color: #fff;
  border-width: 1px 0 0 0;
  border-color: rgba(0, 0, 0, 0.1);
  border-style: solid;
  padding: 5px 0;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  z-index: 99;
  overflow: hidden;
}
.gantt__row-bars {
  list-style: none;
  display: -ms-grid;
  display: grid;
  padding: 2px 0;
  margin: 0;
  -ms-grid-columns: 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr 0 1fr;
  grid-template-columns: repeat(90, 1fr);
  grid-gap: 4px 0;
  border-top: 1px solid rgba(221, 221, 221, 0.8);
}
.gantt__row-bars li {
  font-weight: 500;
  text-align: left;
  font-size: 14px;
  min-height: 15px;
  background-color: #55de84;
  /*padding: 5px 12px; */ /* goes outside the gridlines */
  color: #fff;
  overflow: hidden;
  position: relative;
  cursor: pointer;
/*  border-radius: 20px; */
}
.gantt__row-bars li.stripes {
  background-image: -webkit-repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(255, 255, 255, 0.1) 5px, rgba(255, 255, 255, 0.1) 12px);
  background-image: -o-repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(255, 255, 255, 0.1) 5px, rgba(255, 255, 255, 0.1) 12px);
  background-image: repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(255, 255, 255, 0.1) 5px, rgba(255, 255, 255, 0.1) 12px);
}

.gantt__row-bars li:before, .gantt__row-bars li:after {
  content: "";
  height: 100%;
  top: 0;
  z-index: 4;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.3);
}

.gantt__row-bars li:before {
  left: 0;
}
.gantt__row-bars li:after {
  right: 0;
}

.timelinesea {
background-color: #2ecaac !important;
}

.timelineroad {
background-color: #55dec7 !important;
}

.timelineexpress {
background-color: #b0de55 !important;
}

.timelinepasteta {
background-color: #fd9426 !important;
}


/* current shipment graph end */