@-webkit-keyframes timer {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-moz-keyframes timer {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-o-keyframes timer {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes timer {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* Styles for old versions of IE */
.timer {
  font-family: sans-serif;
  font-weight: 100;
  transform: rotate(180deg);
}

/* :not(:required) hides this rule from IE9 and below */
.timer:not(:required) {
  border: 6px solid blue;
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  -ms-border-radius: 24px;
  -o-border-radius: 24px;
  border-radius: 24px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: inline-block;
  overflow: hidden;
  position: relative;
  text-indent: -9999px;
  width: 48px;
  height: 48px;
}
.timer:not(:required)::before {
  -webkit-animation: timer 1250ms infinite linear;
  -moz-animation: timer 1250ms infinite linear;
  -ms-animation: timer 1250ms infinite linear;
  -o-animation: timer 1250ms infinite linear;
  animation: timer 1250ms infinite linear;
  -webkit-transform-origin: 3px 3px;
  -moz-transform-origin: 3px 3px;
  -ms-transform-origin: 3px 3px;
  -o-transform-origin: 3px 3px;
  transform-origin: 3px 3px;
  background: darkred;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
  content: '';
  display: block;
  position: absolute;
  width: 6px;
  height: 19.2px;
  left: 15px;
  top: 15px;
}
.timer:not(:required)::after {
  -webkit-animation: timer 15000ms infinite linear;
  -moz-animation: timer 15000ms infinite linear;
  -ms-animation: timer 15000ms infinite linear;
  -o-animation: timer 15000ms infinite linear;
  animation: timer 15000ms infinite linear;
  -webkit-transform-origin: 3px 3px;
  -moz-transform-origin: 3px 3px;
  -ms-transform-origin: 3px 3px;
  -o-transform-origin: 3px 3px;
  transform-origin: 3px 3px;
  background: darkred;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
  content: '';
  display: block;
  position: absolute;
  width: 6px;
  height: 16px;
  left: 15px;
  top: 15px;
}
.invert{
	-webkit-filter: invert(1);
  filter: invert(1);
}
.bold{
	font-weight: bold;
}
.navbar-brand{
	height: 40px;
  padding: 13px 8px 13px 10px;
}
.btn-main-menu{
	background: #f8f8f8;
	border: none;
}
.nav>li {
  margin-bottom: 2px;
}

#form-filter{
	display: none;
}
#container{
	height: calc(100vh - 100px);
	position:relative;
	padding:0 5px;
}
.filter-open #container{
	height: calc(100vh - 130px);
}
.filter-open #form-filter{
	display: block;
}
#content{
	max-height:100%;overflow:auto;
	text-align: justify;
}
.footer{
	box-shadow: 0 -5px 5px -5px #999;
}
.noselect{
	user-select: none;
}
#content mark{
  color: black; background-color: orange;
}

table{
	width: 100%;
	border-collapse: collapse;
}
.center{
	text-align: center;
}
.panel-heading a{
	text-decoration: none;
	display: block;
	color: black;
}
.footer .col{
	text-align: center;
	padding: 0;
}
.footer .btn-group>.btn{
	background: #f8f8f8;
	border-radius: 0;
	border-color: #f8f8f8;
}
.rtl{
	direction: rtl;
}
.ltr{
	direction: rtl;
}
.modal.allow-scroll .modal-dialog{
  overflow-y: initial !important;
}
.modal.allow-scroll .modal-body{
  max-height: 70vh;
  overflow-y: auto;
}
a.navbar-brand>b{
	color: darkblue !important; font-weight: bold;font-size: 22px;margin-left: 8px;
}
.vertical-alignment-helper {
    display:table;
    height: 100%;
    width: 100%;
    pointer-events:none; /* This makes sure that we can still click outside of the modal to close it */
}
.vertical-align-center {
    /* To center vertically */
    display: table-cell;
    vertical-align: middle;
    pointer-events:none;
}
.modal-content {
    /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
    width:inherit;
    max-width:inherit; /* For Bootstrap 4 - to avoid the modal window stretching full width */
    height:inherit;
    /* To center horizontally */
    margin: 0 auto;
    pointer-events: all;
}
.select2-container--default .select2-selection--single{
	height: 34px !important;
}
.mb-5{
	margin-bottom: 5px;
}
.table-responsive{
	margin-bottom: 0;
}
table.listview tr:first-child td{
	border-top: none;
}
table.listview tr:last-child td{
	border-bottom: none;
}
#accordion .panel-title i.pull-right{
	width: 30px;
  margin-top: -17px;
  margin-right: -15px;}
#accordion .panel-title button.pull-right{
	width: 30px;
  margin-top: -24px;
  margin-right: -10px;
  color: black;
}
tr.selected{
	background-color: lightgray !important;
}
.logobefore:before{
	content: '';
	display: inline-block;
	margin: -5px 0 -15px -5px;
	background-size: 20px;
	background-repeat: no-repeat;
	width: 30px;
	height: 30px;
}
.logodb:before{
	background-image: url('../db.png');
}
.logotable:before{
	background-image: url('../table.png');
}
.logoview:before{
	background-image: url('../view.png');
}
.logofunction:before{
	background-image: url('../function.png');
}
.logotrigger:before{
	background-image: url('../trigger.png');
}
.logoevent:before{
	background-image: url('../event.png');
}
.logoquery:before{
	background-image: url('../query.png');
}
.MySQL:before{
	background-image: url('../mysql.png');
}
.PostgreSQL:before{
	background-image: url('../postgresql.png');
}
.SQLServer:before{
	background-image: url('../sqlsrv.png');
}

.caption-bottom:after{
	display: block;
  font-size: 9px;
  font-weight: bold;
  font-family: sans-serif;
  margin-top: 3px;
}
.caption-add:after{
	content: 'ADD';
}
.caption-edit:after{
	content: 'EDIT';
}
.caption-delete:after{
	content: 'DELETE';
}
.caption-open:after{
	content: 'OPEN';
}
.caption-filter:after{
	content: 'FILTER';
}
.caption-prev:after{
	content: 'PREV';
}
.caption-next:after{
	content: 'NEXT';
}
.caption-more:after{
	content: 'MORE';
}


.table-excel tbody {
  font-size: .9em;
}
.table-excel th {
  position: sticky;
  top: 0;
}
.table-excel th[scope=row] {
  left: 0;
  z-index: 2;
  min-width: 20px;
}
.table-excel thead>tr>th[scope=row] {
  z-index: 3;
}
/*.table-excel th {background: #f9f9f9; }*/
.table-excel thead tr th:not(:first-child){
	background: rgb(249,249,249);
	background: linear-gradient(180deg, rgba(249,249,249,1) 0%, rgba(249,249,249,1) 95%, rgba(27,27,27,1) 100%);
}
.table-excel thead tr th:first-child{
	left: 0;
	z-index: 4;
	background: rgb(249,249,249);
	background: linear-gradient(135deg, rgba(249,249,249,1) 0%, rgba(249,249,249,1) 70%, rgba(27,27,27,1) 100%);
}
.table-excel tbody tr th {
	background: rgb(249,249,249);
	background: linear-gradient(90deg, rgba(249,249,249,1) 0%, rgba(249,249,249,1) 95%, rgba(27,27,27,1) 100%);
}
