/*
   Version: 1.15
*/
/*--------- Page ---------- */
/* This is needed to make sticky work for .page-nav-menu! */
.site-content {
  overflow: visible;
}

/*--------- Container and Column style ---------- */

.page-column-container {
  display: flex;
}

.post-column-container.comments-section {
  margin-top: 0;
}

.post-column-container.content-section {
  margin-bottom: 0;
}

.page-column.page-navigation {
  flex: 1 25%;
  margin: 30px 2% 2% 2%;
}

.page-column.page-content {
  flex: 1 75%;
  margin: 30px 2% 2% 2%;
}

.entry {
  padding: 20px;
  max-width: calc(6 * (100vw / 6) - 28px);
}

/* ---------------------------------------*/

/*--------- Board profile pictures in Media & Text blocks ---------- */
.board-profile {
  /* Important is used to override the inline style of Media & Text blocks */
  grid-template-columns: auto minmax(200px, 27%)!important;
}
/* ---------------------------------------*/



/*--------- Override general elements ---------- */
/* Hack to override CSS of twentynineteen */
h1:before,
h1:not(.site-title):before,
h2:before,
h3:before {
  display: none;
}

h1 {
  font-size: 28px;
  font-weight: 700;
  color: #1f305f;
}
.entry .entry-title,
h2 {
  font-size: 26px;
  color: #4e629a;
}

h3, div.wpforms-container-full .wpforms-form h3 {
  font-size: 22px;
  color: #4e629a;
  margin: 32px 0;
}

h4 {
  font-size: 20px;
  color: #4e629a;
  font-weight: 700;
}

h5 {
  font-size: 18px;
  color: #4e629a;
  font-weight: 700;
}

h6 {
  font-size: 16px;
  color: #4e629a;
  font-weight: 700;
}

h1:after,
h2:after {
  display: block;
  background-color: #4e629a;
  border-radius: 2px;
  height: 4px;
  margin: 5px 0 0 0;
  max-width: 400px;
  width: 100%;
  content: "";
}
div.wpforms-container-full .wpforms-form h3 a,
.anchor-link {
  position: relative;
  display: block;
  top: -140px;
}

.entry .entry-content,
.entry .entry-summary {
  max-width: 100%;
  margin: 0;
  margin-right: 1rem;
  padding: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
}

.entry .entry-content a {
  text-decoration: none;
  word-break: break-word;
}

.entry .entry-content a:hover {
  color: #94adf3;
  text-decoration: underline;
}


.entry .entry-content p {
  word-wrap: normal;
}

.entry .entry-content ol strong,
.entry .entry-content ol b,
.entry .entry-content ul strong,
.entry .entry-content ul b,
.entry .entry-content p strong,
.entry .entry-content p b {
  color: #1f305f;
}

.entry .entry-content li a {
  color: #4e629a;
  word-break: break-word;
}

.entry .entry-content > *.alignwide {
  max-width: calc(6 * (100vw / 12) - 28px);
  margin-left: 0;
}
/* ---------------------------------------*/


/*--------- Page Buttons ---------- */
.page-buttons-container {
  display: flex;
  flex-flow: row wrap;
}

.button-item {
  flex: 0 1 auto;
  background-color: #94adf3;
  width: 180px;
  height: 60px;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 400;
  border-radius: 10px;
  text-align: center;
  line-height: 3.3;
  cursor: pointer;
  box-shadow: 0px 1px 2px 2px rgba(0,0,0,0.2);
  -webkit-box-shadow: 0px 1px 2px 2px rgba(0,0,0,0.2);
  -moz-box-shadow: 0px 1px 2px 2px rgba(0,0,0,0.2);
  margin: 10px 20px;
  text-decoration: none;
}

button.button-item {
  line-height: 1.2;
}

.button-item:first-child {
  margin-left: 0px;
  margin-right: 20px;
}

.button-item:hover,
.button-item:focus {
  background-color: #7d94d5;
  text-decoration: none;
}
/* ---------------------------------------*/

/*--------- Side navigation menu ---------- */

.page-nav-menu {
  display: block;
  position: -webkit-sticky;
  position: sticky;
  top: 120px;
  height: calc(100vh - 140px);
  overflow-y: auto;
}

.page-nav-menu ul {
  list-style-type: none;
  padding: 20px;
  text-align: right;
  margin: 0;
}

.page-nav-menu ul li {
  line-height: 1.2;
  margin-top: 0.2rem;
  font-weight: 300;
  font-size: 16px;
}


.page-nav-menu ul li.h1,
.page-nav-menu ul li.h2 {
  font-weight: 700;
  margin-top: 1rem;
}

.page-nav-menu ul li:first-child {
  margin-top: 0;
}

.page-nav-menu ul li a {
  color: #4e629a;
}

.page-nav-menu ul li a:hover{
  color: #94adf3;
  text-decoration: underline;
}

/* ---------------------------------------*/

/*--------- Side navigation image ---------- */
.page-side-nav-image {
  display: flex;
  justify-content: flex-end
}


.page-side-nav-image img {
  width: 300px;
  display: block;
  margin: 0 25px 0 auto;
  padding: 20px 0;
}
/* ---------------------------------------*/


/*--------- Side navigation links ---------- */
.page-side-nav-links ul {
  list-style-type: none;
  padding: 20px;
  font-weight: 700;
  text-align: right;
  margin: 0;
}

.page-side-nav-links-separator {
  background-color: #4e629a;
  border-radius: 2px;
  height: 4px;
  max-width: 400px;
  width: 100%;
}
/* ---------------------------------------*/


/*--------- Titles ---------- */

/* Override twentynineteen */
.entry .entry-title:before {
  display: none;
}

.entry .entry-header {
  margin: 0;
  position: relative;
}
/* ---------------------------------------*/


/*--------- Comments ---------- */
/*--------- Comments section ---------- */
#comments {
  flex: 1 auto;
  max-width: 100%;
  padding: 20px;
  margin: 0 0 0 29%;
  max-width: calc(6 * (100vw / 12) - 28px);
}

.comments-area .comments-title-wrap .comments-title {
  font-size: 26px;
  color: #4e629a;
}

.comments-area .comments-title-wrap .comments-title:before {
  display: none;
}

.comments-area .comments-title-wrap .discussion-meta > * {
  margin-left: auto;
  text-align: right;
}

.comment .comment-author .fn {
  font-size: 16px;
  font-weight: 700;
  color: #1f305f;
}

.comment .comment-content p {
  font-size: 16px;
  font-weight: 300;
}

.comment .comment-content a {
  font-size: 16px;
  font-weight: 300;
  color: #4e629a;
  text-decoration: none;
}
.comment .comment-content a:hover {
  color: #94adf3;
  text-decoration: underline;
}

.comment .comment-meta a:hover {
  color: #94adf3;
  text-decoration: underline;
}

.comments-area .no-comments {
  font-size: 16px;
  font-weight: 700;
  color: #1f305f;
}

.comment-form .submit {
  background-color: #94adf3;
  width: 180px;
  height: 60px;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 400;
  border-radius: 10px;
  text-align: center;
  line-height: 1.3;
  cursor: pointer;
  box-shadow: 0px 1px 2px 2px rgba(0,0,0,0.2);
  -webkit-box-shadow: 0px 1px 2px 2px rgba(0,0,0,0.2);
  -moz-box-shadow: 0px 1px 2px 2px rgba(0,0,0,0.2);
  margin: 0;
}

.comment-form .submit:hover,
.comment-form .submit:focus {
  color: #1f305f;
  background-color: #7d94d5
}

.comment-form .comment-form-comment textarea{
  font-size: 16px;
  font-weight: 400;
}

.comment-form-flex .comments-title {
  font-size: 26px;
  color: #4e629a;
}

.comment-reply .comment-reply-link {
  color: #4e629a;
}

.comment-reply .comment-reply-link:hover {
  color: #94adf3;
  text-decoration: underline
}

.comment .comment-author .avatar {
  border-radius: 0;
}

.comment-awaiting-moderation {
  font-size: 16px;
  color: #4e629a;
}

.comment-reply-title {
  font-size: 26px;
}

.comment-reply-title a{
  color: #4e629a;
}

.comment-list .pingback .comment-body a:not(.comment-edit-link) {
  color: #4e629a;
}

.comment-list .pingback .comment-body a:not(.comment-edit-link):hover {
  color: #94adf3;
  text-decoration: underline
}
/* ---------------------------------------*/


/*--------- Tables ---------- */
.entry .entry-content .wp-block-table {
  border: 5px solid #4e629a;
  font-size: 16px;
}

.entry .entry-content .wp-block-table table {
  margin: 0;
}

.wp-block-table thead {
  border: 0;
}

.entry .wp-block-table th {
  padding: 0 5px;
  border: 0;
  color: #FFFFFF;
  background-color: #4e629a;
}

.entry .wp-block-table td {
  padding: 0 5px;
  border: 0;
  text-align: center;
}

.entry .wp-block-table td a {
  font-weight: 300;
  color: #4e629a;
  text-decoration: none;
}


.entry .wp-block-table tr:nth-child(odd) {
  background-color: #E5E5E5;
}

.table-wrapper {
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}
/* ---------------------------------------*/


/*--------- Media and text block ---------- */
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
  padding-left: 0;
}

.wp-block-media-text .wp-block-media-text__content :first-child {
  margin-top: 0;
}
/* ---------------------------------------*/


/*--------- Image blocks ---------- */
.entry .entry-content .wp-block-image .aligncenter {
  margin: auto;
}
.entry .entry-content .wp-block-image {
  max-width: calc(6 * (100vw / 12) - 28px);
}
/* ---------------------------------------*/


/*--------- Downloads form ---------- */
.downloads-form-field-container {
  margin: 10px 0;
  width: auto;
  max-width: 100%;
  position: relative;
  display: flex;
  flex-flow: column wrap;
  flex: 1 auto;
}

.downloads-form-field-container:not(.skip-dropdown-arrow):after {
  content: '';
  border-color: #888 transparent transparent transparent;
  border-style: solid;
  border-width: 5px 4px 0 4px;
  right: 7px;
  top: 67%;
  height: 0;
  position: absolute;
  pointer-events: none;
}

.hidden-field {
  display: none;
}

.display-on-row {
  flex-flow: row wrap;
}

div.display-on-row > *:not(:last-child) {
  margin-right: 10px;
}

.downloads-form-field-container label {
  font-size: 16px;
  color: #4e629a;
  font-weight: 700;
}

.downloads-form-dropdown {
  display: block;
  width: 100%;
  background-color: #FFFFFF;
  height: 38px;
  color: #1f305f;
  font-weight: 700;
  font-size: 16px;
  border-color: #4e629a;
  border-radius: 4px;
  padding-left: 8px;
  -webkit-appearance: none;
  -moz-appearance:    none;
  appearance:         none;
}

.downloads-form-checkbox {
  align-self: center;
  cursor: pointer;
}


/* Select2  style override */
.downloads-form .select2-container--default .select2-selection--single {
  border: 2px solid #4e629a;
}

.downloads-form .select2-container .select2-selection--single {
  height: 38px;
}

.downloads-form .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 38px;
}

.downloads-form .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #1f305f !important;
  font-weight: 700;
  font-size: 16px;
  line-height: 38px;
}

.downloads-form .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #1f305f;
}

.select2-results__options,
.select2-search {
  font-size: 16px;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #94adf3 !important;
}

.downloads-form-banner {
  font-size: 20px;
  font-weight: 300;
  color: #FFFFFF;
  padding: 8px;
  border-radius: 5px;
  background-color: #4e629a;
}

.downloads-form-banner b,
.downloads-form-banner a {
  font-weight: 1000;
}


.downloads-form-error-message,
.downloads-form-info-message,
.downloads-form-success-message {
  font-size: 16px;
  color: #FFFFFF;
  padding: 8px;
  border-radius: 5px;
}
.downloads-form-banner a,
.downloads-form-banner a:visited {
  color: #94adf3;
}

.downloads-form-error-message {
  background-color: #CD0000;
}

.downloads-form-info-message {
  background-color: #C882C8;
}

.downloads-form-success-message {
  background-color: #469664;
}

.downloads-form-error-message a,
.downloads-form-error-message a:visited,
.downloads-form-info-message a,
.downloads-form-info-message a:visited,
.downloads-form-success-message a,
.downloads-form-success-message a:visited {
  color: #1f305f;
}

.downloads-form-information-panel {
  display: flex;
  flex-flow: column wrap;
  background-color: #F3F3F3;
  border: 1px solid #94adf3;
  border-radius: 5px;
  padding: 0 5px;
  margin: 10px 0px;
  width: 100%;
  flex: 1 auto;
  font-family: monospace;
  font-size: 14px;
  overflow: auto;
}

.downloads-form-information-panel * {
  font-size: 14px !important;
  font-weight: 300;
  color: #4e629a;
  margin: 0;
}

.downloads-form-file-info {
  width: 100%;
  margin-bottom: 10px;
}

.downloads-form-list {
  width: 100%;
}

.downloads-form-footer {
  display: flex;
  flex-flow: row wrap;
}

.downloads-form-footer .page-buttons-container {
  align-self: flex-end;
}

.downloads-form-signature-content {
  white-space: pre-wrap;
}



/* Tabs section*/
.downloads-category-tabs {
  display: flex;
  flex-flow: row wrap;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* Float the list items side by side */
.tab-item {
  color: #4e629a;
  position: relative;
  cursor: pointer;
  padding: 15px;
  border-bottom: 1px solid #1f305f;
  font-weight: 700;
}

.tab-item:hover {
  color: #1f305f;
}

.tab-item.active-tab {
  color: #1f305f;
  border: 1px solid #1f305f;
  border-bottom: 0px;
}

#fill-space-tab {
  flex: 1 0 auto;
  border-bottom: 1px solid #1f305f;
}

/* Style the tab content */
.tab-content {
  display: none;
}

.tab-content.active-tab-content {
  display: block;
}
/* ---------------------------------------*/


/*--------- Copy to Clipboard button ---------- */

.repo-config-form-instructions pre {
  margin-top: 0;
}

.clipboard-copy {
  position: relative;
  display: flex;
  justify-content: flex-end;
  margin-top: -17px;
}

.clipboard-copy i {
  padding: 1px;
  color: #4e629a;
  width: 20px;
  height: 21px;
  border: 1px solid #94adf3;
  border-bottom: 0;
  background-color: #E5E5E5;
  cursor: pointer;
}

.clipboard-copy i:hover {
  color: #1f305f;
}

.clipboard-tooltip {
  display: none;
  position: absolute;
  padding: 2px;
  background-color: #FFFFFF;
  border: 1px solid #94adf3;
  border-radius: 5px;
}

/* ---------------------------------------*/


/*--------- Mobile design ---------- */
/* For Media and Text block */
@media only screen and (max-width: 1500px) {
  .downloads-form {
    /* width: 60%; */
  }
}

@media only screen and (max-width: 1168px) {
  .entry .entry-content > *.alignwide {
    max-width: 100%;
  }
}

@media only screen and (max-width: 1010px) {
  .page-column-container {
    flex-flow: column;
  }

  .page-column.page-navigation,
  .page-column.page-content {
    flex: 1 auto;
  }

  .comments-area {
    max-width: 100%;
  }

  #comments {
    margin: 0 4%;
    max-width: 100%;
  }

  .page-column.page-navigation {
    position: relative;
    margin: 0;
    background-color: #E5E5E5;
  }

  .page-nav-menu {
    position: static;
    height: auto;
  }

  .page-nav-menu ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
    margin: 20px 0;
  }

  .page-nav-menu ul li {
    line-height: 0.8rem;
    margin-top: 10px;
    font-weight: 300;
    font-size: 20px;
  }

  .page-nav-menu ul li.h1,
  .page-nav-menu ul li.h2 {
    font-weight: 700;
    margin-top: 2rem;
    font-size: 20px;
  }

   .page-nav-menu ul li:first-child {
    margin-top: 0;
  }

  .page-nav-menu-expand-container {
    display: none;
    width: 100%;
    margin: 2% 0 2% 80%;
    background-color: #E5E5E5;
  }

  .mobile-indicator {
    display: block;
  }

  .entry .entry-header,
  .entry .entry-footer {
    max-width: 100%;
  }

  .entry .entry-content {
    max-width: 100%;
    margin: 0 ;
  }

  .entry .entry-content > * {
    max-width: 100%;
  }

  .wp-block-media-text.is-stacked-on-mobile.alignwide {
    max-width: 100%;
  }

  /* TODO This important is a hack so we do not get a different order from
   * media-query 600px from block library. */
  .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
    padding: 0;
  }

  .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media {
    margin: auto;
  }

  .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media {
    -ms-grid-column: 1;
    grid-column: 1;
    -ms-grid-row: 1;
    grid-row: 1;
  }

  .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
    -ms-grid-column: 1;
    grid-column: 1;
    -ms-grid-row: 2;
    grid-row: 2;
  }

  .wp-block-media-text.is-stacked-on-mobile {
    grid-template-columns: 100% 100% !important;
  }

  .wp-block-media-text .wp-block-media-text__media {
    align-self: center;
  }

  .wp-block-media-text.board-profile > figure > img {
    width: 200px;
    height: auto;
  }

  /*--------- Side navigation image ---------- */
  .page-side-nav-image {
    display: flex;
    justify-content: center;
  }


  .page-side-nav-image img {
    width: 200px;
    display: block;
    margin: 0 auto;
    padding: 20px 0;
  }
  /* ---------------------------------------*/

  /*--------- Downloads form -----------------*/
  .downloads-form {
    width: 100%;
  }
  /* ---------------------------------------*/

  .entry .entry-content .wp-block-image:not(.alignwide):not(.alignfull) > img {
    max-width: 100%;
  }

  .entry .entry-content .wp-block-image {
    max-width: 100%;
  }

}

/* For Tabs in the Downloads Form */
@media only screen and (max-width: 650px) {
  .downloads-category-tabs {
    flex-flow: column;
    border-left: 1px solid #1f305f;
  }

  .tab-item {
    border: 0;
  }

  .tab-item.active-tab {
    border: 0;
  }

  #fill-space-tab {
    border: 0;
  }
}


/* For images only */
@media only screen and (max-width: 450px) {
  .entry .entry-content > img {
    display: block;
    float: none;
  }
}
/* ---------------------------------------*/


/*--------- Form style ---------- */
div.wpforms-container-full .wpforms-form input[type=submit], 
div.wpforms-container-full .wpforms-form button[type=submit] {
  background-color: #94adf3;
  width: 180px;
  height: 60px;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 400;
  border-radius: 10px;
  border: 0;
  text-align: center;
  cursor: pointer;
  box-shadow: 0px 1px 2px 2px rgba(0,0,0,0.2);
  -webkit-box-shadow: 0px 1px 2px 2px rgba(0,0,0,0.2);
  -moz-box-shadow: 0px 1px 2px 2px rgba(0,0,0,0.2);
  text-decoration: none;
}

div.wpforms-container-full .wpforms-form input[type=submit]:hover,
div.wpforms-container-full .wpforms-form button[type=submit]:hover {
  color: #1f305f;
  border: 0;
  background-color: #7d94d5;
}


div.wpforms-container-full .wpforms-form .wpforms-title {
  font-size: 22px;
  color: #4e629a;
  font-weight: 500;
}

div.wpforms-container-full .wpforms-form .wpforms-field-label {
  color: #4e629a;
}

div.wpforms-container-full .wpforms-form .wpforms-description {
  font-size: 16px;
  font-weight: 300;
}

div.wpforms-container-full .wpforms-form .wpforms-field-label-inline {
  font-weight: 300;
}

/* ---------------------------------------*/


/*--------- Planet MariaDB Styling ---------- */
.wp-rss-aggregator .nav-links a {
  font-size: 16px;
  color: #4e629a;
  text-decoration: none;
  font-weight: 700;
}

.wp-rss-aggregator .nav-links a:hover {
  color: #94adf3;
  text-decoration: underline;
}
/* ---------------------------------------*/


/*--------- Code block ---------- */
.entry .entry-content .wp-block-preformatted {
  border: 1px solid #94adf3;
  background-color: #F3F3F3;
  color: #000000;
  font-size: 14px;
  margin: 0 2px;
  padding: 0 3px;
}

.entry .entry-content code {
  border: 0;
  background-color: #F3F3F3;
  color: #000000;
  font-size: 14px;
  margin: 0 2px;
  padding: 0 5px;
}

.entry .entry-content code a {
  font-family: monospace !important;
  font-size: 14px;
}

.entry .entry-content .wp-block-code {
  border: 1px solid #94adf3;
  background-color: #F3F3F3;
  color: #000000;
}

.entry .entry-content .wp-block-code code {
  font-size: 14px;
}
/* ---------------------------------------*/
