/*
Theme Name: Cambridge Inspectional Services Department
Description: global-global.css contains a reset, font normalization and base styles.
Designer: ISITE Design, Inc
Designer URL: http://www.isitedesign.com
Author: City of Cambridge
--------------------------------------------------------------------------------------

/************************************************* */
/* BASIC ELEMENT STYLES
************************************************** */


/* ROOT
-------------------------------------------------- */

body {
	color:#333;
    background-color:White;
}

    /*BODY.text-sm, BODY.text-md, BODY.text-lg {
        font-size: initial;
    }
    BODY.text-sm {
        -moz-transform: scale(1.0,1.0); zoom: 1; zoom: 100%; 
    }
    BODY.text-md {
        -moz-transform: scale(1.125, 1.125); zoom: 1.125; zoom: 112.5%; 
    }
    BODY.text-lg {
        -moz-transform: scale(1.25, 1.25); zoom: 1.25; zoom: 125%; 
    }*/

#outer-wrapper {
    background: White url("../img/body-bg.jpg") no-repeat 50% bottom;
    /* Alternate positioning */
    /*background: White url("../img/body-bg.jpg") no-repeat 50% 250px;*/
    /* Alternate edge fade */
    /*background: White url("../img/body-bg-fade.jpg") no-repeat 50% bottom;*/
    
}
#wrapper {
    background-color: #fff;
    border: 1px solid #dddbd3;
    border-top: none;
}
#wrapper:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: ".";
	clear: both;
	height: 0;
}
/*#wrapper #content { width:970px; }*/

/* FOOTER
-------------------------------------------------- */
#footer-wrapper {
    background-color: #00548b;
}
/*#footer-wrapper { background-color: #005587; }*/
/*#footer-wrapper {
    background-color: #005f96;
}*/
#footer-wrapper footer[role=contentinfo] {
    width:960px;
    margin:0 auto;
}
#footer-wrapper footer[role=contentinfo] a {
    color:White;
    text-transform:uppercase;
}

/* Fat Footer */
#footer-wrapper footer[role=contentinfo] UL.meta DL {
    width:18%;
    margin-right:20px;
}
#footer-wrapper footer[role=contentinfo] UL.meta DL:nth-of-type(2) {
    width:19%;
}
#footer-wrapper footer[role=contentinfo] UL.meta DL:nth-of-type(3) {
    width:15%;
}
    #footer-wrapper footer[role=contentinfo] UL.meta DL:nth-of-type(4) {
        margin-right: 25px;
    }
#footer-wrapper footer[role=contentinfo] UL.meta DT {
    color:#fff;
    font-weight:bold;
    text-transform:uppercase;
    height:2em;
    margin-bottom:1em;
}
#footer-wrapper footer[role=contentinfo] UL.meta DD {
    margin-bottom: 1em;
}
#footer-wrapper footer[role=contentinfo] UL.meta DD A {
    text-transform: none;
}

/* Info Links */
#footer-wrapper footer[role=contentinfo] .info-links { margin-top:4em; }
#footer-wrapper footer[role=contentinfo] .info-links LI { border-right-color:#63a0c4;}
#footer-wrapper footer[role=contentinfo] .copyright {color:#c2c2c2;}

/* HEADINGS
-------------------------------------------------- */

h1, h2, h3, h4 { color: #003456; }
h3 { text-transform:uppercase; font-size:1.125em; font-weight:bold; }

h5 { text-transform: uppercase; }

h6 { 
	text-transform:uppercase;
	font-weight:bold;
}

/* LISTS
-------------------------------------------------- */
#content LI {
    margin-bottom: 0.5em;
}
#content #linksPage LI UL LI {
    margin-bottom:0;
}
#content #linksPage H2 {
    margin-bottom:0;
}

/* LINKS
-------------------------------------------------- */

a:not([name]) { color: #00548b; }
a:not([name]):not(.brand):hover  { color: #003456; }
#content a[name] { color:#333333; }
#content H2 a[name] { color:#003456; }
#content a[name]:hover { text-decoration:none; }
a:visited { color:#00548b; }

/* links with arrow */
.get-more { background-image: url(../img/link-arrow.png); }
.get-more:hover { background-image: url(../img/link-arrow-hover.png) }


/* TABLES
-------------------------------------------------- */
td { border: 1px solid #B3B2B2; }
th { background-color: #e9f1f6; color:#003456; }
tr:nth-child(even), tr.even { background-color: #f7f7f7; }

/* FORM ELEMENTS
-------------------------------------------------- */

button {
    background-color: #76b7e1;
	border-radius: 2px; 	
	padding: .3em .75em;
	/*margin:1em;*/
}

#content #primary button {
	min-width: 80px;
	height:39px;
	background: url("../img/search-form-btn.png") no-repeat 1px 2px;
	
}
#content #primary button[value=Search], #content #primary button[value=Submit] {
	background-image:none;
	background-color: #418d41;
}

/************************************************* */
/* PAGE SECTIONS
************************************************** */


/* HEADER
-------------------------------------------------- */

#header { 
	background-color:#00548b;
	height: 220px;  /* 160 + 60 */
	padding-top: 10px;
}
BODY.text-md #header {
    height:294px;
}
BODY.text-lg #header {
    height: 298px;
}

a.brand { 
	width: 469px;
	height: 139px;  /* 139 + 60 */
	background: url(../img/logo-chc.png) 0 0 no-repeat;
	color: #fff;
	font-size: 2.5em; 
    font-weight:bold;
	padding: 32px 0 0 181px;
    padding-top:0.75em;
	left: 10px;
}

BODY.text-md a.brand {padding-top:0.85em;}
BODY.text-lg a.brand {
    padding-top: 0.65em;
}

/* NAVIGATION
-------------------------------------------------- */

/* MAIN NAV */

nav[role=navigation] { 
	color:#fff;
	top: -67px;
}
BODY.text-md nav[role=navigation] {
    top:-116px;
}
BODY.text-lg nav[role=navigation] {
    top:-120px;
}
#wrapper nav[role=navigation] UL {
    margin:15px auto 0 auto;
    font-size:1.15em;
}
#wrapper nav[role=navigation] li { 
    margin: 0 3px 0 0; 
    padding: 10px 20px;
}
#wrapper nav[role=navigation] a {
	text-transform:uppercase;
	font-weight:bold;
    max-width: none;
    display:inline;
    padding:0;
    padding-bottom:10px;
    border-bottom:10px solid #00548b;
}
#wrapper nav[role=navigation] UL LI:first-of-type {
    padding-left:0;
}
#wrapper nav[role=navigation] UL LI:last-of-type {
    padding-right:0;
}
#wrapper nav[role=navigation] UL LI:last-of-type A { text-align: right; }
#wrapper nav[role=navigation] a:hover, nav[role=navigation] a.active {
    color:#76b7e1;
    /*border-bottom:solid 10px #003456;
    padding-bottom:10px;*/
    border-bottom-color:#003456;
    text-decoration:none;
}

/* TOP UTILITY NAV */

#wrapper .global-nav a {
	color: White;
	text-decoration: none;
    text-transform: uppercase;
	font-size: 1em;
}

#wrapper .global-nav a:hover { color:#76b7e1; } 
#wrapper .global-nav a:hover { text-decoration:none; border-bottom: solid 1px #003456; }


/* LEFT NAV */

.subnav { border: none; }
.subnav h2 {
    display:none;
}
.subnav a { text-decoration: none;}
/*.subnav a:visited { color:#418d41; }*/
.subnav .active > a {
	background-color: #e8e6e2;	
	color:#1a6a1a;
}
#content .subnav ul li { border:none; margin-bottom:0; }
.subnav li.active-ancestor, .subnav li.active { background-color: #efeeed; }
.subnav a:hover {
	color: #76b7e1;
}
.subnav h2 a:hover {
	background-color: transparent;
	color:#5f5f5f;
	text-decoration:underline;	
}
.subnav h2 a:visited { color:#5f5f5f; }

/* SITE UTILITY
-------------------------------------------------- */
.site-utility { top: -220px; }
BODY.text-md .site-utility {
    top:-294px;
}
BODY.text-lg .site-utility {
    top: -299px;
}

/* TEXT SIZE */
#wrapper .text-size a { color:#fff; }
#wrapper .text-size a:hover, #wrapper .text-size .active { background-color: White;color:#003456; }

/* SEARCH FORM */

#search button { background-image: url(../img/search-btn.png); }
#search-text {
	border: 1px solid #b2b2b2;
	border-bottom: 1px solid #E0E0E0;
	border-radius: 3px;
	box-shadow: inset 0px 1px 3px 0 #e8e8e8;
    color:#031f31;
    width:20em;
}

/* CONTENT
-------------------------------------------------- */

/* MESSAGE BOX (ALERT)*/

.message-box { 
	background-image: url(../img/icon-alert.png);
	border-radius: 3px; 
	border: 2px solid #e9e696;
	background-color:#ffffcc;
}
.message-box .date-box, .message-box .date-box .date { color: #CC0000; }
.message-box .message a { background-image: url(../img/link-arrow-red.png); color: #900028;}
.message-box .message a:hover, .message-box .message a:visited { background-image: url(../img/link-arrow-red.png); color: #900028;}

/* CAROUSEL DEFAULTS AND HOMEPAGE CAROUSEL
-------------------------------------------------- */

.home .group {
    width: 720px;
    float: left;
}
.home #carousel {
	position: relative;
    float:left;
	height: 325px;
    width:717px;
}

.home #carousel .ui-tabs-panel img {
	z-index: 10;
	background-color:#fff;
	width: 425px;
	height: 325px;
	float:right;
	margin:0;
	padding:0;
}

.home #carousel .carousel-content {
    padding:15px;
	width: 290px;
    height:238px;
    margin-right:2px;
	z-index: 10;
	display:inline-block;
	overflow:hidden;
    background-color:#00548b;
}
    .home #carousel .carousel-content H1, .home #carousel .carousel-content P { color: White; }
    .home #carousel .carousel-content H1 {
	    font-size:1.5em;
	    line-height: 1em;
	    margin-top:0;
	    font-weight:bold;
    }
    .home #carousel .carousel-content P {
        font-size:1.0em;
        color:#c2c2c2;
        margin-bottom:0.5em;
    }

.home #carousel .controls {
	position: absolute;
	z-index: 20;
	left:0;
    bottom:0;
	width: 289px;
    height:85px;
}

.home #carousel #selectionmenu { width: 289px; }
.home #carousel #selectionmenu IMG { 
	box-shadow:none;
	height:85px;
	width:95px;
	padding:0px;
}
.home #carousel #selectionmenu LI { max-width: none; margin-right:2px; padding: 0; }
.home #carousel #selectionmenu LI:last-of-type {margin-right:0;}

.home #carousel #selectionmenu LI:hover, .home #carousel #selectionmenu LI.ui-tabs-selected { 
	padding:0; 
	/*border-radius:4px;*/
	border:none;
}
/*.home #carousel #selectionmenu li:hover img, .home #carousel #selectionmenu li.ui-tabs-selected img { border: 2px solid #458dc9; margin:0; }*/
.home #carousel #selectionmenu a { max-width: none; }


/* PRIMARY
-------------------------------------------------- */

/* HOME PAGE */

.home .primary { padding-top: 30px; }

.home #content-container, .home .resources {
    clear: both;
	padding-top: 15px;
	/*width:720px;*/
    width:960px;
}
.home .primary h2 {
	border-bottom: 1px solid #ccc;
	margin-bottom: 12px;
	font-size: 1.7em;
	color:#003456;
    text-transform:uppercase;
    font-weight:bold;
    letter-spacing:0.075em;
	padding: 0 0 10px 0;
}
.home .primary h2 a.get-more { 
	font-size: .6em; float:right; 
	margin:.3em 16px 0 0; 
	text-transform:uppercase; 
}

/* home narrow - meetings & announcements */
.home .narrow { width:340px; float:left;}

/* home wide - quick links */
.home .wide {
    float: left;
    width: 350px;
    margin-right: 20px;
}
.home .primary .link-list h2, .home .primary .news-list h2, .secondary .contact H2 { font-size:1.5em; letter-spacing:normal; border-bottom: none; color:#808080; text-transform:none; font-weight:bold;}
.home .primary .link-list LI {
    list-style: none;
    padding: 1em 0 1em 0;
    margin: 0 1em;
    border-bottom: solid 1px #ccc;
    min-height:64px;
}
.home .primary .link-list LI:first-of-type { padding-top:0; }
    .home .primary .link-list LI:last-of-type {
        border-bottom: none;
    }
.home .primary .link-list LI A IMG:after {
    visibility: hidden;
	display: block;
	font-size: 0;
	content: ".";
	clear: both;
	height: 0;
}
    .home .primary .link-list LI A {
        text-transform: uppercase;
        font-weight: bold;
        margin-bottom: 1em;
        display: block;
    }
    .home .primary .link-list LI P {
        margin: 1em 0 0 89px;
    }
    .home .primary .link-list LI DIV {
        height: 100px;
    }
    .home .primary .link-list LI A IMG {
        float: left;
        padding-right: 25px;
        vertical-align: top;
    }
.home #primary .event-list li {
    list-style: none;
    margin:0 0 4px 0;
    clear:both;
    background:url('../img/eventlist-bg.gif') repeat-y 0 0;
}
.home .event-list li div.date {
    width:60px;
    float:left;
    height:100%;
    color:#003456;
    font-weight:bold;
    text-align:center;
    padding:12px 0;
}
    .home .event-list li div.date .month {
        text-transform: uppercase;
        font-size: 1.0em;
    }
    .home .event-list li div.date .day {
        font-size:1.33em;
    }
.home .event-list li div.excerpt {
    float:right;
    width:280px;
    padding:12px;
    padding-bottom:0;
}
.home .event-list li div.excerpt H3 {
    font-size:1.125em;
    text-transform:uppercase;
    margin:0;
}
    .home .event-list li div.excerpt .dateLocation {
        width: 23%;
        float: left;
    }
    .home .event-list li div.excerpt .location {
        width:73%;
        padding-left:0.5em;
        border-left:solid 1px #767676;
        float:right;
    }
.home .event-list li:after {
    visibility: hidden;
	display: block;
	font-size: 0;
	content: ".";
	clear: both;
	height: 0;
}
.home .news-list h4 { margin: 0; }
.home .news-list .date { color: #818181; }

/* home page - content */
.home #home-content { margin-left:16px; }

/* home page - resources */
.home .resources { border:none; padding:0; }
.home .resources ul { margin-left:16px; }
.home .resources li { 
	display: inline-block; 
	float:none; 
	vertical-align:middle; 
	width: auto; 
	max-width: 20%; 
	overflow: hidden;
    height:150px;
}
    .home .resources li a {
        text-transform: uppercase;
        display:inline-block;
        height:150px;
    }

/* PRIMARY CONTENT ITEMS
-------------------------------------------------- */
/* PAGE TITLE */
.primary H1 {
    text-transform: uppercase;
    font-weight: bold;
    color: #003456;
    font-size:1.667em;
}

/* LANDING CAROUSEL */
.landing #carousel {
    background-color: #00548b;
    padding: 12px;
    border:solid 1px #dcdcdb;
}
    .landing #carousel.static {
        padding: 12px;
    }
    .landing #carousel .ui-tabs-panel {
        margin-bottom: 0;
    }
    /* LANDING CAROUSEL - INTERIOR CONTENT */
    .landing #carousel H2 {
        color: White;
        margin:0;
    }
    .landing #carousel .carousel-content {
        float:left;
        color:#aeeeff;
        width:200px;
    }
    .landing #carousel .ui-tabs-panel > IMG { 
        float:right;
        background-color:White;
        padding:3px;
    }
    .landing #carousel .carousel-content BUTTON {
        width:100%;
        text-transform:uppercase;
        font-size:1em;
        font-weight:bold;
    }

    /* LANDING CAROUSEL - CONTROLS */
    .landing #carousel.features-3 .controls {
        width: 200px;
        left: 140px;
    }
    .landing #carousel.features-2 .controls {
        width: 150px;
        left: 165px;
    }
    #carousel #selectionmenu li:hover, #carousel #selectionmenu li.ui-tabs-selected {
        border:none;
        background-color:transparent;
        padding:inherit;
    }
    .landing #carousel .controls #selectionmenu LI.ui-tabs-selected A {
        color:#003456;
    }
    .landing #carousel .controls #selectionmenu li {
        text-align:center;
        max-width:none;
        padding:8px 0;
        margin:0;
    }
    .landing #carousel.features-3 #selectionmenu li {
        width:33%;
    }
    .landing #carousel.features-2 #selectionmenu li {
        width:50%;
    }

    .landing #carousel .controls .back, .landing #carousel .controls .forward {
        height: 24px;
        width: 16px;
        top: 13px;
    }
    .landing #carousel .controls .back {
        background-image: url(../img/landing-slider-back.png);
    }
    .landing #carousel .controls .forward {
        background-image: url(../img/landing-slider-forward.png);
    }
    .landing #carousel.features-3 .controls #selectionmenu {
        width: 150px;
    }
.landing #carousel.features-2 .controls #selectionmenu {
    width: 100px;
}
    .landing #carousel .controls #selectionmenu LI A {
        background-color: #76b7e1;
        color: #76b7e1;
        height: 18px;
        width: 18px;
        display: inline-block;
        border-radius: 9px;
        margin-top:3px;
    }
    .landing #carousel .controls #selectionmenu LI.ui-tabs-selected A, .landing #carousel .controls #selectionmenu LI A:hover {
        background-color: #003456;
        color: #003456;
    }
        .landing #carousel .controls #selectionmenu:after {
            visibility: hidden;
            display: block;
            font-size: 0;
            content: ".";
            clear: both;
            height: 0;
        }
    

/* FEATURED CONTENT (Landing Pages) */

.featured a { background-image: url(../img/link-arrow.png); }
.featured a:hover { background-image: url(../img/link-arrow-hover.png); }
.featured:after {
    visibility: hidden;
	display: block;
	font-size: 0;
	content: ".";
	clear: both;
	height: 0;
}
.featured h2 {
    font-weight:bold;
    font-size:1.125em;
    text-transform:uppercase;
}
.featured UL.links-list LI {
    list-style:none;
    margin-left:0;
}
/* SEARCH RESULTS */
.search-results .url { color: #0B4480; }

/* LIST PAGES W/ BULLETS(CALENDAR, NEWS, FAQ)*/

/* NO CALENDAR */

/* FAQ ONLY */

.faq-list a.toggle { background-image: url("../img/buttons-plus-minus.png"); }
.faq-list h2 { padding-left:20px; }

/*PHOTO GALLERY*/
.photo-navigation .prev, .photo-navigation .next { background-image:url("../img/icon-arrows-gallery.png"); }

/* SITE MAP */

.sitemap a.off, .sitemap a.on { background-image: url("../img/buttons-plus-minus.png"); }

/* OTHER */
#content UL, #content OL { margin-bottom:1em; }

/* SECONDARY
-------------------------------------------------- */

.secondary {
    width: 235px;
}

/* HOW CAN WE HELP YOU */
.secondary #howCanWeHelp {
    background-color: #00548b;
    padding: 5px;
    border:solid 1px #dcdcdb;
    height:325px;
}
    .secondary #howCanWeHelp H2 {
        color: White;
        font-weight: bold;
        font-size:1.4em;
    }
    .secondary #howCanWeHelp FIELDSET {
        margin:10px;
    }
        .secondary #howCanWeHelp FIELDSET LI {
            margin-bottom: 2em;
        }
            .secondary #howCanWeHelp FIELDSET LI LABEL {
                color: White;
                font-size: 1.0em;
            }
            .secondary #howCanWeHelp FIELDSET LI SELECT {
                height:2em;
            }
    
    /* INFO ASIDE */
	.secondary .contact p h2 {
		font-size: 1.15em;
		color: #00345B;
	}
	.secondary .contact h2, .contact h3 {
		margin-top: 0;
	}
	.secondary .contact h3 {
		margin-bottom: 0;
		text-transform: uppercase;
		color: #003456;
		font-size: 1.125em;
	}
	.secondary .contact .phoneNumbers, .contact .officeHours, .contact .researchHours {
		border-bottom: solid 1px #ccc;
		padding-bottom: 1em;
	}

/* CALLOUT BOX */

.callout a { background-image: url(../img/link-arrow.png); }
.callout a:hover { background-image: url(../img/link-arrow-hover.png); }