@charset "utf-8";
/*------------------header------------------*/
/*#navigation {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height: 55px;
    background: #33334d;
    box-shadow: 0 0px 9px 4px rgba(0, 0, 0, 0.1), 0 -5px 2px 2px rgba(0, 0, 0, 0.1);
    z-index: 90;
    min-width: 580px;
    color: #fff;
}
  #navigation .links {
    float: right;
    margin-right: 30px;
    position: relative;
  }
  #navigation .links li {
    float: left;
    list-style: none;
    position: relative;
    margin: 10px;
    display: inline-block;
  }
  #navigation .links li > a {
    position: relative;
    display: inline-block;
    padding: 0 10px;
    line-height: 30px;
    height: 30px;
  }
  #navigation .links li > a:hover {
    background: #9494b8;
    color: #fff;
    border-radius: 2px;
  }
  #navigation .links li > a[class^=trigger-] {
    padding-right: 40px;
  }
  #navigation .links li > a .arrow {
    position: absolute;
    width: 10px;
    height: 10px;
    top: 35%;
    text-align: center;
    right: 10px;
    border-width: 5px 5px 0 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.3) transparent;
  }
  #navigation .links li > a .arrow:after {
    content: "";
    border-left: 1px solid rgba(0, 217, 255, 0.15);
    top: -10px;
    left: -15px;
    position: absolute;
    height: 15px;
  }
  #navigation .links li ul {
    position: absolute;
    right: 0;
    background: rgb(255, 255, 255);
    border-radius: 2px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    display: none;
    width: 200px;
  }
  #navigation .links li ul > li {
    clear: both;
    list-style: none;
    display: block;
    padding: 0 10px;
    margin: 0;
    width: 100%;
  }
  #navigation .links li ul > li:hover {
    background: #9494b8;
    width: 100%;
  }
  #navigation .links li ul > li:hover > a {
    background: #9494b8;
    color: #fff;
  }
  #navigation .links li:hover > .h_drop {
    display: block;
    animation: fadeInRight 0.3s ease;
    -webkit-animation: fadeInRight 0.3s ease;
  }

  @keyframes fadeInRight {
    0% {
      opacity: 0;
      transform: translate3d(100%, 0, 0);
    }
    100% {
      opacity: 1;
      transform: none;
    }
  }*/
/*--------------------------------------------------*/
/*.navbar {
    background-color: #33334d;
}
.navbar-brand {
    padding: 23.5px 20px;
    font-size: 20px
}
.navbar-nav {
    width: 100%
}
.nav-item1 {
    float: left;
    padding: 20px 8px;
    margin: 0px 3px;
    text-align: center;
    border-radius: 5px;
    color: grey;
    position: static;
    font-size: 20px;
}
.nav-item2 {
  margin: 50px;
  float: right;
  padding: 20px 8px;
  margin: 0px 3px;
  border-radius: 5px;
  color: rgb(255, 255, 255);
  position: static;
  font-size: 20px;
}
.nav-item1 a[name=product]{color: #ffffff;}
.nav-item1 a[name=category]{color: #ffffff;}
.nav-item1 a[name=blogs]{color: #ffffff;}
.nav-item1 a[name=new]{color: #ffffff;}
.nav-item1 a[name=contact_us]{color: #ffffff;}
.nav-item2 a[name=ctgr_list]{color: #ffffff;}
.nav-item1 li[name=welcome]{color: #ffffff;}

 
.active a[name=product], a[name=category], a[name=blogs], a[name=new], a[name=contact_us], a[name=ctgr_list],a[name=ctgr_list] {
  color: #EF5350;
}
a[name=product]:hover, a[name=category]:hover, a[name=blogs]:hover, a[name=new]:hover, a[name=contact_us]:hover, a[name=ctgr_list]:hover,a[name=ctgr_list]:hover {
  color: #EF5350;
}
.nav-link {
    padding: 5px
}
.navbar-collapse.collapse.in {
    display: block !important
}
.fa-angle-down {
    padding-left: 10px
}
.fa-icon {
    font-size: 30px;
    color: #fff;
    background-color: rgb(240, 240, 240);
    margin: 2px 10px 5px 0px;
    border-radius: 10px;
    width: 50px;
    height: 50px
}
.dropdown-menu {
    margin-top: 0px;
    border: none;
    background-color: #F3E5F5;
    padding: 50px 50px 30px 50px
}
#dropdown-menu1 {
    position: absolute;
    left: 165px
}
#dropdown-menu2 {
    position: absolute;
    left: 220px
}
#dropdown-menu3 {
    position: absolute;
    left: 415px
}
.tab {
    margin-bottom: 20px;
    width: 230px
}
.tab:hover {
    color: #E91E63 !important
}
.dropdown-item {
    padding: 0px
}
.dropdown-item:hover {
    background-color: inherit
}
@media (max-width: 767px) {
    .nav-item1 {
        width: 100%;
        text-align: left;
        padding-left: 10px
    }
    .dropdown-menu {
        left: 0 !important;
        position: relative !important;
        padding: 20px
    }
}*/

/*------------------------------------------------------*/
/*#menuToggle {
  display: block;
  position: relative;
  z-index: 1;

  -webkit-user-select: none;
  user-select: none;
}
#menuToggle a {
  text-decoration: none;
  color: #232323;
  transition: color 0.3s ease;
}
#menuToggle a:hover {
  color: tomato;
}
#menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;

  cursor: pointer;

  opacity: 0;
  z-index: 151;

  -webkit-touch-callout: none;
}
#menuToggle span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;

  background: #f5f5f5;
  border-radius: 3px;

  transform-origin: 4px 0px;

  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
    background: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}
#menuToggle span:first-child {
  transform-origin: 0% 0%;
}
#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 80%;
}*/
/*----------ขีด3ขีด----------*/
/*#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;;
}
#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}
#menuToggle input:checked ~ span:nth-last-child(2) {
  transform: rotate(-45deg) translate(0, -1px);
}
#menu1 {
  border:5px solid #0300bd;
  position: absolute;
  width: 300px;
  margin: -60px 0 0 -242px;
  padding: 50px 50px 50px 70px;
  padding-top: 60px;
  background: rgb(240, 240, 240);
  border-radius: 5px;
  z-index: -2;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  transform-origin: 0% 0%;
  transform: translate(0, -100%);
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
  text-align: left;

}
#menu1 li {
  padding: 10px 0;
  font-size: 22px;
}
#menuToggle input:checked ~ ul {
  transform: none;
}*/

/***** Sidebar *****/
.wrapper1 {
  display: block;
}
.navbar-brand{
  margin-left: 30px;
}
.sidebar {
  width: 250px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: -255px;
  background: #ffffff;
  color: #33334d;
  transition: all .3s;
  box-shadow: 3px 3px 3px rgba(51, 51, 51, 0.5);
  text-align: left;
  z-index: 9999;
}
.sidebar.active {
  left: 0;
}
/***** Content *****/
.content {
  transition: all 0.3s;
  width: 50px;
}
.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 2040px;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}
.overlay.active {
  display: block;
  opacity: 1;
}
.open-menu {
  /*position: fixed;*/
  top: 20px;
  left: 10px;
}
.open-menu.btn-customized,
.open-menu.btn-customized:hover, 
.open-menu.btn-customized:active, 
.open-menu.btn-customized:focus, 
.open-menu.btn-customized:active:focus, 
.open-menu.btn-customized.active:focus,
.open-menu.btn-customized.btn.btn-primary:not(:disabled):not(.disabled):active,
.open-menu.btn-customized.btn.btn-primary:not(:disabled):not(.disabled):active:focus {
  box-shadow: 3px 3px 3px rgba(51, 51, 51, 0.2);
}
a.btn-customized {
  margin-left: 5px;
  margin-right: 5px;
  padding: .75rem 1.5rem;
  background: #f35b3f;
  border: 0;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 300;
  color: #33334d;
  box-shadow: none;
}
a.btn-customized:hover, 
a.btn-customized:active, 
a.btn-customized:focus, 
a.btn-customized:active:focus, 
a.btn-customized.active:focus,
a.btn-customized.btn.btn-primary:not(:disabled):not(.disabled):active,
a.btn-customized.btn.btn-primary:not(:disabled):not(.disabled):active:focus {
  outline: 0;
  background: #cd533d;
  background: rgba(243, 91, 63, 0.7);
  border: 0;
  color: #33334d;
  box-shadow: none;
}
.dismiss {
  width: 35px;
  height: 35px;
  position: absolute;
  top: 10px;
  right: 10px;
  transition: all .3s;
  background: #ffffff;
  border-radius: 4px;
  text-align: center;
  line-height: 35px;
  cursor: pointer;
  color: #33334d;
}
.sidebar .logo {
  padding: 40px 20px;
  border-bottom: 1px solid rgb(199, 199, 199);
  transition: all .3s;
}
.sidebar ul.menu-elements {
  padding: 10px 0;
  border-bottom: 1px solid rgb(199, 199, 199);
  transition: all .3s;
}
.sidebar ul li a {
  display: block;
  padding: 10px 20px;
  border: 0;
  color: #33334d;
  margin-left: 10px;
  margin-right: 10px;
}
.sidebar ul li a:hover,
.sidebar ul li a:focus,
.sidebar ul li.active > a:hover,
.sidebar ul li.active > a:focus {
  background: #e0fdff;
  color: #3285e5;
  border-radius: 20px;
  margin-left: 10px;
  margin-right: 10px;
}
.sidebar ul li a i {
  margin-right: 5px;
}
.sidebar ul li.active > a,
a[aria-expanded="true"] {
  background: #ffffff;
  color: #33334d;
}
.sidebar ul ul a {
  background: #ffffff;
  padding-left: 30px;
  font-size: 14px;
}
.sidebar ul ul li.active > a {
  background: #ffffff;
}
.sidebar a[data-toggle="collapse"] {
  position: relative;
}
.sidebar .to-top {
  padding: 20px;
  text-align: center;
}
a.btn-customized-3 {
  display: inline-block;
  width: 100%;
  margin: 0;
  padding: .75rem 1.5rem;
  background: #ffffff;
  border: 0;
  border-radius: 10px;
  font-size: 16px;
  color: #33334d;
  box-shadow: none;
  border: 1px solid rgb(199, 199, 199);;
}
a.btn-customized-3:hover, 
a.btn-customized-3:active, 
a.btn-customized-3:focus, 
a.btn-customized-3:active:focus, 
a.btn-customized-3.active:focus,
a.btn-customized-3.btn.btn-primary:not(:disabled):not(.disabled):active,
a.btn-customized-3.btn.btn-primary:not(:disabled):not(.disabled):active:focus {
  outline: 0;
  background: #e0fdff;
  border: 0;
  color: #33334d;
  box-shadow: none;
}
a.btn-customized-3 i {
  margin-right: 5px;
}
.sidebar .dark-light-buttons {
  padding: 10px 20px 30px 20px;
  text-align: center;
}
a.btn-customized-4 {
  display: inline-block;
  width: 28px;
  height: 28px;
  margin: 0 3px;
  padding: 0;
  background: #ffffff;
  border: 0;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 300;
  color: #33334d;
  box-shadow: none;
  text-indent: -999999px;
}
a.btn-customized-4.btn-customized-dark:hover, 
a.btn-customized-4.btn-customized-dark:active, 
a.btn-customized-4.btn-customized-dark:focus, 
a.btn-customized-4.btn-customized-dark:active:focus, 
a.btn-customized-4.btn-customized-dark.active:focus,
a.btn-customized-4.btn-customized-dark.btn.btn-primary:not(:disabled):not(.disabled):active,
a.btn-customized-4.btn-customized-dark.btn.btn-primary:not(:disabled):not(.disabled):active:focus {
  outline: 0;
  background: #ffffff;
  border: 0;
  color: #33334d;
  box-shadow: none;
}
a.btn-customized-4.btn-customized-light:hover, 
a.btn-customized-4.btn-customized-light:active, 
a.btn-customized-4.btn-customized-light:focus, 
a.btn-customized-4.btn-customized-light:active:focus, 
a.btn-customized-4.btn-customized-light.active:focus,
a.btn-customized-4.btn-customized-light.btn.btn-primary:not(:disabled):not(.disabled):active,
a.btn-customized-4.btn-customized-light.btn.btn-primary:not(:disabled):not(.disabled):active:focus {
  outline: 0;
  background: #ffffff;
  border: 0;
  color: #33334d;
  box-shadow: none;
}
.dropbtn1{
  float: left;
  padding: 5px 25px 5px 25px;
}
.dropbtn1:link {
  color: #ffffff;
}
.dropbtn1:hover{
  color: #7ed957;
  border: 1px solid #00a859;
  border-radius: 50px;
}
.nav-item1{
  margin-left: 920px;
  margin-top: 15px;
}
.dropbtn2{
  float: left;
  padding: 5px 25px 5px 25px;
}
.dropbtn2:link {
  color: #ffffff;
}
.dropbtn2:hover{
  color: #7ed957;
  border: 1px solid #00a859;
  border-radius: 50px;
}
.nav-item2{
  margin-top: 15px;
}
.nav-item3{
  margin-top: 15px;
  float: left;
  margin-left: 890px;
}
.header_list1{
    height: 60px;
    width: 100%;
    list-style-type: none;
}
.dropbtn3{
  margin-top: 15px;
  float: left;
  padding: 10px 7px 10px 7px;
}
/*------------------------------------------------------*/
.navbar{
  background-color: #33334d;
}
.btn-primary1 {
  color: #fff;
  background-color: #33334d;
  border-color: #83838383; 
  border-radius: 50px;
}
  .btn-primary1:hover {
    color: #7ed957;
    border: 1px solid #00a859;
  }
  .btn-primary1.disabled, .btn-primary:disabled {
    color: #fff; }
  .btn-primary1:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
  .show > .btn-primary.dropdown-toggle {
    color: #fff;}

/*------------- list หมวดหมู่ -----------------*/
.dropbtn {
  background-color: #33334d;;
  color: white;
  border: none;
  padding: 5px 25px 5px 25px;
}
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-content {
  border-radius: 10px;
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 150px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}
.dropdown-content a:hover {background-color: #f1f1f1; border-radius: 10px;}
.dropdown:hover .dropdown-content {
  display: block;
}
.dropdown:hover .dropbtn {
  background-color: #33334d;
}
.dropbtn a:link {
  color: rgb(255, 255, 255); 
}
.dropbtn a:hover{
  background-color: #33334d;
  color: #7ed957;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
.dropbtn:hover  {
  background-color: #33334d;
  color: #7ed957;
  border: 1px solid #00a859;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
.sharebuttons{
  float: right;
  margin-right: 50px;
}
.sharebuttons a { color: #fff !important; }
.btn-facebook { 
  background: #3b5998;
  padding: 10px 20px 0px 20px;
  border-radius: 10px 0px 0px 10px; /*ซ้ายบน ขวาบน ลงขวา ลงซ้าย */
}
.btn-linkedin { 
  background: #41c508;
  padding: 10px 20px 0px 20px;
}
.btn-google { 
  background: #0274cd;
  padding: 10px 20px 0px 20px;
  border-radius: 0px 10px 10px 0px ; /*ซ้ายบน ขวาบน ลงขวา ลงซ้าย */
}
.btn-facebook:hover { background: #2f4679;}
.btn-linkedin:hover { background: #39ad08;}
.btn-google:hover { background: #035a9c;}
/*----------------------------------------------*/

.header_bar{
  background-color: #33334d;
  margin-bottom: -10px;
  height: 70px;
}
.header_bar ul {
  list-style-type: none;
}
.header_bar li {
  float: left;
  padding-right: 20px;
}
/*.header_bar li a {
  display: inline-block;
  color: rgb(250, 248, 248);
  text-align: center; 
  padding: 5px 16px 0px 16px;
  text-decoration: none;
}
.header_bar li a:hover {
  border-radius: 10px;
  background-color: #f5f5ef;
  color: #d03940;
  border: 1px solid #d03940;
}*/
/*------------------ รูปปก ----------------------*/
#logo_header{
  padding: 50px 0px 10px 0px;
  text-align: center;
  background-color: #f5f5ef;
}
/*---------------------หน้าpopup---------------------*/
a[data-toggle="modal"] {
  margin: 5px;
}
.modal-dialog{
  border-radius: 2px;
  background-color:rgb(228, 228, 228);
  padding: 0px 1070px 0px 26px;
}
.modal-content {
  border: none;
  border-radius: 2px;
  box-shadow: 0 16px 28px 0 rgba(0,0,0,0.22),0 25px 55px 0 rgba(0,0,0,0.21);
}
.modal-header{
  border-bottom: 0;
  text-align: right;
  height: 20px;
  width: 1040px;
}
.modal-body{
  padding-left:40px;
  padding-bottom:30px;
}
.modal-dialogs{
    height: 500px;
}