a {
    cursor: pointer;
}

.hasAjaxProcess,
.hasAjaxProcess * {
    cursor: wait !important;
}

.ajaxlink {
    border-bottom: 1px dashed #101796;
    text-decoration: none;
    cursor: pointer;
}

.ajaxlink:hover {
    border-bottom: 1px dashed transparent;
    text-decoration: none;
}

.ajaxload {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 30;
    display: none;
}

.ajaxload.loadAnimation {
    width: 20px;
    height: 20px;
    background: url('/_design/_img/load.gif') no-repeat 0 0 transparent;
}

.ajaxload.loadAnimation::after {
    position: relative;
    top: 11px;
    left: -30px;
    color: #fff;
    content: 'Загружаю...';
}

/****************************/

.PopUp {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    display: none;
    width: 100%;
    height: 100%;
}

.PopUp.popupActive {
    display: block;
}

.PopUp .PopUpBackgound {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 21;
    width: 100%;
    height: 100%;
    background-color: #666;
    opacity: 0.8;
    cursor: not-allowed;
}

* html .PopUp .PopUpBackgound {
    position: absolute;
    height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

/* Блок отображающийся пока идет анимация */
.PopUp .PopUpLoading {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 22;
    visibility: hidden;
    padding: 10px;
    border: 2px solid gray;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background-color: white;
    color: #555;
    text-align: center;
    white-space: nowrap;
    font-weight: bold;
}

.PopUp.ajaxProccess .PopUpLoading {
    visibility: visible;
}

.PopUp .PopUpContent {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 23;
    overflow: auto;
    padding: 5px 17px 10px;
    max-height: 90%;
    border: 2px solid gray;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background-color: white;
    color: #555;
    text-align: center;
    white-space: nowrap;
}

.PopUp.ajaxProccess .PopUpContent {
    visibility: hidden;
}

.PopUp .PopUpContent .layerblock {
    padding: 10px;
    white-space: normal;
}

/*CLOSE LAYER*/
.PopUp .PopUpContent .blockclose {
    position: fixed;
    z-index: 30;
    width: 30px;
    height: 30px;
    background: url("../_img/close30.png") repeat scroll 0 0 transparent;
    cursor: pointer;
}

/****************************/

.blockhead {
    padding: 3px 0;
    text-align: center;
    font-weight: bold;
    font-size: 0.85em;
}

.cnone {
    display: none;
    height: 1px;
    font-size: 1px;
}

.uiicons {
    width: 16px;
    height: 16px;
    background-image: url(../_img/ui-icons_256x240.png);
}

.commentinfo {
    background-position: -16px -144px;
}

/*form*/
.ajaxload .block-tl, .ajaxload .block-tr, .ajaxload .block-bl, .ajaxload .block-br {
    background-image: none;
}

.ajaxload .messages {
    padding: 10px;
    border: none;
    background: none;
}

/*SPOILER*/
.spoiler-wrap {
    overflow: auto;
    margin: 6px auto;
    width: 99%;
    border-width: 1px 1px 1px 2px;
    border-style: solid;
    border-color: #C3CBD1;
    background: gray none repeat scroll 0% 0%;
}

.spoiler-wrap .spoiler-head {
    margin-left: 6px;
    padding: 0 0.9em;
    color: black;
    font-size: 11px;
    line-height: 15px;
}

.spoiler-wrap .spoiler-body {
    display: none;
    display: none;
    padding: 0;
    border-bottom: 1px dashed #C3CBD1;
}

.spoiler-wrap .spoiler-body pre {
    margin: 0;
    border: medium none;
    background: #F8F7F2 none repeat scroll 0 0;
    color: black;
    font-size: 0.9em;
}

.spoiler-wrap .spoiler-body pre code {
    display: block;
    overflow: auto;
    padding: 5px 0;
    white-space: pre;
}

.spoiler-wrap .folded {
    display: block;
    padding-left: 1.4em;
    border-bottom: 1px dashed #C3CBD1;
    background: transparent url(../_img/x16.png) no-repeat scroll 0 -16px;
}

.spoiler-wrap .unfolded {
    display: block;
    padding-left: 1.4em;
    border-bottom: 1px dashed transparent;
    background: transparent url(../_img/x16.png) no-repeat scroll 0 -48px;
}

.spoiler-wrap .clickable {
    cursor: pointer;
}

/*Всплывающая информация showHelp(obj,mess,time,nomiga)*/
.helpmess {
    position: absolute;
    z-index: 10;
    padding: 2px 3px;
    border: 2px solid #555;
    border-width: 2px !important;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background-color: #222;
    color: #FFF;
    font-size: 15px;
}

.trgl {
    position: absolute;
    right: auto;
    margin: 0;
    width: 0;
    height: 0;
    border: 1px solid #555;
    background: none repeat scroll 0 0 transparent;
}

.trgl_d {
    bottom: -14px;
    left: 5px;
    border-top-width: 12px;
    border-right: 15px dotted transparent;
    border-bottom-width: 0;
    border-left: 0 none;
}

.trgl_u {
    top: -14px;
    left: 5px;
    border-top-width: 0;
    border-right: 15px dotted transparent;
    border-bottom-width: 12px;
    border-left: 0 none;
}

/*LOGIN FORM*/
.spanor {
    display: block;
    clear: both;
    margin: 0;
    padding: 2px 160px;
    border-top: 1px solid #E1E1E1;
    border-bottom: 1px solid #E1E1E1;
}

div.layerblock div.cform {
    float: right;
    padding: 10px;
    width: 200px;
}

div.layerblock div.cform form div {
    text-align: left;
    font-size: 11px;
}

div.layerblock div.cform input {
    margin: 0 0 2px 0;
    width: 130px;
    border: 2px #63A6CC solid;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    text-align: center;
}

div.layerblock div.cform .submit {
    margin: 7px auto 0 auto;
    width: 100px;
    text-align: center;
}

div.layerblock .messhead {
    color: #228B22;
    font-weight: bold;
    font-size: 19px;
}

div.layerblock .messelem {
    color: gray;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
}

div.layerblock .messelem a {
    font-size: 14px;
}