/*
TACTonline Application Styles 

Karl Glasgow
code@keg4.com

2013/01
*/


/* 
Set the base font size based upon the device's screen width */
@media (min-width: 858px)
{
    html
    {
        font-size: 13px;
    }
}

@media (min-width: 780px)
{
    html
    {
        font-size: 11px;
    }
}

@media (min-width: 702px)
{
    html
    {
        font-size: 10px;
    }
}

@media (min-width: 724px)
{
    html
    {
        font-size: 9px;
    }
}

@media (max-width: 623px)
{
    html
    {
        font-size: 8px;
    }
}

body
{
    margin: 0px;
    padding: 0px;
    text-align: center;
    font-family: MyriadPro-Regular, 'Myriad Pro Regular' , MyriadPro, 'Myriad Pro' , Helvetica, Arial, sans-serif;
    font-size: 1em;
}

form
{
    margin: 0px;
    padding: 0px;
}

table
{
    font-family: MyriadPro-Regular, 'Myriad Pro Regular' , MyriadPro, 'Myriad Pro' , Helvetica, Arial, sans-serif;
    font-size: 1em;
}

img
{
    display: block;
    border: none;
}

a
{
    outline: none;
    text-decoration: none;
}

p
{
    line-height: 1.25em;
}


/*
Primary page container */
#Page
{
    margin: 0px auto;
    width: 95%;
    min-width: 623px;
    max-width: 1900px;
    background: #FFFFFF;
    text-align: left;
}


/*
Header logo */
img#Logo
{
    margin: 2% 4% 2% 2.5%;
    width: 225px;
}


/*
Main navigation */
#MainNav
{
    background: #231F20;
    padding: 0px 5%;
    box-shadow: 0px 5px 8px #B4B5B7;
    overflow: hidden;
    z-index: 5;
}

#MainNav a
{
    float: left;
    display: inline-block;
    margin: 0px;
    border: solid 1px #4D4D4F;
    background: #231F20;
    padding: 5px 15px;
    color: #FFFFFF;
    font-size: 1.8em;
    font-weight: 400;
}

#MainNav a:hover, #MainNav a.Selected
{
    border: solid 1px #FFFFFF;
    background: #FFFFFF;
    color: #231F20;
}

.MainNavCurrent
{
    border: solid 1px #FFFFFF !important;
    background: #FFFFFF !important;
    color: #231F20 !important;
}

#MainNav a img
{
    float: left;
    margin: 0 5px 0px 0px;
}

#MainNav #Option_Home
{
    background: #231F20 url(../imgs/icon_Home-off_24w22h.png) no-repeat 10px center;
    padding: 5px 15px 5px 40px;
}

#MainNav #Option_Home:hover, #MainNav #Option_Home.Selected
{
    border: solid 1px #FFFFFF;
    background: #FFFFFF url(../imgs/icon_Home-on_24w22h.png) no-repeat 10px center;
}

#MainNav #Option_Library
{
    background: #231F20 url(../imgs/icon_Library-off_15w13h.png) no-repeat 10px center;
    padding: 5px 15px 5px 40px;
}

#MainNav #Option_Library:hover, #MainNav #Option_Library.Selected
{
    border: solid 1px #FFFFFF;
    background: #FFFFFF url(../imgs/icon_Library-on_15w13h.png) no-repeat 10px center;
}

#MainNav #Option_Abstracts
{
}

#MainNav #Option_SearchAbstracts
{
    background: #231F20 url(../imgs/icon_Search-off_21w20h.png) no-repeat 10px center;
    padding: 5px 15px 5px 40px;
}

#MainNav #Option_SearchAbstracts:hover, #MainNav #Option_SearchAbstracts.Selected
{
    border: solid 1px #FFFFFF;
    background: #FFFFFF url(../imgs/icon_Search-on_21w20h.png) no-repeat 10px center;
}

#MainNav #Option_SearchBook
{
    background: #231F20 url(../imgs/icon_Search-off_21w20h.png) no-repeat 10px center;
    padding: 5px 15px 5px 40px;
}

#MainNav #Option_SearchBook:hover, #MainNav #Option_SearchBook.Selected
{
    border: solid 1px #FFFFFF;
    background: #FFFFFF url(../imgs/icon_Search-on_21w20h.png) no-repeat 10px center;
}

/* 
Sub-navigation */
#SubNav
{
    background: #E7E8E9;
    box-shadow: 0px 5px 8px #B4B5B7;
    padding: 0px 5%;
    overflow: hidden;
    z-index: 10;
}

#SubNav a
{
    float: left;
    display: inline-block;
    margin: 0px;
    border: solid 1px #FDFDFD;
    background: #E7E8E9;
    padding: 5px 15px;
    color: #231F20;
    font-size: 1.8em;
}

#SubNav a:hover
{
    background: #F8F8F9;
    color: #231F20;
}

#SubNav a.Selected
{
    background: #F8F8F9;
    color: #231F20;
}

.SubNav
{
    background: #E7E8E9;
    box-shadow: 0px 5px 8px #B4B5B7;
    padding: 0px 5%;
    overflow: hidden;
    z-index: 10;
}

.SubNav a
{
    float: left;
    display: inline-block;
    margin: 0px;
    border: solid 1px #FDFDFD;
    background: #E7E8E9;
    padding: 5px 15px;
    color: #231F20;
    font-size: 1.8em;
}

.SubNav a:hover
{
    background: #F8F8F9;
    color: #231F20;
}

.SubNav a.Selected
{
    background: #F8F8F9;
    color: #231F20;
}


/*
Buttons */
a.Button, input[type='submit'].Button, input[type='Button'].Button, button
{
    display: inline-block;
    border: solid 1px #5B5C5E;
    background: #5B5C5E;
    padding: 3px 30px;
    box-shadow: 5px 5px 8px #B4B5B7;
    color: #F9F9F9;
    font-size: 1.8em;
    font-weight: 600;
}

a.Button:hover
{
    border: solid 1px #5B5C5E;
    background: #7D7E7F;
    color: #FFFFFF;
}

.Link
{
    color: #1B75BC;
    font-weight: 500;
    text-decoration: none;
    text-transform: none;
    font-size: 1.9em;
}

span.DocIdxLabel
{
    color: #1B75Bc;
    font-weight: 500;
    text-decoration: none;
    text-transform: none;
}

/*
Data label */
.DataLabel
{
    display: block;
    color: #231F20;
    font-size: 1.9em;
    font-weight: 600;
    text-transform: uppercase;
}

.DataLabel a
{
    color: #1B75BC;
    font-weight: 500;
    text-decoration: none;
    text-transform: none;
}

.DataLabel a:hover
{
    color: #1B75BC;
    text-decoration: underline;
    text-transform: none;
}

.Controls
{
    margin: 10px 0px 20px 0px;
}

.FieldLabel
{
    color: #231F20;
    font-size: 1.6em;
    font-weight: 600;
}

.TextField
{
    display: block;
    border: solid 1px #989A9D;
    margin: 0px 20px 10px 0px;
    height: 2.2em;
    box-shadow: 3px 3px 5px #B4B5B7;
    background: #DADCDD;
    padding: 0.3em;
    color: #1B75BC;
    font-size: 1.5em;
    font-weight: 400;
}

.TextAreaField
{
    display: block;
    border: solid 1px #989A9D;
    margin: 0px 20px 10px 0px;
    box-shadow: 3px 3px 5px #B4B5B7;
    background: #DADCDD;
    padding: 0.3em;
    color: #1B75BC;
    font-size: 1.5em;
    line-height: 1.3em;
    font-weight: 400;
    resize: none;
}


.DropdownField
{
    display: inline-block;
    border: solid 1px #989A9D;
    margin: 0px 20px 10px 0px;
    box-shadow: 3px 3px 5px #B4B5B7;
    background: #DADCDD;
    padding: 0.3em;
    color: #1B75BC;
    font-size: 1.5em;
    font-weight: 400;
}

.CheckboxField
{
    display: inline-block;
    border: solid 1px #989A9D;
    margin: 0px 10px 10px 0px;
    box-shadow: 3px 3px 5px #B4B5B7;
    background: #DADCDD;
    padding: 0px;
    color: #1B75BC;
    font-size: 1.5em;
    font-weight: 400;
}

.RadioButtonField
{
    display: inline-block;
    border: solid 1px #989A9D;
    margin: 0px 10px 10px 0px;
    box-shadow: 3px 3px 5px #B4B5B7;
    background: #DADCDD;
    padding: 0px;
    color: #1B75BC;
    font-size: 1.5em;
    font-weight: 400;
}

.SearchField
{
    display: block;
    border: solid 1px #989A9D;
    margin: 0px 20px 10px 0px;
    height: 2.2em;
    box-shadow: 3px 3px 5px #B4B5B7;
    background: #DADCDD url(../imgs/bkgrd_Search_30w20h.png) no-repeat right center;
    padding: 2px 5px;
    color: #1B75BC;
    font-size: 1.5em;
    font-weight: 400;
}

.InputField
{
    display: block;
    border: solid 1px #989A9D;
    margin: 0px 20px 10px 0px;
    height: 2.2em;
    box-shadow: 3px 3px 5px #B4B5B7;
    background-image: none;
    background-color: #DADCDD;
    padding: 2px 5px;
    color: #1B75BC;
    font-size: 1.5em;
    font-weight: 400;
}

.InputFieldDisabled
{
    display: block;
    border: solid 1px #989A9D;
    margin: 0px 20px 10px 0px;
    height: 2.2em;
    box-shadow: 3px 3px 5px #B4B5B7;
    background-image: none;
    background-color: #A1A1A1;
    padding: 2px 5px;
    color: #666699;
    font-size: 1.5em;
    font-weight: 400;
}

/*
Data tables */
.ListContainer
{
    position: relative;
    border: solid 1px #000000;
    box-shadow: 0px 5px 8px #B4B5B7;
    padding: 0px;
    min-width: 1400px;
}

.ListContainer .ListHeading
{
    display: inline-block;
    position: absolute;
    top: -1.8em;
    left: -0.6em;
    background: #FFFFFF;
    padding: 0px 10px 5px 10px;
    color: #231F20;
    font-size: 1.9em;
    font-weight: 600;
    text-transform: uppercase;
}

.ListContainer .Padding
{
    display: block;
    margin: 0px;
    padding: 15px;
}

.ListContainer .Listing
{
    border: solid 1px #231F20;
    width: 100%;
}

.ListContainer .Listing th a
{
    color: #000000;
	text-decoration:underline;
    font-weight:bold;
}

.ListContainer .Listing th
{
    background: #dbdbdb;
    padding: 2px 10px;
    text-align: left;
    color: #000000;
    font-size: 1.4em;
    font-weight: bold;
}

.ListContainer .Listing td
{
    text-align: left;
    vertical-align: top;
    font-size: 1.6em;
}

.ListContainer .Listing tr td
{
    background: #FFFFFF;
    padding: 2px 10px;
    color: #231F20;
}

.ListContainer .Listing tr.AltRow td
{
    background: #D2DEE7;
    padding: 2px 10px;
    color: #231F20;
}


/*
Pagination controls */
.PaginationControls
{
    overflow: hidden;
}

.PaginationControls a.Pagination, .PaginationControls a
{
    display: inline-block;
    float: left;
    margin: 2px;
    background: #E7E8E9;
    padding: 1px 5px;
    color: #1A76BC;
    font-size: 1.6em;
    font-weight: 600;
}

.PaginationControls a.Pagination:hover, .PaginationControls a.CurrentPage
{
    background: #F1F1F2;
    color: #231F20;
}

.PaginationControls .PageNumberField
{
    display: inline-block;
    float: left;
    margin: 2px;
    width: 35px;
    border: solid 1px #E7E8E9;
    padding: 1px 5px;
    color: #1A76BC;
    font-size: 1.6em;
    font-weight: 500;
}

.PaginationControls .PaginationPrompt
{
    display: inline-block;
    float: left;
    margin: 5px;
    color: #231F20;
    font-size: 1.4em;
    font-weight: normal;
    font-style: italic;
}

.PaginationControls .PageButton
{
    display: inline-block;
    float: left;
    margin: 2px;
    border: solid 1px #E7E8E9;
    background: #1B75BC url(../imgs/icon_arrow_8w14h.png) no-repeat center center;
    padding: 1px 8px;
    font-size: 1.6em;
    font-weight: normal;
    text-decoration: none;
}

.PaginationControls .PageButton:hover
{
    background: #0A64AB url(../imgs/icon_arrow_8w14h.png) no-repeat center center;
}

/* Styles for floating button
-----------------------------------------------------------*/
#ScrollToTop
{
    bottom: -10px;
    padding: 20px 10px 30px;
    right: 15px;
    transition: bottom 250ms ease-in-out 0s;
    width: 70px;
    border-width: 0;
    box-shadow: 0 0 #FFFFFF, 0 1px 3px rgba(34, 25, 25, 0.5);
    display: block;
    font-size: 15px;
    position: fixed;
    text-align: center;
    z-index: 4;
    background-color: #F0EDED;
    background-image: -moz-linear-gradient(center top, #FDFAFB, #F9F7F7 50%, #F6F3F4 50%, #F0EDED);
    border-color: #BBBBBB;
    color: #524D4D;
    text-shadow: 0 1px rgba(255, 255, 255, 0.9);
}

#ScrollToTop.Offscreen
{
    display: none;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error
{
    color: #ff0000;
    font-size: 1.5em;
}

.field-validation-valid
{
    display: none;
}

.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors
{
    font-weight: bold;
    color: #ff0000;
    font-size: 10pt;
}

.validation-summary-valid
{
    display: none;
}

/*Contact Us */
#divContactForm
{
    display: inline-block;
    margin: 25px;
    background: #666666;
    padding: 20px;
}

#divContactForm table.Form
{
}

#divContactForm table.Form td
{
    padding: 5px 0px;
    text-align: left;
}

#divContactForm table.Form .Prompt
{
    padding: 5px 5px 5px 0px;
    text-align: right;
    color: #FFFFFF;
    font-size: 2em;
    font-weight: 600;
}

#divContactForm table.Form input[type=text]
{
    width: 300px;
    border: solid 1px #999999;
    background: #FFFFFF;
    color: #333333;
    font-size: 2em;
    font-weight: normal;
}

#divContactForm table.Form textarea
{
    width: 300px;
    height: 100px;
    border: solid 1px #999999;
    background: #FFFFFF;
    color: #333333;
    font-size: 2em;
    font-weight: normal;
    resize: none;
}

#divContactForm table.Form input[type=submit]
{
    display: inline-block;
    border: solid 1px #009900;
    border-radius: 5px;
    background: #009900;
    padding: 3px 30px;
    box-shadow: 3px 3px 5px #333333;
    color: #F9F9F9;
    font-size: 1.8em;
    font-weight: 600;
}

#divContactForm table.Form input[type=submit]:hover
{
    border: solid 1px #009900;
    background: #00AA00;
    color: #FFFFFF;
}

#divContactForm .Instructions
{
    margin: 5px;
    text-align: center;
    color: #FFFFFF;
    font-size: 1.25em;
    font-weight: normal;
    font-style: italic;
}

/*Home/Login page */
body.Home
{
    background: #dbdbdb;
}
body.Home #Page
{
    margin: 0px auto;
    width: 95%;
    min-width: 623px;
    max-width: 1200px;
    background: none;
    text-align: left;
}
body.Home #Page .ListContainer
{
    background: #FFFFFF;
    box-shadow: 0px 5px 8px #333333;
}
body.Home #divFooter
{
    display: inline-block;
    margin: 30px auto;
    background: none;
    box-shadow: none;
    text-align: center;
}

/* 
Footer */
#divFooter
{
    margin: 30px 0px;
    min-height: 4em;
    background: #dbdbdb;
    box-shadow: 0px 5px 8px #B4B5B7;
    text-align: left;
    color: #231F20;
    font-size: 1.5em;
    font-weight: 400;
}
#divFooter p.Copyright
{
    float: left;
    margin: 20px 15px;
    text-align: left;
    font-size: 1em;
}
#divFooter a
{
    color: #FFFFFF;
    text-decoration: none;
}
#divFooter a:hover
{
    color: #FFFFFF;
    text-decoration: underline;
}

/*
User Paths Tutorial */
.UserPath
{
    margin: 10px;
    border: solid 1px #999999;
    padding: 10px;
    text-align: left;
    color: #333333;
    font-size: 2em;
    line-height: normal;
    font-weight: 500;
}
.UserPath a
{
    color: #333333;
    text-decoration: none;
}
.UserPath a:hover
{
    color: #FF9933;
    text-decoration: underline;
}
.UserPath .Explained
{
    display: none;
}
.OpenPath
{
    margin: 10px;
    border: solid 1px #FF9933;
    background: #FF9933;
    padding: 10px;
    text-align: left;
    color: #FFFFFF;
    font-size: 2em;
    line-height: normal;
    font-weight: 500;
}
.OpenPath a, .OpenPath a:hover
{
    color: #FFFFFF;
    text-decoration: none;
}
.OpenPath .Explained
{
    display: block;
    padding-left: 20px;
    color: #000000;
    font-size: 0.75em;
    line-height: 1.25em;
    font-weight: 500;
}

/*ToolTips */
.ToolTipToggle
{
    margin: 0px;
    border: solid 1px #231F20;
    background: #231F20;
    padding: 5px 15px;
    color: #999999;
    font-size: 1.8em;
    font-weight: 400;
}
.ToolTipToggle:hover
{
    border: solid 1px #999999;
    background: #999999;
    color: #231F20;
}

/*
Create Note pop-up overlay */
.lightbox
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .8);
    z-index: 999999;
}

