:root {
  --primary-color: #003168;
  --primary-color-shade: #10599e;
  --custom-background-color: #F7F7F7;
  --secondary-color: #337AB7;
  --secondary-color-shade: #1A619E;
  --accent-color: #FBAD24;
  --list-title-color: #2f6ea1;
  --detail-title-color: #003168;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

html {
  font-size: 0.8125em;
  line-height: 1.5;
}

body {
  font-family: source-sans-pro, sans-serif;
  color: #333;
  cursor: default;
}

pre {
  overflow: auto;
}

code,
pre {
  font-family: source-code-pro, monospace;
}

h1 {
  font-size: 1.675rem;
  font-weight: 300;
  font-style: normal;
}

h2 {
  font-size: 1.5rem;
  font-weight: 300;
  font-style: normal;
}

.LayoutGrid {
  max-width: 900px;
  min-width: 300px;
  padding: 0 10px 10px;
}

.LayoutCenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.PanelFillExtraLight {
  background-color: #fff;
}

.PanelDiffuseShadow {
  box-shadow: 0 0 9px 1px rgba(0,0,0,.2);
  -moz-box-shadow: 0 0 9px 1px -moz-rgba(0, 0, 0, .2);
  -webkit-box-shadow: 0 0 9px 1px rgba(0,0,0,.2);
  zoom: 100%;
}

.init * {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -ms-transition: none !important;
  -o-transition: none !important;
}

:link:focus {
  outline: 2px solid var(--primary-color);
  -moz-outline-radius: 3px;
}

:link:hover,
:link:focus {
  text-decoration: underline;
}

:link:active,
:link:hover {
  outline: 0;
}

.sr-only {
  width: 1px;
  height: 1px;
  margin: 0 -1px -1px 0;
  overflow: hidden;
  border: 0;
  padding: 0;
  position: absolute;
}

.megamenu-home-link {
  position: relative;
  left: 10px;
  top: 0px;
  bottom: 0px;
  right: 0px;
}

.megamenu-home-link,
.megamenu-home-link a {
  color: #fff;
}

.megamenu-home-link a:hover,
.megamenu-home-link a:focus {
  color: var(--accent-color);
  text-decoration: none;
}

.megamenu-home-link a span {
  vertical-align: middle;
}

.megamenu-home-link [class^="ca-gov-icon-"] {
  font-size: 28.5px;
}


.nav > li > a:hover,
.nav > li > a:focus {
  text-decoration: underline;
}

.toggleNavBtn {
  color: white;
  font-weight: normal;
  text-decoration: none;
  float: right;
  font-size: 12px;
  padding: 0px 0px 0px 0px;
  background-color: var(--secondary-color);
  border: none;
}

.toggleNavBtn:hover {
  text-decoration: underline;
  color: white;
  font-weight: normal;
}

.toggleNavBtn:visited {
  color: white;
  font-weight: normal;
}

.toggleNavBtn:focus {
  color: white;
  font-weight: normal;
}

.kendo-form-control {
  height: 34px;
}

span.kendo-form-control {
  border-width: 0;
}

input.kendo-form-control {
  height: 34px;
}

li.k-state-selected {
  -webkit-box-shadow: inset 0 0 0 0 #428bca, inset 0 0 0 0 #76abd9;
  box-shadow: inset 0 0 0 0 #428bca, inset 0 0 0 0 #76abd9;
  border-color: var(--primary-color);
  background-color: var(--secondary-color);
}

.k-multiselect {
  height: 32px;
  border-width: 0;
}

textarea.form-control {
  height: 34px;
}

/* CSS For Fullscreen Pages*/
.full-height {
  height: 100%;
  overflow: hidden;
}

.flex-grow-1 {
  flex-grow: 1;
}

.body-flex {
  display: flex;
  flex-direction: column;
}

.global-header-fullscreen {
  border-left: 0px;
  border-right: 0px;
  height: 75px;
}

.hide-on-fullscreen {
  display: none;
}

/* Precent extra padding-right when modal appears */
.modal-open {
    padding-right: 0 !important;
}

/* CSS for area where user downloads files */
#source-file-box {
  background-color: var(--custom-background-color);
  padding: 2em;
}

.text-wrap {
  overflow-wrap: break-word;
}

/* CSS for color/header updates */
.instruction-text {
  background-color: var(--custom-background-color);
  padding: 2em;
  margin-top: 1em;
  margin-bottom: 2em;
}

.instruction-text a {
  color: var(--secondary-color);
  text-decoration: underline;
}

#certification {
  font-weight: 600;
}

.section-title {
  background-color: var(--primary-color);
  padding: 0.5em;
  padding-left: 1.2em;
  color: white;
  margin-top: 2em;
  margin-bottom: 0.5em;
}

.detail-records-title {
  background-color: var(--primary-color);
  padding: 0.9em;
  padding-left: 1.1em;
  color: white;
  margin-top: 1.5em;
}

.detail-records-title a {
  color: white;
  text-decoration: underline;
}

/* Download template link*/
.download-link {
  padding-top: 35px;
  text-decoration: underline;
}

.download-link a {
  color: var(--secondary-color);
}

/* Submit EDD Button Area*/
#startBlankEDDButton {
  height: 100%;
  width: 100%;
  border: 2px solid #CCCCCC;
  height: 35px;
}

/* Form helper text (Submit EDD and Generate AOR pages) */
.helper-text {
  font-size: 1rem;
  text-align: center;
  color: var(--secondary-color);
  font-weight: 800;
  padding-top: 10px;
}

/* CSS for breadcrumbs */
.breadcrumb {
  background: white;
  padding-top: 15px;
  padding-left: 0px;
  padding-bottom: 30px;
  width: 100%;
  float: left;
  margin-bottom: 0px;
}

.breadcrumb a {
  text-decoration: underline;
}

.breadcrumb-active-page {
  font-weight: bold;
}

.text-right {
    text-align: right;
}

/* Buttons */
.button-white {
    background-color: #FFFFFF;
    color: var(--secondary-color);
    border-color: #CED4DA;
}

    .button-white:focus {
        background-color: #FFFFFF;
        color: var(--secondary-color);
        border-color: #CED4DA;
    }

    .button-white:hover {
        background-color: #E6E6E6;
        color: var(--secondary-color);
        border-color: #CED4DA;
    }

    .button-white:active {
        background-color: #E6E6E6 !important;
        color: var(--secondary-color) !important;
        border-color: #CED4DA !important;
    }

.button-blue {
    background-color: var(--secondary-color);
    color: #FFFFFF;
    border-color: var(--secondary-color);
}

    .button-blue:focus {
        background-color: var(--secondary-color);
        color: #FFFFFF;
        border-color: var(--secondary-color);
    }

    .button-blue:hover {
        background-color: var(--secondary-color-shade);
        color: #FFFFFF;
        border-color: var(--secondary-color);
    }

    .button-blue:disabled:hover {
        background-color: #6C757D;
        color: #FFFFFF;
        border-color: #6C757D;
    }

    .button-blue:active {
        background-color: var(--secondary-color-shade) !important;
        color: #FFFFFF !important;
        border-color: var(--secondary-color) !important;
    }

    .button-blue:disabled:active {
        background-color: #6C757D !important;
        color: #FFFFFF !important;
        border-color: #6C757D !important;
    }

.button-gray {
    background-color: #D3D5D6;
    color: #000000;
    border-color: #D3D5D6;
}

.button-fill {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

/* Home page CSS */

#home-page-content {
  margin-top: 3em;
}

.home-page-panel-title {
  font-weight: 700;
  font-size: 19px;
  padding-bottom: 10px;
  color: var(--primary-color);
}

.home-page-panel-body-management {
  background-color: #FFFFFF;
  border: solid 1px #42729B;
}

.home-page-panel {
  height: 100%;
  box-shadow: none;
}

.home-page-panel-body {
  background-color: var(--custom-background-color);
  border: 2px solid #E3E3E3;
  border-radius: 5px;
  text-align: center;
  height: 100%;
  position: relative;
  min-height: 150px;
}

.inner-column {
  position: relative;
  min-height: 150px;
}

@media only screen and (max-width: 1545px) {
  .inner-column {
    min-height: 175px;
  }
}

@media only screen and (max-width: 1295px) {
  .inner-column {
    min-height: 200px;
  }

  .standard-button {
    height: 40px;
    line-height: 40px;
  }
}

@media only screen and (max-width: 1231px) {
  #view-edds-button {
    height: revert;
    line-height: revert;
  }
}

@media only screen and (max-width: 1131px) {
  #epa-button {
    height: revert;
    line-height: revert;
  }
}

@media only screen and (max-width: 1070px) {
  .inner-column {
    min-height: 250px;
  }
}

@media only screen and (max-width: 1050px) {
  #documents-button {
    height: revert;
    line-height: revert;
  }
}

@media only screen and (max-width: 991px) {
  .inner-column {
    min-height: 85px;
  }

  .standard-button {
    height: revert;
    line-height: revert;
  }
}

/* Global Vue styles
-------------------------------------------------- */
[v-cloak] {
  display: none
}