div.ipe-actions {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

div.ipe-actions a {
  color: #000 !important;
}

.ipe-tab.active a, .ipe-tab a:hover {
  color: #039be5;
  border-bottom: 3px solid #039be5;
}

.ipe-tab-content {
  padding: 10px 0;
  border: none;
}

.ipe-layout-image {
  width: auto;
}

.ipe-category-picker-search {
  background: transparent;
  margin-top: -10px;
  padding: 0;
  border: none;
}

.ipe-category-picker-search input[type="text"], .ipe-category-picker-search input[type="search"] {
  margin: 0;
  border-radius: 0;
  text-align: center;
}

.ipe-category-picker-search .ipe-icon-search {
  display: none;
}

.ipe-category, .ipe-layout {
  padding: 14px;
  border: none;
  border-radius: 0;
  font-size: 14px;
  line-height: 14px;
}

.ipe-category.ipe-create-category, .ipe-create-category.ipe-layout {
  background: #039be5;
  padding: 16px 12px 17px;
}

.ipe-category .ipe-category-count, .ipe-layout .ipe-category-count {
  background: #424242;
}

.ipe-category:hover, .ipe-layout:hover {
  background: #eeeeee;
  color: #212121;
}

.ipe-category.active, .active.ipe-layout {
  background: #FFF;
  color: #000;
}

.ipe-category.active .ipe-category-count, .active.ipe-layout .ipe-category-count {
  background: #039be5;
}

#panels-ipe-tray .ipe-category, #panels-ipe-tray .ipe-layout {
  margin-right: 0;
}

.ipe-layout {
  width: 150px;
  margin-top: 10px;
}

.ipe-layout .ipe-layout-label {
  font-size: 12px;
  line-height: 14px;
  text-align: center;
  color: #424242;
}

.ipe-layout .ipe-current-layout-label {
  background: transparent;
  border: 1px solid #039be5;
  color: #039be5;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.ipe-layout:hover {
  background-color: #f5f5f5;
}

.ipe-blockpicker-item a {
  background: transparent;
  border: 1px solid #e0e0e0;
}

.ipe-blockpicker-item a:hover {
  color: #039be5;
  border: 1px solid #039be5;
}

.ipe-blockpicker-item a:hover h5 {
  color: #039be5;
}

.ipe-category-picker-top.active {
  padding-top: 0;
}

.ipe-category-picker-bottom {
  background: #000;
  color: #FFF;
  padding: 0;
  min-height: 40px;
}

.ipe-category-picker-bottom.top-open {
  border: none;
}

.ipe-category-picker-bottom a {
  color: #FFF;
}
.sidr {
  display: block;
  position: fixed;
  top: 0;
  height: 100%;
  padding: 0;
  z-index: 999999;
  width: 330px;
  overflow-x: hidden;
  overflow-y: auto;
  font-size: 0.9rem;
  background: #FFF;
  color: #263238;
  -webkit-box-shadow: 5px 0 10px 0 rgba(38, 50, 56, 0.3) inset;
          box-shadow: 5px 0 10px 0 rgba(38, 50, 56, 0.3) inset;
}

@media (min-width: 992px) {
  .sidr {
    width: 400px;
  }
}

.sidr.right {
  left: auto;
  right: -330px;
}

@media (min-width: 992px) {
  .sidr.right {
    width: -400px;
    right: -400px;
  }
}

.sidr.left {
  left: -330px;
  right: auto;
}

@media (min-width: 992px) {
  .sidr.left {
    width: -400px;
    left: -400px;
  }
}

.sidr .block {
  padding: 1rem;
  border-bottom: 1px solid #eceff1;
}

.sidr .block:last-child {
  border-bottom: none;
}

@media (min-width: 992px) {
  .sidr .block {
    padding: 2rem;
  }
}

.sidr .block .block-title {
  font-size: .8rem;
  font-weight: bold;
  text-transform: uppercase;
}

.sidr .block .block-title:first-letter {
  margin-right: 0;
  font-size: 1rem;
  line-height: inherit;
}

.sidr ul.menu {
  padding-left: 0;
  list-style: none;
  background: #FFF;
  margin: 0;
  padding: 0;
}

.sidr ul.menu a {
  display: block;
  padding: .888rem 1.1rem;
  border-bottom: 1px solid rgba(38, 50, 56, 0.2);
  color: #263238;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
  cursor: pointer;
}

.sidr ul.menu a:hover {
  color: #000;
}

.sidr ul.menu li:last-child a {
  border-bottom: none;
}

.sidr ul.menu li.menu-item--expanded > a:before {
  display: inline-block;
  width: 0;
  height: 0;
  vertical-align: top;
  content: "";
  border-top: 4px solid #263238;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  position: absolute;
  right: 20px;
  top: 50%;
}

.sidr ul.menu li.menu-item--expanded.active {
  background-color: #fafafa;
}

.sidr ul.menu li.menu-item--expanded ul {
  background: #FFF;
}

.sidr ul.menu li.menu-item--expanded ul li.menu-item--expanded > a:before,
.sidr ul.menu li.menu-item--expanded ul li.menu-item--expanded > .nolink:before {
  color: #263238;
}

.sidr ul.menu li.menu-item--expanded ul a {
  padding: 10px 20px 10px 1.4rem;
  border-bottom: 1px solid rgba(38, 50, 56, 0.2);
  color: #263238;
  font-size: .778rem;
  font-weight: normal;
  text-transform: none;
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
}

.sidr ul.menu li.menu-item--expanded ul a:hover {
  color: #90a4ae;
}

.sidr ul.menu li.menu-item--expanded ul li.menu-item--expanded ul a {
  color: #263238;
  padding-left: 60px;
}

.sidr ul.menu li.menu-item--expanded > ul {
  max-height: 0;
  overflow-y: hidden;
  -webkit-transition: max-height .5s ease-in-out;
  transition: max-height .5s ease-in-out;
}

.sidr ul.menu li.menu-item--expanded > ul.open {
  max-height: 800px;
}

.offcanvas-sidebar-overlay {
  background: #000;
  opacity: 0;
  -webkit-transition: opacity 1s ease;
  transition: opacity 1s ease;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 100%;
  z-index: 100;
}

.offcanvas-sidebar-overlay.active {
  right: 0;
  opacity: .2;
}
