@font-face {
    font-family: Dearest;
    src: url('Dearest.ttf?#iefix') format('embedded-opentype'), 
         url('Dearest.ttf') format('truetype'),
}

html, body, #wrap {
    height:100%;
    margin: 0;
    padding: 0;
}

body {
    background: url(../img/1.jpg);
    background-attachment: fixed;
    background-position: center;
    color: aliceblue;
    font-family: 'Libre Baskerville', serif;
    font-size: 16px;
    overflow-y: scroll;
    text-align: justify;
}

a {
    transition: color 0.3s ease;
    text-decoration: none;
    outline: 0;
}

#menu > a:link, #menu > a:visited, #menu > a:hover, #menu > a:active {
    color: aliceblue;
    text-decoration: none;
}

a:link, a:visited, a:hover, a:active {
    color: #d83e3e;
}

.navigLink:link, .navigLink:visited, .navigLink:hover, .navigLink:active {
    color: aliceblue;
}

#wrap {
    margin: 0 0 auto 0;
}

#cover {
    background: url(../img/c4.jpg) no-repeat;
    height: 220px;
    position: relative;
    //background-size: 218%;
}

#footer{
    right: 0;
    bottom: 0;
    left: 0;
    margin-bottom: 5px;
    text-align: center;
    position: absolute;
}

#menuIndex {
    cursor: default;
    display: inline-block;
    width: auto;
    margin-left: 15px;
    float: left;
    margin-top: -5px;
    font-size: 180%;
    font-family: Dearest;
}

#romLogo:link, #romLogo:visited, #romLogo:hover, #romLogo:active,
.folderDiv a:link, .folderDiv a:visited, .folderDiv a:hover, .folderDiv a:active {
    color: aliceblue;
    text-decoration: none;
}

#menuNavig {
    margin-top: 13px;
    min-width: 61%;
    display: inline-block;
    text-align: center;
    position: absolute;
    left: 20%;
    right: 20%;
    font-size: 0.9em;
}

#menuLinks {
    width: auto;
    display: inline-block;
    text-align: right;
    float: right;
    margin-top: 3px;
}

#menuSeperator {
    background-image: url(../img/sep.png);
    background-repeat: no-repeat;
    background-position: center;
    width: 40px;
    //margin-bottom: -5px;
    height: 32px;
    display: inline-block;
    margin: 0 -8px -5px -8px;
}

#menu {
    background: rgba(0, 0, 0, 0.85);
    margin: auto;
    width: 100%;
    min-width: 1260px;
    font-size: 1.8em;
    //text-align: center;
    overflow: hidden;
    position: absolute;
    bottom: 0px;
    height: 57px;
    z-index: 1;
}

#menuNavig > a {
    display: inline-block;
}

#menuNavig > a:hover {
    color: #d83e3e;
}

.menuHover {
    position: fixed !important;
    margin-top: 0 !important;
    top: 0 !important;
}

.activePage {
    color: #d83e3e !important;
}

body.index a.index, body.books a.books, body.gallery a.gallery, body.updates a.updates, body.contact a.contact {
    color: #d83e3e !important;
}

.contentHidden {
    min-height: 0 !important;
    height: 10px;
    width: 0px;
    min-width: 0px;
    overflow: hidden !important;
}

.contentHidden > div {
    display: none;
    opacity: 0;
}

.content {
    background: rgba(0, 0, 0, 0.4);
    width: 900px;
    margin: 0 auto 20px auto;
    padding: 35px 50px 35px 50px;
    overflow: auto !important;
    min-height: calc(100% - 300px - 35px - 35px - 20px);
    position: relative;
}

/* BIO */

#bioImg {
    float:left;
    padding: 0 25px 17px 0;
    
}

#bioText {
    margin: -42px 0 20px 0;
    white-space: pre-line;
    line-height: 1.4em;
}

#bioLinks {
    float: left;
}

#bioContacts {
    float: right;
    text-align: right;
}

/* BOOKS */

.book {
    overflow: auto;
    margin: 35px 0 0 50px;
    padding-bottom: 20px;
    border-bottom: 1px solid #d83e3e;   
}

.bookDetails {
    width: 86%;
    line-height: 1.5em;
}

.bookDetails div {
    border-bottom: 1px solid rgba(209, 104, 104, 0.8);
}

.bookDetails span {
    padding: 0 15px;
}

.bookPrice {
    border-bottom: none !important;
    margin-bottom: 10px;
}

.bookDetail {
    float: right;
}

.bookData {
    display: inline-block;
    float:left;
    width: 30%;
    min-height: 100%;
}

.bookImg {
    width: 220px;
    margin-bottom: 5px;
}

.bookDesc {
    display: inline-block;
    float: left;
    width: 55%;
    margin: 0 0 25px 20px;
    font-size: 95%;
    line-height: 1.5em;
}

#bookAddDiv {
    text-align: center;
    float: left;
    margin-top: 8px;
    border: none;
}

#bookAddDiv > span {
    display: inline-block;
    padding: 0;
}
#bookAddDiv > input {
    height: 24px;
}

#bookAddAmount {
    width: 43px;
    height: 20px;
    margin-left: 45px;
    font-size: 1em;
}

#bookAddSubmit {
    display: inline-block;
    margin: 4px 35px 0 0;
    float: right;
}

/* GALLERY */

.galleryThumbNail {
    max-width: 100%;
}


.my-gallery {
  width: 100%;
  float: left;
}
.my-gallery img {
  width: 100%;
  height: auto;
}
.my-gallery figure {
  display: block;
  float: left;
  margin: 0 5px 5px 0;
  width: 150px;
}
.my-gallery figcaption {
  display: none;
}

#folders {
    margin: 0 auto;
}

.folderSpan {
    display: inline-block;
    text-align: center;
    margin: 0 30px 20px 0;
    padding: 7px 7px 3px 7px;
        
    background: rgba(101, 21, 21, 0.45); /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(rgb(171, 107, 107), rgb(113, 22, 22)); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(rgb(171, 107, 107), rgb(113, 22, 22)); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(rgb(171, 107, 107), rgb(113, 22, 22)); /* For Firefox 3.6 to 15 */
    background: linear-gradient(rgb(171, 107, 107), rgb(113, 22, 22)); /* Standard syntax */
    
    border: 1px solid rgb(126, 54, 54);
}

.folderPad {
    height: 170px;
    width: 170px;
    overflow: hidden;
}

.folderIcon {
    width: 170px;
    
}

.folderName {
    padding-top: 6px;
    border-top: 2px solid rgb(152, 53, 53);
}

#galleryBar {
    margin-bottom: 30px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    margin-top: -35px;
    padding-top: 5px;
}

#galleryBar > span {
    display: inline-block;
}

#galleryBack {
    float: left;
    width: 20%;
}

#galleryName {
    width: 54%;
    position: absolute;
    font-size: 1.8em;
    text-align: center;
    
    
}

#galleryUpdated {
    float: right;
    width: 20%;
    text-align: right;
}

/* UPDATES */

.updateHead {
    //margin-top: 4px;
}

.updateTitle {
    font-size: 1.5em;
    font-weight: bold;
    letter-spacing: 1px;
    display: inline-block;
    width: 70%;
}

.updateDate {
    font-size: 0.9em;
    margin-top: 3px;
    display: inline-block;
    width: 28%;
    text-align: right;
    float: right;
    margin-top: 9px;
    
}

.updateDesc {
	margin: 15px 0 40px 0;
    line-height: 1.5em;
    width: 100%;
    white-space: pre-line;
    font-size: 0.85em;
}

.update {
    margin: 0 auto 20px auto;
    margin-top: 14px;
    overflow-x: hidden;
    overflow-y: auto;
    float: left;
    position: relative;
    min-height: 85%;
    width: 65%;
    border-right: 1px solid #d83e3e;
    padding-right: 42px;

}

.book .hideUpdate {
    overflow: hidden;
    height: 24.3em;
}

.update .hideUpdate {
    overflow: hidden;
    height: 4.5em;
}

#updateShifters {
    font-size: 1.3em;
    width: 58.6%;
    margin: 0 0 30px 50px;
    text-align: left;
}

.updateShifter a, .expand > a {
    color: aliceblue;
}

.updateShifter a:hover, .expand > a:hover {
    color: #d83e3e;
}

#shiftRight {
    float:right;
}

#shiftLeft {
    visibility: hidden;
}

#updateHistory {
    width: 25%;
    position: absolute;
    //height: 92%;
    right: 30px;
    margin-top: 15px;
    text-align: left;
}

.updtHisWrFloat .hTitle{
    width: 45%;
}

.updtHisWrFloat {
    position: fixed !important;
    top: 107px !important;
}

.uHisBullet {
    background-image: url(../img/sep.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px 10px;
    width: 21px;
    height: 21px;
    margin-bottom: -4px;
    display: inline-block;
    margin-right: 5px;
}

.showUpdate {
    height: auto;
}

.expand {
    margin: 0 50px 10px 0;
    display: inline-block;
    float:right
}

.hYear {
    line-height: 1.5em;
}

.hMonth {
    margin-left: 15px;
    line-height: 1.5em;
}

.hTitle {
    margin-left: 15px;
    margin-bottom: 8px;
    line-height: 1.5em;
}

.hYear a, .hMonth a, .hTitle a {
    cursor: pointer;
}

.hCollapsed {
    height: 1.5em;
    overflow: hidden;
}

.hExpanded {
}

.hCurrent > a {
    color: #d83e3e;
}

.hCurrent {
    height: auto !important;
    overflow: auto !important;
}

/* CONTACT */

.contactInputField {
    width: 135%;
    float: right;
}

#contactInputMessage {
    margin-bottom: 10px;
    resize: none;
}

.basket {
    width: 80%;
    margin: 15px auto;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.basket tr td, .basket tr th{
    padding: 5px 0px;
}

.basket tr{
    background-color: #d83e3e;
}

.basket tbody tr:nth-child(odd){
    background-color: brown;
}

thead {
    font-size: 1.2em;
}

.basketBookAmount {
    width: 43px;
    height: 20px;
    font-size: 1em;
}

.lastRow {
    text-align: right;
    padding: 5px 10px !important;
}

#basketTransportPrice {
    float: left;
    margin-top: 3px;
}

#basketUpdate, #basketAdd, #contactSubmit{
    width: 90px;
    font-size: 1.3em;
    margin: 0 auto;
    display: block;
}

#contactSubmit {
    margin-bottom: 5px;
}

#updateRow {
    background: #d83e3e;
}

#basketNewBook {
    margin-top: 10px;
    //background-color: aliceblue;
}

select {
    font-size: 1em;
}

.basketModCol {
    padding: 5px 5px !important;
    width: 0;
}

#orderDesc {
    width: 80%;
    margin: 0px auto;
}

#storeContactWrap {
    width: 60%;
    margin: 0 auto;
}

#storeContactTable {
    width: 100%;
}

.spacer {
    height: 20px;
}

.contactFieldTitle {
    font-size: 1.2em;
}

.requiredField {
    color: #ff5c5c;
}