/* body{
  background-color: #f2f5f7;
} */
/* Offcanvas */
.index-post-title {
  height: 85px;
  overflow: hidden;
}

.navbar-logo {
  max-width: 200px;
}


/* Thumb Image */
.detail-img-cover {
  width: 90px;
  height: 90px;
  overflow: hidden;

  /* transition: transform .1s;  */
  /* border: 1px solid red; */
}

.detail-img-frame img {
  width: 100%;
  height: 95px;
  object-fit: cover;
  transition: transform .5s;
  overflow: hidden;
  position: relative;
}
.card-img-cover {
  width: 100%;
  height: 200px;
  overflow: hidden;

  /* transition: transform .1s;  */
  /* border: 1px solid red; */
}

.card-img-frame img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .5s;
  overflow: hidden;
  position: relative;
}

.card-img-frame .tag {
  position: absolute;
  top: 160px;
  left: 10px;
}

.card-img-frame:hover img {
  transform: scale(1.2);
}

.content-detail {
  width: 100%;
}
.card-title{
  height: 20px;
  overflow: hidden;
}
/* Frame Image Sidebar */
.sidebar-img-cover {
  width: 100%;
  height: 70px;
  overflow: hidden;

  /* transition: transform .1s;  */
  /* border: 1px solid red; */
}

.sidebar-img-frame img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  transition: transform .5s;
  overflow: hidden;
  position: relative;
}

.sidebar-img-frame:hover img {
  transform: scale(1.2);
}

/* Avatar */
.avatar-img-cover {
  width: 100%;
  height: 100%;
  overflow: hidden;

  /* transition: transform .1s;  */
  /* border: 1px solid red; */
}

.avatar-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
  overflow: hidden;
  position: relative;
}

.avatar-img-frame:hover img {
  transform: scale(1.2);
}

.pull-right:hover {
  padding-left: 10px;
  transition: 0.3s;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

/* Upload Image */
#imagePreview {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: 1px dashed #ddd;
  background-position: center center;
  background-size: cover;
  display: inline-block;

}

#uploadFile {
  display: none
}

/* Footer */

.footer {
  position: relative;
  padding-top: 45px;
  background: #121518;
}

.footer .footer-about,
.footer .footer-contact,
.footer .footer-link,
.footer .footer-newsletter {
  position: relative;
  margin-bottom: 45px;
  color: #cccccc;
}

.footer .footer-about h3,
.footer .footer-contact h3,
.footer .footer-link h3,
.footer .footer-newsletter h3 {
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 10px;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
}

.footer .footer-about h3::after,
.footer .footer-contact h3::after,
.footer .footer-link h3::after,
.footer .footer-newsletter h3::after {
  position: absolute;
  content: "";
  width: 50px;
  height: 2px;
  left: 0;
  bottom: 0;
  background: #ffffff;
}

.footer .footer-about {
  margin-bottom: 0;
}

.footer .footer-contact p {
  margin-bottom: 8px;
}

.footer .footer-contact p i {
  width: 25px;
}

.footer .footer-social {
  position: relative;
  margin-top: 15px;
}

.footer .footer-social a {
  display: inline-block;
}

.footer .footer-social a i {
  margin-right: 15px;
  font-size: 18px;
  color: #cccccc;
}

.footer .footer-social a:last-child i {
  margin: 0;
}

.footer .footer-social a:hover i {
  color: #0085ff;
}

.footer .footer-link a {
  display: inline;
  margin-bottom: 12px;
  color: #cccccc;
  transition: .3s;
}

.footer .footer-link a::before {
  position: relative;
  content: "";
  font-family: "tabler icons";
  font-weight: 900;
  margin-right: 10px;
}

.footer .footer-link a:hover {
  color: #0085ff;
  letter-spacing: 1px;
}

.footer .footer-newsletter .form {
  position: relative;
  width: 100%;
}

.footer .footer-newsletter input {
  height: 50px;
  border: none;
  border-radius: 0;
  background: #000000;
  margin-bottom: 15px;
}

.footer .footer-newsletter .btn {
  display: block;
  width: 100%;
  height: 50px;
  padding: 8px 20px;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  color: #ffffff;
  background: #000000;
  border-radius: 0;
  border: 2px solid #0085ff;
  transition: .3s;
}

.footer .footer-newsletter .btn:hover {
  background: #0085ff;
}

.footer .footer-newsletter .btn:focus {
  box-shadow: none;
}

.footer .footer-menu .f-menu {
  position: relative;
  padding: 10px 0;
  font-size: 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu .f-menu a {
  color: #dddddd;
  font-size: 16px;
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, .3);
}

.footer .footer-menu .f-menu a:hover {
  color: #0085ff;
}

.footer .footer-menu .f-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

.footer .copyright {
  padding: 30px 15px;
}

.footer .copyright p {
  margin: 0;
  color: #dddddd;
}

.footer .copyright .col-md-6:last-child p {
  text-align: right;
}

.footer .copyright p a {
  color: #0085ff;
  font-weight: 500;
  letter-spacing: 1px;
}

.footer .copyright p a:hover {
  color: #ffffff;
}



@media (max-width: 767.98px) {

  .footer .copyright .copy-text,
  .footer .copyright .copy-menu {
    text-align: center;
  }

  .footer .copyright .copy-text p {
    margin-bottom: 5px;
  }

}

.related {
  border-bottom: 1px solid #ccc;
}

.related span {
  font-size: 20px;
  border-bottom: 2px solid #3181e9;
  padding: 6px;
  margin: 0 0 -1px;
  display: inline-block;
}

.bsb-social-media .nav-item {
  margin-right: .8rem
}

.bsb-social-media .nav-link {
  align-items: center;
  background-color: #ddd;
  border-radius: 5px;
  display: flex;
  height: 40px;
  justify-content: center;
  padding: 0;
  transition: background-color .3s ease-in-out;
  width: 40px
}

.bsb-author-2 .bsb-social-media .nav-link:hover {
  background-color: transparent
}

.footer-cols {
  -moz-column-count: 3;
  -moz-column-gap: 20px;
  -webkit-column-count: 3;
  -webkit-column-gap: 20px;
  column-count: 3;
  column-gap: 20px;
}

/* Social */
@media screen and (min-width: 845px) and (max-width: 1044px) {
  .share-social-media {
    width: 100%;
  }

  .btnShare {

    /* padding: 15px; */
    cursor: pointer;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    /* margin-bottom: 15px; */
  }

  .txt-share {
    display: none;
  }

  .footer-cols {
    -moz-column-count: 3;
    -moz-column-gap: 20px;
    -webkit-column-count: 3;
    -webkit-column-gap: 20px;
    column-count: 2;
    column-gap: 20px;
  }

  .index-post-title {
    height: 70px;
    overflow: hidden;
  }

}

@media screen and (max-width: 844px) {
  .share-social-media {
    width: 100%;
  }

  .btnShare {
    /* padding: 15px; */
    cursor: pointer;
    border-radius: 5px;
  }

  .txt-share {
    display: none;
  }

  .footer-cols {
    -moz-column-count: 3;
    -moz-column-gap: 20px;
    -webkit-column-count: 3;
    -webkit-column-gap: 20px;
    column-count: 2;
    column-gap: 20px;
  }

  .index-post-title {
    height: auto;
  }

}

/* Remove Focus Shadow */

*:focus {
  box-shadow: none !important;
}

.nav-active{
  border-bottom: 3px solid #0085ff;
}

/* Upload Image */
/* Upload Image */
#imagePreview {
	width: 100%;
	height: 100%;
	border-radius: 10px;
	border: 1px dashed #ddd;
	background-position: center center;
	background-size: cover;
	display: inline-block;

}

#imagePreview2 {
	width: 100%;
	height: 100%;
	border-radius: 10px;
	border: 1px dashed #ddd;
	background-position: center center;
	background-size: cover;
	display: inline-block;

}

#imagePreview3 {
	width: 100%;
	height: 100%;
	border-radius: 10px;
	border: 1px dashed #ddd;
	background-position: center center;
	background-size: cover;
	display: inline-block;

}

#imagePreview4 {
	width: 100%;
	height: 100%;
	border-radius: 10px;
	border: 1px dashed #ddd;
	background-position: center center;
	background-size: cover;
	display: inline-block;

}

#uploadFile {
	display: none
}

#uploadFile2 {
	display: none
}

#uploadFile3 {
	display: none
}

#uploadFile4 {
	display: none
}

/* Timeline */

.timeline-item {
    padding: 3em 2em 2em;
    position: relative;
    color: rgba(0, 0, 0, 0.7);
    border-left: 2px solid rgba(0, 0, 0, 0.3);
  }
  .timeline-item p {
    font-size: 1rem;
  }
  .timeline-item::before {
    content: attr(date-is);
    position: absolute;
    left: 2em;
    font-weight: bold;
    top: 1em;
    display: block;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 0.785rem;
  }
  .timeline-item::after {
    width: 10px;
    height: 10px;
    display: block;
    top: 1em;
    position: absolute;
    left: -7px;
    border-radius: 10px;
    content: "";
    border: 2px solid rgba(0, 0, 0, 0.3);
    background: white;
  }
  .timeline-item:last-child {
    -o-border-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0)) 1 100%;
       border-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0)) 1 100%;
  }

  /* Timeline Box */

  .box{
    margin:0 2%;
    padding: 10px 0 10px 20px
}

.box ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: relative;
    transition: all 0.5s linear;
    top:0
}

.box ul:last-of-type{top:20px}

.box ul:before{
    content: "";
    display: block;
    width: 0;
    height: 100%;
    border:1px dashed #5e5e5e;
    position: absolute;
    top:0;
    left:30px
}

.box ul li{
    margin: 20px 60px 60px;
    position: relative;
    padding: 10px 20px;
    background:rgba(255, 255, 255, 0.3);
    color:#5a5a5a;
    border-radius: 10px;
    line-height: 20px;
    width: 90%
}


.box ul li > span{
    content: "";
    display: block;
    width: 0;
    height: 100%;
    border:1px solid #525252;
    position: absolute;
    top:0;
    left:-30px
}

.box ul li > span:before,.box ul li > span:after{
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background:#ff6d6d;
    border:2px solid #505050;
    position: absolute;
    left:-7px
}

.box ul li > span:before{top:-10px}
.box ul li > span:after{top:95%}

.box .title{
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px
}

.box .info:first-letter{text-transform: capitalize;line-height: 1.7}

.box .name{
    margin-top: 10px;
    text-transform: capitalize;
    font-style: italic;
    text-align: left;
    margin-right: 20px
}


.box .time span{
    position: absolute;
    left: -100px;
    color:#444444;
    font-size:80%;
    font-weight: bold;
}
.box .time span:first-child{top:-16px}
.box .time span:last-child{top:94%}

/* Timeline New */
 .time-line {
    list-style: none;
    padding-left: 0;
    margin-bottom: 24px;
}
.time-line-item {
      line-height: 0;
      padding-left: 40px;
      padding-bottom: 24px;
      position: relative; }
.time-line-item::before {
        content: "";
        display: block;
        position: absolute;
        height: 100%;
        left: 5px;
        transform: translateX(-50%);
        width: 1px;
        background-color: #f3f3f3; }
.time-line-item::after {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: #979797; }
.time-line-item:nth-child(2n)::after {
        background-color: #0067f6; }
.time-line-item:not(:first-child)::after {
        top: 5px; }
.time-line-item:last-child {
        padding-bottom: 0; }
.time-line-item .badge {
        padding: 6px 10px;
        font-size: 8px;
        font-weight: 500;
        line-height: 1;
        border-radius: 2px;
        margin-bottom: 8px; }
.time-line-item-title {
        font-size: 18px;
        font-weight: 700;
        line-height: 1;
        margin-bottom: 2px; }
.time-line-item-subtitle {
        font-size: 16px;
        font-weight: 500;
        line-height: 1.6;
        color: #a7a7a7;
        margin-bottom: 3px; }
.time-line-item-content {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 0; }


.card-animate {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border-radius: 15px;
            cursor: pointer;
            position: relative;
        }
.card-animate:hover {
    border-radius: 15px;
            transform: translateY(-10px) !important;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;}
/* Custom Navbar */
.navbar {
    padding: 0 !important;
}

.nav-item {
    /* Adjust color as needed */
    padding: 20px 0;
}

.navbar-brand {
    padding: 20px 0;
}

  ul > li.nav-item.active{
    border-bottom: 3px solid #0957ce !important;
  }
  ul > li.nav-item.active:hover{
    border-bottom: 3px solid #0957ce !important;
  }
  ul > li.nav-item{
    border-bottom: solid 0px #0957ce;
  transition: all 0.1s;
  }
  ul > li.nav-item:hover{
    border-width: 3px;
  }

  .hero {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .9)), url('https://img.freepik.com/free-photo/checking-data-laptop_1098-17026.jpg') no-repeat center center/cover;

    max-height: 400px;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: white;
}

.hero-overlay {
    /* position: absolute; */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.hero-content {
    /* position: relative; */
    z-index: 2;
    text-align: center;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.4);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
}

.search-form-container {
    max-width: 100%;
    margin: 0 auto;
}

.search-form {
    background: rgba(255, 255, 255, 0.5);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;

}

.search-form input,
.search-form select,
.search-form button {
    flex: 1 1 auto;
    border-radius: 50px;
    border: 1px #ccc solid;
    padding: 0.8rem 1rem;
}

.search-form input::placeholder {
    color: #888;
}

.search-form button {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    font-weight: bold;
    /* max-width: 200px; */
    transition: all 0.3s ease;
}

.search-form button:hover {
    background: linear-gradient(135deg, #0056b3, #003f7f);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .search-form {
        flex-direction: column;
    }

    .search-form button {
        max-width: 100%;
    }
}

.ui-autocomplete {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    -moz-border-radius: 15px;
    border-radius: 5px;
}

.ui-menu .ui-menu-item .ui-menu-item-wrapper {
    color: #333;
    border-radius: 0px;
    margin: 0;
    padding: 12px 3px 3px 10px;
    border-bottom: 1px solid #ddd;
}

.ui-menu .ui-menu-item .ui-menu-item-wrapper:hover,
.ui-menu .ui-menu-item .ui-menu-item-wrapper.ui-state-active {
    background-color: #ddd;
    border: 0;
    padding: 12px 3px 3px 10px;
    margin: 0;

}
