.itopplus-background {

}
/*------------ค้นหา -------------------*/
#searchResultLanding {
    margin: 0 15px;
}
  .itopplus-search-image-flex-container {
   width: 100%!important;
   display: block!important;
}
.itopplus-search-image-flex-item {
    background-color: #f2f2f2!important;
    width: 30%!important;
    padding: 5px;
    text-align: left;
    display: inline-block;
    min-height: 200px!important;
    max-height: 200px!important;
}

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


.modal-backdrop.am-fade, .aside-backdrop.am-fade {
    background: rgba(71, 71, 71, 0.9);
    -webkit-animation-duration: .15s;
    animation-duration: .15s;
}

/*from Contact*/
.no-js #Component5dede635a2d35300123700df label{
	display: none!important;
}
.no-js #Component5dede635a2d35300123700df .col-md-6{
    width: 100%;
  	margin-left: 0;
}
.no-js #Component5dede635a2d35300123700df .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 #Component5dede635a2d35300123700df .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 #Component5dede635a2d35300123700df .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 #Component5dede635a2d35300123700df .btn-default:active{
	background-color: #404040;
}
.no-js #Component5dede635a2d35300123700df .btn-default:hover, 
.no-js #Component5dede635a2d35300123700df .btn-default:focus{
    background-position: 0 40px;
    background-color: #2b2b2b;
}

/*from Contact*/ 




#itopplus-sticky-nav-bar {
    background: #fff;
    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: 70px !important;
    width: auto;
}
.itopplus-sticky-nav-bar-inside div {
    padding: 15px 0px 0;
}




/*เรื่องน่าสนใจอื่นๆ*/
.col-md-6.col-sm-6.col-xs-12.maxHeight-TP5 {
    max-height: inherit;
  width: 25%;
    border:none;
}
.col-md-6.col-sm-6.col-xs-12.maxHeight-TP5 .col-md-4.col-sm-4.col-xs-4.padding {
    width: 100%;
}
.col-md-6.col-sm-6.col-xs-12.maxHeight-TP5 .col-md-8.col-sm-8.col-xs-12 {
    width: 100%;
    text-align: center;
}
.col-md-6.col-sm-6.col-xs-12.maxHeight-TP5 .col-md-8.col-sm-8.col-xs-12 {
    width: 100%;
    text-align: center!important;
    margin-bottom: 20px;
    font-size: 14px;
}
.col-md-6.col-sm-6.col-xs-12.maxHeight-TP5 .col-md-8.col-sm-8.col-xs-12 p {
    font-size: 14px;
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: none;
}
.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:normal;
    text-transform: uppercase;
}

/*เนื้อหาระบบ 8*/
.Contentmanager .site .col-section .item.-micro a .image {
    width: 50%;
}
.Contentmanager .site .col-section .item.-micro a .caption {
    width: 50%;
}

/*เนื้อหาระบบ 5*/
li.col-md-6.col-sm-6.col-xs-12 {
    width: 25%;
    text-align: center;
}
.col-md-4.col-sm-4.col-xs-12.padding-col {
    width: 100%;
}
.col-md-8.col-sm-8.col-xs-12.padding-col {
    width: 100%;
    padding:10px;
}
.col-md-8.col-sm-8.col-xs-12.padding-col p {
    display: none;
}
.col-md-8.col-sm-8.col-xs-12.padding-col strong {
    font-size:18px;
  	text-align:center;
  	font-weight: normal;

}
.img-container {
    width: 100%;
    height: 0;
    padding-bottom: 98%;
    position: relative;
}



/*อัลบั้มในเนื้อหาระบบ*/
.form-group .col-md-2 {
 padding: 5px;
 text-align: center!important;
}
#Contentmanager a.thumbnail.fancybox {
    border:none;
  	border-radius:0px;
}
#Contentmanager .form-group .col-md-3 {
 	padding: 10px;
 	text-align: center!important;
	margin-bottom: -20px;
  	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);
}

/*เนื้อหาระบบ*/
.Contentmanager .site .col-section .item.-micro a .caption .title {
    color: #ed1b24;
}
h3.managerHeader {
    margin-bottom: -20px;
    color: #ed1d25;
    text-transform: uppercase;
}
#Contentmanager .post-time {
    font-size: 12px;
    color: #666;
    display: none;
}
.col-md-6.pull-left {
  padding-right: 4%;
}
  .col-md-12.text-justify {
    font-size: 16px;
    text-align: left;
}
.Contentmanager .site .col-section .item.-micro a .post {
    text-align: center;
    margin: 10px;
    font-size: .8em;
    color: #bbb;
    display: none;
}


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

table.tj2 td {
  border-bottom: 1px solid #ccc;
  padding:10px; 
  font-size:16px;
  vertical-align: top;
  text-align: left;
}
table.tj2 th {
    border: none;
    text-align: left;
    padding: 10px;
    font-size: 18px;
    vertical-align: text-top;
    font-weight: 550;
    background-color: #ffffff;
    color: #ed1c24;
    text-transform: uppercase;
      -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
table.tj2 th:hover {
    font-size: 26px;
}
table.tj2 td:nth-child(odd) {font-weight:500;} 
table.tj2 tr:hover{background-color: #ececec;color: #000; }


.box-home{
	background-color:#eee;
  	padding:20px;
  	height:460px;
}


.box-link{
	background-color:#e4e2e0;
  	padding:30px 10px;
  	font-size:18px;
  	color:#010101;
      -webkit-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
  	margin-top:10%;
}
.box-link:hover{
	padding-right:30px;
}

.btn-home {
    border: solid 1px #ed1c24;
    background-color: #ed1c24;
    letter-spacing: 1px;
    border-radius: 20px;
    color: #fff;
    font-size: 16px;
    padding: 4px 20px;
    text-align: center;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    width: max-content;
}
.btn-home:hover {
    border: solid 1px #000000;
    background-color: #000000;
}
.btn-home2 {
    border: solid 1px #ed1c24;
    background-color: #ed1c24;
    letter-spacing: 1px;
    color: #fff;
    font-size: 16px;
    padding: 4px 35px;
    text-align: center;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    width: max-content;
    margin: 0 auto;
    text-transform: uppercase;

}
.btn-home2:hover {
    border: solid 1px #000000;
    background-color: #000000;
}

.btn-home3 {
    border: solid 1px #ed1c24;
    background-color: #ed1c24;
    letter-spacing: 1px;
    color: #fff;
    font-size: 14px;
    padding: 4px 10px;
    text-align: center;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    width: 100%;
    margin: 0 auto;
    text-transform: uppercase;
   border-radius:25px;
	box-shadow: 0px 3px 2px 0px rgba(146, 146, 146, 0.75);
}

.btn-home3:hover {
    border: solid 1px #000000;
    background-color: #000000;
}


.bg-border{
	background-image: url(https://itp1.itopfile.com/ImageServer/itp_07102019a1h2/0/0/bannerz-z1544429112385.webp);
    background-position:center center;
    background-size:100% auto;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 450px;
    line-height: 250px;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 5% 1% 5% 8%;
}
.bg-border h1 {
    text-shadow: 1px 1px 1px #1b1b1b;
}


/*อัลบั้ม*/
.thumbnail h2.margin {
    font-size: 16px;
    text-align: center;
    line-height: 2;
}
figure.effect-jazz figcaption::after {
border-top: 1px solid #fff0;
border-bottom: 1px solid #fff0;
}
figure.effect-jazz {
    background: transparent;
}
figure.effect-jazz h2 {
    padding-top: 0;
    -webkit-transition: -webkit-transform .35s;
    transition: transform .35s;
    text-align: left;
    color: #000;
}
.grid figure figcaption {
    padding: 1em;
}

figure.effect-oscar {
    background: transparent;
}
figure.effect-oscar:hover h2 {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
    display: none;
}
figure.effect-oscar figcaption {
    padding: 2em;
    background-color: rgba(90, 81, 79, 0.8705882352941177);
    -webkit-transition: background-color .35s;
    transition: background-color .35s;
}
figure.effect-oscar figcaption::before {
    z-index: 1;
    position: absolute;
    top: 30px;
    right: 30px;
    bottom: 30px;
    left: 30px;
    border: none;
    content: '';
}


/*link*/
.itopplus-footer a{
	color:#fff;
}
.itopplus-footer a:hover{
	color:#000;
}
a:hover{
	color:#ec1b24;
}


@media only screen and (max-width : 812px) {
  .bg-border {
    background-image: url(https://itp1.itopfile.com/ImageServer/itp_07102019a1h2/0/0/bannerz-z1544429112385.webp);
    background-position: center center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-attachment: inherit;
    height: 450px;
    line-height: 250px;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 5% 1% 5% 8%;
}
  .table-responsive {
      width: 100%;
      border: none;
  }
  .col-md-12.text-justify {
    padding-left: 5px;
    padding-right: 5px;
    font-size: 16px;
    text-align: left;
}
  .col-md-6.pull-left {
    padding-right: 4%;
    width: 40%;
    padding-left: 10px;
    margin-bottom: 20px;
}
  #Contentmanager .form-group .col-md-3 {
    padding: 10px;
    text-align: center!important;
    margin-bottom: -20px;
    padding-top: 15px;
    width: 33%;
}
  /*เนื้อหาระบบ 5*/
li.col-md-6.col-sm-6.col-xs-12 {
    width: 33%;
    text-align: center;
}
  [class*="col-sm-5fix"], .uneditable-input[class*="col-sm-5fix"], .row-fluid [class*="col-sm-5fix"] {
    display: block;
    float: none;
    width: 33%;
}
  figure.effect-jazz h2 {
    padding-top: 0;
    -webkit-transition: -webkit-transform .35s;
    transition: transform .35s;
    text-align: left;
    color: #000;
    font-size: 22px;
    margin-top: -10px;
}
  figure.effect-oscar h2 {
    margin: 20% 0 10px 0;
    font-size: 22px;
  }
  figure.effect-oscar figcaption {
    padding: 0.5em;
  }
  .btn-home {
    font-size: 14px;
    padding: 0px 20px;
  }
  .box-home {
    background-color: #eee;
    padding: 20px;
    height: 615px;
}
      /*------------ค้นหา -------------------*/
      .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;
}
  #InmyDiv1576821786622, #myImage1576821796590, #myImage1576821806862, #myImage1576821818366{
    width: 120px!important;
    margin: 0 auto;
}
}


@media only screen and (max-width : 414px) {
  h3.managerHeader {
      margin-bottom: 0px;
  }
   .col-md-6.pull-left {
    padding-right: 4%;
    width:100%;
    padding-left: 10px;
    margin-bottom: 20px;
}
#Contentmanager .form-group .col-md-3 {
    padding: 10px;
    text-align: center!important;
    margin-bottom: -20px;
    padding-top: 15px;
    width:100%;
}
.bg-border {
    height: 170px;
    line-height: inherit;
    background-size: 100% auto;
    background-position: inherit;
    background-attachment: inherit;
}
    [class*="col-sm-5fix"], .uneditable-input[class*="col-sm-5fix"], .row-fluid [class*="col-sm-5fix"] {
    display: block;
    float: none;
    width: 50%;
}
  .thumbs h2.margin {
    line-height: 2;
    text-align: center;
}
 .box-home {
    background-color: #eee;
    padding: 20px;
    height: max-content;
}  
  
    /*เนื้อหาระบบ 5*/
li.col-md-6.col-sm-6.col-xs-12 {
    width: 100%;
    text-align: center;
}
   /*------------ค้นหา -------------------*/
    .itopplus-search-image-flex-item {
    background-color: #f2f2f2!important;
    height: 100px!important;
    width: 95%!important;
    padding: 10px;
    text-align: left;
}
  
}



/*เมนู*/
.navbar-default .navbar-nav>li>a {
    color: #000;
  	font-size:15px;
}
.dropdown-menu>li>a {
    font-size: 15px;
}
.nav>li>a {
    position: relative;
    display: block;
    padding: 10px 10px;
}
.navbar-nav>li>.dropdown-menu{
    background-color: #464646;
  	color:#fff;
}
.navbar-default .navbar-nav .open>.dropdown-menu {
    background: #464646;
}
.dropdown-menu>li>a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #fff;
}
.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {
    background-color: #ed1d25;
    background-image: none;
    color: #fff!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:right ;
}
 ul.nav li.dropdown:hover > ul.dropdown-menu {
   display: block;
margin: 0;
 }
  
  .itopplus-img-logo{
    margin-left: -77%;
}
#itopplus-nav-bar-sticky {
    margin-top: 0;
}
  .nav>li>a {
    position: relative;
    display: block;
    padding: 10px 6px;
}
.navbar-default .navbar-nav>li>a {
    padding-left: 3px;
    padding-right: 3px;
}  
  .box-home {
    background-color: #eee;
    padding: 20px;
    height: 510px;
}
}

/* 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 ;
}
 ul.nav li.dropdown:hover > ul.dropdown-menu {
   display: block;
margin: 0;
 }
  
  .itopplus-img-logo{
    margin-left: -77%;
}
#itopplus-nav-bar-sticky {
    margin-top:0;
}
  .nav>li>a {
    position: relative;
    display: block;
    padding: 10px 7px;
}
.navbar-default .navbar-nav>li>a {
    padding-left: 15px;
    padding-right: 15px;
}
  
.box-home{
	background-color:#eee;
  	padding:20px;
  	height:460px;
}
}


@media only screen and (min-width :1900px) {
   body,html {
   font-size: 16px;
}
   ul.nav li.dropdown:hover > ul.dropdown-menu {
   display: block;
margin: 0;
 }
  /*Contentmanager*/
  .col-md-6.pull-left {
}
       .itopplus-search-image-flex-item {
    background-color: #f2f2f2!important;
    width: 23%!important;
    padding: 10px;
    text-align: left;
    display: inline-block;
    min-height: 480px!important;
    max-height: 480px!important;
    padding-top: 10px!important;
}

    .itopplus-img-logo{
    margin-left: -77%;
}
#itopplus-nav-bar-sticky {
    margin-top: 0%;
}
  .nav>li>a {
    position: relative;
    display: block;
    padding: 10px 20px;
}
  .bg-border{
	background-image: url(https://itp1.itopfile.com/ImageServer/itp_07102019a1h2/0/0/bannerz-z1544429112385.webp);
    background-position:center center;
    background-size:100% auto;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 650px;
}
}


/*แถบเมนูเล็ก*/
/* Medium Devices, Desktops */
@media only screen and (max-width : 768px) {  
  .navbar-default .navbar-nav .open .dropdown-menu>li>a {
    color: #fff;
}
  #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;
    }        
  }



body{
	font-family:Arial;
}

ul.dropdown-menu a {
    background: #464646;
}

