html, body {
	margin: 0;
	padding: 0;
}
body {
	background: url(/graphics/subtle-light-bg-1.jpg) repeat;
	background-color: #F9F9FF;
	font-family: Arial, Helvetica, sans-serif; font-size: 14px;
}

#wrap {
	width: 1024px;
	background-color: #FFF;
	margin: 0 auto;
	padding: 0px 2px;
}
#header-wrapper {
	overflow:hidden;
	width: 1024px;
	height: 67px;
}
#header {
	width: 1004px;
	height: 60px;
	background: url(/graphics/bg-main2.png) repeat-x;
	margin: 0 0px 2px;
	padding: 0px 0px 5px 20px;
}
#header-logo {
	width: 80px;
	height: 100%;
	float: left;
	margin-right: 10px;
}
#header-text {
	width: 914px;
	height: 100%;
	float: left;
}
#header p {
	margin: 0;
}
#header h1,
#header h1 a {
	margin: 5px 0;
	font-size: 26px;
	color: #FFF;
	text-shadow: #1659ac 0px 1px 3px;
}
#header h1 a {
    text-decoration: none;
    outline: none;
}
#header #site-slogan {
	font-size: 12px;
	font-weight: bold;
	color: #335570;
}

#menu-wrapper {
    overflow:hidden;
    width: 1024px;
}
#menu-wrapper a {
    text-decoration: none;
    color: #335570;
}
#menu-block {
    float: left;
    margin-right: 2px;
    margin-bottom: 2px;
    width: 952px;
    height: 25px;
    background-color: #edf5fa;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    color: #335570;
}
#menu-block span {
    line-height: 25px;
}
#menu-caption {    
    margin-left: 30px;
}
#menu-admin-link {
    float: right;
    margin-right: 15px;
}
#login-block {
    position: relative;
    margin-bottom: 2px;
    float: left;
    width: 70px;
    height: 25px;
    line-height: 25px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #335570;
    cursor: pointer;
}
.login-block-inactive {
    background-color: #edf5fa;
}
.login-block-active {
    background-color: #D0D0E5;
}
#login-form {
    position: absolute;
    z-index: 9;
    width: 200px;
    height: 250px;
    right: 0;
    top: 0;
    background-color: #ffffff;
    border: 1px solid black;
    cursor: default;
    padding: 50px 5px 0 5px;
    text-align: center;
}
.login-form-invisible {
    display: none;
}

#login-form p {
    font-weight: bold;
}
.lf-caption,#login-form p {
    text-decoration: none;
    color: #335570;
}
#login-form input {
    width: 120px;
    margin-bottom: 10px;
    text-decoration: none;
    color: #335570;
}

#main-content {
    position: relative;
    clear: both;
    z-index: 1;
}
#main-content a {
    text-decoration: none;
    color: #335570;
}
.block-link {
    display: block;
}

.route-block-odd {
	margin-bottom: 5px;
	background-color: #efefef;
	padding: 0px 20px 50px;
}
.route-block-even {
	margin-bottom: 5px;
	background-color: #edf5fa;
	padding: 0px 20px 50px;
}
.route-block-content {
        float: left;
	width: 640px;
	padding: 10px;
}
.route-block-content .route-head {
	font-size: 16px;
}

.route-block-preview {
	width: 100%;
	background-size: contain;
}
.route-block-preview img {
	width: 640px;
}

p.route-weirdness {
	font-size: 12px;
}
p.route-weirdness span.w-low {
	color: #1a8c1e;
	font-weight: bold;
}
p.route-weirdness span.w-medium {
	color: #ada42d;
	font-weight: bold;
}
p.route-weirdness span.w-high {
	color: #891818;
	font-weight: bold;
}

.route-desc {
	font-size: 15px;
	line-height: 1.5;
}

.route-block-features {
    float: left;
    width: 254px;
    height: 100%;
    max-height: 400px;
    padding: 10px;
    margin-left: 50px;
    margin-top: 90px;
}
.route-block-features h2 {
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    color: #335570;
}
.route-block-features ul {
    padding-left: 5px;
    margin-bottom: 40px;
}
.route-block-features ul li {
    display: block;
    height: 20px;
    line-height: 20px;
    margin-bottom: 10px;
    padding-left: 30px;
    font-size: 13px;
    text-decoration: none;
    color: #335570;
    background: url(/graphics/check.png) no-repeat;
}

.route-block-info {
    width: 100%;
    min-height: 160px;
    padding: 10px;
}

#footer-wrapper {
    overflow:hidden;
    width: 1024px;
    height: 50px;
}
#footer {
    width: 1004px;
    height: 48px;
    background: url(/graphics/bg-main2.png) center repeat-x;
    margin: -1px 0 0;
    padding: 3px 10px 0 10px;
}
.footer-text-line {
    height: 40px;
    line-height: 40px;    
    text-decoration: none;
    color: #335570;
    font-weight: bold;
    font-size: 12px;
}
#footer-copyright {
    float: left;
    width: 180px;
    margin: 2px 2px 3px 20px;
    text-align: left;
}
#footer-message {
    float: right;
    width: 180px;
    margin: 2px 20px 3px 0px;
    text-align: right;
}

/* АДМИНКА */
#admin-wrapper {
    background-color: #efefef;
    padding: 10px 20px 0 20px;
    min-height: 900px;
}
#admin-wrapper h3 {
    font-size: 16px;
    margin-left: 10px;
}

#admin-modes {
    width: 984px;
    border: 0;
}

.admin-modes-row {
    width: 984px;
    height: 300px;
    border: 0;
    margin-bottom: 20px;
}
.admin-modes-cell {
    float: left;
    width: 470px;
    height: 300px;
    line-height: 300px;
    border: 1px solid black;
    margin: 0 10px;
    vertical-align: middle;
    text-align: center;
    background-color: #ffffff;
}
.admin-modes-cell a,
.admin-modes-cell a:hover,
.admin-modes-cell a.active,
.admin-modes-cell a visited {
    display: block;
    height: 100%;
    width: 100%;
    text-decoration: none;
    outline: none;
    font-size: 22px;
    text-transform: uppercase;
}
.admin-modes-cell a:hover {
    background: #edf5fa;
    font-weight: bold;
}
.admin-routes-row {
    width: 984px;
    height: 300px;
    border: 0;
    margin-bottom: 20px;
}
.admin-routes-cell {
    float: left;
    width: 470px;
    height: 300px;
    border: 1px solid black;
    margin: 0 10px;
    text-align: center;
    background-color: #ffffff;
    position: relative;
}
.admin-routes-cell a,
.admin-routes-cell a:hover,
.admin-routes-cell a.active,
.admin-routes-cell a visited {
    display: table-cell;
    height: 300px;
    width: 100%;
    vertical-align: middle;
    text-decoration: none;
    outline: none;
    font-size: 22px;
    text-transform: uppercase;
    opacity: 1;
}
.admin-routes-cell a:hover {
    background: #edf5fa;
    font-weight: bold;
}

a.admin-routes-delbtn,
a:hover.admin-routes-delbtn,
a:active.admin-routes-delbtn,
a:visited.admin-routes-delbtn {
    display: block;
    height: 28px;
    width: 28px;
    margin: 0;
    padding: 0;
    position: absolute;
    top:0;
    right: 0;
    z-index: 10;
    background: url(/graphics/cross-30.png) center;
    text-align: center;
    line-height: 30px;
    font-size: 18px;
    border: 1px solid black;
}

a:hover.admin-routes-delbtn {
    background-color: #891818;
}

#route-row-new {
    width: 962px;
    height: 100px;
    border: 1px solid black;
    margin: 0 10px;
    text-align: center;
    background-color: #ffffff;
    margin-bottom: 20px;
}
#route-row-new a,
#route-row-new a:hover,
#route-row-new a:active,
#route-row-new a:visited {
    display: block;
    height: 100px;
    width: 100%;
    line-height: 100px;
    text-decoration: none;
    outline: none;
    font-size: 22px;
    text-transform: uppercase;
}
#route-row-new a:hover {
    background: #edf5fa;
    font-weight: bold;
}

#route-edit {
    width: 984px;
    margin: 0 10px;
}
#route-edit ul {
    width: 100%;
    margin-left: 0;
    padding-left: 0;
    list-style-type:none;
    list-style-position:outside;
}
#route-edit ul li {
    display: block;
    
    margin-bottom: 15px;
    padding: 5px 0;
    font-size: 13px;
    text-decoration: none;
    color: #335570;
}

#route-edit label {
    width:100px;
    margin-top: 5px;
    display:inline-block;
    float:left;
    padding:3px;
}
#route-edit input {
    height:30px;
    width:400px;
    padding:5px 8px;
}
#route-edit textarea {
    padding:8px;
    width:400px;
    height: 150px;
}
#route-edit img {
    width: 400px;
}
#route-edit .submit-button {
    margin-top: 5px;
    margin-left: 106px;
    cursor: pointer;
}
#route-edit .reject-button {
    margin-top: 5px;
    margin-left: 20px;
    cursor: pointer;
}
