body{
    font-family: "arial";
    display: none;
    opacity: 0;
    transition: opacity 0.15s;
}

.main{
    margin-right: 3%;
    margin-left: 3%;
    height: 88%;
    margin-bottom: 5px;
    border-bottom: solid black 1px;
    overflow: auto;
    position: relative;
    top: 50px;
}
.footer{
    width: 90%;
    
    top:96%;
    margin-left: 3%;
    margin-bottom:15px;
    position: absolute;   
}
.listNav{
    display:table;
    margin:0 auto;
}
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%;
    
}
table.list:not(.graphic):not(.easy) {
    font-size: 12px;
    border: 1px solid black;
    border-collapse: collapse;   
    table-layout: fixed;
    width: 100%;
    cursor: pointer;
    
}
.list:not(.graphic):not(.easy) th, .list:not(.graphic):not(.easy) 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;
    font-size: 12px;
    width: 100%;
    cursor: pointer;
}
.easy td{
    border:none;
    text-overflow:ellipsis;
    overflow: hidden; 
    white-space: nowrap;
    max-width: 100px;
}
.easy .selAutrityTarget{
    font-weight: bold;
    color: blue;
}
.easy .selAutritySource{
    font-weight: bold;
    color: red;
}
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:not(.graphic) tr:not(:first-child):hover{
    background-color: lightgrey;
}
.easy tr:hover{
    background-color: inherit !important;
}
.easy td:hover{
    font-weight: bold;
}
.easy .gCell{
    height: 100px;
    width: 20px;
    
}
.gcell div.bookMenu{
    text-align: center;
    position: relative;
    top:-60px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s;
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(0, 0, 0, .3);
    height: 32px;
}
.gcell:hover div.bookMenu{
    visibility: visible;
    opacity: 1;

    
}
.gcell div.bookMenu img{
    height: 25px;
    top:5px;
}
.graphic td{
    font-size: 12px;
    
}
.graphic .gcell img{
    height: 100px;
    width: auto;
}
.graphic .gCell span{
    display: block;
    white-space: break-spaces;
    text-align: center;
    max-width: 200px;
}
.listHeader{
    margin-left: auto;
    margin-right: auto;
    width: 250px;
    font-weight:bold;
    margin-bottom: 5px;
    
}
.listHeader .switch{
    color: grey;
    cursor: pointer;
}
.list:not(.graphic) .today{
    background-color: lightpink;
}
.list:not(.graphic) .borrowed{
    background-color: lightskyblue;
    color:blue;
}
.list:not(.graphic) .disabled{
    background-color: ghostwhite;
    color:grey;
}
.list:not(.graphic) .deleted{
    background-color: yellow;
}
.list .today #bImg{
    border: solid darkred;
}
.list .borrowed #bImg{ 
    filter: grayscale(1);
}
.list .disabled #bImg{
    filter: grayscale(1);
    opacity: 0.2;
}
.list .deleted #bImg{
    filter: sepia(1);
}

.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-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;
}

.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;
}

.subform{
    display: none;
}

.scroolText {
    animation-play-state: paused;
    max-width: 80%;
}
.scroolText:hover {
  
  display: inline-block;
  white-space: nowrap;
  animation: floatText 5s infinite linear;
 
}
@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: 999;
    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 ;
}