html
{
  position: relative;
  min-height: 100%;
}

.full{
  width: 100%;
}

.left{
  float:left;
}

.right{
  float:right;
}

.center{
  float:middle;
}
.block{
  display:block;
}
.inline{
  display:inline-block;
}

.absolute{
  position:absolute;
}
.relative{
  position:relative;
}

.margin-bottom{
  margin-bottom:10px;
}
.margin-top{
  margin-top:10px;
}
.margin-right{
  margin-right:10px;
}
.margin-left{
  margin-left:10px;
}

.bottom{
  vertical-align: bottom;
}

.pagination{
  margin: 10px 0;
}

.font-16{
  font-size:16px;
}

.font-20{
  font-size:20px;
}

.link{
  cursor:pointer;
}

.clearfix{
  clear:both;
}

.panel-heading .btn-sm{
  margin-top: -5px;
}

.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.datepicker {
    margin-top: 300px;
}
.datepicker-inline {
    margin-top: 0px;
    margin-left: auto;
    margin-right: auto;
}
.box-selected {
  box-shadow: 0px 0px 15px #337AB7;
}
.list-group-item.box-selected{
  box-shadow: inset 0px 0px 15px #337AB7;
}
.filter-remove-company,.filter-remove-machine, .filter-remove {
    color:red;
}
.filter-remove-company:hover, .filter-remove-machine:hover, .filter-remove:hover {
    color:red;
}

.input-group-addon.success {
    color: rgb(255, 255, 255);
    background-color: rgb(92, 184, 92);
    border-color: rgb(76, 174, 76);
}
.input-group-addon.info {
    color: rgb(255, 255, 255);
    background-color: rgb(57, 179, 215);
    border-color: rgb(38, 154, 188);
}
.input-group-addon.warning {
    color: rgb(255, 255, 255);
    background-color: rgb(240, 173, 78);
    border-color: rgb(238, 162, 54);
}
.input-group-addon.danger {
    color: rgb(255, 255, 255);
    background-color: rgb(217, 83, 79);
    border-color: rgb(212, 63, 58);
}

rect.task:hover, circle:hover, .link
{
    cursor: pointer;
}
.at-active {
    -webkit-animation-name: greenPulse;
    -webkit-animation-duration: .5s;
    -webkit-animation-iteration-count: infinite;
}

@-webkit-keyframes greenPulse {
    from { fill: #9b0000; -webkit-box-shadow: 0 0 9px #333; }
    50% { fill: #ff0000; -webkit-box-shadow: 0 0 18px #ff0000; }
    to { fill: #9b0000; -webkit-box-shadow: 0 0 9px #333; }
}
/*
.draggable {
    cursor: move;
}
svg text {
    -webkit-user-select: none;  /* Chrome all / Safari all *//*
    -moz-user-select: none;     /* Firefox all *//*
    -ms-user-select: none;      /* IE 10+ *//*
}
*/
.filters{
  width:100%;
  display:inline-block;
}
.filters label{
    display:block;
}

.filters .bottom{
    vertical-align:bottom;
}

.btn-lg-locked {
    font-size: 18px;
    line-height: 1.3333333;
    border-radius: 6px;

    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: not-allowed;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
}
.active .search {
    display:table;
}
.search {
    display:none;
    margin-top: 10px;
    padding: 0px 8px;
}
.search input {
    border-radius: 15px 0px 0px 15px;
    background-color:#4d4d4d;
    color:#fff;

}
.search input:focus {
    background-color: white;
    color:black;
    border-color: white;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.search .input-group-addon {
    border-radius: 0px 15px 15px 0px;
    background-color: #4d4d4d;
    color:#fff;
}
.search .input-group-addon:hover {
    background-color: #383838;
    cursor: pointer;
}
.search .input-group-addon .glyphicon {
    left : -30px;
}
.table.tight>tbody>tr>td,
.table.tight>tbody>tr>th,
.table.tight>tfoot>tr>td,
.table.tight>tfoot>tr>th,
.table.tight>thead>tr>td,
.table.tight>thead>tr>th {
    padding: 2px 8px 2px 8px;
} 

.input-big {
    height:100%;
    font-size:48px;
    padding: 0px;
    text-align: center;
}
select.error, textarea.error, input.error {
    border: 2px solid red;
    background-color: #FFE5E5;
    box-shadow: 0px 0px 10px red;
}
/* basic positioning */
.legend { list-style: none; padding:0px; }
.legend li { float: left; margin-right: 10px; }
.legend span { border: 1px solid #ccc; float: left; width: 12px; height: 12px; margin: 4px 8px 4px 8px; }
.legend.lines span {border: solid 0px; height: 5px; width: 25px; margin-top: 7px;}
.calendar-date {
    cursor: pointer;
}
.calendar-date:hover {
    fill:rgb(0,0,255);
    fill-opacity: .2;
}
.calendar-holiday {
    fill-opacity: .2;
}
#svg .day {
    fill:rgb(0,0,0);
}
#svg .weekend-holiday {
    fill:rgb(128,0,0);
    //stroke:rgb(0,0,0);
    //stroke-width: .2px;
    font-weight: bold;
}
#svg {
    border: 1px solid;
    width:100%;
    height:100%;
}
.table-custom {
    width: 100%;
    font-size: 13px;
}
.border-top {
    border-top: 1px solid;
}
.border-right {
    border-right: 1px solid;
}
.border-right-open {
    border-top:1px solid;
    border-left:1px solid;
    border-bottom: 1px solid;
}
.border-left-open {
    border-top:1px solid;
    border-right:1px solid;
    border-bottom: 1px solid;
}
.border-full {
    border:1px solid;
}
.modal-responsive {
    width:90%;
}
@keyframes hideshow {
    0% { patternTransform:"translate(1,1)" }
    50% { patternTransform:"translate(20,1)" }
    100% { patternTransform:"translate(40,1)" }
}
.test-animate {
    animation: hideshow 5s infinite;
}
@media (min-width: 768px)
{
    .filters input[type=submit]{
        margin-top:25px;
    }
}
.tooltip-inner {
    text-align:left;
}
@media (max-width: 1700px)
{
    svg {
        height:200px;
    }
}
@media (max-width: 1200px)
{
    svg {
        height:125px;
    }
}
@media (max-width: 768px)
{
  svg {
      height:95px;
  }
}
@media (max-width: 480px)
{
    svg {
        height:65px;
    }
}
/*--------------------------------zákazník-------------------------------------*/
@media (min-width: 992px) and (max-width: 1300px)
{
  #customers .col-customer{
      width:33.3%;
  }
} 

.map-point{
  width:31px;
  height:26px;
  display:inline-block;
  background: transparent url(../images/sprite.png) no-repeat;
  background-position: -34px -2px;
  margin-right:5px;
}

.customer .panel-heading{
    padding: 5px 10px;
    white-space: nowrap;
    overflow: hidden;
} 

.customer .web{
  width:26px;
  height:26px;
  display:inline-block;
  background: transparent url(../images/sprite.png) no-repeat;
  background-position: -98px -1px;
}

.customer-logo{
    width:100%;
    height:84px;
    display:inline-block;
}

.customer-logo img{
  max-width: 100%;
  max-height:100%;
}

.panel.customer{
  height:197px;
}

.panel.customer .body{
  margin-bottom:40px;
  max-height: 125px;
  overflow: hidden;
  width:100%;
  padding: 8px 10px;
}

.panel.customer .body .score{
    position:absolute;
    right:5px;
    top:3px;
    z-index:9;
}

.panel.customer .body:hover{
    max-height: none;
    min-height:125px;
    position: absolute;
    margin-bottom:0px;
    background: #fff;
    z-index: 2;
    min-width: 100%;
    width:auto;
    overflow: visible;
    -webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.1);
    box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.1);
    /*border: solid 1px #eee;*/
}

.panel.customer .footer{
  border-top:solid 1px #DDD;
  position:absolute;
  bottom:0px;
  min-height:42px;
  width: 100%;
  padding:5px 10px;
  background:#fff;
}

@media (min-width: 992px) and (max-width: 1200px)
{
  .panel.customer .footer{
    padding:5px;
  }  
}

.customer-light .panel.customer{
    min-height: 180px;
}

.customer-light .panel.customer .body{
  padding-bottom:5px;
}
/*-------------------------------/zákazník-------------------------------------*/

/*-------------------------------Stroje----------------------------------------*/
a.machine-thumb{
  width:100%;
  display:inline-block;
  text-align:center;
}

@media (min-width: 992px)
{
  a.machine-thumb{
    /*max-height:65px;*/
    height: 60px;
    display: block;
  }
}

@media (max-width: 991px)
{
  a.machine-thumb{
    max-height:155px;
    overflow-y:auto;
  }
}

.machine-thumb img{
  max-height:100%;
  display: inline-block;
}

.machine-photo{
  padding:0px;
}

.machine-photo a{
  height:75px;
  max-width:100%;
}

.machine-photo img{
  max-height:310px;
}

.machine-body{
  padding-right:0px;
}

@media (min-width: 992px) and (max-width: 1400px)
{
  #customers > .col-md-3
  /*#machines .machine*/{
    width:33%;
  } 
}

.item-id{
    min-width: 45px;
    display: inline-block;
}
/*-------------------------------/Stroje---------------------------------------*/

.popupalert_info,
.popupalert_danger,
.popupalert_warning{
    position: fixed;
    width: 100%;
    left: 0;
    top: 50px;
    z-index: 5100;
    background: transparent url(../images/transparent-black.png);
    border-top: solid 1px #ddd;
    border-bottom: solid 1px #ddd;
    padding-top: 20px;
}

.message{
    width: 50%;
    margin: 0 auto;
}

.close_popup_alert{
    float: right;
    font-size: 16px;
    background: none;
    border: none;
    opacity: 0.7;
}
.file{
  position:relative;
  height:115px;
  margin-top:15px;
  /*padding-top: 5px;*/
  border: 1px solid #ddd;
  overflow: hidden;
  color: #0e0e0e; 
  /*background-size: 100%;*/
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.file .name{
  position:absolute;
  bottom:0px;
  width:100%;
  overflow:hidden;
  background: transparent url(../images/transparent-white.png);
  padding: 0 5px 5px;
}

.file .ele{
  display:inline-block;
  width:100%;
  height:100%;
}

.file .ele img.img-responsive{
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
}

#files .circle{
  position:absolute;
  width: 26px !important;
  height: 26px;
  padding: 4px 1px 0 0; 
  font-size:12px;
  top:3px;
  color:#212121;
  border:solid 2px #212121;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;   
}

#files .circle.delete,
#files .circle.deleteFolder{
  background:#D9534F;
  right:10px;
}

#files .circle.copyable,
#files .circle.download{
  background:#337ab7;
  right:40px;
  padding:5px 1px 0 1px;
}

.circle.rotate-image{
  width:25px;
  height:25px;
  display:inline-block;
  background: #fff url(../images/sprite.png) no-repeat;
  z-index:9;
}

.circle.rotate-image.rotate-left{
  background-position: -14px -35px;
  left: 10px;
  top: 50px!important;
}

.circle.rotate-image.rotate-right{
  background-position: 2px -36px;
  right: 10px;
  top: 50px!important;
}
/*-------------------------------/Stroje---------------------------------------*/
.dropdown-menu-form {
    padding: 5px 10px 0;
    max-height: 450px;
    overflow-y: scroll;
    min-width:200px;
}

.panel.toggle .panel-body{
  display:none;
}

.panel.toggle .panel-heading{
  cursor:pointer;
}

.panel.toggle.open .panel-body{
  display:block;
}

.time{
  min-width: 50px;
  text-align: right;
  display: inline-block;
}

@keyframes sec-blink {
  50% {
      opacity: 0.0;
  }
}
@-webkit-keyframes sec-blink {
  50% {
    opacity: 0.0;
  }
}
#serverClock{
  font-family:'Century Gothic', Arial, Helvetica;
  line-height: 60px;
  font-size: 45px;
}
#serverClock span {
  animation: sec-blink 1s step-start 0s infinite;
  -webkit-animation: sec-blink 1s step-start 0s infinite;
}

@media (max-width: 768px)
{
  #serverClock{
    width:100%;
    display:inline-block;
    line-height: 30px;
    font-size: 20px;
  }
}

.highlight{background-color:#f2dede;}