
.imgWrapper img {
    max-width: 100%;
    max-height: 100%;
    border: 0px solid #000 !important;
    position: absolute;
    left: 0px;
    bottom: 2px;
    box-shadow:	5px -3px 6px rgba(0,0,0,.16), 3px -2px 6px rgba(0,0,0,.23);
    transition: all .3s cubic-bezier(.25,.8,.25,1);
}
.imgWrapper img:hover {
    box-shadow: 9px -5px 10px rgba(0,0,0,.19), 4px 3px 6px rgba(0,0,0,.23);
}
.img-news{
	 box-shadow: 0 3px 6px rgba(0,0,0,.16), 0 3px 6px rgba(0,0,0,.23);
    transition: all .3s cubic-bezier(.25,.8,.25,1);
}
.img-news:hover{
    box-shadow: 5px 2px 10px rgba(0,0,0,.19), 0 6px 6px rgba(0,0,0,.23);
}
a.news-link img{
	box-shadow: 0 3px 6px rgba(0,0,0,.16), 0 3px 6px rgba(0,0,0,.23);
    transition: all .3s cubic-bezier(.25,.8,.25,1);
}
a.news-link img:hover{
    box-shadow: 5px 2px 10px rgba(0,0,0,.19), 0 6px 6px rgba(0,0,0,.23);
}
.custom-right-box img {
	/* box-shadow: 0 3px 6px rgba(0,0,0,.16), 0 3px 6px rgba(0,0,0,.23);
    transition: all .3s cubic-bezier(.25,.8,.25,1);*/
}
.custom-right-box img:hover {
    /*box-shadow: 5px 2px 10px rgba(0,0,0,.19), 0 6px 6px rgba(0,0,0,.23);*/
}
.img-head-news
{
	width: inherit;
	height: auto;
	display: table-cell;
    vertical-align: middle;
}

.img-head-news img
{
	max-height: 200px;
	width: 100%;
	margin: auto auto;
    display: block;
}

.text-center
{
	margin-bottom: 20px;
}

.latest-news-header
{
	text-indent: 2em;
}

.bg-gray
{
	/*background-color: #f6f6f6;*/
	padding: 10px 0px 10px 0px;
	color: #000000;
	font-family: 'thaisans_neueregular',sans-serif;
}
.bg-gray-box
{
	background-color: #f6f6f6;
	height: 170px;
	width: 405px;
	padding: 10px;
	/*line-height: 150px;
	vertical-align: middle;*/
}
.box-left
{
	margin-right: 0px;
}
.news-box-big
{
	position: relative;
	height: 200px;
	/*line-height: 130px;*/
	/*display: table-cell;
	vertical-align: middle;*/
	display: table-cell;
	vertical-align: middle;
}
.news-box-big-img
{
	line-height: 100px;
}
.news-box-big img
{
	margin: auto auto;
    display: block;
}
.news-box
{
	position: relative;
	height: 130px;
	/*line-height: 130px;*/
	display: table-cell;
	vertical-align: middle;
	/*background: #000000;*/
	color: #000000;
}

.news-box-img
{
	line-height: 130px;
}

.news-link
{
	/*width: 168px;*/
}
.news-box img
{
	/*position: absolute;
	max-width:168px;
	max-height: 130px;
	margin:0 auto;*/
	max-width:100%;
	max-height: 100%;
	margin: auto auto;
    display: block;
}

.news-box span
{
	line-height: 20px;
	z-index: 999;
}

.interesting-news-head
{
	color:#57b5fd; 
	font-size:20px;
}
.title-manu-home
{
	/*display: none;*/
	width: 100%;
    height:25px;
    border: none;
    background-repeat: no-repeat;
}
.show-title-manu-home
{
	/*display: none;*/
	width: 100%;
    height:25px;
    background-position: 0 0;
}

.boxContent-head {
    white-space: nowrap;
    width: 100%;
    height: 3.4em;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

.boxContent-head a
{
	color: #000;
	font-size: 16px;
}

.boxContent-head a:hover
{
	color: #000;
	text-decoration: none;
}
.imgWrapper
{
	width: 178px;
	height: 250px;
	text-align: center;
	position: relative;
	margin: 0px auto;
	margin-bottom: 10px;
}



.imgWrapper img
{
	max-width: 100%;
    max-height: 100%;
    border:1px solid #000;
    position: absolute;
    left: 0px;
    bottom: 2px;
}

.vdoWrapper
{
	width: 100%;
	height: 160px;
	text-align: center;
	position: relative;
	margin: 0px auto;
}
.boxContent {
    padding-bottom: 0px;
}
.vdoWrapper img
{
	max-width: 100%;
    max-height: 100%;
    margin: 0px auto;
}

.shelf-under-book-big
{
	width: 100%;
	margin-top: -35px;
	z-index: -100;
}

.shelf-under-book
{
	margin-top: -78px;
	width: 100%;
	height:39px;
	z-index: -100;
}

.shelf-under-book-small
{
	width: 100%;
	height: 39px;
	margin-top: -35px;
	background-image: url(/styles/nia/images/background/bg-shelf-item.png);
	background-repeat: no-repeat;
	z-index: -100;
}

.visible-xs
{
	z-index: -100;	
}
.custom-home-box-seeall:hover
{
	text-decoration: none;
}

.box-seeall
{
	padding-left: 0;
	padding-right: 5px;
}

.bg-gray a, .bg-gray a:hover
{
	color: #57b5fd;
	cursor: pointer;
	text-decoration: none;
}
.bg-box-gray
{
	/*background-color: #f6f6f6;*/
	padding: 10px 0px 10px 0px;
	font-family: 'thaisans_neueregular',sans-serif;
}
.bg-box-gray a, .bg-box-gray a:hover
{
	color: #000000;
	cursor: pointer;
	text-decoration: none;
	font-family: 'thaisans_neueregular',sans-serif;
}

@media (min-width:901px) and (max-width:1024px)
{
	.head-image
	{
		position:absolute;
	    clip:rect(0,500px,25px,0);
	}
}
@media (min-width:768px) and (max-width:900px)
{	
	.container
	{
		width: 700px;
	}

	.bg-gray-box
	{
		height: 180px;
		width: 335px;
	}

	.shelf-under-book-big 
	{
		margin-top: -40px;
	}

}
@media (min-width:480px) and (max-width:767px) 
{
	.container
	{
		width: 400px;
	}

	.img-head-news img
	{
		width: 350px;
		height: auto;
	}
	.custom-content-home-box .vdo-item, .custom-content-home-box .book-item
	{
		background: none;
		width: 450px;
	}
	.custom-home-box-seeall h3 
	{
		font-size: 16px;
	}
	
	.boxContent{
		padding: 10px;
	}

	.imgWrapper
	{
		width: 150px;
		height: 200px;
	}

	.imgWrapper img
	{
		max-width: 100%;
	    max-height: 100%;
	    border:1px solid #000;
	    position: absolute;
	    left: 0px;
	    bottom: 2px;
	}

	.shelf-under-book
	{
		margin-top: -56px;
	}


	.vdoWrapper
	{
		width: 180px;
		/*height: 180px;*/	
	}
}
@media (min-width:360px) and (max-width:479px)
{
	.container
	{
		width: 350px;
	}

	.img-head-news img
	{
		width: 300px;
		height: auto;
	}
	.bg-gray-box
	{
		width: 350px;
	}
	.custom-content-home-box .vdo-item, .custom-content-home-box .book-item
	{
		background: none;
		width: 350px;
	}
	.custom-home-box-seeall h3 
	{
		font-size: 14px;
		margin-top: 10px;
	}

	.boxContent{
		padding: 10px;
	}

	.imgWrapper
	{
		width: 130px;
		height: 180px;
	}

	.imgWrapper img
	{
		max-width: 100%;
	    max-height: 100%;
	    border:1px solid #000;
	    position: absolute;
	    left: 0px;
	    bottom: 2px;
	}

	.shelf-under-book
	{
		margin-top: -56px;
	}


	.vdoWrapper
	{
		width: 200px;
		height: 150px;	
	}



}
@media (min-width:320px) and (max-width:359px)
{
	.container
	{
		width: 300px;
	}

	.img-head-news img
	{
		width: 250px;
		height: auto;
	}
	.bg-gray-box
	{
		width: 300px;
	}
	.custom-content-home-box .vdo-item, .custom-content-home-box .book-item
	{
		background: none;
		width: 300px;
	}
	.custom-home-box-seeall h3 
	{
		font-size: 12px;
		margin-top: 10px;
	}

	.boxContent{
		padding: 10px;
	}
	
	.imgWrapper
	{
		width: 100px;
		height: 150px;
	}

	.imgWrapper img
	{
		max-width: 100%;
	    max-height: 100%;
	    border:1px solid #000;
	    position: absolute;
	    left: 0px;
	    bottom: 2px;
	}

	.shelf-under-book
	{
		margin-top: -56px;
	}

	.vdoWrapper
	{
		width: 180px;
		height: 150px;
		
	}

	
}

.text-pink
{
	font-family: 'thaisans_neueregular',sans-serif;
	color: #57b5fd;
}

.text-gray
{
	color: #6d6d6d;
}

.text-light-gray
{
	color: #ccc;
}

label.text-pink
{
	font-weight: normal !important;
}
h3
{
	margin-top: 3px;
}
h3 span
{
	/*border:1px solid #309ee4;*/
	/*background: #309ee4;*/
	border-radius: 8px;
	color: #309ee4;
	padding: 0 10px;
	font-weight: normal;
	font-size: 16px;
}
hr 
{
	border-top: 1px solid #aaa;
}
.desc-main-news {
  white-space: normal;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}
h3.txt-blue.latest-news-header{
	 white-space: normal;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 2.2em;
}
.pl-2em{
	padding-left: 2em;
}
.pl-1em{
	padding-left: 1em;
}
.border-shlf-home{
	 /*   border-bottom: 12px solid transparent;
	-webkit-border-image: url("Shelf.png") 30 round; 
    -o-border-image: url("Shelf.png") 30 round; */
    background: url(Shelf.png) no-repeat scroll center bottom transparent;
        margin-bottom: 30px;
    margin-top: 20px;
    padding-left: 10px;
    padding-right: 10px;
}
.px-4 {
    padding-left: 2em;
    padding-right: 2em;
}
.slide-delay-1 {
    
        -webkit-animation-delay: 0.2s;
        -moz-animation-delay: 0.2s;
        -o-animation-delay: 0.2s;
        -ms-animation-delay: 0.2s;

}

.slide-delay-2 {

        -webkit-animation-delay: 0.5s;
        -moz-animation-delay: 0.5s;
        -o-animation-delay: 0.5s;
        -ms-animation-delay: 0.5s;
     
}



 


 
 /* ED MOD */
  

.carousel-inner > .item {
  display: none;
  position: relative;
  -webkit-transition: 0.6s ease-in-out left;
  transition: 0.6s ease-in-out left;
}
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  line-height: 1;
}
.carousel-inner > .active,
.carousel-inner > .next,
.carousel-inner > .prev {
  display: block;
}
.carousel-inner > .active {
  left: 0;
}
.carousel-inner > .next,
.carousel-inner > .prev {
  position: absolute;
  top: 0;
  width: 100%;
}
.carousel-inner > .next {
  left: 100%;
}
.carousel-inner > .prev {
  left: -100%;
}
.carousel-inner > .next.left,
.carousel-inner > .prev.right {
  left: 0;
}
.carousel-inner > .active.left {
  left: -100%;
}
.carousel-inner > .active.right {
  left: 100%;
}
.carousel-control {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 15%;
  opacity: 0.5;
  filter: alpha(opacity=50);
  font-size: 20px;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.carousel-control.left 
{
    


background: #1e5799; /* Old browsers */
background: -moz-linear-gradient(top,  #1e5799 0%, #207cca 23%, #207cca 24%, #2989d8 32%, #7db9e8 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e5799), color-stop(23%,#207cca), color-stop(24%,#207cca), color-stop(32%,#2989d8), color-stop(100%,#7db9e8)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #1e5799 0%,#207cca 23%,#207cca 24%,#2989d8 32%,#7db9e8 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #1e5799 0%,#207cca 23%,#207cca 24%,#2989d8 32%,#7db9e8 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #1e5799 0%,#207cca 23%,#207cca 24%,#2989d8 32%,#7db9e8 100%); /* IE10+ */
background: linear-gradient(to bottom,  #1e5799 0%,#207cca 23%,#207cca 24%,#2989d8 32%,#7db9e8 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=0 ); /* IE6-9 */


}


.carousel-control.right {
  left: auto;
  right: 0;
  
  
background: #1e5799; /* Old browsers */
background: -moz-linear-gradient(top,  #1e5799 0%, #207cca 23%, #207cca 24%, #2989d8 32%, #7db9e8 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e5799), color-stop(23%,#207cca), color-stop(24%,#207cca), color-stop(32%,#2989d8), color-stop(100%,#7db9e8)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #1e5799 0%,#207cca 23%,#207cca 24%,#2989d8 32%,#7db9e8 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #1e5799 0%,#207cca 23%,#207cca 24%,#2989d8 32%,#7db9e8 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #1e5799 0%,#207cca 23%,#207cca 24%,#2989d8 32%,#7db9e8 100%); /* IE10+ */
background: linear-gradient(to bottom,  #1e5799 0%,#207cca 23%,#207cca 24%,#2989d8 32%,#7db9e8 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=0 ); /* IE6-9 */



}




.carousel-control:hover,
.carousel-control:focus {
  outline: none;
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
  filter: alpha(opacity=90);
}
.carousel-control .icon-prev,
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: inline-block;
}
.carousel-control .icon-prev,
.carousel-control .glyphicon-chevron-left {
  left: 50%;
}
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-right {
  right: 50%;
}
.carousel-control .icon-prev,
.carousel-control .icon-next {
  width: 20px;
  height: 20px;
  margin-top: -10px;
  margin-left: -10px;
  font-family: serif;
}
.carousel-control .icon-prev:before {
  content: '\2039';
}
.carousel-control .icon-next:before {
  content: '\203a';
}
.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  z-index: 15;
  width: 60%;
  margin-left: -30%;
  padding-left: 0;
  list-style: none;
  text-align: center;
}
.carousel-indicators li {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 1px;
  text-indent: -999px;
  border: 1px solid #ffffff;
  border-radius: 10px;
  cursor: pointer;
  background-color: #000 \9;
  background-color: rgba(0, 0, 0, 0);
}
.carousel-indicators .active {
  margin: 0;
  width: 12px;
  height: 12px;
  background-color: #ffffff;
}
.carousel-caption {
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: 20px;
  z-index: 10;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.carousel-caption .btn {
  text-shadow: none;
}
@media screen and (min-width: 768px) {
  .carousel-control .glyphicon-chevron-left,
  .carousel-control .glyphicon-chevron-right,
  .carousel-control .icon-prev,
  .carousel-control .icon-next {
    width: 30px;
    height: 30px;
    margin-top: -15px;
    margin-left: -15px;
    font-size: 30px;
  }
  .carousel-caption {
    left: 20%;
    right: 20%;
    padding-bottom: 30px;
  }
  .carousel-indicators {
    bottom: 20px;
  }
}

.custom-right-box h3 {
    /* padding: 0 18px; */
    margin-bottom: 5px;
    vertical-align: middle;
    text-align: left;
    color: #333 !important;
    font-size: 20px;
    font-weight: bolder;
}
.logo-image-header {
    position: absolute;
    z-index: 999;
    padding-top: 15px;
    vertical-align: middle;
}
.w3-display-container {
    position: relative;
    display: block;
    top: -102px;
}
.navbar {
    margin-bottom: 0px;
    background-color: #4bb0f1c7 !important;
        /*border-bottom: 3px solid #FF9800;*/
}
li.dropdown.d1 {
    padding-right: 80px;
}
li.d2 {
    padding-right: 40px;
}
.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover {
    color: #555555;
    background-color: transparent;
}
.navbar-default .navbar-nav > .dropdown > a .caret {
    border-top-color: #fff;
    border-bottom-color: #fff;
}
.i45{
	width: 4em;
	background: red;

}
span.input-group-btn.ss {
    left: 800px;
    -webkit-transform: skew(-40deg);
    -moz-transform: skew(-40deg);
    -o-transform: skew(-40deg);
    transform: skew(-40deg);
}
.box-rain.bb {
    position: relative;
    background-color: #fff;
    float: left;
    -webkit-transform: skew(-30deg);
    -moz-transform: skew(-30deg);
    -o-transform: skew(-30deg);
    transform: skew(-30deg);
    width: 22px;
    height: 34px;
    /* margin-left: -48px; */
    left: 836px;
}
input#keyword {
    padding-left: 17px;
}
.my-title {
    color: #333;
    font-weight: bold;
}
.my-title-next {
    color: #333;
    font-weight: bold;
}
.box-rain-b {
 position: relative;
    background-color: #333;
    float: left;
    -webkit-transform: skew(-30deg);
    -moz-transform: skew(-30deg);
    -o-transform: skew(-30deg);
    transform: skew(-30deg);
    width: 6px;
    height: 34px;
        margin-right: 6px;
        margin-top: 13px;
    border-radius: 20px;
}
.box-rain-bl {
 position: relative;
    background-color: #4bb0f1;
    float: left;
    -webkit-transform: skew(-30deg);
    -moz-transform: skew(-30deg);
    -o-transform: skew(-30deg);
    transform: skew(-30deg);
    width: 6px;
    height: 34px;
            margin-right: 10px;
    margin-top: 13px;
    border-radius: 20px;
}
.box-rainbow {
    background-color: transparent;
    float: left;
}
.my-page-title {
    color: #4ab0f1;
    font-weight: bold;
}
span.my-page-title-next{
	 color: #4ab0f1;
    font-weight: bold;
}
footer {
    color: #ffffff;
    /*background: url("BG_footer.png");*/
    border-top: 0px;
    padding: 10px 0px;
}
#footerWrapper {
    font-family: 'thaisans_neueregular',sans-serif;
    background-color: #840120 !important;
}
.mt-12p{
	margin-top: 12px;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #4ab0f1 !important;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #4ab0f1 !important;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #4ab0f1  !important;
}
:-moz-placeholder { /* Firefox 18- */
  color: #4ab0f1 !important;
}
.pl-0{
	padding-left: 0px;
}
.container.hh {
    min-height: 100px;
}
@media screen 
  and (max-device-width: 1600px)  { 
  	.ls-s-1.animated.fadeInLeftBig.slide-delay-2.YellowText{
position: absolute;
    top: 130px;
    right: 2px;
    padding: 30px;
    color: rgb(255, 255, 255);
    background-color: rgba(0, 0, 0, 0.5);
    font-weight: 300;
    width: auto;
    height: auto;
    font-size: 14px;
    border-width: 0px;
    opacity: 1;
    margin-left: 50px;
    margin-top: 40px;
    display: block;
    visibility: visible;
}

}

@media screen 
  and (min-device-width: 1650px) and (max-device-width: 2000px)  { 
  	.ls-s-1.animated.fadeInLeftBig.slide-delay-2.YellowText{
	position: absolute;
    top: 130px;
    right: 2px;
    padding: 30px;
    color: rgb(255, 255, 255);
    background-color: rgba(0, 0, 0, 0.5);
    font-weight: 300;
    width: auto;
    height: auto;
    font-size: 14px;
    border-width: 0px;
    opacity: 1;
    margin-left: 50px;
    margin-top: 40px;
    display: none;
    visibility: visible;
}
}
.panel.panel-default.audio-book{
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);

}
.panel-heading.audio-book{
  background: #067bc7;
    border-top: 1px solid #067bc7;
    border-bottom: 1px solid #067bc7;
    color: #fff;
    padding-bottom: 5px;
    padding-top: 5px;
    text-shadow: 0 1px 1px #000;
    letter-spacing: 0.09em;
      box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23) !important;

}
.panel-heading.audio-book:hover{
    background: #59b9f7;
}
.panel-heading.audio-book:focus{
    border-top: 1px solid #878e98;
    border-bottom: 1px solid #2799db;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#067bc7), to(#2799db));
    background: -webkit-linear-gradient(top, #067bc7, #2799db);
    background: -moz-linear-gradient(top, #067bc7, #2799db);
    background: -ms-linear-gradient(top, #067bc7, #2799db);
    background: -o-linear-gradient(top, #067bc7, #2799db);
}
.panel-heading.audio-book:focus{
    border-top: 1px solid #878e98;
    border-bottom: 1px solid #2799db;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#44c6eb), to(#2799db));
    background: -webkit-linear-gradient(top, #067bc7, #2799db);
    background: -moz-linear-gradient(top, #067bc7, #2799db);
    background: -ms-linear-gradient(top, #067bc7, #2799db);
    background: -o-linear-gradient(top, #067bc7, #2799db);
}
h4.panel-title.audio-book {
    color: #fff;
}
h4.panel-title.audio-book:hover {
    color: #fff;
}
.panel-collapse.audio-book {
    /* border: 1px solid; */
    background: #eee;
          box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23) !important;

}
a.in1.collapsed {
    color: #fff;
    text-decoration:  none !important;
}
a.in1.collapsed:hover {
    text-decoration:  none !important;
}
.px-0{
  padding-right: 0px;
  padding-left: 0px;
}
.media-player.nativ.totalerror{
      box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23) !important;    
}
.pt-60p{
  padding-top: 80px;
}
div#menu1 {
    padding-top: 20px;
}
audio {
    width: 100%;
}
.bt-rec{
  width: 35px;
  height: 35px;
  font-size: 0;
  background-color: red;
  border: 0;
  border-radius: 35px;
  margin: 18px;
  outline: none;
}
.notRec{
  background-color: darkred;
}

.Rec{
  animation-name: pulse;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes pulse{
  0%{
    box-shadow: 0px 0px 5px 0px rgba(173,0,0,.3);
  }
  65%{
    box-shadow: 0px 0px 5px 13px rgba(173,0,0,.3);
  }
  90%{
    box-shadow: 0px 0px 5px 13px rgba(173,0,0,0);
  }
}
button.btn.btn-danger.red {
    background: red;
    border-color: red;
}
div#audio-player {
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

  .ldBar.label-center {
    width: 100%;
    height: auto;
    background: #fff;
}
.ldBar-label {
    color: #fff;
    font-size: 1em;
/*    background: #fff;
*/    padding-left: 5px;
    padding-right: 5px;
        text-shadow: 5px 5px 10px  #000 !important;

}
.ldBar-label::before {
font-family: "FontAwesome";
content: "\f028 \00a0 ";
}

/* ===== Start additional ===== */
.mytitle {
	font-size: 30px;
	letter-spacing: 0.075em;
	line-height: 1.1em;
}
.mytitle a, .mytitle a:hover {
	color: #4bb0f1;
}

/** Book Detail **/
h1.product-title {
	font-weight: normal;
}
.sub-detail {
	margin-bottom: 15px;
}
.sub-detail dt, .sub-detail dd {
	line-height: normal;
}
.sub-detail dd {
	padding-left: 8px !important;
}
.sub-detail dl, .detail-box dl {
	margin: 0;
}
.cl {
	float: right;
	font-weight: normal;
	color: #333333;
}
#marc h2, #review h2 {
	font-size: 26px;
	letter-spacing: 0;
}

/** Book List **/
.view-by-menu {
	float: right;
	margin-top: 10px;
}
.view-by-menu h2, .sort-by-menu h2 {
	font-size: 20px;
	margin-right: 5px;
	letter-spacing: 0;
}
.view-by-menu h2, .view-by-menu ul,
.sort-by-menu h2, .sort-by-menu ul {
	display: inline-block;
	vertical-align: middle;
	margin-bottom: 0;
}
.view-by-menu h2 {
	vertical-align: top;
}
.book-box ul {
	list-style: none;
}

/** Book Audio **/
#audio-book, #audio-book h2 {
	color: #FFFFFF;
}
#audio-book h2 {
	font-size: 16px;
	letter-spacing: 0;
	margin: 15px 0;
	color: #696969;
}
#audio-book .total-length {
	color: #696969;
	margin-bottom: 20px;
}
/**
 * Audio player
 */
#audio-player {
	/*background: url(audio-book/player/video/player-style/images/equalizer.png) center 50px #067bc7 no-repeat;*/
	background: #eeeeee;
	padding: 15px;
}
#audio-player .playlist ul {
	list-style: none;
}
.media-controls {
	background: #262626;
	padding: 10px 30px;
	margin-bottom: 15px;
	border-radius: 2px;
}
.media-controls .ui-icon {
	text-indent: 0;
	background: none;
}
.media-controls .ui-icon-play {
	background: url(audio-book/player/video/player-style/images/icon-play.png) center center no-repeat;
	background-size: auto 14px;
}
.media-controls .ui-icon-pause {
	background: url(audio-book/player/video/player-style/images/icon-pause.png) center center no-repeat;
	background-size: auto 14px;
}
.media-controls .ui-icon-volume-on {
	background: url(audio-book/player/video/player-style/images/icon-unmute.png) center center no-repeat;
	background-size: contain;
}
.media-controls .ui-icon-volume-off {
	background: url(audio-book/player/video/player-style/images/icon-mute.png) center center no-repeat;
	background-size: contain;
}
.media-controls a:hover,
.media-controls a:active,
.media-controls a:focus {
	text-decoration: none;
}
.media-controls .play-pause,
.media-controls .player-time,
.media-controls .timeline-slider,
.media-controls .mute-unmute,
.media-controls .volume-slider {
	display: inline-block;
	vertical-align: middle;
}
.media-controls .play-pause {
	margin-right: 10px;
}
.media-controls .player-time {
	margin-right: 15px;
}
.media-controls .mute-unmute {
	margin: 0 8px 0 15px;
}
.media-controls .timeline-slider {
	width: 65%;
}
.media-controls .volume-slider {
	width: 16%;
}
#audio-player .ui-slider-handle {
	width: 16px;
	height: 16px;
	border-radius: 100%;
	border: none;
	background: #FFFFFF;
	box-shadow: 0 0 3px rgba(0, 0, 0, .3);
}
#audio-player .timeline-slider,
#audio-player .progressbar,
#audio-player .ui-progressbar-value,
#audio-player .volume-slider {
	height: 6px;
	border-radius: 10px;
	border: none;
	margin: 0;
}
#audio-player .volume-slider {
	background: #000000;
}
#audio-player .timeline-slider,
#audio-player .progressbar,
#audio-player .ui-progressbar-value {
	background: #525252;
}
#audio-player .timeline-slider .ui-slider-range {
	background: #05b5f3;
	border-radius: 10px;
}
#audio-player .volume-slider .ui-slider-range {
	background: #FFFFFF;
	border-radius: 10px;
}
#audio-player .playlist li {
	/*background: rgba(255, 255, 255, .2);*/
	background: #067bc7;
	margin: 5px 0;
	padding: 6px 10px;
	border-radius: 2px;
	cursor: default;
}
#audio-player .playlist li.ui-state-active {
	/*background: #F5F5F5;*/
	background: #59b9f7;
	color: #04416A;
	border: none;
}
@media (max-width: 1199px) {
	.media-controls .timeline-slider {
		width: 60%;
	}
}
@media (max-width: 991px) {
	.media-controls .timeline-slider {
		width: 52%;
	}
}
@media (max-width: 900px) {
	.media-controls .timeline-slider {
		width: 48%;
	}
}
@media (max-width: 767px) {
	.media-controls .timeline-slider {
		width: 62%;
	}
}
@media (max-width: 479px) {
	.media-controls .timeline-slider {
		width: 96%;
		margin-left: 3px !important;
	}
	.media-controls .volume-slider {
		width: 74%;
	}
	.media-controls .mute-unmute {
		margin-left: 4px;
	}
}

/**
 * Accessible Display
 */
#access-view {
	float: right;
    margin-top: -35px;
    margin-right: 230px;
}
@media (max-width: 991px) {
	#access-view {
		margin-right: 90px;
	}
}
@media (max-width: 767px) {
	#access-view {
		display: none;
	}
}
#access-view h2 {
	font-size: 14px;
	color: #FFFFFF;
	margin: 0;
	padding: 0;
	float: left;
}
#access-view ul {
	margin: 0;
	float: left;
}
#access-view ul li {
	list-style: none;
	display: inline;
	font-size: 14px;
	line-height: 14px;
}
#access-view a {
	float: left;
	width: 16px;
	height: 16px;
	border-radius: 2px;
	margin: 0 2px;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
}
#access-view a.fsactive {
	cursor: pointer;
}
#access-view a:after {
	display: inline-block;
}
#access-view a#defaultFont, #access-view a#mediumFont, #access-view a#largeFont {
	background: #E5E5E5;
}
#access-view a#defaultFont:after, #access-view a#mediumFont:after, #access-view a#largeFont:after {
	content: 'ก';
	color: #666666;
}
#access-view a#defaultFont:after {
	font-size: 12px;
	line-height: 16px;
}
#access-view a#mediumFont:after {
	font-size: 14px;
	line-height: 16px;
}
#access-view a#largeFont:after {
	font-size: 16px;
}
#access-view a.white-style,
#access-view a.yellow-style {
	background: #000000;
}
#access-view a.default-style {
	background: #FFFFFF;
}
#access-view a.white-style:after, #access-view a.default-style:after, #access-view a.yellow-style:after {
	content: 'c';
	color: #000000;
}
#access-view a.white-style:after {
	color: #FFFFFF;
}
#access-view a.yellow-style:after {
	color: #FFFF00;
}
/* ===== End additional ===== */
.w3-display-content.row {
    width: 10;
    white-space: normal;
    overflow: hidden;
}
.mb-0{
	margin-bottom: 0px; !important;
}
.w3-display-container {
    position: relative;
    display: block;
    top: 0px;
}
.w3-content.w3-display-container {
    white-space: normal;
    overflow: hidden;
}
.navbar {
    background-color: #920728 !important;
    /*border-bottom: 3px solid #FF9800;*/
}
.px-4 {
     padding-left: 0em;
    padding-right: 2em;
}
.border-shlf-home {
    margin-top: 5px;
    padding-left: 0px;
    padding-right: 10px;
}
section#content {
    width: 100%;
    overflow: hidden;
}