/*
 * default.css
 */

/*
 * Это хак для коробочной модели в IE (см. детали в самом файле).
 */
@import url(boxmodelhack.css);

/*
 * BODY
 */
body {
    margin: 0% 10% 0% 10%;
    padding: 10px;
    color: black;
    background-color:#dadada;
    font-size: small;
}
H1, H2, H3, H4, H5, H6 {
	/* dark */
	color: rgb(41,113,89);
	/* lite */
	/* color: rgb(116,163,147); */
}
/*
 * ANCHOR
 */
A:link          {color: rgb(0, 0, 238);}
A:visited       {color: rgb(0, 0, 238);}
A:hover         {color: rgb(0, 0, 238);}
A:active        {color: red ;}

/* 
 * Основные зоны страницы OPAC:
 * ----------------------------
 *
 * #opac-topop
 * #opac-header
 * #opac-menu
 * #opac-menu-text
 * #opac-content
 * #opac-content-subpage
 * #opac-footer
 */

/*
 * OPAC-TOPOP
 */
#opac-topop {
    display: block;
    position: absolute;
    top: 0;
    right: 10px;
}
#opac-topop ul {
    padding: 10px;
    margin: 0;
    text-align: right;
}
#opac-topop ul li:first-child {
    display: inline;
}
#opac-topop ul li {
    margin: 5px;
    padding: 5px;
    display: inline;
    font-size: 0.8em;
    font-weight: bold;
}

/*
 * OPAC-HEADER
 */
#opac-header {
    display: block;
}
#opac-header h1 {
    margin-bottom: 0;
}
#opac-header h2 {
    margin-top: 0;
    font-weight: lighter;
    font-style: italic;
}

/*
 * OPAC-MENU
 */
#opac-menu {
    display: block;
    margin: 10px;
    text-align: center;
}
#opac-menu img.but {
    border: none;
    height: 35px;
    width: 150px;
}
#opac-menu img.underbut {
    border: none;
    height: 1px;
    width: 150px;
}
#opac-menu table {
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse; 
    border-spacing: 0 0;
}
#opac-menu table td, th {
    border-collapse: collapse;
    border-spacing: 0 0;
    margin: 0;
    padding: 0;
}
#opac-menu table td.textbut {
    background-color: #4579b7;
    color: white;
    height: 50px;
    font-size: 0.8em;
}
/*
 * OPAC-MENU-TEXT
 */
#opac-menu-text {
    display: block;
    border-bottom: 2px solid #dadada;
    background-color: white;
    padding-top: 1em;
    padding-bottom: 1em;
    text-align: left;
}
#opac-menu-text a {
    text-decoration: none;
}
       
#opac-menu-text ul {
    margin: 0;
    padding: 0;
}
#opac-menu-text ul li:first-child {
    display: inline;
    border: none;
    padding: 0.3em;
}
#opac-menu-text ul li {
    display: inline;
    padding: 0.3em;
    border: none;
    font-weight: bold;
    font-size: 1em;
}
/*
 * OPAC-CONTENT
 */
#opac-content {
    display: block;
    background-color: white;
    padding: 10px 20px 10px 20px;
}
/*
 * OPAC-FOOTER
 */
#opac-footer {
    display: block;
    padding-top: 1em;
}
#opac-footer p  {
    display: block;
    padding-top: 0;
    color: gray;
    border-top: 1px solid gray;
    font-weight: lighter;
    font-size: 0.8em;
    float: left;
}
/*
 * Основные зоны для представления ответа SRU:
 * -------------------------------------------
 *
 * .sru-diagmesg (diagmesg)
 * .sru-number-of-records
 * .sru-ctxmenu
 * #sru-result-info (result-info)
 * #sru-result-nav (navpage)
 * #sru-result-scan (opac-result-scan)
 * #sru-result-scan-nav (opac-result-scan-nav)
 */

/*
 * SRU-DIAGMESG
 */
.sru-diagmesg p {
    border-top: 1px dashed red;
    border-bottom: 1px dashed red;
    color: red;
}

/*
 * SRU-NUMBER-OF-RECORDS
 */
.sru-number-of-records {
    font-weight: bolder;
}

/*
 * SRU-CTXMENU
 */
.sru-ctxmenu {
    font-family: sans-serif; 
    font-weight: lighter;
    font-size: 1em;
}
.sru-ctxmenu A {
    font-family: sans-serif; 
    font-weight: lighter;
    font-size: 1em;
}

/*
 * SRU-RESULT-INFO
 */
#sru-result-info {
    display: block;
    font-size: 1em;
    font-family: arial, sans-serif;
    font-weight: bold;
}
#sru-result-info TABLE TR TD {
    text-align: center;
}
#sru-result-info TABLE TR TD:first-child {
    text-align: left;
}
#sru-result-info TABLE TR TD:last-child {
    text-align: right;
}
#sru-result-info TABLE {
    width: 100%;
}

/*
 * SRU-RESULT-NAV
 */
#sru-result-nav {
    margin: 0px;
    padding-bottom: 10px;
    text-align: center;
}
#sru-result-nav h4 {
    padding-top: 1em;
    font-family: Arial;
}
#sru-result-nav ul {
    display: inline;
    padding: 0;
    margin: 0;
}
#sru-result-nav ul li:first-child {
    border: none;
    padding-left: 0;
}
#sru-result-nav ul li {
    display: inline;
    margin: 0.3em 0.3em 0.3em 0.3em;
    font-weight: bold;
    font-size: 1em;
    font-family: arial;
}

/*
 * SRU-RESULT-SCAN
 */
#sru-result-scan TABLE {
    /*width: 100%;*/
    border-spacing: 10px 3px;
}
#sru-result-scan TABLE TR TH {
    border-bottom: 1px solid gray;
}
#sru-result-scan TABLE TR TD {
    text-align:left;
    padding: 0;
    margin: 0;
}

/*
 * SRU-RESULT-SCAN-NAV
 */
#sru-result-scan-nav {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/*
 * Основные зоны для показа MARC записей:
 * --------------------------------------
 *
 * .record-marc-standard
 * .bib-header
 * .bib-cite
 * .bib-spec
 * .bib-referat
 * .bib-subject
 * .bib-addinfo
 * .bib-linkto
 * .bib-holder
 *
 * .bib-heading
 * .bib-comment
 * .bib-link
 */

#record-display-format {
    display: block;
    font-size: 0.8em;
    text-align:right;
}
#record-display-format h6 {
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 0;
}

#record-display-format ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

#record-display-format ul li {
    display: inline;
}

.record-marc-standard {
    display: block;
}

.bib-header>a:link { text-decoration: none; }
.bib-header>a:visited { text-decoration: none; }
.bib-header>a:hover { text-decoration: underline; }

.bib-link>a:link { text-decoration: none; }
.bib-link>a:visited { text-decoration: none; }
.bib-link>a:hover { text-decoration: underline; }

.bib-cite>a:link { text-decoration: none; }
.bib-cite>a:visited { text-decoration: none; }
.bib-cite>a:hover { text-decoration: underline; }

.bib-spec>a:link { text-decoration: none; }
.bib-spec>a:visited { text-decoration: none; }
.bib-spec>a:hover { text-decoration: underline; }

.bib-addinfo {
    display: block;
    margin-left: 4em;
}

.bib-addinfo h6 {
    font-size: 0.8em;
    font-weight: bold;
    margin-top: 1em;
    margin-bottom: 0;
}
.bib-addinfo p {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 0.8em;
}
.bib-addinfo p a:link { text-decoration: none; }
.bib-addinfo p a:visited { text-decoration: none; }
.bib-addinfo p a:hover { text-decoration: underline; }

.bib-holdings {
}
.bib-holdings TABLE {
    font-size: 0.8em;
    empty-cells: show;
    width: 100%;
}
.bib-holdings TABLE TR TH {
    text-align:left;
    padding: 0.3em;
    margin: 0;
    border: 1px solid gray;
}
.bib-holdings TABLE TR TD {
    text-align:left;
    padding: 0.3em;
    margin: 0;
    border: 1px solid gray;
}

.bib-heading {
    color: black;
}

.bib-comment {
    font-style: italic;
}

.bib-link a:link { text-decoration: none; }
.bib-link a:visited { text-decoration: none; }
.bib-link a:hover { text-decoration: underline; }



/*
 *
 * .record-marc-history
 *
 * .record-marc-tagged
 * .marc-leader
 * .marc-field
 * .marc-subfield
 * .marc-tag
 * .marc-data
 */
.record-marc-tagged {
    display: block;
    border: 1px solid gray;
    padding: 5px 5px 5px 5px;
    width: 100%;
}
.marc-leader, .marc-field, .marc-subfiled {
    font-size: 1em;
    font-family: Arial, sans-serif;
}
.marc-tag {
    font-weight: bold;
}
.marc-data {
}



/*
 * -- prev
 *
 * #marc-record-standard
 * #marc-record-history
 * .bib-header
 * .bib-cite
 * .bib-spec
 * #bib-referat
 * .addinfo
 * #mesh-subject
 * #call-number
 *
 * .ucc-title
 * #holdings
 *
 * #marc-record-tagged
 * #marc-leader
 * #marc-field
 *
 */

