@charset "UTF-8";

html{
    width: 100%;
}
body {
    background-color: #C1A29B;
    margin: 0 auto;
    max-width: 960px;
}

h1{
    font-size: 2.5em;
    font-weight: bold;
}

h2{
    font-size: 1.875em;
}

#headimage{
float: left;
padding: 0px 16px 0px 0px;
min-width: 300px;
}


.formBackground{
    padding: 1em; 
    background-image: url(../_images/2023storytimedivers.png);
    background-size: 400px; 
    background-repeat:no-repeat; 
    background-position: right center;       
}



/*TOP NAVIGATION LINKS */
nav ul{
    list-style-type: none;
    background-color: #B4BABA;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

nav li{
    float: left;
    display: inline;
    border-right: 2px solid #bbb;
    display: inline-block;
}

nav li a{
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    
}

nav li a:hover{
    background-color: #F6C5C0;
    color: black;
}

a{
    text-decoration: none;
    color: black;
    
}
a:hover{
    color: #F6C5C0;
}

/*TOP NAVIGATION LINKS */

.headermenu{
}

li#dropdown{
    display: inline-block;
}

#dropdown-content{
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

#dropdown-content{
    display: none;
    position: absolute;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

#dropdown-content a{
    color: black;
    padding: 12px 16px;
    display: block;
    text-align: left;
}

#dropdown:hover #dropdown-content{
    display: block;
}


/*Other*/

.summerReadingLink{
   float: left;
    width: 50%;
}

.summerProgramLink{
    float: left;
    width: 50%;
}

.resetFloat{
    clear: both;
}

forminput{
    width: 100%;
}

.formBackground{
    padding: 1em; 
    background-image: url(../_images/animals.png);
    background-size: 400px; 
    background-repeat:no-repeat; 
    background-position: right center;   
}


/*Sections */
.mainhead{
    background-color: #F6C5C0;
    padding: 1%;
    border: 1%;
    width: 98%;
}

.libraryinfo{
    width: 30%;
    background-color: white;
    float: left;
    margin-top: 1%;
    padding: 1%;
    border: 1%;
    border-style: solid;
    border-radius: 10%;
    border-color: black;
    box-sizing: border-box;
}

.digitalbooks
{
    width: 64%;
    float: right;
    background-color: white;
    margin-top: 1%;
    padding: 1%;
    border: 1%;
    border-style: solid;
    border-color: black;
}

.events{
    width: 64%;
    float: right;
    margin-top: 1%;
    background-color: white;
    padding: 1%;
    border: 1%;
    border-style: solid;
    border-color: black;
}


.onecolumn{
    margin: 5%;
}

.row{
    clear: both;
}

.footer{
    width: 100%;
}

/* -------------- media ----------- */

@media(max-width: 600px){
    #headimage{
        width: 100%;
        float: center;
    }
    
    
    .libraryinfo{
        width: 100%;
        float: none;
        border-radius: 0%;
        border: none;
    }
    
    .digitalbooks{
        width: 100%;
        float: none;
        border: none
    }
    
     .events{
        width: 100%;
        float: none;
        border: none;
    }
    
    .mainhead{
    background-color: #F6C5C0;
    padding: 1em;
}
    
    .formBackground{
    padding: 1em; 
    background-image: none;
    }
    
    #dropdown{
        display: block;
        text-align: center;
        width: 100%;
        text-align: center;
    }
    
    li{
        width: 100%;
        text-align: center;
    }
    

    li#dropdown{
    display: block;
    width: 100%;
    text-align: center;
}

    #dropdown-content{
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: 100%;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    #dropdown-content{
    display: none;
    position: absolute;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

    #dropdown-content a{
    color: black;
    padding: 12px 16px;
    display: block;
    text-align: left;
}

    #dropdown:hover #dropdown-content{
    display: block;
}
    
    .mainhead{
        padding: 1em;
        width: 90%;
        background-color: #C1A29B;
    }
    
      
    textarea {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
}
    

    .readlink{
        width: 100%;
    }





