﻿/**
 * Base
 */

@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700);

* {
    box-sizing: border-box;
}

html {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #606060;
    background-color: #b6b7bc;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: #333;
}

a:hover,
a:focus,
a:active {
    color: #000;
}

h1,
h2,
h3,
h4,
h5,
h6,
hgroup,
ul,
ol,
dl,
address,
blockquote,
fieldset,
figure,
legend,
p,
pre,
table {
    margin: 0 0 20px;
}

h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child,
hgroup:last-child,
ul:last-child,
ol:last-child,
dl:last-child,
address:last-child,
blockquote:last-child,
fieldset:last-child,
figure:last-child,
legend:last-child,
p:last-child,
pre:last-child,
table:last-child {
    margin-bottom: 0;
}

/**
 * Typo
 */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #333;
}

/**
 * Form
 */

legend {
    font-size: 1.125em;
    font-weight: bold;
}

label {
    display: block;
    margin-bottom: 2px;
}

label.inline {
    margin-bottom: 0;
}

.FormFields {
    list-style: none;
    margin: 0;
}

.FormFields > li {
    margin-bottom: 20px;
}

.FormFields > li:last-child {
    margin-bottom: 0;
}

.InputText {
    display: block;
    width: 100%;
    padding: 8px;
    color: #555;
    background-color: #fff;
    border: 1px solid #ccc;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

input[type="password"] {
    font-family: sans-serif;
}

.FormAction {
    margin-top: 20px;
}

/**
 * Table
 */

.Table {
    border: 0;
}

.Table--fullWidth {
    width: 100%;
}

th {
    text-align: left;
}

.Table > thead > tr > th,
.Table > tbody > tr > th,
.Table > tfoot > tr > th,
.Table > thead > tr > td,
.Table > tbody > tr > td,
.Table > tfoot > tr > td {
    padding: 8px;
    vertical-align: top;
    border-top: 1px solid #ddd;
}

.Table > thead > tr > th,
.TableHeader > th {
    vertical-align: bottom;
    border-bottom: 2px solid #ddd
}

.Table > caption + thead > tr:first-child > th,
.Table > colgroup + thead > tr:first-child > th,
.Table > thead:first-child > tr:first-child > th,
.Table > caption + thead > tr:first-child > td,
.Table > colgroup + thead > tr:first-child > td,
.Table > thead:first-child > tr:first-child > td,
.Table > tbody > .TableHeader > th {
    border-top: 0;
}

.Table > tbody + tbody {
    border-top: 2px solid #ddd;
}

.Table > tbody > tr:nth-child(odd) > td,
.Table > tbody > tr:nth-child(odd) > th {
    background-color: #f9f9f9;
}

/**
 * Nav
 */

.Nav {
    padding-right: 0;
    padding-left: 0;
    margin-right: 0;
    margin-left: 0;
    font-size: 0;
}

.Nav-item {
    display: inline-block;
    font-size: 16px;
    font-size: 1rem;
}

.Nav-item > a {
    display: inline-block;
}

/**
 * Grid
 */

.Grid {
    margin: 0 -10px;
}

.Grid > .Grid-cell {
    padding: 0 10px;
}

.Grid--3col > .Grid-cell {
    width: 33.3333%;
}

.Grid--4col > .Grid-cell {
    width: 25%;
}

.Grid--5col > .Grid-cell {
    width: 20%;
}

 /**
  * Site
  */

.SiteContainer {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

.SitePage {
    background-color: #818181;
}

.SiteMain {
    min-height: 440px;
    overflow: hidden;
    padding: 20px;
    margin: 0 20px 20px;
    background-color: #fff;
    border: 2px solid #000;
}

 /**
  * Site Header
  */

.SiteHeader {
    padding: 0 20px;
    color: #fff;
    background-color: #000;
}

.SiteLogo {
    max-width: 200px;
    padding: 2.5px 0;
}

.SiteLogo a {
    display: inline-block;
}

.SiteLogo img {
    display: block;
}

.SiteLoginDisplay {
    padding: 19px 0;
}

.SiteLoginDisplay span {
    font-weight: bold;
}

.SiteLoginDisplay .Button {
    margin-left: 12.5px;
}

/**
 * Site Navigation
 */

.SiteNav {
    margin: 20px 20px 0;
}

.SiteNav-item {
    margin: 0 1px -2px;
}

.SiteNav-item:first-child {
    margin-left: 0;
}

.SiteNav-item:last-child {
    margin-right: 0;
}

.SiteNav-item > a {
    padding: 6px 12px;
    font-weight: bold;
    white-space: nowrap;
    color: #000;
    background-color: #f5f5f5;
    border: 2px solid #000;
    border-radius: 4px 4px 0 0;
}

.SiteNav-item > a:hover,
.SiteNav-item > a:focus,
.SiteNav-item > a:active,
.SiteNav > .is-active > a {
    background-color: #fff;
    border-color: #000 #000 #fff;
}
.SiteNav > .expiring > a{
    background-color: #fcc;    
}

/**
 * Footer
 */

.SiteFooter {
    padding: 10px 0;
    text-align: center;
    color: #fff;
    background-color: #000;
}

.SiteFooter a,
.SiteFooter a:hover,
.SiteFooter a:focus,
.SiteFooter a:active {
    color: #fff;
}

.SiteFooter .Nav {
    margin-bottom: 5px;
}

.SiteFooter .Nav-item {
    margin: 0 10px;
}

.SiteFooter .Nav-item span {
    font-weight: bold;
    text-transform: uppercase;
}

/**
 * Button
 */

.Button,
.ButtonContainer a {
    width: auto;
    padding: 0.65em 1.25em;
    text-transform: uppercase;
    border-radius: 2px;
    -webkit-transition: 0.25s all ease-in-out;
    -moz-transition: 0.25s all ease-in-out;
    -ms-transition: 0.25s all ease-in-out;
    -o-transition: 0.25s all ease-in-out;
    transition: 0.25s all ease-in-out;
}

.ButtonContainer {
    padding: 12.5px 8px !important;
}

.ButtonContainer a {
    padding: 0.35em 0.7em;
    border: 1px solid;
}

.Button:hover,
.Button:focus,
.Button:active,
.ButtonContainer a:hover,
.ButtonContainer a:focus,
.ButtonContainer a:active {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#1a000000',GradientType=0);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(transparent), color-stop(40%, rgba(0,0,0, 0.05)), to(rgba(0,0,0, 0.10)));
    background-image: -webkit-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
    background-image: -moz-linear-gradient(top, rgba(0,0,0, 0.05) 0%, rgba(0,0,0, 0.10));
    background-image: -o-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
    background-image: linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
}

.Button:focus,
.ButtonContainer a:focus {
    outline: 0;
}

.Button:active,
.ButtonContainer a:active {
    box-shadow: 0 0 0 1px rgba(0,0,0, 0.15) inset, 0 0 6px rgba(0,0,0, 0.20) inset;
}

.Button--default,
.ButtonContainer a {
    color: #444;
    color: rgba(0, 0, 0, 0.80);
    background-color: #e6e6e6;
    border-color: #999;
}

.Button--default:hover,
.Button--default:focus,
.Button--default:active,
.ButtonContainer a:hover,
.ButtonContainer a:focus,
.ButtonContainer a:active {
    color: #444;
    color: rgba(0, 0, 0, 0.80);
}

.Button--primary {
    color: #fff;
    background-color: #555;
    border-color: #222;
}

.Button--primary:hover,
.Button--primary:focus,
.Button--primary:active {
    color: #fff;
}

.Button--danger {
    color: #fff;
    background-color: #ca3c3c;
    border-color: #ae1414;

}

.Button--danger:hover,
.Button--danger:focus,
.Button--danger:active {
    color: #fff;
}

.ButtonGroup-item {
    font-size: 16px;
    font-size: 1rem;
}

/**
 * Login Form
 */

.LoginForm .FormFields > li {
    margin-bottom: 0;
}

.LoginForm #MainContent_LoginUser_LoginButton {
    width: auto;
    -webkit-appearance: none;
    background: transparent;
    border: 1px solid;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: inherit;
    cursor: pointer;
    font: inherit;
    line-height: normal;
    margin: 0;
    padding: 0.65em 1.25em;
    position: relative;
    text-align: center;
    text-decoration: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    white-space: normal;
    text-transform: uppercase;
    color: #fff;
    background-color: #555;
    border-color: #222;
    border-radius: 2px;
    -webkit-transition: 0.25s all ease-in-out;
    -moz-transition: 0.25s all ease-in-out;
    -ms-transition: 0.25s all ease-in-out;
    -o-transition: 0.25s all ease-in-out;
    transition: 0.25s all ease-in-out;
}

.LoginForm #MainContent_LoginUser_LoginButton:hover,
.LoginForm #MainContent_LoginUser_LoginButton:focus,
.LoginForm #MainContent_LoginUser_LoginButton:active {
    color: #fff;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#1a000000',GradientType=0);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(transparent), color-stop(40%, rgba(0,0,0, 0.05)), to(rgba(0,0,0, 0.10)));
    background-image: -webkit-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
    background-image: -moz-linear-gradient(top, rgba(0,0,0, 0.05) 0%, rgba(0,0,0, 0.10));
    background-image: -o-linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
    background-image: linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
}

.LoginForm #MainContent_LoginUser_LoginButton:active {
    box-shadow: 0 0 0 1px rgba(0,0,0, 0.15) inset, 0 0 6px rgba(0,0,0, 0.20) inset;
}

@media (min-width: 680px) {
    .LoginForm {
        width: 50%;
    }
}

@media (min-width: 940px) {
    .LoginForm {
        width: 32.5%;
    }
}

/**
 * Order Search
 */

.OrderSearch {
    margin-bottom: 20px;
}

.OrderSearch .FormAction {
    margin-top: 0;
}

@media (min-width: 1024px) {
    .OrderSearch {
        display: table;
        table-layout: auto;
        margin-bottom: 0;
    }

    .OrderSearch .FormFields,
    .OrderSearch .FormAction {
        display: table-cell;
        vertical-align: top;
    }

    .OrderSearch .FormFields {
        width: 100%;
    }

    .OrderSearch .FormFields li:first-child {
        padding-left: 0;
    }

    .OrderSearch .FormFields li:last-child {
        padding-right: 20px;
    }

    .OrderSearch .FormAction {
        padding-top: 20px;
    }
}

/**
 * Order
 */

#MainContent_BatchGridView {
    margin-bottom: 20px;
}

#MainContent_QuantityLabel {
    display: block !important;
    margin-bottom: 2px;
}

#MainContent_QuantityToOrderTextBox {
    display: inline-block;
}

#MainContent_RestPanel {
    margin-top: 0 !important;
}

#MainContent_RestPanel .ButtonGroup {
    margin-top: 20px;
}

#MainContent_OrderIsValidPanel {
    margin-bottom: 20px;
}

@media (min-width: 680px) {
    #MainContent_OrderIsValidPanel .InputText {
        width: 50%;
    }
}

@media (min-width: 940px) {
    #MainContent_OrderIsValidPanel .InputText {
        width: 32.5%;
    }
}

/**
 * Order Info
 */

#MainContent_OrderUserControl_PrintLinkButton {
    margin-bottom: 20px;
}

#MainContent_OrderUserControl_PrintLinkButton:after,
#MainContent_PrintLinkButton:after {
    display: inline-block;
    width: 12px;
    height: 11px;
    margin-left: 7px;
    background: url(../Images/icon_print.png) center right no-repeat;
    content: " ";
}

.OrderInfo li {
    margin: 0 0 4px;
}

.OrderInfo li:last-child {
    margin-bottom: 0;
}

/**
 * Order ongoing
 */


.OngoingOrder {
    padding-top: 20px;
    margin-top: 15px;
    border-top: 1px solid #ddd;
    clear: both;
}

#MainContent_OrderIsValidPanel + .OngoingOrder {
    margin-top: 30px;
}

.OngoingOrder hr {
    display: none;
    visibility: hidden;
}

#OngoingOrderUserControl_OngoingOrderHeaderLabel {
    display: block;
    margin-bottom: 20px;
    font-size: 1.125em;
    font-weight: bold;
}

.OngoingOrder .ButtonGroup {
    margin-bottom: 20px;
}

/**
 * Misc
 */

.labelheader {
    font-weight: bold;
}

.inline {
    display: inline-block;
}

.bookArticleUserInput {
    overflow: hidden;
}

.failureNotification,
.error {
    color: #d9122c;
}

.external-link:after {
    display: inline-block;
    width: 13px;
    height: 11px;
    margin-left: 5px;
    background: url(../Images/icon_external_link.gif) center right no-repeat;
    content: " ";
}

#MainContent_UserInputUpdatePanel {
    margin-bottom: 20px;
}

.SortAscending, .SortDescending
{
    background-color: #ECECEC;
}

.SortAscending a, .SortDescending a
{
    display: inline-block;
    background-repeat: no-repeat;  
    background-position: right center;    
    padding-right: 20px;
}

.SortAscending a {
    background-image: url(../Images/sort-ascending.png); 
}

.SortDescending a {
    background-image: url(../Images/sort-descending.png); 
}

.thankyou {
    font-size: large;
}

.orderSeparator
{
    border: none;
    height: 2px;
    color: #777;            /*old browsers*/
    background-color: #777; /*new browsers*/
    margin-bottom: 20px;
}