/* The Virtual Emergency Operations Center
 * Static stylesheet based on the supplied original Drupal/Pixture Reloaded CSS.
 */

/* Theme settings */
.bb-n .texture-overlay {
  background-image: none;
}

/* Layout helpers */
.container {
  margin: 0 auto;
}

html {
  color: #000000;
  background: #e3e7f5 url("../images/bg-wall.png") repeat-x left top;
}

body {
  padding: 0;
  margin: 0;
  line-height: 1.5;
  font-size: 87.5%;
  font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
}

#page {
  background: #ffffff;
}

.content-inner {
  min-height: 1px;
}

#content-column,
.content-column {
  width: 100%;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.clearfix {
  zoom: 1;
}

/* HTML elements */
article,
aside,
details,
figcaption,
figure,
footer,
header,
menu,
nav,
section {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
  -ms-interpolation-mode: bicubic;
}

a img {
  border: none;
}

a,
a.active {
  text-decoration: none;
}

a:hover,
a.active:hover,
a:focus,
a.active:focus {
  text-decoration: underline;
}

a:link,
a:visited,
a:active,
a.active {
  color: #4b5cc3;
}

a:hover,
a:focus {
  color: #6475dc;
}

strong,
dfn,
caption,
th {
  font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0.4em;
}

h1 {
  font-size: 1.416em;
}

h2 {
  font-size: 1.25em;
}

h3 {
  font-size: 1.167em;
}

h4,
h5,
h6 {
  font-size: 1em;
}

p {
  margin-top: 0.4em;
  margin-bottom: 0.8em;
  padding: 0;
}

h1#page-title {
  padding: 0;
  margin: 0 0 0.46em;
  font-size: 2em;
}

ul,
ol {
  margin: 0 0 1.5em 30px;
  padding: 0;
}

ul ul,
ul ol,
ol ol,
ol ul {
  margin: 0 0 0 1em;
}

ul {
  list-style-type: disc;
}

ul ul ul {
  list-style-type: square;
}

ol {
  list-style-type: decimal;
}

ol ol {
  list-style-type: lower-alpha;
}

ol ol ol {
  list-style-type: lower-roman;
}

ul ul,
ul ul ul ul {
  list-style-type: circle;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 0 1.5em 30px;
}

ul ul {
  margin-left: 15px;
}

li a,
li a:visited,
li a:active,
li a:hover {
  font-weight: normal;
}

ul.menu {
  margin: 0 0 0 15px;
  padding: 0;
}

ul.menu ul {
  margin-left: 15px;
}

/* Skip link */
#skip-link {
  left: 50%;
  margin-left: -6.5em;
  margin-top: 0;
  padding: 0 0.5em;
  position: absolute;
  width: 12em;
  z-index: 50;
}

#skip-link a,
#skip-link a:link,
#skip-link a:visited {
  background: #444;
  background: rgba(0,0,0,0.6);
  color: #fff;
  display: block;
  line-height: 2;
  padding: 0;
  text-align: center;
  text-decoration: none;
  border-radius: 0 0 10px 10px;
}

#skip-link a:hover,
#skip-link a:active,
#skip-link a:focus {
  outline: 0;
}

/* Header */
#header {
  margin: 0;
  padding: 0;
  max-height: 88px;
  line-height: 1;
  background: #062984 url("../images/header-tile.png") repeat-x left top;
}

.header-inner {
  background: transparent url("../images/header.png") no-repeat top left;
}

#branding {
  float: left;
  padding: 0;
  width: 49.5%;
}

#header,
#branding {
  max-height: 88px;
  line-height: 1;
}

#header .h-group {
  padding: 0;
  margin: 0;
}

#logo {
  display: block;
  float: left;
  margin: 0 10px 0 0;
  overflow: hidden;
  padding: 10px 0 0 10px;
}

#site-name {
  font-size:2em;
  margin: 0;
  padding: 13px 0 0 0;
  overflow: hidden;
  line-height: 1.3em;
}

#site-name a {
  color: #feffff;
}

#site-slogan {
  font-size: 1em;
  line-height: 1em;
  text-align: left;
  margin: 0;
  color: #fefefe;
}

/* Main menu */
#menu-bar {
  clear: both;
  min-height: 2.5em;
  line-height: 2.5em;
  padding: 0;
  z-index: 100;
  position: relative;
  background-color: #062984;
}

#menu-bar ul {
  padding: 0;
}

#menu-bar ul ul {
  padding: 0;
}

#menu-bar ul,
#menu-bar ul li {
  margin: 0;
  list-style: none;
  list-style-image: none;
}

#menu-bar ul li {
  float: left;
  padding: 0;
}

#menu-bar ul li a {
  font-weight: bold;
  padding: 0 10px;
  color: #fffffe;
}

#menu-bar ul.menu li a:hover {
  background: transparent;
}

#menu-bar .block,
#menu-bar .block-inner,
#menu-bar .block-inner .block-content {
  background: transparent;
  padding: 0;
  margin: 0;
}

#menu-bar .block-menu {
  margin: 0 5px;
}

#menu-bar .block-menu ul ul {
  display: none;
}

/* Columns/content */
#columns {
  padding-top: 30px;
  clear: both;
}

#main-content {
  margin-left: 10px;
  margin-right: 10px;
}

#main-content .node {
  margin: 0 0 15px 0;
  padding: 0;
}

/* Tables */
table {
  border-spacing: 0;
  border-color: #eee;
  margin: 1em 0;
  padding: 0;
  width: 100%;
}

table,
tr,
td,
thead,
tbody {
  border-spacing: 0;
  border-collapse: collapse;
  border-width: 0;
}

table {
  font-size: 1em;
  width: 100%;
  margin: 0 0 10px 0;
}

table,
td,
th {
  vertical-align: middle;
}

caption,
th,
td {
  text-align: left;
}

thead th {
  border-bottom: 1px solid #eee;
  color: #494949;
  font-weight: 700;
}

td,
th {
  border-bottom: none;
  margin: 0;
  padding: 0.375em 0.5em;
}

tr.even,
tr.odd {
  border-bottom: none;
}

tr.odd {
  background: #e3e7f5;
}

tr.even {
  background: #fbf0f6;
}

/* Images: supplied AT image settings */
.field-type-image {
  width: auto;
}

.field-type-image img {
  display: block;
}

.field-type-image figure {
  overflow: hidden;
}

.field-type-image figure,
.field-type-image figcaption {
  max-width: 100%;
}

.field-type-image figcaption {
  text-align: left;
}

.field-type-image .field-label {
  margin-bottom: 5px;
}

/* Footer */
#footer {
  font-size: 0.92em;
  text-align: center;
  border: none;
  background: #062984;
  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#062984), to(#5283ff));
  background-image: -moz-linear-gradient(-90deg, #062984, #5283ff);
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#062984', endColorstr='#5283ff')";
  filter: progid:DXImageTransform.Microsoft.gradient(enabled='true',startColorstr=#062984,endColorstr=#5283ff,GradientType=0);
  color: #fffafc;
}

#footer-inner {
  min-height: 88px;
  background-size: 100%;
}

#footer a {
  color: #fffafc;
  text-decoration: none;
  font-weight: normal;
}

/* Responsive rules */
@media only screen and (max-width: 320px) {
  #header,
  .header-inner {
    background: #062984;
  }
}

@media only screen and (min-width: 321px) and (max-width: 480px) {
  #header,
  .header-inner {
    background: #062984;
  }
}

@media only screen and (min-width: 481px) and (max-width: 768px) {
  #header,
  .header-inner {
    background: #062984;
  }
}


/* TVEOC static-site overrides — v2 */

/* Keep the theme background visible around one consistent-width site shell. */
html {
  background: #e3e7f5 url(../images/bg-wall.png) repeat-x left top;
  overflow-y: scroll;
}

#page {
  width: 78%;
  max-width: none;
  min-width: 0;
  margin: 0 auto;
  background: #fff;
  box-sizing: border-box;
}

/* Original 88px header artwork, contained within the same site width. */
#header {
  max-height: none;
  min-height: 88px;
}

#header .header-inner {
  min-height: 88px;
  background: transparent url(../images/header.png) no-repeat top left;
}

/* Original theme heading setting is normal weight, not bold. */
#site-name,
#site-name a {
  font-weight: 400;
}

/* Keep the logo vertically centered while retaining a left buffer. */
#branding {
  float: none;
  width: 100%;
  max-height: none;
  min-height: 88px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  box-sizing: border-box;
}

#logo {
  float: none;
  flex: 0 0 auto;
  margin: 0 10px 0 0;
  padding: 0;
}

#name-and-slogan {
  flex: 0 1 auto;
  min-width: 0;
}

#site-name {
  margin: 0;
  padding: 0;
  font-size: 2em;
  line-height: 1.3em;
}

#site-slogan {
  margin: 0;
  line-height: 1em;
}

/* Main content fills the same shell as the header and footer. */
#columns,
#content-column,
.content-inner {
  width: 100%;
  box-sizing: border-box;
}

#main-content {
  margin-left: 18px;
  margin-right: 18px;
}

/* Preserve the original footer height and theme treatment. */
#footer {
  min-height: 88px;
}

#footer-inner {
  min-height: 88px;
  padding-top: 30px;
  box-sizing: border-box;
}

/* Awards: only the middle column of the original three-column table
   receives the theme's blue block-inner color. */
body.awards-page #main-content {
  background: transparent;
}

.awards-table-wrapper {
  background: transparent;
}

table.awards {
  width: 100%;
}

table.awards td:nth-child(2) {
  background-color: rgb(187, 199, 229);
  text-align: center;
}

table.awards tr:first-child td:nth-child(2) {
  background-color: transparent !important;
}

/* Small screens: use the available width and avoid header overflow. */
@media only screen and (max-width: 768px) {
  #page {
    width: auto;
    max-width: none;
    margin: 0;
  }

  #header .header-inner {
    min-height: 88px;
    background-image: none;
  }

  #branding {
    min-height: 88px;
    padding: 10px 20px;
    flex-wrap: wrap;
  }

  #logo {
    margin: 0 auto;
  }

  #name-and-slogan {
    flex: 1 1 100%;
    text-align: center;
  }

  #main-content {
    margin-left: 10px;
    margin-right: 10px;
  }

  #site-name {
    padding: 5px 0;
  }
}

/* Home-page archival notice.  The notice uses the existing TVEOC visual language
   and disappears to reveal the preserved site underneath. */
body.archive-modal-open {
  overflow: hidden;
}

.archive-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.58);
}

.archive-modal.is-closed {
  display: none;
}

.archive-modal-inner {
  position: relative;
  width: 100%;
  max-width: 860px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 24px 28px 22px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #284ead;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.archive-modal-inner h2 {
  margin: 0 30px 8px;
  color: #284ead;
  font-size: 1.6em;
  line-height: 1.2em;
  text-align: center;
}

.archive-modal-notice {
  margin: 0 10px 18px;
  line-height: 1.35em;
  text-align: center;
}

.archive-modal-inner p {
  margin-top: 0.6em;
  margin-bottom: 0.9em;
}

.archive-modal-continue {
  margin-top: 20px !important;
  margin-bottom: 0 !important;
  text-align: center;
}

.archive-modal-button {
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid #284ead;
  background: #284ead;
  color: #fff;
  font: inherit;
  font-weight: bold;
  cursor: pointer;
}

.archive-modal-button:hover,
.archive-modal-button:focus {
  background: #4b5cc3;
  border-color: #4b5cc3;
}

.archive-modal-close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #284ead;
  font-size: 24px;
  line-height: 28px;
  cursor: pointer;
}

.archive-modal-close:hover,
.archive-modal-close:focus {
  color: #4b5cc3;
}

@media only screen and (max-width: 600px) {
  .archive-modal {
    padding: 10px;
  }

  .archive-modal-inner {
    max-height: calc(100vh - 20px);
    padding: 22px 18px 18px;
  }

  .archive-modal-inner h2 {
    margin-left: 20px;
    margin-right: 20px;
  }
}
