/* ---------- AJA Overrides ---------- */

@import url('https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext');

/* --- Font Family --- */
body,
#site-slogan,
.ui-widget,
.comment-form label,
#header,
#footer-wrapper,
#skip-link,
ul.contextual-links,
ul.links,
ul.primary,
.item-list .pager,
div.field-type-taxonomy-term-reference,
div.messages,
div.meta,
p.comment-time,
table,
.breadcrumb,
.sidr,
#sidr-0-button {
    font-family: 'Noto Sans', sans-serif;
}

/* --- Heading Styles --- */
h1 {
    color: #3f3f3f;
    font-size: 2.25em;
}
h2 {
    color: #3f3f3f;
    font-size: 1.75em;
}
.h2big {
    font-size: 2em;
}
h3 {
	color: #212121;
	font-size: 1.5em;
}
h4 {
	color: #3f3f3f;
	font-size: 1em;
	font-weight: bold;
}
h5 {
    font-size: 1.125em;
    font-weight: normal;
}
h6 {
    font-weight: normal;
}
/* --- Other Styles --- */
.node-unpublished {
   background: none;
}
.node-unpublished::before { 
    content: "UNPUBLISHED";
}
hr {
   border: 0; 
   height: 1px; 
   background: #a6a6a6;
}
label {
	font-weight: normal;
}
a:hover, a:focus {
    color: #4490b0;
    text-decoration: none;
}
.centered {
    text-align: center;
}
a.box {
    background: #428DAC;
    border: #2E6379;
    border-radius: 4px;
    color: #eee;
    display: inline-block;
    padding: 8px 10px;
}
p.box {
    margin-top: 2em;
    margin-bottom: 2em;
}
.footnotes {
    border-top: 1px solid #a6a6a6;
}
blockquote {
  background: none;
  border-left: none;
  font-style: normal;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
}
.region-sidebar-first a.box
.region-sidebar-second a.box {
    display: block;
}
table {
    margin: 2em 0 2em 0;
}
table h2 {
    margin-top: 0.25em;
}
table h3 {
    margin: 0;
}
/* Open Access Orange*/
.oa {
    color: #cc8624;
}
/* --- Lists --- */
li {
    margin: 0.75em 0 0.75em 0;
}
ul.plain {
padding-bottom: 0;
padding-left: 0;
list-style-type:none;
}
li.plain {
    list-style-type:none;
}
ul.plain_indent {
    list-style-type:none;
    padding-bottom: 0;
}
li.plain_indent {
    list-style-type:none;
}
ul.links.inline li a {
  display: block;
  padding: 0;
}

/* --- Modules --- */

/* Font Awesome */
.fa {
    margin-right: 0.5em;
}

/* Custom Search */
.block-custom-search-blocks .form-item,
.block-custom-search-blocks .form-actions {
	margin: 0;
}

/* Block Title Link */
.block-title-link,
.block-title-link:hover {
	color: #4490B0;
}

/* Flippy */
.flippy {
    clear: both;
    display: block;
    float: right;
}
.region-content ul.flippy {
  padding-right: 0;
  text-align: right;
}

/* Fancybox */
.fancybox img {
	margin-top: 1em;
}

/* Image Caption */
.caption {}
.image-caption-container {
	clear: left;
	float: left;
	height: auto !important;
	margin-right: 2em;
	padding-bottom: 1em;
}
.image-caption {
	clear: both;
	float: left;
	font-size: 90%;
}

/* UI Accordion */
.ui-accordion {
    font-family: 'Noto Sans', sans-serif;
}
.ui-accordion .views-field-title {
    margin-top: 1em;
}
.ui-accordion .ui-accordion-content {
    margin-bottom: 0.5em;
}
.ui-widget-content a {
    color: #4490B0;
}
.ui-widget-content .views-field-description, .ui-accordion-content p.issue {
    color: #454a4c;
    font-weight: bold;
}

.page-node-1108 .views-field-description {
    margin-top: 10px;
}
/* Nested */
.view-grouping-header {
    background-color: #2E3132;
}
/* JQuery UI Filter Accordion */
.ui-accordion-content-active { 
    height: inherit !important; 
}
.jquery-ui-filter {
    font-size: 1em;
    margin-bottom: 2em;
}

/* --- General --- */
.breadcrumb {
    display: none;
}

/* --- Header --- */
.region-header {
    float: left;
    margin-bottom: -0.4em;
    margin-top: 0;
}
#logo {
	margin-bottom: 0;
	padding-bottom: 0;
}
#logo img {
	width: 100%;
	height: auto;
	border-bottom: 1px solid #eee;
}
#block-superfish-1 {
    margin-bottom: -0.5em;
}
/* AJA Journal of AIA */
#block-block-67 {
    clear: both;
    color: #B2B2B2;
}
#block-block-67 a {
    color: #B2B2B2;
}

/* --- Sidebars --- */
.sidebar .section {
    padding-top: 2em;
}
.sidebar h2 {
    border-bottom: 1px solid #A6A6A6;
}
.sidebar_links {
	border-top: 1px solid #A6A6A6;
	font-size: 1.25em;
	margin-bottom: 0;
	margin-top: 0;
	padding-top: 0.25em;
	padding-bottom: 0.25em;
}
.sidebar_links:last-child {
	border-bottom: 1px solid #A6A6A6;
	padding-bottom: 0.25em;
}
.region-sidebar-first img,
.region-sidebar-second img {
    height: auto;
    width: auto;
}
.region-sidebar-first .block,
.region-sidebar-second .block {
    margin-top: 0;
    margin-bottom: 0.25em;
}

/* --- Search Blocks --- */
#block-search-form {
	clear: both;
	float: right;
	margin-top: 1em;
	margin-bottom: 0;
}
#block-block-69 {
    padding-bottom: 1em;
}

/* --- Superfish Menus --- */
.sf-menu.sf-style-white {
    line-height: 1.5;
    margin-bottom: 0;
}
.sf-menu.sf-style-white .sf-depth-1 .active {
    background: #e9e9e9;
}
.sf-vertical a {
    padding: 0.5em 1em;
}
.sf-vertical,
.sf-vertical li {
  width: 15em;
}
.sf-vertical .sf-sub-indicator {
  top: 15px;
}
.sf-vertical ul li {
    margin: 0;
}
.sf-menu a  {
    padding: 0;
}
ul.sf-vertical li {
    margin-top: 0;
    margin-bottom: 0;
}
.sf-menu li:hover {
    text-decoration: none;
}
.sf-menu.sf-vertical.sf-shadow ul {
    background: none;
}
#superfish-1-select {
    display: none;
}

/* --- Main Menu Sidr --- */
/* For the Superfish Main Menu CSS style, see /public/sites/all/libraries/superfish/style/aja-mainmenu.css */

#sidr-0-button {
	color: #eee;
	display: block;
	float: left;
	font-size: 1.5em;
	margin-top: 0.25em;
}
.sidr .sidr-inner .sidr-class-element-invisible {
    display: none;
}
.sidr ul,
.sidr ul li {
    border: 0;
    list-style: none;
}
.sidr .sidr-inner a {
    color: #eee;
}
.sidr a:hover {
    text-decoration: underline;
}
.sidr .sidr-class-sf-depth-1 {
    margin-left: 0.5em;
    margin-right: 0.5em;
    padding-bottom: 0.5em;
}
.sidr .sidr-class-sf-depth-1 {
    border-bottom: 1px solid #4d4d4d;
}
.sidr .sidr-class-sf-depth-1 a {
    border: 0;
}
.sidr .sidr-class-sf-depth-2 {
    line-height: 1.5em;
    margin: 0.5em 0 0 0.75em;
}
.sidr .sidr-class-sf-depth-2:hover {
    box-shadow: none;
}
.sidr .sidr-class-sf-depth-3 {
    line-height: 1.5em;
    margin: 0.5em 0 0 0.75em;
}

/* --- Footer --- */
#footer {
	border: 0;
	color: #eee;
}

/* American Journal of Archaeology Footer Block */
#footer-wrapper #block-block-62 {
    border: 0;
    margin: 0;
    padding: 0;
}

/* --- Hide Page Titles --- */
.front h1#page-title,
.page-search-node h1#page-title,
.node-type-issue #page-title,
.node-type-article h1#page-title,
.node-type-book-review h1#page-title,
.node-type-image-gallery h1#page-title,
.node-type-author h1#page-title,
.page-taxonomy h1#page-title,
.page-europe h1#page-title,
.page-greece h1#page-title,
.page-italy h1#page-title,
.page-turkey h1#page-title {
    display: none;
}

/* --- Views General --- */
.views-exposed-form label {
    font-weight: normal;
}
.field-name-body ol li,
.field-name-body ul li {
    margin-left: 1em;
}
.views-more-link {
    float: left;
}

/* --- General Pages --- */
.field-name-field-image {
    float: right;
    margin-left: 1em;
}
.node-type-tags img {
    float: right;
    margin-left: 0.5em;
}

/* --- Author Guide --- */
.book-navigation {
    margin-top: 1em;
}
.book-navigation .page-links {
    border-bottom: 0;
}
#node-379 .book-navigation {
    display: none;
}
.node-379 #block-6 {
    display: none;
}
.view-author-guide .book-navigation {
    display: none;
}
.view-author-guide .ui-accordion {
}

/* --- Issue Pages --- */
h2.openaccess,
p.openaccess,
.views-field-field-open-access,
.node-type-issue .views-field-field-imagegallery,
.node-type-issue .views-field-field-supdatapdf {
    color: #CC8624;
}
.node-type-issue .field-name-field-termdescription p {
    margin: 0;
}
.node-type-issue .field-name-field-termdescription {
    background: #4D4D4D;
    border-radius: 5px;
    clear: both;
    color: #eee;
    font-size: 1.25em;
    padding: 4px 10px;
}
.node-type-issue .field-name-field-issue {
    display: none;
}
.node-type-issue .field-name-field-issue-cover {
    float: left;
	margin-right: 1em;
}
.node-type-issue .field-name-field-issue-cover img {
    margin-bottom: 0;
    padding-bottom: 1em;
}
.node-type-issue .field-name-body {
    clear: left;
}
.node-type-issue h3 {
    margin-bottom: 0;
}
.node-type-issue h3 p {
    margin: 0;
}

.views-field-field-supdatapdf .field-content .pdf3555, .views-field-field-supdatapdf .field-content .pdf3574, .views-field-field-supdatapdf .field-content .pdf3663, .views-field-field-supdatapdf .field-content .pdf3671 {
	display: none;
	visibility: hidden;
}

/* --- Article, Book Review, and Image Gallery Pages --- */

.field-name-field-see-also {
    clear: both;
    font-weight: normal;
    padding-top: 1em;
}
#open_access_head {
    float: right;
    font-size: 1.5em;
    margin-right: 0.5em;
    margin-top: 1em;
}
.field-name-field-freepdf,
.field-name-field-gallerypdf,
.field-name-field-supdatapdf,
.views-field-field-imagegallery,
.views-field-field-open-access,
#open_access_head a {
    color: #CC8624;
}
#open_access_head .fa {
    margin-right: 0.25em;
}
#creative_commons {
    float: right;
    font-size: 1.1em;
    margin-top: 1.7em;
}
#creative_commons .fa {
    font-size: 1.2em;
    margin-right: 0.25em;
    padding-top: 0.05em;
}
.node-type-article .field-name-field-issue,
.node-type-book-review .field-name-field-issue,
.node-type-image-gallery .field-name-field-issue {
    display: none;
}
.node-type-article #article_head .field-type-taxonomy-term-reference,
.node-type-book-review #article_head .field-type-taxonomy-term-reference,
.node-type-image-gallery #article_head .field-type-taxonomy-term-reference {
	background: #4D4D4D;
	border-radius: 5px;
	clear: both;
	font-size: 1.25em;
	margin-bottom: 0.5em;
	padding: 4px 8px 4px 8px;
	text-transform: uppercase;
}
.node-type-article #article_head li,
.node-type-book-review #article_head li,
.node-type-image-gallery #article_head li {
    margin: 0;
}
.node-type-article .field-type-taxonomy-term-reference ul.links li,
.node-type-book-review .field-type-taxonomy-term-reference ul.links li,
.node-type-image-gallery .field-type-taxonomy-term-reference ul.links li {
     color: #fff;
}
.node-type-article .field-name-field-termdescription p,
.node-type-book-review .field-name-field-termdescription p,
.node-type-image-gallery .field-name-field-termdescription p {
    font-size: 1.5em;
    padding-top: 1em; 
    padding-bottom: 0;
    margin-bottom: 0.25em;
}
.node-type-article h2#page-title,
.node-type-book-review h2#page-title {
    margin-top: 0;
}
.node-type-article .field-name-field-authorbio,
.node-type-book-review .field-name-field-authorbio,
.node-type-image-gallery .field-name-field-authorbio {
    float: left;
    margin-bottom: 1em;
}
.node-type-article .field-name-field-authorbio .field-items,
.node-type-book-review .field-name-field-authorbio .field-items,
.node-type-image-gallery .field-name-field-authorbio .field-items {
    clear: none;
    float: left;
}
.field-name-field-reviewed-by {
    clear: left;
    float: left;
    margin-right: 0.4em;
}
.node-type-article .field-name-field-image,
.node-type-book-review .field-name-field-image {
    clear: right;
    float: right;
    margin-top: 3em;
    margin-left: 1em;
    padding-top: 0.56em;
}
.caption_img .article_img {
    display: none;
}
.node-type-article .field-name-field-jstor,
.node-type-article .field-name-field-freepdf,
.node-type-book-review .field-name-field-freepdf,
.node-type-article .field-name-field-imagegallery,
.node-type-article .field-name-field-supdatapdf,
.field-name-field-gallerypdf,
.field-name-field-abstract {
    float: left;
    clear: both;
    margin-bottom: 0;
}
.node-type-article .field-name-field-freepdf,
.node-type-book-review .field-name-field-freepdf {
    margin-top: 1em;
}
.node-type-article .field-name-body,
.node-type-image-gallery .field-name-body,
.node-type-book-review .field-name-body {
    clear: left;
    margin-bottom: 1.5em;
    padding-top: 2em;
}
.node-type-article .field-name-field-forum a {
    background: #428DAC;
    border: #2E6379;
    border-radius: 4px;
    color: #eee;
    padding: 8px 10px;
}
.node-type-article .field-name-field-forum {
    margin: 1em 0 1em 0;
}
.node-type-article .field-name-field-subject {
    clear: none;
    float: left;
    margin-top: 1.5em;
}
.node-type-article .field-name-field-region {
    clear: left;
}
.node-type-article .field-name-field-region li,
.node-type-article .field-name-field-subject li {
    margin: 0;
}
.node-type-article .field-name-field-subject div div, .node-type-article .field-name-field-region div div {
    float: left;
    margin-right: 25px;
}
.node-type-article .field-name-field-subject, .node-type-article .field-name-field-region {
    width: 100%;
}
.field-name-field-publication-info {
    border-top: 1px solid #A6A6A6;
    color: #636363;
    clear: both;
    float: left;
    font-size: 0.95em;
    margin-bottom: 1em;
    margin-top: 2em;
    padding-top: 0.5em;
    padding-left: 1em;
    text-indent: -1em;
    width: 100%;
}
.field-name-field-publication-info p {
    margin: 0;
}
.tags {
    padding-right: 0.5em;
}

.view-online-necrologies .vocabulary-issues h2 {
	display: none;
	visibility: hidden;
}

div.taxonomy-term-description {
	margin: 5px 0 -20px;
}

/* --- Book Reviews View --- */

.view-book-reviews .views-field-title {
	margin-top: 1em;
}

/* --- Author Bio Pages --- */
.node-type-author .field-name-field-headshot {
	float: left;
	margin: 0.5em 1.5em 1em 0;
}

/* --- Search Pages --- */
.page-node-1132 .ui-accordion {
    margin-bottom: 0;
}
.jquery-ui-filter-accordion-header {
    font-size: 1.05em;
}

/* --- Featured Author Block --- */
.view-featured-author .field-name-field-headshot {
    float: left;
    margin-right: 1em;
    margin-bottom: 1em;
}
.view-featured-author .views-field-view-node {
    margin-bottom: 0.5em;
}
.view-featured-author .view-footer {
    clear: both;
    float: left;
    padding-top: 0;
}

/* --- Blackbaud --- */
.BBFormSectionHeading {
    border: 0!important;
    margin-top: 0!important;
    padding-top: 0.25em!important;
    text-indent: 0;
}
.BBFormSectionHeading label {
    font-size: 16px;
    margin: 0!important;
    padding: 0!important;
}
.BBFormSection {
    border: 0!important;
}
.BBFormContainer {
    border: 0!important;
}

/* --- Flexslider Global --- */
.flexslider {
    box-shadow: none;
    width: 100%; 
    margin: 0 auto;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.flexslider .flex-viewport {
    background: #EFEFEF;
    border-radius: 4px;
}
.flexslider .slides {
    padding-left: 30px;
    margin-right: 30px;
    width: 80%;
}
.flexslider .flex-direction-nav a {
    color: #212121;
    display: block;
    text-shadow: none;
    top: 48%;
    transition: none;
    opacity: 1;
}
.flex-direction-nav a:before {
    color: #63696d;
    font-size: 160%;
}
.flexslider .flex-direction-nav .flex-next { 
    right: 0 !important; 
    margin-right: 5px;
}
.flexslider .flex-direction-nav .flex-prev { 
    left: 0 !important; 
    margin-left: 5px; 
}
.flex-control-nav {
    bottom: -10px;
    margin-bottom: 0.25em;
}
.flex-control-paging li a.flex-active {
  background: #4490b0;
  background: rgba(68,144,176,0.9);
  cursor: default;
}
/* --- Homepage FlexSlider --- */
.view-id-homepage .flex-viewport {
	margin-bottom: 1.5em;
}
.view-id-homepage .flex-control-nav {
    clear: both;
}
.view-id-homepage .flexslider .slides {
	margin: 1em 1em 1.5em 0.5em;
	width: 80%;
}
.view-id-homepage .flexslider .field-name-field-image {
    clear: left;
    float: left;
    padding-top: 0.5em;
    margin-right: 1.5em;
    margin-bottom: 1em;
}
.view-id-homepage .flexslider .field-name-body {
    float: left;
    padding-bottom: 1em;
    margin-right: 0.5em;
    margin-top: 0.5em;
    width: 65%;
}
.views-field-field-authorbio .field-content {
    width: 80%;
}
.view-id-homepage .flexslider .views-field-title {
    clear: both;
    font-size: 1.5em;
    margin-bottom: 1em;
    width: 85%;
}
.view-id-homepage .flexslider a {
    color: #4490b0;
}
.view-id-homepage .flexslider .views-field-field-imagegallery,
.view-id-homepage .flexslider .views-field-field-supdatapdf,
.view-id-homepage .flexslider .views-field-field-open-access {
	color: #cc8624;
	/*float: left;*/
	margin-bottom: 1em;
}

/* Thumbnails */
.view-id-thumbnails .flex-viewport {
    background: #fff;
}
.view-id-thumbnails .slides {
	width: 100%;	
}
.view-id-thumbnails ul.slides {
    padding-left: 0;
}
.field-name-field-thumbnail {
    margin-right: 0.75em;
}
.view-id-thumbnails .flex-active-slide img {
    border-bottom: 0.5em solid #569BB8;
}

/* --- Testimonial Flexslider --- */
.view-testimonial-slider .field-name-field-image {
    float: left;
    margin-right: 1em;
    margin-top: 0.5em;
}
.view-testimonial-slider .field-name-field-affiliation {
    font-size: 1em;
}
.view-testimonial-slider .views-field-body {
    margin-top: 0.5em;
    width: 90%;
}
.view-testimonial-slider .field-name-field-image {
    padding-bottom: 1em;
}
.view-testimonial-slider .field-name-field-affiliation {
    padding-bottom: 1em;
}
.view-testimonial-slider {
    margin-bottom: 1em;
}
.view-testimonial-slider .flex-control-nav {
	margin-top: 1em;
}

/* --- Flexslider Media Queries --- */
@media only screen and (min-width: 320px) and (max-width: 699px) {
    .flexslider .slides {
        padding-left: 1.5em;
        width: 90%;
    }
    .flexslider .flex-direction-nav a {
    color: #212121;
    display: block;
    text-shadow: none;
    transition: none;
    opacity: 1;
    }
    .flex-direction-nav a:before {
    color: #63696d;
    font-size: 100%;
    }
    .view-id-homepage .field-name-field-image,
    .view-id-thumbnails #flexslider-1 {
        display: none;
    }
    .view-id-homepage ol.flex-control-nav {
        padding-left: 0;
    }
    .view-id-homepage .views-field-title {
        line-height: 1em;
        width: 100%;
    }
    .view-id-homepage .views-field-title a {
        font-size: 0.8em;
    }   
    .view-id-homepage .views-field-field-supdatapdf {
    	width: 85%;
    }
    .view-id-homepage .field-name-body,
    .view-id-homepage .field-name-field-authorname {
    	width: 80% !important;
    }
    .view-testimonial-slider .field-name-field-image {
    	margin-left: 1em;
    }
}
@media only screen and (min-width: 700px) and (max-width: 1024px) {
	.view-id-homepage .field-name-body {
		width: 50% !important;
	}
}


/* --- Search Block Media Queries --- */
@media only screen and (min-width: 320px) and (max-width: 1280px) {
    .region-header {
        margin-bottom: 1em;
    }
}

/* --- Other Media Queries --- */

@media only screen and (min-width: 200px) and (max-width: 850px) {
	.page-node-1555 #block-views-featured-author-block-1 {
    	display: none;
    }
    .node-type-article .caption_img {
        display: none;
    }
}
