html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
}

body {
  display: flex;
  flex-direction: column;
}


/* header */
header {
  width: 100%;
}

.fofheader {
  padding-left: 20%;
  padding-right: 20%;
  margin: 0px;
}

.home-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.welcome-home-msg {
  text-align: center;
}

.home-notice {
  margin-top: 0 !important;
}

.home-title {
  font-size: 25px;
  font-weight: 900;
  color: #002145;
  margin-top: 20px;
}

.footer-support {
  background-color: white;
  color: black;
  display: block;
  text-align: left;
  flex: 0 0 100%;
  padding-left: 10%;
  padding-bottom: 20px;
  padding-top: 20px;
  font-size: 14px;
  line-height: 22px;
}

.footer-support a {
  color: #2f5d7c;
	text-decoration: underline;

}

hr {
  border-top: 1px solid #D7E0E7;
  margin:0;
}

.footer-item {
  text-align: left;
  margin-left: 5px;
  width: 30%;
}

.footer-ubc-text {
  font-size: 14px;
}

.footer-ubc {
  flex-grow: 2;
  display: flex !important;
  align-items: flex-start;
  margin-top: 20px;
}

.ubc-footer-container {
  display: flex !important;
  flex-wrap: wrap;
  height: fit-content !important;
  justify-content: space-around;
}

.footer-h3 {
  border-bottom: 1px solid #d8e2e9;
  font-size: 15px;
  font-weight: 700;
  margin: 15px 0 5px 0;
  line-height: 30px;
  padding-bottom: 8px;
  padding-right: 30px;
}

.ubc-footer {
  background-color: #002145 !important;
}

.ubc-footer ul {
  list-style-type: none;
  padding: 0;
}

.footer-inline {
  margin-top: 30px;
  margin-bottom: 20px;
  width: max-content;
  margin-right: auto;
}

.footer-inline li {
  display: inline;
}

.footer-subheader {
  line-height: 30px;
  font-size: 100%;
  font-weight: 700;
  margin: 2px 0;
  font-size: 15px;
}

.footer-link {
  color: white;
  font-size: 14px;
  line-height: 22px;
}

.footer-link-inline {
  color: white;
  font-size: 12px;
  line-height: 22px;
}

.footer-link-inline:hover {
  color: white;
}

.footer-link:hover {
  color: white;
}

.header-text-container{
  display: flex;
  flex-direction: column;
  margin-right: 3%;
}

.nav-small-header {
  font-size: 12px;
  margin:0;
  padding:0;
}

.nav-big-header {
  padding: 0;
  margin: 0;
  font-size: 18px;
  letter-spacing: 1px;
}

.ubc-header {
  border-top: 3px solid #002145;
  display: flex;
  align-items: center;
  background-color: white;
  padding-left: 9.7%;
}

.ubc-logo {
  margin-right: 21px;
}

.ubc-header .ubc-header-link {
  text-decoration: none;
}

.text-dark {
  margin: 0;
}
.justify-content-center {
  align-items: center;
  margin-top: 5px;
}

.navbar-brand {
  text-shadow: 1px 1px #222;
}

.nav-item .nav-link:hover {
  text-decoration: underline;
}

.nav-item .nav-link.active {
  font-weight: 600;
}

/* footer */
footer {
  flex-shrink: 0;
  height: auto;
  color: #fff;
  text-align: center;
}

footer > .container {
  height: 100px;
  display: table;
}

footer .footer-item {
  display: table-cell;
  vertical-align: middle;
}

/* main content */
main {
  flex: 1 0 auto;
}

.menu {
  margin-bottom: 1.0rem;
  background-color: #e6e6e6;
}

.menu > div {
  display: inline-block;
}

.menu > div > button {
  background: none;
  outline: none;
  border: none;
  margin: 5px 15px;
}

.menu > div > a {
  margin: 5px 0;
}

.menu > div > button:hover,
.menu > div > a:hover {
  background-color: #aaa;
}

.field-wrapper {
  margin: 2.0rem 0;
}

.field-wrapper > label {
  margin: 0;
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

.field-wrapper > ul {
  list-style: none;
  margin-left: -20px;
}

.field-wrapper .instructor {
  display: table;
  margin-bottom: 5px;
  padding: 7px 5px 3px 10px;
  border: 1px solid #bbb;
  border-radius: 4px;
  background-color: #fff;
  color: #007bff;
}

.field-wrapper .search-result {
  position: absolute;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  max-width: 300px;
  max-height: 300px;
  overflow: auto;
  z-index: 10;
}

.field-wrapper .search-result > p {
  padding: 10px;
  margin-bottom: 0;
}

.field-wrapper ul.instructors {
  list-style-type: none;
}

.field-wrapper ul.instructors > li {
  cursor: pointer;
  margin-left: -30px;
  margin-right: 10px;
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.field-wrapper ul.instructors > li:hover {
  font-weight: 600;
}

.help {
  color: #474d52;
  font-size: 0.8rem;
  margin-bottom: 5px;
}

.table,
.table .btn {
  font-size: 0.8rem;
}

.modal-table > thead > tr {
  background-color: #fff !important;
}

.modal-table th,
.modal-table td {
  padding: 0.75rem !important;
}

.left-content {
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  text-align: center;
  padding-top: 10px;
  background-color: #f2f2f2;
}

.compact {
  text-align: left;
  padding: 0.7rem 1rem;
}

.compact > h6 {
  font-weight: 600;
}

.compact p:last-child {
  margin: 0;
}

.img-profile,
.img-document {
  width: 115px;
  height: 115px;
  border-radius: 10%;
  margin-bottom: 10px;
}

.img-profile {
  border: 5px solid #fff;
}

.left-aside-btn-groups {
  text-align: center;
  margin-top: 1.5rem;
}

.nav-item {
  color: #6c757d;
}

.table-paginator {
  margin-top: 30px;
}

.search-field input {
  margin: 5px 0;
  padding: 2px 5px;
  font-size: 0.85rem;
}

.btn-favourite {
  background: none;
  border: none;
  outline: none;
}

.btn-favourite:hover {
  opacity: 0.8;
}

.btn-favourite:active,
.btn-favourite:focus {
  outline: none !important;
}

.info-table tr td h6 {
  margin-top: 20px;
}

.info-table td:nth-child(2) {
  padding-left: 20px;
}

.not-active {
  text-decoration: line-through;
}

.fa-check {
  color: #28a745;
}


/* utils */
.btn-toolbar {
  justify-content: center !important;
}

.line-height-2 {
  line-height: 2.0;
}

.text-underline {
  text-decoration: underline;
}

.logo-page {
  width: 35px;
  height: auto;
}

.custom-table {
  border-collapse: collapse;
}

.custom-table,
.custom-table th,
.custom-table td {
  border-bottom: 1px solid #ccc;
}

.custom-table th,
.custom-table td {
  padding: 0.6rem;
}

.bg-prompt {
    background-image: linear-gradient(180deg,hsla(0,0%,100%,0) 50%,#fff),linear-gradient(70deg,#eaf5ff 32%,#f6fff8);
}

.prompt {
    background-repeat: no-repeat;
    background-clip: padding-box;
    box-shadow: 0 3px 6px rgba(0,0,0,.05);
}

.prompt h4 {
  font-weight: 600;
}

.prompt > p,
.prompt > div > p {
  color: #474d52;
}

.modal-item {
  padding: 1rem 1.5rem;
}

.modal-item > h4 {
  color: #007bff;
}

.modal-item > h4,
.modal-item > div,
.modal-item .job-desc > div {
  margin-bottom: 1.5rem;
}

.modal-item > div > h6,
.modal-item .job-desc > div > h6 {
  font-weight: 600;
}

.modal-item .job-desc > div > h6 {
  color: #007bff;
}

.modal-item > div > span,
.modal-item > div > ul {
  color: #474d52;
  font-size: 1rem;
}

.modal-item .job-desc,
.modal-item .note {
  padding: 1rem 1.3rem;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}

.modal-item .job-desc {
  background-color: #f8f8f8;
}

.modal-item .note {
  background-color: #f2f2f2;
}

.modal-item .note > p:last-child {
  margin-bottom: 0 !important;
}

.modal-item .job-desc > div > span {
  font-size: 0.9rem;
}

.job-offer-contract {
  max-height: 600px;
  overflow: auto;
}

.board {
  background-color: #f3f7f7;
  padding: 2rem;
}

.board h3 {
  color: #007bff;
  font-weight: 600;
}

.board > h4,
.board > div,
.board > form > div {
  margin-top: 1.5rem;
}

.board > div > h5,
.board > div > h6 {
  font-weight: 650;
}

.board > div > div {
  color: #343a40;
}

.board > h4,
.board > form > div > h5 {
  font-weight: 400;
}

.board > div > span,
.board > form > div > span,
.board > div > ul {
  color: #474d52;
  font-size: 1rem;
}

.border-grayish-blue {
  border: 1px solid #dee2e6;
  border-radius: 4px;
}

.board .job-desc {
  background-color: #fff;
  padding: 1rem 1.3rem;
  border: 1px solid #dee2e6;
  border-radius: 4px;
}

.board .job-desc > div {
  margin-bottom: 1.5rem;
}

.board .job-desc > div > h6 {
  color: #007bff;
}

.board .job-desc > div > span {
  font-size: 0.9rem;
}

.bg-white {
  background-color: #fff;
}

.gray-box {
  border: 1px solid #e6e6e6;
  background-color: #fff;
}

.gray-box .gray-box-header > img,
.gray-box .gray-box-header > h6 {
  display: inline-block;
}

.bd-callout {
    padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #eee;
    border-left-width: .25rem;
    border-radius: .25rem;
    background-color: #fff;
}

.banner-additional-info {
  margin-top: 5px !important;
  margin-bottom: 0 !important;
}

.job-details-btn {
  margin: 0 !important;
}

.alert {
  margin-top: 20px;
}

.btn {
  /* margin-top: 10px; */
}

.bd-callout-info {
    border-left-color: #17a2b8;
}

.bd-callout-warning {
    border-left-color: #f0ad4e;
}

.bd-callout-danger {
    border-left-color: #d9534f;
}

.bd-callout h4,
.bd-callout h5 {
    margin-top: 0;
    margin-bottom: .25rem;
}

.bd-callout p,
.bd-callout ul {
  color: #343a40 !important;
}

.bd-callout-info h4,
.bd-callout-info h5 {
    color: #17a2b8;
}

.bd-callout-warning h4,
.bd-callout-warning h5 {
    color: #f0ad4e;
}

.bd-callout-danger h4,
.bd-callout-danger h5 {
    color: #d9534f;
}

.bd-callout p:last-child,
.bd-callout ul:last-child {
    margin-bottom: 0;
}

.nav-tabs .nav-link.active {
    color: #495057;
    font-weight: 600;
    background-color: #fff;
    border-top-width: 3px;
    border-color: #f0ad4e #dee2e6 #fff;
}

.dot {
  height: 5px;
  width: 5px;
  background-color: #6c757d;
  border-radius: 50%;
  display: inline-block;
}

hr.dotted {
	border-top: 1px dashed #aaa;
}

.divider {
    margin: 30px 0;
    height: 1px;
    background: #b7c9cc;
    opacity: .5;
}

.font-size-1 {
  font-size: 1rem !important;
}

.font-size-sm {
  font-size: 0.9rem !important;
}

.font-size-xs {
  font-size: 0.8rem !important;
}

.badge-orange {
  color: #fff;
  background-color: #fd7e14;
}

.badge-indigo {
  color: #fff;
  background-color: #6610f2;
}

.badge-warning {
  color: #212529 !important;
}

.btn-xs {
  padding: .1em .3em;
}

.card-horizontal {
  display: flex;
  flex: 1 1 auto;
}

.no-bullet {
  list-style-type: none;
}

/* colors */
.text-gray {
  color: #aba9a9;
}
.text-dark-blue {
  color: 	#002145;
}

.text-dark-gray {
  color: #474d52;
}

.text-chocolate {
  color: #D2691E;
}

.bg-dark-blue {
  background-color: #002145;
}

.bg-light-gray {
  background-color: #f2f2f2;
}

.bg-chocolate {
  background-color: #D2691E;
}

#impersonate-card {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: auto;
  height: auto;
  text-align: center;
  z-index: 100;
}

table thead th,
table tbody td {
  vertical-align: middle !important;
}

.sortable-table > thead > tr {
  height: 90px;
}

.sortable-table > thead .sortable {
  position: relative;
  cursor: pointer;
}

.sortable-table > thead .sortable > .sort-icon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
}

.sortable-table > thead .sortable .fa {
  color: #aba9a9;
}

.sortable-table > thead .sortable .fa-sort-numeric-asc,
.sortable-table > thead .sortable .fa-sort-alpha-asc {
  color: #dc3545;
}

.sortable-table > thead .sortable .fa-sort-numeric-desc,
.sortable-table > thead .sortable .fa-sort-alpha-desc {
  color: #007bff;
}

input[type=checkbox] {
  vertical-align: middle;
}

.fa.vertical-middle {
  vertical-align: middle;
}

.recent-applied-jobs {
  max-height: 400px;
  overflow-y: auto;
}

#accepted-apps-table th,
#accepted-apps-table td {
  padding-left: .1rem;
  padding-right: .1rem;
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .board {
    padding: 1.5rem;
  }
  .board h3 {
    text-align: center;
  }
  .visible-current-sessions {
    margin: 0 !important;
  }
  #btn-logout {
    display: block;
    margin: 0 !important;
  }
  .col-md-8{
    margin-top: 40px;
    padding-right: 5%;
  }
  .col-md-4{
    margin-top: 40px;
    padding-left: 5%;
  }
  .nav-tabs > a {
    padding: 0.35rem;
    font-size: 0.85rem;
  }
  .mobile-hide-xs {
    display: none;
  }
  .mobile-hide {
    display: none;
  }
  footer > .container,
  footer .footer-item {
    display: block;
  }
  footer .footer-item {
    font-size: 0.8rem;
  }
  footer .footer-item:first-child {
    line-height: 60px;
  }
  footer .footer-item:last-child {
    line-height: 10px;
  }
  .local-login .card {
    padding: 1rem 0.5rem !important;
    margin: 2rem 0 !important;
  }
  .max-width-container {
    max-width: 100%;
    padding: 0px;
  }
  .ubc-logo-text{
    visibility: hidden;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  #btn-logout {
    display: block;
    margin: 0 !important;
  }
  .mobile-hide {
    display: none;
  }
  .local-login .card {
    padding: 1rem !important;
  }
  .max-width-container {
    max-width: 100%;
    padding: 0px;
  }
  .col-md-8{
    margin-top: 40px;
    padding-right: 5%;
  }
  .col-md-4{
    margin-top: 40px;
    padding-left: 5%;
  }
  .ubc-logo-text{
    visibility: hidden;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  #btn-logout {
    display: block;
    margin: 0 !important;
  }
  .mobile-hide {
    display: none;
  }
  .local-login .card {
    padding: 1rem !important;
  }
  .col-md-8{
    margin-top: 40px;
    padding-right: 5%;
  }
  .col-md-4{
    margin-top: 40px;
    padding-left: 5%;
  }
  .max-width-container {
    max-width: 100%;
    padding: 0px;
  }
}

.container.menu {
  padding: 0px;
  max-width: 100vw;
  margin: 0px;
  padding-left: 10%;
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .max-width-container {
    max-width: 100%;
    padding: 0px;
  }
  .max-width-container > div {
    max-width: 95%;
    margin-right: auto;
    margin-left: auto;
  }
  .mobile-hide {
    display: none;
  }
  .col-md-8{
    margin-top: 40px;
    padding-right: 5%;
  }
  .col-md-4{
    margin-top: 40px;
    padding-left: 5%;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .max-width-container {
    max-width: 100%;
    padding: 0px;
  }
  .max-width-container > div {
    max-width: 95%;
    margin-right: auto;
    margin-left: auto;
  }
  .col-md-8{
    margin-top: 30px;
    padding-right: 5%;
  }
  .col-md-4{
    margin-top: 30px;
    padding-left: 5%;
  }
}

/*Header and Footer color to Forestry Green*/
.bg-forestry {
  background-color: #28523f;
  -webkit-box-shadow: inset 0 -10px 10px -10px #222;
}
