.bodyfix {
  width: 100%;
  overflow: hidden !important;
  /*overflow: auto !important;*/
  /*position: fixed;*/
}
.blocker {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%; height: 100%;
  overflow: auto;
  overflow-scrolling: touch;
  -webkit-overflow-scrolling: touch;
  z-index: 1000;
  padding: 20px;
  box-sizing: border-box;
  background-color: rgba(0,0,0,0.5);
  text-align: center;
}
.blocker:before{
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -0.05em;
}
.blocker.behind {
  background-color: transparent;
}
.modal {
  display: none;
  overflow: hidden;
  vertical-align: middle;
  position: relative;
  z-index: 2;
  max-width: 640px;
  box-sizing: border-box;
  width: 100%;
  background: #fff;
  padding: 0;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  text-align: left;
  -webkit-box-shadow: 0 3px 30px 0 rgba(0,0,0,.3);
  box-shadow: 0 3px 30px 0 rgba(0,0,0,.3);
}

/*.modal a.close-modal {
  position: absolute;
  top: 17px;
  right: 20px;
  display: block;
  z-index: 1000;
  width: 30px;
  height: 30px;
  text-indent: -9999px;
  border-radius: 30px;
  background-color: #888;
  background-repeat: no-repeat;
  background-position: center center;
  background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='12px' height='12px' x='0px' y='0px' viewBox='0 0 212.982 212.982' style='enable-background:new 0 0 212.982 212.982;' xml:space='preserve'%3E%3Cg id='Close'%3E%3Cpath style='fill-rule:evenodd;clip-rule:evenodd;' d='M131.804,106.491l75.936-75.936c6.99-6.99,6.99-18.323,0-25.312 c-6.99-6.99-18.322-6.99-25.312,0l-75.937,75.937L30.554,5.242c-6.99-6.99-18.322-6.99-25.312,0c-6.989,6.99-6.989,18.323,0,25.312 l75.937,75.936L5.242,182.427c-6.989,6.99-6.989,18.323,0,25.312c6.99,6.99,18.322,6.99,25.312,0l75.937-75.937l75.937,75.937 c6.989,6.99,18.322,6.99,25.312,0c6.99-6.99,6.99-18.322,0-25.312L131.804,106.491z' fill='%23FFFFFF'/%3E%3C/g%3E%3C/svg%3E%0A");
  opacity: .5;
}
.modal a.close-modal:hover {
  opacity: 1;
  background-color: #1897f2;
}*/
.modal a.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  box-sizing: border-box;
  display: block;
  z-index: 1000;
  width: 23px;
  height: 23px;
  text-indent: -9999px;
  overflow: hidden;
  border-radius: 30px;
  /*background-color: #888;*/
  background: transparent url("data:image/svg+xml,%0A%3Csvg width='10px' height='10px' fill='%23333' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 492 492'%3E%3Cpath d='M300.188,246L484.14,62.04c5.06-5.064,7.852-11.82,7.86-19.024c0-7.208-2.792-13.972-7.86-19.028L468.02,7.872 c-5.068-5.076-11.824-7.856-19.036-7.856c-7.2,0-13.956,2.78-19.024,7.856L246.008,191.82L62.048,7.872 c-5.06-5.076-11.82-7.856-19.028-7.856c-7.2,0-13.96,2.78-19.02,7.856L7.872,23.988c-10.496,10.496-10.496,27.568,0,38.052 L191.828,246L7.872,429.952c-5.064,5.072-7.852,11.828-7.852,19.032c0,7.204,2.788,13.96,7.852,19.028l16.124,16.116 c5.06,5.072,11.824,7.856,19.02,7.856c7.208,0,13.968-2.784,19.028-7.856l183.96-183.952l183.952,183.952 c5.068,5.072,11.824,7.856,19.024,7.856h0.008c7.204,0,13.96-2.784,19.028-7.856l16.12-16.116 c5.06-5.064,7.852-11.824,7.852-19.028c0-7.204-2.792-13.96-7.852-19.028L300.188,246z'/%3E%3C/svg%3E%0A") center no-repeat;
  opacity: .75;
}
.modal a.close-modal:hover {
  opacity: 1;
  background-color: #edeff3;
}

.modal-spinner {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  padding: 12px 16px;
  border-radius: 5px;
  background-color: #111;
  height: 20px;
}

.modal-spinner > div {
  border-radius: 100px;
  background-color: #fff;
  height: 20px;
  width: 2px;
  margin: 0 1px;
  display: inline-block;

  -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
  animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.modal-spinner .rect2 {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}

.modal-spinner .rect3 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

.modal-spinner .rect4 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

.modal_title {
  padding: 20px 70px 20px 20px;
  font-size: 22px;
  font-weight: 400;
}

.modal_bottom {
  padding: 20px;
}

.modal_body {
  background-color: #efefef;
  padding: 20px;
  line-height: 1.5;
}

.modal_body .section {
  margin-bottom: 15px;
}

  .modal_body .section:last-child {
    margin-bottom: 0;
  }

  .modal_body .section.info {
    border-left: 3px solid #ffbc00;
    background-color: rgba(255,200,0,.25);
    padding: 10px 10px 10px 20px;
    color: #444;
  }

  .modal_body .section.tab-settings {
    margin-bottom: 20px;
  }

  .modal_body .section.tab-settings .dop-info {
    display: block;
    color: #888;
    margin-bottom: 8px;
  }

.section a {
  border-bottom: 1px solid #acd9f9;
}

.body_info {
  display: none;
  box-sizing: border-box;
  padding: 20px;
  border-top: 5px solid #fff;
  background-color: #e6f5ff;
  line-height: 1.5;
}

.btn {
  display: inline-block;
  /*background-color: #888;*/
  background-color: #1897f2;
  color: #fff;
  font-size: 15px;
  /*padding: 7px 11px;*/
  /*padding: 10px 25px 12px;*/
  padding: 10px 25px;
  border: 0;
  border-radius: 30px;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  transition: all .15s ease;
}

  .btn:focus {
    border: 0 !important;
  }

  .btn:hover {
    opacity: .75;
  }

  .btn.border {
    /*padding: 6px 10px;*/
    padding: 9px 24px;
    background-color: transparent;
    border: 1px solid rgba(0,0,0,.2);
    color: #444;
  }

    .btn.border:hover {
      background-color: rgba(0,0,0,.15);
    }

input[type=text], textarea {
    font-family:"SF Pro Display","SF Pro Icons","Helvetica Neue","Helvetica","Arial",sans-serif;
    font-size: 16px;
    border: 1px solid #dadbdc;
    border-radius: 4px;
    padding: 10px 12px;
    box-sizing: border-box;
    width: 100%;
    outline: none;
    -webkit-appearance: none;
    transition: all .15s ease;
}

.select {
    position: relative;
}
.select select {
    background-color: #fff;
    border: 1px solid #dadbdc;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 16px;
    box-sizing: border-box;
    width: 100%;
    outline: none;
    -webkit-appearance: none;
    color: #333;
}



    input:focus, textarea:focus, .select select:focus {
        border: 1px solid #4394ff;
    }

    .inp_title {
        font-weight: 500;
        margin-bottom: 10px;
    }

.modal_body .select {
  position: relative;
}

/*.modal select, input[type=text], textarea, .modalselect {
  background-color: #fff;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: 4px;
  padding: 8px;
  font-size: 17px;
  box-sizing: border-box;
  width: 100%;
  outline: none;
  -webkit-appearance: none;
  color: rgba(0,0,0,.8);
  font-family: Arial;
}*/

input[type=text]:disabled, textarea:disabled {
  background-color: #f5f5f5;
  color: #888;
}

.modal .modal_body .select::after {
    border: 1px solid #555;
    border-right: 0;
    border-top: 0;
    content: " ";
    display: block;
    pointer-events: none;
    position: absolute;
    top: 2px;
    transform: rotate(-45deg);
    transform-origin: center;
    right: 14px;
    z-index: 4;
    width: .5em;
    height: .5em;
}

/*.inp_title {
  position: relative;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 7px;
  display: block;
}*/

.blue {
  background-color: #1897f2;
}

.global_link {
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

#showallblocks {
  border-radius: 4px;
  overflow: hidden;
}

@-webkit-keyframes sk-stretchdelay {
  0%, 40%, 100% { -webkit-transform: scaleY(0.5) }
  20% { -webkit-transform: scaleY(1.0) }
}

@keyframes sk-stretchdelay {
  0%, 40%, 100% {
    transform: scaleY(0.5);
    -webkit-transform: scaleY(0.5);
  }  20% {
    transform: scaleY(1.0);
    -webkit-transform: scaleY(1.0);
  }
}

.notif-item {
  background-color: #fff;
  margin-bottom: 10px;
  border-radius: 3px;
  padding: 10px 40px 10px 14px;
  position: relative;
}

.delnotif {
  position: absolute;
  top: 12px;
  right: 12px;
  background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='16px' height='16px' viewBox='0 0 348.333 348.334' style='enable-background:new 0 0 348.333 348.334;' xml:space='preserve'%3E%3Cg fill='%23ff7744'%3E%3Cpath d='M336.559,68.611L231.016,174.165l105.543,105.549c15.699,15.705,15.699,41.145,0,56.85 c-7.844,7.844-18.128,11.769-28.407,11.769c-10.296,0-20.581-3.919-28.419-11.769L174.167,231.003L68.609,336.563 c-7.843,7.844-18.128,11.769-28.416,11.769c-10.285,0-20.563-3.919-28.413-11.769c-15.699-15.698-15.699-41.139,0-56.85 l105.54-105.549L11.774,68.611c-15.699-15.699-15.699-41.145,0-56.844c15.696-15.687,41.127-15.687,56.829,0l105.563,105.554 L279.721,11.767c15.705-15.687,41.139-15.687,56.832,0C352.258,27.466,352.258,52.912,336.559,68.611z'/%3E%3C/g%3E%3C/svg%3E");
  width: 16px;
  height: 16px;
  display: block;
  /*opacity: .7;*/
  cursor: pointer;
}

.m_tabs {
  padding: 0 20px;
}

.m_tabs a {
  padding: 0 0 10px;
  margin-right: 20px;
  display: inline-block;
  position: relative;
  color: #888;
}

.m_tabs a.active, .m_tabs a:hover {
  color: #2d94e0;
}

.m_tabs a.active:after {
  position: absolute;
    content: '';
    display: block;
    bottom: -1px;
    left: 0;
    right: 0;
    border-bottom: 1px solid #2d94e0;
}

.tab_set, .tab_design, .tab_access, .tab_seo, .tab_qr {
  display: none;
}

.tab_set .sptitle {
  margin: 0;
}

.tab_set .overitem {
  margin: 0 0 15px;
}

.tab_set input[type=number] {
  width: 60px;
}

#bgsel {
  display: none;
  padding: 5px 10px;
  background-color: #fff;
}
#bgsel .picker_wrapper {
  box-shadow: none;
  background-color: inherit;
}

.color_pick {
    padding: 12px 12px 12px 64px;
    display: block;
    width: 100%;
    border-radius: 4px;
    cursor: pointer;
    /*border: 1px solid rgba(0,0,0,.1);*/
    background-color: #fff;
    position: relative;
    box-sizing: border-box;
}

.color_pick span {
  display: inline-block;
}

.color_pick .cube {
    border: 1px solid rgba(0,0,0,.1);
    position: absolute;
    left: 18px;
    top: 18px;
    width: 30px;
    height: 30px;
    border-radius: 3px;
    display: inline-block;
}

.color_pick .title {
    display: block;
    font-size: 16px;
}

.color_pick .valu {
    font-size: 12px;
    opacity: .5;
}

@media (max-width: 800px) {

  .blocker {
    padding: 0;
  }
  .blocker:before {
    /*vertical-align: top;*/
  }


}

@media (max-width: 500px) {
  .blocker {
    background: rgba(0,0,0,.5);
  }
  .modal, #showallblocks {
    border-radius: 0;
  }
}


/* v2 */
.modal .head {
  font-size: 21px;
  font-weight: 400;
  padding: 20px;
  box-sizing: border-box;
  border-bottom: 1px solid #e1e4ef;
}

.modal .cont {
  padding: 20px;
}

    .modal .cont .select:before {
        content: ' ';
        display: block;
        border-radius: 0 3px 3px 0;
        position: absolute;
        right: 1px;
        top: 1px;
        bottom: 1px;
        width: 50px;
        /*background-color: red;*/
        background: linear-gradient(to left, #fff, #fff, rgba(0,0,0,0));
        z-index: 1;
        pointer-events: none;
    }
    
    .modal .cont .select select:disabled {
        color: #888;
        background-color: #f7f8fa;
    }

    .modal .cont .select:after {
        content: '';
        display: block;
        position: absolute;
        top: 14px;
        right: 14px;
        z-index: 4;
        pointer-events: none;
        width: 10px;
        height: 10px;
        background: transparent url("data:image/svg+xml,%0A%3Csvg width='10px' height='10px' fill='%23888' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 451.847 451.847'%3E%3Cpath d='M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751 c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0 c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z'/%3E%3C/svg%3E%0A") center no-repeat;
    }

.modal .cont .section {
  margin-bottom: 20px;
}

  .modal .cont .section:last-child {
    margin-bottom: 0;
  }

.modal .m_result {
  padding: 20px;
  background-color: #ffefb4;
  display: none;
  box-sizing: border-box;
}

.modal .foot {
  border-radius: 0 0 15px 15px;
  align-items: center;
  padding: 15px 20px;
  box-sizing: border-box;
  /*border-top: 1px solid #f7f8fa;*/
  background-color: #f7f8fa;
}

  .modal .foot .col.right {
    float: right;
  }












