/*	
 Copyright 2015 Adobe Systems Incorporated.  All rights reserved. 

Purpose- 
CSS for Image/Text Hud
*/

/* To include theme level css changes */
@import 'theme.css';

html,body
{
  height: 100%;
  width:100%;
  padding: 0px;
  margin: 0px;
}
body
{
    background-color:transparent;
    pointer-events:none;
}

/*Whole Image/Text Hud Container CSS*/
dw-div.dw_liveedit_HTMLPIWrapper
{
	position:absolute;
	padding-left:2px;
	padding-right:2px;
	padding-top : 5px;
	border: 1px solid #2D8CEB;
	padding-bottom: 10px;
	cursor: move;
    pointer-events: auto;
}

/* CSS For drawing arrow on one of the sides of the HUD*/
dw-div.dw_liveedit_HTMLPIWrapperLeft
{
	box-shadow: -3px 2px 4px rgba(73, 73, 73, 0.3);
}

dw-div.dw_liveedit_HTMLPIWrapperLeft:after, dw-div.dw_liveedit_HTMLPIWrapperLeft:before {
	left: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

dw-div.dw_liveedit_HTMLPIWrapperLeft:after {
	border-color: rgba(255, 255, 255, 0);
	border-left-color: #fff;
	border-width: 8px;
	margin-top: -8px;
}
dw-div.dw_liveedit_HTMLPIWrapperLeft:before {
	border-color: rgba(0, 0, 0, 0);	
	border-width: 10px;
	margin-top: -10px;
}

dw-div.dw_liveedit_HTMLPIWrapperRight
{
	box-shadow: 3px 2px 4px rgba(73, 73, 73, 0.3);
}

dw-div.dw_liveedit_HTMLPIWrapperRight:after, dw-div.dw_liveedit_HTMLPIWrapperRight:before {
	right: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

dw-div.dw_liveedit_HTMLPIWrapperRight:after {
	border-color: rgba(255, 255, 255, 0);
	border-right-color: #fff;
	border-width: 8px;
	margin-top: -8px;
}
dw-div.dw_liveedit_HTMLPIWrapperRight:before {
	border-color: rgba(0, 0, 0, 0);
	border-width: 10px;
	margin-top: -10px;
}

dw-div.dw_liveedit_HTMLPIWrapperTop
{
	box-shadow: 0px -1px 4px 2px rgba(73, 73, 73, 0.3);
}

dw-div.dw_liveedit_HTMLPIWrapperTop:after, dw-div.dw_liveedit_HTMLPIWrapperTop:before {
	top: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

dw-div.dw_liveedit_HTMLPIWrapperTop:after {
	border-color: rgba(255, 255, 255, 0);
	border-top-color: #fff;
	border-width: 8px;
	margin-left: -8px;
}
dw-div.dw_liveedit_HTMLPIWrapperTop:before {
	border-color: rgba(0, 0, 0, 0);
	border-width: 10px;
	margin-left: -10px;
}

dw-div.dw_liveedit_HTMLPIWrapperBottom
{
	box-shadow:0px 1px 4px 2px rgba(73, 73, 73, 0.3);
}

dw-div.dw_liveedit_HTMLPIWrapperBottom:after, dw-div.dw_liveedit_HTMLPIWrapperBottom:before {
	bottom: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

dw-div.dw_liveedit_HTMLPIWrapperBottom:after {
	border-color: rgba(255, 255, 255, 0);
	border-bottom-color: #fff;
	border-width: 8px;
	margin-left: -8px;
}
dw-div.dw_liveedit_HTMLPIWrapperBottom:before {
	border-color: rgba(0, 0, 0, 0);
	border-width: 10px;
	margin-left: -10px;
}

/*	CSS For Each of Hud Group*/
dw-div.dw_liveedit_HTMLPI_group
{
	display:table-row;
	width:185px;
}

/*	CSS For Each of Hud Row*/
dw-div.dw_liveedit_HTMLPI_row
{
	display:block;
	width:210px;
	height: 22px;
	padding-bottom:1px;
    padding-right:6px;
    padding-left:8px;
    margin-top: 6px;
}

/* Applying Greyed */
dw-div.dw_liveedit_grey_border
{
    border-color: #AAAAAA !important;
}

.dwLeLessTopMargin
{
    margin-top: 2px !important;
}

/* 	For Labels */
label.dw_liveedit_HTMLPI_labelClass
{
	text-align: left;
	float:left;
	padding-top:4px;
	width: 44px;
}

/* CSS For Input boxes */
input.dw_liveedit_HTMLPI_inputClass
{
	width	:140px;
	margin-top : 2px;
	padding-left:4px;
    padding-bottom:3px;
	display : inline;
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* CSS For Input Image Buttons */
img.dw_liveedit_HTMLPI_inputbtnClass
{
	padding-left: 5px;
    padding-right: 3px;
	vertical-align:middle;
/*	-webkit-user-select: none;*/
}

/* CSS for Input Checkbox */
coral-checkbox.dw_liveedit_HTMLPI_inputCheckboxClass
{
    margin-left: 0px;
    width : 149px;
}

coral-checkbox.dw_liveedit_HTMLPI_inputCheckboxClass:after
{
    content: attr(name);
    margin: -3px 25px;
    vertical-align:bottom;
    white-space:nowrap;
    display:inline;
}

img:focus 
{
    outline-style : solid;
    outline-width : 1px;
}

/*	For each of the subrow (for width and height)*/
dw-div.dw_liveedit_HTMLPI_subrow
{
	display: inline;
}

input.dw_liveedit_HTMLPI_input_Width_Height
{
	width	: 40px;
    min-width : 20px;
}

input.coral-Textfield {
    text-indent: 2px !important;
}

/*  For text formatting buttons like Bold, Italic and Indents */
img.dw_liveedit_HTMLPI_inputbtnClass2_normal
{
	float:left;
	-webkit-user-select: none ;
	user-select: none ;
    margin-right: 6px;
}

#dwLeTextIndentRtBtn
{
    margin-left: 14px;
}
.dwLeDisabled
{
    opacity: 0.5;
}
.dwLeLessTopMargin
{
    margin-top: 2px !important;
}

/* Common for both subrows and Rows*/
label.dw_liveedit_HTMLPI_labelClass:after {
	float:right;
	padding-right:6px;
	padding-left:4px;
}

/* CSS For DropDown*/
coral-select.dw_liveedit_HTMLPI_dropdownClass
{
	width	:140px;
	margin-top : 2px;
	height	:18px;
}

coral-select.dw_liveedit_HTMLPI_dropdown_smallClass
{   
	width	:70px;
	margin-top : 2px;
	height	:18px;
}

/* CSS for NonEditable Case */
/* input css for NonEditable case */
input.dw_liveedit_HTMLPINonEditable
{
	margin-top : 3px;
	padding-left:3px;
}

/* Dropdown css for NonEditable case */
coral-select.dw_liveedit_HTMLPI_donotShow
{
    outline:0px;
	margin-top :1px;
	-webkit-appearance: none;	
}

/* Utility CSS*/
/*	Used For Dragging*/
.dw_liveedit_HTMLPI_unselectable
{
    -webkit-user-select: none;
}

/* CSS for Clip to shape for Bootstrap */
label.dw_liveedit_HTMLPI_ClipToShapeLabel
{
    width: 75px;
}

dw-div.dw_liveedit_HTMLPI_clipToShape
{
    cursor: default;
    width: 155px;
    display: block;
}

dw-div.dw_liveedit_HTMLPI_clipToShape input
{
    margin: 0px 5px;
    padding-right:0px;
}

img.dw_liveedit_HTMLPI_clipToShape_InputRadioBtn
{
    padding-left: 1px;
    padding-right: 1px;
    padding-top: 3px;
    padding-bottom: 3px;
}

label.dw_liveedit_HTMLPI_GroupHeaderLabel
{
    letter-spacing: 1.5px;
}

dw-div.dw_liveedit_HTMLPI_WHGroup
{
    vertical-align:top;
    display:table-row;
	height: 40px;   
}

dw-div.dw_liveedit_HTMLPI_WH_Aspect
{
    vertical-align:top;
    display: table-cell;
    margin-top: 0px;
    width: 84px;
    padding-right:3px;
}

dw-div.dw_liveedit_HTMLPI_AspectRatio
{
    display:block;
	vertical-align:middle;
    padding-top:5px;
}

/* CSS for Radio Group for Bootstrap */
label.dw_liveedit_HTMLPI_RadioImageButtonLabel
{
    width: 60px;
}

dw-div.dw_liveedit_HTMLPI_RadioImageButton
{
    cursor: default;
    width: 175px;
    display: block;
}

img.dw_liveedit_HTMLPI_AspectRatioImageSize
{
    margin-top: -4px;
    width:15px;
    height:15px;
    margin-left: 3px;
}

img.dw_liveedit_HTMLPI_AspectRatioTopLine, img.dw_liveedit_HTMLPI_AspectRatioBottomLine
{
    width: 10px;
    height: 10px;
    padding-top: 10px;
    margin-left: 3px;
}

img.dw_liveedit_HTMLPI_AspectRatioBottomLine
{
    padding-top: 0px;
    margin-top: -6px;
}

dw-div.dw_liveedit_HTMLPI_RadioImageButton img
{
    margin: 0px 5px;
    padding-right:0px;
    padding-top: 1px;
}

img.dw_liveedit_HTMLPI_RadioImageButton_InputRadioBtn
{
    padding-left:0px;
}

label.dw_liveedit_HTMLPI_GroupHeaderLabel
{
    letter-spacing: 1.5px;
}

img.dw_liveedit_HTMLPI_ClipToShape_ClickOutlineNone
{
    outline: none;
}

img.dw_liveedit_HTMLPI_RadioImageButton_ClickOutlineNone
{
    outline: none;
}

input[type="text"]:focus::-webkit-input-placeholder {
    opacity: 0;
}

input[readonly], input[readonly]:hover
{
    pointer-events: none;
    opacity: 0.4;
}

dw-div.dw_liveedit_HTMLPI_textstyle_row
{
    cursor: default;
    width:140px;
    height:25px;
    margin-top: 8px;
    margin-left:54px;
    display:block;
}

input[readonly], input[readonly]:hover
{
    pointer-events: none;
    opacity: 0.4;
}

img.dw_liveeditShapeDiv {
    margin-right : 8px;
}

hr {
    border: 1px solid transparent;
}