.button-x-small {
    padding: .15rem .25rem;
    font-size: .875rem;
    line-height: 1;
    border-radius: .2rem;
    margin-right: 5px;
}


.add-more {
  float: right;
  cursor: pointer;
  background-color: #007bff;
  color: white;
  padding: 5px;
}

.add-more:hover {
  background-color: #0044ff;
}

.remove-from {
  float: right;
  cursor: pointer;
  background-color: #ff0000;
  color: white;
  padding: 5px;
}

.remove-from:hover {
  background-color: #ff0080;
}

.form_set {
  padding: 5px;
}

.table-container {
  height: 375px;
  overflow-y: auto;
  overflow-x: auto;
}

.table-title {
  color: white;
  background: #1a143c!important;
  border-bottom: 2px solid blue;

}

.table-container th{
  background-color: #c7d0d8;
}

.form-title {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background: #1a143c;
  color: white;
  border-bottom: 2px solid blue;
}

.form-title th {
  background: #1a143c;
  color: white;
}


.table-title th {
  background: #1a143c!important;
  color: white;
}


.business-name {
  font-size: x-large;
  font-weight: bold;
}

.form-control {
  height: 28px;
  font-size: small;
  padding: 2;

}

#form_set .form-control {
  height: 22px;
  font-size: small;
  padding: 2;

}

.small-fields .form-control {
  height: 22px;
  font-size: small;
  padding: 2;

}

#form_set .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #444;
  line-height: 20px !important;
}

#form_set .select2-container .select2-selection--single {
  height: 22px !important;
  font-size: small;
  padding: 2;
}

.select2-selection__placeholder {
    color: #999;
    font-size: 12px;
}

label {
  font-size: small;
  display: inline-block;
  margin-bottom: 0px;
}

.card-body {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  min-height: 1px;
  padding: 0em .5em 0em .5em;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  /* change if the mask should have another color then white */
  z-index: 99;
  /* makes sure it stays on top */
}

#status {
  width: 200px;
  height: 200px;
  position: absolute;
  left: 50%;
  /* centers the loading animation horizontally one the screen */
  top: 50%;
  /* centers the loading animation vertically one the screen */
  background-image: url(https://raw.githubusercontent.com/niklausgerber/PreLoadMe/master/img/status.gif);
  /* path to your loading animation */
  background-repeat: no-repeat;
  background-position: center;
  margin: -100px 0 0 -100px;
  /* is width and height divided by two */
}

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  margin: auto;
  width: 100%;
  height: auto;
  background-color: #005266a1;
  color: white;
  text-align: center;

}


.centered {
  padding: 5px 0;
}

form {
  background-color: #dee9f7;
  padding-top: 10px;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 3px;
  margin-bottom: 3px;
  border-radius: .25rem;
}

#searchForm {

  background-color: #00ffff00;
  padding-top: 3px;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 0px;
  margin-bottom: 0px;
  border-radius: .25rem;
}

.modal-header {
  height: 25px;
  padding: 2px;
  padding-left: 15px;
}

.modal-content {
  border-radius: 11px;
}

.close-btn {
  border: 1px solid tomato;
  width: 25;
  font-size: 13;
  padding: 0;
  text-align: center;
  cursor: pointer;
  border-radius: 5px;
}

.close-btn:hover {
  background-color: tomato;
}

#menuButtons {
  background-color: #00ffff00;
  padding-top: 3px;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 3px;
  margin-bottom: 3px;
  border-radius: .25rem;
}

.form-group {
  margin-bottom: 5px;
}

.container main {
  display: table;


}

.responsive-table {
  height: 60vh;
  overflow-y: auto;
  overflow-x: auto;
}

@media screen and (max-width: 600px) {
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

#myInput {
  width: 100%;
}

.table td,
.table th,
.table tr {
  vertical-align: middle;
  font-size: 13px;
}

td .fa-edit {
  color: #005266;
}

td .fa-trash {
  color: red;
}

td .btn {
  display: inline;
}

.table-header th {
  background-color: red;
}

.table-footer td {
  background-color: lightslategrey;
  font-weight: bold;
}

#tableta {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

tr:hover {
  background-color: gray;
  box-shadow: 0px 0px 10px gray;
  z-index: 2;
  -webkit-transition: background-color 1000ms linear;
  -moz-transition: background-color 1000ms linear;
  -o-transition: background-color 1000ms linear;
  -ms-transition: background-color 1000ms linear;
  transition: background-color 1000ms linear;
  -webkit-animation-direction: alternate;
  /* Chrome, Safari, Opera */
  animation-direction: alternate;

  -webkit-animation-iteration-count: 2;
  /* Chrome, Safari, Opera */
  animation-iteration-count: 2;

}


.no-hover tr{
  background-color: transparent;
  box-shadow: 0px 0px 10px rgba(128, 128, 128, 0);
}

tr:hover a {
  color: #331919;
}

tr:hover .disabled {
  color: #331919;
}

#tableta td,
#customers th {
  border: 1px solid #ddd;
  padding: 8px;
}

#tableta tr:nth-child(even) {
  background-color: #f2f2f2;
}

#tableta tr:hover {
  background-color: #ddd;
}

#tableta th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #4CAF50;
  color: white;
}

.table-container th{
  background-color: #c7d0d8;
}

.orderable a{
  color: black;
}

body {
  overflow: hidden;
  margin-top: 50px;
  background-color: #002933;
  font-family: 'Arial', monospace;
}

.pending{
  background-color: #F7CB73!important;
}

.processing{
  background-color: #79b8f7!important;
}

.rejected{
  background-color: #f3636a!important;
  color: white!important;
}

.deactivate{
  color: rgb(187, 185, 185)!important;
  cursor: not-allowed;
}


.bg-ta {
  background-image: url("/media/backgrounds/home_bg2.jpg");
  background-position: center;
  background-size: cover;
}

.bg-top {
  background-color: #e6e6fa29;
  padding: 4px;
  border: 1px solid rgba(225, 225, 225, 0.5);
}

.rectangle {
  text-align: center;
  border-radius: 12px;
  background: #005266;
  width: 200px;
  height: 150px;
  padding: 55px;
}

.home-box {
  text-align: center;
  border-radius: 12px;
  background: grey;
  width: 200px;
  height: 185px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #00000;
}

ul {
  margin: 0;
}

.bg-steel {
  background-color: #005266;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 45px;
  background: rgba(0, 58, 58, 0.4);
  border-bottom: 1px solid rgba(225, 225, 225, 0.4);
  z-index: 1000;
}

.navbar-brand {
  display: inline-block;
  padding-top: 0;
  padding-bottom: .3125rem;
  margin-right: 1rem;
  font-size: 1.25rem;
  line-height: inherit;
  white-space: nowrap;
}

.navbar-toggler {
  padding: 0.2rem 0.5rem;
  font-size: 15px;
  line-height: 0;
  background-color: transparent;
  border: 1px solid;
  border-radius: 0.25rem;
}

.navbar-collapse {
  -ms-flex-preferred-size: 100%;
  flex-basis: 100%;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -ms-flex-align: center;
  align-items: center;
  background-color: #17a2b8;
  padding-left: 15px;
  border-bottom-left-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-collapse {
    background-color: rgba(0, 0, 0, 0.0);
  }
}

.site-header .navbar-nav .nav-link {
  color: #cbd5db;
}

.site-header .navbar-nav .nav-link:hover {
  color: #ffffff;
}

.site-header .navbar-nav .nav-link.active {
  font-weight: 500;
}

.content-section {
  background: #ffffff;
  padding: 10px 20px;
  border: 1px solid #dddddd;
  border-radius: 3px;
  margin-bottom: 20px;
}

.article-title {
  color: #444444;
}

a.article-title:hover {
  color: #428bca;
  text-decoration: none;
}

.article-content {
  white-space: pre-line;
}

.article-img {
  height: 65px;
  width: 65px;
  margin-right: 16px;
}

.article-metadata {
  padding-bottom: 1px;
  margin-bottom: 4px;
  border-bottom: 1px solid #e3e3e3
}

.article-metadata a:hover {
  color: #333;
  text-decoration: none;
}

.article-svg {
  width: 25px;
  height: 25px;
  vertical-align: middle;
}

.account-img {
  height: 125px;
  width: 125px;
  margin-right: 20px;
  margin-bottom: 16px;
}

.account-heading {
  font-size: 2.5rem;
}

a.disabled {
  pointer-events: none;
  cursor: default;
  color: grey;
}


.calendarbox {
  background: #b6f3b9 !important;
}

caption {
  caption-side: top !important;
}


.click-able:hover {
  background-color: navy;
  color: #fff;
  cursor: pointer;
  border-radius: .3rem;
}

/* For Multi level Dropdown */


/* @keyframes fadeInSlideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}  */



.menu-button {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  margin: 0;
  background-color: #f9f9f9;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  z-index: 1000;
  min-width: 9rem;
  animation: fadeInSlideUp 0.5s ease;


}


/* Prevent the submenu from going off-screen */
.dropdown-submenu .dropdown-menu {
  /* position: absolute; */
  top: 0;
  left: 100%; 
  z-index: 1050; 
}


.menu-button:hover .dropdown-menu {
  display: block;
}

.dropdown-menu label {
  display: block;
  margin: 8px;
  border-radius: 3px;
  align-items: center;
  display: flex;
  transition: background-color 0.3s ease, transform 0.3s ease;
} 

.dropdown-menu label:hover {
    background-color:rgb(168, 221, 213);
    transform: scale(1.05);
    
}

.dropdown-item:hover{
  background-color:rgb(168, 221, 213);
  transform: scale(1.05);
}

.dropdown-item{
  transition: background-color 0.3s ease, transform 0.3s ease;
  animation: fadeInSlideUp 0.5s ease;
  font-size: .8rem;
}

.dropdown-menu input {
  margin-right: 8px;
}



.dropdown-submenu {
  position: relative;
}

.dropdown-submenu>.dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
  display: block;
}

.dropdown-submenu>a:after {
  display: block;
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #ccc;
  margin-top: 5px;
  margin-right: -10px;
} 

.dropdown-submenu:hover>a:after {
  border-left-color: #fff;
}

.dropdown-submenu.pull-left {
  float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
  left: -100%;
  margin-left: 10px;
  -webkit-border-radius: 6px 0 6px 6px;
  -moz-border-radius: 6px 0 6px 6px;
  border-radius: 6px 0 6px 6px;
}  




/* scroll bar CSS */

/* width */
::-webkit-scrollbar {
  height: 5px;
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #2e2c2c;
  opacity: .5;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}
/* scroll bar CSS */

/* progress bar CSS */
.progress-container {
  width: 100%;
  background-color: #e9ecef;
  border-radius: 10px;
  overflow: hidden;
  height: 20px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, #00b09b, #96c93d); /* green gradient */
  color: white;
  text-align: center;
  line-height: 25px;
  font-weight: bold;
  transition: width 0.4s ease-in-out;
  border-radius: 10px 0 0 10px;
}

.progress-bar.full {
  box-shadow: 0 0 10px #96c93d;
}
