.itopplus-background {

}
/*ตารางฟ้า*/
table.tj8 {
    border-spacing: 0;
    width: 100%;
    border: 1px solid #151515;
    padding: 10px;
    background-color: #fff;
    font-family: initial;
    font-weight: 400;
}
table.tj8 td {
  border: 1px solid #151515;
  padding:6px; 
  font-size:15px;
  vertical-align: middle;
  text-align: left;


}
table.tj8 th {
    border: 1px solid #151515;
    text-align: center;
    padding: 10px;
    font-size: 15px;
    vertical-align: middle;
    font-weight: normal;
    background-color: #FFCC01;
    color: #000;
}
.a li span {
    vertical-align: text-bottom;
}
table.tj9 {
    border-spacing: 0;
    width: 100%;
    padding: 10px;
    background-color: #fff;
    font-family: initial;
    font-weight: 400;
}
table.tj9 td {
  padding:6px; 
  font-size:15px;
  vertical-align: middle;
  text-align: left;


}
table.tj9 th {
    text-align: center;
    padding: 10px;
    font-size: 15px;
    vertical-align: middle;
    font-weight: normal;
    background-color: #0099CC;
    color: #fff;
}
.a li span {
    vertical-align: text-bottom;
}

@media (max-width: 768px){  
  table.tj8 {
   border-spacing: 0;
   width: 100%;
   border: 1px solid #151515;
   padding:10px;
    white-space: nowrap;
}
  table.tj8 th {
  border: 1px solid #151515;
  padding:8px; 
  font-size:15px;
  vertical-align: top;
}
table.tj8 td {
  border: 1px solid #151515;
  padding:5px; 
  font-size:14px;
  vertical-align: top;
  text-align: left;
}
  table.tj9 {
   border-spacing: 0;
   width: 100%;
   padding:10px;
    white-space: nowrap;
}
  table.tj9 th {
  padding:8px; 
  font-size:15px;
  vertical-align: top;
}
table.tj9 td {

  padding:5px; 
  font-size:14px;
  vertical-align: top;
  text-align: left;
}
  .row-fluid [class*=col-sm-5fix], .uneditable-input[class*=col-sm-5fix], [class*=col-sm-5fix] {
    width: 33%;
}
}



/*ฟอร์มสร้างเอง*/
#capcha0{
      margin-left: -7px;
      margin-right: -45px;
}

@media (max-width:768px) {
#display4, #display6, #display8{
      margin-right: -20px;
}
#btnview5dcb861d28a3f50012f7a9a3 {
    margin-left: 25%;
}
  .itopplus-bgmain2 {
    background-size: cover;
}
}


/*----ค้นหา-----*/
  .search_text a{
   color:#000;
  }

 /*------------ค้นหา -------------------*/
  .itopplus-search-image-flex-container {
   width: 100%!important;
   display: block!important;
}
  .itopplus-search-image-flex-item img {
    height: inherit;
    width: 100%!important;
}
.itopplus-search-image-flex-item {
    background-color: #f2f2f2!important;
    width: 48%!important;
    padding: 10px;
    text-align: left;
    display: inline-block;
}

.itopplus-search-shopcart-image {
    height: auto !important;
    overflow: hidden;
}  
.itopplus-search-shopcart-image img{
  width: 100% !important;
  }



/*from Contact*/
.no-js #Component5dcb9fb65cbfd90013f7eaee label {
    display: none!important;
}
.no-js #Component5dcb9fb65cbfd90013f7eaee .col-md-6 {
    width: 100%;
      margin-left: 0;
}

.no-js #Component5dcb9fb65cbfd90013f7eaee .form-control {
    border: 1px solid #c1c1c1;
    border-radius: 0px!important;
    -webkit-box-shadow: inset 0 0px 0px rgba(0,0,0,.075);
    box-shadow: inset 0 0px 0px rgba(0,0,0,.075);
    font-size: 14px!important;
    padding: 20px;
    background: transparent;
      color: #000;
}


.no-js #Component5dcb9fb65cbfd90013f7eaee .form-control:focus {
    border-color: #ffe502;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
    box-shadow: inset 0 0px 0px rgba(0,0,0,.075), 0 0 0px rgba(102, 175, 233, 0);
  color: #000!important;
}

.no-js #Component5dcb9fb65cbfd90013f7eaee .btn {
    background-image: -webkit-linear-gradient(top,#404040 0,#404040 100%);
    background-image: -o-linear-gradient(top,#404040 0,#404040 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#404040 ),to(#404040 ));
    background-image: linear-gradient(to right, #404040 0%,#404040 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#404040',endColorstr=#404040,GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    background-repeat: repeat-x;
    border-color: #0000;
    border-radius: 0px;
    padding: 10px 30px;
    font-size: 14px;
    border: 0px solid transparent;
    color: #fff;
}
.no-js #Component5dcb9fb65cbfd90013f7eaee .btn-default:active {
background-color: #404040;
}

.no-js #Component5dcb9fb65cbfd90013f7eaee .btn-default:hover,
.no-js #Component5dcb9fb65cbfd90013f7eaee .btn-default:focus {
    background-position: 0 0px;
  background-color: #404040;
}
.form-group .label a {
    color: #000;
}
/*from Contact*/ 





/*ตารางฟ้า1*/
table.tj{
   border-spacing: 0;
   width: 100%;
   border: 1px solid #ddd;
   padding:10px;
   background-color:#fff;
}
table.tj th{
 border: 1px solid #ddd;
  padding:15px; 
  font-size:16px;
  vertical-align: top;
  text-align: left;
  color: #fff;
  background-color:#291a55;
  font-weight:normal;
}
table.tj td {
  border: 1px solid #ddd;
  background-color: #f3f3f3;
  color:#000;
  padding:15px; 
  font-size:16px;
  vertical-align: top;
  text-align: left;
}
table.tj td:hover{background-color: #f6bc3b;color: #fff; }

/*ตารางฟ้า3*/
table.tj3{
   border-spacing: 0;
   width: 100%;
   border: 1px solid #ddd;
   padding:5px;
   background-color:#fff;
}
table.tj3 th{
 border: 1px solid #ddd;
  padding:5px; 
  font-size:12px;
  vertical-align: top;
  text-align: left;
  color: #fff;
  background-color:#291a55;
  font-weight:normal;
}
table.tj3 td {
  border: 1px solid #ddd;
  background-color: #f3f3f3;
  color:#000;
  padding:5px; 
  font-size:12px;
  vertical-align: middle;
  text-align: left;
}
table.tj td:hover{background-color: #f6bc3b;color: #fff; }

/*ตารางฟ้า*/
table.tj2 {
   border-spacing: 0;
   width: 100%;
   border: 1px solid #ddd;
   padding:10px;
   background-color:#fff;
}

table.tj2 td {
  border: 1px solid #ddd;
  padding:15px; 
  font-size:16px;
  vertical-align: top;
  text-align: left;
  color: #fff;

}

table.tj2 td:nth-child(even) {background-color: #f3f3f3;color:#000;}
table.tj2 td:nth-child(odd) {background-color: #291a55;} 

table.tj2 td:nth-child(odd):hover {
    background-color: #291a55;color:#fff;}
table.tj2 td:hover{background-color: #f6bc3b;color: #fff; }

#contenttype71 {
    font-size: 16px;
    text-align: left;
}
.nav-template7 li a {
    color: #333;
    display: inline-block;
    font-size: 12px !important;
    text-align: left;
  	font-weight:500;
}
ul.nav-template7 strong {
    font-size: 18px;
}
span.fas.fa-plus {
    color: #da251c;
    font-size: 20px;
}
.nav-template7 li {
    list-style: none;
    list-style-type: none;
    padding: 5px 0;
    margin: 0;
    border-bottom: 2px solid #f6bc3c;
    border-top: 1px solid #f6f6f6;
    background-color: #f3f3f3;
}


/*อัลบั้มในเนื้อหาระบบ*/
.form-group .col-md-2 {
 padding: 5px;
 text-align: center!important;
}
#Contentmanager a.thumbnail.fancybox {
    border: solid 1px #ddd;
}
#Contentmanager .form-group .col-md-3 {
 	padding: 10px;
 	text-align: center!important;
	margin-bottom: -20px;
    width: 33%;
  	padding-top: 15px;
}
a.thumbnail:hover, a.thumbnail:focus, a.thumbnail.active {
    border-color: #009e56;
    -webkit-filter: contrast(120%);
    filter: contrast(120%);
    box-shadow: 0 0 10px rgba(144, 144, 144, 0.8);
}
/*เนื้อหาระบบ*/
h3.managerHeader {
    color: #2b2b2b;
    font-size: 26px;
    margin-bottom: -20px;
}
#Contentmanager .post-time {
    font-size: 12px;
    color: #666;
    display: none;
}
.landingpagemanager {
    display: none;
}


.col-md-6.pull-left {
    margin-left: -2%;
}
.Contentmanager .site .col-section .item.-micro a:hover .caption .title {
    color: #da251c;
}
.Contentmanager .site .col-section .item.-micro a .caption .time {
    margin-bottom: 10px;
    font-size: 1em;
    color: gray;
    display: none;
}
.Contentmanager .site .col-section .item.-micro a .caption .title {
    margin-bottom: 10px;
    font-size: 1.2em;
    font-weight: 400;
    line-height: 1.2em;
    color: #444;
    text-align: center;
    min-height: 50px;
}
article.col-md-6.item.-micro {
    width: 31%;
}
.Contentmanager .site .col-section .item.-micro a .image {
    width: 100%;
    margin-bottom: 15px;
}
.Contentmanager .site .col-section .item.-micro a .caption {
    width: 100%;
  	padding-left: 0px;
}
.Contentmanager .site .col-section .item.-micro:nth-child(even) {
    border-bottom: none;
    background-color: #fff;
    margin: 10px;
  	border: solid 1px #ddd;
      margin-bottom: 15px;
}
.Contentmanager .site .col-section .item.-micro:nth-child(odd) {
    border-right: none;
    border-bottom: none;
     background-color: #fff;
    margin: 10px;
	border: solid 1px #ddd;
    margin-bottom: 15px;
}
.Contentmanager .site .col-section .item.-micro a .post {
    text-align: center;
    margin: 10px;
    font-size: .8em;
    color: #bbb;
    padding-top: 15px;
      display: none;
}
.Contentmanager .site .col-section .item.-micro a:hover .img-zoom img {
    -webkit-transform: scale(1.1,1.1);
    -ms-transform: scale(1.1,1.1);
    transform: scale(1.1,1.1);
}
.col-md-8.col-sm-8.col-xs-12 strong {
    font-size: 15px;
}
.col-md-8.col-sm-8.col-xs-12 p{
    font-size: 14px;
  	text-align: left;
}
.img-container {
    width: 100%;
    padding-bottom: 86%;
}
.nav-template li{
    max-height: inherit!important;
}
.img-container.template-panel {
    height: inherit!important;
}







/*effect*/
.hvr-float, .hvr-float a{
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
  	text-align: center;
   color:#fff;
  font-size:16px;
}
.hvr-float:hover, .hvr-float:focus, .hvr-float:active, .hvr-float a:hover {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
    color: #f6bc3b;
}
.hvr-shrink {
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
}
.hvr-shrink:hover, .hvr-shrink:focus, .hvr-shrink:active {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
}
.hvr-sweep-to-top:hover, .hvr-sweep-to-top:focus, .hvr-sweep-to-top:active {
    color: white;
}

.border-home {
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
   border-radius:12px;
}
.border-home:hover:before, .border-home:focus:before, .border-home:active:before {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
}
.border-home:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #534949;
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
     border-radius:12px 12px 0 0;
}



.thumbs {
    border: 0;
    box-shadow: none;
    padding-right: 0px!important;
    padding-left: 0px!important;
}
.thumbs:hover {
    color: #da251c;
}

.detail1 {
    font-size: 16px;
    text-align: center;
    line-height: 1.8;
    height: 180px;
}

.thumbnail {
    padding: 10px;
    border:solid 1px #ddd;
    border-radius: 0px;
    padding-right: 10px!important;
    padding-left: 10px!important;
}
.thumbnail:hover{
    box-shadow: 0 0 10px rgba(144, 144, 144, 0.8);
}
figure.effect-oscar figcaption {
    padding: 0em;
    -webkit-transition: background-color .35s;
    transition: background-color .35s;
	background: linear-gradient(to bottom, rgba(235,233,249,0) 0%, rgba(255, 255, 255, 0) 70%, rgb(0, 0, 0) 100%);
}
figure.effect-oscar figcaption::before {
    border: 0;
}
figure.effect-oscar h2 {
       margin: 20% 0 0px 0;
    -webkit-transition: -webkit-transform .35s;
    transition: transform .35s;
    -webkit-transform: translate3d(0,100%,0);
    transform: none;
    bottom: 0;
    position: absolute;
    font-size: 18px;
    text-align: left;
  	width:100%;
}
figure.effect-oscar h2:hover {
   background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(246,187,59,1) 100%);
   width:100%;
}
figure.effect-oscar img {
    opacity: 1
}

.thumbs img.imageGallery:hover {
    -webkit-filter: contrast(120%);
    filter: contrast(120%);
    box-shadow: 0 0 10px rgba(144, 144, 144, 0.8);
}


.border-home{
	background-color:#6f5f5e;
  	color:#fff;
  	font-size:26px;
  	text-align:center;
  	border-radius:12px;
  	padding:15px 10px;
  	border-bottom:solid 10px #f6bc3b;
}
figure.effect-oscar:hover img {
    opacity: 1;
}


.pad-top{
  padding-top:10%;
}
.pad{
  padding-top:6%;
}
.btn-download{
	background-color:#f11d24;
  	color:#fff;
  	font-size:26px;
  	font-weight:550;
  	padding:30px 10px;
  	width:100%;
      -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.btn-download:hover{
	background-color:#000;
}
.btn-home{
  	border:solid 2px #f5b119;
	background-color:#fff;
  	font-size:16px;
  	padding:10px 35px;
  	width:max-content;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
  	color:#000;
}
.btn-home:hover{
	background-color:#f5b119;
  	color:#000;
}
.btn-product{
  	border:solid 2px #f5b119;
	background-color:#fff;
  	font-size:14px;
  	padding:8px 35px;
  	width:max-content;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
  	margin:0 auto;
  	margin-top:10px;
   color:#000;
}
.btn-product:hover{
	background-color:#f5b119;	
}

.btn-down {
    background-color: #f11e25;
    color: #fff;
    padding: 10px;
    width: 80%;
    margin: 0 auto;
    margin-top: 20px;
      -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.btn-down:hover {
	background-color:#000;
}

.thumbs h2.margin {
    font-size: 16px;
    text-align: center;
    height: 35px;
    line-height: 1.5;
}


/*ไอคอน*/
ul.a {
   list-style-image: url('https://itp1.itopfile.com/ImageServer/itp_02082019q3hy/25/0/icon-checkboxz-z601048037908.webp');
}
ul.b {
   list-style-image: url('https://itp1.itopfile.com/ImageServer/itp_02082019q3hy/30/0/dz-z1245137262021.webp');
}
ul.b li{
	border-bottom:solid 1px #ddd;
  	font-size:16px;
  	text-align:left;
}


.itopplus-footer, .itopplus-footer a{
	color:#000;
}
a:hover{
	color:#da251c;
}

/*-------------ipad-----------*/
@media only screen and (max-width : 812px) { 
.itopplus-footer, .itopplus-footer a {
    color: #000;
    font-size: 12px;
}
    .pad{
  padding-top:4%;
}
  .border-home {
    background-color: #6f5f5e;
    color: #fff;
    font-size: 17px;
    text-align: center;
    border-radius: 12px;
    padding: 15px 10px;
    border-bottom: solid 7px #f6bc3b;
}
  .btn-down {
    width: 90%;
  }
  
  h2 {
    font-size: 18px;
}

  .col-md-3.col-sm-4.col-xs-4 {
    width: 25%;
}
  /*เนื้อหาระบบ*/
  article.col-md-6.item.-micro {
    width: 30%;
}
       /*------------ค้นหา -------------------*/
      .itopplus-search-image-flex-item {
    background-color: #f2f2f2!important;
    width: 30%!important;
    padding: 5px;
    text-align: left;
    display: inline-block;
    height: 100px!important;
    min-height: 0px!important;
    max-height: 300px!important;
}
  #searchResultLanding {
    margin: 0 5px;
}
}
/*-------------ipad-----------*/


/*-------------mobile-----------*/
@media only screen and (max-width :414px) {  
  h1 {
    font-size: 20px;
}
  .pad{
  padding-top:2%;
}
.border-home {
    background-color: #6f5f5e;
    color: #fff;
    font-size: 22px;
    text-align: center;
    border-radius: 12px;
    padding: 15px 10px;
    border-bottom: solid 7px #f6bc3b;
}
    /*เนื้อหาระบบ*/
  article.col-md-6.item.-micro {
    width: 100%;
}
  h3.managerHeader {
    color: #2b2b2b;
    font-size: 20px;
    margin-bottom: 0;
}
  #Contentmanager .form-group .col-md-3 {
    padding: 10px;
    text-align: center!important;
    margin-bottom: -20px;
    width: 100%;
    padding-top: 15px;
}
  .col-md-12.text-justify {
    padding-left: 20px;
}

.thumbs h2.margin {
    font-size: 16px;
    text-align: center;
    height: max-content;
    line-height: 1.5;
  background-color: #eee;
}
        
   /*------------ค้นหา -------------------*/
    .itopplus-search-image-flex-item {
    background-color: #f2f2f2!important;
    height: 100px!important;
    width: 95%!important;
    padding: 10px;
    text-align: left;
}
    .row-fluid [class*=col-sm-5fix], .uneditable-input[class*=col-sm-5fix], [class*=col-sm-5fix] {
    width: 100%;
}
}
/*-------------mobile-----------*/
  
  
  
  /*เมนูบน*/
.navbar-default .navbar-nav>li>a {
    color: #6f5f5e;
    font-size: 18px;
}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.open>a, 
.navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover, .navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover {
    background-color: #f6bc3b;
    color: #fff;
    border-radius: 8px;
}
.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus, .menuVertical .dropdown-menu>li>a:hover{
    background-color: #f6bc3b!important;
    background-image: none;
    color: #fff!important;
    border-radius: 8px;
    border: 1px solid #f6bc3b;
}
.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
    background-color: #f6bc3b;
}
.text-bar {
    color: #6f5f5e!important;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #6f5f5e;
}
.navbar-default .navbar-brand {
    color: #6f5f5e;
}
.navbar-default .navbar-nav .open .dropdown-menu>li>a {
    color: #6f5f5e;
    background: #feb528;
}
.navbar-default .navbar-nav .open>.dropdown-menu {
    background: #feb528!important;
    font-size: 16px;
}
.dropdown-menu>li>a {
    display: block;
    padding: 5px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #6f5f5e;
    font-size: 16px;
}

/*---------------เมนูข้าง------------------------------*/

.menuVertical .dropdown-menu {
   /*position: relative;*/
   z-index: 1000;
   width: 100%;
   -webkit-background-clip: padding-box;
   background-clip: padding-box;
   border: none;
   border-radius: none;
   -webkit-box-shadow: none;
   box-shadow: none;
   margin-bottom:30px
}
.no-js .menuVertical .dropdown-menu>li>a {
   background-image: none;
   color: #000;
   background-color: #ececec;
   margin-top: -15px;
   font-size: 16px;
   font-weight: 400;
	border-top: 1px solid #4b391d;
    border-bottom: 1px solid #4c3a1e;
   padding: 20px 10px 30px 10px;
   overflow: hidden;
   margin-left: 10px;
   margin-right: 10px;
  text-overflow: ellipsis;
   height: fit-content;
}
.menuVertical .nav-stacked>li .caret {
    display: none;
}
.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus, .menuVertical .dropdown-menu>li>a:hover {
   border-radius: 0px;
}

/*เมนูข้าง*/
.menuVertical .nav-pills>li>a {
    border-radius: 0px;
    color: #000;
    background-color: #f6bc3b;
    margin: 15px 10px;
    padding: 25px 10px;
    font-size: 18px;
    text-transform: uppercase;
	font-weight:500;
}
.menuVertical .nav-pills>li>a {
    border: 1px solid #f6bc3b;
}
.nav>li>a>img, .dropdown-menu>li>a>img{
    max-width: none;
    width: 12px!important;
    height: 12px!important;
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 1024px) {

h1,.h1 { font-size: 2.250em;}
h2,.h2 { font-size: 1.875em;}
h3,.h3 { font-size: 1.500em;}
h4,.h4 { font-size: 1.125em;}
h5,.h5 { font-size: 0.875em;}
h6,.h6 { font-size: 0.750em;}
p { margin: 0 0 10px;}
.navbar .nav,
.navbar .nav > li {
    float:none;
    display:inline-block;
    *display:inline; /* ie7 fix */
    *zoom:1; /* hasLayout ie7 trigger */
    vertical-align: top;
}
#main-navbar-collapse{
  text-align:center ;
}
.border-home {
    background-color: #6f5f5e;
    color: #fff;
    font-size: 22px;
    text-align: center;
    border-radius: 12px;
    padding: 15px 10px;
    border-bottom: solid 10px #f6bc3b;
}
  h2 {
     font-size: 16px;
    font-weight: 400;
    text-align: center;
}
  article.col-md-6.item.-micro {
    width: 39.5%;
}
   ul.nav li.dropdown:hover > ul.dropdown-menu {
   display: block;
margin: 0;
 }
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1366px) {
h1,.h1 { font-size: 2.250em;}
h2,.h2 { font-size: 1.875em;}
h3,.h3 { font-size: 1.500em;}
h4,.h4 { font-size: 1.125em;}
h5,.h5 { font-size: 0.875em;}
h6,.h6 { font-size: 0.750em;}
p { margin: 0 0 10px;}
.navbar .nav,
.navbar .nav > li {
    float:none;
    display:inline-block;
    *display:inline; /* ie7 fix */
    *zoom:1; /* hasLayout ie7 trigger */
    vertical-aligAn: top;
}
#main-navbar-collapse{
  text-align:center ;
}
  h2 {
    font-size: 18px;
    font-weight: 400;
    text-align: center;

}
  .nav>li>a {
    position: relative;
    display: block;
    padding: 10px 15px;
}
 ul.nav li.dropdown:hover > ul.dropdown-menu {
   display: block;
margin: 0;
 }

.height1{
      height: 650px;
}


/* Large Devices, Wide Screens */
@media only screen and (min-width : 1900px) {
   body,html {
   font-size: 16px;
}
  h2 {
    font-size: 25px;
    font-weight: 400;
    text-align: center;
}
.border-home {
    background-color: #6f5f5e;
    color: #fff;
    font-size: 30px;
    text-align: center;
    border-radius: 12px;
    padding: 15px 10px;
    border-bottom: solid 10px #f6bc3b;
}
  .nav>li>a {
    position: relative;
    display: block;
    padding: 10px 25px;
}
 ul.nav li.dropdown:hover > ul.dropdown-menu {
   display: block;
margin: 0;
 }
  .height1{
      height: 800px;
}

}


/*แถบเมนูเล็ก*/
/* Medium Devices, Desktops */
@media only screen and (max-width : 768px) {  
  .navbar-default {
    background: #f3f3f3!important;
}
  #mobileonly{
  	visibility : hidden;
    height:0px;
    width:0px;
  }  

  p#logowebsite{
  	font-size:10px;
  }

  #scrollTop{
    position: fixed;
    left: 10px;
    bottom: 5px;
    opacity: 0.5;
  }

  #scrollTop:hover{
    opacity: 1.5;
  }
  .zIndex-pos3 {
    z-index: 100;
  }
}

@media (min-width: 769px){
  .navbar-nav>li>a {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }  
  .navbar {
    min-height: 0px !important;
}  
}

  @media(max-width: 500px){    
    #mobileonly{
  	visibility : visible;
      width:inherit;
      height:inherit;
  }    
    #popular{
    	display : none;
    }        
  }



  .itopplus-bgmain2, .itopplus-bgmain {
    background-size: cover;
}


.Over-hi1{
    height: 500px;
    overflow-x: hidden;
}

