/* Custom CSS overrides */

/* tabs begin */
div.tabs {
	margin: 1em 0;
}
ul.primary {
	margin: 0;
	padding: 0;
	border: 0;
}
ul.primary li a {
	padding: 0.6em 0.8em;
	margin: 0.2em;
	border: 0;
	background-color: #fff;
	border-radius: 3px;
}
ul.primary li a.active {
	background-color: #eee;
	border: 0;
}
.tabs a:focus,
.tabs a:hover {
	background-color: #f5f5f5;
}
/* tabs end */

/* For Sticky Footer */
html,
body {
        margin:0;
        padding:0;
        height:100%;
}
#wrapper {
        min-height:100%;
        position:relative;
}
#page {
        padding-bottom: 250px; /* Height of the footer element */
}
.front #page {
        padding-bottom:0;
}
.front #subfooter {
        position: relative;
}
#subfooter {
        width:100%;
        height: 250px;
        position:absolute;
        bottom:0;
        left:0;
}
#subfooter p {
	padding-top: 2em;
}

/* End For Sticky Footer */

h1 { font-size: 28px; font-weight: 400; }

h2 { font-size: 23px; font-weight: 400; }

h3 { font-size: 19px; }

h4 { font-size: 17px; }

h5 { font-size: 15px; }

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: #2a68af; }

h2, h3, h4, h5, h6 { text-transform: none; font-weight: normal; }

.front h1#page-title {
	display: none;
}
.front #bottom-content .col-md-12, #main-content .container {
	padding-top: 10px;
	margin-top: 10px;
	margin-bottom: 20px;
}
.front #bottom-content .col-md-12, .front #main-content .container, h1.title {
	margin-bottom: 0;
}

.front #main-content .container {
	margin-top: 0;
	padding-top: 0;
	margin-bottom: 20px;
}

#site-slogan {
	font-size: 16px;
	font-weight: normal;
}

.onscroll #site-slogan {
	display: inline;
	visibility: visible;
}

#site-name, .onscroll #site-name {
	margin: 0;
	padding: 2px 0 0;
}

#site-name a {
	font-size: 40px;
	letter-spacing: 4px;
	font-weight: normal;
	font-family: "Times New Roman";
}

#logo {
        padding-top: 5px;
        padding-bottom: 5px;
        text-align: center;
}

img[src*=".svg"] {
	width: 100%;
}

.onscroll #logo {
	padding-top: 0;
	display: none;
}

#header, .onscroll #header, #subfooter {
	padding: 0;
}

#header, .onscroll #header {
	background: #FFFFFF;
	border-bottom: 1px solid #F1F1F1;
	border-top: 1px solid #F1F1F1;
	box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
}

#subfooter {
	background-image: url( "/sites/default/themes/scholarly_lite/images/hexellence.png" );
}

#subfooter, #subfooter a, #subfooter p {
	color: #B6B6B6;
}

#subfooter a:hover {
	color: #FFFFFF;
}

#breadcrumb {
	padding: 10px;
}

#itunes {
	line-height: 55px;
}

#itunes i {
	font-size: 12px;
	line-height: 12px;
}

.block-superfish {
	padding: 0;
}

#carta-slider {
	border-bottom: 1px solid #2a68af;
}

#main-navigation ul.menu {
	text-align: center;
}

#main-navigation ul.menu li a {
	font-size: 16px;
	font-weight: normal;
}

#header-top ul.menu li a, #header-top ul.menu li:last-child > a {
	border: 0;
}

#main-navigation ul.menu, #main-navigation ul.menu li {
	margin: 0;
	padding: 0;
}

#main-navigation ul.menu li a.sf-depth-1  {
	color: rgb( 77, 77, 77 );
}

#main-navigation ul.menu li a.sf-depth-1:hover, #main-navigation ul.menu li.sfHover a.sf-depth-1  {
	color: #FFFFFF;
}

ul.menu li a {
	line-height: 100%;
}

body, p, #main, .node-main-content li, td, .field-content, #header-top-inside, .pff-7 blockquote {
	font-size: 17px !important;
	line-height: 1.6em;
	font-family: sans-serif !important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	color: rgb( 77, 77, 77 );
	font-weight: 500;
}

ul.social-bookmarks li a, ul.brands li a {
	border-radius: 50px;
	border: 0;
}

ul.brands li {
	padding: 0;
}

.post-submitted-info {
	display: none;
}

.node-mt .node-main-content.custom-width {
	margin-left: 0;
}

#main-content {
	padding: 0;
}

.flexslider {
	margin: 0;
	border: 0;
}

.flexslider .slides > li:first-child {
	display: block; -webkit-backface-visibility: visible;
} 

#carta-slider {
	margin: 0 auto;
	position:relative;
	width: 100%;
}

#carta-slider-image {
	max-width:100%;
	height:auto;
}

#carta-slider-logo {
	position: absolute; top: 2em; left: 4em;
	width: 20%;
	opacity: 0.7;
}

.flex-direction-nav a {
	line-height: 42px;
	background-color: transparent;
}

.flexslider .slides li {
	position:relative;
}

.flex-caption {
	position:absolute;
	left:0;
	right:0;
	bottom:0;
	background:#000000;
	z-index:1;
	opacity:0.5;
	padding:5px;
	padding-left: 6em;
	padding-right: 6em;
	color: #FFFFFF;
}

#bottom-content {
	padding: 0;
	margin: 0;
	background: #FFFFFF;
}

#block-views-slider-block {
	padding: 0;
}

.front h2.title {
	margin: 0;
	font-size: 20px;
	text-align: left;
	border-bottom: 2px solid #DDDDDD;
}

table {
	width: auto;
	margin: 0;
	margin-bottom: 1.5em;
}

.noborder tbody {
        border-top: 0;
}

table tr.even, table tr.odd {
	background: transparent;
}

table th, table td, table td.active, td, td p {
	font-size: 15px !important;
}

table th, table td, table td.active, td {
	padding: 6px 8px;
	border: 0;
	background: #FFFFFF;
}

.striped table tbody tr:nth-child(even) td {
	background-color: rgb(238,238,238,0.6) !important;
}

.view-galleries table th, .view-galleries table td, .view-galleries table td.active {
	padding: 20px 30px;
}

table th {
	border-bottom: 1px solid #DDDDDD;
}

.table-border th, .table-border td, .table-border td.active { 
        border: 1px solid grey; 
}

table td.views-field-field-session-files {
	text-align: right;
}

ul.links li a, a.more, input[type="submit"], input[type="reset"], input[type="button"], .checkout-buttons .checkout-cancel, .checkout-buttons .checkout-back, .checkout-buttons .checkout-cancel:focus, .checkout-buttons .checkout-back:focus {
	background: rgba(74, 74, 74, 0.9);
	min-width: 100px;
	border-radius: 3px;
	min-height: 40px;
}

input[type="submit"], input[type="reset"], input[type="button"] {
	margin-right: 1em;
}

.views-exposed-form .views-exposed-widget .form-submit {
	margin-top: 1.9em;
}

.views-exposed-form .views-exposed-widget {
	padding-bottom: 1em;
}

table th, table th a {
        background: transparent;
	color: rgb( 77, 77, 77 ) !important;
	padding-bottom: 0;
}

body.cke_editable {
	background-color: #FFFFFF;
	color: #505050;
}

.field, .field-name-body {
	margin-top: 1em;
}

.field-name-field-user-address {
	margin-top: 0;
}

.user-profile img, .user-picture img {
	float: left;
	margin-bottom: 0.5em;
	margin-right: 1.5em;
}

.view-notes-from-the-field .image-field-caption {
	display: none;
}

.view-members table, .view-affiliates table, .view-symposia-poster-gallery table {
	width: 100%;
}

.node-gallery {
	margin-bottom: 4em;
}

.view-members th, .view-members td, .view-members td.active, 
.view-affiliates th, .view-affiliates td, .view-affiliates td.active {
	padding: 0;
}

.view-symposia-poster-gallery table.cols-4 td {
	width: 25%;
}

.view-symposia-poster-gallery td {
	padding-bottom: 30px;
}

.view-members .user-picture img,
.view-members-with-photos .user-picture img,
.view-affiliates .user-picture img,
.view-science-writers .user-picture img, 
.view-moca-editorial-board .user-picture img, 
.view-faculty-of-anthropogeny-page .user-picture img {
	float: none;
}

/* .view-members .views-field-field-user-name,  
.view-affiliates .views-field-field-user-name, */
.view-members-with-photos .views-field-field-user-name,
.view-science-writers .views-field-field-user-name, 
.view-moca-editorial-board .views-field-field-user-institution, 
.view-faculty-of-anthropogeny-page .views-field-php {
	margin-bottom: 1.5em;
}

.role-list dt {
	font-weight: bold;
}

.role-list dd {
	margin-bottom: 1em;
	margin-top: 1em;
}

blockquote, dd {
	margin: 0;
	padding: 0;
	padding-left: 2em;
	background: #FFFFFF;
	border-left: 0;
	font-style: normal;
	font-size: 15px;
}

blockquote::before, blockquote::after {
	color: #FFFFFF;
	content: "";
	font-size: 1em;
	line-height: 0.1em;
	margin-right: 0em;
	vertical-align: 0em;
}

blockquote.image-field-caption, .imgcaption {
	margin: 0;
	margin-bottom: 2em;
	padding: 0;
	font-style: oblique;
}

.faq-img {
	border: 1px solid #ccc;
	margin-left: 30px;
	padding: 5px;
}

.views-field-citation {
	margin: 1em;
}

.biblio-title {
	font-weight: normal;
}

.view-loa-biblio .views-row, .view-carta-publications .views-row, .view-all-publications .views-row, .view-library-of-anthropogeny-cleanup .views-row, .view-carta-inspired-publications-with-members .views-row {
	display: inline-block;
	margin-left: 1em;
}

.views-field-field-biblio-image img {
	float: left;
	margin-right: 1em;
	margin-top: 1em;
	position: relative;
}

.biblio-export-buttons {
	font-size: 75%;
	font-style: normal;
	font-weight: normal;
	text-align: left;
	text-decoration: none;
}

.event-title {
	font-size: 1.2em !important;
	font-weight: 500 !important;
}

.event-info-title {
	font-size: 1.4em !important;
	font-weight: 700 !important;
}

.view-event-sessions .views-field-php, .view-osher .views-field-php {
	max-width: 120px;
}

.view-event-sessions td.views-field-php, .view-osher td.views-field-php {
	line-height: 1.3em;
}

.view-event-sessions .views-field-php img, .view-osher .views-field-php img {
	margin-top: 0.2em;
	margin-bottom: 0.2em;
}

@media (max-width: 500px) {
	.field-name-field-event-images img {
		float: none !important;
		margin-left: 1em !important;
		margin-bottom: 1em !important;
	}
}

.field-name-field-event-images img {
	float: right;
	margin-left: 2em;
	margin-bottom: 2em;
}

.view-news h3 a {
	font-weight: bold;
}

.view-news h3 {
	margin-bottom: 0;
}

.view-news .field-content, .photo-caption {
	font-size: 0.9em !important;
}

.news-body {
	padding-bottom: 1.5em;
}

.bottom-content-area .views-row {
	padding-bottom: 0.5em;
}

/*
.mop-img, .research-img, .user-picture img, .user-profile img, .field-name-field-event-images img, .views-field-field-nl-preview-image img, .views-field-field-gallery-cover-image img, .view-symposia-poster-gallery img {
	box-shadow: 4px 4px 4px #ccc;
}
*/

#block-block-5 {
	padding: 0;
	margin: 0;
}

.fa-twitter {
	margin-top: 10px;
}

.facebook-post, .facebook-date {
        font-size: 12px;
        line-height: 18px;
	word-wrap: break-word;
	margin-bottom: 0;
	font-weight: normal;
	padding-bottom: 0;
}

.facebook-date {
        font-size: 0.8em;
	float: right;
	color: #707070;
}

.fa-facebook {
	margin-bottom: 15px;
}


#block-facebook-pull-facebook-pull-default {
	margin-top: -20px;
}

.moca-topic-bug, #block-block-6, #block-block-14 {
	float: right;
}

#block-block-14 {
	padding-left: 3em;
	z-index: 100;
}


.field-name-field-mt-certainty, .field-name-field-mt-moca-domain, .field-name-field-mt-authors, .field-name-field-mt-human-universality {
	overflow: hidden;
}

.moca-faq-links {
	margin: 0.2em 0.0em 0.0em 0.5em;
	padding: 0.0em 0.0em 0.0em 0.5em;
	font-size: 0.8em;
}

/* Latin name style (e.g. for species names) */
.latin {
        font-style: italic;
}

/*
 * CARTA Certainty level styles.
 */

.certainty-true {
	font-weight: bold;
}

.certainty-likely {
	font-weight: normal;
}

.certainty-speculative {
	font-family: Courier;
}

.certainty-key {
	border: 1px solid #ddd;
	margin: 0.5em;
	padding: 0.5em;
}

.certainty-key-header {
	font-weight: bold;
	text-decoration: underline;
}

.certainty-key-help {
	font-size: 0.75em;
}

#messages-console .col-md-12 {
	padding: 0;
}

.facebook-pic {
	height: 50px;
	width: 50px;
	float: left;
	margin-right: 10px;
	border-radius: 4px;
}

.all-link {
	float: right;
	font-weight: 500;
	font-size: 1.2em;
	margin-right: 1em;
}

#main-navigation ul.menu li.active-trail a.sf-depth-1 {
	border-bottom: 4px solid #67befe;
}

#submenu .title {
	font-size: 20px;
	border-bottom: thin solid lightgray;
}

#submenu {
	padding: 20px;
	font-size: 13px;
	line-height: 1.8em;
	text-transform: uppercase;
}

fieldset {
	margin: 1em 0 1.2em;
}

ul.tabs.primary {
	margin-bottom: 0;
}

.search-info {
	display: none;
}

@media print {
  a[href]:after {
    content: none;
  }
}

.jb-caption-desc {
	color: rgba(255,255,255,1);
}

.field-type-taxonomy-term-reference, .field-widget-options-select {
	overflow: visible;
	font-size: 1em;
}

.field-type-taxonomy-term-reference .field-item a {
	background: rgba(0,0,0,0.08) none repeat scroll 0 0;
	color: rgb(74,74,74);
	font-size: 0.9em;
	margin-right: 0.5em;
	border-radius: 40px;
	padding: 10px 20px;
}

.field-type-taxonomy-term-reference .field-item a:hover {
	background: rgba(0,0,0,0.4) none repeat scroll 0 0;
}

.field-name-field-event-glossary {
	margin-top: 0;
	padding-bottom: 2em;
}

#block-block-7 {
	padding-bottom: 0;
	margin-bottom: 0;
}

#block-block-7 p {
	color: red;
	padding-bottom: 0;
}

.filter-wrapper {
	padding: 0;
}

input.form-text, textarea, select, .chosen-container-multi .chosen-choices {
	background: #EEEEEE !important;
	box-shadow: inset 0 1px 2px rgba(27,31,35,.075);
	line-height: 40px;
	font-family: sans-serif !important;
}

.chosen-container-multi .chosen-choices {
	border: 0px !important;
	min-height: 40px !important;
}

.chosen-container {
	font-size: 15px;
}

#main .content .chosen-choices li:not(.search-choice) {
	padding-bottom: 0;
}

.chosen-container-multi .chosen-choices li.search-choice {
	padding: 6px 30px 6px 10px;
}

input.form-text, .chosen-container-multi .chosen-choices, .chosen-container-single .chosen-single {
	-webkit-border-radius: 3px;
        -moz-border-radius: 3px;
	border-radius: 3px;
	max-width: 500px;
}

.field-type-taxonomy-term-reference input.form-text {
	max-width: 100% !important;
}

textarea {
	border-radius: 3px;
}

.views-field-field-nl-preview-image img {
	border: 1px solid #CCCCCC;
}

fieldset.companth, fieldset.companth legend {
	border: 0;
	padding: 0;
	margin: 0;
}

.companth-code {
	font-size: 1.4em;
}

.companth-tip {
	position: relative;
	display: inline-block;
}

.companth-tip .companth-tiptext {
	visibility: hidden;
	width: 120px;
	background-color: #555;
	color: #fff;
	text-align: center;
	padding: 5px 0;
	border-radius: 6px;

	/* Position the tooltip text */
	position: absolute;
	z-index: 1;
	bottom: 125%;
	left: 50%;
	margin-left: -60px;

	/* Fade in tooltip */
	opacity: 0;
	transition: opacity 0.3s;
}

.companth-tip .companth-tiptext::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: #555 transparent transparent transparent;
}

.companth-tip:hover .companth-tiptext {
	visibility: visible;
	opacity: 1;
}

.companth-history {
	background-color: #EEEEEE;
	border-radius: 5px 20px 5px;
	padding: 2em;
	margin-bottom: 2em;
	width: 55%;
}
	
.companth-history p:last-of-type {
	padding-bottom: 0;
}

.companth-history-user {
	font-size: 0.8em;
}

.view-companth table {
	border-spacing: 0px 1px;
	border-collapse: separate;
}

.view-companth table th {
	border-bottom: 0px !important;
}

.view-companth table td {
	border-top: 1px solid rgba(74,74,74,0.25);
}

.view-studentrep table td {
	border: 1px solid rgba(74,74,74,0.25);
	font-size: 0.9em !important;
}

.view-studentrep table {
	border-collapse: collapse;
}

.view-students .views-field-field-user-bio, .view-graduates .views-field-field-user-bio {
	margin-bottom: 2em;
}

.view-students .views-field-field-user-name a, .view-graduates .views-field-field-user-name a {
	font-size: 1.2em;
	font-weight: 600;
}

.form-item.form-type-file .description {
	padding-bottom: 1em;
}

#main .content li {
	padding-bottom: 0.4em;
}

.card, .image-btn, .donate {
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.card:hover, .donate:hover, .image-btn:hover {
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.card {
	max-width: 160px;
	float: left;
	margin: 15px;
}


.card img {
	width: 100%;
}

.card-container {
	padding: 0.8em;
	height: 6em;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

.card-wrapper a {
	color: inherit;
	font-weight: bold;
}

.card-wrapper {
	margin-bottom: 5em;
	display: inline-block;
}

.embed-responsive.embed-responsive-16by9 {
	padding-bottom: 56.25%;
}

.embed-responsive.embed-responsive-4by3 {
	padding-bottom: 75%;
}

.embed-responsive {
	position: relative;
	display: block;
	height: 0;
	padding: 0;
	overflow: hidden;
}

table.sponsor {
	width: 100%;
}

table.sponsor strong {
	font-size: 1.3em !important;
}

table.sponsor tr td:first-child {
	max-width: 300px;
}

table.sponsor th, table.sponsor tr td:first-child {
	font-weight: normal;
	font-size: 0.9em;
	width: 10%;
	text-transform: none;
	background-color: white !important;
}

table.sponsor th:first-child {
	background-color: white !important;
}

table.sponsor tr td:first-child {
	text-align: left;
}

table.sponsor th, table.sponsor td {
	border: 2px solid white;
	background-color: rgba( 230, 230, 230, 0.7 );
	padding: 0.5em;
	text-align: center;
	vertical-align: middle;
}

table.sponsor .fa {
	font-size: 1.6em;
}

.sponsor-image {
	float: right;
	margin-left: 2em;
	margin-bottom: 0.5em;
	max-width: 350px;
	text-align: center;
}

.list-cols {
	-moz-column-count: 3;
	-webkit-column-count: 3;
	column-count: 3;
	-moz-column-gap: 20px;
	-webkit-column-gap: 20px;
	column-gap: 20px;
}

.list-cols li {
	padding-bottom: 20px;
}

@media only screen and (max-width: 600px) {
	.list-cols {
		-moz-column-count: 1;
		-webkit-column-count: 1;
		column-count: 1;
	}
	.event-abstract {
		display: none;
	}
}

tbody .views-field-field-biblio-pdf a {
	background-image: url('/files/default_images/pdf.jpg');
}

tbody .views-field-biblio-url a {
	background-image: url('/files/default_images/link.png');
}

tbody .views-field-field-biblio-pdf a, tbody .views-field-biblio-url a {
	display: block;
	padding: 32px 0 0 0;
	overflow: hidden;
	background-repeat: no-repeat;
	height: 0px !important;
}
.views-field-field-biblio-pdf img {
	display: none;
}
tbody .views-field-field-biblio-pdf a, .views-field-biblio-url a {
	height:32px;
	width:32px;
}

.node-unpublished {
	background-color: #FFFFFF;
}

div.section-break {
	color: #666666;
	font-size: 2em;
	line-height: 1.5em;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 1em;
}

div.section-break::before, div.section-break::after {
	content: "";
	display: block;
	height: 0.12em;
	flex-grow: 0.9;
}

div.section-break::before {
	background: linear-gradient(to right, rgba(65, 135, 209, 0), #4187d1);
	margin-right: 0.8em;
}

div.section-break::after {
	background: linear-gradient(to left, rgba(65, 135, 209, 0), #4187d1);
	margin-left: 0.8em;
}

#menu-8301-1 a {
	border-radius: 8px;
	color: #FFFFFF !important;
	background-color: #00629B;
	margin-bottom: 4px;
}

#menu-8301-1 a:hover {
	background-color: #004663 !important;
}

#menu-2044-1 a {
	background-color: rgb(211, 211, 211);
	padding: 0.725em;
	border-radius: 8px;
	margin-right: 0.9em;
	margin-bottom: 4px;
}

#menu-2044-1 a:hover {
	background-color: #ffcd00 !important;
}
