* {
    padding: 0;
    margin: 0;
}
body {
    padding: 0;
    margin: 0;
    background: #f0f2f5;
    font-size: 11px;
    min-width: 1000px;
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
}
/* Shortcuts */

.fl_l { float: left; }
.fl_r { float: right; }
.ta_l { text-align: left; }
.ta_r { text-align: right; }
.ta_c { text-align: center; }
.ma_c { margin: 0 auto; }
.f_12 { font-size: 12px !important; }
.f_13 { font-size: 13px !important; }
.f_14 { font-size: 14px !important; }
.f_15 { font-size: 15px !important; }
.f_16 { font-size: 16px !important; }
.f_17 { font-size: 17px !important; }
.nopadding { padding: 0 !important; }
.noborder { border: none !important; }
.no-resize { -webkit-text-size-adjust: none; }

.truncated {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Clearfix */

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
.clearfix { display: inline-block; }
html[xmlns] .clearfix { display: block; }
* html .clearfix { height: 1%; }

/* Preloader & Tooltip */
#page-preloader {
  position: fixed;
  width: 55px;
  height: 55px;
  border-radius: 3px;
  left: 50%;
  top: 50%;
  margin-left: -25px;
  margin-top: -25px;
  background: url(../img/loading.gif) center center no-repeat rgb(255, 255, 255);
  box-shadow: 0 0 5px rgba(6, 33, 63, 0.53);
  z-index: 500;
}
#tooltip {
  cursor: default;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 600;
  display: none;
  background: rgba(0, 0, 0, .7);
  border-radius: 5px;
  padding: 5px 10px;
  color: #fff;
}
#tooltip-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(0, 0, 0, .7);
  bottom: -5px;
}

/* Notifications */

#notification-wrap {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 310px;
  height: auto;
  z-index: 115;
}
.notification {
  display: none;
  width: 300px;
  height: auto;
  font-weight: 500;
  padding: 15px;
  border-radius: 3px;
  box-shadow: 0 0 4px rgba(6, 33, 63, 0.43);
  margin-top: 5px;
  background: #fff;
}
.notification-content {
  color: #000;
  font-size: 13px;
}


/* Buttons */

button, input[type="button"], input[type="submit"], input[type="reset"] {
    position: relative;
    padding: 5px 10px;
    color: #fff;
    text-align: center;
    font-size: 12px;
    border-radius: 5px;
    background: #315bab;
    border: 1px solid #083a69;
    outline: 0;
    text-shadow: 0 1px 0 #000;
}
button:hover, input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover {
    background-color: #2f497a !important;
    cursor: pointer;
}
button:active, input[type="button"]:active, input[type="submit"]:active, input[type="reset"]:active { bottom: -1px; }

button:disabled, button:disabled:hover, button:disabled:active,
input[type="button"]:disabled, input[type="button"]:disabled:hover, input[type="button"]:disabled:active,
input[type="submit"]:disabled, input[type="submit"]:disabled:hover, input[type="submit"]:disabled:active,
input[type="reset"]:disabled, input[type="reset"]:disabled:hover, input[type="reset"]:disabled:active {
    cursor: pointer;
    background: grey !important;
    position: static;
}

/* forms  */
.form-line { margin: 10px 0; }

.form-line label { 
    display: block;
    float: left;
    text-align: right;
    padding: 6px 15px 6px 6px;
}
.form-line input,
.form-line select { 
    font: inherit;
    margin: 0;
    border: 0;
    border-bottom: 1px solid #e0e0e0;
    outline: none;
    padding: 5px;
}
.form-line input:focus,
.form-line textarea:focus {
    border-color: #6FB0E5;
}

.form-line select { 
    height: 25px;
    box-sizing: inherit;
}

.form-line textarea {
    font: inherit;
    border: 1px solid #e0e0e0;
    height: 50px;
    max-height: 70px;
    margin: 0;
    padding: 5px;
    outline: none;
}

.form-controls { clear: both; }
.form-controls:after {
    content: '.';
    visibility: hidden;
    clear: both;
}

/* To Top button */

#to-top-wrap { 
    position: fixed;
    top: 0;
    opacity: 0.6;
    left: 0;
    height: 100%;
    cursor: pointer;
    display: none;
}

#to-top {
    background-color: #dbdde0;
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 100%;
}
#to-top-caption {
    text-align: center;
    position: relative;
    top: 15px;
    margin: auto;
    color: #777;
    font: inherit;
    font-size: 17px;
    font-weight: bolder;
}

/* Header */
header {
    position: relative;
    width: 910px;
    height: 167px;
    margin: 20px auto;
    background: #FFF url(/img/header.png) no-repeat left top;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(6, 33, 63, 0.20);
}
header #official {
    position: absolute;
    width: 250px;
    right: 0;
    top: 0;
    height: 120px;
    background: #FFF url(/img/header.png) no-repeat right top;
    border-top-right-radius: 3px;
}
header nav {
    position: absolute;
    width: 910px;
    height: 47px;
    bottom: 0;
    left: 0;
    display: table;
}
header nav ul {
    position: relative;
    margin-left: 0;
    height: 47px;
    display: table-row;
}
header nav ul li {
    display: table-cell;
    padding: 0;
    border-right: 1px solid #eee;
    width: 16.5%;
}
header nav ul li.l-last { border-right: 0; }
header ul li a {
    font-size: 15px;
    font-weight: bold;
    display: block;
    line-height: 47px;
    text-align: center;
}
header ul li a.link-important { color: #c00; }
header ul li a:hover {
    text-decoration: none;
    color: #333;
}
.dropdown-wrap {
    position: absolute;
    display: none;
    width: auto;
    z-index: 800;
    top: 0;
    left: 0;
}
.dropdown-wrap li {
    border-top: 1px solid #eee;
    border-right: 0;
    min-width: 131px;
    width: auto;
    padding: 0 10px;
    display: block;
    line-height: 46px;
    font-size: 15px;
    background: #fff;
    box-shadow: 0 3px 4px rgba(6, 33, 63, 0.25);
    float: none !important;
}
.dropdown-wrap li:last-child {
    border-radius: 0 0 3px 3px;
}

/* main block */
section#wrap {
    width: 910px;
    position: relative;
    margin: 0 auto;
    padding: 0;
}
#title {
    font-weight: bold;
    font-size: 15px;
    padding: 20px;
    border-radius: 2px;
    background: #fff;
    margin-bottom: 10px;
    box-shadow: 0 1px 2px rgba(6, 33, 63, 0.20);
}/*
#title span {
    padding-left: 5px;
    padding-right: 5px;
    color: #5a5a5a;
}*/
#title a.active { color: #333; }
#title a.active:hover {
    text-decoration: none;
    cursor: default;
}
#title-additional {
    float: right;
    font-weight: normal;
    line-height: 18px;
    color: #7a7a7a;
    font-size: 11px;
}
#content { }
#wrap { position: relative; }
#wrap-1 {
    float: left;
    width: 650px;
}
#wrap-1.full-width {
    float: none;
    width: 100%;
}
#wrap-1.full-width aside#ablocks { display: none !important; }

/*sidebar */
aside#ablocks {
    float: right;
    position: static;
    width: 240px;
}
aside#ablocks.sc-fix {
    position: fixed;
    overflow-y: scroll;
    overflow-x: hidden;
    top: 20px;
    height: 80%;
}
aside#ablocks.full-width { display: none !important; }
.ablock {
    margin-bottom: 15px;
    border-left: 1px solid #eef0f3;
    border-right: 1px solid #eef0f3;
    border-radius: 2px;
}
.ablock-title {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0;
    border-bottom: 0;
    text-align: center;
    padding: 15px 0;
    border-radius: 3px 3px 0 0;
    background: #315bab;
    background-image: -moz-linear-gradient(bottom, #2f497a 0%, #315bab 100%);
    background-image: -o-linear-gradient(bottom, #2f497a 0%, #315bab 100%);
    background-image: -webkit-linear-gradient(bottom, #2f497a 0%, #315bab 100%);
    background-image: linear-gradient(bottom, #2f497a 0%, #315bab 100%);
    text-shadow: 0 1px 0 #000;
}
.ablock-content {
    font-size: 12px;
    background: #fff;
    border-radius: 0 0 2px 2px;
    padding-bottom: 8px;
    box-shadow: 0 1px 2px rgba(6, 33, 63, 0.20);
}
.ablock-title-inner {
    font-size: 14px;
    font-weight: bolder;
    border-top: 1px solid #f1f1f1;
    margin-top: 7px;
    padding-top: 7px;
    text-align: center;
}
.ablock-title-inner:first-child { 
    margin-top: 0;
    border-top: 0;
}

.ablock-text {
    line-height: 1.4em;
    text-align: center;
}
.ablock-text table {
    width: 100%;
    text-align: center;
    border-spacing: 0;
    border-collapse: separate;
    font-size: 12px;
    border: 0;
    border-bottom: 1px solid #e3e5e8;
    margin: 0 auto;
}
.ablock-text table#aside-schedule {
    margin: -7px auto -8px auto !important;
    border: 0;
}
.ablock-text table td,
.ablock-text table th {
    border: solid #e3e5e8;
    border-width: 1px 1px 0;
    padding: 5px;
}
.ablock-text table th {
    background: #f5f7fa;
    font-weight: 600;
}
/* footer */
footer {
    width: 100%;
    margin-top: 0;
}
#footer-copyright {
    cursor: default;
    padding-top: 10px;
    line-height: 50px;
    font-size: 12px;
    color: #7a7a7a;
    float: left;
}
#footer-links { 
    float: right;
    padding-top: 10px;
}
.footer-link-caption {
    line-height: 50px;
    padding-right: 5px;
    color: #7a7a7a;
    cursor: default;
}
.footer-link-item {
    display: inline-block;
    float: left;
    margin-left: 6px;
}

.footer-link-item img {
    height: 50px;
}

/* additional */
#error-wrap {
    font-size: 13px;
    padding: 15px;
    color: #a94442;
}

#global-error {
    font-size: 17px;
    text-align: center;
    line-height: 30px;
    background: #d9edf7;
    color: #31708f;
}
#global-notification {
    font-size: 17px;
    text-align: center;
    line-height: 30px;
    color: #a94442;
}

#global-notification.single {
    background: #fff; 
    padding: 20px;
    margin-top: 20px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(6, 33, 63, 0.20);
}

table.invisible td { 
    padding: 0 !important;
    border: 0 !important;
}
table.invisible td:hover,
table.invisible tr:hover {
    background: inherit !important;
}
table.invisible { 
    border: 0;
    border-spacing: 0 !important;
    border-collapse: collapse !important;
}