/* City of Minneapolis Home Page Stylesheet 
  Author: Grant E. Johnson 
  Revised 2015 - Jeremy Hericks with Fishbowl Consulting 
  Revised 2017 - L. Figg  */
/***********************************************************************************/
/* Home Page Media-queries ********************************/
@media screen and (max-width: 1200px) and (min-width: 775px){
	#container {width:100%;min-width:760px;}
	#header {width:100%;min-width:760px; background-position: 0px 0; background: url('websitetop20172.jpg') no-repeat;}
	/*#header h1 {margin: 0; padding: 0; background:url('mpls-logo-sm.png') no-repeat 0 0; width: 120px;}*/
	#header h1 {margin: 0; padding: 0; width: 120px;}
	#header h1 a {font-weight: normal; font-family:"Myriad Pro", Myriad, "Calibri", Calibri, Verdana, Arial, sans-serif; display:block; width:180px; text-decoration:none; color:white;}
	#mobile-header div {display: none;}
	#citytag {top:55px; left:10px; font: 10px arial; width:100px; text-align:center}
	#globalnav  {position:absolute; top:4px;right:0px;z-index:100;}/*ie -28 -67 safari*/
	@supports (-webkit-appearance:none) { #globalnav  {position:absolute; top:4px; right:-50px; z-index:100;} }/*safari*/	
	#depts      {top:45px;right:4px;}
	#search     {top:45px;right:234px;}
	#helpOptions{top:77px;right:4px;}
	#changeFont {margin-right:20px;}
	li#sf-services a {padding-left:8px;}
	/*li#sf-311 {width:105px;}
	li#sf-311 a {background-position:-185px 0;color:#036;}
	li#sf-311 a:hover {background-position:-185px -41px;}
	li#sf-311 span{visibility:visible; }*/
	li#sf-311 {width:105px;}
	li#sf-311 a {background-position:-185px 0;color:#036;}
	li#sf-311 a:hover {background-position:-185px -41px;}
	li#sf-311 span{white-space: nowrap;visibility:visible;}
	.topmenu a {padding: 10px 0 14px 4px;text-decoration:none;}
	.btn-cont, ctn-cont {margin: 15px 20%;}
	.btn-wrap, ctn-wrap {width:480px;}
	#footer2 {width:100%;min-width:760px; height:100%;background-position: 0px 0; no-repeat;}
	#footer2 a:hover{text-decoration: none;}
	#footer {width:100%;min-width:760px; background-position: 0px 0; no-repeat;}
	#footer a:hover{text-decoration: none;}
}
/***********************************************************************************/
@media screen and (max-width: 774px) and (min-width: 541px){
	#container {
		width:100%; 
		min-width:0;}
	#header {
		width:100%; 
		min-width:0; 
		background-position: 280px bottom; 
		background-size:125%; 
		background: url('websitetop20172.jpg');}
	/*#header h1 {
		margin: 0; 
		padding: 2px 0 0 23px;  
		background:url('mpls-logo-tiny.png') no-repeat 4px 6px; 
		width:200px; 
		height:30px;}*/
	#header h1 {
		margin: 0; 
		padding: 2px 0 0 23px; 
		width:200px; 
		height:30px;}
	#header h1 a {
		display:block; 
		height:30px; 
		width:200px; 
		text-decoration:none;}
	#header h1 a span {
		display:block; 
		font: bold .9em Arial; 
		color:#036; 
		white-space:nowrap;}
	#mobile-header div {
		display: none;}
	#citytag {
		display:none;}
	#globalnav  {
		top:4px;
		left:4px; 
		min-width:664px;}
	#search     {
		top:45px;
		left:4px;}
	#depts      {
		top:45px;
		left:234px;}
	#helpOptions{
		top:77px;
		left:4px;}
	#changeFont {
		margin-right:20px;}
	li#sf-services a {
		padding-left:8px;}
	li#sf-311 {
		width:105px;}
	li#sf-311 a {
		background-position:-185px 0;color:#036;}
	li#sf-311 a:hover {
		background-position:-185px -41px;}
	li#sf-311 span{
		visibility:visible;}
	.topmenu a {
		padding: 10px 0 14px 4px;
		text-decoration:none;}
	.btn-cont .btn a {
		height: auto;}
	.btn-cont, ctn-cont {
		margin: 5px 1%;}
	.btn-wrap, ctn-wrap {
		width: 100%;}
	.btn-cont .btn p, .ctn-cont .ctn p {
		padding-left: 10%;
		padding-right: 10%;}
	.btn-cont .btn .icon, .ctn-cont .ctn .icon {
		padding-top: 0;}
	#footer2 {
		width:100%; 
		min-width:0;
		height:auto; 
		background-position: 280px bottom; 
		background-size:125%; }
	#footernav2 {
		top:105px;
		left:8px;}
	#footersocial2 {
		width:33%; 
		top:105px;
		left:8px;}

	#footer2 a:hover{
		text-decoration: none;}
	
	.rightcol {
	width:98%; 
	margin: 0 auto;
	}
	.colright,.colmid,.colleft {
		float:none;}
	.col1,.col2 {
	float:none; 
	padding:0; 
	overflow:visible;
	}
	.rightcol .colleft {
	right:auto; 
	width:100%;
	}
	.rightcol .col1 {
	width:100%;
	left:auto; min-width:300px;
	}
	.rightcol .col2 {
	width:100%;
	left:auto;
	}
	/*.topicscol1,.topicscol2 { 
padding:0; 
border: 1px solid #aaaaaa;
width:49%;
}*/

/*topics*/
	
#topicscontainer {
float:left;
}
.topicscol2 {
float:right;
padding:0;
width:66%; 
}

.topicscol1 {
float:left;
padding:20px;
padding-left:5px; 
margin-left:0;
margin-top:0;
/*border-left: 1px solid #aaaaaa;*/
border-right: 1px solid #EDEBE8;
width:25%;
}

.topicspanel {
color:#036; 
line-height:1.3;
overflow:visible;
}

#topicsnav a{
padding: 15px;
margin:2px;
display: block;
font: normal 1.2em 'Lucida Grande' sans-serif;
text-align:center;
color:#5F6062;
background-color:#EDEBE8;
text-decoration: underline;
}

#topicsnav a:hover {text-decoration:none;}

.topicscol1 li{
list-style-type: none;
}

.topicscol2 h2 {
margin:10px;
font: normal 1.2em 'Lucida Grande' sans-serif;
text-align:center;
color:#5F6062;
text-transform: uppercase;
}

.topicscol2 p {
padding:5px 0; 
margin: 10px; 
text-align:center;
color:#5F6062;
}

#topicscontent li{list-style-type: none;}

#topicscontent a{
padding: 5px;
margin-left: 10px;
display: block;
color:#2A6AA9;
text-decoration:underline;
}

/*topics*/
	/*cms rightnav*/
	
	.citynews {
	display: inline-block;
	padding:10px; 
	margin: 0px;  
	border: 1px solid #EDEBE8;
	}

	.citynews a{
	padding-bottom: 5px;
	margin-left: 0px;
	display: block;
	text-align:left;
	color:#2A6AA9;
	text-decoration:underline;
	}

	.citynews h2 {
	margin:10px;
	font: normal 1.2em 'Lucida Grande' sans-serif;
	text-align:center;
	color:#5F6062;
	text-transform: uppercase;
	}
	.citynews p{
	padding:5px 0; 
	margin-bottom: 5px; 
	}
	.cityconnect { 
	margin: 0px;
	MARGIN-TOP: 0.6em; 
	border: 1px solid #EDEBE8;
	}
	.cityconnectheader2 {
	padding: 10px;
	MARGIN-TOP: 0;
	display: block;
	font: normal 1.2em 'Lucida Grande' sans-serif;
	text-align:center;
	color:#fff;
	background-color:#5F6062;
	text-transform: uppercase;
	}
	.cityconnectheader {
	margin:10px;
	font: normal 1.2em 'Lucida Grande' sans-serif;
	text-align:center;
	color:#5F6062;
	text-transform: uppercase;
	}	
	.cityconnect p, a{
	padding:5px 0; 
	margin: 0px; 
	text-decoration:none;
	}
	/*cms*/
}
/***********************************************************************************/
@media screen and (max-width: 540px) {
 	#citytag {
 	display:none;
 	}
	#container {
	position:relative; 
	width:100%; 
	min-width:0; 
	margin:0; 
	padding:0;
	}
 	#globalnav {
	position:relative; 
	top:auto; 
	right:auto; 
	background:#fff; 
	padding:.3em 0 0 0;
	}
	#globalnav, #search, #depts, #helpOptions {display:block;}
 	#globalnav, .topmenu {min-width:0;}
	.oneColumn #maincontent,.twoColumn #maincontent,.thrColumn #maincontent {
		float: none; 
		clear:both; 
		width:auto; 
		margin:0 3%; 
		padding:0; 
		display: block;}
	.twoColumn #leftcol,.thrColumn #leftcol {
		float: none; 
		clear:both; 
		width:auto; 
		margin:.5em 3%; 
		padding:0; 
		display: block;}
	.thrColumn #rightcol {
		float: none; 
		clear:both; 
		width:auto; 
		margin:0 3%; 
		padding:0; 
		display: block;}
	#search {
	width:94%; 
	position:relative; 
	display:block; 
	padding:.4em 0; 
	margin:0 0 .4em 3%; 
	top: auto; 
	right: auto; 
	left:auto; 
	background-image:none; 
	border:1px solid #a6c9e2; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; 
	}
	#search label {
	display:inline-block; 
	padding:5px 0 5px 14px; 
	font:bold 13px arial; 
	text-transform:uppercase; 
	letter-spacing:.1em; color:#036;
	}
	.searchbox {
	width:62%; 
	height:34px; 
	position:absolute; 
	top:1px; 
	right:28px; 
	border:0; 
	background-color:transparent; 
	}
	.searchbox_submit {
	width:22px; 
	height:34px; 
	background:url('search16x16.png') no-repeat 0 10px; 
	position:absolute;  
	top:0; 
	right:0px;
	}
	#depts {
	width:94%; 
	position:relative; 
	display:block; 
	padding:.4em 0; 
	margin:0 0 .4em 3%; 
	top: auto; 
	right: auto; 
	left:auto; 
	background-image:none; 
	border:1px solid #a6c9e2; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; 
	}
	.deptList {
	height:350px; 
	width:100%; 
	margin:0; 
	padding:0; 
	list-style: none; 
	overflow:scroll; 
	overflow-x: hidden; 
	border:none;
	}
	.deptButton {
	display: block; 
	height:19px; 
	padding:4px 0 3px 14px; 
	font:bold 13px arial; 
	text-transform:uppercase; 
	letter-spacing:.1em; 
	background:url('leftmenu-expand.png') no-repeat 96.5% 6px; 
	color:#036; 
	text-decoration:none;
	}
	#depts .on {
	background:url('leftmenu-expand.png') no-repeat 96.5% 6px;
	}
	#depts .over {
	background:url('leftmenu-close.png') no-repeat 96.57% 6px;
	}
	.deptList li {
	float: none; 
	width:100%;
	}
	.deptList a {
	display: block; 
	color:#036; 
	padding:5px 0 5px 8px; 
	font: .9em arial; 
	background:#fff; 
	border-top:#f4f4f4 solid 1px;
	}
	.deptList a:hover {
	background:#ffc;
	}
	#changeFont, #translate {
	display:none;
	}
	.accord li .accordbtn {
		position:absolute; 
		left:94%;}
	.addthis_position {
		float:none;}
		/*cms altered the width below, seemed to work*/
	.btn-wrap, .ctn-wrap {
		float:none;	
		width: 50%; 
		margin-left: 10px;}
	.btn-cont .btn a {
		height: auto; 
		padding-bottom:10px;}
	.btn-cont .btn .icon, .ctn-cont .ctn .icon {
		margin: 10px 0 0 0;}
	.btn-cont .btn .icon img, .ctn-cont .ctn .icon img{ 
	width:60px;
	height:auto;}
	#footer2 {
		width:100%; 
		min-width:0; 
		height:auto; 
		position:relative; 
		background:#5F6062}
	#footernav2 { 
		padding: 20px;}
	#footersocial2 {
		width:33%; 
		padding: 20px; 
		margin-bottom: 8px;}
	#footer2 a:hover{
		text-decoration: none;}
	
	#header {
	width:100%; min-width:0; 
	height:auto; 
	position:relative; 
	background: url('wcms1p-139786.jpg') 40px 0 no-repeat;
	}
	#mobile-header div {
	display: block;
	}
	#header-bg { 
	height:auto;
	}
	/*#header h1 {
	margin: 0; 
	padding: 0; 
	background:url('mpls-logo-blue.png') no-repeat 50% 5px; 
	height:90px; 
	width: 100%;
	}*/
	#header h1 {
	margin: 0; 
	padding: 0;  
	height:90px; 
	width: 100%;
	}
	#header h1 a {
	display:block;
	height:80px;
	width:100%;
	}
	#header h1 a span {
	display:none;
	}		
	.topmenu  {
	width: 94%; 
	margin: 0 auto; 
	padding:0; 
	}
	.topmenu a {
	padding: 12px 10px 16px 10px;
	}
	.topmenu li { 
	float:none; 
	font: bold 13px arial; 
	text-transform:uppercase; 
	letter-spacing:.1em;
	}
	.topmenu li a {
	background-image: none; 
	background-color: #fff; 
	border:1px solid #a6c9e2; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; 
	padding:.75em 1em; 
	margin:.3em 0;
	}	
	.sf-shadow ul {
	background-image:none;
	}
	.sf-sub-indicator {
	display:none; 
	visibility:hidden;
	}	
	li#sf-311, li#sf-services {
	width:100%;
	}
	li#sf-311 a, li#sf-services a {
	background-image:none;
	}
	li#sf-311 a:hover, li#sf-services a:hover {
	background-color:#ffc; 
	background-image: none;
	}
	li#sf-311 span {
	visibility:visible;
	}
	.topmenu li a:hover {
	background-color:#ffc;
	}
	.topmenu li li a:hover {
	background: #ffc;
	}
	.topmenu li:hover ul, .topmenu li.sfHover ul {
	top: -999em;
	}
	ul.topmenu li:hover li ul, ul.topmenu li.sfHover li ul {
	top: -999em;
	}
	ul.topmenu li li:hover ul, ul.topmenu li li.sfHover ul {
	left: -999em;
	}
	ul.topmenu li li:hover li ul, ul.topmenu li li.sfHover li ul {
	top: -999em;
	}
	ul.topmenu li li li:hover ul, ul.topmenu li li li.sfHover ul {
	left: -999em;
	}
	.rightcol {
	width:94%; 
	margin: 0 auto;
	}
	.colright,.colmid,.colleft {
	float:none;
	}
	.col1,.col2 {
	float:none; 
	padding:0; 
	overflow:visible;
	}
	.rightcol .colleft {
	right:auto; 
	width:100%;
	}
	.rightcol .col1 {
	width:100%;
	left:auto; 
	min-width:300px;
	}
	.rightcol .col2 {
	width:100%;
	left:auto;}
	.ui-widget-content {
	height:auto;
	}/*panel height*/
	#tabs > div {
	overflow: visible;
	}	
	.ui-tabs .ui-tabs-nav { 
	margin: 0; 
	padding: 0;  
	font-size: 9px; 
	}
	.ui-tabs .ui-tabs-nav li { 
	margin: 0 1px 1px 0;
	}
	.ui-tabs .ui-tabs-nav li a { 
	padding: 5px 2px 6px 2px;
	}
	/*cms topics*/
	.topicscol1,.topicscol2 {
	float:none; 
	padding:0; 
	width:100%;
	}
	
	#topicscontainer {
	float:none;
	}	
	/*
	.topicscol2 {
	float:left;
	}
	.topicscol1 {
	float:right;
	}*/
	.topicspanel {
	color:#036; 
	line-height:1.3;
	overflow:visible;
	}
	
	#topicsnav a{
	padding: 10px;
	margin:10px;
	display: block;
	font: normal 1.2em 'Lucida Grande' sans-serif;
	text-align:center;
	color:#5F6062;
	background-color:#EDEBE8;
	text-decoration: underline;
	}
	
	#topicsnav a:hover {text-decoration:none;}
	
	.topicscol1 li{
	margin-top:5px;
	margin-bottom:5px;
	list-style-type: none;
	}
	
	.topicscol2 h2 {
	margin:10px;
	font: normal 1.2em 'Lucida Grande' sans-serif;
	text-align:center;
	color:#5F6062;
	text-transform: uppercase;
	}
	
	.topicscol2 p {
	padding:5px 0; 
	margin: 10px; 
	text-align:center;
	color:#5F6062;
	}
	
	#topicscontent li{list-style-type: none; list-style-position: outside;}
	
	#topicscontent a{
	padding: 5px;
	margin-left: 10px;
	display: block;
	color:#2A6AA9;
	text-decoration:underline;
	}	
	/*topics*/
	/*cms rightnav*/
	
	.citynews {
	display: inline-block;
	padding:10px; 
	margin: 0px;  
	border: 1px solid #EDEBE8;
	}

	.citynews a{
	padding-bottom: 5px;
	margin-left: 0px;
	display: block;
	text-align:left;
	color:#2A6AA9;
	text-decoration:underline;
	}

	.citynews h2 {
	margin:10px;
	font: normal 1.2em 'Lucida Grande' sans-serif;
	text-align:center;
	color:#5F6062;
	text-transform: uppercase;
	}
	.citynews p{
	padding:5px 0; 
	margin-bottom: 5px; 
	}
	.cityconnect { 
	margin: 0px;
	MARGIN-TOP: 0.6em; 
	border: 1px solid #EDEBE8;
	}
	.cityconnectheader2 {
	padding: 10px;
	MARGIN-TOP: 0;
	display: block;
	font: normal 1.2em 'Lucida Grande' sans-serif;
	text-align:center;
	color:#fff;
	background-color:#5F6062;
	text-transform: uppercase;
	}
	.cityconnectheader {
	margin:10px;
	font: normal 1.2em 'Lucida Grande' sans-serif;
	text-align:center;
	color:#5F6062;
	text-transform: uppercase;
	}
	.cityconnect p, a{
	padding:5px 0; 
	margin: 0px; 
	text-decoration:none;
	}
	/*cms*/
	.councilpanel #cname, .councilpanel #cmap, .councilpanel #cmlinks {
	float:none; 
	width:100%; 
	min-width:170px; 
	margin-bottom:.5em;
	}
	#mayorlinks {
	float:none;
	width:100%;
	}
	#mayorphoto {
	display:none;
	}
	#snowicon {
	float:none;
	}
	#cityalertsicon {
	float:none;
	}
	#footernav2 h3{
	color: #C8C4BF; 
	letter-spacing: 0; 
	padding-bottom: 0; 
	text-transform: uppercase; 
	font-family: 'Lucida Sans',Arial,sans-serif; 
	font-style: normal; 
	font-variant: normal; 
	font-weight: normal;
	font-size: 1.5em; 
	line-height: normal; 
	font-size-adjust: none; 
	font-stretch: normal;
	-x-system-font: none;
	}
	#sociallinks2 h3{
	color: #C8C4BF; 
	letter-spacing: 0; 
	padding-bottom: 0; 
	text-transform: uppercase; 
	font-family: 'Lucida Sans',Arial,sans-serif; 
	font-style: normal; 
	font-variant: normal; 
	font-weight: normal;
	font-size: 1.5em;
	line-height: normal; 
	font-size-adjust: none; 
	font-stretch: normal;
	-x-system-font: none;
	}
	#footernav h3{
	color: #C8C4BF; 
	letter-spacing: 0; 
	padding-bottom: 0; 
	text-transform: uppercase; 
	font-family: 'Lucida Sans',Arial,sans-serif; 
	font-style: normal; 
	font-variant: normal; 
	font-weight: normal;
	font-size: 1.5em; 
	line-height: normal; 
	font-size-adjust: none; 
	font-stretch: normal;
	-x-system-font: none;
	}
	#sociallinks h3{
	color: #C8C4BF; 
	letter-spacing: 0; 
	padding-bottom: 0; 
	text-transform: uppercase; 
	font-family: 'Lucida Sans',Arial,sans-serif; 
	font-style: normal; 
	font-variant: normal; 
	font-weight: normal;
	font-size: 1.5em;
	line-height: normal; 
	font-size-adjust: none; 
	font-stretch: normal;
	-x-system-font: none;
	}	
}