﻿/*----------------------------------------------------------
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: #5c87b2;
    font-size: .85em;
    font-family: "Trebuchet MS", Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    color: #696969;
}


a:hover {
    color: #FFFFFF;
    text-decoration: none;
    background-color: #009999;
}

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: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}

h2 {
    padding: 0 0 10px 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 {
    width: 98%;
    margin-left: auto;
    margin-right: auto;
}

.pageName {
    font-weight: bold;
    padding: 5px 20px;
    margin: 0;
    color: #fff;
    border: none;
    line-height: 2em;
    font-size: 20px !important;
    text-shadow: 1px 1px 2px #111;
    display: block;
    max-width: 1000px;
}

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: 32px !important;
        text-shadow: 1px 1px 2px #111;
    }

#main {
    /*margin-top: 170px;*/
    padding: 30px 30px 15px 30px;
    background-color: #fff;
    border-radius: 4px 0 0 0;
    -webkit-border-radius: 4px 0 0 0;
    -moz-border-radius: 4px 0 0 0;
}

.divMenu {
    margin-top: 160px;
}

footer, #footer {
    background-color: #fff;
    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 {
    border-bottom: 1px #5C87B2 solid;
    padding: 0 0 2px;
    margin: 0;
    text-align: right;
}

    ul#menu li {
        display: inline;
        list-style: none;
    }

        ul#menu li#greeting {
            padding: 10px 20px;
            font-weight: bold;
            text-decoration: none;
            line-height: 2.8em;
            color: #fff;
        }

        ul#menu li a {
            padding: 10px 20px;
            font-weight: bold;
            text-decoration: none;
            line-height: 2.8em;
            background-color: #e8eef4;
            color: #034af3;
            border-radius: 4px 4px 0 0;
            -webkit-border-radius: 4px 4px 0 0;
            -moz-border-radius: 4px 4px 0 0;
        }

            ul#menu li a:hover {
                background-color: #fff;
                text-decoration: none;
            }

            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;
}

legend {
    font-size: 1.2em;
    font-weight: bold;
}

textarea {
    min-height: 20px;
}

input[type="text"], input[type="password"] {
    border: 1px solid #ccc;
    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"] {
    font-size: 1.2em;
    padding: 5px;
}

/* 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;
    }

/* MISC  
----------------------------------------------------------*/
.clear {
    clear: both;
}

.error {
    color: Red;
}

nav, #menucontainer {
    margin-top: 40px;
}

div#title {
    display: block;
    float: left;
    text-align: left;
}

#logindisplay {
    font-size: 1.1em;
    display: block;
    text-align: right;
    margin: 10px;
    color: White;
}

    #logindisplay a:link {
        color: white;
        text-decoration: underline;
    }

    #logindisplay a:visited {
        color: white;
        text-decoration: underline;
    }

    #logindisplay a:hover {
        color: white;
        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 {
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid {
    display: none;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label, .editor-label {
    margin: 1em 0 0 0;
}

.display-field, .editor-field {
    margin: 0.5em 0 0 0;
}

.text-box {
    width: 30em;
}

    .text-box.multi-line {
        height: 6.5em;
    }

.tri-state {
    width: 6em;
}

/*Manual*/
.ListGoods, .ListContainer {
    width: 100%;
}

    .ListGoods td, .ListGoods th, .chkvalues td, .chkvalues th {
        border: none;
    }

    .ListGoods tr {
        border-bottom-style: solid;
        border-bottom-width: 1px;
        border-bottom-color: #000000;
    }

    .ListGoods td {
        vertical-align: top;
        height: 30px;
    }

.ListContainer {
    border: 2px solid #000000;
}

.ItemAction {
    width: 120px;
    text-align: right;
}

.ItemPrice {
    width: 80px;
    text-align: center;
}

.ItemStatus {
    width: 150px;
}

.ItemActionLink {
    border: 2px solid #0000FF;
    display: block;
    background-color: #5c87b2; /*height: 25px;*/
    color: #FFFFFF !important;
    text-align: center;
    padding: 5px;
    text-decoration: none;
    cursor: pointer;
}

    .ItemActionLink:hover {
        color: #FFFFFF;
        text-decoration: none;
        background-color: #009999;
    }

a {
    text-decoration: none;
}

.Err {
    color: red;
    font-weight: bold;
}

.StaffInfoContainer {
    border: 1px solid #000000;
    float: right;
    width: 300px;
    background-color: #009999;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px;
}

/*Характеристики в карточке товара*/
.funcGroup {
    font-weight: bold;
    font-size: 150%;
}



.PropContainer {
    border: 1px dotted #5c87b2;
    padding: 10px;
    margin-bottom: 30px;
}

.funcProp {
    margin-left: 10px;
    margin-bottom: 20px;
}

    .funcProp label {
        font-size: 120%;
    }

    .mask {
        font-size: 90%;
        color: #8585ad;
    }

    .funcProp textarea {
        width: 100%;
        /**/ height: 20px;
    }

    .funcProp select {
        min-width: 200px;
        margin-left: 20px;
        font-size: 100%;
    }

.SubPropContainer {
    padding: 10px; /*background-color: #009999;*/
}

    .SubPropContainer textarea {
    }

.chkvalues {
    width: 100%;
    margin: 0;
}

    .chkvalues tr td {
        padding: 1px 0 2px 0;
    }
/*.chkvalues div
{
    float: left;
    padding: 2px;
    min-width: 150px;
}*/
.PropContainer input[type="text"] {
    width: 30px;
    text-align: right;
}

.itemLabelCount {
    font-weight: bold;
    color: purple;
    padding-left: 15px;
    padding-right: 15px;
}

.itemCount {
    border: 1px solid #006;
    background: #ffc;
}

/*fileupload*/
#workfield {
    float: left;
    overflow: hidden;
    width: 100%;
}

#content {
    margin-left: 300px;
    padding: 50px;
    background-color: #FFFFFF;
}

#img-container {
    margin-top: 30px;
    min-width: 400px;
    min-height: 300px;
    border: 4px solid steelblue;
}

.highlighted {
    border: 4px solid gold !important;
}

#img-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

    #img-list li {
        margin: 10px;
        /*float: left;*/
        width: 152px;
        /*height: 90px;*/
        text-align: center;
        /*border: 1px solid #888888;*/
        display: inline-block;
    }

    #img-list div.progress {
        width: 150px;
        border: 1px solid #888888;
        height: 18px;
        text-align: center;
        background-image: url('../img/pbar_bgr.png');
        background-repeat: no-repeat;
        background-position: -150px center;
    }

.MainPhoto {
    /*border: 1px solid red;*/
    float: left;
    min-width: 200px;
}

.notMainPhoto {
    float: left;
    min-width: 200px;
}

.loadImage {
    padding-top: 20px;
    clear: both;
}

.MainPhoto a, .notMainPhoto a, .MainPhoto span {
    display: block;
    height: 18px;
    padding: 8px;
    vertical-align: middle;
}

.top {
    width: 100%;
    /*height: 120px;*/
    position: fixed;
    left: 0px;
    top: 0px;
    _position: absolute;
    _top: expression( 0 + eval(document.documentElement.scrollTop||document.body.scrollTop) + 'px' );
    background: #5c87b2;
}
.close {
    margin-top: 30px;
    height: 50px;
    font-weight: bold;
}
.selected {
    color: red;
    font-weight: bold;
}
/*paginator*/
.pages_container{
	position: relative;
	height: 60px;
}
#pages{
	position: relative;
 height: 68px;
 padding-left: 36px;
 font-size: 14px;
 margin: 12px 0 0 0;
}
#pages a{
	color: #5B5035;
}
.pages-inner{
	height: 43px;
	padding: 25px 0 0 0;
}
#pages-nav{
	margin: 0px 0 10px;
	font-size: 14px;
}
#pages-nav span{
	padding: 0 20px 0 0;
}
#pages-nav span.inactive{
	color: #B3A575;
}
.pages-selector{
	position: relative;
	
}
#pages ul, #pages ul li{
	list-style: none;
	padding: 0;
	margin: 0;
}
#pages ul{
	/*position: absolute;
	top:0;
	right:0;*/
	display: inline;
}
#pages ul li{
	display: inline;
	padding-left: 7px;
}
#pages ul li.sel a{

	padding: 2px 5px;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	background: #F5B814;

	text-decoration: none;
}
#pages .pages_count{
	display: inline-block;
	margin-left: 10px;
	color: #B3A575;
}
#pages .pages_count a{
	color: #B3A575;
}
@media all and (max-width: 1200px){
	#pages .pages_count{
		display: none;
	}
}

.isnumeric {
    color: red;
    font-size: smaller;
}
.breakRange {
    margin-left: 50px;
}

.fixMoney {
	position: fixed;
	bottom: 10px;
	right: 10px;
	z-index: 999;
	width: auto !important;
	color: white !important;
}

.disable, .disable span, .disable input, .disable select, .disable textarea  {
	color: lightgray;
}