pre{font-family:"adobe-caslon-pro",serif}#topnav .subnav_nested li a:hover, #topnav .subnav li a:hover, #topnav .subnav_nested li.selected a, #topnav .subnav li.selected a{background-color:#999999}.content .aside p{font-size:100%}.address h4{font-size:170%}#bottomnav .mainnav a{font-size:100%;font-family:"freight-sans-pro",sans-serif}h2{font-size:200%;font-family:"adobe-caslon-pro",serif;font-style:normal}h3{font-size:180%;font-family:"adobe-caslon-pro",serif;line-height:115%;font-style:normal}#logo .headerlinks a{font-family:"freight-sans-pro",sans-serif}.lead h2 a{color:#4f4e4e}#tabs.ui-tabs .ui-tabs-nav li h2 a{font-family:"adobe-caslon-pro",serif}h4{font-size:110%;font-family:"adobe-caslon-pro",serif;font-style:normal}h5{font-family:"adobe-caslon-pro",serif}.ui-datepicker .ui-datepicker-header{background:#333333}#topnav .mainnav li > a:hover, #topnav .mainnav li.selected > a, #topnav .subnav_nested li a, #topnav .subnav li a{background-color:#333333}#topnav .subnav a{font-size:100%}.ui-state-default.ui-state-hover, .ui-state-default.ui-state-active{background:#4f4e4e}#bottomnav .textnav{font-family:"freight-sans-pro",sans-serif}.sectiontitle h1 a{color:#4f4e4e}p.date{font-size:90%}#topnav .mainnav li > a{color:#4f4e4e}.ui-datepicker .ui-datepicker-header, a.toggle_view{background-color:#333333}html{background-repeat:no-repeat}.content p{margin-bottom:2%}#bottomnav{font-weight:normal}body{font-family:"adobe-caslon-pro",serif}h4.event_title{font-size:170%}h1{font-size:220%;font-family:"adobe-caslon-pro",serif;font-style:normal}a.listing_but, a.reset, a.submit_event, #location a.link, button, input.button, .roundup_marker, .roundup-location .number{background:#4f4e4e}#topnav{font-weight:normal}.tagcloud a, .tags a{background-color:#999999}p.credits{font-size:80%}.content li{font-size:100%;font-family:"adobe-caslon-pro",serif;line-height:140%}.text h2 a{color:#4f4e4e}.sprocket_multiblog li h4 a{color:#4f4e4e}#topnav a{font-family:"freight-sans-pro",sans-serif}p.tag-cloud-list{font-size:100%}a{color:#999999}.content blockquote p{font-size:130%;border-left-color:#4f4e4e}h3 a{color:#4f4e4e}p.infos{font-size:90%}.sectiontitle h1{font-family:"freight-sans-pro",sans-serif}#textnav{font-weight:normal}#topnav .mainnav a{font-size:120%}#title h1 a{color:#4f4e4e}p{font-size:100%;font-family:"adobe-caslon-pro",serif;line-height:140%}h4 a{color:#4f4e4e}.location_listing_result.featured, .event_result.featured{border-color:#4f4e4e}#bottomnav .subnav_nested a{color:#333333}#topnav .mainnav > .subnav_nested a{font-size:100%}@media only screen and (max-width:48em){#topnav a:hover, #topnav .subnav a, #topnav .subnav_nested a{background-color:#4f4e4e}#logo .chicklets, .header_links{background:#333333}p.lead{font-size:130%}}/******************************************/
/** LETTER SPACING, COLORS & LINE HEIGHT **/
/******************************************/

a { color: #ce1337 }
.sectiontitle { width: 100%; top: 0; right: 0; left: 0; text-align: center; background: transparent url("sectitle_bgd.gif") no-repeat center center; margin: 0; padding: 2.1em 0 }
.sectiontitle>h1 { display: inline; color: #ce1337; text-transform: uppercase; letter-spacing: .05em; padding: 0 1em; background: #fff }

h3 a, h4.event_title+a {
  color: #231f1f; /* general override of bright red h3's with near-black */
}

.tagcloud a, .tags a {
  color: #ce1337;
  background: transparent;
  border-radius: 0;
  font-family: "freight-sans-pro", sans-serif;
  text-transform: uppercase;
  margin: .7em 0;
  padding: 0 .5em 0 .25em;
  border-right: 1px solid #ccc;
  line-height: 1em;
}
.tagcloud a:last-child, .tags a:last-child { border-right: none }

.tagcloud a:hover, .tags a:hover {
  background: transparent;
  color: #231f1f
  }
  
  a.listing_but,
  a.reset, a.submit_event,
  a.view_map, a.toggle_view,
  #location a.link, a.view_more, button,
  input.button,
  .roundup_marker,
  .roundup-location .number {
  color: #ce1337;
  background: transparent;
  font-family: "freight-sans-pro", sans-serif;
  border-radius: 0;
  text-transform: uppercase;
  padding: 0 .5em 0;
  font-size: 1em;
  }

a.view_more { padding: 1em; font-size: 1em; font-weight: 600 }
  
.sprocket_directory_search button.submit, .sprocket_location_search button.submit { width: auto }
#CSE { top: 1em; right: 1em }
#CSE button.submit { color: #fff }
#calendar, #cal_container { font-family: "freight-sans-pro", sans-serif }
#tabs.ui-tabs .ui-tabs-nav li h2 { font-weight: normal }
#tabs.ui-tabs .ui-tabs-nav li h2 a { font-family: "freight-sans-pro", sans-serif; text-transform: uppercase; line-height: 190% }

/* .carousel.teaser */ div.text h2 a {  /* title text under main homepage image */
  color: #231f1f;
  font-weight:500;
}

.carousel.teaser div.text p { /* description text under main homepage image */
  color: #231f1f;
  line-height: 29px;
}

#main .sprocket .title h3, h4.event_title a {  /* all caps red section grouping title */
  color: #ce1337;
}

h4.event_title a {
	font-weight: 600;
	}

#main .sprocket li h4 a { /* heading for article listing on homepage */
  line-height: 32px;
  color: #231f1f;
}

#main .sprocket li p.description { /* description for article listing on homepage */
  line-height: 20px;
  color: #231f1f;
}

#main .sprocket li p.description a.more_link,
#main #features p.description a.more_link { /* more... link in description */
  color: #ce1337;
}

#side .sprocket {
  margin-bottom: 50px;
}

.sprocket_eventcal h3 { /* Calendar widget title */
  color: #474445;
  letter-spacing: -1px;
}

.sprocket_eventcal ul.tabbernav li a { /* Calendar day-of-week text */
  color: #231f1f;
  padding: 0;
}

.sprocket_eventcal ul.tabbernav li.tabberactive a { /* active Calendar day-of-week text */
  color: #ffffff;
}

#side .sprocket_eventcal h4.event_header,
#side .sprocket_eventcal p.event_date,
#side .sprocket_eventcal a.event_title,
#side .sprocket_eventcal p.event_location a { /* Calendar event text */
  color: #231f1f;
}

.sprocket_eventcal p.event_category { /* Calendar event category */
  color: #ce1337;
}

#bottomnav .mainnav li>a { /* footer nav */
  letter-spacing: 1px;
}

#main header #title h1 a { /* title of article (detail view) */
  color: #231f1f;
}

#main header #pageinfos .date { /* date of article (detail view) */
  color: #959799;
}

div#sectionlead {
  max-width: 640px; /* make sure any featured story on a section only gets as wide as 640px (left|main column) */
}

#sectionlead .lead .image {
  background: none;
}

#sectionlead .lead .text {
  position: relative;
  bottom: auto;
  padding: 2em 0;
}

a.more_link, a.view_more {
  color: #ce1337;
}

/*****************/
/** GENERAL CSS **/
/*****************/

body {
  font-family: "adobe-caslon-pro", sans-serif;
}

#body { /* get rid of excess margin around page */
  width: 100%;
  max-width: 100%;
  margin: 0px;
}

h1, h2, h3, h4 {
  font-weight: 700;
}

.content h2 { 
  	line-height: 130%;
  	font-weight: 600;
  	font-size: 185%;
    margin-bottom: .5em;
	}

.lead .text h2 {
  font-size: 220%;
	}

.feature h3 {
  	font-weight: 500;
  	line-height: 120%
	}

a:hover {
  text-decoration: none;
}

#pagetype_homepage #features { 
  display: none; /* hide 'features' text on homepage */
}

h5, label, form label p {
  font-family: "freight-sans-pro", sans-serif;
  font-size: 1em;
  }

.content q, .content mark { font-family: "freight-sans-pro", sans-serif; display: inline-block; margin: 0 2em }

.content blockquote p { border-left: 0 }

/**********/
/** MISC **/
/**********/

#___gcse_0 { max-width:650px !important; } /* fix the width on google custom search to stay where it belongs - 28Apr2015 - tjones */

/* google custom search engine input box - 28Apr2015 - tjones */
#CSE input {
  background: #fff url("/downloads/31810/download/Mag-Glass-Flat25x25.png") no-repeat left !important;
}

#CSE input:focus { background-color: #ffffff !important; }

a.chicklets .rss,
/*#breadcrumbs,*/
#bottompageinfos,
#comments,
/*#related,*/
/*#CSE,*/
#main .features_wide .RSS_link,
#main .features_wide h2,
.thumb .credits, .feature .image .credits,
.share .RSS_link, .share .print {
  display: none; /* hide various cluttering verbiage */
}

a.submit_event { display: none; }

#topnav a {
  font-family: "freight-sans-pro", sans-serif;
  text-transform: uppercase;
}

p.infos * {
  font-style:normal;
}

/* make media asides narrower */
.media-aside { max-width: 30% }
.media-aside .gallery_slide img { width: 100% }

/* related links  - took out images and changed display to block - 28Apr2015 tjones */
#related li { width: auto; display: block; clear: left; margin-top: .5em; }
#related li h4 { font-family: "adobe-caslon-pro", serif; font-size: 1.3em; line-height: 1.4em; font-weight: 600 }
#related li h4 a { color: #ce1337; }
#related li .image, #related li .description, #related li .infos { display: none; }
#related { border-top: none; padding: 0; margin-top: 0; }
#related h3 {text-transform: uppercase; font-size: 2.0em; font-family: "freight-sans-pro", sans-serif; font-weight: 600; padding-top: 1em; border-top: 1px solid #ce1337;}
/* end related links */
/* breadcrumbs - cleaned 'em up - 28Apr2015 - tjones */
#breadcrumbs { 
  padding: .5em 0; 
  background: transparent; 
  float: none;
  margin: 0 auto; /* IE fix */
  width: 1060px;   /* IE fix */
}
#breadcrumbs a { display: inline-block; margin: 0; text-transform: uppercase; font-family: "freight-sans-pro", sans-serif; }
#breadcrumbs a:after { margin-left: .2em; border-bottom: none; border-left: none; border-top: none; }
#breadcrumbs a, #breadcrumbs a:hover { background: transparent; text-decoration: none; }
#breadcrumbs a:hover:after { border-left: none; }
#breadcrumbs a:last-child { display:none; }
/* end breadcrumbs */

.infos .section, p.feats, p.cats {
  color: #ce1337;
  font-family: "freight-sans-pro", sans-serif;
  text-transform: uppercase;
}

p.infos { position: relative }
.feature p.infos, .entry p.infos { margin-top: .77em; }
p.infos * { font-family: "freight-sans-pro", sans-serif; font-style: normal; font-weight: 700; text-transform: uppercase }
p.infos .date:before { content:"|"; margin-right: .5em }
p.infos .date:after { content:"|"; margin-left: .5em }
p.infos span.authors { float: left; margin: 0 0.5em 0 0; height: auto }
p.infos span.authors:before { content: "BY "}
p.infos .section { background: transparent; margin-left: .25em; }
p.infos .section a { text-decoration: none }
p.infos span.date { font-weight: 400 }
.feature .section, .entry .section { position: relative; padding: 0 }
.infos .comments_count { margin-left: 3px; display: inline-block }
.more_div { text-align: center }

#pagetype_homepage p.infos { margin-top:0.8em; font-family: "freight-sans-pro", sans-serif; }  /*give more byline/date/section spacing on home page */

.thumb { padding-bottom: 20px; }

.content hr { margin-bottom: 1em; border-width: 1px 0 0 0 }
 
/*.infos .authors {
  display:none;
}*/

#location .loc_feats { width: 100%; padding: 0; margin: 1em 0 0 }
#location .loc_feats label { display: inline }

/* layout changes for event search list page */
.results .event_info, .results .event_result .details { width: 100%; margin: .5em 0 } /* make divs stack vertically */
h4.event_title { font-weight: normal; font-family: "freight-sans-pro", sans-serif; margin-bottom: .25em } /* location next to event title */
#pagetype_eventsearch #side #googlemap { display: none !important } /* hide small map */
#pagetype_eventsearch #mpu_right { position: absolute; top: 330px }
#pagetype_eventsearch #categories { margin-top: 270px }
.results .address { width: 50% }
.results .location_result .details { width: calc(50% - 1.1em) }

/*************************/
/** SIDE (RIGHT) COLUMN **/
/*************************/
#side .sprocket .title h3 {
  font-family: "freight-sans-pro",sans-serif;
  font-weight: 600;
  color: #231f1f;
}

.sprocket_eventcal { /* THE GUIDE calendar in sidebar */
  border: 0;
  text-align: left;
  background: #ffffff;
}

.sprocket_eventcal { /* THE GUIDE calendar in sidebar */
  border-bottom: 1px solid #231f1f;
}

#side .sprocket_eventcal .title h3 {
  font-family: "adobe-caslon-pro", serif;
  }
  

.sprocket_eventcal h3 { /* THE GUIDE calendar in sidebar */
  font-size: 42px;
  margin-bottom: 0;
}

.sprocket_eventcal ul.tabbernav { /* THE GUIDE calendar in sidebar */
  margin-bottom: 15px;
}

.sprocket_eventcal ul.tabbernav li { /* THE GUIDE calendar in sidebar */
  display: inline-block;
  background: #f3f4f5;
  width: 35px;
  padding: 13px 1px;
  border-radius: 20px;
  margin: 0 2px;
}

.sprocket_eventcal ul.tabbernav li:hover { /* THE GUIDE calendar in sidebar */
  background: inherit;
}

.sprocket_eventcal ul.tabbernav li.tabberactive { /* THE GUIDE calendar in sidebar */
  background: #ce1337;
}

.sprocket_eventcal ul.tabbernav li a { /* THE GUIDE calendar in sidebar */
  text-transform: uppercase;
  font-family: "freight-sans-pro", sans-serif;
  font-weight: 600;
}

.sprocket_eventcal .event_list p.event_date { /* THE GUIDE calendar in sidebar */
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  margin-top: 8px;
  margin-bottom: 3px;
}

.sprocket_eventcal .event_list { /* THE GUIDE calendar in sidebar */
  border-top: 1px solid #231f1f;
}

.sprocket_eventcal  div.event_list li { /* THE GUIDE calendar in sidebar */
  position: relative;
  padding: 21px 0 28px;
}

.sprocket_eventcal .event_list p.event_category { /* THE GUIDE calendar in sidebar */
  font-family: "freight-sans-pro",sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  position: absolute;
  bottom: 0;
}

.sprocket_eventcal .event_list li a.event_title { /* THE GUIDE calendar in sidebar */
  font-family: "freight-sans-pro",sans-serif;
  font-weight: 600;
  font-size: 21px;
  text-transform: uppercase;
}

.sprocket_eventcal .event_list li p.event_location { /* THE GUIDE calendar in sidebar */
  font-size: 16px;
  text-align: inherit;
}

.sprocket_eventcal .event_header,
.sprocket_eventcal .event_date,
.sprocket_eventcal .foot { /* THE GUIDE calendar in sidebar */
  display: none;
}

.sprocket_eventcal .event_list .event_date{
  display: block;
}

.sprocket_manuallist li h4,
.event_list li h4,
.mentions_list li h4 {
  font-size: 130%;
  }
.event_list li,
.mentions_list li {
  padding: 1em 0 .75em;
  }

/************************/
/** MAIN (LEFT) COLUMN **/
/************************/

#main .sprocket {
  margin: 0;
  border: 0;
}

#main .sprocket_image {
  padding: 0 0 35px;
}

#main .sprocket_image img { /* feature article image limited in size */
  max-width: 550px;
}

#main .sprocket_manuallist li { /* article listings */
  border: 0;
  padding: 0 0 50px;
}

#main #title h1 { 
  font-size: 36px;
  font-weight: 400;
  line-height: 120%;
}

#pagetype_event #title h1 { font-family: "freight-sans-pro", sans-serif; }

.inline .sprocket .title h3 { /* all caps red section grouping title */
  font-family:"freight-sans-pro",sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 22px;
}

.inline .sprocket .highlight .thumb { /*crop/center img */
  text-align: center;
  overflow: hidden;
}

.inline .sprocket_manuallist .thumb, .feature .image, .entry .image {
    width: 31%;
    margin-right: 2.2em;
    max-height: 12em;
    overflow: hidden;
    }

p.infos {
    clear:right;
    }

.feature, #features .feature:first-child {
    padding: 1.4em 0; 
    }


#main .sprocket li h4 { /* article listing title */
  margin-bottom: 2px;
}

#main .sprocket li h4 a { /* article listing title (link) */
  font-family: "adobe-caslon-pro", serif;
  font-size: 28px;
  font-weight: 500;
}

p.description, h4.event_title+a { /* article listing description */
  font-family: "freight-sans-pro",sans-serif;
  font-size: 15px;
}

.lead .text p.description {
  font-size: 18px;
	}

#eventinfos p { 
	font-size: 115%;
	font-family: "freight-sans-pro",sans-serif;
	}
	
#main .slot { /* near-black line below main column of homepage */
  border-bottom: 1px solid #231f1f;
}

#title { /* article title in detail view */
  margin-top: 2.5em;
}

.tools .share { display: inline-block }

#main header #pageinfos { /* date in article detail view */
  margin-top: 10px;
}

#main header #pageinfos .date { /* date in article detail view */
  font-family: "freight-sans-pro", sans-serif;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
}

#main .subtitle {
  font-family: "freight-sans-pro", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 19px;
}

#main .pageinfos .author a {
  font-family: "freight-sans-pro", sans-serif;
  font-weight:500;
  text-transform: uppercase;
}

#main .credits{ /* photo credit */
  font-family: "freight-sans-pro", sans-serif !important;
  font-weight:500;
  font-size: 13px !important;
  text-transform: uppercase;
  color: #999999;
  position: inherit;
  text-align: right;
  bottom:0;
  left:0;
}

#content .media-content p { /* photo caption */ /* font size edited by JK 4-9-15 */
  font-family: "freight-sans-pro", sans-serif;
  font-weight:500;
  font-size: 16px;
  text-transform: none; 
  color: #666;
}

.content p, .content li { /* body of article in detail view */
  font-family: "adobe-caslon-pro", serif;
  font-size: 18px;
  color: #454545;
}

#abouttag .content p { 
	font-family: "freight-sans-pro", sans-serif;
	}

#content .media-carousel { /* unnecessary line below image in article detail view */
  border: 0;
}

/************/
/** FOOTER **/
/************/

#bottom { /* footer */
  color: #ffffff;
  background: #231f1f;
  margin: 250px 0 0;
  padding: 10px 0 30px;
}

#bottomnav, #textnav { /* remove lines around footer text */
  border: 0;
}

#bottomnav .mainnav li { /* space between footer nav items */
  padding: 0 8px;
}

#bottomnav .mainnav li>a { /* footer nav link styling */
  color: #fff;
  padding: 0;
  font-size: 11px;
  font-weight: 600;
}


#bottomnav .mainnav li.menu_section_home a { /* image for isthmus (home page) nav link in footer, off to left */
  display: block;
  position: absolute;
  left: 10px;
  width: 102px;
  height: 24px;
  margin-top: -4px;
  text-indent:-9999px;
  overflow:hidden;
  background-image: url('logo-footer.png');
  background-size: contain;
}

#bottomnav .mainnav li.menu_section_home a,
#bottomnav .mainnav li.menu_section_wisgo a { /* hide the Wisgo nav link in the footer */
  display: none;
}

#textnav { /* social media icons/links in footer */
  margin: 4em 0;
}

#textnav li a { /* hide text of social media links in footer (leaving the icon images in background) */
  padding: 0;
  height: 30px;
  width: 30px;
  background: url('socialmedia_icons.png') no-repeat;
  border-radius: 50%; -moz-border-radius: 50%; -webkit-border-radius: 50%;
  text-indent:-9999px;
  overflow:hidden;
  margin-right: 8px;
}

#textnav ul a[href*="facebook.com"] {
    background-position: 0 0;
    }
#textnav ul a[href*="twitter.com"] {
    background-position: -38px 0;
    }
#textnav ul a[href*="youtube.com"] {
    background-position: -76px 0;
    }
#textnav ul a[href*="soundcloud.com"] {
    background-position: -114px 0;
    }
#textnav ul a[href*="instagram.com"] {
    background-position: -152px 0 ;
    }
#textnav ul a[href*="flickr.com"] {
    background-position: -190px 0;
	}
#textnav ul a:hover[href*="facebook.com"] {
    background-position: 0 -30px;
    }
#textnav ul a:hover[href*="twitter.com"] {
    background-position: -38px -30px;
    }
#textnav ul a:hover[href*="youtube.com"] {
    background-position: -76px -30px;
    }
#textnav ul a:hover[href*="soundcloud.com"] {
    background-position: -114px -30px;
    }
#textnav ul a:hover[href*="instagram.com"] {
    background-position: -152px -30px;
    }
#textnav ul a:hover[href*="flickr.com"] {
    background-position: -190px -30px;
	}

#textnav ul a[href$=".rss"] { background: url("/downloads/31877/download/rss_round_red.png") }
#textnav ul a:hover[href$=".rss"] { background: url("/downloads/31878/download/rss_round_white.png") }

#bottom #textnav ul .menu_section_end a { /* no spacing to right of last social media link */
  margin: 0;
}

/*************/
/** DESKTOP **/
/*************/

@media only screen and (min-width: 769px) { /* media query for desktop resolutions */

  /********************************************************************/
  /** TOP AD PLACEHOLDER (ToDo: remove these when actual ads placed) **/
  /********************************************************************/
  
  #topads {
    margin-bottom: 15px;
  }
  
  #topads #topad1 {
    display: block;
    float: none;
  }
  
  #topads .topad1 {
    margin: 0 auto;
    width: 960px;
    height: 90px;
  }
  
  #leaderboard_nav, #leaderboard_top, #leaderboard_bottom { max-width: 971px; overflow: visible }
  
  #wallpaper_left { left: calc(50% - 690px) }
  #wallpaper_right { right: calc(50% - 690px) }
  #wallpaper_left.wallpaper, #wallpaper_right.wallpaper { top: 320px; position: absolute }
  .wallpaper_fixed { top: 50px }
  
  /********************/
  /** LOGO & NAV BAR **/
  /********************/

  #top {
    margin: 0px;
  }
  
  #logo {
    background-color: #ce1337; /* red background behind logo */
    text-align: center;
    padding: 40px 0px 13px;
  }
  
  .logo a img.standard {
    display:initial;
    margin: 0 auto; /* center logo */
  }
  
  #topnav {
    height: 50px;
    background-color: #ce1337;
    text-align: center;
  }
  
  #topnav .mainnav {
    position: relative;
    border: none;
    display: block; /* couldn't be inline-block due to IE lack of centering */
    width: initial;
    float: none;
    margin: 0 auto; /* IE fix */
    width: 769px;   /* IE fix */
  }
  
  #topnav .mainnav>li { /* each nav item */
    display: inline-block;
    padding: 0px 8px;
  }
  
  #topnav .mainnav li>a { /* text decoration of main nav links */
    letter-spacing: 1px;
    color: #fff;
    background:transparent;
    padding: 0px;
    line-height: 50px;
    font-size: 11px;
    font-weight: 600;
  }
  
  #topnav .mainnav li > a:hover, 
  #topnav .mainnav li.selected > a {
    background-color: inherit; /* override CMS background color changes on activity -- was inherit */
  }
  
  #topnav .mainnav li:hover>ul {
    opacity: .95; /*.85*/
  }
  
  #topnav .subnav_nested li {
    padding: 0 10px;
  }
  
  #topnav .subnav_nested li:hover {
    background: #eee;
  }
  
  #topnav .mainnav li.menu_section_home a { /* Isthmus home page link image that appears in fixed nav when page is scrolled down */
    display: block;
    position: absolute;
    left: 10px;
    width: 108px;
    margin-top: 12px;
    text-indent:-9999px; /* hide text */
    overflow:hidden; /* hide text */
    background-image: url('isthmus-logo.png'); /* use image */
    background-size: contain;
    transition: opacity .4s ease-out; /* fade in image on scroll down */
    opacity: 0; /* initially hidden */
    height: 0; /* initially hidden */
  }
  
  /* slight offset to 1st nav item,
     as "Isthmus" image link is wider
     than "WisGo" on the other side */
  #topnav .mainnav li.menu_section_news {
    margin-left: 120px;  
  }
  
  #topnav .mainnav li.menu_section_wisgo a { /* WisGo image link in nav (on right) */
    display: block;
    position: absolute;
    right: 15px;
    width: 48px;
    height: 19px;
    margin-top: 14px;
    text-indent:-9999px; /* hide text */
    overflow:hidden; /* hide text */
    background-image: url('WisGo.png');
    background-size: contain;
  }

  #topnav.active .mainnav li.menu_section_home a { /* JS used to assign "active" when scrolled down far enough */
    opacity: 1; /* show Isthmus home link img on left when page is scrolled down (vs. the giant Isthmus image at center top) */
    height: 24px;
  }
  
  #topnav.active { /* JS used to assign "active" when scrolled down far enough */
    position: fixed; /* fixed nav bar when scrolling down */
    top: 0;
    z-index: 100;
  }
  
  /* sub nav background */
  #topnav .mainnav .subnav_nested {
    background: #fff;
  }
  
  /* sub nav color */
  #topnav .mainnav .subnav_nested li>a {
    color: #ce1337;
  }
  
  
  
  /*************************/
  /** CAROUSEL FULL WIDTH **/
  /*************************/
  
  #pagetype_homepage #main { /* the !important tags are needed to counter several media queries from the CMS CSS at intermdediate widths */
    padding: 0;
    margin: 0 -375px 0 0; /* create space for right col to occupy */
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  #pagetype_homepage #side {
    position: relative; /* so sits atop #main */
    margin-top: 550px;
  }

  .carousel.teaser {
    width: 100%;
    position: relative;
    left: 0;
    margin: 50px 0 30px;
    border: none;
    padding-bottom: 45px;
    /*remove the following when full-width image is used */
    border-bottom: 1px solid rgba(0,0,0,.25);
  }

  .carousel.teaser .carousel-item {
    margin: 0;
  }

  .carousel.teaser .image { /* since the image isn't a background, we use JS to center it appropriately/proportionately */
    margin: 0 auto;
    max-height: none;
    overflow: hidden;
    max-width: 960px; /* limit image width to 960 */
    /* when the JS sizes/centers the image, we animate the movements for smooth experience */
    -webkit-transition: max-width .5s ease-out;  /* Saf3.2+, Chrome */
    -moz-transition: max-width .5s ease-out;  /* FF4+ */
    -ms-transition: max-width .5s ease-out;  /* IE10? */
    -o-transition: max-width .5s ease-out;  /* Opera 10.5+ */
    transition: max-width .5s ease-out;

    /*remove the following when full-width image is used */
    max-width: 672px; /* also need to uncomment JS */
    float:left;
  }

  .carousel.teaser .image img {
    /*width: 100%;
    height: 400px; this is distorting images */
    /* when the JS sizes/centers the image, we animate the movements for smooth experience */
    -webkit-transition: margin-top .5s ease-out;  /* Saf3.2+, Chrome */
    -moz-transition: margin-top .5s ease-out;  /* FF4+ */
    -ms-transition: margin-top .5s ease-out;  /* IE10? */
    -o-transition: margin-top .5s ease-out;  /* Opera 10.5+ */
    transition: margin-top .5s ease-out;
  }

  .carousel.teaser .text { /* text below the main homepage article image */
    position: relative;
    margin: 0 100px;
    height: 250px;
    padding-top: 28px;
    max-height: none;
    min-height: none;
    border-bottom: 1px solid #333333;
    width: auto;

    /* text next to the main homepage article image -- remove the following when full-width image is used */

    margin:0 50px;
    padding:45px 0 0;
    border-bottom:none;
    width: 230px;
    float:left;
    background: #fff;
  }

  .carousel.teaser div.text h2 {
    text-align: center;
    font-size: 32px;
  }

  .carousel.teaser div.text p {
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
  }
   .carousel.teaser nav {
	top: 1em;
  }

  /**********/
  /** MISC **/
  /**********/
  
  div[id^="pagetype_"] { /* keep content to manageable width when browser is wide */
    max-width: 1050px;
    margin: 0 auto;
  }
  
  div[id^="pagetype_"]:after { /* clear floats at end of page */
    content: " ";
    display: block; 
    height: 0; 
    clear: both;
  }
  
 #main, #pagetype_homepage #main, #pagetype_section #main, #pagetype_subsection #main {
    width: 100%;
    padding: 0;
    margin: 0 -375px 0 0;
    max-width: none;
  }

  #features, #inline, .bottom_text, #searchform, .pagination, .results, .alpha_search  {
    max-width: 50em; /* right margin for fixed right col (#side)  -- was 0 400 0 50 */
    width: auto;
  }
  
  #side {
    padding-top: 7em;
    margin: 0 50px 0 25px;
    width: 300px;
    min-width: 300px;
    position: relative;
  }
  
  #top.active {
    padding-bottom: 4em; /* for the fixed nav when scrolling */
  }
  
  /* exceptions for content and locations */
    #pagetype_article #main, #pagetype_event #main, #pagetype_location #main, #pagetype_page #main, #pagetype_tags #main {
    max-width: 50em;
    width: auto;
    margin: 0;
    }
    
  #pagetype_article #side, #pagetype_event #side, #pagetype_location #side, #pagetype_page #side, #pagetype_tags #side {
    padding-top: 2.5em;
    }
  
    /* sections and subsections */
  .lead .image {
    margin: 0 auto;
    max-height: 480px;
    overflow: hidden;
    max-width: 960px; /* limit image width to 960 */
    /* when the JS sizes/centers the image, we animate the movements for smooth experience */
    -webkit-transition: max-width .5s ease-out;  /* Saf3.2+, Chrome */
    -moz-transition: max-width .5s ease-out;  /* FF4+ */
    -ms-transition: max-width .5s ease-out;  /* IE10? */
    -o-transition: max-width .5s ease-out;  /* Opera 10.5+ */
    transition: max-width .5s ease-out;

    /*remove the following when full-width image is used */
    max-width: 672px; /* also need to uncomment JS */
  }

 .lead .image img {
    width: 100%;
    height: 480px;
    /* when the JS sizes/centers the image, we animate the movements for smooth experience */
    -webkit-transition: margin-top .5s ease-out;  /* Saf3.2+, Chrome */
    -moz-transition: margin-top .5s ease-out;  /* FF4+ */
    -ms-transition: margin-top .5s ease-out;  /* IE10? */
    -o-transition: margin-top .5s ease-out;  /* Opera 10.5+ */
    transition: margin-top .5s ease-out;
  }

  #mpu_right,  #side #googlemap {
    margin-bottom: 2em;
  }
  
.sectionpaging { top: 1em }
.sectionpaging a { width: 40px; height: 40px }
.sectionpaging .prev a, .sectionpaging .next a { background-size: cover }
.sectionpaging .next a { background-position: -40px 0 }

.carousel.media .file,
.carousel.media .youtube,
.carousel.media .vimeo,
.carousel.media .soundcloud,
.carousel.media .cdn-video,
.carousel.media .cdn-audio,
.carousel.media .embed, .carousel.media .media-options { max-width: 100% }

.carousel.media .file img { width: 100% }

.media-carousel.clicked:not(.single) .media-content { position: relative; top: 0; left: 0; min-height: 0; max-height: none }
.media-options a.open-slideshow { display: none }


} /** end desktop **/

/***********************************/
/** SPECIAL CASE FOR DESKTOP>1050 **/
/***********************************/

@media only screen and (min-width: 960px) { /* media query for desktop resolutions */
  
  #topnav .mainnav {
    width: 1050px;   /* 1050 IE fix */
  }

  #topnav .mainnav li { /* each nav item */
    padding: 0px 10px;
  }

  #topnav .mainnav li>a { /* text decoration of main nav links */
    letter-spacing: 3px;
  }

  /* offset to 1st nav item, as "Isthmus" image link
     is wider than "WisGo" on the other side */
  #topnav .mainnav li.menu_section_news {
    margin-left: 210px; /* 130 */
  }
}

@media only screen and (max-width: 1038px) and (min-width: 769px) {
 div[id^="pagetype_"] { /* keep content to manageable width when browser is wide */
    margin: 0 .77em;
  }
 
  .carousel.teaser {
    padding-bottom:0;
  }

  .carousel.teaser .text {
    text-align:center;
    position: static;
    top: auto;
    width: 80%;
    margin:0 auto;
    height: 170px;
    padding-top:25px;
    float: none;
  }
  
  .carousel.teaser .image {
    display:block;
    float: none;
    max-height: 420px;
    max-width: 960px;
  }

  #side {
     margin: 0
     }
     
  #pagetype_homepage #side {
    margin-top: 615px;
  }

  #features, #inline, #pagetype_homepage #inline, .bottom_text, #searchform, .pagination, .results, .alpha_search,
  #pagetype_article #main, #pagetype_event #main,
  #pagetype_location #main, #pagetype_page #main, #pagetype_tags #main  {
    max-width: 60%;
    max-width: calc(100% - 320px); 
  }
  
  #eventinfos { width: auto }

}

/************/
/** MOBILE **/
/************/

@media only screen and (max-width: 768px) { /* media query for tablet/mobile devices */
  
  /*#breadcrumbs { display: none; }*/
  #breadcrumbs { display: inline; font-size: 0.45em; padding-top:0.4em; line-height:.5em; } /*allow breadcrumbs to wrap on mobile portrait - 28Apr2015 - tjones */
  
  div#mpu_right {
    margin-bottom: 2.0em;
    text-align:center;
  } /* center rectangle ad and give some whitespace on bottom ??Mar2015 - tjones*/
  
  #page {
    padding-top: 0;
  }
  
  #top {
    margin-top: 0;
    padding-bottom: 0;
  }
  
  .logo {
    background: #ce1337; /* red background behind logo */
    padding: 25px 0;
  }
  
  .logo a[rel="home"] img { /* logo kept to natural size */
    width: 80%; /* auto */
    margin: 0 auto;
  }
  
  #topnav .mainnav{
    border: 0;
  }
  
  #topnav a.pull,
  #topnav a.pull:hover { /* "menu" text */
    background-color: #231f1f;
    font-family: "freight-sans-pro", sans-serif;
    font-weight: 600;
    color: #fff;
  }
  
  #topnav li {
    border-top: 0;
  }
  
  #topnav .mainnav li > a { /* mobile nav items when expanded */
    font-family: "freight-sans-pro", sans-serif;
    font-weight: 600;
    color: #ce1337;
  }
  
  #CSE.mobile { top: 0; right: 0; margin-bottom: 1em; padding: .5em 0; width: 99%; background: #efefef }
  
  #CSE.mobile form { text-align: center }
  
  #CSE.mobile input { width: 80%; }
  
  .carousel.teaser .text {
    text-align:center;
    position: static;
    top: auto;
  }
  #eventinfos { 
  	width: 100%;
  	}
  	
  #main .sprocket_image {
    display: block;
  }
  .inline .sprocket_manuallist .thumb, .feature .image, .entry .image {
    width: 50%;
    margin-right: .5em;
    }
  #pagetype_eventsearch #mpu_right { position: relative; top: 0 }
  #pagetype_eventsearch #categories { margin-top: 0 }
  
  #bottom #textnav ul {
    margin-top: 0; /* keep social media icons with smaller footer of mobile */
  }

  div.sectiontitle h1 { font-weight:600; font-size:180% }
  
  div#leaderboard_top { margin-bottom:0.5em; }
  
  li.highlight p.description { font-size:1.0em !important; line-height:1.0em; }
  
} /** end mobile **/

@media only screen and (max-device-width: 480px) { /*portrait mode only on mobile */
  li.highlight .thumb { width: 140px; max-width:140px; }
  li.highlight h4 a { font-size: 1.0em !important; line-height:1.1em !important; font-weight: 700; }
}