/* === Common styles for "Section Properties" and "Edit" buttons === */
div.cms-btn-image {
	float: left;
	height: 15px;
	vertical-align: middle;
}

div.cms-btn-text {
	margin-left: 3px;
	float: left;
	white-space: nowrap;
	vertical-align: middle;
}

div.cms-btn-content {
	padding: 5px;
}

.cms-edit-btn {
	padding: 2px 5px;
	font-family: Arial, Verdana;
	font-size: 13px;
	font-weight: normal;
	color: black;
	cursor: pointer;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

.cms-section-properties-btn, .cms-edit-btn, .cms-edit-block-btn, .cms-edit-design-btn {
	width: auto;
	position: absolute;
	z-index: 99;
}

.cms-edit-btn, .cms-edit-block-btn, .cms-edit-design-btn {
	margin-top: -10px;
}

div.cms-edit-design-btn-container {
	position: absolute;
	margin-left: -10px;
	margin-top: -10px;
	display: none;
}

div.cms-edit-design-btn-container .cms-edit-block-btn, div.cms-edit-design-btn-container .cms-edit-design-btn {
	float: left;
	display: block;
	position: relative;
	margin: 0px;
}

div.cms-edit-design-btn-container .cms-edit-design-btn {
	margin-left: 4px;
}

/* === Styles for "Section Properties" button === */
.cms-section-properties-btn {
	float: right;
	position: relative;
	border-color: #A1D0A1;
	background-color: #CCFF00;
}

div.cms-section-properties-btn-container {
	border: 1px dashed #A1D0A1;
	margin: 10px;
}

/* === Styles for "Edit" button === */
.cms-btn-new {
	cursor: pointer;
	background: url(@templates_base@/img/top_frame/icons/content_mode.png) #CCFF00 3px center no-repeat;
	padding: 2px 2px 2px 17px;

	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border: 2px solid #A1D0A1;
	opacity: 0.5;
	filter: alpha(opacity=50);

	color: black;
	font-family: Arial, Verdana;
	font-size: 13px;
	font-weight: normal;
}

.cms-btn-new:hover {
	opacity: 1;
	filter: alpha(opacity=100);
}

div.cms-edit-btn-container {
	border: 1px dashed #FF6E00;
}

div.cms-edit-btn {
	border: 2px solid #FF6E00;
}

.cms-edit-btn {
	margin-left: -10px;
	border-color: #FF6E00;
	background-color: #FFCC00;
}

.cms-edit-block-btn {
	border-color: #FF6E00;
	background-color: #FFCC00;
	display: none;
}

.cms-edit-design-btn {
	border-color: #A1D0A1;
	background-color: #CCFF00;
	display: none;
}

.admin-edit-btn {
	border-color: #A1D0A1;
	background-color: #CCFF00;
}

/* === Styles for "Save" and "Cancel" buttons (for layout) === */
div.cms-layout-btn-container {
	position: absolute;
	display: none;
	z-index: 99;
}

.cms-save-layout-btn, .cms-cancel-layout-btn {
	float: left;
	width: auto;
}

.cms-save-layout-btn {
	color: white;
	border-color: #1C960C;
	background-color: #24B30D;
}

.cms-cancel-layout-btn {
	color: white;
	border-color: #C81900;
	background-color: #DE2A00;
}

.cms-cancel-layout-btn {
	margin-left: 4px;
}

/* === Styles for Template Editor === */
div.block-edit-block-btn-container, div.block-edit-design-btn-container {
	border: 1px dashed transparent;
}

div.block-edit-block-btn-container .cms-btn-new, div.block-edit-design-btn-container .cms-btn-new {
	opacity: 1;
	filter: alpha(opacity = 100);
}

div.block-edit-block-btn-container-over, div.block-edit-design-btn-container-over {
	border-color: #FF6E00;
}

/*div.block-edit-design-btn-container-over {
	border-color: #A1D0A1;
}*/

/* === Styles for element moving/sorting in theme === */
div.movable-area {
	min-height: 200px;
}

.move-helper {
	border: 3px dashed #666;
	/*width: auto !important;*/
}

/* === Styles for phrase translation links === */
span[name='cms-translate-phrase'] {
	text-decoration: none;
	border: 1px dashed transparent;
	padding: 3px;

}

span[name='cms-translate-phrase']:hover {
	border-color: #FF6E00;
}

span[name='cms-translate-phrase'] .cms-btn-text {
	font-size: 9px;
}

span[name='cms-translate-phrase'] .cms-edit-btn, span[name='cms-translate-phrase'] .admin-edit-btn {
	display: none;
	opacity: 1;
	filter: alpha(opacity=100);
}


/* === Misc Styles for "Content Revision Control" button === */
.cms-clear { clear: both; }
.cms-right { float: right; }
.cms-left { float: left; }


/* === Current Revision Information === */
#cms-current-revision-info {
	color: #4b4b4b;
	font-size: 11px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	white-space: nowrap;
	float: left;
	padding: 0px 30px;
}

#cms-current-revision-info span {
	display: block;
	/*color: #008c1b;*/
	font-size: 16px;
	display: block;
	padding: 10px 0px 3px 0px;
}

#cms-current-revision-info span.cms-revision-published { color: #15b300; }
#cms-current-revision-info span.cms-revision-pending { color: #ff9600;  }
#cms-current-revision-info span.cms-revision-declined { color: #f90000; }


/* === Revision Editing Toolbar === */
#cms-revision-toolbar {
    background-color: #F0F1EB;
    border-collapse: collapse;
	border-color: #aaaaaa;
    border-style: solid;
    border-width: 0 1px 1px;
    font-size: 8pt;
}

#cms-revision-toolbar-layer {
	position: fixed;
	width: 630px;
	top: 0px;
	z-index: 100;
}

.toolbar-button, .toolbar-button-disabled, .toolbar-button-over {
	float: left;
	text-align: center;
	font-size: 8pt;
	padding: 5px;
	vertical-align: middle;
	color: #006F99;
}

.toolbar-button-over {
	color: #000;
}

.toolbar-button-disabled {
	color: #444;
}

a#cms-toggle-revision-toolbar {
	display: block;
	background: url(@templates_base@/img/top_frame/revision_control/button_vp_right.png) top right no-repeat;
	padding-right: 24px;
	float: right;
	margin-top: -1px;
	text-decoration: none;
}

a#cms-toggle-revision-toolbar span {
	display: block;
	background: url(@templates_base@/img/top_frame/revision_control/button_vp_left.png) top left no-repeat;
	line-height: 30px;
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: bold;
	padding: 0px 10px 0px 15px;
}

a#cms-toggle-revision-toolbar:hover span {
	color: #666666;
}

a#cms-toggle-revision-toolbar.opened {
	background: url(@templates_base@/img/top_frame/revision_control/button_vp_right2.png) top right no-repeat;
}

#cms-close-toolbar {
	float: right;
	display: block;
	width: 10px;
	height: 10px;
	background: url(@templates_base@/img/top_frame/revision_control/close_black.gif) top left;
	overflow: hidden;
	margin: 10px 10px 0 0;
}


/* === Revision Editing Notice === */
#cms-editing-notice {
	width: 230px;
	position: fixed;
	z-index: 101;
	margin-top: 50px;
	margin-left: 10px;

	display: none;
}

#cms-editing-notice .top {
	background: url(@templates_base@/img/top_frame/revision_control/message_background_red.png) left top no-repeat;
	padding: 30px 20px 10px 20px;
	color: #FFFFFF;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
}

#cms-editing-notice .bottom {
	background: url(@templates_base@/img/top_frame/revision_control/message_background_red.png) left bottom no-repeat;
	height: 6px;
}

#cms-close-editing-notice {
	float:right;
	display:block;
	width:10px;
	height:10px;
	background:url(@templates_base@/img/top_frame/revision_control/close_white.gif) top left;
	overflow:hidden;
	margin:-5px -10px 0 0;
}


/* === Revision Dropdown === */
#cms-revision-dropdown {
	width: 240px;
	position: fixed;
	margin-left: 260px;
	margin-top: 30px;
	z-index: 102;

	display: none;
}

#cms-revision-dropdown .top {
	border-top: 1px solid #aaaaaa;
	border-left: 1px solid #aaaaaa;
	border-right: 1px solid #aaaaaa;
}

#cms-revision-dropdown .item, #cms-revision-dropdown .item:hover {
	color: #666666;
	background: url(@templates_base@/img/top_frame/revision_control/history_item_background.gif) top left repeat-x #FFFFFF;
	padding: 10px 13px;
	border-top: 1px solid #e7e7e7;
	font-size: 11px;
	cursor: pointer;
}

#cms-revision-dropdown .item:hover {
	background: url(@templates_base@/img/top_frame/revision_control/history_item_background_hover.gif) top left repeat-x #F8F8F8;
}

#cms-revision-dropdown .item .red {
	color: #FF0000;
	padding-top: 6px;
}

#cms-revision-dropdown .bottom {
	background: url(@templates_base@/img/top_frame/revision_control/history_bottom.png) top left no-repeat;
	height: 6px;
}

.item .cms-revision-published, .item .cms-revision-pending, .item .cms-revision-declined {
	display: block;
	font-size: 13px;
	font-weight: bold;
	padding-bottom: 8px;
}

.item .cms-revision-published, .item .cms-revision-published a { color: #15b300 !important; }
.item .cms-revision-published a:hover { color: #1ada00 !important; }

.item .cms-revision-pending, .item .cms-revision-pending a { color: #ff9600 !important; }
.item .cms-revision-pending a:hover { color: #ffba58 !important; }

.item .cms-revision-declined, .item .cms-revision-declined a { color: #f90000 !important; }
.item .cms-revision-declined a:hover { color: #ff6666 !important; }