* {
    padding: 0;
    margin: 0;
}

html {
    height: 100%;
}

body {
    /*background-image: url("/images/background.jpg");*/
    background-color: #f3efdf !important;
    height: 100%;
    /* width: 100%;*/
    font-family: Arial, Verdana, sans-serif;
    font-size: 16px;
    /* padding-left: 10px; */

}

a:link {
    color: #800000;
    text-decoration: none;
}

a:visited {
    color: #424242;
}

a:hover {
    color: red;
}

a:active {
    color: blue;
}

p {
    margin-top: 1em;
}

p.normal {
}

textarea, input, select {
    font-family: Arial, Verdana, sans-serif;
    font-size: 1em;
}

.iconRight {
    float: right;
    /*width: 28px;*/
    text-align: right;
    padding-top: 2px;
    padding-right: 2px;
    font-size: 12px;
}

#topBar {
    width: 99.1em;
    height: 94px;
    float: left;
    position: static;
    display: inline-block;
    top: 10px;
}

#newsBar {
    width: 100%;
    height: 50px;
    float: left;
    position: relative;
    top: 5px;
}

#results {
    width: 99.1em;
    float: left;
    overflow-x: auto;
    position: static;
    margin-top: 20px;
    height: 85%;
    /* height: 80%;*/ /* newsbariga */ 
	display: block;
}

#leftPane {
    float: left;
    display: inline-block;
    width: 32em;
    border: 0px none;
    overflow-y: auto;
    height: 98%;
    margin-left: 5px;
    top: 22px;
}

#middlePane {
    position: static;
    display: inline-block;
    width: 32em;
    border: 0px none;
    overflow-y: auto;
    margin-left: 10px;
    top: 22px;
    left: 10px;
    height: 98%;
}

#rightPane {
    position: static;
    display: inline-block;
    width: 32em;
    margin-left: 10px;
    overflow-y: auto;
    height: 98%;
    border: 0px none;
    top: 22px;
}

/* boxes */
#BAASlogo {
    position: relative;
    left: 10px;
}

#searchOuter {
    float: left;
    display: inline-block;
	position: static;
    margin-left: 20px;
    margin-top: 10px;

}

#searchBox {
    width: 100%;
}

.searchLabel {
    display: inline-block;
    width: 4em;
}

#userOuter {
	
	display: inline-block;
	position: static;
    float: right;
    width: 42em;
    margin-right: 2em;
    margin-top: 0.5em;

}

.userLabel {
    display: inline-block;
    width: 60px;
}

/* author pane */

#authorOuter {
    width: 99%;
    border: 1px solid;
    background-color: #FEFAEB;
}

#authorName {
    display: inline-block;
    width: 100%;
    background-color: #FEFAEB;
    text-align: center;
    font: 25px arial, bold;
    border: 0px;
}

#authorDates {
    display: inline-block;
    width: 100%;
    background-color: #FEFAEB;
    text-align: center;
    border-style: none;
}

#authorPic {
    display: inline-block;
    width: 100%;
    background-color: #FEFAEB;
    text-align: center;
    border: none;
}

.autorSubhead {
    display: inline-block;
    width: 100%;
    background-color: #FECA9A;
    text-align: left;
    text-indent: 2px;
    border-right: 0px none;
}

.autorCategory {
    display: inline-block;
    width: 100%;
    background-color: #621404 !important;
    text-align: left;
    text-indent: 2px;
    border: 0px none;
    color: white !important;
}

.autorEntry {
    padding-top: 1px;
    padding-bottom: 1px;
    display: inline-block;
    text-indent: 1px;
    width: 100%;
}

.autorEntrySelected {
    padding-top: 1px;
    padding-bottom: 1px;
    display: inline-block;
    text-indent: 1px;
    font-weight: bold;
    background-color: #d3cfbf;
    width: 100%;
}

/* book pane */

#bookOuter {
    display: inline-block;
    width: 98%;
    border: 1px solid;
}

#bookAuthors {
    font: 20px "Arial", "Times New Roman";
    text-align: center;
    font-weight: bold;
    padding-top: 5px;
    padding-bottom: 5px;
}

#bookTitle {
    border-top: 1px solid;
    border-bottom: 1px solid;
    padding-top: 5px;
    padding-bottom: 5px;
    font: 36px "Times New Roman";
    color: #000080;
    text-align: center;
    font-weight: bold;
    background-color: #FEFAEB;
}

#addReview {
    float: right;
    width: 28px;
    text-align: right;
    padding-top: 0px;
    padding-right: 2px;

}

.bookHeaderEntry {
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 14px;
    border: 0px none;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-top: 0px;
}

.bookContents {
    display: inline-block;
    width: 100%;
    text-align: left;
    font-size: 14px;
    border-bottom: 16px solid;
    border-color: #DBDBDB;
    padding-top: 5px;

    padding-bottom: 5px;
    text-indent: 5px;
    background-color: #FEFAEB;
}

#bookReviews {
    float: left;
    width: 100%;
    margin-top: 20px;
}

/* review */

#reviewblockheader {
    border: 1px solid;
    width: 98%;
    background-color: #dbdbdb;
    text-indent: 4px;
    padding-top: 1px;
    padding-bottom: 1px;
}

.reviewListEntry {
    display: inline-block;
    border-top: 1px solid;
    border-left: 1px solid;
    border-right: 1px solid;
    width: 98%;
    overflow: hidden;
    background-color: #FBDEA4;   /* Kristjan: (rida oranzhiks) */
 	vertical-align: top;
 	padding-left:4px; 
}

.reviewOuter {
    display: inline-block;
    border-left: 1px solid;
    border-right: 1px solid;
    border-bottom: 1px solid;
    border-top: 1px solid;    
    width: 98%;
    background-color: #FBDEA4;
    margin-bottom: 1.5em;
}

.reviewHeader {
    display: inline-block;
    width: 100%;
    /* background-color: #FBDEA4;*/
    background-color: #FEFAEB; 
    padding-top: 1px;
}

.reviewReviewer {
    float: left;
    width: 40%;
    text-align: left;
    padding-left: 1%;
    padding-top: 1px;
}

.reviewDate {
    float: left;
    width: 35%;
    text-align: left;
    padding-top: 1px;
}

.reviewGrade {
    float: left;
    width: 17%;
    text-align: right;
    padding-right: 1%;
    padding-top: 1px;
}

.reviewContent {
    padding: 10px 20px 10px 20px;
    background-color: #FEFAEB;
}

.content-highlight {
    background-color: #F0E68C !important;
}

.reviewFooter {
    width: 100%;
    background-color: #FBDEA4;
    text-align: center;
    padding-top: 1px;
}

.reviewShow {
	text-overflow: clip;
	white-space: normal;
	overflow: hidden;
}

.reviewHide {
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	-o-text-overflow: ellipsis;
}

#AROuter {
    border: 1px solid;
    /*margin: 5px;*/
    margin-top: 0px;
}

#ARHeader {
    border: 0px none;
    background-color: #DBDBDB;
}

.close {
    float: right;
    display: inline-block;
    padding: 2px 5px;
    background: #ccc;
    font-family: sans-serif;
}

.close:hover {
    float: right;
    display: inline-block;
    padding: 2px 5px;
    background: #dbdbdb;
    cursor: pointer;
    font-family: sans-serif;
}

.bmlabel {
    width: 160px !important;
}

.idfield {
    width: 10%
}

.storyname {
    width: 80%;
}

.autocomplete-suggestions {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #999;
    background: #FFF;
    cursor: default;
    overflow: auto;
    -webkit-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64);
    -moz-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64);
    box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64);
}

.autocomplete-suggestion {
    padding: 2px 5px;
    white-space: nowrap;
    overflow: hidden;
}

.autocomplete-no-suggestion {
    padding: 2px 5px;
}

.autocomplete-selected {
    background: #F0F0F0;
}

.autocomplete-suggestions strong {
    font-weight: bold;
    color: #000;
}

.autocomplete-group {
    padding: 2px 5px;
}

.autocomplete-group strong {
    font-weight: bold;
    font-size: 16px;
    color: #000;
    display: block;
    border-bottom: 1px solid #000;
}

.filled-stars {
    position: absolute;
    left: 0;
    top: 0;
    margin: auto;
    color: #FF8C00 !important;
    white-space: nowrap;
    overflow: hidden;
    -webkit-text-stroke: 1px #777;
    text-shadow: 1px 1px #444;
}

.trbadge {
    font-size: 70px !important;
    color: red !important;
    float: left;
    top: 0px;
    left: 0px;
    display: inline-block;
}


.rating-disabled .rating {
    cursor: default !important
}

.container-row-h3 {
    background-color: #f0f0f0;
}

.container-row-h2 {
    background-color: #621404;
    color: white;
}

.container-row-h1 {
    background-color: black;
    color: white;
}

.nowrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.authorBookEntry {
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	display: inline-block;
	width: 19em;
}
