/*
    Copyright 2008, TerraXml, Inc.
    Base stylesheet (without colors)
*/

/*
   Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/
root {
    display: block;
}

body
{
    font-family: Verdana,Arial,sans-serif;
    font-size: 8pt;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}

/* Center gray for "Loading..." */
Div.LoadingMessage {
    width: 100%;
    margin-top: 1.5in;
    margin-bottom: 1in;
    text-align: center;
    font-family: Arial;
    font-size: 24pt;
    font-weight: bold;
    color: #AABBAA;
}


.MessageBoxText {
    padding: 18pt 4pt 12pt 4pt;
    font-size: 10pt;
    text-align: center;
    min-width: 25em;
}

.Header {
    width: 100%;
}

.Footer {
    width: 100%;
}

.Notation
{
    color: Gray;
    font-size: x-small;
}

.NoBreak
{
    white-space: nowrap;
}

.ProductTitleContainer 
{
	width: 50%;
}

/* closer has color specified since it's always gray */
.TabCloser:hover {
    color: red;
    font-weight: bold;
    padding: 0px 0px 0px 0px;
}

.TabCloser {
    color: gray;
    font-size: 8pt;
    padding: 0px 0px 0px 0px;
    z-index: 1;
}


.Center {
    text-align: center;
}

.Title {
    font-size: medium;
    font-weight: bold;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 1em;
}

.Error {
    color: darkred;
}

.Link {
    text-decoration: underline;
    cursor: pointer;
    padding:0.2em 0.1em 0.2em 0.1em;
}

.SubTitle {
    font-size: small;
    font-weight: bold;
    font-style: italic;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.Highlight {
    padding-top: 5px;
    padding-bottom: 3px;
    /* Theme colors may override this */
    background-color: gray;
    color: white;
}

.Match {
    padding: 0px;
    background-color: yellow;
}

.Indent
{
    margin-left: 3em;
}

.IndentBig {
    margin-left: 6em;
}

.BigSideMargins
{
    margin-left: 25%;
    margin-right: 20%;
}

.BigTopMargin {
    margin-top: 15%;
}

.SmallBorder
{
    border-style: solid;
    border-width: 1px;
}

.MediumBorder
{
    border-style: solid;
    border-width: 2px;
}

.Tab, .TabCloser, .Button, .ButtonWarning, .Menu, .MenuItem {
    cursor: pointer;
}

.Menu, .MenuItem {
    position: absolute;  
}

/* This prevents IE from losing focus when selecting menu item */
div.yuimenu div {
    margin: 0;
    background-color: white;
    border: solid 1px lightgrey;
}

.Active {
    cursor:default;
}
.Bold {
    font-weight: bold;
}


/* NOTE: The closer style is good with an X or with a boxed [X] (like &#8999;) */
.Closer {
    color: gray; 
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}

.Closer:hover {
    color: #BB5555;
}

#HeaderLogoutButton, #HeaderAccountButton, #HeaderAboutButton {
    font-size: x-small;
    font-weight: bold;
    display: inline;
    background-color: #666688;
    padding: 1px 4px;
    border-radius: 6px 6px 6px 6px;
    text-decoration: none;
}
#HeaderLogoutButton:hover, #HeaderAccountButton:hover, #HeaderAboutButton:hover {
    cursor: pointer;
    color: #666688 !important;
    background-color: #DDDDDD !important;
}
#HeaderAboutButton {
    display: inline-block;
    margin: 3.5pt 3pt 0pt 1pt;
}
#UserLoginInfoDiv, #ConnectionStatusDiv, #HeaderAboutButton {
    display: inline-block;
    vertical-align: middle;
}
#ConnectionStatusDiv {
    display: inline-block;
    margin-left: 2em;
}
#AboutDiv {
    position: absolute;
    right: 0px;
    height: 100%;
    bottom: 0;
}
#HeaderMainButtonGroup {
    display: inline-block;
    margin-left: 3em;
}
#HeaderPullDownTab {
    display: none;
}
#HeaderUserInfo {
    display: inline-block;
}
#MasterHeader {
    height: 3em;
}
#MasterFooter {
    height: 2em;
    background-color: #111111; 
    color: #EEEEEE;
    position: fixed; 
    left: 0; right: 0; bottom: 0;
    white-space: nowrap;
    vertical-align: middle;
    display: block;
    padding-top: 3.5pt;
    font-size: 8pt;
    font-family: Verdana, Arial, Helv;
    white-space: nowrap;
    z-index: 100;
}
#MasterFooter * {
    color: #EEEEEE;
}
.ButtonSyncStatus {
    border: solid 1px;
    cursor: pointer;
    padding: 0px 2px;
    border-radius: 4px;
}

.ButtonSyncComplete {
    background-color: #569515;
    border-color: transparent;
    color:#FFFFFF !important;
    
}

.ButtonSyncWarning {
    background-color: #F7DE2E;
    border-color: #F7DE2E;
    color:#36301C !important;
    
}

.ButtonSyncError {
    background-color: #D04437;
    border-color: transparent;
    color:#FFFFFF !important;
    font-weight: bold;
    
}

.ConfigList{
    position: relative;
    left: 35px;
    width: 200px;
}

.ConfigObj{
    position: relative;
    top: -475px;
    left: 800px;
    width: 200px;
}




.Button, .ButtonWarning
{
    
    font-size: small;
    font-weight: normal;
    border: solid 1px lightgrey;
    font-family: Tahoma,Arial,Helv,sans-serif;
    text-align: center;
    text-decoration: none;
    padding: 2px 5px 2px 5px;
    cursor: pointer;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}

.Button
{
    filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr='#F3F3F6',EndColorStr='#DDDDDD');
    background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#BBBBC4));
    background: -moz-linear-gradient(top, #FFFFFF, #BBBBC4);
    background: -ms-linear-gradient(top, #FFFFFF, #BBBBC4);
    background: linear-gradient(to bottom, #FFFFFF 20%,#BBBBC4 75%); /* , #7A8A9A 70%, #DDDDEE 100%);*/
}

.ButtonWarning
{
    color: white;
    font-weight: bold;
    border-color: #BB99AA;
    filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr='#BB99AA',EndColorStr='#8C2B33');
    background: -webkit-gradient(linear, left top, left bottom, from(#BB99AA), to(#8C2B33));
    background: -moz-linear-gradient(top, #BB99AA, #8C2B33);
    background: -ms-linear-gradient(top, #BB99AA, #8C2B33);
    background: linear-gradient(to bottom, #BB99AA 30%,#8C2B33 70%); /* , #7A8A9A 70%, #DDDDEE 100%);*/
}

.Button.FontMedium {
    padding: 3px 8px 3px 8px;
}

.Button:hover, .ButtonWarning:hover {
    filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr='#DDDDDD',EndColorStr='#AAAAAA');
    opacity: 0.60;
}

.ButtonContainer {
    text-align: center;
    margin-top: 4pt;
}

.ButtonMinimal
{
    border: solid gray;
    border-width: 1px 1px 1px 1px;
    cursor: pointer;
    font-size: smaller;
    padding: 2px;
    color: #444444;
    z-index: 1;
    background-image: url('/TerraViewWeb/resources/images/ButtonLight.png');
}

.ButtonMinimal:hover
{
    background-color: #AABBAA;
    color: white;
}

/*
  Newer rounded CSS3 based buttons
  NOTE: These are not rounded in IE8, and IE9 cannot have both rounded and gradient
*/
.ButtonRoundedLarge, .ButtonRoundedMedium, .ButtonRoundedSmall, .ButtonRoundedHeading {
   /* IE8 uses this (looks more pronounced making the end color a bit darker) */
   filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr='#F3F3F6',EndColorStr='#DDDDDD');
   background-color: #EEEEEE;

   /* Webkit Compliant -- Chrome, Safari */
   background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#BBBBC4));
   -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0; -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;

   /* Firefox Mozilla gradient */
   background: -moz-linear-gradient(top, #FFFFFF, #BBBBC4);
   /* CSS3 */
   background: linear-gradient(to bottom, #FFFFFF 20%,#BBBBC4 75%); /* , #7A8A9A 70%, #DDDDEE 100%);*/

   /* CSS3 Compliant -- IE9+ IE9 needs all 4 corners specified */
   text-shadow: rgba(0,0,0,.1) 0px 0px 0px;
   box-shadow: 1px 1px 2px rgba(55,55,99,1);
   color: #000044;
   /* Background color if gradient is not applied */
   /* background-color: #EDEDF0; */
   border: solid 1px #E0E0E6;
   font-family: Tahoma,Verdana,Arial,sans-serif;
   text-decoration: none;
   cursor: pointer;
   display: inline-block;
}

/* Lines up images with adjacent inline text if they both have the class */
.ImageTextAlign, .va-middle {
	display: inline-block;
	vertical-align: middle;
}

.ImageShadow {
   /* CSS3 Compliant -- IE9+ IE9 needs all 4 corners specified */
   text-shadow: rgba(0,0,0,.1) 0px 0px 0px;
   box-shadow: 2px 2px 4px rgba(55,55,99,1);
   color: #000044;
   padding: 0pt;
   background-color: transparent;
}

/* Button and Link styles for application header (e.g., View, Publish, Librarian, etc.) */
.ButtonRoundedHeading, .LinkHeading {
	display: inline-block;
}

.ButtonRoundedHeading {
	width: 6em;
	text-align: center;
    padding: 2px;
	/* IE9 has issues supporting gradient and radius */
    border-radius: 6px 6px 6px 6px;
	-webkit-border-radius: 6px; -moz-border-radius: 6px;
    font-size: 8pt;
}

/* Other buttons */
.ButtonRoundedLarge {
   padding: 3px 9px 3px 9px;
   -webkit-border-radius: 9px; -moz-border-radius: 9px;
   border-radius: 9px 9px 9px 9px;
   font-size: 10pt;
}

.ButtonRoundedMedium {
   padding: 2px 6px;
   -webkit-border-radius: 6px; -moz-border-radius: 6px;
   border-radius: 6px 6px 6px 6px;
   font-size: 8pt;
}

.ButtonRoundedSmall {
   padding: 2px 4px;
   -webkit-border-radius: 3px; -moz-border-radius: 3px;
   border-radius: 3px 3px 3px 3px;
   font-size: 7pt;
}

.ButtonActive, .ButtonRoundedLarge:hover, .ButtonRoundedMedium:hover, .ButtonRoundedSmall:hover, .ButtonRoundedHeading:hover {
   /* Firefox */
   background: -moz-linear-gradient(top, #BBBBC4, #FFFFFF);
   /* Chrome, Safari */
   background: -webkit-gradient(linear, left top, left bottom, from(#BBBBC4), to(#FFFFFF));
   /* IE8, IE9 */
   filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr='#BBBBC4',EndColorStr='#FFFFFF');
   /* CSS3 */
   background: linear-gradient(to bottom, #BBBBC4 20%,#FFFFFF 75%); /* , #7A8A9A 70%, #DDDDEE 100%);*/

   /* Default if all gradient filters fail */
   background-color: #BBBBC4;
}

.ButtonActive {
    cursor: default;
}

/* Padding */

.PadBig {
    padding: 5px;
}

.PadTight {
    padding: 2px;
}

.PadNone
{
    padding: 0px;
}

.MediumMargins {
    margin-top: 1em;
    margin-bottom: 1em;
}

.MediumTopMargin {
    margin-top: 1em;
}

.WaitPanelText {
    text-align: center;
    padding: 4px 8px 6px 8px;
    font-size: 10pt;
    font-weight: bold;
    color: gray;
}

/**
  Common Wait Dialog (modified JQuery message box)
  Makes appearance consistent with form wait messages
*/
div[aria-describedby="CommonWaitPanel"] {
    height: 40px !important;
    display: none;
    padding: 0px;
    border-radius: 12px;
    /* CSS3 Compliant -- IE9+ IE9 needs all 4 corners specified */
    box-shadow: 1px 1px 6px rgba(55,55,99,3);
}
div[aria-describedby="CommonWaitPanel"] .ui-widget-header {
    display: block;
    position: absolute;
    right: 0px;
    top: 6px;
    background: none;
    border: none;
}
#CommonWaitPanel nobr {
    font-size: 12pt;
    padding-right: 16px;
    font-weight: bold;
    color: #AAAAAA;
}

.FontSuperBig {
    font-size: large;
}

.FontBig
{
    font-size: medium;
}

.FontMedium
{
    font-size: small;
}

.FontSmall
{
    font-size: x-small;
}

.FontSuperSmall
{
    font-size: xx-small;
}

.FontMono {
    font-family: Lucida Sans Typewriter, Consolas, Lucida Console, Courier New;
}

.Pre {
    white-space: pre-wrap;
}

.CartList {
    margin: 0.25in 0.1in 0.25in 0.1in;
    max-height: 400px;
    overflow: auto;
    border: solid 1px gray;
    background-color: #EEEEEE;
}

.CartButtons {
    text-align: right;
}

.CartItem {
    margin: 0;
    padding: 0;
}
.Row0, .Row1 {
    border-top: solid 1px gray;
    padding: 6pt;
}
.Row0 {
    background-color: lightgray;
}
.Row1 {
    background-color: white;
}

table {
    border-collapse: collapse;
}
table[border] td, table[border] th {
    border: none;
    padding: 3px;
}

table[border="1"] td, table[border="1"] th {
    border: solid 1px;
    padding: 3px;
}

table.collapse 
{
    border-collapse: collapse;
    border-width: 0px;
    padding: 0px;
}

li.ui-menu-item{
    cursor: pointer;
}
/* Allow menu's to overwrite underlying text */
.ui-widget {
    z-index: 100;
}

/* Allow turning off of [X] in headers in CommonDialog */
.no-close .ui-dialog-titlebar-close {
	display: none;
}