.square {
    height: 75px;
    width: 75px;
}
a.hover {
    color: red;
    text-decoration: none;
}

p.indent {text-indent:50px;}
p.align {text-align:justify;}
p.wp {word-spacing:30px;}
hr.linestyle{
border-top: 2px solid #8c5e9e;
}
hr.lineend{
border-top: 2px solid #8c5e9e;    
border-style: dotted;
margin-bottom: 30px;  
}

.img-center {
    margin: 0 auto;
}
.carousel-inner > .item > img,
  .carousel-inner > .item > a > img {
      width: 100%;
  }
  body{

   background-color: #E6E9ED;
   margin-top:0px;
   padding:0px;
   position: fixed;
   position:relative;
   font-family: 'Kanit', sans-serif;
}
/* BackToTop button css */
#scroll {
    position:fixed;
    right:10px;
    bottom:10px;
    cursor:pointer;
    width:50px;
    height:50px;
    background-color:#3498db;
    text-indent:-9999px;
    display:none;
    -webkit-border-radius:60px;
    -moz-border-radius:60px;
    border-radius:60px
}
#scroll span {
    position:absolute;
    top:50%;
    left:50%;
    margin-left:-8px;
    margin-top:-12px;
    height:0;
    width:0;
    border:8px solid transparent;
    border-bottom-color:#ffffff
}
#scroll:hover {
    background-color:#e74c3c;
    opacity:1;filter:"alpha(opacity=100)";
    -ms-filter:"alpha(opacity=100)";
}
img.resize {
	width: 700px;
	height: auto;
}

	a:link {
	color: #333333;
	text-decoration: none;
}
 

/*PROFILE*/


.profile-card {
        background-color: #222222;
        margin-bottom: 20px;  
    }
		
.profile-pic {
        border-radius: 50%;
        position: absolute;
        top: -195px;
        left: 0;
        right: 0;
        margin: auto;
        z-index: 1;
        max-width: 165px;
        -webkit-transition: all 0.4s;
        transition: all 0.4s; 
    }

				
.profile-info {
        color: #BDBDBD;
        padding: 25px;
        position: relative;
        margin-top: 15px;
    }
		
.profile-info h2 {
        color: #E8E8E8;
        letter-spacing: 1px;
        padding-bottom: 12px;
    }
				
.profile-info span {
        display: block;
        font-size: 12px;
        color: #4CB493;
        letter-spacing: 2px;
    }

.profile-info a {
        color: #4CB493;
    }   
.profile-info i {
	padding: 15px 35px 0px 35px;
    }
.profile-card:hover .profile-pic {
	transform: scale(1.1);
    }

.profile-card:hover .profile-info hr  {
	opacity: 1;
    }
		
		
		
		
/* Underline From Center */
.hvr-underline-from-center {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow: hidden;
}
.hvr-underline-from-center:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 52%;
  right: 52%;
  bottom: 0;
  background: #FFFFFF;
  border-radius: 50%;
  height: 3px;
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.profile-card:hover .hvr-underline-from-center:before, .profile-card:focus .hvr-underline-from-center:before, .profile-card:active .hvr-underline-from-center:before {
  left: 0;
  right: 0;
  height: 1px;
  background: #CECECE;
}



/*newbooks*/

 
.thumbnail {
    position:relative;
    overflow:hidden;
}
 
.caption {
    position:absolute;
    top:50%;
    right:100%;
    background:rgba(66, 139, 202, 0.75);
    width:100%;
    height:50%;
    padding:2%;
    text-align:center;
    color:#fff !important;
    z-index:2;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.thumbnail:hover .caption {
    top:50%;
    right: 0%;
}

.page-head{
    font-size: 24px; 
    margin-top: 40px;   
} 
  