﻿body, html {
    padding: 0;
    margin: 0;
    border: 0;
    font-family: 'Segoe UI', Arial, Sans-Serif;
    font-size: 90%;
    background-color: #efefef !important;
}

img {
    border: 0;
}
/*
img:not([width]):not([height]) 
{
    outline: black solid 2px !important;
}
*/

p {
    margin: 0 0 1em 0;
    padding: 1em;
    font-size: .9em;
    line-height: 1.5;
    font-family: Garamond, Times New Roman, Serif;
}

    p img {
        float: left;
        margin: 10px;
    }

select {
    height: 28px;
}

ul.checks {
    margin: 0 1em;
    list-style-image: url(../Images/PNG/16x16/navigate_check.png);
}

input[type="text"], input[type="file"], input[type="password"], textarea {
    border: solid 1px #c9c9c9;
    padding: 2px;
}

input.riTextBox {
    border: solid 1px #c9c9c9 !important;
}

input[type="text"].required, input[type="password"].required, textarea.required, select.required {
    border: solid 1px #fa8a01;
    /*background-image: url(../Images/input_required.gif);*/
}

.required input.riTextBox {
    border: solid 1px #fa8a01;
    /*background-image: url(../Images/input_required.gif) !important;*/
}

input.lgTextBox {
    padding: .5em;
}

input.RadInputMgr, textarea.RadInputMgr {
    background-image: url(../Images/input.gif) !important;
    padding: .5em !important;
}

.validationSummary, .message {
    background-image: url(../Images/red_bg.png);
    background-position: 0 -401px;
    text-align: center;
    font-weight: normal;
    border: solid 1px #999;
    padding: .5em;
    margin: .5em;
    display: block;
}

.informationMessage {
    background-image: url(../Images/green_bg.png);
    background-position: 0 -1px;
    color: White;
    border: solid 1px #aaa;
    padding: .5em;
    margin: .5em;
}

.requiredField {
    background-image: url(../Images/PNG/16x16/information2.png) !important;
    background-repeat: no-repeat;
    background-position: center center;
    font-size: 0;
    padding: 8px;
}

.displayNone /* Used for ASP.NET controls where access to style elements isn't readily available but CssClass is, e.g. RadPanelBar */ {
    display: none !important;
}

.form th {
    text-align: right;
    font-weight: bold;
}

.form select {
    max-width: 300px;
}

#wrapperDiv {
    margin: 0 auto;
}

#headerDiv {
    padding: 0;
}

#sidebarDiv {
    float: left;
    min-width: 200px;
}

#mainDiv {
    float: left;
}

#footerDiv {
    clear: both;
}


/*
http://www.456bereastreet.com/lab/developing_with_web_standards/csslayout/2-col/finished.html
http://elasticss.com/wp-content/uploads/demos/two-column-layout/index.html
used this one (more or less) http://wiki.dreamhost.com/Two-Column_Layout
*/

.autoComplete {
    border: 1px solid buttonshadow;
    margin: 0px;
    padding: 0px;
    text-align: left;
    font-size: .9em;
    white-space: nowrap;
    overflow: hidden;
    list-style-type: none;
    list-style-image: none;
    list-style-position: outside;
    background-color: window;
    color: windowtext;
}

.badge {
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-color: #777;
    border-radius: 10px;
}

.badge-success {
    background-color: #00751d;
}

.recentItems li {
    list-style-image: url(../Images/PNG/16x16/bullet_ball_glass_blue.png);
}

    .recentItems li.call {
        list-style-image: url(../Images/PNG/16x16/mobilephone2.png);
    }

    .recentItems li.mtg {
        list-style-image: url(../Images/PNG/16x16/users3.png);
    }

    .recentItems li.est {
        list-style-image: url(../Images/PNG/16x16/currency_dollar.png);
    }

.RadTabStripTop_Windows7, .RadTabStripTop_Default, .RadTabStripTop_Forest, .RadTabStripTop_Office2010Silver, .RadTabStrip {
    position: relative;
    bottom: -1px !important;
}

.RadTabStripTop_Office2010Blue, .RadTabStripTop_Office2010Black {
    position: relative;
    bottom: 0 !important;
}

.RadTabStripTop_Office2007 {
    position: relative;
    bottom: -1px !important;
}

.RadTabStrip_Office2010Silver .rtsLevel1 {
    background-image: none !important;
}

.RadButton span, .RadButton input {
    cursor: pointer !important;
}


/* Fixes larger size RadButton issues after update */
span.RadButton[style*='height'] {
    padding-top: 20px !important;
    height: 39px !important;
}

span.RadButton .rbSplitPart.rbSplitPartRight {
    height: 39px !important;
    padding-top: 20px !important;
}

.RadButton .rbText {
    padding-left: 5px;
}


.rbVerticalButton .rbSplitRight, .rbVerticalButton .rbSplitLeft {
    height: 37% !important;
}

.RadPanelBar table th {
    white-space: nowrap;
}

.RadToolBar .rtbButton.rtbIconOnly {
    display: inline-table;
}

/* Fixes problem that RadFormDecorator creates with font color */
.RadButton_Web20 .rbDecorated {
    color: white !important;
}


.RadToolBar.rtbOneItem {
    padding: 0;
}

/* Hide drop down arrow for toolbars with one item */
.rtbOneItem .rtbArrow {
    display: none !important;
}

/* Add padding to text for single item toolbars */
.rtbOneItem .rtbText {
    padding-right: 3px !important;
}

table.gridView .RadToolBar .rtbOuter, table.gridView .RadToolBar {
    padding: 0px !important;
}

.rtWrapperContent div {
    padding: .5em;
}

.tabs {
    display: table;
}

.tabArea {
    padding: 1em;
    background-color: White;
    display: block;
}


/* === Buttons === */
.cancelBtn span.rbIcon {
    background-repeat: no-repeat;
    background-image: url(../Images/PNG/16x16/undo.png);
}

.cancelBtnBig span.rbIcon {
    background-repeat: no-repeat;
    background-image: url(../Images/PNG/24x24/undo.png);
}

.deleteBtn span.rbIcon {
    background-repeat: no-repeat;
    background-image: url(../Images/PNG/16x16/delete2.png);
}

.deleteBtnBig span.rbIcon {
    background-repeat: no-repeat;
    background-image: url(../Images/PNG/24x24/delete2.png);
}

.editBtn span.rbIcon {
    background-repeat: no-repeat;
    background-image: url(../Images/PNG/16x16/pencil.png);
}

.editBtnBig span.rbIcon {
    background-repeat: no-repeat;
    background-image: url(../Images/PNG/24x24/pencil.png);
}

.insertBtn span.rbIcon {
    background-repeat: no-repeat;
    background-image: url(../Images/PNG/16x16/add2.png);
}

.insertBtnBig span.rbIcon {
    background-repeat: no-repeat;
    background-image: url(../Images/PNG/24x24/add2.png);
}

.saveBtn span.rbIcon.rbIcon {
    background-repeat: no-repeat;
    background-image: url(../Images/PNG/16x16/disk_green.png);
}

.saveBtnBig span.rbIcon {
    background-repeat: no-repeat;
    background-image: url(../Images/PNG/24x24/disk_green.png);
}

.calendarBtn .rbPrimary, .findBtn .rbPrimary /*, .pagerBtn .rbPrimary*/ {
    padding-left: 14px !important;
}

.pagerBtn .rbIcon {
    background-position-y: 3px;
}

.calendarBtn span.rbIcon {
    background-repeat: no-repeat;
    background-image: url(../Images/PNG/16x16/calendar.png);
}

.findBtn span.rbIcon {
    background-repeat: no-repeat;
    background-image: url(../Images/PNG/16x16/find.png);
}

span.rbPrimaryIcon {
    left: 7px !important;
}

/* ===== GROUP: GridView ===== */
div.grid {
    /*border: solid 1px #eee;*/
}

table.gridView {
    border-collapse: collapse;
    margin: 10px 0;
}

    table.gridView tr {
        line-height: 1.8;
    }

    table.gridView td {
        padding-left: 3px;
        padding-right: 3px;
    }

    table.gridView table td, table.gridView table th {
        /* reset the values for any tables within the .gridView */
        padding-left: 0px;
        padding-right: 0px;
        border-top: 0px none;
        border-bottom: 0px none;
    }

    table.gridView th {
        text-align: center;
        vertical-align: bottom;
        padding-right: 8px;
        padding-left: 3px;
        font-weight: normal;
        border-width: 1px 0;
        border-style: solid;
    }

        table.gridView th a {
            text-decoration: none;
            color: black;
        }

            table.gridView th a:hover {
                text-decoration: underline;
            }

            table.gridView th a.textButton:hover {
                text-decoration: none;
            }

    table.gridView tr:hover {
    }

    table.gridView table tr:hover {
        /* reset the values for any tables within the .gridView */
        background-color: Transparent;
        background-image: none;
    }

    table.gridView tr.selected {
        background-color: #3c3;
        background-image: url(../Images/hay_bg_light.png);
        background-position: 0 center;
        /*background-repeat: repeat-x;*/
        color: Black;
    }

    table.gridView tr.pager td {
        line-height: 1.3;
    }

    table.gridView tr.pager a, table.gridView tr.pager span {
        margin-left: 2px;
        margin-right: 2px;
        padding: 3px;
        font-size: 1.1em;
        color: Black;
    }

    table.gridView tr.pager input[type="text"] {
        width: 25px !important;
    }

    table.gridView tr.empty td {
        border: solid 1px #ccc;
        font-weight: bold;
    }

.selected {
    background-image: url(../Images/hay_bg_light.png);
}

.detailsView {
    width: 100%;
}


.sectionHeader {
    color: Black;
    padding: .4em;
    margin: .5em 0;
}

    .sectionHeader img {
        vertical-align: middle;
    }
