/* menu header */
/* .storefront-primary-navigation {
    background: -webkit-linear-gradient(45deg, #54d400 48%, #1b1e21 48%);
    background: -webkit-linear-gradient(left, #54d400 48%, #1b1e21 48%);
    background: linear-gradient(45deg, #54d400 48%, #1b1e21 48%);
} */
.col-full.branding{
	position:absolute;
	left:0;
}
.main-navigation ul li, .secondary-navigation ul li{
	line-height:0;
}
.site-header{
	z-index:99 !important;
}
.site-content {
    margin-top: 20px;
}
.footer-widgets{
	max-width:100%;
}
.btn{
	border-radius:0;
}
body{
    background: rgba(211,211,211,0.2) !important;
}
article{
	max-width: 85%;
	margin: 0 auto !important;
}
.col-full article{
	max-width: 100%;
}
#post-navigation{
	display:block;
}
div.items{
	background: #f5f5f5;
	padding: 20px 0;
}
#masthead{
	padding:0;
	margin:0;
	background: -moz-linear-gradient(0deg, rgb(33, 133, 208) 0%, rgb(8, 123, 206) 100%); /* ff3.6+ */
	background: -webkit-gradient(0deg, rgb(33, 133, 208) 0%, rgb(8, 123, 206) 100%); /* safari4+,chrome */
	background: -webkit-linear-gradient(0deg, rgb(33, 133, 208) 0%, rgb(8, 123, 206) 100%); /* safari5.1+,chrome10+ */
	background: -o-linear-gradient(0deg, rgb(33, 133, 208) 0%, rgb(8, 123, 206) 100%); /* opera 11.10+ */
	background: -ms-linear-gradient(0deg, rgb(33, 133, 208) 0%, rgb(8, 123, 206) 100%); /* ie10+ */
	background: linear-gradient(0deg, rgb(33, 133, 208) 0%, rgb(8, 123, 206) 100%); /* w3c */ 
	border-bottom: unset;
}
header .site-branding{
	margin:10px 0 0;
}
#form_search{
	margin-top:50px;
}
#form_search #txt-search{
	background:#fff;
	border:solid 1px;
	direction: ltr;
}
#form_search.home{
	width: 60%;
	margin:15px 90px;
}
#menu-main li a{
	padding: 1.618em 5px !important;
	color: #fff;
}
#menu-main .sub-menu{
	background:#fff;
}
#menu-main .sub-menu a{
	color:#222;
}
/* #search_filter:focus,#search_source:focus,#search_exact:focus{
	color:#fff;
}
#search_filter:active,#search_source:active,#search_exact:active{
	color:#fff;
}
#search_filter:hover,#search_source:hover,#search_exact:hover{
	color:#fff;
} */
.item-title{
	font-size: 32px;
	font-weight: normal;
}
#libgen_links a{
	margin:2px 0;
}
figcaption form{
	margin:0;
}
.entry-header{
	display:none;
}
.items p{
	margin: 8px 0;
}
.items img{
	margin:0 auto;
}
h6.title{
	white-space: initial;
}
#custom-search-input {
	margin:0;
	margin-top: 10px;
	padding: 0;
}

#custom-search-input .search-query {
	padding-right: 3px;
	padding-right: 4px \9;
	padding-left: 3px;
	padding-left: 4px \9;
	/* IE7-8 doesn't have border-radius, so don't indent the padding */

	margin-bottom: 0;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

#custom-search-input button {
	border: 0;
	background: none;
	/** belows styles are working good */
	padding: 2px 5px;
	margin-top: 2px;
	position: relative;
	left: -28px;
	/* IE7-8 doesn't have border-radius, so don't indent the padding */
	margin-bottom: 0;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	color:#D9230F;
}

.search-query:focus + button {
	z-index: 3;   
}
.gform_body{
	/* direction:ltr; */
}
.gfield_captcha{
	display:inline;
}
.form-control-borderless {
    border: none;
}

.form-control-borderless:hover, .form-control-borderless:active, .form-control-borderless:focus {
    border: none;
    outline: none;
    box-shadow: none;
}
div.dropdown-menu a{
	cursor:pointer;
}

/*------table search result-------------*/
table.shopping-cart-wrap{
	direction:ltr;
}
table.shopping-cart-wrap th,table.shopping-cart-wrap td{
	text-align:left;
}
.param {
    margin-bottom: 7px;
    line-height: 1.4;
}
.param-inline dt {
    display: inline-block;
}
.param dt {
    margin: 0;
    margin-right: 7px;
    font-weight: 600;
}
.param-inline dd {
    vertical-align: baseline;
    display: inline-block;
}

.param dd {
    margin: 0;
    vertical-align: baseline;
} 

.shopping-cart-wrap .price {
    color: #007bff;
    font-size: 18px;
    font-weight: bold;
    margin-right: 5px;
    display: block;
}
var {
    font-style: normal;
}

.media img {
    margin-right: 1rem;
}
.img-sm {
    width: 90px;
    max-height: 75px;
    object-fit: cover;
}

/*-------------- pagination-----------------*/
.pagination > .active > a{
	z-index: 2;
	color: #fff;
	cursor: default;
	background-color: #337ab7;
	border-color: #337ab7;
}
.pagination > li > a, .pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #337ab7;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}
.pagination{
	direction:ltr;
	display: inline-flex;
}

/*---------------- hero home page -------------*/
/* #home_hero{
	 background:url('/wp-content/uploads/extra/bookshelf.jpg');
	 height:400px;
 } */
#home_hero {
	position: absolute;
	z-index: 9;
	top:0;
	width:100%;
}
#home_hero form{
	 width:75%;
	 margin: 60px auto;
	 padding: 20px 30px 10px;
	background: rgba(255,255,255,0.5);
 }
#home_hero .btn-outline-secondary{
	background-color:#fff  !important;
}
#home_hero .btn-outline-secondary:hover{
	background-color: #6c757d !important;
}
/*--------------------- home page shadow ------------------------*/
/* body {
    margin:0;
    padding:0;
    background:#000;
} */
.shadow {
    position:relative;
    margin:100px auto 0;
    color:#fff;
    text-align:center;
    /* line-height:0px; */
    font-size:50px;
    font-weight:bold;
    width:85%;
    height:200px;
    background:linear-gradient(0deg,#000,#262626);
}
.shadow:before,
.shadow:after {
    content:'';
    position:absolute;
    top:-2px;
    left:-2px;
    background:linear-gradient(45deg,#fb0094,#0000ff,#00ff00,#ffff00,#ff0000,#fb0094,#0000ff
    ,#00ff00,#ffff00,#ff0000);
    background-size:400%;
    width:calc(100% + 4px);
    height:calc(100% + 4px);
    z-index:-1;
    animation:animate 20s linear infinite;
}

.shadow:after {
    filter:blur(20px);
}

@keyframes animate {
    0% {
        background-position:0 0;
    }
    50% {
        background-position:300% 0;
    }
    100% {
        background-position:0 0;
    }
}
/*------preload page ---*/
/* .container {
  width: 100vw;
  font-family: Helvetica;
} */

.loader {
  height: 20px;
  width: 250px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
.loader--dot {
  animation-name: loader;
  animation-timing-function: ease-in-out;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  height: 20px;
  width: 20px;
  border-radius: 100%;
  background-color: black;
  position: absolute;
  border: 2px solid white;
  left: 0;
}
.loader--dot:first-child {
  background-color: #8cc759;
  animation-delay: 0.5s;
}
.loader--dot:nth-child(2) {
  background-color: #8c6daf;
  animation-delay: 0.4s;
}
.loader--dot:nth-child(3) {
  background-color: #ef5d74;
  animation-delay: 0.3s;
}
.loader--dot:nth-child(4) {
  background-color: #f9a74b;
  animation-delay: 0.2s;
}
.loader--dot:nth-child(5) {
  background-color: #60beeb;
  animation-delay: 0.1s;
}
.loader--dot:nth-child(6) {
  background-color: #fbef5a;
  animation-delay: 0s;
}
.loader--text {
  position: absolute;
  top: 200%;
  left: 0;
  right: 0;
  width: 6rem;
  margin: auto;
}
.loader--text:after {
  content: "Loading";
  font-weight: bold;
  animation-name: loading-text;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  direction:ltr;
}

@keyframes loader {
  15% {
    transform: translateX(0);
  }
  45% {
    transform: translateX(230px);
  }
  65% {
    transform: translateX(230px);
  }
  95% {
    transform: translateX(0);
  }
}
@keyframes loading-text {
  0% {
    content: "Loading";
  }
  25% {
    content: "Loading.";
  }
  50% {
    content: "Loading..";
  }
  75% {
    content: "Loading...";
  }
}


/* Default mode tabs */
.tabbable-line > .nav-tabs {
  border: none;
  margin: 0px;
}
.tabbable-line > .nav-tabs > li {
  margin-right: 15px;
}
.tabbable-line > .nav-tabs > li > a {
  border: 0;
  margin-right: 0;
  color: #737373;
}
.tabbable-line > .nav-tabs > li > a > i {
  color: #a6a6a6;
}
.tabbable-line > .nav-tabs > li.open, .tabbable-line > .nav-tabs > li:hover {
  border-bottom: 4px solid #fbcdcf;
}
.tabbable-line > .nav-tabs > li.open > a, .tabbable-line > .nav-tabs > li:hover > a {
  border: 0;
  background: none !important;
  color: #333333;
}
.tabbable-line > .nav-tabs > li.open > a > i, .tabbable-line > .nav-tabs > li:hover > a > i {
  color: #a6a6a6;
}
.tabbable-line > .nav-tabs > li.open .dropdown-menu, .tabbable-line > .nav-tabs > li:hover .dropdown-menu {
  margin-top: 0px;
}
.tabbable-line > .nav-tabs > li.active {
  border-bottom: 4px solid #f3565d;
  position: relative;
}
.tabbable-line > .nav-tabs > li.active > a {
  border: 0;
  color: #333333;
}
.tabbable-line > .nav-tabs > li.active > a > i {
  color: #404040;
}
.tabbable-line > .tab-content {
  margin-top: -3px;
  /* background-color: #fff; */
  border: 0;
  border-top: 1px solid #eee;
  padding: 15px 0;
}
.portlet .tabbable-line > .tab-content {
  padding-bottom: 0;
}

/*------ header image home page ---------*/
.header-img{
    height: 80px;
    position: relative;
    width: 100%;
}
.header-img img{
    width: 100%;
    
}
.header-content{
    background: #54D400;
    color: #fff;
    height: 450px;
    padding-top: 130px;
    position: relative;
    text-align: center;
    width: 100%;
}
.header-content h2{
    font-size: 30px;
    text-transform: uppercase;
}
.header-content p{
    padding: 0px 150px;
}
.header-content:before{
    position: absolute;
    content: "";
    width: 60%;
    height: 125px;
    top: -50px;
    left: 0;
    background:#54D400;
    transform: skewY(10deg);
}
.header-content:after{
    position: absolute;
    content: "";
    width: 60%;
    height: 125px;
    top: -50px;
    right: 0;
    background:#54D400;
    transform: skewY(-10deg);
}
/*----------- responsive css -----------*/
@media only screen and (max-width: 480px) {
    #form_search.home{
		width: 100%;
		position: relative;
		right: 0;
		top: 0;
		margin:0;
	}
}

/*------------- tables custom --------------*/
#myTable {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

#myTable td,#myTable th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}

#myTable tr:nth-child(even) {
    background-color: #dddddd;
}
.card-img-top{
	width:128px;
	margin: 0 auto;
}

/*------------ tabs all search -------------*/

#allsearch nav > .nav.nav-tabs{

  border: none;
    color:#fff;
    background:#272e38;
    border-radius:0;

}
#allsearch nav > div a.nav-item.nav-link,
#allsearch nav > div a.nav-item.nav-link.active
{
  border: none;
    padding: 18px 25px;
    color:#fff;
    background:#272e38;
    border-radius:0;
}

#allsearch nav > div a.nav-item.nav-link.active:after
 {
  content: "";
  position: relative;
  bottom: -60px;
  left: -10%;
  border: 15px solid transparent;
  border-top-color: #e74c3c ;
}
#allsearch .tab-content{
  background: #fdfdfd;
    line-height: 25px;
    border: 1px solid #ddd;
    border-top:5px solid #e74c3c;
    border-bottom:5px solid #e74c3c;
    padding:30px 25px;
}

#allsearch nav > div a.nav-item.nav-link:hover,
#allsearch nav > div a.nav-item.nav-link:focus
{
  border: none;
    background: #e74c3c;
    color:#fff;
    border-radius:0;
    transition:background 0.20s linear;
}


/*--------statistic home page ---------*/
.tooltip{ 
  position:relative;
  float:right;
}
.tooltip > .tooltip-inner {background-color: #eebf3f; padding:5px 15px; color:rgb(23,44,66); font-weight:bold; font-size:13px;}
.popOver + .tooltip > .tooltip-arrow {    border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 5px solid #eebf3f;}

.progress{
  border-radius:0;
  overflow:visible;
}
.progress-bar{
   background:rgb(23,44,60); 
  -webkit-transition: width 1.5s ease-in-out;
  transition: width 1.5s ease-in-out;
}
p.site-description{
	display:none !important;
}
.bs-tooltip-top .arrow::before {
    border-top-color: #DAA520 !important;
}
/* list style */
.break_ul{
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
}
#intro .card-body img{
	height:220px !important;
}
/*----------tree topics-------------*/
#tree_topics{
	direction: ltr;
	text-align: left;
}
#book_topics{
	float:left;
	width:40%;
}
.tree, .tree ul {
    margin:0;
    padding:0;
    list-style:none
}
.tree ul {
    margin-left:1em;
    position:relative
}
.tree ul ul {
    margin-left:.5em
}
.tree ul:before {
    content:"";
    display:block;
    width:0;
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    border-left:1px solid
}
.tree li {
    margin:0;
    padding:0 1em;
    line-height:2em;
    color:#369;
    font-weight:700;
    position:relative
}
.tree ul li:before {
    content:"";
    display:block;
    width:10px;
    height:0;
    border-top:1px solid;
    margin-top:-1px;
    position:absolute;
    top:1em;
    left:0
}
.tree ul li:last-child:before {
    background:#F6F6F6;
    height:auto;
    top:1em;
    bottom:0
}
#treeTopics ul {
    margin-left: 20px;
}
.indicator {
    margin-right:5px;
}
.tree li a {
    text-decoration: none;
    color:#369;
	font-size: 15px;
}
.tree li button, .tree li button:active, .tree li button:focus {
    text-decoration: none;
    color:#369;
    border:none;
    background:transparent;
    margin:0px 0px 0px 0px;
    padding:0px 0px 0px 0px;
    outline: 0;
}
