.itopplus-background {

}

/*----ค้นหา-----*/
  .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:#f5f5f5!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;
  }




/*content*/
ul.a {
}
.Textmanager.font-inherit {
    font-size: 1.25em;
  	text-align:left;
}


/*อัลบั้มในเนื้อหาระบบ*/
#Contentmanager .form-group .col-md-3 {
    margin-bottom: 10px;
    padding-top: 15px;
    margin-right: 0px;
    margin-left: 0px;
}
#Contentmanager a.thumbnail.fancybox {
    border-radius: 0;
}
#Contentmanager a.thumbnail:hover, a.thumbnail:focus, a.thumbnail.active {
    border-color: #ffffff;
    box-shadow: 0px 5px 18px 3px rgb(0, 0, 0);
    opacity: 0.8;
}

/*เรื่องน่าสนใจอื่นๆ*/
.landingpagemanager {
    padding: 10px;
    margin-top: 30px;
    border-radius: 5px;
    border: solid 1px #eee;
    background-color: rgb(245, 245, 245);
}
.maxHeight-TP5 {
    min-height: 180px !important;
    max-height:180px;
    overflow: hidden;
}
.col-md-6.col-sm-6.col-xs-12.maxHeight-TP5 .col-md-8.col-sm-8.col-xs-12 strong{
    text-overflow: ellipsis;
    overflow: hidden;
    /*white-space: nowrap;*/
    display: block;
    padding-top: 10px;
	font-weight:500;
    text-transform: uppercase;
    font-size: 1.8em;
    color: #e72224;
    text-align: left;
}
.col-md-6.col-sm-6.col-xs-12.maxHeight-TP5 .col-md-8.col-sm-8.col-xs-12 p{
    text-align: left;
    font-size: 1.25em;
}



/*from Contact*/
.no-js #Component5e313cd52ee40100125354c3 label, .no-js #Component5e31415b379f65001281f647 label{
	display: none!important;
}
.no-js #Component5e313cd52ee40100125354c3 .col-md-6, .no-js #Component5e31415b379f65001281f647 .col-md-6{
    width: 100%;
  	margin-left: 0;
}
.no-js #Component5e313cd52ee40100125354c3 .form-control, .no-js #Component5e31415b379f65001281f647 .form-control{
     border: 1px solid #a6a5a5;
    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: 12px;
    background: white;
    color: #000000;
}
.no-js #Component5e313cd52ee40100125354c3 .form-control:focus, .no-js #Component5e31415b379f65001281f647 .form-control:focus {
    border-color: #ed1d25;
    -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 #Component5e313cd52ee40100125354c3 .btn, .no-js #Component5e31415b379f65001281f647 .btn{
	background-image: linear-gradient(to right, #292828 0%,#020202 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    background-repeat: repeat-x;
    border-color: #0000;
    border-radius: 0px;
    padding: 10px 30px;
    font-size: 12px;
    border: 0px solid transparent;
    color: #fff;
}
.no-js #Component5e313cd52ee40100125354c3 .btn-default:active, .no-js #Component5e31415b379f65001281f647 .btn-default:active{
	background-color: #404040;
}
.no-js #Component5e313cd52ee40100125354c3 .btn-default:hover, 
.no-js #Component5e313cd52ee40100125354c3 .btn-default:focus, .no-js #Component5e31415b379f65001281f647 .btn-default:hover, 
.no-js #Component5e31415b379f65001281f647 .btn-default:focus{
    background-position: 0 40px;
    background-color: #2b2b2b;
}

/*from Contact*/ 




.box-text{
	width:100%;
  	padding:20px 0;
  	color:#959595;
  	font-size:1.143;
}

/*อัลบั้ม*/
.thumbnail>img, .thumbnail a>img{
  -webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
  
}
.thumbnail>img, .thumbnail a>img:hover{
    -webkit-transform: scale(1.1);
	transform: scale(1.1);

}

.imgLightbox {
   position: relative!important;
   overflow: hidden!important;
   width: 100%!important;

}
.thumbnail, .img-thumbnail {
    box-shadow: none;
}
.thumbnail {
    padding: 0;
  	padding-right:0!important;
  	padding-left:0!important;
    margin-bottom: 20px;
    line-height: 1.42857143;
    border: none;
    border-radius: 0px;
}
.thumbnail h2.margin {
    background-color: #121210ed;
    color: #fff;
    font-size: 1em;
    text-align: right;
    line-height: 2;
    padding: 0 10px;
    position: absolute;
    top:48%;
    height: max-content;
    width: 97.5%;
}
.thumbnail h2.margin:hover {
    background-color: rgba(5, 102, 57, 0.9);
}


h1.subject {
    font-size: 2.8em;
}


/*effect*/
.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);
}

.btn-footer{
	background-color:#b99136;
  	color:#fff;
  	font-size:1.8em;
  -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.btn-footer:hover{
	background-color:#ed1c24;
}


/*ตาราง*/
table.tj2 {
   border-spacing: 0;
   width: 100%;
   border:none;
   padding:10px;
  	background-color:transparent;
    white-space: nowrap;
}
table.tj2 td {
    border: none;
    padding: 10px 0;
    font-size: 1.143em;
    vertical-align: top;
    text-align: center;
    width: 12.2%;
    letter-spacing: 0.5px;
}
table.tj2 td:hover {
    background-color: #056639;
    color: #e69e3e;
}

table.tj2 td  img {
    -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;
}

table.tj2 td :hover img {
    -webkit-transform: scale(1.06);
    transform: scale(1.06);
}


/*-------------------------ipad-----------------------*/
@media screen and (max-width: 812px){
  .table-responsive {
      border: none;
  }
  table.tj2 {
    white-space: inherit;
}
  table.tj2 td {
    border: none;
    display: inline-grid;
    width: 25%;
}
  h1.subject {
    font-size: 1.8em;
}
  .thumbnail h2.margin {
    background-color: #121210ed;
    color: #fff;
    font-size: 1em;
    text-align: right;
    line-height: 2;
    padding: 0 10px;
    position: absolute;
    top: 35%;
    width: 96%;
}
 .thumbnail p.margin {
    font-size: 0.87em;
}
  .btn-footer {
    font-size: 1.4em;
    padding: 5px;
}
  h2 {
    font-size: 1.5em;
}
  #Contentmanager .form-group .col-md-3 {
    margin-bottom: 10px;
    padding-top: 15px;
    margin-right: 0px;
    margin-left: 0px;
    width: 33%;
}
    
          /*------------ค้นหา -------------------*/
      .itopplus-search-image-flex-item {
    background-color: :#f5f5f5!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;
}
  
#imagesControl5e30f0a2723c560013145a89 {
    padding: 0!important;
}
h4 span {
    padding: 10px!important;
}
}

/*-------------------------ipad-----------------------*/


/*-------------------------mobile-----------------------*/
@media screen and (max-width: 414px){
  table.tj2 td {
    border: none;
    display: inline-grid;
    width: 50%;
}
  .thumbnail h2.margin {
    top: 45%;
    width: 97%;
}
  h1.subject {
    font-size: 1.6em;
}
  #Contentmanager .form-group .col-md-3 {
    margin-bottom: 10px;
    padding-top: 15px;
    margin-right: 0px;
    margin-left: 0px;
    width:100%;
}
         /*------------ค้นหา -------------------*/
    .itopplus-search-image-flex-item {
    background-color::#f5f5f5!important;
    height: 100px!important;
    width: 95%!important;
    padding: 10px;
    text-align: left;
}

}

/*-------------------------mobile-----------------------*/



/*-------------------------theme-----------------------*/
/*ปุ่มกากบาท*/
.modal-header {
    font-family: tahoma;
}
.panel-default>.panel-heading {
    font-family: Tahoma;
}

/*link*/
.itopplus-footer a, .itopplus-bgmain2 a{
	color:#fff;
}
a:hover{
	color:#07bf59;
}


/*เมนูฟิก*/
#itopplus-sticky-nav-bar {
    background: rgba(0, 0, 0, 0.9098039215686274);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.33);
}
#itopplus-nav-bar-sticky .itopplus-sidebar-menu-parent {
    color: black;
    font-size: 12pt;
    border-bottom: 0!important;
}
.itopplus-menu-logo {
    margin: auto 0;
    display: inline-block;
    height:75px !important;
    width: auto;
}
.itopplus-sticky-nav-bar-inside div {
    padding:15px 10px 0;
}


/*menu*/
.navbar-default .navbar-nav>li>a {
    color: #fff;
    font-size: 1.143em;
}
.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover {
    color: #e0b75b;
    background-color: none;
    -webkit-box-shadow: 0 3px 0 0 #e0b75b;
    -moz-box-shadow: 0 3px 0 0 #e0b75b;
    box-shadow: 0 3px 0 0 #e0b75b;
}
.navbar-default .navbar-toggle:focus .icon-bar,.navbar-default .navbar-toggle:hover .icon-bar {
    background-color: #e0b75b
}
.navbar-default .navbar-toggle:focus .text-bar,.navbar-default .navbar-toggle:hover .text-bar {
    color: #e0b75b!important;
}
.navbar-default .navbar-toggle {
    border-color: transparent;
}
@media (max-width:768px) {
    .navbar-header {
      background-color: #3b3b3b;
  }
    .navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover {
        color: #e0b75b;
    }
}
@media (max-width:768px) {
  .navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover {
   box-shadow: 0px 3px 0px -1px #e0b75b;
}
}
/*เวลา hover focus ที่  opendropdown ตัวอักษรจะเป็นสีขาว*/
.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover{
    color: #e0b75b!important;
}
/*เมนูย่อย เมนูย่อยเปลี่ยนสีพื้นหลัง*/
.navbar-default .navbar-nav .open>.dropdown-menu {
    background: #3b3b3b;
}
.dropdown-submenu:hover>.dropdown-menu {
    background-color: #3b3b3b;
}
.dropdown-menu, .dropdown-menu>li>a {
    background-color: #3b3b3b;
}

/*เมนูชิดขวา*/
/* 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:right ;
}
.itopplus-menu {
    margin-top: 3%;
}
  h1.subject {
    font-size: 2.5em;
}
.thumbnail h2.margin {
    background-color: #121210ed;
    color: #fff;
    font-size: 1em;
    text-align: right;
    line-height: 2;
    padding: 0 10px;
    position: absolute;
    top: 41%;
    height: max-content;
    width: 97.5%;
}
  h4 span {
    padding: 10px!important;
}
  .itopplus-bg1 {
    background-attachment: inherit;
}
  .navbar-default .navbar-nav>li>a {
    color: #fff;
    font-size: 1em;
}
}

/* 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-align: top;
}
#main-navbar-collapse{
  text-align:right ;
}
.itopplus-menu {
    margin-top: 3%;
}
  h1.subject {
    font-size: 2.8em;
}
  .thumbnail h2.margin {
    background-color: #121210ed;
    color: #fff;
    font-size: 1em;
    text-align: right;
    line-height: 2;
    padding: 0 10px;
    position: absolute;
    top: 47%;
    height: max-content;
    width: 97.5%;
}
  .navbar-default .navbar-nav>li>a {
    color: #fff;
    font-size: 1.143em;
}
}


@media only screen and (min-width :1900px) {
   body,html {
   font-size:19px;
}
  h1.subject {
    font-size: 3.8em;
}
  .thumbnail h2.margin {
    background-color: #121210ed;
    color: #fff;
    font-size: 1em;
    text-align: right;
    line-height: 3;
    padding: 0 10px;
    position: absolute;
    top: 54%;
    height: max-content;
    width: 98%;
}

}
  
   body,html {
   font-size: 17px;
}



/*-------------------------theme-----------------------*/

