
main {
    clear: both;
    padding-top: 2rem;
}

body.single-resource {
	background-color: #F0F0F0;
}

.show-mod {
    display: block;
}

.show-mod .flex-comments {
    float: left;
}
.show-mod .flex-contexts {
    float: right;
}

.show-mod h2 {
	font-size: 1.2em;
	font-weight: normal;
	padding: 0.5em;
	margin:0;
	background-color: #FFF;
}
.show-mod h2 .count {
	color: #888;
	font-size: 0.9em;
}

.show-notice {
	width: 49vw;
	max-width: 100%;
	margin: 2rem auto;
}

.show-aside{
    width: 30rem;
    margin: 0 calc((25vw - 32rem) / 2);
}

.show-contexts.right {

}

.record-notice {
    padding-bottom: 3.2rem;
}

.record-preview-media {
	width: 100%;
	z-index: 50;
	margin: 0;
	background-color: #E3E3E3;
	max-height: 16.6rem;
	overflow: hidden;
}
.record-preview-media img {
	display: inline;
	max-height: 8.3rem;
	float: left;
}
.record-preview-media img:first-child {
	max-height: 16.6rem;
}
.nao-media.left .caption {
	right: auto;
	left: .2em;
}
.show-back-to-search {
    margin:0 0 2rem 0;
}
.show-back-to-search.button.normal {
    margin:0 0 2.2rem 0;
    display:inline-block;
}
.show-back-to-search i{
    color: #fff;
}
.show-back-to-search span {
    font-size:1.2rem;
}
.show-comments-form {
	padding:0.7em;
	margin-bottom:1em;
}
.show-comments-form .count {
	font-size:0.8em;
	color:#888;
}
.show-comments-form textarea {
	width:100%;
	height:9rem;
	margin:0;
	resize:vertical;
}
.show-comments-form .actions {
	text-align: center;
}
.show-comments-form input {
	margin:0.7em 0 0;
}

.show-comments-list {
	background-color:#fff;
	padding:0.5em;
}
.show-comments-list .comment {
	margin:0 0 1rem 0;
    position:relative;
}
.show-comments-list .avatar {
	display:inline-block;
	vertical-align: top;
	margin:0 0.5em 0 0;
}
.show-comments-list .content {
	display:inline-block;
	width:19em;
}
.show-comments-list .name {
	font-weight:bold;
	color:#000;
}
.show-comments-list .firstname {

}
.show-comments-list .lastname {

}
.show-comments-list .date {
	color:#aaa;
}
.show-comments-list p {
	color:#666;
	word-wrap:break-word;
}
.show-comments-list .actions {
    display:none;
    position:absolute;
    top:0px;
    right:0;
}
.show-comments-list .comment:hover .actions {
    display:block;
}
.show-comments-list .actions .delete {
    color:rgb(229, 80, 80);
    cursor:pointer;
    font-size:10px;
}
.show-comments-list .actions .delete:hover {
    text-decoration:underline;
}

.show-exhibits {
	list-style:none;
	padding:1.5em;
	margin:0;
	background-color: #F0F0F0;
}
.show-exhibits .item { margin:0 0 1.5em; }
.show-exhibits .item:last-child { margin:0; }
.show-exhibits .picture {
	float:left;
	margin:0 0.5em 0 0;
	max-width:6em;
	height:auto;
}
.show-exhibits .title {
	color:#333;
	display:block;
	word-wrap:break-word;
}
.show-exhibits .type {
	color:#888;
	font-size:0.9em;
}
.show-classification {
	padding:1.5em;
    padding-right:0;
	background-color: #F0F0F0;
    overflow-y:auto;
}
.show-classification .tree {
    margin:0 0 0 2rem;
    line-height:1.8em;
}
.show-classification > .tree { margin:0; }
.show-classification .last { color:inherit; }
.show-classification a {
    text-decoration:none;
    color:#000;
}
.show-classification .dot {
    display: inline-block;
    padding: 0 0.55rem 0 0.4rem;
}
.show-classification a:hover { text-decoration: underline; }
.show-classification .from a,
.show-classification .from span {
    color:#fff !important;
}
.show-classification .current .tree .tree,
.show-classification .current .tree .show-more,
.show-classification .current .count-max,
.show-classification .current ~ .count-max,
.show-classification .current ~ .tree .tree {
	display:none;
}
.show-classification .show-more {
	display:none;
	margin:0 0 0 2rem;
	color:#888;
}
.show-classification .count-max + .show-more {
	display:block;
}



/*Bookmark*/
.bookmark.resource .search-result-list {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: inherit;
    height: auto;
}

.bookmark.resource .search-result-list:hover {
    background-color: inherit;
}

.bookmark.resource .search-result-list .record-title a {
    pointer-events: none;
}

.bookmark_wrapper {
    display: inline-block;
    vertical-align: top;
    margin-left: 10px;
}

.bookmark .popup-body {
    padding: 0;
}

.bookmark .error {
    padding: 16px 10px;
    margin-top: 16px;
    text-align: center;
    color: #a94442;
    background-color: #f2dede;
    font-size: 1em;
}

.bookmark .success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
    padding: 4px 10px;
    text-align: center;
    font-size: 1.2em;
    border-top: 1px solid;
    border-bottom: 1px solid;
}
/*
.bookmark .wrapper_note {}
*/

.bookmark .wrapper_alert {
    padding: 0 10px;
    text-align: center;
    background-color: #f0f0f0;
    line-height: 40px;
}

.bookmark .wrapper_alert label {
    margin-top: 0;
}

.bookmark .wrapper_used {
    line-height: 34px;
    padding: 0 10px;
    border-top: 1px solid #e2e2e2;
}

.bookmark .wrapper_tags {
    padding: 8px 10px;
    border-top: 1px solid #e2e2e2;
}

.bookmark .wrapper_preview {
    padding: 4px 10px;
}

.bookmark .popup-title h3 {
    font-size: 1.33em;
    font-weight: normal;
}

.bookmark .popup-title h3 .add_time {
    font-size: 0.66em;
    color: #c1c1c1;
}

.bookmark.search .wrapper_preview .search-current {
    width: auto;
    margin-top: 4px;
    margin-bottom: 4px;
}

.bookmark.media .wrapper_preview .search-result {
    max-width: inherit;
}

.record-notice-markers, .record-notice-markers ul {
    list-style: none;
}
.record-notice-marked-media {
    float: left;
    margin: 0 1rem 1rem 0;
}
.record-notice-marked-media img {
    max-height: 8rem;
}

.dc_coverage.map {
    background: #e3e3e3;
    text-align: center;
}
.keywords{
    display: inline-block; list-style: none; padding:0;
}
.keywords>*{
    display: inline-block;
}

@media screen and (max-width: 1250px) {
    .show-notice {
        width: 46rem;
        margin: 0 auto;
    }

    .show-aside{
        width: 25rem;
        margin: 0 calc((((100vw - 48rem) / 2) - 25rem) / 2);
    }
}

@media screen and (max-width: 990px) {
    .show-mod {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;

        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column-reverse;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
    }

    .show-mod .flex-comments {
        -webkit-box-flex: 2;
        -webkit-flex: 2;
        -moz-box-flex: 2;
        -ms-flex: 2;
        flex: 2;
    }

    .show-mod .show-notice,
    .show-mod .flex-comments,
    .show-mod .flex-contexts
    {
        float:none;
        width: 97vw;
        margin: 0.8rem auto;
    }

    .goback {
        display: none;
    }

}
