@import "common.css";
html {
  font-size: var(--text-m);
}
body {
  background-color: #ffffff;
  height: 100vh;
  overflow-y: scroll;
}
header {
  margin: auto;
  z-index: 3;
  background-color: white;
  background-image: url(../assets/images/header.jpg);
  background-position: center;
  background-size: cover;
}
header .logo {
  flex: min-content;
  display: flex;
  align-items: center;
  white-space: nowrap;
  height: 100%;
  max-width: 280px;
  padding: 15px 10px;
}
header .logo img {
  height: 120px;
}
header .logo .text {
  padding: 10px;
  display: flex;
  align-items: center;
  height: 90px;
}
header .logo h1 {
  padding: 0px 10px;
  color: white;
  font-weight: normal;
  text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.5);
}
header .logo h1.en {
  font-size: 35px;
  line-height: 15px;
  margin-top: 0px;
  font-weight: bold;
  text-transform: uppercase;
}
header .logo h1.bn {
  font-family: Niladri Moitree;
  font-size: 85px;
  line-height: 65px;
  margin-top: 10px;
}
header .right-tool {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  white-space: nowrap;
  position: absolute;
  right: 0;
  top: 0;
}
header .right-tool ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  white-space: nowrap;
  padding: 0px !important;
}
header .right-tool ul li {
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
}
header .right-tool ul li.fill {
  border-radius: 0 0 25px 25px;
  background-color: var(--color-acent);
}
header .right-tool ul li a {
  padding: 10px 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
header .right-tool ul li a i {
  margin-right: 5px;
  font-size: 18px;
  color: white;
}
header .right-tool ul li a span {
  font-weight: 500;
  letter-spacing: 0.2px;
  font-family: var(--font-curshive);
  color: white;
  font-size: 15px;
}
header .right-tool ul li:hover,
header .right-tool ul li.active {
  cursor: pointer;
}
header .right-tool ul li:hover a i,
header .right-tool ul li.active a i {
  color: white;
}
header .right-tool ul li:hover a span,
header .right-tool ul li.active a span {
  color: white;
}
header .right-tool ul li.nav-button {
  display: none;
}
.menu {
  background-color: var(--color-acent);
  
}
.menu > nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  white-space: nowrap;
  padding: 0 10px;
}
.menu > nav > ul.main {
  list-style: none;
  display: flex;
  justify-content: flex-start;
  white-space: nowrap;
  padding: 0 !important;
  flex-wrap:wrap;
}
.menu > nav > ul.main > li {
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.menu > nav > ul.main > li > a {
  padding: 14px 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu > nav > ul.main > li > a > span {
  font-weight: 500;
  letter-spacing: 0.2px;
  font-family: var(--font-curshive);
  color: var(--color-white);
}
.menu > nav > ul.main > li > a > i:nth-last-child(1) {
  display: none;
}
.menu > nav > ul.main > li:hover,
.menu > nav > ul.main > li.active {
  cursor: pointer;
  background-color: var(--color-primary);
}
.menu > nav > ul.main > li:hover > ul,
.menu > nav > ul.main > li.active > ul {
  visibility: visible;
  opacity: 1;
  top: calc(100% + 0px);
}
.menu nav ul.main > li > ul {
  position: absolute;
  background-color: var(--color-primary);
  z-index: 5;
  display: flex;
  flex-direction: column;
  min-width: 150px;
  padding: 10px 0 !important;
  transition: 0.15s;
  visibility: collapse;
  opacity: 0;
  top: 100px;
}
.menu nav ul.main > li > ul li {
  position: relative;
  display: block;
  width: 100%;
}
.menu nav ul.main > li > ul li a {
  display: block;
  text-decoration: none;
  padding: 5px 8px;
  color: white;
}
.menu nav ul.main > li > ul li ul {
  position: absolute;
  top: 0;
  left: 100%;
  background-color: var(--color-primary);
  display: none;
  margin-left: 0;
  padding-left: 0;
}
.menu nav ul.main > li > ul li:hover {
  background-color: blue;
}
.menu nav ul.main > li > ul li:hover > ul {
  display: block;
}
.home-slider {
  display: grid;
  grid-template-columns: 240px calc(100% - 470px) 210px;
  grid-template-rows: 150px 150px;
  grid-gap: 10px;
}

.home-slider-item {
  height: 100%;
  background-size: cover;
  background-position: center;
}
.home-slider-item:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / span 2;
  height: 100%;
}
.home-slider-item:nth-child(2) {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.home-slider-item:nth-child(3) {
  grid-column: 3;
  grid-row: 1 / span 2;
}
.home-slider-item h3 {
  font-weight: 400;
  font-style: italic;
}
.home-slider .main-slider {
  width: 100%;
  height: 100%;
}
.home-slider .main-slider .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  background-size: cover;
  background-position: center;
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}
.home-slider .news-panel {
  height: 100%;
  background-color: #E5E5E5;
}
.home-slider .news-panel h3 {
  height: 45px;
  display: flex;
  align-items: center;
}
.home-slider .news-panel .slider {
  height: calc(100% - 45px);
  position: relative;
}
.home-slider .news-panel .slider .wrapper {
  overflow-x: hidden;
  overflow-y: hidden;
  height: 100%;
  width: 100%;
  min-width: 100%;
  scroll-behavior: smooth;
  transition: 0.15s ease-in-out;
  scrollbar-track-color: transparent;
  scrollbar-arrow-color: transparent;
}
.home-slider .news-panel .slider .wrapper::-webkit-scrollbar {
  width: 8px;
  background-color: white;
  border-radius: 10px;
}
.home-slider .news-panel .slider .wrapper::-webkit-scrollbar-thumb {
  background-color: var(--color-acent);
  border-radius: 10px;
}
.home-slider .news-panel .slider .wrapper p {
  position: relative;
  padding-left: 30px;
  word-break: break-all;
}
.home-slider .news-panel .slider .wrapper p:hover {
  text-decoration: underline;
  cursor: pointer;
}
.home-slider .news-panel .slider .wrapper p:before {
  content: '\f30b';
  font-family: "Line Awesome Free";
  font-weight: 900;
  font-size: 18px;
  position: absolute;
  top: 0;
  left: 5px;
  line-height: 1.7em;
  height: 100%;
  color: var(--color-acent);
}
.home-slider .news-panel .slider .nav {
  position: absolute;
  background-color: var(--color-primary);
  bottom: 5px;
  right: 5px;
  border-radius: 50px;
}
.home-slider .news-panel .slider .nav .up-button {
  padding: 5px 5px 0;
  border-radius: 50px 50px 0 0;
}
.home-slider .news-panel .slider .nav .down-button {
  padding: 0 5px 5px;
  border-radius: 0 0 50px 50px;
}
.home-slider .news-panel .slider .nav .up-button,
.home-slider .news-panel .slider .nav .down-button {
  color: white;
}
.home-slider .news-panel .slider .nav .up-button:hover,
.home-slider .news-panel .slider .nav .down-button:hover {
  background-color: white;
  cursor: pointer;
  color: var(--color-primary);
}
.container {
  margin: auto;
}
.container .main-content {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: 240px calc(100% - 470px) 210px;
  grid-template-rows: 250px;
  padding: 10px;
}
.container .main-content-item h3 {
  font-weight: 400;
  font-style: italic;
  font-size: var(--text-l);
}
.container .main-content .left-panel {
  background-color: #ffffff;
}
.container .main-content .middle-panel {
  background-color: #e5e5e5;
  overflow-y: auto;
  position: relative;
}
.container .main-content .middle-panel h3:nth-child(1) {
  position: sticky;
  top: 0;
  background-color: #e5e5e5;
  z-index: 4;
}
.container .main-content .middle-panel h3:nth-child(1):after {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  height: 15px;
  width: 100%;
  background-color: #e5e5e5;
}
.container .main-content .right-panel {
  background-color: var(--color-primary);
}
.container .main-content .right-panel div * {
  background-size: cover;
  background-position: center;
}
/********************
 ** Album section ***
 ********************/
.album-section {
  display: grid;
  grid-gap: 15px;
  grid-template-columns: 1fr ;
  padding: 15px 0;
}
.album-section > div {
  position: relative;
  font-size: 0px;
}
.album-section > div > .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  font-size: 14px;
  padding: 10px;
  color: white;
}
/*************************
 ** Gallery Application **
 *************************/
.masonry-layout {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 15px;
  font-size: 0;
  padding: 15px 0;
}
.masonry-layout__panel {
  break-inside: avoid;
}
.masonry-layout__panel-content {
  overflow: hidden;
}

footer {
  background-color: rgba(0, 255, 0, 0.3);
}
footer a {
  text-decoration: none;
  color: #333;
}
footer .wrapper {
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
}
footer .wrapper .footer-item {
  flex: 1;
  min-width: 150px;
}
footer .wrapper .footer-item ul {
  list-style: none;
}
