@import url('https://fonts.googleapis.com/css?family=Noto+Serif:400,700&subset=cyrillic');

html,
body {
  height: 100%;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
}

.wrap {
  min-height: 100%;
  height: auto;
  margin: 0 auto -60px;
  padding: 0 0 60px;
  color: #444;
}

.page-content {
  padding: 50px 15px 0;
}

.footer {
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  padding-top: 24px;
  padding-bottom: 10px;
}

.jumbotron {
  text-align: center;
  background-color: transparent;
}

.jumbotron .btn {
  font-size: 21px;
  padding: 14px 24px;
}

.not-set {
  color: #c55;
  font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
  position: relative;
  top: 1px;
  display: inline-block;
  font-family: 'Glyphicons Halflings';
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  padding-left: 5px;
}

a.asc:after {
  content: "\e151";
}

a.desc:after {
  content: "\e152";
}

.sort-numerical a.asc:after {
  content: "\e153";
}

.sort-numerical a.desc:after {
  content: "\e154";
}

.sort-ordinal a.asc:after {
  content: "\e155";
}

.sort-ordinal a.desc:after {
  content: "\e156";
}

.grid-view td {
  white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
  min-width: 50px;
}

.hint-block {
  display: block;
  margin-top: 5px;
  color: #999;
}

.error-summary {
  color: #a94442;
  background: #fdf7f7;
  border-left: 3px solid #eed3d7;
  padding: 10px 20px;
  margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav > li > form {
  padding: 8px;
}

@media (max-width: 768px) {
  .nav li > form {
    padding: 3px;
  }
}

.nav > li > form > button:hover {
  text-decoration: none;
}

h1, h2 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.page-title {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.fa {
  margin-right: .8rem;
}

.btn {
  border-radius: 2px;
}

.tab-content {
  margin-top: 1rem;
}

.navbar-extended {
  background-color: #337ab7;
  color: white !important;
  border-bottom: none;
  box-shadow: 0 1px 13px rgba(0,0,0,0.24);
}

.navbar-nav li.active > a {
  background-color: #23527c !important;
}

.navbar-extended a,
.navbar-extended .btn-link{
  color: white !important;
}

.navbar-extended button {
  border-radius: 2px;
}

.nav-pills-condensed {
  margin-bottom: 1rem;
}

.nav-pills-condensed > li > a {
  padding: .3rem 1rem;
  border-radius: 2px;
}

.section-header {
  font-family: 'Noto Serif', serif;
  color: #555;
  margin: 1.6rem auto;
  font-weight: bold;
}

.breadcrumb {
  border: 2px solid #eee;
  border-radius: 2px;
  margin-top: 1rem;
}

.spinner {
  margin: 100px auto;
  width: 50px;
  height: 40px;
  text-align: center;
  font-size: 10px;
}

.spinner > div {
  background-color: #337ab7;
  height: 100%;
  width: 6px;
  display: inline-block;

  -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
  animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}

.spinner .rect3 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

.spinner .rect4 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

.spinner .rect5 {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
}

@-webkit-keyframes sk-stretchdelay {
  0%, 40%, 100% { -webkit-transform: scaleY(0.4) }
  20% { -webkit-transform: scaleY(1.0) }
}

@keyframes sk-stretchdelay {
  0%, 40%, 100% {
    transform: scaleY(0.4);
    -webkit-transform: scaleY(0.4);
  }  20% {
       transform: scaleY(1.0);
       -webkit-transform: scaleY(1.0);
     }
}

.hr {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.hr-gray {
  border-color: #ddd;
}

.alert {
  border-radius: 0;
}

.alert-info,
.alert-danger,
.alert-warning,
.alert-success {
  border-width: 0;
  border-top-width: 2px;
}

.balloonContent {
  font-family: 'Open Sans', sans-serif;
  color: #555;
}

/*
 * Form control modifiers
 */

input.form-control,
select.form-control,
textarea.form-control {
  border-radius: 0;
  background-color: #fbfbfb;
  box-shadow: none;
  border: 1px solid #ddd;
}

.form-control:focus {
  box-shadow: none;
}

input.has-error,
.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
  background-color: #ffe4e4 !important;
  border: 1px solid #ffcccc;
  box-shadow: none !important;
}

input.has-success,
.form-group.has-success input,
.form-group.has-success textarea,
.form-group.has-success select {
  background-color: #e4ffe4 !important;
  border: 1px solid #bbffbb;
  box-shadow: none !important;
}

.form-group.has-error select:focus,
.form-group.has-success select:focus {
  box-shadow: none;
}

.nav-tabs > li > a {
  border-radius: 2px 2px 0 0;
}

.map-legend {
  position: absolute;
  width: 180px;
  right: 10px;
  top: 100px;
  border: 3px solid white;
  box-shadow: 0 0 1px rgba(0,0,0,.2);
  text-align: center;
}

.form-control[disabled] .btn, .form-control[readonly], fieldset[disabled] .form-control {}

.dropdown-menu > li > a {
  color: #23527c !important;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
  color: #fff !important;
}
