/**
 * Pimcore
 *
 * LICENSE
 *
 * This source file is subject to the new BSD license that is bundled
 * with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://www.pimcore.org/license
 *
 * @copyright  Copyright (c) 2009-2013 pimcore GmbH (http://www.pimcore.org)
 * @license    http://www.pimcore.org/license     New BSD License
 */

.pimcore_tag_image_alt {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
}

/* THIS WAS FOR AUTOHIDING THE BUTTONS */
/*
.pimcore_block_buttons {
    position: absolute;
    top:0;
    right:0;
    z-index: 1000;
    overflow: hidden;
    padding: 0;
    display:none;
}


.pimcore_area_entry .pimcore_area_edit_button,
.pimcore_block_entry .pimcore_area_edit_button {
    position:absolute;
    width:25px;
    height:25px;
    right:5px;
    top:5px;
}

.pimcore_tag_areablock_hide_buttons .pimcore_block_buttons,
.x-dd-drag-proxy .pimcore_block_buttons {
    display: none !important;
}

.pimcore_tag_areablock_force_show_buttons .pimcore_block_buttons,
.pimcore_tag_block_force_show_buttons .pimcore_block_buttons {
    display:block !important;
    visibility: visible !important;
}
*/

.pimcore_block_buttons {
	padding: 10px 0 5px 0;
}

.pimcore_block_plus,
.pimcore_block_minus,
.pimcore_block_up,
.pimcore_block_down,
.pimcore_block_amount,
.pimcore_block_type,
.pimcore_block_options {
    float: left;
    padding: 0 2px 0 0;
}

.pimcore_block_clear {
	clear: both;
}

.pimcore_block_button_plus,
.pimcore_block_button_minus,
.pimcore_block_button_up,
.pimcore_block_button_down,
.pimcore_block_button_type {
	display: inline-block !important;
	margin: 0 3px 0 0;
}

.pimcore_block_button_plus button,
.pimcore_block_button_minus button,
.pimcore_block_button_up button,
.pimcore_block_button_down button {
	width: 16px;
}

.pimcore_block_entry {
	clear:both;
    /* THIS WAS FOR AUTOHIDING THE BUTTONS */
    /*position:relative;*/
}

/*
.pimcore_block_limitnotreached .pimcore_block_plus,
.pimcore_block_limitnotreached .pimcore_block_amount {
    display: block !important;
}

.pimcore_block_limitreached .pimcore_block_plus,
.pimcore_block_limitreached .pimcore_block_amount {
    display: none !important;
}
*/

.pimcore_block_amount {
    width: 40px;
}

.pimcore_block_type,
.pimcore_block_type button {
    cursor:default !important;
}

.pimcore_icon_plus {
	background: url(/pimcore/static/img/icon/add.png) !important;
}

.pimcore_icon_minus {
	background: url(/pimcore/static/img/icon/delete.png) !important;
}

.pimcore_icon_up {
	background: url(/pimcore/static/img/icon/arrow_up.png) !important;
}

.pimcore_icon_down {
	background: url(/pimcore/static/img/icon/arrow_down.png) !important;
}

.pimcore_icon_edit {
	background: url(/pimcore/static/img/icon/pencil_go.png) !important;
}


.pimcore_block_button_type,
.pimcore_block_button_type button {
    cursor: move !important;
}

.pimcore_area_dropzone {
    height: 20px;
    background: #a3bae9;
    border:2px dashed #fff;
    clear:both;
}

.pimcore_area_dropzone_hover {
    background: #6ec563;
}

.pimcore_wysiwyg.pimcore_wysiwyg_inactive {
	border: 1px solid #d0d0d0;
	cursor:pointer;
}

.pimcore_wysiwyg {
    border: 1px solid transparent;
}

/* all ext windows have to be above the dnd masks (wysiwyg, iframe) */
.x-window {
    z-index: 10003 !important;
}

.x-combo-list {
    z-index: 10004 !important;
}

/* because this causes problems with the fixed z-index of combo and window above */
.x-shadow, .x-ie-shadow {
    display: none !important;
}


.pimcore_wysiwyg_mask {
	position: absolute;
	z-index: 10001;
	background: #ff6600;
	/* beacause of IE */
	-moz-opacity: 0;
    -webkit-opacity: 0;
	opacity: 0;
	filter: Alpha(opacity=0);
}

.pimcore_iframe_mask {
	position: absolute;
	z-index: 10000;
}

.pimcore_tag_link {
	position: relative;
	padding: 0 30px 0 0;
}

.pimcore_tag_link .pimcore_edit_link_button {
	position: absolute;
	right: 0;
	top: 0;
	width: 16px;
}

.pimcore_tag_snippet_empty {
	border: 1px solid #d0d0d0 !important;
	background:url(/pimcore/static/img/icon/drop-40.png) center center no-repeat #f9fbfb !important;
}

.pimcore_tag_image_empty {
	border: 1px solid #d0d0d0 !important;
	background:url(/pimcore/static/img/icon/drop-40.png) center center no-repeat #f9fbfb !important;
}

.pimcore_tag_video_empty {
	border: 1px solid #d0d0d0 !important;
	/*background:url(/pimcore/static/img/icon/drop-40.png) center center no-repeat #f9fbfb !important;*/
    background:url(/pimcore/static/img/icon/video-icon-big.png) center center no-repeat #f9fbfb !important;
}

.pimcore_tag_checkbox {
	float: left; 
	width: 20px;
}

.pimcore_tag_href input{
	background: url(/pimcore/static/img/icon/drop-16.png) right 2px no-repeat #fff;
	cursor: default;
}

.pimcore_tag_droptarget {
    background: url(/pimcore/static/img/icon/drop-16.png) center center no-repeat;
    position:absolute;
    width:20px;
    height:20px;
    right:5px;
    top:5px;
}


.pimcore_tag_block .x-btn {
    width: auto;
    clear: none;
    border-collapse: separate;
    margin: 0;
    table-layout: auto;
}

.pimcore_tag_snippet .x-panel-body {
	background:none;
	overflow:hidden !important;	
}

.pimcore_tag_renderlet .x-panel-body {
	overflow:hidden !important;	
	background:none;
}



.pimcore_tag_table {
    color: black !important;
}

.x-list-body dt em {
    color:black;
}

#pimcore_wysiwyg_topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 500px;
    height: auto;
    z-index: 99999;
    -moz-opacity: 0.8;
    -webkit-opacity: 0.8;
    opacity: 0.8;
    filter: Alpha(opacity=80);
}

#pimcore_wysiwyg_topbar:hover {
    -moz-opacity: 1;
    -webkit-opacity: 1;
    opacity: 1;
    filter: Alpha(opacity=100);
}

#pimcore_wysiwyg_topbar span.cke_skin_kama,
#pimcore_wysiwyg_topbar .cke_skin_kama .cke_wrapper {
    border-radius: 0 !important;
    padding:0;
}

#pimcore_wysiwyg_bottombar {
    display: none;
}

.pimcore_tag_wysiwyg {
    position:relative;
}

.pimcore_tag_wysiwyg span.cke_skin_kama {
    border:1px solid #99AABB !important;
    padding:0 !important;
    border-radius:0 !important;
    -moz-border-radius:0 !important;
    -webkit-border-radius:0 !important;
}

.pimcore_tag_wysiwyg .cke_skin_kama .cke_wrapper {
   padding: 0 !important;
   border:0 !important;
   background: none !important;
}

.pimcore_tag_wysiwyg .cke_skin_kama .cke_contents {
    border:0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.pimcore_tag_wysiwyg .cke_skin_kama .cke_editor {
    border: 0 !important;
}

.pimcore_tag_wysiwyg .cke_skin_kama .cke_contents iframe {
	background:none;	
}

.pimcore_droptarget_input  {
	background: url(/pimcore/static/img/icon/drop-16.png) right 2px no-repeat #fff !important;
	cursor: default;
}

.pimcore_area_entry {
    /* THIS WAS FOR AUTOHIDING THE BUTTONS */
    /*position:relative;*/
}

.pimcore_area_content {
    position:relative;
}

.pimcore_area_editmode {
    display:none;
}

.pimcore_area_entry .pimcore_area_edit_button,
.pimcore_tag_area .pimcore_area_edit_button {
    position:absolute;
    width:25px;
    height:25px;
    right:5px;
    top:5px;
}

.pimcore_areablock_toolbar .x-btn-mc {
    text-align: left;
}

/*
    this fixes problem when the default background of the browser is not white
    http://www.pimcore.org/issues/browse/PIMCORE-1208
*/
.x-form-field {
    color: #000000;
}

.pimcore_tag_video {
    position: relative;
}

.pimcore_video_edit_button {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 22px;
    height: 22px;
    z-index: 10;
}

.pimcore_tag_wysiwyg strong {
    font-weight: bold;
}

.pimcore_tag_wysiwyg em {
    font-style: italic;
}

.cke-code-editor textarea {
    font-family: "courier new", courier !important;
}


.pimcore_image_marker {
    background: url(/pimcore/static/img/icon/marker.png);
    width: 20px;
    height: 35px;
    cursor: pointer;
    position: absolute;
}

.pimcore_image_hotspot {
    cursor: pointer;
    position: absolute;
    background: rgba(0, 255, 0, 0.5);
}

.pimcore_pdf_hotspot {
    background: rgba(0, 255, 0, 0.5);
}

.pimcore_droptarget_input  {
	background: url(/pimcore/static/img/icon/drop-16.png) right 2px no-repeat #fff !important;
	cursor: default;
}

/* FF >= 10 fix for menu seperator in ExtJS */
.x-menu-sep {
    height: 1px;
}
