@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700);
@import url(http://fonts.googleapis.com/css?family=Ubuntu:700,700italic);

body {
  margin: 15px;
  /*background-color: #93A4AC;*/
  background-color: #ffffff;
  font-family: Open Sans, Arial, Helvetica, sans-serif;
  font-size: 12px;
}
#container {
  background-color: #fff;
  width: 1000px;
  margin-left: auto;
  margin-right: auto;
  -webkit-box-shadow: 0px 0px 25px -5px rgb(0, 0, 0);
  box-shadow: 0px 0px 25px -5px rgb(0, 0, 0);
}
#top-cap {
  border: 1px solid #104885;
  height: 8px;
  width: 998px;
  background: #4f8fe6; /* Old browsers */
  background: -moz-linear-gradient(top, #4f8fe6 0%, #2c67ad 100%); /* FF3.6+ */
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, #4f8fe6),
    color-stop(100%, #2c67ad)
  ); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(
    top,
    #4f8fe6 0%,
    #2c67ad 100%
  ); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(
    top,
    #4f8fe6 0%,
    #2c67ad 100%
  ); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #4f8fe6 0%, #2c67ad 100%); /* IE10+ */
  background: linear-gradient(to bottom, #4f8fe6 0%, #2c67ad 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4f8fe6', endColorstr='#2c67ad',GradientType=0 ); /* IE6-9 */
}
#content {
  margin: 15px;
}
#header div.logo {
  background-image: url(../img/logo.png);

  width: 163px;
  height: 112px;

  text-indent: -100000px;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: 35px 15px;
}
#header {
  position: relative;
  z-index: 1000;
}
#header div.title {
  position: absolute;
  font-size: 14px;
  right: 15px;
  bottom: 40px;
}
#header .main-menu {
  margin-top: 15px;
  border-top: 1px solid #d1d2d4;
  border-bottom: 1px solid #d1d2d4;
  background-color: #ededef;
  padding: 5px;
  height: 17px;
  position: relative;
}
#header .main-menu .current-user {
  position: absolute;
  right: 15px;
  top: 5px;
  background-image: url(../img/generic_user.png);
  background-repeat: no-repeat;
  height: 16px;
  line-height: 16px;
  font-size: 13px;
  padding-left: 22px;
  cursor: default;
  z-index: 1000;
}
#header .main-menu .current-user span.arrow {
  background-image: url(../img/menu_arrow.png);
  width: 8px;
  height: 5px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px;
}
#header .main-menu .current-user ul.user-menu {
  display: none;
  position: absolute;
  padding: 0px;
  margin: 0px;
  list-style: none;
  background-color: #fff;
  top: 16px;
  right: 0px;
  min-width: 150px;
  -webkit-box-shadow: 0px 0px 10px -3px rgb(0, 0, 0);
  box-shadow: 0px 0px 10px -3px rgb(0, 0, 0);
  font-size: 12px;
  white-space: nowrap;
  z-index: 10000;
}
#header .main-menu .current-user:hover ul.user-menu {
  display: block;
}
#header .main-menu .current-user ul.user-menu a {
  color: #000;
  text-decoration: none;
  display: block;
  padding: 5px 15px 5px 36px;
  background-position: 10px center;
  background-repeat: no-repeat;
}
#header .main-menu .current-user ul.user-menu li {
  display: block;
  margin: 0px;
  padding: 0px;
}
#header .main-menu .current-user ul.user-menu li.hr {
  height: 1px;
  display: block;
  border-top: 1px solid #dddddd;
  margin: 2px 5px 1px 5px;
  overflow: hidden;
}
#header .main-menu .current-user ul.user-menu a.change-password {
  background-image: url(../img/user_changepass.png);
}
#header .main-menu .current-user ul.user-menu a.logout {
  background-image: url(../img/user_logout.png);
}
#main {
  position: relative;
  margin-top: 30px;
  top: -15px;
}
.menu-left {
  width: 210px;
  height: 100%;
  border-right: 3px double #cccccc;
  padding-right: 10px;
  margin: 0px;
  margin-right: 10px;
  padding: 0px;
  list-style: none;
  float: left;
}
.menu-left li {
  margin: 0px 10px 10px 10px;
  border: 1px solid #bcbcbc;
}
.menu-left li strong {
  display: block;
  background: #4f8fe6; /* Old browsers */
  background: -moz-linear-gradient(top, #4f8fe6 0%, #2c67ad 100%); /* FF3.6+ */
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, #4f8fe6),
    color-stop(100%, #2c67ad)
  ); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(
    top,
    #4f8fe6 0%,
    #2c67ad 100%
  ); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(
    top,
    #4f8fe6 0%,
    #2c67ad 100%
  ); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #4f8fe6 0%, #2c67ad 100%); /* IE10+ */
  background: linear-gradient(to bottom, #4f8fe6 0%, #2c67ad 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4f8fe6', endColorstr='#2c67ad',GradientType=0 ); /* IE6-9 */
  font-size: 14px;
  padding: 3px 15px;
  text-transform: uppercase;
  color: #fff;
  font-weight: normal;
}
.menu-left li ul {
  margin: 0px;
  padding: 0px;
  list-style: none;
}
.menu-left li ul li {
  border: none;
  margin: 0px;
}
.menu-left li ul li a {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #4d4d4d;
  text-decoration: none;
  background: #fcfcfe; /* Old browsers */
  background: -moz-linear-gradient(top, #fcfcfe 0%, #e8e9ee 100%); /* FF3.6+ */
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, #fcfcfe),
    color-stop(100%, #e8e9ee)
  ); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(
    top,
    #fcfcfe 0%,
    #e8e9ee 100%
  ); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(
    top,
    #fcfcfe 0%,
    #e8e9ee 100%
  ); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #fcfcfe 0%, #e8e9ee 100%); /* IE10+ */
  background: linear-gradient(to bottom, #fcfcfe 0%, #e8e9ee 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfcfe', endColorstr='#e8e9ee',GradientType=0 ); /* IE6-9 */

  padding: 4px 15px;
}
.menu-left li ul li a:hover {
  background: #fff;
  filter: none;
}
#content {
  margin-left: 220px;
  width: 760px;
  min-height: 300px;
}
.clear {
  clear: both;
}

fieldset {
  padding: 0px;
  margin: 0px;
  border: none;
}

h1,
h2,
h3,
h4,
h5,
legend {
  font-family: Ubuntu;
  font-size: 700;
  letter-spacing: -1px;
}
h1,
legend {
  color: #262f6a;
  font-size: 30px;
  margin-top: 0px;
  margin-bottom: 1em;
  font-weight: bold;
}
h2 {
  color: #3875c0;
  font-size: 20px;
  margin-top: 0px;
  margin-bottom: 1em;
}
form div.input {
  margin-bottom: 4px;
}

form div.input2 {
  overflow: hidden;
}

form div.input label {
  display: inline-block;
  vertical-align: middle;
  width: 100px;
}
div.input.text span.holo,
div.input.password span.holo {
  border-bottom: 6px solid #3875c0;
  display: inline-block;
  vertical-align: middle;
  padding: 0px 2px 0px 2px;
  position: relative;
}
div.input.textarea span.holo {
  vertical-align: top;
  display: inline-block;
}
div.input.textarea {
  margin-top: 10px;
}
div.input.checkbox input {
  display: inline-block;
  vertical-align: middle;
}
div.input.checkbox label {
  display: inline-block;
  vertical-align: middle;
  padding: 0px 10px;
}

span.holo input[type='text'],
span.holo input[type='password'] {
  border: none;
  display: inline-block;
  vertical-align: bottom;
  position: relative;
  top: 4px;
  font-family: monospace;
  color: #333;
  padding: 0px 4px;
  height: 22px;
  line-height: 22px;
  font-family: Open Sans, Arial, Helvetica, sans-serif;
  font-size: 12px;
}
span.holo textarea {
  border: none;
  display: inline-block;
  font-family: monospace;
  color: #333;
  padding: 0px;
  height: 22px;
  font-family: Open Sans, Arial, Helvetica, sans-serif;
  font-size: 12px;
  width: 300px;
  padding: 4px 6px;
  min-height: 4em;
  overflow: auto;
  background-color: #eee;
  border-bottom: 2px solid #3875c0;
}
form div.input input[type='text'],
form div.input input[type='password'] {
  width: 300px;
}
input {
  outline: none;
}

form div.submit {
  margin-left: 100px;
  margin-top: 15px;
}
input[type='submit'],
input[type='button'],
button {
  display: inline-block;
  color: #333;
  font-weight: bold;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-family: Open Sans, Arial, Helvetica, sans-serif;
  font-size: 12px;
  padding: 4px 15px;

  background: #f7f7f7; /* Old browsers */
  background: -moz-linear-gradient(top, #f7f7f7 0%, #e2e2e2 100%); /* FF3.6+ */
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, #f7f7f7),
    color-stop(100%, #e2e2e2)
  ); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(
    top,
    #f7f7f7 0%,
    #e2e2e2 100%
  ); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(
    top,
    #f7f7f7 0%,
    #e2e2e2 100%
  ); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #f7f7f7 0%, #e2e2e2 100%); /* IE10+ */
  background: linear-gradient(to bottom, #f7f7f7 0%, #e2e2e2 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#e2e2e2',GradientType=0 ); /* IE6-9 */
}
input[type='submit']:active,
input[type='button']:active,
button:active {
  color: #000;
  border-color: #bbb;

  background: #e2e2e2;
  box-shadow: inset 0px 0px 3px #ccc;
}

.message {
  color: #3875c0;
  font-size: 14px;
  margin: 8px 0px;
  text-transform: uppercase;

  /*border-left: 16px solid red;*/
  padding-left: 26px;
  background-image: url(../img/attention.png);
  background-repeat: no-repeat;
}
table.crud {
  width: 95%;
  border: 1px solid #ccc;
  margin: 20px auto;
  border-radius: 3px;
  border-spacing: 0px;

  background: #ffffff; /* Old browsers */
  background: -moz-linear-gradient(top, #ffffff 0%, #fafafa 100%); /* FF3.6+ */
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, #ffffff),
    color-stop(100%, #fafafa)
  ); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(
    top,
    #ffffff 0%,
    #fafafa 100%
  ); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(
    top,
    #ffffff 0%,
    #fafafa 100%
  ); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #ffffff 0%, #fafafa 100%); /* IE10+ */
  background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#fafafa',GradientType=0 ); /* IE6-9 */
}
table.crud td {
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  padding: 6px;
}
table.crud th {
  background-color: #eee;
  color: #3875c0;
  padding: 6px;
}
table.crud th a {
  padding: 0px 15px 0px 0px;
  color: #3875c0;
  text-decoration: none;
}
table.crud th a:hover {
  color: #5895e0;
}
table.crud th a.asc {
  background-image: url(../img/arrow_up.png);
  background-repeat: no-repeat;
  background-position: center right;
}
table.crud th a.desc {
  background-image: url(../img/arrow_down.png);
  background-repeat: no-repeat;
  background-position: center right;
}

table.crud tr td:first-child {
  border-left: none;
}
table.crud td.actions {
  text-align: center;
}
table.crud td.actions a.edit,
table.crud td.actions a.delete,
table.crud td.actions a.copy {
  display: inline-block;
  vertical-align: middle;
  width: 14px;
  height: 14px;
  color: transparent;
  font-size: 1px;
  line-height: 1px;
  background-image: url(../img/edit.png);
  margin: 0px 5px;
}
table.crud td.actions a.copy {
  background-image: url(../img/copy.png);
}
table.crud td.actions a.delete {
  background-image: url(../img/remove.png);
}
.paginator {
  width: 95%;
  padding: 0px 6px;
  margin: 10px auto;
}
.paginator .paging span {
  display: inline-block;
  border: 1px solid #ccc;
  border-left: none;

  background: #ffffff; /* Old browsers */
  background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee 100%); /* FF3.6+ */
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, #ffffff),
    color-stop(100%, #eeeeee)
  ); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(
    top,
    #ffffff 0%,
    #eeeeee 100%
  ); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(
    top,
    #ffffff 0%,
    #eeeeee 100%
  ); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #ffffff 0%, #eeeeee 100%); /* IE10+ */
  background: linear-gradient(to bottom, #ffffff 0%, #eeeeee 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#EEEEEE',GradientType=0 ); /* IE6-9 */
}
.paginator .paging span.disabled {
  color: #aaa;
  background: #eee;
  padding: 3px 10px;
}
.paginator .paging span a,
.paginator .paging span.current {
  padding: 3px 10px;
  display: inline-block;
  color: #000;
  text-decoration: none;
}
.paginator .paging span.current {
  font-weight: bold;
  background: #fff;
}
.paginator .paging span.prev {
  border-left: 1px solid #ccc;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.paginator .paging span.next {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
div.input .error-message {
  color: #3875c0;
  font-size: 14px;
  text-transform: uppercase;
  margin-left: 100px;
  margin-top: 3px;
  margin-bottom: 15px;
}
a.new-item {
  display: inline-block;
  color: #444;
  font-weight: bold;
  text-decoration: none;
  min-height: 14px;
  padding-left: 20px;
  background-image: url(../img/new.png);
  background-repeat: no-repeat;
  background-position-x: left;
  background-position-y: center;
  margin-top: 15px;
}
div.gallery {
  border: 1px solid #ddd;
  padding: 15px;
  background-color: #eee;
  box-shadow: inset 0px 0px 30px #aaa;
}
div.gallery a {
  display: inline-block;
  width: 200px;
  height: 150px;
  position: relative;
  vertical-align: middle;
  float: left;
  background-color: #000;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  margin-right: 8px;
  margin-bottom: 8px;
}
div.gallery a span.order {
  position: absolute;
  top: 0px;
  left: 0px;
  background-color: #fff;
  display: block;
  padding: 3px 10px 6px 10px;
  font-weight: bold;
  color: #000;
  font-size: 14px;
  line-height: 14px;
  border-bottom-right-radius: 20px;
  z-index: 2;
  cursor: move;
}
div.gallery a img {
  max-width: 200px;
  max-height: 200px;
  z-index: 1;
  border: none;
}
div.gallery a .align-hack {
  display: inline-block;
  height: 150px;
  vertical-align: middle;
  width: 1px;
  margin-right: -4px;
}
div.gallery a .img {
  display: inline-block;
  vertical-align: middle;
}
div.gallery a .nosort {
  display: inline-block;
  height: 200px;
}
body.popup #container {
  box-shadow: none;
  width: auto;
}
body.popup #container #content {
  margin: 0px;
  min-height: 0px;
  width: auto;
}

table.treetable {
  margin-top: 1em;
  margin-bottom: 1em;
  font-weight: bold;
}
table.treetable td {
  padding-top: 3px;
  padding-bottom: 3px;
}
table.treetable .indenter {
  width: 19px;
  float: left;
  display: inline-block;
  height: 16px;
}
table.treetable tr.collapsed .indenter a {
  background-image: url(../img/tip_pg.png);
  background-position: center center;
  background-repeat: no-repeat;
}
table.treetable tr.expanded .indenter a {
  background-image: url(../img/tip_pg_open.png);
  background-position: center center;
  background-repeat: no-repeat;
}
table.treetable .name {
  float: left;
}
table.treetable .edition {
  display: inline-block;
  padding-left: 20px;
  float: right;
}
table.treetable .edition a.edit {
  display: inline-block;
  font-size: 1px;
  color: transparent;
  background-image: url(../img/edit.png);
  width: 14px;
  height: 14px;
  vertical-align: middle;
}
table.treetable .edition a.remove {
  display: inline-block;
  font-size: 1px;
  color: transparent;
  background-image: url(../img/remove.png);
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-left: 10px;
}
table.treetable .edition a.add-child {
  display: inline-block;
  font-size: 1px;
  color: transparent;
  background-image: url(../img/add.png);
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-left: 10px;
  margin-right: 10px;
}
table.treetable td:hover {
  background-color: #eee;
}

.instructors-picture {
  display: block;
  margin: auto;
  width: 100px;
}

#related_articles {
  border: 1px solid #3875c0;
  background-color: #f5f5f5;
  resize: none;
  overflow: hidden;
  vertical-align: top;
  height: 20px;
  width: 645px;
  font-family: monospace;
  color: #666;
  font-size: 13px;
  line-height: 1.3em;
}
