#logo {
    width: 240px;
    height: 72px;
    background: transparent url("../../_img/themes/optcargo/logo.png") no-repeat;
    margin-left: 10px;
}

#header {
    border-bottom: 2px solid Black;
    background: #fab000 url("../../_img/themes/optcargo/header-bg.png") repeat;
    vertical-align: bottom;
}

#logoContainer {
    background: #fab000 url("../../_img/themes/optcargo/header-bg.png") repeat;
    width: 280px;
    vertical-align: middle;
}

.rs-master-title .rs-master-title-contaner,
.rs-master-panel .panel-title,
.ax-title-container .ax-title,
#win-title .title,
.window-title {
    background: #d5dbdf url("../../_img/themes/optcargo/h1-bg.png") !important;
    color: #1c4461 !important;
}

.rs-master-title .rs-master-title-contaner,
td#win-title .title {
    background: #fab000 url("../../_img/themes/optcargo/header-bg.png") repeat !important;
    color: #1c4461 !important;
}

a:hover {
    color: #fa9211;
}

/**Top Menu
**************************************************************/
.top_menu_container {
}

.top_menu_container ul {
}

.top_menu_container ul li {
    border-color: #000;
    margin-top: 1px;
}

.top_menu_container ul li a {
    border: 0px solid #FFF;
    color: Black;
    background: #e6e6e6 url(../../_img/buttons-bg.gif) repeat-x center;
}

.top_menu_container ul li.hover {
    border-bottom-color: #DCDCDC;
}

.top_menu_container ul li.hover a {
    background: #eaeaea;
}

.top_menu_container ul ul {
    border-color: #000;
    background-color: #eaeaea;
    top: 32px;
}

.top_menu_container ul ul li {
    background-color: #eaeaea;
    border-top: 1px solid #acacac;
}

.top_menu_container ul ul li a {
    background-color: #DEF1E1;
    color: #000;
}

.top_menu_container ul ul li a:hover {
    background-color: #fab000;
    color: #002d48;
}

table.table th,
table.table tr.header td,
table.table td.header  {
    padding: 3px;
    text-align: center;
    color: #fff;
    background: #9ea6ac;
    text-shadow: 0px 0px 2px rgba(150, 150, 150, 0.5);
}

table.table td.header{
    color: #fff!important;
    background: #9ea6ac!important;
    text-align: center!important;
    text-shadow: 0px 0px 2px rgba(150, 150, 150, 0.5);
}


table.table td {
    background-color: White;
}

table.table tr.dark td {
    background-color: #dae0e3;
}

table.table tr:hover td {
    background-color: #f1e09f;
}

table.table tr.disabled td {
    background-color: #F3F3F3;
    color: #A9A9A9;
}

table.table tr.disabled td a {
    color: #A9A9A9;
}

table.h1 {
    background: #a0aebf;
}

table.h1 td, h1 {
    color: #1c4461;
    background: #d5dbdf url("../../_img/themes/optcargo/h1-bg.png");
    text-shadow: 1px 1px 2px rgba(150, 150, 150, 0.5);
}





table.table {
    border-spacing: inherit;
}
table.table tr td{
    border-bottom: 1px solid #000000;
    border-right: 1px solid #000000;
}

table.table tr td:first-child{
    border-left: 1px solid #000000;
}

table.table tr th{
    border: 1px solid #000000;
    border-left: none;
}
table.table tr th:first-child{
    border-left: 1px solid #000000;
}

table.table tbody.wb_list tr td {
    border: none;
}

form.filters {
    padding: 15px;
    background-color: #f3f6fa;
    border: 1px solid #b0c4de;
    padding-bottom: 10px;
    margin: 1em 0;
}

#footer {
    background: #fab000 url("../../_img/themes/optcargo/header-bg.png") repeat;
}

#footer td, #footer td a {
    color: #002d48;
}

button,
input.button {
    border: 1px solid #95a0a9;
    background: #c0cace;
    color: #55616a;
    padding: 0 15px;
    text-shadow: 1px 1px 1px rgba(150, 150, 150, 0.3);
    font-weight: bold;
    line-height: 2em;
    cursor: pointer;
    -webkit-box-shadow: 0px 0px 3px rgba(50, 50, 50, 0.5);
    -moz-box-shadow: 0px 0px 3px rgba(50, 50, 50, 0.5);
    box-shadow: 0px 0px 3px rgba(50, 50, 50, 0.5);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: -webkit-gradient(linear, left top, left bottom, from(#edf0f2), to(#c0cace)); /* for webkit browsers */
    background: -moz-linear-gradient(top, #edf0f2, #c0cace); /* for firefox 3.6+ */
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#edf0f2', endColorstr='#c0cace'); /* for IE */
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#edf0f2', endColorstr='#c0cace')"; /* IE8 */
}

button:hover,
input.button:hover {
    background: -webkit-gradient(linear, left top, left bottom, from(#c0cace), to(#edf0f2)); /* for webkit browsers */
    background: -moz-linear-gradient(top, #c0cace, #edf0f2); /* for firefox 3.6+ */
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#c0cace', endColorstr='#edf0f2'); /* for IE */
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#c0cace', endColorstr='#edf0f2')"; /* IE8 */
}


button.toggle {
    line-height: 1em;
    font-size: 1.3em;
    padding: 0;
    height: 25px;
    width: 25px;
}

button.disabled {
    background: #d5d5d5 url(../../_img/buttons-bg.gif) repeat-x center;
    color: silver;
    -webkit-box-shadow: 0px 0px 0px rgba(50, 50, 50, 0.5);
    -moz-box-shadow: 0px 0px 0px rgba(50, 50, 50, 0.5);
    box-shadow: 0px 0px 0px rgba(50, 50, 50, 0.5);
}

button.disabled:hover {
    background-image: url(../../_img/buttons-bg.gif);
}

input.button {
    line-height: 1.5em;
    padding: 0 15px;
    cursor: pointer;
}

.delivery_checking button.dp-toggle {
    padding: 0;
    width: 30px;
    height: 30px;
}
/* ax-interface ******************************************************/

.ax-overlay {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: fixed;
    background: transparent url(../../_img/AxInterface/shadow.png);
    z-index: 1000;
    overflow: auto;
}

.ax-window-shadow {
    background: transparent url(../../_img/AxInterface/shadow.png);
    position: absolute;
}

.ax-window {
    border: 1px solid #000;
    background-color: #d2d2d2;
}

.ax-title-container {
    height: 32px;
    border-bottom: 1px solid #000;
    position: relative;
    cursor: default;
}

.ax-title-container .ax-title {
    height: 30px;
    border: 1px solid #fff;
    background: #135332 url(../../_img/header-bg.gif) repeat-x center;
    line-height: 30px;
    font-weight: bold;
    font-size: 13px;
    padding: 0 10px;
    color: #fff;
}

.ax-title-container .ax-closer {
    font-weight: normal;
    color: #fff;
    text-decoration: none;
    position: absolute;
    top: 8px;
    right: 10px;
}

.ax-window-top-toolbar {
    border-bottom: 1px solid #000;
    background-color: #e0e3e6;
    padding: 5px 10px;
    overflow: hidden;
}

.ax-window-bottom-toolbar {
    border-top: 1px solid #000;
    background-color: #e0e3e6;
    padding: 5px 10px;
    overflow: hidden;
}

.ax-window-top-toolbar .ax-button,
.ax-window-bottom-toolbar .ax-button {
    margin: 0 3px;
}

.ax-window-toolbar-left {
    float: left;
    text-align: left;
}

.ax-window-toolbar-right {
    float: right;
    text-align: right;
}

.ax-window-body {
}

.ax-closer {
    display: inline-block;
    height: 16px;
    padding: 0 0 0 16px;
    line-height: 15px;
    text-decoration: none;
    background: transparent url(../../_img/AxInterface/icons/close.png) no-repeat 0 0;
}

.ax-closer span {
    display: inline-block;
    padding: 0 5px;
}

.ax-icon-16, .ax-icon-24 {
    background-color: transparent;
    background-position: 0 0;
    background-repeat: no-repeat;
    border: none;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}

.ax-icon-16 {
    height: 16px;
    width: 16px;
}

.ax-icon-16.add-green {
    background-image: url(../../_img/icons/add-green-16.png);
}

.ax-icon-16.minus-red {
    background-image: url(../../_img/icons/minus-red-16.png);
}

.ax-icon-16.left-right-blue {
    background-image: url(../../_img/icons/left-right-blue-16.png);
}

.ax-icon-16.top-bottom-green {
    background-image: url(../../_img/icons/top-bottom-green-16.png);
}

.ax-icon-16.map {
    background-image: url(../../_img/icons/map-16.png);
}

.ax-icon-16.filter {
    background-image: url(../../_img/icons/filter-16.png);
}

.ax-icon-16.left-blue {
    background-image: url(../../_img/icons/left-blue-16.png);
}

.ax-icon-16.right-blue {
    background-image: url(../../_img/icons/right-blue-16.png);
}

.ax-icon-16.right-red {
    background-image: url(../../_img/icons/right-red-16.png);
}

.ax-icon-16.plus-gray {
    background-image: url(../../_img/icons/plus-gray-16.png);
}

.ax-icon-16.minus-gray {
    background-image: url(../../_img/icons/minus-gray-16.png);
}

.ax-icon-16.user {
    background-image: url(../../_img/icons/user-16.png);
}

.ax-icon-16.filter {
    background-image: url(../../_img/icons/filters-16.png);
}

.ax-icon-16.save {
    background-image: url(../../_img/icons/save-16.png);
}

.ax-icon-16.next {
    background-image: url(../../_img/icons/next-16.png);
}

.ax-icon-16.back {
    background-image: url(../../_img/icons/back-16.png);
}

.ax-icon-16.concel {
    background-image: url(../../_img/icons/concel-16.png);
}

.ax-icon-16.access {
    background-image: url(../../_img/icons/access-16.png);
}

.ax-icon-16.delete {
    background-image: url(../../_img/icons/delete-16.png);
}

.ax-icon-16.add {
    background-image: url(../../_img/icons/add-16.png);
}

.ax-icon-16.datetime {
    background-image: url(../../_img/icons/datetime-16.png);
}

.ax-icon-16.calendar-week {
    background-image: url(../../_img/icons/calendar-week-16.png);
}

.ax-icon-16.print {
    background-image: url(../../_img/icons/print-16.png);
}

.ax-icon-16.paste {
    background-image: url(../../_img/icons/paste-16.png);
}

.ax-icon-16.cut {
    background-image: url(../../_img/icons/cut-16.png);
}

.ax-icon-16.edit {
    background-image: url(../../_img/icons/edit-16.png);
}

.ax-icon-16.calendar {
    background-image: url(../../_img/icons/calendar-16.png);
    display: inline-block !important;
}

.ax-icon-16.up {
    background-image: url(../../_img/icons/up-16.png);
}

.ax-icon-16.down {
    background-image: url(../../_img/icons/down-16.png);
}

.ax-icon-16.cap-purpur {
    background-image: url(../../_img/icons/cap-purpur-16.png);
}

.ax-icon-16.cap-yellow {
    background-image: url(../../_img/icons/cap-yellow-16.png);
}

.ax-icon-16.cap {
    background-image: url(../../_img/icons/cap-16.png);
}

.ax-icon-16.browse {
    background-image: url(../../_img/icons/browse-16.png);
}

.ax-icon-16.reload {
    background-image: url(../../_img/icons/reload-16.png);
}

.ax-icon-16.ok {
    background-image: url(../../_img/icons/ok-16.png);
}

.ax-icon-16.excel {
    background-image: url(../../_img/icons/excel-16.png);
}

.ax-icon-16.search {
    background-image: url(../../_img/icons/search-16.png);
}

.ax-icon-16.pin {
    background-image: url(../../_img/icons/pin-16.png);
}

.ax-icon-16.comments {
    background-image: url(../../_img/icons/comments-16.png);
}

.ax-icon-16-loading {
    background: transparent url(../../_img/icons/loading-16.gif) no-repeat 0 0 !important;
}

.ax-state-disabled .ax-icon-16 {
    background-position: 0 -16px;
}

.ax-state-readonly {
    color: fuchsia;
}

.ax-icon-24 {
    height: 24px;
    width: 24px;
}

.ax-icon-24.database {
    background-image: url(../../_img/icons/database-24.png);
}

/** BUTTONS **************************************************/

.ax-button {
    display: inline-block;
    background: #dcdcdc url(../../_img/button-gray.gif) repeat-x 0 -5px;
    border: 1px solid #8a8a8a;
    color: #000 !important;
    text-decoration: none;
    padding: 0px;
    font-size: 11px;
    box-shadow: 0 0 1px #8a8a8a;
    -moz-box-shadow: 0 0 1px #b5b5b5; /* Firefox 3.5+ */
    -webkit-box-shadow: 0 0 1px #8a8a8a; /* Safari, Chrome */
    height: 16px;
    vertical-align: middle;
    text-align: center;
}

.ax-button-15 {
    padding: 0;
    height: 15px;
    width: 15px;
    overflow: hidden;
    line-height: 15px;
}

.ax-button-16 {
    padding: 0;
    line-height: 16px;
}

.ax-button-18 {
    padding: 1px;
    line-height: 16px;
    height: auto;
}

.ax-button-20 {
    padding: 2px;
    line-height: 16px;
    height: auto;
}

.ax-button-24 {
    padding: 4px;
    line-height: 16px;
    height: auto;
    background-position: 0 0;
}

.ax-button span {
    display: inline-block;
    height: 16px;
    padding: 0 5px;
    line-height: 16px;
    vertical-align: middle;
}

.ax-button:hover {
    border-color: #323232;
}

.ax-button:active {
    background-position: 0 -37px;
    box-shadow: 0 0 0 #b5b5b5;
    -moz-box-shadow: 0 0 0 #b5b5b5; /* Firefox 3.5+ */
    -webkit-box-shadow: 0 0 0 #b5b5b5; /* Safari, Chrome */
}

.ax-button-icon-16:active {
    background-position: 0 -40px;
}

.ax-button.ax-state-selected {
    background-color: #8a8a8a;
    background-image: none;
    background-color: #bbbbbb;
    box-shadow: 0 0 0 #8a8a8a;
    -moz-box-shadow: 0 0 0 #8a8a8a; /* Firefox 3.5+ */
    -webkit-box-shadow: 0 0 0 #8a8a8a; /* Safari, Chrome */
}

.ax-button.ax-state-disabled, .ax-button.ax-state-disabled:hover, .ax-button.ax-state-disabled:active {
    background: #dcdcdc url(../../_img/button-gray.gif) repeat-x 0 -5px !important;
    border: 1px solid #8a8a8a !important;
    filter: alpha(opacity=50);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=50)";
    -moz-opacity: 0.5;
    opacity: 0.5;
    cursor: default;
    box-shadow: 0 0 0 #8a8a8a;
    -moz-box-shadow: 0 0 0 #8a8a8a; /* Firefox 3.5+ */
    -webkit-box-shadow: 0 0 0 #8a8a8a; /* Safari, Chrome */
}



/* RS-master *********************************************************/

.h-5 {
    height: 5px;
}

.p-0 {
    padding: 0 !important;
}

.p-v-0 {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}

.p-h-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.a-center {
    text-align: center !important;
}

.a-left {
    text-align: left !important;
}

.a-right {
    text-align: right !important;
}

.v-top {
    vertical-align: top !important;
}

.v-bottom {
    vertical-align: bottom !important;
}

.v-middle {
    vertical-align: middle !important;
}


/** Работа с картами
***********************************************************************/
.window-map-viewport {
    height: 700px;
    height: 500px;
}

.window-map-viewport .frame {
    border: 1px solid gray;
    background: #fff;
    vertical-align: top;
}

.window-map-viewport .map-container {
    height: 100%;
    width: 100%;
}

.window-map-viewport .search-container {
    background: #E0E3E6;
    border-bottom: 1px solid gray;
    padding: 5px;
    line-height: 18px;
}

.window-map-viewport .search-container input.search {
    width: 210px;
    vertical-align: middle;
    white-space: nowrap;
    height: 18px;
    padding: 0;
    margin: 0 2px 0 0;
}

.window-map-viewport .search-result {
    height: 457px;
    overflow: auto;
    padding: 5px;
}

.window-map-viewport .search-result .row {
    padding: 5px;
    border-bottom: 1px dashed silver;
}

.map-point-tooltip {
    padding: 5px;
}

.map-point-tooltip .title {
    padding-bottom: 2px;
    font-weight: bold;
    text-transform: uppercase;
    color: maroon;
}

.map-point-tooltip .row {
    padding: 1px 0;
    white-space: nowrap;
    font-size: 11px;
}

.map-point-tooltip .row b {
    display: inline-block;
    font-weight: bold;
    width: 110px;
}

/** EntryForm ***********************************************/
html.online-entry-form ,
.online-entry-form body{
    background: #ffc56b url("../../_img/themes/optcargo/header-bg.png");
}
header{
    padding: 20px;
    border: 1px solid rgba(73, 31, 7, 0.64);
    -webkit-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow:    0px 0px 8px 0px rgba(0, 0, 0, 0.5);
    box-shadow:         0px 0px 8px 0px rgba(0, 0, 0, 0.5);
}
header .logo-container .logo{
    background-image: url("../../_img/themes/optcargo/logo.png");

}
main .auth-form{
    border: 1px solid rgba(73, 31, 7, 0.64);
    -webkit-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow:    0px 0px 8px 0px rgba(0, 0, 0, 0.5);
    box-shadow:         0px 0px 8px 0px rgba(0, 0, 0, 0.5);
    background-color: rgba(116, 75, 4, 0.26);
}
main .auth-form input{
    border: 1px solid rgba(73, 31, 7, 0.64);
    font-weight: bold;
}

@media screen and (max-width: 780px){
    main .auth-form{
        width: auto;
        padding: 10px 10px 50px 10px;
    }
}
main .auth-form button{
    border: 1px solid rgba(73, 31, 7, 0.64);
    border: 1px solid rgba(73, 31, 7, 0.46);
    background: -moz-linear-gradient(top, rgb(182, 141, 76) 0%, rgb(166, 125, 76) 100%);
    background: -webkit-linear-gradient(top, rgb(182, 141, 76) 0%, rgb(166, 125, 76) 100%);
    background: linear-gradient(to bottom, rgb(182, 141, 76) 0%, rgb(166, 125, 76) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff9442', endColorstr='#ed832d',GradientType=0 );

}