/*
Theme Name: Quantr Foundation Personal
Theme URI: https://peter.quantr.hk
Author: Peter
Author URI: https://peter.quantr.hk
Description: A WordPress theme for Quantr Foundation Personal
Version: 1.0
License: Quantr Commercial License
License URI: https://peter.quantr.foundation
Text Domain: quantr-foundation-personal
Tags: Quantr Foundation
*/

body {
  background-color: #fbfbfb !important;
}

/* scrollbar */
/* width */
::-webkit-scrollbar {
  width: 15px;
  margin: 0px;
}

/* Track */
::-webkit-scrollbar-track {
  border: 0px !important;
  background: #ededff;
}

/* Handle */
::-webkit-scrollbar-thumb {
  border-radius: 0px;
  background: #a692bb;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #7a6398;
}
/* end scrollbar */

#wpadminbar {
  position: fixed;
  background-color: #756696;
}

.navbar-brand {
  font-size: 36px;
}

@media only screen and (min-width: 600px) {
  #qfLogo {
    width: 80px;
  }

  #qfImg {
    width: 300px;
  }

  #hkpsLogo {
    width: 600px;
  }

  .footer {
    background-color: #756696;
    color: white;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    margin-bottom: 10px;
    padding: 10px;
    width: 70wh;
    max-width: 1600px;
  }

  #mainContainer {
    background-color: white;
    box-shadow: 0 0 9px 5px #f0f0f0;
    width: 70wh;
    max-width: 1600px;
  }

  #backButton:after {
    content: "Back";
  }

  figure {
    text-align: center;
  }
}

@media only screen and (max-width: 600px) {
  #qfLogo {
    width: 50px;
  }

  #qfImg {
    width: 180px;
  }

  #mainContainer {
    padding-left: 0px;
    padding-right: 0px;
    margin-bottom: 10px;
  }

  .footer {
    background-color: #756696;
    color: white;
  }

  #mainContainer {
    background-color: white;
  }

  #mainNavBar .nav-link {
    padding-left: 30px;
  }

  #backButton:after {
    content: "<";
  }
}

#mainNavBar .navbar {
  background-color: inherit;
}

#mainNavBar .nav-item {
  color: black;
  font-size: 20px;
}

@media only screen and (min-width: 768px) {
  #mainNavBar .nav-item {
    text-align: center;
    margin-left: 10px;
  }
}

#mainNavBar .nav-item:hover {
  background-color: #ececec;
  border-radius: 5px;
}

.lionRockDiv {
  background-image: url(../../../wp-content/themes/quantr.foundation/image/lionRock.svg);
  background-repeat: no-repeat;
  background-position-x: right;
  background-size: 500px;
  background-position-y: 5px;
}

.btn-purple,
.wp-block-button__link {
  background-color: #756696;
  color: white !important;
}

.btn-purple,
.wp-block-button__link:hover {
  background-color: #9789b6;
}

.marginTop100 {
  margin-top: 80px;
  margin-left: 20px;
  margin-bottom: 30px;
}

.marginBottom100 {
  margin-top: 30px;
  margin-left: 20px;
  margin-bottom: 80px;
}

.marginTopBottom100 {
  margin-top: 100px;
  margin-left: 30px;
  margin-bottom: 100px;
}

.mainBodyRow {
  background-image: url(../../../wp-content/plugins/quantr-foundation-wordpress-widgets/image/bottom.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: bottom;
  margin-top: 20px;
}

@media only screen and (min-width: 768px) {
  .mainBodyRow {
    min-height: 550px;
  }
}

.footerRow {
  margin-top: 20px;
}

.footerMsIcon {
  height: 25px;
}

/* bootstrap */
.btn-primary {
  color: #fff !important;
  background-color: #8c7bb1 !important;
  border-color: #653d8a !important;
}
/* bootstrap end */

.mainPosts {
  background-color: white;
  border-bottom: 3px solid #b990b3;
  border-radius: 5px;
  cursor: pointer;
  padding: 20px;
  box-shadow: 0 0 4px 4px #e7e7e7;
  word-break: break-all;
  margin-bottom: 20px;
  overflow: auto;
  /* height: 100%; */
}

.mainPosts .postTitle {
  font-size: 20px;
  font-weight: bold;
}

.mainPosts .postBody {
  font-size: 16px;
  margin-top: 30px;
  display: none;
}

.mainPosts ol,
.mainPosts ul {
  display: table;
}

.mainPosts .postThumbnail {
  width: 200px;
  height: 200px;
  object-fit: cover;
  margin-right: 30px;
  float: left;
  border-radius: 5px;
}

.mainPosts .postDate {
  margin-bottom: 10px;
  font-size: 10px;
}

.mainPostToolBar .postTitle {
  font-size: 20px;
  font-weight: bold;
  vertical-align: middle;
  margin-left: 25px;
}

.mainPostToolBar .postDate {
  font-size: 14px;
  vertical-align: middle;
  float: right;
  line-height: 40px;
  margin-right: 10px;
}

.mainPostToolBar {
  font-size: 20px;
  background-color: #ffecda;
  padding: 5px;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* #pageContentDiv{
    padding: 0px;
} */

#pageContentDiv .mainPost img {
  border-radius: 5px;
  /* width: 100%; */
  height: inherit;
  max-width: 600px;
}

pre code {
  font-size: inherit;
  color: #e83e8c !important;
  word-break: normal;
}

pre:has(code) {
  background-color: #eeeeee;
  padding: 10px;
  border-radius: 3px;
}

#sidebar a {
  color: black;
}

#sidebar input[type="search"] {
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 10px;
}

#sidebar input[type="submit"] {
  display: none;
}

#sidebar .widget_tag_cloud a {
  color: #634382;
}

#sidebar form[role="search"] label {
  width: 100%;
}

#sidebar form[role="search"] input[type="search"] {
  width: 100%;
}

/* #pageContentDiv .cool-vertical-timeline-body .timeline-content .story-details {
    border-color: #e2d5eb !important;
}

#pageContentDiv .cool-vertical-timeline-body.both-sided .timeline-content .position-right .story-details::before {
    border-right-color: #e2d5eb !important;
}

#pageContentDiv .cool-vertical-timeline-body .timeline-content .timeline-block-icon {
    background: #c9a3e3 !important
}

#pageContentDiv .cool-vertical-timeline-body.both-sided .timeline-content .position-left .story-details::before {
    border-left-color: #c9a3e3 !important;
}

#pageContentDiv .cool-vertical-timeline-body::before {
    background: linear-gradient(to bottom, rgba(230, 230, 230, 0) 0%, #221bd9 10%, #7a1bd9 90%, rgba(230, 230, 230, 0) 100%);
    background-image: linear-gradient(rgba(230, 230, 230, 0) 0%, rgb(34, 27, 217) 10%, rgb(122, 27, 217) 90%, rgba(230, 230, 230, 0) 100%);
} */

/* .post-views, .the_champ_sharing_container, .blog-post-meta {
    padding: 0px 10px;
} */

#archiveHeader {
  font-size: 26px;
  color: #766696;
  font-weight: 900;
}
