@import url('https://fonts.googleapis.com/css?family=Crimson+Text:400,400i,600,600i,700,700i');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,600,700,800&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese');

html {
  overflow-y: scroll;
}

*:focus-visible {
  outline: 2px solid blue;
}

.keyboard-shortcut {
  background: #fff;
  color: #000;
  left: 6px;
  padding: 4px 8px;
  position: absolute;
  top: -99px;
  z-index: 999;
}

.keyboard-shortcut:focus {
  top: 6px;
}

body, #wrap {
  border: 0;
  color: #000;
  text-rendering: optimizeLegibility;
}

a {
  color: #000 !important;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/*----- Default Issue Selection Page ---------------*/

body.issues {
  background: #f5f7fa;
  color: #222;
  font: 400 1rem Arial, sans-serif;
  margin: 0 auto;
  text-rendering: optimizeLegibility;
  padding: 10px 20px;
  max-width: 864px;
}

.issues ol li::marker {
  font-size: 16px !important;
}

#epWrapper {
  background-color: #fff;
  border-radius: 8px;
}

.issues h1 {
  margin: 21px 0 !important;
  color: #222;
  font-size: 22px;
}

body.issues div.NAVEXLogo {
  background: #fff url(/domain/en/images/default_reporter/NAVEX_logo.svg) no-repeat center top;
  margin-bottom: 20px;
  height: 44px;
  width: 177px;
}

#epNAVEXFooter {
  direction: ltr !important;
}

body.issues #epNAVEXFooter {
  border: none !important;
  clear: both;
  color: #333333 !important;
  font-size: .95rem !important;
  margin: 0 auto !important;
  padding: 20px 0px !important;
}

body.issues #epNAVEXFooter th {
  display: none !important;
}

body.issues #epNAVEXFooter .line1, body.issues #epNAVEXFooter .line2 {
  float: none !important;
  text-align: center !important;
  text-transform: capitalize !important;
}

body.issues #epNAVEXFooter a {
  border: none !important;
  color: #333 !important;
  font-size: inherit;
  line-height: 20px;
  text-decoration: underline !important;
  text-transform: capitalize !important;
}

body.issues #epNAVEXFooter a:hover {
  color: #000 !important;
}

body.issues #epSecureText {
  color: #222 !important;
  display: block;
  text-align: center;
  font-size: 12px;
}

body.issues #epSecureText .securetext {
  font-size: 12px;
  font-weight: bold;
}

body.issues #epSecureText .filetext {
  font-size: 12px;
  font-weight: 700;
}

body.issues #epContent {
  margin: 0px;
}

body.issues #epContent header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  padding: 10px;
  border-bottom: 1px solid #ccc;
}

body.issues #epColumn3 {
  margin: 0px auto;
}

main {
  padding: 10px;
}

/*Issues*/

#epIssues .details {
  font-size: 14px;
}

#epIssues .catname {
  color: #000;
  font-size: 16px;
  margin: 40px 0 20px;
}

#epIssues .catdesc {
  display: none;
}

#epIssues .issue {
  border: 1px solid #ccc;
  border-radius: 4px;
  color: #000;
  margin: 10px 0;
  padding: 10px;
  position: relative;
  display: grid;
  grid-template-columns: auto min-content;
}

#epIssues .issue:hover {
  background: #ccc;
}

#epIssues .name {
  font-size: inherit;
  line-height: 20px;
}

#epIssues .desc {
  padding: 10px 25px;
  grid-column: span 2;
  line-height: 20px;
}

footer nav ul {
  list-style: none !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 !important;
}

footer nav ul li {
  padding: 0 5px !important;
}

/*----- Language Specific Edits ---------------*/

/*Align the Emergency Statement and T&C check box to the right*/

div.norm12:lang(ar), div.norm12:lang(he), div.norm12:lang(fa), div.norm12:lang(ku), div.norm12:lang(ur){
  text-align: right;
}

/*More the "details" link to the left for RTL langs*/

#epIssues .details:lang(ar), #epIssues .details:lang(he), #epIssues .details:lang(fa), #epIssues .details:lang(ku), #epIssues .details:lang(ur) {
  right: 700px;
}



@media only screen and (min-width:1024px) {
  body.issues {
    font: 400 16px Arial, sans-serif;
    padding: 20px 40px;
  }

  body.issues div.NAVEXLogo {
    margin-bottom: 0;
  }

  body.issues #epNAVEXFooter {
    width: 780px !important;
  }

  body.issues #epSecureText {
    font-size: 16px;
  }

  body.issues #epSecureText .securetext {
    font-size: 16px;
  }

  body.issues #epSecureText .filetext {
    font-size: 16px;
  }

  .issues ol li::marker {
    font-size: 20px !important;
  }

  body.issues #epContent header {
    flex-direction: row;
    padding: 32px;
  }

  body.issues #epColumn3 {
    width: 800px;
  }

  .issues h1 {
    font-size: 32px;
  }

  #epIssues .catname {
    font-size: 20px;
  }

  main {
    padding: 32px;
  }

  #epIssues .name {
    font-size: 15px;
  }

  #epIssues .name:lang(ar),#epIssues .name:lang(fa),#epIssues .name:lang(he),#epIssues .name:lang(ku),#epIssues .name:lang(ur) {
    font-size: 15px;
  }

  footer nav ul {
    flex-direction: row;
  }
}
