/*****Layout*****/

#page-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: url(../resources/journal.jpg);
    background-repeat: no-repeat;
    background-size: cover; */
  background-color: #d6ebec;
}

#page-container {
  min-height: 100%;
  /*margin fail footer on bot*/
  padding-top: 56px;
  position: relative;
  margin-left: 210px;
  transition: 300ms;
}

.alertmsg {
  margin-top: 3px;
  margin-bottom: 3px;
}

.alertmsg .alert {
  margin-bottom: 0;
}

#page-status-fixed {
  top: 56px;
  margin: 0 2%;
  z-index: 3100;
  visibility: hidden;
}

body.sidebar-show #page-status-fixed {
  margin-left: calc(2% + 210px);
}

#page-status-fixed.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s forwards;
  animation: fadein 0.5s, fadeout 0.5s 2.5s forwards;
}

@-webkit-keyframes fadein {
  from {
    top: 0;
    opacity: 0;
  }
  to {
    top: 56px;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    top: 0;
    opacity: 0;
  }
  to {
    top: 56px;
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    top: 56px;
    opacity: 1;
  }
  to {
    top: 0;
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    top: 56px;
    opacity: 1;
  }
  to {
    top: 0;
    opacity: 0;
  }
}

#content-wrapper {
  align-content: flex-start;
  padding: 10px 20px 60px 20px;
  min-width: 100%;
}

.main-panel {
  min-width: 250px;
  padding: 0 10px;
  flex: 1 0;
}

.info-panel {
  color: black;
  background-color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
}

.panel-title {
  font-weight: 600;
  text-align: center;
  padding: 5px 10px;
  font-size: 1.2rem;
  letter-spacing: 1px;
  background-color: #00556b;
  color: white;
  position: relative;
}

.panel-title div {
  pointer-events: none;
}

.panel-body {
  padding: 10px 20px 10px 20px;
}

.panel-body fieldset:last-child {
  margin-bottom: 0;
}

.panel-title .header {
  padding-left: 50px;
  padding-right: 50px;
}

.panel-title .status-icon {
  color: white;
}

.panel-title > .btn {
  font-size: 1.2rem;
  border-width: 0;
  padding-left: 5px;
  padding-right: 5px;
  width: 30px;
}

.panel-title > .btn:hover {
  color: white;
}

.widgets-panel {
  min-width: 250px;
  flex: 0 0 250px;
  font-size: 0.9rem;
  padding: 0 10px;
  top: 56px;
  /*FIX for modals*/
  margin-right: 0px !important;
  padding-right: 10px !important;
}

.widgets-panel .panel-title {
  font-size: 1rem;
  background-color: #555555;
  overflow: hidden;
  padding: 5px 10px;
}

.widgets-panel .panel-body {
  padding: 5px 10px;
}

.widgets-panel .action {
  width: 100%;
  padding: 7px 0;
  margin: 5px 0 5px 0;
}

.navbar-toggler,
.navbar-toggler:active,
.navbar-toggler:focus {
  padding-left: 4px;
  padding-right: 4px;
  outline: none;
  border-width: 0;
}

#smart-search-wrapper {
  display: inline-block;
}

#smart-search {
  margin-top: 0;
  width: 200px;
}

.navbar-search {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.5);
  height: 32px;
  width: 32px;
  opacity: 1;
}

.navbar-search:hover {
  opacity: 1;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1199.98px) {
  .main-panel .panel-body {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 991.98px) {
  body.sidebar-show .widgets-panel {
    flex: 1 100%;
  }
  body.sidebar-show .main-panel {
    flex: 1 100%;
  }
}

@media (max-width: 767.98px) {
  .widgets-panel {
    flex: 1 100%;
  }
  .main-panel {
    flex: 1 100%;
  }
}

@media (max-width: 575.98px) {
  body.sidebar-show #page-status-fixed {
    margin-left: 2%;
  }
  #smart-search-wrapper {
    width: 100%;
  }
  #smart-search-wrapper.collapse:not(.show) {
    display: none;
  }
  #smart-search {
    width: 100%;
    margin-top: 7px;
  }
  #page-container {
    padding-top: 51px;
  }
  #page-container.searchoffset {
    padding-top: 96px;
  }
  #content-wrapper {
    padding: 5px 0 60px 0;
  }
  .main-panel,
  .widgets-panel {
    padding: 0;
    /*FIX for modals*/
    padding-right: 0 !important;
  }
  .panel-title {
    font-size: 1rem;
    padding: 5px 5px;
  }
  .panel-title > .btn {
    font-size: 1rem;
  }
  .main-panel .panel-body {
    padding-left: 5px;
    padding-right: 5px;
  }
}

#curshort > span {
  display: table;
  text-align: center;
  color: white;
  width: 150px;
  flex: 0 0 150px;
  margin-right: 10px;
  font-size: 0.8rem;
  height: 24px;
  line-height: 24px;
  border-radius: 2px;
}

#curstatus {
  background-color: rgba(0, 85, 107, 0.18);
  padding-left: 10px;
  height: 24px;
  line-height: 24px;
  font-size: 0.9rem;
  border-radius: 2px;
}

#curstatus svg {
  margin-right: 5px;
}

.prefix {
  background-color: #ffc107;
  padding: 0 4px;
}