/*
Theme Name: Stamford Downtown
Theme URI: http://320press.com/wpbs
Description: A responsive theme based on the Bootstrap framework. Includes multiple page templates, two different sidebars and a theme options panel.
Version: 2.1
Author: imagemark
Author URI: http://imagemark.net
*/


/* custom css */


.footer-links {
	width: 100%;
    margin: 0 auto;
}
#widget-footer {
	max-width:1020px;
	margin: 0 auto;
	
	
}

#widget-footer ul li a, #widget-footer ul li a:hover, #widget-footer .footer-links .menu li a, #widget-footer .footer-links .menu li a:hover {
    color: black !important;
}

#widget-footer h4 {
	color: #dca40c !important;	
}


.adrotate_widgets .g, .adrotate_widgets .widgettitle {
    margin: 8px;
}

.g img {
    width: 100%;
}

.sidebar .adrotate_widgets .widgettitle {
    display:none;
}

.sidebar .adrotate_widgets .g {
    margin: 14px !important;
}

#topmenu ul.top-social li.facebook a {
    background: url(http://stamford-downtown.com/wp-content/uploads/2017/02/image005.png) top left no-repeat !important;
background-size: 20px 20px !important;
}

#topmenu ul.top-social li.twitter a {
    background: url(http://stamford-downtown.com/wp-content/uploads/2017/02/image002.png) top left no-repeat !important;
background-size: 20px 20px !important;
}

#topmenu ul.top-social li.instagram a {
    background: url(http://stamford-downtown.com/wp-content/uploads/2017/02/image007.png) top left no-repeat !important;
background-size: 20px 20px !important;
}

#topmenu ul.top-social li.youtube a {
    background: url(http://stamford-downtown.com/wp-content/uploads/2017/02/image006.png) top left no-repeat !important;
background-size: 20px 20px !important;
}

@media (max-width: 768px) {
.page-template-page-business-resources-real-estate-php ul.locations-grid li {
    height: 100% !important;
}
}

ul.locations-grid li .location-content {
    overflow: hidden !important;
}

.single-stamford-real-estate .post_image {
   display:none !important;
}

#submenu {
    height: 366px !important;
}

/* micro clearfix: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before,
.clearfix:after {
    content:"";
    display:table;
}

.clearfix:after {
    clear:both;
}

.clearfix {
    zoom:1;
}

/* @license
 * MyFonts Webfont Build ID 2436001, 2012-12-21T12:39:34-0500
 * 
 * The fonts listed in this notice are subject to the End User License
 * Agreement(s) entered into by the website owner. All other parties are 
 * explicitly restricted from using the Licensed Webfonts(s).
 * 
 * You may obtain a valid license at the URLs below.
 * 
 * Webfont: Variable Regular by MADType
 * URL: http://www.myfonts.com/fonts/madtype/variable/regular/
 * 
 * Webfont: Variable Bold by MADType
 * URL: http://www.myfonts.com/fonts/madtype/variable/bold/
 * 
 * Webfont: Variable Black by MADType
 * URL: http://www.myfonts.com/fonts/madtype/variable/black/
 * 
 * 
 * License: http://www.myfonts.com/viewlicense?type=web&buildid=2436001
 * Webfonts copyright: Copyright (c) 2012 by Matt Desmond. All rights reserved.
 * 
 * � 2012 Bitstream Inc
*/

@import url("//hello.myfonts.net/count/252ba1");

@font-face {font-family: 'Variable';src: url('library/fonts/252BA1_0_0.eot');src: url('library/fonts/252BA1_0_0.eot?#iefix') format('embedded-opentype'),url('library/fonts/252BA1_0_0.woff') format('woff'),url('library/fonts/252BA1_0_0.ttf') format('truetype');} 
  
@font-face {font-family: 'Variable-Bold';src: url('library/fonts/252BA1_1_0.eot');src: url('library/fonts/252BA1_1_0.eot?#iefix') format('embedded-opentype'),url('library/fonts/252BA1_1_0.woff') format('woff'),url('library/fonts/252BA1_1_0.ttf') format('truetype');}
 
@font-face {font-family: 'Variable-Black';src: url('library/fonts/252BA1_2_0.eot');src: url('library/fonts/252BA1_2_0.eot?#iefix') format('embedded-opentype'),url('library/fonts/252BA1_2_0.woff') format('woff'),url('library/fonts/252BA1_2_0.ttf') format('truetype');}

/* basic */

body{
	padding-top: 0;
	font-family: 'Variable';
}

strong{
	font-family: 'Variable-Black';
}

a,
a:hover{
	color: #2e797c;
	text-decoration: none;
}

*:focus{
    outline: none !important;
}

.container-wrapper{
	width: 980px;
	margin-right: auto;
	margin-left: auto;
	background: #666;
}

.page-template-page-what-to-do-map-php .container-wrapper,
.page-template-page-business-resources-real-estate-map-php .container-wrapper{
	width: 100% !important;
	background: none !important;
	padding-bottom: 18px;
}

/* header */

#header{

}

.page-template-page-what-to-do-map-php #header,
.page-template-page-business-resources-real-estate-map-php #header {
	display: none;
}

#header .container{
	position: relative;
	padding-top: 24px;
	padding-bottom: 18px;
	z-index: 200;
}

#header .carousel{
	position: relative;
	margin-bottom: 0;
	z-index: 100;
}

/* branding */

#branding{
	height: 80px;
	margin-left: -21px;
	margin-bottom: 6px;
	padding-left: 41px;
	padding-bottom: 11px;
	color: #aac20a;
	font-family: 'Variable-Black';
	background: url('images/branding-bg.png') top left no-repeat;
}

#branding .logo{
	float: left;
	margin: 0 0 0 -2px;
	padding-top: 7px;
	font-size: 30px;
	line-height: 1.0;
	text-align: right;
	text-transform: uppercase;
}

.osx #branding .logo{
	line-height: 1.2;
}

#branding .logo a{
	display: block;
	color: #aac20a;
	text-decoration: none;
}

#branding .slogan{
	float: right;
	margin: 0;
	padding: 22px 30px 0 0;
	font-size: 30px;
	line-height: 1.0;
}

/* top menu */

#topmenu{
	background-color: #383838;
	position: relative;
	padding-top: 12px;
	padding-bottom: 12px;
	opacity: 0.95;
}

#topmenu ul.nav{
	float: right;
	margin-bottom: 0;
}

#topmenu ul.nav li{
	float: left;
}

#topmenu ul.nav li a{
	display: block;
	color: #aac20a;
}

#topmenu ul.top-links{
	margin-left: 0;
}

#topmenu ul.top-links li a{
	padding: 0 6px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.0;
	border-right: 1px solid #aac20a;
}

#topmenu ul.top-links li a:hover{
	background: none;
}

#topmenu ul.top-links li:first-child a{
	padding-left: 0;
}

#topmenu ul.top-links li:last-child a{
	border: none;
}

#topmenu ul.top-social{
	margin-top: -2px;
	margin-left: 9px;
}

#topmenu ul.top-social li a{
	width: 20px;
	height: 20px;
	margin-right: 10px;
	text-indent: -9999px;
}

#topmenu ul.top-social li:last-child{
	margin-right: 0;
}

#topmenu ul.top-social li.facebook a{
	background: url(images/social-icons/facebook.png) top left no-repeat;
}

#topmenu ul.top-social li.twitter a{
	background: url(images/social-icons/twitter.png) top left no-repeat;
}

#topmenu ul.top-social li.instagram a{
	background: url(images/social-icons/instagram.png) top left no-repeat;
}

#topmenu ul.top-social li.youtube a{
	background: url(images/social-icons/youtube.png) top left no-repeat;
}

/* main menu */

#main-menu .main-menu-item{
	position: relative;
}

#main-menu .main-menu-image{
	position: absolute;
	top: 95px;
	left: 235px;
	width: 245px;
	padding-right: 10px;
	display: none;
}

.osx #main-menu .main-menu-image{
	left: 220px;
	width: 230px;
}

#main-menu .main-menu-item:hover .main-menu-image{
	display: block;
}

#main-menu .main-menu-image img{
	margin: 10px 0;
}

.page-template-page-homepage-php #main-menu .main-menu-item:hover{
	opacity: 0.95;
}

.page-template-page-homepage-php #main-menu .main-menu-item.blue:hover{
	opacity: 1.0;
}

#main-menu a{
	display: block;
	color: #fff;
	font-family: 'Variable-Black';
	font-size: 29px;
	line-height: 1.1;
	text-decoration: none;
	text-transform: uppercase;
}

#main-menu .black{
	background-color: #383838;
}

#main-menu .blue{
	background-color: #2e3c59;
}

#main-menu .brown{
	background-color: #604c1a;
}

#main-menu .green,
#main-menu .green .main-menu-image{
	background-color: #aac20a;
}

#main-menu .orange,
#main-menu .orange .main-menu-image{
	background-color: #e2a607;
}

#main-menu .teal,
#main-menu .teal .main-menu-image{
	background-color: #296168;
}

#main-menu a span{
	display: block;
	padding: 9px 0 14px 21px;
}

.osx #main-menu .main-menu-item > a > span{
	padding: 13px 0 10px 21px;
}

#main-menu a.small{
	font-size: 18px;
}

#main-menu a.small:first-child{
	margin-bottom: 7px;
}

#main-menu a.small span{
	padding: 9px 0 11px 16px;
}

.osx #main-menu > .main-menu-item > a.small > span{
	padding: 12px 0 8px 16px;
}

#main-menu ul{
	position: absolute;
	top: 77px;
	left: 0;
	display: none;
	list-style-type: none;
	width: 100%;
	margin: 0;
	padding: 10px 0 20px 0;
	z-index: 9999;
}

.main-menu-item.green .dropdown {
	height: 280px;
}
.main-menu-item.green .main-menu-image{
	height: 300px;
}

.main-menu-item.orange .dropdown {
	height: 230px;
}
.main-menu-item.orange .main-menu-image{
	height: 250px;
}

.main-menu-item.teal .dropdown {
	height: 230px;
}
.main-menu-item.teal .main-menu-image{
	height: 250px;
}

#main-menu .main-menu-item:hover ul{
	display: block;
}

#main-menu .main-menu-item.small ul{
	top: 35px;
}

#main-menu ul li.spaced{
	margin-top: 10px;
}

#main-menu ul a{
	margin-bottom: 0;
	font-size: 15px;
	line-height: 1.5;
	text-transform: none;
}

#main-menu ul a span{
	padding: 4px 0 6px 23px;
}

#main-menu .main-menu-item.small ul a span{
	padding-left: 17px;
}

/* body */

#body .container-wrapper{
	padding-top: 18px;
}

#body .row{
	position: relative;
}

#body .carousel,
#body .ls-wp-container {
	position: absolute;
	top: -18px;
	left: 0;
	right: -20px;
	margin: 0 !important;
	z-index: 10;
}

/* content */

#content{
	position: relative;
}

#main{
	padding-top: 20px;
	padding-bottom: 20px;
	background-color: #e8e8e8;
}

.single-stamford_event #main,
.single-stamford_real_estate #main,
.single-stamford-real-estate #main,
.page-template-page-about-php #main,
.page-template-page-what-to-do-events-php #main,
.page-template-page-getting-around-internal-php #main,
.page-template-page-business-resources-internal-php #main,
.page-template-page-downtown-living-internal-php #main{
	float: right;
	margin-top: -381px;
}

.page-template-page-what-to-do-php #main,
.page-template-page-business-resources-real-estate-php #main{
	float: right;
}

#main .widget_adrotate_widgets{
	margin-top: -20px;
	margin-bottom: 20px;
	padding-bottom: 20px;
	background-color: #666;
}

#sidebar1 .widget_adrotate_widgets{
	text-align: right;
}

#sidebar1 .widget_adrotate_widgets img{
	margin-bottom: 19px;
}

/* breadcrumbs */

#breadcrumbs ul{
	position: relative;
	float: left;
	width: 80%;
	list-style: none;
	margin-left: 20px;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.0;
}

#breadcrumbs ul li{
	float: left;
	font-size: 13px;
	line-height: 1.0;
}

#breadcrumbs ul li:last-child{
	margin-left: 5px;
}

#breadcrumbs ul li a{
	display: block;
	color: #407f86;
	font-size: 13px;
	line-height: 1.0;
	padding: 0 5px;
	border-right: 1px solid #666;
}

#breadcrumbs ul li:first-child a{
	padding-left: 0;
}

/* grid */

.category-description,
.grid-controls{
	position: relative;
	margin: 0 9px 20px 9px;
}

.grid-controls .hits{
	float: left;
}

.grid-controls select{
	float: left;
	width: 140px;
	height: 24px;
	margin: 0 0 0 12px;
	padding: 2px 5px;
	border-radius: 0;
	font-size: 12px;
	line-height: 1.0;
}

.grid-controls select.streets{
	width: 140px;
}

.grid-controls select.budgets{
	width: 134px;
}

.grid-controls input{
	float: right;
	width: 150px;
	height: 16px;
	margin: 0 6px 0 0;
	padding: 3px 5px;
	border-radius: 0;
	font-size: 12px;
	line-height: 1.0;
}

.grid-controls input.restaurants{
	width: 114px;
}

.grid-controls button,
.grid-controls button:hover{
	float: right;
	width: 23px;
	height: 23px;
	padding: 2px 1px;
	color: #fff;
	background: #aac20a;
	border: none;
	border-radius: 0;
	box-shadow: none;
	font-size: 14px;
	line-height: 1.1;
	font-family: 'Variable-Black';
	text-transform: uppercase;
	text-shadow: none;
}

ul.locations-grid{
	list-style: none;
	margin-left: 5px;
	margin-right: 5px;
}

ul.locations-grid:last-child{
	margin-bottom: 0;
}

ul.locations-grid li{
	position: relative;
	height: 230px;
	margin-bottom: 9px;
	margin-left: 6px;
	margin-right: 6px;
	background-color: #fff;
	border: 1px solid #333;
}

.page-template-page-business-resources-real-estate-php ul.locations-grid li{
	height: 350px;
}

ul.locations-grid li img.location-pin-image{
	float: left;
	margin-left: 1px;
	margin-top: 3px;
}

ul.locations-grid li .location-image{
	float: left;
	width: 50%;
}

ul.locations-grid li .location-image img{
	margin-top: 10px;
	margin-left: 10px;
}

ul.locations-grid li .location-content {
	float: left;
	width: 50%;
}

ul.locations-grid li h2{
	margin: 0;
	padding: 5px 0 7px 30px;
	color: #333;
	font-size: 16px;
	line-height: 1.0;
	background-color: #acb75b;
	border-bottom: 1px solid #bcc479;
}

ul.locations-grid li h2 a{
	display: block;
	color: #333;
	font-size: 16px;
	line-height: 1.0;
	background-color: #acb75b;
}

ul.locations-grid li h3{
	margin: 0;
	padding: 6px 0 7px 30px;
	color: #333;
	font-size: 14px;
	line-height: 1.0;
	background-color: #c7d661;
	text-transform: uppercase;
}

ul.locations-grid li h3 span {
	float: right;
	padding-right: 15px;
}

ul.locations-grid li p{
	padding: 5px 10px 0 30px;
	margin-bottom: 0;
	color: #333;
	font-size: 14px;
	line-height: 1.3;
}

/* article */

#main article header,
#main article section{
	padding-left: 20px;
}

.page-template-page-about-php #main article header,
.page-template-page-about-php #main article section,
.page-template-page-getting-around-internal-php #main article header,
.page-template-page-getting-around-internal-php #main article section,
.page-template-page-what-to-do-events-php #main article header,
.page-template-page-what-to-do-events-php #main article section,
.page-template-page-business-resources-internal-php #main article header,
.page-template-page-business-resources-internal-php #main article section,
.page-template-page-downtown-living-internal-php #main article header,
.page-template-page-downtown-living-internal-php #main article section{
	padding-right: 20px;
}

#main article .page-header{
	margin: 0 0 10px 0;
	padding: 3px 5px 6px 5px;
	background-color: #e2a607;
	border-bottom: none;
}

.single-stamford_real_estate #main article .page-header,
.single-stamford-real-estate #main article .page-header{
	background-color: #604c1a;
}

.single-stamford_real_estate #main article .page-header h1,
.single-stamford-real-estate #main article .page-header h1{
	color: #fff;
}

.page-template-page-about-php #main article .page-header{
	background-color: #383838;
}

.page-template-page-getting-around-internal-php #main article .page-header{
	background-color: #296168;
}

.page-template-page-what-to-do-events-php #main article .page-header{
	background-color: #aac20a;
}

.page-template-page-business-resources-internal-php #main article .page-header{
	background-color: #604c1a;
}

.page-template-page-downtown-living-internal-php #main article .page-header{
	background-color: #2e3c59;
}

#main article .page-header h1{
	margin: 0;
	color: #333;
	font-size: 21px;
	font-weight: normal;
	font-family: 'Variable-Black';
	line-height: 1.0;
	text-transform: uppercase;
}

.osx #main article .page-header h1{
	padding-top: 5px;
}

.single-stamford_event #main article .page-header h1,
.single-stamford_real_estate #main article .page-header h1,
.single-stamford-real-estate #main article .page-header h1{
	text-transform: none;
}

.page-template-page-about-php #main article .page-header h1,
.page-template-page-getting-around-internal-php #main article .page-header h1,
.page-template-page-business-resources-internal-php #main article .page-header h1,
.page-template-page-downtown-living-internal-php #main article .page-header h1{
	color: #fff;
}

#main article p,
#main article p.lead{
	margin-bottom: 10px;
	padding-left: 5px;
	color: #333;
	font-size: 15px;
	line-height: 1.4;
}

#main aside img{
	margin-right: 20px;
}

ul.events-info{
	list-style: none;
	margin-left: 0;
	margin-right: 20px;
}

ul.events-info li{
	padding: 2px 15px 10px 15px;
	color: #fff;
	font-size: 16px;
	font-family: 'Variable-Black';
	background-color: #e8a902;
}

.single-stamford_real_estate ul.events-info li,
.single-stamford-real-estate ul.events-info li{
	background-color: #a98c46;
}

.osx ul.events-info li{
	padding: 8px 15px 10px 15px;
}

ul.events-info li.header{
	padding-bottom: 5px;
	background-color: #c88007;
	text-transform: uppercase;
}

.single-stamford_real_estate ul.events-info li.header,
.single-stamford-real-estate ul.events-info li.header{
	background-color: #7f6629;
}

#main article .page-header h1{
	position: relative;
}

#main article .page-header h1 span{
	float: right;
}

#main article .page-header h1 span a{
	display: block;
	padding: 6px 7px 7px 7px;
	color: #fff;
	background-color: #2a6b74;
	font-size: 11px;
	text-transform: uppercase;
}

.signature-event-item{
	position: relative;
	padding-left: 5px;
}

.signature-event-item:last-child{
	margin-bottom: 18px;
}

.signature-event-item h2{
	position: relative;
	margin: 5px 0;
	color: #31737b;
	font-size: 18px;
	font-family: 'Variable-Black'
}

.signature-event-item h2 a{
	color: #31737b;
	font-size: 18px;
	font-family: 'Variable-Black'
}

.signature-event-item h2 span{
	float: right;
	font-size: 16px;
}

.signature-event-item img{
	float: left;
	max-width: 35% !important;
	height: auto;
}

.signature-event-item p{
	float: right;
	width: 60%;
}

/* blocks */

/* search */

#search-form{
	position: relative;
	height: 51px;
	margin-left: -21px;
	margin-bottom: 6px;
	padding-left: 41px;
	padding-bottom: 18px;
	background: url('images/green-block-wrapper-bg.png') bottom left no-repeat;
}

#search-form label{
	float: left;
	width: 135px;
	padding: 9px 0 0 5px;
	margin-bottom: 0;
	color: #fff;
	font-size: 30px;
	line-height: 1.1;
	font-family: 'Variable-Black';
	text-transform: uppercase;
}

.osx #search-form label{
	padding: 15px 0 0 5px;
}

#search-form select{
	float: left;
	width: 236px;
	height: 24px;
	margin: 17px 17px 0 0;
	padding: 3px 5px;
	font-size: 12px;
	line-height: 1.0;
}

#search-form input{
	float: left;
	width: 194px;
	height: 16px;
	margin: 17px 12px 0 12px;
	padding: 3px 5px;
	font-size: 12px;
	line-height: 1.0;
}

#search-form button{
	float: left;
	width: 50px;
	padding: 9px 0 0 0;
	color: #fff;
	background: none;
	border: none;
	border-radius: none;
	box-shadow: none;
	font-size: 30px;
	line-height: 1.1;
	font-family: 'Variable-Black';
	text-transform: uppercase;
	text-shadow: none;
}

.osx #search-form button{
	padding: 15px 0 0 0;
}

/* map */

#map{
	position: relative;
}

#map-zoom{
	position: absolute;
	display: block;
	left: 5%;
	bottom: 15%;
	width: 44px;
	height: 44px;
	background: url('images/zoom_in.png') top left no-repeat;
	z-index: 1;
}

/* mixed */

.mixed-block{
	margin-left: -21px;
	margin-bottom: 6px;
	padding-left: 41px;
	padding-bottom: 11px;
	background: url('images/gray-block-wrapper-bg.png') bottom left no-repeat;
}

.mixed-block.stretch{
	padding-right: 20px;
}

.mixed-block .text-content{
	padding: 25px 60px;
}

.mixed-block .text-content p,
.mixed-block .text-content p.lead{
	margin-bottom: 10px;
	font-size: 28px;
	line-height: 1.25;
}

.mixed-block .with-image{
	position: relative;
	padding: 15px 0 13px 20px;
}
.mixed-block .with-image p{
	float: left;
	width: 75%;
}
.mixed-block .with-image img{
	float: right;
	max-width: 23%;
}

.mixed-block .list-content{
	margin-bottom: 22px;
}

.mixed-block .list-content .item{
	position: relative;
	width: 100%;
	padding: 6px 0;
	border-top: 1px solid #666;
}

.mixed-block .list-content .item:last-child{
	border-bottom: 1px solid #666;
}

.mixed-block .list-content .item img{
	float: left;
	width: 231px;
	height: auto;
	margin-right: 20px;
}

.mixed-block .list-content .item h2{
	margin: 10px 0 0 0;
	font-size: 16px;
	font-family: 'Variable-Black';
	font-weight: normal;
	line-height: 1.4;
}

.mixed-block .list-content .item h2 a{
	color: #50858b;
}

.mixed-block .list-content .item p{
	margin-bottom: 0;
	font-size: 15px;
}

.mixed-block .list-content .item p strong{
	font-weight: normal;
	font-size: 16px;
}

.page-template-page-signature-events .mixed-block .list-content .item p strong{
	font-size: 14px;
}

/* sub menu */

#submenu{
	position: relative;
	height: 345px;
	margin-left: -21px;
	margin-bottom: 18px;
	padding-left: 41px;
	padding-bottom: 18px;
	z-index: 20;
}

.page-template-page-about-php #submenu{
	background: url('images/dark-block-wrapper-bg.png') bottom left no-repeat;
}

.page-template-page-getting-around-php #submenu,
.page-template-page-getting-around-internal-php #submenu{
	background: url('images/teal-block-wrapper-bg.png') bottom left no-repeat;
}

.single-stamford_real_estate #submenu,
.single-stamford-real-estate #submenu,
.page-template-page-business-resources-php #submenu,
.page-template-page-business-resources-internal-php #submenu,
.page-template-page-business-resources-real-estate-php #submenu{
	background: url('images/brown-block-wrapper-bg.png') bottom left no-repeat;
}

.page-template-page-downtown-living-php #submenu,
.page-template-page-downtown-living-internal-php #submenu{
	background: url('images/blue-block-wrapper-bg.png') bottom left no-repeat;
}

.single-stamford_event #submenu,
.page-template-page-signature-events-php #submenu,
.page-template-archive-stamford_event-php #submenu{
	background: url('images/orange-block-wrapper-bg.png') bottom left no-repeat;
}

.page-template-page-what-to-do-php #submenu,
.page-template-page-what-to-do-events-php #submenu{
	background: url('images/green-block-wrapper-bg.png') bottom left no-repeat;
}

#submenu ul{
	list-style: none;
	margin-left: 20px;
	padding-top: 10px;
	font-family: 'Variable-Black';
}

#submenu ul li{
	padding: 6px 0;
	cursor: pointer;
}

#submenu ul li.title{
	padding-bottom: 21px;
	color: #fff;
	font-size: 16px;
	line-height: 1.0;
	text-transform: uppercase;
	cursor: default;
}

#submenu ul li.space{
	margin-top: 15px;
}

#submenu ul li.active{
	margin-left: -26px;
	padding-left: 26px;
	background: url('images/submenu-arrows.png') 0 30% no-repeat;
}

#submenu ul li:hover,
#submenu ul li.selected{
	margin-left: -61px;
	padding-left: 61px;
}

#submenu ul li a{
	color: #fff;
	font-size: 15px;
	line-height: 1.0;
}

.osx #submenu ul li a{
	display: block;
	margin-top: 3px;
}

.page-template-page-about-php #submenu ul li:hover,
.page-template-page-about-php #submenu ul li.selected{
	background: #e8e8e8 url('images/submenu-arrows-green.png') 13.1% 50% no-repeat;
}

.page-template-page-about-php #submenu ul li:hover a,
.page-template-page-about-php #submenu ul li.selected a{
	color: #383838;
}

.page-template-page-what-to-do-php #submenu ul li:hover,
.page-template-page-what-to-do-php #submenu ul li.selected,
.page-template-page-what-to-do-events-php #submenu ul li:hover,
.page-template-page-what-to-do-events-php #submenu ul li.selected{
	background: #e4ebb7 url('images/submenu-arrows-green.png') 13.1% 50% no-repeat;
}

.page-template-page-what-to-do-php #submenu ul li:hover a,
.page-template-page-what-to-do-php #submenu ul li.selected a,
.page-template-page-what-to-do-events-php #submenu ul li:hover a,
.page-template-page-what-to-do-events-php #submenu ul li.selected a{
	color: #7f9109;
}

.single-stamford_event #submenu ul li:hover,
.single-stamford_event #submenu ul li.selected,
.page-template-page-signature-events-php #submenu ul li:hover,
.page-template-archive-stamford_event-php #submenu ul li:hover,
.page-template-archive-stamford_event-php #submenu ul li.selected{
	background: #f6e5b5 url('images/submenu-arrows-orange.png') 13.1% 50% no-repeat;
}

.single-stamford_event #submenu ul li:hover a,
.single-stamford_event #submenu ul li.selected a,
.page-template-page-signature-events-php #submenu ul li:hover a,
.page-template-archive-stamford_event-php #submenu ul li:hover a,
.page-template-archive-stamford_event-php #submenu ul li.selected a{
	color: #c88106;
}

.page-template-page-getting-around-php #submenu ul li:hover,
.page-template-page-getting-around-internal-php #submenu ul li:hover,
.page-template-page-getting-around-internal-php #submenu ul li.selected{
	background: #bed0d2 url('images/submenu-arrows-teal.png') 13.1% 50% no-repeat;
}

.page-template-page-getting-around-php #submenu ul li:hover a,
.page-template-page-getting-around-internal-php #submenu ul li:hover a,
.page-template-page-getting-around-internal-php #submenu ul li.selected a {
	color: #114146;
}

.single-stamford_real_estate #submenu ul li:hover,
.single-stamford-real-estate #submenu ul li:hover,
.single-stamford_real_estate #submenu ul li.selected,
.single-stamford-real-estate #submenu ul li.selected,
.page-template-page-business-resources-php #submenu ul li:hover,
.page-template-page-business-resources-internal-php #submenu ul li:hover,
.page-template-page-business-resources-internal-php #submenu ul li.selected,
.page-template-page-business-resources-real-estate-php #submenu ul li:hover,
.page-template-page-business-resources-real-estate-php #submenu ul li.selected{
	background: #bed0d2 url('images/submenu-arrows-teal.png') 13.1% 50% no-repeat;
}

.single-stamford_real_estate #submenu ul li:hover a,
.single-stamford-real-estate #submenu ul li:hover a,
.single-stamford_real_estate #submenu ul li.selected a,
.single-stamford-real-estate #submenu ul li.selected a,
.page-template-page-business-resources-php #submenu ul li:hover a,
.page-template-page-business-resources-internal-php #submenu ul li:hover a,
.page-template-page-business-resources-internal-php #submenu ul li.selected a,
.page-template-page-business-resources-real-estate-php #submenu ul li:hover a,
.page-template-page-business-resources-real-estate-php #submenu ul li.selected a {
	color: #604c1a;
}

.page-template-page-downtown-living-php #submenu ul li:hover,
.page-template-page-downtown-living-internal-php #submenu ul li:hover,
.page-template-page-downtown-living-internal-php #submenu ul li.selected{
	background: #bed0d2 url('images/submenu-arrows-teal.png') 13.1% 50% no-repeat;
}

.page-template-page-downtown-living-php #submenu ul li:hover a,
.page-template-page-downtown-living-internal-php #submenu ul li:hover a,
.page-template-page-downtown-living-internal-php #submenu ul li.selected a {
	color: #2e3c59;
}

/* carousel */

.carousel-block-wrapper .span12{ width:100%; margin-left:0; }
.carousel-block-wrapper .carousel{ margin-bottom:0; }

/* footer */

#footer{
	padding-top: 50px;
}

.page-template-page-what-to-do-map-php #footer,
.page-template-page-business-resources-real-estate-map-php #footer {
	display: none;
}

.footer-links{
	position: relative;
	text-align: center;
}

.footer-links ul{
	float: left;
	width: 100%;
	list-style-type: none;
	margin: 0 auto 10px auto;
	font-size: 13px;
	line-height: 1.0;
}

.footer-links ul li{
	display: inline;
	font-size: 13px;
	line-height: 1.0;
}

.footer-links ul li a{
	display: inline-block;
	padding: 0 8px;
	border-right: 1px solid #fff;
	color: #fff;
	font-size: 13px;
	line-height: 1.0;
}

.footer-links ul li:last-child a{
	border: none;
}

#widget-footer{
	margin-top: 40px;
}

#widget-footer .widget-inner{
	padding: 3px 0;
	border-right: 1px solid #858585;
}

#widget-footer .widget:last-child .widget-inner{
	border: none;
}

#widget-footer h4,
#widget-footer ul li a,
#widget-footer ul li a:hover,
#widget-footer .footer-links .menu li a,
#widget-footer .footer-links .menu li a:hover{
	color: #fff;
	font-family: 'Variable';
	font-size: 14px;
	line-height: 21px;
	text-decoration: none;
}

#widget-footer h4{
	margin-top: 0;
	margin-bottom: 5px;
	font-weight: normal;
	text-align: center;
	text-transform: uppercase;
}

#widget-footer ul{
	list-style: none;
	margin-left: 0;
}

#widget-footer ul li{
	text-align: center;
}

.footer-imagemark p {
	line-height: 1.35;
	text-align: center;
}

.footer-imagemark p,
.footer-imagemark a {
	color: #dca40c;
	font-weight: bold;
}

/* post styling */

table.real-estate{
	font-size: 13px;
}

table.real-estate th,
table.real-estate td{
	padding: 0 5px;
	max-width: 25%;
}

table.real-estate td{
	padding-bottom: 15px;
}

input, textarea, select, .uneditable-input {
	margin-bottom: 0;
}

.more-link{
	white-space: nowrap;
}

#main p.meta{
	font-style: italic;
	color: #808080;
}

.sidebar{
	margin-top: 18px !important;
}

#main article footer{
	border-top: none;
	margin-top: 0;
	padding-top: 0;
	position: relative;
	min-height: 20px;
}

#main article footer a.edit-post{
	position: absolute;
	right: 0;
	top: 0;
	display: none;
}

.post:hover a.edit-post{
	display: inline;
}

p.tags{
	line-height: 20px;
}

div[id*='attachment_']{
	max-width: 100%;
	height: 100%;
}

#main article img{
	height: auto;
	max-width: 100%;
}

img.alignleft{
	margin-right: 10px;
	float: left;
}

img.alignright{
	margin-left: 10px;
	float: right;
}

img.aligncenter{
	display: block;
	margin: 0 auto;
}

.post header img{
	margin-bottom: 18px;
}

.archive #main .post h3{
	line-height: 24px;
	margin-bottom: 10px;
}

video {
	max-width: 100%;
	height: auto;
}

.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.video-container iframe,  
.video-container object,  
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.video-wrapper {
	width: 630px;
	max-width: 100%;
	margin-bottom: 18px;
}

article.post-1585 table{
	width: 100%;
	background-color: #fff;
}

article.post-1585 table td{
	width: 33%;
	text-align: center;
}

article.post-1585 table td a{
	display: block;
	margin-bottom: 25px;
}

/* page styling */

#featured-carousel .item{
	width: 970px;
	height: 600px;
}

.carousel-caption p{
	display: none;
}

.page-template-page-homepage-php #main article{
	border-bottom: none;
}

.single-stamford_real_estate .post_featured_image,
.single-stamford-real-estate .post_featured_image{
	clear: both;
	margin-top: 5px;
	margin-bottom: 10px;
}

.single-stamford_real_estate .post_featured_image img,
.single-stamford-real-estate .post_featured_image img{
	max-width: 100%;
	height: auto;
}

.single-stamford_real_estate .post_images_gallery,
.single-stamford-real-estate .post_images_gallery{
	clear: both;
	width: 100%;
}

.single-stamford_real_estate .post_images_gallery .post_image,
.single-stamford-real-estate .post_images_gallery .post_image{
	margin-bottom: 10px;
}

/* comments */



#comments{
	line-height: 24px;
	margin-bottom: 18px;
}

ol.commentlist,
ol.commentlist ul.children{
	list-style-type: none;
	margin-left: 0;
}

.comment .vcard div{
	margin-top: 8px;
	padding: 0 10px;
}

ol.commentlist time{
	font-size: .8em;
	color: #eeeeee;
}

ol.commentlist div.comment-author{
	position: relative;
}

ol.commentlist a.comment-edit-link{
	color: #ffffff;
	text-decoration: none;
	padding-left: 5px;
}

ol.commentlist span.edit-comment{
	position: absolute;
	right: 0;
	top: 8px;
}

ol.commentlist li.bypostauthor{
	background-color: #dddddd;
}

ol.commentlist ul.children li{
	background-color: #cccccc;
}

ol.commentlist ul.children li ul.children li{
	background-color: #bbbbbb;
}

ol.commentlist ul.children li ul.children li ul.children li{
	background-color: #aaaaaa;
}

ol.commentlist article{
	border-bottom: none !important;
}

a.comment-reply-link{
	position: absolute;
	right: 0;
	bottom: 0;
}

#comment-nav ul{
	list-style-type: none;
	margin: 0;
}

#comment-form-elements{
	list-style-type: none;
	margin: 0;
}

.comment .vcard .avatar{
	padding-right: 0;
}

.comment .vcard .comment-text{
	margin-left: 0;
}

img.avatar{
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #dedede;
	border-right: 1px solid #dedede;
	border-left: 1px solid #ddd;
	
}

ol.commentlist li{
	padding-right: 10px;
	background-color: #F0F0F0;
}

#pings{
	margin-bottom: 9px;
}

ol.pinglist{
	list-style-type: none;
	margin: 0 0 9px 0;
}

#comment{
	width: 270px;
}

ol.commentlist #respond{
	padding: 5px 10px;
}

/* specific post-type styles */

/* image attachment */

.attachment #main .post_content img{
	max-width: 100%;
}

.ie8 #main .media-grid img{
	max-height: none !important;
	max-width: none !important;
}

.attachment-img{
	margin-bottom: 18px;
}

.metadata p.alert-message{
	margin-right: 0;
	margin-bottom: 18px;
}

#gallery-nav{
	list-style-type: none;
	margin-left: 0;
}

li.next a, li.previous a{
	position: relative;
}

li.next a:hover:before{
	content: "\2190";
	position: absolute;
	display: block;
	top: 42%;
	left: 0;
	background-color: #BFBFBF;
	color: #444;
	width: 20px;
	height: 20px;
	padding-left: 5px;
	text-decoration: none;
	box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
}

li.previous a:hover:before{
	content: "\2192";
	position: absolute;
	display: block;
	top: 42%;
	right: 0;
	background-color: #BFBFBF;
	color: #444;
	width: 20px;
	height: 20px;
	padding-left: 5px;
	text-decoration: none;
	box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
}

/* for some reason the bs version currently available for download doesn't have this style */
.label{
	text-transform: uppercase;
}

blockquote.pull-left{
	padding-right: 15px;
}

#gform_1 input{
	margin-top: 9px;
	margin-bottom: 0;
}

.about-mobile {
	display: none;
}

.widget_adrotate_widgets h4 { display: none; }

/* partners grid */

.partners-area p,
.partners-area a {
	float: left;
	width: 100%;
	position: relative;
	height: 130px;
	text-align: center;
}

.partners-area a img {
	max-width: 100%;
	height: auto;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
}

/* submit your event form */

.page-id-1572 #gform_1 input[type="text"] {
	font-size: 15px;
	margin-top: 5px;
	margin-bottom: 15px;
	padding: 1em 0;
}

#input_1_4_3 {
	margin-top: 6px;
}

@media only screen and (max-width: 767px) {
	.container-wrapper {
		width: auto;
	}
	
	#header .container {
		padding-bottom: 0;
	}
	
	#branding {
		margin-bottom: 24px;
	}
	
	#branding .slogan{
		float: left;
		font-size: 25px;
		padding: 29px 15px 0 15px;
	}
	
	#header .carousel {
		margin-top: 0;
	}
	
	.page-template-page-homepage-php #main-menu .main-menu-item:hover{
		opacity: 1.0;
	}	
	
	#main-menu a{
		font-size: 18px;
	}

	#main-menu a span{
		padding: 9px 0 11px 16px;
	}	
	
	#main-menu a.small:first-child {
		margin-bottom: 0;
	}
	
	.mixed-block .text-content {
		padding: 15px 10px 15px 0;
	}
	
	.mixed-block .text-content p,
	.mixed-block .text-content p.lead{
		margin-bottom: 10px;
		font-size: 16px;
		line-height: 1.25;
	}
	
	.mixed-block .with-image{
		position: relative;
		padding: 15px 0 15px 0;
	}
	
	#footer {
		padding-top: 20px;
		padding-bottom: 40px;
	}
	
	#search-form {
		height: 65px;
		padding-left: 31px;
	}
	
	#search-form label {
		width: 20%;
		font-size: 18px;
		margin-top: 3px;
	}
	
	#search-form select {
		width: 20%;
		margin: 10px 10px 0 0;
	}
	
	#search-form input {
		width: 20%;
		margin: 10px 10px 0 0;
	}
	
	#search-form button {
		width: 6%;
		font-size: 18px;
		margin-top: 3px;
	}
	
	.single-stamford_event #main,
	.single-stamford_real_estate #main,
	.single-stamford-real-estate #main,
	.page-template-page-about-php #main,
	.page-template-page-what-to-do-events-php #main,
	.page-template-page-getting-around-internal-php #main,
	.page-template-page-business-resources-internal-php #main,
	.page-template-page-downtown-living-internal-php #main {
		margin-top: 0;
	}
	
	#submenu {
		height: auto;
		margin-bottom: 0;
	}
	
	.page-template-page-about-php #submenu ul li:hover,
	.page-template-page-about-php #submenu ul li.selected{
		background: #e8e8e8 url('images/submenu-arrows-green.png') 5% 50% no-repeat;
	}

	.page-template-page-what-to-do-php #submenu ul li:hover,
	.page-template-page-what-to-do-php #submenu ul li.selected,
	.page-template-page-what-to-do-events-php #submenu ul li:hover,
	.page-template-page-what-to-do-events-php #submenu ul li.selected{
		background: #e4ebb7 url('images/submenu-arrows-green.png') 5% 50% no-repeat;
	}

	.single-stamford_event #submenu ul li:hover,
	.single-stamford_event #submenu ul li.selected,
	.page-template-page-signature-events-php #submenu ul li:hover,
	.page-template-archive-stamford_event-php #submenu ul li:hover,
	.page-template-archive-stamford_event-php #submenu ul li.selected{
		background: #f6e5b5 url('images/submenu-arrows-orange.png') 5% 50% no-repeat;
	}

	.page-template-page-getting-around-php #submenu ul li:hover,
	.page-template-page-getting-around-internal-php #submenu ul li:hover,
	.page-template-page-getting-around-internal-php #submenu ul li.selected{
		background: #bed0d2 url('images/submenu-arrows-teal.png') 5% 50% no-repeat;
	}

	.single-stamford_real_estate #submenu ul li:hover,
	.single-stamford-real-estate #submenu ul li:hover,
	.single-stamford_real_estate #submenu ul li.selected,
	.single-stamford-real-estate #submenu ul li.selected,
	.page-template-page-business-resources-php #submenu ul li:hover,
	.page-template-page-business-resources-internal-php #submenu ul li:hover,
	.page-template-page-business-resources-internal-php #submenu ul li.selected,
	.page-template-page-business-resources-real-estate-php #submenu ul li:hover,
	.page-template-page-business-resources-real-estate-php #submenu ul li.selected{
		background: #bed0d2 url('images/submenu-arrows-teal.png') 5% 50% no-repeat;
	}

	.page-template-page-downtown-living-php #submenu ul li:hover,
	.page-template-page-downtown-living-internal-php #submenu ul li:hover,
	.page-template-page-downtown-living-internal-php #submenu ul li.selected{
		background: #bed0d2 url('images/submenu-arrows-teal.png') 5% 50% no-repeat;
	}
	
	#body .carousel,
	#body .ls-wp-container {
		position: relative;
		top: auto;
		margin-bottom: 18px;
	}
	
	#map {
		margin-bottom: 18px;
	}
	
	ul.locations-grid,
	ul.locations-grid li {
		margin-left: 0;
	}
	
	.about-mobile {
		display: block;
	}
}

@media only screen and (max-width: 480px) {
	#search-form {
		height: auto;
		padding-left: 31px;
	}
	
	#search-form label {
		float: none;
		width: 95%;
		font-size: 24px;
		margin-top: 5px;
		margin-bottom: 5px;
		text-align: center;
	}
	
	#search-form select {
		float: none;
		width: 95%;
		margin: 10px 10px 0 0;
	}
	
	#search-form input {
		float: none;
		width: 91%;
		margin: 10px 10px 0 0;
	}
	
	#search-form button {
		float: none;
		width: 95%;
		font-size: 24px;
		margin-bottom: 15px;
	}
	
	#main article .page-header h1 {
		font-size: 14px;
	}
	
	#main article .page-header h1 span a {
		font-size: 10px;
		padding: 3px;
	}
	
	form.grid-controls select {
		width: 100% !important;
		margin: 5px auto;
		clear: both;
	}
	
	form.grid-controls input {
		float: left !important;
		width: 85% !important;
	}
	
	#home-carousel,
	#what-to-do-carousel,
	#events-carousel,
	#getting-around-carousel,
	#downtown-living-carousel,
	#business-resources-carousel {
		display: none;
	}
	
	#map {
		padding: 25px;
	}
}

@media only screen and (min-width: 481px) and (max-width: 767px) {
	form.grid-controls .hits{
		font-size: 12px;
	}
	
	form.grid-controls select{
		width: 90px !important;
		margin: 0 0 0 4px !important;
	}
	
	form.grid-controls input{
		width: 80px !important;
	}
	
	form.grid-controls input.restaurants{
		width: 55px !important;
	}
}

@media only screen and (min-width: 768px) and (max-width: 979px) {
	#header{
		max-height:400px;
	}
	
	#header .container-wrapper{
		position: relative;
	}
	
	#header .carousel,
	#header .ls-wp-container {
		top:-231px;
	}
	
	#header .carousel-inner{
		position:relative;
		top:0;
	}
	
	.container-wrapper {
		width: 764px;
	}
	
	#branding .slogan{
		font-size: 18px;
		padding: 29px 15px 0 0;
	}
	
	#main-menu a{
		font-size: 25px;
	}
	
	#main-menu a span{
		padding: 9px 0 14px 12px;
	}
	
	.osx #main-menu a span{
		padding: 13px 0 10px 11px;
	}
	
	#main-menu a.small{
		font-size: 13px;
	}

	#main-menu a.small:first-child{
		margin-bottom: 7px;
	}

	#main-menu a.small span{
		padding: 10px 0 11px 12px;
	}
	
	#main-menu ul{
		padding: 0 0 5px 0;
	}
	
	#main-menu ul a{
		font-size: 12px;
		line-height: 1.45;
	}

	#main-menu ul a span,
	#main-menu .main-menu-item.small ul a span{
		padding: 2px 0 3px 13px;
	}
	
	#main-menu ul li:first-child a span,
	#main-menu .main-menu-item.small ul li:first-child a span{
		padding-top: 0;
	}
	
	#search-form select{
		width: 156px;
	}

	#search-form input{
		width: 134px;
	}	
	
	.mixed-block .text-content{
		padding: 25px 30px;
	}
	
	form.grid-controls .hits{
		font-size: 12px;
	}
	
	form.grid-controls select{
		width: 105px !important;
		margin: 0 0 0 7px !important;
	}
	
	form.grid-controls input{
		width: 80px !important;
	}
	
	.page-template-page-what-to-do ul.locations-grid li {
		width: 250px;
	}
}

@media only screen and (min-width: 980px) {
	#header{
		max-height:520px;
	}

	#header .container-wrapper{
		position: relative;
	}
	
	#header .carousel,
	#header .ls-wp-container {
		top:-231px;
	}
	
	#header .carousel-inner{
		position:relative;
		top:0;
	}

	#inner-footer{
		padding: 0;
	}
	
	#content{
		padding-left: 0;
		padding-right: 0;
	}
	
	#main-menu ul{
		top: 85px;
	}
	
	#main-menu .main-menu-item.small ul{
		top: 39px;
	}
	
	.sidebar{
		margin-top: 0 !important;
	}
	
	.footer-imagemark p {
		margin-bottom: 0;
	}
	
	.page-template-page-what-to-do ul.locations-grid li {
		width: 216px;
	}
}

@media only screen and (min-width: 1200px) {
	#header{
		max-height:555px;
	}
	
	.container-wrapper {
		width: 1040px;
	}
	
	#search-form input{
		width: 214px;
	}
	
	.page-template-page-what-to-do ul.locations-grid li {
		width: 231px;
	}
}

@media print {
	#header {
		margin: 0 0 35px 0 !important;
	}
	
	#main {
		margin-top: 0 !important;
	}
	
	#body .carousel {
		position: relative;
		top: 0;
		right: 0;
	}
	
	#main-menu,
	#submenu,
	.addthis_toolbox addthis_default_style,
	.tweet_iframe_widget,
	.fb_iframe_widget,
	#footer,
	#rebelmouse-embed-iframe {
		display: none !important;
	}
	
	ul.locations-grid,
	ul.locations-grid li {
		clear: both;
		float: left;
		width: 95%;
	}
	
	ul.locations-grid.row {
		page-break-after: always;
		page-break-inside: avoid;
	}
	
	ul.locations-grid li {
		margin-bottom: 45px;
		padding-bottom: 15px;
	}
	
	ul.locations-grid li h2,
	ul.locations-grid li h3 {
		float: left;
		width: 90%;
	}
	
	.page-template-page-business-resources-real-estate-php ul.locations-grid li {
		height: auto;
	}
	
	ul.locations-grid .location-image a {
		display: block;
	}
	
	ul.locations-grid .location-image img {
		max-height: 300px;
		width: auto;
	}
}
#the-canvas {
  width: 300px;
  height: auto;
}
