﻿/* The menu adapter renders an unordered list (ul) in HTML for each tier in the menu. */
/* So, effectively says: style all tiers in the menu this way... */
div.toolbar div.PrettyMenu ul
{
    /*background:blue;*/
}

/* This rule effectively says: style all tiers EXCEPT THE TOP TIER in the menu this way... */
/* In other words, this rule can be used to style the second and third tiers of the menu without impacting */
/* the topmost tier's appearance. */
div.toolbar div.PrettyMenu ul.AspNet-Menu ul
{
    width: 10.5em;
    left: 8.9em;
    top: -1em;
    z-index: 400;
}

div.toolbar div.PrettyMenu ul.AspNet-Menu ul ul
{
    width: 11.5em;
    left: 10.4em;
}

/* The menu adapter generates a list item (li) in HTML for each menu item. */
/* Use this rule create the common appearance of each menu item. */
div.toolbar div.PrettyMenu ul.AspNet-Menu li
{
    /*background:#BBEB86 url(img/bg_menu.gif) repeat-x;*/
	background-color:Black;    
}

/* Within each menu item is a link or a span, depending on whether or not the MenuItem has defined it's */
/* NavigateUrl property. By setting a transparent background image here you can effectively layer two images */
/* in each menu item.  One comes from the CSS rule (above) governing the li tag that each menu item has. */
/* The second image comes from this rule (below). */
div.toolbar div.PrettyMenu ul.AspNet-Menu li a,
div.toolbar div.PrettyMenu ul.AspNet-Menu li span
{
    color: white;
    padding: 3px 2px 2px 8px;
    
    background: transparent url(img/arrow.png) right center no-repeat;
    padding-right:20px;
    font-size:0.9em;
    
    border-right: solid 1px #E7E7E7;
    
}

/* When a menu item contains no submenu items it is marked as a "leaf" and can be styled specially by this rule. */
div.toolbar div.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Leaf a,
div.toolbar div.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Leaf span
{
    background-image: none;
}

/* When you hover over a menu item, this rule comes into play. */
/* Browsers that do not support the CSS hover pseudo-class, use JavaScript to dynamically change the */
/* menu item's li tag so it has the AspNet-Menu-Hover class when the cursor is over that li tag. */
/* See MenuAdapter.js (in the JavaScript folder). */
div.toolbar div.PrettyMenu ul.AspNet-Menu li:hover, 
div.toolbar div.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Hover
{
    background-color:#999966;
}

div.toolbar div.PrettyMenu ul.AspNet-Menu li:hover a, 
div.toolbar div.PrettyMenu ul.AspNet-Menu li:hover span, 
div.toolbar div.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Hover a,
div.toolbar div.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Hover span,
div.toolbar div.PrettyMenu ul.AspNet-Menu li:hover li:hover a, 
div.toolbar div.PrettyMenu ul.AspNet-Menu li:hover li:hover span, 
div.toolbar div.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover a,
div.toolbar div.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover span,
div.toolbar div.PrettyMenu ul.AspNet-Menu li:hover li:hover ul a:hover, 
div.toolbar div.PrettyMenu ul.AspNet-Menu li:hover li:hover ul span.Asp-Menu-Hover, 
div.toolbar div.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover ul a:hover,
div.toolbar div.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover ul span.Asp-Menu-Hover
{
    color: white;
}

div.toolbar div.PrettyMenu ul.AspNet-Menu li:hover ul a, 
div.toolbar div.PrettyMenu ul.AspNet-Menu li:hover ul span, 
div.toolbar div.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Hover ul a,
div.toolbar div.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Hover ul span,
div.toolbar div.PrettyMenu ul.AspNet-Menu li:hover li:hover ul a, 
div.toolbar div.PrettyMenu ul.AspNet-Menu li:hover li:hover ul span, 
div.toolbar div.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover ul a,
div.toolbar div.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover ul span
{
    color: white;
    border-bottom: solid 1px #E7E7E7;
    border-top: solid 1px #E7E7E7;
}

/* While you hover over a list item (li) you are also hovering over a link or span because */
/* the link or span covers the interior of the li.  So you can set some hover-related styles */
/* in the rule (above) for the li but set other hover-related styles in this (below) rule. */
div.toolbar div.PrettyMenu ul.AspNet-Menu li a:hover,
div.toolbar div.PrettyMenu ul.AspNet-Menu li span.Asp-Menu-Hover
{
    color: white;
    background: transparent url(img/arrow-active.png) right center no-repeat;
}

div.toolbar div.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Leaf a:hover
{
    background-image: none;
}


/* When the Menu control's Orientation property is Horizontal the adapter wraps the menu with DIV */
/* whose class is AspNet-Menu-Horizontal. */
/* Note that the example menu in this web site uses absolute positioning to force the menu to occupy */
/* a specific place in the web page.  Your web site will likely use a different technique to position your */
/* menu.  So feel free to change all the properties found in this CSS rule if you clone this style sheet. */
/* There is nothing, per se, that is magical about these particular property value choices.  They happen to */
/* work well for the sample page used to demonstrate an adapted menu. */

div.toolbar div.PrettyMenu .AspNet-Menu-Horizontal
{
    font-size:1.0em;    
}

/* This rule controls the width of the top tier of the horizontal menu. */
/* BE SURE TO MAKE THIS WIDE ENOUGH to accommodate all of the top tier menu items that are lined */
/* up from left to right. In other words, this width needs to be the width of the individual */
/* top tier menu items multiplied by the number of items. */
div.toolbar div.PrettyMenu .AspNet-Menu-Horizontal ul.AspNet-Menu
{
/*    width: 45em;*/
}

/* This rule effectively says: style all tiers EXCEPT THE TOP TIER in the menu this way... */
/* In other words, this rule can be used to style the second and third tiers of the menu without impacting */
/* the topmost tier's appearance. */
/* Remember that only the topmost tier of the menu is horizontal.  The second and third tiers are vertical. */
/* So, they need a much smaller width than the top tier.  Effectively, the width specified here is simply */
/* the width of a single menu item in the second and their tiers. */
div.toolbar div.PrettyMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul
{
    width: 11.5em;
    left: 0;
    top: 100%;
}

div.toolbar div.PrettyMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul ul
{
    top: 2.0em;
}

div.toolbar div.PrettyMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul ul
{
    width: 11.5em;
}

/* Generally, you use this rule to set style properties that pertain to all menu items. */
/* One exception is the width set here.  We will override this width with a more specific rule (below) */
/* That sets the width for all menu items from the second tier downward in the menu. */
div.toolbar div.PrettyMenu .AspNet-Menu-Horizontal ul.AspNet-Menu li
{	
    width: 12em;
    text-align:left;
}

/* This rule establishes the width of menu items below the top tier.  This allows the top tier menu items */
/* to be narrower, for example, than the sub-menu items. */
/* This value you set here should be slightly larger than the left margin value in the next rule. See */
/* its comment for more details. */
div.toolbar div.PrettyMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul li
{
	font-size:1.0em;			
    text-align:left;
    width: 100%;
}

div.toolbar div.PrettyMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul ul li
{
    width: 11.5em;
}

/* Third tier menus have to be positioned differently than second (or top) tier menu items because */
/* they drop to the side, not below, their parent menu item. This is done by setting the last margin */
/* value (which is equal to margin-left) to a value that is slightly smaller than the WIDTH of the */
/* menu item. So, if you modify the rule above, then you should modify this (below) rule, too. */
div.toolbar div.PrettyMenu .AspNet-Menu-Horizontal ul.AspNet-Menu li ul li ul
{
    margin: -2em 0 0 11.5em;
}

.PrettyLogin
{
    width: 28em;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    background-color:White;
}

.PrettyLogin .AspNet-Login
{
    padding: 4px;
    border: solid 1px #284775;
}

.PrettyLogin .AspNet-Login label,
.PrettyLogin .AspNet-Login input
{
/*   color: #5D7B9D;*/
}
.PrettyLogin .AspNet-Login label
{
    color:#666;
}

.PrettyLogin .AspNet-Login input
{
    /* removed - as using bootstrap panel

    font-size: 1em;  
    background-color: #F5F9FF;    
    */
}

/* This rule is used when AutoAccessKey is true */
.PrettyLogin .AspNet-Login label em
{
    text-decoration: underline;
    font-style: normal;
}

.PrettyLogin .AspNet-Login .AspNet-Login-TitlePanel
{
    font-weight: bold;
    color: #F7F6F3;
    background-color: #999966;
    text-align: center;
    height: 2.0em; /*1.7em;*/
    margin-bottom: 0.3em;
    padding-top: 0.4em;
}

.PrettyLogin .AspNet-Login .AspNet-Login-FailurePanel
{
    /* removed - as using bootstrap panel
	border-top:1px solid black;
	margin-top:5px;
	padding-top: 5px;
    height: 4em;
    color: #990000;
    */
}

.PrettyLogin .AspNet-Login .AspNet-Login-UserPanel,
.PrettyLogin .AspNet-Login .AspNet-Login-PasswordPanel,
.PrettyLogin .AspNet-Login .AspNet-Login-RememberMePanel,
.PrettyLogin .AspNet-Login .AspNet-Login-SubmitPanel
{
    padding: 0.25em 0.1em 0 0;
}

.PrettyLogin .AspNet-Login .AspNet-Login-UserPanel,
.PrettyLogin .AspNet-Login .AspNet-Login-PasswordPanel,
.PrettyLogin .AspNet-Login .AspNet-Login-SubmitPanel
{
}
.PrettyLogin .AspNet-Login .AspNet-Login-PasswordPanel
{
	margin-top:5px;
}

.PrettyLogin .AspNet-Login .AspNet-Login-SubmitPanel
{
	text-align:right;
}
.PrettyLogin .AspNet-Login .AspNet-Login-SubmitPanel input
{
	margin:5px;
}

.PrettyLogin .AspNet-Login .AspNet-Login-UserPanel label,
.PrettyLogin .AspNet-Login .AspNet-Login-PasswordPanel label
{
    white-space: nowrap;
    width:10em;
    display:block;
    float:left;
    text-align:right;
    padding-right:10px;
    line-height: 1.8em;
}

.PrettyLogin .AspNet-Login .AspNet-Login-UserPanel input
{
    width: 15em;
}
.PrettyLogin .AspNet-Login .AspNet-Login-PasswordPanel input
{
    width: 7em;
}
.PrettyLogin .AspNet-Login .AspNet-Login-RememberMePanel
{
	margin: 10px 0px 10px 0px;
}

.PrettyLogin .AspNet-Login .AspNet-Login-RememberMePanel input
{
	margin-left:11em;
}

.NoThanks-PrettyLogin .AspNet-Login .AspNet-Login-SubmitPanel input
{
    background: #284775;
    color: #00FFFF;
    border: solid 1px #5D7B9D;
    height: 1.7em;
}

.PrettyLogin .AspNet-Login .AspNet-Login-InstructionPanel,
.PrettyLogin .AspNet-Login .AspNet-Login-HelpPanel,
.PrettyLogin .AspNet-Login .AspNet-Login-PasswordPanel,
.PrettyLogin .AspNet-Login .AspNet-Login-RememberMePanel,
.PrettyLogin .AspNet-Login .AspNet-Login-CreateUserPanel,
.PrettyLogin .AspNet-Login .AspNet-Login-PasswordRecoveryPanel
{
}

.PrettyGridView .AspNet-GridView
{
}

.PrettyGridView .AspNet-GridView div.AspNet-GridView-Pagination,
.PrettyGridView .AspNet-GridView div.AspNet-GridView-Pagination a,
.PrettyGridView .AspNet-GridView div.AspNet-GridView-Pagination span
{
    color: white;
    background: #C3C3A5;
    font-weight: normal;
    padding: 2px;
}
.PrettyGridView .AspNet-GridView div.AspNet-GridView-Pagination span,
.PrettyGridView .AspNet-GridView div.AspNet-GridView-Pagination a:hover
{
	background-color:#EEEEEE;
	color:#5D7B9D;
	padding:0px 2px 0px 2px;
}

.PrettyGridView .AspNet-GridView table
{
	width:100%;
    border: solid 1px #CCCCCC;
}

.PrettyGridView .AspNet-GridView table thead tr th
{
    color: black;
    font-weight: bold;
    background-color:#C3C3A5;
    border-bottom: solid 1px black;
    border-right: solid 1px black;
    padding: 2px;
}

.PrettyGridView .AspNet-GridView table thead tr th a
{
    color: #F7F6F3;
}

.PrettyGridView .AspNet-GridView table tbody tr td
{
    color: #333333;
    background: White;
    padding: 2px 20px 2px 2px;
    border-bottom: solid 1px #CCCCCC;
    border-right: solid 1px #CCCCCC;
}

.PrettyGridView .AspNet-GridView table tbody tr.AspNet-GridView-Alternate td
{
    background: #F7F6F3;
}

.PrettyGridView .AspNet-GridView table tbody tr.AspNet-GridView-Selected td
{
}

.PrettyGridView .AspNet-GridView table tfoot tr td
{
}

/* Please refer to FormViewExample.css for comments on these rules. */
.PrettyDetailsView div.AspNet-DetailsView-Header
{
    color: #F7F6F3;
    background-color: #5D7B9D;
    font-weight: bold;
    padding: 4px 0 4px 4px;
    position:relative;
}

/* Each field defined for the DetailsView generates an individual list item (li) in the rendered HTML. */
/* Each li effectively is a row in a table (though no table tag is generated by the adapter). */
.PrettyDetailsView div.AspNet-DetailsView-Data li
{
    padding: 3px 0 2px 4px;
    /*color: #333333;*/
    vertical-align: middle;
    min-height:1.4em; /* ADDED for Firefox */
}

.PrettyDetailsView div.AspNet-DetailsView-Data li input
{
	font-size: 0.9em;
}

.PrettyDetailsView div.AspNet-DetailsView-Data li.wide_field input
{
	width: 250px;
}

/* Every other field is marked as being "Alternate." */
/* This allows you to define an "alternating row" style (though the adapter doesn't actually generate an HTML table). */
/*.PrettyDetailsView div.AspNet-DetailsView-Data li.AspNet-DetailsView-Alternate
{
    background-color: #F7F6F3;
}*/

/* This corresponds to the HeaderText attribute of an <asp:BoundField>. */
.PrettyDetailsView span.AspNet-DetailsView-Name
{
    position:absolute;
    top: 3px;
    left: 0;
    /*font-weight: bold;*/
}

/* This corresponds to the DataField attribute of an <asp:BoundField>. */
.PrettyDetailsView span.AspNet-DetailsView-Value
{
    margin-left:220px; 
}

/* --------------------------------------------------------------------------------------------------- */
/* Please refer to FormViewExample.css for comments on these rules. */
.PrettyDetailsView .AspNet-DetailsView-Pagination
{
    background-color: #284775;
    text-align:center;
    padding: 4px 0 4px 0;
    position:relative;
}

.PrettyDetailsView .AspNet-DetailsView-ActivePage
{
    color: White;
    margin-left: 4px;
}

.PrettyDetailsView .AspNet-DetailsView-OtherPage
{
    color: #00FFFF;
    text-decoration:none;
    margin-left: 4px;
}

