/*New Stuff*/
a[data-link-editable="true"]:empty:after {
    content: "Type Your Text Here";
    color: #357ebd;
    padding: inherit;
    margin: inherit;
    font-style: italic;
    white-space: pre;
}

.icons-selector i {
    line-height: 40px !important;
    font-size: 18px !important;
    margin: 0 !important;
    color: #333 !important;
    font-family: 'FontAwesome' !important;
    position: static !important;
    height: auto !important;
    width: auto !important;
    border-radius: 0 !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    border: none !important;
}

.icons-selector i:before {
    display: inline !important;
    text-align: left !important;
    width: auto !important;
    margin: 0 !important;
}

.popover {
    color: #333 !important;
    max-width: 500px;
    min-width: 400px;
    direction: ltr;
    z-index: 999999;
}

.popover .select-image,
.popover .edit-image  {
    border: none;
    cursor: pointer;
}

.popover .edit-image {
    background-color: #5bc0de;
}

.popover .edit-image:hover {
    background-color: #31b0d5;
}

.popover-title {
    overflow: hidden;
    line-height: 38px;
}

.popover-title .action-wrapper {
    float: right;
}

.popover-title .close {
    opacity: 1 !important;
    font-size: 16px !important;
    line-height: inherit !important;
    background-color: #d9534f !important;
    color: #fff !important;
    height: 38px !important;
    width: 38px !important;
    text-align: center !important;
    margin: 0 0 0 3px !important;
    cursor: pointer !important;
    transition: .2s background !important;
    font-family: 'FontAwesome' !important;
    position: static !important;
    border-radius: 4px !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    border: none !important;
    font-weight: 400 !important;
}

.popover-title .close:before {
    display: inline !important;
    text-align: left !important;
    width: auto !important;
    margin: 0 !important;
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    height: auto !important;
    width: auto !important;
}

.popover-title .close:hover {
    background-color: #c9302c !important;
}

.popover-title .save {
    font-size: 16px !important;
    line-height: inherit !important;
    background-color: #5cb85c !important;
    color: #fff !important;
    height: 38px !important;
    width: 38px !important;
    text-align: center !important;
    margin: 0 0 0 10px !important;
    cursor: pointer !important;
    transition: .2s background !important;
    font-family: 'FontAwesome' !important;
    position: static !important;
    border-radius: 4px !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    border: none !important;
    font-weight: 400 !important;
}

.popover-title .save:before {
    display: inline !important;
    text-align: left !important;
    width: auto !important;
    margin: 0 !important;
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    height: auto !important;
    width: auto !important;
}

.popover-title .save:hover {
    background-color: #449d44 !important;
}

.icons-selector .selector-search i {
    position: absolute !important;
    right: 10px !important;
    top: 0 !important;
}

.popover .input-group {
    margin-bottom: 10px;
}

.popover.link-hover {
    background-color: #428bca;
    color: #FFF !important;
}

.popover.link-hover .arrow:after {
    border-top-color: #428bca;
}

.popover .font-weights,
.popover .font-sizes,
.popover .font-families {
    font-size: 24px;
    height: 48px;
}

.slideshow-editor {
    background-color: #333;
    width: 100%;
    position: fixed;
    left: 0;
    right: 0;
    padding-left: 300px;
    height: 0 !important;
    transition: height .35s ease;
    z-index: 998;
    color: #fff;
    overflow-y: auto;
}

body.editor-open.slideshow-open .slideshow-editor.in {
    height: 100% !important;
}
/*
.slideshow-editor-inner {
    height: 100%;
}
*/

body .inline-editor {
    left: -300px;
    transition: .8s left;
    height: 100%;
    width: 300px;
    background-color: #3594D4;
    position: fixed;
    color: #fff;
    z-index: 999999;
}

body {
    transition: .8s margin;
}

body.editor-open {
    margin-left: 300px;
}

body.editor-open.slideshow-open {
    margin-left: 100%;
    overflow: hidden;
}

body.editor-open .inline-editor {
    left: 0;
}

.inline-editor .editor-buttons {
    margin-left: 300px;
    margin-bottom: -100px;
}

.inline-editor .editor-buttons button {
    width: 50px;
    height: 50px;
    padding: 0 0 5px 0;
    border: none;
    outline: none;
    border-radius: 0;
}

.inline-editor .editor-buttons .toggle-editor {
    background: #fff;
}

.inline-editor .editor-buttons .save-editor {
    transition: .2s background;
    font-size: 24px;
    background-color: #337ab7;
    color: #fff;
}

.inline-editor .editor-buttons .save-editor:hover {
    background-color: #286090;
}

.inline-editor-title {
    padding: 20px 25px;
    border-bottom: 1px solid;
    font-size: 18px;
    cursor: pointer;
}

.inline-editor-title i {
    margin-right: 10px;
    width: 15px;
}

.inline-editor-block-options .inline-editor-title {
    background-color: orange;
    padding-left: 40px;
}

.inline-editor-block-options .color-group .input-group-addon, 
.inline-editor-block-options .background-group .input-group-addon,
.inline-editor-block-options .text-group .input-group-addon {
    padding-left: 40px;
}

.color-group .input-group-addon,
.background-group .input-group-addon,
.checkbox-group .input-group-addon, 
.text-group .input-group-addon {
    padding: 20px 0 25px 20px;
    text-align: left;
    background: #fff;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #cdcdcd;
}

.color-group,
.background-group,
.checkbox-group,
.text-group {
    opacity: 1;
    transition: .8s opacity;
}

.color-group .input-group-addon,
.background-group .input-group-addon, 
.text-group .input-group-addon {
    width: 200px;
}

.checkbox-group .input-group-addon {
    width: 300px;
}


.color-group .form-control,
.background-group .form-control, 
.text-group .form-control {
    padding: 20px 0;
    height: 62px;
    width: 100px;
    text-align: center;
    border-right: none;
    border-top: none;
    border-left: 1px solid #cdcdcd;
    border-bottom: 1px solid #cdcdcd;
    outline: none;
    border-radius: 0;
}

.checkbox-group .form-control {
    width: 20px;
    height: 20px;
    margin-left: 0;
    right: 10px;
    top: 16px;
    border: none;
    outline: none;
    background: none;
    position: absolute;
    box-shadow: none;
}

.inline-editor-backgrounds,
.inline-editor-colors,
.inline-editor-options,
.inline-editor-block-options {
    background-color: #fff;
}

.background-group .form-control {
    background-size: cover;
    background-repeat: repeat-y;
    background-position: center;
    background-color: transparent;
    border-bottom: 1px solid #ccc;
}

.medium-color-picker {
    position: relative;
}

.medium-color-picker > div {
    position: absolute !important;
    top: 100% !important;
}

.clear-color {
    position: relative;
}

.clear-color .fa-stack-1x,
.clear-color .fa-stack-2x {
    top: 0;
    bottom: 0;
    margin: auto;
    max-width: 100%;
}

.clear-color .fa-stack-1x { 
    height: 16px;
}

.clear-color .fa-stack-2x { 
    height: 28px;
}

[data-module-id]:not(.tp-caption) {
    position: relative;
}

[data-module-id]:not(.tp-caption):hover .open-block-options {
    display: block;
}

.open-block-options {
    display: none;
}

.open-block-options:before {
    content: "\f013";
    font-family: 'FontAwesome';
    position: absolute;
    left: 5px;
    top: 0;
    font-size: 36px;
}
/*Left/Right Collapse*/

/*
.collapse {
  height: auto;
  width: auto;
}

.collapse.width {
  position: relative;
  width: 0;
  overflow: hidden;
  -webkit-transition: width 0.35s ease;
  -moz-transition: width 0.35s ease;
  -o-transition: width 0.35s ease;
  transition: width 0.35s ease;
}

.collapse.in.width {
  width: auto;
}
*/
/*Toggle Editor Button*/
.lines-button {
  display: inline-block;
  padding: 1.75rem 0.875rem;
  transition: .3s;
  cursor: pointer;
  user-select: none;
  border-radius: 0.5rem;
}
.lines-button:hover {
  opacity: 1;
}
.lines-button:active {
  transition: 0;
  background: rgba(0, 0, 0, 0.1);
}

.lines {
  display: inline-block;
  width: 3.5rem;
  height: 0.5rem;
  background: #333;
  border-radius: 0.25rem;
  transition: 0.3s;
  position: relative;
  /*create the upper and lower lines as pseudo-elements of the middle line*/
}
.lines:before, .lines:after {
  display: inline-block;
  width: 3.5rem;
  height: 0.5rem;
  background: #333;
  border-radius: 0.25rem;
  transition: 0.3s;
  position: absolute;
  left: 0;
  content: '';
  transform-origin: 0.25rem center;
}
.lines:before {
  top: 0.875rem;
}
.lines:after {
  top: -0.875rem;
}

/*
.lines-button:hover {
  opacity: 1;
}
.lines-button:hover .lines:before {
  top: 1rem;
}
.lines-button:hover .lines:after {
  top: -1rem;
}
*/
.lines-button.toggle-close  .lines:before, .lines-button.toggle-close  .lines:after {
  transform: none;
  width: 3.5rem;
  top: 0;
}

.lines-button .lines {
  transition: background .3s .6s ease;
}
.lines-button .lines:before, .lines-button .lines:after {
  transform-origin: 50% 50%;
  transition: top .3s .6s ease, transform .3s ease;
}

.lines-button.toggle-close .lines {
  transition: background .3s 0s ease;
  background: transparent;
}
.lines-button.toggle-close  .lines:before, .lines-button.toggle-close  .lines:after {
  transition: top .3s ease, transform .3s .5s ease;
  top: 0;
  width: 3.5rem;
}
.lines-button.toggle-close  .lines:before {
  transform: rotate3d(0, 0, 1, 45deg);
}
.lines-button.toggle-close  .lines:after {
  transform: rotate3d(0, 0, 1, -45deg);
}
/*Toggle Editor Button End*/

/*New Stuff End*/


/*

.edit-link-modal .input-group .form-control, .edit-static-caption-modal .input-group, .edit-image-modal .input-group {
    margin-bottom: 10px;
}

.edit-link-modal .input-group {
    margin: 0 auto;
}

.edit-slideshow-modal .input-group, .edit-featured-listing-modal .input-group {
    margin-bottom: 10px;
}

.grill-editor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    padding: 15px;
    max-width: 100%;
}

.grill-editor.opened {
    border: 1px solid #cdcdcd;
    background-color: #FFF;
    max-height: 100%;
    overflow-y: scroll;
}

.grill-editor tr > td {
    padding-top: 15px !important;
    font-weight: bold;
}

.grill-editor tr > td:first-child {
    padding-right: 15px;
}

.grill-editor .editor-icon {
    font-size: 50px;
    position: relative;
    width: 120px;
    height: 60px;
    text-align: center;
}

.grill-editor .editor-icon i {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    height: 50px;
    width: 40px;
    color: #333;
}

.grill-editor .btn-save {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    white-space: nowrap;
    font-size: 24px;
    font-weight: 300px;
    background-color: #008080;
    color: #fff;
    border: none;
}

.grill-editor .btn-save:hover {
    background-color: #006D6D;
}

.grill-editor .fa-times {
    opacity: 0;
}

.grill-editor textarea[name="custom_css"] {
    min-height: 300px;
    display: none;
}

.grill-editor table {
    display: block;
    height: 0px;
    overflow: hidden;
    width: 0px;
}

[data-image-editable="true"] {
    cursor: pointer;
}

[data-link-editable="true"] {
    cursor: pointer;
}

[data-slideshow-editable="true"] {
    cursor: pointer;
}

[data-icon-editable="true"] {
    cursor: pointer;
}

[data-background-image-editable="true"] {
    cursor: pointer;
}

.link-bubble {
    position: absolute;
    background: #428bca;
    color: #FFF;
    border-radius: 5px;
    padding: 15px;
    z-index: 9999;
    border: 1px solid #fff;
}

.link-bubble:hover {
    cursor: pointer;
}

.link-bubble:before {
    content: "";
    display: block;
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    margin: auto;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #428bca;
}

.grill-slideshow-1 > div > ul > li:first-child > img {
    visibility: visible;
}

.edit-icon-modal .fa:before {
    font-family: 'FontAwesome';
}

.edit-slideshow-modal .slideshow-webm-link-wrapper, .edit-slideshow-modal .slideshow-mp4-link-wrapper, .edit-slideshow-modal .slideshow-placeholder-wrapper {
    display: none;
}

.edit-slideshow-modal .slideshow-static-captions .close {
    margin-left: 5px;
}

.slideshow-static-captions-wrapper {
    margin-top: 30px;
}*/