body, html {
	font-family:"Trebuchet MS", Arial;
	font-size:12px;
}

input, select, textarea {
	font-family:"Trebuchet MS", Arial;
	font-size:11px;
}

#elements, .tableEdit {
	width:1100px;
}

.eleComment, .eleShow {
	display:none;
}

.eleComment input {
	width:600px;
	color: #666;
	border: 0;
}

#elements .element {
	background-color: #d1deff;
	padding:2px;
	margin:3px;
}

.sbutton, input.sbutton {
	padding:2px;
	margin:2px 4px 2px 4px;
	background:#FFF;
	border:0;
	cursor:pointer;
	font-weight:bold;
	border-radius:3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
}

.includes {
	background-color:#ffef94;
}

.sbutton:hover {
	border:1px black solid;
}

.selbutton {
	padding-right:10px;
}

#templates {
	display:none;
}

#hiddenparams, #hiddenfilters, #hiddenconnect {
	display:none; 
}

.connectbutton {
	visibility:hidden;
}


.dselect {
	display:none;
	position:absolute;
	margin-top:23px;
	margin-left:3px;
	background-color: #fbd698;
	padding:10px;
}

.tableComment {
	float:right;
}

.editTable {
    font-size:14px;
}

.editTable .desc {
    font-size:11px;
}

.editTable input, .editTable textarea, .editTable select {
    font-size:16px;
    color:#222;
    border-radius:3px;
}

.editTable .head input, .editTable .head textarea, .editTable .head select, .editTable .head {
    font-size:20px;
    font-weight:bold;
}

.inTable input, .inTable textarea, .inTable select, .inTable {
    font-size:12px;
}

.editTable tr:nth-child(even) td {
	background-color: #edeef4;
	
}

.editTable tr:nth-child(odd) td {
	background-color: #f6f6f6;

}

.editTable {
    min-width:960px;
}

#setMap {
    background-color:#eee;
    border: #999 1px solid;
    box-shadow:2px 2px 5px #999;
    margin:4px;
    padding:3px;
    display:inline-block;
    cursor:pointer;
}

#setMap:hover {
    background-color:#fff;
    border: #555 1px solid;
}

.showTable th {background-color:#25385c; color:#fff;cursor:pointer;}
.showTable th.sortasc {
    background-image:url("/images/admin/desc.gif");
    background-repeat:no-repeat;
    background-position:center right;
}

.showTable th.sortdesc {
    background-image:url("/images/admin/asc.gif");
    background-repeat:no-repeat;
    background-position:center right;
}

.showTable th a{color:#ff8400}
.showTable tr:nth-child(odd) td  {background-color:#e3e5ea; color:#000;padding:1px;}
.showTable tr:nth-child(even) td {background-color:#FFF; color:#000;padding:1px;}

.showTable tr:nth-child(odd):hover td  {background-color: #d9dbe0; color:#000;padding:1px;}
.showTable tr:nth-child(even):hover td {background-color: #f5f5f5; color:#000;padding:1px;}
.showTable input {
	width:90%;
}

table.showTable tr td.id {
	color:#777;
}

.showTable tr:nth-child(even) td div.editable {background-color: #fff; color:#000;padding:1px;}


table.showTable tr:hover td:hover {
	color:#777;
    background-color: #fff;
    outline:  1px solid #999;
}

div.included {
	margin-left:30px;
	display:none;
}

div#treebody {
    position: fixed;
    border:1px #ccc solid;padding:8px;margin:5px;}
div#treebody ul li, div#treebody ul {
	list-style: none;
}

div#treebody ul li.not_shown > div > img.folder { opacity: 0.4 }
div#treebody ul li.not_shown > div > span { opacity: 0.8 }

div#treebody ul {
    padding-left: 0;
}

div#treebody {
    max-height: 650px;
    width:320px;
    overflow: auto;
    display: block;
}

div#treebody ul ul {
	padding-left:25px;
}
div#main {padding:8px;padding-left:20px;margin:5px;margin-left: 360px;}

.branch span.id {
	color:#888;
}


.branch span.editable {
	outline: 1px #CCC solid;
}

.showTable .editable {
	outline: 3px #ffe115 solid;
}

#editDiv {
    position: absolute;
    background-color:#fff;
    padding:5px;
    display:none;
}

#editDiv #editSubEdit {
    float:right;
    width:16px;
    height:16px;
    padding: 2px;
    cursor: pointer;
    background-image: url("/images/admin/edit.png");
    background-repeat: no-repeat;
    background-position: center;
}

.hidden {
	display:none; 
}

.ui-widget-overlay { 

position: absolute; top: 0; left: 0; width: 100%; height: 100%;

	background-attachment: scroll;
	background-clip: border-box;
	background-color: #444;
	background-origin: padding-box;
	background-position: 50% 50%;
	background-repeat: repeat;
	background-size: auto;
	opacity: 0.5;
}

#notification_container {height:20px;
    position: fixed;
top:40px;left:20px;}
#notification {
	color:#fff;
	border: #555 1px solid;
    background-color:#000;
    border-radius:10px;
    padding:4px;
	display:none;
	max-width:600px;
    box-shadow:4px 4px 4px rgba(0,0,0,0.3);
}

#notification a {
    color: #ffeb10;
}

ul.pagination {
	display:block;
	margin: 5px auto;
	text-align: center;
}

ul.pagination li {
	display: inline-block;
	padding:3px;
	cursor: pointer;
}

ul.pagination li.prev {
	margin-right:12px;
}

ul.pagination li.active {
	background-color: #3065b3;
    border-top-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

ul.pagination li.active a {
	color: #fff;
}

ul.pagination li.mid {
	padding: 0;
}



ul.pagination li:hover {
	background-color: #c0bebe;
}

ul.pagination li.mid:hover {
	background-color: transparent;
}

ul.pagination li:hover a {
	color: #3065b3;
}



ul.pagination li.next {
	margin-left:12px;
}

ul.pagination li a {
	color: #000;
	text-decoration: none;
}

.notactive {
    opacity:0.6;
}




/* POPUP */

.popupBlock {
	position:fixed;
	width: 100%;
	height: 100%;
	/*background-color: rgba(0,0,0,0.5);*/
    background-image:url("/images/site/opacity5.png");
	top:0;
	left:0;
	z-index:1000001;
	overflow:auto;
	display:none;
}

.popupExternal {
	width:80%;
	max-width:1090px;
	min-width:960px;
	margin: 20px auto 20px auto;
	display: table;
}

.popupWrapper {

	max-width:1050px;
	background-color: #fff;
	background-color: #f5f1e7;
	display: table-cell;

	box-shadow:0 0 15px rgba(0,0,0,0.8);
	-moz-box-shadow:0 0 15px rgba(0,0,0,0.8);
	-webkit-box-shadow:0 0 15px rgba(0,0,0,0.8);
	font-family: "Trebuchet MS", Arial, sans-serif;
	color: #000;
	font-size: 14px;
	padding-bottom: 20px;


}


.popupLoader {
	color: #2e64c6;;
	font-size:30px;
	background-image: url("/images/site/ajax_loader_big.gif");
	background-position: center;
	background-repeat: no-repeat;
	height: 100px;
	padding:20px;
	text-align: center;
}

#popupWrapperContent {
    padding:20px;
}

#popupWrapper {
    border-radius:20px;
    moz-border-radius:20px;
    max-width:750px;
}

#popupExternal {
    min-width:600px;
    max-width:900px;
}



.popupClose {
	background-color: #2e64c6;
	color: #fff;
	cursor: pointer;
	font-size:20px;
	float:right;
	padding:8px;
	font-weight: bold;
    background-image:url("/images/site/close.png");
    background-position:center right;
    background-repeat:no-repeat;
    padding-right:36px;
}

.mhidden {
    display:none;
}

/*  ADMIN POPUP */

#adminPopupWrapper {
    background-color: #fff;
    width:80%;
	max-width:1290px;
	min-width:860px;
	margin: 20px auto 20px auto;
	display: table;
}

#adminPopupHeader {
    background-color: rgb(227, 227, 238);
    padding: 2px;
}

#adminPopupWrapperContent {
    padding: 10px;
}

#adminPopupHeader div {
    background-color: #809dbd;
    padding: 2px;
    margin: 2px;
    border-radius: 6px;
    color:#fff;
    display: inline-block;

}

#adminPopupHeader div.active {
    background-color: #2d3c4c;
    font-weight: bold;
}

#adminPopupHeader div:hover {
    background-color: #212e3c;
}


#adminPopupHeader div span.text {
    overflow: hidden;
    white-space: nowrap;
    max-width: 120px;
    display: inline-block;
}
#adminPopupHeader div span.close {
    background-image: url("/images/admin/tabx.gif");
    background-repeat: no-repeat;
    cursor: pointer;
    width:11px;
    height:11px;
    display: inline-block;
    margin-left:4px;
    margin-bottom:4px;
}

#adminPopupHeader div span.close:hover {
    background-position: left -13px;
}


/* END POPUP */

/*  Upload POPUP */

#uploadPopupWrapper {
    background-color: #fff;
    width:80%;
	max-width:890px;
	min-width:860px;
	margin: 20px auto 20px auto;
	display: table;
}

#uploadPopupHeader {
    background-color: #57779a;
    padding: 10px;
    color: #fff;
    font-weight: bold;

}

#uploadPopupWrapperContent {
    padding: 10px;
}



/* END POPUP */

#loginForm {
    font-size:50px;
}

#loginForm input {
    font-size:50px;
    margin:10px;
}

#loginWrapper {
    max-width:650px;
    margin: 100px auto;
}

#loginMessage {
    font-size:32px;
    color:#8b0000;
}

#loginRemember {
    font-size:28px;
}

.loopIndex {
    padding: 5px;
    color: #fff;
    background-color: #4c4e4d;
    display: inline-block;
    border-radius: 6px;
}

.pickfiles, .uploadfiles {
    display: inline-block;
    color: #fff;
    background-color: #265fa6;
    padding: 5px;
    border-radius: 5px;
    margin-right: 10px;
}

div.uploadPopup {
    margin: 5px;
    text-decoration: underline;
    cursor:pointer;
}

.uploadInGallery div.imgRow {
    padding: 5px;
    margin: 5px;
    border:  1px solid #aaa;
    border-radius: 4px;
}

.uploadInGallery div.editDiv {
    display: none;
}


.uploadInGallery .edit, .uploadInGallery .delete {
    float:right;
    text-decoration: underline;
    color: rgb(111, 144, 205);
    cursor: pointer;
    padding: 3px;
}

.uploadGallery {
    background-color: #fff;
    border:  1px solid #aaa;
    display: inline-block;
}

.uploadGallery img {
    vertical-align: middle;

    margin: 6px;

}

.uploadGallery .imgItem {
    display: inline-block;
}

.uploadGallery .imgDel {
    color: #8a1f11;
    font-size: 10px;
    text-align: center;
}

.uploadGallery .imgDel:hover {
    visibility: visible;
}

.filelist {
   background-color: #fff;
    border:  1px solid #aaa;
}

.filelist div {
    margin: 4px;
}

.filelist div:hover, .uploadGallery .imgItem:hover {
    background-color: #e3e3ee;
}

.filelist div span.filesize {
    color:#666;
    font-size:11px;
}

.bHeader {
    background-color: #e3e3ee;
    font-size: 30px;
}

.bSub {
    background-color: rgb(37, 56, 92);
    color: #fff;
    margin-bottom: 20px;
}

.bSub a {
    font-size:18px;
    color:#fff;
    margin: 3px;
}

.bSub a.active {
    text-decoration: none;
    font-weight: bold;
}

.bBlock {
    border: #e0e0e0 1px solid;
    border-radius: 13px;
    padding: 10px;
    margin: 20px;
    width: 480px;
    display: inline-block;
}

.bBlock h2 {
    font-size:26px;
    margin-top:10px;
    margin-bottom: 10px;
    text-align: center;
}

.bBlock a {
    font-size:16px;
    margin-right: 20px;
}

.bBlock div.system {
    float: right;
}

 .bBlock div.system a {
    font-size: 10px;
}


/*
 * jQuery UI Datepicker 1.8.14
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Datepicker#theming
 */
.ui-datepicker { width: 200px; padding: .2em .2em 0; display: none; }
.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
.ui-datepicker .ui-datepicker-prev { left:2px; }
.ui-datepicker .ui-datepicker-next { right:2px; }
.ui-datepicker .ui-datepicker-prev-hover { left:1px; }
.ui-datepicker .ui-datepicker-next-hover { right:1px; }
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px;  }
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year { width: 49%;}
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0;  }
.ui-datepicker td { border: 0; padding: 1px; }
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }

/* with multiple calendars */
.ui-datepicker.ui-datepicker-multi { width:auto; }
.ui-datepicker-multi .ui-datepicker-group { float:left; }
.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; }

/* RTL support */
.ui-datepicker-rtl { direction: rtl; }
.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
.ui-datepicker-rtl .ui-datepicker-group { float:right; }
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }

/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
.ui-datepicker-cover {
    display: none; /*sorry for IE5*/
    display/**/: block; /*sorry for IE5*/
    position: absolute; /*must have*/
    z-index: -1; /*must have*/
    filter: mask(); /*must have*/
    top: -4px; /*must have*/
    left: -4px; /*must have*/
    width: 200px; /*must have*/
    height: 200px; /*must have*/
}

.ui-datepicker-div, .ui-datepicker-calendar {
 background-color: #fff;
    box-shadow: 4px 4px 4px rgba(0,0,0,0.4);
    border:  1px solid  rgba(0,0,0,0.4);
    padding: 5px;
    border-radius: 5px;
}

.ui-datepicker-header {
    background-color: #fff;
    border:  1px solid  rgba(0,0,0,0.4);
}

.ui-state-active {
    background-color: #062f80; color:#fff;
}

.ui-state-hover  {
    background-color: #acd4f0;
}

#fixedMenu {
   background-color: rgb(37, 56, 92);
   color: #fff;
   top:0;
    left:0;
    width:100%;
    position: fixed;
    box-shadow: rgba(0,0,0,0.5) 0 0 5px;

}

#fixedMenu a {
    color:#fff;
    text-decoration: none;
}

#fixedLeft div, #fixedArrows div {
    display: inline-block;
    padding: 3px;
}

#fixedLeft div.main {
    font-weight: bold;
}


#fixedLeft div:hover, .fixedList li:hover, #fixedArrows div:hover {
     background-color: rgb(48, 93, 179);
}

#fixedLeft div.active {
     background-color: rgb(171, 193, 233);
     color: rgb(37, 56, 92);
}


#fixedSave {
    float: right;
}

#fixedSave div.and div {
    display: inline-block;
}

#saveButton {
    font-size: 18px;
    background-image: none;
    background-color: #fff;
    border: #666 1px solid;
    border-radius: 4px;
    padding: 4px;
    font-weight: bold;
    width:auto;
    display: inline-block;
    color: rgb(37, 56, 92);
    cursor:pointer;
    box-shadow: -5px -5px 12px rgba(0,0,0,0.1)  inset;
}

#unsaveButton {
    font-size: 16px;
    background-image: none;
    background-color: #fff;
    border: #666 1px solid;
    border-radius: 4px;
    padding: 4px;
    width:auto;
    color: #000;
    display: inline-block;
    cursor:pointer;
    box-shadow: -5px -5px 12px rgba(0,0,0,0.1)  inset;
}

#logout div {
    display: inline-block;
    padding: 2px;
    background-color: rgb(48, 93, 179);
}

ul.fixedList {
    position: absolute;
    background-color: rgb(37, 56, 92);
    margin-top: 0px;
    padding-left: 0px;
    margin-left: 0px;
    display: none;
}

ul.fixedList li {
    list-style-image: none;
    list-style-type: none;
    padding: 3px;
}

div#fixedSearch {

    padding: 10px;
    background-color: rgb(227, 227, 238);
    margin-top: 0px;
    padding-left: 0px;
    margin-left: 0px;
    display: none;
}

div#fixedSearch div.inline {
    max-height: 290px;

}

div#fixedSearch div.inline>div {
    display: inline-block;
    padding-right: 10px;
    padding-left:10px;
    overflow-y: hidden;

}

#fixedLeft div:hover ul.fixedList {
    display: block;
}

#fixedArrows {
    position: fixed;
    left:50%;
    margin-left: -50px;
}

ul.fixedList li a.active {
    font-weight: bold;
}

.checkboxDiv {
    width: 16px;
    height: 16px;
    background-image: url("/images/admin/fcheckbox.png");
}

.checkboxDiv.active {

    background-image: url("/images/admin/fcheckbox_active.png");
}

.selectOptions {
    position: absolute;
    background-color: #fff;
    padding: 5px;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
    border-radius: 6px;
    display: none;
}

.selectOptions a {
    padding: 5px;
}

.selectHeader {background-color: rgb(37, 56, 92);
    color: #fff;
    font-weight: bold;
    margin-top:15px;
    padding: 2px;
}

.selectList {
    background-color: #fff;
    padding: 2px;
    border: 1px solid rgb(37, 56, 92);
    max-height: 240px;
    overflow-y: auto;
}

.selectList div.hover {
    background-color: #b4c3f0;
}

.showTable tr.notShown td {
    color: #777;
}

.showTable tr.notShown:hover td {
    color: #777;
}

.showTable tr td.show_hide {
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('/images/admin/shown.png');
    width:18px;
    min-width:18px;
}

.showTable tr.notShown td.show_hide {
    background-image: url('/images/admin/hidden.png');
}

#tooltip {
  position: absolute;
  z-index: 3000;
  /*border:rgba(0,0,0,0.6) 1px solid;*/
box-shadow:1px 1px 4px rgba(0,0,0,0.6);
    -webkit-box-shadow:1px 1px 4px rgba(0,0,0,0.6);
    -moz-box-shadow:1px 1px 4px rgba(0,0,0,0.6);
  background-color: #fff;
  padding: 3px;
  opacity: 1;

  color:#3e3e3e;

  font-size:12px;
  overflow:hidden;
  -webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	padding:4px;
	max-width:400px;
	font-size:10px;
    font-family:"Trebuchet MS", Arial, sans-serif;
}
#tooltip h3 {
	margin:0;
	margin-bottom:3px;
  font-weight:bold;
  font-size:12px;
  color:#062f80;
}

/* ТАБЫ */
.tabBody {
    border-top: 4px solid #5e5e5e;
    width:100px;
    min-width: 960px;
}

.tabHeaders {
    padding-left: 5px;
}

.tabHeaders div, .mceSwitch div {
    display: inline-block;
    font-size: 14px;
    padding: 6px 10px;
    margin:  0 1px 0 0;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background-color: rgb(111, 144, 205);
    color:#fff;
    cursor: pointer;
    text-shadow: 0px -1px 1px #000;
}

.tabHeaders div:hover:not(.active), .mceSwitch div:hover:not(.active) {
    background-color: rgb(100, 116, 144);
}

.tabHeaders div.active, .mceSwitch div.active {
    background-color: #5e5e5e;

}

.mceSwitch div {
    font-size: 12px;
    padding: 3px;
}

.mceSwitch {
    margin-top: 5px;

    margin-left: 20px;

}

.tabBody > div  {
    display: none;
}

.tabBody > div.active {
    display: block;
}

.addNewContent {
    min-height: 200px;
}

.addNewContent input {

        font-size:11px;


}

.addNewContent .selectModule div {
    margin: 10px;
    display: inline-block;
    color: #062f80;
    border-bottom: 1px dashed #062f80;
    cursor: pointer;
    border-radius: 6px;
}

.addNewContent .selectModule div:hover {
    border-bottom: none;
    background-color: rgb(237, 238, 244);
    margin: 5px;
    padding: 5px;

}

.addNewContent .selectModule div.active {
    border-bottom: none;
     background-color: rgb(111, 144, 205);
    margin: 5px;
    padding: 5px;

}

.success {
    display:none;
    color:green;
}

table.cropImage td {
    vertical-align: top;
    padding: 0;
    margin: 0;

}

table.cropImage {
    width: 100%;
}

table.cropImage td.image {
}

table.cropImage td.image img {
    max-height: 400px; max-width: 400px;
}

table.cropImage td div.cropperPreview {
    margin-top: 15px;
}

table.cropImage td div.cropperPreview img {
    max-height: 280px; max-width: 280px;
}

table.cropImage td.sizes div.active, table.cropImage td.sizes div.active:hover {
   background-color: rgb(111, 144, 205);
    color:#fff;
    font-weight: bold;

}

table.cropImage td.sizes div {
    cursor: pointer;
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
    padding: 4px;
}

table.cropImage td.sizes div:hover {
background-color: rgb(237, 238, 244);
}

.cropper {
    margin-left: 15px;

}

.cropper div {
    padding: 2px;
}

.cropper div span {
    width:90px;
    display: inline-block;
}
