/******* Main Styles ********/

body {
    -webkit-tap-highlight-color: rgba(0,0,0,0.1);
}

header, footer, nav, section, article {
    display: block;
}

article {
    margin: 0;
    padding: 0;
    font-size: 100%;
    font-weight: inherit;
    font-style: normal;
    vertical-align: baseline;
    background: transparent;
    border: 0;
    outline: 0;
}


article, #topwrapper {
    overflow: hidden;
    color: #232323;
}


table {
    border-collapse: collapse;
    border-spacing: 0;
}

input,select {
    vertical-align: middle;
}

a img {
    border: 0;
}

:focus {
    outline: 0;
}

::selection {
    background: rgba(0,0,0,0.1);
}

::-moz-selection {
    background: rgba(0,0,0,0.1);
}

img::selection {
    background: transparent;
}

img::-moz-selection {
    background: transparent;
}


img, object, embed, video, iframe {
    width: 100%;
    border: 0;
}

.img {
    width: auto;
}

/*
figure {
    position: relative;
    text-align: center;
}
*/

/*
figure img {
    width: 100%;
    max-width: 1220px;
}
*/

.block {
    clear: both;
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    overflow: hidden;
}

.col6 {
    width: 48.3606557%;
    /*margin-right: 3.2786885%;*/
    float: left;
    min-height: 1px;
    overflow: hidden;
}

.mar3-left {
    margin-left: 25.81967245%;
}



/********** General *************/


.left {
    float: left;
}

.right {
    float: right;
}

.scroll-more {
    position: absolute;
    top: 70%;
    width: 90%;
    text-align: center;
}

.scroll-more img {
    width: 50%;
    opacity: 0.15;
}

.top-spacer {
    margin-top: 1%;
}

.crestwm {
    text-align: center;
}

.crestwm img {
    width: 15rem;
}


/******** Metadata bar **********/

.asset-metabar-wrap {
    clear: both;
    margin: 20px 0 23px 0;
}

.asset-metabar {
    border: 1px solid #E6E6E6;
    border-radius: 3px;
    display: table-cell;
    margin: 20px 0 0;
}

.asset-metabar-item {
    float: left;
    font-size: 12px;
    font-weight: 700;
    line-height: 14px;
    margin: 6px 0 5px;
    padding: 2px 10px;
    position: relative;
}

.asset-metabar-time.nobyline {
    border: 0;
}

.asset-metabar-time {
    padding-left: 5px;
    border-left: 1px solid #E1E1E1;
    color: #001539;
    font-style: italic;
    font-weight: 400;
}

.asset-metabar-time.updated {
    color: #bd2026
}

.asset-metabar img {
    width: 5rem;
}


/********** Blog Listview *************/


#blog-list {
    background: #FEFEFE;
}

.blog-tile {
    background: black;
    margin: 10px 15px 10px 0;
    border: 1px solid black;
    padding: 0;
    width: 100%;
    max-width: 450px;
}

.blog-list-details {
    z-index: 3;
    position: relative;
    background: black;
}

p.blog-list-title {
    margin: 0;
    padding: 2px;
    word-wrap: break-word;
}

.blog-list-title a {
    color: white;
}

.blog-list-image {
    /*
    position: relative;
    z-index: 1;
    overflow: hidden;*/
}

.blog-list-date {
    z-index: 4;
    top: 0;
    position: absolute;
    color: white;
    background: black;
    opacity: 0.9;
    width: 100%;
}

.blog-day {
    position: relative;
    float: left;
    font-size: 2.7rem;
    top: 0.4rem;
    margin-right: 0.2rem;
    color: white;
}

.blog-month {
    text-transform: uppercase;
}

.blog-time {
    color: #aaa;
    position: relative;
    left: -5px;
}

p.metaunit {
    margin: 0 2px 0 0;
    padding: 0;
    text-align: right;
    color: #77ABD4; /* #38C0FD; */
    font-weight: 500;
}

a.blog-unit:link, a.blog-unit:visited {
    color: #77ABD4;
}

a.blog-unit:hover, a.blog-unit:active {
    color: white;
    -webkit-transition: color 0.2s ease-in-out;
    -moz-transition: color 0.2s ease-in-out;
    -o-transition: color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out;
}


/******* Blog view *****/


.fig {
    text-align: center;
}

ul#thumbs {
    list-style: none;
    margin: 0 auto;
    max-width: 1220px;
    width: 60%;
}

ul#thumbs li {
    display: inline;
    margin: 2px;
}

ul#thumbs li img {
    width: auto;
    max-width: 13rem;
    max-height: 8rem;
    height: 100%;
    border: 2px solid #9f9f9f;
}

/* FireFox broken POS
@-moz-document url-prefix() {
    ul#thumbs li img {
        max-height: 8rem;
        max-width: 13rem;
    }
} */

ul#thumbs li img:hover{
    border: 2px solid #e4e444;
}


/* Photo Journal carousel view */

img.fullsize {
    border: 2px solid #9f9f9f;
    max-height: 754px;
}

.autowidth {
    width: auto;
}

.thumbnails {
    width: 70%;
    margin: 0 auto;
}
img#thumbnail {
    width: 100%;
    height: auto;
    display: block;
    border: 2px solid #9f9f9f;
}

img#thumbnail:hover{
    border: 2px solid #e4e444;
}

#fullimgcred {
    position: absolute;
    z-index: 100;
    bottom: 4%;
    left: 77%;
    font-size: 1.1rem;
    color: #fff;
    text-shadow: 1px 2px 1px rgba(0, 0, 0, 1);
}


/********** Multimedia Video *************/

.video-tile {
    margin: 6px;
    width: 100%;
    max-width: 426px;
    height: auto;
}

.video-container {
    background-color: black;
}

.video-container img {
    width: 100%;
}

a#close-video {
    padding: 0;
    margin-left: 17rem;
    color: white;
    text-align: center;
}

.video-title {
    position: absolute;
    padding: 4px;
    color: white;
    background-color: black;
}

/********** Photo Journal list view ********/

.photo-tile {
    border: 1px solid #ccc;
    /*-moz-box-shadow: 0 0 10px rgba(0,0,0,0.1);
    -o-box-shadow: 0 0 10px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.1);
    box-shadow: 0 0 10px rgba(0,0,0,0.1);*/
    margin: 10px 15px 10px 0;
    width: 100%;
    max-width: 450px;
}

.photo-container {

}

.photo-container a img {
    width: 100%;
}

.photo-details {
    margin-left: 4px;
}



/********** Story Page *************/


#featurecontainer {
    min-height: 100%;
    height: 92%;
    margin: 40px auto;
    padding: 0 5%;
    background-image: none;
}

#featurecontainer .large-2 {
    width: 19.8%;
    text-align: left;
}


/*
.icon-nav ul {
    float: left;
    display: inline;
    list-style: none;
    width: auto;
    height: auto !important;
}
*/


/*********** Event list view *************/

.event-icon {
    vertical-align: middle;
    width: 2.5rem;
}

.event-map {
    margin-right: 0;
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: white;
    padding: 0 2px;
}

.event-map img {
}

.event-details {
    padding: 0.5rem 0 0.5rem 1rem;
}

.event-tile {
    background-image: url('img/tpscrestwm.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin: 10px 20px 10px 0;
    border: 3px solid #235;
    padding: 0;
    max-width: 350px;
    width: 100%;
    height: 220px;
}

.event-head {
    height: 75px;
    background-color: #007fb0;
    opacity: 0.85;
}

.event-head-archive {
    padding: 3px;
    background-color: #eeeeff;
    font-size: 1.4rem;
    line-height: 2.2rem;
    font-weight: 500;
}

.event-head-icon {
    position: absolute;
    top: 0;
    right: 0;
    padding-top: 0.5rem;
    padding-right: 0.5rem;
    text-align: center;
}

.event-head-icon img {
    width: 3.5rem;
}

.event-list-date {
    padding: 2px;
    right: 0;
    position: absolute;
    color: white;
    text-align: right;
    background-color: #124;
    line-height: 1.3rem;
}

.event-units {
    width: 100%;
    position: absolute;
    bottom: 0;
    background-color: #235;
}

.event-empty {
    padding: 2rem;
}

a.event-unit:link, a.event-unit:visited {
    color: #e4e4e4;
}

a.event-unit:hover, a.event-unit:active {
    color: white;
    -webkit-transition: color 0.2s ease-in-out;
    -moz-transition: color 0.2s ease-in-out;
    -o-transition: color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out;
}


/******** YT video iframe **********/

.video-frame {
    display: block;
    margin: 0 auto;
    width: 640px;
    height: 480px;
}

.video-caption {
    text-align: center;
}





/****** Search ******/

.fancyInput {
    /*background-color: #A5CDF4;*/
}

#search-container {
    min-height: 100%;
    height: 92%;
    margin: 30px auto;
    padding: 0 5%;
    background-image: none;
}

.search-break {
    width: 350px;
    margin-left: 0;
    text-align: left;
}

.search-filter {
    margin-right: 2rem;
    font-size: 1.1rem;
}

.search-filter h4 {
    font-size: 1.7rem;
}

.search-result {}


.search-facet ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

#id_q-label {
    display: none;
}




/********* LIST VIEWS *******/

.header-actions {
    float: right;
}


#list-container {
    margin: 30px auto;
    padding: 0 1% 0 2%;
    height: 90%;
}

.list-header {
    margin-top: 25px;
    margin-right: 34px;
}


.list-content {
    overflow: hidden;
    height: 97%;
}

.entry-container {
    height: 25rem;
    margin-top: 2em;
    margin-bottom: 3em;
}

.entry-image {
    margin-right: 2rem;
    float: left;
    width: 100%;
    max-width: 45rem;
    height: 100%;
    position: relative;
    background-repeat: no-repeat;
    background-position: center top;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.entry-details {
    width: 100%;
    margin-left: 46rem;
}



/********* MY DIVISION *******/


table.mydivision {
    border-spacing: 0.5rem;
}

table.mydivision thead th {
    text-align: center;
}

table.mydivision tbody tr {
    vertical-align: top;
}

table.mydivision tbody tr td {
    padding: 0.5rem;
}

.mydivision-home {
    float: right;
    padding: 0.2rem;
    background-color: #f0f0f0;
    text-align: center;
}

img.mydivision-home-icon {
    float: left;
    width: 20px;
    height: 20px;
    margin: 0.1rem 0.2rem 0 0;
}

.mydivision-block {
    width: 100%;
    height: 10rem;
}

.mydivision-block img {
    max-width: 15rem;
    width: 100%;
    border: 0;
    vertical-align: top;
    float: left;
    margin-right: 0.5rem;
}
