@import url("../opac.css");

/* password gdpr */
@import url("/opac-tmpl/bootstrap/css/keeps/opac-passwordgdpr.css");

/*** geral ***/

.main {
	padding-top: 20px;
}

.breadcrumb {
	display: none;
}

.table-striped tbody>tr:nth-child(odd)>td,
.table-striped tbody>tr:nth-child(odd)>th {
        background: none;
}

.table-striped tr:hover td {
        background-color: #efefef !important;
}

#usermenu {
	margin-bottom: 20px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
    box-shadow: 0 0 0px 1000px white inset !important;
}

/*** opac-account ***/

#opac-account td.sum {
	background-color: #ecede6;
}

/*** opac-addbybiblionumber ***/

#addtolist {
	margin: 1em;
}

#addtolist p {
	display: none;
}

#addtolist .main {
	padding: 1em;
}
	
#addtolist #newvirtualshelf,
#addtolist #category {
	width: 95%;
}

/*** opac-authorities-home ***/

#opac-authorities #value {
	width: 206px;
}

#opac-authorities fieldset.action {
	margin-left: 178px;
}

/*** opac-authoritiesdetails ***/

#opac-authoritiesdetail .view {
    font-size: 15px;
}

#opac-authoritiesdetail .view a,
#opac-authoritiesdetail .view span { 
    padding-bottom: 6px;
}

/*
#opac-authoritiesdetail .view a {
        border-right: 1px solid #c9c9c9;
        border-top: 1px solid #c9c9c9;
        -moz-border-radius-topright: 4px;
        -webkit-border-top-right-radius: 4px;
        -khtml-border-top-right-radius: 4px;
        border-top-right-radius: 4px;
        -moz-border-radius-topleft: 4px;
        -webkit-border-top-left-radius: 4px;
        -khtml-border-top-left-radius: 4px;
        border-top-left-radius: 4px;
        padding-bottom: 6px;
}

#opac-authoritiesdetail .view span {
        padding-bottom: 6px;
        border-bottom: 1px solid white;
        border-left: 1px solid #c9c9c9;
        border-right: 1px solid #c9c9c9;
        border-top: 1px solid #c9c9c9;
        -moz-border-radius-topright: 4px;
        -webkit-border-top-right-radius: 4px;
        -khtml-border-top-right-radius: 4px;
        border-top-right-radius: 4px;
        -moz-border-radius-topleft: 4px;
        -webkit-border-top-left-radius: 4px;
        -khtml-border-top-left-radius: 4px;
        border-top-left-radius: 4px;
} */

#opac-authoritiesdetail h1 {
    margin-bottom: 0px;
}

#opac-authoritiesdetail .authstanza{
    margin-top: 10px;
    font-size: 14px !important;

}


#opac-authoritiesdetail .authstanza label {
    margin-top: 0em;
    font-size: 14px !important;
}


#opac-authoritiesdetail .heading.authorized.auth .label {
    font-size: 14px;
}


#opac-authoritiesdetail .authstanza li {
    font-size: 13px;
}

#opac-authoritiesdetail #userauthMARCdetails > p{
    margin-top: 10px;

}

#opac-authoritiesdetail .usedin{
    margin-top: 10px;

}

#opac-authoritiesdetail ul.seefrom,
#opac-authoritiesdetail ul.seelso
{
    list-style-type: none;
    margin-left: 5px;
}


#opac-authoritiesdetail .authstanza.seealso{
    margin-top: -5px;
}

/*#opac-authoritiesdetail div.seefrom {
    margin-top: 1em;
}*/

#opac-authoritiesdetail #authdescriptions,
#opac-authoritiesdetail #authdescriptions ul,
#opac-authoritiesdetail #authdescriptions ul li a {
    padding: 0;
}

#opac-authoritiesdetail #authdescriptions ul li {
    border: none;
}

#opac-authoritiesdetail #authdescriptions #descriptions {
    border: none;
}

#opac-authoritiesdetail #userauthMARCdetails ul {
    font-size: 13px;
}

#opac-authoritiesdetail ul.jstree-no-icons {
    font-size: 13px;
    margin-top: 10px;
}

/*** opac-blocked ***/

#opac-blocked #opac-blocked-message {
	margin-bottom: 30px;
}

/*** opac-browser ***/

#opac-browser #warning {
	margin-bottom: 30px;
}

/*** opac-detail ***/

#opac-detail .results_summary {
        line-height: 1em;
}

#opac-detail .ratings {
        line-height: 20px;
}

#opac-detail .results_summary .label {
        min-width: 190px;
        display: inline-block;
}

#opac-detail #bookcover {
        float: right;
        margin-top: 40px;
}

#opac-detail #bookcover img {
        display: block;
        border: 1px solid #efefef;
}

#opac-detail #gbs-thumbnail-preview {
	margin-top: -10px;
}

#opac-detail #gbs-thumbnail-preview div {
        display: none;
}

#catalogue_detail_biblio {
	min-height: 220px;
}

#opac-detail #bibliodescriptions {
        font-size: 0.9em !important;
}

#opac-detail #bibliodescriptions ul,
#opac-detail #bibliodescriptions #comments,
#opac-detail #bibliodescriptions #descriptions {
        font-size: 0.9em !important;
}

#opac-detail #bibliodescriptions ul li a {
        padding: .2em 1em;
}

#opac-detail #bibliodescriptions .table-bordered {
        border: none;
        margin-bottom: 0px;
}

#opac-detail #bibliodescriptions .table th,
#opac-detail #bibliodescriptions .table td,
#opac-detail #bibliodescriptions .table tr {
        padding: 2px;
        border: none;
        background: none;
}

#opac-detail #bibliodescriptions .table th {
        border-bottom: 1px solid #efefef;
}

#opac-detail #bibliodescriptions .table tr:hover td {
        background-color: #efefef;
}

#opac-detail #bibliodescriptions .table .sorting_asc {
        background: url("../images/asc.gif") no-repeat scroll right center white;
}

#opac-detail #bibliodescriptions .table .sorting_desc {
        background: url("../images/desc.gif") no-repeat scroll right center white;
}

#opac-detail #bibliodescriptions .table .sorting {
        background: url("../images/ascdesc.gif") no-repeat scroll right center white;
}

#opac-detail .view {
    font-size: 1.07em;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
/*
#opac-detail .view a {
        border-right: 1px solid #c9c9c9;
        border-top: 1px solid #c9c9c9;
        -moz-border-radius-topright: 4px;
        -webkit-border-top-right-radius: 4px;
        -khtml-border-top-right-radius: 4px;
        border-top-right-radius: 4px;
        -moz-border-radius-topleft: 4px;
        -webkit-border-top-left-radius: 4px;
        -khtml-border-top-left-radius: 4px;
        border-top-left-radius: 4px;
        padding-bottom: 6px;
}

#opac-detail .view span {
        padding-bottom: 6px;
        border-bottom: 1px solid white;
        border-left: 1px solid #c9c9c9;
        border-right: 1px solid #c9c9c9;
        border-top: 1px solid #c9c9c9;
        -moz-border-radius-topright: 4px;
        -webkit-border-top-right-radius: 4px;
        -khtml-border-top-right-radius: 4px;
        border-top-right-radius: 4px;
        -moz-border-radius-topleft: 4px;
        -webkit-border-top-left-radius: 4px;
        -khtml-border-top-left-radius: 4px;
        border-top-left-radius: 4px;
}
*/

#login4tags {
    background-image: none;
}

#opac-marcdetail .table-bordered {
        border-left: 1px solid #dddddd;
}

#opac-detail #holdings th {
	width: auto !important;
}

#opac-detail #holdings th#item_callnumber {
	min-width: 40px;
}

#listResults li {
    background-color: #c0c0c0;
}

.results-pagination {
    position: relative;
}

/*** opac-downloadcart ***/

#opac-downloadcart {
        margin: 1em;
}

#opac-downloadcart p {
	display: none;
}

/*** opac-downloadshelf ***/

#opac-downloadlist {
	margin: 1em
}

#opac-downloadlist #comment {
	margin: 0px;
}

/*** opac-main ***/

#loginModal {
	top: 50%;
	width: 450px;
	margin-left: -225px;
	margin-top: -150px;
}

#loginModal #muserid,
#loginModal #mpassword {
	width: 95%;
}

#loginModal form {
	margin-bottom: 0px;
}

#loginModal .modal-footer {
	background: none;
}

/*** opac-memberentry ***/

#opac-patron-update .main input[type="text"],
#opac-patron-update textarea,
#opac-patron-update select {
	width: 70%;
}

#opac-patron-update fieldset.action {
	margin-left: 178px;
}

#opac-patron-registration .main input[type="text"],
#opac-patron-registration textarea,
#opac-patron-registration select {
        width: 70%;
}

#opac-patron-registration fieldset.action {
        margin-left: 178px;
}

/*** opac-readingrecord ***/

#opac-readingrecord .statictabs li {
	border: 1px solid #d8d8d8;
	background-color: #f3f3f3;
	color: #0088cc;
}

#opac-readingrecord .statictabs li.active {
	background-color: white;
	color: black;
}

#opac-readingrecord .statictabs li a:hover {
	background-color: #f3f3f3;
	color: #0076b2;
}

#opac-readingrecord .statictabs li.active a:hover {
        background-color: white;
        color: black;
}

#opac-readingrecord .statictabs .tabs-container {
	border: 1px solid #d8d8d8;
}

#opac-readingrecord .table-striped td {
	vertical-align: middle;
}

#opac-readingrecord .table-striped tr td:first-child div {
	width: 55px;
        height: 100px;
        margin: 0 auto;	
}

#opac-readingrecord .table-striped tr td:first-child div img {
        height: 100%;
        max-width: 55px;
        margin: 0 auto;
}

/*** opac-registration-verify ***/

#opac-confirmation-pending .alert {
	background: #f4f6fa;
	background: -moz-linear-gradient(top, #f4f6fa 0, #eaeef5 4%, #e8edf6 96%, #cddbf2 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #f4f6fa), color-stop(4%, #eaeef5), color-stop(96%, #e8edf6), color-stop(100%, #cddbf2));
	background: -webkit-linear-gradient(top, #f4f6fa 0, #eaeef5 4%, #e8edf6 96%, #cddbf2 100%);
	background: -o-linear-gradient(top, #f4f6fa 0, #eaeef5 4%, #e8edf6 96%, #cddbf2 100%);
	background: -ms-linear-gradient(top, #f4f6fa 0, #eaeef5 4%, #e8edf6 96%, #cddbf2 100%);
	background: linear-gradient(to bottom, #f4f6fa 0, #eaeef5 4%, #e8edf6 96%, #cddbf2 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f4f6fa', endColorstr='#cddbf2', GradientType=0);
	border-color: #c5d1e5;
	color: #333;
}

/*** opac-review ***/

#comment {
	margin: 1em;
}

/*** opac-search ***/

#advsearch #booleansearch label {
        /*width: 24px;*/
        display: none;
}

#advsearch #subtypes {
        display: none;
}

#advsearch legend {
	margin-bottom: 10px;
	line-height: 30px;
}

#advsearch #pubrange fieldset label,
#advsearch #langfilter fieldset label,
#advsearch #location fieldset label,
#advsearch #sortby fieldset label {
	display: none;
}

#advsearch #limit-yr, #advsearch #language-limit,
#advsearch #branchloop,  #advsearch #categoryloop,
#advsearch #sort_by {
    width: 100%;
}

#results a.title {
        font-size: 150%;
        padding-bottom: 0.5em;
}

#results td img {
        border: 1px solid #efefef;
        text-decoration: none;
}

#results .results_summary {
        line-height: 1em;
}

#results .ratings {
        line-height: 20px;
}

#results .results_summary .label {
        min-width: 120px;
        display: inline-block;
}

#results .suggestion {
        text-align: center;
        width: 100%;
}

#results .suggestion br {
        display: none;
}

#results td {
    padding-left: 0px;
    padding-right: 0px;
}

#results td input[type="checkbox"] {
    margin-top: -1px;
    margin-right: 4px;
}

#results .results_summary .unavailable {
    margin-left: 1em;
    font-size: 1em;
    font-weight: bold;

}

#results .results_summary span.label {
    padding-right: 5px;
}

#results span#facet-holding-libraries,
#results span#facet-home-libraries {
    margin: 10px 0;
    display: block;
}

/*** opac-sendbasket ***/

#addtolist #comment {
	margin: 0;
}

#addtolist #email_add,
#addtolist #comment {
	width: 95%;
}

/*** opac-sendshelf ***/

#sendshelf {
	margin: 1em;
}

#sendshelf #comment {
	margin: 0;
}

#sendshelf input[type="text"],
#sendshelf textarea {
	width: 95%;
}

/*** opac-serial-issues ***/


#opac-full-serial-issues .view {
    font-size: 15px;
	padding-right: 0px;
    font-weight: bold;
}

#opac-full-serial-issues #views > span:nth-child(1),
#opac-full-serial-issues #views > span:nth-child(3){

    width: 113px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border: 1px solid #C9C9C9;
    border-bottom-width: 0;

}

#opac-full-serial-issues #views > span:nth-child(2)
{
    display: none;
}
#opac-full-serial-issues #views > span:nth-child(3)
{
    background-color: #fff;
}
#opac-full-serial-issues #views #Fullhistory{
    background-position: -8px 3px;
}


#opac-full-serial-issues #search-facets label,
#opac-full-serial-issues #search-facets select {
	margin-left: 10px;
}

#opac-full-serial-issues #Briefhistory {
	display: none;
}

#opac-full-serial-issues #searchfacetscontainer{
    max-width: 186px;
}

#opac-full-serial-issues #libraryfilter,
#opac-full-serial-issues #subscriptionidfilter{
    width: 163px !important;
    margin-right: 10px;
}

/*** opac-shareshelf ***/

#opac-shareshelf #invite_address {
	width: 50%;
	background-color: #ffffff;
	border: 1px solid #cccccc;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	-webkit-transition: border linear .2s, box-shadow linear .2s;
	-moz-transition: border linear .2s, box-shadow linear .2s;
	-o-transition: border linear .2s, box-shadow linear .2s;
	transition: border linear .2s, box-shadow linear .2s;
	display: inline-block;
	height: 20px;
	padding: 4px 6px;
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 20px;
	color: #555555;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	vertical-align: middle;
}

#opac-shareshelf fieldset.action {
	margin-left: 178px;
}

/*** opac-shelfes ***/

#opac-userlists #toolbar {
	background: none;
	border: none;
	margin-bottom: 10px;
}

#opac-userlists #toolbar .newshelf {
	background: none;
}

#opac-userlists fieldset.action {
	margin-left: 178px;
}

#opac-userlists input#addshelf,
#opac-userlists input#shelfname {
	width: 70%;
}

#opac-userlists a.title {
        font-size: 150%;
        padding-bottom: 0.5em;
        display: block;
}

#opac-userlists td img {
        border: 1px solid #efefef;
        text-decoration: none;
}

#opac-userlists .results_summary {
        line-height: 1em;
}

#opac-userlists .results_summary .label {
        min-width: 120px;
        display: inline-block;
}

#opac-userlists td {
        padding-left: 0px;
        padding-right: 0px;
}

#opac-userlists td input[type="checkbox"] {
        margin-top: 0;
}

#opac-userlists .actions {
	line-height: 20px;
	font-size: 120%;
	margin-top: 20px;
}

/*** opac-showreviews ***/

#opac-showreviews .results_summary {
        line-height: 1em;
}

#opac-showreviews .results_summary .label {
        min-width: 120px;
        display: inline-block;
}

#opac-showreviews #showreviews .commentline {
	font-style: italic;
}

#opac-showreviews #showreviews .commentline span {
	display: block;
	font-style: normal;
}

/*** opac-suggestions ***/

#opac-usersuggestions .main input[type="text"],
#opac-usersuggestions textarea {
        width: 70%;
}

#opac-usersuggestions fieldset.action .action {
        margin-left: 5px;
}

#opac-usersuggestions .new {
	background: none;
}

/*** opac-topissues ***/

#opac-topissues #search-facets {
	margin-bottom: 20px;
}

#opac-topissues p {
	margin-bottom: 0px;
}

#opac-topissues .table-striped td {
	vertical-align: middle;
}

/*** opac-user ***/

#opac-user #renewselected input[type="submit"],
#opac-user #renewall input[type="submit"] {
	width: 200px;
}

#opac-user #renewall {
}

#opac-user .table-striped td {
	vertical-align: middle;
}

#opac-user .jacketcell div {
	width: 55px;
	height: 100px;
	margin: 0 auto;
}

#opac-user .jacketcell img {
	height: 100%;
	max-width: 55px;
	margin: 0 auto;
}

/***************************
*	BUTTONS
***************************/

#opac-downloadcart input[type="submit"],
#opac-userlists #toolbar .newshelf,
#opac-usersuggestions .new {
	display: inline-block;
        padding: 4px 12px;
        margin-bottom: 0;
        font-size: 14px;
        line-height: 20px;
        text-align: center;
        vertical-align: middle;
        cursor: pointer;
        color: #333333;
        text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
        background-color: #f5f5f5;
        background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
        background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
        background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
        background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
        background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
        background-repeat: repeat-x;
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
        border-color: #e6e6e6 #e6e6e6 #bfbfbf;
        border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
        filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
        border: 1px solid #cccccc;
        border-bottom-color: #b3b3b3;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
        -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
        -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
}

#opac-downloadcart input[type="submit"]:hover,
#opac-userlists #toolbar .newshelf:hover,
#opac-usersuggestions .new:hover {
	color: #333333;
	text-decoration: none;
	background-position: 0 -15px;
	-webkit-transition: background-position 0.1s linear;
	-moz-transition: background-position 0.1s linear;
	-o-transition: background-position 0.1s linear;
	transition: background-position 0.1s linear;
}

#addtolist input[type="submit"],
#opac-authorities fieldset.action input[type="submit"],
#opac-downloadcart input[type="submit"],
#opac-downloadlist input[type="submit"],
#opac-patron-update input[type="submit"],
#opac-patron-registration input[type="submit"],
#comment input[type="submit"],
#sendshelf input[type="submit"],
#opac-shareshelf input[type="submit"],
#opac-userlists #toolbar .newshelf,
#opac-userlists fieldset.action input[type="submit"],
#opac-usersuggestions input[type="submit"],
#opac-usersuggestions .new,
#opac-topissues input[type="submit"],
#opac-passwd input[type="submit"],
#opac-user #renewselected input[type="submit"],
#opac-user #renewall input[type="submit"],
#opac-full-serial-issues input[type="reset"],
#advsearch input[type="submit"] {
    display: inline;
    zoom: 1;
    padding: 4px 12px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    color: #333333;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    background-color: #f5f5f5;
    background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
    background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    background-color: #e6e6e6;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    border: 1px solid #cccccc;
    border-bottom-color: #b3b3b3;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin-left: .3em;
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
}

#addtolist input[type="submit"]:hover,
#addtolist input[type="submit"]:focus,
#opac-authorities fieldset.action input[type="submit"]:hover,
#opac-authorities fieldset.action input[type="submit"]:focus,
#opac-downloadcart input[type="submit"]:hover,
#opac-downloadcart input[type="submit"]:focus,
#opac-downloadlist input[type="submit"]:hover,
#opac-downloadlist input[type="submit"]:focus,
#opac-patron-update input[type="submit"]:hover,
#opac-patron-update input[type="submit"]:focus,
#opac-patron-registration input[type="submit"]:hover,
#opac-patron-registration input[type="submit"]:focus,
#comment input[type="submit"]:hover,
#comment input[type="submit"]:focus,
#sendshelf input[type="submit"]:hover,
#sendshelf input[type="submit"]:focus,
#opac-shareshelf input[type="submit"]:hover,
#opac-shareshelf input[type="submit"]:focus,
#opac-userlists #toolbar .newshelf:hover,
#opac-userlists #toolbar .newshelf:focus,
#opac-userlists fieldset.action input[type="submit"]:hover,
#opac-userlists fieldset.action input[type="submit"]:focus,
#opac-usersuggestions input[type="submit"]:hover,
#opac-usersuggestions input[type="submit"]:focus,
#opac-usersuggestions .new:hover,
#opac-usersuggestions .new:focus,
#opac-topissues input[type="submit"]:hover,
#opac-topissues input[type="submit"]:focus,
#opac-passwd input[type="submit"]:hover,
#opac-passwd input[type="submit"]:focus,
#opac-user #renewselected input[type="submit"]:hover,
#opac-user #renewselected input[type="submit"]:focus,
#opac-user #renewall input[type="submit"]:hover,
#opac-user #renewall input[type="submit"]:focus,
#opac-full-serial-issues input[type="reset"]:hover,
#opac-full-serial-issues input[type="reset"]:focus,
#advsearch input[type="submit"]:hover,
#advsearch input[type="submit"]:focus {
    color: #333333;
    text-decoration: none;
    background-position: 0 -15px;
    -webkit-transition: background-position 0.1s linear;
    -moz-transition: background-position 0.1s linear;
    -o-transition: background-position 0.1s linear;
    transition: background-position 0.1s linear;
    background-color: #e6e6e6;
    outline: 0;
}

.nolibrarypulldown .transl1 {
        width: 87%;
}

/***************************
*	DEFAULT
***************************/

/*** social ***/

#social_networks {
	margin-top: 20px;
	margin-left: 40px;
}

#social_networks span {
	display: none;
}

/*** thumbnails ***/

span.no-image {
	display: none;
}

#gbs-thumbnail-preview,
#local-thumbnail-preview {
	margin: 0 1em 1em 0;
}

/*** last documents ***/

body#opac-lastdocuments {
	height: auto;
	width: 100%;
}

.lastdocuments {
        margin: 0;
        padding: 0;
	background-color: white;
	/*height: 250px;*/
}

.lastdocuments .record {
        text-align: center;
        display: inline-block;
        vertical-align: top;
        padding-left: 8px;
        margin-top: 20px;
	width: 170px;
}

.lastdocuments .record .record_title {
        width: 270px;
        margin-top: 2px;
	display: none;
}

.lastdocuments .record .record_author {
	display: none;
}

.lastdocuments .record .record_thumbnail {
        height: 207px;
}

.lastdocuments .record .record_thumbnail img {
        border: 1px solid #CCC;
        height: 205px;
	max-width: 140px;
}

.lastdocuments .record .record_thumbnail .noimage {
        border: 1px solid #CCC;
        height: 205px;
        left: 50%;
        margin-left: -65px;
        position: relative;
        width: 130px;
}

.lastdocuments .record .record_thumbnail label {
        padding-top: 100px;
        display: block;
}

/*** cookies ***/
/* To be used with cookieCuttr by Chris Wharton (http://cookiecuttr.com) */

.cc-cookies { position:fixed; width: 90%; left: 0; top: 0; padding: 0.5em 5%; background: #565656; background: rgba(86,86,86,0.95); color: #fff; font-size: 13px; font-weight: 700; text-shadow: 0 -1px 0 rgba(0,0,0,0.35); z-index: 99999; text-align: center; color: #fff; }
.cc-cookies a, .cc-cookies a:hover { color: #fff; text-decoration: underline; }
.cc-cookies a:hover { text-decoration: none; }
.cc-overlay { height: 100%; padding-top: 25%; }
.cc-cookies-error { float: left; width: 90%; text-align: center; margin: 1em 0 2em 0; background: #fff; padding: 2em 5%; border: 1px solid #ccc; font-size: 18px; color: #333; }
.cc-cookies a.cc-cookie-accept, .cc-cookies-error a.cc-cookie-accept, .cc-cookies a.cc-cookie-decline, .cc-cookies-error a.cc-cookie-decline, .cc-cookies a.cc-cookie-reset { display: inline-block; color: #fff; text-decoration: none; background: #7DAF3B; padding: 0.5em 0.75em; border-radius: 3px; box-shadow: 0 0 2px rgba(0,0,0,0.25); text-shadow: 0 -1px 0 rgba(0,0,0,0.35); -o-transition: background 0.5s ease-in; -webkit-transition: background 0.25s ease-in; -moz-transition: background 0.25s ease-in; }
.cc-cookies a.cc-cookie-decline, .cc-cookies-error a.cc-cookie-decline { background: #af3b3b; margin-left: 0.5em; }
.cc-cookies a.cc-cookie-reset { background: #f15b00; }
.cc-cookies a:hover.cc-cookie-accept, .cc-cookies-error a:hover.cc-cookie-accept, .cc-cookies a:hover.cc-cookie-decline, .cc-cookies-error a:hover.cc-cookie-decline, .cc-cookies a:hover.cc-cookie-reset  { background: #000; -o-transition: background 0.5s ease-in; -webkit-transition: background 0.25s ease-in; -moz-transition: background 0.25s ease-in; }
.cc-cookies-error a.cc-cookie-accept, .cc-cookies-error a.cc-cookie-decline { display: block; margin-top: 1em; }
.cc-cookies.cc-discreet { width: auto; padding: 0.5em 1em; left: auto; top: auto; }
.cc-cookies.cc-discreet a.cc-cookie-reset { background: none; text-shadow: none; padding: 0; text-decoration: underline; }
.cc-cookies.cc-discreet a:hover.cc-cookie-reset { text-decoration: none; }

@media screen and (max-width: 768px) {
.cc-cookies a.cc-cookie-accept, .cc-cookies a.cc-cookie-decline, .cc-cookies a.cc-cookie-reset { display: block; margin: 1em 0; }
}

@media screen and (max-width: 480px) {
.cc-cookies { position: relative; float: left; }
}


/* --- --- --- --- --- --- --- --- --- --- --- */
/* 2017 COMMONS                                */
/* Common design between implementations       */
/* --- --- --- --- --- --- --- --- --- --- --- */




/* --- --- --- --- --- --- */
/* FONTS                   */
/* --- --- --- --- --- --- */ 

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: url('OpenSans-Light.ttf') format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('OpenSans-Regular.ttf') format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url(OpenSans-Semibold.ttf) format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url(OpenSans-Bold.ttf) format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 800;
  src: url(OpenSans-ExtraBold.ttf) format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300;
  src: url(OpenSans-LightItalic.ttf) format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: url(OpenSans-Italic.ttf) format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 600;
  src: url(OpenSans-SemiboldItalic.ttf) format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 700;
  src: url(OpenSans-BoldItalic.ttf) format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 800;
  src: url(OpenSans-ExtraBoldItalic.ttf) format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

/* --- --- --- --- --- --- */
/* GENERAL                 */
/* --- --- --- --- --- --- */ 

html {
    background-color: white; 
}

body {
    background: white;
    background-attachment: fixed;
    text-align : left;
    width: 100%;
    margin: auto;
    padding: 0 0 0 0;
}

.hidden {
    display: none !important;
}

.main {
    padding: 0 0 0 0;
    margin: 0 0 0 0;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding-left: 5px;
    padding-right: 5px;
}


.container-fluid {
    padding: 0 0 0 0;
}

#opac-main #wrap {
    padding-bottom: 0;
}

a:focus,
button:focus,
img:focus,
input:focus,
select:focus,
textarea:focus,
img map, 
map area {
    outline: none !important;
}

area:focus {
  border: none !important;
  outline-style: none !important; 
  -moz-outline-style:none !important;  
}

.floatRight {
    float: right;
}

.wcag {
    display: none;
}

/* --- --- --- --- --- --- */
/* HEADER                  */
/* --- --- --- --- --- --- */ 

/*** reset ***/

.navbar-static-top {
    display: none;
}

#opacheader {
    background: none;
}

.navbar-inner {
    background: none;
    border: none;
    padding: 0;
}

/*** navbar ***/

#header .menubar {
    font-size: 13px;
    color: white;
    box-shadow: 0 2px 4px rgba(50,50,50,0.3);
}


/* --- --- --- --- --- --- */
/* LOGIN                   */
/* --- --- --- --- --- --- */ 

#members, 
#login {
    display: none;
}

/* --- --- --- --- --- --- */
/* SEARCH                  */
/* --- --- --- --- --- --- */ 

#searchsubmit {
    display: none;
}

#opac-main-search .mastheadsearch {
    background: none;
    padding: 0;
}

#opac-main-search .catalog-search {
    height: 50px;
}

#opac-main-search .input-append {
    margin-right: -40px;
}

#opac-main-search label {
    display: none;
}

#opac-main-search input {
    height: 40px;
    margin-left: -5px;
    margin-right: -5px;
    
    padding-left: 0;
    padding-right: 0; 
    text-indent: 15px;

    border-radius: 0 !important;
    border-right: none;
    border-left: none;

    font-family: 'Open Sans', sans-serif;
}

#opac-main-search input#translControl1 {
    border-radius: 0 !important;
    border-right: none;
    border-left: none;
    border-color: #ccc;
    box-shadow: none !important;
    width: 753px;
}

#opac-main-search input#translControl1:focus {
    box-shadow: none !important;
}

#opac-main-search input#translControl1:-webkit-autofill,
#opac-main-search input#translControl1:-webkit-autofill:hover,
#opac-main-search input#translControl1:-webkit-autofill:focus,
#opac-main-search input#translControl1:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
    box-shadow: 0 0 0px 1000px white inset !important;
}

#opac-main-search .searchsubmit {
    height: 50px;
    width: 48px;
    border-radius: 0 !important;

    border: 1px solid #cccccc;
    border-left: none;

    background: none;
    background-color: white !important; 
    font-size: 0px;
}

#opac-main-search .searchsubmit,
#opac-main-search .searchsubmit:active {
    -webkit-box-shadow: none;
    box-shadow: none;      
}

#opac-main-search .searchsubmit img {
    width: 25px;
} 

#opac-main-search select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;

    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;

    width: auto;
    max-width: none;

    font-family: 'Open Sans', sans-serif;
    color: rgba(255,255,255,0.9);

    height: 50px;
    line-height: 50px;
    
    padding: 0 35px 0 12px;
    background-position: right 10px top 50%;
    background-size: 20px 20px;

    border: none;
}

#opac-main-search #masthead_search {
    width: 100px;
}

#opac-main-search #select_library {
    float: right;
    width: 250px;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#opac-main-search #moresearches {
    display: none;
}

/* --- --- --- --- --- --- */
/* MAIN USER BLOCK         */
/* --- --- --- --- --- --- */ 

/*** reset  ***/

.results-pagination {
    position: relative;
}

/*** main  ***/

div.main {
    margin: 0 auto;
    padding: 50px 0 0 0;
    background: none;
}

/*** last documents ***/

iframe { 
    width: 100%; 
    height: 300px; 
    border: none;
    overflow: hidden;
}

#opac-lastdocuments {
    overflow: hidden;
} 

/* zoom effect */

.lastdocuments .record {
    padding-left: 9px;
}
.lastdocuments .record .record_thumbnail{
    padding-left: 3px;
}

.lastdocuments .record .record_thumbnail img {
    transition: transform .5s;
    -webkit-transition: transform .5s;
    -moz-transition: transform .5s;
    -ms-transition: transform .5s;
    -o-transition: transform .5s;
}

.lastdocuments .record .record_thumbnail img:hover {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
}

.slick-slider .slick-track,
.slick-slider .slick-list {
    height: 240px;
}


#opac-lastdocuments>.slick-slider {
    margin-left: -8px;
} 
/*END zoom effect */


/*** results ***/

#star_5 {
    margin-right: 0.7em;
}

#rating_value_text,
#rating_text {
    vertical-align: middle;
}

.nav_results {
    border-radius: 5px;
}

.nav_results .l_Results a {
    background-position: 0px -507px;
}

/*** results ***/

#toolbar {
    font-size: 0.9em;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px; 
}

#selections-toolbar {
    font-size: 0.9em;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px; 
}

.toolbar select {
    font-size: 100%;
    padding: 4px 6px;
}

a.hold.disabled, 
input.hold.disabled {
    background-position: -5px -617px;
}

#searchresults table td:first-child {
    padding-right: 4px;
}

#results .results_summary .label,
#results .results_summary > span  {
    font-size: 1.2em;
}

#results .bibliocol > .results_summary {
    margin-top: 0.4em;
}

#results .bibliocol strong .results_summary {
    margin-top: 0.2em;
    margin-bottom: 0.8em;
}

/*** opac-detail ***/

#opac-detail .results_summary {
    line-height: 12.6px;
    font-size: 0;
}

#opac-detail .results_summary .label,
#opac-detail .results_summary > span  {
    font-size: 12.6px;
    padding: 0.3em;
    display: table;
}

#opac-detail .results_summary.ratings {
    margin-top: 8px;
}

.view {
    padding: 0.3em 0.8em;
}

@media only screen and (min-width: 608px) {
    .current-view {
        border: 1px solid #C9C9C9;
        border-bottom-width: 0; 
    }
}

@media only screen and (min-width: 608px) {
    .view {
        border-right-width: 1px;
        border-top-width: 1px;
    }
}

#opac-detail #action > li > a, 
#opac-marcdetail #action > li > a,
#opac-isbddetail #action > li > a {
    background: none;
    padding-left: .4em;
    display: block;
}

#opac-detail #action,
#opac-marcdetail #action,
#opac-isbddetail #action {
    border: 1px solid #D0D0D0;
    border-radius: 5px;
    background-color: #F3F3F3;
    margin: 1.9em 0 0 0;
    padding-bottom: 0;
}

#opac-detail #action > li,
#opac-marcdetail #action > li,
#opac-isbddetail #action > li {
    border-bottom: 1px solid #D0D0D0;
}

#opac-detail #action > li:last-child,
#opac-marcdetail #action > li:last-child,
#opac-isbddetail #action > li:last-child {
    border-bottom: none;
}

#action > li {
    margin: 0;
    padding: .5em .2em;
}

#opac-detail #action > li .dropdown > a, 
#opac-marcdetail #action > li .dropdown > a,
#opac-isbddetail #action > li .dropdown > a {
    padding-left: .4em;
    display: block;
}

#opac-detail #action > li .dropdown .caret, 
#opac-marcdetail #action > li .dropdown .caret,
#opac-isbddetail #action > li .dropdown .caret {
    display: none;
}

#opac-detail #action > li .dropdown, 
#opac-marcdetail #action > li .dropdown,
#opac-isbddetail #action > li .dropdown {
    background: #F3F3F3 url(../../images/keeps/icon_angle-down_black.svg) no-repeat scroll;
    background-position: right 10px top 50%;
    background-size: 20px 20px;
}

#opac-detail .results_summary.subtitle {
    color: black;
}

#results .results_summary,
#opac-detail .results_summary {
    display: table;
}

#results .results_summary span.label,
#opac-detail .results_summary span.label {
    display: table-cell;   
}

#opac-detail .pg_menu li a, 
#opac-detail .pg_menu li span {
    padding: .4em .4em;
}

#opac-detail .results_summary span.label {
    display: table-cell;   
}

#opac-detail .results_summary:hover, 
#opac-detail .results_summary:focus {
    background-color: rgba(150,150,150,0.1);
    transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -webkit-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
}


/* Fix tags opac-detail.pl */
#opac-detail .results_summary.tags,
#opac-detail .results_summary.tags form label {
    font-size: 12.6px;
}

#opac-detail .results_summary.tags input:first-of-type{
    margin-bottom: 0px;
}
/* END Fix tags opac-detail.pl */



/*** social-networks ***/

#social_networks div {
    float: right !important;
    margin: .5em 0 .5em .15em !important;
}

#social_networks a {
    background: none;
    display: block;
    height: 25px !important;
    width: 25px;
}

#social_networks #facebook {
    background: transparent url(../../images/keeps/icon_social/facebook.svg) no-repeat scroll;
    background-size: 25px 25px;
}

#social_networks #facebook:hover,
#social_networks #facebook:hover {
    background: transparent url(../../images/keeps/icon_social/facebook_0076B2.svg) no-repeat scroll;
    background-size: 25px 25px;
}

#social_networks #delicious {
    background: transparent url(../../images/keeps/icon_social/delicious.svg) no-repeat scroll;
    background-size: 25px 25px;
}

#social_networks #delicious:hover,
#social_networks #delicious:hover {
    background: transparent url(../../images/keeps/icon_social/delicious_0076B2.svg) no-repeat scroll;
    background-size: 25px 25px;
}

#social_networks #linkedin {
    background: transparent url(../../images/keeps/icon_social/linkedin.svg) no-repeat scroll;
    background-size: 25px 25px;
}

#social_networks #linkedin:hover,
#social_networks #linkedin:hover {
    background: transparent url(../../images/keeps/icon_social/linkedin_0076B2.svg) no-repeat scroll;
    background-size: 25px 25px;
}

#social_networks #email {
    background: transparent url(../../images/keeps/icon_social/email.svg) no-repeat scroll;
    background-size: 25px 25px;
}

#social_networks #email:hover,
#social_networks #email:hover {
    background: transparent url(../../images/keeps/icon_social/email_0076B2.svg) no-repeat scroll;
    background-size: 25px 25px;
}

#googleplus {
    background: transparent url(../../images/keeps/icon_social/googleplus.svg) no-repeat scroll !important;
    background-size: 25px 25px !important;
}

#googleplus:hover,
#googleplus:hover {
    background: transparent url(../../images/keeps/icon_social/googleplus_0076B2.svg) no-repeat scroll  !important;
    background-size: 25px 25px  !important;
}

#twitter {
    background: transparent url(../../images/keeps/icon_social/twitter.svg) no-repeat scroll !important;;
    background-size: 25px 25px !important;;
}

#twitter:hover,
#twitter:hover {
    background: transparent url(../../images/keeps/icon_social/twitter_0076B2.svg) no-repeat scroll !important;;
    background-size: 25px 25px !important;;
}

/*** user menu ***/

@media only screen and (min-width: 768px) {
    #usermenu #menu {
        border-right: 1px solid #afafaf;
        }

    #usermenu li:not(.active) a {
        border: 1px solid #afafaf;
        background: none;
        background-color: #f0f0ee;
    }

    #usermenu li:not(.active):hover a {
        border: 1px solid #afafaf;
        background-color: #dfdfdf;
    }

    #usermenu li a {
        border: 1px solid #afafaf;  
    }

    #usermenu li a:hover {
        border-left: 1px solid #afafaf;
        border-top: 1px solid #afafaf;
        border-bottom: 1px solid #afafaf;
    }

    #usermenu ul li.active a {
        border-left: 1px solid #afafaf;
        border-top: 1px solid #afafaf;
        border-bottom: 1px solid #afafaf;
    }
}

#usermenu li:not(.active):hover a {
    background: none;
}

#usermenu a, 
#usermenu a:link, 
#usermenu a:visited,
#usermenu a:hover,
#usermenu a:focus {
    color: #333;
}

/* --- --- --- --- --- --- */
/* FOOTER                  */
/* --- --- --- --- --- --- */ 

/*** credits ***/

#changelanguage {
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    bottom: 0;
}

/*** language ***/

#changelanguage .navbar-inner {
    background-image: none;
    border: none;
    clear: both;
    box-shadow: none;
}

#changelanguage .navbar-inner ul#i18nMenu li p.navbar-text {
    color: #fff;
    font-size: 14px;
}

#changelanguage .navbar-inner ul#i18nMenu li a {
    color: #fff;
    text-shadow: none;
    text-decoration: underline;
    padding: 10px 5px 10px;
    font-size: 14px;
}

#changelanguage .nav > .active > p {
    padding: 0 5px;
}

#changelanguage .navbar-inner ul#i18nMenu li p.pipe {
    font-size: 18px; 
}

#changelanguage .navbar-inner .floatRight {
    margin-right: 2em; 
}

#keep_black_en {
    background: url(../../images/keeps/logo/keeps_logo_black_en.svg) no-repeat scroll;
    background-size: cover;
    height: 28px;
    width: 67px;
    margin-top: 6px;
}

#keep_black_pt-PT {
    background: url(../../images/keeps/logo/keeps_logo_black_pt.svg) no-repeat scroll;
    background-size: cover;
    height: 28px;
    width: 70px;
    margin-top: 6px;
}

#keep_black_dot_en {
    background: url(../../images/keeps/logo/keeps_logo_black_dot_en.svg) no-repeat scroll;
    background-size: cover;
    height: 28px;
    width: 67px;
    margin-top: 6px;
}

#keep_black_dot_pt-PT {
    background: url(../../images/keeps/logo/keeps_logo_black_dot_pt.svg) no-repeat scroll;
    background-size: cover;
    height: 28px;
    width: 70px;
    margin-top: 6px;
}

#keep_white_en {
    background: url(../../images/keeps/logo/keeps_logo_white_en.svg) no-repeat scroll;
    background-size: cover;
    height: 28px;
    width: 68px;
    margin-top: 6px;
}

#keep_white_pt-PT {
    background: url(../../images/keeps/logo/keeps_logo_white_pt.svg) no-repeat scroll;
    background-size: cover;
    height: 28px;
    width: 68px;
    margin-top: 6px;
}

#keep_white_dot_en {
    background: url(../../images/keeps/logo/keeps_logo_white_dot_en.svg) no-repeat scroll;
    background-size: cover;
    height: 28px;
    width: 68px;
    margin-top: 6px;
}

#keep_white_dot_pt-PT {
    background: url(../../images/keeps/logo/keeps_logo_white_dot_pt.svg) no-repeat scroll;
    background-size: cover;
    height: 28px;
    width: 68px;
    margin-top: 6px;
}

#keep_black_en:hover,
#keep_black_en:focus,
#keep_black_pt-PT:hover,
#keep_black_pt-PT:focus,
#keep_white_en:hover,
#keep_white_en:focus,
#keep_white_pt-PT:hover,
#keep_white_pt-PT:focus,
#keep_black_dot_en:hover,
#keep_black_dot_en:focus,
#keep_black_dot_pt-PT:hover,
#keep_black_dot_pt-PT:focus,
#keep_white_dot_en:hover,
#keep_white_dot_en:focus,
#keep_white_dot_pt-PT:hover,
#keep_white_dot_pt-PT:focus,
#keep:hover, 
#keep:focus {
    opacity: 0.75;
    transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -webkit-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
}

/* --- --- --- --- --- --- */
/* RESPONSIVE              */
/* --- --- --- --- --- --- */ 

@media only screen and (max-width: 1212px) { 
    div.main {
        margin-left: 50px;
        margin-right: 50px;
    }

    .firstfooter {
        margin-left: 50px !important;
        margin-right: 50px !important;
    }

    #opac-main-search input#translControl1 {
        width: 438px;
    }
/*
    .pg_menu li a {
        float: none;
        text-align: left;
    }*/

}

@media only screen and (max-width: 979px) { 
    #opac-main-search .searchsubmit {
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18) !important;
        transition: all 0.1s ease-in-out;
        -moz-transition: all 0.1s ease-in-out;
        -webkit-transition: all 0.1s ease-in-out;
        -o-transition: all 0.1s ease-in-out;
    }

    #opac-main-search .searchsubmit:focus, 
    #opac-main-search .searchsubmit:hover {
        box-shadow: 0 2px 4px rgba(0,0,0,.18) !important;
        transition: all 0.1s ease-in-out;
        -moz-transition: all 0.1s ease-in-out;
        -webkit-transition: all 0.1s ease-in-out;
        -o-transition: all 0.1s ease-in-out;
    }

    /*** advanced search ***/
    #advsearch #booleansearch select[name="op"] {
        width: auto;
    }

    #advsearch #booleansearch input {
        width: 206px;
    }

    #header #carticon {
        display: none;
    }

}

@media only screen and (max-width: 800px) {
    .cartlabel, 
    .listslabel {
        display: inline;
    }
}

@media only screen and (max-width: 767px) {
    #advsearch #limit-yr, #advsearch #language-limit,
    #advsearch #branchloop,  #advsearch #categoryloop,
    #advsearch #sort_by {
        width: 220px;
    }
}

@media only screen and (max-width: 680px) { 
    #opac-patron-update .main input[type="text"], 
    #opac-patron-update textarea, 
    #opac-patron-update select {
        width: auto;
    }

    #opac-patron-update li.lradio {
        padding-left: 0;
    }

    #opac-patron-update fieldset.action, 
    #opac-usersuggestions fieldset.action,
    #opac-userlists fieldset.action {
        margin-left: 0;
    }

    #opac-messaging .table-condensed th, 
    #opac-messaging .table-condensed td {
        padding: 4px 0;
    }
}

@media only screen and (max-width: 610px) { 
    #opac-main-search input#translControl1,
    #opac-main-search #masthead_search,
    #opac-main-search #select_library,
    #opac-main-search .searchsubmit {
        margin: 0;
        margin-top: 10px;
    } 
}

@media only screen and (max-width: 530px) { 
    #changelanguage .navbar-inner ul#i18nMenu {
        margin-left: 50px;
        margin-top: 10px;
    }

    #changelanguage .navbar-inner .floatRight {
        margin: 15px 0 15px 48px;
        float: left;
        width: 50%;
    }
}

@media only screen and (max-width: 340px) { 
    #opac-user #renewselected input[type="submit"], 
    #opac-user #renewall input[type="submit"] {
        width: 150px;
    }
    
    #opac-user #renewselected input[type="submit"].btn,
    #opac-user #renewall input[type="submit"].btn {
        font-size: 12px;
    }
}

@media only screen and (max-width: 330px) { 
    #opac-main-search select,
    #opac-main-search .searchsubmit,
    #opac-main-search input#translControl1 {
        font-size: 12px !important;
    }

    #advsearch #booleansearch input {
        width: 142px;
    }
}




/*hack internet explorer 11*/

@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {

    /*simple search*/
    select#masthead_search::-ms-expand,
    select#select_library::-ms-expand {
        display: none;
    }

}

/*END hack internet explorer */



/* Accessibility Fix */
.fieldset__legend--hidden,
.table__caption--hidden {
    display: none;
}