@charset "utf-8";

/* CSS Document */
/* body {
	background-repeat: no-repeat, repeat;
	background-size: auto, contain;
	background-attachment: fixed;
	background-position: 50% 50%;
	background-size: contain;
	background-image: url(../images/day_cloud.png), linear-gradient(180deg, #0260ac, #3992e0 32%, #9ce0fe 60%, #eff9fd 70%);
} */

ul.menu {
  display: flex;
  list-style: none;
  height: 40px;
  margin: 0;
}

ul.menu>li {
  height: 40px;
  flex: 1;
  text-align: center;
  margin: auto;
  font-size: 1.2em;
  position: relative;
}

ul.menu>li::before {
  content: "";
  display: block;
  position: absolute;
  bottom: -3px;
  height: 45px;
  width: 100%;
  border-radius: 6px 6px 0px 0px;
  border-bottom: 3px solid #910002;
  background-color: rgba(0, 78, 162, 0.8);
  z-index: 9;
  transform: scaleX(0);
  transition: all 0.3s;
}

ul.menu>li>a {
  line-height: 40px;
  text-decoration: none;
  position: relative;
  z-index: 99;
}

ul.menu>li:hover>a {
  color: white;
}

ul.menu>li:hover::before {
  transform: scaleX(1);
}

ul.menu>li:hover>ul {
  transform: scaleY(1);
}

ul.menu>li>ul {
  list-style: none;
  margin: 0;
  padding: 5px 0px;
  border-radius: 0px 0px 6px 6px;
  box-shadow: 0px 6px 6px rgba(0, 0, 0, 0.3);
  background-color: rgba(0, 78, 162, 0.8);
  transform: scaleY(0);
  transform-origin: 0% 0%;
  transition: all 0.3s 0.3s;
}

ul.menu>li>ul>li {
  font-size: 0.9em;
}

ul.menu>li>ul>li>a {
  line-height: 35px;
  color: white;
}

.newsbox>div>img {
  transition: all 0.3s;
}

.newsbox:hover>div>img {
  transform: scale(1.2);
}

.newspic,
.newstitle {
  width: 50%;
  float: left;
}

.newspic {
  height: 0px;
  padding-bottom: 33%;
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
}

.newspic>span {
  position: absolute;
  z-index: 99;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 10px;
}

.newstitle {
  background-color: #F5F5F5;
  padding: 15px;
  height: 185px;
  overflow: hidden;
  border-bottom: 15px solid #f5f5f5;
}

.courseBox {
  text-decoration: none !important;
}

.courseBox:hover {
  color: white;
}

.courseBox:hover>.courseImg::before {
  height: 100%
}

.courseBox>.courseImg::before {
  content: 'Excellent Course';
  display: block;
  position: absolute;
  overflow: hidden;
  text-align: center;
  line-height: 18;
  width: 100%;
  height: 0%;
  background-color: #004ea280;
  z-index: 3;
  transition: all 0.3s;
}

.courseImg {
  background-color: #f0ad4e;
  overflow: hidden;
  position: relative;
  /* margin-bottom: 30px; */
}

.courseImg::after {
  content: '';
  display: block;
  padding-bottom: 100%;
}

.courseImg>img {
  height: 100%;
  display: block;
  position: absolute;
  left: 50%;
  transform: translate(-50%) scale(1);
  transition: all 0.3s;
}

.courseBox:hover>.courseImg>img {
  transform: translate(-50%) scale(1.2);
}

.courseTbox {
  /* height: fit-content; */
  position: relative;
  padding-bottom: 10px;
}

.courseTbox>h4,
.courseTbox>p {
  margin: 0px;
  padding: 10px 12px 0px 12px;
  z-index: 3;
  position: relative;
}

.courseTbox::before {
  content: '';
  /* display: block; */
  position: absolute;
  bottom: 0px;
  width: 100%;
  height: 0%;
  background-color: #004ea280;
  z-index: 0;
  transition: all 0.3s;
}

.courseBox:hover>.courseTbox::before {
  height: 100%;
}

.scale12 {
  transition: all 0.3s;
  transform: scale(1);
}

.scale12:hover {
  transform: scale(1.2);
}

.more {
  display: block;
  width: 100px;
  padding: 0px 15px;
  border: 1px solid #3786C8;
  border-radius: 15px;
  text-align: center;
  line-height: 25px;
  color: #3786C8;
  font-size: 14px;
  margin: 30px auto;
  transition: all 0.2s;
}

.more:hover {
  border-color: #FFB800;
  color: #FFB800;
  text-decoration: none;
}

@media (min-width: 320px) and (max-width: 1199px) {
  body {
    width: 1170px !important;
  }

  .container {
    width: 1170px !important;
  }
}