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


strong, b {
    font-weight: bold;
}

em, i {
    font-style: italic;

}

.textareaWrapper .redactor_box {
    max-width: 800px;
}

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

.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: 600;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}

.params_fields {
    display: inline-block;
    width: 150px;
}

.includes {
    background-color: #ffef94;
}

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

.selbutton {
	padding-right:10px;
}

#templates {
	display:none;
}

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


.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;
padding: 1px 2px}
.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:100%;
    box-sizing: border-box;
}

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:8px;

    box-shadow: 0 0 8px rgba(0,0,0,0.6);
    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;
    cursor: pointer;
}

ul.pagination {
	display:block;
	margin: 10px 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 {
}

ul.pagination li.active a {
	color: #fff;
    background-color: #00bcd4;
}

.m_brand_teamcrm ul.pagination li.active a {
    background-color: #629FF5;
}


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);
	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);
	color: #000;
	font-size: 14px;
	padding-bottom: 20px;


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

}


.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;
}



#uploadPopupClose {
    font-size: 18px;
    float: right;
    color: #fff;
    padding-top: 5px;
    padding-right: 5px;
    cursor: pointer;
}



/* 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: #00acc1;
    padding: 5px;
    margin-right: 10px;
}

div.uploadPopup {
    margin: 5px;
    cursor:pointer;
}

.uploadInGallery div.imgRow, .uploadInGallery div.fileRow {
    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 #eee;
    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;
}

.fileDel, .imgDel {
    color: #970008;
    cursor: pointer;
    text-decoration: underline;
}
.bBlockList {
	padding: 15px;
	padding-top: 0;
}


.bHeader {
	font-family: "Open Sans", Arial, "Trebuchet MS", sans-serif;
    font-size: 28px;

	padding: 10px 0;
	margin-bottom: 8px;
	margin-top: 30px;

	margin-left: 5px;
}

.bHeader a {
	font-size: 16px;
	color: #4f6699;
}

.bSub {
	background-color: rgb(98, 105, 118);
	color: #fff;
    margin-bottom: 15px;
	padding: 5px;
	font-family: "Open Sans", Arial, "Trebuchet MS", sans-serif;
}

.bSub a {
    font-size:14px;
	text-decoration: none;
    color:#fff;
    margin: 3px;
}

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

.bBlock {

    border-radius: 2px;
    padding: 10px;
    margin: 5px;
    width: 260px;
	vertical-align: top;
    display: inline-block;
	background-color: #F2F4F5;

	font-family: "Open Sans", Arial, "Trebuchet MS", sans-serif;
	transition: all 0.2s ease-out 0s;


}

.adQuickSearchResult .bBlock {
	background-color: #bcd7e3;
}

.adQuickSearchResult .bBlock:hover {
	background-color: #85b8ce;
}

.adQuickSearchResult .bBlock a:hover {
	text-decoration: underline;
    background-color: #85b8ce;
	color: #000000;
}

.bBlock:hover {
	background-color: #E2E8EC;
}

.bBlock .comment {
	color: #777;
	margin-top: 5px;
	margin-bottom: 5px;
}

.bBlock h2 {
    font-size:16px;

    margin-bottom: 5px;
}

.bBlock h2 a {
	font-size: 16px;
	font-weight: 600;
	margin-right: 0;
}

.bBlock a {
	font-size: 12px;
    margin-right: 10px;
	text-decoration: none;
	color: #222;
}

.bBlock a .fa {
	font-size: 10px;
	color: #aaa;
}

.bBlock a:hover {
	text-decoration: underline;
	color: #406271;
}

.bBlock div.system {
    float: right;

}

 .bBlock div.system a {
    font-size: 10px;
	 color: #999;
	 margin-right: 0;
	 margin-left: 9px;

}


.adQuickSearchResult .bBlock div.system a, .adQuickSearchResult .bBlock a .fa {
	color: #5c792c;

}


/*
 * 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: #37414f;
	color: #ecf0f8;
	padding: 0 10px;
   top:0;
    left:0;
    width:100%;
    position: fixed;
    box-shadow: rgba(0,0,0,0.5) 0 0 5px;
    z-index: 3000;

}

#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;
    z-index: 1000000;
}

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: #8C9BB4;
    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;
}

h3 {
    margin: 10px 0;
    font-size: 24px;
    font-weight: normal;
}
#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, .rotator {
	margin-left: 15px;

}

.cropper div, .rotator div {
	padding: 2px;
}

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

.rotator span {
	cursor: pointer;
	font-size: 24px;
	color: #777;
}

.rotator span:hover {
	color: #000;
}

.ui-autocomplete {
    background-color: #fff;
    border:  1px solid #bbb;
    position: absolute;

	z-index: 1000;
	font-size: 12px;
}

.ui-autocomplete li{
    background-color: #fff;
    display: block;
    padding: 2px;
    font-size: 14px;
}

.ui-autocomplete li:hover{
    background-color: #2e64c6;
	font-weight: normal;


}

.ui-corner-all:hover {
    background-color: #2e64c6;
    cursor: pointer;
}

.ui-autocomplete li:hover a {
    color:#fff;
	font-weight: normal;
}

ul.ui-autocomplete {
    padding-left: 0px;
}

.fastLinks {
    background: #E3E3EE;
    font-size: 18px;

    padding: 15px;
    min-width: 200px;
}

.fastLinks div {
    margin: 8px 0;
}

.fastLinks a, table.adminFirstPage table.showTable caption a {
    color: #25385c;
}

.fastLinks a.add {
    float: right;
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("/images/admin/add.png");
}

table.adminFirstPage td {
    padding: 5px;
    vertical-align: top;
}

table.adminFirstPage table.showTable caption {
    caption-side:bottom;
    text-align: right;
    background-color: #b5bbc7;
    padding: 2px;
}

.fastView {
    display: inline-block;
    margin: 10px;
    vertical-align: top;
}

.fastView table.showTable td {
    max-width: 300px;
}

.clientName {

    font-weight: bold;
    font-size: 13px;
}



.clientTable {
    border-collapse: collapse;
}

.clientTable  td {
    border: 1px solid  #aeb3bf;
}

.clientTable  th {
    background-color: #aeb3bf;
}

.orderTable {
    width: 100%;
    border-collapse: collapse;
}

.editTable td, .showTable td {
   border: 1px solid #fff;
    padding: 2px;
}

.tdCheck, .showTable tr th.tdCheck {
    width: 16px;
    min-width: 16px;
    background-image: url('/images/admin/checkbox.png');
    background-repeat: no-repeat;
    background-position: center;
}

.tdCheck.active,  .showTable tr th.tdCheck.active {
    background-image: url('/images/admin/checkbox_active.png');
}

.fastHeader {
    font-size: 20px;
    margin-top: 10px;
}

.tableTabs {
    float: left;
    margin-left: 15px;
    margin-right: 15px;
    max-width: 300px;
}

.tableTabs td {
    padding: 1px 4px;
}

.tableTabs .leftTabs div {
    border-radius: 3px;
    background-color: #edeef4;
    color: #444;
    margin: 2px;
    padding: 3px;
    font-size: 14px;
    text-shadow: 0 1px 1px #fff;
    cursor: pointer;
    border: 1px solid #BBB;

}

.tableTabs  .leftTabs div[data-do="add"] {
    text-align: center;

}

.tableTabs  .leftTabs div.active {
    color: #000;
    background-color: #f6f6f6;
    font-weight: bold;
}

.tableTabs  .leftTabs div:hover:not(.active) {
    background-color: rgb(100, 116, 144);
    color:#fff;

        text-shadow: 0px -1px 1px #000;
}

h1 {
    font-size: 24px;
	font-family: "Open Sans", Arial, "Trebuchet MS", sans-serif;
    margin-bottom: 10px;
	margin-top: 7px;
	margin-left: 15px;
}

.nameDom {
    font-size: 28px;
    margin: 10px 0;
}

.tableTabs h3 {
    font-size: 18px;
}

.editTab {
    display: none;
}

.editTab.active {
    display: block;
}

/*
Немного подправим фоны для Redactor
*/

.redactor_box textarea, .redactor_box textarea:focus  {
    background-color: #eee;
    color: #000;
}


/* Превьюшки в загрузке изображений */
.imgItem.listElem {
	width: 120px;
	overflow: hidden;
	white-space: nowrap;
}

.imgItem.listElem > a {
	text-decoration: none;
}

.imgItem.listElem .previewDescription {
	margin-top: -22px;
	margin-left: 7px;
	color: white;
	min-height: 17px;
}

.imgRow.listElem .img {
	width: 35px;
	display: inline-block;
}

.imgRow.listElem .filename {
	color: gray;
	display: inline-block;
	font-size: 10pt;
}

.imgRow.listElem .imageDescription {
	display: inline-block;
}

/* Для drag&drop */
.filelist {
	min-height: 30px;
	position: relative;

	-webkit-transition: min-height 0.5s ease-out 0s;
	-moz-transition: min-height 0.5s ease-out 0s;
	-o-transition: min-height 0.5s ease-out 0s;
	transition: min-height 0.5s ease-out 0s;
}

.filelistPlaceholder {
	position: absolute;
	left: -90px;
	margin-left: 50%;
	padding-left: -10px;
	overflow: hidden;
	color: gray;
	margin-top: 5px;
}

.filelist.DNDhover {
	-webkit-box-shadow: inset 8px 8px 6px -9px rgba(0,0,0,0.75);
	-moz-box-shadow: inset 8px 8px 6px -9px rgba(0,0,0,0.75);
	box-shadow: inset 8px 8px 6px -9px rgba(0,0,0,0.75);
	min-height: 250px;
}

.filelist.DNDopen {
	min-height: 250px;
}

.filelist.DNDopen > .filelistPlaceholder {
	top: 120px;
}

.galleryHighlight {
	-webkit-box-shadow: inset 8px 8px 6px -9px rgba(0,50,0,0.75);
	-moz-box-shadow: inset 8px 8px 6px -9px rgba(0,50,0,0.75);
	box-shadow: inset 8px 8px 6px -9px rgba(0,0,50,0.75);
}

.is_main {
	background-color: rgb(255, 113, 113);
	padding: 3px;
}

div.is_main {
	margin-bottom: -27px;
	position: relative;
	left: 6px;
	background-color: rgba(255, 52, 52, 0.85);
}

div.is_main > span {
	margin: 5px;
	color: white;
}

.uploadInGallery div.editDiv {
    margin-top: 13px;
}

table.cropImage {
    margin-bottom: 10px;
}

/* Поиск по таблицам */

.adQuickSearchWrapper {

    width: 26em;
    border: 1px #e7e7e7 solid;

}

.adQuickSearch {
    width: 260px;
    height: 22px;
    border: 0px;
    outline: none;
    margin: 0px 0 0 10px;
    color: #666;

}

input.adQuickSearch:focus {
    box-shadow: none;
    border: none;
}

.adQuickSearchClear {
	position: relative;
	float: right;
	height: 20px;
	width: 20px;
	top: 5px;
	right: 2px;
	/* background: #f1f1f1; */
	color: rgb(189, 189, 189);
	font-weight: bold;
	text-align: center;
	cursor: pointer;
	vertical-align: middle;
}

.inputHighlight {
	color: white !important;
	background: rgb(227, 85, 59);

}

/* Меню выбора редактирование/просмотр */

.menu {
	font-family: "Open Sans", "Trebuchet MS", Arial;
	font-size: 15px;
	display: table;
	clear: both;
	margin-bottom: 20px;
}

.menu a {
	color: #37414f;
	padding: 8px 8px;
	background-color: #eeeeee;
	font-weight: normal;
	text-decoration: none;
	border-bottom: 6px solid #e5dad8;
	-webkit-transition: all 0.2s ease-in;
	-moz-transition: all 0.2s ease-in;
	-o-transition: all 0.2s ease-in;
	transition: all 0.2s ease-in;
	display: inline-block;
	vertical-align: top;
}

.menu a.active, .menu a.active:hover {
	color: #000;
	font-weight: bold;
	background-color: #e9e9e9;
	border-bottom-color: #8c2a2a;
}

.menu a:hover {
	border-bottom-color: #37414f;
	background-color: #e9e9e9;
}

.errorDiv {
	background-color: #F06D6C;
	font-size: 14px;
	padding: 15px;
	max-width: 800px;
	color: #fff;
}

h2.errors {
	color: #F06D6C;
}


h2.saved {
	color: #5fe36f;
}

.archiveStatus {
	margin-top: 10px;
	font-size: 14px;

}

.archiveStatus a {
	text-decoration: underline;

}

.needsApproval {
	background-color: #fff99c;

}

h4.needsApproval {
	background-color: #fff99c;
	padding: 5px;

}

tr.objectUnapproved td, .showTable tr.objectUnapproved:nth-child(odd) > td, .showTable tr.objectUnapproved:nth-child(even) > td {
    background-color: #ffc1b2;
}

tr.objectUnmoderated td, .showTable tr.objectUnmoderated:nth-child(odd) > td, .showTable tr.objectUnmoderated:nth-child(even) > td {
    background-color: #fff3bf;
}