/*
Theme Name: UB2019
Theme URI: https://www.uedbox.com
Author: hackgyj
Author URI: https://www.uedbox.com
Description: 2019 themes,2024更新版
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, blue, gray, pink, purple, white, yellow, dark, light, two-columns, left-sidebar, fixed-layout, responsive-layout, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: UB2019
Version: 2.0

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

body {
  font: 400 1em/1.8 "Microsoft Yahei", "PingFang SC", "Avenir", "Segoe UI",
    "Hiragino Sans GB", STHeiti, "Microsoft Sans Serif", "WenQuanYi Micro Hei",
    sans-serif;
}

@media (max-width: 1200px) {
  .post h1,
  .h1 {
    font-size: calc(1.375rem + 1.5vw);
  }

  .post h2,
  .h2 {
    font-size: calc(1.325rem + 0.9vw);
  }

  .post h3,
  .h3 {
    font-size: calc(1.3rem + 0.6vw);
  }

  .post h4,
  .h4 {
    font-size: calc(1.275rem + 0.3vw);
  }

  .display-1 {
    font-size: calc(1.725rem + 5.7vw);
  }

  .display-2 {
    font-size: calc(1.675rem + 5.1vw);
  }

  .display-3 {
    font-size: calc(1.575rem + 3.9vw);
  }

  .display-4 {
    font-size: calc(1.475rem + 2.7vw);
  }

  .close {
    font-size: calc(1.275rem + 0.3vw);
  }

  .posts img {
    width: initial !important;
    max-width: 100% !important;
    height: initial !important;
    max-height: 100% !important;
  }
}

.logo_strong_img {
  height: 28px;
}
.ft_logo_img {
  height: 20px;
}

.post img {
  max-width: 100%;
  /*    border: 1px dashed #a6a6a6;
    padding: 8px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;*/
}

figure > img {
  width: auto;
  height: auto;
}

@media (min-width: 1200px) {
  .post h2 {
    font-size: 1.95rem;
  }
  .post h3 {
    font-size: 1.75rem;
  }
  .post-body h3 {
    font-size: 1.35rem;
  }
}

.post h2 {
  padding-bottom: 12px;
  margin-bottom: 12px;
  padding-top: 20px;
}

.post-body h3 {
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
  margin-bottom: 12px;
  padding-top: 5px;
}

.fdb-block {
  padding: 5rem 0;
  border-bottom: 1px solid var(--light);
}

.navbar-color {
  background-color: rgba(255, 255, 255, 0.97);
  -webkit-box-shadow: 0 0.3125rem 0.3125rem -0.3125rem rgb(0 0 0 / 12%);
  -moz-box-shadow: 0 0.3125rem 0.3125rem -0.3125rem rgba(0, 0, 0, 0.117);
  box-shadow: 0 0.3125rem 0.3125rem -0.3125rem rgb(0 0 0 / 12%);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.06);
}

#navigator {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--light);
}

#navigator .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

@media (max-width: 720px) {
  #navigator {
    border-bottom: 1px solid var(--light);
  }
}

#navigator a {
  font-size: 16px;
}

#navigator + header {
  padding: 250px 0;
}

.dropdown:hover > .dropdown-menu {
  display: block;
  margin-top: 0;
}

.dropdown > .dropdown-toggle:active {
  /*必须添加，否则点击吸顶*/
  pointer-events: none;
}

.wp-block-quote {
  font-style: italic;
  background: url(dist/images/quote.svg) top 0 left no-repeat;
  background-size: 3%;
  padding-left: 5%;
  padding-top: 0;
  border: none;
}

.wp-block-image figcaption {
  text-align: center;
}

/* .external {
  padding-right: 18px;
  background: url(dist/images/external.png) no-repeat right top;
} */

.external {
  padding-right: 25px;
  background: url(dist/images/arrow_linkout.svg) no-repeat right top;
}

.movie_info ul li {
  padding: 4px 0;
}

p {
  color: #333 !important;
}

p.lead {
  color: #8892a0 !important;
}

.form-navbar {
  position: relative;
}

.form-navbar:before {
  position: absolute;
  left: 8px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  color: #cccccc;
}

.form-navbar:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f002";
}

@media (min-width: 992px) {
  .form-navbar:before {
    z-index: 1;
  }

  .form-navbar .form-control,
  .form-navbar .input-text {
    position: relative;
    z-index: 10;
    width: 30px;
    background: transparent !important;
    padding-right: 0;
  }

  .form-navbar .form-control:focus,
  .form-navbar .input-text:focus {
    width: 260px;
    padding-right: 0.75rem;
  }
}

@media (max-width: 991px) {
  .form-navbar .form-control,
  .form-navbar .input-text {
    width: 100%;
    display: block;
    background: #edf0f5;
  }
}

.form-navbar .form-control,
.form-navbar .input-text {
  border-color: #edf0f5;
  padding-left: 30px;
  height: 35px;
  -webkit-transition: 250ms;
  transition: 250ms;
}

.navbar-light .nav-item.active .nav-link,
.navbar-light .nav-item .nav-link:active,
.navbar-light .nav-item .nav-link:focus,
.navbar-light .nav-item:hover .nav-link {
  color: #395697;
}

.post-body {
  background-image: linear-gradient(
      90deg,
      rgba(60, 10, 30, 0.04) 3%,
      transparent 0
    ),
    linear-gradient(1turn, rgba(60, 10, 30, 0.04) 3%, transparent 0);
  background-size: 20px 20px !important;
  background-position: 50% !important;
  background-repeat: repeat !important;
}

.post table {
  border-spacing: 0;
  /*display: block;*/
  overflow: auto;
  word-break: normal;
  word-break: keep-all;
}

.posts a {
  display: inline-block;
  font-weight: 500;
  outline: none !important;
  text-decoration: none !important;
  position: relative;
  border-bottom: 0.0625rem dashed #eee;
}

.posts a:hover,
.posts a:focus,
.posts a:active {
  text-decoration: underline;
  outline: 0;
}

.posts a:after {
  position: absolute;
  bottom: -0.0625rem;
  left: 100%;
  width: 0;
  border-bottom: 0.0625rem solid #395697;
  content: "";
  -webkit-transition: width 350ms, left 350ms;
  -moz-transition: width 350ms, left 350ms;
  -ms-transition: width 350ms, left 350ms;
  -o-transition: width 350ms, left 350ms;
  transition: width 350ms, left 350ms;
}

.posts a:hover:after {
  left: 0;
  width: 100%;
  -webkit-transition: width 350ms;
  -moz-transition: width 350ms;
  -ms-transition: width 350ms;
  -o-transition: width 350ms;
  transition: width 350ms;
}

.dropdown-menu {
  box-shadow: 0 0.0625rem 0.3125rem 0.0625rem rgb(0 0 0 / 12%);
  border: none;
}

table {
  width: 100%;
  margin-bottom: 1rem;
  color: #212529;
}

thead,
tbody {
  width: 100%;
  display: table-header-group;
}

tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.05);
}

table td,
table th {
  padding: 0.75rem;
  border-top: 1px solid #dee2e6;
}

.img_filter_gray {
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
  -webkit-filter: grayscale(1);
}

.maxLine2,
.maxline .list-unstyled a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.otherAnimation {
  display: block;
  position: relative;
  /* overflow: hidden; */
  /* cursor: pointer; */
  overflow: visible;

  /* -webkit-transition: -webkit-box-shadow 0.35s;
  transition: -webkit-box-shadow 0.35s;
  transition: box-shadow 0.35s;
  transition: box-shadow 0.35s, -webkit-box-shadow 0.35s;
  -o-transition: box-shadow 0.35s; */
}
/* .otherAnimation:hover {
  -webkit-transform: translateY(-3px);
  -ms-transform: translateY(-3px);
  transform: translateY(-3px);
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
  -webkit-box-shadow: 0 4px 20px 0 rgba(0, 22, 100, 0.2);
  box-shadow: 0 4px 20px 0 rgba(0, 22, 100, 0.2);
} */
.otherAnimation a:hover {
  text-decoration: none;
}
.otherAnimation img {
  transition: transform 300ms;
  transform-origin: 50% 50%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  object-fit: cover;
  object-position: 100% 0;
  border-radius: 12px;
  border-width: 0;
  box-shadow: 0 1px 2px 0 rgb(60 64 67 / 30%), 0 1px 3px 1px rgb(60 64 67 / 15%);
  width: 100%;
}
.otherAnimation:hover img,
.otherAnimation:focus img {
  -webkit-transform: scale(1.04);
  transform: scale(1.04);
}
