﻿html
{
  height: 100%;
}

body
{
  font-size: 12px;
  line-height: 20px;
  background-color: #F4F4F4;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Verdana', sans-serif;
  color: #000000;
}

a, a:active, a:link, a:visited
{
  color: #000000;
  text-decoration: underline;
  font-weight: bold;
}

  a:hover
  {
    color: #0D4593;
    text-decoration: underline;
  }

#dInfoRightBlock a
{
  font-size: 13px;
}

.dContent
{
  position: relative;
  padding: 30px;
  line-height: 28px;
  text-align: justify;
  cursor: default;
}

  .dContent img:not([alt="pdf"])
  {
    border: solid 1px #EBE9E9;
    background-color: #F4F4F4;
    padding: 4px;
  }

  .dContent img[style*="float: left"]
  {
    margin: 8px;
    margin-left: 0px;
    margin-right: 16px;
  }

  .dContent img[style*="float: right"]
  {
    margin: 8px;
    margin-left: 16px;
    margin-right: 0px;
  }

.dContentLeft
{
  line-height: 20px;
  float: left;
  width: 600px;
}

.dContentRight
{
  float: left;
  margin-left: 30px;
  width: 270px;
}

.dContentLeftLarge
{
  float: left;
  width: 100%;
}

.dContentRightPos
{
  position: absolute;
  left: 660px;
  top: 30px;
}

.dRightBlock
{
  border-left: solid 1px #0D4593;
}

  .dRightBlock h1
  {
    overflow: hidden;
    text-overflow: ellipsis;
  }

.spLogin, label.checkbox
{
  font-family: 'Open Sans Condensed', sans-serif;
  font-weight: 300;
  font-size: 18px;
}

label.checkbox
{
  cursor: pointer;
}

h1
{
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 30px;
  color: #0D4593;
  font-weight: 300;
  line-height: 30px;
  margin-bottom: 10px;
  margin-top: 0px;
}

h2, h3, h4, h5, h6
{
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 20px;
  color: #0D4593;
  font-weight: 300;
  line-height: 20px;
  margin-bottom: 5px;
}

input[type=text], input[type=password]
{
  border: solid 1px #9C9C9C;
  background-color: white;
  height: 38px;
  width: 210px;
  padding: 0px 10px;
  font-family: 'Open Sans', sans-serif;
  color: #000000;
  font-weight: 300;
  font-size: 14px;
}

input[type=submit].inpUAB
{
  background: url('/Content/Images/uabship_button.png') no-repeat left center;
  background-position: 8px;
  background-color: #4B97CD;
  height: 38px;
  width: 232px;
  padding: 0px 20px;
  font-family: 'Open Sans Condensed', sans-serif;
  color: white;
  text-transform: uppercase;
  text-align: right;
  font-weight: 300;
  font-size: 18px;
  cursor: pointer;
}

.btnLogin
{
  border: solid 1px #4B97CD;
  background-color: #4B97CD;
  height: 38px;
  width: 232px;
  font-family: 'Open Sans Condensed', sans-serif;
  color: white;
  text-transform: uppercase;
  text-align: center;
  font-weight: 300;
  font-size: 18px;
  cursor: pointer;
}

input[type=submit]
{
  border: solid 1px #4B97CD;
  background-color: #4B97CD;
  height: 38px;
  width: 232px;
  padding: 0px 10px;
  font-family: 'Open Sans Condensed', sans-serif;
  color: white;
  text-transform: uppercase;
  text-align: center;
  font-weight: 300;
  font-size: 18px;
  cursor: pointer;
}

  input[type=submit]:hover, .btnLogin:hover
  {
    border: solid 1px #3E7EB9;
    background-color: #3E7EB9;
  }

.dLoginOf
{
  width: 100%;
  position: relative;
  border-bottom: solid 1px #0D4593;
}

.dcLoginOf
{
  width: 50px;
  text-align: center;
  margin-top: -15px;
  position: absolute;
  background-color: white;
  left: 50%;
  margin-left: -25px;
  font-family: 'Open Sans Condensed', sans-serif;
  font-weight: 300;
  font-size: 18px;
}

textarea, input
{
  outline: none;
}

.dFloatLeft
{
  float: left;
}

.dFloatRight
{
  float: right;
}

.esClearFloat
{
  clear: both;
  float: none;
}

.dML30
{
  margin-left: 30px;
}

.esHide
{
  display: none;
}

.dMainContainer
{
  position: relative;
  text-align: left;
  background-color: #fff;
  margin: auto;
  width: 976px;
  min-height: 100%;
  background: url('/Content/Images/background.png') repeat-y;
}

.dMainInside
{
  width: 960px;
  margin: 0 auto;
}

.dHeader
{
  height: 100px;
}

.dNavigation
{
  position: relative;
  background-color: #3E3E3E;
  height: 44px;
  font-size: 17px;
  color: #fefefe;
  font-weight: 300;
}

.dNavItem
{
  padding: 12px 20px;
  float: left;
  cursor: pointer;
}

  .dNavItem:not(.dNavItemSelected):hover
  {
    background-color: #313131;
  }

input[type="search"]::-webkit-search-cancel-button
{
  -webkit-appearance: none;
}

input::-ms-clear
{
  display: none;
}

/* Tables */
/* Overview Tables */
.tblMain
{
  border-spacing: 3px;
  width: 100%;
}

  .tblMain td
  {
    padding-left: 10px;
    padding-right: 5px;
    font-size: 10px;
    overflow: hidden;
    text-align: left;
  }

  /*.tblMain tr:nth-child(odd)
  {
    background-color: #E3E3E3;
  }

  .tblMain tr:nth-child(even)
  {
    background-color: #F2F2F2;
  }*/

  .tblMain > thead > tr:first-child
  {
    background-color: #3E3E3E;
    cursor: pointer;
    line-height: 25px;
  }

  .tblMain > tbody > tr
  {
    height: 40px;
  }

    .tblMain > tbody > tr > td
    {
      width: auto;
      line-height: normal;
    }

    .tblMain > tbody > tr:hover
    {
      background-color: #CECECE;
    }

    .tblMain > tbody > tr > td:first-of-type
    {
      width: 100px;
    }

  .tblMain > thead > tr:first-child > th
  {
    height: auto;
    text-align: left;
    color: white;
    padding: 4px 20px 4px 8px;
    font-size: 17px;
    font-weight: 300;
    font-family: 'Open Sans Condensed', sans-serif;
  }

  .tblMain > thead > tr > th > label
  {
    cursor: pointer;
  }

table.tablesorter thead tr .header
{
  background-image: url(/Content/Images/tbl_bg.gif);
  background-repeat: no-repeat;
  background-position: center right;
  cursor: pointer;
}

table.tablesorter thead tr .headerSortUp
{
  background-image: url(/Content/Images/tbl_asc.gif);
}

table.tablesorter thead tr .headerSortDown
{
  background-image: url(/Content/Images/tbl_desc.gif);
}

table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp
{
  background-color: #E3273D;
}

.filter-table .quick
{
  margin-left: 0.5em;
  font-size: 0.8em;
  text-decoration: none;
}

.fitler-table .quick:hover
{
  text-decoration: underline;
}

td.alt
{
  background-color: #E3F0C9;
}

/*table.striped tbody tr:nth-child(even) { background-color: #f0f8ff; }*/ /*auto striping gets messed up with hidden rows*/
tr.striped
{
  background-color: #E3E3E3;
}

tr.stripedodd
{
  background-color: #F2F2F2;
}

.filter-table input
{
  border: solid 1px #CECECE;
  background-color: white;
  width: 250px;
  padding: 0px 9px;
  font-family: 'Verdana', sans-serif;
  color: #000000;
  font-weight: 300;
  font-size: 14px;
  float: left;
  height: 40px;
  margin-left: 3px;
  margin-bottom: 5px;
}

.dDelSearch
{
  cursor: pointer;
  display: none;
  margin-left: 10px;
  background-color: #E3273D;
  height: 40px;
  float: left;
  text-align: center;
  color: white;
  width: 40px;
  font-size: 24px;
  font-weight: 300;
  line-height: 39px;
  font-family: 'Open Sans Condensed', sans-serif;
}

/**
 * Main navigation
 */

.menu
{
  padding: 0px;
  margin: 0px;
  overflow: hidden;
  height: 44px;
}

  .menu li
  {
    list-style-type: none;
    display: block;
    padding: 12px 20px 12px;
    float: left;
    cursor: pointer;
  }

    .menu li.active
    {
      background-color: #E3273D;
    }

    .menu li:not(.active):hover
    {
      background-color: #313131;
    }

    .menu li a
    {
      font-size: 20px;
      color: #fefefe;
      font-family: 'Open Sans Condensed', sans-serif;
      font-weight: 300;
      text-decoration: none;
    }

      .menu li a:hover
      {
        text-decoration: none;
      }

.dMenuSocial
{
  background-color: #3E3E3E;
  position: relative;
  float: right;
  top: -44px;
  z-index: 500;
  right: 0px;
  padding: 10px 14px 6px;
  cursor: pointer;
}

  .dMenuSocial:hover
  {
    background-color: #313131;
  }


.dBanner
{
  margin-top: 1px;
}

.dFooter
{
  width: 900px;
  margin-top: 30px;
  line-height: 30px;
  position: absolute;
  border-top: solid 1px #0D4593;
  bottom: 5px;
  font-family: 'Open Sans Condensed', sans-serif;
  color: #737373;
  font-size: 14px;
  font-weight: 300;
}

/* iCheck plugin Square skin, grey
----------------------------------- */
.icheckbox_square-grey,
.iradio_square-grey
{
  display: block;
  margin: 0;
  padding: 0;
  width: 22px;
  height: 22px;
  background: url(/Content/Images/grey.png) no-repeat;
  border: none;
  cursor: pointer;
}

.icheckbox_square-grey
{
  background-position: 0 0;
}

  .icheckbox_square-grey.hover
  {
    background-position: -24px 0;
  }

  .icheckbox_square-grey.checked
  {
    background-position: -48px 0;
  }

  .icheckbox_square-grey.disabled
  {
    background-position: -72px 0;
    cursor: default;
  }

  .icheckbox_square-grey.checked.disabled
  {
    background-position: -96px 0;
  }

.iradio_square-grey
{
  background-position: -120px 0;
}

  .iradio_square-grey.hover
  {
    background-position: -144px 0;
  }

  .iradio_square-grey.checked
  {
    background-position: -168px 0;
  }

  .iradio_square-grey.disabled
  {
    background-position: -192px 0;
    cursor: default;
  }

  .iradio_square-grey.checked.disabled
  {
    background-position: -216px 0;
  }

.crew-list table
{
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

.crew-list td
{
  border: 1px solid #ccc;
  line-height: 18px;
  padding: 5px;
  position: relative;
}

  .crew-list td.no-border
  {
    border: 0;
  }

  .crew-list td.no-padding
  {
    padding: 0;
  }

  .crew-list td input
  {
    border: 0;
    height: 26px;
    padding: 0 5px;
    width: calc(100% - 10px);
  }

  .crew-list td .input-group
  {
    width: 100%;
  }

    .crew-list td .input-group > .input-group-btn button
    {
      border: 0 none;
      height: 28px;
    }

.crew-list .remove-person
{
  position: absolute;
  right: -27px;
  top: 2px;
}

.crew-list .save
{
  margin: 15px 0;
}

.dropdown-menu table th
{
  background-color: transparent;
}

.dropdown-menu table td
{
  border: 0;
  padding: 0;
}

.dropdown-menu table .btn:not(.active)
{
  background-color: transparent;
}

.dContent .input-group .btn
{
  border: solid 1px #9C9C9C;
  height: 38px;
}

.dContent .list-group
{
  line-height: 22px;
}

  .dContent .list-group .btn
  {
    font-weight: 400;
    text-decoration: none;
  }

/* Retina support */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (-moz-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (min-device-pixel-ratio: 1.5)
{
  .icheckbox_square-grey, .iradio_square-grey
  {
    background-image: url(/Content/Images/grey@2x.png);
    -webkit-background-size: 240px 24px;
    background-size: 240px 24px;
  }
}

.dLoginSite .validation-error {
  max-width: 210px;
  text-align: left;
  line-height: 1.5em;
  padding-top: 5px;
  color: red;
}
