/*
  vendor.css
  ----------
  এটি আগের এই তিনটা external <link> এর replacement:
    https://dinajpurzillaschool.edu.bd/croogo/core/css/style.css
    https://dinajpurzillaschool.edu.bd/croogo/core/css/gallery.css
    https://dinajpurzillaschool.edu.bd/croogo/core/css/theme.min.css

  পুরো ফাইল কপি না করে, আপনার HTML-এ আসলে যেসব ক্লাস ব্যবহৃত হয়েছে
  শুধু সেগুলোর দরকারি রুলস এখানে রাখা হয়েছে। বাকিটা components.css/
  base.css/layout.css/utilities.css ইতিমধ্যে কভার করছে।
*/

/* ---------- Fixed header / top bar ---------- */
.fixedHdr {
  width: 100%;
  padding: 0;
  background: #000;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 15;
  border-bottom: .4em solid #ed1c24;
}

.fixedHdr.not_fixed {
  position: absolute;
}

.fx_hdr_wrap {
  width: 100%;
  padding: 0 5%;
  overflow: hidden;
  position: absolute;
  left: 0;
  bottom: -2.093em;
}

.fright {
  float: right;
}

/* মন্তব্য / সাইন আপ / লগ ইন বাটন */
.btn1,
.btn2 {
  padding: .118em 10px .353em 10px;
  margin: 0 0 0 4px;
  font-size: .9em;
  line-height: 1.498em;
  float: left;
  color: #fff;
  background: #ed1c24;
  position: relative;
}

.btn1:hover,
.btn2:hover {
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

/* toggle হওয়া ফর্ম কনটেইনার (মন্তব্য/লগইন/সাইনআপ) */
.fxdFormCon form {
  padding: 1em 3% 1.7em;
  width: 70%;
  margin: 0 auto;
  overflow: hidden;
  display: none;
}

/* সাবমিট বাটন (মন্তব্য ফর্মে "পাঠান") */
.subbtn2 {
  border: 1px solid #a88b80;
  color: floralwhite;
  text-align: center;
  cursor: pointer;
  background-color: #be9f94;
  background-image: linear-gradient(to bottom, #be9f94 0%, #a88b80 100%);
  background-repeat: no-repeat;
  box-sizing: border-box;
}

.subbtn2:hover {
  background-image: linear-gradient(to bottom, #a88b80 0%, #be9f94 100%);
}

/* ক্যারেট আইকন ঘোরানো (মেনু টগল বাটনে) */
.rotate {
  transition: transform 0.3s ease-in-out;
}

.rotate.rotated {
  transform: rotate(180deg);
}

/* ---------- Banner ---------- */
.custom_banner_bg {
  position: relative;
  top: 20px;
}

.custom_banner_bg > div > div.col-md-7 > img {
  margin-top: 8px;
  width: 75%;
}

.logo100 {
  width: 100% !important;
}

/* ---------- Social icons ---------- */
#social {
  display: flex;
  justify-content: end;
}

@media screen and (max-width: 768px) {
  #social {
    justify-content: center;
  }
}

.circle_social {
  float: left;
  margin-top: 63px;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  color: #fff;
  vertical-align: middle;
  text-align: center;
  padding-top: 4px;
  font-size: 1.5em !important;
}

.facebook {
  background-color: #008ad3 !important;
  transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
  position: relative;
}

.facebook:hover {
  color: #008ad3 !important;
  background-color: #fff !important;
  transform: scale(1.25);
}

.youtube {
  background-color: #d7001f !important;
  transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
  position: relative;
}

.youtube:hover {
  color: #d7001f !important;
  background-color: #fff !important;
  transform: scale(1.25);
}

#search {
  margin-top: 60px;
}

/* ---------- Sidebar accordion headers ---------- */
/* (গ্রেডিয়েন্ট আলাদাভাবে ইনলাইন <style>-এ override করা আছে,
   এখানে শুধু বেস প্যাডিং/কালার/শ্যাডো রাখা হলো) */
.accordianIn h6,
.sidebarComn h6 {
  padding: 0 35px 0 7px;
  font-size: 1em;
  line-height: 31px;
  margin-bottom: 0;
  color: #fff;
  text-shadow: 1px 1px 0 #5C6907;
  font-weight: 400;
  text-align: left;
  background-repeat: no-repeat;
  position: relative;
}

.sidebarComn {
  margin: .8em 0 0;
}

.sidebarComn h6 {
  padding: 0 8px 0;
  font-size: 1.1em;
  line-height: 1.6em;
  background-color: #5C6907;
  background-image: linear-gradient(to bottom, #237cf0 0%, #10097E 100%);
  z-index: 1;
  text-shadow: 1px 1px 0 #000;
}

.block-body {
  padding-bottom: 15px;
}

/* ---------- Sidebar lists (নোটিশ, ক্লাস রুটিন, সিলেবাস, পরিক্ষার রুটিন, রেজাল্ট) ---------- */
.sidebar_area {
  font-size: 20px;
  border-left: 1px solid #d5d5d5;
  border-right: 1px solid #d5d5d5;
  border-radius: 2px;
  background-color: #fff;
}

.sidebar {
  font-size: 16px;
  list-style: none;
  padding-left: 10px;
  margin: -40px;
  margin-right: 10px;
  margin-top: 3px;
  margin-bottom: 4px;
  min-height: 50px;
  line-height: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid;
  border-image: linear-gradient(90deg, rgba(60, 74, 83, 0), rgba(60, 74, 83, .9), rgba(5, 5, 5, 0)) 1;
}

li.sidebar {
  list-style: none;
}

.sidebar > a {
  color: #000;
}

.sidebar > a:hover {
  color: #f19700;
}

.sidebar_left {
  color: #a78a7f;
  border-radius: 5px;
  background-color: #e7e7e7;
  text-align: center;
  float: left;
  margin-right: 10px;
  width: 75px !important;
  height: 45px !important;
  font-weight: 600;
}

.sidebar_left:hover {
  color: #a78a7f;
}

.date_top {
  color: #fff;
  border-radius: 5px 5px 0 0;
  background-color: #248bbb;
  display: block;
  font-size: 11px;
  text-align: center;
}

.date_top:hover {
  background-color: #3cf;
}

.node-list > ul > li:nth-child(1) {
  margin-top: 10px;
}

/* ---------- Node content (প্রধান শিক্ষকের বাণী, স্কুল ইতিহাস ইত্যাদি) ---------- */
.node-excerpt {
  margin: 5px;
  padding: 20px;
  text-align: justify;
  background-color: rgb(251, 251, 251);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, .2), 0 6px 20px 0 rgba(0, 0, 0, .19);
  border-top: 4px solid rgb(17, 128, 192);
  margin-top: 10px !important;
  font-family: 'Noto Sans Bengali', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.node-body {
  padding: 20px;
  text-align: justify;
  margin-top: 10px !important;
  font-family: 'Noto Sans Bengali', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.node-excerpt.my-2 > div > a {
  display: none;
}

/* ---------- Map / clock ---------- */
.map_img {
  border: 1px solid #E3E5E7;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.clock_body {
  background-color: #222;
  display: flex;
  justify-content: center;
}

/* ---------- Gallery page (gallery.css থেকে) ---------- */
.wrapper {
  margin-top: 3em;
}

.img_area {
  height: 81px;
  width: 144px;
  position: relative;
  box-shadow: 1px 1px 3px #000;
  border: 3px solid #fff;
  background-size: cover;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery_area {
  width: 100%;
  margin: 1em 0;
  min-height: 280px;
  box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
  border: 1px solid #fff;
  background: linear-gradient(#fff, #dfdfdd);
}

.gallery_link_title {
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  color: #515151;
}

.description {
  padding: 0 5px;
}