/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
img,legend{border:0}legend,td,th{padding:0}html{font-family:Arial, Helvetica, sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,optgroup,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0;font-size:2em}mark{color:#000;background:#ff0}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}pre,textarea{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{margin:0;font:inherit;color:inherit;}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid silver}table{border-spacing:0;border-collapse: separate;}


/* Main style */
body {background-color: #E8EBF1; color: #333;overflow-y: scroll; height: 100%;}

.clearfix:before,.clearfix:after,.dl-horizontal dd:before,.dl-horizontal dd:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.row:before,.row:after,.form-horizontal .form-group:before,.form-horizontal .form-group:after,.btn-toolbar:before,.btn-toolbar:after,.btn-group-vertical > .btn-group:before,.btn-group-vertical > .btn-group:after,.nav:before,.nav:after,.navbar:before,.navbar:after,.navbar-header:before,.navbar-header:after,.navbar-collapse:before,.navbar-collapse:after,.pager:before,.pager:after,.panel-body:before,.panel-body:after,.modal-footer:before,.modal-footer:after
{display: table;content: " ";}
input, select {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}
.footer {
    margin-top: 54px !important;
    /*height: 40px;*/
    /*background-color: #fff;*/
    /*border-top: 1px solid #d6d6d6;*/
    clear: both;
    text-align: right;
    width: 100%;
    color: #fff;
}
.footer > .container {
    padding-right: 10px;
}
div > .logo{
  width: 245px;
  height: 85px;
  margin: 10px;
}
.logo{
  display: block;
  background: url('rotek.png') no-repeat -5px -15px;
  width: 100%;
  height: auto
;  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.mark-ok{
  display: block;
  background: url('rotek.png') no-repeat 0 -73px;
  background-size: 172px 87px;
  width: 16px;
  height: 14px;
  float: left;
  margin-right:10px;
  margin-top: 2px;
}
.mark-almin{
  display: block;
  background: url('rotek.png') no-repeat -52px -73px;
  background-size: 172px 87px;
  width: 16px;
  height: 14px;
  float: left;
  margin-right:10px;
  margin-top: 2px;
}
.mark-almaj{
  display: block;
  background: url('rotek.png') no-repeat -32px -73px;
  background-size: 172px 87px;
  width: 16px;
  height: 14px;
  float: left;
  margin-right:10px;
  margin-top: 2px;
}
.mark-bad{
  display: block;
  background: url('rotek.png') no-repeat -16px -73px;
  background-size: 172px 87px;
  width: 16px;
  height: 14px;
  float: left;
  margin-right:10px;
  margin-top: 2px;
}
.navbar {
  position: relative;
  min-height: 100px;
  /*margin-bottom: 20px;*/
  /*border-bottom: 1px solid transparent;*/
}
.navbar-default {
  background-color: #fff;
  /*border-color: #e7e7e7;*/
  box-shadow: 0 1px 5px rgba(0,0,0,0.2);
}
.navbar-default .navbar-brand {
  color: #337ab7;
}
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
  color: #fa1127;
  background-color: transparent;
}
.navbar-default .navbar-text {
  color: #777;
}
.navbar-default .navbar-nav > li > a {
  line-height: 1em;
  color: #337ab7;
  font-size: 16px;
  text-decoration: none;
}
.navbar-header {
  float: left;
}
.navbar-nav {
  float: right;
  margin: 0;
}
.navbar-nav > li {
  float: left;
}
.navbar-nav > li > a {
  padding-top: 10px;
  padding-bottom: 10px;
}
.nav {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
  display: inline;
}
.nav > li {
  position: relative;
  display: block;
}
.nav > li > a {
  text-transform: uppercase;
  letter-spacing: .02em;
  position: relative;
  display: block;
  padding: 42px 10px;
}
.nav > li > a:hover,
.nav > li > a:focus {
  text-decoration: none;
  /*background: #eee;*/
}
.nav > li > a.active{
  /*background: #e7e7e7;*/
  color: #424f54;
  border-bottom: 4px solid #01a1be;
  padding: 42px 10px 38px;
}

li.logout {
  position: absolute;
  top: 10px;
  right: 25px;
}

.navbar-default .navbar-nav > li.logout > a{
  font-size: 0.8em;
  padding: 0;
  border-bottom: 1px dashed;
  z-index: 102;
}

table {
  background-color: transparent;
}
caption {
  padding-top: 8px;
  padding-bottom: 8px;
  color: #777;
  text-align: left;
}
th {
  text-align: left;
}
.table {
  width: 100%;
  // max-width: 100%;
  margin-bottom: 20px;
}
.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
  padding: 8px;
  line-height: 1.42857143;
  vertical-align: middle;
  border-top: 1px solid #ddd;
}
.table > thead > tr > th {
  vertical-align: bottom;
  border-bottom: 2px solid #ddd;
}
.table > caption + thead > tr:first-child > th,
.table > colgroup + thead > tr:first-child > th,
.table > thead:first-child > tr:first-child > th,
.table > caption + thead > tr:first-child > td,
.table > colgroup + thead > tr:first-child > td,
.table > thead:first-child > tr:first-child > td {
  border-top: 0;
}

.table > tbody + tbody {
  border-top: 2px solid #ddd;
}
.table .table {
  background-color: #fff;
}
.table-condensed > thead > tr > th,
.table-condensed > tbody > tr > th,
.table-condensed > tfoot > tr > th,
.table-condensed > thead > tr > td,
.table-condensed > tbody > tr > td,
.table-condensed > tfoot > tr > td {
  padding: 5px;
}
.table-bordered {
  border: 1px solid #ddd;
}
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
  border: 1px solid #ddd;
}
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td {
  border-bottom-width: 2px;
}
.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #f9f9f9;
}
.table-hover > tbody > tr:hover {
  background-color: #f5f5f5;
}
table col[class*="col-"] {
  position: static;
  display: table-column;
  float: none;
}
table td[class*="col-"],
table th[class*="col-"] {
  position: static;
  display: table-cell;
  float: none;
}
.table > tbody > tr > td.ph{
  text-align: center;
  color: #ACB3C0;
  background-color: #f8f8f8;
  letter-spacing:0.02em;
  text-transform: uppercase;
}
.table > thead > tr > th.ph{
  font-weight: normal;
  text-align: left;
  color: #ACB3C0;
  background-color: #f8f8f8;
  letter-spacing:0.02em;
  text-transform: uppercase;
}
.table > thead > tr > th.ph2{
  font-weight: normal;
  text-align: left;
  color: #ACB3C0;
  background-color: #f8f8f8;
}
.table-responsive {
  min-height: .01%;
  overflow-x: auto;
}
@media screen and (max-width: 767px) {
  .table-responsive {
    width: 100%;
    margin-bottom: 15px;
    overflow-y: hidden;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    border: 1px solid #ddd;
  }
  .table-responsive > .table {
    margin-bottom: 0;
  }
  .table-responsive > .table > thead > tr > th,
  .table-responsive > .table > tbody > tr > th,
  .table-responsive > .table > tfoot > tr > th,
  .table-responsive > .table > thead > tr > td,
  .table-responsive > .table > tbody > tr > td,
  .table-responsive > .table > tfoot > tr > td {
    white-space: nowrap;
  }
  .table-responsive > .table-bordered {
    border: 0;
  }
  .table-responsive > .table-bordered > thead > tr > th:first-child,
  .table-responsive > .table-bordered > tbody > tr > th:first-child,
  .table-responsive > .table-bordered > tfoot > tr > th:first-child,
  .table-responsive > .table-bordered > thead > tr > td:first-child,
  .table-responsive > .table-bordered > tbody > tr > td:first-child,
  .table-responsive > .table-bordered > tfoot > tr > td:first-child {
    border-left: 0;
  }
  .table-responsive > .table-bordered > thead > tr > th:last-child,
  .table-responsive > .table-bordered > tbody > tr > th:last-child,
  .table-responsive > .table-bordered > tfoot > tr > th:last-child,
  .table-responsive > .table-bordered > thead > tr > td:last-child,
  .table-responsive > .table-bordered > tbody > tr > td:last-child,
  .table-responsive > .table-bordered > tfoot > tr > td:last-child {
    border-right: 0;
  }
  .table-responsive > .table-bordered > tbody > tr:last-child > th,
  .table-responsive > .table-bordered > tfoot > tr:last-child > th,
  .table-responsive > .table-bordered > tbody > tr:last-child > td,
  .table-responsive > .table-bordered > tfoot > tr:last-child > td {
    border-bottom: 0;
  }
}
fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}
.panel {
  margin-bottom: 20px;
  background-color: #fff;
  border: 1px solid transparent;
  -webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.15);
          box-shadow: 0 1px 5px rgba(0,0,0,0.15);
}
.panel-heading {
  padding: 10px 15px;
  border-bottom: 1px solid transparent;
  color: #ACB3C0;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.panel-heading > .dropdown .dropdown-toggle {
  color: inherit;
}
.panel-title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 16px;
  color: inherit;
}
.panel-title > a,
.panel-title > small,
.panel-title > .small,
.panel-title > small > a,
.panel-title > .small > a {
  color: inherit;
}
.panel-footer {
  padding: 10px 15px;
  background-color: #f8f8f8;
  border-top: 1px solid #ddd;
}
.panel > .list-group,
.panel > .panel-collapse > .list-group {
  margin-bottom: 0;
}
.panel > .list-group .list-group-item,
.panel > .panel-collapse > .list-group .list-group-item {
  border-width: 1px 0;
  border-radius: 0;
}
.panel > .list-group:first-child .list-group-item:first-child,
.panel > .panel-collapse > .list-group:first-child .list-group-item:first-child {
  border-top: 0;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.panel > .list-group:last-child .list-group-item:last-child,
.panel > .panel-collapse > .list-group:last-child .list-group-item:last-child {
  border-bottom: 0;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}
.panel > .panel-heading + .panel-collapse > .list-group .list-group-item:first-child {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.panel-heading + .list-group .list-group-item:first-child {
  border-top-width: 0;
}
.list-group + .panel-footer {
  border-top-width: 0;
}
.panel .table,
.panel > .table-responsive > .table,
.panel > .panel-collapse > .table {
  margin-bottom: 0px !important;
}
.panel > .table caption,
.panel > .table-responsive > .table caption,
.panel > .panel-collapse > .table caption {
  padding-right: 15px;
  padding-left: 15px;
}
.panel > .panel-body + .table,
.panel > .panel-body + .table-responsive,
.panel > .table + .panel-body,
.panel > .table-responsive + .panel-body {
  border-top: 1px solid #ddd;
}
.panel > .table > tbody:first-child > tr:first-child th,
.panel > .table > tbody:first-child > tr:first-child td {
  border-top: 0;
}
.panel > .table > tbody:last-child > tr:last-child th,
.panel > .table > tbody:last-child > tr:last-child td {
  border-bottom: 1px solid #ddd;
}
.panel > .table-responsive {
  margin-bottom: 0;
  border: 0;
}
.panel-group {
  margin-bottom: 20px;
}
.panel-group .panel {
  margin-bottom: 0;
  border-radius: 0;
}
.panel-group .panel + .panel {
  margin-top: 5px;
}
.panel-group .panel-heading {
  border-bottom: 0;
}
.panel-group .panel-heading + .panel-collapse > .panel-body,
.panel-group .panel-heading + .panel-collapse > .list-group {
  border-top: 1px solid #ddd;
}
.panel-group .panel-footer {
  border-top: 0;
}
.panel-group .panel-footer + .panel-collapse .panel-body {
  border-bottom: 1px solid #ddd;
}
.panel-default {
  border-color: #ddd;
}
.panel-default > .panel-heading {
  color: #ACB3C0;
  background-color: #f8f8f8;
  border-top: 1px solid #ddd;
  /*border-color: #ddd;*/
}
.panel-default > .panel-heading + .panel-collapse > .panel-body {
  border-top-color: #ddd;
}
.panel-default > .panel-heading .badge {
  color: #f5f5f5;
  background-color: #333;
}
.panel-default > .panel-footer + .panel-collapse > .panel-body {
  border-bottom-color: #ddd;
}
.wrapper{
  min-height: 100%;
  height: auto !important; /* This line and the next line are not necessary unless you need IE6 support */
  height: 100%;
  margin: 0 auto 60px; /* the bottom margin is the negative value of the footer's height */
  width:960px;
  // margin: 0 auto 15px;
}
.wrapper h1 {
  text-transform: uppercase;
  font-weight: normal;
  color: #747589;
}
.wrapper-default{
  background-color: #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,0.15);
}
.wrapper-default > tbody > tr > th{
  border: none;
}
.wrapper-default .none-border{
  border: none;
}
.active{text-decoration: none; color: red;}

.cont-2,.cont-3 {float: left; padding-right: 20px;}
.cont-4 {float: left; padding-right: 5px;}
.cont-2 {width: 47%;}
.cont-3 {width: 30%}
.cont-4 {width: 24.4%}
.hidden{display: none !important; opacity: 0;}
.edit-btn{
  background: transparent;
  border: 1px solid #d2d2d2;
  color: #2e2e2e;
  border-radius: 0;
  float: right;
}

.save-btn{
  background: transparent;
  border: 1px solid #d2d2d2;
  color: #2e2e2e;
  border-radius: 0;

}
#menu-icon {
  display: none;
  width: 50px;
  height: 100px;
  float: right;
  background:#01a1be;
  -ms-touch-action: manipulation;
      touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
a:hover#menu-icon {
  background: #444;
}

.tb-stat > tbody > tr > td:last-child {
  width: 34%;
  text-align: center;
}
.tb-info > tbody > tr > td:last-child {
  width: 34%;
}
/*MEDIA QUERY*/
@media only print{
  .navbar > ul, .navbar:active > ul {
    display: none;
  }
}
@media only screen and (max-width : 768px) {
  .tb-stat > tbody > tr > td:last-child {
    /*width: auto;*/
  }
  .table > thead > tr > th.ph{
    font-size: .8em;
  }
  .table > tbody > tr > td.ph{
    font-size: .8em;
  }
  h1{font-size: 1.7em;}
  /*.navbar{position: fixed ; width: 100%; height: 100px; top: 0; z-index: 1000;}*/
  /*.wrapper{margin-top: 121px;}*/
  #menu-icon {display:inline-block;}
  #checkUpdatePass, #changePassword, #uploadSettings, #rectifiersConfig{
    top: 10% !important;
  }
  .navbar > ul, .navbar:active > ul {
    display: none;
    position: absolute;
    padding: 0;
    background: #fff;
    border: 5px solid #01a1be;
    right: 20px;
    top: 60px;
    width: 50%;
    z-index: 100;
  }
  .navbar > li, .navbar-nav > li {
    text-align: center;
    float: none;
    width: 100%;
    padding:0;
  }
  .navbar-default .navbar-nav > li.logout > a{
    border-bottom: none;
  }
  ul.nav.navbar-nav > li {
    border-bottom: 1px solid #eee;
  }
  ul.nav.navbar-nav > li:last-child {
    border-bottom: none;
  }
  .nav > li {display: inline-block;}
  .navbar > li > a {
    font-size: 1.5em;
    padding: 0;
  }
  .nav > li > a {
    padding: 1em 0;
  }
  .nav > li > a.active{
    background: #e7e7e7;
    color: #424f54;
    border: none;
    padding: 1em 0;
  }
  .navbar-default .navbar-nav > li.logout {
    position: static;
  }
  .navbar-default .navbar-nav > li.logout > a {
    font-size: 1em;
    padding: 1em 0;
  }
  /*.navbar:hover > ul {display: block;}*/
  .wrapper{
    width:95%;
    padding: 0 0.5em;
  }
  /*.cont-2 {width: 100%; padding: 0;}
  .cont-3 {width: 100%; padding: 0;}*/
}
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape)
and (-webkit-min-device-pixel-ratio: 1)  {
  .navbar { min-height: 98px;}
  .navbar-default .navbar-nav > li > a { font-size: 14px; }
  .subnav { height: 35px !important;}
  .subnav .nav > li > a { font-size: 12px;}
}

@media (max-width: 768px) { .cont-2, .cont-3,.cont-4 {width: 100%; padding: 0;} }
.pagination{
  display: inline-block;
  padding: 0 12px;
  margin-bottom: 0;
  font-size: 0.9em;
  font-weight: normal;
  line-height: 2.44em;
  text-align: center;
  // white-space: nowrap;
  vertical-align: middle;
  border: 1px solid #ccc;
  color: #333;
  background-color: #fff;
  border-left-width: 0;
}
.pagination > input[type="text"] {
  line-height: 1.3em;
  // width:3em;
  // padding: 0 2px;
  // height: 2.42em;
  position: relative;
  text-align: center;
  display: inline-block;
  color: #555;
  background-color: #fff;
  background-image: none;
  border-left: 0 solid #ccc;
  border-right: 0 solid #ccc;
  border-top: 0 solid #ccc;
  border-bottom: 0 solid #ccc;
  border-radius: 0;
  // -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  // box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}
#dload_history {
  position: relative;
  width: 206px;
  height: 35px;
  float: right;
}
#bl_text {
 position: relative;
 z-index: 2;
 // color: #676767;
}
#bl_fill {
  width: 0;
  height: 5px;
  background-color: #fff;
  position: absolute;
  top: 28px;
  left: 0;
  z-index: 1;
 }
.btn {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 0.9em;
  font-weight: normal;
  line-height: 1.6em;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
      touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 0;
}
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
.btn:hover,
.btn:focus,
.btn.focus {
  color: #333;
  text-decoration: none;
}
.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
          box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}
.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
  pointer-events: none;
  cursor: not-allowed;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
          box-shadow: none;
  opacity: .65;
}
.btn-default {
  color: #333;
  background-color: #fff;
  border-color: #ccc;
  transition: all 0.3s ease-in-out;
}
.btn-default:hover,
.btn-default:focus,
.btn-default.focus,
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
  color: #333;
  background-color: #e6e6e6;
  border-color: #adadad;
}
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
  background-image: none;
}
.btn-default.disabled,.btn-default[disabled],fieldset[disabled] .btn-default,.btn-default.disabled:hover,.btn-default[disabled]:hover,fieldset[disabled] .btn-default:hover,.btn-default.disabled:focus,.btn-default[disabled]:focus,fieldset[disabled] .btn-default:focus,.btn-default.disabled.focus,.btn-default[disabled].focus,fieldset[disabled] .btn-default.focus,.btn-default.disabled:active,.btn-default[disabled]:active,fieldset[disabled] .btn-default:active,.btn-default.disabled.active,.btn-default[disabled].active,fieldset[disabled] .btn-default.active
{background-color: #fff;border-color: #ccc;}

.btn-default .badge {
  color: #fff;
  background-color: #333;
}
.btn-primary {
  color: #fff;
  background-color: #337ab7;
  border-color: #3d7ab7;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
  color: #fff;
  background-color: #2e6ea5;
  border-color: #2C5884;
}
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
  background-image: none;
}
.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary.focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
  background-color: #337ab7;
  border-color: #3d7ab7;
}
.btn-primary .badge {
  color: #337ab7;
  background-color: #fff;
}
/*.btn-success {
  color: #fff;
  background-color: #5cb85c;
  border-color: #4cae4c;
}
.btn-success:hover,
.btn-success:focus,
.btn-success.focus,
.btn-success:active,
.btn-success.active,
.open > .dropdown-toggle.btn-success {
  color: #fff;
  background-color: #449d44;
  border-color: #398439;
}
.btn-success:active,
.btn-success.active,
.open > .dropdown-toggle.btn-success {
  background-image: none;
}
.btn-success.disabled,
.btn-success[disabled],
fieldset[disabled] .btn-success,
.btn-success.disabled:hover,
.btn-success[disabled]:hover,
fieldset[disabled] .btn-success:hover,
.btn-success.disabled:focus,
.btn-success[disabled]:focus,
fieldset[disabled] .btn-success:focus,
.btn-success.disabled.focus,
.btn-success[disabled].focus,
fieldset[disabled] .btn-success.focus,
.btn-success.disabled:active,
.btn-success[disabled]:active,
fieldset[disabled] .btn-success:active,
.btn-success.disabled.active,
.btn-success[disabled].active,
fieldset[disabled] .btn-success.active {
  background-color: #5cb85c;
  border-color: #4cae4c;
}
.btn-success .badge {
  color: #5cb85c;
  background-color: #fff;
}
.btn-info {
  color: #fff;
  background-color: #5bc0de;
  border-color: #46b8da;
}
.btn-info:hover,
.btn-info:focus,
.btn-info.focus,
.btn-info:active,
.btn-info.active,
.open > .dropdown-toggle.btn-info {
  color: #fff;
  background-color: #31b0d5;
  border-color: #269abc;
}
.btn-info:active,
.btn-info.active,
.open > .dropdown-toggle.btn-info {
  background-image: none;
}
.btn-info.disabled,
.btn-info[disabled],
fieldset[disabled] .btn-info,
.btn-info.disabled:hover,
.btn-info[disabled]:hover,
fieldset[disabled] .btn-info:hover,
.btn-info.disabled:focus,
.btn-info[disabled]:focus,
fieldset[disabled] .btn-info:focus,
.btn-info.disabled.focus,
.btn-info[disabled].focus,
fieldset[disabled] .btn-info.focus,
.btn-info.disabled:active,
.btn-info[disabled]:active,
fieldset[disabled] .btn-info:active,
.btn-info.disabled.active,
.btn-info[disabled].active,
fieldset[disabled] .btn-info.active {
  background-color: #5bc0de;
  border-color: #46b8da;
}
.btn-info .badge {
  color: #5bc0de;
  background-color: #fff;
}
.btn-warning {
  color: #fff;
  background-color: #f0ad4e;
  border-color: #eea236;
}
.btn-warning:hover,
.btn-warning:focus,
.btn-warning.focus,
.btn-warning:active,
.btn-warning.active,
.open > .dropdown-toggle.btn-warning {
  color: #fff;
  background-color: #ec971f;
  border-color: #d58512;
}
.btn-warning:active,
.btn-warning.active,
.open > .dropdown-toggle.btn-warning {
  background-image: none;
}
.btn-warning.disabled,
.btn-warning[disabled],
fieldset[disabled] .btn-warning,
.btn-warning.disabled:hover,
.btn-warning[disabled]:hover,
fieldset[disabled] .btn-warning:hover,
.btn-warning.disabled:focus,
.btn-warning[disabled]:focus,
fieldset[disabled] .btn-warning:focus,
.btn-warning.disabled.focus,
.btn-warning[disabled].focus,
fieldset[disabled] .btn-warning.focus,
.btn-warning.disabled:active,
.btn-warning[disabled]:active,
fieldset[disabled] .btn-warning:active,
.btn-warning.disabled.active,
.btn-warning[disabled].active,
fieldset[disabled] .btn-warning.active {
  background-color: #f0ad4e;
  border-color: #eea236;
}
.btn-warning .badge {
  color: #f0ad4e;
  background-color: #fff;
}
.btn-danger {
  color: #fff;
  background-color: #d9534f;
  border-color: #d43f3a;
}
.btn-danger:hover,
.btn-danger:focus,
.btn-danger.focus,
.btn-danger:active,
.btn-danger.active,
.open > .dropdown-toggle.btn-danger {
  color: #fff;
  background-color: #c9302c;
  border-color: #ac2925;
}
.btn-danger:active,
.btn-danger.active,
.open > .dropdown-toggle.btn-danger {
  background-image: none;
}
.btn-danger.disabled,
.btn-danger[disabled],
fieldset[disabled] .btn-danger,
.btn-danger.disabled:hover,
.btn-danger[disabled]:hover,
fieldset[disabled] .btn-danger:hover,
.btn-danger.disabled:focus,
.btn-danger[disabled]:focus,
fieldset[disabled] .btn-danger:focus,
.btn-danger.disabled.focus,
.btn-danger[disabled].focus,
fieldset[disabled] .btn-danger.focus,
.btn-danger.disabled:active,
.btn-danger[disabled]:active,
fieldset[disabled] .btn-danger:active,
.btn-danger.disabled.active,
.btn-danger[disabled].active,
fieldset[disabled] .btn-danger.active {
  background-color: #d9534f;
  border-color: #d43f3a;
}
.btn-danger .badge {
  color: #d9534f;
  background-color: #fff;
}*/


.btn-primary-inverted {
  color: #3d7ab7;
  background-color: transparent;
  border-color: #3d7ab7;
  transition: all 0.3s ease-in-out;
}
.btn-primary-inverted:hover,
.btn-primary-inverted:focus,
.btn-primary-inverted.focus,
.btn-primary-inverted:active,
.btn-primary-inverted.active,
.open > .dropdown-toggle.btn-primary-inverted {
  color: #fff;
  background-color: #2e6ea5;
  border-color: #2C5884;
}
.btn-primary-inverted:active,
.btn-primary-inverted.active,
.open > .dropdown-toggle.btn-primary-inverted {
  background-image: none;
}
.btn-primary-inverted.disabled,
.btn-primary-inverted[disabled],
fieldset[disabled] .btn-primary-inverted,
.btn-primary-inverted.disabled:hover,
.btn-primary-inverted[disabled]:hover,
fieldset[disabled] .btn-primary-inverted:hover,
.btn-primary-inverted.disabled:focus,
.btn-primary-inverted[disabled]:focus,
fieldset[disabled] .btn-primary-inverted:focus,
.btn-primary-inverted.disabled.focus,
.btn-primary-inverted[disabled].focus,
fieldset[disabled] .btn-primary-inverted.focus,
.btn-primary-inverted.disabled:active,
.btn-primary-inverted[disabled]:active,
fieldset[disabled] .btn-primary-inverted:active,
.btn-primary-inverted.disabled.active,
.btn-primary-inverted[disabled].active,
fieldset[disabled] .btn-primary-inverted.active {
  color: #fff;
  background-color: #337ab7;
  border-color: #3d7ab7;
}
.btn-primary-inverted .badge {
  color: #337ab7;
  background-color: #fff;
}
.btn-success-inverted {
  color: #4cae4c;
  background-color: transparent;
  border-color: #4cae4c;
  transition: all 0.3s ease-in-out;
}
.btn-success-inverted:hover,
.btn-success-inverted:focus,
.btn-success-inverted.focus,
.btn-success-inverted:active,
.btn-success-inverted.active,
.open > .dropdown-toggle.btn-success-inverted {
  color: #fff;
  background-color: #449d44;
  border-color: #398439;
}
.btn-success-inverted:active,
.btn-success-inverted.active,
.open > .dropdown-toggle.btn-success-inverted {
  background-image: none;
}
.btn-success-inverted.disabled,
.btn-success-inverted[disabled],
fieldset[disabled] .btn-success-inverted,
.btn-success-inverted.disabled:hover,
.btn-success-inverted[disabled]:hover,
fieldset[disabled] .btn-success-inverted:hover,
.btn-success-inverted.disabled:focus,
.btn-success-inverted[disabled]:focus,
fieldset[disabled] .btn-success-inverted:focus,
.btn-success-inverted.disabled.focus,
.btn-success-inverted[disabled].focus,
fieldset[disabled] .btn-success-inverted.focus,
.btn-success-inverted.disabled:active,
.btn-success-inverted[disabled]:active,
fieldset[disabled] .btn-success-inverted:active,
.btn-success-inverted.disabled.active,
.btn-success-inverted[disabled].active,
fieldset[disabled] .btn-success-inverted.active {
  color: #fff;
  background-color: #5cb85c;
  border-color: #4cae4c;
}
.btn-success-inverted .badge {
  color: #5cb85c;
  background-color: #fff;
}
.btn-info-inverted {
  color: #46b8da;
  background-color: transparent;
  border-color: #46b8da;
  transition: all 0.3s ease-in-out;
}
.btn-info-inverted:hover,
.btn-info-inverted:focus,
.btn-info-inverted.focus,
.btn-info-inverted:active,
.btn-info-inverted.active,
.open > .dropdown-toggle.btn-info-inverted {
  color: #fff;
  background-color: #31b0d5;
  border-color: #269abc;
}
.btn-info-inverted:active,
.btn-info-inverted.active,
.open > .dropdown-toggle.btn-info-inverted {
  background-image: none;
}
.btn-info-inverted.disabled,
.btn-info-inverted[disabled],
fieldset[disabled] .btn-info-inverted,
.btn-info-inverted.disabled:hover,
.btn-info-inverted[disabled]:hover,
fieldset[disabled] .btn-info-inverted:hover,
.btn-info-inverted.disabled:focus,
.btn-info-inverted[disabled]:focus,
fieldset[disabled] .btn-info-inverted:focus,
.btn-info-inverted.disabled.focus,
.btn-info-inverted[disabled].focus,
fieldset[disabled] .btn-info-inverted.focus,
.btn-info-inverted.disabled:active,
.btn-info-inverted[disabled]:active,
fieldset[disabled] .btn-info-inverted:active,
.btn-info-inverted.disabled.active,
.btn-info-inverted[disabled].active,
fieldset[disabled] .btn-info-inverted.active {
  color: #fff;
  background-color: #5bc0de;
  border-color: #46b8da;
}
.btn-info-inverted .badge {
  color: #5bc0de;
  background-color: #fff;
}
.btn-warning-inverted {
  color: #eea236;
  background-color: transparent;
  border-color: #eea236;
  transition: all 0.3s ease-in-out;
}
.btn-warning-inverted:hover,
.btn-warning-inverted:focus,
.btn-warning-inverted.focus,
.btn-warning-inverted:active,
.btn-warning-inverted.active,
.open > .dropdown-toggle.btn-warning-inverted {
  color: #fff;
  background-color: #ec971f;
  border-color: #d58512;
}
.btn-warning-inverted:active,
.btn-warning-inverted.active,
.open > .dropdown-toggle.btn-warning-inverted {
  background-image: none;
}
.btn-warning-inverted.disabled,
.btn-warning-inverted[disabled],
fieldset[disabled] .btn-warning-inverted,
.btn-warning-inverted.disabled:hover,
.btn-warning-inverted[disabled]:hover,
fieldset[disabled] .btn-warning-inverted:hover,
.btn-warning-inverted.disabled:focus,
.btn-warning-inverted[disabled]:focus,
fieldset[disabled] .btn-warning-inverted:focus,
.btn-warning-inverted.disabled.focus,
.btn-warning-inverted[disabled].focus,
fieldset[disabled] .btn-warning-inverted.focus,
.btn-warning-inverted.disabled:active,
.btn-warning-inverted[disabled]:active,
fieldset[disabled] .btn-warning-inverted:active,
.btn-warning-inverted.disabled.active,
.btn-warning-inverted[disabled].active,
fieldset[disabled] .btn-warning-inverted.active {
  color: #fff;
  background-color: #f0ad4e;
  border-color: #eea236;
}
.btn-warning-inverted .badge {
  color: #f0ad4e;
  background-color: #fff;
}
.btn-danger-inverted {
  color: #d43f3a;
  background-color: transparent;
  border-color: #d43f3a;
  transition: all 0.3s ease-in-out;
}
.btn-danger-inverted:hover,
.btn-danger-inverted:focus,
.btn-danger-inverted.focus,
.btn-danger-inverted:active,
.btn-danger-inverted.active,
.open > .dropdown-toggle.btn-danger-inverted {
  color: #fff;
  background-color: #c9302c;
  border-color: #ac2925;
}
.btn-danger-inverted:active,
.btn-danger-inverted.active,
.open > .dropdown-toggle.btn-danger-inverted {
  background-image: none;
}
.btn-danger-inverted.disabled,
.btn-danger-inverted[disabled],
fieldset[disabled] .btn-danger-inverted,
.btn-danger-inverted.disabled:hover,
.btn-danger-inverted[disabled]:hover,
fieldset[disabled] .btn-danger-inverted:hover,
.btn-danger-inverted.disabled:focus,
.btn-danger-inverted[disabled]:focus,
fieldset[disabled] .btn-danger-inverted:focus,
.btn-danger-inverted.disabled.focus,
.btn-danger-inverted[disabled].focus,
fieldset[disabled] .btn-danger-inverted.focus,
.btn-danger-inverted.disabled:active,
.btn-danger-inverted[disabled]:active,
fieldset[disabled] .btn-danger-inverted:active,
.btn-danger-inverted.disabled.active,
.btn-danger-inverted[disabled].active,
fieldset[disabled] .btn-danger-inverted.active {
  color: #fff;
  background-color: #d9534f;
  border-color: #d43f3a;
}
.btn-danger-inverted .badge {
  color: #d9534f;
  background-color: #fff;
}
.btn-link {
  font-weight: normal;
  color: #337ab7;
  border-radius: 0;
}
.btn-link,
.btn-link:active,
.btn-link.active,
.btn-link[disabled],
fieldset[disabled] .btn-link {
  background-color: transparent;
  -webkit-box-shadow: none;
          box-shadow: none;
}
.btn-link,
.btn-link:hover,
.btn-link:focus,
.btn-link:active {
  border-color: transparent;
}
.btn-link:hover,
.btn-link:focus {
  color: #ec051a;
  text-decoration: underline;
  background-color: transparent;
}
.btn-link[disabled]:hover,
fieldset[disabled] .btn-link:hover,
.btn-link[disabled]:focus,
fieldset[disabled] .btn-link:focus {
  color: #777;
  text-decoration: none;
}
label {
  line-height: 1.3;
  display: inline-block;
  font-size: .9em;
  padding-top: 3px;
  color: #666;
}
.checkbox{
  display: block;
  padding-top: 5px;
}
.w1h1ie {
  width: 100%;
  height: 100%;
}

.btn-group,
.btn-group-vertical {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}
.btn-group > .btn,
.btn-group > .pagination,
.btn-group-vertical > .btn {
  position: relative;
  float: left;
}
.btn-group > .btn:hover,
.btn-group-vertical > .btn:hover,
.btn-group > .btn:focus,
.btn-group-vertical > .btn:focus,
.btn-group > .btn:active,
.btn-group-vertical > .btn:active,
.btn-group > .btn.active,
.btn-group-vertical > .btn.active {
  z-index: 2;
}
.btn-group .pagination + .btn,
.btn-group .btn + .btn,
.btn-group .btn + .btn-group,
.btn-group .btn-group + .btn,
.btn-group .btn-group + .btn-group {
  margin-left: -1px;
}
.btn-toolbar {
  margin-left: -5px;
}
.btn-toolbar .btn,
.btn-toolbar .btn-group,
.btn-toolbar .input-group {
  float: left;
}
.btn-toolbar > .btn,
.btn-toolbar > .btn-group,
.btn-toolbar > .input-group {
  margin-left: 5px;
}

.btn-group > .pagination:not(:first-child):not(:last-child):not(.dropdown-toggle) {
  border-radius: 0;
}
.btn-group > .pagination:first-child {
  margin-left: 0;
}
.btn-group > .pagination:first-child:not(:last-child):not(.dropdown-toggle) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.btn-group > .pagination:last-child:not(:first-child),
.btn-group > .dropdown-toggle:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
  border-radius: 0;
}
.btn-group > .btn:first-child {
  margin-left: 0;
}
.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.btn-group > .btn:last-child:not(:first-child),
.btn-group > .dropdown-toggle:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.btn-group > .btn-group {
  float: left;
}
.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
  border-radius: 0;
}
.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child,
.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.btn-group .dropdown-toggle:active,
.btn-group.open .dropdown-toggle {
  outline: 0;
}
.btn-group > .btn + .dropdown-toggle {
  padding-right: 8px;
  padding-left: 8px;
}
.btn-group > .btn-lg + .dropdown-toggle {
  padding-right: 12px;
  padding-left: 12px;
}
.btn-group.open .dropdown-toggle {
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
          box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}
.btn-group.open .dropdown-toggle.btn-link {
  -webkit-box-shadow: none;
          box-shadow: none;
}
.btn-sm,
.btn-group-sm > .btn {
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 0;
}
.btn-xs,
.btn-group-xs > .btn {
  padding: 1px 5px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 0;
}
.spinBox{
  width: 100%;
  position      : relative;
  display       : inline-block;
  padding-bottom: 5px;
  -webkit-appearance: none;
}

.spinBox input{
  width: 100%;
  display       : block;
  // border        : 0.0625em solid rgb(224,224,224);
  border-right  : none;
  text-align    : center;
  -webkit-appearance: none;
  padding: 8px 7px;
  font-size: 14px;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}
.spinBox input:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
          box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}
.spinBox input[disabled]{
  background : rgb(240,240,240);
}

.spinBoxUp,
.spinBoxDown{
  position         : absolute;
  display          : block;
  width            : 2em;
  height           : 2em;
  border           : 0.0625em solid rgb(224,224,224);
  background       : rgb(248,248,248);
  cursor           : pointer;
  font-weight: bold;
}

.spinBox input[disabled] + span,
.spinBox input[disabled] + span + span{
  background : rgb(240,240,240);
  cursor     : auto;
}

.spinBoxUp span,
.spinBoxDown span{
  display : block;
  width   : 1em;
  height  : 1em;
}

.spinBoxUp{
  text-align: center;
  line-height: 2em;
  vertical-align:middle;
  right: 0;
  top: 0;
}
.spinBoxDown{
  vertical-align:middle;
  line-height: 2em;
  text-align: center;
  top: 0;
  left: 0;
}
.spinboxMark{
  position: absolute;
  text-align: center;
  font-style: italic;
  padding: 0.3em;
  height  : 1.59em;
}
a.btn {text-decoration: none;}
[role="button"] {cursor: pointer;}

div.tabset {
  margin:1em 0;
  width:40em; /* need width for ie < 8 */
  min-width: 100%;
}
div.tabpane {
  display:none;
  clear:both;
  padding:10px 15px;
  border:solid 1px #e7e7e7;
  background-color: #fff;
  box-shadow:0 1px 5px rgba(0,0,0,0.15);
}
div.tabpane:after{content: "&nbsp;"; visibility: hidden;}
div.activePane {
  display:block;
  z-index: 2;
  overflow: hidden;
}
ul.tabnavs {
  display:block; /* display:none initially */
  margin:0 0 -1px 0;
  padding:0 10px;
  overflow: hidden;
  list-style:none;
  width: 100%;
}
ul.tabnavs li {
  display:inline;
  z-index: 3;
}
ul.tabnavs li a {
  text-decoration:none;
  background-color:#f8f8f8;
  border:solid 1px #e7e7e7;
  padding:10px 15px;
  margin:0 -10px 0 0; /* gap between tabs */
  float:left; width:auto;

  position:relative; top:1px; /* brings down over pane border-top */
}
ul.tabnavs li a:link, ul.tabnavs li a:visited {
  color:#868686;
}
ul.tabnavs li a:hover {
  background-color:#fff;
}
ul.tabnavs li a.activeTab:link,
ul.tabnavs li a.activeTab:visited {
  color: #337ab7;
  background-color:#fff;
  border-bottom: 1px solid #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,0.15);
  z-index: 1;
}

@media only screen
and (min-device-width : 375px)
and (max-device-width : 667px)  {
  ul.tabnavs {display: none;}
  div.tabpane {display: block; border: none; margin-bottom: 10px;}
  div.tabset {width: 100%;}
  // .spinBox input {width: 82% !important;}
}
@media only screen
and (max-device-width : 768px){
  ul.tabnavs {display: none;}
  div.tabpane {display: block; border: none; margin-bottom: 10px;}
  div.tabset {width: 100%;}
  #controls {text-align: center; width: 100%;}
  #controls .btn-group {margin-bottom: 20px; display: block;}
  #controls .btn-group > .btn {line-height: 30px; padding: 5px 10px; width: 12.4%}
  #controls > .btn {width: 100%; margin-top: 20px; margin-bottom: 20px;}
  #controls .pagination input[type='text']{width: 50px; height: 100%; margin-right: 5px;}
  // #controls .pagination input[type='text']{width: 3em; height: 100%; margin: 0 10px;}
  #controls .pagination {line-height: 2.84em; width: 43%;}
  // .spinBox input {width: 82% !important;}
  // .spinBox input {padding: 8px 0px;}
  // .form-control {width: 100% !important;}
  // input[type="text"] {width: 85% !important;}
  // input[type="password"] {width: 85% !important;}
}

ul#validation-box{
  display: none;
  padding: 10px 30px;
  background: rgba(235, 69, 69, 0.80);
  border: 1px solid rgba(235, 69, 69, 1);
  color: #fff;
}



.form-control {
  display: inline-block;
  width: 100%;
  /*height: 26px;*/
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}
.form-control:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
          box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}
.form-control::-moz-placeholder {color: #999;opacity: 1;}
.form-control:-ms-input-placeholder {color: #999;}
.form-control::-webkit-input-placeholder {color: #999;}
.form-control::-ms-expand {background-color: transparent;border: 0;}
.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control {background-color: #eee;opacity: 1;}
.form-control[disabled],fieldset[disabled] .form-control {cursor: not-allowed;}
textarea.form-control {height: auto;}
input[type="search"] {-webkit-appearance: none;}
// @media screen and (-webkit-min-device-pixel-ratio: 0) {
//   input[type="date"].form-control,
//   input[type="time"].form-control,
//   input[type="datetime-local"].form-control,
//   input[type="month"].form-control {
//     line-height: 34px;
//   }
// }
/*.form-group {
  margin-bottom: 15px;
}*/
.radio,
.checkbox {
  position: relative;
  display: block;
  margin-top: 10px;
  margin-bottom: 10px;
}
.radio label,
.checkbox label {
  min-height: 20px;
  padding-left: 20px;
  margin-bottom: 0;
  font-weight: normal;
  cursor: pointer;
}
.radio input[type="radio"],
.radio-inline input[type="radio"],
.checkbox input[type="checkbox"],
.checkbox-inline input[type="checkbox"] {
  position: absolute;
  margin-top: 4px \9;
  margin-left: -20px;
}
.radio + .radio,
.checkbox + .checkbox {
  margin-top: -5px;
}
.radio-inline,
.checkbox-inline {
  position: relative;
  display: inline-block;
  padding-left: 20px;
  margin-bottom: 0;
  font-weight: normal;
  vertical-align: middle;
  cursor: pointer;
}
.radio-inline + .radio-inline,
.checkbox-inline + .checkbox-inline {
  margin-top: 0;
  margin-left: 10px;
}
input[type="radio"][disabled],
input[type="checkbox"][disabled],
input[type="radio"].disabled,
input[type="checkbox"].disabled,
fieldset[disabled] input[type="radio"],
fieldset[disabled] input[type="checkbox"] {
  cursor: not-allowed;
}
.radio-inline.disabled,
.checkbox-inline.disabled,
fieldset[disabled] .radio-inline,
fieldset[disabled] .checkbox-inline {
  cursor: not-allowed;
}
.radio.disabled label,
.checkbox.disabled label,
fieldset[disabled] .radio label,
fieldset[disabled] .checkbox label {
  cursor: not-allowed;
}
.form-control-static {
  min-height: 34px;
  padding-top: 7px;
  padding-bottom: 7px;
  margin-bottom: 0;
}

#count-wrap {
  display: none;
  position: fixed;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  z-index:1001;
}

#countdown{
  display: none;
  position: relative;
  text-align: center;
  top: 40%;
  margin: 0 auto;
/*  left: 33%;
  width: 25%;*/
  padding: 16px;
  border: 16px solid #f0ad4e;
  background-color: white;
  box-shadow:0 1px 5px rgba(0,0,0,0.15);
  z-index:102;
  overflow: auto;
}
#checkUpdatePass, #changePassword, #uploadSettings, #rectifiersConfig{
  display: none;
  position: relative;
  text-align: center;
  top: 30%;
  margin: 0 auto;
  width: 300px;
  padding: 16px;
  border: 5px solid #5cb85c;
  background-color: white;
  box-shadow:0 1px 5px rgba(0,0,0,0.15);
  z-index:103;
  overflow: auto;
}
#checkUpdatePass{
  border: 5px solid #5cb85c;
}
#changePassword, #uploadSettings{
  border: 5px solid #337ab7;
}

.notify-box {
  width: 100%;
  text-align: center;
  margin: 0 auto;
  padding: 1em 0;
  font-weight: 500;
}
#device-profilaction {
  width: 100%;
  display: none;
  text-align: center;
  margin: 0 auto;
  padding: 1em 0;
  background: #009966;
  color: #fff;
  font-weight: 500;
}

#row-batvolt1,
#row-batvolt2,
#row-batvolt3,
#row-batvolt4{
  transition: all 1s ease-in-out;
}
#checkUpdatePass, #changePassword, #uploadSettings, #rectifiersConfig{
  display: none;
  position: relative;
  text-align: center;
  top: 30%;
  margin: 0 auto;
  width: 300px;
  padding: 16px;
  border: 5px solid #5cb85c;
  background-color: white;
  box-shadow:0 1px 5px rgba(0,0,0,0.15);
  z-index:103;
  overflow: auto;
}
#changePassword, #uploadSettings{
  border: 5px solid #337ab7;
}

.subnav {
  /*margin-bottom: 20px;*/
  width: 100%;
  height: 40px;
  background-color: #fff;
  /*border: 1px solid #fff;*/
}

.subnav .nav {
  margin-bottom: 0;
}

.subnav .nav > li > a {
  margin: 0;
  color: #337ab7;
  line-height: 20px;
  padding-top:    10px;
  padding-bottom: 10px;
  text-decoration: none;
  border-left: 1px solid #f5f5f5;
  border-right: 1px solid #e5e5e5;
}

.subnav .nav > .active > a,
.subnav .nav > .active > a:hover {
  padding-left: 11px;
  color: #777;
  background-color: #F1F1F1;
  border-right-color: #ddd;
  border-left: 0;
  -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
  -moz-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
  box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
}

.subnav .nav > .active > a .caret,
.subnav .nav > .active > a:hover .caret {
  border-top-color: #777;
}

.subnav .nav > li:first-child > a,
.subnav .nav > li:first-child > a:hover {
  /*border-left: 0;*/
}

.subnav .nav > li:last-child > a {
  border-right: 0;
}

.login-form{
  margin: 0 auto;
  padding:30px 30px;
  width: 70%;
}
.login-form input[type='text'],
.login-form input[type='password']{
  width: auto !important;
}

@media only screen and (max-width : 768px) {
  .login-form label{
    width: 100%;
    margin-bottom:5px;
  }
  .login-form input[type='text'],
  .login-form input[type='password']{
    width: 100% !important;
    margin-bottom:10px;
    padding: 0.9em;
    border-radius: 0;
  }
  .login-form input[type='submit'] {
    width: 100%;
    padding: 0.9em;
  }
  .mw-90 {
    max-width: 90%;
  }
  div > .logo{
    margin-bottom: 0;
  }
  .subnav {
    position: static;
    top: auto;
    z-index: auto;
    width: 100%;
    height: auto;
    background: #fff;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    font-size: 1em;
  }
  .subnav .navbar-nav{
    float: none;
  }
  .subnav > ul {
    padding: 0;
  }
  .subnav .nav > li {
/*    float: left;
    padding-right: 5px;*/
    height: auto;
  }

  .subnav .nav > li > a {
    border: 0;
    padding-top:    10px;
    padding-bottom: 10px;
  }
/*  .subnav .nav > li + li > a {
    border-top: 1px solid #e5e5e5;
  }*/
  .subnav .navbar > li,
  .subnav .navbar-nav > li {
    /*float: left;*/
    /*width: auto;*/
  }
  .subnav .nav > li:first-child > a,
  .subnav .nav > li:first-child > a:hover {
    border-radius: 0;
    padding-left: 0;
  }
  .subnav .nav > .active > a,
  .subnav .nav > .active > a:hover {
    padding-left: 0px;
    color: #777;
    background-color: #F1F1F1;
    border-right-color: #ddd;
  }
  label {
    font-size: .8em;
    line-height: 0.99;
  }
}

@media (min-width: 980px) {
  .subnav .nav > li:first-child > a,
  .subnav .nav > li:first-child > a:hover {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
  }
}

.editable-click,
span .editable-click,
span .editable-click:hover {
  cursor: pointer;
  color: #08C;
  text-decoration: none;
  border-bottom: dashed 1px #08C;
}

.tip-box {
    position: absolute;
    z-index: 1060;
    max-width: 276px;
    padding:10px;
    background: #fff;
    box-shadow: 0 1px 5px rgba(0,0,0,0.15);
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ccc;
}

.tip-box.top {
    margin-top: -10px;
}

.tip-box.right {
    margin-left: 10px
}

.tip-box.bottom {
    margin-top: 10px
}

.tip-box.left {
    margin-left: -10px
}

.tip-box-title {
    padding: 8px 14px;
    margin: 0;
    font-size: 14px;
    background-color: #f7f7f7;
    border-bottom: 1px solid #ebebeb;
    border-radius: 0;
}

.tip-box-content {
    padding: 9px 14px
}

.tip-box>.arrow,.tip-box>.arrow:after {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid
}

.tip-box>.arrow {
    border-width: 11px
}

.tip-box>.arrow:after {
    content: "";
    border-width: 10px
}

.tip-box.top>.arrow {
    bottom: -11px;
    left: 20%;
    margin-left: -11px;
    border-top-color: #999;
    border-top-color: rgba(0,0,0,.25);
    border-bottom-width: 0
}

.tip-box.top>.arrow:after {
    bottom: 1px;
    margin-left: -10px;
    content: " ";
    border-top-color: #fff;
    border-bottom-width: 0
}

.tip-box.right>.arrow {
    top: 50%;
    left: -11px;
    margin-top: -11px;
    border-right-color: #999;
    border-right-color: rgba(0,0,0,.25);
    border-left-width: 0
}

.tip-box.right>.arrow:after {
    bottom: -10px;
    left: 1px;
    content: " ";
    border-right-color: #fff;
    border-left-width: 0
}

.tip-box.bottom>.arrow {
    top: -11px;
    left: 50%;
    margin-left: -11px;
    border-top-width: 0;
    border-bottom-color: #999;
    border-bottom-color: rgba(0,0,0,.25)
}

.tip-box.bottom>.arrow:after {
    top: 1px;
    margin-left: -10px;
    content: " ";
    border-top-width: 0;
    border-bottom-color: #fff
}

.tip-box.left>.arrow {
    top: 50%;
    right: -11px;
    margin-top: -11px;
    border-right-width: 0;
    border-left-color: #999;
    border-left-color: rgba(0,0,0,.25)
}

.tip-box.left>.arrow:after {
    right: 1px;
    bottom: -10px;
    content: " ";
    border-right-width: 0;
    border-left-color: #fff
}

.tip-box > input.form-control {
  height: 37px;
}
.tip-box > select.form-control {
  height: 37px;
}


#show_hide{
  display: inline-block;
  color: #747589;
  cursor: pointer;
  text-decoration: none;
  border-bottom: dashed 1px #747589;
  margin-bottom: 15px;
}
.btn-test {
  width:100%;
  border:0;
  color: #fff;
  background: #5cb85c;
  border-radius: 0;
}
.btn-test:hover,
.btn-test:focus,
.btn-test.focus,
.btn-test:active,
.btn-test.active,
.open > .dropdown-toggle.btn-test {
  color: #fff;
  background-color: #449d44;
  border-color: #F1F1F1;
}
.btn-test:active,
.btn-test.active,
.open > .dropdown-toggle.btn-test {
  background-image: none;
}
.btn-test.disabled,
.btn-test[disabled],
fieldset[disabled] .btn-test,
.btn-test.disabled:hover,
.btn-test[disabled]:hover,
fieldset[disabled] .btn-test:hover,
.btn-test.disabled:focus,
.btn-test[disabled]:focus,
fieldset[disabled] .btn-test:focus,
.btn-test.disabled.focus,
.btn-test[disabled].focus,
fieldset[disabled] .btn-test.focus,
.btn-test.disabled:active,
.btn-test[disabled]:active,
fieldset[disabled] .btn-test:active,
.btn-test.disabled.active,
.btn-test[disabled].active,
fieldset[disabled] .btn-test.active {
  background-color: #c1c1c1;
  border-color: #4cae4c;
}

.grBG {
  background: #f8f8f8;
  color: #808080;
}

.badge {
  display: inline-block;
  min-width: 10px;
  padding: 3px 7px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  background-color: #ddd;
}
.badge:empty {
  display: none;
}
.btn .badge {
  position: relative;
  top: -1px;
}
a.badge:hover,
a.badge:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.badge-spec {
  margin-right: 10px;
  float: right;
}

@media (max-width: 30em) {
  table.responsive-table.wrapper-default{
    background-color: transparent !important;
    box-shadow: none !important;
  }
  table.responsive-table thead {
    display: none;
  }
  // table.display th,
  // table.display td {
  //   padding: .5em;
  // }
  table.responsive-table td:nth-child(1){
    border-top:none;
  }
  table.responsive-table td:nth-child(1):before {
    content: 'АВАРИЯ';
  }
  table.responsive-table td:nth-child(2):before {
    content: 'ПРИОРИТЕТ';
  }
    table.responsive-table td:nth-child(3):before {
    content: 'РЕЛЕ';
  }
    table.responsive-table td:nth-child(4):before {
    content: 'СОСТОЯНИЕ';
  }
  table.responsive-table td:nth-child(1),
  table.responsive-table td:nth-child(2),
  table.responsive-table td:nth-child(3),
  table.responsive-table td:nth-child(4){
    padding-left: 40%;
  }
  table.responsive-table td:nth-child(1):before,
  table.responsive-table td:nth-child(2):before,
  table.responsive-table td:nth-child(3):before,
  table.responsive-table td:nth-child(4):before{
    position: absolute;
    left: .5em;
    padding-left: 10px;
    color: #333;
    // font-weight: bold;
  }
  table.responsive-table tr,
  table.responsive-table td {
    display: block;
  }
  table.responsive-table tr {
    position: relative;
    margin-bottom: 1em;
    background-color: #fff;
    border-radius: 0;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
  }
  table.responsive-table td {
    border-top: none;
  }
}

.upload-form{
  position: relative;
  margin:20px auto;
  padding:30px;
  background-color:#fff;
  border-radius: 0;
  box-shadow: 0 1px 5px rgba(0,0,0,0.15);
  font-family:sans-serif;
}
.fileUpload {
  position: relative;
  overflow: hidden;
}
.fileUpload input.upload {
  position: absolute;
  top:     0;
  right:   0;
  margin:  0;
  padding: 0;
  opacity: 0;
  filter: alpha(opacity=0);
  font-size: 20px;
  cursor: pointer;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}
option[disabled] {
  background: #ddd;
}
/*button[disabled],html input[disabled] {cursor: default; background-color: rgb(235, 235, 228);}*/
button::-moz-focus-inner,input::-moz-focus-inner {padding: 0;border: 0;}
input {line-height: normal;}
input.file-name{
  height: 37px;
  font-size: 12px;
  line-height: 1.5;
  padding:3px 10px;
  border: 1px solid #337ab7;
  border-radius: 0;
  display: block;
  float: left;
}
input.login {
  width: 280px;
  height: 30px;
  padding:3px 10px;
  margin-bottom: 25px;
  border: none;
  border-radius: 0;
  font-size: 12px;
  line-height: 1.5;
}
.upload-wrapper{
  padding:10px 0px 20px 5px;
  width: 100%;
  height: 39px
}
.fileUpload.btn {
  float: left;
  border: 1px solid;
  border-radius: 0;
  border-color: #3d7ab7;
}

.rect-config-list {
  height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
}
.rect-config-list-item {
  list-style: none;
  text-align: left;
  margin-bottom: 10px;
  padding: .35em .65em;
  border: 1px solid #ddd;
  background: #eee;
}
















/*  SECTIONS  ============================================================================= */

.section {
  clear: both;
  padding: 0px;
  margin: 0px;
}

/*  GROUPING  ============================================================================= */


.group:before,
.group:after {
    content:"";
    display:table;
}
.group:after {
    clear:both;
}
.group {
    zoom:1; /* For IE 6/7 (trigger hasLayout) */
}

/*  GRID COLUMN SETUP   ==================================================================== */

.col {
  display: block;
  float:left;
  margin: 1% 0 1% 1%;
  padding-top: 1px;
}

/*.col:first-child { margin-left: 0; }*/ /* all browsers except IE6 and lower */


/*  REMOVE MARGINS AS ALL GO FULL WIDTH AT 480 PIXELS */

@media only screen and (max-width: 480px) {
  .col {
    margin: 1% 0 1% 0%;
  }
}

/*  GRID OF TWO   ============================================================================= */
h4 {
  color: #666;
}

.span_2_of_2 {
  width: 100%;
}

.span_1_of_2 {
  width: 48%;
}

/*  GO FULL WIDTH AT LESS THAN 480 PIXELS */

@media only screen and (max-width: 480px) {
  .span_2_of_2 {
    width: 100%;
  }
  .span_1_of_2 {
    width: 100%;
  }
}

/*  GRID OF THREE   ============================================================================= */


.span_3_of_3 {
  width: 100%;
}

.span_2_of_3 {
  width: 66.13%;
}

.span_1_of_3 {
  width: 32.26%;
}


/*  GO FULL WIDTH AT LESS THAN 480 PIXELS */

@media only screen and (max-width: 480px) {
  .span_3_of_3 {
    width: 100%;
  }
  .span_2_of_3 {
    width: 100%;
  }
  .span_1_of_3 {
    width: 100%;
  }
}

/*  GRID OF FOUR   ============================================================================= */

h4.span_4_of_4 {
  margin: 0;
}

.span_4_of_4 {
  width: 100%;
}

.span_3_of_4 {
  width: 74.6%;
}

.span_2_of_4 {
  width: 49.2%;
}

.span_1_of_4 {
  width: 23.8%;
}


/*  GO FULL WIDTH AT LESS THAN 480 PIXELS */

@media only screen and (max-width: 480px) {
  .span_4_of_4 {
    width: 100%;
  }
  .span_3_of_4 {
    width: 100%;
  }
  .span_2_of_4 {
    width: 100%;
  }
  .span_1_of_4 {
    width: 100%;
  }
}

.table > thead > tr > th.ph.sortable {
  cursor: pointer;
  text-decoration: underline;
  color: #08C;
}

.float-reminder {
  // display: none;
  background: #fff;
  border-top: 1px #ddd solid;
  position: fixed;
  bottom: 0;
  width: 100%;
  transition: opacity 0.3s ease-in-out;
  opacity: 0;
  height: 0;
  overflow: hidden;
}
.float-reminder>.wrapper{
  margin-bottom: 0;
}

.span_1_of_3 > .btn {
  width: 100% !important;
  margin-bottom: 10px;
}
