﻿/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/
body {
    background-color: #aaa;
    font-size: .85em;
    font-family:Verdana;
    color: #696969;
    background-color:#f3f3f3;
    max-width: 791px;
    margin: 0 auto;
    padding: 0;
}

div
{
    padding:1px 0px 0px 0px;
}

a:link {
    color: #034af3;
    text-decoration: underline;
}

a:visited {
    color: #505abc;
}

a:hover {
    color: #1d60ff;
    text-decoration: none;
}

a:active {
    color: #12eb87;
}

p, ul {
    margin-bottom: 20px;
    line-height: 1.6em;
}

header,
footer,
nav,
section {
    display: block;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-size: 1.5em;
    color: #000;
}

h1 {
    font-size: 1.6em;
    padding-bottom: 0;
    margin-bottom: 0;
}

h2 {
    padding: 0 0 5px 0;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
.page {
    
    margin-left: auto;
    margin-right: auto;
}

header, #header {
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 0;
}

header h1, #header h1 {
    font-weight: bold;
    padding: 5px 0;
    margin: 0;
    color: #fff;
    border: none;
    line-height: 2em;
    font-size: 28px !important;
    text-shadow: 1px 1px 2px #111;
}

#main {
    margin-top:5px;
    -webkit-border-radius: 0 0 0 0;
    -moz-border-radius: 0 0 0 0;
}

footer, 
#footer {
    color: #999;
    padding: 10px 0;
    text-align: center;
    line-height: normal;
    margin: 0 0 30px 0;
    font-size: .9em;
    border-radius: 0 0 4px 4px;
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
}

/* TAB MENU   
----------------------------------------------------------*/
ul#menu {
    padding: 0 0 1px;
    position: relative;
    margin: 0;
    text-align: left;
}

ul#menu li {
    display: inline-block;
    list-style: none;
    float:left;
}

ul#menu li#greeting {
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    color: #fff;
}

ul#menu li a {
    text-decoration: none;
    line-height: 2.0em;
    text-align:center;
    float:left;
    margin:0 2px;
/*    background-color: #e8eef4;*/
    color: #000000;
    /*border-radius: 4px 4px 0 0;*/
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
    /*background:#FFC700;*/
}

ul#menu li a:hover {
    background-color: #fff;
    text-decoration: none;
    /*background:#FFB200;*/
}

ul#menu li a:active {
    background-color: #a6e2a6;
    text-decoration: none;
}

ul#menu li.selected a {
    background-color: #fff;
    color: #000;
}

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset {
    border: 1px solid #ddd;
    /*padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;*/
    padding: 0 1em 1em 1em;
    margin: 0 0 0.5em 0;
}

legend {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom:10px;
}

textarea {
    min-height: 75px;
}

input[type="text"], 
input[type="password"] {

    padding: 2px;
    font-size: 1.2em;
    color: #444;
    width: 200px;
}

select {
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 1.2em;
    color: #444;
}

input[type="submit"], input[type="button"] {
    font-size: 1.2em;
    padding: 5px;
}

input[type="submit"].btn-std, input[type="button"].btn-std {
    width: 200px;
}

/* TABLE
----------------------------------------------------------*/

table {
    border: solid 1px #e8eef4;
    border-collapse: collapse;
}

table td {
    padding: 5px;
    border: solid 1px #e8eef4;
}

table th {
    padding: 6px 5px;
    text-align: left;
    background-color: #e8eef4;
    border: solid 1px #e8eef4;
}

.table-without-border {
    border: none;
    border-collapse: separate;
}

.table-without-border td {
    border: none;
    margin:3px 5px;
    padding:3px;
}

/* MISC  
----------------------------------------------------------*/
.clear {
    clear: both;
}

.error {
    color: Red;
}

nav{
    margin-left: 10px;
    display:inline-block;
    float:left;
}
#menucontainer
{
    /*border-bottom: 1px #000 solid;*/
    padding-bottom:0;
    padding-top:2px;
    padding-left:35px;
    height:27px;
}

#dUnderMenu
{
    display:inline-block;
    width:100%;
    position:absolute;
    bottom:0;
    left:0;
    padding:0;
    margin:0;
}

#dUnderMenu div
{
    height:6px;
    display:block;
    padding:0px;
    margin:0px;
}

#dUnderMenuBegin
{
    width:30px;
    float:left;
    background-color: transparent;
    background-image:url(/Content/themes/images/under_menu.png);
    background-position: 0 -1px;
}

#dUnderMenuMiddle
{
    position:absolute;
    left:30px;
    right:30px;
    background-color: transparent;
    background-image:url(/Content/themes/images/under_menu.png);
    background-position: 0 -9px;
}

#dUnderMenuEnd
{
    width:30px;
    float:right;
    background-color: transparent;
    background-image:url(/Content/themes/images/under_menu.png);
    background-position: 0 -17px;
    float:right;
}

div#title {
    display: block;
    float: left;
    text-align: left;
}

#greeting
{
    font-size: 1.1em;
    text-align: right;
    margin: 2px;
    display:block;
}

#logindisplay {
    font-size: 1.1em;
    text-align: right;
    margin: 2px;
    /*color: white;*/
    float:right;
    display:block;
}

#logindisplay a {
    text-decoration: underline;
}

#logindisplay a:visited {
    text-decoration: underline;
}

#logindisplay a:hover {
    color: darkgrey;
    text-decoration: none;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #ff0000;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors, #validation-summary {
    font-weight: bold;
    color: #ff0000;
    vertical-align:top;
    display:inline-block;
    padding-top:6px;
}

.validation-summary-valid {
    display: none;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label, 
.editor-label {
    margin: 0 0 0 0;
}

.display-field, 
.editor-field {
    margin: 0 0 0 0;
}

.text-box {
    width: 30em;
}

.text-box.multi-line {
    height: 6.5em;
}

.tri-state {
    width: 6em;
}

.ui-state-default 
{
     /*border: 1px solid #d3d3d3 !important;*/
     background: transparent;
}

.ui-block
{
    float:left; 
    width:99%;
    padding:5px;
    margin:3px;
}

.page-header
{
    font-size:18px;
    font-weight:bold;
}

.ui-date-picker
{
    display:inline-block;
    width:110px!important;
    vertical-align:middle;
}

.ui-group-header
 {
      border: 0px solid #d3d3d3 /*{borderColorDefault}*/; 
      background: transparent/*{bgColorDefault}*/ 50%/*{bgDefaultXPos}*/ 50%/*{bgDefaultYPos}*/ repeat-x/*{bgDefaultRepeat}*/;
      font-weight: bold/*{fwDefault}*/;
      font-size:18px;
      color: #cb770c/*{fcDefault}*/;
}

.ui-block-separator
{
    border: 0px !important;
    background: url(/Content/themes/images/separator.png) repeat-x bottom;
}

.ui-datepicker-trigger 
{
    margin-left:-25px;
    margin-right:5px;
    vertical-align : middle;
}

.orderLink
{
    width:108px;
    height:27px;
    background-image: url(/Content/themes/images/menu-tabs/order-tab.png);
}

.ordersReportLink
{
    width:98px;
    height:27px;
    background-image: url(/Content/themes/images/menu-tabs/report-tab.png);
}

.userProfileLink
{
    width:108px;
    height:27px;
    background-image: url(/Content/themes/images/menu-tabs/profile-tab.png);
}

.ordersHistoryLink
{
    width:98px;
    height:27px;
    background-image: url(/Content/themes/images/menu-tabs/report-tab.png);
}

.settingsLink
{
    width:108px;
    height:27px;
    background-image: url(/Content/themes/images/menu-tabs/order-tab.png);
}

.styleSettingLink
{
    width:98px;
    height:27px;
    background-image: url(/Content/themes/images/menu-tabs/report-tab.png);
}

.orderLink:hover, .ordersReportLink:hover, .userProfileLink:hover, .ordersHistoryLink:hover, .settingsLink:hover, .styleSettingLink:hover
{
    background-position: 0 -27px;
}

.orderLink.currentLink, .ordersReportLink.currentLink, .userProfileLink.currentLink, .ordersHistoryLink.currentLink, .settingsLink.currentLink, .styleSettingLink.currentLink
{
    background-position: 0 -54px;
}

.ui-button-base
{
    display:inline-block;
    width:117px;
    height:30px;
    line-height:30px;
    border:none;
    padding:0px !important;
    background-color:transparent;
    background-image:url(/Content/themes/images/addLocationPoint.png);
    text-align:center;
    vertical-align:middle;
    font-size:14px;
    font-weight:normal !important;
    color: #005 !important;
}

.ui-button-base:hover
{
    background-position: 0 -30px;
}

.ui-btn-up-theme-btn-a
{
    background: #ffd400; /* Old browsers */
    background: -moz-linear-gradient(top, #ffd400 0%, #faa000 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffd400), color-stop(100%,#faa000)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ffd400 0%,#faa000 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ffd400 0%,#faa000 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ffd400 0%,#faa000 100%); /* IE10+ */
    background: linear-gradient(to bottom, #ffd400 0%, #faa000 100%) #faa000; /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffd400', endColorstr='#faa000',GradientType=0 ); /* IE6-9 */

    border:#ea8200 solid 1px;
}

.ui-btn-up-theme-btn-a:hover
{
    background: #faa001; /* Old browsers */
    background: -moz-linear-gradient(top, #faa001 0%, #ffd400 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#faa001), color-stop(100%,#ffd400)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #faa001 0%,#ffd400 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #faa001 0%,#ffd400 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #faa001 0%,#ffd400 100%); /* IE10+ */
    background: linear-gradient(to bottom, #faa001 0%, #ffd400 100%) #ffd400; /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#faa001', endColorstr='#ffd400',GradientType=0 ); /* IE6-9 */

    border:#ea8200 solid 1px;
}

.ac_results li, .ac_results li span
{
    color:#202020;
    min-height:25px;
    font-size:14px;
}

#fixedFooter
{
    position: fixed; /* Фиксированное положение */
    left: 0; bottom: 0; /* Левый нижний угол */
    font-size:large;
    width:100%;
    background-color:transparent;
}

#fixedFooter #themeEditModeNotif
{
    text-align:center;
    font-size:large;
    height:104px;
    width:450px;
    background-color:transparent;
    background-image:url(/Content/themes/images/editThemeMode.png);
    background-repeat:no-repeat;
    background-position:center center;
    vertical-align:middle;
    margin:auto;
}

#fixedFooter #themeEditModeNotif span
{
    width:100%;
    margin-left:30px;
    float:left;
    font-family:Verdana;
}

#fixedFooter #themeEditModeNotif #editModeHeader
{
    font-weight:bold;
    font-size:16px;
    color:#ff2a00;
    margin-top:25px;
    margin-left:50px;
    text-transform:uppercase;
}

#fixedFooter #themeEditModeNotif #editModeMain
{
    font-weight:normal;
    font-size:12px;
    color:#737373;
    margin-left:130px;
    width:260px;
}

.table-input-align
{
    width:100%;
}
.table-input-align input[type="text"]
{
    width:100%;
}

#edit_result {
    display: none;
}

.box_msg {
    line-height: 160%;
    padding: 8px 11px;
}

.error_box_msg {
    background: #FCC2C2;
    border: 1px solid #F25151;
}

.ok_box_msg {
    background-color: #BEEEC3;
    border: 1px solid #046F0F;
    display: inline-block;
}

.settings-section input[type="text"], 
.settings-section input[type="password"] {
    width: 300px;
}

.ac_results {
    width: 317px;
}

.ac_results li {
    padding: 0.5em 0.5em !important;
    font-size: 1.0em !important;
    text-shadow: 0 1px 0 rgba(255,255,255, 0.5) !important;
}