
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}


* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

.list-unstyled {
  padding-left: 0;
  list-style: none;
}
.list-inline {
  padding-left: 0;
  margin-left: -5px;
  list-style: none;
}
.list-inline > li {
  display: inline-block;
  padding-right: 5px;
  padding-left: 5px;
}

.bscontainer {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
/*
@media (min-width: 768px) {
  .bscontainer {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .bscontainer {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .bscontainer {
    width: 1170px;
  }
}
*/
.bscontainer-fluid {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
.bsrow {
  margin-right: -15px;
  margin-left: -15px;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}
.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
  float: left;
}
.col-xs-12 {
  width: 100%;
}
.col-xs-11 {
  width: 91.66666667%;
}
.col-xs-10 {
  width: 83.33333333%;
}
.col-xs-9 {
  width: 75%;
}
.col-xs-8 {
  width: 66.66666667%;
}
.col-xs-7 {
  width: 58.33333333%;
}
.col-xs-6 {
  width: 50%;
}
.col-xs-5 {
  width: 41.66666667%;
}
.col-xs-4 {
  width: 33.33333333%;
}
.col-xs-3 {
  width: 25%;
}
.col-xs-2 {
  width: 16.66666667%;
}
.col-xs-1 {
  width: 8.33333333%;
}
.col-xs-pull-12 {
  right: 100%;
}
.col-xs-pull-11 {
  right: 91.66666667%;
}
.col-xs-pull-10 {
  right: 83.33333333%;
}
.col-xs-pull-9 {
  right: 75%;
}
.col-xs-pull-8 {
  right: 66.66666667%;
}
.col-xs-pull-7 {
  right: 58.33333333%;
}
.col-xs-pull-6 {
  right: 50%;
}
.col-xs-pull-5 {
  right: 41.66666667%;
}
.col-xs-pull-4 {
  right: 33.33333333%;
}
.col-xs-pull-3 {
  right: 25%;
}
.col-xs-pull-2 {
  right: 16.66666667%;
}
.col-xs-pull-1 {
  right: 8.33333333%;
}
.col-xs-pull-0 {
  right: auto;
}
.col-xs-push-12 {
  left: 100%;
}
.col-xs-push-11 {
  left: 91.66666667%;
}
.col-xs-push-10 {
  left: 83.33333333%;
}
.col-xs-push-9 {
  left: 75%;
}
.col-xs-push-8 {
  left: 66.66666667%;
}
.col-xs-push-7 {
  left: 58.33333333%;
}
.col-xs-push-6 {
  left: 50%;
}
.col-xs-push-5 {
  left: 41.66666667%;
}
.col-xs-push-4 {
  left: 33.33333333%;
}
.col-xs-push-3 {
  left: 25%;
}
.col-xs-push-2 {
  left: 16.66666667%;
}
.col-xs-push-1 {
  left: 8.33333333%;
}
.col-xs-push-0 {
  left: auto;
}
.col-xs-offset-12 {
  margin-left: 100%;
}
.col-xs-offset-11 {
  margin-left: 91.66666667%;
}
.col-xs-offset-10 {
  margin-left: 83.33333333%;
}
.col-xs-offset-9 {
  margin-left: 75%;
}
.col-xs-offset-8 {
  margin-left: 66.66666667%;
}
.col-xs-offset-7 {
  margin-left: 58.33333333%;
}
.col-xs-offset-6 {
  margin-left: 50%;
}
.col-xs-offset-5 {
  margin-left: 41.66666667%;
}
.col-xs-offset-4 {
  margin-left: 33.33333333%;
}
.col-xs-offset-3 {
  margin-left: 25%;
}
.col-xs-offset-2 {
  margin-left: 16.66666667%;
}
.col-xs-offset-1 {
  margin-left: 8.33333333%;
}
.col-xs-offset-0 {
  margin-left: 0;
}
@media (min-width: 768px) {
  .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
    float: left;
  }
  .col-sm-12 {
    width: 100%;
  }
  .col-sm-11 {
    width: 91.66666667%;
  }
  .col-sm-10 {
    width: 83.33333333%;
  }
  .col-sm-9 {
    width: 75%;
  }
  .col-sm-8 {
    width: 66.66666667%;
  }
  .col-sm-7 {
    width: 58.33333333%;
  }
  .col-sm-6 {
    width: 50%;
  }
  .col-sm-5 {
    width: 41.66666667%;
  }
  .col-sm-4 {
    width: 33.33333333%;
  }
  .col-sm-3 {
    width: 25%;
  }
  .col-sm-2 {
    width: 16.66666667%;
  }
  .col-sm-1 {
    width: 8.33333333%;
  }
  .col-sm-pull-12 {
    right: 100%;
  }
  .col-sm-pull-11 {
    right: 91.66666667%;
  }
  .col-sm-pull-10 {
    right: 83.33333333%;
  }
  .col-sm-pull-9 {
    right: 75%;
  }
  .col-sm-pull-8 {
    right: 66.66666667%;
  }
  .col-sm-pull-7 {
    right: 58.33333333%;
  }
  .col-sm-pull-6 {
    right: 50%;
  }
  .col-sm-pull-5 {
    right: 41.66666667%;
  }
  .col-sm-pull-4 {
    right: 33.33333333%;
  }
  .col-sm-pull-3 {
    right: 25%;
  }
  .col-sm-pull-2 {
    right: 16.66666667%;
  }
  .col-sm-pull-1 {
    right: 8.33333333%;
  }
  .col-sm-pull-0 {
    right: auto;
  }
  .col-sm-push-12 {
    left: 100%;
  }
  .col-sm-push-11 {
    left: 91.66666667%;
  }
  .col-sm-push-10 {
    left: 83.33333333%;
  }
  .col-sm-push-9 {
    left: 75%;
  }
  .col-sm-push-8 {
    left: 66.66666667%;
  }
  .col-sm-push-7 {
    left: 58.33333333%;
  }
  .col-sm-push-6 {
    left: 50%;
  }
  .col-sm-push-5 {
    left: 41.66666667%;
  }
  .col-sm-push-4 {
    left: 33.33333333%;
  }
  .col-sm-push-3 {
    left: 25%;
  }
  .col-sm-push-2 {
    left: 16.66666667%;
  }
  .col-sm-push-1 {
    left: 8.33333333%;
  }
  .col-sm-push-0 {
    left: auto;
  }
  .col-sm-offset-12 {
    margin-left: 100%;
  }
  .col-sm-offset-11 {
    margin-left: 91.66666667%;
  }
  .col-sm-offset-10 {
    margin-left: 83.33333333%;
  }
  .col-sm-offset-9 {
    margin-left: 75%;
  }
  .col-sm-offset-8 {
    margin-left: 66.66666667%;
  }
  .col-sm-offset-7 {
    margin-left: 58.33333333%;
  }
  .col-sm-offset-6 {
    margin-left: 50%;
  }
  .col-sm-offset-5 {
    margin-left: 41.66666667%;
  }
  .col-sm-offset-4 {
    margin-left: 33.33333333%;
  }
  .col-sm-offset-3 {
    margin-left: 25%;
  }
  .col-sm-offset-2 {
    margin-left: 16.66666667%;
  }
  .col-sm-offset-1 {
    margin-left: 8.33333333%;
  }
  .col-sm-offset-0 {
    margin-left: 0;
  }
}
@media (min-width: 992px) {
  .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
    float: left;
  }
  .col-md-12 {
    width: 100%;
  }
  .col-md-11 {
    width: 91.66666667%;
  }
  .col-md-10 {
    width: 83.33333333%;
  }
  .col-md-9 {
    width: 75%;
  }
  .col-md-8 {
    width: 66.66666667%;
  }
  .col-md-7 {
    width: 58.33333333%;
  }
  .col-md-6 {
    width: 50%;
  }
  .col-md-5 {
    width: 41.66666667%;
  }
  .col-md-4 {
    width: 33.33333333%;
  }
  .col-md-3 {
    width: 25%;
  }
  .col-md-2 {
    width: 16.66666667%;
  }
  .col-md-1 {
    width: 8.33333333%;
  }
  .col-md-pull-12 {
    right: 100%;
  }
  .col-md-pull-11 {
    right: 91.66666667%;
  }
  .col-md-pull-10 {
    right: 83.33333333%;
  }
  .col-md-pull-9 {
    right: 75%;
  }
  .col-md-pull-8 {
    right: 66.66666667%;
  }
  .col-md-pull-7 {
    right: 58.33333333%;
  }
  .col-md-pull-6 {
    right: 50%;
  }
  .col-md-pull-5 {
    right: 41.66666667%;
  }
  .col-md-pull-4 {
    right: 33.33333333%;
  }
  .col-md-pull-3 {
    right: 25%;
  }
  .col-md-pull-2 {
    right: 16.66666667%;
  }
  .col-md-pull-1 {
    right: 8.33333333%;
  }
  .col-md-pull-0 {
    right: auto;
  }
  .col-md-push-12 {
    left: 100%;
  }
  .col-md-push-11 {
    left: 91.66666667%;
  }
  .col-md-push-10 {
    left: 83.33333333%;
  }
  .col-md-push-9 {
    left: 75%;
  }
  .col-md-push-8 {
    left: 66.66666667%;
  }
  .col-md-push-7 {
    left: 58.33333333%;
  }
  .col-md-push-6 {
    left: 50%;
  }
  .col-md-push-5 {
    left: 41.66666667%;
  }
  .col-md-push-4 {
    left: 33.33333333%;
  }
  .col-md-push-3 {
    left: 25%;
  }
  .col-md-push-2 {
    left: 16.66666667%;
  }
  .col-md-push-1 {
    left: 8.33333333%;
  }
  .col-md-push-0 {
    left: auto;
  }
  .col-md-offset-12 {
    margin-left: 100%;
  }
  .col-md-offset-11 {
    margin-left: 91.66666667%;
  }
  .col-md-offset-10 {
    margin-left: 83.33333333%;
  }
  .col-md-offset-9 {
    margin-left: 75%;
  }
  .col-md-offset-8 {
    margin-left: 66.66666667%;
  }
  .col-md-offset-7 {
    margin-left: 58.33333333%;
  }
  .col-md-offset-6 {
    margin-left: 50%;
  }
  .col-md-offset-5 {
    margin-left: 41.66666667%;
  }
  .col-md-offset-4 {
    margin-left: 33.33333333%;
  }
  .col-md-offset-3 {
    margin-left: 25%;
  }
  .col-md-offset-2 {
    margin-left: 16.66666667%;
  }
  .col-md-offset-1 {
    margin-left: 8.33333333%;
  }
  .col-md-offset-0 {
    margin-left: 0;
  }
}
@media (min-width: 1200px) {
  .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
    float: left;
  }
  .col-lg-12 {
    width: 100%;
  }
  .col-lg-11 {
    width: 91.66666667%;
  }
  .col-lg-10 {
    width: 83.33333333%;
  }
  .col-lg-9 {
    width: 75%;
  }
  .col-lg-8 {
    width: 66.66666667%;
  }
  .col-lg-7 {
    width: 58.33333333%;
  }
  .col-lg-6 {
    width: 50%;
  }
  .col-lg-5 {
    width: 41.66666667%;
  }
  .col-lg-4 {
    width: 33.33333333%;
  }
  .col-lg-3 {
    width: 25%;
  }
  .col-lg-2 {
    width: 16.66666667%;
  }
  .col-lg-1 {
    width: 8.33333333%;
  }
  .col-lg-pull-12 {
    right: 100%;
  }
  .col-lg-pull-11 {
    right: 91.66666667%;
  }
  .col-lg-pull-10 {
    right: 83.33333333%;
  }
  .col-lg-pull-9 {
    right: 75%;
  }
  .col-lg-pull-8 {
    right: 66.66666667%;
  }
  .col-lg-pull-7 {
    right: 58.33333333%;
  }
  .col-lg-pull-6 {
    right: 50%;
  }
  .col-lg-pull-5 {
    right: 41.66666667%;
  }
  .col-lg-pull-4 {
    right: 33.33333333%;
  }
  .col-lg-pull-3 {
    right: 25%;
  }
  .col-lg-pull-2 {
    right: 16.66666667%;
  }
  .col-lg-pull-1 {
    right: 8.33333333%;
  }
  .col-lg-pull-0 {
    right: auto;
  }
  .col-lg-push-12 {
    left: 100%;
  }
  .col-lg-push-11 {
    left: 91.66666667%;
  }
  .col-lg-push-10 {
    left: 83.33333333%;
  }
  .col-lg-push-9 {
    left: 75%;
  }
  .col-lg-push-8 {
    left: 66.66666667%;
  }
  .col-lg-push-7 {
    left: 58.33333333%;
  }
  .col-lg-push-6 {
    left: 50%;
  }
  .col-lg-push-5 {
    left: 41.66666667%;
  }
  .col-lg-push-4 {
    left: 33.33333333%;
  }
  .col-lg-push-3 {
    left: 25%;
  }
  .col-lg-push-2 {
    left: 16.66666667%;
  }
  .col-lg-push-1 {
    left: 8.33333333%;
  }
  .col-lg-push-0 {
    left: auto;
  }
  .col-lg-offset-12 {
    margin-left: 100%;
  }
  .col-lg-offset-11 {
    margin-left: 91.66666667%;
  }
  .col-lg-offset-10 {
    margin-left: 83.33333333%;
  }
  .col-lg-offset-9 {
    margin-left: 75%;
  }
  .col-lg-offset-8 {
    margin-left: 66.66666667%;
  }
  .col-lg-offset-7 {
    margin-left: 58.33333333%;
  }
  .col-lg-offset-6 {
    margin-left: 50%;
  }
  .col-lg-offset-5 {
    margin-left: 41.66666667%;
  }
  .col-lg-offset-4 {
    margin-left: 33.33333333%;
  }
  .col-lg-offset-3 {
    margin-left: 25%;
  }
  .col-lg-offset-2 {
    margin-left: 16.66666667%;
  }
  .col-lg-offset-1 {
    margin-left: 8.33333333%;
  }
  .col-lg-offset-0 {
    margin-left: 0;
  }
}

.collapse {
  display: none;
}
.collapse.in {
  display: block;
}
tr.collapse.in {
  display: table-row;
}
tbody.collapse.in {
  display: table-row-group;
}
.collapsing {
  position: relative;
  height: 0;
  overflow: hidden;
  -webkit-transition-timing-function: ease;
       -o-transition-timing-function: ease;
          transition-timing-function: ease;
  -webkit-transition-duration: .35s;
       -o-transition-duration: .35s;
          transition-duration: .35s;
  -webkit-transition-property: height, visibility;
       -o-transition-property: height, visibility;
          transition-property: height, visibility;
}
.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top: 4px dashed;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}
.dropup,
.dropdown {
  position: relative;
}
.dropdown-toggle:focus {
  outline: 0;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 160px;
  padding: 5px 0;
  margin: 2px 0 0;
  font-size: 14px;
  text-align: left;
  list-style: none;
  background-color: #fff;
  -webkit-background-clip: padding-box;
          background-clip: padding-box;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 4px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
          box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}
.dropdown-menu.pull-right {
  right: 0;
  left: auto;
}
.dropdown-menu .divider {
  height: 1px;
  margin: 9px 0;
  overflow: hidden;
  background-color: #e5e5e5;
}
.dropdown-menu > li > a {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: normal;
  line-height: 1.42857143;
  color: #333;
  white-space: nowrap;
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  color: #262626;
  text-decoration: none;
  background-color: #f5f5f5;
}
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
  color: #fff;
  text-decoration: none;
  background-color: #337ab7;
  outline: 0;
}
.dropdown-menu > .disabled > a,
.dropdown-menu > .disabled > a:hover,
.dropdown-menu > .disabled > a:focus {
  color: #777;
}
.dropdown-menu > .disabled > a:hover,
.dropdown-menu > .disabled > a:focus {
  text-decoration: none;
  cursor: not-allowed;
  background-color: transparent;
  background-image: none;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}
.open > .dropdown-menu {
  display: block;
}
.open > a {
  outline: 0;
}
.dropdown-menu-right {
  right: 0;
  left: auto;
}
.dropdown-menu-left {
  right: auto;
  left: 0;
}
.dropdown-header {
  display: block;
  padding: 3px 20px;
  font-size: 12px;
  line-height: 1.42857143;
  color: #777;
  white-space: nowrap;
}
.dropdown-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 990;
}
.pull-right > .dropdown-menu {
  right: 0;
  left: auto;
}
.dropup .caret,
.navbar-fixed-bottom .dropdown .caret {
  content: "";
  border-top: 0;
  border-bottom: 4px solid;
}
.dropup .dropdown-menu,
.navbar-fixed-bottom .dropdown .dropdown-menu {
  top: auto;
  bottom: 100%;
  margin-bottom: 2px;
}
@media (min-width: 768px) {
  .navbar-right .dropdown-menu {
    right: 0;
    left: auto;
  }
  .navbar-right .dropdown-menu-left {
    right: auto;
    left: 0;
  }
}

.nav {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}
.nav > li {
  position: relative;
  display: block;
}
.nav > li > a {
  position: relative;
  display: block;
  padding: 10px 15px;
}
.nav > li > a:hover,
.nav > li > a:focus {
  text-decoration: none;
  background-color: #eee;
}
.nav > li.disabled > a {
  color: #777;
}
.nav > li.disabled > a:hover,
.nav > li.disabled > a:focus {
  color: #777;
  text-decoration: none;
  cursor: not-allowed;
  background-color: transparent;
}
.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
  background-color: #eee;
  border-color: #337ab7;
}
.nav .nav-divider {
  height: 1px;
  margin: 9px 0;
  overflow: hidden;
  background-color: #e5e5e5;
}
.nav > li > a > img {
  max-width: none;
}
.nav-tabs {
  border-bottom: 1px solid #ddd;
}
.nav-tabs > li {
  float: left;
  margin-bottom: -1px;
}
.nav-tabs > li > a {
  margin-right: 2px;
  line-height: 1.42857143;
  border: 1px solid transparent;
  border-radius: 4px 4px 0 0;
}
.nav-tabs > li > a:hover {
  border-color: #eee #eee #ddd;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  color: #555;
  cursor: default;
  background-color: #fff;
  border: 1px solid #ddd;
  border-bottom-color: transparent;
}
.nav-tabs.nav-justified {
  width: 100%;
  border-bottom: 0;
}
.nav-tabs.nav-justified > li {
  float: none;
}
.nav-tabs.nav-justified > li > a {
  margin-bottom: 5px;
  text-align: center;
}
.nav-tabs.nav-justified > .dropdown .dropdown-menu {
  top: auto;
  left: auto;
}
@media (min-width: 768px) {
  .nav-tabs.nav-justified > li {
    display: table-cell;
    width: 1%;
  }
  .nav-tabs.nav-justified > li > a {
    margin-bottom: 0;
  }
}
.nav-tabs.nav-justified > li > a {
  margin-right: 0;
  border-radius: 4px;
}
.nav-tabs.nav-justified > .active > a,
.nav-tabs.nav-justified > .active > a:hover,
.nav-tabs.nav-justified > .active > a:focus {
  border: 1px solid #ddd;
}
@media (min-width: 768px) {
  .nav-tabs.nav-justified > li > a {
    border-bottom: 1px solid #ddd;
    border-radius: 4px 4px 0 0;
  }
  .nav-tabs.nav-justified > .active > a,
  .nav-tabs.nav-justified > .active > a:hover,
  .nav-tabs.nav-justified > .active > a:focus {
    border-bottom-color: #fff;
  }
}
.nav-pills > li {
  float: left;
}
.nav-pills > li > a {
  border-radius: 4px;
}
.nav-pills > li + li {
  margin-left: 2px;
}
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
  color: #fff;
  background-color: #337ab7;
}
.nav-stacked > li {
  float: none;
}
.nav-stacked > li + li {
  margin-top: 2px;
  margin-left: 0;
}
.nav-justified {
  width: 100%;
}
.nav-justified > li {
  float: none;
}
.nav-justified > li > a {
  margin-bottom: 5px;
  text-align: center;
}
.nav-justified > .dropdown .dropdown-menu {
  top: auto;
  left: auto;
}
@media (min-width: 768px) {
  .nav-justified > li {
    display: table-cell;
    width: 1%;
  }
  .nav-justified > li > a {
    margin-bottom: 0;
  }
}
.nav-tabs-justified {
  border-bottom: 0;
}
.nav-tabs-justified > li > a {
  margin-right: 0;
  border-radius: 4px;
}
.nav-tabs-justified > .active > a,
.nav-tabs-justified > .active > a:hover,
.nav-tabs-justified > .active > a:focus {
  border: 1px solid #ddd;
}
@media (min-width: 768px) {
  .nav-tabs-justified > li > a {
    border-bottom: 1px solid #ddd;
    border-radius: 4px 4px 0 0;
  }
  .nav-tabs-justified > .active > a,
  .nav-tabs-justified > .active > a:hover,
  .nav-tabs-justified > .active > a:focus {
    border-bottom-color: #fff;
  }
}
.tab-content > .tab-pane {
  display: none;
}
.tab-content > .active {
  display: block;
}
.nav-tabs .dropdown-menu {
  margin-top: -1px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.navbar {
  position: relative;
  min-height: 50px;
  margin-bottom: 20px;
  border: 1px solid transparent;
}
@media (min-width: 768px) {
  .navbar {
    border-radius: 0px;
  }
}
@media (min-width: 768px) {
  .navbar-header {
    float: left;
  }
}
.navbar-collapse {
  padding-right: 15px;
  padding-left: 15px;
  overflow-x: visible;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid transparent;
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
          box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
}
.navbar-collapse.in {
  overflow-y: auto;
}
@media (min-width: 768px) {
  .navbar-collapse {
    width: auto;
    border-top: 0;
    -webkit-box-shadow: none;
            box-shadow: none;
  }
  .navbar-collapse.collapse {
    display: block !important;
    height: auto !important;
    padding-bottom: 0;
    overflow: visible !important;
  }
  .navbar-collapse.in {
    overflow-y: visible;
  }
  .navbar-fixed-top .navbar-collapse,
  .navbar-static-top .navbar-collapse,
  .navbar-fixed-bottom .navbar-collapse {
    padding-right: 0;
    padding-left: 0;
  }
}
.navbar-fixed-top .navbar-collapse,
.navbar-fixed-bottom .navbar-collapse {
  max-height: 340px;
}
@media (max-device-width: 480px) and (orientation: landscape) {
  .navbar-fixed-top .navbar-collapse,
  .navbar-fixed-bottom .navbar-collapse {
    max-height: 200px;
  }
}
.bscontainer > .navbar-header,
.bscontainer-fluid > .navbar-header,
.bscontainer > .navbar-collapse,
.bscontainer-fluid > .navbar-collapse {
  margin-right: -15px;
  margin-left: -15px;
}
@media (min-width: 768px) {
  .bscontainer > .navbar-header,
  .bscontainer-fluid > .navbar-header,
  .bscontainer > .navbar-collapse,
  .bscontainer-fluid > .navbar-collapse {
    margin-right: 0;
    margin-left: 0;
  }
}
.navbar-static-top {
  z-index: 1000;
  border-width: 0 0 1px;
}
@media (min-width: 768px) {
  .navbar-static-top {
    border-radius: 0;
  }
}
.navbar-fixed-top,
.navbar-fixed-bottom {
  position: fixed;
  right: 0;
  left: 0;
  z-index: 1030;
}
@media (min-width: 768px) {
  .navbar-fixed-top,
  .navbar-fixed-bottom {
    border-radius: 0;
  }
}
.navbar-fixed-top {
  top: 0;
  border-width: 0 0 1px;
}
.navbar-fixed-bottom {
  bottom: 0;
  margin-bottom: 0;
  border-width: 1px 0 0;
}
.navbar-brand {
  float: left;
  height: 50px;
  padding: 10px 15px;
  /*
  font-size: 18px;
  line-height: 20px;
  */
}
.navbar-brand:hover,
.navbar-brand:focus {
  text-decoration: none;
}
.navbar-brand > img {
  display: block;
}
@media (min-width: 768px) {
  .navbar > .bscontainer .navbar-brand,
  .navbar > .bscontainer-fluid .navbar-brand {
    margin-left: -15px;
  }
}
.navbar-toggle {
  position: relative;
  float: right;
  padding: 9px 10px;
  margin-top: 8px;
  margin-right: 15px;
  margin-bottom: 8px;
  background-color: transparent;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
}
.navbar-toggle:focus {
  outline: 0;
}
.navbar-toggle .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
}
.navbar-toggle .icon-bar + .icon-bar {
  margin-top: 4px;
}
@media (min-width: 768px) {
  .navbar-toggle {
    display: none;
  }
}
.navbar-nav {
  margin: 7.5px -15px;
}
.navbar-nav > li > a {
  padding-top: 10px;
  padding-bottom: 10px;
  line-height: 20px;
}
@media (max-width: 767px) {
  .navbar-nav .open .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: transparent;
    border: 0;
    -webkit-box-shadow: none;
            box-shadow: none;
  }
  .navbar-nav .open .dropdown-menu > li > a,
  .navbar-nav .open .dropdown-menu .dropdown-header {
    padding: 5px 15px 5px 25px;
  }
  .navbar-nav .open .dropdown-menu > li > a {
    line-height: 20px;
  }
  .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-nav .open .dropdown-menu > li > a:focus {
    background-image: none;
  }
}
@media (min-width: 768px) {
  .navbar-nav {
    float: left;
    margin: 0;
  }
  .navbar-nav > li {
    float: left;
  }
  .navbar-nav > li > a {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}
.navbar-form {
  padding: 10px 15px;
  margin-top: 8px;
  margin-right: -15px;
  margin-bottom: 8px;
  margin-left: -15px;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
          box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
}
@media (min-width: 768px) {
  .navbar-form .form-group {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
  }
  .navbar-form .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
  }
  .navbar-form .form-control-static {
    display: inline-block;
  }
  .navbar-form .input-group {
    display: inline-table;
    vertical-align: middle;
  }
  .navbar-form .input-group .input-group-addon,
  .navbar-form .input-group .input-group-btn,
  .navbar-form .input-group .form-control {
    width: auto;
  }
  .navbar-form .input-group > .form-control {
    width: 100%;
  }
  .navbar-form .control-label {
    margin-bottom: 0;
    vertical-align: middle;
  }
  .navbar-form .radio,
  .navbar-form .checkbox {
    display: inline-block;
    margin-top: 0;
    margin-bottom: 0;
    vertical-align: middle;
  }
  .navbar-form .radio label,
  .navbar-form .checkbox label {
    padding-left: 0;
  }
  .navbar-form .radio input[type="radio"],
  .navbar-form .checkbox input[type="checkbox"] {
    position: relative;
    margin-left: 0;
  }
  .navbar-form .has-feedback .form-control-feedback {
    top: 0;
  }
}
@media (max-width: 767px) {
  .navbar-form .form-group {
    margin-bottom: 5px;
  }
  .navbar-form .form-group:last-child {
    margin-bottom: 0;
  }
}
@media (min-width: 768px) {
  .navbar-form {
    width: auto;
    padding-top: 0;
    padding-bottom: 0;
    margin-right: 0;
    margin-left: 0;
    border: 0;
    -webkit-box-shadow: none;
            box-shadow: none;
  }
}
.navbar-nav > li > .dropdown-menu {
  margin-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
  margin-bottom: 0;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.navbar-btn {
  margin-top: 8px;
  margin-bottom: 8px;
}
.navbar-btn.btn-sm {
  margin-top: 10px;
  margin-bottom: 10px;
}
.navbar-btn.btn-xs {
  margin-top: 14px;
  margin-bottom: 14px;
}
.navbar-text {
  margin-top: 15px;
  margin-bottom: 15px;
}
@media (min-width: 768px) {
  .navbar-text {
    float: left;
    margin-right: 15px;
    margin-left: 15px;
  }
}
@media (min-width: 768px) {
  .navbar-left {
    float: left !important;
  }
  .navbar-right {
    float: right !important;
    margin-right: -15px;
  }
  .navbar-right ~ .navbar-right {
    margin-right: 0;
  }
}
.navbar-default {
  background-color: #f8f8f8;
  border-color: #e7e7e7;
}
.navbar-default .navbar-brand {
  color: #777;
}
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
  color: #5e5e5e;
  background-color: transparent;
}
.navbar-default .navbar-text {
  color: #777;
}
.navbar-default .navbar-nav > li > a {
  color: #777;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #333;
  background-color: transparent;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #555;
  background-color: #e7e7e7;
}
.navbar-default .navbar-nav > .disabled > a,
.navbar-default .navbar-nav > .disabled > a:hover,
.navbar-default .navbar-nav > .disabled > a:focus {
  color: #ccc;
  background-color: transparent;
}
.navbar-default .navbar-toggle {
  border-color: #ddd;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #ddd;
}
.navbar-default .navbar-toggle .icon-bar {
  background-color: #888;
}
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
  border-color: #e7e7e7;
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  color: #555;
  background-color: #e7e7e7;
}
@media (max-width: 767px) {
  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #777;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #333;
    background-color: transparent;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #555;
    background-color: #e7e7e7;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,
  .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
    color: #ccc;
    background-color: transparent;
  }
}
.navbar-default .navbar-link {
  color: #777;
}
.navbar-default .navbar-link:hover {
  color: #333;
}
.navbar-default .btn-link {
  color: #777;
}
.navbar-default .btn-link:hover,
.navbar-default .btn-link:focus {
  color: #333;
}
.navbar-default .btn-link[disabled]:hover,
fieldset[disabled] .navbar-default .btn-link:hover,
.navbar-default .btn-link[disabled]:focus,
fieldset[disabled] .navbar-default .btn-link:focus {
  color: #ccc;
}
.navbar-inverse {
  background-color: #222;
  border-color: #080808;
}
.navbar-inverse .navbar-brand {
  color: #9d9d9d;
}
.navbar-inverse .navbar-brand:hover,
.navbar-inverse .navbar-brand:focus {
  color: #fff;
  background-color: transparent;
}
.navbar-inverse .navbar-text {
  color: #9d9d9d;
}
.navbar-inverse .navbar-nav > li > a {
  color: #9d9d9d;
}
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
  color: #fff;
  background-color: transparent;
}
.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
  color: #fff;
  background-color: #080808;
}
.navbar-inverse .navbar-nav > .disabled > a,
.navbar-inverse .navbar-nav > .disabled > a:hover,
.navbar-inverse .navbar-nav > .disabled > a:focus {
  color: #444;
  background-color: transparent;
}
.navbar-inverse .navbar-toggle {
  border-color: #333;
}
.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
  background-color: #333;
}
.navbar-inverse .navbar-toggle .icon-bar {
  background-color: #fff;
}
.navbar-inverse .navbar-collapse,
.navbar-inverse .navbar-form {
  border-color: #101010;
}
.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
  color: #fff;
  background-color: #080808;
}
@media (max-width: 767px) {
  .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {
    border-color: #080808;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu .divider {
    background-color: #080808;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
    color: #9d9d9d;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #fff;
    background-color: transparent;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #fff;
    background-color: #080808;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,
  .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {
    color: #444;
    background-color: transparent;
  }
}
.navbar-inverse .navbar-link {
  color: #9d9d9d;
}
.navbar-inverse .navbar-link:hover {
  color: #fff;
}
.navbar-inverse .btn-link {
  color: #9d9d9d;
}
.navbar-inverse .btn-link:hover,
.navbar-inverse .btn-link:focus {
  color: #fff;
}
.navbar-inverse .btn-link[disabled]:hover,
fieldset[disabled] .navbar-inverse .btn-link:hover,
.navbar-inverse .btn-link[disabled]:focus,
fieldset[disabled] .navbar-inverse .btn-link:focus {
  color: #444;
}

.clearfix:before,
.clearfix:after,
.dl-horizontal dd:before,
.dl-horizontal dd:after,
.bscontainer:before,
.bscontainer:after,
.bscontainer-fluid:before,
.bscontainer-fluid:after,
.bsrow:before,
.bsrow: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: " ";
}
.clearfix:after,
.dl-horizontal dd:after,
.bscontainer:after,
.bscontainer-fluid:after,
.bsrow:after,
.form-horizontal .form-group:after,
.btn-toolbar:after,
.btn-group-vertical > .btn-group:after,
.nav:after,
.navbar:after,
.navbar-header:after,
.navbar-collapse:after,
.pager:after,
.panel-body:after,
.modal-footer:after {
  clear: both;
}
.center-block {
  display: block;
  margin-right: auto;
  margin-left: auto;
}
.pull-right {
  float: right !important;
}
.pull-left {
  float: left !important;
}
.hide {
  display: none !important;
}
.show {
  display: block !important;
}
.invisible {
  visibility: hidden;
}
.text-hide {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}
.hidden {
  display: none !important;
}
.affix {
  position: fixed;
}
@-ms-viewport {
  width: device-width;
}
.visible-xs,
.visible-sm,
.visible-md,
.visible-lg {
  display: none !important;
}
.visible-xs-block,
.visible-xs-inline,
.visible-xs-inline-block,
.visible-sm-block,
.visible-sm-inline,
.visible-sm-inline-block,
.visible-md-block,
.visible-md-inline,
.visible-md-inline-block,
.visible-lg-block,
.visible-lg-inline,
.visible-lg-inline-block {
  display: none !important;
}
@media (max-width: 767px) {
  .visible-xs {
    display: block !important;
  }
  table.visible-xs {
    display: table;
  }
  tr.visible-xs {
    display: table-row !important;
  }
  th.visible-xs,
  td.visible-xs {
    display: table-cell !important;
  }
}
@media (max-width: 767px) {
  .visible-xs-block {
    display: block !important;
  }
}
@media (max-width: 767px) {
  .visible-xs-inline {
    display: inline !important;
  }
}
@media (max-width: 767px) {
  .visible-xs-inline-block {
    display: inline-block !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .visible-sm {
    display: block !important;
  }
  table.visible-sm {
    display: table;
  }
  tr.visible-sm {
    display: table-row !important;
  }
  th.visible-sm,
  td.visible-sm {
    display: table-cell !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .visible-sm-block {
    display: block !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .visible-sm-inline {
    display: inline !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .visible-sm-inline-block {
    display: inline-block !important;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .visible-md {
    display: block !important;
  }
  table.visible-md {
    display: table;
  }
  tr.visible-md {
    display: table-row !important;
  }
  th.visible-md,
  td.visible-md {
    display: table-cell !important;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .visible-md-block {
    display: block !important;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .visible-md-inline {
    display: inline !important;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .visible-md-inline-block {
    display: inline-block !important;
  }
}
@media (min-width: 1200px) {
  .visible-lg {
    display: block !important;
  }
  table.visible-lg {
    display: table;
  }
  tr.visible-lg {
    display: table-row !important;
  }
  th.visible-lg,
  td.visible-lg {
    display: table-cell !important;
  }
}
@media (min-width: 1200px) {
  .visible-lg-block {
    display: block !important;
  }
}
@media (min-width: 1200px) {
  .visible-lg-inline {
    display: inline !important;
  }
}
@media (min-width: 1200px) {
  .visible-lg-inline-block {
    display: inline-block !important;
  }
}
@media (max-width: 767px) {
  .hidden-xs {
    display: none !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .hidden-sm {
    display: none !important;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .hidden-md {
    display: none !important;
  }
}
@media (min-width: 1200px) {
  .hidden-lg {
    display: none !important;
  }
}
.visible-print {
  display: none !important;
}
@media print {
  .visible-print {
    display: block !important;
  }
  table.visible-print {
    display: table;
  }
  tr.visible-print {
    display: table-row !important;
  }
  th.visible-print,
  td.visible-print {
    display: table-cell !important;
  }
}
.visible-print-block {
  display: none !important;
}
@media print {
  .visible-print-block {
    display: block !important;
  }
}
.visible-print-inline {
  display: none !important;
}
@media print {
  .visible-print-inline {
    display: inline !important;
  }
}
.visible-print-inline-block {
  display: none !important;
}
@media print {
  .visible-print-inline-block {
    display: inline-block !important;
  }
}
@media print {
  .hidden-print {
    display: none !important;
  }
}
/*# sourceMappingURL=bootstrap.css.map */
/*!
 * Bootstrap v3.3.4 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

.btn-default,
.btn-primary,
.btn-success,
.btn-info,
.btn-warning,
.btn-danger {
  text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
          box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
}
.btn-default:active,
.btn-primary:active,
.btn-success:active,
.btn-info:active,
.btn-warning:active,
.btn-danger:active,
.btn-default.active,
.btn-primary.active,
.btn-success.active,
.btn-info.active,
.btn-warning.active,
.btn-danger.active {
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
          box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}
.btn-default .badge,
.btn-primary .badge,
.btn-success .badge,
.btn-info .badge,
.btn-warning .badge,
.btn-danger .badge {
  text-shadow: none;
}
.btn:active,
.btn.active {
  background-image: none;
}
.btn-default {
  text-shadow: 0 1px 0 #fff;
  background-image: -webkit-linear-gradient(top, #fff 0%, #e0e0e0 100%);
  background-image:      -o-linear-gradient(top, #fff 0%, #e0e0e0 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e0e0e0));
  background-image:         linear-gradient(to bottom, #fff 0%, #e0e0e0 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  background-repeat: repeat-x;
  border-color: #dbdbdb;
  border-color: #ccc;
}
.btn-default:hover,
.btn-default:focus {
  background-color: #e0e0e0;
  background-position: 0 -15px;
}
.btn-default:active,
.btn-default.active {
  background-color: #e0e0e0;
  border-color: #dbdbdb;
}
.btn-default.disabled,
.btn-default:disabled,
.btn-default[disabled] {
  background-color: #e0e0e0;
  background-image: none;
}
.btn-primary {
  background-image: -webkit-linear-gradient(top, #337ab7 0%, #265a88 100%);
  background-image:      -o-linear-gradient(top, #337ab7 0%, #265a88 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#265a88));
  background-image:         linear-gradient(to bottom, #337ab7 0%, #265a88 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  background-repeat: repeat-x;
  border-color: #245580;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #265a88;
  background-position: 0 -15px;
}
.btn-primary:active,
.btn-primary.active {
  background-color: #265a88;
  border-color: #245580;
}
.btn-primary.disabled,
.btn-primary:disabled,
.btn-primary[disabled] {
  background-color: #265a88;
  background-image: none;
}
.btn-success {
  background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%);
  background-image:      -o-linear-gradient(top, #5cb85c 0%, #419641 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#419641));
  background-image:         linear-gradient(to bottom, #5cb85c 0%, #419641 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  background-repeat: repeat-x;
  border-color: #3e8f3e;
}
.btn-success:hover,
.btn-success:focus {
  background-color: #419641;
  background-position: 0 -15px;
}
.btn-success:active,
.btn-success.active {
  background-color: #419641;
  border-color: #3e8f3e;
}
.btn-success.disabled,
.btn-success:disabled,
.btn-success[disabled] {
  background-color: #419641;
  background-image: none;
}
.btn-info {
  background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
  background-image:      -o-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#2aabd2));
  background-image:         linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  background-repeat: repeat-x;
  border-color: #28a4c9;
}
.btn-info:hover,
.btn-info:focus {
  background-color: #2aabd2;
  background-position: 0 -15px;
}
.btn-info:active,
.btn-info.active {
  background-color: #2aabd2;
  border-color: #28a4c9;
}
.btn-info.disabled,
.btn-info:disabled,
.btn-info[disabled] {
  background-color: #2aabd2;
  background-image: none;
}
.btn-warning {
  background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
  background-image:      -o-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#eb9316));
  background-image:         linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  background-repeat: repeat-x;
  border-color: #e38d13;
}
.btn-warning:hover,
.btn-warning:focus {
  background-color: #eb9316;
  background-position: 0 -15px;
}
.btn-warning:active,
.btn-warning.active {
  background-color: #eb9316;
  border-color: #e38d13;
}
.btn-warning.disabled,
.btn-warning:disabled,
.btn-warning[disabled] {
  background-color: #eb9316;
  background-image: none;
}
.btn-danger {
  background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
  background-image:      -o-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c12e2a));
  background-image:         linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  background-repeat: repeat-x;
  border-color: #b92c28;
}
.btn-danger:hover,
.btn-danger:focus {
  background-color: #c12e2a;
  background-position: 0 -15px;
}
.btn-danger:active,
.btn-danger.active {
  background-color: #c12e2a;
  border-color: #b92c28;
}
.btn-danger.disabled,
.btn-danger:disabled,
.btn-danger[disabled] {
  background-color: #c12e2a;
  background-image: none;
}
.thumbnail,
.img-thumbnail {
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
          box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  background-color: #e8e8e8;
  background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
  background-image:      -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
  background-image:         linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
  background-repeat: repeat-x;
}
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
  background-color: #2e6da4;
  background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
  background-image:      -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4));
  background-image:         linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);
  background-repeat: repeat-x;
}
.navbar-default {
  background-image: -webkit-linear-gradient(top, #fff 0%, #f8f8f8 100%);
  background-image:      -o-linear-gradient(top, #fff 0%, #f8f8f8 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f8f8f8));
  background-image:         linear-gradient(to bottom, #fff 0%, #f8f8f8 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  background-repeat: repeat-x;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
          box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .active > a {
  background-image: -webkit-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%);
  background-image:      -o-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#dbdbdb), to(#e2e2e2));
  background-image:         linear-gradient(to bottom, #dbdbdb 0%, #e2e2e2 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0);
  background-repeat: repeat-x;
  -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);
          box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);
}
.navbar-brand,
.navbar-nav > li > a {
  text-shadow: 0 1px 0 rgba(255, 255, 255, .25);
}
.navbar-inverse {
  background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #222 100%);
  background-image:      -o-linear-gradient(top, #3c3c3c 0%, #222 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#3c3c3c), to(#222));
  background-image:         linear-gradient(to bottom, #3c3c3c 0%, #222 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  background-repeat: repeat-x;
}
.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .active > a {
  background-image: -webkit-linear-gradient(top, #080808 0%, #0f0f0f 100%);
  background-image:      -o-linear-gradient(top, #080808 0%, #0f0f0f 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#080808), to(#0f0f0f));
  background-image:         linear-gradient(to bottom, #080808 0%, #0f0f0f 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', GradientType=0);
  background-repeat: repeat-x;
  -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25);
          box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25);
}
.navbar-inverse .navbar-brand,
.navbar-inverse .navbar-nav > li > a {
  text-shadow: 0 -1px 0 rgba(0, 0, 0, .25);
}
.navbar-static-top,
.navbar-fixed-top,
.navbar-fixed-bottom {
  border-radius: 0;
}
@media (max-width: 767px) {
  .navbar .navbar-nav .open .dropdown-menu > .active > a,
  .navbar .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #fff;
    background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
    background-image:      -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4));
    background-image:         linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);
    background-repeat: repeat-x;
  }
}
.alert {
  text-shadow: 0 1px 0 rgba(255, 255, 255, .2);
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
          box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
}
.alert-success {
  background-image: -webkit-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
  background-image:      -o-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#c8e5bc));
  background-image:         linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);
  background-repeat: repeat-x;
  border-color: #b2dba1;
}
.alert-info {
  background-image: -webkit-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
  background-image:      -o-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#b9def0));
  background-image:         linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);
  background-repeat: repeat-x;
  border-color: #9acfea;
}
.alert-warning {
  background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
  background-image:      -o-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#f8efc0));
  background-image:         linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);
  background-repeat: repeat-x;
  border-color: #f5e79e;
}
.alert-danger {
  background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
  background-image:      -o-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#e7c3c3));
  background-image:         linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);
  background-repeat: repeat-x;
  border-color: #dca7a7;
}
.progress {
  background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
  background-image:      -o-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#f5f5f5));
  background-image:         linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);
  background-repeat: repeat-x;
}
.progress-bar {
  background-image: -webkit-linear-gradient(top, #337ab7 0%, #286090 100%);
  background-image:      -o-linear-gradient(top, #337ab7 0%, #286090 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#286090));
  background-image:         linear-gradient(to bottom, #337ab7 0%, #286090 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff286090', GradientType=0);
  background-repeat: repeat-x;
}
.progress-bar-success {
  background-image: -webkit-linear-gradient(top, #5cb85c 0%, #449d44 100%);
  background-image:      -o-linear-gradient(top, #5cb85c 0%, #449d44 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#449d44));
  background-image:         linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);
  background-repeat: repeat-x;
}
.progress-bar-info {
  background-image: -webkit-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
  background-image:      -o-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#31b0d5));
  background-image:         linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);
  background-repeat: repeat-x;
}
.progress-bar-warning {
  background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
  background-image:      -o-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#ec971f));
  background-image:         linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);
  background-repeat: repeat-x;
}
.progress-bar-danger {
  background-image: -webkit-linear-gradient(top, #d9534f 0%, #c9302c 100%);
  background-image:      -o-linear-gradient(top, #d9534f 0%, #c9302c 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c9302c));
  background-image:         linear-gradient(to bottom, #d9534f 0%, #c9302c 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);
  background-repeat: repeat-x;
}
.progress-bar-striped {
  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
  background-image:      -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
  background-image:         linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
}
.list-group {
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
          box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
}
.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
  text-shadow: 0 -1px 0 #286090;
  background-image: -webkit-linear-gradient(top, #337ab7 0%, #2b669a 100%);
  background-image:      -o-linear-gradient(top, #337ab7 0%, #2b669a 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2b669a));
  background-image:         linear-gradient(to bottom, #337ab7 0%, #2b669a 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0);
  background-repeat: repeat-x;
  border-color: #2b669a;
}
.list-group-item.active .badge,
.list-group-item.active:hover .badge,
.list-group-item.active:focus .badge {
  text-shadow: none;
}
.panel {
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
          box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.panel-default > .panel-heading {
  background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
  background-image:      -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
  background-image:         linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
  background-repeat: repeat-x;
}
.panel-primary > .panel-heading {
  background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
  background-image:      -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4));
  background-image:         linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);
  background-repeat: repeat-x;
}
.panel-success > .panel-heading {
  background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
  background-image:      -o-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#d0e9c6));
  background-image:         linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);
  background-repeat: repeat-x;
}
.panel-info > .panel-heading {
  background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
  background-image:      -o-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#c4e3f3));
  background-image:         linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);
  background-repeat: repeat-x;
}
.panel-warning > .panel-heading {
  background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
  background-image:      -o-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#faf2cc));
  background-image:         linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);
  background-repeat: repeat-x;
}
.panel-danger > .panel-heading {
  background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
  background-image:      -o-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#ebcccc));
  background-image:         linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);
  background-repeat: repeat-x;
}
.well {
  background-image: -webkit-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
  background-image:      -o-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#e8e8e8), to(#f5f5f5));
  background-image:         linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);
  background-repeat: repeat-x;
  border-color: #dcdcdc;
  -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
          box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
}
/*# sourceMappingURL=bootstrap-theme.css.map */
/*!
 * Yamm!3 - Yet another megamenu for Bootstrap 3
 * http://geedmo.github.com/yamm3
 * 
 * @geedmo - Licensed under the MIT license
 */
.yamm .nav,
.yamm .collapse,
.yamm .dropup,
.yamm .dropdown {
  position: static;
}
.yamm .container {
  position: relative;
}
.yamm .dropdown-menu {
  left: auto;
}
.yamm .yamm-content {
  padding: 20px 30px;
}
.yamm .dropdown.yamm-fw .dropdown-menu {
  left: 0;
  right: 0;
}
#canvas-wrap {
    display: block;
    position: relative;
    width: 0px;
    height: 0px;
}

#canvas-wrap canvas {
    display: block;
    position: absolute;
    padding: 0;
    top: 0px;
    left: 0px;
}

div.rectangle {
    position: absolute;
    display: block;
    top: 0px;
    left: 0px;
    cursor: pointer;
    width: 10px;
    height: 30px;
	z-index: 3;
	opacity: 0;
}

div.rectangle:hover {
	-moz-box-shadow: 0 0 3px;
    -webkit-box-shadow: 0 0 3px;
    box-shadow: 0 0 3px;
}

div.point {
    position: absolute;
    display: block;
    top: 0px;
    left: 0px;
    cursor: pointer;
    width: 4px;
    height: 4px;
    border-radius: 2px;
    z-index: 4;
	background-color: #000;
	opacity: 0;
}

div.point:hover {
    -moz-box-shadow: 0 0 3px;
    -webkit-box-shadow: 0 0 3px;
    box-shadow: 0 0 3px;
	opacity: 1;
}

div.legend {
    display: block;
    position: absolute;
    border: 1px solid #2e9afe;
    border-radius: 5px;
    color: #000;
    background-color: #fff;
	white-space: nowrap;
    top: 0px;
    left: -9000px;
    -moz-box-shadow: 0 0 3px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.5);
    box-shadow: 0 0 3px rgba(0,0,0,0.5);
    opacity: 0.9;
    filter: Alpha(Opacity=0.9);
    z-index: 5;
}

div.legendtext {
    display: block;
    position: absolute;
    top: 0px;
    left: -9000px;
    text-align: left;
	white-space: nowrap;
    z-index: 5;
}

div.legend-wrap {
    display: block;
    position: absolute;
    opacity: 0;
    filter: Alpha(Opacity=0);
    z-index: 5;
}

.legend-header {
    color: #2e9afe;
    font-style: italic;
    font-weight: bold;
    font-size: 100%;
}

/* вертикальные и горизонтальные линии */

div.line_hl_h, div.line_hl_v, div.line_scale_h, div.line_scale_v, div.line_coord_h, div.line_coord_v {
    display: block;
    position: absolute;
    width: 1px;
    height: 1px;
    left: -9000px;
    top: 0px;
}

div.line_hl_h  {
    border-top: 1px dashed #000;
	z-index: 3;
}

div.line_hl_v  {
    border-left: 1px dashed #000;	
	z-index: 3;
}

div.line_scale_h  {
    border-top: 1px solid #ddd;
	z-index: 1;
}

div.line_scale_v  {
    border-left: 1px solid #ddd;
	z-index: 1;
}

div.line_coord_h  {
    border-top: 1px solid #000;
	z-index: 2;
}

div.line_coord_v  {
    border-left: 1px solid #000;
	z-index: 2;
}

div.line {
    position: absolute;
    z-index: 1;
    left: 0px;
	top: 0px;
    width: 2px;
    height: 1px;
    background-color: #000;
	-webkit-transform-origin: top left;
	-ms-transform-origin: top left;
	transform-origin: top left;
	-moz-box-shadow: 0 0 3px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.5);
    box-shadow: 0 0 3px rgba(0,0,0,0.5);
    transform: rotate(40.5deg);
}

/* подпись у точки или свечи */

.legend_highlight {
    display: block;
    position: absolute;
    height: 18px;
	vertical-align: middle;
    font-size: 100%;
    padding-top: 4px;
	padding-bottom: 4px;
    left: -9000px;
    top: 0px;
    color: #fff;
    background-color: #2e9afe;
    white-space: nowrap;
    text-align: center;
    z-index: 2;
}

.chart_tips {
    display: block;
    position: absolute;
    width: 15px;
    height: 10px;
    left: -9000px;
    top: 0px;
    border: solid 1px #fff;
    outline: solid 1px #888;  
}

.chart_title {
    display: block;
    position: absolute;
    left: -9000px;
    top: 0px;
    white-space: nowrap;
    color: #000;
}

/* треугольник-указатель */

/*
#triangle-right {
    position: absolute;
    left: -9000px;
    width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 0px 10px 5px;
	border-color: transparent transparent transparent #2e9afe;
	z-index: 2;
}
*/

#triangle-left, div.triangle-left {
	width: 0;
	height: 0;
    position: absolute;
	display: block; /* */
	left: -9000px;
    left: -9000px;
    width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 5px 10px 0px;
	border-color: transparent #2e9afe transparent #2e9afe;
	z-index: 2;
}

/* ------------------ мои настройки слайдера ------------------- */

#slider-area {
    position: relative;
	box-sizing: content-box;
	-webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    width: 100px;
    height: 50px;
    display: none;
	background: rgba(0, 0, 0, 0);
	border: 1px solid grey;
	border-radius: 3px;
}

#slider {
	position: absolute;
	width: 18px;
	height: 50px;
	top: 1px;
	cursor: move;
	background: rgba(0, 0, 0, 0);
	border: 0px;
	z-index: 3;
}

.slider_cover {
	display: block;
	position: absolute;
	background: rgba(0, 0, 0, 0.1);
	width: 100px;
	height: 50px;
	top: 1px;
	left: 1px;
	border-radius: 3px;
}

div.container-slider {
	position: absolute;
	width: 300px;
	height: 50px;
	background: rgba(0, 0, 0, 0);
	border: 0px;
}

div.slider {
	position: absolute;
	width: 18px;
	height: 50px;
	top: 1px;
	cursor: pointer;
	background: rgba(0, 0, 0, 0);
	border: 0px;
	z-index: 3;
}

/* кнопки управления */

div.slider-buttons {
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	user-select: none; 
	position: absolute;
	display: block;
	text-align: center;
	width: 100px;
	left: -9000px;
	opacity: 0.7;
	z-index: 2;
}

div.slider-buttons:hover {
	opacity: 1;
}

div.slider-button, div.slider-button-passive {
    display: inline-block;
	box-sizing: content-box;
	-webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    position: relative;
    cursor: pointer;
    font-weight: bold;
	font-size: 100%;
	color: #2e9afe;
    text-align: center;
    width: 24px;
    height: 20px;
	line-height: 20px;
	border: 1px solid #2e9afe;
	vertical-align: middle;
    text-decoration: none;
	padding: 0px;
	margin-left: -1px;
}

div.slider-button {
	background: white;
}

div.slider-button:hover {
	background: #ecf5fd;
	color: #0388fe;
}

div.slider-button-passive {
	background: #f6f6f6;
	cursor: default;
	color: grey;
}

div.slider-buttons div:nth-child(1) {
    border-radius: 3px 0px 0px 3px;
}

div.slider-buttons div:nth-child(4) {
    border-radius: 0px 3px 3px 0px;
}

div.loader {
    position: relative;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	user-select: none;
	display: flex;
	font-weight: bold;
	font-size: 16px;
	align-items: center;
	justify-content: center;
	background: white;
	border: 1px solid black;
	border-radius: 3px;
	height: 50px;
	width: 140px;
	z-index: 5;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

div.text_title,  div.text_header, div.text {
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	user-select: none;
	display: block;
	white-space: nowrap;
    position: absolute;
    font-size: 100%;
	z-index: 1;
}

div.text {
	font-weight: normal;
    color: #000;
}

div.text_header {
    font-weight: bold;
    color: #2e9afe;
}

div.text_title {
	font-weight: bold;
    color: #000;
}

/* технический анализ */

div.techan-wrap {
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	user-select: none;
	position: absolute;
	display: block;
	white-space: nowrap;
	left: -9000px;
	opacity: 0.6;
	z-index: 4;
	-moz-box-shadow: 0 0 3px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.5);
    box-shadow: 0 0 3px rgba(0,0,0,0.5);
	background: linear-gradient(to bottom, white, #ddd);
}

div.techan-wrap:hover {
	opacity: 1;
}

div.techan {	
	box-sizing: content-box;
	-webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    display: inline-block;
    position: relative;
    font-weight: normal;
	font-size: 100%;
	color: #2E2E2E;
    text-align: center;
    height: 20px;
	line-height: 20px;
	border: 1px solid #2E2E2E;
	vertical-align: middle;
    text-decoration: none;
	padding: 0px 5px 0px 5px;
}

div.techan-wrap div:nth-child(1) {
    border-radius: 3px 0px 0px 3px;
}

div.techan-wrap div:nth-child(2) {
	cursor: pointer;
	border-left: 0px;
}

div.techan-wrap div:nth-child(2):hover,
div.techan-wrap div:nth-child(3):hover {
	background: #ddd;
}

div.techan-wrap div:nth-child(3) {
	cursor: pointer;
    border-radius: 0px 3px 3px 0px;
	border-left: 0px;
}

div.ta_button {	
	box-sizing: content-box;
	-webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
	cursor: pointer;
    display: inline-block;
    position: relative;
    font-weight: normal;
	font-size: 100%;
	color: #2E2E2E;
    text-align: center;
    height: 20px;
	line-height: 20px;
	border: 1px solid #2E2E2E;
	border-radius: 3px;
	vertical-align: middle;
    background: linear-gradient(to bottom, white, #ddd);
	padding: 0px 5px 0px 5px;
}

div.ta_button:hover {
	background: #ddd;
}

div.ta_settings, div.palette {
    display: block;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	user-select: none;
    position: absolute;
    font-weight: normal;
	font-size: 100%;
	color: #2E2E2E;
	width: 230px;
    text-align: left;
	/*border: 1px solid #2E2E2E;*/
	border-radius: 3px;
	vertical-align: middle;
	z-index: 5;
	-moz-box-shadow: 0 0 3px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.5);
    box-shadow: 0 0 3px rgba(0,0,0,0.5);
	margin-top: 7px;
}

div.ta_settings {
	background: white;
	padding: 0px 15px 0px 15px;
}

div.ta_settings:before,
div.palette:before {
	content: "";
	position: absolute;
	display: block;
	top: -7px;
	left: 8px;
	width: 0;
	height: 0;
	border-bottom: 7px solid rgba(0,0,0,0.2);
	border-top: 0 solid rgba(0,0,0,0.2);
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	z-index: 6;
}

div.ta_settings:after,
div.palette:after {
	content: "";
	position: absolute;
	display: block;
	top: -5px;
	left: 10px;
	width: 0;
	height: 0;
	border-bottom: 5px solid rgba(255,255,255,1);
	border-top: 0 solid rgba(255,255,255,1);
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	z-index: 6;
}

div.palette {
	background: linear-gradient(to bottom, white, #ddd);
	padding: 5px 2px;
}

div.ta_dialogue {
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	user-select: none;
	display: flex;
    position: relative;
	font-size: 100%;
	align-items: center;
	justify-content: left;
	height: 24px;
}

div.picked_color {
	position: relative;
	display: inline-block;
	cursor: pointer;
	background: black;
	width: 24px;
	height: 24px;
}

div.title_picked_color {
	position: relative;
	display: inline-block;
}

div.chess {
	display: block;
	width: 24px;
	height: 24px;
    background-image: 
	/* tint image */
    linear-gradient(to right, rgba(192, 192, 192, 0.75), rgba(192, 192, 192, 0.75)),
    /* checkered effect */
    linear-gradient(to right, black 50%, white 50%),
    linear-gradient(to bottom, black 50%, white 50%);
    background-blend-mode: normal, difference, normal;
}

div.pick_color {
	display: inline-block;
	cursor: pointer;
	background: black;
	border: 1px solid #fff;
	width: 20px;
	height: 20px;
	margin: 1px;
}

div.pick_color:hover {
	border: 1px solid #000;
}

/* ------------- Pure CSS Click DropDown Menu --------------- */

/*Style for the first level menu bar*/
ul#menu{
	position: relative; /*fixed;*/
	top: 0;
	max-width: 300px;
	height: 3em;
	margin: 0;
	padding: 0;
	background: #ddd;
	color: #000;
	box-shadow:0 -1px rgba(0,0,0,.5) inset;
	z-index: 6;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
}

ul#menu > li{
	float: left;
	list-style-type: none;
	position: relative;
}

ul#menu > li > label{
	position: relative;
	display: block;
	padding: 0 18px 0 12px;
	line-height: 3em;
	transition: background 0.3s;
	cursor: pointer;
}

ul#menu > li > label:after{
	content: "";
	position: absolute;
	display: block;
	top: 50%;
	right: 5px;
	width: 0;
	height: 0;
	border-top: 4px solid rgba(0,0,0,.8);
	border-bottom: 0 solid rgba(0,0,0,.8);
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	transition: border-bottom .1s, border-top .1s .1s;
}

ul#menu > li > label:hover,
ul#menu > li > input:checked ~ label{background:rgba(0,0,0,.3);}

ul#menu > li > input:checked ~ label:after{
	border-top: 0 solid rgba(0,0,0,.8);
	border-bottom: 4px solid rgba(0,0,0,.8);
	transition: border-top .1s, border-bottom .1s .1s;
}

ul#menu > li > label div{
	display: inline-block;
	white-space: nowrap;
	vertical-align: middle;
}

/*hide the inputs*/
#menu input{display:none}
/*
input[rel=menu]{display:none}
input[type=radio]{display:none}
*/

/*show the second levele menu of the selected voice*/
ul#menu > li > input:checked ~ ul.submenu{
	max-height: 300px;
	transition: max-height 0.5s ease-in;
}

/*style for the second level menu*/
ul.submenu{
	max-height: 0;
	padding: 0;
	overflow: hidden;
	list-style-type: none;
	background: #fff;
    -moz-box-shadow: 0 0 3px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.5);
    box-shadow: 0 0 3px rgba(0,0,0,0.5);
	transition: max-height 0.5s ease-out;
	position: absolute;
	min-width: 100%;
}

ul.submenu li a{
	display: block;
	padding: 5px 10px 5px 10px;
	color: #000;
	text-decoration: none;
	/* box-shadow: 0 -1px rgba(0,0,0,.5) inset; */
	transition: background .3s;
	white-space: nowrap;
	vertical-align: middle;
}

ul.submenu li a:hover{
	background:rgba(0,0,0,.3);
}

/* -------------------------------------- */
div.icon_candlesticks,
div.icon_bars, 
div.icon_line {
	display: inline-block;
	position: relative;
	top: 0;
	left: 0;
	width: 16px;
	height: 16px;
	color: white;
	vertical-align: middle;
}

div.icon_candlesticks {
}

div.icon_line {
}

div.icon_bars {
}

div.check_indicator_show,
div.check_indicator_hide {
	display: inline-block;
    font-weight: bold;
    color: #008000;
    text-decoration: none;
}

div.check_indicator_show {
	opacity: 1;
}

div.check_indicator_hide {
	opacity: 0;
}

div.datepicker {
	display: inline-block;
	white-space: nowrap;
	cursor: pointer;
}
html {
	height: 100%;
	margin: 0px;
	padding: 0px;
}

@font-face {
    font-family: 'HelveticaNeueCyr';
    src: url('../font/HelveticaNeueCyr-Medium.ttf');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0px;
    padding: 0px; 
    height: 100%;
    font-size: 100%;
    font-family: 'HelveticaNeueCyr',Arial;
	background: white;
}

/* ----------------- fontello icons ---------------- */

@font-face {
    font-family: 'fontello';
    src: url('../font/fontello.eot?57592155'); /* ../ */
    src: url('../font/fontello.eot?57592155#iefix') format('embedded-opentype'),
        url('../font/fontello.woff?57592155') format('woff'),
        url('../font/fontello.ttf?57592155') format('truetype'),
        url('../font/fontello.svg?57592155#fontello') format('svg');	
    font-weight: normal;
    font-style: normal;
}

.fontello-icon {
	font-family: "fontello";
	font-style: normal;
	font-weight: normal;
	speak: none;
	display: inline-block;
	text-decoration: inherit;
	width: 1em;
	/* margin-right: .2em; */
	text-align: center;
    /* opacity: .8; */
     
    /* For safety - reset parent styles, that can break glyph codes*/
    font-variant: normal;
    text-transform: none;
     
    /* fix buttons height, for twitter bootstrap */
    line-height: 1em;
     
    /* Animation center compensation - margins should be symmetric */
    /* remove if not needed */
    /* margin-left: .2em; */
     
    /* You can be more comfortable with increased icons size */
    /* font-size: 120%; */
     
    /* Font smoothing. That was taken from TWBS */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
     
    /* Uncomment for 3D effect */
    /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

h1,h2,h3,h4 {
	text-align: center;
}

a[rel=hideonlowres]  {
	display: list-item;
}

div[rel=hideonlowres] {
	display: block;
}

span[rel=hideonlowres] {
	display: inline;
}
	
.w_5perc  { width: 5%; }
.w_10perc { width: 10%; }
.w_15perc { width: 15%; }
.w_20perc { width: 20%; }
.w_25perc { width: 25%; }
.w_30perc { width: 30%; }
.w_33perc { width: 33%; }
.w_35perc { width: 35%; }
.w_40perc { width: 40%; }
.w_45perc { width: 45%; }
.w_50perc { width: 50%; }

.w_1perc_fixed { width: 1%; }
.w_2perc_fixed { width: 2%; }
.w_3perc_fixed { width: 3%; }
.w_4perc_fixed { width: 4%; }
.w_5perc_fixed { width: 5%; }
.w_6perc_fixed { width: 6%; }
.w_7perc_fixed { width: 7%; }
.w_8perc_fixed { width: 8%; }
.w_9perc_fixed { width: 9%; }
.w_10perc_fixed { width: 10%; }
.w_15perc_fixed { width: 15%; }
.w_20perc_fixed { width: 20%; }
.w_25perc_fixed { width: 25%; }
.w_30perc_fixed { width: 30%; }
.w_33perc_fixed { width: 33%; }
.w_35perc_fixed { width: 35%; }
.w_40perc_fixed { width: 40%; }
.w_45perc_fixed { width: 45%; }
.w_50perc_fixed { width: 50%; }

div[rel=showonlowres],
span[rel=showonlowres] {
	display: none;
}

/* ----------- Адаптивный дизайн ---------- */

@media (max-width: 639px)  { body {font-size:110%;} }

#fullarea {
	display: table;
	width: 100%;
}

#leftarea, #rightarea {
	display: table-cell;
	vertical-align: top;
	padding: 10px;
}

#rightarea {
	width: auto;	
}

#leftarea {
	width: 0;
}

@media screen and (min-width: 640px) {
	#logo {
		display: block;
	}
	a.forum_circle span {
		background-position: 4px 0px;
	}
}

@media screen and (max-width: 639px) {
	#logo {
		display: none;
	}	
	a.forum_circle span {
		background-position: 4px 4px;
	}
}

@media screen and (min-width: 960px) {	
	#leftarea {
		display: table-cell;
		width: 300px;
	}
}

@media screen and (max-width: 959px) {	
	#rightarea {
		width: 100%;
	}
	
	#leftarea {
		display: none;
		width: 0px;
	}
}

@media screen and (max-width: 640px) {
		a[rel=hideonlowres], div[rel=hideonlowres], span[rel=hideonlowres] {
		display: none;
	}
	
	div[rel=showonlowres] {
		display: block;
	}
	
	span[rel=showonlowres] {
		display: inline;
	}
	
	.w_5perc,
	.w_10perc,
	.w_15perc,
	.w_20perc,
	.w_25perc,
	.w_30perc,
	.w_35perc,
	.w_33perc,
	.w_40perc,
	.w_45perc,
	.w_50perc { width: 100%; }
	
	.cell {
		display: block;
		width: 100%;
		text-align: left;
	}
}

/* ------------------------------------------------------ */

p,span,table {
    font-size: 100%;
}

hr {
    border: 0;
    color: #666;
    background-color: #666;
    height: 1px;
}

hr.search {
    border: 0;
    color: #666;
    background-color: #666;
    height: 1px;
    width: 300px;
}

li.main{
    margin-left: 15px;
}

table {
	border: 0px;
}

table td {
	padding: 0px;
}

dl {
	padding: 0;
	margin: 0;
}

dd {
    padding-left: 10px;
	margin: 0;
}

img {
    outline: none;
    border: 0px;
}

.bordered {
    border: 1px solid #666666;
}

img.sportsel {
    border: 2px solid #457ad2;
}

img.sportunsel {
    border: 2px solid #ededed;
}

img.test-pic {
	max-width: 100%;
}

@media screen and (min-width: 1200px) {
    img.test-pic {
        max-width: 1000px;
    }
}

a:link,a:visited {
	color: #0066cc;
	text-decoration: none;
}

a:active,a:hover {
	text-decoration: underline;
}

a.white {
    color: white;
}

a.white:hover {
    color: white;
}

/* ------------ контейнеры ----------- */

.container {
	display: block;
    max-width: 1200px; /* ограничиваем ширину таблицы */
	min-height: 600px;
	margin: auto;
}

div.parentwrap {
	width: 100%;
    text-align: center;
}

.fullimagewrap {
	display: inline-block;
    vertical-align: top;
	text-align: center;
	margin: 2px;
	white-space: normal;
	_display:inline;
    *display:inline;
}

.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.video-container iframe,  
.video-container object,  
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

div.adsense_wrap {
	display: block;
	width: 100%;
	max-height: 200px;
}

/* Style of chechbox */

label {
	display: inline;
}

.regular-checkbox {
	display: none;
}

.regular-checkbox + label {
	background-color: #fafafa;
	border: 1px solid #cacece;
	box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05);
	padding: 9px;
	border-radius: 3px;
	display: inline-block;
	position: relative;
}

.regular-checkbox + label:active, .regular-checkbox:checked + label:active {
	box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px 1px 3px rgba(0,0,0,0.1);
}

.regular-checkbox:checked + label {
	background-color: #e9ecee;
	border: 1px solid #adb8c0;
	box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.1);
	color: #99a1a7;
}

.regular-checkbox:checked + label:after {
	content: '\2714';
	font-size: 14px;
	position: absolute;
	top: 0px;
	left: 3px;
	color: #99a1a7;
}


.big-checkbox + label {
	padding: 18px;
}

.big-checkbox:checked + label:after {
	font-size: 28px;
	left: 6px;
}

.tag {
	font-family: Arial, sans-serif;
	width: 200px;
	position: relative;
	top: 5px;
	font-weight: bold;
	text-transform: uppercase;
	display: block;
	float: left;
}

.button-holder {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	margin-bottom: 3px;
}

.button-holder div:nth-child(2) {
	margin-left: 5px;
}

/* RADIO */

.regular-radio {
	display: none;
}

.regular-radio + label {
	-webkit-appearance: none;
	background-color: #fafafa;
	border: 1px solid #cacece;
	box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05);
	padding: 9px;
	border-radius: 50px;
	display: inline-block;
	position: relative;
}

.regular-radio:checked + label:after {
	content: ' ';
	width: 12px;
	height: 12px;
	border-radius: 50px;
	position: absolute;
	top: 3px;
	background: #99a1a7;
	box-shadow: inset 0px 0px 10px rgba(0,0,0,0.3);
	text-shadow: 0px;
	left: 3px;
	font-size: 32px;
}

.regular-radio:checked + label {
	background-color: #e9ecee;
	color: #99a1a7;
	border: 1px solid #adb8c0;
	box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.1), inset 0px 0px 10px rgba(0,0,0,0.1);
}

.regular-radio + label:active, .regular-radio:checked + label:active {
	box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px 1px 3px rgba(0,0,0,0.1);
}

.big-radio + label {
	padding: 16px;
}

.big-radio:checked + label:after {
	width: 24px;
	height: 24px;
	left: 4px;
	top: 4px;
}

/* inputs */

input[type=text] {
	padding-left: 5px;
	font-size: 100%;
}

textarea {
	padding: 5px;
	font-size: 100%;
}

/* соц сети */

.backsocseti {
    background-repeat: repeat;
    top: 2px;
    left: 240px;
    display: block;
    position: absolute;
    width: 220px;
    height: 28px;
    float: right;
    /* background-color: #fff; */
    opacity: 0.5;
    -moz-box-shadow: 0 -1px rgba(255,255,255,.3);
    -webkit-box-shadow: 0 -1px 0 rgba(255,255,255,.3);
    box-shadow: 0 -1px 0 rgba(255,255,255,.3);
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.setenglang, .setruslang {  
    background-position: 0px 0px;
    display: inline-block;
    width: 24px;
    height: 24px;
    margin: 2px 2px 0px 0px;
    z-index: 2;
}

.setenglang {
    background: url(../images/project/flag_en.png) 0 0 no-repeat;
    /* float: right; */
}

.setruslang {
    background: url(../images/project/flag_ru.png) 0 0 no-repeat;
    /* float: right; */
}

.vkshare,
.okshare,
.ljshare,
.twshare,
.fbshare,
.gpshare,
.blshare,
.addtobm {
    background: url(../images/project/socseti.png) 0 0 no-repeat;
    display: block;
    float: left;
    width: 24px;
    height: 24px;
    margin: 2px 2px 0px 0px;	
}

.vkshare:hover,
.okshare:hover,
.ljshare:hover,
.twshare:hover,
.fbshare:hover,
.gpshare:hover,
.blshare:hover {
    background: url(../images/project/socseti_hover.png) 0 0 no-repeat;	
}

.addtobm {
    background: url(../images/project/socseti.png) 0 0 no-repeat;
}

.addtobm:hover {
    background: url(../images/project/socseti_hover.png) 0 0 no-repeat;
}

/* вконтакте */

.vkshare {
    background-position: -96px 0px;
}

.vkshare:hover {
    background-position: -96px 0px;
}

/* одноклассники */

.okshare { 
    background-position: -144px 0px;
}

.okshare:hover {
    background-position: -144px 0px;
}

/* livejournal */

.ljshare { 
    background-position: -120px 0px;
}

.ljshare:hover {
    background-position: -120px 0px;
}

/* twitter */

.twshare {  
    background-position: -48px 0px;
}

.twshare:hover {
    background-position: -48px 0px;
}

/* facebook */

.fbshare {
    background-position: -72px 0px;
}

.fbshare:hover {
    background-position: -72px 0px;
}

/* google+ */

.gpshare { 
    background-position: -24px 0px;
}

.gpshare:hover {
    background-position: -24px 0px;
}

/* blogger */

.blshare {  
    background-position: -168px 0px;
}

.blshare:hover {
    background-position: -168px 0px;
}

/* соц. сети */

.shareurl img {
    padding: 5px 0px 0px 5px;
    opacity: 0.9;
}

.shareurl img:hover {
    opacity: 1;
}

/* ---------------- Выбор языка ------------------ */

img.sel_lang {
	width: 16px;
	float: left;
	margin: 0 10px 10px 0;
}

/* ------------------- Поиск --------------------- */

input.searchbox {
    position: relative;
    top: 3px;
    width: 300px;
    height: 23px;
    color: #000;
    border: solid 1px #000;
    opacity: 0.8;
}

input.searchboxactive {
    position: relative;
    top: 3px;
    width: 300px;
    height: 23px;
    color: #000;
    border: solid 1px #000;
    opacity: 0.9;
}

.searchcell {
    background: #084282;
}

table.searchres td {
    padding: 5px;
}

input.fbut {
	overflow: visible;
    position: relative;
}

input.fbut, button, a.fbut {
    cursor: pointer;
    cursor: hand;
    padding: 4px;
    border: 1px solid #CCCCCC;
    background: #e0e0e0;
    background: -moz-linear-gradient(top, #fff, #e0e0e0);
    background: -ms-linear-gradient(top, #fff, #e0e0e0);
    background: -webkit-gradient(linear,left top, left bottom, from(#fff), to(#e0e0e0));
    background: -o-linear-gradient(top, #fff, #e0e0e0);
    filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#ffffff', EndColorStr='#e0e0e0', GradientType=0);
    color: #666666;
    text-shadow: none !important;
    border-radius: 4px;
}

a.fbut {
	display: inline-block;
	text-decoration: none;
}

.fbut:hover, .fbut:active, .fbut:focus, button:hover {
    border: 1px solid #999;
    background: #fff;
    background: -moz-linear-gradient(top, #fff, #999);
    background: -ms-linear-gradient(top, #fff, #999);
    background: -webkit-gradient(linear,left top, left bottom, from(#fff), to(#999));
    background: -o-linear-gradient(top, #fff, #999);
    filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#ffffff', EndColorStr='#999999', GradientType=0);
    color: #666666;
    text-shadow: none !important;
    border-radius: 4px;
}

.searchbut {
    width: 24px;
    height: 24px;
    cursor: pointer;
    cursor: hand;
}

/* -------------- Confirmations -------------- */

table.confirm {
	margin: 0 auto;
	border-collapse: collapse;
	width: 100%;
}

table.confirm td {
	padding: 5px;
	vertical-align: middle;
	text-align: center;
	background-color: #FAFAFA;
}

/* ------------------- Новости ------------------- */

.news {
    background: #ededed;
    width:220px;
    color: #000;
    border: 1px #084282 solid;
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    -khtml-border-radius: 5px 5px 0 0;
    border-radius: 5px;
    padding: 4px;
    text-align: justify;
}

.results {
    border: 1px solid lightgrey;
    border-collapse: collapse;
    background: #f2f2f2;
}

.notification {
    border: 1px solid #084282;
    padding: 4px;
    color: #084282;
    text-align: center;
}

.topnotification {
    background: white;
    padding: 4px;
    text-align: justify;
}

.simplenotification {
    border: 1px solid #084282;
    padding: 4px;
    text-align: justify;
}

.moredetails {
	display: block;
	width: 100%;
	text-align: right;
	position: relative;
}

.profilewrap {
	display: block;
    height: 340px;
	width: 100%;
    background: #fafafa;
    color: #000;
    border: 1px #666666 solid;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
}

.wrapdate {
    background: #ededed;
    -moz-border-radius: 2px 2px 0 0;
    -webkit-border-radius: 2px 2px 0 0;
    -khtml-border-radius: 2px 2px 0 0;
    border-radius: 2px 2px 2px 2px;
    padding: 3px;
}

.wrapactualdate {
    background: #d1d1d1;
    -moz-border-radius: 2px 2px 0 0;
    -webkit-border-radius: 2px 2px 0 0;
    -khtml-border-radius: 2px 2px 0 0;
    border-radius: 2px 2px 2px 2px;
    padding: 3px;
}

.imagewrap {
    display: block;
	width: 175px;
	height: 175px;
    background: #ededed;
    color: #000;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
}

.middleimagewrap {
    display: block;
    width: 115px;
    height: 115px;
    line-height: 115px;
    vertical-align: middle;
    text-align: center;
    background: #ededed;
    color: #000;
    border: 1px #666666 solid;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -khtml-border-radius: 3px;
    border-radius: 3px;
    padding: 5px;
}

.smallimagewrap {
    display: block;
    width: 85px;
    height: 85px;
    line-height: 85px;
    vertical-align: middle;
    text-align: center;
    background: #ededed;
    color: #000;
    border: 1px #666666 solid;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -khtml-border-radius: 3px;
    border-radius: 3px;
    padding: 5px;
}

.vkontakte-middle-imagewrap {
    display: block;
    width: 150px;
    height: 150px;
    line-height: 150px;
    vertical-align: middle;
    text-align: center;
    background: #ededed;
    color: #000;
    border: 1px #666666 solid;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -khtml-border-radius: 3px;
    border-radius: 3px;
    /* padding: 5px; */
}

/* ------------------------ Пользовательская галерея --------------------------- */

.vkimages {
    display: block;
    text-align: center;
    width: 100%;
}

a.copy, a.delete, a.crop, a.rotateleft, a.rotateright, a.load {
    display: inline-block;
    height: 24px;
    width: 24px;
    margin-top: 2px;
	background-position: 0 0;
}

a.copy:hover, a.delete:hover, a.crop:hover, a.rotateleft:hover, a.rotateright:hover {
	background-position: 0 -24px;
}

a.copy {
    background: url(../images/project/copy_icon.png);
}

a.delete {
    background: url(../images/project/delete_icon.png);
}

a.crop {
    background: url(../images/project/crop_icon.png);
}

a.rotateleft {
    background: url(../images/project/rotateleft_icon.png);
}

a.rotateright {
    background: url(../images/project/rotateright_icon.png);
}

a.load {
    background: url(../images/project/loading.gif);
}

/* анимация */

.img_item {
    position: absolute;
    left: 0px;
    top: 0px;
    border:1px solid #666666;
    opacity: 0;
    height: 0px;
    width: 0px;
    z-index: 10;
}

/* ----------------------------------------------------------- */

.formula {
    border: 1px solid #084282;
    padding: 10px;
}

.mini {
    font-size: 80%;
}

.ratingincrement {
    border: 1px solid #084282;
    padding: 4px;
    color: #084282;
    text-align: center;
}

.signature {
    display: table-cell;
    width: 100%;
    text-align: left;
}

/* ---------------- Загрузка файлов ------------- */

.fileform { 
    background-color: #FFFFFF;
    cursor: pointer;
    height: 46px;
    width: 910px;
    overflow: hidden;
    padding: 1px 0px 1px 0px;
    position: relative;
    text-align: center;
    vertical-align: middle;
}

.fileformtext {
    display: block;
    vertical-align: middle;
    background-color: #ededed;
    border: 1px solid #ccc;
    border-radius: 10px;
    height: 44px;
    line-height: 44px;
    color: #457ad2;
    font-weight: bold;
}

.fileformtexthover {
    display: block;
    vertical-align: middle;
    background-color: #ccc;
    border: 1px solid #457ad2;
    border-radius: 10px;
    height: 44px;
    line-height: 44px;
    color: #457ad2;
    font-weight: bold;
}
 
.fileform #images{
    position:absolute; 
    top:0; 
    left:0; 
    width:100%; 
    -moz-opacity: 0; 
    filter: alpha(opacity=0); 
    opacity: 0;
    height: 46px; 
    z-index: 20;
    cursor: pointer;
}

/* Прогресс закачки файлов */

.progress {
    display: block;
	float: left;
    width: 100%;
	background-color: #ededed;
    border: 1px solid #457ad2;
	border-radius: 10px;
    height: 46px;
	vertical-align: middle;
	line-height: 46px;
	color: #000;
    font-weight: bold;
    text-align: center;
    background-repeat: no-repeat;
    background-position: -100% center;
	position: relative;
}

.progress2 {
    display: block;
	float: left;
    width: 150px;
    border: 1px solid #888888;
    height: 18px;
    text-align: center;
    background-repeat: no-repeat;
    background-position: -150px center;
	position: relative;
	top: -3px;
}

/* ---------------- Верх страницы------------------ */

div.header {
    color: #fff;
	background: #616e7f;
}

/* ---------------- Низ страницы ----------------- */

div.pre-footer {
	display: block;
	width: 100%;
	height: 10px;
	background: #03a4e2;
}

.footer {
	display: block;
	width: 100%;
    color: #fff;
	background: #424242;
    background: -moz-linear-gradient(top, #424242, #6E6E6E);
    background: -ms-linear-gradient(top, #424242, #6E6E6E);
    background: -webkit-gradient(linear,left top, left bottom, from(#424242), to(#6E6E6E));
    background: -o-linear-gradient(top, #424242, #6E6E6E);
}

.footer span, .footer a {
	color: #fff;
}

/* ----------------------------------------------- */

ul, li {
    margin: 0;
    padding: 0;
    border: 0;
}

li {
	list-style: none;
}

.ok {
    font-weight: bold;
    color: #008000;
    text-decoration: none;
}

.error {
    font-weight: bold;
    color: #FF0000;
    text-decoration: none;
}

/* Выигрыш очка */

td.hl {
    background-color: #d6d6d6;
}

td.check {
    background-position: center center;
    opacity: 0.1;
    cursor: pointer;
}

td.hlpoint {
    background-color: black;
    background-position: center center;
    opacity: 0.1;
    cursor: pointer;
}

td.checked {
    background-position: center center;
    opacity: 1.0;
    cursor: pointer;
}

/* Проигрыш очка */

td.errcheck {
    background-position: center center;
    opacity: 0.1;
    cursor: pointer;
}

td.errhlpoint {
    background-color: black;
    background-position: center center;
    opacity: 0.1;
    cursor: pointer;
}

td.errchecked {
    background-position: center center;
    opacity: 1.0;
    cursor: pointer;
}

/* Матрица товаров */

table.matrix {
    border-collapse: collapse;
	width: 100%;
}

table.matrix th {
    padding: 4px;
    color: #fff;
    background: #457ad2;
	border: 1px solid white;
    text-align: center;
}

table.matrix td {
    padding: 4px;
	text-align: center;
	vertical-align: middle;
	border: 1px solid white;
	height: 30px;
}

table.matrix tr:nth-child(odd) td:nth-child(even),
table.matrix tr:nth-child(even) td:nth-child(odd) {
	background-color: #f9f9f9;
	/*
	border-top: 1px solid #dee2e6;
	border-bottom: 1px solid #dee2e6;
	*/
}

table.matrix tr:nth-child(even) td:nth-child(even),
table.matrix tr:nth-child(odd) td:nth-child(odd) {
	/* background: #ededed; */
}

/* Галерея */

table.gallery {
	width: 100%;
    border-spacing: 0px;
}

table.gallery td {
    padding: 5px;
}

table.gallery th  {
    background: white;
}

table.forumstatus td {
    padding: 2px;
}

table.main {
    border-collapse: collapse;
	width: 100%;
}

table.main td {
    padding: 4px;
}

table.main th {
    padding: 4px;
    color: #fff;
    background: #457ad2;
    text-align: center;
}

table.main tr:nth-child(odd) {
	/*background-color: #ededed;*/
}

table.main tr:nth-child(even) {
	background-color: #f9f9f9;
	border-top: 1px solid #dee2e6;
	border-bottom: 1px solid #dee2e6;
}

table.main th:first-child {
	border-top-left-radius: 3px;
	-moz-border-radius-topleft: 3px;
	-webkit-border-top-left-radius: 3px;
}

table.main th:last-child {
	border-top-right-radius: 3px;
	-moz-border-radius-topright: 3px;
	-webkit-border-top-right-radius: 3px;
}

input.main {
	width: 95%;
	max-width: 500px;
	height: 24px;
    color: #000;
    border: solid 1px #084282;
    margin-top: 2px;
	-moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -khtml-border-radius: 2px;
    border-radius: 2px;
	background-color: #fff;
}

input.mainsearch {
	width: 240px;
	height: 24px;
    color: #000;
    border: solid 1px #084282;
    margin-top: 2px;
	-moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -khtml-border-radius: 2px;
    border-radius: 2px;
	background-color: #fff;
}

input.mainsmall {
    width: 100px;
	height: 24px;
    color: #000;
    border: solid 1px #084282;
    margin-top: 2px;
	-moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -khtml-border-radius: 2px;
    border-radius: 2px;
	background-color: #fff;
}

input.maintiny {
	padding: 0 !important;
    width: 22px;
	height: 24px;
    color: #000;
    border: solid 1px #084282;
    margin-top: 2px;
	-moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -khtml-border-radius: 2px;
    border-radius: 2px;
	background-color: #fff;
	text-align: center;
}

textarea {
	width: 95%;
	max-width: 500px;
	font-size: 100%;
	-moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -khtml-border-radius: 2px;
    border-radius: 2px;
	border: solid 1px #084282;
    color: #000;
    resize: none;
}

textarea.maintext {
    height: 200px;
}

textarea.mainsmalltext {
    height: 100px;
}

textarea.maintinytext {
    height: 50px;
}

select {
    font-size: 100%;
    font-style: normal;
    color: #000;
    border: solid 1px #084282;
}

option.sel {
	background-color: #ededed;/* #fafafa;  */
}

table.personaldata {
    border-collapse: separate;
    background: #fff;
}

table.personaldata  td{
    font-size: 100%;
    font-style: normal;
    padding: 5px 10px;
    border: 1px solid #084282;
    background: #f7f4ef;
}

input.sscore {
    width: 16px;
    height: 16px;
    text-align: center;
    color: #084282;
    border: solid 1px #084282;
    margin: 2px;
}

table.print {
    border-collapse: collapse; 
}

table.print td {
    padding: 0px;
    height: 33px;
    border: 1px solid black;
}

table.print th {
    border: 1px solid black;
    padding: 1px;
    color: black;
}

.print-inactive {
    background: #000;
}

select.seloption {
    color: #084282;
    border: solid 1px #084282;
}

table.personaldata {
    border-collapse:separate;
    background: #fff;
}

table.personaldata  td{
    padding: 5px;
    border:1px solid #666666;
    background: #ededed;
}

/* live search */

.highlight {
    background: #FF9;
}

a.lsresult, a.lsresult-active { 
    display: block;
    text-align: left;
    width: 100%;
	float: left;
    min-height: 24px;
    padding: 5px;
    text-decoration: none;
    border: 0px;
	cursor: hand;
	cursor: pointer;
	user-select: none;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
}

a.lsresult {
    background: #fff;	
}

a.lsresult-active {
    background-color: #3875d7;
	background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #3875d7), color-stop(90%, #2a62bc));
	background-image: -webkit-linear-gradient(#3875d7 20%, #2a62bc 90%);
	background-image: -moz-linear-gradient(#3875d7 20%, #2a62bc 90%);
	background-image: -o-linear-gradient(#3875d7 20%, #2a62bc 90%);
	background-image: linear-gradient(#3875d7 20%, #2a62bc 90%);
	color: white;
}
		
#search_advice_wrapper {
	position: absolute;
    width: 50%;
    box-shadow: 0 0 3px rgba(0,0,0,0.5);
    -moz-box-shadow: 0 0 3px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.5);
	
	-moz-border-radius: 0px 0px 3px 3px;
    -webkit-border-radius: 0px 0px 3px 3px;
    -khtml-border-radius: 0px 0px 3px 3px;
    border-radius: 0px 0px 3px 3px;
	
    /* For IE 8 */
    filter: progid:DXImageTransform.Microsoft.dropshadow(offX=-1, offY=1, color=#000000)
            progid:DXImageTransform.Microsoft.dropshadow(offX=1, offY=-1, color=#000000);
    top: 100px;
    left: 0px;
    z-index: 1000;
}

#search_advice_wrapper .lsresult {
	border-bottom: 1px dotted #ccc;
}

#search_advice_wrapper .lsresult:last-child {
	border-radius: 0px 0px 3px 3px;
	border-bottom: 0px;
}

/* Live search image */

img.lsitem {
	float: left;
	vertical-align: top;
	width: 30px;
	margin-right: 5px;
    border-radius: 2px;	
	-moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -khtml-border-radius: 2px;
}

/* ----------------------------------------------------- */

.off {
    display: none;
}

.invisible {
    opacity: 0;
    display: none;
}

.transparent {
    opacity: 0;
}

/*  --- круговая система --- */

table.roundrobin {
	background: #ededed;
    border-collapse: collapse;
	padding: 0px;
}

table.roundrobin td {
    padding: 0px;
    border: 1px solid #fff;
	vertical-align: middle;
    color: #000;
}

table.roundrobin th {
    border: 1px solid #fff;
    color: #fff;
    background: #457ad2;
	vertical-align: middle;
	padding: 0px;
}

table.roundrobin th span {
    display: block;
    position: absolute;
    bottom: 0%;
    left: 0%;
    width: 100%;
}

td.highlight {
    background: #FF9;
	cursor: pointer;
	cursor: hand;
	vertical-align: middle;
}

td.passive {
	background: #ededed;
	vertical-align: middle;
}

td.inactive {
    background: #457ad2;
	vertical-align: middle;
}

div.passive {
	display: table-cell;
	float: left;
	position: relative;
	border-left: 1px solid #fff;
	width: 40px;
	height: 22px;
	background: #ededed;
	text-align: center;
	line-height: 22px;
	vertical-align: middle;
}

div.passive:hover {
	background: #FF9;
    cursor: pointer;
	cursor: hand;
}

div.inactive {
	display: table-cell;
	float: left;
	position: relative;
	border-left: 1px solid #fff;
	width: 40px;
	height: 22px;
	text-align: center;
    background: #457ad2;
	line-height: 22px;
	vertical-align: middle;
}

.win {
    color: #1da103;
}

.loss {
    color: #f00;
}

.finished {
    color: grey;
}

/*---------- навигация ----------*/

.pagenav {
    font-size: 100%;
    margin: 1px;
}

.pagenav span {
    color: #fff;
    background-color: #666666;
    padding: 5px 8px 5px 8px;
    border-radius: 3px;
	display: inline-block;
    vertical-align: middle;
	_display:inline;
    *display:inline;
	margin: 1px;
}

.pagenav a, div.punkt, a.punkt, div.punkt_off, span.punkt {
    color: #000;
    background-color: #C8C8C8; /* ededed; */
    padding: 5px 8px 5px 8px;
    text-decoration: none;
    border-radius: 3px;
	display: inline-block;
    vertical-align: middle;
	_display:inline;
    *display:inline;
	margin: 1px;
}

.pagenav a:hover, a.punkt:hover {
    color: #fff;
    background-color: #666666;
}

div.punkt_off {
    background-color: #FAFAFA;
}

a.punkt {
	cursor: pointer;
}

/* -------------------------------- */

a.but {
    display: inline-block;
    color: #084282;
    background-color: #ededed;
    border-radius: 3px;
    border: 1px solid #084282;
    padding: 4px;
    vertical-align: middle;
    height: 24px;
    line-height: 24px;
    margin-top: 1px;
    margin-left: 0px;
    font-size: 120%;
    text-decoration: none;
    text-align: left;
}

a.but:hover {
    color: #ededed;
    background-color: #084282;
    text-decoration: none;
}

/* меню */

.menu span {
    color: #000;
    padding: 0.2em 0.4em 0.2em 0.4em;
    margin: 0.2em;
}

.admmenu a {
    display: block;
    width: 160px;
    color: #084282;
    background-color: #ededed;
    border: 1px solid #084282;
    padding: 3px;
    margin-top: 1px;
    margin-left: 0px;
    text-decoration: none;
    text-align: left;
}

.admmenu a:hover {
    color: #ededed;
    background-color: #084282;
    text-decoration: none;
}

.menu a {
    display: block;
    width: 220px;
    color: #ededed;
    background-color: #084282;
    padding:7px;
    margin-top: 1px;
    margin-left: 0px;
    text-decoration: none;
    text-align: left;
}

.menu a:hover {
    color: #000;
    background-color: #ededed;
    text-decoration: none;
}

/* ----------------- стрелка вверх ---------------------- */
.go-up,
.go-down {
    display:none;
    position: fixed;
    right: 5px; /*указываем положение, если слева - left*/
    z-index: 9999; /*показываем поверх все элементов на странице*/
    background: #4F4F4F;
    border: 2px solid #ccc;
    box-shadow: 0 10px 0.3em -0.1em rgba(0,0,6,0.5); /*тень*/
    border-radius: 10px;
    cursor: pointer;
    color: #fff; /*цвет стрелок*/
    text-align: center;
    font-size: 28px; /*размер стрелок*/
    /*font: normal normal 28px/28px sans-serif;*/
    text-shadow: 0 1px 2px #000, 0 0 10px #E0F1FF;
    opacity: 0.7; /*прозрачность*/
    padding: 2px;
    margin-bottom: 5px; /*отступ снизу (можно не указывать)*/
    width: 48px;
    height: 48px;
}
.go-up {
    bottom: 55px; /*положение от низа окна браузера*/
}
.go-down {
    bottom: 5px;
}
/*стили при наведении курсора*/
.go-down:hover,
.go-up:hover {
    opacity: 1;
}

/*  java кнопки и строка помощи*/
.genmed {
    font-size: 90%;
}

.helpline {
    background-color: #ededed;
    border-style: none;
}

input.button {
    background-color: #EFEFEF;
    color : #000000;
    font-size: 90%;
}

/* --------------- Forum ----------------- */

.topics {
	background: #f0f0f0;
	padding: 10px 10px 0 10px !important;
	border-radius: 5px;
}

.topics_wrap {
	height: 300px;
	width: 100%;
	display: block;
	overflow-y: scroll;
	border: solid 1px #b3bbc1;
	border-radius: 5px;
}

.topics .row {
	border-collapse: collapse;
	box-shadow:
	    0 0 1px 1px rgba(255, 255, 255, 0.5) inset,
		0 0 3px 1px rgba(128, 128, 128, 0.1) inset,
		1px 1px 3px rgba(0, 0, 0, 0.15),
		0 10px 10px -10px rgba(0, 0, 0, 0.2);
	margin-bottom: 10px;
	border-radius: 5px;
}

.topics .row div:nth-child(2) {
	border-radius: 0 5px 5px 0;
}

.topics .row {
	background: #ededed !important;
}

@media screen and (max-width: 768px) {
	.topics .row div:nth-child(2) {
		border-radius: 0 0 5px 5px;
	}
}

.forum_data {
	display: table;
	border-spacing: 0;
}

.forum_icon, .forum_title {
	display: table-cell;
	vertical-align: top;
}

.forum_icon {
	width: 35px;
}

a.forum, div.forum, a.forum_tool, input.bbcode {
	all: unset;
	display: inline-block;
	color: #404040;
	border: 1px solid #404040;
	font-size: 100%;
	background-image: -moz-linear-gradient(#FAFAFA, #D8D8D8);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#FAFAFA), to(#D8D8D8));
    background-image: -webkit-linear-gradient(#FAFAFA, #D8D8D8);
    background-image: -o-linear-gradient(#FAFAFA, #D8D8D8);
    background-image: -ms-linear-gradient(#FAFAFA, #D8D8D8);
	background: linear-gradient(#FAFAFA, #D8D8D8);
	margin: 1px;
	-moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
	text-decoration: none;
	white-space: nowrap;
}

a.forum, div.forum {
    padding: 2px 4px 2px 2px;
}

a.forum_tool {
	padding: 2px 4px 2px 4px;
}

div.f_icon { /* fontello icon inside a block */
	font-family: "fontello";
	display: inline-block;
}

a.forum_circle,
div.forum_circle,
div.forum_circle_new,
div.forum_circle_online,

div.forum_circle_small,
div.forum_circle_small_new,
div.forum_circle_small_online,
div.forum_circle_small_offline {
	all: unset;
	display: inline-block;
	position: relative;
	width: 30px;
	height: 30px;	
	line-height: 30px;
	text-align: center;
	vertical-align: middle;
    border-radius: 50%;
	-moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    -khtml-border-radius: 50%;
	font-family: "fontello";
	font-size: 20px;
	color: #404040;
	border: 1px solid #0066cc;
	background-image: -moz-linear-gradient(#FAFAFA, #D8D8D8);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#FAFAFA), to(#D8D8D8));
    background-image: -webkit-linear-gradient(#FAFAFA, #D8D8D8);
    background-image: -o-linear-gradient(#FAFAFA, #D8D8D8);
    background-image: -ms-linear-gradient(#FAFAFA, #D8D8D8);
	background: linear-gradient(#FAFAFA, #D8D8D8);
	user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	-webkit-user-select: none;
}


a.forum, a.forum_tool, a.forum_circle {
	cursor: pointer;
}

div.forum_circle_small,
div.forum_circle_small_new,
div.forum_circle_small_online,
div.forum_circle_small_offline {
	width: 24px;
	height: 24px;	
	line-height: 24px;
	font-size: 16px;
}

a.forum_circle {
	text-decoration: none;
}

div.forum_circle_new {
	border: 1px solid orange;
}

div.forum_circle_online, div.forum_circle_small_online {
	border: 1px solid green;
	color: green;
}

div.forum_circle_small_online:before,
div.forum_circle_small_offline:before {
	display: inline-block;
	position: absolute;
	bottom: 1px;
	right: 4px;
	content: '\e814';
}

div.forum_circle_small_offline {
	border: 1px solid red;
	color: red;
}

div.forum_circle_small_new {
	border: 1px solid orange;
	color: orange;
}

a.forum:hover,
a.forum_tool:hover,
div.forum:hover {
	border: 1px solid black;
	color: black;
}

a.forum_circle:hover {
	color: black;
}

.f_edit span:before,
.f_quote span:before,
.f_delete span:before,
.f_www span:before,
.f_pm span:before,
.f_post span:before,
.f_reply span:before,
.f_locked span:before,
.f_unlocked span:before,
.f_move span:before,
.f_gallery span:before,
.f_last_message span:before {
	font-family: "fontello";
	padding-left: 4px;
	padding-right: 4px;
}

.f_delete div:before,
.f_locked div:before,
.f_unlocked div:before,
.f_post div:before,
.f_new_post div:before,
.f_move div:before {
	font-family: "fontello";
	display: inline-block;
}

.f_edit span:before {
	content: '\e807';
}

.f_quote span:before {
	content: '\f10d';
}

.f_delete span:before,
.f_delete div:before {
    content: '\e810';
}

.f_delete div:before {
   right: 6px;
}

.f_www span:before {
    content: '\f14c';
}

.f_pm span:before {
    content: '\f0e0';
}

.f_post span:before,
.f_post div:before {
    content: '\f24a';
}

.f_new_post div:before {
    content: '\f249';
}

.f_new_post span:before,
.f_new_post div:before {
    color: orange;
}

.f_reply span:before {
    content: '\f112';
}

.f_locked span:before,
.f_locked div:before {
    content: '\e80e';
}

.f_locked div:before {
   right: 8px;
}

.f_unlocked span:before,
.f_unlocked div:before {
    content: '\e80f';
}

.f_move span:before,
.f_move div:before {
    content: '\f047';
}

a.f_last_message {
	text-decoration: none;
}

.f_last_message span:before {
    content: '\e802';
	font-size: 80%;
}

div.f_gallery {
	display: inline-block;
}

.f_gallery span:before {
	content: '\f1c5';
}

.f_whosonline div:before {
	font-family: "fontello";
	font-size: 20px;
	content: '\e815';
	display: inline-block;
	position: absolute;
	right: 5px;
}

div.f_text { /* old f_body */
	background: #f9fafb;
	padding: 5px;
}

div.f_text ul {
    list-style: none;
    margin-left: 0;
    padding-left: 1.2em;
    text-indent: -1em;
}

div.f_text li {
	list-style: none;
}

div.f_text li:before {
    content: "\25FE";
    display: block;
    float: left;
    width: 1em;
}

input.bbcode {
    padding: 2px 4px 2px 4px;
	cursor: pointer;
}

input.bbcode:hover {
	border: 1px solid black;
	color: black;
}

.quote {
    display: block;
    width: 90%;
    text-align: left;
    border: 1px #b3bbc1 solid;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
    padding: 5px;
}

div[rel=user_data] {
	padding: 2px;
}

/*-------------------------- */

/* Навигация */
#pagination_wrap{
	width: 100%;
	/* text-align: center; */
}

/*** Постраничная навигация базовый стиль ***/
.pagination{
	width: 100%;
	margin: 0 auto;
	/* text-align: center; */
}

.pagination ul{
    width:100%;
    padding:0px;
}

.pagination ul li{
    display:inline-block;
    list-style:none;
    margin:1px 1px;
    font-size:100%;
}

.pagination ul li a, .pagination ul li a:visited{
    display:block;
    padding:5px 10px;
    text-decoration:none;
}

.pagination ul li a:hover{
    display:block;
    padding:5px 10px;
    text-decoration:none;
}

/***** Белый *****/
.pagination ul li a:link.whitesquare, .pagination ul li a:visited.whitesquare{
    border:1px solid #CCCCCC;
    background: #e0e0e0;
    background: -moz-linear-gradient(top, #fff, #e0e0e0);
    background: -ms-linear-gradient(top, #fff, #e0e0e0);
    background: -webkit-gradient(linear,left top, left bottom, from(#fff), to(#e0e0e0));
    background: -o-linear-gradient(top, #fff, #e0e0e0);
    filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#ffffff', EndColorStr='#e0e0e0', GradientType=0);
    color:#666666;
    text-shadow:none !important;
}

.pagination ul li a:hover.whitesquare{
    border:1px solid #999;
    background: #fff;
    background: -moz-linear-gradient(top, #fff, #999);
    background: -ms-linear-gradient(top, #fff, #999);
    background: -webkit-gradient(linear,left top, left bottom, from(#fff), to(#999));
    background: -o-linear-gradient(top, #fff, #999);
    filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#ffffff', EndColorStr='#999999', GradientType=0);
    color:#666666;
    text-shadow:none !important;
}

.pagination ul li a:link.whitesquareactive, .pagination ul li a:visited.whitesquareactive{
    border:1px solid #999;
    background: #fff;
    background: -moz-linear-gradient(top, #fff, #999);
    background: -ms-linear-gradient(top, #fff, #999);
    background: -webkit-gradient(linear,left top, left bottom, from(#fff), to(#999));
    background: -o-linear-gradient(top, #fff, #999);
    filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#ffffff', EndColorStr='#999999', GradientType=0);
    color:#666666;
    text-shadow:none !important;
}

.pagination ul li a:hover.whitesquareactive{
    border:1px solid #CCCCCC;
    background: #e0e0e0;
    background: -moz-linear-gradient(top, #fff, #e0e0e0);
    background: -ms-linear-gradient(top, #fff, #e0e0e0);
    background: -webkit-gradient(linear,left top, left bottom, from(#fff), to(#e0e0e0));
    background: -o-linear-gradient(top, #fff, #e0e0e0);
    filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#ffffff', EndColorStr='#e0e0e0', GradientType=0);
    color:#666666;
    text-shadow:none !important;
}

.pagination ul li a:link.whitecurve, .pagination ul li a:visited.whitecurve{
    border:1px solid #CCCCCC;
    background: #e0e0e0;
    background: -moz-linear-gradient(top, #fff, #e0e0e0);
    background: -ms-linear-gradient(top, #fff, #e0e0e0);
    background: -webkit-gradient(linear,left top, left bottom, from(#fff), to(#e0e0e0));
    background: -o-linear-gradient(top, #fff, #e0e0e0);
    filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#ffffff', EndColorStr='#e0e0e0', GradientType=0);
    color:#666666;
    text-shadow:none !important;
    border-radius:4px;
}

.pagination ul li a:hover.whitecurve{
    border:1px solid #999;
    background: #fff;
    background: -moz-linear-gradient(top, #fff, #999);
    background: -ms-linear-gradient(top, #fff, #999);
    background: -webkit-gradient(linear,left top, left bottom, from(#fff), to(#999));
    background: -o-linear-gradient(top, #fff, #999);
    filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#ffffff', EndColorStr='#999999', GradientType=0);
    color:#666666;
    text-shadow:none !important;
    border-radius:4px;
}

.pagination ul li a:link.whitecurveactive, .pagination ul li a:visited.whitecurveactive{
    border:1px solid #999;
    background: #fff;
    background: -moz-linear-gradient(top, #fff, #999);
    background: -ms-linear-gradient(top, #fff, #999);
    background: -webkit-gradient(linear,left top, left bottom, from(#fff), to(#999));
    background: -o-linear-gradient(top, #fff, #999);
    filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#ffffff', EndColorStr='#999999', GradientType=0);
    color:#666666;
    text-shadow:none !important;
    border-radius:4px;
}

.pagination ul li a:hover.whitescurveactive{
    border:1px solid #999;
    background: #fff;
    background: -moz-linear-gradient(top, #fff, #999);
    background: -ms-linear-gradient(top, #fff, #999);
    background: -webkit-gradient(linear,left top, left bottom, from(#fff), to(#999));
    background: -o-linear-gradient(top, #fff, #999);
    filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#ffffff', EndColorStr='#999999', GradientType=0);
    color:#666666;
    text-shadow:none !important;
    border-radius:4px;
}

/*  ----- */

.loading {
    position: relative;
	top:0;
	left:0;
    z-index: 2;
}

.loadblocktv {
    position: absolute;
	top: 140px;
	left: 220px;
    color: #000;	
    z-index: 2;
}

.loadchart {
	display: block;
    position: absolute;
	text-align: center;
	top: 100px;	
    z-index: 2;
}

.loadtopplayers {
    position: absolute;
	top: 50px;
	left: 440px;
    z-index: 2;
}

.descrphoto {
    position: relative;
	top: -28px;
}

img.navphoto   {
    position: relative;
    top: -36px;
    left: -8px;
    border: 0;
    margin-left: 1px;
    z-index: 2;
}

img.titlephoto   {
    position: relative;
    top: -36px;
    left: -14px;
    border: 0;
    z-index: 2;
}

div.titlephoto   {
    position: relative;
    top: -56px;
    left: -54px;
    color: #FFF;  
    z-index: 3;
}

/* фото */

.imagetitlewrap {
	display: block;
	width: 170px;
}

.parentimagewrap {
	width: 100%;
    text-align: center;
}

img.photo {
    position: relative;
    top: 0px;
    left: 0;
    border: 1px solid black;  
    z-index: 1;
}

img.thumb {
    border: 0px;
    border: 1px solid #000;
}

img.thumb:hover {
    border: 1px solid #084282;
}

img.thumbsel {
    border: 3px double #084282;
}

/* Видео */
/*
.video {
	display: inline-block;
	width: 200px;
	height: 280px;
	background: #fafafa;
	border-radius: 5px;
}

.video div {
	padding: 0 5px 0 5px;
}

.video div:nth-child(2) {
	padding: 0 0 0 0;
}

.video div:nth-child(2) {
	display: block;
	height: 112px;
}

.video div:nth-child(3) {
	display: block;
	width: 100%;
	height: 133px;
	vertical-align: top;
	white-space: normal;
	word-break: all;
	overflow: hidden;
    text-align: justify;
}

.video div:nth-child(4) {
	display: table;
	width: 100%;
	height: 30px;
}

.video div:nth-child(4) div:nth-child(1) {
	display: table-cell;
	width: 50%;
	height: 100%;
	vertical-align: middle;
	text-align: left;
}

.video div:nth-child(4) div:nth-child(2) {
	display: table-cell;
	height: 100%;
	vertical-align: middle;
	text-align: right;
}

.video_prev {
	width: 200px;
	height: 112px;
	border-radius: 5px 5px 0 0;
}

#new_video {
	height: 280px;
}

*/

/* ------------------- Video ------------------ */

div.video_wrap {
	position: relative;
	display: inline-block;
	width: 0;
	height: 0;
	vertical-align: top;
}

div.video_single {
	width: 284px !important;
	height: 160px !important;
	margin: 5px 5px 0px 0px;
}

div.video_wrap:hover div.allplayers,
div.video_wrap:hover div.video_tools {
	opacity: 1;
}

.play-button-outer {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 7;
	width: 2em;
	height: 2em;
	border-radius: 1em;
	border: 1px solid rgba(255, 255, 255, .5);
	background-color: rgba(255, 255, 255, .25);
	cursor: pointer;
}

.play-button {
	position: absolute;
	z-index: 7;
	margin: 0 auto;
	top: 25%;
	position: relative;  
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0.5em 0 0.5em 1em;
	border-color: transparent transparent transparent #fff;
	opacity: .75; 
}

.play-button-outer:hover {
	background-color: rgba(255, 255, 255, .5);
	border: 1px solid rgba(255, 255, 255, 1);
}

.play-button-outer:hover .play-button {
	opacity: 1;
}

img.video_cover {
	position: absolute;
	width: 100%;
	height: 100%;
	float: left;
	transition: transform 0.3s ease;
	z-index: 1;
}

div.video_wrap::after {
	position: absolute;
	content: '';
	width: 100%;
	height: 100%;
	z-index: 2;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5));
}

div.text_layer {
	position: absolute;
	overflow: hidden;
	left: 15px;
	top: 15px;
	width: calc(100% - 30px);
	height: calc(100% - 30px);
}

@media screen and (min-width: 1290px) {
	div.text_layer {
		left: 10px;
		top: 10px;
		width: calc(100% - 20px);
		height: calc(100% - 20px);
	}
}

div.video_title, div.video_title_zoom {
	position: absolute;
	display: block;
	padding: 0;
	margin: 0;
	color: white;
	font-size: 100%;
	overflow: hidden;
	width: 100%;
	white-space: normal;
	z-index: 3;
}

div.video_title {
	display: inline;
	font-family: 'HeliosCondLight';
	font-size: 115%;
	text-shadow: 0px 0px 5px black;
	bottom: 0px;
}

.video_date {
	position: absolute;
	font-family: 'HeliosCondLight';
	font-style: oblique;
	color: white;
	text-shadow: 0px 0px 5px black;
	top: 10px;
	right: 10px;
	z-index: 4;
}

a.video_date_link {
	text-decoration: none;
	color: white;
}

.video_tournament_icon {
	position: absolute;
	width: 30px;
	height: 30px;
	top: 30px;
	right: 10px;
	z-index: 4;
}

.video_tournament_icon img {
	width: 100%;
}

div.video_tools {
	position: absolute;
	opacity: 0;
	display: inline;
	vertical-align: middle;
	height: 24px;
	line-height: 24px;
	bottom: 0px;
	right: 0px;
	padding: 2px;
	border-radius: 5px;
	background: rgba(255, 255, 255, 0.5);
	z-index: 5;
	transition: opacity 0.3s ease;
}

p.title {
	font-family: 'Hollton Bold';
	color: white;
}

/*
@media screen and (min-width: 1290px) {
	div.video_wrap:hover img.video_cover {
		-webkit-transform: scale(1.2);
		-moz-transform: scale(1.2);
		-o-transform: scale(1.2);
		transform: scale(1.2);
		-webkit-transform-origin: center;
		-moz-transform-origin: center;
		-o-transform-origin: center;
		transform-origin: center;
		z-index: 2;
	}
}
*/

/* ------------------------------------------------- */

a.photo-container {
    position: relative;
    display: block;
}

a.video-container {
    padding: 1px;
    width: 180px;
    position: relative;
    display: block;
}

area.photo-container {
    position: absolute;
    display: block;
}

img.medal {
    position: absolute;
    top: -10px;
    left: 60px;
}

/* ----------- видео подсказка -------- */

div.allplayers {
    display: block;
    position: absolute;
	margin-left: 10px;
	width: 100%;
	height: 25%;
	left: 10px;
	top: 0px;
	z-index: 4;
}

div.player_legend {
	position: relative;
	display: inline-block;
	width: 35px;
}

a.player_link {
	position: absolute;
    display: inline-block;
    height: 30px;
	width: 30px;
	overflow: hidden;
	background: black;
    color: lightgrey;
    text-decoration: none;
	border-radius: 50% !important;
	border: 2px solid white;
	box-shadow: 0px 0px 5px black;
	margin-right: 10px;
    z-index: 3;
	transition: all .2s ease-in-out;
}

a.player_link:hover {
	-webkit-transform: scale(1.8);
	-moz-transform: scale(1.8);
	-o-transform: scale(1.8);
	transform: scale(1.8);
	-webkit-transform-origin: center;
	-moz-transform-origin: center;
	-o-transform-origin: center;
	transform-origin: center;
    z-index: 4;
}

.player_thumb {
	width: 30px;
	margin: -1px 0px 0px -1px;
}

.player_icon {
	height: 100%;
	float: left;
}

.player_img {
	width: 40px;
	float: left;
	margin-right: 5px;
}

div.flag_wrap {
	position: absolute;
    z-index: 3;
	top: 20px;
	left: -8px;	
    display: inline-block;
	width: 16px;
    height: 16px;
	overflow: hidden;
	background: grey;
    text-decoration: none;
	border-radius: 50% !important;
	border: 1px solid white;
	transition: all .2s ease-in-out;
}

div.flag_wrap:hover {
	-webkit-transform: scale(1.2);
	-moz-transform: scale(1.2);
	-o-transform: scale(1.2);
	transform: scale(1.2);
	-webkit-transform-origin: center;
	-moz-transform-origin: center;
	-o-transform-origin: center;
	transform-origin: center;	
}

.flag_thumb {
	height: 16px;
	margin: -1px 0px 0px -1px;
}

div.player_rank, div.player_rank_top100, div.player_rank_top10, div.player_rank_top1 {
	position: absolute;
	display: table-cell;
	width: 30px;
	font-family: 'HeliosCondLight';
	font-size: .75em;
	text-align: center;
	vertical-align: middle;
    z-index: 2;
	top: -14px;
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
	color: #c0c0c0;
}

div.player_rank_top100 {
	color: white;
}
	
div.player_rank_top10 {
	color: yellow;
}

div.player_rank_top1 {
	color: orange;
}

/* голоса */

div.allvotes {
    position: absolute;
    opacity: 0;
    display: block;
    width: 70px;
    height: 50px;
}

div.hinttitle {
    color: white;
    font-weight: bold;
    text-align: left;
    display: block;
    width: 100%;
    padding: 5px 0px 0px 10px;
}

a.uservotes {
    display:inline-block;
    vertical-align: top;
    height: 30px;
    color: lightgrey;
    text-align: left;
    float: left;
    padding: 10px 0px 10px 10px;
    z-index: 1000;
    text-decoration: none;
}

a.uservotes:hover {
    color: white;
    text-decoration: none;
}

div.userwrap {
    position: absolute;
    display: block;
    background: black;
    border-radius: 5px;
    box-shadow: 0px 0px 4px #000;
    -moz-box-shadow: 0px 0px 4px #000;
    -webkit-box-shadow: 0px 0px 4px #000;
    /* For IE 8 */
    filter: progid:DXImageTransform.Microsoft.dropshadow(offX=-1, offY=1, color=#000000)
            progid:DXImageTransform.Microsoft.dropshadow(offX=1, offY=-1, color=#000000);
    opacity: 0.8;
    z-index: 999;
    width: 70px;
    height: 70px;
}

/* голоса */

div.votecover {
    position: relative;
    display: block;
    width: 60px;
}

div.voteimg {
    position: absolute;
    display: block;
    z-index: 3;
    top: -45px;
	left: 15px;
}

div.votevid {
    position: absolute;
    display: block;
    z-index: 3;
    width: 182px;
    height: 20px;
    top: 4px;
    left: 1px;
}

div.voteplayer {
    position: absolute;
    display: block;
    z-index: 3;
    top: -35px;
	left: 5px;
}

.box{
    white-space:nowrap;
}

div.linktoforum {
    display: inline-block;
    width: 250px;
    height: 20px;
    padding: 2px 0px 0px 0px;
}

div.toolsline {
    position: relative;
    display: block;
    width: 180px;
    height: 20px;
}

/* Голосование */

.numvotes {
    display: inline-block;
	vertical-align: middle;
    float: left;
    color: #ceb894;
}

/*
.numvotes {
    display: block;
    color: #666666;
    float: left;
    margin-right: 5px;
    font-size: 120%;
    font-weight: bold;
    padding-top: 5px;
}
*/

a.like, a.votenews {
	display: inline-block;
	-moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
	height: 24px;
	line-height: 24px;
	padding: 0px 4px 0px 4px;
	margin: 1px;
	font-size: 100%;
	text-align: center;
	vertical-align: middle;
	color: white;
	cursor: pointer;
	background-color: #00a35f;
	text-decoration: none;
}

a.votenews span {
	padding-left: 20px;
}

.comment span {
    background: url(../images/project/comments.png) no-repeat;
}

a.like:hover, a.votenews:hover {
	background-color: #019054;
	-webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
	color: white;
}

a.like:before {
	content: '+';
}

a.dislike {
	-moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
	height: 24px;
	line-height: 24px;
	display: inline-block;
	padding: 0px 5px 0px 5px;
	margin: 1px;
	font-size: 100%;
	text-align: center;
	color: white;
	cursor: pointer;
	background-color: #d51b07;
	text-decoration: none;
}

a.dislike:hover {
	background-color: #c11805;
	-webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

a.dislike:before {
	content: '-';
}

.numlikes {
    display: inline-block;
    color: white;
    float: left;
    margin-right: 5px;
    font-size: 100%;
}

/* Всплывающая подсказка */

#tooltip_container {
    position: absolute;
	display: block;
	width: 250px;
    height: 120px;
	opacity: 0;
    z-index: 1000;
}

#tooltip_wrap {
    position: absolute;
	display: block;
    background: black;
	opacity: 0.8;
	width: 100%;
	height: 100%;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

#tooltip_wrap_pointer {
	position: absolute;
	display: block;
	opacity: 0.8;
	left: 0;
    top: 0;
	border: 10px solid transparent;
	border-top: 10px solid black;
	z-index: 1000;
}

#tooltip {
	position: absolute;
	width: 100%;
	height: 100%;
    padding: 10px 5px 0px 5px;
	color: white;
	text-align: center;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

/* Карусель видеороликов */

ol, ul {
	list-style:none
}
blockquote, q {
	quotes:none
}
blockquote:before, blockquote:after, q:before, q:after {
	content:'';
	content:none
}
:focus {
	outline:0
}
ins {
	text-decoration:none
}
del {
	text-decoration:line-through
}

.clear {
	clear:both;
	display:block;
	overflow:hidden;
	visibility:hidden;
	width:0;
	height:0
}
.clearfix:after {
	clear:both;
	content:' ';
	display:block;
	font-size:0;
	line-height:0;
	visibility:hidden;
	width:0;
	height:0
}
.clearfix {
	display: inline-block;
}
* html .clearfix {
	height: 1%
}
.clearfix {
	display: block;
}

.set_of_videos {
	position: relative;
	display: block;
	text-align: center;
	width: 100%;
}

#nowrap h4 {
    margin-top: 10px;
}

/* Контакты */

.contacts {
    width: 90%; /* Длина фигуры */
    /* height:100px; /* Высота фигуры */
    color: #000;
    background: #ededed;
    border: 1px #084282 solid;
    -moz-border-radius: 10px 10px 0 0;
    -webkit-border-radius: 10px 10px 0 0;
    -khtml-border-radius: 10px 10px 0 0;
    border-radius: 10px 10px 10px 10px;
    padding: 5px;
}

table.contactform {
    border:0px; /* border="0" */
    border-collapse:collapse; /* cellspacing="0" */
    width: 90%;
}

table.contactform  td {
    padding: 10px;
}

/* Комментарии */

table.comment {
    border:0px; /* border="0" */
    border-collapse:collapse; /* cellspacing="0" */
}

table.comment  td {
    padding: 3px;
}

.comments {
	width: 100%;
    max-width: 500px; /* Длина фигуры */
    color: #000;
    background: #ededed;
    /* border: 1px #084282 solid; */
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    -khtml-border-radius: 5px 5px 0 0;
    border-radius: 5px;
    padding: 5px;
}

.wrapavatar {
    color: #000;
    background: #ededed;
    /* border: 1px #084282 solid; */
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    -khtml-border-radius: 5px 5px 0 0;
    border-radius: 5px;
    padding: 5px;
    display: inline-block;
    line-height: 30px;
    height: 30px;
    vertical-align: middle;
}

div.toolswrap {
    display: block;
    width: 100%;
    height: 24px;
    padding: 5px 0px 5px 0px;
}

a.statistic {
    display: inline-block;
    height: 16px;
    width: 16px;
    margin-top: 2px;
    background: url(../images/project/stat_icon.png);
    background-position: 0 0px;
}

a.statistic:hover{
    background-position: 0 -16px;
}

a.statisticdone  {
    display: inline-block;
    height: 16px;
    width: 16px;
    margin-top: 2px;
    background: url(../images/project/stat_icon.png);
    background-position: 0 -16px;
}

a.addtowl {
    display: inline-block;
    height: 16px;
    width: 16px;
    margin: 0px 3px 0px 5px;
    background: url(../images/project/addtowl.png);
    background-position: 0 0px;
}

a.addtowl:hover{
    background-position: 0 -16px;
}

a.remfromwl {
    display: inline-block;
    height: 16px;
    width: 16px;
    margin: 0px 3px 0px 5px;
    background: url(../images/project/addtowl.png);
    background-position: 0 -16px;
}

.popnumvotes {
    font-size: 120%;
    font-weight: bold;
}

div.addpicture {
    display: inline-block;
    float: left;
}

/* Видео html */
.htmlvideo {
	display: block;
	position: fixed;
	left: 40px;
	bottom: 30px;
	z-index: 9999; /*показываем поверх все элементов на странице*/	
	width: 230px;
	height: 230px;
	padding: 5px;
	color: #7f7f7f;
	background: #ededed;
	text-align: center;
	border: 1px #7f7f7f solid;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	border-radius: 5px;
}

textarea.htmlvideocode {
    width: 220px;
    height: 200px;
    color: #084282;
    border: solid 1px #084282;
    resize: none;
}

/* Голосование */

.warning {
    height: 20px;
    width: 100%;
    position: fixed;
    z-index: 10000;
    left: 0px;
    top: 0px;
    text-align: center;
    background: red;
    color: white;
    font-weight: bold;
}

div.reginvite {
    opacity: 0;
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 10000;
}

div.parent_popup {
    background: #000;
    height: 100%;
    opacity: 0.8;
    position: fixed;
    width: 100%;
    z-index: 10000;
    top: 0;
    left: 0;
}

div.popup {
    background-color: #fff;
    display: block;
    position: fixed;
    border-radius: 5px;
    border: 3px solid #666666;
    text-align: center;
    top: 40%;
    left: 40%;
    color: #000;
    /* width: 300px; */
    width: 30%;
    height: 100px;
    z-index: 10001;
    opacity: 0;
}

a.closewindow {
    display: inline-block;
    position: fixed;
    top: 39%;
    left: 69%;
    background-color: #fff;
    color: #000;
    font-size: 120%;
    font-weight: bold;
    border: 3px solid #666666;
    border-radius: 15px;
    width: 20px;
    line-height: 20px;
    height: 20px;
    vertical-align: middle;
    text-align: center;
    text-decoration: none;
}

a.closewindow:hover {
    color: #000;
    text-decoration: none;
}

/* ---------------- Статистика ---------------- */

a.stat {
    color: #000;
    background: #ededed;
    /* border: 1px #084282 solid; */
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    -khtml-border-radius: 5px 5px 0 0;
    border-radius: 5px;
    padding: 5px;
    margin: 0px 0px 0px 5px;
    text-decoration: none;
}

a.hlstat  {
    color: #ededed;
    background: #666666;
    /* border: 1px #084282 solid; */
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    -khtml-border-radius: 5px 5px 0 0;
    border-radius: 5px;
    padding: 5px;
    margin: 0px 0px 0px 5px;
    text-decoration: none;
}

a.stat:hover, a.hlstat:hover {
    color: #ededed;
    background: #666666;
}

/*------------------- тесты ----------------------*/

#questionarea {
    display: block;
	margin: 0 auto;
    width: 100%;
	box-sizing: border-box;
    border: 1px solid #084282;
    border-radius: 10px;
    padding: 10px;
    background: #ededed;
}

.test-question,
.test-question-correct,
.test-question-incorrect,
.test-question-active
 {
    display: inline-block;
    position: relative;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    margin: 3px;
    width: 24px;
    height: 24px;
	line-height: 24px;
	vertical-align: middle;
    text-decoration: none;
}

.test-question {
    border: 1px solid #084282;
    color: #084282;
}

.test-question:hover,
.test-question-correct:hover,
.test-question-incorrect:hover {
    text-decoration: none;
    background: #FF9;
}

.test-question-correct {
    border: 1px solid green;
    background: #D8FED8;
    color: #084282;
}

.test-question-incorrect {
    border: 1px solid red;
    background: #FFEDEE;
    color: #084282;
}

.test-question-active {
    border: 1px solid #084282;
    background: #FF9;
}

.test-question-active:hover{
    text-decoration: none;
}

.test-answer,
.test-answer-correct,
.test-answer-incorrect {
    display: block;
    position: relative;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
    float: center;
    text-align: center;
    padding: 3px;
    margin: 5px auto;
	width: 90%;
    max-width: 600px;
    text-decoration: none;
    background: #fff;	
}

.test-answer {
    border: 1px solid #084282;
    color: #084282;
}

.test-answer:hover {
    background: #FF9;
    text-decoration: none;
}

.test-answer-correct:hover,
.test-answer-incorrect:hover {
    text-decoration: none;
}

.test-answer-correct {
    border: 1px solid green;
    background: #D8FED8;
    color: #084282;
}

.test-answer-incorrect {
    border: 1px solid red;
    background: #FFEDEE;
    color: #084282;
}

.testres,
.notearea-correct,
.notearea-incorrect,
.nextquestion,
.clock {
    display: inline-block;
    position: relative;
    border-radius: 3px;
    font-weight: bold;
    text-align: center;
    margin: 3px;
    height: 24px;
	line-height: 24px;
	vertical-align: middle;
}

.testres:before, .testres:after,
.notearea-correct:before, .notearea-correct:after,
.notearea-incorrect:before, .notearea-incorrect:after,
.nextquestion:before, .nextquestion:after,
.clock:before, .clock:after 
{
	content: "\a0";
}

.testres {
    border: 1px solid #084282;
    color: #084282;
    background: #ededed;
}

.notearea-correct {
    display: block;
    float: right;
    border: 1px solid #084282;
    color: green;
    background: #ededed;
}

.notearea-incorrect {
    display: block;
    float: right;
    border: 1px solid #084282;
    color: red;
    background: #ededed;
}

.nextquestion {
    display: block;
    float: right;
    border: 1px solid #084282;
    color: #084282;
    text-decoration: none;
	cursor: pointer;
}

.nextquestion:hover {
    background: #FF9;
    text-decoration: none;
}

.clock {
    display: block;
    float: right;
    border: 1px solid #084282;
    color: #084282;
    text-decoration: none;
}

.testad {
    width: 100%;
    display: block;
    background: #f9f9f9;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.clock:hover {
    text-decoration: none;
}

.testadquestion {
    display: block;
    width: 100%;
    text-decoration: none;
}

.testadquestion:hover {
    background: #FF9;
    text-decoration: none;
    font-weight: bold;
}


/* Адаптивные таблицы */

.table {
    display: table;
	width: 100%;
	margin: 0 auto;
    padding: 0;
	border-collapse: separate;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.row, .row_highlight, .row_highlighted, .row_header, .row_transparent {
	display: table;
	border-collapse: separate;
	width: 100%;
	/* margin-bottom: 2px; */
	vertical-align: top;
	-moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -khtml-border-radius: 2px;
    border-radius: 2px;
	border-spacing: 2px;
}

.row, .row_highlight, .filled {
	/* background: #f4f6f8; */
}

.row_highlight:hover {	
	background: #e9eef1;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.row_highlighted {
	background: #e9eef1;
}

.row_header {
	padding: 2px 0 2px 0;
	-moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -khtml-border-radius: 2px;
    border-radius: 2px;
	background: #457ad2;
	color: #fff;
	font-weight: bold;
}

.row_header div {
	text-align: center;
	vertical-align: middle;
}

div.table > div.row:nth-child(even) {
	/* background: #ededed; */
}

div.table > div.row:nth-child(odd) {
	background-color: #f9f9f9;
	border-top: 1px solid #dee2e6;
	border-bottom: 1px solid #dee2e6;
}

.cell, .cell_header, .cell-inline {
	display: table-cell;
	/* position: relative; */
	vertical-align: top;
	padding: 2px;
}

.cell_header {
	background: #457ad2;
}

div.header-fixed {
    display: table-cell;
    background: #457ad2 !important;
	color: white;
	width: 5%;
	min-width: 24px;
	vertical-align: middle;
	text-align: center;
	font-weight: bold;
}

div.cell-fixed {
    display: table-cell;
	width: 5%;
	min-width: 24px;
	vertical-align: middle;
	text-align: center;
}

.word_break_all {
	-ms-word-break: break-all;
    word-break: break-all;
	word-break: break-word;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;	
}

.ta_left {
	text-align: left;
}

.ta_right {
	text-align: right;
}

.ta_center, .ta_center_fixed {
	text-align: center;
}

.va_top {
	vertical-align: top;
}

.va_bottom {
	vertical-align: bottom;
}

.va_middle {
	vertical-align: middle;
}

/* pm */

.subject_area {
	vertical-align: middle;
}

.subject_area div:nth-child(1),
.user_area div:nth-child(1) {
	display: table-cell;
	width: 20px;
	vertical-align: middle;
	text-align: center;
}

.subject_area div:nth-child(2),
.user_area div:nth-child(2) {
	display: table-cell;
	vertical-align: middle;
	padding-left: 5px;
}

.user_area {
	width: 150px;
}

.user_area img {
	height: 20px;
	vertical-align: middle;
	text-align: left;
}

.date_area {
	width: 110px;
}

.pad_5 {
	padding: 5px;
}

.pad_10 {
	padding: 10px;
}

.w_250px {
	width: 250px;
}

.widetable .cell {
	padding: 1px;
}

/* при низком разрешении */

@media screen and (max-width: 640px) {
	.table .cell, .table .cell-fixed, .table .header-fixed {
		display: block;
		width: 100%;
		text-align: left;
	}
	
	.table .cell-fixed, .table .header-fixed {
		min-height: 25px;
	}
	
	.filled {
		margin-bottom: 2px;		
	}
}

@media screen and (max-width: 950px) {
	.widetable .cell {
		display: block;
		width: 100%;
		text-align: left;
	}
}

@media screen and (max-width: 450px) {
	.narrowtable .cell {
		display: block;
		width: 100%;
		 /* text-align: left; */
	}
}

/*------- post header table ------- */

table.post_header {
	width: 100%;
}

table.post_header tr td {
	vertical-align: top;
}

table.post_header tr td:nth-child(2) {
	text-align: right;
}

table.post_header tr td:nth-child(3) {
	width: 15%;
	min-width: 60px;
	text-align: right;
}

/*---------------------------------- */

/* Подтверждение действий */

div.parent_popup {
    background: #000;
    opacity: 0.8;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 10000;
    top: 0;
    left: 0;
}

div.popup {
    background-color: #fff;
    display: block;
    position: fixed;
    border-radius: 5px;
    border: 3px solid #666666;
    text-align: center;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    color: #000;
    width: 20%;
	min-width: 200px;
    height: 100px;
    z-index: 10001;
    opacity: 0;
	-moz-box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
}

.confirm-header {
    display: block;
    background: #bababa;
	padding: 0.2em 0.4em 0.2em 0.4em;
	width: 100%;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
	-moz-border-radius: 3px 3px 0px 0px;
    -webkit-border-radius: 3px 3px 0px 0px;
    -khtml-border-radius: 3px 3px 0px 0px;
    border-radius: 3px 3px 0px 0px;
	vertical-align: middle;
	text-align: center;
	font-weight: bold;
}

.order_asc, .order_asc_inactive {
	display: inline-block;
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 10px solid white;
}

.order_desc, .order_desc_inactive {
	display: inline-block;
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 10px solid white;
}

.order_asc_inactive, .order_desc_inactive {
	opacity: 0.5;
}

.order_asc_inactive:hover, .order_desc_inactive:hover {
	opacity: 1;
}

#photo_to_crop {
	max-width: 100%;
}

/* polls */

div.poll_header {
	display: inline-block;
	width: 100%;
	color: white;
	font-weight: bold;
    text-align: center;
	padding: 20px;
}

div.poll {
	display: inline-block;
	width: 100%;
	background: #2B547E;
	background: linear-gradient(135deg, rgb(46, 179, 179) 0%, #457ad2 100%);
	border-radius: 5px;
	padding: 7px;
	margin-bottom: 10px;
    text-align: center;
    font-size: 100%;
}

/* -- animation on loading -- */

div.poll_loader {
	position: relative;
	display: block;
	width: 100%;
	vertical-align: middle;
	height: 20px;
	line-height: 20px;
}

.data_loader {
    position: absolute;
    top: 50%;
    left: 50%;
}
.data_loader .dots {
    position: absolute;
    padding: 5px;
    border-radius: 50%;
	background: #fff;
    -webkit-animation: myani 1s ease-in-out 0s infinite;
    animation: myani 1s ease-in-out 0s infinite;
}
.data_loader .dots:nth-child(1) {
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}
.data_loader .dots:nth-child(2) {
    -webkit-animation-delay: 0.15s;
    animation-delay: 0.15s;
}
.data_loader .dots:nth-child(3) {
    -webkit-animation-delay: 0.30s;
    animation-delay: 0.30s;
}
.data_loader .dots:nth-child(4) {
    -webkit-animation-delay: 0.45s;
    animation-delay: 0.45s;
}

@keyframes myani {
    0% {
        -webkit-transform: translateX(-100px);
        transform: translateX(-100px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        -webkit-transform: translateX(100px);
        transform: translateX(100px);
        opacity: 0;
    }
}

div.answer, div.answer_selected, div.answer_result {
	display: table;
	width: 100%;
	height: 30px;
	font-weight: normal;
	color: white;
	border-radius: 2px;
	-moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -khtml-border-radius: 2px;
	padding: 4px;
	vertical-align: middle;
	margin-top: 7px;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	-webkit-user-select: none;
	user-select: none;
}

div.answer, div.answer_selected {
	cursor: pointer;
}

div.answer_result {
	background-image: rgba(255, 255, 255, 0.5);
}

div.answer {
	background: rgba(255, 255, 255, 0.1);	
}

div.answer_selected, div.answer:hover {
	background: rgba(255, 255, 255, 0.3);
}

div.answer input, div.answer_selected input {
	display: none;
}

div.answer_text {
	display: table-cell;
	text-align: left;
	vertical-align: middle;
}

div.answer_perc {
	display: table-cell;
	width: 80px;
	text-align: right;
	vertical-align: middle;
}

div.poll_numallvotes {
	display: block;
	font-weight: bold;
	margin-top: 7px;
	color: white;
}

div.poll_numvotes {
	display: inline-block;
	opacity: 0.5;
	color: white;
}

a.cancel_vote {
	color: white;
	text-decoration: none;
}

a.cancel_vote:hover {
	color: red;
}

/* Private messages */

#pm_tools {
	display: none;
	padding: 0px;
}

.pm_tools {
	width: 100%;
	height: 40px;
}

.pm_tools tr td:first-child {
	width: 30px;
	text-align: left;
	padding-left: 7px;
}

/* -- flag of country -- */

.country_flag {
	width: 18px;
	height: 12px;
}

/* top players */

.topplayers tr th:nth-child(1) {
	width: 10%;
}

.topplayers tr th:nth-child(2),
.topplayers tr th:nth-child(4) {
	width: 15%;
}

.topplayers tr td {
	text-align: center;
	vertical-align: top;
}

.topplayers tr td:nth-child(3) {
	text-align: left;
}

/* medalists */

table.medallists th:first-child {
	border-top-left-radius: 0px;
	-moz-border-radius-topleft: 0px;
	-webkit-border-top-left-radius: 0px;
}

table.medallists th:last-child {
	border-top-right-radius: 0px;
	-moz-border-radius-topright: 0px;
	-webkit-border-top-right-radius: 0px;
}
@font-face {
    font-family: HeliosCondLight;
    font-weight: normal;
    src: url("../font/HeliosCondLight.otf") format("opentype");
}

/*
@font-face {
    font-family: LeagueGothic;
    font-weight: normal;
    src: url("../font/League-Gothic.ttf") format("truetype");
}
*/

/* tables */

.gametable {
	display: inline-block;
    position: relative;
    border: 1px solid #084282;
    border-radius: 3px;
    cursor: pointer;
    color: #084282;
    text-align: center;
    margin: 3px;
	vertical-align: middle;
    width: 24px;
    height: 24px;
	line-height: 24px;
}

.gametable:hover {
    opacity: 1;
    background: #ff9;
}

.seltableform {
    position: absolute;
	display: block;
	width: 90%;
	max-width: 300px;
    box-shadow: 0px 0px 4px #000;
    -moz-box-shadow: 0px 0px 4px #000;
    -webkit-box-shadow: 0px 0px 4px #000;
   
    filter: progid:DXImageTransform.Microsoft.dropshadow(offX=-1, offY=1, color=#000000)
            progid:DXImageTransform.Microsoft.dropshadow(offX=1, offY=-1, color=#000000);
    top: 0px;
    left: 0px;
    z-index: 1000;
	opacity: 1;
   
	background: white;
    border-radius: 3px;
	-webkit-transition: all 0.5s 0s ease;
    -moz-transition: all 0.5s 0s ease;
    -o-transition: all 0.5s 0s ease;
	transition: all 0.5s 0s ease; 
}

.sscore {
    border: solid 1px #084282;
    width: 30px;
    height: 30px;
}

div.winscore, div.lossscore, div.techscore {
    display: inline-block;
    position: relative;
    border-radius: 3px;
    cursor: pointer;
    font-size: 100%;
    text-align: center;
	vertical-align: middle;
    padding: auto auto;
    margin: 2px;
    width: 40px;
    height: 30px;
}

div.winscore {
    border: 1px solid green;
	color: green;
}

div.lossscore {
    border: 1px solid red;
    color: red;
}

div.techscore {
    border: 1px solid black;
    color: black;
}

div.winscore:hover, div.lossscore:hover, div.techscore:hover {
    background: #ff9;
}

.win {
    color: green;
}

.loss {
    color: red;
}

.restable {
    display: inline-block;
    position: relative;
    border: 1px solid #084282;
    border-radius: 3px;
    cursor: pointer;
    color: #084282;
    text-align: center;
	vertical-align: middle;
	width: 20px;
    height: 20px;
	line-height: 20px;
	font-size: 80%;
}

.restable:hover {
    background: #ff9;
}

.pointscore {
    display: block;
    float: left;
    position: relative;
    border: 1px solid black;
    border-radius: 3px;
    cursor: pointer;
    color: black;
    font-weight: bold;
    text-align: center;
    opacity: 0.9;
    padding: 1px;
    margin: 1px;
    width: 14px;
    height: 14px;
}

.pointscore:hover {
    background: #ff9;
}

.white {
    background: white;
}

/* brackets */

div.bracket_wrap {
	display: block;
	position: relative;
	white-space: nowrap;
	overflow: auto;
	overflow-wrap: break-word;
}

table.bracket {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0px;
}

table.bracket tr td {
}

table.col_4 tr td:nth-child(3n+1) {
	width: 49%;
}

table.col_7 tr td:nth-child(3n+1) {
	width: 32%;
}

table.col_10 tr td:nth-child(3n+1) {
	width: 23.5%;
}

table.col_13 tr td:nth-child(3n+1) {
	width: 18.4%;
}

table.col_16 tr td:nth-child(3n+1) {
	width: 15%;
}

table.col_19 tr td:nth-child(3n+1) {
	width: 12.57%;
}

table.col_22 tr td:nth-child(3n+1) {
	width: 10.75%;
}

table.col_25 tr td:nth-child(3n+1) {
	width: 9.33%;
}

table.col_28 tr td:nth-child(3n+1) {
	width: 8.2%;
}

.b_0000,
.b_0001,
.b_0010,
.b_0011,
.b_0100,
.b_1000,
.b_1001,
.b_0110,
.b_1100,
.b_1101,
.b_1111
{
	border-style: solid;
	/* border-color: #fff; */
	border-color: #aaa;
}

table.bracket tr td:nth-child(3n+2),
table.bracket tr td:nth-child(3n+3) {
	width: 1%;
	border-color: #444;
}

.b_0000, .b_1101, .b_1111 {
	border-width: 0px;
}

.b_0001 {
	border-width: 0px 0px 0px 1px;
}

.b_0010 {
	border-width: 0px 0px 1px 0px;
}

.b_0011 {
	border-width: 0px 0px 1px 1px;
}

.b_0100 {
	border-width: 0px 1px 0px 0px;
}

.b_1000 {
	border-width: 1px 0px 0px 0px;
}

.b_1001 {
	border-width: 1px 0px 0px 1px;
}

.b_1100 {
	border-width: 1px 1px 0px 0px;
}

/*
.b_1101 {
	border-width: 1px 1px 0px 1px;
}

.b_1111 {
	border-width: 1px 1px 1px 1px;
}
*/

.b_0110 {
	border-width: 0px 1px 1px 0px;
}

/* player cells */

.b_1101 div,
.b_1111 div
{
	border-style: solid;
	border-color: #aaa;
}

/*
.b_1101 div {
	margin-top: 2px;
}

.b_1111 div {
	margin-bottom: 2px;
}
*/

.b_1101 {
	padding-top: 3px;
}
.b_1111 {
	padding-bottom: 3px;
}

/* radius */

.b_1101 div {
	border-radius: 5px 5px 0px 0px;
}

.b_1111 div {
	border-radius: 0px 0px 5px 5px;
}

/* div inside cell */

.b_1101 div {
	border-width: 1px 1px 0px 1px;
}

.b_1111 div {
	border-width: 1px 1px 1px 1px;
}

.b_0000 div div,
.b_0001 div div,
.b_0010 div div,
.b_0011 div div,
.b_0100 div div,
.b_1000 div div,
.b_1001 div div,
.b_0110 div div,
.b_1100 div div,
.b_1101 div div,
.b_1111 div div
{
	border: 0px;
}

#bracket input[type=text],
#roundrobin input[type=text],
#teammatch  input[type=text] {
	margin: 0 !important;
	padding-left: 1px !important;
	border: 0px !important;
	background: transparent;
    color: #444;
	width: 100%;
	font-family: "HeliosCondLight";
}

#bracket input[type=text]:active,
#bracket input[type=text]:focus,
#bracket input[type=text]:hover,
#roundrobin input[type=text]:active,
#roundrobin input[type=text]:focus,
#roundrobin input[type=text]:hover,
#teammatch input[type=text]:active,
#teammatch input[type=text]:focus,
#teammatch input[type=text]:hover {
	background: #E0E0E0;
}

.cell_container {
	position: relative;
	display: table;
	width: 100%;
}

.cell_winner div { 
	/* background: #F0F0F0; */
}

.bracket_stage {
	background: #f0f0f0;
}

.cell_winner .player_name {
	font-weight: bold;
}

#teamwinnername:hover {
	background: transparent !important;
}

.cell_loser div {
	/* background: #f9f9f9;	*/
}
    
div.seeded {
    display: table-cell;
	font-family: "HeliosCondLight";
	font-size: 80%;
	width: 30px;
	font-size: 80%;
	overflow: hidden;
    text-align: center;
	vertical-align: middle;
}

.place, .place_print {
    display: table-cell;
	width: 30px;
	text-align: center;
	vertical-align: middle;
	border-radius: 0px !important;
}

.place {
	background-color: lightblue;
}

.place_1 {
	background-color: gold;
}

.place_2 {
	background-color: silver;
}

.place_3 {
	background-color: #cc9966;
}

div.player_image {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	word-break: all;
}

div.player_image {
	width: 100%;
}

div.player_image img { 
	width: 50px;
	float: left;
}

img.player_image {
	width: 50px;
	float: left;
	margin-right: 5px;
}

div.player_image_bracket {
	display: table-cell;
	vertical-align: top;
	width: 30px !important;
}

div.player_image_bracket img {
	width: 30px;
	float: left;
	/* margin: 0 !important; */
}

div.score_player_image img {
	width: 60px;
}

div.stat_player_image img {
	width: 30px;
}

.stat_match tr th , 
.stat_match tr td {
	text-align: center;
	padding: 2px;
}

.stat_match tr td:first-child {
	text-align: left;
}

.techelement  {
    display: inline-block;
    position: relative;
	border: 1px solid #084282;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    padding: 3px;
    margin: 3px;
    width: 100%;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    text-decoration: none;
}

.techelement:hover {
    text-decoration: none;
    background: #ff9;
}

div.player_wrap {
	display: table-cell;
	border-radius: 0px !important;
}

div.show_player {	
	display: block;
	position: relative;
	vertical-align: middle;
	height: 30px !important;
	border-spacing: 0 0 !important;
	overflow: hidden;
	border-radius: 0px !important;
}

div.player_data {
	display: flex;
	align-items: center;
	position: absolute;
    max-width: 100%;
    white-space: nowrap;
	height: 30px !important;
    overflow: hidden;
    text-overflow: clip;
	font-family: "HeliosCondLight";
	border-radius: 0px !important;
}

div.player_name {
	display: table-cell;
	padding-left: 2px;
}

div.wrap_gamenum_double {
	position: relative;
	height: 41px;
}

div.wrap_gamenum_single {
	position: relative;
	height: 21px;
}

.gamenum, .gamenum_print {
	position: absolute;
    display: block;
	font-family: "HeliosCondLight";
	font-size: 100%;
	font-weight: normal;
	width: 16px;
	height: 16px;
	line-height: 16px;
	text-align: center;
	vertical-align: middle;
	top: 0;
	z-index: 2;
}

.gamenum {
	font-size: 80%;
	color: white;
	background: rgba(0,142,204,.8);	
}

.score, .score_read {
	display: table-cell;
	width: 15px;
	text-align: center;
	vertical-align: middle;
	border-left: 1px solid #aaa;
}

.score:hover {
	background: #ff9 !important;
}

.score:after {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	width: 15px;
	height: 100%;
	opacity: 0;
	z-index: 2;
}

.score_edit {
    display: table-cell;
    width: 15px;
	height: 100%;
    cursor: pointer;
    border-left: 1px solid #aaa;
	text-align: center;
	vertical-align: middle;
}

.score_edit:hover {
    background: #ff9;
}

.hlonhover:hover { /* highlight cell on hover */
    background: #ff9;
}

.sep_vert { /* vertical separator for roundrobin cells */
	border-left: 1px solid white;
}

div[rel=score] {
	position: relative;
	height: 100%;
}

div[rel=score]:hover {
	background: #ff9 !important;
}

.selscore {
	cursor: pointer;
	vertical-align: middle;
	height: 17px; /* 50px; */
}

.bold {
	font-weight: bold;
}

/* points in set */

.tips_wrap {
	display: inline;
	position: absolute;
	z-index: 3;
	border-radius: 5px;
	box-shadow: 
	/* inset 0 -3em 3em rgba(0, 0, 0, 0.1), */
    0 0 0 2px rgb(255, 255, 255),
    0.3em 0.3em 1em rgba(0, 0, 0, 0.3);
}

.tips {
	position: relative;	
	background: #f9f9f9;	
	padding: 5px;
}

.tips_arrow {
    position: absolute;
	width: 0;
	height: 0;
    left: 20px;
	bottom: -20px;    
	display: inline-block;
	border: 10px solid transparent; 
	border-top: 10px solid white;
	z-index: 4;
}

.tips table {
	border-collapse: collapse;
	border-spacing: 1px;
}

.tips table tr td:nth-child(1) {
	min-width: 180px;
}

.tips table tr th {
	width: 30px !important;
	vertical-align: middle;
	background: #444;
	color: #f9f9f9;	
	border: 1px solid #aaa !important;
}

.tips table tr td {
	width: 30px !important;
	text-align: center;
	vertical-align: middle !important;
	border: 1px solid #aaa !important;
}

.tips_score_winner {
	color: rgba(0,142,204,1);
	font-size: 120%;
	font-weight: bold;
}

.tips_score_loser {
	color: rgba(0,0,0,.6);
	font-size: 120%;
}

.set_winner {
	background: #F0F0F0;
	font-weight: bold;
	color: #383838 !important;
}

.set_loser {
	font-weight: normal !important;
	color: #383838 !important;
}

div.yt_bracket_wrap {
	border: 0 !important;
	position: relative;
	width: 100%;
	height: 0;
}

div.yt_bracket {
	position: absolute !important;
	right: -17px;
	border: 0 !important;
	z-index: 1000;
	/*
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	*/
}

div.yt_roundrobin {
	position: absolute !important;
	top: -4px;
	right: -4px;
	border: 0 !important;
	z-index: 1000;
}

.ytthumb {
	width: 100%;
	height: 100%;
	float: left;
	border-radius: 5px;
}

.hidden_images img {
	width: 0px;
	height: 0px;
}

/* stat */

.stat tr td,
.places tr td {
	vertical-align: top;
}

.stat tr td:nth-child(1) {
	text-align: left;
}

.stat tr td:nth-child(2) {
	width: 20%;
	text-align: center;
}

/* places */

.places tr td:nth-child(1) {
	width: 10%;
	text-align: center;
}

.places tr td:nth-child(2) {
	text-align: left;
}

/* print */
table.print {
    display: table;
    border-collapse: collapse;
    border-spacing: 1px;
    padding: 0;
}

table.print td, table.print th {
	border: 1px solid black;
	padding: 2px;
}

/* tournament element icons */

.icon_print,
.icon_save,
.icon_code,
.icon_shuffle,
.section_roundrobin,
.section_bracket,
.section_teammatch,
.section_places,
.section_stat,
.section_information,
.data_loading {
	font-family: "fontello";
	margin-right: 5px;
}

.icon_print:before {
	content: "\e817";
}

.icon_save:before {
	content: "\e818";
}

.icon_code:before {
	content: "\f121";
}

.icon_shuffle:before {
	content: "\e819";
}

.section_teammatch:before {
	content: "\e816";
}

.data_loading {
}

.data_loading:before {
	content: "\e839";
}

.animate-spin {
  -moz-animation: spin 2s infinite linear;
  -o-animation: spin 2s infinite linear;
  -webkit-animation: spin 2s infinite linear;
  animation: spin 2s infinite linear;
  display: inline-block;
}

@-moz-keyframes spin {
  0% {
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -moz-transform: rotate(359deg);
    -o-transform: rotate(359deg);
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@-webkit-keyframes spin {
  0% {
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -moz-transform: rotate(359deg);
    -o-transform: rotate(359deg);
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@-o-keyframes spin {
  0% {
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -moz-transform: rotate(359deg);
    -o-transform: rotate(359deg);
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@-ms-keyframes spin {
  0% {
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -moz-transform: rotate(359deg);
    -o-transform: rotate(359deg);
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@keyframes spin {
  0% {
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -moz-transform: rotate(359deg);
    -o-transform: rotate(359deg);
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

/* additional_info */

.additional_info_off {
	height: 0;
	opacity: 0;
	overflow: hidden;
	-moz-transition: all .5s;
	-ms-transition: all .5s;
	-o-transition: all .5s;
	-webkit-transition: all .5s;
	transition: all .5s;
}

/* sub-tournament */
div.sub_tournament, div.sub_tournament_active {
	padding: 5px;
	display: inline-block;
	position: relative;
	width: 0px;
	color: black;
	text-align: center;
	cursor: pointer;
	user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	-webkit-user-select: none;
	border-bottom: 4px solid #A9A9A9;
	overflow: hidden;
	word-wrap: break-word;
}

div.sub_tournament_active, div.sub_tournament:hover {
	color: rgba(0, 142, 204, 1);
	background: rgba(0, 142, 204, 0.05);
	border-bottom: 4px solid rgba(0, 142, 204, 1);
	text-decoration: none;
}

div.sub_tournament_active div, div.sub_tournament div {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);	
	text-align: center;
	white-space: normal !important;
}

/* maquette of the bracket */

.maquette_lift {
	position: absolute;
	z-index: 1000;
	width: 0px;
	height: 0px;
	display: block;
}

.maquette_wrap {
	position: sticky;
	top: 10px;
	bottom: 0px;
	margin-top: 10px;
	visibility: visible;
	width: 0px;
	height: 0px;
	border: 1px solid #aaa;
	border-radius: 5px !important;
	box-shadow: 
    0.2em 0.2em 0.5em rgba(0, 0, 0, 0.3);
}

.maquette_cover {
	display: block;
	width: 0px;
	height: 0px;
	background: rgba(128,128,128,0.2);
	left: 0px;
	top: 0px;
	position: absolute;
	cursor: pointer;
	user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	-webkit-user-select: none;
	z-index: 1001;
	border-radius: 5px;
}

.maquette {
	position: relative;
	padding: 10px;
	width: 0px;
	height: 0px;
}

.maquette_frame {
	display: block;
	position: absolute;
	border: 2px solid #ccc;
	border-radius: 0px;
	z-index: 1000;
}

.fixed {
	position: fixed;
	top: 10px;
	left: 10px;
	width: 200px;
	height: 100px;
	display: block;
	background: white;
}
/* Базовый контейнер табов */

.tabs {
    min-width: 320px;
    /* max-width: 800px; */
	width: 100%;
    padding: 0px;
    margin: 0 auto;
}
/* Стили секций с содержанием */

.tabs > .tabs-panel {
    padding: 10px;
    background: #fff;
    border: 1px solid #ddd;
}
/* Сразу открываем первую по очереди секцию */

.tabs > .tabs-panel > div {
    /* line-height: 1.5; */
    color: #383838;
    /* прикрутим анимацию */
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
}
/* Описываем анимацию свойства opacity */

@-webkit-keyframes fadeIn {
    from {
opacity: 0;
    }
    to {
opacity: 1;
    }
}

@keyframes fadeIn {
    from {
opacity: 0;
    }
    to {
opacity: 1;
    }
}

/* Прячем чекбоксы */

.tabs > input {
    display: none;
    position: absolute;
}
/* Стили переключателей вкладок (табов) */

.tabs > label {
    display: inline-block;
    margin: 0 0 -1px;
    padding: 10px 10px;
    font-weight: 600;
    text-align: center;
    color: #aaa;
    border: 0px solid #ddd;
    border-width: 1px 1px 1px 1px;
    background: #f1f1f1;
    border-radius: 3px 3px 0 0;
	-ms-user-select: none;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	user-select: none;
}
/* Шрифт-иконки от Font Awesome в формате Unicode */
/*
.tabs > label:before {
    font-family: fontawesome;
    font-weight: normal;
    margin-right: 10px;
}

.tabs > label[for*="1"]:before {
    content: "\f19a";
}

.tabs > label[for*="2"]:before {
    content: "\f17a";
}

.tabs > label[for*="3"]:before {
    content: "\f13b";
}

.tabs > label[for*="4"]:before {
    content: "\f13c";
}
*/

.section_roundrobin,
.section_bracket,
.section_places,
.section_stat,
.section_information {
	font-family: "fontello";
	margin-right: 5px;
}

.section_roundrobin:before {
	content: "\f0ce";
}

.section_bracket:before {
	content: "\e80a";
}

.section_places:before {
	content: "\f0cb";
}

.section_stat:before {
	content: "\e809";
}

.section_information:before {
	content: "\e811";
}

/* Изменения стиля переключателей вкладок при наведении */

.tabs > label:hover {
    color: #888;
    cursor: pointer;
}
/* Стили для активной вкладки */

.tabs > input:checked + label {
    color: #555;
    border-top: 1px solid #009933;
    border-bottom: 1px solid #fff;
    background: #fff;
}
/* Активация секций с помощью псевдокласса :checked */
/* При множественном использовании tabs не актуально
#tab1:checked ~ #content-tab1,
#tab2:checked ~ #content-tab2,
#tab3:checked ~ #content-tab3,
#tab4:checked ~ #content-tab4 {
    display: block;
}
		*/
		
/* Убираем текст с переключателей 
* и оставляем иконки на малых экранах

@media screen and (max-width: 680px) {
    .tabs > label {
font-size: 0;
    }
    .tabs > label:before {
margin: 0;
font-size: 100%;
    }
}
*/
/* Изменяем внутренние отступы 
*  переключателей для малых экранов
*/

@media screen and (max-width: 400px) {
    .tabs > label {
padding: 15px;
    }
}
/* ------------- Flex Slider --------------- */

.flex-slider {
	position: relative;
	display: block;
	box-sizing: border-box;
	overflow: hidden;
	width: 100%;
	height: 0;
}

.flex-content {
	position: absolute;
	left: 0px;
	top: 0px;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;	
	user-select: none;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
}

.flex-direction-nav a {
	position: absolute;
	display: block;
	text-decoration: none;
	width: 40px;
	height: 100%;
	z-index: 5;
	overflow: hidden;
	font-size: 15px;
	font-family: 'fontello';
	text-align: center;
	opacity: 0.5;
	cursor: pointer;
	background: rgba(0, 0, 0, 0.8);
	color: rgba(255, 255, 255, 0.8);
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.flex-white-theme a {
	color: rgba(0, 0, 0, 0.8);
	background: rgba(255, 255, 255, 0.8);
	width: 40px;
	height: 40px;
	top: 50%;
	transform: translateY(-50%);
}

.flex-direction-nav .flex-prev {
	/* left: -40px;	*/
	left: 0px;
}

.flex-direction-nav .flex-next {
	/* right: -40px; */
	right: 0px;
}

.flex-white-theme .flex-prev {
	border-radius: 0 5px 5px 0;
}

.flex-white-theme .flex-next {
	border-radius: 5px 0 0 5px;
}

/*
@media screen and (max-width: 1289px) {
	.flex-direction-nav .flex-prev {
		opacity: 0.7;
		left: 0px;
	}
	
	.flex-direction-nav .flex-next	{
		opacity: 0.7;
		right: 0px;
	}
}
*/

.flex-direction-nav a.flex-prev:before,
.flex-direction-nav a.flex-next:before {
	display: block;
	position: absolute;	
	top: 50%;
	left: 50%;
    transform: translateY(-50%) translateX(-50%);
}

.flex-direction-nav a.flex-prev:before {
	content: '\e803';	
}

.flex-direction-nav a.flex-next:before {
	content: '\e802';
}

.flex-slider:hover .flex-direction-nav .flex-prev {
	left: 0px;
	opacity: 0.7;
}

.flex-slider:hover .flex-direction-nav .flex-next {
	right: 0px;
	opacity: 0.7;
}

.flex-slider:hover .flex-direction-nav .flex-prev:hover,
.flex-slider:hover .flex-direction-nav .flex-next:hover,
.flex-slider:hover .flex-direction-nav .flex-prev:active,
.flex-slider:hover .flex-direction-nav .flex-next:active {
	opacity: 1;
	font-size: 20px;
}

.flex-direction-nav .flex-prev-disabled,
.flex-direction-nav .flex-next-disabled {
	opacity: 0.1!important;
	cursor: default;
	filter: alpha(opacity=0);
	z-index: 5;
}

.flex-direction-nav .flex-prev-disabled {
	left: 0px;
}
	
.flex-direction-nav .flex-next-disabled {
	right: 0px;
}

.flex-control-nav {
	width: 100%;
	text-align: center;
	padding-left: 0px;
	margin: 20px 0px 0px 0px;
}

/*
@media screen and (min-width: 1290px) {
	.flex-control-nav {
		margin: 20px 0px 0px 0px;
	}
}
*/

.flex-control-nav li {
	margin: 0;
	padding: 0;
	display: inline-block;
	zoom: 1;
	*display: inline;
}

.flex-control-paging li a {
	display: block;
	cursor: pointer;
	text-indent: -9999px;
	padding: 7px;
}

.flex-control-paging li a::after {
	content: '';
	width: 30px;
	height: 5px;
	display: block;
	background: rgba(0,0,0,0.4);
	transition: background 0.1s,color 0.1s;
}

.flex-control-paging li a:last-child {
	margin-right: 0px;
}

.flex-control-paging li a.flex-active::after {
	background: #0caedf;
	cursor: default;
}
.centered {
  text-align: center;
}

.centered > table,
.centered > div,
.centered > form {
  margin-left: auto;
  margin-right: auto;
}

.tabs.is-tabs-ready > .tabs-panel {
  display: none;
}

.tabs.is-tabs-ready > .tabs-panel.is-active {
  display: block;
}

.tabs > .tabs-panel + .tabs-panel {
  margin-top: 10px;
}

.tabs.is-tabs-ready > .tabs-panel + .tabs-panel {
  margin-top: 0;
}

.navbar-nav > li > a,
.navbar-nav .dropdown-menu > li > a {
  min-height: 30px;
}

.navbar-toggle {
  min-width: 44px;
  min-height: 34px;
}

@media (min-width: 768px) {
  .navbar-nav > li > a {
    white-space: nowrap;
  }

  .navbar-nav > .open > .dropdown-menu {
    display: none;
  }

  .navbar-nav > .dropdown:hover > .dropdown-menu,
  .navbar-nav > .dropdown:focus-within > .dropdown-menu {
    display: block;
  }
}

@media screen and (max-width: 959px) {
  #fullarea {
    display: flex;
    flex-direction: column;
  }

  #fullarea > #rightarea {
    display: block;
  }

  #fullarea > #leftarea {
    display: block;
    width: auto;
    order: 2;
  }
}

body.is-past-header .go-up,
body.is-before-footer .go-down {
  display: block;
}

body.is-modal-open {
  overflow: hidden;
}

.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-modal.is-open {
  display: flex;
}

.video-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.video-modal-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.video-modal-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal-close {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 2;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #333;
  color: #fff;
  font-size: 24px;
  line-height: 30px;
  cursor: pointer;
}

.video-modal-close::before {
  content: "\00d7";
}

@media (max-width: 640px) {
  .video-modal-close {
    top: -14px;
    right: -6px;
  }
}

form.contact-form .form-notice {
  display: none;
}

form.contact-form.is-sent .form-notice {
  display: block;
}

form.contact-form.is-sending button[type="submit"] {
  opacity: 0.6;
  pointer-events: none;
}
:where(img.lazyload, img.lazyloading, img.lazyloaded) {
  height: auto;
}

@media (max-width: 640px) {
  main table.main {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }
}

h1.page-title {
  font-size: 1.17em;
  margin-top: 1em;
  margin-bottom: 1em;
}

.search-form {
  position: relative;
  display: inline-block;
}

.search-form #search_advice_wrapper {
  display: none;
  top: 100%;
  left: 0;
  right: 0;
  width: auto;
  text-align: left;
}

.search-form #search_advice_wrapper.is-open {
  display: block;
}

#search_advice_wrapper a.lsresult,
#search_advice_wrapper a.lsresult-active {
  float: none;
  color: #333;
}

#search_advice_wrapper a.lsresult-active,
#search_advice_wrapper a.lsresult:hover {
  color: #fff;
  background-color: #3875d7;
}

[data-filter-item].is-filtered-out {
  display: none;
}

.photo-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.photo-modal.is-open {
  display: flex;
}

.photo-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.photo-modal-box {
  position: relative;
  z-index: 1;
  max-width: 100%;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.photo-modal-img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  margin: 0 auto;
}

.photo-modal-close,
.photo-modal-prev,
.photo-modal-next {
  position: absolute;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #333;
  color: #fff;
  font-size: 24px;
  line-height: 38px;
  cursor: pointer;
}

.photo-modal-close {
  top: -18px;
  right: -18px;
  width: 36px;
  height: 36px;
  line-height: 30px;
}

.photo-modal-close::before {
  content: "\00d7";
}

.photo-modal-prev,
.photo-modal-next {
  top: 50%;
  margin-top: -22px;
}

.photo-modal-prev {
  left: -22px;
}

.photo-modal-next {
  right: -22px;
}

.photo-modal-prev::before {
  content: "\2039";
}

.photo-modal-next::before {
  content: "\203a";
}

.photo-modal.is-single .photo-modal-prev,
.photo-modal.is-single .photo-modal-next {
  display: none;
}

@media (max-width: 640px) {
  .photo-modal-close {
    top: -14px;
    right: -6px;
  }

  .photo-modal-prev {
    left: -6px;
  }

  .photo-modal-next {
    right: -6px;
  }
}

.ranking-chart {
  margin: 10px 0;
}

.ranking-chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.ranking-chart-line {
  fill: none;
  stroke: #3875d7;
  stroke-width: 2;
}

.ranking-chart-axis {
  stroke: #ccc;
  stroke-dasharray: 4 4;
}

.ranking-chart-label {
  fill: #555;
  font-size: 12px;
}

.score-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.score-modal.is-open {
  display: flex;
}

.score-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.score-modal .seltableform {
  position: relative;
  top: auto;
  left: auto;
  z-index: 1;
  width: 100%;
  max-width: 340px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px 15px 15px;
  box-sizing: border-box;
  transition: none;
}

.score-modal-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #333;
  color: #fff;
  font-size: 22px;
  line-height: 32px;
  cursor: pointer;
}

.score-modal-close::before {
  content: "\00d7";
}

.score-modal-body h3 {
  margin: 12px 0 6px;
  font-size: 1em;
}

.score-modal-body .player_image img {
  display: block;
  width: 40px;
  height: auto;
  margin: 4px auto;
}

.score-modal-scores {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}

.score-modal-scores button {
  min-height: 30px;
  padding: 2px;
  border-radius: 3px;
  background: #fff;
  font: inherit;
  cursor: pointer;
}

.score-modal-scores .winscore {
  border: 1px solid green;
  color: green;
}

.score-modal-scores .lossscore {
  border: 1px solid red;
  color: red;
}

.score-modal-scores .techscore {
  border: 1px solid black;
  color: black;
}

.score-modal-scores button:hover,
.score-modal-scores button.highlight {
  background: #ff9;
}

.score-modal-games {
  display: flex;
  justify-content: space-between;
  gap: 4px;
}

.score-modal-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 90%;
}

.score-modal-game input {
  width: 34px;
  min-height: 30px;
  box-sizing: border-box;
  text-align: center;
}

.score-modal-quick {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.score-modal-quick input {
  flex: 1;
  min-width: 0;
  min-height: 30px;
  box-sizing: border-box;
}

.score-modal-tables {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.score-modal .gametable,
.gametable[data-table] {
  width: 30px;
  height: 30px;
  line-height: 28px;
  padding: 0;
  background: #fff;
  font: inherit;
}

.score-modal .gametable.highlight,
.gametable[data-table].highlight {
  background: #ff9;
}

.additional_info_off.is-open {
  height: auto;
  opacity: 1;
  overflow: visible;
}

.is-hide-photo [rel="photo-0"],
.is-hide-seeded [rel="seeded-0"],
.is-hide-gamenum [rel="gamenum-0"] {
  display: none;
}

.show_player:focus-within,
.player_data:focus-within {
  overflow: visible;
}

.show_player:focus-within {
  z-index: 20;
}

.player-suggest {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  min-width: 240px;
  max-width: 90vw;
  border-radius: 0 0 3px 3px;
  background: #fff;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  white-space: normal;
}

.player-suggest.is-open {
  display: block;
}

.player-suggest .lsresult,
.player-suggest .lsresult-active {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100%;
  min-height: 34px;
  padding: 3px 5px;
  border: 0;
  border-bottom: 1px dotted #ccc;
  background: #fff;
  color: #333;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.player-suggest .lsresult:last-child {
  border-bottom: 0;
}

.player-suggest .lsresult:hover,
.player-suggest .lsresult-active {
  background: #3875d7;
  color: #fff;
}

.player-suggest img.lsitem {
  float: none;
  margin: 0;
}

.score-modal-players {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  text-align: center;
}

.score-modal-label {
  display: block;
  padding: 2px 4px;
  border-radius: 2px;
  background: #457ad2;
  color: #fff;
}

.score-modal-player .player_image {
  padding: 4px 0;
  text-align: center;
  overflow-wrap: anywhere;
}

.gen-option {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  cursor: pointer;
}

.score_edit[data-match] {
  width: 30px;
}

button[data-export] {
  min-height: 30px;
}

form[data-search] .cell {
  position: relative;
}

form[data-search] input[type="submit"] {
  min-height: 30px;
}

.search-output {
  margin-top: 15px;
}

.search-empty,
.search-balance {
  text-align: center;
}

.search-balance {
  font-weight: bold;
}

.pagenav [data-variant] {
  min-width: 30px;
  min-height: 30px;
  box-sizing: border-box;
  text-align: center;
  cursor: pointer;
}

.pagenav span[data-variant]:not([aria-current="true"]) {
  color: #000;
  background-color: #c8c8c8;
}

.pagenav span[data-variant]:not([aria-current="true"]):hover,
.pagenav a[data-variant][aria-current="true"] {
  color: #fff;
  background-color: #666666;
}

.selscore[data-match] {
  min-width: 30px;
  min-height: 30px;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .rr-matrix {
    overflow-x: auto;
  }

  .rr-matrix .row_header > div,
  .rr-matrix .row > div {
    box-sizing: border-box;
  }

  .rr-matrix [id^="cell-"]:not(.off) {
    min-width: 30px;
  }

  .rr-matrix .row_header > div:first-child,
  .rr-matrix [id^="tdnumof_p"] {
    min-width: 26px;
  }

  .rr-matrix .row_header > div:nth-child(2),
  .rr-matrix .show_player {
    min-width: 130px;
  }

  .rr-matrix .row_header > div:nth-last-child(-n+3),
  .rr-matrix [id^="tdpoints_p"],
  .rr-matrix [id^="tdplace_p"],
  .rr-matrix [id^="tdratio_p"] {
    min-width: 64px;
    word-break: normal;
  }

  .rr-matrix .player_name input {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .player-suggest {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10001;
    min-width: 0;
    max-width: none;
    max-height: 50vh;
    overflow-y: auto;
  }
}

@media print {
  header,
  footer,
  .footer,
  aside,
  .go-up,
  .go-down,
  .search-form,
  .pagenav,
  .centered:has(.pagenav),
  .tabs > input,
  .tabs > label,
  a.punkt,
  [data-export],
  #htmlcode,
  #htmlcodestatus,
  #scoreserror,
  #playerserror,
  #grouperror,
  .row_tranparent:has(input[data-option]),
  .score-modal,
  .player-suggest {
    display: none !important;
  }

  .additional_info_off {
    height: auto;
    opacity: 1;
    overflow: visible;
  }

  form#roundrobin input,
  form#teammatch input,
  form#bracket input {
    border: 0;
    background: none;
    box-shadow: none;
  }

  div.bracket_wrap {
    overflow: visible;
  }
}

a.playersinmatch {
  display: inline-block;
  vertical-align: top;
  width: 130px;
  height: 150px;
  color: lightgrey;
  text-align: center;
  padding: 10px;
  text-decoration: none;
  font-size: 90%;
}

a.playersinmatch:hover {
  color: white;
  text-decoration: none;
}

.simplerow li {
  border: 1px solid #666666;
  background: #ededed;
  padding: 5px;
  border-radius: 5px;
  display: inline-block;
  vertical-align: middle;
  width: 190px;
  height: 270px;
  margin: 0 0 10px 10px;
  text-align: center;
}

#chart_place {
  display: block;
}

.chart-box {
  margin-bottom: 10px;
}

.balance-chart {
  max-width: 760px;
  margin: 10px auto;
}

.balance-chart-title {
  margin: 0 0 6px;
  text-align: center;
  font-weight: bold;
}

.balance-chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.balance-chart-axis {
  stroke: #ccc;
  stroke-dasharray: 4 4;
}

.balance-chart-label {
  fill: #555;
  font-size: 12px;
}

.balance-chart-line {
  fill: none;
  stroke-width: 2;
}

.balance-chart-a .balance-chart-line {
  stroke: #3875d7;
}

.balance-chart-a .balance-chart-dot {
  fill: #3875d7;
}

.balance-chart-b .balance-chart-line {
  stroke: #d9534f;
}

.balance-chart-b .balance-chart-dot {
  fill: #d9534f;
}

.balance-chart-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.balance-chart-legend li::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 4px;
  margin-right: 6px;
  vertical-align: middle;
}

.balance-chart-legend .balance-chart-a::before {
  background: #3875d7;
}

.balance-chart-legend .balance-chart-b::before {
  background: #d9534f;
}

#chartwrap {
  height: auto;
}

@media (max-width: 640px) {
  .balance-chart-label {
    font-size: 20px;
  }
}

.age-chart {
  max-width: 760px;
  margin: 10px auto;
}

.age-chart-title {
  margin: 0 0 6px;
  text-align: center;
  font-weight: bold;
}

.archive-block {
  margin-top: 30px;
}

.ranking-source {
  margin: 10px 0;
  text-align: center;
  font-weight: bold;
}

@media (max-width: 640px) {
  [data-analysis] .cell-blank {
    display: none;
  }
}

.flex-slider {
  display: flex;
  width: 0;
  min-width: 100%;
  height: auto;
  padding-bottom: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
}

.flex-slider > div.video_wrap {
  flex: 0 0 284px;
  width: 284px;
  height: 160px;
  margin: 5px 5px 0 0;
  scroll-snap-align: start;
}

@media (max-width: 640px) {
  table.main:has(.flex-slider) > tbody,
  table.main:has(.flex-slider) > tbody > tr,
  table.main:has(.flex-slider) > tbody > tr > th,
  table.main:has(.flex-slider) > tbody > tr > td {
    display: block;
  }
}

.video_tournament_icon img {
  height: auto;
}

div.video {
  position: relative;
}

div.video > [rel="hint"] {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 6;
  box-sizing: border-box;
  width: 100%;
  padding: 4px 0;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.8);
}

div.video:hover > [rel="hint"],
div.video:focus-within > [rel="hint"] {
  display: block;
}

div.video > [rel="hint"] > div {
  display: flex;
  flex-wrap: wrap;
}

div.video > [rel="hint"] a.playersinmatch {
  box-sizing: border-box;
  width: 50%;
  height: auto;
  padding: 4px;
}

div.video > [rel="hint"] .player_icon {
  float: none;
  display: block;
  width: auto;
  height: 60px;
  margin: 0 auto 2px;
}

#personal_data img.bordered {
  max-width: 100%;
  height: auto;
}

[rel="brackets"] {
  max-width: 100%;
  overflow-x: auto;
}

[rel="sub_medalists_link"],
[rel="sub_tournament_link"] {
  cursor: pointer;
}

.flex-slider > div.sub_tournament,
.flex-slider > div.sub_tournament_active {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 130px;
  min-height: 44px;
}

[id^="tournamentwrap"] {
  width: 0;
  min-width: 100%;
  overflow-x: auto;
}

[id^="tournamentwrap"] table.bracket,
[rel="brackets"] table.bracket {
  min-width: 850px;
}

[id^="tournamentwrap"] table.bracket.col_19,
[rel="brackets"] table.bracket.col_19 {
  min-width: 1250px;
}

[id^="tournamentwrap"] table.bracket.col_22,
[rel="brackets"] table.bracket.col_22 {
  min-width: 1450px;
}

.results-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 10px 0 24px;
}

.results-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 4px 4px 12px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.results-nav-item > a:first-child {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  color: #084282;
  font-weight: bold;
  text-decoration: none;
}

.results-nav-item > a:first-child:hover,
.results-nav-item > a:first-child:focus-visible {
  text-decoration: underline;
}

.results-nav a.punkt,
.results-stage a.punkt {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 30px;
}

.results-stage {
  margin: 6px 0;
  padding-left: 10px;
}

.topplayers td a,
.top-countries-rank {
  font-weight: bold;
}

.top-countries > div {
  line-height: 30px;
}

button[data-video] {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  line-height: inherit;
  cursor: pointer;
}

button[data-video]:focus-visible .play-button-outer,
button[data-video]:focus-visible img {
  outline: 2px solid #457ad2;
  outline-offset: 2px;
}

.sum-label {
  font-weight: bold;
}

.play-button {
  display: block;
}

.ranking-history td,
.ranking-history th {
  text-align: center;
}

.latest-events {
  margin-bottom: 16px;
}

.child-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
  margin: 24px 0;
}

.child-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 30px;
}

.history-link {
  text-align: right;
}

.history-link a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
}

.profile-ring {
  margin: 30px 0 10px;
}

.profile-ring-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.profile-ring-list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 130px;
  text-align: center;
}

.profile-ring-list img {
  width: 90px;
  height: 112px;
  margin-bottom: 6px;
  object-fit: cover;
}

.profilewrap {
  height: auto;
  min-height: 0;
}

.profile-photo {
  --photo-width: clamp(140px, 40vw, 180px);
  width: var(--photo-width);
  margin: 0 auto;
}

.profile-photo #genderphoto {
  display: block;
  width: var(--photo-width);
  height: calc(var(--photo-width) * 1.25);
}

.profile-photo #genderphoto img.bordered {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: cover;
}

.navbar .search-toggle {
  position: absolute;
  top: 8px;
  right: 15px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 34px;
  padding: 0;
  color: #fff;
  background: none;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
}

.navbar .search-toggle:hover,
.navbar .search-toggle:focus-visible,
.navbar.is-search-open .search-toggle {
  background: #333;
  border-color: #333;
}

.search-toggle-icon {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.header-search {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1001;
  display: none;
  padding: 10px 15px;
  background: #222;
  border: 1px solid #080808;
  border-top: 0;
  border-radius: 0 0 4px 4px;
}

.navbar.is-search-open .header-search {
  display: block;
}

.header-search .search-form {
  display: flex;
  gap: 6px;
  align-items: center;
}

.header-search input.mainsearch {
  width: 240px;
  max-width: 100%;
  height: 30px;
  margin: 0;
}

.header-search input.fbut {
  min-height: 30px;
}

@media (min-width: 768px) {
  .navbar > .bscontainer {
    position: relative;
    padding-right: 60px;
  }
}

@media (max-width: 767px) {
  .navbar .search-toggle {
    right: 68px;
  }

  .header-search {
    left: 0;
  }

  .header-search input.mainsearch {
    flex: 1;
    width: auto;
    min-width: 0;
  }
}

@media print {
  .search-toggle,
  .header-search {
    display: none;
  }
}

.set_of_videos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px 16px;
  margin-top: 20px;
  text-align: left;
}

.set_of_videos > .video {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fafafa;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.set_of_videos > .video > div {
  padding: 6px 10px 0;
}

.set_of_videos > .video > div:last-child {
  padding-bottom: 8px;
  color: #666;
}

.set_of_videos > .video > div:has(> button[data-video]) {
  padding: 0;
}

.set_of_videos .video button[data-video] {
  position: relative;
  display: block;
  width: 100%;
}

.set_of_videos .video button[data-video]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  margin: -14px 0 0 -9px;
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent rgba(255, 255, 255, 0.9);
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.7));
}

.set_of_videos .video_prev {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 0;
  object-fit: cover;
}

.set_of_videos > .video > [rel="hint"] {
  top: auto;
  padding: 6px 0;
  border-radius: 0;
}

@media (hover: none) {
  .set_of_videos > .video > [rel="hint"] {
    position: static;
    display: block;
    order: 5;
    padding: 6px 10px 8px;
    background: none;
    border-top: 1px solid #ddd;
  }

  .set_of_videos > .video > [rel="hint"] > div {
    display: block;
  }

  .set_of_videos > .video > [rel="hint"] a.playersinmatch {
    display: block;
    overflow: hidden;
    width: 100%;
    min-height: 40px;
    padding: 2px 0;
    color: #333;
    font-size: 100%;
    line-height: 18px;
    text-align: left;
  }

  .set_of_videos > .video > [rel="hint"] .player_icon {
    float: left;
    width: auto;
    height: 36px;
    margin: 0 8px 0 0;
  }

  .set_of_videos > .video > div:nth-last-child(1) {
    padding-bottom: 6px;
  }
}

.nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  color: #084282;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: #084282;
}

.nav-links a[aria-current] {
  color: #000;
  font-weight: bold;
  background: #eef3fa;
  border-color: #084282;
}

.nav-links span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  color: #999;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 3px;
}

.link-select {
  position: relative;
  display: inline-block;
  max-width: 100%;
  text-align: left;
  vertical-align: top;
}

.link-select > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-sizing: border-box;
  min-width: 150px;
  max-width: 100%;
  min-height: 30px;
  padding: 0 10px;
  color: #000;
  background: #fff;
  border: 1px solid #084282;
  border-radius: 3px;
  cursor: pointer;
  list-style: none;
}

.link-select > summary::-webkit-details-marker {
  display: none;
}

.link-select > summary::after {
  content: "";
  flex: none;
  border: 5px solid transparent;
  border-top-color: #084282;
  border-bottom-width: 0;
}

.link-select[open] > summary::after {
  border-top-width: 0;
  border-bottom-width: 5px;
  border-bottom-color: #084282;
}

.link-select-list {
  position: absolute;
  z-index: 30;
  top: 100%;
  left: 0;
  box-sizing: border-box;
  width: max-content;
  min-width: 100%;
  max-width: min(320px, calc(100vw - 32px));
  max-height: min(60vh, 420px);
  margin-top: 2px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #084282;
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.cell:last-child:not(:first-child) > .link-select > .link-select-list {
  right: 0;
  left: auto;
}

.link-select-list a,
.link-select-list span {
  display: flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
}

.link-select-list a {
  color: #084282;
  text-decoration: none;
}

.link-select-list a:hover,
.link-select-list a:focus-visible {
  background: #eef3fa;
}

.link-select-list a[aria-current] {
  color: #000;
  font-weight: bold;
  background: #eef3fa;
}

.link-select-list span {
  color: #999;
}

.tournament-title {
  margin-top: 10px;
  font-weight: bold;
  text-align: left;
}

button[data-clear] {
  min-height: 30px;
  margin-left: 10px;
}

button[data-reset-time] {
  min-height: 30px;
  margin-right: 8px;
}

#bracket .player_data,
#roundrobin .player_data,
#teammatch .player_data {
  width: 100%;
}

#bracket .player_name,
#roundrobin .player_name,
#teammatch .player_name {
  flex: 1;
  min-width: 0;
  padding-right: 3px;
}

#bracket .player_name input[type="text"],
#roundrobin .player_name input[type="text"],
#teammatch .player_name input[type="text"] {
  min-height: 30px;
  padding: 0 4px !important;
  border: 1px solid #b4bfcf !important;
  border-radius: 3px;
  background: #fff;
  box-sizing: border-box;
}

#bracket .player_name input[type="text"] {
  border-style: dashed !important;
  background: #f4f7fb;
}

#bracket .player_name input[type="text"]:hover,
#roundrobin .player_name input[type="text"]:hover,
#teammatch .player_name input[type="text"]:hover {
  border-color: #3875d7 !important;
  background: #fff;
}

#bracket .player_name input[type="text"]:focus,
#roundrobin .player_name input[type="text"]:focus,
#teammatch .player_name input[type="text"]:focus {
  border-color: #3875d7 !important;
  border-style: solid !important;
  outline: 2px solid rgba(56, 117, 215, 0.35);
  outline-offset: 0;
  background: #fff;
}

.rr-matrix [role="button"][data-match],
.selscore[role="button"][data-match],
.score_edit[role="button"][data-match] {
  background: #eef3fa;
}

.rr-matrix [role="button"][data-match] {
  box-shadow: inset 0 0 0 1px #d3dcea;
}

.selscore[role="button"][data-match] {
  height: 30px;
  border: 1px dashed #9aa7b8;
  border-radius: 3px;
}

#bracket .player_image_bracket:not(:has(img)),
#roundrobin .player_image_bracket:not(:has(img)),
#teammatch .player_image_bracket:not(:has(img)) {
  display: none;
}

.rr-matrix [role="button"][data-match]:hover,
.rr-matrix [role="button"][data-match]:focus-visible,
.selscore[role="button"][data-match]:hover,
.selscore[role="button"][data-match]:focus-visible,
.score_edit[role="button"][data-match]:hover,
.score_edit[role="button"][data-match]:focus-visible {
  background: #ff9;
}

@supports (anchor-name: --player-field) {
  @media (min-width: 641px) {
    #bracket .player_name input[type="text"]:focus,
    #roundrobin .player_name input[type="text"]:focus,
    #teammatch .player_name input[type="text"]:focus {
      anchor-name: --player-field;
    }

    #bracket .player-suggest,
    #roundrobin .player-suggest,
    #teammatch .player-suggest {
      position: fixed;
      top: anchor(bottom);
      left: anchor(left);
      max-height: 60vh;
      overflow-y: auto;
      position-anchor: --player-field;
      position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline;
    }
  }
}

@media print {
  [data-clear],
  [data-reset-time] {
    display: none !important;
  }

  #bracket .player_name input[type="text"],
  #roundrobin .player_name input[type="text"],
  #teammatch .player_name input[type="text"] {
    border: 0 !important;
    outline: 0;
    background: none;
  }

  .rr-matrix [role="button"][data-match],
  .selscore[role="button"][data-match],
  .score_edit[role="button"][data-match] {
    background: none;
    box-shadow: none;
  }

  .selscore[role="button"][data-match] {
    border: 0;
  }
}

.news-text {
  display: flow-root;
  text-align: justify;
}

.news-photo {
  float: left;
  width: 160px;
  height: 100px;
  margin: 2px 10px 6px 0;
  object-fit: cover;
}

@media (max-width: 640px) {
  .news-photo {
    width: 100px;
    height: 63px;
  }
}

[data-wtt-news] a {
  padding: 7px 0;
}
