/*
    Theme Name: Tiefti
    Author: The Tiefti Team
    Author URI: https://github.com/adiysfr | https://github.com/peron17
    Description: Special template for Windi Berlianti's Blog
    Version: 1.0
    Requires PHP: 7.0

*/
:root {
  --blue: #1d6aad;
  --darker-green: #059703;
  --green-hover: #06a803;
  --grey: #777777;
  --white: rgba(255, 255, 255, 1);
  --opacity-white: rgba(255, 255, 255, .75);
  --dark-blue: rgba(11, 32, 53, .9);
  --opacity-dark-blue: rgba(11, 32, 53, .6);
  --menu-bold: 500;
}

body {
  font-family: "Open Sans", sans-serif !important;
  line-height: 1.3;
  overflow-x: hidden;
}

/* footer */
footer {
  background-color: var(--dark-blue);
}
@media (max-width: 575px) {
  footer {
    height: 100vh;
  }
}

.footer {
  width: 100%;
  padding: 3.75rem 0 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto auto auto;
  color: var(--white);
}
@media (max-width: 767px) {
  .footer {
    grid-template-columns: auto;
  }
}
.footer .address {
  font-size: 0.875rem;
}
.footer .address .footer-site-brand {
  width: 250px;
  display: block;
}
@media (max-width: 767px) {
  .footer .address .footer-site-brand img {
    width: 100%;
  }
}
.footer .address .footer-site-brand img {
  width: 70%;
}
.footer .address a {
  color: #ffffff;
  text-decoration: none;
}
.footer .address a:hover {
  text-decoration: underline;
}
.footer ul.footer-nav {
  margin: 0;
  padding: 0;
}
.footer ul.footer-nav li {
  font-size: 16px;
  list-style: none;
}
.footer ul.footer-nav li a.nav-link {
  padding: 0 0 12px;
  color: var(--white);
  font-weight: 400;
  font-size: 14px;
}
.footer .socmed ul {
  padding: 0;
  margin: 0;
}
.footer .socmed li {
  list-style: none;
  display: inline;
  text-align: right;
}
@media (max-width: 767px) {
  .footer #footer-left {
    margin-bottom: 1rem;
  }
  .footer #footer-right .widget,
.footer #footer-right .footer-menu {
    margin-bottom: 2rem;
  }
}

.footer-copy {
  padding: 2rem 0 1rem;
}
.footer-copy p {
  text-align: center;
  margin: 0 auto;
  padding-top: 1rem;
  color: var(--white);
  font-size: 0.875rem;
  max-width: 400px;
  border-top: 1px solid #1d3750;
}

.wp-block-social-links {
  justify-content: flex-end;
}
@media (max-width: 767px) {
  .wp-block-social-links {
    justify-content: flex-start;
  }
}

footer #footer-box-1 {
  color: white;
  width: 35%;
}
@media (max-width: 767px) {
  footer #footer-box-1 {
    width: 100%;
  }
}

#footer-box-1 a {
  color: #1d6aad !important;
}

footer #footer-box-2 {
  color: white;
  width: 25%;
}
@media (max-width: 767px) {
  footer #footer-box-2 {
    width: 100%;
  }
}
@media (max-width: 767px) {
  footer #footer-box-2 ul {
    padding-left: 0;
  }
}

footer #footer-box-2 ul li {
  list-style: none;
  margin-bottom: 10px;
}
footer #footer-box-2 ul li a {
  color: white !important;
  font-weight: 600;
}

footer #footer-box-3 {
  color: white;
  width: 25%;
}
@media (max-width: 767px) {
  footer #footer-box-3 {
    width: 100%;
  }
}

footer #footer-box-3 img {
  cursor: pointer;
}

footer #footer-box-3 p {
  text-align: right;
}
@media (max-width: 767px) {
  footer #footer-box-3 p {
    text-align: center;
  }
}

footer #footer-box-3 ul {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  padding: 0;
}
@media (max-width: 767px) {
  footer #footer-box-3 ul {
    justify-content: center;
  }
}

footer #footer-box-3 ul li {
  list-style: none;
  margin: 0 10px;
}

footer #footer-box-4 {
  color: white;
  width: 100%;
}

footer #footer-box-4 p {
  text-align: center;
  border-top: #114c86 1px solid;
  padding: 25px 10px;
  width: 35%;
  margin: auto;
}
@media (max-width: 767px) {
  footer #footer-box-4 p {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .footer-menu ul li {
    text-align: left !important;
  }
}
.navbar {
  width: 100%;
  height: 80px;
  left: 0;
  position: fixed !important;
  padding: 10px 80px !important;
  z-index: 99;
  transition: all ease-in-out 0.3s;
}
@media (max-width: 991px) {
  .navbar-nav {
    text-align: center;
  }
  .navbar-nav li {
    border-bottom: 1px solid #2f3556;
  }
  .navbar form {
    justify-content: center;
  }
}
@media (max-width: 767px) {
  .navbar {
    padding: 5px 20px !important;
  }
}

@media (max-width: 991px) {
  .navbar-collapse {
    margin: 15px -25px;
    padding: 20px;
    background: #1d2137;
    border-radius: 0 0 15px 15px;
  }
}

.nav-item a {
  font-size: 18px;
  font-weight: var(--menu-bold);
}

body.home .nav-item .active a {
  color: var(--white) !important;
  font-weight: var(--menu-bold) !important;
}
body.home .nav-item a:hover {
  color: var(--white) !important;
  transition: all ease-in-out 0.3s;
  font-weight: var(--menu-bold) !important;
}
body.home .navbar-light .navbar-nav .nav-link {
  color: var(--opacity-white);
  font-weight: var(--menu-bold);
}
body.home #btn-search {
  filter: invert(0) opacity(0.65);
}
body.home #btn-search:hover {
  filter: invert(0) opacity(0.9) !important;
}

.nav-item a:hover {
  color: rgba(11, 32, 53, 0.9) !important;
  transition: all ease-in-out 0.3s;
  font-weight: var(--menu-bold) !important;
}

a.navbar-brand {
  color: #ffffff !important;
  font-weight: 400;
  font-size: 1.3rem;
}
@media (max-width: 767px) {
  a.navbar-brand {
    font-size: 16px;
  }
}

a.navbar-brand span {
  font-weight: var(--menu-bold);
}

.navbar-brand {
  width: 250px;
  height: 60px;
  display: flex !important;
  align-items: center;
}
@media (max-width: 767px) {
  .navbar-brand {
    width: 170px;
  }
}
.navbar-brand img {
  width: 100%;
}

@media (max-width: 991px) {
  .navbar-light .navbar-nav .nav-link {
    color: white !important;
  }

  .navbar-light .navbar-toggler {
    border-color: #2c52a3 !important;
  }
  .navbar-light .navbar-toggler span {
    filter: invert(25%) sepia(95%) saturate(745%) hue-rotate(193deg) brightness(96%) contrast(96%);
  }
}
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0.7rem;
    padding-left: 0.7rem;
  }
}
#btnModalSeacrh {
  backdrop-filter: blur(6px);
  background: linear-gradient(90deg rgba(4, 20, 36, 0.52) 37.64%, rgba(11, 32, 53, 0.68) 60.69%);
}
@media (max-width: 575px) {
  #btnModalSeacrh {
    max-width: 100%;
  }
}
@media (min-width: 576px) {
  #btnModalSeacrh .modal-dialog {
    max-width: 576px;
  }
}
#btnModalSeacrh .modal-header {
  border: none;
}
#btnModalSeacrh .modal-header button {
  margin: 0 auto;
  border-radius: 30px;
  background: white;
  padding: 5px 12px;
}
#btnModalSeacrh .modal-header button span {
  font-size: 35px;
}
#btnModalSeacrh .modal-content {
  background: transparent;
  border: none;
}
#btnModalSeacrh .modal-body input {
  width: 85%;
  margin-right: 20px;
  border-radius: 20px;
  height: 40px;
  border: none;
  padding: 0 20px;
}
@media (max-width: 767px) {
  #btnModalSeacrh .modal-body input {
    margin: 0;
  }
}
#btnModalSeacrh .modal-body button {
  display: block;
  border-radius: 30px;
  width: 225px;
  height: 40px;
  font-size: 20px;
  font-weight: 500;
  background: #06a803;
  color: white;
  border: none;
  transition: all ease-in-out 0.3s;
}
#btnModalSeacrh .modal-body button:hover {
  background: #10ba0d;
}
#btnModalSeacrh .modal-body button span {
  font-size: 40px;
}
@media (max-width: 767px) {
  #btnModalSeacrh .modal-body form {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

.navbar-light .navbar-nav .nav-link {
  color: var(--opacity-dark-blue);
  font-weight: var(--menu-bold);
}

.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show > .nav-link {
  color: var(--dark-blue);
}

.scrolled .nav-item a:hover {
  color: var(--white) !important;
  font-weight: var(--menu-bold);
}

#btn-search {
  cursor: pointer;
  filter: invert(1) opacity(60%);
}
@media (max-width: 991px) {
  #btn-search {
    filter: unset !important;
  }
}
#btn-search:hover {
  transition: all ease-in-out 0.3s;
  filter: opacity(1) sepia(100%) saturate(751%) hue-rotate(177deg) brightness(70%) contrast(50%) !important;
}

.widget li {
  display: block;
  padding: 0;
  margin: 0;
}

.section-title {
  margin-bottom: 3rem;
  font-weight: 600;
  font-size: 3.8rem;
}
@media (max-width: 767px) {
  .section-title {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }
}

.post-date {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--grey);
}

section.content {
  padding-top: 8rem;
  padding-bottom: 8rem;
}
@media (max-width: 767px) {
  section.content {
    padding: 6rem 0 2rem;
  }
}

section.content-single {
  padding-top: 6rem;
  padding-bottom: 8rem;
}

.card-item {
  transition: all ease-in-out 0.3s;
  padding: 20px 20px 0 !important;
}
.card-item:hover {
  transform: scale(1.02);
}
.card-item a {
  color: unset;
}
.card-item a:hover {
  color: unset;
  text-decoration: none;
}
.card-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}
.card-item div h3 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  max-height: 70px;
  padding-top: 10px;
  overflow-y: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 1200px) {
  .card-item div h3 {
    font-size: 22px;
  }
}
@media (max-width: 767px) {
  .card-item div h3 {
    font-size: 18px;
    max-height: 60px;
  }
}
.card-item div p {
  font-size: 16px;
}

.pagination {
  display: flex;
  width: 100%;
  justify-content: flex-end;
}
.pagination a {
  color: unset;
}
.pagination a:hover {
  color: unset;
  text-decoration: none;
}
@media (max-width: 767px) {
  .pagination {
    padding-right: 20px;
  }
  .pagination img {
    width: 20px;
  }
}

.container-sm {
  max-width: 760px !important;
}

span.pages {
  padding: 6px 12px;
  margin-right: 4px;
}

span.current {
  padding: 6px 12px;
  border: 1px solid var(--dark-blue);
  background-color: var(--dark-blue);
  color: #ffffff;
}

a.page.larger {
  padding: 6px 12px;
}

a.nextpostslink {
  padding: 6px 12px;
}

a.previouspostslink {
  padding: 6px 12px;
}

a.page.smaller {
  padding: 6px 12px;
}

#posts-not-found {
  background-color: #f6fcfd;
}
#posts-not-found img {
  object-fit: cover;
  object-position: center;
}
@media (max-width: 1920px) {
  #posts-not-found img {
    width: 480px;
    height: 340px;
    margin-bottom: 1rem;
  }
}
#posts-not-found h1 {
  text-align: center;
  font-size: 3rem;
  font-weight: 500;
  color: #415a62;
  letter-spacing: -1px;
}
#posts-not-found p {
  text-align: center;
  font-size: 1.5rem;
  color: #415a62;
  font-weight: 400;
}

.wp-block-image figcaption {
  margin-top: 0.5em;
  margin-bottom: 1.5em;
  text-align: center;
}

.wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wp-block-embed figcaption {
  margin-top: 0.5em;
  margin-bottom: 1.5em;
  text-align: center;
}

.wp-block-quote {
  padding: 60px 80px 40px;
  position: relative;
}
.wp-block-quote::after {
  content: "";
  top: 20px;
  left: 50%;
  margin-left: -100px;
  position: absolute;
  border-bottom: 3px solid #bf0024;
  height: 3px;
  width: 200px;
}
.wp-block-quote::before {
  content: "";
  bottom: 10px;
  left: 50%;
  margin-left: -100px;
  position: absolute;
  border-bottom: 3px solid #bf0024;
  height: 3px;
  width: 200px;
}

.wp-block-quote p {
  font-size: 1.6rem !important;
  font-weight: 500 !important;
  text-align: center;
}

.wp-block-quote cite {
  text-align: center;
  display: block;
}

#accordion button {
  text-decoration: none;
  width: 100%;
  text-align: left;
  color: unset;
  font-weight: 600;
}
#accordion button:focus, #accordion button:hover {
  color: unset;
  outline: none;
  box-shadow: none;
}