﻿/*----------------------------------------------------------
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 {
    margin: 0;
}
a:active
{
    color: #12eb87;
}
input[type="button"][disabled], input[type="submit"][disabled] /*Это специально для Chrome, чтобы неактивные кнопки не выглядели активными*/
{
    color: #A0A0A0;
    text-shadow: 1px 1px 0 #FFF;
}

input[readonly], input[readonly="readonly"]
{
    color: #A0A0A0;
    text-shadow: 1px 1px 0 #FFF;
}

p, ul
{
    margin-bottom: 20px;
    padding: 0px;
    margin: 0;
}

a.errorStatus 
{
    color: Red;
    border-bottom: 1px dashed red;
    text-decoration: none;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6
{
    font-size: 1.5em;
    color: #000;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
}

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;
}

/* this rule styles <h2> tags that are the 
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2
{
    margin-top: 0;
}

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset 
{
    margin:  1em 0 0 5px;
    padding: 1em;
    border: 1px solid #CCC;
}

fieldset p 
{
    margin: 10px 12px 10px 10px;
}

legend 
{
    font-size: 1.1em;
    font-weight: 600;
    padding: 2px 4px 8px 4px;
}
select, input[type="text"], input[type="password"] 
{
    width: 204px;
    border: 1px solid #CCC;
    font: normal normal 14px/16px Arial, Helvetica, sans-serif;
}

button.ui-datepicker-trigger
{
	border: 0;
	background-color: transparent;
	padding: 0;
	vertical-align: middle;
}


input.dateinput
{
    width: 78px;
}

input.dateinput-time
{
    width: 105px;
}

input[type="button"]
{
	border: solid 1px #424B52;   
    background-color: #CACFD3;
    color: #424B52;
    vertical-align: middle;

}
input[type="submit"]
{
	border: solid 1px #424B52;    
    background-color: #CACFD3;
    color: #424B52;
    vertical-align: middle;
}

/* TABLE
----------------------------------------------------------*/

table
{
    border: solid 1px #e8eef4;
    border-collapse: collapse;
}

    table td 
    {
        padding: 5px;   
        border: solid 1px #e8eef4;
    }

    table th
    {
        padding: 6px 5px;
        background-color: #D9DFE3;      
        border: solid 1px #e8eef4;   
        text-align:center;
    }
    /*Стиль rowodd использовался только для раскраски таблиц "зеброй". Если раскраска не понадобится позже, стиль можно удалить*/
    tr.rowodd
    {
        background-color: #DBDBDB;
    }

    tr.total-row
    {
        font-weight: bold;
        background-color: #EAEAEA;
        /*padding: 0;*/
    }

.parameters-table
{
    border: 0;
    border-collapse: collapse;
    background-color: #EFF2F4;
    text-align: center;
}

    .parameters-table td
    {
        border: 0;
        padding: 0 5px 5px 5px;
        text-align: left;
    }
    .parameters-table td.header
    {
        font-weight:bold;
        color:Black;
        padding:3px;
        background-color:#D1CACA;
    } 

.lines 
{
    border: 0;
}
    .lines td
    {
        border: 0;
        border-bottom: 1px solid silver;
    }
    
    td.no-padding 
    {
        padding: 0;
        vertical-align: top;
    }
    
    td.padding2px
    {
        padding: 2px;
    }

.lines-net
{
    border: 0;
}
    .lines-net td
    {
        border: 1px solid silver;
        padding: 1px 5px;
    }  

div.bottom-line
{
    background-color: #EFF2F4;
    background-image: url('/content/images/line_bottom.png');
    background-position: bottom; 
    background-repeat : repeat-x;
    padding: 3px 0 3px 5px;
} 

div.bottom-cell
{
    padding: 2px 0 3px 5px;
}
div.notes-info
{
    position: absolute;
    top: 0;
    right: 0;
    background-image: url('/Content/images/info.png');
    background-repeat: no-repeat;
    width: 12px;
    height: 12px;
}

span.bottom-cell
{
    padding: 2px 0 3px 5px;
}


/* MISC  
----------------------------------------------------------*/
/*.clear
{
    clear: both;
}*/
.clear
{	
    clear: both;
    overflow: hidden;
    height: 0
}

.error
{
    color:Red;
}

.highlighted
{
    color: black;
    font-weight: bold;
}

/* 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-errors ul {
    padding-left: 40px;
}

.validation-summary-valid
{
    display: none;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label,
.editor-label,
.display-field,
.editor-field
{
    margin: 0.5em 0;
}

.text-box
{
    width: 30em;
}

.text-box.multi-line
{
    height: 6.5em;
}

.tri-state
{
    width: 6em;
}

/* Miscellaneous
--------------------------------------------------------*/
img 
{
    border:0;
}
img.loading_img
{
    vertical-align: middle;    
    visibility: hidden;
}
img.loading_blank_img
{
    vertical-align: middle;    
    visibility: hidden;
}
img.icon_img
{
    width: 34px;
    height: 22px;
    clear: both;
}
img.sample_img
{
    width: 34px;
    height: 22px;
    clear: both;
}

.hand
{
    cursor: pointer;
}

.hidden
{
    display: none;
}


#header {
    position: relative;
    z-index: 1;
}

#main {
    position: relative;
    z-index: 0;
}

.panel
{
    position: absolute;
    left: 0px;
    width: 100%;
    z-index: 1;
    background-color: #fff;
    border: 1px solid #ccc;    
}

.panel table tr:hover
{
    background-color: #3399FF;
    color: #fff;
    cursor: pointer;
}

.menu-arrow
{
    float: left; 
    margin: 8px 3px 0px 3px;
}
tr.negative-commission, td.negative-commission
{
    background-color:#FFEEEE;
} 
tr.agent-provider-commission
{
    background-color:#ffd39b;
} 

tr.changed-commission, td.changed-commission
{
    background-color:#effffd;
}
.tip 
{
    color: #424B52;
    font-size:x-small;
}

select#ProviderId option.turnedOff {
    color: darkgray;
}
/* JQUERY STYLES OVERRIDE
----------------------------------------------------------*/
.ui-datepicker { font-size: 95%}

.clean-table
{
    padding: 0; 
    margin: 0; 
    border: 0;
}