#mhorizontal{
	width: 100%;
	height: 0.6cm;
}
#sddm
{	margin: 0;
	padding: 0;
	z-index: 30}

#sddm li
{
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
	font: bold 11px arial;
	width: 13%;
}

#sddm li a
{
	display: block;
	margin: 0 1px 0 0;
	padding: 4px 10px;
	background: #5970B2;
	color: #FFF;
	text-align: center;
	text-decoration: none;
}

#sddm li a:hover
{
	background: #49A3FF;

}

#sddm div
{
	position: absolute;
	visibility: hidden;
	margin: 0;
	padding: 0;
	background: #EAEBD8;
	border: 1px solid #5970B2;

}

	#sddm div a
	{
	position: relative;
	display: block;
	margin: 0;
	padding: 5px 10px;
	white-space: nowrap;
	text-align: left;
	text-decoration: none;
	background: #EAEBD8;
	color: #2875DE;
	font: 11px arial
		width: auto;
}

	#sddm div a:hover
	{
	background: #49A3FF;
	color: #FFF;

}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
	img{
		max-width: 275px;
	}
	h1 { font-size: 120%; }
	container{
		width: auto;
	}
	header h1 a{
		width: auto;
	}
	#sidebar1{
		width: auto;
		
	}
	a { font-size: 80%; }
	
	table { font-size: 100%; 
			width: auto;
}
		blockquote { font-size: 100%; 
			width: auto;
	}
	 h3 { font-size: 100%; }
#container #sidebar1 .style2 {
	   
}

	#sidebar2{
		width auto;
	h3 {
  font-weight: bold;
  color: #fff;
  font-size: 24px;
	h3 { font-size: 120%; }
}
	
	}
	
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
	img{
		max-width: 475px;
	}
	h1 { font-size: 120%; }
	container{
		width: auto;
	}
	header h1 a{
		width: auto;
	}
	#sidebar1{
		width: auto;
		
	}
		table { font-size: 100%; 
			width: auto;
}
	a { font-size: 80%; }
	h3 { font-size: 120%; }
#container #sidebar1 .style2 {
	   
}

	#sidebar2{
		width auto;
	h3 {
  font-weight: bold;
  color: #fff;
  font-size: 24px;
		 h3 { font-size: 120%; }
}
	
	}
	
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
	img{
		max-width: 575px;
		max-height:300px;
	}

	container{
		width: auto;
	}
	header h1 a{
		width: auto;
	}
	a { font-size: 100%; }
		h3 { font-size: 120%; }
} 

<p class="example">Resize the browser window to see how the background color of this paragraph changes on different screen sizes.</p>
