.itopplus-background {

}
.btn-home {
    border: solid 1px #f06721;
    background-color: #f46425;
    letter-spacing: 1px;
    border-radius: 20px;
    color: #fff;
    font-size: 20px;
    padding: 8px 30px;
    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 #082448;
    background-color: #062247;
}

#Contentmanager {
  color: #333;
    background: white;
}


/*Content Manager รูปแบบ ที่ 5*/
.row.contenemanager-gallery .col-xs-12.col-md-3 {
    padding-right: 10px;
    padding-left: 10px;
}
a.thumbnail:hover, a.thumbnail:focus, a.thumbnail.active {
    border-color: transparent;
}
.img-container {
    width: 100%;
    height: 0;
    padding-bottom:80%;
    position: relative;
    background-position: 100%;
}
.col-md-6.pull-left img.img-responsive {
    border: solid 1px #ccc;
    width: 100%;
    margin-left: -25px;
    margin-bottom: 20px;
}
.Contentmanager .post-time {
    font-size: 12px;
    color: #666;
    display: none;
}
.Textmanager.font-inherit {
    font-size: 18px;
}
h3.managerHeader {
    margin-bottom: -20px;
    font-size: 22px;
    word-break: break-word;
    color: #0b306b;
    font-weight: bold;
}
.page-header.font-inherit {
    padding-bottom: 9px;
    margin: 20px 0 20px;
    color: #000;
    font-size: 20px;
}
.nav-template .col-md-8.col-sm-8.col-xs-12.padding-col strong {
    font-size: 20px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: block;
	height: 50px;
    padding: 0px 15px;
    font-weight: normal;
  	color:#0b306b;
  	line-height: 1.2;
}
.nav-template .col-md-8.col-sm-8.col-xs-12.padding-col p {
    padding-bottom: 25px!important;
    overflow: hidden;
    display: block;
    font-size: 16px;
    color: #000;
}
.nav-template li:hover {
    box-shadow: 0 0 10px #b5b5b5;
    background-color: transparent;
    text-decoration: none!important;
}
.nav-template .col-md-6.col-sm-6.col-xs-12{
  	border: solid 1px #ccc;
    width: 23.25%;
    margin: 5px!important;
    margin-top: 10px;
    text-align: center;
    padding-bottom: 20px;
  	background-color: #fff;
    border-radius: 5px;
}

.nav-template .col-md-6.col-sm-6.col-xs-12 a:after {
    content: "ดูรายระเอียดสินค้า"!important;
    background-color: #f36523!important;
    border: solid 1px #f36523;
    border-radius: 25px;
    color: #fff;
	padding: 5px 10px;
    font-size: 16px;
    width: 80%;
}
.nav-template .col-md-6.col-sm-6.col-xs-12 a:hover:after{
	content: "ดูรายระเอียดสินค้า"!important;
	background-color: #1c5d9f!important;
    border: solid 1px #1c4680;
    border-radius: 25px;
   border-radius:25px;
   color: #fff!important;
	padding: 5px 10px;
    font-size: 16px;
    width: 80%;
   text-decoration: none!important;
}
  .nav-template .col-md-8.col-sm-8.col-xs-12.padding-col {
    width: 100%;
    font-size: 14px;

}
.nav-template li:hover a {
    color: #333;
    text-decoration: none!important;
}
.nav-template .col-md-4.col-sm-4.col-xs-12.padding-col {
    width: 100%;
}
.col-md-6.pull-left {
    width: 54%;
}



/*เรื่องน่าสนใจอื่นๆ*/
.col-md-6.col-sm-6.col-xs-12.maxHeight-TP5 {
    max-height: inherit;
}
.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 {
    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;
    height: 80px;
    font-size:16px;
    color: #888888;
    font-weight: normal;
}







@media (max-width:768px) {
   h3.managerHeader {
    margin-bottom: -20px;
    font-size: 20px;
    word-break: break-word;
}
  .col-md-6.pull-left {
    width: 50%;
 }
  .Textmanager.font-inherit {
    font-size: 18px;
    padding: 10px;
}
.nav-template .col-md-6.col-sm-6.col-xs-12{
    width: 31.5%;
    margin: 5px!important;
    margin-top: 10px;
    text-align: center;
    padding-bottom: 20px;
}
.nav-template .col-md-8.col-sm-8.col-xs-12.padding-col strong {
    font-size: 14px;
    padding: 0px;
    height: 80px;
}
  .nav-template .col-md-6.col-sm-6.col-xs-12 a:after {
    padding: 5px 20px 10px!important;
    font-size: 16px!important;
}
/*ฟอร์มค้นหา*/
#main-navbar-search .col-sm-12, .col-md-12, .col-lg-12, .col-sm-12 {
    padding-right: 2px;
    padding-left: 2px;
}
p.search_text {
    word-break: break-word;
}
  p.search_urlSearch {
    word-break: break-word;
}
    .bor2 {
    height:88px;
  }
  .row.contenemanager-gallery .col-xs-12.col-md-3 {
    padding-right: 10px;
    padding-left: 10px;
    width: 25%;
}
  .col-md-6.pull-left img.img-responsive {
    border: solid 1px #ccc;
    width: 100%;
    margin-left: -10px;
}
}

@media (max-width:414px) {
   .col-md-6.pull-left img.img-responsive {
    width: 100%;
    margin-left: auto;
}
  .Textmanager.font-inherit {
    font-size: 16px;
    word-break: break-word;
}
  
  .col-md-12.text-justify {
    padding: 5px;
}
  .col-md-6.pull-left {
    width: 100%;
 } 
  h3.managerHeader {
    margin-bottom: 0px;
}
  social-icon {
  color: #fff;
  width: 26px;
  height: 26px;
  font-size: 18px;
  margin: 2px;
  border-radius: 50px;
  margin-top: 30px;
}
    .nav-template .col-md-6.col-sm-6.col-xs-12{
    width: 100%;
    margin-top: 10px;
    text-align: center;
    padding-bottom: 20px;
    margin-left: -1px!important;
}
  .nav-template .col-md-8.col-sm-8.col-xs-12.padding-col strong {
    font-size: 20px;
    padding: 0px;
    height: max-content;
    padding-bottom: 15px;
}
  .row.contenemanager-gallery .col-xs-12.col-md-3 {
    padding-right: 20px;
    padding-left: 20px;
    width: 100%;
}
  
}




/* เมนู */
.navbar-default {
    background: #f36523;
}
.navbar-default .navbar-nav>li>a {
    font-size:20px;
    font-family:RSU;
}
.dropdown-menu>li>a {
    font-size:18px;
    font-family:RSU;
}
.menuVertical .nav-pills>li>a {
    font-size:18px;
    font-family:supermarket;
    color:#100f0f;
    border: none;
    background: rgba(245,245,245,1);
    background: -moz-linear-gradient(left, rgba(245,245,245,1) 0%, rgba(222,222,223,1) 4%, rgba(222,222,223,1) 4%, rgba(245,245,245,1) 96%, rgba(245,245,245,1) 96%, rgba(245,245,245,1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(245,245,245,1)), color-stop(4%, rgba(222,222,223,1)), color-stop(4%, rgba(222,222,223,1)), color-stop(96%, rgba(245,245,245,1)), color-stop(96%, rgba(245,245,245,1)), color-stop(100%, rgba(245,245,245,1)));
    background: -webkit-linear-gradient(left, rgba(245,245,245,1) 0%, rgba(222,222,223,1) 4%, rgba(222,222,223,1) 4%, rgba(245,245,245,1) 96%, rgba(245,245,245,1) 96%, rgba(245,245,245,1) 100%);
    background: -o-linear-gradient(left, rgba(245,245,245,1) 0%, rgba(222,222,223,1) 4%, rgba(222,222,223,1) 4%, rgba(245,245,245,1) 96%, rgba(245,245,245,1) 96%, rgba(245,245,245,1) 100%);
    background: -ms-linear-gradient(left, rgba(245,245,245,1) 0%, rgba(222,222,223,1) 4%, rgba(222,222,223,1) 4%, rgba(245,245,245,1) 96%, rgba(245,245,245,1) 96%, rgba(245,245,245,1) 100%);
    background: linear-gradient(to right, rgba(245,245,245,1) 0%, rgba(222,222,223,1) 4%, rgba(222,222,223,1) 4%, rgba(245,245,245,1) 96%, rgba(245,245,245,1) 96%, rgba(245,245,245,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#f5f5f5', GradientType=1 );
}
.menuVertical .nav-pills>li>a:hover{
  color:#f36523;
  
}
.menuVertical .nav>li>a {
    padding: 5px 10px;
}
/* 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 ;
}

}

/* 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:center ;
}
}

figure.effect-selena {
    background: transparent;
}

body, html {
    font-family: RSU;
}


/*ตาราง*/
table.tj2 {
   border-spacing: 0;
   width: 100%;
   border: 1px solid #ccc;
   padding:10px;
  	background-color:#eee;
    white-space: nowrap;
}

table.tj2 td {
  border: 1px solid #ccc;
  padding:10px; 
  font-size:18px;
  vertical-align: top;
    text-align: center;


}

table.tj2 th {
    border: 1px solid #ccc;
    text-align: center;
    padding: 10px;
    font-size: 18px;
    vertical-align: text-top;
    font-weight: normal;
    background-color: #0b2c57;
    color: #fff;
}
table.tj2 tr:hover{background-color: #ff8600;color: #fff; }


