.fr-toolbar .fr-command.fr-btn[data-cmd="cmsBlockTemplate"] {
	width: auto;
	padding-right: 10px;
}
.fr-toolbar .fr-command.fr-btn[data-cmd="cmsBlockTemplate"] span.fr-sr-only {
	position: relative;
    display: inline;
    float: none;
}
.fr-toolbar .fr-command.fr-btn[data-cmd="cmsBlockTemplate"] i {
	display: inline-block;
}

.bt-panel {
	display: none;
	position: fixed;
    right: 0;
    top: 0;
	width: 300px;
	background-color: #fff;
	border-left: 1px solid #e5e5e5;
	height: 100vh;
	z-index: 100;
	box-shadow: -3px -1px 4px 0 rgba(0, 0, 0, .11);
}

.bt-panel.bt-active {
	display: flex;
	flex-direction: column;
}

.bt-panel-header {
    border-bottom: 1px solid #eee;
    box-sizing: border-box;
	padding: 12px 0 12px 20px;
}

.bt-panel-title {
	font-size: 16px;
}

.bt-panel-header .btn-undo {
	position: absolute;
    left: 105px;
    top: 10px;
    border: 1px solid #ff5959;
    padding: 3px 14px;
    border-radius: 4px;
    color: #891111;
    display: none;
    font-size: 13px;
}

.bt-panel-header .btn-undo.active {
	display: inline-block;
}


.bt-close-button {
    position: absolute;
    right: 15px;
    top: 8px;
    font-size: 24px;
    color: #818181;
}

.bt-panel-scroll {
	overflow-y: scroll;
	padding-left: 15px;
    background-color: #fbfbfb;
    padding-top: 8px;
}

.bt-tmp-item {
	margin-bottom: 8px;
    font-size: 0;
}

.bt-tmp-link {

    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    padding: 15px;
    outline: none;
    display: flex;
    position: relative;
    background-color: #fff;
    border: 1px solid hsla(0, 0%, 80%, .5);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .08);
    font-size: 0;
    text-decoration: none;
    box-sizing: border-box;

    cursor: pointer;

}

.bt-tmp-link img { width: 228px; }

.bt-tmp-link::after {
    content: "";
    position: absolute;
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    visibility: hidden;
    -webkit-box-shadow: inset 0 0 0 1px hsla(0, 0%, 100%, 0);
    box-shadow: inset 0 0 0 1px hsla(0, 0%, 100%, 0);
    -webkit-transition: visibility 0s 1s, -webkit-box-shadow 1s cubic-bezier(.19,1,.22,1);
    transition: visibility 0s 1s, -webkit-box-shadow 1s cubic-bezier(.19,1,.22,1);
    transition: visibility 0s 1s, box-shadow 1s cubic-bezier(.19,1,.22,1);
    transition: visibility 0s 1s, box-shadow 1s cubic-bezier(.19,1,.22,1), -webkit-box-shadow 1s cubic-bezier(.19,1,.22,1);
}


.bt-tmp-item:hover .bt-tmp-link::after {

	visibility: visible;
    -webkit-box-shadow: inset 0 0 0 3px #00c73c;
    box-shadow: inset 0 0 0 3px #00c73c;
    -webkit-transition-delay: .2s;
    transition-delay: .2s;
}



.popover {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1060;
  display: none;
  padding: 1px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: normal;
  line-height: 1.42857143;
  text-align: left;
  text-align: start;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  word-break: normal;
  word-spacing: normal;
  word-wrap: normal;
  white-space: normal;
  background-color: #fff;
  -webkit-background-clip: padding-box;
          background-clip: padding-box;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 6px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
          box-shadow: 0 5px 10px rgba(0, 0, 0, .2);

  line-break: auto;
}


body.froala-editing .popover.froala {
	position: fixed;
	top: 0.2rem !important;
}

.popover.top {
  margin-top: -10px;
}
.popover.right {
  margin-left: 10px;
}
.popover.bottom {
  margin-top: 10px;
}
.popover.left {
  margin-left: -10px;
}
.popover-title {
  padding: 8px 14px;
  margin: 0;
  font-size: 14px;
  background-color: #f7f7f7;
  border-bottom: 1px solid #ebebeb;
  border-radius: 5px 5px 0 0;
}
.popover-content {
  padding: 9px 14px;
}
.popover > .arrow,
.popover > .arrow:after {
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}
.popover > .arrow {
  border-width: 11px;
}
.popover > .arrow:after {
  content: "";
  border-width: 10px;
}
.popover.top > .arrow {
  bottom: -11px;
  left: 50%;
  margin-left: -11px;
  border-top-color: #999;
  border-top-color: rgba(0, 0, 0, .25);
  border-bottom-width: 0;
}
.popover.top > .arrow:after {
  bottom: 1px;
  margin-left: -10px;
  content: " ";
  border-top-color: #fff;
  border-bottom-width: 0;
}
.popover.right > .arrow {
  top: 50%;
  left: -11px;
  margin-top: -11px;
  border-right-color: #999;
  border-right-color: rgba(0, 0, 0, .25);
  border-left-width: 0;
}
.popover.right > .arrow:after {
  bottom: -10px;
  left: 1px;
  content: " ";
  border-right-color: #fff;
  border-left-width: 0;
}
.popover.bottom > .arrow {
  top: -11px;
  left: 50%;
  margin-left: -11px;
  border-top-width: 0;
  border-bottom-color: #999;
  border-bottom-color: rgba(0, 0, 0, .25);
}
.popover.bottom > .arrow:after {
  top: 1px;
  margin-left: -10px;
  content: " ";
  border-top-width: 0;
  border-bottom-color: #fff;
}
.popover.left > .arrow {
  top: 50%;
  right: -11px;
  margin-top: -11px;
  border-right-width: 0;
  border-left-color: #999;
  border-left-color: rgba(0, 0, 0, .25);
}
.popover.left > .arrow:after {
  right: 1px;
  bottom: -10px;
  content: " ";
  border-right-width: 0;
  border-left-color: #fff;
}

body.froala-editing .arrow {
	display:none;
}