* {
    margin: 0;
    padding:0;
    font-family: 'Open Sans', sans-serif;
}
.header{
    background-color:#016180;
    color: #ffff;
    min-height: 40px;
    max-height: 90px;
    border-bottom:#519ac1 3px solid;
}
body {
background-color: #fcfbfb;
}
nav {
    display: flex;
    padding: 1% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img {
width: 120px;
}
.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #519ac1;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after {
    width: 100%;
}
.nav-links ul li ul.dropdown li {
    display: block;
    background-color: rgba(0, 0, 0, 0.8); 
         
}
.nav-links ul li ul.dropdown {
    width: 100%;
    position: absolute;
    display: none;
    z-index: 1;   
    text-align: left; 
    margin-left:-11px;
}
.nav-links ul li:hover ul.dropdown {
    display: block;   
}
nav .fa{
    display: none;
}


/*-----------CSS for Google Search----------------- */

.gsc-control-cse {
    padding: 0 !important;
    border: 0 !important;
    background-color: transparent !important;
}

/* Search box layout */
form.gsc-search-box,
table.gsc-search-box {
    margin-bottom: 0 !important;
}

/* Search container */
#search-box {
    position: relative;
    width: 200px;
    height: 28px;
    float: right;
    margin-right: 3px;
    margin-left: 14px;
    padding: 4.5px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 1px;
    color: #fff;
}

/* Custom magnifying glass */
#search-box::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 10px;
    width: 9px;
    height: 9px;
    border: 2px solid rgba(255,255,255,.9);
    border-radius: 50%;
    z-index: 10;
    pointer-events: none;
}

#search-box::after {
    content: "";
    position: absolute;
    left: 23px;
    top: 21px;
    width: 7px;
    height: 2px;
    background: rgba(255,255,255,.9);
    transform: rotate(45deg);
    z-index: 10;
    pointer-events: none;
}

/* Google CSE input wrapper */
#gsc-iw-id1 {
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

#gs_tti50 {
    padding: 0 !important;
}

#gsc-i-id1 {
    position: relative;
    top:-15px;
    padding: 0 10px !important;
    background: none !important;
    margin: 0 !important;
    text-indent: 0 !important;
    color: #fff !important;
}

/* Search text */
.gsc-search-box .gsc-input {
    color: #fff;
}


/* Search button */
button.gsc-search-button,
.gsc-search-button-v2 {
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    margin: 0  !important;
    border: 0 !important;
    background-color: rgba(0, 0, 0, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    cursor: pointer;
}

button.gsc-search-button:hover,
.gsc-search-button-v2:hover {
    background-color: rgba(0, 0, 0, 0.2) !important;
}

.gsc-search-button-v2 svg {
    width: 16px !important;
    height: 16px !important;
}

td.gsc-search-button {
    width: 32px !important;
    padding: 0 !important;
}

/* Remove search icon overlay */
.gsib_a::before,
.gsib_a::after,
.gsib_a {
    background-image: none !important;
}

.gsib_a::before {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
/*------Photo Cover -----*/
.cover{
    min-height: 35vh;
    width: 100%;
    background: linear-gradient(rgba(0, 19, 26, 0.6),rgba(0, 19, 26, 0.6)),url('../images/banner.png');
    background-position: center;
    background-size: cover;
    position: relative;
}
.text-box {
    width: 90%;
    color: #fff;
    position:absolute;
    top:62%;
    left:50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.text-box h1 {
font-size: 45px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 16px;
    color:#fff;
}
.primo-btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size:16px;
    background:rgba(0, 0, 0, 0.4);
    position: relative;
    cursor: pointer;
}
.primo-btn:hover {
    border: 1px solid #519ac1;
    background: #519ac1;
    transition: 1s;
}
.primo-btn:visited {
    color:#fff;
}

@media (max-width: 700px){
    .text-box h1 {
        font-size: 20px;
        }
        .text-box p{
            font-size: 12px;
            
        }
    .nav-links ul li {
        display: block;
    }
    .nav-links{
        position:absolute;
        background: #519ac1;
        height: 100vh;
        width: 200px;
        top: 0;
        right:0;
        text-align: left;
        z-index: 2;
    }
    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer; 
    }
}
/*---------*/


/*Content */

.container{
    width: 85%;
    margin:0 auto;
   text-align: left;
}
.row {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}
h1 {
    font-size:36px;
    font-weight: 700;
}
h2{
    color:#0088BB;
    font-weight: 700;
    margin: 30px 0;
}
h3 {
    font-size: 18px;
    margin: 10px 0;
}

p {
    font-size:15px;
    line-height: 1.8em;
    font-weight: 495;
    color: #181818;
}
a:link {
    color: #0088BB;
    text-decoration: none;
}

a:hover {
    color: #01516d;
}
a:visited{
    color: #0088BB;
}

/*----- Primo Tab------ */

.primohour-col{
    flex-basis: 50%;
    margin: 0%;
    text-align: left;
    padding: 5px;
    cursor: pointer;
}
.primo {
    width: 80%;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
}

.tab button {
    background-color: #016180;
    color: #fff;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 20px;
    margin-bottom: -20px;
    margin-right: 10px;
    font-size: 16px;
    transition: background-color 0.3s;
    border-radius: 0 0 0 2px;
}

.tab button:hover {
    background-color: #004d59;
}

.tabcontent {
    display:inline-flex;
}

#All_Resources, #Search_for_Books {
    display: none;
}

input[type=text] {
    width: 75%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
   
}

input[type=button] {
    background-color: #016180;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;

    transition: background-color 0.3s;
}

input[type=button]:hover {
    background-color: #004d59;
}
/*----Library Hours------*/

.hours-tab {
    display: flex;
    flex-wrap: wrap;  
    background-color: #fff;    
}
.hours-tab input[type="radio"] {
    display: none;

}
.hours-tab label {
    padding:10px;
    order: 0;
    transition: 0.5s;
    font-size: 16px;
  
}
.hours-tab .hours {
    width: 100%;
    order: 1;
    display: none;
    border-top:#016180 3px solid;
    border-radius: 0px 0px 5px 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    height: 100px;
    padding: 1%;
    background-color:#fff;
    
}
.hours-tab .hours h2{
    font-size: 16px;
}
.hours-tab  input[type='radio']:checked + label + .hours {
    display: block;
}
.hours-tab input[type='radio']:checked + label{
    background-color:#fff;
    cursor:pointer;
    box-sizing: border-box;
    border-radius:2px 2px 0px 0px;
    background-color: #016180;
    color: #fff;
}
/*-----Guides list------*/
.guides{
    width:100%;
    margin:auto;
    text-align:left;
    padding:10px 0;
}

.guides .row{
    display:flex;
    justify-content:space-between;
    gap:25px;
    flex-wrap:wrap;
}

.guides-col{
    flex-basis:23%;
    background:#fff;
    border-radius:15px;
    padding:30px 20px;
    box-sizing:border-box;
    box-shadow:0 4px 15px rgba(0,0,0,0.08);
    transition:0.3s;
}

.guides-col:hover{
    transform:translateY(-5px);
    box-shadow:0 8px 25px rgba(0,0,0,0.12);
}

.guides-col img{
    width:210px;
    height:150px;
    margin-bottom:20px;
}

.guides-col h3{
    margin:15px 0;
    font-size:24px;
    min-height:60px;
}

.guides-col h3 a{
    text-decoration:none;
    color:#003865;
}

.guides-col p{
    color:#555;
    line-height:1.6;
    font-size:16px;
}

@media(max-width:768px){

    .guides-col{
        flex-basis:100%;
    }

    .guides-col h3{
        min-height:auto;
    }

}

/*----Social Media----*/

.social{
    width: 100%;
    margin: auto;
   
}
.social-col{
    width: 100%;
    flex-basis: 50%;
    border-radius: 5px;

}
.social-col p{
    padding: 0;
}
.social-col h3{
    margin-bottom: 20px;
    
}

/*-------footer ---------*/

.footer{
    width: auto;
    padding: 20px;
    margin: 30px 0px 0px 0px;
    text-align: center;
    background-color: #519ac1;
    
}
.footer-col{
    margin-top:-5%;
    width: 50%;
    flex-basis: 40%;
    border-radius: 10px;   
}
.footer-col p{
    padding: 0;
    color: #FFF;
    text-align: left;
}
.footer-col h3{
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: left;
    color:#fff;
    text-align: left;
}
.fa {
  padding: 20px 0px;
  font-size: 25px;
  text-decoration: none;
  width: 30px;
  text-align: center;
  margin: 5px 2px;
  border-radius: 5px;
  color: #fff; 
}
.fa:hover {
    opacity: 0.7;
}
.fa:visited {
    color: #fff;
}

.fa-facebook {
  color: #fff;
}
.fa-instagram {
   color: #fff;
  }