/* General */
div#content {
  padding-top: 117px;
  padding-bottom: 50px;
  min-height: 100vh;
}

.portal-container {
  max-width: 1170px;
  float: left;
  width: 100%;
}

.portal-menu-backdrop {
  display: none;
  background: rgba(0, 0, 0, 0.45);
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.portal-search-bar {
  padding-right: 0px;
  padding-left: 0px;
}

.portal-search-bar i.glyphicon-search {
  position: absolute;
  top: 10px;
  left: 10px;
}

.portal-search-bar i.glyphicon-remove {
  display: none;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 10px;
}

.portal-search-bar input {
  padding-left: 30px;
  padding-right: 30px;
}

.portal-search-bar input::-ms-clear {
  display: none;
}

.portal-account-navbar-site {
  display: none;
}

.portal-table.table-restrict-width {
  min-width: 1000px;
}

.oneline {
  white-space: nowrap;
}

hr {
  margin-top: 10px;
  margin-bottom: 10px;
}

.title.title--large {
  font-size: 16px;
  font-weight: 600;
  padding: 5px 10px;
  margin-left: 0px;
  margin-right: 0px;
}

.title.title--large small {
  font-size: 10px;
  line-height: 20px;
}

.subtitle {
  font-size: 16px;
  font-weight: 600;
  color: #00457c;
  padding-top: 5px;
  padding-left: 7px;
  padding-bottom: 7px;
  margin-bottom: 15px;
  border-bottom: 1px solid #00457c;
}

/* Navigation */
.side-nav .portal-account-navbar li a {
  padding: 2px 10px;
}

.side-nav .portal-account-navbar li a:hover {
  background-color: #ccc;
  text-decoration: underline;
}

.side-nav .portal-account-navbar li.nav-li-selected a{
	font-weight: bold;
}
.side-nav .portal-account-navbar li.see-all-comments a{
  margin-top: 10px;
}

.side-nav .portal-account-navbar li.activity-comments{
  padding-top: 10px;
  padding-left: 14.67px;
}

.see-all-comments-desktop {
  text-align: center;
}

@media only screen and (max-width: 768px) {
  .activity-comments-desktop {
    display: none;
  }
  .see-all-comments-desktop {
    display: none;
  }
}

.section-header li.header-activity-comments {
  padding-top: 6px;
  margin-right: 15px;
}

.section-header li.see-all-comments {
  padding-top: 6px;
}

.see-all-comments-mobile a{
  color: #00457c;
}

@media only screen and (min-width: 768px) {
  .activity-comments-mobile {
    display: none;
  }
  .see-all-comments-mobile {
    display: none;
  }
}

.navbar.navbar-portal {
  margin-bottom: 0px;
  min-height: 1px;
  background-color: #00457c;
  border-radius: 0px;
}

.navbar.navbar-portal .navbar-header {
  height: 35px;
  float: right;
}

.navbar.navbar-portal .navbar-collapse {
  padding-left: 0px;
}

.navbar.navbar-portal .navbar-toggle {
  float: left;
  margin: 0px;
}

.navbar.navbar-portal .navbar-toggle .icon-bar {
  background-color: white;
}

.navbar.navbar-portal .search-bar {
  float: right;
  position: relative;
  margin-right: 5px;
}

.navbar.navbar-portal .search-bar .form-group {
  margin-bottom: 0px;
}

.navbar.navbar-portal .search-bar .form-group .form-control {
  height: 25px;
}

.navbar.navbar-portal .search-bar #search-input {
  margin-top: 5px;
}

.navbar.navbar-portal .navbar-nav {
  display: inline-block;
}

.navbar.navbar-portal .navbar-nav.portal-account-navbar {
  display: none;
}

.navbar.navbar-portal .navbar-nav > li {
  padding: 7px 25px 5px 10px;
  height: 25px;
}

.navbar.navbar-portal .navbar-nav > li > a {
  display: inline-block;
  font-size: 15px;
  color: white;
  padding: 0px;
}

.navbar.navbar-portal .navbar-nav > li > a:hover, .navbar.navbar-portal .navbar-nav > li > a:active, .navbar.navbar-portal .navbar-nav > li > a:focus {
  background-color: transparent;
  border-bottom: 1px solid #ccc;
  color: #ccc;
}

.content-loading{
	background: transparent url('../imgs/small-loader.gif') center center no-repeat; 
}

.icon-size{
  height: 20px;
  margin-left: 40px;
}

.icon-nav{
  height: 22px;
  width: 22px;
  margin-top: -4px;
  margin-left: 40px;
}

.access-side-nav{
  margin-top: -40px;
}

.border-bottom{
  border-bottom: 1px solid #ccc;
}

.background-transparent {
  background: transparent;
}

.pointer-events-none {
  pointer-events: none;
}

.margin-left-10px {
  margin-left: 10px;
}

@media only screen and (min-width: 768px) and (max-width: 950px) {
  /* Navigation */
  .navbar.navbar-portal .navbar-nav > li {
    padding: 7px 10px 5px 10px !important;
  }
  #clock-wrapper .hide-in-mobile {
    display: none !important;
  }
}

@media only screen and (min-width: 0px) and (max-width: 767px) {
  /* General */
  #content.sidenav {
    padding: 170px 0px 50px 0px;
    overflow: hidden;    
  }
  .portal-container {
    float: none;
  }

  .comments-container {
    margin-top: 42px;
  }
  #header-logo, .lifestation #header-logo {
    width: 140px;
    background-size: contain;
    margin: 15px 10px 3px 10px;
    height: 40px;
  }
  .oneline {
    white-space: normal;
  }
  .portal-page-grid-overlay {
    height: 300px;
  }
  .hide-in-mobile {
    display: none !important;
  }
  .export-btn {
    display: none;
  }
  .glyphicon.glyphicon-info-sign {
    display: none;
  }
  .header-info-list li#clock-wrapper {
    margin-left: 0px;
  }
  .modal--centered {
    padding-left: 0px !important;
  }
  .modal--centered .modal-dialog {
    margin: 5px auto;
  }
  .modal--centered-confirm .modal-dialog {
    margin: 65% auto;
  }
  .modal--centered .modal-dialog .bootbox-body .container-fluid,
  .modal--centered .modal-dialog .bootbox-body .container,
  .modal--centered .modal-dialog .bootbox-body .form-horizontal {
    max-height: 400px;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
  }
  /* Force scrollbars to show in MacOS & iOS */
  ::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
  }
  ::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
  }
  /* Navigation */
  .side-nav {
    display: none;
  }
  .navbar.navbar-portal .navbar-nav.portal-account-navbar {
    display: block;
    padding-bottom: 10px;
    margin-bottom: 0px;
    margin-left: 25px;
    margin-top: 0px;
  }
  .navbar.navbar-portal .portal-account-navbar-site {
    display: inline-block;
    color: white;
    border-bottom: 1px solid white;
    padding: 3px 15px 3px 10px;
    font-weight: 500;
    font-size: 1.5em;
    width: 100%;
  }
  .navbar.navbar-portal .portal-account-navbar-site .portal-account-navbar-site__name {
    font-weight: 600;
    padding-left: 10px;
    margin-bottom: 5px;
  }
  .navbar.navbar-portal .portal-account-navbar-site .glyphicon {
    position: relative;
    top: 3px;
    padding-left: 10px;
  }
  .navbar.navbar-portal .navbar-header {
    width: 100%;
  }
  .navbar.navbar-portal .navbar-collapse {
    width: 300px;
    position: absolute;
    background-color: #00457c;
    top: 35px;
    left: -1px;
    float: none !important;
    height: 1000px;
    padding-right: 0px;
    padding-bottom: 10px;
    overflow-y: auto;
    box-shadow: 5px 0 5px -5px #333;
    border-right: 1px solid grey;
    border-bottom: 1px solid grey;
  }
  .navbar.navbar-portal .navbar-nav {
    margin: 7.5px 10px;
  }
  .navbar.navbar-portal .navbar-nav > li > a {
    font-weight: 500;
    font-size: 20px;
  }
  #section-heading.section-header.cs-section-header {
    overflow:hidden;
    height: fit-content;
  }
  .section-header .header-site-address {
    display: none;
  }
  .section-header .header-site-account {
    display: block;
    float: none;
    margin-left: 0px;
    margin-right: 0px;
  }
  /* Tables */
  .table.portal-table.table-restrict-width {
    min-width: initial;
  }
  .table.portal-table thead, .table.portal-table tbody, .table.portal-table th, .table.portal-table td, .table.portal-table tr {
    display: block;
  }
  .table.portal-table tbody > tr:hover {
    background-color: transparent !important;
  }
  .table.portal-table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  .table.portal-table tr:not(.table__tr-empty) {
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    padding-top: 3px;
  }
  .table.portal-table tr.table__tr-empty td {
    font-size: 14px !important;
    font-weight: normal !important;
    color: black !important;
  }
  .table.portal-table tr.table__tr-empty td:before {
    display: none !important;
  }
  .table.portal-table tr:not(.table__tr-empty) td {
    border: none;
    position: relative;
    padding-left: 50%;
    padding-top: 6px;
    padding-bottom: 0px;
    min-height: 21px;
    height: auto;
    line-height: 14px;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .table.portal-table td:nth-of-type(1) {
    line-height: 18px;
  }
  .table.portal-table td.table__tr__td__action {
    display: inline-block;
    padding-left: 0px !important;
    padding-top: 10px;
    margin-left: -2px;
  }
  .table.portal-table td.table__tr__td__action i {
    display: block;
  }
  .table.portal-table tr:not(.table__tr-empty) td:before {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 60px;
    white-space: nowrap;
  }
}

.max-width-30ch {
  max-width: 30ch;
}

.bold{
  font-weight: bold;
}

.cursor-pointer {
	cursor: pointer
}


/* Search Button Loading Indicator */
@keyframes spinLoadingIndicator {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}

.search-button-container{
  display: flex;
  align-items: center;
}
.search-button-container .loading-indicator {
  margin-left:1rem;

}
.search-button-container .loading-indicator .icon {
  animation: spinLoadingIndicator 1s linear infinite;
}