﻿/* Hidden / Visible Styles */
.hidden {
	display: none;
	visibility: hidden;
}
.visible-phone {
	display: none !important;
}
.visible-tablet {
	display: none !important;
}
.hidden-desktop {
	display: none !important;
}
.visible-desktop {
	display: inherit !important;
}
 @media (min-width: 768px) and (max-width: 979px) {
.hidden-desktop {
	display: inherit !important;
}
.visible-desktop {
	display: none !important;
}
.visible-tablet {
	display: inherit !important;
}
.hidden-tablet {
	display: none !important;
}
}
 @media (max-width: 767px) {
.hidden-desktop {
	display: inherit !important;
}
.visible-desktop {
	display: none !important;
}
.visible-phone {
	display: inherit !important;
}
.hidden-phone {
	display: none !important;
}
}
.visible-print {
	display: none !important;
}

/*
.hidden-phone,
.hidden-tablet,
.hidden-desktop {
    display: none !important;
}
.visible-phone,
.visible-tablet,
.visible-desktop {
    display: inherit !important; 
}
*/
/* END Hidden / Visible Styles */
[class^="icon-"], [class*=" icon-"] {
 display: inline-block;
 width: 14px;
 height: 14px;
 margin-top: 1px;
 line-height: 14px;
 vertical-align: text-top;
 background-image: url("/Style%20Library/NewHomePageAssets/img/glyphicons-halflings.png");
 background-position: 14px 14px;
 background-repeat: no-repeat;
}
.btn {
	display: inline-block;
	padding: 4px 12px;
	margin-bottom: 0;
	font-size: 14px;
	line-height: 20px;
	color: #333;
	text-align: center;
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
	vertical-align: middle;
	cursor: pointer;
	background-color: whiteSmoke;
	background-image: -moz-linear-gradient(top, white, #E6E6E6);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(white), to(#E6E6E6));
	background-image: -webkit-linear-gradient(top, white, #E6E6E6);
	background-image: -o-linear-gradient(top, white, #E6E6E6);
	background-image: linear-gradient(to bottom, white, #E6E6E6);
	background-repeat: repeat-x;
	border: 1px solid #BBB;
	border-color: #E6E6E6 #E6E6E6 #BFBFBF;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	border-bottom-color: #A2A2A2;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
 filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.btn:hover, .btn:active, .btn.active, .btn.disabled, .btn[disabled] {
	color: #333333;
	background-color: #e6e6e6;
 *background-color: #d9d9d9;
}
.btn:hover {
	color: #333333;
	text-decoration: none;
	background-color: #e6e6e6;
 *background-color: #d9d9d9;
	/* Buttons in IE7 don't get borders, so darken on hover */

  background-position: 0 -15px;
	-webkit-transition: background-position 0.1s linear;
	-moz-transition: background-position 0.1s linear;
	-o-transition: background-position 0.1s linear;
	transition: background-position 0.1s linear;
}
 background-position: 0 -15px;
 -webkit-transition: background-position 0.1s linear;
 -moz-transition: background-position 0.1s linear;
 -o-transition: background-position 0.1s linear;
 transition: background-position 0.1s linear;
}
.btn:focus {
	outline: thin dotted #333;
	outline: 5px auto -webkit-focus-ring-color;
	outline-offset: -2px;
}
.btn.active, .btn:active {
	background-color: #e6e6e6;
	background-color: #d9d9d9 \9;
	background-image: none;
	outline: 0;
	-webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.btn-navbar {
	padding: 10px 10px;
	color: white;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #0E0E0E;
	background-image: -moz-linear-gradient(top, #003f6a, #002045);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#003f6a), to(#002045));
	background-image: -webkit-linear-gradient(top, #003f6a, #002045);
	background-image: -o-linear-gradient(top, #003f6a, #002045);
	background-image: linear-gradient(to bottom, #003f6a, #002045);
	background-repeat: repeat-x;
	border-color: #002045 #002045 black;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff003f6a', endColorstr='#ff002045', GradientType=0);
 filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075);
	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075);
}
.btn-navbar:hover, .btn-navbar:active, .btn-navbar.active, .btn-navbar.disabled, .btn-navbar[disabled] {
	color: #ffffff;
	background-color: #002045;
 *background-color: #000000;
}
.btn-navbar:active, .btn-navbar.active {
	background-color: #000000 \9;
}
.icon-bar {
	display: block;
	width: 18px;
	height: 2px;
	background-color: whiteSmoke;
	-webkit-border-radius: 1px;
	-moz-border-radius: 1px;
	border-radius: 1px;
	-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
	-moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}
.btn-navbar .icon-bar + .icon-bar {
	margin-top: 3px;
}
#topnav [class^="icon-"], #topnav [class*=" icon-"] {
	background-image: url("/Style%20Library/NewHomePageAssets/img/glyphicons-halflings-white.png");
}
.icon-chevron-right {
	background-position: -313px -119px;
}
#topnav .btn-navbar {
	padding: 5px 10px;
	right: 8px;
	top: 3px;
}
#topnav .btn-navbar.collapsed .icon-chevron-right {
	background-position: -456px -72px;
}
.collapse {
	position: relative;
	height: 0;
	overflow: hidden;/*-webkit-transition: height 0.35s ease;
     -moz-transition: height 0.35s ease;
       -o-transition: height 0.35s ease;
          transition: height 0.35s ease;*/
}
.collapse.in {
	height: auto;
}
.nav-collapse.collapse {
	height: auto;
	overflow: visible;
	display: block;
}
.btn-navbar {
	display: none;
}
#bottom_breadcrumb {
	display: none !important;
}
#mobileMessage {
	display: none;
	background: #f6f6f6; /* Old browsers */
	background: -moz-linear-gradient(top, #f6f6f6 0%, #eeeeee 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f6f6f6), color-stop(100%, #eeeeee)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #f6f6f6 0%, #eeeeee 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #f6f6f6 0%, #eeeeee 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #f6f6f6 0%, #eeeeee 100%); /* IE10+ */
	background: linear-gradient(to bottom, #f6f6f6 0%, #eeeeee 100%); /* W3C */
 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6f6f6', endColorstr='#eeeeee', GradientType=0 ); /* IE6-9 */
	padding: 30px 20px;
	border-radius: 5px;
	border: 1px solid #eee;
	margin-bottom: 20px;
}
#mobileMessage p {
	margin-bottom: 0 !important;
}
#mobileMessage.show {
	display: block;
}

/* Common styling for mobile devies */
@media (max-width: 979px) {
body #s4-ribbonrow {
	display: none;
}
.s4-ba {
	overflow: hidden;
}
img {
	width: auto !important;
	height: auto !important;
	max-width: 100%;
	vertical-align: middle;
	border: 0;
	-ms-interpolation-mode: bicubic;
}
.clearfix {
	display: inline-block;
	width: 100%;
}
.mainSearchBox select.ms-sbscopes {
	width: auto !important;
}
ul#topnav {
	width: auto; /* was set to 100% for phones, make sure it still renders okay */
	font-size: 0.8em;
}
#container #content div.breadcrumb {
	width: auto;
	margin: auto;
	height: auto;
}
.side_nav {
	padding-left: 0;
}
.table_responsive, .scaling_table {
	width:100%;
} /*resizing table beside sidebar*/

#container #content #page div.layout {
	float: none;
	width: auto; /* was set to 100% for phones, make sure it still renders okay */
	padding-right: 0;
}

#container #content #page #full_nonav div.layout {
	float: none;
	width: 100%; /* was set to 100% for phones, make sure it still renders okay */
	margin-left:0;
	margin-right:0;
	padding:0;	
}


#container #content #page div.layout div.sidebar_container {
	float: none;
	margin-left: 0;
	margin-top: 20px;
}
/*.jcarousel-skin-features .jcarousel-container-horizontal,
    .jcarousel-skin-features .jcarousel-clip-horizontal {
        width: auto;
    }*/
	
/* Page headers */
	.community_profile_header {
	width: 100%;
}
#container #content #page div.layout div.header_wrapper {
	height: 130px;
}
#container #content #page div.layout div.header_wrapper div.header {
	width: 100%; /* was set to 100% for both devices, make sure it still renders okay */
	background-size: 100%;
	height: 135px;
	top: -20px;
	
}
div.services_header {
	background-size: contain;
	background-position: 100% 50% !important;
}
/* Landing Page styling */
	#landing_page_wrap {
	padding-top: 0;
	width: auto;
}
#landing_page_wrap p.introduction {
	width: auto;
	margin-left: 0;
}
#cycle_wrap {
	width: auto;
	overflow: hidden;
	position: relative;
	clear: right;
}
#cycle_wrap #cycle {
	height: 160px;
	overflow: visible;
}
#landing_page_wrap div.row div.col_calendar {
	margin-left: 0;
}
#landing_page_wrap div.row div.col_calendar,  #landing_page_wrap div.row div.col_links {
	width: 46%;
}
#landing_page_wrap div.row div.col_calendar {
	background-position: 100% 5px;
}
.col_links {
	margin-bottom: 20px !important;
}
/* Online Services */
    .services_table_header {
	width: auto;
	background-position: center;
	border: 1px solid #ddd;
	border-width: 0 1px;
}
table.services_table {
	width: auto;
}
div.services_header_text {
	padding: 0px 0px 0px 0;
	width: 55%;
}
/* Barrie Transit */
    #transit_splash {
	width: auto !important;
}
#transit_splash #banner_ad {
	height: auto !important;
}
#transit_splash #banner_ad,  #transit_splash .shadow_675,  #transit_splash .section_header {
	width: auto !important;
}
#transit_splash #featured_links .clearfix {
	text-align: center !important;
	width: 49%;
	padding: 0 4px;
	margin: 0 0 0 -5px;
}
#transit_splash #featured_links a {
	float: none !important;
	margin: auto !important;
	width: 100% !important;
	height: 50px !important;
	background-size: 200% 100% !important;
}
#transit_splash #featured_links a img {
	left: 50% !important;
	margin-left: -76.5px;
}
/* Recreation Programs */
    #rec_programs {
	width: auto !important;
}
#rec_programs .section_small {
	background-size: 100% 100% !important;
}
#rec_programs .section_small_body {
	width: auto !important;
	height: auto !important;
}
#rec_programs .section_header {
	width: auto !important;
}
#rec_programs #featured_links a {
	width: 22.4% !important;
	height: auto !important;
	padding-top: 16% !important;
	padding-bottom: 3% !important;
	background-size: 200% 100% !important;
	font-size: 90% !important;
}
#rec_programs #survey {
	margin-top: 15px !important;
	width: auto !important;
	height: auto !important;
	padding-bottom: 40px !important;
	background-size: 100% 100% !important;
}
#rec_programs #guide.section_small #guide_image {
	top: 18% !important;
	width: 35% !important;
}
#rec_programs #guide .section_small_body {
	padding-left: 42% !important;
	width: auto !important;
}
/* Sitemap */
    .radSitemap {
	width: auto !important;
}
}

/************************ Start portrait and landscape phone *******************************/
/************************ Start portrait and landscape phone *******************************/
@media (max-width: 767px) {
* {
	font-size: 12px !important;
}
body.v4master {
	overflow: auto;
}
body #s4-workspace {
	height: auto !important;
	width: auto !important;
	overflow: auto;
}
body #s4-bodyContainer {
	min-width: 0;
	width: auto;
}
.regular, .medium, .large {
	font-size: 1em;
	line-height: 1em;
}
.medium.side_nav a, .large.side_nav a {
	font-size: 1em !important;
}
.nav-collapse {
	-webkit-transform: translate3d(0, 0, 0);
	clear: both;
}
.nav-collapse,  .nav-collapse.collapse {
	height: 0;
	overflow: hidden;
}
.btn-navbar {
	display: block;
	position: absolute;
	right: 20px;
	top: 28px;
}
#wrapper {
	width: auto;
	background: none;
}
#container {
	width: auto;
}
#container #header {
	text-align: center;
	background: #002b54 url('/Style%20Library/NewHomePageAssets/img/footer.jpg') 50% 0 no-repeat;
	height: auto;
	min-height: 105px;
	width: auto;
	left: 0;
	padding: 0 20px 15px 20px;
}
#container #header:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
* html #container #header {
	zoom: 1;
} /* IE6 */
*:first-child+html #container #header {
	zoom: 1;
} /* IE7 */
a.logo_link {
	position: static;
	padding-top: 20px;
	padding-bottom: 10px;
}
#search {
	position: static;
	text-align: center;
	height: 35px;
}
.mainSearchBox {
	position: static !important;
}
.mainSearchBox table {
	width: 100% !important;
	margin: auto !important;
	float: none;
}
.mainSearchBox td.ms-sbscopes {
	width: 68px !important;
}
.s4-search input.ms-sbplain {
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	text-indent: 5px;
}
.mainSearchBox td.ms-sbgo img {
	margin-left: 2px;
}
#container #header ul#links {
	display: none;
}
ul#topnav {
	position: static;/*display: none;*/
	}
ul#topnav.collapse.in {
	background: rgba(255, 255, 255, .2);
	border-radius: 5px;
	padding: 0;/* margin-top: 50px; */
		/*display: block;*/
	}
ul#topnav:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
* html ul#topnav {
	zoom: 1;
} /* IE6 */
*:first-child+html ul#topnav {
	zoom: 1;
} /* IE7 */
ul#topnav li {
	float: left;
	display: block;
	float: none;
	overflow: hidden;
}
ul#topnav > li {
	border-bottom: 1px dotted #002B54;
	padding: 0 10px;
}
ul#topnav li:last-child {
	border: 0;
}
ul#topnav li a {
	padding-left: 0;
	height: 25px;
}
ul#topnav li a:focus,  ul#topnav li a:active,  ul#topnav li a:visited {
	padding-left: 0;
	float: none;
	display: block;
	height: auto;
}
/*ul#topnav li .sub ul { display: none; }*/
	ul#topnav .sub ul li a:hover {
	background: none;
}
ul#topnav .living a.toplevel,  ul#topnav .cityhall a.toplevel,  ul#topnav .visiting a.toplevel,  ul#topnav .business a.toplevel {
	width: 90%;
	height: auto;
}
ul#topnav li .sub {
	display: block !important;
	width: 100%;
	padding: 0;
	position: static;
}
ul#topnav li .sub_top,  ul#topnav li .sub_bottom,  ul#topnav .sub ul.hottopics {
	display: none;
}
ul#topnav li .sub ul {
	float: none;
	width: 100%;
}
ul#topnav .sub ul li {
	width: 100%;
	float: none;
}
ul#topnav .sub ul li a:visited,  ul#topnav .sub ul li a:active,  ul#topnav .sub ul li a:focus,  ul#topnav .sub ul li a:link {
	color: #fff !important;
	color: #d0dfe9 !important;
	border: 0;
	width: auto;
	padding-left: 0;
}
ul#topnav li .row {
	margin: 10px 0 3px 0;
}
ul#topnav li a.close_button {
	display: none;
}
#container #content div.breadcrumb {
	height: auto;
	padding-left: 20px;
	padding-right: 20px;
}
#container #content div.breadcrumb div.page_tools {
	position: relative;
	text-align: center;
	margin: auto;
	right: 0;
	width: 100%;
}
#container #content div.breadcrumb div.page_tools span.font_resize {
	display: none;
}
.side_nav {
	float: none;
	width: auto;
	height: auto !important;
	background-image: none;
	margin-left: 20px;
	margin-right: 20px;
	margin-bottom: -20px;
	padding-bottom: 0;
	padding-right: 0;
	border: 0;
}
.side_nav_menu {
	width: 100%;
}
.side_nav_menu .level1 a,  .side_nav_menu .level2 a {
	width: 100%;
}
.side_nav_menu .parent_selected a {
	background-repeat: repeat-x !important;
}
.side_nav_menu .level_selected a {
	background: #f9f9f9 !important;
}
#container #content #page div.layout div.main {
	margin-top: 0;
}

#container #content #page div.layout div.sidebar_container {
	width: auto;
}

#container #content #page div.sidebar div.feature.contact {
	margin-top: 0 !important;
}
#container #content #page {
	margin-left: 0;
}
#container #content #page {
	padding: 0 20px;
}
#container #content #page div.layout {
	padding-right: 0;
	padding-bottom: 0;
}
#container #content #page div.layout div.main {
	margin-left: 0;
}
#container #content #page div.layout h1 {
	font-size: 18px !important;
}
#container #content #page div.layout h2 {
	font-size:105%;
	line-height: normal;
}
#container #content #page div.layout p.leadin {
	font-size: 14px !important;
}
#container #content #page div.layout div.main.twocol {
	width: 100% !important
}
.clear_tab_mobile {
	clear:both;
}
#container #content #masthead .carousel_feature {
	float: none;
	width: auto;
	overflow: visible;
}
#homeWebpartZone {
	width: 100% !important;
}
#container #content #page div.layout div.main table.table_grid {
	width: 100%;
}
td.row_toggle {
	font-size: 10px !important;
	padding-right: 30px !important;
}
.jcarousel-skin-features .jcarousel-clip-horizontal, .jcarousel-skin-features .jcarousel-container-horizontal {
	width:220px;
}
.jcarousel-skin-features .jcarousel-container {
	background:none;
}
 .jcarousel-skin-features {
	 padding-top:0px;
	 margin-top:-20px;
 }
	#bottom_breadcrumb {
	display: block !important;
	background: none !important;
	padding-bottom:10px !important;
}
#bottom_breadcrumb hr {
	border: 0;
	height: 0;
	border-top: 1px solid #CCC;
	margin: 10px -20px;
}
#footer_wrapper #footer {
	width: auto;
	padding-left: 20px;
	padding-right: 20px;
	height: auto;
}
#footer_wrapper #footer #footer_columns {
	display: none;
	height: auto;
}
#footer_wrapper #footer #footer_columns #column1,  #footer_wrapper #footer #footer_columns #column2,  #footer_wrapper #footer #footer_columns #column3,  #footer_wrapper #footer #footer_columns #column4 {
	width: 100%;
	margin: 0;
	float: none;
	margin-bottom: 20px;
}
#footer_wrapper #footer ul#bottom_nav {
	height: auto;
	padding: 10px 0;
}
#footer_wrapper #footer ul#bottom_nav li {
	float: none;
}
#footer_wrapper #footer ul#bottom_nav li.top {
	float: none;
	width: auto;
	text-align: left;
}
#footer_wrapper #footer ul#bottom_nav li a {
	margin-right: 0;
	padding: 5px 0;
}
/* Page headers */
	#container #content #page div.layout div.header_wrapper,  .community_profile_header {
	display: none;
}
/* Home page styling */
	#content #homepage_mid_wrapper {
	height: auto;
	padding: 0 20px;
}
#container #content {
	margin-top: 0;
}
#container #content #masthead {
	height: auto;
}
#content #homepage_mid_wrapper #stratplan_homepage,  #content #homepage_mid_wrapper #mini_calendar_homepage,  #just_for_you {
	margin: 0 0 20px 0;
	height: auto;
	width: auto;
	float: none;
}
#content #homepage_mid_wrapper #mini_calendar_homepage {
	width: 85%;
}
#container #content #masthead .news_listing {
	width: auto;
	float: none;
}
#container #content #masthead .news_listing .news_listing_links {
	right: 20px;
}
#press_releases {
	width: auto;
}
#press_releases table {
	width: 100%;
}
#press_releases table span,  #press_releases table a {
	font-size: 11px !important;
}
#homeWebpartZone {
	height: auto !important;
}
#just_for_you div {
	width: auto;
	height: auto;
	padding: 10px 0;
}
#just_for_you .tab_content {
	background: none !important;
}
#get_active {
	width:80%;
	float:left;
	background:none;
	border:1px solid #ccc;
	padding-left:20px;
	margin-bottom:10px;
}
/* Landing page styling */
	#landing_page_wrap {
	padding: 0;
	width: auto;
}
/* #cycle_wrap { display: none; } */
	#landing_page_wrap p.introduction {
	width: auto;
	margin: 0;
}
#landing_page_wrap div.row div.col_calendar {
	background: none;
	float: none;
	width: 100%;
	margin: 0 0 30px 0;
	height: auto;
}
.ui-datepicker table {
	/* height: 250px;  */
	    width: 100%;
	height: auto;
}
.ui-datepicker td {
	vertical-align: middle;
}
.ui-datepicker td a {
	padding: 1em;
}
#landing_page_wrap div.row div.col_links {
	width: auto;
	height: auto;
	float: none;
}
#landing_page_wrap div.row div.col_links .col1,  #landing_page_wrap div.row div.col_links .col2 {
	border: 0;
	width: auto;
	float: none;
	margin: 0;
	padding: 0;
}
#container #content #masthead .carousel_feature {
	height:245px;
}
#container #content #masthead .carousel_feature img {
	height:100%;
}
/* Online Services */
	.service_table_container {
	width: auto;
	padding: 0;
	margin: 0 0 20px 0;
}
.services_table_header {
	width: auto;
	background-image: none;
	border: 1px solid #ddd;
	border-width: 1px 1px 0;
	height: auto;
	padding-bottom: 12px;
}
table.services_table {
	width: auto;
}
/* Recreation Programs */
    #rec_programs .section_small {
	float: none !important;
	margin: 0 0 20px 0 !important;
	width: 100% !important;
	height: 200px !important;
	padding-bottom: 30px;
	margin-bottom: 5px !important;
}
#rec_programs #guide.section_small #guide_image {
	position: static !important;
	float: left !important;
	margin-right: 10px;
	width: auto !important;
}
#rec_programs #guide .section_small_body {
	padding: 10px 20px !important;
	width: auto !important;
}
#rec_programs #guide .section_small_body iframe {
	width: auto !important;
}
#rec_programs #featured_links .clearfix {
	text-align: center !important;
	width: 49%;
	padding: 0 4px;
	margin: 0 0 0 -5px;
}
#rec_programs #featured_links a {
	float: none !important;
	margin: auto !important;
	width: 100% !important;
	height: auto !important;
	padding: 68% 0 12% 0 !important;
}
#rec_programs #featured_links a img {
	width: 98.7% !important;
	margin-left: 1px;
}
#rec_programs #survey * {
	width: auto !important;
	margin-right: 155px !important;
}
#rec_programs #survey a {
	margin-right: 0 !important;
}
#rec_programs #survey #survey_link {
	width: auto !important;
	right: 20px !important;
	top: 20px !important;
}
#rec_programs #survey #survey_link img {
	width: 125px !important;
	margin-right: 0 !important;
}
/* Sitemap */
    .RadSiteMap .rsmColumn {
	float: none !important;
	width: auto !important;
}
/************* start Transit scheds *************/

	#transit_scheds table {
	width: 100%;
	border-collapse: collapse;
	font-size:1em;
}
#transit_scheds br {
	display:none;
}
/* Force table to not be like tables anymore */
	#transit_scheds table,  #transit_scheds thead,  #transit_scheds tbody,  #transit_scheds th,  #transit_scheds td,  #transit_scheds tr {
	display: block;
}
/* Hide table headers */
	#transit_scheds thead tr {
	position: absolute;
	top: -9999px;
	left: -9999px;
}
#transit_scheds tr {
	border: 1px solid #ccc;
	border-bottom:none;
}
#transit_scheds td {
	/* Behave  like a "row" */
		border: none;
	border-bottom: 1px solid #eee;
	position: relative;
}
#transit_scheds td:nth-of-type(1):before {
	content : "Route ";
}
#transit_scheds td:nth-of-type(3):before {
	content: "Schedules: ";
}
#transit_scheds td:nth-of-type(4):before {
	content: "Maps: ";
}


#transit_scheds a[href$='.PDF'] { padding: 2px 0 2px 20px; background: transparent url('/Style%20Library/NewHomePageAssets/img/link_filetypes/pdf.png') no-repeat top left; }
#transit_scheds a[href ^="http://barrie.mapstrat.com/"] { padding: 2px 0 2px 20px; background: transparent url('/Style%20Library/NewHomePageAssets/img/link_filetypes/liveBus.png') no-repeat top left;}
#transit_scheds a[href ^="https://docs.google.com/spreadsheet/"] { padding: 2px 0 2px 20px; background: transparent url('/Style%20Library/NewHomePageAssets/img/link_filetypes/googleSheets.png') no-repeat top left;}



/************* end Transit scheds *************/


/************* start Rec Fees *************/

	table#RecPasses {
	width: 100%;
	border-collapse: collapse;
	font-size:1em;	
}

#RecPasses br {
	display:none;
}


/* Force table to not be like tables anymore */
	table#RecPasses,  #RecPasses thead,  #RecPasses tbody,  #RecPasses th,  #RecPasses td,  #RecPasses tr {
	display: block;	
}

	table#RecPasses tr td {	
text-align:left !important;	
} 

/* Hide table headers */
	#RecPasses thead tr {
	position: absolute;
	top: -9999px;
	left: -9999px;
}
#RecPasses tr {
	border: none;
	border-bottom:none;
	text-align:left !important;

}
#RecPasses td {
	/* Behave  like a "row" */
	border: none;	
	position: relative;
}


#RecPasses td:nth-of-type(1) {
	font-weight:bold;	
	color:#336699;	
}

#RecPasses tfoot td{
	font-weight:normal !important;		
}

#RecPasses td:nth-of-type(1) {
	border-bottom:0 none !important;
}

#RecPasses td:nth-of-type(2) , #RecPasses td:nth-of-type(3) , #RecPasses td:nth-of-type(4) , 
#RecPasses td:nth-of-type(5) , #RecPasses td:nth-of-type(6) , #RecPasses td:nth-of-type(7) , #RecPasses td:nth-of-type(8){
	border: 0 none !important;
}


#RecPasses td:nth-of-type(2):before {
	content : "Fitness Centre Visit/Class: ";
}

#RecPasses td:nth-of-type(3):before {
	content: "Gymnasium: ";
	border-bottom:none;
}
#RecPasses td:nth-of-type(4):before {
	content: "Swimming: ";
	border:0 none !important;
}

#RecPasses td:nth-of-type(5):before {
	content: "Dance: ";
	border-bottom:none;
}

#RecPasses td:nth-of-type(6):before {
	content: "Preschool: ";
	border-bottom:none;
}

#RecPasses td:nth-of-type(7):before {
	content: "Skating: ";
	border-bottom:none;
}

#RecPasses td:nth-of-type(8):before {
	content: "Shinny Hockey: ";
	border-bottom:none;
}


/************* end Rec Fees *************/


/************* start City  Hall > Mayor & Council table *************/

	table#councillor_table {
	width: 100%;
	border-collapse: collapse;
	font-size:1em;	
}


/* Force table to not be like tables anymore */
	table#councillor_table,  #councillor_table thead,  #councillor_table tbody,  #councillor_table th,  #councillor_table td,  #councillor_table tr {
	display: block;	
}

	table#councillor_table tr td {	
text-align:left !important;	
} 



#councillor_table td {
	/* Behave  like a "row" */
	width:145px;
	float:left;
	
}

#councillor_table td.spacer {	
	display:none;	
}


/************* end  City  Hall > Mayor & Council table *************/







    
}

/************************************************** Portrait tablet **************************************************/
@media (min-width: 768px) and (max-width: 979px) {
body #s4-bodyContainer {
	min-width: auto;
}
#container {
	width: 724px;
}
#container #header {
	margin-left: -5px;
}
#container #header ul#links {
	left: 183px;
}
#container #header ul#links li a {
	font-size: 0.9em;
	padding-left: 7px;
	padding-right: 7px;
}

#cycle {	
	height:285px;	
}
.s4-search input.ms-sbplain {
	width: 90px !important;
}
ul#topnav li a,  ul#topnav li a:focus,  ul#topnav li a:active,  ul#topnav li a:visited {
	padding-left: 25px;
}
ul#topnav .living a.toplevel,  ul#topnav .cityhall a.toplevel,  ul#topnav .visiting a.toplevel,  ul#topnav .business a.toplevel {
	width: auto;
}
ul#topnav .business .sub {
	left: -170px;
}
ul#topnav .business .sub_top {
}
ul#topnav .sub ul.hottopics li a {
	font-size: 1em;
}
#container #content div.breadcrumb {
	padding-bottom: 10px;
}
#container #content div.breadcrumb .breadcrumb_links {
	width: 50%;
}
.side_nav {
	width: 160px;
}
.side_nav_menu .level1 a,  .side_nav_menu .level2 a {
	width: auto;
}
.side_nav_menu .level2 a {
	width: 125px;
}
#container #content #page {
	margin-left: 160px;
}
#container #content #page div.layout {
}
#container #content #page div.layout div.main.twocol {
	width: auto !important;
}




/*.jcarousel-skin-features .jcarousel-container-horizontal { width: 664px; }
	.jcarousel-skin-features .jcarousel-item {
        width: 229.4px;
    }*/
	#footer_wrapper #footer {
	width: 724px;
}
#footer_wrapper #footer #footer_columns #column1,  #footer_wrapper #footer #footer_columns #column2,  #footer_wrapper #footer #footer_columns #column3,  #footer_wrapper #footer #footer_columns #column4 {
	width: 160px;
}
#footer_wrapper #footer ul#bottom_nav li a {
	letter-spacing: 0;
	margin-right: 10px;
}
#footer_wrapper #footer ul#bottom_nav li.top {
	width: auto;
}
#footer_wrapper #footer ul#bottom_nav li.top a {
	margin-right: 0;
}
/* Home page styling */
	#home_rotator {
	width: auto;
}
/*#home_rotator .jcarousel-skin-features .jcarousel-container-horizontal { width: 670px; }
	#home_rotator .jcarousel-skin-features .jcarousel-clip-horizontal { width: auto; }*/
	#content #homepage_mid_wrapper {
	height: auto;
}
#container #content #masthead {
	height: auto;
}
#cycle a,  #cycle a img {
	width: 100% !important;
	height: auto !important;
}
#cycle_prev,  #cycle_next {
	height: 100%;
}
#container #content #masthead .carousel_feature {
	float: none !important;
	width: 100%;
	overflow: visible;
	height:100%;
}
.jcarousel-skin-features .jcarousel-clip-horizontal {
	width:80%;
}
.jcarousel-skin-features {
	width:83%;
}
.jcarousel-skin-features .jcarousel-container-horizontal {
	padding:10px 30px 0px;
	width:84%;
}
.jcarousel-skin-features .jcarousel-prev-horizontal, .jcarousel-skin-features .jcarousel-next {
	top:30px;
}
.jcarousel-skin-features .jcarousel-clip-horizontal {
	width:100%;
}
.jcarousel-skin-features .jcarousel-container {
	background:none;
}
#container #content #masthead .news_listing table td a {
	text-overflow:visible;
	overflow:visible;
	margin-left:50px;
	width:100%;
}
.news_listing {
	float:none !important;
	width:700px !important;
}
#press_releases {
	width:700px !important;
}
/* Landing page styling */
	#landing_page_wrap div.row div.col_links {
	width: 250px;
	margin: 0;
	height: auto;
}
#landing_page_wrap div.row div.col_links .col1 {
	border-right: 0;
	width: auto;
	padding-right: 0;
	float: none;
}
#landing_page_wrap div.row div.col_links .col2 {
	width: auto;
	float: none;
	margin-left: 0;
}
/* Online Services */
    .service_table_container {
	width: 47%;
	padding: 0 15px;
	margin: 0 0 0 -15px;
}
/* Recreation Programs */
    #rec_programs .section_small {
	width: 48% !important;
	height: 235px !important;
}





}

/************************ end portrait and landscape phone *******************************/

/* Landscape tablet and desktop */
@media (min-width: 980px) {
.nav-collapse.collapse {
	height: auto !important;
	overflow: visible !important;
}
.table_responsive, .scaling_table {
	width:65%;
}
}
