/*
 * Main Content
 **/
#main {
    padding-bottom: 0.5em;
}

body.front #main {
    padding-top: 1em;
}

h1.ds-div-head {
    margin-top: 0;
}

div.primary,
#aspect_discovery_SiteRecentSubmissions_div_site-home,
#aspect_artifactbrowser_CollectionRecentSubmissions_div_collection-recent-submission {
    overflow: visible;
    height: auto;
    display: inline-block;
    width: 100%;
}

#aspect_artifactbrowser_CommunityRecentSubmissions_div_community-recent-submission .ds-artifact-list:first-child {
    display:none
}

/*
 * Feature Region
 **/
#featured .container {
    padding: 0px;
}

@media (min-width: 480px) {
    #featured .container {
        max-width: 510px;
    }
}

@media (min-width: 640px) {
    #featured .container {
        max-width: 630px;
    }
}

@media (min-width: 768px) {
    #featured .container {
        max-width: 743px;
    }
}

@media (min-width: 992px) {
    #featured .container {
        max-width: 982px;
    }
}

@media (min-width: 1200px) {
    #featured .container {
       max-width: 1200px;
    }
}

/*
 * Breadcrumbs
 **/
body.front ul#ds-trail {
    display: none;
}

ul#ds-trail {
    margin-left: 1em;
    text-indent: 0px;
    font-size: 80%;
}

ul#ds-trail li a {
    color: #990000;
}

li.ds-trail-link {
    background-image: none;
    padding-left: 0;
    margin-left: 0;
}

li.ds-trail-link:not(:first-child):before {
    content: ">> ";
}

div#ds-system-wide-alert {
    background-color: white;
    border: 1px solid #900;
    padding: 6px;
    margin: 10px 30px 10px 30px;
    color: #900;
}

/*
 * Sidebar
 **/
.sidebar {
    background-color: transparent;
}

h3.ds-option-set-head {
    background: url(crosshatch-texture.png) repeat scroll 0 0 #45403a;
    color: white;
    padding: 0.5em;
    margin-bottom: 0;
    text-align: center;
    font-size: 135%;
}

div.ds-option-set {
    width: auto;
    padding: 0.5em;
    margin: 0;
    border: 3px solid #333;
    background-color: transparent;
}

.ds-option-set > ul,
ul.ds-options-list {
    padding-left: 2em;
}

/*
 * Footer
 **/

#footer-wrapper {
    padding-bottom: 4em;
}

#ug-social_media {
    float: right;
    display: inline;
}

#ug-social_media img {
    padding: 10px;
    float: left;
}

/*
 * Item View
 **/

#aspect_artifactbrowser_ItemViewer_div_item-view table {
    border: none;
}

#aspect_artifactbrowser_ItemViewer_div_item-view table tbody {
    border-top: none;
}

#aspect_artifactbrowser_ItemViewer_div_item-view table tr.even {
    background-color: transparent;
}

#aspect_artifactbrowser_ItemViewer_div_item-view table tr.odd {
    background-color: #E9E9E9;
}

#aspect_artifactbrowser_ItemViewer_div_item-view table tr:last-child {
    border-bottom: none;
}

#aspect_artifactbrowser_ItemViewer_div_item-view table th {
    background: url(crosshatch-texture.png) repeat scroll 0 0 #45403a;
    color: white;
    font-size: 115%;
    text-align: center;
    border: none;
}

#aspect_artifactbrowser_ItemViewer_div_item-view table td {
    border: none;
}

#aspect_artifactbrowser_ItemViewer_div_item-view table tr.ds-table-header-row {
    background-color: transparent;
}

tr.ds-table-header-row th:not(:first-child) {
    border-left: 1px solid #E9E9E9 !important;
}

.vertical-table tr:first-child th {
    border-radius: 15px 0px 0px 0px !important;
}

.vertical-table tr:last-child th {
    border-radius: 0px 0px 0px 15px !important;
}

tr.ds-table-header-row th:first-child {
    border-left: none;
    border-radius: 15px 0px 0px 0px !important;
}

tr.ds-table-header-row th:last-child {
    border-radius: 0px 15px 0px 0px !important;
}

/*
 * Item lists on collection pages.
 **/
ul.ds-artifact-list {
    width: 100%;
    border: 1px solid #CCC;
}

ul.ds-artifact-list li.even,
ul.ds-artifact-list li {
    background-color: transparent;
    border-bottom: 1px solid #CCC;
}

ul.ds-artifact-list li.odd {
    background-color: #E9E9E9;
}

ul.ds-artifact-list li div.artifact-title {
    font-size: 110%;
    font-weight: normal;
}

ul.ds-artifact-list li div.artifact-title a:visited,
ul.ds-artifact-list li div.artifact-title a:link {
    color: #990000;
}

/*
 * Pagination
 **/

.pagination.top {
    margin-bottom: 1em;
    display: block;
    float: left;
    width: 100%;
}

.pagination.bottom {
    float: left;
    width: 100%;
}

.pagination .previous-page-link,
.pagination .next-page-link {
    float: left;
}

.pagination .pagination-info {
    float: left;
    width: 100%;
    margin: 0;
}

div.pagination,
div.pagination-masked {
    color: inherit;
    background-color: transparent;
    border: none;
    margin-bottom: 5px;
}

ul.alphabet a,
a.next-page-link,
a.prev-page-link,
div.pagination-masked a.next-page-link,
div.pagination-masked li.first-page-link a,
div.pagination-masked li.last-page-link a,
div.pagination-masked a.previous-page-link,
div.pagination-masked li.page-link a,
div.pagination-masked li.current-page-link a {
    font-weight: normal;
    color: #990000;
}

div.pagination-masked li.current-page-link a {
    font-weight: bold;
}

/*
 * Search Form
 **/
#ds-search-form {
    padding: 1em;
}

div#ds-search-option input.ds-text-field {
    width: 90%;
    width: calc(100% - 20px);
}

#aspect_discovery_SimpleSearch_field_scope {
    position: relative;
    top: -4px;
}

#aspect_discovery_SimpleSearch_field_submit {
    position: relative;
    top: -1px;
}

#aspect_discovery_SimpleSearch_table_discovery-filters tr.ds-table-header-row th {
    background: none white;;
    color: #333;
}

#ds-search-form label {
    clear: both;
}

.gear-icon {
    font-family: 'icomoon';
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

.gear-icon:before {
    padding-top: 4px;
    display: block;
    speak: none;
    content: "\e68e";
}

.gear-icon:after {
    content: "Search Controls";
    position: absolute !important;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px,1px,1px,1px);
    overflow: hidden;
    height: 1px;
}

#ds-search-form-scope-all,
#ds-search-form-scope-container {
    float: left;
    clear: both;
}

#aspect_discovery_SimpleSearch_field_submit,
div#ds-search-option input.ds-button-field {
    width: 30px;
    padding-left: 4px;
    padding-right: 4px;
    margin-left: 1px;
    height: 29px;
    border: 1px solid grey;
    background-color: #ededed;
    border-radius: 5px !important;
}

#aspect_discovery_SimpleSearch_field_submit {
    margin-top: 3px;
    margin-left: 3px;
}

p#aspect_discovery_CommunitySearch_p_search-query {
    float: left;
}

p#aspect_discovery_CommunitySearch_p_search-query input {
    float: left;
    clear: both;
    margin-bottom: 0.5em;
}

/*
 * Browse artifact
 **/
#aspect_artifactbrowser_ConfigurableBrowse_div_browse-controls,
#aspect_artifactbrowser_ConfigurableBrowse_div_browse-navigation {
    margin: 0 auto;
    width: 50%;
}
#aspect_artifactbrowser_ConfigurableBrowse_div_browse-controls p.ds-paragraph {
    clear: both;
}

#aspect_artifactbrowser_ConfigurableBrowse_div_browse-by-author-results ul.ds-artifact-list,
#aspect_artifactbrowser_ConfigurableBrowse_div_browse-by-subject-results ul.ds-artifact-list {
    border: none;
}

#aspect_artifactbrowser_ConfigurableBrowse_div_browse-by-author-results tr.ds-table-header-row th:last-child,
#aspect_artifactbrowser_ConfigurableBrowse_div_browse-by-subject-results tr.ds-table-header-row th:last-child {
    border-radius: 0 !important;
}

/*
 * Recent Submissions
 **/

/*
 * Forms
 **/
form label,
span.ds-form-label,
label.ds-form-label {
    width: auto;
    padding: 5px 5px 5px 10px;
}

label.required:after {
    content: " *";
}

div.ds-form-content {
    clear: both;
}

form.ds-interactive-div li.ds-form-item.last {
    background-color: transparent;
    border-top: none;
}

form.ds-interactive-div li.odd,
form.ds-interactive-div li.even {
     background-color: transparent;
}

fieldset.ds-form-sublist {
    border: 1px solid #CCC;
}

fieldset {
    background-color: transparent;
}

fieldset.ds-form-list.thick,
fieldset.ds-form-list {
    border: 1px solid #CCC;
    background-color: transparent;
}

fieldset legend,
form.ds-interactive-div fieldset.ds-form-sublist legend,
fieldset.thick legend,
fieldset.ds-form-list legend {
    color: #333;
    padding: 0.5em;
    border: 1px solid #CCC;
    font-size: 110%;
    background-color: transparent;
}

input[type='text'].ds-text-field,
input.ds-password-field {
    margin-top: 2px;
    height: 25px;
    font-size: 18px;
    float: left;
    display: block;
}

input.ds-button-field {
    padding-left: 4px;
    padding-right: 4px;
    margin-left: 1px;
    height: 29px;
}

.ds-composite-component + input.ds-button-field.ds-add-button {
    position: relative;
    top: 2px;
    border: solid;
    border-width: 1px;
    background-color: rgb(245, 244, 244);
    border-radius: 5px !important;
}

.ds-composite-component span.ds-composite-label {
    float: left;
}

.chosen-container-single a.chosen-single {
    max-height: 2.5em;
    height: 2.5em;
}

span.field-help,
.ds-form-content {
    float: left;
}

div.selectize-input {
    min-width: 10em;
}

.administrative ul.horizontal {
    border-bottom: none;
}

.administrative ul.horizontal li {
    background: transparent;
}

.administrative p.ds-paragraph,
.administrative h2,
.administrative h3,
.administrative h4 {
    clear: left;
}

/* Collection search form */
#aspect_discovery_CollectionSearch_p_search-query {
    float: left;
}

#aspect_discovery_CollectionSearch_p_search-query input {
    float: left;
}

#aspect_discovery_CollectionSearch_p_search-query input#aspect_discovery_CollectionSearch_field_submit {
    margin-top: 3px;
}

/* Resume item file list */
#aspect_submission_submit_ResumeStep_div_resume-submission .file-list td:last-child img {
    margin: 0 auto;
}

/* Add button on submision form */
#aspect_submission_StepTransformer_field_dc_title_alternative + input.ds-button-field.ds-add-button {
    position: relative;
    top: 2px;
    left: 5px;
}

/* Local password login form */
#aspect_eperson_PasswordLogin_list_password-login li a {
    float: left;
}

/* Submission describe 2 form */
#aspect_submission_StepTransformer_div_submit-describe a {
    float: left;
}

/*
 * General
 **/
ul {
    padding-left: 1em;
}

div.table-wrapper {
   overflow: visible !important;
}

table,
table td {
    border: none;
}

table tbody {
    border-top: none;
}

table tr {
    background-color: transparent;
}

table tr th {
    border: none;
    background: url(crosshatch-texture.png) repeat scroll 0 0 #45403a;
    color: white;
    font-size: 115%;
    text-align: center;
    border: none;
}

tr.ds-table-header-row {
    background-color: transparent;
}

tr.ds-table-row.even {
    background-color: transparent;
}

tr.ds-table-row.odd,
tr.odd {
    background-color: #E9E9E9;
}

tr.ds-table-row.odd:last-child,  tr.ds-table-row.even:last-child {
  border-bottom: none;
}

.hidden {
    display: none;
 }
