.block-section,
.repeat-element,
.item-view {
    position: relative;
    user-select: none;
    background-size: cover !important;
    background-position: center !important;
}

.block-section.hover::before,
.block-section.active::before {
    content: " ";
    border: solid 3px blue;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    box-sizing: border-box;
}

.block-section .heading.hover,
.block-section .heading.active,
.block-section .text.hover,
.block-section .text.active,
.block-section .button.hover,
.block-section .button.active,
.block-section .icon.hover,
.block-section .icon.active {
    outline: solid 2px blue;
}

.repeat-element.hover::before,
.repeat-element.active::before {
  content: " ";
  border: solid 2px blue;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.repeat-element .heading,
.repeat-element .text,
.repeat-element .button,
.repeat-element .icon {
    outline: 0 !important;
}

.screenshot .block-section.hover::before,
.screenshot .block-section.active::before,
.screenshot .block-section .heading.hover,
.screenshot .block-section .heading.active,
.screenshot .block-section .text.hover,
.screenshot .block-section .text.active,
.screenshot .block-section .button.hover,
.screenshot .block-section .button.active,
.screenshot .block-section .icon.hover,
.screenshot .block-section .icon.active,
.screenshot .repeat-element.hover,
.screenshot .repeat-element.active  {
  border:0px;
  outline: 0px;
}

.all-sections {
    position: absolute;
    top: 0;
    left: 0;
    margin:130px 0 0 0;
    width: 100%;
    pointer-events: none;
}

.all-sections .block-area {
    float: left;
    width: 100%;
    background: rgba(0, 0, 0, 0);
    position: relative;
    border: solid 0px #333;
    box-sizing: border-box;

}

.all-sections .block-area .action-view {
    right: 15px;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 0 3px #333;
    background: #fff;
    padding: 5px;
    box-sizing: border-box;
    border-radius: 5px;
    position: sticky;
    float: right;
    /*top: 90px;*/
    top: 140px;
    margin: 15px 0 0 0;
}

.all-sections .block-area .add-section {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
}

.all-sections .block-area.hover .add-section {
  visibility: visible;
}

.all-sections .block-area .add-section button  {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: all;
}

.all-sections .block-area .add-section button:first-child {
  transform: translate(-50%, 50%);
  top: auto;
  bottom: 0;
}

.form-header,
.form-footer {
  display: none;
  position: fixed;
  right: 20px !important;
  bottom: 20px !important;
  top: auto;
  z-index: 1;
  width: 360px;
  overflow:hidden;
}

.edit-footer .form-footer,
.edit-header .form-header {
  display: block !important;
  top: 160px;
}
.edit-footer .all-sections,
.edit-header .all-sections {
  display:none;
}

.edit-footer .form-footer {
  top: auto;
  bottom: 160px;
}
.form-header .form-body,
.form-footer .form-body {
  height: 400px;
  overflow-y:auto;
}

.form-footer .w-15 {
  width: 15%;
}

.form-wrapper {
    display: none;
    position: absolute;
    pointer-events: all;
    background: #fff;
    width: 360px;
    height: 420px;
    border-radius: 10px;
    box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.2);
    right: 20px;
    top: 0;
    z-index: 2;
}
.form-wrapper.fixed {
    display: block !important;
    position: fixed;
    right: 20px !important;
    bottom: 40px !important;
    top: auto !important;
    left: auto !important;
    z-index: 1;
}


.background-select {
    background: url(../images/transparent.png)  center;
    width: 32px;
    height: 32px;
    border: solid 1px #ccc;
    float: right;
    cursor: pointer;
    position: relative;
}
.background-select .color-picker {
  width: 30px;
  height: 30px;
  border: solid 0px #ccc;
  float: right;
  cursor: pointer;
  background-size: contain;
  background-position: center top;
}

.background-select .btn-close {
  font-size:"10px";
  background:#000;
  color:#fff;
  border:0;
  border-radius:100%;
  width:12px; 
  height:12px;
  line-height: 12px;
  position: absolute;
  right: -6px;
  top: -6px;
  opacity: 1;
}

div[data-size='0'] {
    display: none !important;
}

.form-view .form-view .card-header .btn-close {
    display: none;
}

.form-view .btn-icon {
    font-size: 30px;
    width: 60px;
    height: 60px;
    line-height: 60px;
    padding: 0;
}

.icon-list .icon {
    width: 40px;
    height: 40px;
    line-height: 40px;
    float: left;
    font-size: 20px;
    text-align: center;
    border: solid 1px;
    margin: 5px;
}

.modal-view {
    background: rgba(0, 0, 0, 0.4) !important;
}

.notification {
    position: fixed;
    right: 10px;
    bottom: 10px;
    opacity: 0;
    transform: translate(0, 100%);
    transition: all 0.5s ease;
    z-index: 2;
  }
  
.notification.on {
    opacity: 1;
    transform: translate(0, 0);
}

.notification.hide {
    opacity: 0;
}
.login-wrapper{
    width: 380px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0px 15px 20px rgba(0,0,0,0.1);
    position: fixed;
    left: 50%;
    top: 50%;
    transform:translate(-50%, -50%);
  }
  .login-wrapper .title{
    font-size: 35px;
    font-weight: 600;
    text-align: center;
    line-height: 100px;
    color: #fff;
    user-select: none;
    border-radius: 15px 15px 0 0;
    background: linear-gradient(-135deg, #c850c0, #4158d0);
  }
  .login-wrapper .form{
    padding: 10px 30px 50px 30px;
  }
  .login-wrapper .form .field{
    height: 50px;
    width: 100%;
    margin-top: 20px;
    position: relative;
  }
  .login-wrapper .form .field input{
    height: 100%;
    width: 100%;
    outline: none;
    font-size: 17px;
    padding-left: 20px;
    border: 1px solid lightgrey;
    border-radius: 25px;
    transition: all 0.3s ease;
  }
  .login-wrapper .form .field input:focus,
  .login-wrapper .form .field input:valid{
    border-color: #4158d0;
  }
  .login-wrapper .form .field label{
    position: absolute;
    top: 50%;
    left: 20px;
    color: #999999;
    font-weight: 400;
    font-size: 17px;
    pointer-events: none;
    transform: translateY(-50%);
    transition: all 0.3s ease;
  }
  .login-wrapper .form .field input:focus ~ label,
  .login-wrapper .form .field input:valid ~ label{
    top: 0%;
    font-size: 16px;
    color: #4158d0;
    background: #fff;
    transform: translateY(-50%);
  }
  .login-wrapper .form .content{
    display: flex;
    width: 100%;
    height: 50px;
    font-size: 16px;
    align-items: center;
    justify-content: space-around;
  }
  .login-wrapper .form .content .checkbox{
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .login-wrapper .form .content input{
    width: 15px;
    height: 15px;
    background: red;
  }
  .login-wrapper .form .content label{
    color: #262626;
    user-select: none;
    padding-left: 5px;
  }
  .login-wrapper .form .content .pass-link{
    color: "";
  }
  .login-wrapper .form .field button {
    color: #fff;
    border: none;
    padding-left: 0;
    margin-top: -10px;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    background: linear-gradient(-135deg, #c850c0, #4158d0);
    transition: all 0.3s ease;
    width: 100%;
    line-height: 50px;
    border-radius: 30px;
  }
  .login-wrapper .form .field input[type="submit"]:active{
    transform: scale(0.95);
  }
  .login-wrapper .form .signup-link{
    color: #262626;
    margin-top: 20px;
    text-align: center;
  }
  .login-wrapper .form .pass-link a,
  .login-wrapper .form .signup-link a{
    color: #4158d0;
    text-decoration: none;
  }
  .login-wrapper .form .pass-link a:hover,
  .login-wrapper .form .signup-link a:hover{
    text-decoration: underline;
  }

  .preloader {
    float: left;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.4);
    position: fixed;
    left: 0;
    top: 0;
    display: none;
  }
    
  .preloader::before {
    float: left;
    content: " ";
    position: fixed;
    left: 50%;
    top: 50%;
    width: 80px; 
    height: 80px;
    background-size: 400px;
    background-image: url(/images/preloader.gif);
    background-position:center -130px;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%);
    border-radius: 20px;
  }

  .view-tablet  {
    max-width: 800px !important;
    outline: solid 0px #333;
  }

  .view-mobile  {
    max-width: 360px !important;
    outline: solid 0px #333;
  }

  .right-icon,
  .wrong-icon  {
    width: 26px;
    height: 26px;
    line-height: 26px;
    background: green;
    color: #fff;
    text-align: center;
    border-radius: 100%;
    font-size: 18px;
    font-weight: bold;
  }

  .wrong-icon {
    background: red;
  }
  .social-icons li {
    padding: 0 4px;
  }
  .social-icons i {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border: solid 1px;
    margin:0;
    border-radius: 100%;
  }

.app-footer,
.app-header {
  position: relative;
  min-height: 60px;
}
.app-header .navbar  {
  min-height: 60px;
}
.app-footer:hover .edit-overlay,
.app-header:hover .edit-overlay {
  opacity: 1;
}

.app-footer .edit-overlay,
.app-header .edit-overlay {
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  left: 0;
  top: 0;
  cursor: pointer;
}

.app-footer .edit-overlay::before,
.app-header .edit-overlay::before {
  content: "EDIT";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius:10px;
  text-align: center;
  color: #000;
  width: 80px;
  font-weight: bold;
  line-height: 40px;
}
body.overflow-hidden .app-blocks {
  position: relative;
}
body.overflow-hidden .app-blocks::before {
  content: " ";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 1;
  opacity: 0.7;
}
.edit-footer .add-section,
.edit-header .add-section,
body.overflow-hidden .edit-overlay {
  display: none !important;
}

.social a {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 34px;
  border: solid 1px;
  color: inherit;
  text-align: center;
  text-decoration: none;
  margin: 0 3px;
  font-size: 20px;
}

.social a::before {
  line-height: 34px;
}
.block-section .image {
  background-size: cover;
  background-position: center;
}

.sections-grid img,
.form-view .img-thumbnail,
.images-grid img {
  width: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

.popup-background .images-grid img {
  background-size: cover;
  outline: solid 1px #ccc;
}

.modal-view .nav a {
  cursor: pointer;
  user-select: none;
}

.form-view .img-thumbnail {
  width: 100px;
}

.blocks img {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.container-reverse .row {
flex-direction: row-reverse;
}