/*
 * repair Marc display in Chrome!
 */
body {
  line-height: 1.1em;
}


div.logo img {
    max-height: 76px;
    max-width: 62px;
}

div#faculty {
    float: left;
    margin-top: 1em;
}

div#faculty h1, h2 {
    font-family: Verdana,Arial,Helvetica,sans-serif;
    letter-spacing: 0px;
    line-height: 1em;
}

div#faculty h1 {
    font-size: 18px;
}

div#faculty h2 {
    font-size: 12px;
}

div#faculty h1 a:hover, div#faculty h2 a:hover {
    color: #2377CD;  
    text-decoration: none;
}

a:hover {
    color: #2377CD !important;
}

div#main a:hover {
    text-decoration: underline;
}

a.button:hover {
    text-decoration: none !important;
    color: #000 !important;
    background-color: #EEE !important;
}

div#content {
    overflow: hidden;
}

div#top-middle-container {
    float: right;
}


#top-middle-container ul li {
    list-style: none outside none;
    display: block;
    float: left;
    margin: 0px 10px;
    padding-bottom: 2px;
    text-align: center;
//    padding-top: 10px;
padding-bottom: 10px;
}

#top-middle-container ul {
    font-size: 11px;
    //float: right;
}

#top-middle-container {
    color: #069;
}

#top-middle-container ul li a {
    display: inline-block;
//    width: 60px;
    height: 15px;
    font-weight: bold;
    border-bottom: 2px solid #00519E;
}

#top-middle-container ul li a:hover, #top-middle-container ul li a:active, #top-middle-container ul li a:focus {
    text-decoration: none;
    border-bottom: 2px solid #69C;
    color: #69C;
}

div.quicksearch-panel-icons img {
   padding-left: 5px;
}

div#nav a {
   text-align: center;
   white-space: nowrap;
   outline: medium none;
}

div#nav a:hover {
   background: url('https://chamo.bj.uj.edu.pl/chamo/uj/images/bar.png') repeat-x scroll 0px -28px;
   color: white !important;
}

div#nav a, div#nav a:link, div#nav a:active, div#nav a:visited {
   font-weight: normal;
   line-height: 1.6;
}

div.itemFields table td {
  padding-bottom: 5px;
}

.mobileLink {
  display: none;
}

a.title {
  font-size: 1.15em;
}

div.sidebar {
  font-size: 1em;
}

h1.title {
  font-size: 1.6em;
}

div.bottomNavBar {
  clear: both;
  padding-left: 10px;
  padding-right: 10px;
  //border-radius: 10px;
  background: linear-gradient(to bottom, #eee 0%, #FFF 50%, #eee ) repeat scroll 0% 0% transparent;
  margin-top: 20px;
}

div.pageLinks {
    padding: .9em 3px 4px 0px;
}

div#search a {
   font-size: 100%;
}

div#komunikaty {
   text-align: center;
   padding: 15px 0;
   margin: 5px 0px;
   font-style: italic;
   background-color: rgb(252, 252, 252);
   box-shadow: 0px 0px 3px #00519E;
   border-radius: 6px;
}

div#komunikaty p {
   margin: 0px;
   padding: 0px;
}

div.ajax-loader {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background-color: #F8F8F8;
  opacity: .8;
  text-align: center;
  color: #00519E;
  z-index: 100;
}

div.ajax-loader div {
  position: relative;
  top: 48%;
}

.items-sort-tip {
  font-style: italic;
  margin-top: 10px;
}

.icon {
  width: 3em;
  height: 3em;
}

/* LOCATION FILTER*/
   div.location-filter {
     box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0,0,0,0.15);
     border-radius: 4px;
     border: 1px solid #cccccc;
     position: fixed;
     top: 20px;
     left: 0px;
     right: 0px;
     margin: auto;
     max-width: 650px;
     max-height: 95%;
     overflow: auto;
     background: #F8F8F8;
     z-index: 100;
   }
   
   div.content-area {
     margin: 0px 20px;
     border: 1px solid #cccccc;
   }

   div.content-area ul {
     margin: 0px;
     padding: 10px;
   }
   .more-less-ico {
      width:20px;
   }

   .more-less-ico img {
      margin-left: 5px;
      margin-right: 3px;
   }

   .filter-loc-close {
      cursor: pointer;
      font-size: 1.5em;
      font-weight: bold;
      color: #acacac;
   }
   .filter-loc-close:hover {
      color: #444444;
   }
/* END LOCATION FILTER*/

/* COOKIE */
div#cookiesMessage {
   display: none;
   padding: 5px;
   font-size: 14px; 
   line-height: 22px;
   text-align: center;
   position: fixed;
   left: 0px;
   bottom: 0px;
   background-color: #EFEFEF;
   width: 100%;
   z-index: 999;
}

a#closeCookiesWindow {
    clear: both;
    background-color: #00519D;
    padding: 5px 10px;
    color: #FFF !important;
    border-radius: 4px;
    display: inline-block;
    margin: 10px;
    text-decoration: none;
    cursor: pointer;
}
/* END COOKIE */

/* SEARCH TIP */
div.search-tip {
    max-width: 200px;
    font-style: italic;
    color: #00519E;
    z-index: 99;
    position: absolute;
}
/* END SEARCH TIP */


@media all and ( min-width: 851px ) {
         div#nav div.wrapper {
             background: url('https://chamo.bj.uj.edu.pl/chamo/uj/images/bar.png') repeat-x scroll 0px 0px;
         }
}

@media all and ( max-width: 850px ) {
		
	* {
		max-width: 850px;
	}

	div#page {
		min-width: 240px;
		width: 100%;
	}

        /* HEADER */
		div#header {
			height: auto;
		}

		div#branding {
			display: block;
			padding: 5px;
			width: 100%;
			height: auto;
			overflow: hidden;
			clear: both;
		}
              
		div.logo {
                        width: 100%;
                        text-align:center;
		} 
                div.logo img {
                         max-height: 50px;                        
                         max-width: 50px;
                }

		div#faculty {
			display:block;
                        float: none;
			text-align:center;
			overflow:hidden;
                        margin: 0px;
			clear:both;
		}
             

	/* LOCALE & THEME LINKS */

                div#locale {
                        float: left;
                        display: inline-block;
                        padding-left: 10px;
                }
                div.helpLink {
                        padding: 0 10px 5px 0;
                }               
                div.themeLinks {
                        display:none;
                }
                div#top-middle-container { display: none; }


        /* PRIMARY NAV */
                ul#primary-nav li {
                        display:block;
                        width:100%;
                }
                ul#primary-nav li a {
                        display:block;
                        padding:10px 5px !important;
                        border:solid 1px #ccc;
                }


	/* SEARCH */
                div.quicksearch-panel {
                        width: 100%;
                }
                div.quicksearch-panel-icons {
                        display: none;
                }
                div.quicksearch-panel input {
                        width:95%;
                        margin:0px;
                        padding-top: 5px;
                }
                div.quicksearch-panel input.button {
                        display:inline-block;
                        min-width:280px;
                        margin:10px;
                }
                div.advancedSearchLink {
                        margin:5px;
                        text-align: center;
                }	


        /* SEARCH RESULTS */
                div#searchTerms {
                        padding:5px;
                }
                div.list {
                        width:100%;
                }
                div.recordNumber {
                        min-width:25px !important;
                }
                div.record { margin-left:5px !important; }
                div.recordCart{
                        margin-left:0px !important;
                }
                

        /* SEARCH REFINE */
                div.sidebar {
                    width:100%;
                }

        a.button, input.button {
                    padding: 10px;
                }
        
        div#itemView {
                   width: 100%;
                   overflow: auto;
                }
}
