/* === 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;
}

div.cms-section-properties-btn, div.cms-edit-btn, div.cms-edit-block-btn, div.cms-edit-design-btn {
	padding: 2px 5px;
	font-family: Arial, Verdana;
	font-size: 13px;
	font-weight: normal;
	width: auto;
	position: absolute;
	color: black;
	cursor: pointer;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	z-index: 99;
}

div.cms-edit-btn, div.cms-edit-block-btn, div.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 div.cms-edit-block-btn, div.cms-edit-design-btn-container div.cms-edit-design-btn {
	float: left;
	display: block;
	position: relative;
	margin: 0px;
}

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

/* === Styles for "Section Properties" button === */
div.cms-section-properties-btn {
	float: right;
	position: relative;
	border: 2px solid #A1D0A1;
	background-color: #CCFF00;
	opacity: 0.5;
	filter: alpha(opacity=50);
}

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

/* === Styles for "Edit" button === */
div.cms-edit-btn-container {
	border: 1px dashed #FF6E00;
}

div.cms-edit-btn {
	margin-left: -10px;
	border: 2px solid #FF6E00;
	background-color: #FFCC00;
	opacity: 0.5;
	filter: alpha(opacity=50);
}

div.cms-edit-block-btn {
	margin-left: -10px;
	border: 2px solid #FF6E00;
	background-color: #FFCC00;
	display: none;
}

div.cms-edit-design-btn {
	margin-left: -10px;
	border: 2px solid #A1D0A1;
	background-color: #CCFF00;
	display: none;
}

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

div.cms-save-layout-btn, div.cms-cancel-layout-btn {
	float: left;
	padding: 2px 5px;
	font-family: Arial, Verdana;
	font-size: 13px;
	font-weight: normal;
	width: auto;
	color: black;
	cursor: pointer;
	/*opacity: 0.5;
	filter: alpha(opacity=50);*/
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

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

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

div.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-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 {
	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: absolute;
	width: 630px;
	top: 0px;
	z-index: 100;
}

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

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: absolute;
	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: absolute;
	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; }