/* menu */

/* 1.all */
/* 2.black to top */
/* 3.header เก่า*/
/* 4.header ใหม่ */
/* 5.topic content1 ยี่ห้อแบตเตอรี่ */
/* 6.content1 ยี่ห้อแบตเตอรี่ */
/* 7.content2 รูป storck แบต*/
/* 8.gallery (รูปเปลี่ยนแบต)*/
/* 9.footer */



/* all */
body, html {
  height: 100%; 
}

/* black to top */
#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: rgba(255, 0, 0, 0.404); /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 100px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

#myBtn:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}



/* header เก่าที่เป็น carousel*/
.carousel,
.carousel-inner,
.carousel-item,
.carousel-inner .active {
    height: 100%;
}

.carousel-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.carousel-caption {
    top: 7%;
    left: 30%;
}

.backscreen {
    /* background: rgba(0, 0, 0, 0.1); */
    height: 100%;
}

.carousel-caption h1{
  font-size: 70px;
}

.carousel-caption h4{
  font-size: 25px;
}

/* Header ใหม่ เป็น parallex*/
.page-title {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: block;
  padding-top: 100px;
  color: #fff;
}
.caption h1{
  font-size: 70px;
}
.caption h4{
  font-size: 25px;
}

/* topic content1 ยี่ห้อแบตเตอรี่ */
.topic-content1 {
    width: 100%px;
    padding: 5px;
    border-radius: 10px;
    color: white;
    background-color: #26272b;
    border: 3px solid rgb(151, 0, 0);
    margin: 0;
    text-align: center;
}

/* content1 ยี่ห้อแบตเตอรี่ */
.link img{
  
  max-width: 50%;
  height: auto!important;

  
  width: auto;
  height: auto;
  margin: auto auto;
  display: block;
  transition: 0.3s;
}

.link img:hover {
  transform: scale(1.3);
}

#content1 {
  width: 100%;
  padding: 5px;
  border-radius: 10px;
  color: white;
  background-color: #E9EBEE;
  /* border: 3px solid rgb(151, 0, 0); */
  margin: 0;
  text-align: center;
}

/* content2 รูป storck แบต*/
.parallax {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: top;
  position: relative;
  display: block;
  padding-top: 100%;
}

/* gallery (รูปเปลี่ยนแบต)*/
#gallery {
  max-width:800px;
  height: 400px;
}


/* footer */
.site-footer
{
  background-color:#26272b;
  padding:45px 0 20px;
  font-size:15px;
  line-height:24px;
  color:#737373;
}
.site-footer hr
{
  border-top-color:#bbb;
  opacity:0.5
}
.site-footer hr.small
{
  margin:20px 0
}
.site-footer h6
{
  color:#fff;
  font-size:16px;
  text-transform:uppercase;
  margin-top:5px;
  letter-spacing:2px
}
.site-footer a
{
  color:#737373;
}
.site-footer a:hover
{
  color:#3366cc;
  text-decoration:none;
}
.footer-links
{
  padding-left:0;
  list-style:none
}
.footer-links li
{
  display:block
}
.footer-links a
{
  color:#737373
}
.footer-links a:active,.footer-links a:focus,.footer-links a:hover
{
  color:#3366cc;
  text-decoration:none;
}
.footer-links.inline li
{
  display:inline-block
}
.site-footer .social-icons
{
  text-align:right
}
.site-footer .social-icons a
{
  width:40px;
  height:40px;
  line-height:40px;
  margin-left:6px;
  margin-right:0;
  border-radius:100%;
  background-color:#33353d
}
.copyright-text
{
  margin:0
}
@media (max-width:991px)
{
  .site-footer [class^=col-]
  {
    margin-bottom:30px
  }
}
@media (max-width:767px)
{
  .site-footer
  {
    padding-bottom:0
  }
  .site-footer .copyright-text,.site-footer .social-icons
  {
    text-align:center
  }
}
.social-icons
{
  padding-left:0;
  margin-bottom:0;
  list-style:none
}
.social-icons li
{
  display:inline-block;
  margin-bottom:4px
}
.social-icons li.title
{
  margin-right:15px;
  text-transform:uppercase;
  color:#96a2b2;
  font-weight:700;
  font-size:13px
}
.social-icons a{
  background-color:#eceeef;
  color:#818a91;
  font-size:16px;
  display:inline-block;
  line-height:44px;
  width:44px;
  height:44px;
  text-align:center;
  margin-right:8px;
  border-radius:100%;
  -webkit-transition:all .2s linear;
  -o-transition:all .2s linear;
  transition:all .2s linear
}
.social-icons a:active,.social-icons a:focus,.social-icons a:hover
{
  color:#fff;
  background-color:#29aafe
}
.social-icons.size-sm a
{
  line-height:34px;
  height:34px;
  width:34px;
  font-size:14px
}
.social-icons a.facebook:hover
{
  background-color:#3b5998
}
.social-icons a.twitter:hover
{
  background-color:#00aced
}
.social-icons a.linkedin:hover
{
  background-color:#007bb6
}
.social-icons a.dribbble:hover
{
  background-color:#ea4c89
}
@media (max-width:767px)
{
  .social-icons li.title
  {
    display:block;
    margin-right:0;
    font-weight:600
  }
}