html {
    background: #FFF;
}
body {
    overflow: hidden;
    background: url("../images/bg.png") #FFF;
    color: #000000;
}

#x-desktop {
    background: url("../images/bg_image.png") no-repeat left bottom;
}
html, body {
    font-family:Tahoma,Sans;
    font-size:11px;
}
#loading-mask{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:#000000;
    z-index:10000001;
}
#loading{
    position:absolute;
    top:40%;
    left:45%;
    z-index:100000002;
}

.students-icon {
  background-image: url(../images/icons/student.svg) !important;
  background-repeat: no-repeat;
  background-position: top center;
  width: 65px;
  height: 65px;
  display: block;
}

.units-icon {
  background-image: url(../images/icons/school.svg) !important;
  background-repeat: no-repeat;
  background-position: top center;
  width: 65px;
  height: 65px;
  display: block;
}

.schedule-event-icon {
  background-image: url(../images/icons/schedule-event.png) !important;
  background-repeat: no-repeat;
  background-position: top center;
  width: 85px;
  height: 85px;
  display: block;
}

.reports-icon {
  background-image: url(../images/icons/reports.png) !important;
  background-repeat: no-repeat;
  background-position: top center;
  width: 85px;
  height: 85px;
  display: block;
}

.events-icon {
  background-image: url(../images/icons/group.svg) !important;
  background-repeat: no-repeat;
  background-position: top center;
  width: 65px;
  height: 65px;
  display: block;
}

.planning-event-icon {
  background-image: url(../images/icons/planning-event.png) !important;
  background-repeat: no-repeat;
  background-position: top center;
  width: 85px;
  height: 85px;
  display: block;
}

.employees-icon {
  background-image: url(../images/icons/teacher.svg) !important;
  background-repeat: no-repeat;
  background-position: top center;
  width: 65px;
  height: 65px;
  display: block;
}

#x-shortcuts td {
    display: block;
    float: left;
    margin: 15px 0px 0px 15px;
    text-align: center;
    width: 100px;
    zoom: 1;
    height: 120px;
}

#x-shortcuts td a {
    width: 100px;
}

#x-shortcuts td div {
    color: black;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
    width: 100%;
}

#ux-taskbuttons-panel {
    height: 32px !important;
}

#ux-taskbuttons-panel {
    background-color: transparent !important;
    border: 0 !important;
}

#ux-taskbuttons-panel .x-btn {
    background-color: transparent !important;
    border: 0 !important;
}

#ux-toptoolbar .x-toolbar, .x-panel-body {
    border: none;
}

#ux-toptoolbar .x-toolbar {
    border-bottom: 1px solid #d4d4d4;
}

.x-small-editor .x-form-field-wrap .x-form-trigger {
    height: 21px;
}

.x-tab-panel .x-tab-panel-header {
    border: none;
}

/*
  Стиль для гридов, разрешающий перенос текста по словам
*/
.word-wrap-grid .x-grid3-hd-inner {
  white-space: normal;
}
.word-wrap-grid .x-grid3-cell-inner {
  white-space: normal;
}


#ux-taskbar {
    background: #fff !important;
    border-bottom: 3px solid #1979ca !important;
    padding-top: 5px !important;
    z-index: 1;
}

#ux-taskbuttons-panel {
    background: #fff !important;
    height: 40px !important;
    margin-top: -5px
}

.ux-taskbuttons-strip td {
    border: 1px solid #3f3f3f;
    background-color: #535353;
    margin-top: 1px;
}

.ux-taskbutton-center button {
    width: auto !important;
}

.ux-taskbuttons-strip-wrap {
    margin-top: 5px;
}

.ux-taskbuttons-strip td {
    background: none !important;
    border: none !important;
}

.ux-taskbuttons-strip .active-win td {
    vertical-align: center;
    border: 1px solid #1979ca !important;
    background-color: #1979ca !important;
}

.ux-taskbuttons-strip .active-win button {
    background-color: #1979ca;
}

#ux-taskbar button {
    text-align: left;
    color: #69747f;
    padding: 5px;
    padding-left: 9px;
    vertical-align: center;
    padding-top: 8px;
    height:28px;
}

#ux-taskbar .active-win button {
    color: white;
    padding: 5px;
    padding-left: 8px !important;
    vertical-align: center;
    padding-top: 7px !important;
}

#ux-taskbar .active-win .close-task-bar-item {
    margin-top: 0;
}

.close-task-bar-item {
    background: url("../images/azzurra-legacy/panel/tool-sprite.png") no-repeat 0 -0;
    overflow: hidden;
    width: 15px;
    height: 15px;
    float: right;
    cursor: pointer;
    margin-right: 5px;
    margin-left: 2px;
    margin-top: 2px;
}

.close-task-bar-item:hover {
  background-color: #b63a3a;
}

.ux-taskbuttons-scroller-right {
    background: #dcdfe3 url("../images/desktop/task-bar/arrow-right.png") !important;
    right: 0;
}
.ux-taskbuttons-scroller-left {
    background: #dcdfe3 url("../images/desktop/task-bar/arrow-left.png") !important;
    left: 0;
}

.desktop .widgets
{
    float:right;
    margin:20px;
    margin-top: 30px;
    margin-right: 10px;
}

.desktop .info
{
    width:157px;
    padding:0 22px 3px 22px;
}

.desktop .widget
{
    width:201px;
    margin-bottom:2px;
    padding-bottom:19px;
    background:url('../images/widgets/widget-footer.png') left bottom no-repeat;
    font-size: 12px;
}
.desktop .widget .header
{
    width:201px;
    height:20px;
    overflow:hidden;
    background:url('../images/widgets/widget-header.png') left top no-repeat;
}
.desktop .widget .content
{
    width:157px;
    padding:0 22px 3px 22px;
    background:url('../images/widgets/widget.png') left top repeat-y;

}

.desktop .title
{
    color: #E01F35;
    font-size: 14px;
    font-weight: normal;
    padding: 10px 0 5px;
    margin-top: 5px;
}

.desktop .word
{
    padding-bottom:10px;
    overflow: hidden;
    white-space: normal;
    border-bottom: 1px dotted #000;
}

.desktop .widget .panel
{
    border:1px solid red;
    background:#fff;

	-moz-border-radius: 3px;
	-webkit-border-radius:3px;
	border-radius:3px;
}

.desktop .widget .text-widget {
    padding-bottom: 5px;
    font-size: 11px;
}

.desktop .widget a {
    font-size: 11px;
    color: #007fc5;
}

.desktop .widget a:visited {
    color: #007fc5;
}

.x-small-editor .x-form-field-wrap .x-form-trigger {
    height: 21px;
}

.x-tab-panel .x-tab-panel-header {
    border: none;
}


.x-treegrid-col {
    padding-top: 2px !important;
}

.x-form-item-label {
    padding-top: 6px !important;
}

.x-btn-focus .x-btn-text {
    border: none !important;
}


.main-window > .x-window-tl, .main-window .x-window-bl {
    display: none;
}
.main-window.active-buttons .x-window-bl {
    display: block;
}
.main-window.x-window-maximized .x-window-mc {
    border-top: 0;
}
.main-window.x-window {
    border: none !important;
}


/* Скрывает "шапку" окна. */
.no-header > .x-window-tl {
    display: none;
}

.no-header.x-window-maximized .x-window-mc {
    border-top: 0;
}

.no-header.x-window {
    border: none !important;
}


.x-tab-panel-body {
    border: none;
}

.x-window-mc {
    border: none;
}


.x-tab-strip li {
    padding-top: 4px;
    padding-bottom: 2px;
    border-bottom: 2px solid #474747;
}

.x-tab-panel.blue-tab .x-tab-panel-header {
    border: none;
}