/**
 * If using a CSS pre-processor, tell it to overwrite this file. If not, place
 * your custom CSS modifications here.
 *
 * THIS IS BOOTSTRAP 3
 *
 */

/* css variables */
:root {
  --geonovus-yellow: #fcd01d;
  --geonovus-dark: #4f4c4d;
}

body {
  background-color: #eee;
  background-image: url("/themes/howitworks/images/topography.png");
}


.navbar .logo {
  margin-top: 0;
  margin-bottom: 0;
}

.content {
  font-family: "segoe ui","helvetica neue", arial, helvetica, sans-serif;
}

.content img {
  max-width: 100%;
}

.content img.img-center {
  margin: 0 auto;
  display: block;
}

.content img.w-500 {
  max-width: 500px;
  width: 100%;
}

.content table {
  border: 1px solid #eee;
}

.content table td {
  border: 1px solid #eee;
  padding: 5px;
}

.content a {
  text-decoration: underline;
}
.content .badge a {
  text-decoration: none;
}

.content a[target='_blank'] {
  position: relative;

  padding-right: 1em;

  background-image: url('/themes/howitworks/images/link_ext.png');
  background-repeat: no-repeat;
  background-position: right;
}

table.rating-table,
table.rating-table td {
  border: none;
  padding: 0;
}

/*
helper classes
*/
.mt-1 {
  margin-top: 1em !important;
}
.mb-1 {
  margin-bottom: 1em !important;
}

/*
add border around
 - front page content
 - book pages
 - login page
 - pass reset
 */
.region-content {
  padding: 2em;
  margin-bottom: 1em;
  border: 1px solid #eee;
  border-radius: 4px;

  background-color: #fff;

  font-size: 1.2em;
}

article.book.full .field--type-text-with-summary {
  margin-bottom: 2em;
  border-bottom: 1px dashed #eee;
  padding-bottom: 2em;
}

article.book.full .field--type-text-with-summary h2 {
  text-align: center;
}

article.book.full .paragraph--type--par-txt-img,
article.book.full .paragraph--type--par-txt-med-img {
  margin-top: 1em;
  margin-bottom: 1em;
}

article.book.full .field--items .field--item {
  padding-top: .25em;
  padding-bottom: .25em;
}

article.book .field--name-field-gamintojas {
  margin-top: 1em;
  margin-bottom: 1em;

  color: #777;
}

article.book .field--name-field-gamintojas .field--label {
  font-weight: normal;
}
.field--name-field-gamintojas .field--item a {
  color: #fff;
}

article.book .field--name-field-txt-img-row .field--item.row {
  border-bottom: 1px dashed #eee;

  margin-top: 1em;
  margin-bottom: 1em;
}

/* list group styling for book pages  */
article.book.full .list-group-item {
  background-color: var(--geonovus-yellow);
  border-color: var(--geonovus-dark);
}
article.book.full .list-group-item a {
  color: var(--geonovus-dark);
  text-decoration: none;

  font-size: 1.5rem;
}

/*
h1 page header do not need line
override
 */
.page-header {
  border-bottom: none;
}
/*
fix font collapse on multiple lines
override
*/
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  line-height: 1.15;
}


/*
File (and Image Widget) styles.
override
 */
.file {
  display: table;
  font-size: 90%;
  font-weight: normal;
  margin: 5px 0;
  width: 100%;
}
.file > span {
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
}
.file > span:first-child {
  border-left: 1px solid #ddd;
  border-top-left-radius: 4px;

  border-bottom-left-radius: 4px;
}
.file > span:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;

  border-right: 1px solid #ddd;
}

/* for recent content block view */
.region-sidebar-second .views-bootstrap-list-group {
  padding: 0;
}

/*
BigPipe
*/
@keyframes pulse-throbber {
  0% {
    opacity: 1;
    transform: scaley(1);
  }

  100% {
    opacity: 0.2;
    transform: scaley(0.5);
  }
}
[data-big-pipe-placeholder-id] {
  position: relative;
  display: block;
  margin: 20px auto;
  width: 6px;
  height: 30px;
  background: #fcd01d;
  animation: pulse-throbber 0.2s infinite;
  animation-delay: 0.1s;
  animation-direction: alternate;
}
[data-big-pipe-placeholder-id]:before,
[data-big-pipe-placeholder-id]:after {
  content: '';
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  background: #fcd01d;
  top: 0;
  animation: pulse-throbber 0.2s infinite;
  animation-direction: alternate;
}
[data-big-pipe-placeholder-id]:before {
  left: -12px;
}
[data-big-pipe-placeholder-id]:after {
  left: 12px;
  animation-delay: 0.2s;
}
