@import url(https://fonts.googleapis.com/css?family=PT+Sans:400,700);
@import url(https://fonts.googleapis.com/css?family=Antic+Slab);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,700,800);
.pad {
  padding: 15px;
}

.pad-left {
  padding-left: 15px;
}

.pad-right {
  padding-right: 15px;
}

.pad-top {
  padding-top: 15px !important;
}

.pad-bot {
  padding-bottom: 15px !important;
}

.small-pad {
  padding: 7.5px;
}

.small-pad-left {
  padding-left: 7.5px;
}

.small-pad-right {
  padding-right: 7.5px;
}

.small-pad-top {
  padding-top: 7.5px;
}

.small-pad-bot {
  padding-bottom: 7.5px;
}

.mar {
  margin: 15px;
}

.mar-left {
  margin-left: 15px;
}

.mar-right {
  margin-right: 15px;
}

.mar-top {
  margin-top: 15px;
}

.mar-bot {
  margin-bottom: 15px;
}

.row {
  margin-right: 0 !important;
  margin-left: 0 !important;
}
.row > [class^=col], .row > [class*=" col"] {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

/* Forms */
label {
  font-weight: bold;
}

.form-inline input, .form-inline select, .form-inline button {
  margin-left: 15px;
}

/* text */
h1, h2, h3, h4 {
  display: inline;
}

/* Video Bits */
.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Admin Template */
.header-bar {
  background-color: #E3F2FD;
  color: #0D090A;
  border-bottom: 4px solid #0D090A;
}
.header-bar .logo {
  font-size: 24px;
  line-height: 50px;
  padding: 15px;
}
.header-bar .logo sup {
  position: relative;
  top: -10px;
  font-size: 11px;
}

#sidebar {
  min-width: 35px;
  max-width: 250px;
  min-height: 100vh;
  background-color: #EAF2EF;
}
#sidebar i {
  margin-right: 6px;
}
#sidebar .card {
  background: transparent;
}
#sidebar .list-group-item {
  border-radius: 0;
  background-color: #EAF2EF;
  color: #0D090A;
  border-left: 0;
  border-right: 0;
  border-color: rgba(227, 242, 253, 0.2);
  white-space: nowrap;
  transition: all 0.5s ease-out;
}
#sidebar .list-group-item:hover {
  background-color: #0D090A;
  color: #EAF2EF;
}
#sidebar .list-group .list-group-item[aria-expanded=false]::after {
  content: " \f0d7";
  font-family: FontAwesome;
  display: inline;
  text-align: right;
  padding-left: 5px;
}
#sidebar .list-group .list-group-item[aria-expanded=true] {
  background-color: #1E3035;
}
#sidebar .list-group .list-group-item[aria-expanded=true]::after {
  content: " \f0da";
  font-family: FontAwesome;
  display: inline;
  text-align: right;
  padding-left: 5px;
}
#sidebar .list-group .collapse .list-group-item {
  padding-left: 20px;
}
#sidebar .divider {
  margin: 15px;
  border: 1px solid #E3F2FD;
}

@media (max-width: 768px) {
  /* overlay sub levels on small screens */
  #sidebar .list-group .collapse.show, #sidebar #sidebar .list-group .collapsing {
    position: absolute;
    z-index: 1;
    width: 190px;
    top: 50px;
  }
  #sidebar .list-group > .list-group-item {
    text-align: center;
    padding: 0.75rem 0.5rem;
  }
  #sidebar .list-group > .list-group-item[aria-expanded=true]::after, #sidebar .list-group > .list-group-item[aria-expanded=false]::after {
    display: none;
  }
}
/* Card Boxes */
.card {
  border-color: #0D090A;
}

.card-default .card-header {
  background-color: #E3F2FD;
  color: #0D090A;
}

.card-secondary .card-header {
  background-color: #EAF2EF;
  color: #0D090A;
}

/* Buttons */
.btn {
  border-color: #0D090A;
}

.btn-primary {
  background-color: #0D090A;
}

.btn-primary:hover {
  background-color: rgba(13, 9, 10, 0.9);
}

.btn-active {
  background-color: #1E3035 !important;
  color: #FFF;
}
.btn-active:hover {
  color: #FFF;
  background-color: #0D090A !important;
}

/* Badges */
.badge-primary a svg {
  color: white !important;
}
.badge-primary a:hover svg {
  color: black !important;
}

/* Links */
a {
  color: #1E3035;
}

a:hover {
  color: rgba(30, 48, 53, 0.8);
  text-decoration: none;
}

/* Forms */
label {
  font-weight: bold;
}

.checkbox label:after,
.radio label:after {
  content: "";
  display: table;
  clear: both;
}

.checkbox .cr,
.radio .cr {
  position: relative;
  display: inline-block;
  border: 1px solid #a9a9a9;
  border-radius: 0.25em;
  width: 1.3em;
  height: 1.3em;
  float: left;
  margin-right: 0.5em;
}

.radio .cr {
  border-radius: 50%;
}

.checkbox .cr .cr-icon,
.radio .cr .cr-icon {
  position: absolute;
  font-size: 0.8em;
  line-height: 0;
  top: 20%;
  left: 20%;
}

.radio .cr .cr-icon {
  margin-left: 0.04em;
}

.checkbox label input[type=checkbox],
.radio label input[type=radio] {
  display: none;
}

.checkbox label input[type=checkbox] + .cr > .cr-icon,
.radio label input[type=radio] + .cr > .cr-icon {
  transform: scale(3) rotateZ(-20deg);
  opacity: 0;
  transition: all 0.3s ease-in;
}

.checkbox label input[type=checkbox]:checked + .cr > .cr-icon,
.radio label input[type=radio]:checked + .cr > .cr-icon {
  transform: scale(1) rotateZ(0deg);
  opacity: 1;
}

.checkbox label input[type=checkbox]:disabled + .cr,
.radio label input[type=radio]:disabled + .cr {
  opacity: 0.5;
}

/* Login */
.login-loading {
  padding: 30px;
  text-align: center;
  display: none;
}

.login-success {
  text-align: center;
  display: none;
}

/* Account Page */
.account-icon .fa-circle {
  color: #E3F2FD;
}
.account-icon .fa-inverse {
  color: #0D090A;
}
.account-icon .text {
  display: block;
  margin-top: 15px;
}

/* Logs */
.logs td {
  font-size: 11px;
}

/* Database */
.database td {
  font-size: 11px;
}
.database tr.productdeleted {
  background-color: #c8cbcf;
}
.database tr.productdisabled {
  background-color: #dedede;
}

/* Admin Questions */
.question, .card-action {
  margin: 5px;
}
.question .edit, .card-action .edit {
  width: auto;
  float: right;
}
.question .edit a.btn, .card-action .edit a.btn {
  float: right;
  margin-left: 10px;
  font-size: 18px;
  padding: 3px;
}
.question .edit a.btn-sm, .card-action .edit a.btn-sm {
  font-size: 12px;
}

/* Pulse */
.fa-pulse {
  display: inline-block;
  animation: pulse 2s infinite linear;
}
@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* back To Top button */
#gototop {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: rgba(0, 0, 0, 0.8); /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 5px 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

#gototop:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}

.btn:hover {
  cursor: pointer;
}

a.btn-primary {
  color: #FFF !important;
}

th {
  background-color: #EAF2EF;
}

/* Tabs */
.nav-tabs .nav-item.show .nav-link .nav-link, .nav-tabs .nav-link {
  color: #495057;
  background-color: #e7fafa;
  border-color: #e9ecef #e9ecef #dee2e6;
}
.nav-tabs .nav-item.show .nav-link .nav-link:active, .nav-tabs .nav-link:active {
  border-color: #dee2e6 #dee2e6 #fff;
}

.key {
  background-color: #e7fafa;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
}
.key svg {
  margin-left: 15px;
}

.red, .fa-exclamation-triangle.red {
  color: red !important;
}

.orange, .fa-exclamation-triangle.orange {
  color: orange !important;
}

.yellow, .fa-exclamation-triangle.yellow {
  color: green !important;
}

.blue, .fa-exclamation-triangle.blue {
  color: blue !important;
}

.nav-filter .nav-link {
  background-color: #E3F2FD;
  margin-right: 10px;
}
.nav-filter .nav-link.active {
  background-color: #1E3035;
}

/* Assessment Images */
#modal-image .image {
  margin-bottom: 15px;
}
#modal-image .image .img-thb {
  padding: 2px;
  height: 120px;
  text-align: center;
  overflow: hidden;
}
#modal-image .image .img-thb img {
  max-width: 100%;
  max-height: 120px;
  margin: 0 auto;
  transition: all 1s ease-in-out;
}
#modal-image .image .img-controls {
  text-align: center;
}
#modal-image .image .img-controls svg {
  margin: 5px;
}
#modal-image .image .img-controls svg:hover {
  cursor: pointer;
}

table#tablesites tr.Expired {
  background-color: #ff795b !important;
}
table#tablesites tr.Expiring {
  background-color: #f6d186 !important;
}
