input.ui-widget-content.ui-corner-all{
    border: 1px solid #c9e5ff;
    box-sizing: border-box;
    padding: 10px;
    margin-top: 10px;
}
/*--- Загрузчик AJAX ---*/
#loading-layer {
    display: block !important;
    background-color: #fff;
    background-color: rgba(255,255,255,0.9);
    z-index: 9999;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%; text-indent: -9999px;
    overflow: hidden;
    white-space: nowrap;
}
#loading-layer:before, #loading-layer:after {
    content: "";
    border-radius: 50%;
    background-color: #2196F3;
    position: absolute;
    left: 50%; top: 50%;
}
#loading-layer:before {
    width: 100px; height: 100px;
    margin: -50px 0 0 -50px;
}
#loading-layer:after {
    width: 40px; height: 40px;
    background-color: #8BC34A;
    margin: -20px 0 0 -20px;
}

#loading-layer:before {
    -webkit-animation: load1 1s infinite ease;
    animation: load1 1s infinite ease;
}
#loading-layer:after {
    -webkit-animation: load2 1s infinite -0.32s ease;
    animation: load2 1s infinite -0.32s ease;
}
@-webkit-keyframes load1 {
    0%, 80%, 100% { -webkit-transform: scale(1,1); }
    40% { -webkit-transform: scale(.6,.6); }
}
@keyframes load1 {
    0%, 80%, 100% { transform: scale(1,1); }
    40% { transform: scale(.6,.6); }
}
@-webkit-keyframes load2 {
    0%, 80%, 100% { -webkit-transform: scale(1,1); }
    40% { -webkit-transform: scale(.5,.5); }
}
@keyframes load2 {
    0%, 80%, 100% { transform: scale(1,1); }
    40% { transform: scale(.5,.5); }
}


/*---Диалоговые и всплывающие окна jQuery UI---*/
.ui-dialog{
    width: 100% !important;
    max-width: 600px;
    background-color: #fff;
    border: 2px solid #F7F7F7;
    box-sizing: border-box;
    box-shadow: 0px 20px 40px rgba(0, 58, 160, 0.25);
    border-radius: 5px;
    position: fixed;
    z-index: 10;
    display: none;
}
.ui-dialog-titlebar{
    display: flex;
    width: 100%;
    min-height: 75px;
    align-items: center;
    font-weight: bold;
    font-size: 20px;
    color: #444444;
    box-sizing: border-box;
    padding: 20px 25px;
    justify-content: space-between;
    background: #f7f7f7;
    position: relative;
    cursor: move;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-topright: 3px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}
.ui-dialog-titlebar-close{
    width: 30px !important;
    height: 30px !important;
    background-color: transparent !important;
    border: none;
    cursor: pointer;
    opacity: 0.1;
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    overflow: hidden;
    text-indent: -9000px;
    flex-shrink: 0;
    margin-left: 30px;
    position: relative !important;
    display: block !important;
}
.ui-dialog-titlebar-close:before{
    font-family: 'Font Awesome 5 Free';
    content: "\f00d";
    font-weight: 900;
    font-size: 22px;
    position: absolute;
    left: 0;
    top: 0;
    height: 30px;
    width: 30px;
    line-height: 30px;
    color: #444;
    text-indent: 0;
}
.ui-dialog-titlebar-close:hover{
    opacity: 1;
}
.ui-dialog-content{
    padding: 30px;
}
.ui-dialog-buttonpane{
    padding: 0px 30px 30px;
}
.ui-button{
    border-radius: 4px;
    min-height: 40px;
    padding: 10px 15px;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    font-size: 15px;
    box-sizing: border-box;
    font-weight: bold;
    transition: border 0.2s ease, color 0.2s ease, background-color 0.2s ease;
    -webkit-transition: border 0.2s ease, color 0.2s ease, background-color 0.2s ease;
    -moz-transition: border 0.2s ease, color 0.2s ease, background-color 0.2s ease;
    -o-transition: border 0.2s ease, color 0.2s ease, background-color 0.2s ease;
    background-color: #0169CA;
    color: #fff;
    border: none;
}
.ui-button:hover{
    background-color: #0D84F3;
    border-color: #0D84F3;
}
.ui-button:active{
    background-color: #0A4E8C;
    border-color: #0A4E8C;
}
#dlesendpmpopup{
    height: auto !important;
}
#dlesendpmpopup+.ui-dialog-buttonpane .ui-dialog-buttonset,
#newpm+.ui-dialog-buttonpane .ui-dialog-buttonset{
    display: flex;
}
#dlesendpmpopup+.ui-dialog-buttonpane .ui-dialog-buttonset button:last-child,
#newpm+.ui-dialog-buttonpane .ui-dialog-buttonset button:last-child{
    order: 0;
    margin-right: 7px;
}
#dlesendpmpopup+.ui-dialog-buttonpane .ui-dialog-buttonset button:first-child,
#newpm+.ui-dialog-buttonpane .ui-dialog-buttonset button:first-child{
    order: 1;
    background-color: #fff;
    border: none;
    font-weight: bold;
    font-size: 17px;
    color: #0A7FDC;
}

/*--- Рейтинг - Звездами ---*/
.rating, .unit-rating {
    width: 105px;
    height: 16px;
    background-repeat: no-repeat;
    background-image: url(../img/rate.png);
    position: relative;
    display: block;
}
.unit-rating {
    list-style: none;
    position: relative;
}
.unit-rating li {
    text-indent: -90000px;
    float: left;
}
.unit-rating li a {
    display: block;
    width: 21px;
    height: 16px;
    text-decoration: none;
    border: 0 none !important;
    text-indent: -9000px;
    z-index: 17;
    position: absolute;
    padding: 0;
}
.unit-rating li a:hover {
    z-index: 2;
    left: 0;
    background-image: url(../img/rate-all-e.png);
}
.unit-rating a.r1-unit { left: 0; }
.unit-rating a.r1-unit:hover { width: 21px; }
.unit-rating a.r2-unit { left: 21px; }
.unit-rating a.r2-unit:hover { width: 42px; }
.unit-rating a.r3-unit { left: 42px; }
.unit-rating a.r3-unit:hover { width: 63px; }
.unit-rating a.r4-unit { left: 63px; }
.unit-rating a.r4-unit:hover { width: 84px; }
.unit-rating a.r5-unit { left: 84px; }
.unit-rating a.r5-unit:hover { width: 105px; }
.unit-rating li.current-rating {
    background-repeat: no-repeat;
    background-image: url(../img/rate-all.png);
    height: 16px;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
}

/*---показ оригинальной картинки загруженной на сайт из уменьшенной копии---*/
.highslide-wrapper, .highslide-outline { background: #fff }
.highslide-image { border: 2px solid #fff }
.highslide-active-anchor { visibility: hidden }
.highslide-active-anchor img { visibility: hidden }
.highslide-dimming { background-color: black }
.highslide-html { background-color: white }
.highslide-loading { display: block; color: white; font-size: 9px; font-weight: bold; text-decoration: none; padding: 3px; border: 1px solid white; background-color: black }
a.highslide-full-expand { background: url(../dleimages/fullexpand.gif) no-repeat; display: block; margin: 0 10px 10px 0; width: 34px; height: 34px }
.highslide-display-block { display: block }
.highslide-display-none { display: none }
.highslide-caption { display: none; padding: 5px; background: white }
.highslide-controls { width: 195px; height: 40px; background: url(../../../engine/classes/highslide/graphics/controlbar-black-border.gif) no-repeat 0 -90px; margin-right: 15px; margin-bottom: 10px; margin-top: 10px }
.highslide-controls ul { position: relative; left: 15px; height: 40px; list-style: none; margin: 0; padding: 0; background: url(../../../engine/classes/highslide/graphics/controlbar-black-border.gif) no-repeat 100% -90px }
.highslide-controls li { float: left; padding: 5px 0; }
.highslide-controls a { background: url(../../../engine/classes/highslide/graphics/controlbar-black-border.gif); display: block; float: left; height: 30px; width: 30px; outline: none }
.highslide-controls a.disabled { cursor: default }
.highslide-controls a span { display: none }

/*---Навигация по картинкам галереи---*/
.highslide-controls .highslide-previous a { background-position: 0 0 }
.highslide-controls .highslide-previous a:hover { background-position: 0 -30px }
.highslide-controls .highslide-previous a.disabled { background-position: 0 -60px !important }
.highslide-controls .highslide-play a { background-position: -30px 0 }
.highslide-controls .highslide-play a:hover { background-position: -30px -30px }
.highslide-controls .highslide-play a.disabled { background-position: -30px -60px !important }
.highslide-controls .highslide-pause a { background-position: -60px 0 }
.highslide-controls .highslide-pause a:hover { background-position: -60px -30px }
.highslide-controls .highslide-next a { background-position: -90px 0 }
.highslide-controls .highslide-next a:hover { background-position: -90px -30px }
.highslide-controls .highslide-next a.disabled { background-position: -90px -60px !important }
.highslide-controls .highslide-move a { background-position: -120px 0 }
.highslide-controls .highslide-move a:hover { background-position: -120px -30px }
.highslide-controls .highslide-full-expand a { background-position: -150px 0 }
.highslide-controls .highslide-full-expand a:hover { background-position: -150px -30px }
.highslide-controls .highslide-full-expand a.disabled { background-position: -150px -60px !important }
.highslide-controls .highslide-close a { background-position: -180px 0 }
.highslide-controls .highslide-close a:hover { background-position: -180px -30px }
