/**============================================
* 
* Global CSS Styles
* 
*=============================================*/


/**
* Defaults
*/
html,
body {
  /*color: #0b2b59;*/
  color: #161616;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.42857143;
}

body {
  background: #fff;
  margin: 0;
  overflow-x: hidden;
}

img {
  height: auto;
  /*width: auto;*/
  max-width: 100%;
}

a {
  color: #40a3bb;
  text-decoration: none;
}

a:hover,
a:active {
  color: #50b3cb;
  text-decoration: none;
}

.container-fluid {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: -15px;
  margin-left: -15px;
}

.row,
[class*="col-"] {
  position: relative;
}


/**
* Admin elements
*/
.highlighted .messages__wrapper {
  margin: 20px auto;
}

.page-node-type-landing-page .highlighted .messages__wrapper {
  margin: 20px 15px;
}

.highlighted .messages__wrapper .alert p:last-child {
  margin-bottom: 0;
}

.highlighted .tabs {
  margin: 20px auto 0 auto;
}

.page-node-type-landing-page .highlighted .tabs {
  margin: 20px 15px 0 15px;
}


/**
* Hero
*/
.hero {
  color: #fff;
  min-height: 300px;
  padding: 30px 60px;
  position: relative;
  
  /* align content vertical center */
  display: flex;
  align-items: center;
  /* default to center text */
  text-align: center;
  
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hero .container {
  width: 100%;
}

@media(max-width: 991px) {
  .hero {
    min-height: 200px;
    padding: 20px 40px;
  }
}

.hero .hero-content {
  position: relative;
  z-index: 3;
}

.hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  
  width: 100%;
  height: 100%;
}

.hero .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  
  width: 100%;
  height: 100%;
  
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.hero h1, 
.hero .h1 {
  color: #fff;
  font-size: 2.5rem;
}

.hero h2, 
.hero .h2 {
  color: #fff;
  font-size: 2.2rem;
}


/**
* Landing section
*/
.landing-section {
  padding: 45px 0;
}

.landing-section h2:empty,
.landing-section h2 a:empty,
.landing-section h3:empty,
.landing-section h3 a:empty,
.landing-section h4:empty,
.landing-section h4 a:empty {
  display: none;
}

@media(max-width: 991px) {
  .landing-section {
    padding: 30px 0;
  }
}

.landing-section .section-title {
  margin-bottom: 30px;
  text-align: center;
}

/* BG: light-gray */
.landing-section.background-light-gray {
  background: #ececec;
}

/* BG: dark-gray */
.landing-section.background-dark-gray {
  background: #555;
  color: #fff;
}

.landing-section.background-dark-gray .section-title,
.landing-section.background-dark-gray h1,
.landing-section.background-dark-gray h2,
.landing-section.background-dark-gray h3, 
.landing-section.background-dark-gray h4,
.landing-section.background-dark-gray h5 {
  color: #fff;
}

.landing-section.background-dark-gray a {
  color: #40a3bb;
}

.landing-section.background-dark-gray a:hover {
  color: #50b3cb;
}

/* BG: dark-blue */
.landing-section.background-dark-blue {
  background: #0b2b59;
  color: #fff;
}

.landing-section.background-dark-blue .section-title,
.landing-section.background-dark-blue h1,
.landing-section.background-dark-blue h2,
.landing-section.background-dark-blue h3, 
.landing-section.background-dark-blue h4,
.landing-section.background-dark-blue h5 {
  color: #fff;
}

.landing-section.background-dark-blue a {
  color: #60c3db;
}

.landing-section.background-dark-blue a:hover {
  color: #70d3eb;
}

.landing-section.background-dark-blue .btn-primary,
.landing-section.background-dark-blue .btn-primary > a {
  color: #fff !important;
  background-color: #40a3bb;
  border-color: #40a3bb;
  padding: 12px 38px;
}

.landing-section.background-dark-blue .btn-primary:focus,
.landing-section.background-dark-blue .btn-primary.focus,
.landing-section.background-dark-blue .btn-primary:hover,
.landing-section.background-dark-blue .btn-primary:hover > a {
  color: #fff !important;
  background-color: #50b3cb;
  border-color: #50b3cb;
}


/* BG: blue-green */
.landing-section.background-blue-green {
  background: #40a3bb;
  color: #fff;
}

.landing-section.background-blue-green .section-title,
.landing-section.background-blue-green h1,
.landing-section.background-blue-green h2,
.landing-section.background-blue-green h3, 
.landing-section.background-blue-green h4,
.landing-section.background-blue-green h5 {
  color: #fff;
}

.landing-section.background-blue-green a {
  color: #0b2b59;
}

.landing-section.background-blue-green a:hover {
  color: #1b3b69;
}



/**
* Post info & meta (top of posts)
*/
#main-content .post-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  
  color: #888;
  font-size: 0.95rem;
  margin-bottom: 35px;
  overflow: auto;
}

#main-content .post-meta .author-img {
  border: 1px solid #ddd;
  -moz-border-radius: 100%;
  -webkit-border-radius: 100%;
  border-radius: 100%;
  width: 45px;
  height: 45px;
  overflow: hidden;
  
  margin-right: 10px;
  position: relative;
}

#main-content .post-meta .author-img img {
  width: 100%;
  height: auto;
  
  position: absolute;
  top: 0;
  left: 0;
}

#main-content .post-meta .post-info {
  line-height: 1.25;
  padding-top: 2px;
  width: calc(100% - 55px);
}

#main-content .post-meta .post-info .author-byline {
  font-weight: bold;
  margin-bottom: 3px;
}

#main-content .post-meta .post-info .post-data {
}

#main-content .post-meta .post-info .post-data .publish-date {
  display: inline-block;
  float: left;
}

#main-content .post-meta .post-info .post-data .divider {
  display: inline-block;
  float: left;
  padding: 0 6px;
}

#main-content .post-meta .post-info .post-data .taxonomy-info {
  display: inline-block;
  float: left;
}

#main-content .post-meta .post-info .post-data .taxonomy-info > .title {
  display: inline-block;
}

#main-content .post-meta .post-info .post-data .taxonomy-info > .views-element-container {
  display: inline-block;
}

#main-content .post-meta .post-info .post-data .taxonomy-info > .views-element-container .view-content {
  margin: 0;
}

#main-content .post-meta .post-info .post-data .taxonomy-info > .views-element-container strong, 
#main-content .post-meta .post-info .post-data .taxonomy-info > .views-element-container b {
  font-weight: normal;
}


/**
* User Info (User Profile)
*/
.user-info-profile {
}

.user-info-profile .field--name-user-picture {
  display: block;
  margin-bottom: 20px;
}

.user-info-profile .form-group {
  display: block;
  margin-bottom: 15px;
  overflow: auto;
}

.user-info-profile .form-group .label {
  color: #161616;
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  margin-right: 0.2rem;
  padding: 0;
  text-align: left;
}

.user-info-profile .form-group .description {
  display: inline-block;
}

.user-info-profile .field--name-user-picture +  .form-group .label:after {
  content: ":";
  display: inline-block;
}




/**
* Cards
*/
.card {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  /*background-color: #fff;*/
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
}

.card > hr {
  margin-right: 0;
  margin-left: 0;
}

.card > .list-group {
  border-top: inherit;
  border-bottom: inherit;
}

.card > .list-group:first-child {
  border-top-width: 0;
  border-top-left-radius: calc(0.25rem - 1px);
  border-top-right-radius: calc(0.25rem - 1px);
}

.card > .list-group:last-child {
  border-bottom-width: 0;
  border-bottom-right-radius: calc(0.25rem - 1px);
  border-bottom-left-radius: calc(0.25rem - 1px);
}

.card > .card-header + .list-group,
.card > .list-group + .card-footer {
  border-top: 0;
}

.card-body {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  min-height: 1px;
  padding: 1.25rem;
}

.card-title {
  margin-bottom: 0.75rem;
}

.card-subtitle {
  margin-top: -0.375rem;
  margin-bottom: 0;
}

.card-text:last-child {
  margin-bottom: 0;
}

.card-link:hover {
  text-decoration: none;
}

.card-link + .card-link {
  margin-left: 1.25rem;
}

.card-header {
  padding: 0.75rem 1.25rem;
  margin-bottom: 0;
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-header:first-child {
  border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}

.card-footer {
  background-color: rgba(0, 0, 0, 0.03);
  border-top: 1px solid rgba(0, 0, 0, 0.125);
  font-size: 0.9rem;
  line-height: 1.25rem;
  padding: 0.75rem 1.25rem;
  text-align: center;
}

.card-footer:empty {
  display: none;
}

.card-footer p:last-child,
.card-footer ul:last-child,
.card-footer ol:last-child {
  margin-bottom: 0;
}

.card-footer:last-child {
  border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);
}

.card-header-tabs {
  margin-right: -0.625rem;
  margin-bottom: -0.75rem;
  margin-left: -0.625rem;
  border-bottom: 0;
}

.card-header-pills {
  margin-right: -0.625rem;
  margin-left: -0.625rem;
}

.card-img-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.25rem;
  border-radius: calc(0.25rem - 1px);
}

.card-img,
.card-img-top,
.card-img-bottom {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 100%;
}

.card-img,
.card-img-top {
  border-top-left-radius: calc(0.25rem - 1px);
  border-top-right-radius: calc(0.25rem - 1px);
}

.card-img,
.card-img-bottom {
  border-bottom-right-radius: calc(0.25rem - 1px);
  border-bottom-left-radius: calc(0.25rem - 1px);
}

.card-deck .card {
  margin-bottom: 15px;
}


/**
* Pagination
*/
.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 30px 0;
  border-radius: 4px;
}

.pagination > li > a, 
.pagination > li > span {
  color: #40a3bb;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
}

.pagination > li > a:hover, 
.pagination > li > span:hover {
  color: #40a3bb;
  text-decoration: none;
  background-color: #ececec;
  border: 1px solid #ddd;
}

.pagination > .active > a, 
.pagination > .active > span, 
.pagination > .active > a:hover, 
.pagination > .active > span:hover, 
.pagination > .active > a:focus, 
.pagination > .active > span:focus {
  background-color: #0b2b59;
  border-color: #0b2b59;
}


/**
* Icon Circles
*/
/*
Example HTML...
<div class="icon-circle">
  <span><a href="/content/active-quarknet-centers"><i class="fa-solid fa-map-location-dot"></i></a></span>
</div>
*/

.icon-circle {
}

.icon-circle span {
  background: #0b2b59;
  -moz-border-radius: 100%;
  -webkit-border-radius: 100%;
  border-radius: 100%;
  display: inline-block;
  width: 64px;
  height: 64px;
}

.icon-circle span i[class*="fa-"] {
  color: #fff;
  font-size: 24px;
  line-height: 64px;
}

.landing-section.background-dark-blue .icon-circle span {
  background: #40a3bb;
}


/**
* Media: Image
*/
figure.align-center figcaption {
    padding: 10px 0;
}

figure.align-center {
    text-align: center;
}

figure.align-center .field--name-field-media-image .field--item {
}

figure.align-center .field--name-field-media-image .field--item > img {
    margin: 0 auto;
}

figure.align-center figcaption {
    margin: 0 auto;
    text-align: center;
}




