@import 'https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&subset=vietnamese';
@font-face {
  font-family: 'UTM Rockwell';
  src: url('../fonts/UTM Rockwell.ttf');
}
@font-face {
  font-family: 'UTM Swiss CondensedBold';
  src: url('../fonts/UTM Swiss CondensedBold.ttf');
}
body {
  font-family: 'Open Sans', sans-serif;
}
a {
  text-decoration: none;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
}
a:hover {
  text-decoration: none;
}
ul {
  padding-left: 0;
}
li {
  list-style: none;
}
img {
  max-width: 100%;
}


/*---- back-to-top ----*/
#back-to-top {
  position: fixed;
  right: 2%;
  bottom: 10%;
  background: #f58220;
  border: 1px solid #fff;
  border-radius: 3px;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  color: #fff;
  font-weight: bold;
  font-size: 30px;
  cursor: pointer;
  opacity: 0;
  z-index: 9999999;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
}
#back-to-top:hover {
  background: #ad5103;
}
#back-to-top.show {
  opacity: 1;
}
.right {
  float: right;
}
/*---- header ----- */
header .navbar-brand {
  height: 100%;
  padding: 0 10px;
}
header .custom-navbar {
  margin-bottom: 0;
  background: rgba(0, 84, 255, 0.5);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  z-index: 100;
  width: 100%;
  border-radius: 0;
  border: none;
}
h2 {
  font-family: 'UTM Rockwell';
  font-size: 30px;
  color: #ec3237;
  text-shadow: 2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff, 1px 1px #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
}
.site-name img {
	margin-top: 15px;
	margin-bottom: 10px;
}
.site-name .address {
  color: #fff;
  font-family: 'UTM Swiss CondensedBold';
  font-size: 18px;
  font-weight: bold;
}
header .custom-navbar-nav {
  background: #0054ff;
  margin-bottom: 0;
  margin-top: 0;
}
header .custom-navbar-nav a {
  color: #fff !important;
  font-family: 'Times New Roman';
  text-transform: capitalize;
  font-size: 18px;
  padding-bottom: 10px;
  padding-top: 10px;
}
.navbar-default .navbar-nav.custom-navbar-nav>.active>a, .navbar-default .navbar-nav.custom-navbar-nav>.active>a:focus, .navbar-default .navbar-nav.custom-navbar-nav>.active>a:hover, .navbar-default .navbar-nav.custom-navbar-nav>li>a:focus, .navbar-default .navbar-nav.custom-navbar-nav>li>a:hover {
  background: #ec3237;
}
.main-slide img {
  width: 100%;
}
/*----- item-album -----*/
.item-album {
  margin: 10px -10px;
}
.item-thumb img {
  width: 100%;
}
.item-title {
  font-weight: 600;
  font-size: 18px;
  color: #fff !important;
  background: #0054ff;
  text-transform: uppercase;
  padding: 10px;
  position: relative;
  display: block;
  margin-top: 10px;
}
.item-title:after {
  content: "";
  font-family: 'fontawesome';
  color: #fff;
  font-size: 48px;
  position: absolute;
  right: 3px;
  top: 50%;
  transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  opacity: 0.5;
}
.item-title:hover {
  background: #ec3237;
}
.item-title:hover span {
  color: #0054ff;
}
.item-title span {
  display: block;
  color: #f30202;
  font-size: 17px;
  text-shadow: 1px 0 0 #fff, -1px 0 0 #fff, 0 1px 0 #fff, 0 -1px 0 #fff, 1px 1px #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
}
.hotline {
  position: absolute;
  right: 0;
  bottom: calc(100% + 5px);
  display: block;
  padding: 10px;
  background: rgba(236, 50, 55, 0.7);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}
.btn-more {
  background: #ec3237;
  color: #fff;
  text-transform: uppercase;
  border: 1px solid #ec3237;
  margin-top: 15px;
}
.btn-more:hover {
  background: #fff;
  color: #ec3237;
}
#gioi-thieu .container {
  background: #ebebeb;
}
.section-container {
  text-align: center;
  padding-top: 10px;
  padding-bottom: 20px;
}
.title-section {
  font-family: 'UTM Swiss CondensedBold';
  font-weight: bold;
  font-size: 36px;
  color: #ec3237;
  position: relative;
  text-transform: uppercase;
  margin-bottom: 25px;
}
.title-section:after {
  content: "";
  background: #a1a1a1;
  height: 3px;
  width: 40%;
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}
/*------ product ------*/
.item-product {
  border: 1px solid #dfdfdf;
  position: relative;
  margin-top: 10px;
}
.title-product {
  background: #0054ff;
  display: block;
  padding: 10px;
  color: #fff;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.title-product:hover {
  background: #ec3237;
  color: #fff;
}
.item-product .btn-more {
  visibility: hidden;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transform: 0.3s all ease;
}
.content-section .tab-content {
  margin-top: 10px;
}
.content-section .nav.nav-pills>li>a:focus, .content-section .nav.nav-pills>li>a:hover, .content-section .nav.nav-pills>li.active>a, .content-section .nav.nav-pills>li.active>a:focus, .content-section .nav.nav-pills>li.active>a:hover {
  background: #ec3237;
  color: #fff;
}
.content-section .nav.nav-pills>li>a {
  background: #0054ff;
  color: #fff;
  margin-bottom: 5px;
}
.thumb-product {
  position: relative;
  overflow: hidden;
}
.thumb-product img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transition: 0.3s all ease;
  -moz-transition: 0.3s all ease;
  -webkit-transition: 0.3s all ease;
}
.thumb-product:hover img {
  top: 50%;
  left: 50%;
  transform: scale(1.1) translate(-50%, -50%);
  -moz-transform: scale(1.1) translate(-50%, -50%);
  -webkit-transform: scale(1.1) translate(-50%, -50%);
}
.thumb-product:hover:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10;
}
.thumb-product:hover .btn-more {
  visibility: visible;
  top: 50%;
  transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  z-index: 11;
} 
.entry-header {
  position: relative;
  display: block;
  font-size: 24px;
  text-transform: uppercase;
  border-bottom: 1px solid #dfdfdf;
  padding-top: 15px;
  padding-bottom: 5px;
  margin-bottom: 10px;
  font-family: 'UTM Swiss CondensedBold';
}
.entry-header:after {
  content: "";
  width: 30px;
  height: 3px;
  background: #ec3237;
  position: absolute;
  top: calc(100% - 1px);
  left: 30px;
}
.widget-content ul li {
  display: block;
  position: relative;
  padding: 8px 20px 8px 0;
  border-bottom: 1px solid #333;
}
.widget-content ul li:after {
  content: "";
  font-family: 'fontawesome';
  font-size: 15px;
  color: #333;
  position: absolute;
  top: 50%;
  right: 2px;
  transform: translateY(-50%);
}
.widget-content ul li a {
  display: block;
  color: #333;
}
.widget-content ul li:hover a, .widget-content ul li:hover:after {
  color: #0054ff;
}
.main_content {
  padding: 10px 0;
}
.gallery-title h5 {
  color: #5e99fb;
  font-size: 15px;
  font-weight: bold;
  padding: 0 5px;
}
.gallery-container .gallery {
  position: relative;
}
.gallery-container .gallery .more-info {
  position: absolute;
  top: 5%;
  right: 5%;

}
.gallery-container .gallery .more-info a {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  height: 40px;
  line-height: 40px;
  width: 40px;
  text-align: center;
  display: inline-block;
}
/*-------- footer --------*/
.footer-bottom {
  background: #0054ff;
  color: #fff;
  text-align: center;
  padding-top: 10px;
}
.info-site {
  background: #0054ff;
  color: #fff;
  padding: 10px;
  margin-bottom: 10px;
}
.thongke-box {
  border: 1px solid #fff;
  padding: 10px 10px 0;
  border-radius: 5px; 
}
.socials {
  text-align: center;
}
.socials ul {
  margin-top: 20px;
}
.socials ul li {
  display: inline-block;
}
.socials ul li a {
  color: #464646;
  height: 40px;
  line-height: 38px;
  width: 40px;
  text-align: center;
  display: block;
  border: 1px solid #464646;
  font-size: 18px;
}

@media only screen and (max-width: 479px) {
  .site-name {
    display: none;
  }
  header .navbar-brand {
    height: 50px !important;
  }
  header .custom-navbar {
    position: unset;
    transform: unset;
    background: #0054ff;
  }
  .item-album .item-title {
    font-size: 12px;
    margin-top: 0;
  }
  .item-album .item-title span {
    font-size: 14px;
  }
  .item-album .item-title:after {
    font-size: 36px;
    right: 3px;
  }
  .thumb-product {
    height: 115px !important;
  }
}
@media only screen and (max-width: 767px) {
  .site-name {
    position: absolute;
    top: 0;
    left: 56%;
    transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    width: 70%;
  }
  .site-name h2 {
    font-size: 16px;
  }
  .site-name .address {
    font-size: 16px;
  }
  header .navbar-brand {
    padding: 0;
    height: 80px;
  }
  header .navbar-brand img {
    height: 100%
  }
  .thumb-product {
    height: 220px;
  }
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1023px) {
  .navbar-default .navbar-nav.custom-navbar-nav>li>a {
    padding: 10px 8px;
  }
  h2 {
    font-size: 22px;
  }
  header .navbar-brand {
    padding: 10px 0 0;
  }
  .thumb-product {
    height: 130px;
  }
  .item-title {
    font-size: 14px;
  }
  .item-title span {
    font-size: 20px;
  }
}
@media only screen and (min-width: 768px) {
  header .custom-navbar-nav {
    margin-top: 15px;
  }
}
@media only screen and (min-width: 1024px) {
  #album-anh .container {
    position: relative;
    top: -150px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.7);
    margin-bottom: -135px;
  }
  .thumb-product {
    height: 220px;
  }
  .album-box {
		width: 19.6%;
		margin: 0 0.2%;
		overflow: hidden;
	}

}
