span.search-sb {
	display: block;
	color: #fff;
	background-color: #900;
	width: auto;
	text-align: center;
	position: absolute;
	top: 0;
	right: 0;
	cursor: pointer;
	z-index: 10;
	padding: 6px 16px 8px;
	line-height: 1;
	margin-right: 10px;

	text-decoration: none;
	font-size: 11px;
	font-family: 'Trade Gothic Next W01', arial;
	font-weight: 400;
	font-size: 12px;
	text-transform: uppercase;
	-webkit-border-radius: 0 0 14px 14px;
	-moz-border-radius: 0 0 14px 14px;
	border-radius: 0 0 14px 14px;
	border: 0 none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;

	background: -webkit-linear-gradient(top, #990000, #880000);
	background: -moz-linear-gradient(top, #990000, #880000);
	background: -o-linear-gradient(top, #990000, #880000);
	background: linear-gradient(top, #990000, #880000);
}


.form-search {
   display: block;
}

.form-search input[type="text"],
.form-search input[type="search"] {
   color: #333 !important;
   font-family: 'Trade Gothic W01 Light';
   font-size: 16px;
   padding: 0 !important;
   width: 78%;
   /*height: 100% !important;*/
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
   line-height: 1.25em;

   background: #f7f7f7;
   border: 1px solid #d9d9d9;
   -webkit-box-shadow: 2px 2px 5px #ddd inset;
   -moz-box-shadow: 2px 2px 5px #ddd inset;
   box-shadow: 2px 2px 5px #ddd inset;
   -webkit-border-radius: 3px;
   -moz-border-radius: 3px;
   border-radius: 3px;
   height: 35px;
   outline: none;
   padding: 6px 6px 6px !important;
   display: inline-block;
   float: left;

   -webkit-appearance: none;
}

.form-search input[type="text"]:hover,
.form-search input[type="search"]:hover,
.form-search input[type="text"]:focus,
.form-search input[type="search"]:focus {
   border: 1px solid #c7c7c7;
}

.form-search input[type="submit"],
.search-trigger {
   height: 34px;
   border: 0 none;
   background-color: #aa0000;
   background-image: url('/sites/default/files/search-box-icon.png');
   background-repeat: no-repeat;
   background-position: 50%;



   -webkit-border-radius: 2px;
   -moz-border-radius: 2px;
   border-radius: 2px;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
   cursor: pointer;
   text-indent: -9999px;
   color: #a00;
   position: relative;

   outline: none;

   display: inline-block;
   width: 21%;
   margin: 0 0 0 1%;
}

.form-search input[type="submit"]:hover {
   background-color: #990000;
   background-image: url('/sites/default/files/wwwfiles/search-box-icon.png');
   background-repeat: no-repeat;
   background-position: 50%;


}

/* The search box takes full width in small screen */
div.search-bar {
  /*display: none;*/
  /*height: 37px;*/
	/*padding: 10px 10px 0;*/
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	max-width: 960px;
	margin: 0 auto;
	margin-bottom: 10px;
}

@media only screen and (min-width: 768px){
	/*Commented by Jake
	 div.search-bar:before{
		content:"\00a0|\00a0\00a0";
		font-size: 1.4em;
	}
	*/ 
	div.search-bar{
		display:inline-block;
		margin-left: 35px;
	}

	/*Next To Search*/
	div.Member-Only-Link {
        	/*position:relative;
        	top: -25px;*/
        	display: inline-block;
        	margin: auto;
	}
}

@media only screen and (max-width: 767px){
	div.top-header-rightside {
		width: 100%;
		margin-top: 15px;
	}

	div.search-bar {
		margin: 0;
	}
}

@media only screen and (min-width: 768px) and (max-width: 1119px){
	div.top-header-rightside {
		margin-top: 15px;
	}

	div.search-bar {
		margin: 0;
	}
}

/*//Added by Jake 11/16/2022*/
@media screen and (min-width: 1120px){
        div.top-header-rightside{
			position: absolute;
			right: calc((100% - 1000px)/2);
        }
}


@media screen and (min-width: 1120px){
	.search-txt {
	/*	position: absolute; */
		right: 999%;
		height:35px !important;
	}
}

/* When the screen size is larger than 768px, the width of search box is 240px. */
@media only screen and (min-width: 768px) {
   .search-bar .search {
      float: right;
      width: 240px;
   }
}

