:root {
  --mg-font-primary: "PT Sans", sans-serif;
  --mg-font-second: "Roboto Condensed", sans-serif;
  --mg-blue: #3cb7d6;
  --mg-dark-blue: #272c6c;
  --mg-yellow: #fac634;
  --mg-gray: #c7c6c6;
  --mg-text-color: #000;
}
body {
  font-family: var(--mg-font-primary);
  font-size: 14px;
  color: var(--mg-text-color);
  font-weight: 400;
}
a {
  text-decoration: none;
}
/*
|------------------------------------------------------------------
|  main
|------------------------------------------------------------------
*/
section {
  padding: 40px 0;
}
section.top {
  padding-top: 80px;
}
section.bottom {
  padding-bottom: 80px;
}
.maintitle {
  font-family: var(--mg-font-second);
  font-size: 26px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}
.maintitle::before {
  display: none;
  position: absolute;
  content: "";
  background-color: var(--mg-blue);
  width: 50px;
  height: 3px;
  left: 0;
  bottom: 0;
}
.subtitle {
  font-family: var(--mg-font-second);
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}
/*
|------------------------------------------------------------------
|  header
|------------------------------------------------------------------
*/

header {
  border-top: 3px solid var(--mg-blue);
  padding: 8px 0;
  display: flex;
  align-items: center;
}
.logo_menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  gap: 15px;
}
.logo img {
  height: 100px;
  width: auto;
}
.lang a {
  display: block;
  position: relative;
  padding: 4px;
  width: 97px;
  height: 35px;
  background-color: var(--mg-blue);
  border-radius: 60px;
  color: #fff;
}
.lang a span {
  position: absolute;
  top: 4px;
  right: 4px;
  pointer-events: none;
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  width: 48px;
  height: 27px;
  line-height: 27px;
  text-align: center;
  text-align: center;
}
.lang a span:first-child {
  right: auto;
  left: 4px;
}
.lang a span.active {
  background-color: #fff;
  color: var(--mg-blue);
  border-radius: 52px;
}
/*
|------------------------------------------------------------------
|  mainslider
|------------------------------------------------------------------
*/
#mainslider {
  position: relative;
}
#mainslider .item {
  width: 100%;
  height: 500px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
#mainslider .owl-nav {
  position: absolute;
  display: flex;
  justify-content: space-between;
  width: 100%;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  padding: 0 15px;
  margin: 0;
}
#mainslider .owl-nav button {
  width: 40px;
  height: 40px;
  background-color: #fff;
  color: var(--mg-blue);
  padding: 0;
  margin: 0;
  transition: all 300ms ease-in;
  border-radius: 50%;
}
#mainslider .owl-nav button:hover {
  background-color: var(--mg-blue);
  color: #fff;
}
#mainslider .owl-dots {
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 100%;
}
#mainslider .owl-dots .owl-dot span {
  background-color: #fff;
  width: 50px;
  height: 7px;
}
#mainslider .owl-dots .owl-dot.active span {
  background-color: var(--mg-blue);
}
/*
|------------------------------------------------------------------
|  home_about 
|------------------------------------------------------------------
*/
.home_about {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.home_about .title {
  font-family: var(--mg-font-second);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  /* padding-bottom: 10px; */
  position: relative;
}
.home_about .title:before {
  position: absolute;
  display: none;
  content: "";
  width: 50px;
  height: 3px;
  background-color: var(--mg-blue);
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}
.home_about .desc {
  font-size: 16px;
}
/*
|------------------------------------------------------------------
|  full_image 
|------------------------------------------------------------------
*/
.full_image {
  position: relative;
  transition: all 300ms ease-in-out;
  overflow: hidden;
}
.full_image img {
  transition: transform 300ms ease-in-out;
}
.full_image h2 {
  font-family: var(--mg-font-second);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  padding: 10px 15px;
  margin: 0;
  line-height: 1.5em;
  background-color: rgba(0, 0, 0, 0.7);
}
.full_image:hover img {
  transform: scale(1.05);
}
/*
|------------------------------------------------------------------
|  aaib_owl 
|------------------------------------------------------------------
*/
.aaib_owl .owl-nav {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.aaib_owl .owl-nav button.owl-prev,
.aaib_owl .owl-nav button.owl-next {
  color: var(--mg-gray);
  font-size: 1.5rem;
  margin: 0;
  padding: 0;
  height: 36px;
}
.aaib_owl .owl-nav button.owl-prev:hover,
.aaib_owl .owl-nav button.owl-next:hover {
  color: var(--mg-blue);
  background: none;
}
.aaib_owl .owl-dots {
  position: absolute;
  height: 36px;
  width: calc(100% - 60px);
  display: flex;
  justify-content: center;
  align-items: center;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  gap: 15px;
  z-index: 2;
}
/*
|------------------------------------------------------------------
|  grid_list 
|------------------------------------------------------------------
*/
.grid_list {
  height: 100%;
  border: 1px solid var(--mg-gray);
}
.grid_list .image {
  overflow: hidden;
}
.grid_list .image img {
  transition: transform 300ms ease-in-out;
}
.grid_list .content {
  padding: 10px 15px;
}
.grid_list .content .date {
  color: var(--mg-gray);
  font-size: 13px;
}
.grid_list .content .date i {
  color: var(--mg-blue);
}
.grid_list h2 {
  font-size: 18px;
  font-family: var(--mg-font-second);
  margin-bottom: 0;
  margin-top: 10px;
  font-weight: 400;
}
.grid_list a {
  color: var(--mg-text-color);
  transition: color 300ms ease-in-out;
}
.grid_list:hover .image img {
  transform: scale(1.05);
}
.grid_list a:hover {
  color: var(--mg-blue);
}

/*
|------------------------------------------------------------------
|  aaib_owl 
|------------------------------------------------------------------
*/
.aaib_owl button.owl-dot {
  border: 2px solid var(--mg-gray);
  border-radius: 50%;
  text-align: center;
  line-height: 25px;
  width: 25px;
  height: 25px;
}
.aaib_owl .owl-dots .owl-dot span {
  background-color: var(--mg-gray);
  margin: 6px;
}
.aaib_owl button.owl-dot.active,
.aaib_owl button.owl-dot:hover {
  border-color: var(--mg-blue);
}
.aaib_owl .owl-dots .owl-dot:hover span,
.aaib_owl .owl-dots .owl-dot.active span {
  background-color: var(--mg-blue);
}
/*
|------------------------------------------------------------------
|  partners 
|------------------------------------------------------------------
*/
.partner {
  text-align: center;
}
.partner a {
  color: var(--mg-text-color);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  transition: color 0.3s ease;
}
.partner a img {
  max-width: 60% !important;
  width: auto !important;
  height: auto !important;
  max-height: 80px;
  margin: 0 auto 10px;
}
.partner:hover a img {
  filter: grayscale(0%);
}
.partner:hover a {
  color: var(--mg-blue);
}
.ratio-map {
  --bs-aspect-ratio: 30%;
}
/*
|------------------------------------------------------------------
|  detail 
|------------------------------------------------------------------
*/
.detail {
  position: relative;
  font-size: 16px;
}
.detail_img {
  margin-bottom: 1rem;
}
.detail_img img {
  max-width: 100%;
  height: auto;
  box-shadow: var(--bs-box-shadow-sm);
}
.detail_title {
  font-family: var(--mg-font-second);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--bs-gray-200);
}
.detail_date {
  font-size: 0.875rem;
  color: var(--bs-gray-600);
  margin-bottom: 10px;
}
.detail_date .fa {
  color: var(--mg-blue);
}
.pdf_viewer {
  --bs-aspect-ratio: calc(1 / 1.1 * 100%);
}
.edtext * {
  max-width: 100%;
  font-family: var(--mg-font-primary) !important;
}
.edtext h1,
.edtext h2,
.edtext h3,
.edtext h4,
.edtext h5,
.edtext h6 {
  font-family: var(--mg-font-second);
  font-weight: 700;
}
.edtext a {
  color: var(--mg-blue);
}
.edtext a:hover {
  color: var(--mg-blue-hover);
}
.detail_share {
  border-top: 1px solid var(--bs-gray-200);
  margin-top: 15px;
  padding-top: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.detail_share a {
  height: 30px;
  width: 30px;
  text-align: center;
  line-height: 30px;
  display: inline-block;
  background-color: var(--bs-primary);
  color: #fff;
}
/*
|------------------------------------------------------------------
|  contact us 
|------------------------------------------------------------------
*/
.gmap {
  height: 420px;
  width: 100%;
  position: relative;
  margin-bottom: 80px;
}
.gmap iframe {
  width: 100%;
  height: 100%;
}
.contact_info {
  display: flex;
  gap: 20px;
  align-items: center;
}
.contact_info .icon {
  font-size: 24px;
  color: var(--mg-blue);
}
.contact_info .name {
  line-height: 20px;
  color: var(--mg-dark-blue);
  font-family: var(--mg-font-second);
}
.contact_info .value {
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
  color: var(--mg-text-color);
}
.contact_info .value a {
  color: inherit;
}
.contact_info + .contact_info {
  margin-top: 30px;
}
/*
|------------------------------------------------------------------
|  pageheader 
|------------------------------------------------------------------
*/
.pageheader {
  position: relative;
  height: 150px;
  background-image: url("../img/header.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pageheader .content {
  position: relative;
  width: 100%;
  z-index: 2;
  color: #fff;
}
.pageheader:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.75);
}
.pageheader h1 {
  font-family: var(--mg-font-second);
  font-size: 2.5rem;
  margin-bottom: 0;
  text-shadow: 1px 1px 1px #000;
  text-align: center;
}
/*
|------------------------------------------------------------------
|  lineChart 
|------------------------------------------------------------------
*/
.mg_tabs {
  display: flex;
  width: 100%;
  background-color: var(--mg-blue);
  margin-bottom: 30px;
}
.mg_tabs .tab {
  border: none;
  background-color: var(--mg-blue);
  border-bottom: 5px solid transparent;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 30px 10px;
  color: #fff;
  font-family: var(--mg-font-second);
  font-size: 18px;
}
.mg_tabs .tab.active {
  border-bottom: 5px solid var(--mg-dark-blue);
}
/*
|------------------------------------------------------------------
|  lineChart 
|------------------------------------------------------------------
*/
#lineChart {
  max-width: 100%;
  height: 200px;
  max-height: 200px;
  min-height: 200px;
}
.lineChart-col {
  border-left: 1px solid var(--bs-gray-200);
}
/*
|------------------------------------------------------------------
|  pagination 
|------------------------------------------------------------------
*/
.mgpagination {
  display: flex;
  justify-content: center;
  margin: 15px 0;
  padding: 0;
  list-style: none;
  gap: 10px;
}
.mgpagination li a {
  padding: 3px 9px;
  color: var(--mg-text-color);
  border: 1px solid var(--bs-gray-200);
  border-radius: 5px;
  transition: all 300ms ease-in;
}
.mgpagination li a:hover {
  color: var(--mg-blue);
  border-color: var(--mg-blue);
}
.mgpagination li.active a {
  background-color: var(--mg-blue);
  border-color: var(--mg-blue);
  color: #fff;
}
/*
|------------------------------------------------------------------
|  footer 
|------------------------------------------------------------------
*/
footer {
  background-color: var(--mg-dark-blue);
  padding-top: 30px;
  color: #fff;
  font-size: 16px;
}
.footer_contact {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer_contact li {
  position: relative;
  padding-left: 40px;
}
.footer_contact li + li {
  margin-top: 20px;
}
.footer_contact li i {
  position: absolute;
  left: 0;
  top: 5px;
  font-size: 1.2rem;
  color: var(--mg-yellow);
}

.footer_menu {
  list-style: none;
}
.footer_menu li a {
  color: #fff;
}
.footer_menu li + li {
  margin-top: 10px;
}

.counter {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 30px;
  grid-template-columns: 50% 50%;
}
.counter .item {
  position: relative;
  padding-left: 50px;
}
.counter .item i {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: var(--mg-yellow);
}
.counter .item .text {
  font-size: 12px;
  text-transform: uppercase;
}
.counter .item .value {
  font-size: 1.5rem;
  line-height: 1;
  font-family: var(--mg-font-second);
}

footer .copyright {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px 0;
  margin-top: 20px;
  text-align: center;
}
.swal2-html-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.swal2-html-container .errors {
  color: var(--bs-red);
}
/*
|------------------------------------------------------------------
|  bigloader 
|------------------------------------------------------------------
*/
#bigloader {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6);
}
#bigloader::before {
  content: "";
  width: 48px;
  height: 48px;
  border: 5px solid var(--bs-primary);
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/*
|------------------------------------------------------------------
|  responsive 
|------------------------------------------------------------------
*/
@media (max-width: 1199px) {
  #mainslider .item {
    height: 400px;
  }
  /*  */
  .mg_tabs .tab {
    font-size: 16px;
    padding: 15px 20px 10px;
  }
  .detail_title {
    font-size: 1.7rem;
    line-height: 1.3;
  }
}
@media (max-width: 991px) {
  .logo img {
    height: 80px;
  }
  /*  */
  #mainslider .item {
    height: 250px;
  }
  .maintitle {
    font-size: 22px;
  }
  .subtitle {
    font-size: 16px;
    margin-bottom: 10px;
  }
  section {
    padding: 20px 0;
  }
  section.top {
    padding-top: 40px;
  }
  section.bottom {
    padding-bottom: 40px;
  }
  .pageheader {
    height: 115px;
  }
  .pageheader h1 {
    font-size: 2rem;
  }
  /*  */
  .mg_tabs .tab {
    font-size: 14px;
    padding: 10px 10px 5px;
  }
  /*  */
  .home_about {
    gap: 25px;
  }
  .home_about .title {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .home_about .desc {
    font-size: 14px;
  }
  /*  */
  .gmap {
    margin-bottom: 0;
    height: 350px;
  }
  /*  */
  footer {
    font-size: 14px;
  }
  .footer_contact li {
    padding-left: 30px;
  }
  .counter {
    gap: 15px;
  }
  .counter .item {
    padding-left: 35px;
  }
  .counter .item i {
    font-size: 1.3rem;
  }
  .counter .item .value {
    font-size: 1.2rem;
  }
  /*  */
  .detail_title {
    font-size: 1.5rem;
  }
}
@media (max-width: 767px) {
  #mainslider .item {
    height: 140px;
  }
  #mainslider .owl-nav {
    display: none;
  }
  #mainslider .owl-dots {
    bottom: 0;
  }
  #mainslider .owl-dots .owl-dot span {
    width: 30px;
    margin: 5px 3px;
  }
  /*  */
  .maintitle {
    font-size: 16px;
    margin-bottom: 10px;
  }
  /*  */
  .full_image h2 {
    font-size: 16px;
  }
  /*  */
  .aaib_owl .owl-dots {
    display: none;
  }
  /*  */
  .lineChart-col {
    border-left: none;
  }
  /*  */
  .partner a {
    font-size: 14px;
  }
  /*  */
  .contact_info {
    gap: 10px;
  }
  .contact_info .value {
    font-size: 14px;
  }
  .contact_info .icon {
    font-size: 16px;
  }
  .contact_info + .contact_info {
    margin-top: 15px;
  }
  .gmap {
    margin-bottom: 20px;
  }
  /*  */
  .grid_list .content {
    padding: 8px 10px;
  }
  .grid_list h2 {
    font-size: 16px;
  }
  /*  */
  .detail_title {
    font-size: 17px;
  }
}
@media (max-width: 575px) {
  .logo img {
    height: 70px;
  }
}
