/* ----------- header start ----------- */
.container #logo img {
  max-width: 100%;
  height: auto;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.container #logo-info #title {
  font-weight: 800;
  font-size: 1.8rem;
}

.container nav {
  padding: 0.6rem;
  background-color: #0d1128;
  /* background-color: #2f2557; */
}

.container nav .nav-link {
  color: #fff;
  position: relative;
}
.container nav .nav-link:hover::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 1px;
  background: #fd5f0d;
}

.container nav .active {
  color: #fd5f0d;
  position: relative;
}

.container nav .active:hover::after {
  height: 0px;
}

/* ----------- header end ----------- */

/* ----------- slide image start ----------- */

section.slide-image {
  margin-bottom: 5rem;
}

.slide-image #carouselHomepage .carousel-indicators {
  margin: 1.5rem;
}

.slide-image #carouselHomepage .carousel-item {
  height: 30vw;
}

.search {
  width: 65%;
}

.slide-image #carouselHomepage .carousel-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-image .search .search-inp {
  height: 3rem;
  outline: none;
  border: none;
  padding-left: 0.3rem;
  padding-right: 2rem;
}

#search-icon {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  right: 0;
  width: 25px;
  height: 25px;
}

#search-icon:hover {
  cursor: pointer;
}

/* ----------- slide image end ----------- */

/* ----------- homepage news start ----------- */

#left-news .card,
#right-news .card {
  border: none;
  border-radius: 0;
}

#middle-news {
  background-color: #fff;
}

#mdn-image .carousel-inner .carousel-item {
  transition: transform 1s ease-in-out;
}

#mdn-image .carousel-inner .carousel-item .card {
  /* height: 100vh; */
  border: none;
}

#mdn-image .carousel-inner .carousel-item .news-img {
  overflow: hidden;
}

#mdn-image .carousel-inner .news-img img {
  height: 20rem;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}

#mdn-image .carousel-inner .carousel-item img:hover {
  transform: scale(1.05);
}

#mdn-image header h5 {
  margin-bottom: 1.4rem;
}

#middle-news h3 {
  font-weight: bolder;
  color: #0d1128;
}

#middle-news p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  text-align: justify;
  text-indent: 2em;
}

#homeNews .title {
  font-size: 1rem;
  font-weight: 300;
  margin: 1rem;
  color: #b3b3b3;
}

#homeNews .card {
  background: none;
}

#homeNews .card .card-img-top {
  border-radius: 0;
  width: 100%;
  height: 8rem;
  object-fit: cover;
}

#homeNews .news-list {
  list-style: none;
}

#homeNews .news-list li {
  border-bottom: 1px solid #dddfdf;
}

#homeNews .news-list li a {
  font-weight: 500;
}

#homeNews .news-list li a:hover {
  color: #fd5f0d;
}

.owl-stage {
  display: flex;
}

.owl-stage .owl-item {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.owl-stage .owl-item .item {
  flex: 1;
}

#laws .owl-carousel .item {
  background: #fff;
  padding: 1rem;
}

#laws .laws-title {
  margin-bottom: 2rem;
}

#laws .laws-title::after {
  content: "";
  display: block;
  border-left: 0.2rem solid #fd5f0d;
}

#laws .laws-title h3 {
  margin-bottom: 0;
  margin-right: 1.25rem;
  color: #0d1128;
}

#laws .laws-inews h6 {
  margin: 1rem 0;
}

.item .laws-inews {
  display: flex;
  flex-direction: column;
}

.laws-inews>img {
  height: 8rem;
  width: 100%;
  object-fit: cover;
}

#laws .laws-inews .laws-inews-info {
  display: inline-flex;
}

#laws .laws-inews .laws-inews-info p {
  font-size: 0.5rem;
  padding-left: 0.3rem;
  margin: 0;
}

#laws .laws-inews .laws-inews-info img {
  width: 1rem;
  height: 1rem;
}

/* ----------- homepage news end ----------- */

/* ----------- platform info start ----------- */

.back {
  position: relative;
  background: linear-gradient(to right, #8f41e9, #578aef);
  height: 1rem;
  margin-left: 1.5rem;
}

#info-content,
#ogr-info {
  background: #e1e1e1;
}

#ogr-info {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-gap: 10px;
}

#ogr-info .left-title {
  font-size: 1rem;
}

.right-content p span {
  font-weight: 500;
}

.intro-container h6 {
  margin: 1.4rem 0;
  padding-right: 1.25rem;
  position: relative;
  display: inline-block;
}

.intro-container h6::before {
  content: "";
  position: absolute;
  bottom: 0px;
  right: 0;
  width: 3px;
  height: 1.2rem;
  background: #fd5f0d;
  vertical-align: middle;
}

.intro-container p {
  text-indent: 2em;
  text-align: justify;
  font-weight: 300;
  line-height: 1.7;
}

/* ----------- platform info end ----------- */

/* ----------- news list start ----------- */

.news-detail-list .inews {
  margin-left: 2rem;
}

.news-detail-list .inews::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #333;
  opacity: 0.2;
}

.inews:last-of-type::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #333;
  opacity: 0.2;
}

.news-detail-list .inews .news-img {
  width: 200px;
  height: 100px;
  overflow: hidden;
}

.news-detail-list .inews .news-img img {
  cursor: pointer;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}

.news-detail-list .inews .img-date img:hover {
  transform: scale(1.4);
}

.news-detail-list .inews .date-time {
  display: inline-flex;
  flex-direction: column;
  background: linear-gradient(to right, #8f41e9, #578aef);
  transform: translate(1rem, -2rem);
  color: #fff;
}

.date-time .year {
  font-size: 1.2rem;
  font-weight: 600;
}

.date-time .m-day {
  font-size: 0.8rem;
}

.time-block .aside_nav {
  margin-left: 10%;
}

.time-block .aside_nav ul {
  border-left: 4px solid;
  border-image: linear-gradient(to bottom, #8f41e9, #578aef) 1;
}

.time-block .aside_nav li {
  font-size: 1.4rem;
  transition: transform 0.3s ease-in-out;
}

.time-block .aside_nav li:hover {
  transform: scale(1.2);
  background-color: #cacaca;
  font-weight: 600;
  text-align: right;
}

.content h5 {
  margin-bottom: 1.5rem;
}

.content a:hover {
  color: #fd5f0d;
}

.content p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  text-align: justify;
  text-indent: 2em;
  opacity: 0.5;
}

.layered-card {
  position: relative;
}

.layered-card::before {
  /* background: rgba(0, 0, 0, 0.3); */
  background: linear-gradient(to right, #8f41e9, #578aef);
  content: "";
  /* opacity: 0.3; */
  /* Position */
  top: 0;
  left: 0;
  position: absolute;
  transform: translate(1rem, -1rem);

  /* Size */
  height: 100%;
  width: 100%;

  /* Display under the main content */
  z-index: -1;
}

/* ----------- news list end ----------- */

/* ----------- gg start ----------- */
.gg-list::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #333;
  opacity: 0.1;
}

.gg-list .item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #333;
  opacity: 0.1;
}

.gg-list .item a {
  padding: 1.5rem 0 1.9rem;
  display: flex;
  color: #333;
  /* background-color: #f2f6f7; */
}

.gg-list .item a:hover {
  background-color: #f2f6f7;
}

.item-date span {
  color: rgba(51, 51, 51, 0.7);
  margin-right: 1.7rem;
  border-radius: 0.5rem;
  padding: 0.3rem 0.7rem 0.3rem;
  background: #fd5f0d;
  color: #fff;
  font-size: 0.8rem;
}

.single-row {
  opacity: 0.5;
  margin-bottom: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  text-align: justify;
}

.gg-info img {
  width: 1rem;
  height: 1rem;
}

/* ----------- gg end ----------- */

/* ----------- gg content start ----------- */
#logo-nav {
  margin-top: 2rem;
}

#logo-nav>div {
  width: 100%;
}

#gg-header {
  margin-bottom: 6rem;
  position: sticky;
  top: 0;
  z-index: 999;
  background: #f1f1f1;
  /* border-bottom-left-radius: 50% 40%;
  border-bottom-right-radius: 50% 40%;
  background: linear-gradient(to bottom, #8f41e9, #578aef); */
}

#logo img {
  width: 50px;
}

#gg-title {
  font-weight: 600;
  font-size: 0.9rem;
}

#logo-nav .nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  position: relative;
}

#logo-nav .nav-link:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #fd5f0d;
}

.gg-a {
  margin: 0 10rem 5rem;
}

.gg-date {
  color: #fd5f0d;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding: 0.4rem 0.7rem 0.3rem;
  border: 1px solid #e6e6e6;
  background: #f7f7f7;
  border-radius: 0.5rem;
  display: inline-flex;
}

.gg-a .title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 4rem;
}

.gg-a p {
  text-indent: 2em;
  line-height: 1rem;
}

/* ----------- gg content end ----------- */

/* ----------calendar start ----------- */
#dycalendar {
  width: 100%;
  padding: 20px;
  border: 1px solid rgba(51, 51, 51, 0.1);
}

#dycalendar table {
  width: 100%;
  margin-top: 40px;
}

#dycalendar table td {
  position: relative;
}

.record-date {
  /* border-bottom: 2px solid #fd5f0d; */
  position: relative;
}

.record-date::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fd5f0d;
  position: absolute;
  bottom: 5%;
  left: 49%;
}

.dycalendar-month-container .dycalendar-today-date,
.dycalendar-month-container .dycalendar-target-date {
  /* border-bottom: 2px solid #fd5f0d; */
  background-color: #c4c4c4;
  /* position: relative; */
}

/* .dycalendar-month-container .dycalendar-today-date,
.dycalendar-month-container .dycalendar-target-date::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fd5f0d;
  position: absolute;
  bottom: 5%;
  left: 49%;
} */



/* .dycalendar-month-container .dycalendar-today-date,
.dycalendar-month-container .dycalendar-target-date::after {
  content: "";
  position: absolute;
  background-color: blue;
  border-radius: 4px;
  height: 8px;
  width: 8px;
} */

/* ----------calendar end ----------- */

/* ----------news detail start ----------- */

#nd-header {
  height: 240px;
  z-index: 99;
}

#nd-header ul li {
  font-size: 0.8rem;
}

#nd-org {
  background-color: #c4c4c4;
  color: #fff;
  /* #fd5f0d */
}

#nd-org img {
  width: 100px;
  height: 100px;
}

#nd-org h3 {
  font-size: 1.25rem;
  text-align: center;
}

#nd-nav {
  padding: 0;
  display: none;
}

#nd-nav nav {
  padding: 0;
  background-color: #0d1128;
}

#nd-nav nav a {
  color: #fff;
  position: relative;
}

#nd-nav nav a:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #fd5f0d;
}

#article-title h5 {
  font-size: 2.5rem;
}

#article-info {
  height: fit-content;
}

#article-info h5 {
  display: none;
  font-size: 2rem;
}

#article-info .bottom-line {
  display: none;
  width: 3rem;
  border-bottom: 1px solid #fd5f0d;
  border-width: .2rem;
  margin-bottom: .3rem;
}

#article-info h5,
#article-info p {
  margin-bottom: 0.5rem;
  padding-bottom: 0.2rem;
}

#article-section article p {
  text-indent: 2em;
  text-align: justify;
}

#article-section article p img {
  max-width: 90%;
  height: auto;
}

/* ----------news detail end ----------- */

/* ----------- team start ----------- */
#team-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
  padding: 2rem;
}

#team-list .iteam,
#research-list .item {
  border-bottom: 1px solid #cacaca;
}

#team-list .iteam div {
  padding-bottom: 2rem;
}

#team-list a {
  position: relative;
}

#team-list a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #fd5f0d;
  transition: .3s;
  z-index: 1;
}

#team-list a:hover::after {
  width: 100%;
}

#team-list a img {
  max-width: 100%;
}

#team-list a h4 {
  margin-top: .5rem;
}

/* ----------- team end ----------- */

/* ----------- research start ----------- */
#research,
#academic {
  margin: 1.2rem 0;
}

#research .newest {
  margin-left: 15vw;
  background-color: #fd5f0d;
  opacity: .9;
  color: #fff;
  padding: 4rem 7rem 3rem;
  margin-bottom: 1rem;
}

#research .newest .tip {
  font-size: 2.8rem;
  font-weight: 300;
}

#research .newest a {
  display: inline-block;
  margin-top: 2rem;
  position: relative;
}

#research .newest a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #fff;
  transition: .3s;
}

#research .newest:hover a::after {
  width: 100%;
}

#research .newest .newest-title {
  color: #fff;
}

#research-item {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 1rem;
  padding: 2rem;
}

#research-item {
  background: #e1e1e1;
  width: 60vw;
}

#research-item .item {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

#research-item .item:hover {
  color: inherit;
}

#research-item .item .research-date {
  padding-right: 2rem;
  position: relative;
}

#research-item .item .research-date::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 1px;
  background: #333;
}

#research-item .item .research-title {
  position: relative;
}

#research-item .item .research-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: #333;
  transition: .3s;
}

#research-item .item:hover .research-title::after {
  width: 100%;
}

/* ----------- research end ----------- */

/* ----------- academic start ----------- */
#academic {
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: .3rem;
  justify-items: start;
}

#academic .academic-tip {
  font-size: 4rem;
}

.academic-date {
  margin-right: 1.7rem;
  border-radius: 0.5rem;
  padding: 0.3rem 0.7rem 0.3rem;
  background: #e4e4e4;
  color: #333;
  font-weight: 600;
  font-size: 0.8rem;
}

/* ----------- academic end ----------- */

/* ----------- rules start ----------- */
#rules {
  margin: 3.4rem 0 2rem;
}

#rules h6 {
  font-size: 1rem;
  padding-right: 1.2rem;
  margin: 1.4rem 0;
  position: relative;
  display: inline-block;
}

#rules h6::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background-color: #fd5f0d;
}

#rules-content {
  background-color: #e1e1e1;
  position: relative;
}

#rules-content p {
  text-indent: 2em;
  text-align: justify;
  font-weight: 300;
  line-height: 1.7;
}


/* ----------- rules end ----------- */

/* ----------- download start ----------- */
#download {
  margin: 4rem 0;
  padding: 0 8rem;
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: .8rem;
}

#download .item {
  padding: 0 .7rem .1rem;
  border-bottom: 1px solid #c4c4c4;
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

#download .item .download-date {
  color: #c4c4c4;
}

/* ----------- download end ----------- */

/* ----------- contact start ----------- */
#contact {
  margin: 4rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#contact .contact-tip {
  width: 70vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid #333;
}

#contact .ch {
  font-size: 2rem;
  font-weight: 700;
}

#contact .en {
  text-align: justify;
}

#contact .contact-info {
  width: 70vw;
  border: 1px solid #333;
  display: flex;
  flex-direction: column;
  padding: 5rem;
  font-weight: 300;
}

#contact .contact-info span {
  margin-bottom: .9rem;
}

/* ----------- contact end ----------- */


/* ----------- footer start ----------- */

footer {
  background-color: #0d1128;
  color: #dddfdf;
}

footer div[class="row"] {
  margin-left: 7rem;
}

footer h4 {
  position: relative;
}

footer h4::before {
  content: "";
  width: 30px;
  height: 2px;
  position: absolute;
  bottom: -5px;
  left: 0;
  background: #dddfdf;
}

footer #address p,
footer #links li a {
  font-size: 0.8rem;
  color: #dddfdf;
}

footer #links li a:hover {
  color: #fd5f0d;
}

footer #links ul li:first-of-type a {
  letter-spacing: 2em;
}

footer #address img {
  max-width: 17px;
  max-height: 17px;
  margin-right: 12px;
}

/* ----------- footer end ----------- */