body.mainW{
    font-family: "arial";
    display: none;
    opacity: 0;
    transition: opacity 0.15s;
}

.main{
    margin-right: 1%;
    margin-left: 1%;
    height: 88%;
    margin-bottom: 5px;
    border-bottom: solid black 1px;
    overflow: auto;
    width: 98%;
    position: absolute;
}
div.totals{
    
    width: 99%;
    height: 99%;
    
    margin: 1%;

    font-size: 12px;
    font-family: monospace;
}
div.resizer{
    background-color: black;
    width: 2px;
    height: 88%;
    position: absolute;
    left: 45%;
    padding-top: 55px;
    cursor: col-resize;
    z-index: 2;
}

.footer{
    width: 95%;
    
    top:96%;
    margin-left: 3%;
    margin-bottom:15px;
    position: absolute;   
}
.listNav{
    display:table;
    position: absolute;
    right: 20%;
}
div#infoBox{
    position: absolute;
    top: 0;
    right: 20%;
    font-size: 13px;
    background-color: lightgreen;
    display:none;
}
.blinkMe{
    animation: blinker 1s linear infinite;
    opacity:1;
}
.wasError{
    background-color: lightcoral !important;
    font-weight: bold;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}
.recCnt{
    margin-left: 10px;
    color:grey;
    font-size: smaller;
}
.search{
    position:absolute;
    top:0;
}
.inFilter{
    display:inline-block;
    font-size: smaller;
    max-width: 150px;
    max-height: 17px;
    overflow: hidden;
    vertical-align: middle;
    color: initial;
}
 a:hover, a:visited, a:link, a:active{
    text-decoration: none;
}

.search input{
   max-width: 150px; 
}
.footer img{
    width:20px;
    vertical-align: middle;
    margin-left: 5px;
    transition:0.3s;
    cursor: pointer;
}
.footer img:hover{
    transform: scale(2);
}
.filter{
    margin-left: 10px;
}
.footer > div.newObj{
    position: absolute;
    top:0;
    right:1%;
    
}
.footer > div.functionButton{
    position: absolute;
    top:0;
    right:10%;
    
}
table.list {
    font-size: 12px;
    border: 1px solid black;
    border-collapse: collapse;   
    table-layout: fixed;
    width: 100%;
    cursor: pointer;
    
}

.list th, .list td{
    border: 1px solid lightgray;
    text-overflow:ellipsis;
    overflow: hidden; 
    white-space: nowrap;
}
.list th{
    background-color: lightgray;
}
table.easy{
    border: none;
    font-style: italic;
}
.easy td{
    border:none;
    
}
.list .selected{
    font-weight: bold;
    background-color: #f7faff;
}
th img{
    height: 10px;
    float: right;
    margin-top: 2px;
}
th#action{
    width:75px;
}
td img{
    height: 10px;
    margin-top: 2px;
    margin-left: 8px;
    transition:0.3s;
}
td img:hover{
    transform: scale(2);
}
span a img{
    height: 20px;
    vertical-align: bottom;
}
.list tr:not(:first-child):hover{
    background-color: lightgrey;
}
.easy tr:hover{
    background-color: inherit !important;
}
.easy td:hover{
    font-weight: bold;
}
.listHeader{
    margin-left: auto;
    margin-right: auto;
    width: 400px;
    font-weight:bold;
    margin-bottom: 5px;
    padding-top: 30px;
}
.today{
    background-color: lightpink;
}
.borrowed{
    background-color: lightskyblue;
    color:blue;
}
.disabled{
    background-color: ghostwhite;
    color:grey;
}
table tr.disabled  {
  filter: sepia();
  pointer-events: none;
}
.deleted{
    background-color: yellow;
}
.error{
    color:red;
}
fieldset{
    border:none;
}
fieldset:disabled input, textarea{
    
    background-color: white;
    
}

/* ------------ MODAL ------------ */
.mwin {
  position: fixed;
  background-color: rgba(200, 200, 200, 0.75);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  opacity: 1;
  cursor:default;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}
.mwin:target {
  opacity: 1;
  pointer-events: auto;
}
.mwin>div {
  
    position: absolute;
    padding: 2rem;
    background: #fff;
    color: #444;
    width: 500px;
    height: 200px;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;

    margin: auto;
    
    overflow: auto;
  
}
.mwin header {
  font-weight: bold;
}
.modal-close, .modal-maximize {
  color: #aaa;
  line-height: 25px;
  font-size: 80%;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 25px;
  text-decoration: none;
}
.modal-maximize{
    right: 20px;
    width: 20px;
    height: 20px;
    margin-top: 3px;
    background-repeat: no-repeat;
    background-size: 18px;
    background-image: url('/app/pics/maximize.png');
    
}
.modal-maximize:hover{
    
}
.modal-close:hover {
  color: #000;
}
.mwin h1 {
  font-size: 120%;
  margin-top: 0;
  margin-bottom: 0;
  position: relative;
  top:-20;
}
.modal-content{
    border:2px solid black;
}
.modal-content fieldset.formActions{
    
}
.modal-confirm{
    padding-left: 5px;
    padding-right: 5px;
    line-height: 25px;
    font-size: 80%;
    float:right;
    right: 10px;
    text-align: center;
    bottom: 5px;
    border:2px solid #aaa;
    min-width: auto !important;
    width: 200px;
    background-color: lightgrey;
    font-weight: bold;
    display: block !important;
}
.modal-confirm:hover{
    color:black;
    border-color: black;
}
.modal-content table{
    margin-bottom: 20;
    
}
.modal-content table{
    font-size:13px;
}
.bookForm textarea{
    width: 100%;
    height: 150px;
}
.bookForm table{
    width:100%;
}
.bookForm input{
    width:100%;
}
.subtable{
    margin: 0 !important;
    font-size: 11px !important;
}
.subtable tr:hover{
    text-shadow: 1px 1px grey;
}
.subtable tr{
    transition:0.3s;
}
.subtable img:hover{
    transform: scale(2);
}
.subtable img{
    transition: 0.3s;
}
.bookForm>div{
    min-width: 45%;   
    display: inline-block;  
    vertical-align: top;
}

div.header{
    background-color: black;
    width: 100%;
    height: 30px;
    position:absolute;
    top:0;
    left: 0;
}
div.header img{
    max-height: 100%;
    margin-left: 90px;
}
div.header spa
div.header a, a:link, a:visited, a:active{
    color:white !important;
}
div.header select{
    background-color: inherit;
    color: inherit;
}
div.header select option{
    background-color: black;
    color: white;
}

.menu, .smallMenu{
    display:none;
}

div.menu span.actual a, div.smallMenu span.actual a{
    color:grey;
    font-weight: 800;
}
div.menu span.actual, div.smallMenu span.actual{
    font-weight: 800;

}
div.menu span,  div.smallMenu span{
    margin-left: 15px;
    line-height: 30px;
    vertical-align: middle;
}

div.menu, div.smallMenu {
    font-size: 13px;
    min-width: 700px;
    position: absolute;
    text-align: left; 
    color:white !important;
}
div.smallMenu{
    margin-top: 4px;
}
@media all and (min-width: 1000px) {
    div.menu { 
        display: initial;
    }
    div.menu span a:hover{
        color:grey;
        text-decoration: underline;
        transition: 0.3s;
    }
}
@media all and (max-width: 999px) {
    .smallMenu{
        display:initial;  
    }

    .smallMenu .ui-menu .ui-menu-item{
        font-size:12px;
    }
    .smallMenu .ui-menu-item-wrapper:hover{
        text-decoration: underline;
        
    }
    .smallMenu ul{
        border: none;
        background: black !important;
         color:white;
    }

    .smallMenu .ui-widget.ui-widget-content{
        border:none;
        background: black;
    }
    .smallMenu a.link:hover a:hover{
        color:grey !important;  
    }
    .smallMenu  a, a.link{
        color:white !important;
        white-space:nowrap;
    }
    .smallMenu .ui-menu .ui-state-active {
	margin: inherit;
        border: none;
        color:grey;
        
    }

   
}
#menubar {
    position: relative;
    margin-left: 90px; 
    text-align: left;
    color:white;
    float:left;
}

/* Make jQuery UI Menu into a horizontal menubar with vertical dropdown */
#menubar > li { /* Menubar buttons */
  display: inline-block;
}
#menubar > li > ul > li { /* Menubar buttons inside dropdown */
  display: block;
}

/* Change dropdown carets to correct direction */
#menubar > li > div > span.ui-icon-caret-1-e {
  /* Caret on menubar */
  background:url(https://www.drupal.org/files/issues/ui-icons-222222-256x240.png) no-repeat -64px -16px !important;
}
#menubar ul li div span.ui-icon-caret-1-e {
  /* Caret on dropdowns */
  background:url(https://www.drupal.org/files/issues/ui-icons-222222-256x240.png) no-repeat -32px -16px !important;
}
.appInfo{
    position: absolute;
    font-size: 8px;
    margin-left: 10px;
    color:grey;
    margin-top: 3px;
    
}

.working {
  pointer-events: none;
  cursor:wait;
  z-index: 999;
}

.subform{
    display: none;
}

.scroolText {
    animation-play-state: paused;
    max-width: 80%;
}
.scroolText:hover {
  
  display: inline-block;
  white-space: nowrap;
  animation: floatText 5s infinite linear;
 
}
.price{
    float: right;
    margin-right: 10px;
}

@keyframes floatText {
  to {
    transform: translateX(-100%);
  }
}
.btnLink{
    cursor:pointer;
    font-size:13px;
    display:inline;
    margin-right: 30px;
}
.subFormLink{
    cursor:pointer;
    font-weight: bold;
    font-size:13px;
    display:inline;
    margin-right: 30px;
    
}

h2 {
    padding-top:50px;
}
.tright{
    transform: translateX(-100%); 
    transition: transform 1s;
    pointer-events: none;
}
.tleft{
    transform: translateX(100%);
    transition: transform 1s;
    pointer-events: none;
}

.loader{
    background-image: url('/app/pics/books.gif');
    position: absolute;
    left: 50%;
    width: 100px;
    height: 100px;
    z-index: 0;
    top: 50%;
    opacity:0;
}
a.forgotten{
    color: grey !important;
    font-size: 13px;
}
div#terms{
    margin:50px;
    
}
div#terms a{
    color:black !important;
}
.alink{
    cursor: pointer;
}
.alink:hover{
    text-decoration: underline;
}

.unitTest{
    font-family: courier;
    font-size: 13px;
}
.unitTest .error{
    color:red;
    font-weight: bold;
    padding-left: 20px ;
}
.unitTest .section{
    padding-top: 10px ;
    font-weight: bold;
}
.unitTest .normal{
    padding-left: 20px ;
}
.entry{
    width: 35%;
    height: 90%;
    
    z-index: 10;
    position: fixed;
}

div.rootcat{
    font-weight: bold;
}
div#catTotals div.row{
   display:flex; 
   
   
   overflow: hidden;
}

div#catTotals div.sub1{
   padding-left: 10px; 
}
div#catTotals div.sub2{
   padding-left: 20px; 
}
div#catTotals div.sub3{
   padding-left: 30px; 
}
div#catTotals div.sub4{
   padding-left: 40px; 
}
div#catTotals div.subD{
   padding-left: 40px; 
   font-weight: normal;
}
div#catTotals div.row span.iname{
    max-width: 300px;

}
div#catTotals div.row span.iproof{
    position: absolute;
    right: 50%;
    text-align: right;
}
div#catTotals div.row span.idate{
    position: absolute;
    right: 30%;
    text-align: right;
    overflow: hidden;

    max-width: 100px;
    display: inline-block;
    max-height: 15px;
}
div#catTotals div.row span{
    float:left;
    display:inline-table;
}
div#catTotals div.row.head{
    height: 30px;
}
div#catTotals div.head span{
   color:grey;
}
div#catTotals div.totl span{
   color:darkblue;
   
   margin-top: 8px;
   
}
div#catTotals div.totl{
    font-weight: bold;
}
div#catTotals span.sum1{
    position: absolute;
    right: 20px;
  
    text-align: right;
}
div#catTotals span.sum2{
    position: absolute;
    right: 100px;
    text-align: right;
}
div#catTotals span.sum3{
    position: absolute;
    right: 180px;
    text-align: right;
}
div#catTotals span.sum4{
    position: absolute;
    right: 260px;
    text-align: right;
}
div#catTotals span.sum5{
    position: absolute;
    right: 320px;
    text-align: right;
    
}
div#catTotals span.sum5.head{
    max-width: 90px;
    
}
div#catTotals span.sum4.head{
    max-width: 90px;
   
}
div#catTotals span.sum3.head{
    max-width: 90px;
   
}
div#catTotals span.sumB{
    position: absolute;
    right: 20px;
    color: red; 
    text-align: right;
    
    
}
div#catTotals span.sumA{
    position: absolute;
    right: 70%;
    color: red; 
    text-align: right;
}
div#catTotals span.head{
    color: grey !important;
}
div#catTotals div.rowContrast{
    background-color: rgb(247, 247, 247);
}

div.printOut{
    page-break-inside: avoid;
    font-family: arial;
    font-size: 13px;
}
div.cut{
    border-bottom: lightgray 1px dashed;
    padding-bottom: 50px;
}
span.cut{
    background-image: url("app/pics/nuzky.png");
    background-size: 20px;
    background-repeat: no-repeat;
    float: left;
    position: absolute;
    width: 50px;
    height: 50px;
    margin-top: 43px;
    opacity: 50%;
}
.printOut .proofType{
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    margin-bottom: 50px;
}
.printOut .proofText{
    font-family: Courier New;
    font-size: 14px;
    padding-left: 7px;
    padding-right: 7px;
    padding-top: 2px;
    padding-bottom: 2px;
}
.printOut .price{
  
    float:none;
    font-weight: bolder;
    background-image:url('/app/pics/priceBackground.png');  
}
.printOut .signature{
    width: 40%;
    display: inline-block;
    margin-top: 40px;
}
.printOut .signature:after{
    content: '.................................................................';
}
.printOut .organization{
    width: 40%;
    display: inline-block;
    border: solid black 2px;
    padding: 5px;
    border-radius: 7px;
}