/**
 * CSS Reset
 * From Blueprint reset.css
 * http://blueprintcss.googlecode.com
 */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}
body {line-height:1.5;}
table {border-collapse:separate;border-spacing:0;}
caption, th, td {text-align:left;font-weight:normal;}
table, td, th {vertical-align:middle;}
blockquote:before, blockquote:after, q:before, q:after {content:"";}
blockquote, q {quotes:"" "";}
a img {border:none;}

/**
 * Basic Typography
 */
body {
    font-family: "Lucida Grande", Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
    font-size: 80%;
    color: #222;
    background: #fff;
/*    margin: 1em 1.5em;*/
}
pre, code {
    margin: 1.5em 0;
    white-space: pre;
}
pre, code {
    font: 1em 'andale mono', 'lucida console', monospace;
    line-height:1.5;
}
a[href] {
    color: #436976;
    background-color: transparent;
}
h1, h2, h3, h4, h5, h6 {
    color: #003a6b;
    background-color: transparent;
    font: 100% 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
    margin: 0;
    padding-top: 0.5em;
}
h1 {
    font-size: 130%;
    margin-bottom: 0.5em;
    border-bottom: 1px solid #fcb100;
}
h2 {
    font-size: 120%;
    margin-bottom: 0.5em;
    border-bottom: 1px solid #aaa;
}
h3 {
    font-size: 110%;
    margin-bottom: 0.5em;
    text-decoration: underline;
}
h4 {
    font-size: 100%;
    font-weight: bold;
}
h5 {
    font-size: 100%;
    font-weight: bold;
}
h6 {
    font-size: 80%;
    font-weight: bold;
}

/**
 * Map Examples Specific
 */
.smallmap {
    width: 512px;
    height: 256px;
    border: 1px solid #ccc;
}
#tags {
    display: none;
}

/* END_OF_GENERAL_STYLES */

.olMap {
	z-index: 0;
    padding: 0px!important;
    margin: 0px!important;
    cursor: default;
}

.olMapViewport {
    text-align: left;
}

.olLayerDiv {
   -moz-user-select: none;
}

.olLayerGoogleCopyright {
    left: 2px;
    bottom: 2px;  
}
.olLayerGooglePoweredBy {
    left: 2px;
    bottom: 15px;   
}
.olControlAttribution {
    font-size: smaller; 
    right: 3px; 
    bottom: 4.5em; 
    position: absolute; 
    display: block;
}
.olControlScale {
    right: 3px;
    bottom: 3em;
    display: block;
    position: absolute;
    font-size: smaller;
}
.olControlNavitelScaleLine {
   left: 10px;
   bottom: 15px;
   font-size: xx-small;
}
.olControlNavitelScaleLineBottom {
   border: solid 2px black;
   border-bottom: none;
   margin-top:-2px;
   text-align: center;
}
.olControlNavitelScaleLineTop {
   border: solid 2px black;
   border-top: none;
   text-align: center;
}

.olControlPermalink {
    right: 3px;
    bottom: 1.5em;
    display: block;
    position: absolute;
    font-size: smaller;
} 

.olControlPermalinkMousePosition {
    bottom: 0em;
    right: 0px;
    display: block;
    position: absolute;
    font-family: Arial;
    font-size: smaller;
    overflow: hidden;
    white-space: nowrap;
}

.olControlOverviewMapContainer {
    position: absolute;
    bottom: 0px;
    right: 0px;
}

.olControlOverviewMapElement {
    padding: 10px 18px 10px 10px;
    background-color: #00008B;
    -moz-border-radius: 1em 0 0 0;
}

.olControlOverviewMapMinimizeButton {
    right: 0px;
    bottom: 80px;
}    

.olControlOverviewMapMaximizeButton {
    right: 0px;
    bottom: 80px;
}

.olControlOverviewMapExtentRectangle {
    overflow: hidden;
    background-image: url("img/blank.gif");
    cursor: move;
    border: 2px dotted red;
}
.olControlOverviewMapRectReplacement {
    overflow: hidden;
    cursor: move;
    background-image: url("img/overview_replacement.gif");
    background-repeat: no-repeat;
    background-position: center;
}

.olLayerGeoRSSDescription {
    float:left;
    width:100%;
    overflow:auto;
    font-size:1.0em;
}
.olLayerGeoRSSClose {
    float:right;
    color:gray;
    font-size:1.2em;
    margin-right:6px;
    font-family:sans-serif;
}
.olLayerGeoRSSTitle {
    float:left;font-size:1.2em;
}

.olPopupContent {
    padding:5px;
    overflow: auto;
}    
.olControlNavToolbar { 
    width:0px;
    height:0px;
}    
.olControlNavToolbar div { 
  display:block;
  width:  28px;
  height: 28px;
  top: 300px;
  left: 6px;
  position: relative;
}

.olControlNavigationHistory {
   background-image: url("img/navigation_history.png");
   background-repeat: no-repeat;
   width:  24px;
   height: 24px;

}
.olControlNavigationHistoryPreviousItemActive { 
  background-position: 0px 0px;
}
.olControlNavigationHistoryPreviousItemInactive { 
   background-position: 0px -24px;
}
.olControlNavigationHistoryNextItemActive { 
   background-position: -24px 0px;
}
.olControlNavigationHistoryNextItemInactive { 
   background-position: -24px -24px;
}

.olControlNavToolbar .olControlNavigationItemActive { 
  background-image: url("img/panning-hand-on.png");
  background-repeat: no-repeat;
}
.olControlNavToolbar .olControlNavigationItemInactive { 
  background-image: url("img/panning-hand-off.png");
  background-repeat: no-repeat;
}
.olControlNavToolbar .olControlZoomBoxItemActive { 
  background-image: url("img/drag-rectangle-on.png");
  background-color: orange;
  background-repeat: no-repeat;
}
.olControlNavToolbar .olControlZoomBoxItemInactive { 
  background-image: url("img/drag-rectangle-off.png");
  background-repeat: no-repeat;
}
.olControlEditingToolbar  {
    float:right;
    right: 0px;
    height: 30px; 
    width: 200px;
}
.olControlEditingToolbar div { 
  background-image: url("img/editing_tool_bar.png");
  background-repeat: no-repeat;
  float:right;
  width:  24px;
  height: 24px;
  margin: 5px;
}
.olControlEditingToolbar .olControlNavigationItemActive { 
  background-position: -103px -23px; 
}
.olControlEditingToolbar .olControlNavigationItemInactive { 
  background-position: -103px -0px; 
}
.olControlEditingToolbar .olControlDrawFeaturePointItemActive { 
  background-position: -77px -23px; 
}
.olControlEditingToolbar .olControlDrawFeaturePointItemInactive { 
  background-position: -77px -0px; 
}
.olControlEditingToolbar .olControlDrawFeaturePathItemInactive { 
  background-position: -51px 0px; 
}
.olControlEditingToolbar .olControlDrawFeaturePathItemActive { 
  background-position: -51px -23px; 
}
.olControlEditingToolbar .olControlDrawFeaturePolygonItemInactive { 
  background-position: -26px 0px; 
}
.olControlEditingToolbar .olControlDrawFeaturePolygonItemActive { 
  background-position: -26px -23px ;                                                                   
}
.olControlSaveFeaturesItemActive { 
    background-image: url(img/save_features_on.png);
    background-repeat: no-repeat;
    background-position: 0px 1px;
}
.olControlSaveFeaturesItemInactive { 
    background-image: url(img/save_features_off.png);
    background-repeat: no-repeat;
    background-position: 0px 1px;
}

.olHandlerBoxZoomBox {
    border: 2px solid red;
    position: absolute;
    background-color: white;
    opacity: 0.50;
    font-size: 1px;
    filter: alpha(opacity=50);
}
.olHandlerBoxSelectFeature {
    border: 2px solid blue;
    position: absolute;
    background-color: white;
    opacity: 0.50;
    font-size: 1px;
    filter: alpha(opacity=50);
}   

.olControlPanPanel {
    top: 10px;
    left: 5px;
}  

.olControlPanPanel div {
    background-image: url(img/pan-panel.png);
    height: 18px;
    width: 18px;
    cursor: pointer;
    position: absolute;
}

.olControlPanPanel .olControlPanNorthItemInactive {
    top: 0px;
    left: 9px;
    background-position: 0px 0px;
}
.olControlPanPanel .olControlPanSouthItemInactive {
    top: 36px;
    left: 9px;
    background-position: 18px 0px;
}
.olControlPanPanel .olControlPanWestItemInactive {
    position: absolute;
    top: 18px;
    left: 0px;
    background-position: 0px 18px;
}
.olControlPanPanel .olControlPanEastItemInactive {
    top: 18px;
    left: 18px;
    background-position: 18px 18px;
}

.olControlZoomPanel {
    top: 71px;
    left: 14px;
} 

.olControlZoomPanel div {
    background-image: url(img/zoom-panel.png);
    position: absolute;
    height: 18px;
    width: 18px;
    cursor: pointer;
}

.olControlZoomPanel .olControlZoomInItemInactive {
    top: 0px;
    left: 0px;
    background-position: 0px 0px;
}

.olControlZoomPanel .olControlZoomToMaxExtentItemInactive {
    top: 18px;
    left: 0px;
    background-position: 0px -18px;
}

.olControlZoomPanel .olControlZoomOutItemInactive {
    top: 36px;
    left: 0px;
    background-position: 0px 18px;
}

.olPopupCloseBox {
  background: url("img/close.gif") no-repeat;
  cursor: pointer;
}

.olFramedCloudPopupContent {
    padding: 5px;
    overflow: auto;
}

.olControlNoSelect {
 -moz-user-select: none;
}

/**
 * Cursor styles
 */

.olCursorWait {
    cursor: wait;
}
.olDragDown {
    cursor: move;
}
.olDrawBox {
    cursor: crosshair;
}
.olControlDragFeatureOver {
    cursor: move;
}
.olControlDragFeatureActive.olControlDragFeatureOver.olDragDown {
    cursor: -moz-grabbing;
}

.zoomBarBackground {
	position: relative;
	left: 4px;
	top: 4px;
	width: 62px;
	height: 62px;
	background: url(img/pan-panel-bg.png) no-repeat;
}

* html .zoomBarBackground {
	background: url(img/blank.gif);
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=navitel/theme/navitel/img/pan-panel-bg.png,sizingMethod=scale);
}

.olControlPermalinkMousePosition {
	display: block;
	width: 110px;
	padding: 4px 0px 4px 10px;
	margin: 0px;
	border: 0px;
	overflow: hidden;
    white-space: nowrap;
}

.olControlPermalinkMousePosition a {
	position: relative;
	bottom: -24px;
	right: -4px;
	z-index: 1006;
}

.permalinkMousePositionBackground {
	position: relative;
	width: 118px;
	height: 26px;
	margin: 0px;
	padding: 0px;
	right: 0px;
	bottom: -8px;
	background: url(img/bg-coordinates.png) no-repeat;
	z-index: 1005;
}

* html .permalinkMousePositionBackground {
	background: url(img/blank.gif);
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=navitel/theme/navitel/img/bg-coordinates.png,sizingMethod=crop);
}

* html .olControlPermalinkMousePosition a {
	position: relative;
}

.modalAlert {
	background-color: white;
	border: 1px solid black;
	color: black;
	padding: 12px;
	cursor: pointer;
}

/* LAYOUT_STYLES */

#search_input {
	width: 300px;
}

.searchbar {
	background: url('img/logo.jpg') no-repeat scroll 4px 24px;
	vertical-align: top;
}

.searchbar form {
	padding: 36px 0px 0px 200px;
}

#sidebar_switcher {
	position: absolute;
	cursor: pointer;
	width: 18px;
	height: 18px;
}

.sidebar_hidden {
	left: 0px;
	background: url(img/show_sidebar.png) no-repeat;
}

* html .sidebar_hidden {
	background: url(img/blank.gif);
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=navitel/theme/navitel/img/show_sidebar.png,sizingMethod=scale); 
}

.sidebar_showed {
	left: 342px;
	background: url(img/hide_sidebar.png) no-repeat;
}

* html .sidebar_showed {
	background: url(img/blank.gif);
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=navitel/theme/navitel/img/hide_sidebar.png,sizingMethod=scale); 
}

.bottom_search_pan {
	/*background-color: #f2efe9;*/
	background-color: #ccc;
	position: absolute;
	top: 82px;
	left: 0px;
	bottom: 0px;
	height: 18px;
	width: 100%;
}

.found_item {
	display: block;
	width: 360px;
	overflow: hidden;
	cursor: pointer;
	border-top: 2px solid #f2efe9;
}

.found_item_over {
	background-color: #f2efe9;
}

.sidebar {
	width:360px;
	height:100%;
	position:absolute;
	background-color:white;
	z-index:5000;
	border-bottom: 100px;
	overflow: auto;
}

* html .sidebar {
	border-bottom: 0px;
}

#sidebar_container {
	width: 100%;
}

.destination_input {
	width: 300px;
}

.sidebar_point_x {
	width: 24px;
}

#build_route {
	padding: 10px;
}

.olControlNavitelLogoLink {
	position: absolute;
	right: 8px;
	bottom: 8px;
	z-index: 1006;
}

.olControlNavitelLogoLink a {
	cursor: pointer;
	background-image: url(img/btn_navitel.png);
	display: block;
	width: 48px;
	height: 48px;
}

.olControlNavitelLogoLink a:hover {
	background-image: url(img/btn_navitel_hover.png);
}

* html .olControlNavitelLogoLink a {
	background-image: url(img/blank.gif);
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=navitel/theme/navitel/img/btn_navitel.png,sizingMethod=crop);
}

* html .olControlNavitelLogoLink a:hover {
	background-image: url(img/blank.gif);
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=navitel/theme/navitel/img/btn_navitel_hover.png,sizingMethod=crop);
}