/** Home Page **/
body {
	padding-top: 60px;
	padding-bottom: 40px;
	background-color: #f5f5f5;
}

/** Ajax spinner **/
#ajax-spinner {
    margin: 15px 0 0 15px;
    padding: 13px;
    background: white url('../images/spinner.gif') no-repeat 50% 50%;
    font-size: 0;
    z-index: 123456;
    display: none;
}

/** Login Page **/
#login {
    padding-top: 40px;
    padding-bottom: 40px;
}

#login .form-signin {
    max-width: 300px;
    padding: 19px 29px 29px;
    margin: 0 auto 20px;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
       -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
            box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
#login .form-signin .form-signin-heading,
#login .form-signin .checkbox {
    margin-bottom: 10px;
}
#login .form-signin input[type="text"],
#login .form-signin input[type="password"] {
    font-size: 16px;
    height: auto;
    margin-bottom: 15px;
    padding: 7px 9px;
}

/** 2 level sub menu **/
.dropdown-menu-with-subs .sub-menu {
  left: 100%;
  position: absolute;
  top: 0;
  visibility: hidden;
  margin-top: -1px;
}

.dropdown-menu-with-subs li:hover .sub-menu {
  visibility: visible;
  display: block;
}

.navbar .sub-menu:before {
  border-bottom: 7px solid transparent;
  border-left: none;
  border-right: 7px solid rgba(0, 0, 0, 0.2);
  border-top: 7px solid transparent;
  left: -7px;
  top: 10px;
}
.navbar .sub-menu:after {
  border-top: 6px solid transparent;
  border-left: none;
  border-right: 6px solid #fff;
  border-bottom: 6px solid transparent;
  left: 10px;
  top: 11px;
  left: -6px;
}

/** Global **/
#content {
  margin-left:0px;
}
.hide-sidebar, .show-sidebar {
  cursor: pointer;
}
.padd-bottom {
  margin-bottom: 5px;
}
.breadcrumb {
	margin: 0 0 0px;
	padding: 10px 0px;
	background-color: transparent;
}

.block {
	border: 1px solid #ccc;
	background: white;
	margin: 1em 0em;
	border-top: none;
	display: inline-grid;
}

.block-content {
	margin: 1em;
	min-height: .25em;
}

.block-header {
	margin-bottom: 0px;
	border-right: none;
	border-left: none;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
}
.block-header div {
	padding-top: 10px;
}

.easyPieChart {
	margin: 0px auto;
}

.chart-bottom-heading {
	margin-top: 5px;
	text-align: center;
}

/** Side Bar **/
.bs-docs-sidenav {
  max-width: 228px;
  margin: 30px 0 0;
  padding: 0;
  background-color: #fff;
  -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
  -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.065);
     -moz-box-shadow: 0 1px 4px rgba(0,0,0,.065);
          box-shadow: 0 1px 4px rgba(0,0,0,.065);
}
.bs-docs-sidenav > li > a {
  display: block;
  width: 190px \9;
  margin: 0 0 -1px;
  padding: 8px 14px;
  border: 1px solid #e5e5e5;
}
.bs-docs-sidenav > li:first-child > a {
  -webkit-border-radius: 6px 6px 0 0;
     -moz-border-radius: 6px 6px 0 0;
          border-radius: 6px 6px 0 0;
}
.bs-docs-sidenav > li:last-child > a {
  -webkit-border-radius: 0 0 6px 6px;
     -moz-border-radius: 0 0 6px 6px;
          border-radius: 0 0 6px 6px;
}
.bs-docs-sidenav > .active > a {
  position: relative;
  z-index: 2;
  padding: 9px 15px;
  border: 0;
  text-shadow: 0 1px 0 rgba(0,0,0,.15);
  -webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
     -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
          box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
}
/* Chevrons */
.bs-docs-sidenav .icon-chevron-right {
  float: right;
  margin-top: 2px;
  margin-right: -6px;
  opacity: .25;
}
.bs-docs-sidenav > li > a:hover {
  background-color: #f5f5f5;
}
.bs-docs-sidenav a:hover .icon-chevron-right {
  opacity: .5;
}
.bs-docs-sidenav .active .icon-chevron-right,
.bs-docs-sidenav .active a:hover .icon-chevron-right {
  opacity: 1;
}
.bs-docs-sidenav.affix {
  top: 40px;
}
.bs-docs-sidenav.affix-bottom {
  position: absolute;
  top: auto;
  bottom: 270px;
}

/* Icons
------------------------- */
.the-icons {
  margin-left: 0;
  list-style: none;
}
.the-icons li {
  float: left;
  width: 25%;
  line-height: 25px;
}
.the-icons i:hover {
  background-color: rgba(255,0,0,.25);
}

#frm-ktkUdajeForm input[required=required],
#frm-ktkUdajeForm select[required=required],
#frm-ktkUdajeForm textarea[required=required]
{
    background-color: #cfc;
}

label.checkbox {
    width: 200px;
}

.form-actions:first-of-type {
    position: fixed;
    bottom: -10px;
    width: 100%;
    margin: 0;
    padding-bottom: 35px;
}

form.grid-gridForm,
#frm-pripojkyGrid-filter {
    overflow: auto;
}

th.grid-filter-form {
    padding: 0;
}

.datagrid {
    padding: 0;
    font-size: 90%;
}
.datagrid span.small {
    font-size: 70%;
}
.datagrid table.td {
    line-height: 15px;
}
th.grid-filter-form input,
.datagrid th input {
    width: 90%;
    margin: 0;
}

.datagrid .dropdown-menu {
    min-width: 0;
    right: 0;
    left: initial;
}

tr.neaktivni td {
    background-color: rgba(255, 0, 0, 0.1) !important;
}

tr.blocked td {
    background-color: rgba(255, 64, 64, 0.3) !important;
}

.datagrid a.redir {
    padding: 0 .3rem;
}

tr.mobil td {
    background-color: rgba(0, 0, 255, 0.1) !important;
}

.table th, .table td {
    padding: 2px 8px;
}

.datagrid table thead tr th {
    vertical-align: middle !important;
}

.datagrid select {
    margin-bottom: 0;
}

.datagrid table td.col-action {
    text-align: left !important;
}

.table thead th {
    vertical-align: middle;
    padding: 3px 8px;
}

.grid-perPage label {
    display: inline-block;
}

.grid-perPage select {
    width: 60px;
    margin: 0;
}

.collapse {
    overflow: visible;
}

div.grid .row {
        margin: 0;
}

.grid-order {
    display: inline-block;
}

.grid-order-up,
.grid-order-down {
    width: 0;
    height: 0;
    border-style: solid;
    margin-top: 4px;
    line-height: 14px;
    vertical-align: text-top;
    display: inline-block;
}

.grid-order-up {

    border-width: 0 5px 7px 5px;
    border-color: transparent transparent #000000 transparent;
}

.grid-order-down {
    border-width: 7px 5px 0 5px;
    border-color: #000000 transparent transparent transparent;
}

.grid-order-active-up {
    border-color: transparent transparent #ff0000 transparent;
}

.grid-order-active-down {
    border-color: #ff0000 transparent transparent transparent;
}

div.grid select {
    width: 65px;
}
.modal-body {
    max-height: 90%;
}
div.modal-dialog th {
	text-align: left;
	padding-right: 1rem;
}
div.modal-dialog table.ppp-history td {
	padding-right: 1rem;
}

div.modal-dialog table.ppp-history {
	font-size: 75%;
}
#ajax-spinner {
    position: fixed;
    width: 200px;
    height: 200px;
    /* - use if you use bacground image, no ico */
    background: url('/images/Pacman-1s-200px.gif') no-repeat;
    z-index: 123456;
    color: green;
    top: 30%;
    left: 45%;
}

@media only screen and (max-width: 1280px)  {
	.grid-filter-form input[value=Filtrovat]{
		position: absolute;
		top: 0;
		left: 0;
	}
}

@media only screen and (min-width: 768px)  {
    form.grid-gridForm, #frm-pripojkyGrid-filter {
	overflow: initial;
    }
    
    #ajax-spinner {
	width: 14px;
	height: 14px;
	top: 0px;
	right: 30px;
	left: initial;
	background: url('/images/spinner.gif') no-repeat;
    }
}


#map img {
max-width: none;
}

.indicator {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 10px;
    border-radius: 50%;
}
table .indicator {
    margin-top: 6px;
    /*white-space: pre-line;*/
}
.navbar .indicator {
    margin: 12px 15px 10px;
}
.indicator.online {
    background-color: #0fcc45;
}
.indicator.offline {
    background-color: #f00;
}
.indicator.error {
    background-color: #000;
}
.indicator.static {
    background-color: #ccc;
}
.indicator.spinner {
    background: white url('../images/spinner.gif') no-repeat 50% 50%;
}
span.blink {
  display: block;
  width: 15px;
  height: 15px;
  
  background-color: #0fcc45;
  opacity: 0.7;
  border-radius: 50%;
  
  animation: blink 1s linear infinite;
}
.offline span.blink {
  background-color: #ff0000;
}
/*Animations*/

@keyframes blink {
  100% { transform: scale(2, 2); 
          opacity: 0;
        }
}

.nomargin {
    margin: 0 !important;
}

@media only screen and (max-width: 768px) {
  div.warning {
    display: block;
    color: indianred;
    font-weight: bold;
  }
}