/*
   Styles for MINDS.
*/

/* General styles. */

body { font-family: 'Source Sans', 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: 135px; 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; } }


/* CeNEC identity. */

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

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


/* Banner images. */

#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; }
}


/* Page content. */

#content { font-family: 'Source Sans', sans-serif; margin: 30px 10px 50px 10px; }
@media (min-width: 768px) { #content { max-width: 1300px; margin: 0 auto 50px auto; padding: 0 50px; } }

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

#content p, #content blockquote { font-weight: 300; line-height: 135%; color: #333333; }
#content li { font-weight: 300; line-height: 135%; color: #333333; }
#content p, #content li { font-size: 120%; }
#content b, #content strong { font-weight: 400; }
#content li p, #content li li, #content li li li, #content blockquote { font-size: 100%; }
#content a { text-decoration: none; font-weight: 400; color: #444444; background-color: #eeeeee; padding: 0 4px; border-radius: 3px; }
#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 a:hover { color: black; background-color: #dddddd; }

#content p#sign-up { margin-top: 1.5em; }
#content p#sign-up a { font-size: 140%; font-weight: 800; padding: 4px 6px; color: white; background-color: #6e9cc4; }
#content p#sign-up a:hover { background-color: #1C3144; }


/* Specific content sections. */

.content-section { display: flex; flex-direction: column; /* align-items: flex-start; */ }
.content-section > div { padding-bottom: 1em; }
.content-section.border { border-bottom: 2px solid #eeeeee; }
@media (min-width: 768px)
   { .content-section { flex-direction: row; justify-content: space-between; }
     .content-section div.half { flex-basis: 48%; }
     .content-section div.third { flex-basis: 31%; }
     .content-section div.twothirds { flex-basis: 64%; } }


/* Forms. */

.chanform input[type="text"], textarea { font-family: 'Source Sans', sans-serif;
                                         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 input[type="button"] { font-family: 'Source Sans', sans-serif; font-size: 125%; font-weight: 700; margin-bottom: 1em; }

.chanform table { width: 75%; font-size: 120%; line-height: 125%; margin: auto; }
.chanform td { vertical-align: top; }
.chanform td.label { width: 45%; text-align: right; padding: 5px; font-weight: 300; }
#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: 55%; text-align: left; padding: 5px; }
.chanform #Your_URL { display: none; }

