/**

 * = Table of Contents =
 * Typography
 * Layout
 * Forms
 * Messaging
 * Page Specific
 */


/* = Typography = */
.main li {
    font-size: 12px;
}
.page_info {
    border-bottom: 1px dotted #BBB;
    color: #666;
    font-size: 22px;
    margin-bottom: 1.5em;
    padding-bottom: 0.4em;
}

/* = Layout = */
.pagination {
	margin: 2em 0;
    text-align: center;
}
.pagination a {
    background: #FFF;
    border: 1px solid #DDD;
    border-radius: 4px;
    display: inline-block;
    line-height: 1;
    margin-left: 3px;
    padding: 4px 7px;
}
.pagination a:hover {
    background: #0394CD;
    border-color: #0394CD;
    color: #FFF;
}
.pagination a#active_page {
    background: #EEE;
    color: #666;
    cursor: default;
    font-weight: bold;
}
.pagination a#active_page:hover {
    border-color: #DDD;
}
.pagination span.sep-dots {
    display: inline-block;
    font-size: 1.1em;
    margin-left: 6px;
    position: relative;
    top: 8px;
}


/* = Forms = */
.collections .search {
	background: #F7F7F7;
	border-bottom: 1px solid #CCC;
	border-top: 1px solid #CCC;
	margin-bottom: 2em;
	padding: 20px;
}
.collections .search fieldset {
    border: none;
    padding: 0;
}
.collections .search .text,
.collections .search .select,
.collections .search .submit {
	float: left;
	margin-left: 15px;
}
.collections .search .text {
	margin-left: 0;
	width: 251px;
}
.collections .search select {
    font-size: 12px;
	width: 250px;
}
.collections .search label {
    cursor: pointer;
    display: block;
    font-weight: normal;
    line-height: 1.5;
}
.collections .search input[type="text"] {
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    display: block;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    margin: 0;
    padding: 1em 0.8em;
    width: 100%;
}
.collections .multiple select {
    padding-left: 5px;
    padding-right: 10px;
}
.collections .radio,
.collections .checkbox {
    font-weight: normal;
}
.collections .search .submit input[type="button"],
.collections .search .submit input[type="reset"],
.collections .search .submit input[type="submit"] {
    background: #063e83;
    border: none;
    border-radius: 2px;
    color: #FFF;
    display: inline-block;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    margin: 0;
    padding: 0.9em 1.2em;
    text-align: center;
    width: auto;
}
.collections .search .submit input[type="button"]:hover,
.collections .search .submit input[type="reset"]:hover,
.collections .search .submit input[type="submit"]:hover,
.collections .search .submit input[type="button"]:focus,
.collections .search .submit input[type="reset"]:focus,
.collections .search .submit input[type="submit"]:focus{
    background: #1a56a0;
    cursor: pointer;
}

.collections .search .preserve-filters {
    background-color: #E4E4E4;
    border: 1px solid #CCC;
    border-radius: 4px;
    display: none;
	margin-top: 18px;
    padding: 4px 7px 7px;
}
.collections .search .preserve-filters label {
    color: #666;
	display: inline;
    font-size: 13px;
    position: relative;
    top: 1px;
}


/* = Messaging = */
.success {
    border-radius: 4px;
    margin-bottom: 1.5em;
    padding: 1em 2em;
    position: relative;
    background: #d2f8b0;
}
.error {
    border-radius: 4px;
    margin-bottom: 1.5em;
    padding: 1em 2em;
    position: relative;
    background: #ffd8d9;
}
.info {
    border-radius: 4px;
    margin-bottom: 1.5em;
    padding: 1em 2em;
    position: relative;
    background: #b8e0f9;
}
.success a,
.error a,
.info a {
    text-decoration: underline;
}
.success p,
.error p,
.info p {
    margin-bottom: 1em;
    margin-top: 0;
}
.success p:last-child,
.error p:last-child,
.info p:last-child {
	margin: 0;
}


/* = Page Specific = */

/* == Search Results == */
.search_results {
    border-bottom: 1px solid #DDD;
    margin-bottom: 2em;
    padding-bottom: 2em;
}
.search_results > a {
	float: left;
	max-height: 320px;
	overflow: hidden;
	width: 200px;
}
.search_results > img {
	max-width: 200px;
}
.search_results > a img {
    max-width: 100%;
}
.search_results .records p:first-child {
    margin-left: 0;
}
.search_results .article-data {
    float: right;
    padding-bottom: 0;
    width: 424px;
}
.search_results .records {
	background: #eef2fd;
	margin-left: -8px;
	margin-top: 16px;
}
.search_results .records > div {
	color: #333;
	padding: 6px 10px;
	position: relative;
	text-shadow: 1px 1px 0 rgba(255,255,255,0.6);
}
.search_results .records > div:after {
	border: solid transparent;
	bottom: 100%;
	left: 4%;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-bottom-color: #eef2fd;
	border-width: 10px;
	margin-left: -10px;
}
.search_results .records p {
	display: inline-block;
	font-family: Arial, sans-serif;
	font-size: 12px;
	margin-bottom: 0;
	margin-left: 1.2em;
}
.search_results .article-data h5 {
    padding-bottom: 5px;
}
.article-meta ul {
    padding-left: 0;
}
.article-meta p {
    margin-bottom: 1em;
}
.no-results {
	margin: 30px 0;
}
.hidden {
    display: none;
}
.reset-filter {
    float: left;
    padding: 0 10px;
    height: 32px;
    border: none;
    border-radius: 5px;
    background-color: #053E81;
    background-image: none;
    color: #fff;
    text-align: center;
}


/* = Global Search Results = */
#search-results .search-results .article-data {
	width: 100%;
}

/* = Search Results Grid =*/
#grid-container {
    margin-top: 27px;
}
#grid-container .result-image {
    background-color: #000000;
    margin-bottom: 20px;
}

#grid-container .result-image p {
    color: #FFFFFF;
    bottom: 0;
    margin: 0;
    padding: 10px;
    position: absolute;
    width: 100%;
    opacity: .5;
    font-size: .7em;
    transition: opacity .1s;
}
#grid-container .result-image img {
    transition: opacity .1s;
    opacity: 1;
    width: 200px;
}
#grid-container .result-image:hover img {
    background-color: #000000;
    opacity: 0.3;
}
#grid-container .result-image:hover p {
    opacity: 1;
}
.toggler {
    background: #F3F3F3;
    margin-bottom: 16px;
}
.toggler .view {
	background: url(/img/sprite_toggler.png) no-repeat 14px 14px;
	border-left: 1px solid #CCC;
    color: #0394CD;
    display: block;
    float: left;
    line-height: 1.5;
    padding: 8px 16px 8px 43px;
    text-align: center;
    text-shadow: 1px 1px 0 #FFF;
}
.toggler .list:hover {
	background-position: 14px -39px;
}
.toggler .list.active {
	background-position: 14px -92px;
}
.toggler .view:first-child {
	border: none;
}
.toggler .view:hover {
    color: #005e83;
    text-decoration: none;
}
.toggler .grid {
	background-position: -207px 14px;
}
.toggler .grid:hover {
	background-position: -207px -39px;
}
.toggler .grid.active,
.toggler .grid.active:hover {
	background-position: -207px -92px;
}
.toggler .active {
	color: #666;
	font-weight: bold;
	text-shadow: none;
}
.toggler .active:hover {
	color: #666;
}

/* = Faceting =*/
.facets .title {
    color: #777;
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 0.6em;
}
.facets .inactive {
    color: red;
}
.facet-block.open {
    box-shadow: inset 0 0 4px 3px rgba(0,0,0,0.2);
    max-height: 280px;
    overflow: auto;
    padding: 0.6em 0.8em 0;
}
.facet-block {
    margin: 0 0 2em;
}
.facet-block:last-child {
    margin-bottom: 0;
}
.facet-count label {
    font-size: 12px;
}
.facet-block ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.facet-block li {
    margin-left: 0;
}
.facet-block li .facet-count {
    color: #666;
}
.facet-block .facet-toggle {
    cursor: pointer;
    color: #0394cd;
    font-size: 12px;
    margin-bottom: 0.6em;
    margin-top: 0.8em;
}
.facet-block .facet-toggle:hover{
    opacity: .8;
}
.facets .search_facets {
    clear: both;
}
.facets .search_facets label {
    font-weight: normal;
    font-size: 12px;
    line-height: 1.5;
    padding-left: 4px;
}
.facets .search_facets input {
    float: left;
    margin: 3px 0 0 0;
    width: 15px;
}
#facet-date {
    background: #FFF;
    height: 10px;
    border: 1px solid #999;
    box-shadow: none;
}
#event-start,
#event-end {
    background: #EEE;
    border-radius: 2px;
    color: #666;
    font-size: 13px;
    margin-top: 6px;
    padding: 0 0.2em;
}
#event-start {
    float: left;
}
#event-end {
    float: right;
}
.noUi-base {
    height: 10px;
}
.noUi-background {
    background: #FFF;
}
.noUi-connect{
    background: #053571;
}
.noUi-handle{
    background: url(../img/daterangeselector.png);
    background-repeat: no-repeat;
    background-position: top center;
    border: none;
    box-shadow: none;
    cursor: pointer;
    height: 13px;
    width: 13px;
}
.noUi-handle:after,.noUi-handle:before {
    content: none;
}
.noUi-target {
    border-radius: 0;
}

/* = Print Styles = */
@media print {
    * {
        background: transparent !important;
        box-shadow: none !important;
        color: #000 !important;
        /* Black prints faster: h5bp.com/s */
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    pre, blockquote, tr, img, h1, h2, h3, h4, h5, h6 {
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    @page {
        margin: 0.5cm;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
}
