/*Header*/

header {
  float: left;
  width: 100%;
  padding: 24px 20px 18px
}

.jswa-header {
  padding-top: 10px;
  padding-bottom: 15px;
}

.jswa-header a span {
  display: block;
  position: absolute !important;
  clip: rect(1px 1px 1px 1px)
}

.jswa-header .jswa-header--block {
  display: inline-block;
  float: left
}


@media only screen and (min-width: 1220px) {
  .jswa-header .jswa-header--dtwd-logo {
    margin-right: 40px;
    margin-top: 7px;
    margin-left: 10px
  }

  .jswa-header .jswa-header--dtwd-logo img {
    max-height: 70px;
  }
}

@media only screen and (max-width: 1219px) and (min-width:980px) {
  .jswa-header .jswa-header--dtwd-logo {
    margin-right: 30px;
    margin-top: 7px;
    margin-left: 10px
  }

  .jswa-header .jswa-header--dtwd-logo img {
    max-height: 65px;
  }
}

@media only screen and (max-width: 979px) {
  .jswa-header .jswa-header--dtwd-logo {
    text-align: center;
    margin-right: 20px;
    margin-top: 7px;
    margin-left: 10px
  }

  .jswa-header .jswa-header--dtwd-logo img {
    max-height: 60px;
  }
}

@media only screen and (min-width: 1220px) {
  .jswa-header .jswa-header--jswa-logo {
    text-align: right;
    margin-right: 10px;
    margin-top: 7px
  }

  .jswa-header .jswa-header--jswa-logo img {
    max-width: 230px;
  }
}

@media only screen and (max-width: 1219px) and (min-width:768px) {
  .jswa-header .jswa-header--jswa-logo {
    text-align: right;
    margin-right: 10px;
    margin-top: 7px
  }

  .jswa-header .jswa-header--jswa-logo img {
    max-width: 200px;
  }
}

@media only screen and (max-width: 767px) {
  .jswa-header .jswa-header--jswa-logo {
    text-align: right;
    margin-right: 10px;
    margin-top: 7px
  }

  .jswa-header .jswa-header--jswa-logo img {
    max-width: 200px;
  }
}

@media only screen and (max-width: 767px) {
  .jswa-header .logo-container {
    text-align: center
  }

  .jswa-header .logo-container .jswa-header--jswa-logo,
  .jswa-header .logo-container {
    float: none
  }

  .jswa-header .logo-container .jswa-header--jswa-logo img {
    width: 140px;
    margin-right: 20px
  }
}

#header-subtitle {
  color: #B42228;
  font-size: 1.5rem;
  padding-top: 10px;
}


.page-heading {
  padding-top: 5px !important;
}

.page-header {
  padding-bottom: 0px !important;
  margin: 0px 0 20px !important;
  border-bottom: 4px solid #aa2830 !important;
}


.list-group {
  --bs-list-group-active-bg: #aa2830 !important;
  --bs-list-group-active-border-color: #aa2830 !important;
}

.card-body,
.list-group-item {
  color: #fff !important;
  border: solid 1px #fff !important;
}

.list-group-item-success {
  background-color: #333 !important;
}

.progress {
  --bs-progress-bg: #333 !important;
}

.progress .text-muted {
  color: #fff !important;
}

.form-control:focus {
  border-color: #b42228;
  outline: 0;
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(180 34 40 / 60%);
  z-index: 10;
  position: relative
}

.crmEntityFormView {
  border: none !important;
}

.crmEntityFormView .cell {
  padding-left: 0px !important;
}

.form-select,
.form-control {
  border: 1px solid #949494 !important;
}

.msos-container,
.msos-caret-container {
  border-radius: 0.375rem;
}

.msos-input-container,
.msos-optionitem-text {
  font-size:1rem;
  font-family: Lato, sans-serif, FontAwesome !important;
  padding-top: 5px !important;
}

.msos-caret-button .msos-glyph:after {
  font-size: 11px !important;
  padding-right: 22px !important;
  font-weight: bold !important;
  color: black !important;
}

.msos-quick-delete .msos-glyph:after {
  padding-left: 22px ! important;
}

.msos-selecteditems-toggle,
.msos-itemcount-text {
  font-family: Lato, sans-serif, FontAwesome !important; 
  color: black !important;
}

/* increase the checkbox sizing to match text */
.checkbox input {
  height: 18px;
  width: 18px;
}

.crmEntityFormView .cell.checkbox-cell div.table-info {
  padding-left: 10px !important;
  width: 95%;
}

@media only screen and (min-width: 768px) {
  .crmEntityFormView .cell.checkbox-cell  {
    padding-bottom: 10px !important;
  }
}

div#EntityFormPanel .cell.checkbox-cell {
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 20px;
  padding-left: 0px!important;
}


input[type=checkbox] {
  margin-top: 0px !important;
}

@media only screen and (min-width: 768px) {
  html[dir=ltr] .crmEntityFormView .tab .tab-column {
    padding-left: 20px; 
    float: left;
  }
}

@media only screen and (max-width: 767px) {
    html[dir=ltr] .crmEntityFormView .tab .tab-column {
      padding-left: 0px; 
      float: left;
    }
}

div[data-name='tabContactDetails'] .tab-column:first-child {
  padding-left: 0px!important; 
}


div [data-name='tabCareerProfile'] .tab-column fieldset:first-child~fieldset {
  display: none;
}

/* hide 2nd section onwards in tabCareerProfile by default */
div [data-name='tabCareerProfile'] .tab-column fieldset:first-child~fieldset {
  display: none;
}

div [data-name='tabCareerProfile'] .tab-column fieldset:first-child .description.below {
  display: none;
}

.lookupInstruction {
  font-size: 16px;
  font-weight: normal;
}

.grid-title {
  font-weight: 600;
  font-size: 14px;
}

.grid-header {
  font-weight: 400;
  font-size: 14px;
}

.section-description {
  font-weight: 400;
  font-size: 14px;
}

.dropdown-menu>li>a:hover,
.dropdown-menu>li>a:focus {
  text-decoration: underline !important;
  display: block !important;
  ;
  width: auto !important;
  ;
  background-color: transparent !important;
  ;
  color: #aa2830 !important;
  ;
}

.dropdown.action button {
  padding: 2px;
}

.alert-warning {
  --bs-alert-color: #333;
  --bs-alert-bg: transparent;
  --bs-alert-border-color: transparent;
  font-style: italic;
}

.table>thead {
  background-color: #e1e1e1;
}

.table thead a {
  color: #333;
  font-weight: 500;
}

/* removing table stripe */
.table {
  --bs-table-striped-bg: transparent !important;
}

.grid-actions {
  border-bottom: 3px solid #b42228 !important;
}


.navbar {
  background-color: #333 !important;
  color: #fff !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  min-height: auto !important;
  float: left;
  width: 100%;
  padding-top:5px !important;
  padding-bottom:5px !important;
}

.navbar-toggle {
  display: none !important;
}

.navbar-inverse {
  background-color: #E1E1E1 !important;
  border-color: #E1E1E1 !important;
  padding: 3px;
  font-size: 16px;
  height: 5em;
}

.navbar-nav {
  margin-top: 0em !important;
}

.navbar ul>li>a {
  font-size: 1.125rem !important;
  padding-top: 5px;
  padding-bottom: 5px;
  color: #fff;
}


.navbar ul>li>a:focus,
.navbar ul>li>a:hover {
  color: #fff;
  text-decoration: underline;
  background-color: transparent;
}

ul.nav>li.open>a {
  background-color: #9c1621;
}

/* ul.dropdown-menu > li > a { 
    background-color: #9c1621;
} */

.navbar-inverse .navbar-nav>li>a {
  /*color: rgb(255, 255, 255) !important;*/
  color: #2e495c !important;
}

.navbar-static-top.navbar .menu-bar>.navbar-nav>li>a {
  font-family: Lato, sans-serif, FontAwesome !important;
}



footer {
  width: 100%;
  position: relative;
  margin-top: 30px;
  bottom: 0;

  /* top: 100vh;*/
  /* pushes the footer outside the visible area */
  /* position: sticky; */
  /* pulls it back up and sticks it to the bottom edge */

}


.gov-footer {
  padding: 32px 0px 24px 0px;
  background: #363636;
  border-top: solid 4px #b42228;
}

.gov-footer .wa-gov-link a:hover,
.gov-footer .wa-gov-email a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.gov-footer .wa-gov-link a {
  font-family: Lato, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #FFFFFF;
}

.gov-footer .acknowledgement {
  text-align: center;
  font-family: Lato, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #FFFFFF;
  margin-top: 0px;
  padding-bottom: 35px;
}

.gov-footer .wa-gov-link {
  font-size: 2em;
  text-align: center;
}

.gov-footer .gov-footer-nav {
  text-align: center;
  padding-top: 20px;
  line-height: 24px;
}

container-fluid {
  margin-right: auto;
  margin-left: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.gov-footer .gov-footer-nav ul {
  padding: 0px;
  margin: 0px;
  list-style: none;
  font-size: 0px;
}

.gov-footer .gov-footer-nav ul li {
  display: inline;
  text-align: center;
  font-size: 14px;
  line-height: 125%;
  padding: 0px 10px;
}

.gov-footer .gov-footer-nav ul li:not(:last-child) {
  border-right: solid 1px #FFFFFF;
}

.gov-footer .gov-footer-nav ul li a {
  display: inline-block;
  font-family: Lato, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #FFFFFF;
}

.gov-footer .copyright {
  text-align: center;
  font-family: Lato, sans-serif;
  font-weight: 300;
  font-size: 14px !important;
  color: #FFFFFF;
  margin: 0px;
}


.entitylist-filter-option-group {
  font-size: 16px !important;
}

.entitylist-filter-option {
  font-size: 14px !important;
}


/* Form Customisation */
.travel-log-section-header {
  border-bottom: 1px solid #e5e5e5 !important;
  font-weight: 700;
  font-size: 18px;
}

/* Required for footer to sit at bottom */
html {
  height: 100%;
}



/* For Radio options - spacing for labels */
.crmEntityFormView .cell .picklist label {
  margin-right: 10px;
}

.crmEntityFormView .form-control.readonly {
  padding-left: 12px;
}


.control-indent {
  margin-left: 35px;
}

div.well H3 {
  border-top: 0px !important;
  margin-top: 0px !important;
}

legend.section-title {
  margin: 0 0 9px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  /*color: #000000 !important;*/
  line-height: 1.625 !important;
  border-bottom: 2px solid #eee !important;
}


@media (prefers-reduced-motion) {
  * {
    transition-duration: 0s !important;
    animation-duration: 0s !important;
  }

  ::before {
    transition-duration: 0s !important;
    animation-duration: 0s !important;
  }

  ::after {
    transition-duration: 0s !important;
    animation-duration: 0s !important;
  }
}

li {
  font-size: 16px;
}

.visually-hidden {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0px;
  position: absolute;
}

.jsc-hidden {
  display: none
}

/*Body*/
body {
  font-family: Lato, sans-serif, FontAwesome !important;
  -webkit-font-smoothing: antialiased !important;
  text-rendering: optimizeLegibility !important;
  font-weight: 400 !important;
  font-style: normal !important;
  font-size: 1rem !important;
  margin: 0 !important;
  min-width: 320px !important;
  /*position: relative!important;*/
  height: 100% !important;
  color: #000 !important;
}



.wrapper-body {
  min-height: 100px;
  /* need to set a value to override the theme.css's calc value */
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

p {
  margin: 0 0 9px !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  /*color: #000000 !important;*/
  line-height: 1.625 !important;
}

h1,
h2
{
  font-family: Lato, sans-serif, FontAwesome !important;
  margin-bottom: 0.53em !important;
  font-weight: 700 !important;
  font-size: 30px !important;
}

h3,
h4,
h5,
h6 {
  font-family: Lato, sans-serif, FontAwesome !important;  
  font-weight: 700 !important;
  font-size: 24px;
}

h3.form-subgrid-heading {
  font-size: 14px !important;
}


.tab-title {
  margin-top: 40px !important;
  font-size: 1.85em !important;
}

.breadcrumb {
  font-size: 16px;
  padding: 0 0 !important;
}

#maincontainer {
  /* min-height: calc(100% - 350px);
  min-height: -webkit-calc(100% - 350px);
  min-height: -moz-calc(100% - 350px); */
  clear: left;
  min-height: 35em;
}


tr {
  font-size: 14px;
}

td {
  font-weight: 300 !important;
}

.btn {
  text-wrap: nowrap !important;
  font-family: Lato, sans-serif;
  font-size: 14px!important;
}


.btn-primary {
  font-family: Lato, sans-serif;
}


.btn-info {
  color: #fff;
  background-color: #323130;
  border-color: #323130;
  font-weight: 600;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:disabled,
.btn-default:focus,
.btn-default:hover,
.btn-default:active,
.btn-info:focus,
.btn-info:hover,
.btn-info:active {
  color: #FFFFFF;
  background-color: #b42228 !important;
  border-color: #b42228 !important;
}

.btn-group:hover,
.btn-group:focus,
.btn-group:active {
  color: #FFFFFF;
  background-color: transparent !important;
  border-color: transparent !important;
}


div.message.success {
  background-color: transparent!important;
  border: none!important;
}

.alert-success {
  --bs-alert-color: #323130!important; 
  --bs-alert-bg: #transparent!important; 
  --bs-alert-border: none!important;
}

.table {
  font-size: 13px;
}

h2.validation-header {
  font-size: 16px !important;
  font-weight: 300 !important;
}

.col-xs-1,
.col-sm-1,
.col-md-1,
.col-lg-1,
.col-xs-2,
.col-sm-2,
.col-md-2,
.col-lg-2,
.col-xs-3,
.col-sm-3,
.col-md-3,
.col-lg-3,
.col-xs-4,
.col-sm-4,
.col-md-4,
.col-lg-4,
.col-xs-5,
.col-sm-5,
.col-md-5,
.col-lg-5,
.col-xs-6,
.col-sm-6,
.col-md-6,
.col-lg-6,
.col-xs-7,
.col-sm-7,
.col-md-7,
.col-lg-7,
.col-xs-8,
.col-sm-8,
.col-md-8,
.col-lg-8,
.col-xs-9,
.col-sm-9,
.col-md-9,
.col-lg-9,
.col-xs-10,
.col-sm-10,
.col-md-10,
.col-lg-10,
.col-xs-11,
.col-sm-11,
.col-md-11,
.col-lg-11,
.col-xs-12,
.col-sm-12,
.col-md-12,
.col-lg-12 {
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
}




/*Media Queries*/
/* Large desktops and laptops 
@media screen and (min-width: 1200px) {
  .container:nth-child(2) {
    height: 560px;
  }
}*/

/* Landscape phones and portrait tablets */
@media (max-width: 767px) {
  .navbar-collapse {
    background-color: #333;    
  }

  .navbar ul>li>a {
    font-size: 12px !important;
    padding-top: 2px;
    padding-bottom: 2px;
    color: #fff;
  }
  

  /*.navbar-toggle {
    top: -1.5em;
  } */
  .footer__primary {
    padding-top: 10px;
  }

  .crmEntityFormView .cell {
    margin-bottom: 10px !important;
    padding: 0;
    width: 95%;
  }
}

/*Fixes issue with menu expanding nav bar down*/
@media(max-width:1199px) {
  .navbar-nav .open .dropdown-menu {
    position: absolute;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: transparent;
    border: 0;
    box-shadow: none
  }
}

#loader {
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 9999;
  display: none;
}

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

#loader::after {
  content: '';
  display: block;
  position: absolute;
  left: 48%;
  top: 40%;
  width: 100px;
  height: 100px;
  border-style: solid;
  border-color: #3498db;
  border-top-color: transparent;
  border-width: 7px;
  border-radius: 50%;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}