/****************************** General ******************************/
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Regular.ttf");
  font-weight: regular;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Medium.ttf");
  font-weight: 500;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Bold.ttf");
  font-weight: 700;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Black.ttf");
  font-weight: 900;
}
html {
  overflow-x: hidden;
}
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #313a46;
  overflow-x: hidden;
  font-family: "Roboto", serif;
  background: #ffffff;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #292929;
  font-weight: bold;
}
input {
  color: #292929;
}
input:active,
input:focus,
button:active,
button:focus {
  outline: none;
}
a:hover {
  text-decoration: none;
}
.main_container {
  padding: 0rem 5rem;
  text-align: center;
}
.full_wrap.blur {
  filter: blur(0.8px);
}
.fallinfo_post.blur {
  filter: blur(0.8px);
}
/****************************** FI header ******************************/
header {
  padding: 0.5rem 5rem;
  background: #fff;
  box-shadow: 1px 1px 7px rgba(0, 0, 0, 0.24);
  margin-bottom: 2rem;
}

header .navbar {
  padding: 5px 0px !important;
}

header .title {
  border: 3px solid #313a46;
  background: linear-gradient(90deg, #313a46 48%, #fff 49%);
  border-radius: 3px;
  padding: 2px 10px 0px 10px;
  text-align: center;
  font-size: 1.2rem;
  letter-spacing: 3px;
  font-weight: 900;
  color: rgb(255, 255, 255);
  margin: 0px;
}
header .title .title_1 {
  color: #fff !important;
  cursor: pointer;
  margin: 0px;
}
header .title .title_2 {
  color: #313a46 !important;
  cursor: pointer;
  margin: 0px;
  opacity: 1;
  transform: translate(0px, 0px);
  transition: opacity 0.3s, transform 1s;
}

header .title .title_2.before_load {
  transform: translate(0px, -55px);
  transition: transform 1s;
}
header .title:hover .title_2 {
  opacity: 0;
  transform: translate(0px, -55px);
  transition-property: opacity, transform;
  transition: opacity 0.6s, transform 0s;
  transition-delay: 0s, 0.6s;
}
header .nav_btn {
  border: none;
  margin: 4px 15px;
  padding-bottom: 5px;
  color: rgb(80, 80, 80);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  background: none;
  border: 0px solid rgba(252, 6, 6, 0.01);
  transition: color 0.2s;
}

header .nav_btn:active,
header .nav_btn:focus {
  outline: none;
  box-shadow: none;
}

header .nav_btn.active {
  border-bottom: 3px solid #313a46;
}
header .nav_btn:hover {
  color: #fe2f4d;
}
header .navbar-nav {
  align-items: center;
}
header .navbar-nav .nav-item:first-child .nav_btn {
  margin-left: 0 !important;
}
header img {
  width: 20px;
  margin: 4px 15px;
  cursor: pointer;
}
header .search_posts {
  margin: 4px 0px 4px 15px;
  border-radius: 3px;
  border: 1px solid rgb(212, 212, 212);
  padding: 2px 8px;
  width: 150px;
  transition: 0.1s;
}
header .search_posts:active,
header .search_posts:focus {
  border: 1px solid #313a46;
  transition: 0.1s;
}
header .navbar .navbar-toggler {
  border-radius: 2px;
  opacity: 0.8;
  padding: 0.25rem 0.6rem;
}

header .navbar .navbar-toggler:hover {
  opacity: 1;
}

header .navbar .navbar-toggler-icon {
  background-image: url("../assets/menu-toggler.png");
}
/****************************** Animation ******************************/
.posts .post {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes zoom {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  50% {
    opacity: 1;
  }
}

@keyframes zoom {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  50% {
    opacity: 1;
  }
}

.zoom {
  -webkit-animation-name: zoom;
  animation-name: zoom;
}

.searching {
  font-size: 1rem;
  display: none;
  text-align: left;
  padding-left: 1.4rem;
  padding-top: 0.6rem;
}
.searching .heading {
  font-weight: bold;
}
/****************************** Spinner ******************************/

.loader-wrapper {
  z-index: 999;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.loader {
  display: inline-block;
  width: 30px;
  height: 30px;
  text-align: center;
  position: relative;
  animation: loader 2s infinite ease;
}
.loader img {
  width: 30px;
  height: 30px;
  border: 1px solid grey;
  transform: rotate(180deg);
}
@keyframes loader {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(180deg);
  }
  50% {
    transform: rotate(180deg);
  }
  75% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/****************************** FI post ******************************/
.posts {
  margin: 0px;
}

.posts .post {
  padding: 1.4rem;
}
.posts .wrapper {
  background: rgb(255, 255, 255);
  border: 1px solid rgb(212, 212, 212);
  border-radius: 4px;
  transition: box-shadow 0.2s;
}
.posts .wrapper:hover {
  box-shadow: 0 6px 20px rgba(122, 109, 109, 0.2), 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.15s;
}
.posts .wrapper .header .title {
  color: #313a46;
  transition: color 0.2s;
}

.posts .wrapper .header {
  padding: 1rem 0.6rem 0rem 0.6rem;
  line-height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
  min-height: 5.5rem;
}
.posts .wrapper .image {
  margin: 1rem 0rem;
}
.posts .wrapper .image img {
  width: 75%;
  border-radius: 3px;
  box-shadow: 0 4px 10px rgba(122, 109, 109, 0.3), 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: box-shadow 0.3s;
}

.posts .wrapper .footer_2 {
  width: 100%;
  font-size: 0.8rem;
  display: flex;
  width: 100%;
  align-items: center;
  padding: 1rem;
}
.posts .wrapper .footer_2 img {
  width: 18px;
  margin-bottom: 3px;
}
.posts .wrapper .footer_2 .left {
  width: 100%;
  text-align: left;
}
.posts .wrapper .footer_2 .right {
  width: 100%;
  text-align: right;
}
.posts .wrapper .footer_2 .left svg {
  color: grey;
}
.posts .wrapper .footer_1 {
  width: 100%;
  padding: 0.5rem 0rem 0rem 0rem;
  font-size: 0.8rem;
  width: 100%;
  text-align: center;
}

.posts .wrapper .footer_1 button {
  padding: 0px;
  background: #313a46;
  color: #fff;
  border: none;
  padding: 0px 8px;
  border-radius: 3px;
  margin-left: 1px;
  margin-right: 1px;
  text-transform: capitalize;
}
/****************************** FI pagination ******************************/

.pagination_section {
  width: 80%;
  margin-top: 1.4rem;
  margin-left: auto;
  margin-right: auto;
}
.pagination_section button {
  padding: 5px 10px;
  border: 1px solid rgb(212, 212, 212);
  cursor: pointer;
  background: #fff;
  color: #313a46;
}

.pagination_section .pagination-prev {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  margin-right: -4px;
}
.pagination_section .pagination-next {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  margin-left: -4px;
}
.pagination {
  display: inline-flex;
}
.pagination ul {
}
.pagination li {
  cursor: pointer;
}

.pagination li {
  padding: 5px 15px;
  border: 1px solid rgb(212, 212, 212);
  border-right: 0px solid;
  background: #fff;
}
.pagination li:first-child {
  border-left: 0px solid;
}
.pagination li:hover {
  border-bottom: 1px solid#313a46;
  box-shadow: inset 0px -1px 0px 0px #313a46;
  transition: box-shadow 0.15s;
}
.pagination li.active {
  background: #313a46;
  border-top-color: #313a46;
  border-bottom-color: #313a46;
}
.pagination li a {
  color: #313a46;
}
.pagination li.active a {
  color: #fff;
}
.pagination li.disabled {
  line-height: 16px;
}
.pagination li.disabled:hover {
  cursor: default;
  border-bottom: 1px solid#c7c7c7;
  box-shadow: inset 0px 0px 0px 0px #313a46;
}
.pagination li.disabled:hover a {
  cursor: default;
}
/****************************** FI footer ******************************/
.footer {
  padding: 1.5rem;
  margin-top: 1.8rem;
  border-top: 1px solid rgb(212, 212, 212);
}

.footer .credits {
  font-size: 0.9rem;
  color: #797676;
}
.footer .title {
  color: #313a46;
  cursor: pointer;
  transition: color 0.2s;
}
.footer .title:hover {
  transition: color 0.1s;
  color: #fe2f4d;
}
.footer a {
  color: #313a46;
  margin-right: 5px;
  margin-left: 5px;
  transition: color 0.2s;
}

.footer a:hover {
  color: #fe2f4d;
  transition: color 0.1s;
}
/****************************** FI post view ******************************/
.post_wrap {
  background: #fff;
  border-radius: 3px;
  margin: 1.5rem 3rem 1.5rem 3rem;
}
.post_main,
.side_sec {
  padding: 1.5rem;
}
.post_main .post_img img {
  width: 100%;
  border-radius: 3px;
  box-shadow: 0 4px 10px rgba(122, 109, 109, 0.3), 0 4px 10px rgba(0, 0, 0, 0.2);
}
.post_main .post_title {
  width: 100%;
  text-align: left;
  padding: 2.5rem 2rem;
}
.post_main .post_title h1 {
  font-weight: 700;
  font-size: 1.7rem;
}
.post_main .post_content {
  text-align: left;
  padding: 0rem 2rem;
}
.post_main .text {
  font-size: 1.02rem;
}
.post_main .text.below {
  padding-top: 2rem;
}
.post_main .post_content .heading {
  width: 100%;
  padding-top: 3rem;
}
.post_main .post_content .section:first-child .heading {
  padding-top: 0rem !important;
}

.post_main .post_content .heading span {
  color: #313a46;
  font-weight: 500;
  font-size: 1.4rem;
  transition: color 0.2s;
}
.post_main .post_content .heading a:hover span {
  color: #fe2f4d;
  transition: color 0.1s;
}
.post_main .post_content .heading .no {
  margin-right: 0.5rem;
}
.post_main .post_content .section .break {
  width: 100%;
  height: 0.5rem;
}
.post_main .section .code {
  padding-top: 2rem;
}
.post_main .section .code pre {
  border-radius: 4px;
  margin-bottom: 0rem !important;
}
.post_main .section .cover {
  text-align: center;
  padding-top: 4rem;
}
.post_main .section .cover img {
  width: 85%;
  border-radius: 3px;
}
.post_footer {
  margin: 0px;
  padding: 1rem 1rem;
  border: 1px solid #dfdfdf;
  margin-top: 4rem;
}
.post_footer .sec_left {
  text-align: left;
}
.post_footer .sec_right {
  text-align: right;
}
.post_footer .author {
  display: flex;
  align-items: center;
}
.post_footer img {
  width: 65px;
  margin-right: 0.5rem;
}
.post_footer .author .name {
  font-weight: bold;
}
.post_footer .author .desc {
  font-weight: normal;
  color: grey;
  font-size: 0.9rem;
}

.post_category_top button {
  background: #313a46;
  color: #fff;
  border: none;
  padding: 1px 6px;
  border-radius: 3px;
  text-transform: capitalize;
  font-size: 1rem;
}

.post_footer .elapsed {
  font-size: 0.9rem;
  color: grey;
}
.post_footer .date {
  font-weight: bold;
  color: #313a46;
}
.side_sec .section {
  border: 1px solid #dfdfdf;
  padding: 1rem 0rem 0rem 0rem;
  border-radius: 3px;
  margin-bottom: 4rem;
  margin-left: 1rem;
}
.side_sec .section div.title {
  text-align: center;
  padding-bottom: 1.5rem;
}
.side_sec .section div.title span {
  border-bottom: 2px solid #313a46;
  font-weight: bold;
  padding-bottom: 5px;
}

.side_sec .section .latest .wrapper .image {
  width: 100%;
  text-align: center;
}
.side_sec .section .latest .wrapper .cover_sec {
  width: 100%;
  border-radius: 3px;
}
.side_sec .section .latest .post_latest {
  padding: 0rem 1rem;
}
.side_sec .section .latest .title_div:hover span {
  color: #fe2f4d;
  transition: color 0.1s;
}
.side_sec .section .latest .wrapper {
  border-bottom: 1px solid rgb(214, 214, 214);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
.side_sec .section .latest .wrapper:last-child {
  padding-bottom: 0rem !important;
  margin-bottom: 1rem !important;
  border-bottom: 0px solid rgb(214, 214, 214);
}

.side_sec .section .latest .title_div {
  text-align: left;
  line-height: 18px;
  font-size: 0.9rem;
  color: #313a46;
  font-weight: 500;
  transition: color 0.2s;
  margin-top: 1rem;
}
.side_sec .section .latest .category_div {
  text-align: center;
}
.side_sec .section .latest .category_div button {
  background: #313a46;
  color: #fff;
  border: none;
  padding: 0px 4px;
  border-radius: 3px;
  text-transform: capitalize;
  font-size: 0.8rem;
  margin-top: 0.4rem;
}
/****************************** FI search empty ******************************/
.error_template {
  width: 100%;
  padding-top: 4rem;
  padding-bottom: 8rem;
}
.error_template img {
  width: 400px;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
/****************************** FI mobile nav icon ******************************/
.nav-icon {
  width: 28px;
}

.nav-icon:after,
.nav-icon:before,
.nav-icon div {
  background-color: #313a46;
  border-radius: 3px;
  content: "";
  display: block;
  height: 3px;
  margin: 5px 0;
  transition: all 0.2s ease-in-out;
}

.navbar-toggler-active .nav-icon:before {
  transform: translateY(6px) rotate(135deg);
}

.navbar-toggler-active .nav-icon:after {
  transform: translateY(-10px) rotate(-135deg);
}

.navbar-toggler-active .nav-icon div {
  transform: scale(0);
}

/****************************** FI responisve ******************************/
@media (max-width: 1060px) {
  header {
    padding: 0.5rem 2rem;
    margin-bottom: 1rem;
  }
  .main_container {
    padding: 0rem 2rem;
  }

  .post_wrap {
    margin: 1.5rem 0rem 1.5rem 0rem;
  }
  .navbar {
    flex-wrap: wrap;
  }
  header .nav_btn {
    margin: auto;
  }
  .navbar-collapse {
    width: 100%;
    margin-top: 1rem;
  }
  .navbar-collapse ul {
    width: 100%;
    justify-content: space-around;
  }
  header .title {
    margin-left: 1.4rem !important;
  }
}
@media (max-width: 770px) {
  header {
    padding: 0.5rem 1rem;
  }
  header .title {
    margin-left: 0.5rem !important;
  }
  .main_container {
    padding: 0rem 1rem;
  }
  .posts .post {
    padding: 1.4rem 0.5rem;
  }
  /* post */
  .post_wrap {
    margin: 1.5rem 0rem 1.5rem 0rem;
  }
  .post_main,
  .side_sec {
    padding: 1rem;
  }
  .side_sec .section {
    margin-bottom: 2rem;
  }
  .error_template img {
    width: 300px;
  }
}

@media (max-width: 575px) {
  .posts .wrapper .header {
    min-height: 0rem;
  }
  .main_container {
    padding: 0rem 0.5rem;
  }
  .searching {
    padding-left: 0.5rem;
  }
  header .nav_btn {
    margin-bottom: 0.6rem;
  }
  header .search_posts {
    margin: 4px 0px 4px 0px;
    width: 220px;
  }
  .navbar-collapse {
    padding: 1rem 2rem 1rem 2rem;
    margin: -2rem;
    margin-top: 1rem;
    margin-bottom: 0rem;
  }
  .search_posts,
  .sort_posts {
    background: transparent !important;
  }

  /* post */
  .post_wrap {
    margin: 1rem 0rem 1rem 0rem;
  }
  .post_main,
  .side_sec {
    padding: 0rem;
  }
  .post_main .post_title {
    padding: 1.5rem 0rem;
  }
  .post_main .post_content {
    padding: 0rem 0rem;
  }
  .post_footer .sec_left {
    text-align: left;
    padding: 0;
  }
  .post_footer .sec_right {
    text-align: left;
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
  }
  .post_footer .sec_right .date {
    order: 2;
  }
  .post_footer .sec_right .elapsed {
    order: 1;
  }

  .side_sec .section:first-child {
    margin-top: 4rem;
  }
  .error_template {
    padding-top: 1rem;
    padding-bottom: 8rem;
  }
  .error_template img {
    width: 300px;
  }

  .post_main .section .cover img {
    width: 100%;
  }

  .side_sec .section {
    margin-left: 0;
  }
}

@media (max-width: 360px) {
  .pagination_section {
    width: 100%;
  }
}
/* *************************************************** */

/* *************************************** */
