/**
 * Colours used by FHYA:
 *
 * Green: #AEB9AC
 * Grey: #414141
 * Blue: #446E78
 * Red: #E94545
 * Light Grey: #dce1dc
 */

body {
    background-color: #fff !important;
    font-family: 'Roboto', sans-serif;
}

#top-bar {
    background: #fff url("../images/headerbg.jpg") no-repeat center top !important;
    height: 90px !important;
    border: 1px solid 000;
    border-width: 0;
    padding: 50px 6.5%;
}

#site-slogan {
    background-color: #000;
    height: 1pt;
    color: #ffffff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

a#logo img {
    margin-top: 5px !important;
}

/*#site-slogan {
    background-color: #446E78 !important;
}*/
/*
a,
a:link,
a:hover,
a:visited {
    color: #446E78 !important;
}*/

a.c-btn {
    color: #fff !important;
}

a.c-btn:hover {
    color: #414141 !important;
}

a:hover {
    text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #000 !important;
    font-weight: 700;
}

button.top-item:hover {
    background-color: #AEB9AC !important;
}

.browse-options a:hover i {
    color: rgba(233,69,69,0.9) !important;
}

.reference-code,
.search-result.media-summary {
    color: #E94545 !important;
}

#search-bar #search-form-wrapper input {
    background-color: #414141 !important;
    color: #fff !important;
}

#search-bar #search-form-wrapper button {
    background-color: #414141 !important;
    border: 1px solid #AEB9AC !important;
    border-width: 0 0 0 1px !important;
}

mark {
    background: #FFF7C4;
}
div#content{
    width: 94%;
}

div#pdfviewer {
  height: 90vh;
}

@media (max-width: 767px) {
    #facets .content {
        display: block;
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    #search-bar {
        margin-left: 40px;
        padding-bottom: 15px;
        top: -34px;
    }
}

#main-column h1 {
    font-size: 30pt;
    font-weight: 700;
    line-height: 100%;
}

#main-column h1 {
    margin-top: 55px;
    margin-bottom: 35px;
}

#main-column .multiline-header h1 {
    margin-top: 75px;
}


#sidebar {
    padding-top: 35px;
}

#sidebar h2 {
    font-size: 22.5pt;
    font-weight: 700;
    line-height: 100%;
}

body.home #sidebar h2:after {
    content: ":";
}

#sidebar ul,
#context-menu ul {
    margin: 0 0 25px;
    padding: 0;
}

#sidebar ul li,
#context-menu ul li {
    margin: 0;
    padding: 0;
    list-style: none;
    list-style-image: none;
}

#sidebar ul li a,
#context-menu ul li a {
    font-size: 12pt;
    margin-bottom: 10px;
    display: block;
    color: #000;
    background: transparent;
}

#context-menu ul li a,
#treeview ul li a {
    margin-bottom: 0 !important;
}

#context-menu ul li span,
#treeview ul li span {
    margin-bottom: 10px !important;
    display: block;
}

#treeview .active {
    background-color: #fff !important;
}

#treeview .active a {
  background: #fff200;
}

#sidebar ul li a:hover,
#sidebar ul li:hover a {
  background: #fff200;
}

#sidebar ul li a:hover,
#tree-menu ul li a:hover,
#context-menu div.field ul li a:hover {
    text-decoration: underline;
    background: #fff200;
}

#context-menu section#action-icons ul li a:hover {
    text-decoration: underline;
    background: #fff;
}

body.home #content {
    font-size: 15pt;
}

#context-menu h4 {
    text-transform: uppercase;
    font-style: normal;
    font-size: 12pt;
}

#context-menu a i,
#context-menu a:hover i {
    color: #000;
}

#context-menu button.clipboard-wide {
    background: #fff;
    color: #000;
    font-size: 12pt;
    font-weight: normal;
}
#context-menu button.clipboard-wide: hover {
    background: #fff;
    text-decoration: underline;
}

#context-menu button.clipboard-wide::before {
    color: #000;
}


.open > .top-dropdown-container {
    background: #fff;
    border: 1pt #000 solid;
    margin-top: 20px;
}

.top-dropdown-container .top-dropdown-header {
    border-width: 0;
}

.top-dropdown-container .top-dropdown-header h2 {
    font-size: 14pt;
    font-weight: 700;
}

.top-dropdown-container .top-dropdown-arrow {
    height: 0;
}
.top-dropdown-container .top-dropdown-arrow:before {
    content: '';
    display: block;
    position: absolute;
    left: 19px;
    bottom: 100%;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-bottom-color: #000;
}
.top-dropdown-container .top-dropdown-arrow:after {
    content: '';
    display: block;
    position: absolute;
    left: 20px;
    bottom: 100%;
    width: 0;
    height: 0;
    border: 9px solid transparent;
    border-bottom-color: #fff;
}

header nav .top-dropdown-container .top-dropdown-arrow:before {
    right: 19px;
    left: auto;
}
header nav .top-dropdown-container .top-dropdown-arrow:after {
    right: 20px;
    left: auto;
}

.top-dropdown-container .top-dropdown-bottom {
    display: none;
    height: 0;
}

.top-dropdown-container .top-dropdown-arrow .arrow {
    display: none;
}

.top-dropdown-container .top-dropdown-body ul a {
    font-size: 12pt;
}

.top-dropdown-container .top-dropdown-body ul a:hover {
    color: #000;
    background: #fff200;
}

header nav button:active,
header nav button:hover {
    background: transparent !important;
    color: #000;
}

#search-bar #search-form-wrapper input {
    background: rgb(255, 255, 255) none repeat scroll 0% 0% !important;
    border: 1pt solid rgb(0, 0, 0) !important;
    border-radius: 0 !important;
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    border-bottom-left-radius: 0px;
    color: rgb(0, 0, 0) !important;
    height: auto !important;
    padding: 5px !important;
}

#search-bar #search-form-wrapper button {
    background-color: #fff !important;
    border: 0px solid #AEB9AC !important;
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
    border-width: 0px !important;
    margin: 4px;
}

#search-bar #search-form-wrapper button::before {
    font-family: FontAwesome;
    content: "\f002";
    color: #000;
}

#user-menu > button,
#user-menu > button:hover {
    background-color: transparent !important;
    color: #000 !important;
    background-image: none !important;
}

.open > button.top-dropdown,
button.top-dropdown:hover,
button.top-dropdown:focus {
    background: transparent !important;
    background-image: none !important;
}

button.top-item,
button.top-item:before {
    color: #000 !important;
}

button.top-item:hover,
button.top-item:active,
button.top-item:focus {
    color: #000 !important;
    background-color: transparent !important;
}

#quick-links-menu.open,
#language-menu.open,
#admin-menu.open,
#import-menu.open,
#manage-menu.open,
#add-menu.open,
#clipboard-menu.open,
#quick-links-menu > button:hover,
#language-menu > button:hover,
#admin-menu > button:hover,
#import-menu > button:hover,
#manage-menu > button:hover,
#add-menu > button:hover,
#clipboard-menu > button:hover,
#quick-links-menu > button:focus,
#language-menu > button:focus,
#admin-menu > button:focus,
#import-menu > button:focus,
#manage-menu > button:focus,
#add-menu > button:focus,
#clipboard-menu > button:focus {
    color: #000 !important;
    background-color: transparent !important;
}

.facet,
#treeview,
#treeview-search {
    border: 1pt solid #000;
    margin-bottom: 35px;
}

.facet.open {
    margin-bottom: 35px;
}

.facet .facet-header {
    background: #000;
    color: #fff;
}

.facet .facet-header a,
.facet .facet-header a:hover,
.facet.open .facet-header a,
.facet.open .facet-header a:hover {
    background: #000;
    color: #fff;
}

.facet.open ul {
    margin: 0 !important;
}

.facet.open ul li a {
    margin: 5px !important;
    padding: 0 !important;
}

.facet .facet-body {
    background: #fff !important;
    padding: 5px 5px 0 !important;
}

#treeview-menu {
    margin-bottom: 0 !important;
}

#treeview-menu li a {
    margin: 0 0 -1px !important;
}

#treeview,
#treeview-search {
    background: #fff !important;
    padding: 5px 5px 0 !important;
}

#treeview .ancestor {
    background: #fff !important;
}

#treeview .levelOfDescription {
    font-weight: 700 !important;
}

#treeview .more a {
    padding: 0 8px;
    font-weight: bold;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    font-weight: 700;
}

#treeview .active a {
    color: #000 !important;
    font-weight: 700 !important;
}

#treeview-search .search-box {
    background: #fff !important;
}

#treeview-search .search-box input {
    background: #fff !important;
    border: 1pt solid #000;
    padding: 10px;
    border-radius: 0 !important;
    color: #000 !important;
    height: auto !important;
    min-height: auto !important;
}

#treeview-search .search-box button[type="submit"] {
    color: #000;
}

.nav-tabs > li > a {
    border-bottom: 0 !important;
    background: transparent !important;
}

.nav-tabs > li > a:hover {
    border-color: #fff !important;
    border-radius: 0 !important;
}

.nav-tabs > .active > a,
.nav-tabs > .active > a:hover,
.nav-tabs > .active > a:focus {
    border-color: #000 !important;
    border-width: 1pt !important;
    border-radius: 0 !important;
    border-bottom: 0 !important;
}

.multiline-header img {
    display: none !important;
}

.search-filter {
    display: inline-block;
    padding: 3px 20px 3px 6px;
    margin-right: 4px;
    margin-bottom: 5px;
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
    background-color: #ffffff;
    color: #000;
    border: 1pt #000 solid;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.advanced-search-section {
    background-color: #ffffff;
    border: 1pt solid #000;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.advanced-search-toggle {
    text-align: center;
    display: inline-block;
    width: 100%;
    padding: 5px 0 5px 0;
    color: #000;
}

.advanced-search-toggle:hover {
    background: #fff;
}

.browse-options > a i {
    font-size: 15px;
    padding-right: 3px;
    color: #000;
}

.browse-options > a:hover i {
    color: #000;
}

.search-result .title,
.search-result .title a {
    color: #000 !important;
    font-weight: 700;
}

.result-details {
    color: #000 !important;
    font-weight: 300;
}

button.clipboard::before,
button.clipboard-wide::before {
    color: #000 !important;
}

.btn {
    border: 1pt solid #000 !important;
    border-radius: 0 !important;
    box-shadow: 0 !important;
    background: #fff;
}

.btn-group > .btn {
    position: relative;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

.btn-group > .btn:first-child {
    margin-left: 0;
    -webkit-border-top-left-radius: 0;
    -moz-border-radius-topleft: 0;
    border-top-left-radius: 0;
    -webkit-border-bottom-left-radius: 0;
    -moz-border-radius-bottomleft: 0;
    border-bottom-left-radius: 0;
}

#sort-header .dropdown-selected {
    color: #000;
}

.nav-pills > li > a {
    padding-top: 8px;
    padding-bottom: 8px;
    margin-top: 2px;
    margin-bottom: 2px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.nav-pills > .active > a,
.nav-pills > .active > a:hover,
.nav-pills > .active > a:focus {
    color: #ffffff !important;
    background-color: #000 !important;
}

.nav > li > a:hover,
.nav > li > a:focus {
    text-decoration: none;
    background-color: transparent !important;
}

.actions {
    min-height: 28px;
    padding: 14px;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #fff;
    border: 1pt solid #000 !important;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.c-btn {
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 0;
    font-size: 13px;
    line-height: 20px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: 1pt solid #ffffff;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    color: #fff !important;
    background: #000 !important;
}

a.c-btn:hover {
    color: #fff !important;
}

.input-prepend.input-append input,
.input-prepend.input-append select,
.input-prepend.input-append .uneditable-input {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    border: 1pt #000 solid !important;
}

button#upload,
button#post_comment,
button#upload:hover,
button#post_comment:hover {
    background: #000 !important;
    color: #fff !important;
}

#main-column .search-results {
    border: 1pt solid #000;
    margin-bottom: 25px;
}

#main-column .search-results ul,
#main-column .search-results ul li {
    margin: 0;
    padding: 0;
}

#main-column .search-results ul hr {
    border: 1px solid #000;
    border-bottom-width: 1px;
    border-bottom: 1px;
    overflow: hidden;
}

#main-column .search-results ul hr:last-child {
    display: none;
}

.search-results section ul li:hover {
    background-color: transparent !important;
}

.search-results section ul li .search-result.comment {
    margin: 0 !important;
}

.search-results section ul li .search-result,
.search-results section ul li .search-result.comment .comment-user {
    font-size: 12pt;
    font-weight: 700;
}

.search-results section ul li .search-desc,
.search-results section ul li .search-result.comment .comment-preview {
    font-size: 12pt;
    font-weight: 300;
}

.search-results section ul li footer {

}

.search-results section ul li footer .type-text h5 {
    font-weight: normal;
    font-size: 10pt;
    font-style: italic;
    margin: 0 !important;
}

.search-results section ul li footer .type-desc {
    font-size: 10pt;
    margin: 0;
    color: #000;
    font-style: italic;
    font-weight: 300;
}

.search-results section ul li .search-result.comment .comment-details .comment-path {
    display: none;
}

body.search #main-column #results-label {
    display: none;
}

.advanced-search .criteria {
    min-height: 20px;
    background-color: #fff !important;
    border: 1pt solid #000 !important;
    border-width: 0 0 1px !important;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    margin: 10px 0 !important;
    padding: 10px 20px !important;
    line-height: 0;
}

.advanced-search-section .actions {
    margin-bottom: 0 !important;
    border: 0 !important;
}

body.informationobject #results-label,
body.browse #results-label {
    display: none;
}

.advanced-search .criteria input,
.advanced-search .criteria select,
.advanced-search .criteria textarea {
    border: 1pt solid #000;
    color: #000;
    border-radius: 0 !important;
}

.browse-content {
    margin: 0 0 25px !important;
    padding: 0 !important;
}

.browse-content .search-result.media-summary,
.browse-content .search-result.media-summary a {
    color: #000 !important;
    font-size: 12pt;
    font-weight: 300;
    font-style: italic;
}

.browse-content .search-result {
    margin: 10px 15px 20px;
    border-bottom: 1px solid #000;
    padding: 0 0 20px;
}

.browse-content .search-result:last-child {
    border-bottom: 0 !important;
}

.browse-content .search-result.has-preview .preview-container {
    position: absolute;
    left: 0;
    right: 0;
    height: 120px;
    border: 1pt solid #000;
}

.browse-content .search-result .title, .search-result .title a {
    color: #000 !important;
    font-weight: 700;
    font-size: 12pt;
}

.browse-content .search-result .result-details li.reference-code {
    color: #000 !important;
}

.pagination ul {
    display: inline-block;
    margin-left: 0;
    margin-bottom: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}

.pagination ul > li > a,
.pagination ul > li > span {
    background-color: #fff;
    border: 1pt solid #000;
    border-left-width: 1px;
    border-left-width: 0;
    color: #000;
}

.pagination ul > li > a:hover,
.pagination ul > .active > a,
.pagination ul > .active > span {
    color: #000;
    background-color: #fff200;
}

.advanced-search .criteria .filter-row .filter-center {
  width: 49%;
  float: right;
}

input[name="subquery"]::placeholder {
    text-transform: capitalize;
}

.alert {
    padding: 8px 35px 8px 14px;
    margin: 20px 0;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    background-color: #fff;
    border: 1px solid #000;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 0;
}

.alert, .alert h4 {
    color: #000;
}

.repository-logo h2 {
    border: 8px solid #fff;
    font-size: 18px;
    line-height: 20px;
}

.repository-logo h2,
.repository-logo img {
    max-width: 220px;
    padding: 8px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background-color: #ffffff;
    margin: 0;
}

button.clipboard:hover,
button.clipboard-wide:hover {
    background-color: #fff;
    color: #000;
    text-decoration: underline;
}

body.login .actions,
body.register .actions,
body.passwordForgotten .actions,
body.upload .actions {
    border: 0 !important;
    padding: 0 !important;
}

body.login .actions button,
body.login .actions button:hover,
body.register .actions button,
body.register .actions button:hover,
body.passwordForgotten .actions button,
body.passwordForgotten .actions button:hover,
body.upload .actions button,
body.upload .actions button:hover {
    background: #000 !important;
    color: #fff !important;
}

body.login a,
body.register a,
body.passwordForgotten a {
    text-decoration: underline;
}

.search-result-description .result-details p a:hover {
    text-decoration: underline;
}

#main-column,
#main-column p,
#main-column section,
#main-column div {
    line-height: 1.5 !important;
}

.brick {
    display: none;
    background-color: #ffffff;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border: 1pt #000 solid;
    margin: 15px;
}

@media (max-width: 767px) {
    #top-bar {
        background: #fff url("../images/headerbg.jpg") no-repeat center bottom !important;
        height: auto !important;
        min-height: 90px !important;
        border: 1px solid 000;
        border-width: 0;
        padding: 25px 0 50px;
    }

    header #logo {
        display: block;
        height: 50px;
        width: 100%;
        background-image: url(/plugins/arFhyaThemePlugin/images/fhya-logo.png);
        background-repeat: no-repeat;
        float: left;
        margin: 20px auto 5px;
        text-align: center;
        background-position: center;
        overflow: hidden;
    }

    .brick {
        display: none;
        background-color: #ffffff;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        border: 1pt #000 solid;
        width: auto;
        padding: 15px;
        margin: 15px;
        font-size: 11px;
        line-height: 1.5em;
    }

    #language-menu,
    #quick-links-menu,
    #add-menu,
    #manage-menu,
    #import-menu,
    #admin-menu,
    #clipboard-menu {
        display: none;
    }
}

@media (max-width: 480px) {
    header nav {
        position: relative;
        z-index: 300;
    }

    header #logo {
        display: block;
        height: 90px;
        width: 100%;
        background-image: url(/plugins/arFhyaThemePlugin/images/fhya-logo.png);
        background-repeat: no-repeat;
        float: left;
        margin: 0 auto 5px;
        text-align: center;
        background-position: center;
        overflow: hidden;
    }
}

@media (max-height: 480px) {
    header #logo {
        display: block;
        height: 90px;
        width: 100%;
        background-image: url(/plugins/arFhyaThemePlugin/images/fhya-logo.png);
        background-repeat: no-repeat;
        float: left;
        margin: 0 auto 5px;
        text-align: center;
        background-position: center;
        overflow: hidden;
    }
}

