/*
 * style.css
 *
 * Contains style for most elements in Map-Pak.
 */
html {
  height: 100%
}

body {
  height: 100%;
  margin: 0;
  padding: 0;
}

header {
  width: 100%;
  height: 170px;
  background: #333; 
}

#logo {
   padding-left: 20px;
   padding-right: 5px;
    background: none;
}

#header {
  padding-top: 10px; 
}

#title {
 font-family: WhitneyBold;
 font-size: 20px;
 font-weight: bold;
 color: white;   
 padding-top: 10px;
}

#version {
  font-family: WhitneyBook;
  font-size: 13px;
  color: white;
  vertical-align: 3px;
  padding-left: 2px;
  padding-top: 10px;
}

#filters {
  font-family: WhitneyBook;
  font-size: 20px;
  font-weight: bold;
  color: white;
}

#spnLabelWarning {
  font-family: WhitneyBook;
  font-size: 20px;
  font-weight: bold;
  color: white;
  padding-right: 30px;
}

/* shrinks the map container by 70px to account for header, prevents page scrolling */
#mapContainer {
  position: absolute;
  top: 93px;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

div.overlay {
    position: absolute;
    top: 45%;
    left: 45%;
    right: 45%;
    bottom: 45%;
    background-color: #fff;
    z-index: 1;
    font-weight: bold;
}

div.overlay.standard {
    background: #fff url(../images/ajax-loader.gif) no-repeat center center;
}

#map {
  width: 100%;
  height: 100%;
}

#frameContent {
  width: 350px;
  left: 40px;
  bottom: 40px;
  position: absolute;
  z-index: 1;
}

#frameContent2 {
    width: 275px;
    left: 392px;
    bottom: 40px;
    position: absolute;
    padding: 5px;
    z-index: 1;
}

.invalid-box-body {
    padding: 10px;
    height: 430px;
    overflow: auto;
}

.invalid-box-header {
    background: rgb(176, 43, 44) !important;
    padding: 5px;
}

.cursor-pointer {
    cursor: pointer;
}

#progressBar {
  position: absolute;
  height: 30px;
  width: 400px;
  margin: -15px 0 0 -200px;
  top: 50%;
  left: 50%;
  z-index: 1;
}

#loading {
  position: absolute;
  left: 41.5%;
  z-index: 2;
  top: 6px;
  font-family: WhitneyBold;
  text-transform: uppercase;
  font-size:14px;  
}

#frequencyList {
    width: 80px;
}
.freqDropDownDiv{
    display: inline-block;
}

#minMax {
  float: right;
  margin-top: 3px;
  margin-right: 3px;
  height: 16px;
  width: 16px;
  background-repeat: no-repeat;
  display: block;
  overflow: hidden;
  background-image: url(images/ui-icon-triangle-1-s.png);
}

#testFrame {
  width: 55px;
  right: 40px;
  bottom: 40px;
  position: absolute;
  padding: 4px;
  z-index: 1;
}

.menuButton {
    padding-top: 10px;
}

.error-message {
    color: #ff1919;
    font-weight: bold;
}

/* container for accordions */
.results {
  height: 400px;
  overflow: auto;
}

.left {
  float: left;
}

.right {
  float: right;
}

/* padding used in header */
.padRight {
  padding-right: 10px;
}
.padLeft {
  padding-left: 10px;
}

/* fixed tab height */
.tab { 
  height: 430px;
}

.font {
  font-family: Verdana, Arial, sans-serif;
  font-size: 10px;  
}

.fontTabTitle {
  font-family: WhitneyBold;
  text-transform: uppercase;
  font-size: 12px
}

/* fixed table height for routes and trucks, width adjusts to parent */
.tableArea {
  width: 100%;
  height: 330px;
}

/* fixed table height for dispatch */
.tableAreaDispatch {
  width: 100%;
  height: 295px;
}

/* formatting for company selection, hidden checkbox area & 'Load Routes' button(s) */
.thinFormat {
  height: 25px;
  padding: 5px;
}

/* hide an element but allow it to still occupy space */
.hidden {
  visibility: hidden;
}

/* hide an element without allowing it to occupy space */
.none {
  display: none;
}

.center {
  text-align: center
}

.bold {
  font-weight: bold
}

/* close button used to remove route elements from accordion */
.closeButton {
  display: inline-block;
  float: right;
  margin-top: -1px;
  width: 16px;
  height: 16px;
  background-image: url(images/ui-icon-close.png);
  background-repeat: no-repeat; 
}

.closeButton:hover {
  background-image: url(images/ui-icon-circle-close.png);
}

/* close button used to remove route elements from accordion */
.geofenceCloseButton {
  display: none;
  float: right;
  margin-top: -1px;
  width: 16px;
  height: 16px;
  background-image: url(images/ui-icon-close.png);
  background-repeat: no-repeat; 
}

/* reset <p> margins when needed */
.marginReset {
  margin: 0;
}

/* reset <p> margins while retaining a bottom margin */
.marginResetBottom {
  margin: 0 0 10px;
}

/* spaces dynamically created widget buttons appropriately */
.buttonMargin {
  margin: 0 4px 0 0;
}

/* spaces dynamically created widget buttons appropriately when they are on a second row */
.buttonMargin2 {
  margin: 4px 4px 0 0 ;
}

.filter-span {
    padding-top: 10px;
}

/* padding for first, previous, next, last widget on each route accordion element */
.widgetPadding {
  padding: 4px;
}

/* custom style for jQuery UI autocomplete window */
.ui-autocomplete {
  font-family: Verdana, Arial, sans-serif;
  font-size: 10px;
  max-height: 100px;
  width: 57px;
  overflow-y: auto;
  /* prevent horizontal scrollbar */
  overflow-x: hidden;
}

.table {
  border-collapse: collapse;
}

.table tr.even.row_selected td {
  background-color: #ff4800 !important;
}

.table tr.odd.row_selected td {
  background-color: #ff7533 !important;
}

.init-hidden{
    display: none;
}

.select-color-black {
    background-color: #000000;
}

.select-color-red {
    background-color: #b02b2c;
}

.select-color-blue {
    background-color: #356aa0;
}

.select-color-orange {
    background-color: #d15600;
}

.select-color-yellow {
    background-color: #c79810;
}

.select-color-olive {
    background-color: #73880a;
}

.select-color-navy {
    background-color: #3f4c6b;
}

.select-color-mint {
    background-color: #6bba70;
}

.select-color-lavender {
    background-color: #8b668b;
}

.select-color-brown {
    background-color: #9d7050;
}

.select-color-green {
    background-color: #08006;
}

#spanEditGeofences {
    padding-top: 10px;
    padding-bottom: 5px;
}

#spanReloadGeofences {
    padding-top: 10px;
    padding-bottom: 5px;
}

#spanSaveGeofences {
    padding-top: 10px;
    padding-bottom: 5px;
}

.savePlotAddress {
    margin-top: 10px;
}

.setInvalidAddress {
    margin-top: 5px;
}

.invalid-address-container {
    margin-top: 10px;
    margin-bottom: 10px;
}

@font-face {
  font-family: WhitneyBold;
  src: url('../fonts/whitney-bold.eot');
  src: url('../fonts/whitney-bold.eot?#iefix') format('embedded-opentype'),
       url('../fonts/whitney-bold.ttf') format('truetype');
  font-weight: bold;
}

@font-face {
  font-family: WhitneyLight;
  src: url('../fonts/whitney-light.eot');
  src: url('../fonts/whitney-light.eot?#iefix') format('embedded-opentype'),
       url('../fonts/whitney-light.ttf') format('truetype');
}

@font-face {
  font-family: WhitneyBook;
  src: url('../fonts/whitney-book.eot');
  src: url('../fonts/whitney-book.eot?#iefix') format('embedded-opentype'),
       url('../fonts/whitney-book.ttf') format('truetype');
}
