/*---------------------+
 | Site: LISC/Chicago  |
 | Part: Master styles |
 +---------------------*/

/* Imports
=====================================================================*/
@import url(//fonts.googleapis.com/css?family=Open+Sans:400,400italic,700,700italic);
@import url(//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css);
@import url(/styles/reset.css);
@import url(/styles/forms.css);


/* Fonts
======================================================================*/
body, .gm-style div, .gm-style span, .gm-style label, .gm-style a { font-family: "Open Sans", Arial, sans-serif; }


/* Basics
======================================================================*/
a { color: #00879c; text-decoration: none; }
a:hover { text-decoration: underline; }
blockquote, dl, ol, p, table, ul { margin-bottom: 1.4em; }
body { font-size: 16px; line-height: 1.5; padding-top: 44px; }
cite, em { font-style: italic; }
dt { margin-top: 1.4em; }
fieldset { border: 1px solid #ddd; margin-bottom: 2em; padding: 1em 1.5em; }
h1 { font-size: 27px; line-height: 1.08; margin-bottom: 0.6em; }
h1, h2 { font-weight: normal; }
h1 span { font-size: 0.5em; font-weight: normal; }
h2 { font-size: 22px; line-height: 1.2; margin-bottom: 1em; }
h3 { font-size: 17px; line-height: 1.2; }
h1, h2, h3, h4, h5, h6, strong { font-weight: bold; }
h4 { font-size: 16px; }
h5 { font-size: 14px; }
h6 { font-size: 13px; }
hr { background: #ddd; border: 0; clear: both; color: #ddd; height: 1px; margin: 1.5em 0; }
iframe { width: 100%; }
img { max-width: 100%; }
input, select, textarea { font-size: 1em; }
legend { background: #fff; color: #352f8e; font-size: 1.7em; margin: 0 0 0 -0.5em; padding: 0.1em 0.75em 0.1em; }
legend em { color: #777; font-size: 0.7em; font-style: normal; font-weight: normal; margin-left: 0.3em; }
ol { list-style: decimal; margin-left: 1.5em; }
ol li { margin-bottom: 0.5em; }
ol ol { list-style: lower-alpha; }
select { padding: 0.1em; }
table { border-collapse: collapse; width: 100%; }
table p { margin: 0; }
td { vertical-align: top; }
thead th { font-size: 1em; padding: 0 0.4em 0.25em; }
ul { list-style: disc; margin-left: 1.5em; }
ul ol li { background: none; padding: 0; }

/* Stock classes */
.l { float: left; }
.r { float: right; }
.num { text-align: right; }
ul.flat { list-style: none; margin-left: 0; }
ul.flat li { background: none; margin: 0; padding: 0; }


/* Core layout
======================================================================*/
.clear { clear: both; }
#admin .ribbon { margin: 0 auto; width: 980px; }
#content, #footer, #header, #nav, #subfooter { padding-left: 20px; padding-right: 20px; }
#content, #footer-content, #header-content, #nav ul, #subfooter-content { margin: 0 auto; width: 980px; }
#page { margin: 0 auto; }
#wrapper { clear: both; }

/* Columns */
.c2l, .c2r { width: 48%; }
.c2l, .c3l, .c3m { float: left; }
.c2r, .c3r { float: right; }
.c3l { margin-right: 3%; }
.c3l, .c3m, .c3r { width: 31%; }
ul.c2l, ul.c2r { list-style: none; margin-left: 0; }

/* Content */
#content { padding-top: 30px; }
#content-primary { float: left; margin-bottom: 2em; width: 74.1%; }
#content-secondary { float: right; margin-bottom: 2em; width: 22.6%; }

    /* Directory */
    #directory-primary { float: left; width: 65.5%; }
    #directory-secondary { float: right; width: 31.1%; }
    
    /* Full layout (no secondary content) */
    .full #content { background-image: none; }
    .full #content-primary { float: none; margin: 0 auto; padding-top: 1em; width: 100%; }
    .full #content-secondary { display: none; }
    
    /* Sign in */
    .signin .c2l { float: none; width: auto; }
    .signin #content-primary { width: 50%; }


/* Content
======================================================================*/
#page { font-size: 0.95em; }

/* Action links */
.action { font-weight: bold; }

/* Announcement */
#announce {
    background: #ffc;
    box-sizing: border-box;
    left: 0;
    padding: 10px 20px;
    position: absolute;
    top: 0;
    width: 100%;
}

#announce-content { margin: 0 auto; width: 980px; }

/* Breadcrumbs */
#breadcrumbs { display: none; }

/* Blog feeds */
.blog-feed { list-style: none; margin-left: 0; }
.blog-feed li { margin: 0 0 0.25em 1em; text-indent: -1em; }
.blog-feed .mute, .blog-feed .mute a { color: #777; }
.blog-feed .mute { font-size: 0.8em; }
.panel .blog-feed li { margin: 0 0 0.25em 0; text-indent: 0; }
.panel .blog-feed .mute { font-size: 0.85em; }

/* Browsing options */
.browse { list-style: none; margin: 0; }
.browse li { display: inline; margin-right: 0.7em; }

/* Bylines */
.byline { color: #777; font-size: 0.85em; margin: 0; }

/* Calendar */
.cal dd { color: #777; font-size: 11px; }
.cal dt { clear: both; margin: 0; }
.cal .date { float: left; font-weight: bold; text-align: center; width: 20%; }
.cal .date .date-num { display: block; font-size: 17px; line-height: 1; }
.cal .date .date-title { font-weight: normal; }
.cal .desc, .cal .title a { float: right; width: 75%; }
.calendar h2 { clear: both; }

    /* In a sidebar panel */
    .panel .cal { margin: 0; }
    .panel .cal dt { font-size: 1em; padding-top: 10px; }
    .panel .cal dt:first-child { padding: 0; }
    .panel .cal .desc, .panel .cal .title a { float: none; width: 100%; }
    .panel .cal .date { display: block; float: none; text-align: left; width: 100%; }
    .panel .cal .date-num { display: inline; font-size: 1em; }
    .panel .cal .date-title { font-size: 1em; font-weight: bold; }

/* Callouts */
[class *= "call"] { max-width: 100%; }
div.call-l, img.call-l, .pull-l { clear: left; }
div.call-r, img.call-r, .pull-r { clear: right; }
dt img.call-l { margin-top: 0; }
.call-l, .pull-l { float: left; margin: 0.5em 20px 15px 0; }
.call-r, .pull-r { float: right; margin: 0.5em 0 15px 20px; }
.call, div.call-l, div.call-r { color: #666; font-size: 11px; }
.call img, .call-l img, .call-r img { display: block; margin-bottom: 5px; }
.call img.icon, .call-l img.icon, .call-r img.icon { display: inline; }
.call, .call-l p, .call-r p { margin-bottom: 0.5em; }
.pull-l, .pull-r { border: 3px double #ddd; border-width: 3px 0; font-size: 18px; padding: 0.3em 0; width: 45%; }

.call-l .info, .call-r .info, .credit {
    color: #7f8183;
    display: block;
    font-size: 0.75em;
    letter-spacing: 0.01em;
    margin-bottom: 0.5em;
    text-align: right;
    text-transform: uppercase;
}

/* Comments */
.comments .date { color: #6d6e71; float: left; font-size: 0.75em; margin: 0.25em 0 0 -17%; text-align: right; text-transform: uppercase; width: 14%; }
.comments dd, .comments dt { margin-left: 15%; }
.comments dt { clear: both; }
.comments dt, .comments dt strong { color: #b30214; }
.comments dd { font-size: 0.9em; }

/* Data tables */
.data { font-size: 14px; margin-top: 0.5em; width: 100%; }
.data td { border: 1px solid #ddd; padding: 0.3em 0.5em; }

/* Deks */
.dek { float: left; height: 500px; margin: 0 3% 0 0; width: 47%; }
.dek h2 { margin-bottom: 0.2em; }
.dek img { display: block; margin-bottom: 10px; width: 100%; }
.dek .section { color: #666; font-size: 11px; font-weight: normal; text-transform: uppercase; }

/* Demographics tables */
.demographics { font-size: 14px; margin-top: 0.5em; width: 100%; }
.demographics td { border: 1px solid #ddd; border-width: 1px 0; padding: 0.3em 1em 0.3em 0; width: 33%; }

/* Directory */
#directory #header-secondary, #directory #header-tertiary { display: none; }
#directory #home-link { font-size: 0.8em; left: 3em; position: absolute; top: 5em; }
#directory #logo { float: none; width: 100%; }

/* Donor list */
.donors { width: 100%; }
.donors td { padding: 0 30px 0 0; width: 50%; }

/* Features */
#feature { border-bottom: 3px double #ccc; padding-bottom: 0.5em; }
#feature, .feature { border-bottom: 1px solid #ddd; float: none; font-size: 14px; height: auto; margin-bottom: 20px; padding-bottom: 20px; width: auto; }
#feature h2, .feature h2 { font-size: 27px; }
#feature img, .feature img { display: block; float: none; margin: 0 0 5px 0; }
#feature p, .feature p { margin: 0; }

/* Footer */
#footer { background: #13aec7; padding-bottom: 30px; padding-top: 20px; }
#footer, #footer a { color: #fff; }
#footer li { background: none; display: inline; margin-right: 0.5em; padding: 0; }
#footer p, #footer ul { margin: 0; }
#footer .org { display: block; font-weight: bold; }
#footer-content { font-size: 0.8em; }
#site-desc { width: 60%; }

    /* Site credit */
    #credit { float: right; text-align: right; }
    #credit a { text-decoration: none; }
    #credit a strong { display: inline; font-weight: normal; text-decoration: underline; }
    #credit a:hover strong { text-decoration: none; }
    
    /* Subfooter */
    #subfooter { background: #f5f5f5; padding-top: 15px; }
    #subfooter h6 { font-size: 18px; margin-bottom: 0.7em; text-transform: uppercase; }
    #subfooter p { margin-bottom: 0.5em; }
    #subfooter .panel { float: left; margin-right: 2%; width: 23%; }
    #subfooter .last { float: right; margin: 0; }
    #subfooter .thumb { height: 170px; width: 100%; }

/* Galleries */
.gallery { font-size: 12px; line-height: 1.4; list-style: none; margin: 0; }
.gallery img { display: block; margin: 0 auto; max-height: 150px; max-width: 100%; }
.gallery li { background: none; float: left; height: 180px; margin: 0 2% 25px 0; padding: 0; text-align: center; width: 23%; }
.gallery .mute { display: block; font-size: 1em; }
.gallery p { margin: 0; }
.gallery-title { display: block; font-size: 1.4em; }

/* Header */
#header { background: #13aec7; padding-bottom: 20px; padding-top: 30px; }
#header-tertiary { float: right; text-align: right; }

    /* Languages */
    .languages { font-size: 1.31em; line-height: 1; margin: 0; position: relative; }
    .languages li { background: none; display: inline; margin: 0 0.5em 0 0; padding: 0; }
    .languages ul { margin: 0; }
    
    /* Logo */
    #logo { float: left; }
    
    /* Search */
    #search { border: 0; margin: 0; padding: 25px 0 0; }
    
    #search .btn {
        -webkit-appearance: none;
        background: #ffffff;
        background: -moz-linear-gradient(top, #ffffff 0%, #ededed 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#ededed));
        background: -webkit-linear-gradient(top, #ffffff 0%,#ededed 100%);
        background: -o-linear-gradient(top, #ffffff 0%,#ededed 100%);
        background: -ms-linear-gradient(top, #ffffff 0%,#ededed 100%);
        background: linear-gradient(to bottom, #ffffff 0%,#ededed 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 );
        filter: none;
        border: 1px solid #ddd;
        border-radius: 4px;
        color: #00879c;
        font-size: 16px;
        font-weight: bold;
        display: inline-block;
        padding: 0.5em 1em;
        text-transform: uppercase;
    }
    
    #search input { vertical-align: middle; }
    #search label { display: none; }
    #search .txt { border-radius: 4px; font-size: 21px; width: 12em; }
    
    /* Utilities */
    .utilities { font-size: 0.9em; margin: 0 0 1em; }
    .utilities li { background: none; display: inline; margin: 0 0.5em 0 0; padding: 0; }

/* Hidden */
#atff, .closed { display: none; }
.skip { left: -9999em; position: absolute; }

/* Icons */
.fa-facebook-official { color: #3b5998; }
.fa-flickr { color: #ff0084; }
.fa-instagram { color: #3f729b; }
.fa-twitter { color: #55acee; }
.fa-youtube-play { color: #cd201f; }
.feed { background: url(/images/shared/icon-feed.png) no-repeat 0 0; line-height: 1.7; padding: 5px 25px; }

/* Logo collages */
.logos { width: 100%; }
.logos .call-l, .logos .call-r { float: none; margin: 0; width: auto; }
.logos .call-l img, .logos .call-r img { display: inline; }
.logos img { max-height: 200px; max-width: 200px; }
.logos td { padding: 15px; text-align: center; vertical-align: middle; width: 33.3%; }

/* Maps */
.geo { display: none; }

    /* Neighborhood map */
    #map-filters {
        background: #fff;
        bottom: 15px;
        border: 1px solid #ddd;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
        font-size: 13px;
        left: 15px;
        padding: 20px;
        position: absolute;
        width: 210px;
    }
    
    .neighborhood-map { float: right; margin: 0 0 10px 10px; }
    
        /* Balloon */
        .gm-style .gm-style-iw, .gm-style .gm-style-iw a, .gm-style .gm-style-iw span, .gm-style .gm-style-iw label, .gm-style .gm-style-iw div { font-size: 14px; font-weight: normal; }
        .gm-style .gm-style-iw h3, .gm-style .gm-style-iw h3 a { font-size: 17px; font-weight: bold; }
        
        /* Legend */
        #map-filters .legend { list-style: none; margin: 0; }
        #map-filters .legend #legend-lead span { background: #23adc7; }
        #map-filters .legend #legend-other span { background: #9dc324; }
        #map-filters .legend li { padding-left: 23px; }
        #map-filters .legend span { float: left; height: 13px; margin: 4px 0 0 -21px; width: 13px; }
    
/* Muted text */
.info { color: #888; font-size: 0.75em; }
p.info { margin: 0; }

/* More links */
.more { clear: both; font-size: 1.2em; margin-bottom: 1.5em; padding-top: 0.5em; }

/* Navigation */
    /* Primary */
    #nav {
        background: #008ca2;
        clear: both;
        font-size: 15px;
        font-weight: bold;
        height: 1%;
        margin-bottom: 0.5em;
        text-transform: uppercase;
    }
    
    #nav a { color: #fff; display: block; padding: 0.8em 1em; }
    #nav .current a { background: #fff; color: #00879c; }
    #nav li { float: left; margin: 0; padding: 0; }
    #nav ul { list-style: none; }
    
    /* Secondary */
    #nav-secondary h3 { margin-bottom: 0.2em; text-transform: uppercase; }
    #nav-secondary h3 a { color: #000; }
    #nav-secondary li { margin-bottom: 0.5em; }
    #nav-secondary li.current > a { color: #000; font-weight: bold; }
    #nav-secondary ul { list-style: none; margin: 0 0 25px; }
    #nav-secondary ul ul { border-left: 1px solid #ddd; font-size: 14px; margin: 0.5em 0 1em; padding-left: 15px; }

/* Page tools */
#page-tools { clear: both; }

/* Panels */
.panel h3 { margin: 1em 0 0.25em; padding-top: 0.5em; }

/* Staff list */
.staff p { margin-bottom: 1em; }
.staff td:first-child img { display: block; padding-top: 3px; }
.staff td { padding: 0 20px 30px 0; }

/* Summary lists */
.sums dt { clear: both; font-size: 17px; font-weight: bold; line-height: 1.3; margin: 0; padding-top: 1.5em; }
.sums .first, .summaries dt:first-child { border: 0; margin: 0; padding-top: 0; }
.sums .thumb { float: left; margin: 3px 15px 15px 0; }

    /* Directory lists */
    .sum-directory dt { border-top: 1px solid #ddd; margin-top: 0.5em; }
    .sum-directory .thumb { float: right; margin: 0 0 0 15px; }
    .panel .sum-directory dt { border: 0; font-size: 1em; padding: 0; }

/* Tags */
.tags { font-size: 1.1em; line-height: 2.3em; list-style: none; margin-left: 0; }
.tags li { background: none; display: inline; margin-right: 0.5em; padding: 0; }
.tags li a { white-space: nowrap; }

.t-1 { font-size: 0.9em; }
.t-2 { font-size: 1em; }
.t-3 { font-size: 1.1em; }
.t-4 { font-size: 1.2em; }
.t-5 { font-size: 1.3em; }
.t-6 { font-size: 1.4em; }
.t-7 { font-size: 1.5em; }
.t-8 { font-size: 1.6em; }
.t-9 { font-size: 1.7em; }
.t-10 { font-size: 1.8em; }
.t-11 { font-size: 1.9em; }
.t-12 { font-size: 2em; }
.t-13 { font-size: 2.1em; }
.t-14 { font-size: 2.2em; }
.t-15 { font-size: 2.3em; }