#mod-custom297{
    position: relative;
    z-index: 1000;
    margin-top: -400px;
    /* background-color:rgba(255,255,255,0.8); */
    background-color:rgba(0,0,0,0.8);

    border-radius: 5px;
    /* added 150823 start */
    max-width: 1100px;
    margin-left: 3rem;
    margin-right: 3rem;
    /* added 150823 end */
}
#headingText{
    margin-left:1.5rem;
    color:#fff;
     /* added 150823 start */
    padding-top: 0.5rem !important;
    /* added 150823 end */
}

.eb-search__box{
    display:grid;
    grid-template-columns: repeat(3, 1fr); /* Three equal columns */
       }
  .eb-search__submit-button {
    flex:0 1 25%;
    border:1px solid #fff !important;  
    /* background-color:rgba(0,0,0,0.8);       */
    color: white;
    display: inline-flex; /* Display as inline-flex to align items horizontally */
    align-items: center; /* Center the icon vertically with the text */
}
.search-input{
    margin-right: 20px; 
    margin-left:10px;
    /* background-color:#ea7125 !important; */
    background-color:rgba(0,0,0,0.8);
    border:none !important;
}
.eb-search__input-bquery{
    padding-left:10px !important;
    font-size: 2rem;
    font-weight:bold;
    margin-left:0.8rem;
  
}
.search-icon{
    flex:0 1 10%;
    /* padding: 1rem 0.5rem 0.5rem 0.5rem; */
    text-align:center;
    /* background-color:#ea7125 !important; */
    /* background-color:rgba(0,0,0,0.8); */
    color:white;
    border:1px solid #fff !important;
    border-radius: 0 .25em .25em 0;
}
.search-icon:hover{
   
    /* background-color:#ea7125 !important; */
    color:#ea7125;

}
    #nav{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        overflow-wrap: break-word;
        margin-top:1rem;
        
        align-items: center; /* Vertically center the links */
        /* background-color: #ea7125; */
    }
    
    
    a.link{
            color:#fff;
           
            text-decoration: none;
            padding:0.8rem;
            font-weight:bold;
            font-size:1rem;
            margin-bottom:0.5rem !important;
        }
    a.link:hover{
        background-color: #3b4353;
        /* border-radius: .25em; */
    }
   
  
    @media only screen and (min-width: 768px){
       
        .eb-search__box{
            box-shadow: none !important;
        }
        #nav{
            
            flex-direction: row;
            /* Align items to the bottom */
            align-items: flex-start !important;
        }
        .link{
             /* Adjust this value to control the space between the links */
            border-right: 4px solid #fff !important;
            text-align: center;
            flex: 1 1 auto; 
        }
        
        .link:last-child{
            border-right: none !important;
        }
        
        #eb-search__submit-icon{
            line-height: normal;
        }
        .eb-search__submit-button {
            position: relative; 
            flex:0 1 25%;
            /* border: 1px solid #000!important; */
            /* border-right:none !important; */
            border-radius: 0px !important;
            padding: .5em 3rem !important;
            color: white;
            display: inline-flex !important; /* Display as inline-flex to align items horizontally */
            align-items: center !important; /* Center the icon vertically with the text */
        }
        .search-icon{
            flex: 0 1 20% !important;
            align-items: center !important;
            justify-content: center !important;
            margin-right:0.8rem;
           }
        
    }
    
    @media only screen and (min-width: 768px)and (max-width: 845px){
        .eb-search__submit-button {
              
            flex:0 1 15% !important;
            padding:.5rem 0.5rem !important;
        }
        .search-icon{
            flex: 0 1 15% !important;
            align-items: center !important;
            justify-content: center !important;
           }
    }
     
     @media only screen and (min-width: 846px) and (max-width: 960px){
.eb-search__input-bquery{
    flex:0 1 70% !important;
}
        .eb-search__submit-button{            
          flex:0 1 16% !important;
          padding:.5rem 0.5rem !important;
        }
    .search-icon{
        flex: 0 1 15% !important;
        border:1px solid #fff !important;
        align-items: center !important;
        justify-content: center !important;
       }
       .search-input{
        text-align: center !important;
       }
    
    }
   
   
    @media only screen and (max-width: 767px){
        
        #headingText{
            font-size:1.5rem;
            margin-left: 1rem !important;
           
        }
        #searchText{
            font-size:1.5rem;
        }
        .eb-search__submit-button {
        flex: 0 1 45% !important;       
        align-items: center !important;
        justify-content: center !important;
        padding: 0.2em 1.5rem !important;
        color: white;
        border-radius: 5px !important;
        margin-left:1rem;
      
    }
    .eb-search__input-bquery{
        border-radius: 5px !important;
        flex: 0 0 90% !important;       
         border:1px solid #3d3d3d!important;        
            margin-left:1.0rem;
        
             }
   .search-icon{
    flex: 0 1 45% !important;
    align-items: center !important;
    justify-content: center !important;
   }
    
    .search-input{
       
        padding-left:0rem !important;
        text-align:center !important;
    }
    
    .search-input,
    .search-icon {
        /* flex: 1 !important; */
        border-radius: 5px;
    }
	.ebsco-single-search1 > #nav > a{
		padding: 0;
	}
    
    #nav a.link{
            margin-top:0rem;
            font-size:1rem;
            text-align: center;
    }
    #nav {
            display:flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            margin-top: 1rem;
	}
	.home-search-box-position{
			margin:0 0 6rem 0 !important;
			padding:0 !important;
		}


    }

    
    @media only screen and (max-width: 575px){
        #headingText{
            font-size:1.5rem;
            margin-left: 1rem !important;
           
        }
        #searchText{
            font-size:1rem;
        }
        #nav {
            flex-direction: column;
            justify-content: center;
            align-items: center;
            margin-top: 1rem;
        }
        #nav .link{
            margin-top:0rem;
            font-size:1rem;
            text-align: center;
        }
        .eb-search__submit-button{
            padding: 0rem !important;
            color: white;
			flex: 0 1 45% !important; 
            /* margin-left:5rem; */
           
        }
		.eb-search__input-bquery{
			flex: 0 0 90% !important;       
         }
        .search-input{
           
            padding-left:1rem !important;
            text-align:center !important;
            
        }
        .search-icon{
            text-align:center !important;
            padding-right:0;
			flex: 0 1 45% !important;
        }
        .eb-search__input-bquery{
            text-align: center;
            /* margin-left:3rem; */
        }
        
    }
	@media only screen and (max-width: 390px){
		
		#mod-custom297{
		
		margin-left: 0.5rem;
		margin-right: 0.5rem;
		/* added 150823 end */
		}
		.search-icon {
			text-align: center !important;
			padding-right: 0;
			flex: 0 1 90% !important;
			margin-left: 1rem;
		}
		.eb-search__submit-button {
			padding: 0rem !important;
			flex: 0 1 90% !important;
		}
	}
	
    
