/*
 Theme Name:   Twenty Twelve Child - Nexus v2
 Theme URI:    https://nexus.od.nih.gov/
 Description:  Twenty Twelve Child Theme - Nexus
 Author:       Mauricio Flores
 Template:     twentysixteen
 Version:      2.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twentysixteenchild
*/

/**
 * Table of Contents
 *
 * 1.0 - Skip Link
 * 2.0 - Global
 * 3.0 - Main Navigation
 *   3.1 - Links
 *   3.2 - Menus
 * 4.0 - Elements
 * 5.0 - Forms
 * 6.0 - Typography
 * 7.0 - Widgets
 * 8.0 - Content
 *    8.1 - Header
 *    8.2 - Posts and pages
 *    8.3 - Post Formats
 *    8.4 - Comments
 *    8.5 - Sidebar
 *    8.6 - Footer
 * 9.0 - Media Queries
 *    9.1 - >= 710px
 *    9.2 - >= 783px
 *    9.3 - >= 910px
 *    9.4 - >= 985px
 *    9.5 - >= 1200px
 * 10.0 - Print
 */

 
/* Including front page styling */
@import "./css/front-page.css";

/* Include Nunito Sans font family  */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,900&display=swap');

/* 1.0 - Skip Link
 -------------------------------------------*/

 #skip_link a {
  position:absolute;
  left:-10000px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}

#skip_link a:focus {
  position:static;
  width:auto;
  height:auto;
}

 /* 2.0 - Global
 -------------------------------------------*/
.top-tags-wrapper a {
  background-color: #DBF1F5;
  padding: 6px;
  color: #444444;
  margin-right: 3px;
  margin-bottom: 7px;
  display: inline-block;
  min-width: 141px;
  text-align: center;
}



 /* 3.1 Main Navigation - Links
 -------------------------------------------*/

.main-navigation {
  font-family: 'Nunito Sans', sans-serif;
}
.main-navigation .primary-menu-text,
.main-navigation .primary-menu-text {
  text-transform: uppercase;
}

.current_page_item .primary-menu-text,
.current-menu-item .primary-menu-text {
  padding-bottom: 2px;
  display: block;
  border-bottom: 2px solid #72A6B8;
}


/* 3.1 Main Navigation - Menus
-------------------------------------------*/
.site-header-menu {
  margin-top: 25px;
  margin-bottom: 0;
}

/* 4.0 Elements
-------------------------------------------*/
body {
  background-color: #1a1a1a;
}

body:not(.custom-background-image):before,
body:not(.custom-background-image):after {
  height: 0;
  /*
  background: inherit;
  content: "";
  display: block;
  left: 0;
  position: fixed;
  width: 100%;
  z-index: 99;
  */
}

.site {
  margin: 0;
}

ul,
ol {
	margin: 0 0 1.75em 2.25em;
	padding: 0;
}

a {
  color: #1462E0;
}

.banner {
  margin-bottom: 20px;
}





/* 5.0 Forms
--------------------------------------------*/
.widget_search form {
  border: 1px solid #707070;
  border-radius: 4px;
}

.widget_search label {
  width: 100%;
  margin-bottom: 0;
}

.widget_search input {
  border: none;
  background-color: transparent;
}

.widget_search button {
  background-color: #fff;
}


.view-more-dark {
  text-align: center;
}

.view-more-dark a {
  color: #fff;
  background-color: #20558A;
  padding: 5px 20px;
  border-radius: 4px;
}

.view-more-dark a:hover {
  background-color: #5F9AAE;
  text-decoration: none;
}

.comment-form .submit {
  background-color: #20558A;
  border-radius: 4px;
  margin-top: 20px;
}

.comment-form .submit:hover {
  background-color: #5F9AAE;
}

.pagination {
  border-top: 4px solid #C5C5C5;
}

.pagination a.prev,
.pagination a.next {
  background-color: #C5C5C5;
}

.pagination .page-numbers.current {
  color: #707070;
}

.pagination::before,
.pagination::after {
  background-color: #fff;
}

/* 6.0 Typography
--------------------------------------------*/

body,
button,
input,
select,
textarea {
	color: #1a1a1a;
	font-family: 'Nunito Sans', sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.75;
}

h1,
.page-title {
  font-size: 40px;
  font-weight: 800;
}


h2,
.entry-title {
  font-size: 36px;
  font-weight: 400;
}

h3 {
  font-size: 30px;
  font-weight: 700;
}

h4 {
  font-size: 24px;
}

a {
  font-weight: 600;
}

p {
  color: #000;
}

/*--------------- 8.0 Content ----------------*/

/*   8.1 - Header
---------------------------------------------*/
.site-top-bar {
  width: 100%;
  padding-top: 6px;
  padding-bottom: 6px;
  padding-left: 20px;
  background-color: #DBF1F5;
}

.site-top-bar p {
  margin-bottom: 0;
  font-size: 12px;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

.site-top-bar p img {
  margin-top: -5px;
  margin-right: 7px;
}

.site-top-bar a {
  color: #000;
}

.site-header {
 padding: 20px 60px 10px;
 margin-bottom: 30px;
 box-shadow: 0 4px 2px -2px #bfbfbf;
}

.site-branding {
 display: flex;
 width: 100%;
}

.nih-logo,
.nexus-logo,
.header-widget-links {
 flex-grow: 1;
}

.nexus-logo {
 margin-left: 20px;
 margin-right: 20px;
}

.site-header .top-util-links {
  display: none;
  visibility: hidden;
}

.site-header .widget.widget_search {
 display: block;
 margin-bottom: 0;
 border-top: none;
 padding-top: 0;
 /*min-width: 270px;*/
}

ul.header-links {
 list-style-type: none;
 margin-bottom: 0;
 float: right;
 margin-top: 10px;
 margin-left: 0;
}

ul.header-links li {
 display: inline-block;
 line-height: 1;
}

ul.header-links li > a {
 padding-left: 8px;
 padding-right: 8px;
 font-size: 14px;
 color: #707070;
}

ul.header-links li > a:hover {
 text-decoration: underline;
}

ul.header-links li:nth-child(1),
ul.header-links li:nth-child(2),
ul.header-links li:nth-child(3) {
 border-right: 1px solid #bdbdbd;
}

ul.header-links li:last-child a {
 background-color: #20558A;
 padding: 4px 12px;
 border-radius: 4px;
 color: #fff;
 font-weight: 300;
 text-transform: uppercase;
}

ul.header-links li:last-child a:hover {
 text-decoration: none;
 background-color: #5F9AAE;
}

ul.header-links li:last-child a > i {
 margin-left: 8px;
 font-size: 14px;
}

.site-header-main {
 max-width: 1320px;
 margin-left: auto;
 margin-right: auto;
}


/*    8.2 - Posts and pages
---------------------------------------------*/
.page-header {
  border-top: none;
}

.author-field a {
  color: #707070;
}

.social-media-block {
  float: right;
}

.social-media-block ul {
  display: inline-block;
  list-style-type: none;
  margin-left: 0;
}

.social-media-block ul li {
  display: inline-block;
  margin-left: 8px;
}

.social-media-block .facebook-button a {
  background-color: #05427E;
  color: #fff;
  border-radius: 2px;
  font-size: 12px;
  width: 76px;
  display: inline-block;
  height: 28px;
  border-radius: 4px;
  padding: 4px;
  text-align: center;
}

.social-media-block .facebook-button a:hover {
  background-color: #006097;
  text-decoration: none;
}

.social-media-block .twitter-button iframe {
  margin-bottom: 0;
}

.social-media-block .comments-button p {
  background-color: #5F9AAE;
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 0;
  padding: 6.4px 10px;
  line-height: 1rem;
  text-align: center;
}


.social-media-block .comments-button p > a {
  color: #fff;
}

.social-media-block .comments-button p > span {
  color: #707070;
  padding: 1px 3px; 
  background-color: #fff;
  display: inline-block;
  line-height: 1;
  border-radius: 5px 5px 0 5px;
}

.single-post .IN-widget {
  vertical-align: middle !important;
}

.single-post .IN-widget button {
  background-color: #05427E !important;
  height: auto !important;
  width: 76px !important;
  padding-top: 3.5px !important;
  padding-bottom: 3.5px !important;
  border-radius: 4px !important;
}

.postid-23647 .container-three-rows figure {
  width: 100% !important;
}

.postid-23647 .container-three-rows figure img {
  /*width: 100%;*/
}
 
/*    8.3 - Post Formats
---------------------------------------------*/
.archive article {
  padding-bottom: 9px;
  margin-bottom: 25px;
  border-bottom: 1px solid #E8E8E8;
}

.archive .entry-title {
  font-size: 20px;
}

.archive .entry-title a {
  color: #4E4E4E;
  text-decoration: underline;
}

.archive .entry-title a:hover {
  color: #007acc;
}

.archive .comments-bubble {
  float: right;
}

.single-post .entry-header {
  display: flex;
  align-items: center;
}

.single-post .entry-header .header-icon {
  min-width: 80px;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 95px;
}

.single-post .entry-header h1 {
  margin-bottom: 0;
}

.single-post .entry-header {
  margin-bottom: 30px;
}

.single-post .date-meta {
  margin-bottom: 0px;
}

.single-post .date-meta,
.single-post .author-meta {
  color: #707070;
}

.single-post .author-meta a {
  color: #707070;
}

.single-post .date-meta .posted-on {
  display: inline-block !important;
  margin-bottom: 5px !important;
}

.single-post .comments-bubble {
  margin-bottom: 20px;
}

.single-post .comments-bubble p {
  display: inline-block ;
}

.single-post .related-posts-section {
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 40px; 
  background-color: #FFFAEB;
}

.single-post .related-posts-section h2 {
  border-left: 3px solid #CCBB88;
  padding-left: 4px;
  margin-bottom: 20px;
}

.single-post .related-posts-content .post-link {
  line-height: 1.5rem;
  margin-top: 20px;
}

.single-post .related-posts-content .post-link a {
  color: #707070;
}

.single-post article:not(.type-page) .entry-footer {
  width: 100% !important;
}

.single-post .entry-footer .tags-links a {
  display: inline-block;
  padding: 4px 8px;
  color: #000;
  background-color: #DBF1F5;
  margin-right: 8px;
  font-weight: 400;
}

.single-post .entry-footer .tags-links a:hover {
  text-decoration: underline;
  box-shadow: none;
}

.single-post .content-area-single-post main > article {
  margin-bottom: 40px;
}


/*    8.4 - Comments
---------------------------------------------*/
.comments-title {
  border-top: none;
}

.comments-area .comment-respond {
  padding-top: 20px;
}

.comments-area .comment-reply-title {
  border-top: 4px solid #707071;
}

.comments-bubble p {
  background-color: #CCBB88;
  color: #000;
  font-weight: 600;
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 0;
  padding: 6.4px 10px;
  line-height: 1rem;
  text-align: center;
}

.comments-bubble p span {
  color: #000;
  padding: 1px 6px;
  background-color: #fff;
  display: inline-block;
  line-height: 1;
  border-radius: 3px;
  position: relative;
}

.comments-bubble p span::before,
.comments-bubble p span::after {
  content: ' ';
	position: absolute;
	width: 0;
	height: 0;
}

.comments-bubble p span.bubble::before {
  left: 6px;
  bottom: -5px;
  border: 3px solid;
  border-color: #fff transparent transparent #fff;
}

.comments-bubble p a {
  color: #000;
  font-weight: 700;
}

/*    8.5 - Sidebar
---------------------------------------------*/
.widget {
  border-top: none;
}

.widget .widget-title {
  border-left: 3px solid #DBF1F5;
  padding-left: 4px;
  text-transform: none;
}

.widget_nexus_calendar_widget {
  margin-bottom: 20px;
}


/*    8.6 - Footer
---------------------------------------------*/
footer.site-footer {
  background-color: #F5FDFF;
  padding-top: 40px;
  padding-bottom: 90px;
  display: block;
  position: relative;
}

footer .x-twitter-icon {
  max-width: 13px;
}

footer.site-footer .main-nav ul,
footer.site-footer .other-links ul {
  list-style-type: none;
  margin-left: 0;
}

footer.site-footer .main-nav ul > li,
footer.site-footer .other-links ul > li {
  line-height: 30px;
}

footer.site-footer li > a {
  color: #000;
  font-size: 14px;
}


footer.site-footer .nexus-address-logo p {
  font-size: 14px;
}

footer.site-footer .nexus-address-logo p:first-of-type {
  margin-top: 20px;
}

footer.site-footer .nexus-address-logo p:not(:first-of-type) {
  line-height: 1.3rem;
  margin-bottom: 0;
}

footer.site-footer .site-info {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #fff;
  padding: 15px 20px;
  margin: 0;
}

footer.site-footer .site-info p:first-of-type {
  display: inline-block;
  margin-bottom: 0;
}

footer.site-footer .site-info ul {
  display: inline;
}

footer.site-footer .site-info ul > li {
  display: inline;
}

footer.site-footer .site-info ul > li > a {
  color: #2699FB;
  margin-right: 12px;
}

footer.site-footer .contact-oer {
  float: right;
  margin-bottom: 0; 
}

/*-------------- 9.0 Media Query -------------*/
/* 14.1 - <= 985px
----------------------------------------------*/
@media screen and (max-width: 985px) {

}

/*  9.3 - <= 910px
----------------------------------------------*/
@media screen and (max-width: 910px) {
  .page-header {
    margin: 0 0 40px 0;
  }

  .site-header .nexus-logo {
    text-align: center;
  }

  .site-header .top-util-links {
    display: block;
    visibility: initial;
  }

  .site-header .top-util-links ul.header-links {
    float: left;
  }

  .site-header .top-util-links ul.header-links li:last-child {
    display: flex;
  }
  
  .site-header .top-util-links ul.header-links li {
    border-top: none;
  }

  .site-header .top-util-links ul.header-links li a {
    padding-top: 0;
    padding-bottom: 0;
  }

  .site-header .top-util-links ul.header-links li:last-child {
    margin-top: 8px;
  }

  .site-header .top-util-links ul.header-links li:last-child a {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .site-header .header-widget-links .header-links {
    display: none;
    visibility: hidden;
  }

  .site-header .menu-toggle.toggled-on {
    background-color: #20558A;
    border-color: #20558A;
  }

  .site-content {
    padding: 20px;
  }

  .single-post .entry-header {
    margin-left: 0;
    margin-right: 0;
  }

  .single-post .entry-header .post-title h1 {
    font-size: 28px;
  }
}

/*  9.4 - <= 710px
----------------------------------------------*/
@media screen and (max-width: 710px) {
  .site-top-bar p {
    display: none;
    visibility: hidden;
  }

  .site-header .nih-logo {
    display: none;
    visibility: hidden;
  }

  .single-post .site-header {
    margin-bottom: 10px;
  }

  .site-header,
  .site-content {
    padding: 5%;
  }

  .social-media-block {
    float: none;
  }

  .site-branding {
    display: block;
    width: 100%;
  }

  .nih-logo,
  .nexus-logo,
  .header-widget-links {
    margin-bottom: 10px;
  }

  .site-header .widget.widget_search {
    min-width: none;
    width: 100%;
    float: none;
  }

  table {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }

  footer.site-footer {
    padding-bottom: 110px;
  }

  .single-post .entry-header {
    display: block;
  }

  .single-post .entry-header .header-icon {
    text-align: center;
    margin-bottom: 10px;
  }
  
  .single-post .entry-header .post-title h1,
  .single-post .entry-header h1 {
    font-size: 22px;
  }
}

