/*
    ColorBox Core Style
    The following rules are the styles that are consistant between themes.
    Avoid changing this area to maintain compatability with future versions of ColorBox.
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative; overflow:hidden;}
#cboxLoadedContent{overflow:auto;}
#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}

/* 
    Example user style
    The following rules are ordered and tabbed in a way that represents the
    order/nesting of the generated HTML, so that the structure easier to understand.
*/
#cboxOverlay{background:url(../images/colorbox/overlay.png) 0 0 repeat;}
#colorbox{}
    #cboxTopLeft{width:21px; height:21px; background:url(../images/colorbox/controls.png) -100px 0 no-repeat;}
    #cboxTopRight{width:21px; height:21px; background:url(../images/colorbox/controls.png) -129px 0 no-repeat;}
    #cboxBottomLeft{width:21px; height:21px; background:url(../images/colorbox/controls.png) -100px -29px no-repeat;}
    #cboxBottomRight{width:21px; height:21px; background:url(../images/colorbox/controls.png) -129px -29px no-repeat;}
    #cboxMiddleLeft{width:21px; background:url(../images/colorbox/controls.png) left top repeat-y;}
    #cboxMiddleRight{width:21px; background:url(../images/colorbox/controls.png) right top repeat-y;}
    #cboxTopCenter{height:21px; background:url(../images/colorbox/border.png) 0 0 repeat-x;}
    #cboxBottomCenter{height:21px; background:url(../images/colorbox/border.png) 0 -29px repeat-x;}
    #cboxContent{background:#fff;}
        #cboxLoadedContent{margin-bottom:28px;}
        #cboxTitle{position:absolute; bottom:3px; left:0; text-align:center; width:100%; color:#949494;}
        #cboxCurrent{position:absolute; bottom:3px; left:58px; color:#949494;}
        #cboxSlideshow{position:absolute; bottom:3px; right:30px; color:#0092ef;}
        #cboxPrevious{position:absolute; bottom:0; left:0px; background:url(../images/colorbox/controls.png) -75px 0px no-repeat; width:25px; height:25px; text-indent:-9999px;}
        #cboxPrevious.hover{background-position:-75px -25px;}
        #cboxNext{position:absolute; bottom:0; left:27px; background:url(../images/colorbox/controls.png) -50px 0px no-repeat; width:25px; height:25px; text-indent:-9999px;}
        #cboxNext.hover{background-position:-50px -25px;}
        #cboxLoadingOverlay{background:url(../images/colorbox/loading_background.png) center center no-repeat;}
        #cboxLoadingGraphic{background:url(../images/colorbox/loading.gif) center center no-repeat;}
        #cboxClose{position:absolute; bottom:0; right:0; background:url(../images/colorbox/controls.png) -25px 0px no-repeat; width:25px; height:25px; text-indent:-9999px;}
        #cboxClose.hover{background-position:-25px -25px;}

/*
    The following fixes png-transparency for IE6.  
    It is also necessary for png-transparency in IE7 & IE8 to avoid 'black halos' with the fade transition
    
    Since this method does not support CSS background-positioning, it is incompatible with CSS sprites.
    Colorbox preloads navigation hover classes to account for this.
    
    !! Important Note: AlphaImageLoader src paths are relative to the HTML document,
    while regular CSS background images are relative to the CSS document.
*/
.cboxIE #cboxTopLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../images/colorbox/internet_explorer/borderTopLeft.png, sizingMethod='scale');}
.cboxIE #cboxTopCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../images/colorbox/internet_explorer/borderTopCenter.png, sizingMethod='scale');}
.cboxIE #cboxTopRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../images/colorbox/internet_explorer/borderTopRight.png, sizingMethod='scale');}
.cboxIE #cboxBottomLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../images/colorbox/internet_explorer/borderBottomLeft.png, sizingMethod='scale');}
.cboxIE #cboxBottomCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../images/colorbox/internet_explorer/borderBottomCenter.png, sizingMethod='scale');}
.cboxIE #cboxBottomRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../images/colorbox/internet_explorer/borderBottomRight.png, sizingMethod='scale');}
.cboxIE #cboxMiddleLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../images/colorbox/internet_explorer/borderMiddleLeft.png, sizingMethod='scale');}
.cboxIE #cboxMiddleRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../images/colorbox/internet_explorer/borderMiddleRight.png, sizingMethod='scale');}

/* ==================== Информационное оконо загрузки AJAX */
 #loading-layer {
 display:none;
 font-family: Verdana;font-size: 11px;
 background:#000;padding:10px;
 text-align:center;
 border:1px solid #000;
 color: #FFF;
 border-radius: 5px;
 -webkit-border-radius: 5px;
 -moz-border-radius: 5px;
 }
 /* ==================== Автозаполнение облака тегов */
 .autocomplete-w1 { position:absolute; top:0px; left:0px; margin:8px 0 0 6px; /* IE6 fix: */ _background:none; _margin:0; }
 .autocomplete { border:1px solid #999; background:#FFF; cursor:default; text-align:left; max-height:350px; overflow:auto; margin:-6px 6px 6px -6px; /* IE6 specific: */ _height:350px;  _margin:0; _overflow-x:hidden; }
 .autocomplete .selected { background:#F0F0F0; }
 .autocomplete div { font-size: 11px;font-family: verdana;padding:2px 5px; white-space:nowrap; }
 .autocomplete strong { font-weight:normal; color:#3399FF; }/* ==================== Быстрый поиск на сайте */
 #searchsuggestions { border-width:1px; border-color:#919191; border-style:solid; width:300px; background-color:#5c9ccc; font-size:10px; line-height:14px; }
 #searchsuggestions a { padding:5px;display:block; background-color:#ffffff; clear:left; height:70px; text-decoration:none; }
 #searchsuggestions a:hover { background-color:#fdd08b; color:#ffffff; }
 #searchsuggestions a span.searchheading { background: #5c9ccc; display:block; font-weight:bold; padding:5px; color:#ffffff; }
 #searchsuggestions a:hover span.searchheading { color:#ffffff; }
 #searchsuggestions a span {color:#555555; }
 #searchsuggestions a:hover span { color:#0000; }
 #searchsuggestions span.seperator { float:right; padding-right:15px; margin-right:5px;}
 #searchsuggestions span.seperator a { background-color:transparent; display:block; height:auto; color:#ffffff; }
 #searchsuggestions span.notfound {  padding:5px;background-color:#ffffff; display:block; height:auto; color:#00000; }
 /* ==================== Диалоговые и всплывающие окна jQuery UI */
 .ui-helper-clearfix:after {
 clear: both;
 content: ".";
 display: block;
 height: 0;
 visibility: hidden;
 }
 .ui-helper-clearfix {
 display: inline-block;
 }
 * html .ui-helper-clearfix {
 height: 1%;
 }
 .ui-helper-clearfix {
 display: block;
 }
 .ui-icon {
 background-repeat: no-repeat;
 display: block;
 overflow: hidden;
 text-indent: -99999px;
 }
 .ui-widget {
 font-family: Tahoma, Lucida Sans, Arial, sans-serif;
 font-size: 11px;
 }
 .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
 font-family: tahoma, Arial, sans-serif;
 font-size: 11px;
 }
 .ui-widget-content {
 background: #fcfdfd 50% bottom repeat-x;
 border: 1px solid #a6c9e2;
 color: #222222;
 }
 .ui-widget-content a {
 color: #222222;
 }
 .ui-widget-header {
 background: #5c9ccc url(../images/ui-bg_gloss-wave.png) 50% 50% repeat-x;
 border: 1px solid #4297d7;
 color: #ffffff;
 font-weight: bold;
 }
 .ui-widget-header a {
 color: #ffffff;
 }
 .ui-state-default, .ui-widget-content .ui-state-default {
 background: #dfeffc url(../images/ui-bg_glass_85.png) 50% 50% repeat-x;
 border: 1px solid #c5dbec;
 color: #2e6e9e;
 font-weight: bold;
 }
 .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
 color: #2e6e9e;
 text-decoration: none;
 }
 .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus {
 background: #d0e5f5 url(../images/ui-bg_glass_75.png) 50% 50% repeat-x;
 border: 1px solid #79b7e7;
 color: #1d5987;
 font-weight: bold;
 }
 .ui-state-hover a, .ui-state-hover a:hover {
 color: #1d5987;
 text-decoration: none;
 }
 .ui-state-active, .ui-widget-content .ui-state-active {
 background: #f5f8f9 50% 50% repeat-x;
 border: 1px solid #79b7e7;
 color: #e17009;
 font-weight: bold;
 }
 .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
 color: #e17009;
 text-decoration: none;
 }
 .ui-widget :active {
 outline: none;
 }
 .ui-state-error {
 background: #fef1ec 50% 50% repeat-x;
 border: 1px solid #cd0a0a;
 color: #cd0a0a;
 }
 .ui-widget-header .ui-icon {
 background-image: url(../images/ui-icons.png);
 }
 .ui-state-hover .ui-icon, .ui-state-focus .ui-icon {
 background-image: url(../images/ui-icons_h.png);
 }
 .ui-icon-close {
 background-position: -80px -128px;
 }
 .ui-icon-closethick {
 background-position: -96px -128px;
 }
 .ui-button .ui-button-text {
 display: block;
 line-height: 1.4;
 }
 .ui-button-text-only .ui-button-text {
 padding: .4em .8em;
 }
 input.ui-button {
 padding: .4em 1em;
 }
 .ui-button-set {
 margin-right: 7px;
 }
 .ui-button-set .ui-button {
 margin-left: 0;
 margin-right: -.3em;
 }
 button.ui-button::-moz-focus-inner {
 border: 0;
 padding: 0;
 }
 .ui-dialog {
 overflow: hidden;
 padding: .2em;
 position: absolute;
 width: 300px;
 }
 .ui-dialog .ui-dialog-titlebar {
 padding: .5em 1em .3em;
 position: relative;
 }
 .ui-dialog .ui-dialog-title {
 float: left;
 margin: .1em 16px .2em 0;
 }
 .ui-dialog .ui-dialog-titlebar-close {
 height: 18px;
 margin: -10px 0 0 0;
 padding: 1px;
 position: absolute;
 right: .3em;
 top: 50%;
 width: 19px;
 }
 .ui-dialog .ui-dialog-titlebar-close span {
 display: block;
 margin: 1px;
 }
 .ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus {
 padding: 0;
 }
 .ui-dialog .ui-dialog-content {
 background: none;
 border: 0;
 overflow: hidden;
 padding: .5em 1em;
 position: relative;
 zoom: 1;
 }
 .ui-dialog .ui-dialog-buttonpane {
 background-image: none;
 border-width: 1px 0 0 0;
 margin: .5em 0 0 0;
 padding: .3em 1em .5em .4em;
 text-align: left;
 }
 .ui-dialog .ui-dialog-buttonpane button {
 cursor: pointer;
 float: right;
 line-height: 1.4em;
 margin: .5em .4em .5em 0;
 overflow: visible;
 padding: .2em .6em .3em .6em;
 width: auto;
 }
 .ui-dialog .ui-resizable-se {
 bottom: 3px;
 height: 14px;
 right: 3px;
 width: 14px;
 }
 .ui-draggable .ui-dialog-titlebar {
 cursor: move;


