/* 
Filename: Homework 7
Author: Rachel Lincoln	
Description: Using 2 image sprites for rollovers, CSS drop-down menu,
and conditional style/stmt.
*/

/*Setting up Body */
body{
    background-color: rgb(255, 208, 232);
    color:rgb(0, 0, 118);
    /*SPRITE Adding cursor that changes to help when hovering*/
    cursor: url(images/suncircle.png) 21 20, pointer;
}

/*SPRITE changing cursor image default to help*/
a:hover{
    cursor: help;
}


/*setting up header and h1*/
#header{
	background-color: rgb(255, 205, 214);
	border-bottom: 1px solid rgba(0, 255, 162, 0.75);
	background-image: url(images/jcherry.jpg);
	background-repeat: no-repeat;
	background-position: center;
	height:100px;
}

h1{
    color: rgb(0, 157, 255);
    font-weight:700;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 48px;
    text-align: center;
    text-decoration:underline;
}

/*Setting up navigation Id/classes - sprites*/
/* nav classes */
.sidenav{
    width: 220px;
	float: left;
	margin-left: -1px;
	padding: 5px;
}

.navigation{
    float:left;
	display: block;
	overflow: hidden;
	width:220px;
    height: 700px;
    padding:10px;
    font-size: 22px;
}

/*sprites for hover image in nav*/
.sp .menu{
    display:block;
	position:relative;
	height:600px;
	width:220px;
	background-color:rgb(171, 171, 171);
	cursor:pointer;
	padding:5px 0px 0px 0px;
	color: rgb(3, 32, 100);
}

.sp .menu li{
	font-weight: bold;
	padding:5px;
	margin:5px;
}

.sp ul{
	list-style: none;
	margin:0px;
}

.drop{
	display: block;
	background-color:rgb(171,171,171);
	position: relative;
	width:auto;
}

.menu, .drop li{
	font-weight: normal;
	margin:0px;
	padding:0px;
	border:1px solid rgb(81, 80, 80);
	background: transparent url(images/tflower.png) no-repeat right 0px;
}
 
/*styling h2 h3 for the side nav*/ 
h2{
    color:rgb(0, 14, 103);
    padding: 3px;
    font-size: 24px;
    text-decoration: underline;
    
}

h3{
    color:rgb(0, 14, 103);
    padding: 3px;
    font-size: 24px;
}

/*Drop Down Menu and styling for spring flowers*/

/*Dropdown Button for Flowers*/
.flowerbtn{
    background-color: rgb(255, 157, 239);
    color:rgb(0, 14, 103);
    padding:10px;
    font-size:16px;
    border:none;
}

.dropdown{
    position: relative;
    display: inline-block;
}

.dropdown-content{
    display:none;
    position: absolute;
    background-color: rgb(171,171,171);
    min-width: 140px;
    box-shadow: 0px 8px 16px 0px rgb(255, 165, 240);
    z-index: 1;
}

.dropdown-content a {
    color:darkblue;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover{
    background-color:rgb(204, 204, 204);
}

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

.dropdown:hover .flowerbtn{
    background-color: rgb(255, 48, 238);
}

/*Changing what the text looks like for the above the button*/
.change{
    font-style: italic;
    font-size: 16px;
    color:rgb(191, 81, 140);
}


/*Changing how the links look in the side nav*/
.menu a{
	display: block;
	text-decoration: none;
	padding:10px;
	width:auto;
	height:auto;
}

.menu a:link{
    color:white;
}

.menu a:visited{
    color:white;
}

.menu a:hover{
    color: rgb(0, 14, 103);
}

.menu a:active{
    color:deepskyblue;
}

.menu .drop li:hover{
	background-color: rgba(171,171,171,1);
	background-position:right -100px;
}

.menu .drop li:active{
	background-color: rgba( 204,204,204,1);
	background-position: right -200px;
}

/*Setting clock ID for float and border for pix*/
.clock{
    float: left;
    padding: 0px 10px 10px 10px ;  
}



/*Setting up ID for content to set font size and margins */
#content{
    font-size: 20px;
    margin:5px;
    text-indent: 10px;
}

/*Setting up centering for place images*/
#places{
    text-align: center;
    
}

/*Setting br styling*/
hr{
    color: rgb(51,204,0);
}


/*Setting up Footer styling*/
footer{
    font-size: 18px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: right;
    text-decoration: underline;
    color:rgb(255, 0, 136);
}




/*Adding picutre to bottom of footer*/
#footer{
    background-color: rgb(255, 205, 214);
	border-bottom: 1px solid rgba(0, 255, 162, 0.75);
	background-image: url(images/jcherry.jpg);
	background-repeat: no-repeat;
	background-position: center;
	height:100px;
}

/*Adding a font size change within the footer for #8 IE browser compatiability*/
.smaller{
    font-size: 12px;
}

.val{
    font-size: 12px;
    text-align: left;
}






