/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}


/* HTML elements */

body {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 16px;
	padding: 125px 0 0 0;
}

p {
	margin: 10px 0;
}

h1, h2, h3, h4, h5, h6{
	font-weight: bold;
	margin-bottom: 10px;
}

h1 {
	font-size: 32px;
}


/* Layouts */

.wrapper {
	width: 1000px;
	margin: 0 auto;
}

.main_view {
	padding: 15px 0;
}

/* Header */

header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	background: #1D1D1D;
}

header:after {
	content: "";
	display: block;
	clear: both;
}

header a.main_logo {
	float: left;
	padding: 10px 0;
}

header a.main_logo img {
	display: block;
}

header ul.main_menu {
	float: right;
}

header ul.main_menu li {
	float: left;
}

header ul.main_menu li a {
	display: block;
	padding: 0 25px;
	line-height: 60px;
	text-transform: uppercase;
	text-decoration: none;
	font-size: 14px;
	color: #CFCFCF;
}

header ul.main_menu li:first-child a {
	padding-left: 0;
}

header ul.main_menu li:last-child a {
	padding-right: 0;
}

header ul.main_menu li a:hover,
header ul.main_menu li.active a
{
	color: #FF4747;
}


/* Tab bar */

.tab_bar {
	position: absolute;
	top: 60px;
	left: 0;
	width: 100%;
	height: 65px;
	border-bottom: 1px solid #CCCCCC;
	background-color: #F2F2F2;
}

.tab_bar ul {
	margin-top: 25px;
}

.tab_bar ul li.tab {
	position: relative;
	padding-left: 2px;
}

.tab_bar ul li.tab:first-child {
	padding-left: 0px;
}

.tab_bar ul li.tab a.link {
	display: block;
	line-height: 40px;
	padding-right: 20px;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	border-top: 1px solid #CCCCCC;
	border-left: 1px solid #CCCCCC;
	border-right: 1px solid #CCCCCC;
	color: #888888;
	overflow: hidden;
	text-overflow: ellipsis;

	-webkit-border-radius: 4px 4px 0px 0px;
	-moz-border-radius: 4px 4px 0px 0px;
	border-radius: 4px 4px 0px 0px;
}

.tab_bar ul li.tab.permanent a.link {
	padding-right: 0;
}

.tab_bar ul li.tab.active a.link {
	color: #000000;
	background: #FFFFFF;
}

.tab_bar ul li.tab a.close {
	position: absolute;
	top: 50%;
	right: 5px;
	width: 16px;
	height: 16px;
	margin-top: -8px;
	overflow: hidden;
	text-indent: -1000px;
	background: #CCCCCC url(../img/icon_close.png) center center no-repeat;
	
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}

.tab_bar ul li.tab a.close:hover {
	background: #AAAAAA url(../img/icon_close.png) center center no-repeat;
}

/* Auto sizing tab bar */

.tab_bar.auto ul:after {
	content: "";
	display: block;
	clear: both;
}

.tab_bar.auto ul li.tab {
	float: left;
}

.tab_bar.auto ul li.tab {
	width: 145px;
}

.tab_bar.auto ul li.tab:first-child {
	width: 100px;
}

/* Compact tab bar */

.tab_bar.compact ul {
	display: table;
	table-layout: fixed;
	/*width: 100%;*/
}

.tab_bar.compact ul li.tab {
	display: table-cell;
}

.tab_bar.compact ul li.tab:first-child {
	width: 100px;
}



/* Toggle button */

a.toggle {
	position: relative;
	display: inline-block;
	height: 28px;
	line-height: 28px;
	padding: 0 10px;
	font-size: 14px;
	text-align: center;
	text-decoration: none;
	color: #caeafd;
	background: #2cabf8;
	
	-webkit-border-radius: 14px;
	-moz-border-radius: 14px;
	border-radius: 14px;
}

a.toggle:hover {
	color: #FFFFFF;
}

a.toggle:after {
	margin-left: 3px;
	font-size: 12px;
}

a.toggle.show:after {
	content: "▼";
}

a.toggle.hide:after {
	content: "▲	";
}

/* Form */

form {
	display: block;
	margin-bottom: 15px;
}

form .form_item {
	margin-bottom: 15px;
}

label,
input[type="text"],
input[type="search"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="submit"],
input[type="button"],
a.button
{
	display: inline-block;
	margin: 0;
	padding: 0 10px;
	height: 32px;
	line-height: 32px;
	font-size: 14px;
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

input[type="text"],
input[type="search"],
input[type="number"],
input[type="date"],
input[type="time"]
{
	border: 1px solid #cccccc;
	background: #fafafa;
	outline: none;
}

input[type="submit"],
input[type="button"],
a.button
{
	padding-left: 20px;
	padding-right: 20px;
	text-decoration: none;
	border: none;
	color: #CFCFCF;
	background: #1d1d1d;
	cursor: pointer;
}

input[type="submit"]:hover,
input[type="button"]:hover,
a.button:hover
{
	color: #FFFFFF;
}

input[type="submit"]:active,
input[type="button"]:active,
a.button:active
{
	color: #FFFFFF;
}


/* Autocomplete */

.autocomplete {
	display: inline-block;
	position: relative;
}

.autocomplete .options {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	margin-top: 2px;
	border: 1px solid #CCCCCC;
	z-index: 100;
	
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.autocomplete .options .option {
	padding: 5px 10px;
	font-size: 14px;
	background: #FFFFFF;
	cursor: pointer;
}

.autocomplete .options .option:first-child {
	-webkit-border-radius: 4px 4px 0 0;
	-moz-border-radius:  4px 4px 0 0;
	border-radius:  4px 4px 0 0;
}

.autocomplete .options .option:last-child {
	-webkit-border-radius: 0 0 4px 4px;
	-moz-border-radius: 0 0 4px 4px;
	border-radius: 0 0 4px 4px;
}


.autocomplete .options .option.current,
.autocomplete .options .option:hover {
	background: #F2F2F2;
}

/* Map search */

form.map_search label {
	width: 100px;
	text-align: right;
	/*background: #F2F2F2;*/
}

form.map_search a.toggle {
	float: right;
	width: 140px;
	margin-top: 2px;
}

form.map_search .search input[type="search"] {
	width: 600px;
}

form.map_search .search input[type="submit"] {
	width: 100px;
}

form.map_search .address input[type="search"].address {
	width: 600px;
}

form.map_search .date input[type="date"],
form.map_search .date input[type="time"]
{
	width: 175px;
}



/* Loader */

.loader {
	position: absolute;
	top: 126px;
	left: 0;
	width: 100%;
	bottom: 0;
	background: #FFFFFF;
	opacity: 0.75;
}

.spinner {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 50px;
	height: 50px;
	margin-left: -25px;
	margin-top: -25px;
	opacity: 0.75;
	background: #000000 url(../img/spinner_dark.gif) center center no-repeat;

	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}


/* Message */

.message {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 300px;
	line-height: 50px;
	margin-left: -150px;
	margin-top: -25px;
	text-transform: uppercase;
	text-align: center;
	opacity: 0.75;
	color: #FFFFFF;
	background: #1D1D1D;
	pointer-events: none;

	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}
































