#slug{
	margin: 2em 0em;
	padding: 0 8em;
}
.d-none{
	display:none;
}
@media (min-width: 481px){
	.d-sm-block {
		display:block;
	}
}
@media (max-width: 480px) {
	.site-header {
		padding: 3px 0;
	}
	.site-branding {
		margin-bottom: 5px;
	}
	img.custom-logo {
		max-width: 2em;
		margin: 0;
	}
	#slug{
		padding:0;
	}
	#slug .slug-top{
		width:100%;
	}
	#search-box-radio {
		width: 100%;
		margin: 2em auto 0;
	}
	#tab-radios {
		width: 100%;
	}
	#tab-radios .checkbox-tools + label{
		padding: 5px !important;
		max-width: 6.5em !important;
	}
	#search-box {
		padding: 0;
	}
	#search-box .input-group-btn {
		display: table-cell;
	}
	#search-box .dropdown-toggle, #searchbtn {
		padding: 0px 5px;
		width: 7em;
		font-size: 1rem;
		border:none;
	}
	#search-box .dropdown-toggle span {
		font-size: 0.7em;
	}
	#search-form {
		background: cadetblue;
	}
	#tabs-content ul.nav-tabs li {
		min-width: auto;
	}
	#tabs-content ul.nav-tabs li a {
		font-size: 1.2rem;
		padding: 0;
		max-width: 5em;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	#tabs-content .tab-pane {
		padding: 2em 0;
	}
	#tabs-content .tab-pane table {
		min-height: .01%;
		overflow-x: auto;
	}
	.list-group-item .d-flex{
		flex-flow: column;
		gap: 2px;
	}
	.cat-posts {
	  flex-flow: column;
	}
	/*---------------------books page-----------------------*/
	#dynamic-advanced-search {
		width: 100%;
	}
	#dynamic-advanced-search input {
		max-width: 10em;
	}
	#booksResult-container .item-thumbnail img.cover {
		left: 4.3em;
	}
	/*---------------------articles page---------------------------------*/
	#post-365 h4:not(.title){
		background: rgba(255,255,255,0.5);
		padding: 1em;
	}
	#articles_form{
		width:90% !important;
	}
	/*------------------------patent page-----------------------------*/
	#post-354{
		background:none;
	}
	#post-354 h4:not(.title){
		background: rgba(255,255,255,0.5);
		padding: 0;
	}
	#patents_form{
		width:90% !important;
	}
	/*--------------------------thesis page----------------------------------*/
	#form_search_thesis{
		width:90% !important;
	}
	/*------------------------- product page ----------------------------------*/
	.woocommerce ul.products {
	  position: unset;
	}
	/* footer */
	.footer-container {
	  gap: 20px;
	  flex-flow: column;
	  padding: 10px;
	}
	.footer-posts-by-cat :not(h4) {
	  padding: 0 2px;
	}
	/* ---------------books result-------------------------------------- */
	#booksResult-container .list-group-item > div:first-child{
		min-height: 10em;
	}
	#booksResult-container .list-group-item > div:first-child > img:first-child{
		display: block;
	}
	
	/* ----------------------------- */
	.woocommerce-orders-table__row.woocommerce-orders-table__row--status-completed > th{
		display: inherit !important;
	}
}

@media (min-width: 1441px) {
    footer .container {
        width: auto;
        padding: 0 15em;
    }
	.footer-container > div.footer-section:last-child {
		min-width: 23em;
	}
}