*
{
    margin: 0;
    padding: 0;
}

p.p {
    margin:1em;
}

a, a:hover, a:visited, a:active
{
    color: Black;
}

select, textarea, input
{
    font-size: 11px;
    font-family: tahoma;
}

.readOnlyColor
{
}

form
{
    padding: 0px;
    margin: 0px;
}

html
{
    /*     background-image: url('../Images/gradient_bg_1x500.gif');     background-position: top;     background-repeat: repeat-x;*/
    height: 100%;
    max-height: 100%;
    margin: 0;
    padding: 0;
    overflow: auto;
}

body
{
    height: 100%;
    margin: 0px;
    padding: 0px;
    color: Black;
    font-family: Tahoma;
    font-size: 11px;
    background-color: #efefe5;
}

img
{
    border: 0px;
}

.startDatePopup
{
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    position: fixed;
    top: 40%;
    left: 40%;
    z-index: 10000;
    padding: 5px;
    background-color: #e6eef5;
    border: solid 4px #105b9e;
    height: 50px;
    width: 280px;
}

.userPopup
{
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    position: fixed;
    top: 40%;
    left: 40%;
    z-index: 10000;
    padding: 5px;
    background-color: #e6eef5;
    border: solid 4px #105b9e;
    height: 120px;
    width: 280px;
}

#menuRow {
    height: 40px;
    /*background-image: url('../Images/top_border_filler.gif');*/
    background-color:#2f6ea4 ;
    position: fixed;
    top: 0px;
    right: 0px;
    width: 100%;
    z-index: 5;
}

#clientIdForm
{
    float: left;
    margin-top: 2px;
}

#MainContentPane
{
    position: absolute;
    display: block;
    z-index: 1;
    width: 100%;
    top: 40px;
    background-color: #efefe5;
}

.menuGroup
{
    min-height: 60px;
    display: none;
}

div#line
{
    height: 2px;
    clear: both;
    background-color: #cfdfec;
}

div.forms
{
    float: left;
    width: auto;
    padding: 2px;
}

div.noFloat
{
    float: none;
    text-align: center;
}

div.forms input, div.forms select
{
    display: block;
    width: 100px;
    float: left;
    margin-top: 2px;
    margin-right: 3px;
    border: solid 1px #7f9db9;
}

div.forms input.a4halfwidth
{
    display: block;
    width: 180px;
    float: left;
    margin-top: 2px;
    margin-right: 5px;
    border: solid 1px #7f9db9;
}

div.forms input.a4width
{
    display: block;
    width: 400px;
    float: left;
    margin-top: 2px;
    margin-right: 5px;
    border: solid 1px #7f9db9;
}

div.noFloat input.GeneralButtonSmall
{
    float: none;
    display: inline;
}

div.forms textarea
{
    display: block;
    width: 250px;
    margin-top: 2px;
    margin-right: 3px;
}


div.forms label
{
    width: 130px;
    padding: 0px;
    display: block;
    float: left;
    margin-top: 3px;
    margin-right: 20px;
    text-align: right;
}

div.forms textarea.a4halfwidth
{
    display: block;
    width: 180px;
    margin-top: 2px;
    margin-right: 2px;
}

div.forms textarea.a4width
{
    display: block;
    width: 400px;
    margin-top: 2px;
    margin-right: 5px;
}

div.forms select
{
    height: 17px;
    width: auto;
    float: left;
    margin-right: 3px;
}

div.forms select.listBox
{
    height: auto;
    width: auto;
}

div.forms span.radio input, div.forms span.radio label
{
    width: auto;
    height: 17px;
}

span.checkBoxMarginBottom input
{
    padding: 0px;
    margin: 0px;
}

div.forms span.checkbox input
{
    width: auto;
    height: 17px;
}

div.forms label.alignLeftLabel
{
    text-align: left;
    width: auto;
    margin-right: 5px;
}

div.forms label.alignLeftLabelNarrow
{
    text-align: left;
    width: 60px;
    margin-right: 5px;
}

div.forms input.zipCode
{
    width: 40px;
}

div.forms input.locality
{
    width: 101px;
}

div.forms br
{
    clear: both;
}

div.forms label.notDisplayFromDate
{
    display: none;
}

div.forms input.notDisplayFromDate
{
    display: none;
}

div.notDisplayFromDate input
{
    display: none;
}


table.list
{
    color: Black;
    background-color: White;
    width: 98%;
    border-collapse: collapse;
    text-align: left;
    clear: both;
}

table.list tr th, table.list tr td
{
    padding: 1px 5px 1px 5px;
    vertical-align: top;
    white-space: nowrap;
}

table.list tr td.alignRightNoMargin
{
    text-align: right;
    padding: 1px 0px 1px 10px;
}

table.list tr th
{
    color: Black;
    font-weight: bold;
    background-color: #e6eef5;
    text-align: left;
}

table.list caption
{
    color: #336699;
    font-size: 12px;
    text-align: left;
    font-weight: bold;
    margin-bottom:4px;
}

td.selectColumn
{
    width: 30px;
}

table.list tr.listOdd
{
    color: Black;
    background-color: #efefe5;
}

table.list tr.listFooter
{
    font-weight: bold;
    color: Black;
    background-color: #e6eef5;
}

tr.listGrandTotal
{
    font-weight: bold;
    color: Black;
    background-color: White;
}

table.list td.codeName
{
    width: 120px;
}

tr.statDataHeader
{
    font-weight: bold;
    color: Black;
    background-color: White;
}

tr.statDataFooter
{
    font-weight: bold;
    color: Black;
    background-color: #eeeee2;
}

table.list tr.hover
{
    background-color: #e6eff6;
    cursor: pointer;
}

table.list tr td.BoldCell
{
    font-weight: bold;
}

table.list tr.listSelected
{
    background-color: #105b9e;
    color: White;
}

.HeaderText
{
    clear: both;
    font-size: 1.5em;
    padding: 0px 0px 0px 4px;
    margin-top: 10px;
}

img.actual
{
    cursor: pointer;
    width: auto;
    height: auto;
    z-index: 99;
    border: 1px solid #000000;
}

img.thumbnail
{
    cursor: pointer;
    width: 20px;
    height: 20px;
}


/*Style till popup fönster för sökning av kontrollavgift*/
.select-free
{
    position: fixed;
    left: 15%;
    top: 20%;
    z-index: 10000; /*overflow: hidden;*/
    width: 865px;
}

/*Style till popup fönster för sökning av kontrollavgift*/
.select-free div#content
{
    padding: 30px 10px 0 10px;
    display: block;
    z-index: 10001;
    height: auto;
    background-color: #cfdfec;
    border: solid 1px black;
    width: 865px; /*height:200px;*/
}

.select-free-unsized
{
    position: fixed;
    left: 15%;
    top: 20%;
    z-index: 10000;
}

/*Style till popup fönster för sökning av kontrollavgift*/
.select-free-unsized div#content, .select-free-unsized div.content
{
    padding: 30px 10px 0 10px;
    display: block;
    z-index: 10001;
    height: auto;
    background-color: #cfdfec;
    border: solid 1px black;
}

.popup-free
{
    position: fixed;
    right: 12%;
    top: 15%;
    z-index: 10000;
    width: 300px;
}
.popup-free div#content
{
    padding: 0px 20px 40px 20px;
    display: block;
    z-index: 10001;
    height: 55px;
    background-color: #cfdfec;
    border: solid 1px black;
    width: 300px;
}

.infoBoxFree
{
    border: solid 1px black;
    background-color: #cfdfec;
    padding: 5px;
}

.box
{
    margin-bottom: 10px;
    height: auto;
    border-bottom: solid 2px #cfdfec;
}

.box div.caption
{
    font-size: 13px;
    background-color: #cfdfec;
    padding: 1px 1px 1px 3px;
}

.box div.mainContentShowMode
{
    width: 100%;
    background-color: White;
    padding-bottom: 3px;
}

.box div.mainContentEditMode .paddingRight
{
    padding-right: 3px;
}

.box div.mainContentEditMode
{
    width: 100%;
    background-color: #e6eef5;
    padding-bottom: 3px;
}

.box div.mainContentShowMode div.forms input
{
    border: 0;
    background-color: White;
    margin-top: 3px;
}

.box div.mainContentShowMode div.forms span
{
    font-weight: bold;
    width: 100px;
    margin-right: 3px;
}

.box div.mainContentShowMode div.forms label
{
    font-weight: bold;
    width: 80px;
    margin-right: 2px;
}


.readonly
{
    border: 0;
    background-color: #efefe5;
}

.readonlyWithBorder
{
    background-color: #efefe5;
    border: solid 1px #cbcbc1;
}

div.forms input.readonly
{
    background-color: #efefe5;
    border: solid 1px #cbcbc1;
}

.photoList
{
    float: left;
    list-style: none;
    width: 100px;
    vertical-align: top;
    padding: 0;
    margin: 4px 0 0 0;
}

.photoList a
{
    text-decoration: none;
    color: #0f5da2;
    font-weight: bold;
}

div.forms span.checkbox input
{
    border: 0;
}

.longInput
{
    background-color: rgb(227,239,189);
}

.longInput input
{
    width: 200px;
}

label.blockLabel
{
    display: block;
    float: left;
    width: 105px;
}

div.forms input.imageButton
{
    width: auto;
    height: auto;
    border: 0;
}

div.forms input.radio
{
    width: auto;
    border: none;
    padding: 0;
    margin: 0;
    height: 12px;
    margin: 4px 0 0 2px;
}

#summaryBox label, #summaryBox span, #summaryBox input
{
    width: 40px;
    padding: 0px;
    display: block;
    float: left;
    margin: 3px 5px 0px 2px;
}

#summaryBox img
{
    float: left;
    margin-right: 3px;
}

#summaryBox br
{
    clear: both;
}

#summaryBox .formButton
{
    text-align: center;
}

.ButtonSmall
{
    text-decoration: none;
    background-color: #105B9E;
    border: solid 1px #7f9db9;
    color: White;
    cursor: pointer;
    padding: 1px 5px 0px 5px;
    padding-top: 1px;
    padding-bottom: 0px;
    font-weight: bold;
    height: auto;
    width: auto;
    font-size: 9px;
    margin-top: 0px;
}



.Button, a.Button
{
    border: solid 1px #7f9db9;
    color: White;
    cursor: pointer;
    padding: 3px 5px 2px 5px;
    background-color: #105b9e;
    font-weight: bold;
    height: auto;
    width: auto;
    text-decoration: none;
}


a.Button
{
    margin-right: 30px;
    padding-left: 7px;
    padding-right: 7px;
    background-color: White;
    color: #0b3e6c;
}

.ButtonCurrent
{
    border: none;
    color: Black;
    cursor: pointer;
    padding-top: 3px;
    padding-bottom: 2px;
    background-color: #cfdfec;
    font-weight: bold;
    height: auto;
}

.ButtonSmallCurrent
{
    border: none;
    color: black;
    cursor: pointer;
    padding-top: 1px;
    padding-bottom: 0px;
    background-color: #cfdfec;
    font-weight: bold;
    height: auto;
    width: auto;
    font-size: 9px;
}

div.longlabels label
{
    width: 230px;
}

div.shortlabels label
{
    width: 70px;
    margin-right: 1px;
}

div.longInputs input
{
    width: 230px;
}

div.error
{
    padding: 10px;
    border-color: Red;
    border-style: solid;
    border-width: 2px;
    color: Blue;
    font-weight: bold;
    background-color:#fff;
}

div.info
{  
    padding: 15px;
    color: Blue;
    border: none;
    background-color: #FFFACD;
    font-family: Verdana;
    font-size: 11px;
    font-weight:normal;    
}

input.formButtonNormal, input.formButtonSmall, input.formButtonWide
{
    margin-top: 2px;
    background-color: White;
    border: 0;
    color: #0b3e6c;
    font-weight: bold;
    height: 19px;
    cursor: pointer;
    text-align: center;
}

input.formButtonSmall
{
    width: 35px;
    background-image: url('../images/button35x19.gif');
}

input.formButtonNormal
{
    width: 59px;
    background-image: url('../images/button59x19.gif');
}

input.formButtonWide
{
    width: 91px;
    background-image: url('../images/button91x19.gif');
}

#summaryBox div.debtColAmountBox
{
    padding: 2px;
    border: solid 1px #105b9e;
    float: left;
}

#summaryBox label.debtColLabel, #summaryBox span.debtColLabel
{
    width: 50px;
    margin: 0;
    padding: 0;
}

#summaryBox div.debtColAmountBox label.bold, #summaryBox div.debtColAmountBox span.bold
{
    font-weight: bold;
}

.registerRow
{
    clear: both;
    margin-top: 5px;
    height: 30px;
}

.registerRow input
{
    width: 100px;
}

.registerRow input.img
{
    width: 10px;
}

.registerLongField
{
    float: left;
    width: 240px;
}

.registerLongField input
{
    width: 200px;
}

.registerFieldRight
{
    margin-left: 500px;
}

.registerButtonField
{
    margin-bottom: 15px;
    position: absolute;
    bottom: 0;
}

.registerField
{
    float: left;
    width: 130px;
}

.registerContent
{
    padding: 5px;
    display: inline-block;
    width: 100%;
}

.registerSearchContent
{
    padding: 5px;
}

.registerWindow
{
    background-color: white;
    width: 720px;
    border: solid 2px #cfdfec;
}

.registerLargeWindow
{
    background-color: white;
    width: 99%;
    border: solid 2px #cfdfec;
}

.registerHeader
{
    background-color: #e6eef5;
    padding: 5px;
}

.validationFields
{
    clear: both;
}

.validationFields span
{
    white-space: nowrap;
}

table tr th.statListHeader
{
    text-align: right;
}

.validatorCalloutHighlight
{
    border: solid 2px red;
}

.callout div, .customCalloutStyle td
{
    /*Den här*/
    border: none;
    background-color: #FFFACD;
}
.callout .ajax__validatorcallout_popup_table
{
    display: none;
    border: none;
    background-color: Transparent;
    padding: 0px;
}
.callout .ajax__validatorcallout_popup_table_row
{
    /*Den här*/
    border: none;
    color: Blue;
    vertical-align: top;
    height: 100%;
    background-color: #FFFACD;
    padding: 0px;
}
.callout .ajax__validatorcallout_callout_cell
{
    width: 20px;
    height: 100%;
    text-align: right;
    vertical-align: top;
    border: none;
    background-color: Transparent;
    padding: 0px;
}
.callout .ajax__validatorcallout_callout_table
{
    height: 100%;
    border: none;
    background-color: Transparent;
    padding: 0px;
}
.callout .ajax__validatorcallout_callout_table_row
{
    background-color: Transparent;
    padding: 0px;
}
.callout .ajax__validatorcallout_callout_arrow_cell
{
    padding: 8px 0px 0px 0px;
    text-align: right;
    vertical-align: top;
    font-size: 1px;
    border: none;
    background-color: Transparent;
}
.callout .ajax__validatorcallout_callout_arrow_cell .ajax__validatorcallout_innerdiv
{
    font-size: 1px;
    position: relative;
    left: 1px;
    border-bottom: none;
    border-right: none;
    border-left: none;
    width: 15px;
    background-color: Transparent;
    padding: 0px;
}
.callout .ajax__validatorcallout_callout_arrow_cell .ajax__validatorcallout_innerdiv div
{
    height: 1px;
    overflow: hidden;
    border-top: none;
    border-bottom: none;
    border-right: none;
    padding: 0px;
    margin-left: auto;
}
.callout .ajax__validatorcallout_error_message_cell
{
    font-family: Verdana;
    font-size: 10px;
    padding: 5px;
    border-right: none;
    border-left: none;
    width: 100%;
}
.callout .ajax__validatorcallout_icon_cell
{
    width: 20px;
    padding: 5px;
    border-right: none;
}
.callout .ajax__validatorcallout_close_button_cell
{
    vertical-align: top;
    padding: 0px;
    text-align: right;
    border-left: none;
}
.callout .ajax__validatorcallout_close_button_cell .ajax__validatorcallout_innerdiv
{
    /*Den här*/
    background-color: #FFFACD;
    border: none;
    text-align: center;
    width: 10px;
    padding: 2px;
    margin: 1px 6px 4px 4px;
    cursor: pointer;
}

span.checkbox label
{
    margin-left: 5px;
}


.grid
{
    /*border: solid 2px #a5a4bd;*/
    font-family: Tahoma;
    font-size: 12px; /*width: 600px;*/
}
.grid H2
{
    /*background: #8988a5 url(Assets/img/title-bg.gif);             border-bottom: solid 1px #57566f;             height: 28px;             line-height: 28px;             margin: 0px;             padding: 0px 0px 0px 5px;             color: #fff;             font-size: 15px;*/
}
.grid TABLE
{
    /*width: 600px;*/
    border: solid 2px #e6eef5;
    padding-bottom: 20px;
}
/* grid headers */.grid TABLE .head TH
{
    /*background: #e9e9eb  url(Assets/img/header-bg.gif);*/
    background: #e6eef5;
    height: 20px;
    line-height: 20px;
    padding: 2px 20px 2px 0px; /*color: #666666;*/
    text-align: left;
}
.grid TABLE .head TH.first
{
    width: 0px;
}
.grid TABLE .subHead TH
{
    /*background: #e9e9eb  url(Assets/img/header-bg.gif);*/
    background: #fff;
    height: 20px;
    line-height: 20px;
    padding: 2px 20px 2px 0px; /*color: #666666;*/
    text-align: left;
}
.grid TABLE .subHead TH.first
{
    background: #fff;
    width: 0px;
}
/* group header */.grid TABLE .group TH
{
    padding: 2px 20px 2px 0px;
    color: #666666;
    text-align: left;
    border-bottom: solid 2px #eae9e1;
}
.grid TABLE .group TH.first
{
    text-align: center;
    border-bottom: none;
}
/* data items */.grid TABLE .item TD
{
    padding: 2px 20px 2px 0px;
    border-bottom: solid 1px #eae9e1;
    color: #222222;
}
.grid TABLE .item TD.first
{
    padding: 2px 20px 2px 0px;
    border-bottom: none;
    color: #222222;
}
.hidden
{
    display: none;
    visibility: hidden;
}
