﻿
/*------------------------------------------------------------------
[1. Global]
*/
/*googlefont*/
@import url('https://fonts.googleapis.com/css?family=Sarabun');

.icon-dot{
     background-image:url("../img/dot-blue.png");
    background-position:0px 0px;
     height:20px;
     width:20px;
     margin-right:2px;
     margin-top:-2px;
}

.BookResult {margin:5px auto;padding:10px;position:relative;}

.badge-result{ text-align:center; margin-left:-10px; }

.Book_thumb{width:80px; height:105px; margin:0 10px 0 0;}
.AddTolist { position:absolute;top:10px;right:10px;width:155px;height:142px;}

.book_cover{width:120px; height:158px; margin:0 10px 0 0;}

/*แก้ปัญหา RadioButtonList ข้อความกับช่อง ไม่ต่อท้ายกัน*/
.RadioButtonList label{
    float:left;
}

.RadioButtonList input{
     float:left;
  margin-right:2px;
  margin-left:2px;
}


.Comment {
    position:relative;
}
.Comment-close {
    position:absolute;top:1px;right:1px;
}

.Page-header {
height: 40px;
line-height: 40px;
background: #E9E9E9;
background: -moz-linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
background: -webkit-linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
background: -o-linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
background: -ms-linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
background: linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
border: 1px solid #D5D5D5;
-webkit-border-top-left-radius: 4px;
-webkit-border-top-right-radius: 4px;
-moz-border-radius-topleft: 4px;
-moz-border-radius-topright: 4px;

 border-bottom-style:none;
margin-top:5px;
 margin-bottom:8px;
 padding-left:5px;
}
/* Add additional stylesheets below
-------------------------------------------------- */
.highlight{color: Red;}

.GridLabel { text-align:left; vertical-align:top; font-weight:bold;}
.GridContent { text-align:left; vertical-align:top; font-weight:normal; padding-left :10px;}
  /*ขนาดของ tag*/
/*
S=small   12
M=medium  14 
L=laugth  16
B= black #a8a9a7
G= green #655919
R= red #870b05
*/
.underLine
{
     
}
.underLine a
{
    text-decoration:none;
}
.underLine a span
{
    padding-right :5px;
    float:left;
    display:block;
}
.underLine a:hover
{
    
}
.underLine a:hover span
{
    text-decoration:underline;
}

.tagcloud {
/* padding-right:3px;*/
}
.noLine
{
   text-decoration:none;
}

.noLine a
{
    text-decoration:none;
}

.noLine a:hover
{
 text-decoration:underline;   
}


.tSB
{

    font-size :12px;
    color :#a8a9a7;
}

.tSG
{
   font-size :12px;
   color :#655919; 

}
.tSR
{

   font-size :12px;
   color :#870b05;  
}
.tMB
{

    font-size :14px;
    color :#a8a9a7;
}

.tMG
{

   font-size :14px;
   color :#655919; 
}
.tMR
{

   font-size :14px;
   color :#870b05;  
}
.tLB
{

    font-size :16px;
    color :#a8a9a7;
}

.tLG
{

   font-size :16px;
   color :#655919; 
}
.tLR
{

   font-size :16px;
   color :#870b05;  
}
.right
{
    float :right ;   
}
/* end tag */  

 #EditImgTool
  {
      margin-left:85%;
       background-color:White;
       width:80px;
       height:25px;
       padding:2px 0px  0px 4px;
      }
      
  #EditImgTool a { color:#B87B05; text-decoration:none;}
#EditImgTool a:hover{color:rgb(81,132,24);}


/* Body and structure
-------------------------------------------------- */

body {
    position: relative;
    padding-top: 40px;
    font-family: 'Sarabun', sans-serif;
}


/* Sidenav for Docs
-------------------------------------------------- */

.bs-docs-sidenav {
  margin: 15px 0 0;
  padding: 0;
  background-color: #fff;

}
.bs-docs-sidenav > li > a {
  display: block;
  width: 190px;
  margin: 0 0 -1px;
  padding: 8px 14px;
  border: 1px solid #e5e5e5;
}
.bs-docs-sidenav > li:first-child > a {
  -webkit-border-radius: 6px 6px 0 0;
     -moz-border-radius: 6px 6px 0 0;
          border-radius: 6px 6px 0 0;
}
.bs-docs-sidenav > li:last-child > a {
  -webkit-border-radius: 0 0 6px 6px;
     -moz-border-radius: 0 0 6px 6px;
          border-radius: 0 0 6px 6px;
}
.bs-docs-sidenav > .active > a {
  position: relative;
  z-index: 2;
  padding: 9px 15px;
  border: 0;
  text-shadow: 0 1px 0 rgba(0,0,0,.15);
  -webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
     -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
          box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
}

/* Chevrons */
.bs-docs-sidenav .icon-chevron-right {
  float: right;
  margin-top: 2px;
  margin-right: -6px;
  opacity: .25;
}
.bs-docs-sidenav > li > a:hover {
  background-color: #f5f5f5;
}
.bs-docs-sidenav a:hover .icon-chevron-right {
  opacity: .5;
}
.bs-docs-sidenav .active .icon-chevron-right,
.bs-docs-sidenav .active a:hover .icon-chevron-right {
  background-image: url(../img/glyphicons-halflings-white.png);
  opacity: 1;
}
.bs-docs-sidenav.affix {
  top: 40px;
}
.bs-docs-sidenav.affix-bottom {
  position: absolute;
  top: auto;
  bottom: 270px;
}

/*Data Grid LI*/

.GridItem > a {
  display: block;
  width: 190px \9;
  margin: 0 0 -1px;
  padding: 8px 14px;
  border: 1px solid #e5e5e5;
}

.GridItem > .active > a {
  position: relative;
  z-index: 2;
  padding: 9px 15px;
  border: 0;
  text-shadow: 0 1px 0 rgba(0,0,0,.15);
  -webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
     -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
          box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
}

.GridItem > a:hover {
  background-color: #f5f5f5;
}
/* Ads in headers
-------------------------------------------------- */

.member-img
{
     max-width:180px;
    }

/* Responsive
-------------------------------------------------- */

/* Desktop large
------------------------- */
@media (min-width: 1200px) {
  .bs-docs-sidenav {
    width: 258px;
  }
  .bs-docs-sidenav > li > a {
    width: 230px; /* Override the previous IE8-9 hack */
  }

  .GridItem {
    width: 258px;
  }
    .GridItem > a {
          width: 230px;
    }
    
    .member-img{ width:180px;}
}

/* Desktop
------------------------- */
@media (max-width: 980px) {
  /* When affixed, space properly */
  .bs-docs-sidenav {
    top: 0;
    width: 185px;
    margin-top: 30px;
    margin-right: 0;
  }

  .GridItem {
     top: 0;
    width: 185px;
    margin-top: 0px;
    margin-right: 0;
  }
  
   .member-img{ width:150px;}

}

/* Tablet to desktop
------------------------- */
@media (min-width: 768px) and (max-width: 979px) {
  /* Remove any padding from the body */
  body {
    padding-top: 0;
  }
  

  /* Adjust sidenav width */
  .bs-docs-sidenav {
    width: 150px;
    margin-top: 20px;
  }
  .bs-docs-sidenav.affix {
    top: 0;
  }

    .GridItem {
       width: 150px;
    margin-top: 0px;
    }
}

/* Tablet
------------------------- */
@media (max-width: 767px) {
  /* Remove any padding from the body */
  body {
    padding-top: 0;
  }

  /* Sidenav */
  .bs-docs-sidenav {
    width: auto;
    margin-bottom: 20px;
  }
  .bs-docs-sidenav.affix {
    position: static;
    width: auto;
    top: 0;
  }

    .GridItem {
       width: auto;
    margin-bottom: 0px;
    }

}

/* Landscape phones
------------------------- */


.carousel-boxsearch {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  padding: 15px;
/*
  background: #333333;
  background: rgba(0, 0, 0, 0.75);*/
}
.carousel-caption h4 
{
      font-size:14;
       font-weight:normal;
    }
.text-white{ color:White;}



/*--- main page ----*/
 .page_row {
border-top: 1px solid #d1d2d4;

}
    
    .page_col {
width: 360px;
float: left;
  padding-left :4px;
   padding-right:4px;
}
    
#browse_by_category{
	width:100%;
	padding-top:10px;
}


#browse_by_category .section_header{
	border-top:1px solid #cfcfcf;
	margin-top:20px;
            text-align: center;
        }
#browse_by_category .section_header h1{
	margin: 0.4em 0;
	position:relative;
	top:-17px;
	margin-bottom:4px;
	color:#3f3f3f;
	background-color:white;
	display:inline-block;
	padding:0px 10px;
	font-size:17px;
	font-weight:normal;
	top:-18px;
	display:inline;

}


#browse_by_category .category_listing{
	
	width:100%;
}
#browse_by_category .category_listing{
	margin-top:2px;
}

#browse_by_category .category_listing ul {
	margin:0px;
	padding:0px;
	float:left;
	width:100%;
	list-style:none;
}
#browse_by_category .category_listing ul li {
margin:0px;
	padding:0px;
	text-align:left;
	padding-bottom:5px;
	line-height:15px; 
	height:15px;
}
    
  #browse_by_category .category_listing h4 
  {
      font-weight:normal; 
      margin-top:0px;
      }  
      
      .panel 
      {
 width :96%;
margin-bottom: 5px;
background-color: #fff;
border: 1px solid transparent;
border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.05);
box-shadow: 0 1px 1px rgba(0,0,0,0.05);
}
.panel-default {
border-color: #ddd;
}
.panel-info {
border-color: #bce8f1;
}
.panel-info>.panel-heading {
color: #31708f;
background-color: #d9edf7;
border-color: #bce8f1;
}

.panel-content {
padding: 10px 0 5px 15px;
}
.panel-default>.panel-heading {
color: #fff;
background-color:#08c ;/*#f5f5f5*/
border-color: #ddd;
}
.panel-heading {
padding: 10px 15px;
border-bottom: 1px solid transparent;
border-top-right-radius: 3px;
border-top-left-radius: 3px;
font-weight :bold ;
}


.ReviewDetail
{
     max-width:825px;
    }
    
    .ReviewDetailInGridItem
    {
        max-width:825px;
        }
        
        
/****COntrol radio and checkbox to inline block *****/
/**** for example <asp:CheckBoxList ID="chk_requesttype" runat ="server" CssClass="list-unstyled checkbox checkboxlist-inline" RepeatDirection="Vertical" RepeatLayout="UnorderedList" >*****/
       
.checkboxlist-inline li, .radiobuttonlist-inline li
{
	display:inline-block;
}
.checkboxlist-inline, .radiobuttonlist-inline
{
	margin-left: 20px;
}
.checkboxlist-inline label, .radiobuttonlist-inline label
{
	padding-left:0;
	padding-right:25px;
}
pre {
    background-color: #f7e7a961;
    font-family: 'Sarabun', sans-serif;
    font-size: 12.8px;
    
}