/* search contaner tabs */
.form-search-all {
  margin: auto;
  height: 48px;
  border-radius: 30px;
  padding: 10px;
  border: solid 1px;
  width: 65%;
  display: flex;
}
.form-search-all .input-all-search,
.form-search-all .input-all-search:focus {
  color: #222;
  background: none;
  width: 100%;
  box-shadow: none;
}
.form-search-all .search_icon {
  height: 28px;
  width: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #222;
}
.search-container-header{
	display: flex;
	gap: 10px;
	justify-content: center;
	border-bottom: solid 1px #2222;
	margin: 20px auto;
}
.search-container-header > div{
	padding: 5px;
	cursor: pointer;
	display: flex;
	gap: 4px;
	justify-content: center;
	align-items: center;
	position: relative;
}
.search-container-header > div::after{
	content: '';
	width: 0;
	background: #ff9602;
	height: 2px;
	position: absolute;
	bottom: 0;
}
.search-container-header > div:hover::after,
.search-container-header > div.active::after,
.search-container-header > div:visited{
	width: 100%;
	transition: width .2s;
}
.search-container-header > div > img{
	display: none;
}
.search-container-content .result-count{
  border: solid 1px #2222;
  padding: 10px;
  border-radius: 8px 8px 0 0;
  color: #222;
  display: inline-block;
  font-size: 12px;
  position: relative;
}
.search-container-content .result-count::after{
  content: '';
  width: 100%;
  background: #faaa64;
  height: 2px;
  position: absolute;
  bottom: -2px;
  right: 0;
}
.search-container-content .list-group {
  border: solid 1px #2222;
  border-radius: 10px 0 10px 10px;
}
.search-container-content .list-group-item {
  background: transparent;
  border: 0;
  position: relative;
}
.search-container-content .list-group-item > div{
	font-size: 14px;
}
.search-container-content .list-group-item::after{
  content: '';
  width: 70%;
  background: #2222;
  height: 1px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.search-container-content .title {
  font-size: 16px;
  font-weight: bold;
}
.search-container-content .caption {
  min-width: 7em;
  display: inline-block;
}
.search-container-content .sub-buttons a,
.search-container-content .sub-buttons label {
  background: #faaa64;
  border: 0;
  color: #222;
  border-radius: 5px;
  box-shadow: 0 2px 4px #2222;
  font-size: 14px;
  transition: all .2s;
}
.search-container-content .sub-buttons a:hover,
.search-container-content .sub-buttons label:hover {
  background: #faaa64;
  border: 0;
  color: #222;
  border-radius: 5px;
  box-shadow: 0 2px 4px #222;
}

/* Vertical Tabs */
 .vertical-tabs{
    font-size:15px;
    padding:10px;
    color:#000;
	position: relative;
}
 .vertical-tabs .nav-tabs .nav-link{
    border-radius: 0;
    background:#c10101;
    font-size: 16px;
    border:1px solid #424242;
    color:#fff;
    height:40px;
    width: 10em;
	display: flex;
	white-space: nowrap;
}
.vertical-tabs .nav-tabs .nav-link :is(img) {
  margin: 0 0 0 4px;
  filter: invert(1);
} 
.vertical-tabs .nav-tabs .nav-link :is(i) {
  margin: 0 0 0 4px;
}
.vertical-tabs .tab-content .thumbnail{
    margin: 0 auto;
	opacity: .2;
}
.sub-buttons {
  display: flex;
  align-items: baseline;
}
:is(.sub-buttons, .modal-html) label {
  border: solid .1em #007bff;
  color: #007bff;
  padding: 2px 10px 2px 0;
  cursor: pointer;
  margin: 0 10px;
}
:is(.sub-buttons, .modal-html) label:hover {
  background: #007bff;
  color: #fff;
}
.sub-buttons input {
  visibility: hidden;
}
 .vertical-tabs .nav-tabs .nav-link.active{
    background-color:#700000!important;
    color:#fff;
}
 .vertical-tabs .tab-content>.active{
    display:block;
}
 .vertical-tabs .nav.nav-tabs{
    border-bottom:0;
    border-left:3px solid #000;
    display:block;
    float:right;
    margin-right:20px;
    padding-left:15px;
	transition: all .5s;
}
 .vertical-tabs .sv-tab-panel{
    padding:10px;
	display: flex;
	flex-flow: column;
	min-height: 15em;
}
.vertical-tabs .tab-content {
  margin-right: 14em;
}
.end-menu{
	position: absolute;
	right: 0;
}
.fixed-menu{
	position: absolute;
	right: 0;
}
#pag8 .d-flex {
	gap: 1em;
	margin-bottom: 1em;
	flex-wrap: wrap;
	transition: all .2s;
}
#pag8 .d-flex div{
	width: 23%;
}
#pag8 a {
	color: #444;
}
#pag8 p {
	font-weight: bold;
	margin: 0 0 10px 0;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
#pag8 img{
	margin-bottom: 1em;
}
#pag8 a:hover img {
	background: #b22222;
}

@media only screen and (max-width: 420px){
	.fixed-menu {
		position: unset;
	}
	.form-search-all {
	  width: 100%;  
	}
	.search-container-header {
	  gap: 5px;
	}
	.search-container-header > div {
	  gap: 4px;
	  justify-content: start;
	  flex-flow: column;
	  text-align: center;
	}
	.search-container-header > div > img {
	  display: block;
	  width: 24px;
	  height: 24px;
	}
	.search-container-header span {
	  font-size: 10px;
	}
	.sub-buttons {
	  flex-flow: column;
	  align-items: unset;
	}
	.sub-buttons label {
	  margin: 7px 0px;
	  width: 100%;
	  text-align: center;
	}
	.search-container-content .list-group-item {
	  flex-flow: column;
	}
}
@media only screen and (max-width: 325px){
  .vertical-tabs{ padding:8px;}
}
