/* Core styling */

.design_off_button:hover {
  text-decoration: none;
  color: #FFFFFF;
}

.design_on_button:hover {
    text-decoration: none;
    color: #FFFFFF;
}

.design_button_container {
  position: relative;
  vertical-align: top;
  width: 107px;
}

.design_background {
  text-shadow: 0 0 2px #666666 /*@dark_grey*/;
  display: inline-block;
  padding-top: 11px;
  text-align: center;
  cursor: pointer;
  position: relative;
  vertical-align: top;
}

.design_border {
  text-shadow: 0 0 2px #666666 /*@dark_grey*/;
  display: inline-block;
  padding-top: 11px;
  text-align: center;
  cursor: pointer;
  position: relative;
  vertical-align: top;
}

.design_grid_container {
  top: 10px;
  position: relative;
  vertical-align: top;
  border: red 1px solid;
  height: 36px;
}

.design_grid {
  text-shadow: 0 0 2px #666666 /*@dark_grey*/;
  display: inline-block;
  padding-top: 11px;
  text-align: center;
  cursor: pointer;
  position: relative;
  height: 44px;
  width: 107px;
  vertical-align: top;
}

.design_grid_on {
  display: inline-block;
  width: 74px;
  height: 36px;
  background-image: url(../../../img/webcomponents/layout/toggleOn.png);
}

.design_grid_off {
  display: none;
  visibility: hidden;
  width: 74px;
  height: 36px;
  background-image: url(../../../img/webcomponents/layout/toggleOff.png);
}

.design_save_defaults {
  text-shadow: 0 0 2px #666666 /*@dark_grey*/;
  display: none;
  padding-top: 11px;
  text-align: center;
  cursor: pointer;
  position: relative;
  vertical-align: top;
}

.design_delete {
  color: white;
  text-shadow: 0 0 2px #666666 /*@dark_grey*/;
  display: inline-block;
  padding-top: 46px;
  text-align: center;
  position: absolute;
  height: 108px;
  width: 108px;
  vertical-align: top;
  background-image: url(../../../img/webcomponents/layout/delete.png);
}

.design_delete_grab {
  color: white;
  text-shadow: 0 0 2px #666666 /*@dark_grey*/;
  display: inline-block;
  padding-top: 46px;
  text-align: center;
  cursor: auto;
  position: absolute;
  height: 108px;
  width: 108px;
  vertical-align: top;
  background-image: url(../../../img/webcomponents/layout/deleteGrab.png);
}

.design_delete_open {
  color: white;
  text-shadow: 0 0 2px #666666 /*@dark_grey*/;
  display: inline-block;
  padding-top: 46px;
  text-align: center;
  cursor: pointer;
  position: absolute;
  height: 108px;
  width: 108px;
  vertical-align: top;
  background-image: url(../../../img/webcomponents/layout/deleteOpen.png);
}

.design_bg_container {
  width: 568px;
  height: 370px;
  left: 140px;
  top: 40px;
  z-index: 1020;
  background-size: cover;
  position: absolute;
  border: rgb(255, 255, 255) 1px solid;
  border-radius: 15px;
}

.design_bg_container_behind {
  width: 568px;
  height: 370px;
  left: 140px;
  top: 40px;
  background-color: white;
  z-index: 1019;
  position: absolute;
  border: rgb(255, 255, 255) 1px solid;
  border-radius: 15px;
}


.design_bg_opacity_label {
  text-shadow: 0 0 2px #666666 /*@dark_grey*/;
  display: inline-block;
  text-align: center;
  position: absolute;
  right: 134px;
  top: 10px;
  color: #666666;
}

.design_bg_opacity_slider_plus {
  display: inline-block;
  width: 31px;
  height: 31px;
  background-image: url(../../../img/webcomponents/layout/plus.png);
  margin-left: 2px;
  position: absolute;
  right: 138px;
  top: 32px;
}

.design_bg_opacity_slider_minus {
  display: inline-block;
  width: 31px;
  height: 31px;
  background-image: url(../../../img/webcomponents/layout/minus.png);
  margin-left: 2px;
  position: absolute;
  right: 138px;
  top: 153px;
}

.design_bg_opacity_slider_line {
  display: inline-block;
  width: 31px;
  height: 100px;
  background-image: url(../../../img/webcomponents/layout/bar.png);
  margin-left: 2px;
  position: absolute;
  right: 140px;
  top: 57px;
}

.design_bg_opacity_slider_button {
  display: inline-block;
  width: 31px;
  height: 23px;
  background-image: url(../../../img/webcomponents/layout/slider.png);
}


.design_bg_dialog .btn, .design_border_dialog .btn {
    display: inline-block;
    text-align: center;
    cursor: pointer;
    right: 10px;
}
.design_bg_swatch_holder {
  width: 300px;
  height: 300px;
  position: absolute;
  bottom: 10px;
  left:10px;
  float: right;
  vertical-align: bottom;
  margin: 10px;
}

.design_bg_swatch {
  width: 20px;
  height: 20px;
  display: inline-block;
  position: absolute;
  margin: 2px;
  cursor: pointer;
}

.design_border_dialog {
  width: 580px;
  height: 320px;
  left: 190px;
  top: 65px;
  z-index: 1020;
  position: absolute;
  border: rgb(255, 255, 255) 1px solid;
  background: url(../../../img/webcomponents/layout/controls_background.png) repeat;
  box-shadow: 0 0 10px 2px rgb(150,150,150);
}

.design_border_clips_holder {
  width: 436px;
  height: 215px;
  left: 10px;
  top: 10px;
  z-index: 1021;
  position: absolute;
}

.design_border_swatch_holder {
  width: 300px;
  height: 300px;
  position: absolute;
  bottom: 0;
  left: 0;
  float: right;
  vertical-align: bottom;
  margin: 10px;
}

.design_border_swatch {
  width: 20px;
  height: 20px;
  display: inline-block;
  position: absolute;
  margin: 2px;
  cursor: pointer;
}

.design_border_swatch_preview {
  top: 276px;
  right: 125px;
  width: 30px;
  height: 30px;
  display: inline-block;
  position: absolute;
  margin: 2px;
  cursor: pointer;
  background-color: grey;
  background-size: cover;
  border: rgb(255, 255, 255) 1px solid;
}

.design_border_clips_bg {
  float: left;
  width: 100px;
  height: 100px;
  display: inline-block;
}

.design_border_clip {
  width: 80px;
  height: 80px;
  margin: 10px;
}

.design_selected_border {
  border: #d3d3d3 solid 1px;
  padding-right: 1px;
  margin: 3px;
}

.design_deselected_border {
  padding: 1px 2px 1px 1px;
  margin: 3px;
}

/* Layout grid code */


.lg_grid_container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.lg_doccontent_global_style {
    position: relative;
    bottom: 35px;
    left: 150px;
    min-width:150px;
}

.labelText{
    padding-right:15px;
    padding-left:10px;
    text-align:left;
    color:#FFFFFF;
}

.lg_doccontent_cancel {
    text-shadow: 0 0 2px #666666 /*@dark_grey*/;
    display: inline-block;
    padding-top: 11px;
    text-align: center;
    cursor: pointer;
    position: relative;
    vertical-align: top;
    bottom: 45px;
    left: 15px;
    float: left;
}

.lg_doccontent_close {
    text-shadow: 0 0 2px #666666 /*@dark_grey*/;
    display: inline-block;
    padding-top: 11px;
    text-align: center;
    cursor: pointer;
    position: relative;
    vertical-align: top;
    bottom: 45px;
    right: 10px;
}

.lg_grid_preview_layer {
    z-index: 8 /*@lg_preview_z-index*/;
    position: absolute;
}

.lg_form_container {
    z-index: 1011 /*@lg_form_z-index*/;
    display: none;
    position: absolute;
    background-color: #FFFFFF;
    overflow-y: scroll;
}

.lg_form_container div.doc_content.panel > div.image_field {
    margin-left: 20px;
}

.lg_form .doccontent_panel {
    margin-top: 25px;
}

.lg_grid_preview_layer img {
    width: 100%;
    height: 100%;
}

.lg_origin_mask_layer {
    z-index: 9 /*@origin_mask_layer_z-index*/;
}

.lg_origin_mask {
    display: none;
    background-color: lightgreen;
    position: absolute;
}

.lg_library_item_holder {
    margin-left: 5px;
    position: absolute;
    top: 110px;
    bottom: 0;
}

.library_item_container {
    width: 110px;
    overflow: hidden;
    position: absolute;
    top: 0;
    bottom: 0;
}

#grid {
    width: 100%;
    height: 100%;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.subGrid {
    width: 100%;
    height: 100%;
    display: table!important;
    position: relative;
}

.lg_grid_on .lg_cell {
    border: 1px solid rgba(255, 255, 255, 1.0);
    border-right-color: rgba(214, 214, 214, 1.0);
    border-bottom-color: rgba(214, 214, 214, 1.0);
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
    -moz-opacity:0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
}

.libraryItem {
    margin-left: 15px;
    margin-right: 4px;
    white-space: nowrap;
    display: block;
    width: 70px;
    height: 75px;
    z-index: 11 /*@lg_draggable_library_item_z-index*/;
    text-align: center;
}

.libraryItem:last-child{
    margin-bottom: 10px;
}


.libraryPreview {
    margin-top: 5px;
    max-height: 70px;
    max-width: 70px;
    cursor: move; /* fallback if grab cursor is unsupported */
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

.cell-accept {
    background-color: #202020;
}

.libraryItemCaption {
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    overflow: hidden;
    width: 90%;
    color: black;
    font-size: 9pt;
    display: none;
}

.lg_draggable_grid_item {
    border: none;
    z-index: 11 /*@lg_dragging_z-index*/;
    opacity: 0.0;
    background-color: white; // We appear to require a background colour so that the item is clickable in IE
}

.lg_placed_grid_item {
    border: none;
    z-index: -3 /*@lg_dropped_z-index*/;
    position: absolute;
}


#container {
    position: relative;
}

#wrapper {
    position: relative;
}

#body {
    position: relative;
}

.libraryItemList {
    overflow-y: auto;
    height: 500px;
    text-align: left;
    padding: 4px;
}

.libraryItemSelectorHolder {
    margin-left: 4px;
    margin-right: 4px;
    margin-top: 8px;
    white-space: nowrap;
    width: 132px;
    display: inline-block;
}

.lg_drag_layer {
    position: absolute;
    z-index: 12 /*@lg_drag_layer_z-index*/;
}

.lg_drag_handle {
    background-image: url(../../../img/webcomponents/layout/dragHandle.png);
    background-size: cover;
    width: 10px;
    height: 10px;
    position: absolute;
    z-index: 13 /*@lg_drag_handles_z-index*/;
}

/* Layout grid style */

.lg_top {
    top: -5px;
}

.lg_left {
    left: -5px;
}

.lg_right {
    right: -5px;
}

.lg_bottom {
    bottom: -5px;
}

.lg_right_panel {
    display: inline-block;
    vertical-align: top;
}

.light_grey_background {
    background-color: #f0f0f0;
}

.black_border {
    border: 1px solid black;
}

.lg_grid_border {
    border: 1px solid #FFFFFF;
}

.lg_grid_item_style {
    background-color: #101010 /*@lg_dark_grey*/;
    opacity: 1.00;
}

.lg_grid_item_style p{
    color: white;
    top: 50%;
    position: absolute;
    transform: translate(0, -50%);
    text-align: center;
    width: 100%;
}

.lg_grid_item_style p.selected_text{
    display: none;
}

.lg_grid_item_style.lg_selectedItem p{
     display: none
}

.lg_grid_item_style.lg_selectedItem p.selected_text{
    display: initial;
}

.lg_resizing_grid_item {
    background-color: red /*@lg_resizing_grid_item_background*/;
}

.lg_moving_grid_item {
    background-color: red /*@lg_dragging_grid_item_background*/;
    opacity: 0.75;
}

.lg_grid_table {
    border: 1px solid black;
    margin-left: auto;
    margin-right: auto;
    z-index: 10;
}

.lg_form_container > div.lg_form {
    padding: 20px 6px 6px;
}

.lg_form_container > div.lg_form button:hover {
    color: red;
}

.lg_form_container > div.doc_content.frame {
    width: 605px;
    height: 341px;
    border: 1px solid black;
    overflow: hidden;
}

.lg_doccontent_global_style {
    display: none;
}


/* Library item selector */

.lis_images {
    top: 0; /*(@list_vertical_button_height * 0)*/;
}

.lis_text {
    top: 37px; /*(@list_vertical_button_height * 1)*/;
}

.lis_stamps {
    top: 74px; /*(@list_vertical_button_height * 2);*/
}

.lg_grid_wrapper {
    width: 674px;
    margin-left: 0;
    margin-right: 0;
}

/* Custom Changes 24/1/18 */

.navbar-fixed-bottom{
	border:none;
}

.eb-logo{
	margin-left:25px;
}

.eb-logo img{
	margin-top:20px;
	max-width:13%;
}

#add-material{
	font-family:var(--w2-font-family);
	font-weight:300;
	color:#333;
	font-size:var(--w2-font-size);
}

#add-material:hover{
	color: #333;
    border-bottom: 4px solid #333;
    background-repeat: repeat;
	border-radius:0;
	text-decoration:none;
}

#delete-material:active, #delete-material:link {
	background-color:#0079C4;
}

#delete-material:visited {
	background-color:#005386;
}

#delete-material:hover{
	background-color:#0068A9;
}

#download-material:link, #download-material:active {
	background-color:#0079C4;
}

#download-material:visited {
	background-color:#005386;
}

#downoad-material:hover{
	background-color:#0068A9;
}