/**************************************************************
   Visit studio7designs.com for more layouts and downloads for this template!
 **************************************************************/

/*********************************************************
   HTML Elements
 *********************************************************/

html, body
{
    height: 100%;
}

.bodyMain
{
    margin: 0;
    padding: 0;
    text-align: center;
    font: 400 0.7em verdana, arial, sans-serif;
    line-height: 170%;
    margin-top: 0px;
    color: #444;
    background: #e0e0e0 url(images/bg/bodybackground.jpg) repeat-y top center;
}

.bodyBlack
{
    margin: 0;
    padding: 0;
    text-align: center;
    font: 400 0.7em verdana, arial, sans-serif;
    line-height: 170%;
    margin-top: 0px;
    color: #555;
    height: 100% !important;
    background: #000 url(images/bg/bodybackground-black.jpg) !important;
}

.bodyWhite
{
    margin: 0;
    padding: 0;
    text-align: center;
    font: 400 0.7em verdana, arial, sans-serif;
    line-height: 170%;
    margin-top: 0px;
    color: #555;
    height: 100% !important;
    background-color: White !important;
    margin-bottom: 0px !important;
}

/* Headers */
h1, h2, h3, h4, h5, h6
{
    margin: 5px 0 15px 0;
    padding: 0;
}


h1
{
    padding-bottom: 0.2em;
    font: 400 1.6em verdana, arial, sans-serif;
    color: #660000; /*#536C71;*/
    border-bottom: 3px solid #ddd;
}

h2
{
    font-size: 1.2em;
    color: #660000; /*#586B7A; */
}

h3
{
    text-transform: uppercase;
    font-size: 0.9em;
    color: #5D6F73;
}

h4
{
    font-size: 0.85em;
}

h5
{
    font-size: 0.8em;
}


/* Needed to horizontally pad in a coloured container */
.horzPad h1, .horzPad h2, .horzPad h3, .horzPad h4, .horzPad h5, .horzPad p
{
    padding-left: 5px;
    padding-right: 5px;
}


/* Links */
a
{
    text-decoration: none;
    color: #7a7a7a;
}

a:hover
{
    color: #b30003;
}

a img
{
    border: 0;
}

a img.border
{
    border: 1px solid #000;
}

a:hover img.border
{
    /* Fixes IE bug - IE doesn't correctly apply the style on a:hover so need to mask it */
    border: 1px solid #668FA3 !important;
    border: 1px solid #FC3307;
}



/* Images */
img.floatRight
{
    margin: 5px 0 10px 10px;
}

img.floatLeft
{
    margin: 5px 10px 10px 0;
}



/* Lists */
ul li
{
    list-style-image: url(images/bg/submenu1.gif);
}

ol li
{
    font-weight: bold;
    color: #668FA3;
}

ol li span
{
    font-weight: normal;
    color: #444;
}



/* Blockquote */
blockquote
{
    margin: 0;
    padding: 0 20px;
    background: #eee;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}



/**************************************************************
   Form Elements
 **************************************************************/

form
{
    padding: 0;
    margin: 0;
    height: 100% !important;
}

/* If you're finding the input elements get pushed down, increase the width */

label.caption
{
    float: left;
    width: 50%;
    vertical-align: top;
}

input.loginTextbox, input.loginButton
{
    vertical-align: middle;
    color: #333;
    font: 400 10px verdana, serif;
    height: 12px;
    width: 80px !important;
    border: solid 1px;
    border-right: solid 1px #999;
    border-bottom: solid 1px #999;
    border-top: solid 1px #ccc;
    border-left: solid 1px #ccc;
}

input.radio
{
    background: none;
    border: 0px;
}

fieldset input, fieldset textarea, fieldset select, fieldset img
{
    /*width:200px;*/
    width: auto;
    margin: 5px 0 0 10px;
}

input.textbox, select.dropdown, input.button, textarea
{
    color: #333; /*margin:5px 0 0 10px;*/
    font: 400 11px verdana, serif;
}

input.textbox, select.dropdown, textarea
{
    border: solid 1px;
    border-right: solid 1px #999;
    border-bottom: solid 1px #999;
    border-top: solid 1px #ccc;
    border-left: solid 1px #ccc;
}

table.gridview
{
    background-color: #eee;
}

table.gridview td, table.gridview th, table.gridview td.fieldHeader
{
    padding: 2px;
    padding-left: 5px;
    padding-right:5px;
}

table.gridview td a
{
    text-decoration: none;
    color: Maroon !important;
}

table.gridview tr.selected
{
    color:#111!important;
    background-color: #aaa!important;
    padding: 2px;
    padding-left: 5px;
}

/************************************
    Fieldset Formatting
************************************/

form fieldset
{
    /* clear: both; note that this clear causes inputs to break to left in ie5.x mac, commented out */
    padding: 10px; /* padding in fieldset support spotty in IE */
    margin: 0;
    border: 0;
}

fieldset label.caption, fieldset span.caption
{
    display: block; /* block float the labels to left column, set a width */
    float: left;
    width: 120px;
    padding: 0;
    margin: 5px 0 0; /* set top margin same as form input - textarea etc. elements */
    text-align: right;
}

fieldset span
{
    width: auto;
    margin-left: 10px;
}

fieldset input, fieldset textarea, fieldset select, fieldset img
{
    /*width:200px;*/
    width: auto;
    margin: 5px 0 0 10px;
}

fieldset input.formTextbox, fieldset select.formDropDown, fieldset input.formButton, fieldset input.formButtonInline, fieldset textarea, input.button, input.textbox, textarea
{
    color: #333; /*margin:5px 0 0 10px;*/
    font: 400 11px verdana, serif;
}

fieldset input.formTextbox, fieldset select.formDropDown, fieldset textarea, input.textbox
{
    border: solid 1px;
    border-right: solid 1px #999;
    border-bottom: solid 1px #999;
    border-top: solid 1px #ccc;
    border-left: solid 1px #ccc;
}

input.hiddenTextbox, textarea.hiddenTextbox
{
    color: #222;
    font: 500 11px verdana, serif;
    border: solid 1px #fff !important;
    width: 350px;
}


fieldset input.formButton
{
    width: 207px;
}

fieldset input#reset
{
    margin-left: 0px; /* set margin-left back to zero on reset button (set above) */
}

fieldset textarea
{
    overflow: auto;
}

fieldset small
{
    display: block;
    margin: 0 0 5px 160px; /* instructions/comments left margin set to align w/ right column inputs */
    padding: 1px 3px;
    font-size: 88%;
}

fieldset .required
{
    font-weight: bold;
}
/* uses class instead of div, more efficient */

fieldset br
{
    clear: left; /* setting clear on inputs didn't work consistently, so brs added for degrade */
}

/************************************************************
    DATA GRID FORMATTING
************************************************************/

.locked, .working, .unlocked
{
    font-size: 14px;
    font-weight: bolder;
}

.locked
{
    color: #c65454;
}

.working
{
    color: gray;
}

.unlocked
{
    color: green;
}

span.status_success, span.status_fail, span.status_warning, span.status_info, span.status_alarmGreen, span.status_alarmAmber, span.status_alarmRed
{
    font-family: Verdana, helvetica, Sans-Serif;
    font-size: 1em !important;
    padding-left: 70px;
    padding-right: 5px;
    padding-top: 7px;
    padding-bottom: 7px;
    font-size: 12px;
    clear: both;
    vertical-align: middle;
    min-height: 30px;
    margin-top: 10px;
    margin-bottom: 10px;
}

span.status_success
{
    background: url(images/icon_success.gif) honeydew no-repeat 20px 50%;
    color: Green !important;
    border: solid 2px green;
    display: block;
}

span.status_fail
{
    background: url(images/icon_error.gif) linen no-repeat 20px 50%;
    color: Maroon !important;
    border: solid 2px Maroon;
    display: block;
}

span.status_warning
{
    background: url(images/icon_warning.gif) #ffffcc no-repeat 20px 50%;
    color: #996633 !important;
    border: solid 2px Peru;
    display: block;
}

span.status_info
{
    background: url(images/icon_info.gif) #fafafa no-repeat 20px 50%;
    color: #0099ff !important;
    border: solid 2px #66ccff;
    display: block;
}

span.status_alarmAmber
{
    background: url(images/icon_alarm.gif) #fff no-repeat 20px 50%;
    color: sienna !important;
    border: solid 2px orange;
    display: block;
}

span.status_alarmRed
{
    background: url(images/icon_alarm.gif) #fff no-repeat 20px 50%;
    color: Red !important;
    border: solid 2px Red;
    display: block;
}

span.status_alarmGreen
{
    background: url(images/icon_alarm.gif) #fff no-repeat 20px 50%;
    color: Green !important;
    border: solid 2px Green;
    display: block;
}

span.status_hide
{
    display: none;
}

div.status_alarm
{
    font-family: Verdana, helvetica, Sans-Serif;
    font-size: 1em !important;
    padding: 10px;
    margin: 10px;
    vertical-align: top;
    border: orange 2px solid;
    background-color: #ffffcc;
    color: sienna;
}

div.status_alarm img
{
    float: left;
    padding-right: 8px;
    padding-bottom: 5px;
}

/************************************************************
    Contact Details
************************************************************/

div.contactHeaderContainer
{
    display: block;
    clear: both;
    height: 74px;
    background: #f3f3f3;
    border: solid 2px #ddd;
    padding: 10px;
}

div.contactHeader
{
    height: 74px;
    vertical-align: baseline;
    float: left;
    overflow: hidden;
}

div.contactHeader div.photo
{
    border: solid 2px #ddd;
    float: left;
    height: 70px;
    width: 70px;
    overflow: hidden;
}

div.contactHeader div.photo img
{
    /*height:70px;*/
}

div.contactHeader span.displayName
{
    font-family: Helvetica, Arial, Sans-Serif;
    color: #555;
    font-size: 26px;
    float: left;
    margin-left: 10px;
    line-height: 35px;
    width: 265px; /*font-weight:bolder;*/
    overflow: hidden;
    letter-spacing: 1px;
}

div.contactHeader div.upload
{
    float: left;
    margin-left: 10px;
    width: 265px;
    vertical-align: bottom;
    padding-top: 10px;
    overflow: hidden;
}


div.contactDetailsAction
{
    margin-bottom: 15px;
}

div.contactDetailsAction a.close
{
    color: maroon;
    font-size: 18px;
    font-weight: bold;
    padding-left: 2px;
    padding-right: 2px;
    float: right;
}

div.linksContainer
{
    padding-left: 10px;
    float: right;
}

div.linksContainer a
{
    display: block;
    vertical-align: middle;
    padding-left: 40px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 14px;
    background-color: #fafafa;
    color: #666;
}

div.linksContainer a.call, div.linksContainer a.callDisabled
{
    background: url(images/calllogs.gif) no-repeat 10px 50%;
}


div.linksContainer a.sms, div.linksContainer a.smsDisabled
{
    background: url(images/sms.gif) no-repeat 10px 50%;
    margin-top: 10px;
}

div.linksContainer a.sms, div.linksContainer a.call
{
    color: Maroon;
}
