﻿body {
    padding-top: 15px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

a {
    color: red;
    text-decoration: none;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/* CUSTOM ELEMENTS*/
#topnavbar {
    margin: 0px;
    padding: 0px 0px 20px 0px;
    position: relative;
    z-index: 100 !important;
}

#menu {
    padding: 6px 0px 0px 20px;
}

.nav > li > a:hover, .nav > li > a:focus {
    background-color: #fff;
}

#search-container {
    display: none;
}

#header {
    text-align: center;
}

#subheader {
    color: gray;
    text-align: center;
}

#search {
    max-width: 500px;
    height: 50px;
    font-size: 20px;
    display: inline !important;
}

#search-group {
    display: block;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 50px;
}

/***************** table styles **********************/

.col-isbn-width {
    width: 140px;
}

.col-author-width {
    width: 160px;
}

.col-price-width {
    width: 60px;
}

.col-backorder-width {
    width: 120px;
}

.col-qty-width {
    width: 40px;
}

/******* Loading screen ***************/
/*Overlay*/
.overlay {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 300;
    opacity: 0.4;
    filter: alpha(opacity=40); /* For IE8 and earlier */
    display: none;
}

.dialog {
    position: fixed;
    height: 350px;
    width: 500px;
    background-color: white;
    left: 50%;
    top: 50%;
    margin-top: -175px;
    margin-left: -250px;
    z-index: 6000;
    -moz-box-shadow: 0 0 10px #686868;
    -webkit-box-shadow: 0 0 0px #686868;
    box-shadow: 0 0 10px #686868;
    display: none;
    border: solid 10px #666;
}

.dialog-message {
    text-align: center;
    width: 100%;
    z-index: 150;
    color: #333;
    font-size: 1.5em;
}

.dialog-container {
    width: 100%;
    height: auto;
    text-align: center;
    font-size: 1em;
}

.dialog-loading {
    position: fixed;
    width: 150px;
    height: 150px;
    background-color: white;
    border-radius: 5px;
    left: 50%;
    top: 50%;
    margin-left: -75px;
    margin-top: -75px;
    z-index: 1001;
    display: none;
    -moz-box-shadow: 0 0 10px #686868;
    -webkit-box-shadow: 0 0 0px #686868;
    box-shadow: 0 0 10px #686868;
}

@media only screen and (max-width: 767px) {
    .container > .navbar-header, .container > .navbar-collapse {
        margin-left: 10px;
    }

    .panel-default {
        font-size: 8pt;
        border-color: #ddd;
    }
}
