/* HEADINGS WITH ICONS */

.item_full h1,
.item_full h2,
.item_full h3,
.item_full h4 {
    position: relative;
    margin-bottom: 10px;
}

.item_full h1:after,
.item_full h2:after,
.item_full h3:after,
.item_full h4:after {
    content: attr(data-icon_key);
    font-family: Entypo;
    font-size: 60px;
    vertical-align: bottom;
    padding-left: 5px;
}


/*--- IMAGE ---*/

.item_full #embed {
    text-align: center;
    margin: 20px 0 20px 23px;
}

#image {
    text-align: center;
}

#image #image_container {
    display: inline-block;
    background: url('../layout_imgs/corner-swirl.png') no-repeat bottom right;
    max-width: 100%;
}

#image_container .zoom,
#images .zoom {
    display: inline-block;
}

article #image_container p.note {
    text-align: left;
}

.notes a.fullscreen {
    position: relative;
    float: right;
    text-decoration: none;
}

.notes a.fullscreen:before {
    content: '\00D1';
    font-family: Entypo;
    font-size: 2em;
    position: absolute;
    left: -15px;
    top: -4px;
}


/* cover */

#cover {
    margin-bottom: 20px;
    text-align: center;
}

#cover h1 {
    padding-left: 10px;
}

#cover .cover_photo + h1 {
    margin: -60px 0 0 0;
    padding: 30px 0 0 5px;
    width: 100%;
    background: -moz-linear-gradient(top, rgba(242, 245, 238, 0) 0%, rgba(242, 245, 238, 1) 65%, rgba(242, 245, 238, 1) 100%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(242, 245, 238, 0)), color-stop(65%, rgba(242, 245, 238, 1)), color-stop(100%, rgba(242, 245, 238, 1)));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(242, 245, 238, 0) 0%, rgba(242, 245, 238, 1) 65%, rgba(242, 245, 238, 1) 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(242, 245, 238, 0) 0%, rgba(242, 245, 238, 1) 65%, rgba(242, 245, 238, 1) 100%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(242, 245, 238, 0) 0%, rgba(242, 245, 238, 1) 65%, rgba(242, 245, 238, 1) 100%);
    /* IE10+ */
    background: linear-gradient(top, rgba(242, 245, 238, 0) 0%, rgba(242, 245, 238, 1) 65%, rgba(242, 245, 238, 1) 100%);
    /* W3C */
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#00fdfbe9', endColorstr='#fdfbe9', GradientType=0);
    /* IE6-9 */
}

#photo_essay_full h2.author {
    font-size: 1.3em;
    margin: 5px 0 10px 0;
    color: #5b5b5b;
}

#photo_essay_full h2.author a {
    text-decoration: none;
}

#photo_essay_full #cover h2.author {
    margin: 5px 0 0 5px;
}

#thumbs {
    margin-top: -15px;
    margin-bottom: 10px;
}

#thumbs .thumb {
    opacity: .6;
}

#thumbs .thumb:hover {
    opacity: 1;
}

#thumbs .thumb img {
    width: 75px;
    height: 75px;
}

#thumbs .thumb .description {
    display: none;
}


/*--- EMBEDED DOC VIEWER ---*/

#embeded_view {
    position: relative;
    height: 0;
    overflow: hidden;
    padding-bottom: 75%;
    background: url('../layout_imgs/corner-swirl.png') no-repeat bottom right;
}

#embeded_view-16x9 {
    padding-bottom: 56.25% !important;
}

#embeded_view-4x3 {}

#embeded_view iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #e3e3e3;
}


/*--- BUTTONS ---*/

#buttons {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 30px;
    margin-top: 40px;
}

#image + #buttons,
#embeded_view + #buttons {
    margin-top: 0;
}

#buttons a {
    padding: 8px 20px;
    margin: 0 5px;
}

#buttons a:before {
    font-family: Entypo;
    font-size: 2em;
    margin: 0 8px 0 0;
    vertical-align: bottom;
}

#buttons .download:before {
    content: 'x';
}

#buttons .view:before {
    content: '\00D1';
}


/*--- DETAILS ---*/

.item_full #details section {
    margin-bottom: 30px;
}


/* DESCRIPTION */

.item_full .description h1 {
    position: relative;
    margin-bottom: 10px;
}

.item_full .description .creator_date {
    color: #4e4e4e;
    font-size: 1.2666em;
    margin-bottom: 5px;
}


/* SUBJECTS */

#details .subjects div,
#details .companies div {
    text-align: justify;
    line-height: 2.2666em;
}

#details .subjects ul {
    margin: 0;
}

#details .subjects li {
    list-style: none;
    display: inline-block;
    margin: 0 25px 15px 0;
}

.subjects a,
.companies a {
    text-decoration: none;
    letter-spacing: -.02em;
    margin-right: 25px;
}

.subjects ul,
.companies ul {
    margin: 0 0 0 20px;
    color: #d9cab5;
    line-height: 1.4em;
}


/* FULL DETAILS */

table.item_details {
    border-collapse: collapse;
    letter-spacing: -.02em;
}

.item_details th {
    font-weight: normal;
    color: #662d02;
    line-height: 1.2em;
    text-align: right;
    width: 95px;
    padding: 0 10px 5px 0;
}

.item_details td {
    color: #464646;
}

.item_details tr.map th {
    vertical-align: middle;
}


/*--- RELATED/CITE ---*/

.item_full #related fieldset {
    border-top: 1px solid #d9cab5;
    margin-bottom: 10px;
}

.item_full #related fieldset legend {
    font-family: 'Chaparral';
    font-size: 1.4667em;
    color: #6c6c6c;
    padding: 0 8px 0 0;
    margin-bottom: 5px;
}

.item_full #related fieldset legend a {
    position: absolute;
    right: 0;
    background: #fdfbea;
    padding: 0 5px;
    margin-top: -1px;
    font-size: .9em;
    display: inline;
}

#related .share div {
    /*height: 32px;*/
    margin-bottom: 5px;
}

#related a.item_square,
#related a.item_square img {
    width: 88px;
    height: 88px;
}

#related a.view_all {
    font-size: 1.05em;
    font-family: Chaparral;
    text-decoration: none;
    display: block;
    text-align: right;
    margin: 2px 0;
}

#related_items_see_all,
#citation {
    max-height: 500px;
    max-width: 800px;
    overflow: auto;
    background: #fff;
    border: 10px solid #fff;
    border-radius: 10px;
}

#cboxLoadedContent {
    border-radius: 10px;
}

#related_items_see_all .item_thumb {
    width: auto;
    float: none;
    padding: 5px;
    border: none;
    background: none;
    border-bottom: 1px solid #e3e3e3;
}

#related_items_see_all .item_thumb h1 {
    font-size: 1.4em;
    clear: none;
}

#related_items_see_all .item_thumb a.item_icon {
    width: auto;
    margin: 0 5px 0 0;
    float: left;
}

#related_items_see_all .item_thumb a.item_icon img {
    max-width: 80px;
    max-height: 80px;
}

#citation p.note {
    margin-bottom: 15px;
    font-size: .9333em;
    color: #666;
    font-style: italic;
    line-height: 1.4em;
    text-align: center;
    padding: 0 50px;
}

#citation .status {
    border-bottom: 1px solid #e3e3e3;
    margin-bottom: 15px;
}

#citation .status:last-child {
    border-bottom: none;
}

#citation .status h1 {
    font-family: Chaparral;
    font-size: 1.8em;
    color: #6e6f3e;
}

#citation .status .rule {
    padding: 15px;
}

#citation a {
    color: #596f91;
    text-decoration: underline;
}

#citation a:hover {
    color: #6e89b2;
}


/*--- BEFORE AND AFTER --*/

#before,
#after {
    margin-bottom: 20px;
}

#before h5,
#after h5 {
    font-size: 1.4em;
    color: #3e3e3e;
    margin: 0 0 5px 0;
}

#before h5 a,
#after h5 a {
    text-decoration: none;
}


/*--- AUDIO ---*/

#audio,
#video {
    position: relative;
    text-align: center;
}

#media_container_wrapper,
#video #media_container {
    margin: 20px auto 30px auto;
}

#audio_full .description > img {
    float: right;
    margin: 0 0 10px 10px;
}

#audio_full .description > img + h1 {
    clear: none;
}


/*--- TILEMAP ---*/

#map {
    margin: 20px 0 20px 0;
    height: auto;
}

#tilemap_full #map_canvas {
    width: 100%;
    height: 500px;
    border: 1px solid #d9cab5;
}

#map_canvas.fullscreen {
    width: 100%;
    height: 100%;
}


/*
 * Company Employees
*/

.companies .item_collection_bar {
    position: relative;
    width: 48%;
    float: left;
    color: #707070;
    margin-left: 1%;
    opacity: .6;
}

.companies .item_collection_bar .item_icon {
    position: relative;
    float: left;
    width: 80px;
    height: 80px;
    margin-right: 5px;
}

.companies .item_collection_bar img {
    width: 80px;
    height: 80px;
    border: 1px solid #4d4d4d;
}

.companies .item_collection_bar .item_icon:before {
    content: attr(data-icon_key);
    font-family: Entypo;
    font-size: 3.5em;
    position: absolute;
    bottom: 0;
    left: 0;
    color: #fff;
    text-shadow: 0 0 5px #404040;
    opacity: .8;
}

.companies .item_collection_bar h1 {
    clear: none;
    font-family: Chaparral;
    font-size: 1.6em;
    line-height: 1em;
    margin: 5px 0 2px 85px;
}

.companies .item_collection_bar p.type {
    line-height: 1em;
    margin-left: 85px;
}

.companies .item_collection_bar:hover,
.companies .item_collection_bar.current {
    opacity: 1;
}


/* sidebar */

#related .companies ul {
    list-style: none;
    margin-left: 0;
}

#related .companies .item_collection_bar {
    width: auto;
    float: none;
    font-size: .8em;
}

#related .companies .item_collection_bar a.item_icon,
#related .companies .item_collection_bar img {
    width: 40px;
    height: 40px;
}

#related .companies .item_collection_bar a.item_icon:before {
    display: none;
}

#related .companies .item_collection_bar h1,
#related .companies .item_collection_bar p {
    margin-left: 45px;
    margin-bottom: 0;
}

#related .companies .item_collection_bar h1 {
    padding-top: 2px;
}


/*
 *  Item not in supplied collection
*/

article.not-in-collection-msg {
    text-align: center;
}

.not-in-collection-msg h5 {
    font-size: 1.1em;
    color: #333;
    padding: 8px 0;
}
