﻿@charset "UTF-8";
/******* RESPONSIVE ********/
/****Màn hình máy tính thông thường****/
/****Màn hình desktop loại bé****/
/**** Màn hình ipad hiển thị theo chiều ngang (Landscape) ****/
/****Màn hình ipad loại bé hiển thị theo chiều ngang (Landscape)****/
/****Màn hình ipad hiển thị theo chiều dọc (Portrait)****/
/****Màn hình ipad loại bé hiển thị theo chiều dọc (Portrait)****/
/****Màn hình điện thoại hiển thị theo chiều ngang (Landscape)****/
/****Màn hình điện thoại Iphone Plus****/
/****Màn hình điện thoại Iphone****/
/****Màn hình điện thoại loại bé****/
* {
  box-sizing: inherit;
  padding: 0;
  margin: 0;
}

body {
  box-sizing: border-box;
  font-size: 15px;
  line-height: 1.5;
  scroll-behavior: smooth;
}

p {
  margin: 0 auto;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  max-width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#pNews {
  margin-top: 0;
  min-height: calc(100vh - 280px);
}
#pNews [class*=col-] {
  padding: 15px;
}

/****** Title *****/
.mtop-15 {
  margin-top: 15px;
}

.title {
  text-align: left;
}
.title h5 {
  color: #3cbf59;
  font-weight: 800;
  font-size: 17px;
  text-transform: uppercase;
  padding-top: 15px;
  position: relative;
}
.title h5:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  background-color: #3a7bd5;
  width: 100%;
  height: 2px;
}

/****** Title right *****/
.title-r {
  margin-bottom: 5px;
}
.title-r h5 {
  font-weight: 500;
  font-size: 17px;
  text-transform: uppercase;
  display: block;
  position: relative;
  padding: 10px 20px;
  margin-bottom: 12px;
  background: #00d2ff; /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #3a7bd5, #00d2ff); /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #3a7bd5, #00d2ff); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  color: #fff;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}
.title-r h5:after {
  display: block;
  width: 10px;
  height: 0px;
  position: absolute;
  bottom: -10px;
  left: 0px;
  content: "";
  border-bottom: 10px solid transparent;
  border-right: 10px solid #3a7bd5;
}

/**** Tin chính *****/
.headlines {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  position: relative;
  /*&:after {
      content: '';
      position: absolute;
      display: block;
      left: 0;
      bottom: 15px;
      height: 2px;
      width: 100%;
      background-color: $secondary-color;
  }*/
}
.headlines .headlines-content {
  display: flex;
  flex: 6;
  align-items: center;
}
.headlines .headlines-content h4 {
  flex: 1;
  color: #3cbf59;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 0;
  position: relative;
}
.headlines .headlines-content h4:after {
  content: "";
  position: absolute;
  display: block;
  left: 0;
  bottom: -3px;
  height: 2px;
  width: 58%;
  background-color: #3cbf59;
}
.headlines .headlines-content #news-slide {
  flex: 8;
}
.headlines .headlines-content #news-slide .carousel-inner {
  padding-right: 40px;
}
.headlines .headlines-content #news-slide .carousel-inner .carousel-item a {
  color: #333;
}
.headlines .headlines-content #news-slide .carousel-inner .carousel-item a:hover {
  color: #3a7bd5;
}
.headlines .headlines-content #news-slide .carousel-control-prev, .headlines .headlines-content #news-slide .carousel-control-next {
  width: 3%;
  padding-left: 10px;
}
.headlines .headlines-content #news-slide .carousel-control-prev .carousel-control-prev-icon, .headlines .headlines-content #news-slide .carousel-control-prev .carousel-control-next-icon, .headlines .headlines-content #news-slide .carousel-control-next .carousel-control-prev-icon, .headlines .headlines-content #news-slide .carousel-control-next .carousel-control-next-icon {
  width: 7px;
  color: #3cbf59;
  background: initial;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  font-size: 20px;
  line-height: 20px;
}
.headlines .headlines-content #news-slide .carousel-control-prev {
  left: initial;
  right: 28px;
}
.headlines .headlines-content #news-slide .carousel-control-next {
  right: 0;
}
.headlines .searchBox {
  flex: 1;
  position: relative;
  display: inline-block;
  height: 40px;
  float: right;
}
.headlines .searchBox input {
  height: 40px;
  width: 40px;
  font-size: 14px;
  display: inline-block;
  font-weight: 200;
  border: none;
  outline: none;
  color: #555;
  padding: 3px 5px 3px 15px;
  text-indent: 20px;
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border-radius: 20px 0 0 20px;
  z-index: 3;
  transition: width 0.4s cubic-bezier(0, 0.795, 0, 1);
  cursor: pointer;
}
.headlines .searchBox input:focus {
  width: 280px;
  background-color: #fff;
  z-index: 1;
  border-bottom: 1px solid #BBB;
  cursor: text;
}
.headlines .searchBox input:focus:hover {
  border-bottom: 1px solid #BBB;
}
.headlines .searchBox button {
  position: relative;
  height: 40px;
  width: 40px;
  font-size: 20px;
  display: inline-block;
  background: none;
  color: #3cbf59;
  float: right;
  border: none;
  top: 0;
  right: 0;
  z-index: 2;
  cursor: pointer;
  cursor: pointer;
  transition: opacity 0.4s ease;
}
.headlines .searchBox button:focus {
  outline: none;
}
.headlines .searchBox button:hover {
  opacity: 0.8;
}
.headlines .searchBox button:focus .headlines .searchBox input {
  width: 280px;
  border-bottom: 1px solid #BBB;
  background-color: #fff;
  z-index: 1;
  cursor: text;
}
.headlines .searchBox button:focus .headlines .searchBox input:hover {
  border-bottom: 1px solid #BBB;
}

/**** LEFT *****/
.news-left .highlights {
  margin-bottom: 10px;
}
.news-left .highlights .card {
  position: relative;
  margin-bottom: 5px;
}
.news-left .highlights .card a img {
  height: 280px;
  width: 100%;
  object-fit: cover;
  object-position: top;
}
.news-left .highlights .card .item {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: rgba(60, 191, 89, 0.8);
  padding: 10px 15px;
}
.news-left .highlights .card .item a {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-left .highlights .card .item p {
  margin-bottom: 0;
  line-height: 1;
  color: #fff;
  font-size: 12px;
}
.news-left .highlights > p {
  margin: 10px 0;
  color: #000;
  font-weight: 600;
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-left .news-list {
  text-align: right;
  background-color: #f4f6fa;
  padding: 10px 15px;
}
.news-left .news-list ul {
  margin-bottom: 0;
}
.news-left .news-list ul li {
  border-bottom: 1px solid #ccc;
  padding: 8px 0;
  text-align: justify;
  cursor: pointer;
}
.news-left .news-list ul li:last-child {
  border-bottom: none;
}
.news-left .news-list ul li a {
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-left .news-list ul li a:before {
  content: "•";
  color: red;
  font-weight: bold;
  display: inline-block;
  width: 10px;
}
.news-left .news-list ul li a:hover {
  color: #3a7bd5;
}
.news-left .news-list ul li p {
  text-align: right;
  color: #ca6218;
  font-weight: 300;
  font-size: 14px;
}

/******** TIN TỨC - SỰ KIỆN ********/
.news-events .wrap_news-events [class*=col-] {
  padding: 15px;
}
.news-events .wrap_news-events img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top;
  border-radius: 3px;
}
.news-events .wrap_news-events h6 a {
  color: #333 !important;
  text-decoration: none;
  line-height: 1.2;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}
.news-events .wrap_news-events h6 a:hover {
  color: #3a7bd5 !important;
}
.news-events .wrap_news-events p {
  margin-bottom: 6px;
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-events .wrap_news-events span {
  font-weight: 300;
  color: #952b15;
  font-size: 14px;
}

/******** RIGHT *******/
.box {
  margin-bottom: 20px;
}

#b-lienket .content .lk-link {
  margin-bottom: 10px;
}
#b-lienket .content .lk-link li {
  margin-bottom: 8px;
  background-color: #f4f6fa;
  padding: 8px 10px;
}
#b-lienket .content .lk-link li a {
  color: #333;
  display: flex;
  align-items: center;
}
#b-lienket .content .lk-link li a:hover {
  color: #3a7bd5;
}
#b-lienket .content .lk-link li a img {
  width: 50px;
  height: 50px;
  margin-right: 5px;
}
#b-lienket .content .lk-link li:hover {
  cursor: pointer;
}
#b-lienket .content .slide-link {
  position: relative;
  z-index: 2;
  margin: 20px 0;
  display: none;
}
#b-lienket .content .slide-link .slide-item {
  text-align: center;
}
#b-lienket .content .slide-link .slide-item a {
  color: #3a7bd5;
}
#b-lienket .content .slide-link .slide-item a img {
  width: 120px;
  margin: 0 auto;
  margin-bottom: 6px;
}
#b-lienket .content .slide-link .myPrev, #b-lienket .content .slide-link .myNext {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  text-align: center;
  background-color: rgba(60, 191, 89, 0.8);
  z-index: 3;
}
#b-lienket .content .slide-link .myPrev i, #b-lienket .content .slide-link .myNext i {
  color: #fff;
}
#b-lienket .content .slide-link .myPrev {
  left: -30px;
  padding-right: 5px;
}
#b-lienket .content .slide-link .myNext {
  right: -30px;
  padding-left: 5px;
}

#b-thongke .content {
  text-align: center;
  padding: 20px 0;
  background-color: #f4f6fa;
}
#b-thongke .content p {
  font-weight: 600;
}

.phantrang .pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 0 0 20px;
}
.phantrang .pagination li {
  width: 40px;
  height: 40px;
  line-height: 38px;
  text-align: center;
  border: 1px solid #dadada;
  border-radius: 50%;
  margin: 0 4px;
}
.phantrang .pagination li:hover, .phantrang .pagination li.active {
  background-color: #3cbf59;
  border-color: #3cbf59;
  color: #fff;
  cursor: pointer;
}
.phantrang .pagination li.disabled {
  cursor: unset;
  background-color: unset;
  border-color: #dadada;
  color: inherit;
}

/******* RESPONSIVE **********/
@media only screen and (min-width: 1200px) {
  .container {
    max-width: 70%;
  }
}
@media only screen and (max-width: 1024px) {
  .headlines .headlines-content h4:after {
    width: 74%;
  }
}
@media only screen and (max-width: 992px) {
  #b-lienket .content .lk-link, #b-lienket .title-r, #b-thongke {
    display: none;
  }
  #b-lienket .content .slide-link {
    display: block;
  }
}
@media only screen and (max-width: 600px) {
  .blog > img {
    height: 170px;
  }
}
@media only screen and (max-width: 415px) {
  #b-lienket .content .slide-link .myPrev {
    left: -10px;
  }
  #b-lienket .content .slide-link .myNext {
    right: -10px;
  }
  #b-lienket .content .slide-link .slide-item a img {
    width: 105px;
  }
}
