/*
   Styles for Inspire lab.
*/

/* General styles. */

body { font-family: 'Source Sans', helvetica, arial, sans-serif; margin: 0; background-color: white; }
img, table, tr, td, div, a, form { border: 0; padding: 0; margin: 0; }
a { text-decoration: none; color: black; }


/* Main page container. */

#container { width: 100%; margin: auto; background-color: white; }


/* USC and OS/OT identity. */

#uscchan-identity { width: 100%; }
@media (min-width: 768px) { #uscchan-identity { height: 150px; position: relative; } }


/* USC identity. */

#usc-identity-mobile { display: block; width: 100%; text-align: right; }
#usc-identity-mobile img { width: 120px; height: 39px; margin: 10px 10px 0 0; }
#usc-identity { display: none; }

@media (min-width: 768px) {
   #usc-identity { display: block; position: absolute; right: 10px; top: 15px; }
   #usc-identity img { width: auto; height: 48px; }
   #usc-identity-mobile { display: none; }
}

@media (min-width: 926px) { #usc-identity { right: 18px; } }


/* Inspire Lab identity. */

#inspirelab-identity { display: block; margin: 5px 10px; }
#inspirelab-identity img { max-width: 100%; height: auto; }

@media (min-width: 768px) {
   #inspirelab-identity { display: block; position: absolute; left: 10px; top: 15px; }
   #inspirelab-identity img { width: auto; height: 120px; }
}


/* Under construction. */

#construction { font-family: 'Source Sans'; background-color: black; }
#construction #construction-text { display: table-cell; vertical-align: bottom; margin: 0; }
#construction #construction-text p { color: white; font-size: 160%; font-weight: 700; margin: 10px 10px 10px 10px; }

@media (min-width: 768px) { #construction #construction-text p { font-size: 180%; margin: 6px 15px 6px 15px; } }
@media (min-width: 930px) { #construction #construction-text p { font-size: 180%; } }


/* Banner images. */

#banner { background: url("/assets/inspirelab/inspire-background.png") repeat; }
#banner img.mobilebanner { display: block; width: 100%; height: auto; }
#banner img.desktopbanner { display: none; }

@media (min-width: 768px) {
   #banner img.desktopbanner { display: block; width: 100%; height: auto; }
   #banner img.mobilebanner { display: none; }
}


/* Main menu. */

nav, #main-menu { background-color: #eeeeee; }
#main-menu li a.title { font-size: 110%; font-weight: 500; text-transform: uppercase; color: #999999;
                        pointer-events:none; cursor: default;
                        padding-top: 4px !important; padding-bottom: 4px !important; }


/* Image attribution line. */

#image-attribution #imagetoggle { float: right; margin: 5px 10px 5px 10px; }
#image-attribution #imagetoggle a { text-decoration: none; background-color: #eeeeee; padding: 2px 4px 2px 4px;
                                    border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px; }
#image-attribution #imagetoggle a:hover { background-color: #dddddd; }
#image-attribution #aboutthisimage { margin: 5px 10px 5px 10px; }
#image-attribution #aboutthisimage span { font-style: italic; padding: 2px 0px 2px 0px; }
#image-attribution #aboutthisimage a { background-color: #eeeeee; padding: 2px 4px 2px 4px;
                                       border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px; }
#image-attribution #aboutthisimage a:hover { background-color: #dddddd; }


/* Content. */

#content { font-family: 'Source Sans', helvetica, arial; margin: 30px 10px 50px 10px; }
@media (min-width: 768px) { #content { width: 80%; max-width: 800px; margin: 30px auto 50px auto; } }

#content h1 { font-size: 240%; font-weight: 700; margin-top: 0.75em; margin-bottom: 0.75em; line-height: 120%; color: #990000; clear: both; }
#content h2 { font-size: 200%; font-weight: 700; margin-top: 1.5em; margin-bottom: 0.75em; line-height: 120%; color: black; clear: both; }
#content h3 { font-size: 160%; font-weight: 700; margin-top: 1.5em; margin-bottom: 0.75em; line-height: 130%; color: black; clear: both; }
#content h4 { font-size: 125%; font-weight: 700; margin-top: 1.5em; margin-bottom: 0.75em; line-height: 130%; color: black; clear: both; }

#content p, #content li, #content blockquote { font-weight: 300; line-height: 150%; color: #333333; }
#content p, #content li { font-size: 125%; }
#content p.hanging { padding-left: 0.25in; text-indent: -0.25in; }
@media (min-width: 768px) { #content p.hanging { padding-left: 0.5in; text-indent: -0.5in; } }
#content li li, #content li li li, #content blockquote { font-size: 100%; }
#content a { text-decoration: none; font-weight: 500; color: #444444; background-color: #eeeeee; padding: 0 4px; border-radius: 3px; }
#content a:hover { color: black; background-color: #dddddd; }
#content h1 a, #content h2 a, #content h3 a, #content h4 a
   { font-weight: 700; color: black; background-color: white; padding: 0; border-radius: 0; }
#content h1 a:hover, #content h2 a:hover, #content h3 a:hover, #content h4 a:hover
   { background-color: white; text-decoration-line: underline; text-decoration-thickness: 1px; }
#content .entrydate { font-weight: 500; color: #990000; }

#content h1.flat, #content h2.flat, #content h3.flat, #content h4.flat, #content p.flat
   { margin-top: 0; margin-bottom: 0; }
#content h1.thin, #content h2.thin, #content h3.thin, #content h4.thin, #content p.thin
   { margin-top: 0.25em; margin-bottom: 0.25em; }
#content h1.flattop, #content h2.flattop, #content h3.flattop, #content h4.flattop, #content p.flattop
   { margin-top: 0; }
#content h1.thintop, #content h2.thintop, #content h3.thintop, #content h4.thintop, #content p.thintop
   { margin-top: 0.25em; }
#content h1.flatbase, #content h2.flatbase, #content h3.flatbase, #content h4.flatbase, #content p.flatbase
   { margin-bottom: 0; }
#content h1.thinbase, #content h2.thinbase, #content h3.thinbase, #content h4.thinbase, #content p.thinbase
   { margin-bottom: 0.25; }

#content #social-media { margin: 1em 0 1em 0; }
#content #social-media a { background-color: white; padding: 0; margin: 0; }
#content #social-media img { height: 30px; width: auto; padding-right: 6px; opacity: 0.25; filter: alpha(opacity=25); }
#content #social-media img:hover { opacity: 1.0; filter: alpha(opacity=100); }


/* Temporary styles for blocks placeholder. */

#background { display: inline-block; width: 100%; background: url("/assets/inspirelab/inspire-background.png") repeat; }
#content #blocks { text-align: center; }
#content #blocks img { width: 100%; height: auto; }


/* Styles for news page. */

#content .newsitem { clear: both; overflow: auto; padding-bottom: 1em; border-bottom: 5px solid #eeeeee; margin-bottom: 3em; }
#content .newsitem h2, #content .newsitem h3 { margin-top: 0; }


/* Styles for About Us page / Twitter feed. */

@media (min-width: 768px) { 
   #aboutus { float: left; width: 400px; margin-bottom: 2em; }
   #twitter { float: right; width: 300px; height: 650px; }
}


/* Styles for reference list/s. */

#content .referencelist p { text-indent: -0.25in; padding-left: 0.25in; }
@media (min-width: 768px) { #content .referencelist p { text-indent: -0.5in; padding-left: 0.5in; } }


/* Styles for mini-bios. */

#content .personsummary { margin-top: 1em; margin-bottom: 0.75em; font-size: 90%; overflow: auto; }
#content .personsummary .personinfo { margin-left: 30%; padding-bottom: 10px; }
#content .personsummary .personinfo p { margin: 0 0 0.5em 0; }
#content .personsummary .personinfo h3 { clear: none; margin: 0 0 0.25em 0; }
@media (min-width: 768px) { #content .personsummary { font-size: 100%; }
                            #content .personsummary .personinfo { padding-bottom: 20px; }}


/* Forms. */

.chanform input[type="text"], textarea { font-family: 'Source Sans'; font-size: 100%; font-weight: 300; width: 95%;
                                         border: 1px solid #cccccc; padding: 3px; -webkit-appearance: none; }
.chanform input[type="text"].additional { width: auto; }

.chanform > table { width: 100%; font-size: 120%; line-height: 125%; }
.chanform td { vertical-align: top; }
.chanform td.label { width: 35%; text-align: right; padding: 5px; }
#content .chanform td.label p { margin: 0; font-weight: 300; font-size: 90%; line-height: 120%; }
.chanform td.value { font-size: 90%; font-weight: 300; width: 65%; text-align: left; padding: 5px; }
#content .chanform .required { color: #990000; font-weight: bold; }
.chanform #Your_URL { display: none; }


/* Styles for APA/publication list. */

#content p.apa { padding-left: 0.25in; text-indent: -0.25in; }
@media (min-width: 768px) { #content p.apa { padding-left: 0.5in; text-indent: -0.5in; } }
#content div.abstract { padding: 0.5em 1em; background-color: #f0f0f0; }
#content div.abstract p { padding: 0.5em 0; margin: 0; }
#content .hide-abstract { display: none; }
#content .hidden { display: none; }
#content .hide { display: none; }
