@charset "UTF-8";
@font-face {
    font-family: "photoblocks";
    src: url("fonts/photoblocks.eot");
    src: url("fonts/photoblocks.eot?#iefix") format("embedded-opentype"),
        url("fonts/photoblocks.woff") format("woff"),
        url("fonts/photoblocks.ttf") format("truetype"),
        url("fonts/photoblocks.svg#photoblocks") format("svg");
    font-weight: normal;
    font-style: normal;
}

[data-icon]:before {
    font-family: "photoblocks" !important;
    content: attr(data-icon);
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    speak: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

[class^="pb-"]:before,
[class*=" pb-"]:before {
    font-family: "photoblocks" !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    speak: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.pb-type-image {
    max-width: 100%;
}

.pb-icon-down-open-big:before {
    content: "\61";
}
.pb-icon-left-open-big:before {
    content: "\62";
}
.pb-icon-up-open-big:before {
    content: "\63";
}
.pb-icon-right-open-big:before {
    content: "\64";
}
.pb-angle-double-down:before {
    content: "\65";
}
.pb-angle-double-left:before {
    content: "\66";
}
.pb-angle-double-right:before {
    content: "\67";
}
.pb-angle-double-up:before {
    content: "\68";
}
.pb-th:before {
    content: "\6a";
}
.pb-list-add:before {
    content: "\6b";
}
.pb-plus:before {
    content: "\6c";
}
.pb-cancel-circled:before {
    content: "\6d";
}
.pb-minus:before {
    content: "\6e";
}
.pb-arrow-down:before {
    content: "\69";
}
.pb-arrow-left:before {
    content: "\70";
}
.pb-arrow-right:before {
    content: "\71";
}
.pb-arrow-up:before {
    content: "\72";
}
.pb-down-open-mini:before {
    content: "\73";
}
.pb-left-open-mini:before {
    content: "\74";
}
.pb-right-open-mini:before {
    content: "\75";
}
.pb-up-open-mini:before {
    content: "\76";
}
.pb-close:before {
    content: "\77";
}
.pb-doc-text:before {
    content: "\79";
}
.pb-light-bulb:before {
    content: "\7a";
}
.pb-font:before {
    content: "\41";
}
.pb-trash:before {
    content: "\42";
}
.pb-camera:before {
    content: "\43";
}
.pb-settings:before {
    content: "\6f";
}
.pb-check:before {
    content: "\78";
}
.pb-arrows-v:before {
    content: "\44";
}
.pb-iphone:before {
    content: "\45";
}
.pb-ipad:before {
    content: "\46";
}
.pb-ipad-landscape:before {
    content: "\47";
}
.pb-filter:before {
    content: "\48";
}
.pb-clone:before {
    content: "\49";
}
.pb-square-o:before {
    content: "\4a";
}
.pb-align-left:before {
    content: "\4d";
  }

.photoblocks-app {
    overflow: hidden;
}
.photoblocks-app #wpcontent #wpbody {
    font-size: 16px;
}
.photoblocks-app .publish img {
    display: none;
}
.photoblocks-app .publish span {
    display: inline-block;
}
.photoblocks-app .publish.loading img {
    display: block;
}
.photoblocks-app .publish.loading span {
    display: none;
}
.pb-check-square-o:before {
    content: "\4b";
}
#wpadminbar {
    z-index:9999;
}
.ui-resizable {
	position: relative;
}
.ui-resizable-handle {
	position: absolute;
	font-size: 0.1px;
	display: block;
	-ms-touch-action: none;
    touch-action: none;
    background: transparent;
    opacity: 0;
}
.photoblocks-app .block:hover .ui-resizable-handle {
    opacity: 1;
}
.ui-resizable-disabled .ui-resizable-handle,
.ui-resizable-autohide .ui-resizable-handle {
	display: none;
}
.ui-resizable-n {
	cursor: n-resize;
	height: 7px;
	width: 100%;
	top: -5px;
	left: 0;
}
.ui-resizable-s {
	cursor: s-resize;
	height: 7px;
	width: 100%;
	bottom: -5px;
	left: 0;
}
.ui-resizable-e {
	cursor: e-resize;
	width: 7px;
	right: -5px;
	top: 0;
	height: 100%;
}
.ui-resizable-w {
	cursor: w-resize;
	width: 7px;
	left: -5px;
	top: 0;
	height: 100%;
}
.ui-resizable-se {
	cursor: se-resize;
	width: 30px;
	height: 30px;
	right: 1px;
    bottom: 1px;
    background:url('resize-se.svg') no-repeat;
    background-size: contain;
}
.ui-resizable-sw {
	cursor: sw-resize;
	width: 9px;
	height: 9px;
	left: -5px;
	bottom: -5px;
}
.ui-resizable-nw {
	cursor: nw-resize;
	width: 9px;
	height: 9px;
	left: -5px;
	top: -5px;
}
.ui-resizable-ne {
	cursor: ne-resize;
	width: 9px;
	height: 9px;
	right: -5px;
	top: -5px;
}
.photoblocks-app .warn {
    animation: shake 8s cubic-bezier(.36,.07,.19,.97) both infinite;
    transform: translate3d(0, 0, 0) scale(1) rotateZ(0deg);
    backface-visibility: hidden;
    perspective: 1000px;
}
@keyframes shake {
    1%, 9% {
      transform: translate3d(-1px, 0, 0)  rotateZ(0deg);
    }
    
    2%, 8% {
      transform: translate3d(2px, 0, 0)  rotateZ(-5deg);
    }
  
    3%, 5%, 7% {
      transform: translate3d(-4px, 0, 0)  scale(1.05)  rotateZ(0deg);
      
    }
  
    4%, 6% {
      transform: translate3d(4px, 0, 0) rotateZ(5deg);
    }
  }
table.photoblocks .id {
    width: 50px;
}
#photoblocks-tutorial {
    font-size: 12px;
}
.pb-modal {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 169, 234, 0.5);
    z-index: 1000000;
}
.pb-modal .pb-popup {
    position: fixed;
    top: 150px;
    left: 50%;
    margin-left: -300px;
    width: 600px;
    background: #fff;
    padding: 40px;
    box-shadow: #1ea9ea 0px 0px 20px;
}
.pb-modal .pb-popup .pb-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #000;
    font-size: 18px;
    cursor: pointer;
    transform: scale(1);
    transition: transform .2s;
}
.pb-modal .pb-popup .pb-modal-close:hover {
    transform: scale(1.5);
}
.pb-modal .pb-popup label {
    font-size: 22px;
    margin-bottom: 4px;
}
.pb-modal .pb-popup .filters label {
    font-size: 12px;
    display: inline-block;
    margin-right: 10px;
    border: 1px solid #ccc;
    padding: 4px 8px;
    border-radius: 4px;
}
.pb-modal .pb-popup input[type="text"],
.pb-modal .pb-popup select {
    font-size: 28px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    padding: 10px;
    display: block;
    width: 100%;
    height: 40px;
    margin-top: 4px;
}
.pb-modal#modal-add-blocks .pb-toggle {
    margin-bottom: 30px;
    text-align: center;
    font-size: 14px;
}
.pb-modal#modal-add-blocks .pb-toggle label {
    font-size: 12px;
    text-transform: none;
}
.pb-modal#modal-add-blocks .pb-toggle select {
    display: inline-block;    
    width: auto;
    font-size: 14px;
    margin: 0 10px;
} 
.pb-modal#modal-bulk .pb-popup {
    width: 800px;
    margin-left: -400px;
}
.pb-modal#modal-tutorial .pb-popup {
    padding: 0;
    padding-top: 40px;
    width: 800px;
    margin-left: -400px;
    height: 600px;
}
.pb-modal#modal-tutorial .pb-popup iframe {
    width:100%;
    height:100%;
}
.pb-modal h3 {
    margin: 0 0 40px 0;
}
.pb-modal .action-buttons {
    display: flex;
    justify-content: space-around;
}
.pb-modal .action-buttons a {
    display: inline-block;
    height: 40px;
    border: 1px solid #666;
    border-radius: 2px;
    text-decoration: none;
    color: #333;
    line-height: 40px;
    padding: 0 10px;
    width: 120px;
    text-align: center;
    background: #f8f8f8;
    transform: scale(1);
    transition: all .2s;
}
.pb-modal .action-buttons a:hover {
    transform: scale(1.1);
    background: #fff;  
}
.pb-modal .preview-block {
    width: 80px;
    height: 80px;
    display: inline-block;
    margin: 2px;
    font-size: 10px;
    background: #dadada;
    float: left;
}
.pb-modal .with,
.pb-modal .without {
    font-weight: bold;
}
#modal-bulk .blocks {
    max-height: 120px;
    overflow: auto;
    vertical-align: top;
}
#pb-builder {
    background: #fff;
    padding: 30px 0;
    overflow: auto;
    padding-top: 44px;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 111111;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.7);
    transition: left 0.5s ease-in-out;
}
#pb-builder.open {
    left: -50px;
}
.media-modal {
    z-index: 10000001;
}

#pb-app-admin-header {
    background: #e0e0e0;
    height: 60px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
.photoblocks-app #pb-header ul .pb-submenu {
    position: absolute;
    top: 116px;
    left: 0;
    right: 0;
    background: #fafafa;
    height: 40px;
    display: none;
}
.photoblocks-app .pb-submenu li {
    font-size: 14px;
    margin:0;
    position: relative;
}
.photoblocks-app #pb-header .pb-submenu li a {
    margin: 10px 20px 0 20px;
    color: #777;
    box-shadow: none;    
}
.photoblocks-app #pb-header .pb-submenu li:after {
    content: "|";
    right:0;
    top:9px;
    display: inline-block;
    position: absolute;
}
.photoblocks-app #pb-header .pb-submenu li:last-of-type:after {
    content:"";
}
.photoblocks-app #pb-header .pb-submenu li a:focus,
.photoblocks-app #pb-header .pb-submenu li a:active {
    color: #333;
    outline: none;
    border:0;    
}
.photoblocks-app #wpcontent * {
    box-sizing: border-box;
}
.fixed-menu #pb-app-header {
    position: fixed;
    top: 0;
    z-index: 10000;
    background: #fff;
    right: 0;
    left: 0;
    box-shadow: rgba(0, 0, 0, .5) 0 0 20px;
}
.fixed-menu #pb-app-header .publish {
    top:20px;
}
.fixed-menu .pb-app-menu {
    margin-top: 0;    
}
.fixed-menu #pb-header .pb-app-menu .pb-submenu {
    top:42px;
}
.fixed-menu #pb-header ul li a.pb-button.pb-menu-upgrade {
    padding: 2px 16px;
}
#pb-header ul {
    display: block;
    text-align: center;
}
#pb-header ul li {
    display: inline-block;
}
#pb-header ul li:first-child a {
    margin-left: 0;
}
#pb-header ul li a.active {
    border-bottom: 2px solid #000;
    color: #000;
}
#pb-header ul li a:hover {
    border-bottom: 2px solid #333;
    color: #333;
}
#pb-header ul li a {
    color: #666;
    display: block;
    margin: 16px 20px;
    padding-bottom: 8px;
    text-decoration: none;
    transition: all .2s;
}
#pb-app-admin-header #pb-logo {
    background-image: url("logo.png");
    background-size: 50px 50px;
    background-position: center center;
    background-repeat: no-repeat;
    float: left;
    width: 60px;
    height: 60px;
    transition: all 1s ease;
    margin-left: 32px;
}
#pb-app-admin-header .pb-close {
    background: #424242;
    color: #fff;
    font-size: 30px;
    position: absolute;
    text-align: center;
    text-decoration: none;
    line-height: 64px;
    right: 0;
    height: 60px;
    width: 60px;
    top:0;
}
.fixed-menu #gallery-actions {
    position: fixed;
    top:0;
    right: 0;
    z-index: 100001;
}
.fixed-menu #gallery-actions .pb-close,
.fixed-menu #pb-app-admin-header .pb-button.publish {
    height: 43px;
}
.fixed-menu #pb-app-admin-header .pb-button.publish {
    line-height: 1;
    padding-top: 16px;
}
.fixed-menu #gallery-actions .pb-close {
    font-size: 20px;
}
#pb-app-admin-header .pb-close:before {
    content: "\77";
    margin-top: 13px;
    display: block;
}
#pb-app-admin-header .pb-button.publish {
    position: absolute;
    top: 0px;
    right: 60px;
    border-radius:0;
    border:0;
    padding: 22px 30px 21px;
}

#pb-header {
    height: 96px;
    transition: margin 0.5s ease;
    background: #f0f0f0;
}
#pb-header a {
    cursor: pointer;
}
#pb-drawer {
    width: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    right: -1400px;
    z-index: 111111;
    opacity: 0;
    -webkit-overflow-scrolling: touch;
    /*box-shadow: #999 0px 12px 30px 10px;*/
    transition: all 0.25s ease-in-out;
}
#pb-drawer .pb-shoulder {
    background: rgba(0, 0, 0, 0.6);
    width: 50%;
    height: 100%;
    cursor: pointer;
    display: inline-block;
}
#pb-drawer .pb-content {
    width: 50%;
    background: #ebedee;
    padding: 60px 40px 0 40px;
    display: inline-block;
    height: 100%;
    vertical-align: top;
    overflow: scroll;
    box-shadow: #000 0px 0px 50px;
}
#pb-drawer .pb-content select {
    height: 40px;
    width: 100%;
    max-width: 400px;
}
#pb-drawer .pb-content textarea {
    height: 100px;
}
#pb-drawer .current-block-pic {
    margin-bottom: 20px;
    margin-right: auto;
    margin-left: auto;
    background-size: cover;
}
#pb-drawer fieldset {
    position: relative;
    right: -500px;
    -webkit-transition: all 0.6s;
    -moz-transition: all 0.6s;
    -ms-transition: all 0.6s;
    -o-transition: all 0.6s;
    transition: all 0.6s;
    opacity: 0;
    display: none;
}
#pb-drawer h3 {
    font-size: 15px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-top: 1px solid #ccc;
    padding-top: 10px;
    color: #666;
}
#pb-drawer .group .toggle-group .open-arrow {
    display: none;
}
#pb-drawer .group .toggle-group.open .close-arrow {
    display: none;
}
#pb-drawer .group .toggle-group.open .open-arrow {
    display: inline-block;
}
#pb-drawer h3:first-of-type {
    border-top: 0;
}
#pb-drawer fieldset.open {
    opacity: 1;
    right: 0;
}
#pb-drawer .group .field {
    display: none;
}
#pb-drawer .group h4 {
    cursor: pointer;
    margin-top: 0;
}
#pb-drawer .group h4 i {
    position: relative;
    top: 2px;
    font-size: 16px;
    margin-left: -20px;
}
#pb-drawer header {
    margin-bottom: 30px;
}
#pb-drawer header:after {
    display: block;
    clear: both;
    content: "";
}
.photoblocks-app .pb-button {
    padding: 15px 30px;
    background: #1ea9ea;
    border: 1px solid #1ea9ea;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 17px;
    text-transform: uppercase;
    text-align: center;
    display: inline-block;
    height: auto;
    box-shadow: none;
    line-height: 1;
    text-decoration: none !important;
    transform: scale(1);
    transition: transform .2s;
}
.photoblocks-app .pb-button:hover {
    transform: scale(1.05);
}
.photoblocks-app .pb-button.pb-small-button,
.photoblocks-app .pb-button.pb-button-small {
    padding: 6px;
    font-size: 14px;
}
.photoblocks-app .pb-button-grey {
    background-color: #ccc;
    border-color: #aaa;
}
.photoblocks-app .pb-button-red {
    background-color: rgb(190, 31, 31);
    border-color: rgb(153, 24, 24);
}
.photoblocks-app .pb-button-green {
    background-color: rgb(142, 228, 160);
    border-color: rgb(67, 161, 75);
}
.photoblocks-app .pb-button-yellow {
    background-color: #d6c108;
    border-color: #a19205;
}
.photoblocks-app .pb-popup-footer {
    text-align: right;
    margin-top: 30px;
}
.photoblocks-app .pb-popup-footer .pb-button {
    margin-left: 10px;
}
#pb-drawer .field {
    margin-bottom: 20px;
}
#pb-main .wrap {
    margin: 0;
}
#pb-main .submenu {
    background: #fff;
}
#pb-main .submenu ul {
    max-width: 1280px;
    margin: auto;
}

@keyframes submenu-appear {
    from {
        transform: translateY(-50px);
    }
    to {
        transform: translateY(0);
    }
}
#pb-main .submenu:after {
    content: "";
    display: block;
    width: 1px;
    height: 1px;
    clear: both;
}
#pb-main .submenu li {
    display: inline-block;
}
#pb-main .submenu li .button-add-images {
    display: none;
}
#pb-main .submenu li .text-add-images {
    display: block;
    color: #666;
    font-size: 14px;
    font-style: italic;
}
#pb-main .submenu li .text-add-images i {
    position: relative;
    top: 2px;
    color: #ffd400;
}
#pb-main .submenu li a:focus,
#pb-main .submenu li a:active {
    box-shadow: none;
}
#pb-main .submenu li a:active {
    box-shadow: none;
    top: 1px;
}
#pb-main .submenu li input,
#pb-main .submenu li a {
    display: inline-block;
    border: 1px solid #666;
    border-radius: 4px;
    margin-right: 20px;
    position: relative;
    transition: none;
}
#pb-main .submenu li input {
    width: 30px;
    margin-right: 0;
    background: #fff;
    text-align: center;
    padding: 0;
}
#pb-main .submenu .block-size {
    margin-right: 20px;
}
#pb-main .submenu .block-size i {
    position: relative;
    top: 4px;
}
#pb-main .submenu li a {
    text-decoration: none;
    color: #333;
    padding: 10px;
    display: inline-block;
}
#pb-main .submenu li.right {
    float: right;
}
#pb-main .submenu li.right a {
    margin-right: 0;
}
#pb-main .submenu.submenu-system li a {
    border-color: transparent;
    margin-right: 12px;
    font-size: 12px;
    padding: 0;
}
#pb-main .submenu li a i {
    position: relative;
    top: 2px;
}
#pb-main .submenu li a.active {
    border-color: #4a90e2;
}
.artboard-menu {
    background: #fff;
    width: 600px;
    margin: 20px auto;
    text-align: center;
}
.artboard-menu a {
    font-size: 10px;
    border: 1px solid #666;
    text-decoration: none;
    color: #666;
    border-radius: 2px;
    padding: 6px 10px;
    text-transform: uppercase;
    transform: scale(1);
    transition: all .2s;
    display: inline-block;
}
.artboard-menu a:hover {
    transform: scale(1.05);
    background: #f0f0f0;
}
.artboard-menu a i {
    position: relative;
    top: 2px;
}
.artboard-menu.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 10px 40px;
    margin: auto;
    width: 100%;
    /*transform:translateY(-50px);
    animation: submenu-appear .5s;*/
}
.pb-full {
    position: relative;
}
.pb-full,
.pb-one-half,
.pb-one-third {
    margin-bottom: 15px;
    padding: 0 2%;
}
.pb-full {
    clear: both;
}
.photoblocks-app .nf-setting-label,
.photoblocks-app label,
.photoblocks-app legend {
    color: #424242;
    display: block;
    font-size: 13px;
    text-transform: uppercase;
}
.photoblocks-app .tax-item {
    display: inline-block;
    margin: 0 10px 10px 0;
    border: 1px solid #aaa;
    padding: 2px 6px;
    background: #fafafa;
    line-height: 20px;
}
.photoblocks-app .tax-item label {
    display: inline-block;
    text-transform: none;
}
.photoblocks-app .nf-setting-label select,
.photoblocks-app label select,
.photoblocks-app legend select {
    margin-left: 10px;
}
.photoblocks-app input[type="text"],
.photoblocks-app input[type="number"],
.photoblocks-app textarea {
    background: #f9f9f9;
    border: 0;
    margin-top: 7px;
    padding: 12px 15px;
    width: 100%;
    height: 41px;
    text-transform: default;
}
.photoblocks-app .inline input[type="text"] {
    width: auto;
}
.photoblocks-app input.js-colpick[type="text"] {
    padding-left: 40px;
}
.minicolors-swatch.minicolors-sprite.minicolors-input-swatch {
    top: 14px;
    left: 7px;
    width: 28px;
    height: 28px;
}
#pb-panel-board {
    text-align: center;
}
#photoblocks-grids {
    margin: auto;
    border: 1px dashed #ccc;
    display: inline-block;
}
#photoblocks-grids .photoblocks-grid {
    position: relative;
    width: 800px;
    max-width: 1280px;
    margin: 10px;
    display: none;    
    overflow: hidden;
}
#photoblocks-grids .photoblocks-grid.selected {
    display: block;
}


#photoblocks-grids .photoblocks-grid .cells {
    position: relative;
}

#photoblocks-grids .photoblocks-grid.drag .cell {
    cursor: se-resize;
}

#photoblocks-grids .photoblocks-grid .cell {
    position: absolute;
    background: #ccc;
    border-radius: 4px;
    cursor: crosshair;
}

#photoblocks-grids .photoblocks-grid .item {
    position: absolute;
    background: #0040ff;
}

#photoblocks-grids .photoblocks-grid .cell.on {
    background: rgba(0, 0, 255, 0.5);
}

#photoblocks-grids .photoblocks-grid .block {
    background-color: rgba(0, 0, 0, 0.75);
    background-size: cover;
    background-position: 50% 50%;    
    z-index: 5;
}
.packery-drop-placeholder {
    outline: 3px dashed #444;
    outline-offset: -6px;
    z-index: 30;
    /* transition position changing */
    -webkit-transition: -webkit-transform 0.2s;
            transition: transform 0.2s;
  }
#photoblocks-grids .photoblocks-grid .block.pb-selected {
    background-color: orange !important;
}
#photoblocks-grids .photoblocks-grid .block.pb-selected .pb-overlay {
    opacity: .5;
}
#photoblocks-grids .photoblocks-grid .block.pb-selected:before {
    content: "\4b";
    display: block;
    position: absolute;
    top: 4px;
    left: 4px;
    z-index: 10;
    font-family: photoblocks;
    text-shadow: #fff 1px 1px 0px;
}

#photoblocks-grids .photoblocks-grid .block.pb-type-text {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, .1);
}
#photoblocks-grids .photoblocks-grid.dragging .block {
    opacity: 0.6;
}
#photoblocks-grids .photoblocks-grid .block.dragging {
    z-index: 10;
    box-shadow: #000 0px 0px 20px;
    opacity: 1;
}
#photoblocks-grids .photoblocks-grid .block.ui-resizable-resizing {
    z-index: 1000;
}
#photoblocks-grids .photoblocks-grid .pb-guide {
    z-index: 1;
}
#photoblocks-grids .photoblocks-grid .block .handle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 30px 30px;
    border-color: transparent transparent #ffffff transparent;

    cursor: -webkit-grab;
    position: absolute;
    z-index: 10;
    font-size: 18px;
    line-height: 35px;
    text-align: center;
    opacity: 0;
    bottom: 0;
    right: 0;
}
#photoblocks-grids .photoblocks-grid .block:hover .handle {
    opacity: 1;
}
#photoblocks-grids .photoblocks-grid .block.dragging .handle {
    opacity: 0;
}
#photoblocks-grids .photoblocks-grid .block.no-anim {
    transition: none;
}

#photoblocks-grids .photoblocks-grid .block:hover a {
    opacity: 1;
}

#photoblocks-grids .photoblocks-grid .block .buttons {
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 8;
    background: rgba(0, 0, 0, 0.7);
    left: auto;
    bottom: auto;
    height: 40px;
    border-bottom-left-radius: 6px;
    padding:10px 0 0 10px;
}
#photoblocks-grids .photoblocks-grid .block .type {
    position: absolute;
    top: 4px;
    left: 4px;
    z-index: 8;
    background: #666;
    color: #fff;
    font-size: 10px;
    border-radius: 4px;
    padding: 2px 6px; 
}

#photoblocks-grids .photoblocks-grid .block.active .buttons,
#photoblocks-grids .photoblocks-grid .block:hover .buttons {
    opacity: 1;
}

#photoblocks-grids .photoblocks-grid .block .buttons > * {
    font-size: 14px;
    color: #aaa;
    cursor: pointer;
    transition: all 0.25s;
    margin:10px 10px 0 0;
}

#photoblocks-grids .photoblocks-grid .block .index {
    display: none;
}

#photoblocks-grids .photoblocks-grid .block a:hover {
    color: #fff;
}

#photoblocks-grids .photoblocks-grid .block:hover .js-caption,
#photoblocks-grids .photoblocks-grid .block:hover .js-settings,
#photoblocks-grids .photoblocks-grid .block:hover .js-add {
    transform: scale(1);
    transform: scale(1);
}

#photoblocks-grids .photoblocks-grid .block .size-bullet {
    background: #fff;
    width: 22px;
    height: 38px;
    font-size: 30px;
    color: #fff;
    display: block;
    transition: all 0.2s;
    border-radius: 6px;
}

#photoblocks-grids .photoblocks-grid .block .size-bullet:hover {
}

#photoblocks-grids .photoblocks-grid .block .size-bullet a {
    display: inline-block;
    color: #333;
    font-size: 20px;
    height: 16px;
    width: 20px;
}

#photoblocks-grids .photoblocks-grid .block .js-add,
#photoblocks-grids .photoblocks-grid .block .js-caption,
#photoblocks-grids .photoblocks-grid .block .js-settings,
#photoblocks-grids .photoblocks-grid .block .js-shrink,
#photoblocks-grids .photoblocks-grid .block .js-clone {
    color: #fff;
    font-size: 20px;
}

#photoblocks-grids .photoblocks-grid .block .js-add {
    right: 36px;
}
#photoblocks-grids .photoblocks-grid .block .js-caption {
    right: 62px;
}
#photoblocks-grids .photoblocks-grid .block .js-settings {
    right: 62px;
}

#photoblocks-grids .photoblocks-grid .block .js-select {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 16px;
    height: 16px;
    display: block;
    border: 1px solid #ccc;
    cursor: pointer;
}
#photoblocks-grids .photoblocks-grid .block.active .js-select {
    background: #fff;
}
#photoblocks-selector {
    position: absolute;
    top: 0;
    left: 0;
    border: 2px dashed #333;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    display: none !important;
}

.photoblocks-cols-add,
.photoblocks-rows-add {
    background: #ccc;
    padding: 10px 0;
    text-align: center;
}

.photoblocks-rows-add input {
    width: 50px;
}

.photoblocks-rows-add .button i {
    font-size: 18px;
    position: relative;
    top: 4px;
}

.photoblocks-as-layout {
    border: 0;
    width: 600px;
    margin: auto;
    opacity: 0;
    transition: all 0.5s;
    -webkit-transform: translateX(2000px);
    -moz-transform: translateX(2000px);
    -ms-transform: translateX(2000px);
    -o-transform: translateX(2000px);
    transform: translateX(2000px);
    display: none;
}

.photoblocks-as-layout.current {
    opacity: 1;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
    display: block;
}
.photoblocks-as-layout.exit {
    opacity: 0;
    -webkit-transform: translateX(-2000px);
    -moz-transform: translateX(-2000px);
    -ms-transform: translateX(-2000px);
    -o-transform: translateX(-2000px);
    transform: translateX(-2000px);
}

.photoblocks-rows-add {
    margin-top: 20px;
    text-align: center;
}
.photoblocks-rows-add label {
    width: auto;
    display: inline-block;
}
.photoblocks-rows-add input[type="number"] {
    width: 100px;
    margin: 0 10px;
}
.photoblocks-rows-add .button {
    float: none;
    padding: 9px 10px;
}

#pb-image-settings .align-h,
#pb-image-settings .align-v {
    display: none;
}
.pb-form-slide {
    display: none;
}
#pb-panel-board.pb-form-slide {
    display: block;
}
.pb-form-slide .pb-inner {
    max-width: 600px;
    margin: auto;
    margin-top: 20px;
}
.pb-form-slide .pb-inner header {
    margin-bottom: 40px;
}
.pb-form-slide .pb-inner .pb-section-group {
    background: #f0f0f0;
    padding: 20px;
    margin-bottom: 40px;
    border-radius: 4px;
}
.pb-form-slide .pb-inner .pb-section-group h3 {
    margin-top: 0;
    margin-bottom: 30px;
}
.pb-form-slide .pb-inner .pb-section-group .field {
    margin-bottom: 20px;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 20px;
    padding-top: 10px;
}
.pb-form-slide .pb-inner .pb-section-group .field select {
    height: 40px;
}
.pb-form-slide .pb-inner .pb-section-group .field.field-code-social_tip .pb-settings-label {
    text-transform: none;
    margin: 0;
    padding: 10px;
    background: #fff;
    border: 1px dashed #dadada;
}
.pb-form-slide .pb-inner .pb-section-group .field .pb-settings-label {
    color: #424242;
    display: block;
    font-size: 13px;
    text-transform: uppercase;
}
.pb-form-slide .pb-inner .pb-section-group .field .pb-settings-label .pb-badge {
    display: inline-block;
    background-color: #3dc821;
    border-color: #30a11a;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: none;
}
.pb-form-slide .pb-inner .pb-section-group .field .pb-settings-label.pb-no-uppercase {
    text-transform: none;
}
.pb-form-slide .pb-inner .pb-section-group .field .additional-data {
    text-transform: none;
}
.pb-form-slide .pb-inner .pb-section-group .field .additional-data h4 {
    margin-bottom: 10px;    
}
.pb-form-slide .pb-inner .pb-section-group .field .additional-data p {
    background: #fff;
    margin:1px;
    padding: 4px 6px;
    border: 1px dotted #dedede; 
}
.pb-form-slide .pb-inner .pb-section-group .field .additional-data .pb-button {
    margin-top: 10px;
}
.pb-form-slide .pb-inner .pb-section-group .field textarea {
    height: 100px;
}
.pb-form-slide .pb-inner .pb-section-group .field.field-code-custom_css {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.pb-form-slide .pb-inner .pb-section-group .field.hidden {
    display: none;
}
.pb-form-slide .pb-inner .pb-section-group .field:last-of-type {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}
.pb-form-slide .pb-inner header h4 {
    text-transform: uppercase;
    color: #666;
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 0;
}

.photoblocks-app .block .pb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    -webkit-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    -ms-transition: opacity 0.2s;
    -o-transition: opacity 0.2s;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.photoblocks-app .block.pb-type-text .pb-overlay {
    opacity: 1;
    background: transparent;
}
.pb-show-empty-overlays .block:hover .pb-overlay,
.photoblocks-app .block.with-text:hover .pb-overlay {
    opacity: 1;
}
.photoblocks-app .block .pb-overlay .pb-caption-top {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
}
.photoblocks-app .block .pb-overlay .pb-caption-middle {
    width: 100%;
}
.photoblocks-app .block .pb-overlay .pb-caption-bottom {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
}
.photoblocks-app .block .pb-overlay .halign-center {
    text-align: center;
}
.photoblocks-app .block .pb-overlay .halign-left {
    text-align: left;
}
.photoblocks-app .block .pb-overlay .halign-right {
    text-align: right;
}
.photoblocks-app .block .pb-overlay h4 {
    font-size: 16px;
    color: #fff;
    margin: 0 0 10px 0;
}
.photoblocks-app .block .pb-overlay p {
    font-size: 12px;
    color: #fff;
    margin: 0;
}
.photoblocks-app .block .pb-block-filters {
    position: absolute;
    top: 34px;
    left: 0;
    z-index: 10;
    padding: 0;
    margin: 0;
}
.photoblocks-app .block .pb-block-filters li {
    padding: 4px 10px 4px 6px;
    font-size: 10px;
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    text-align: left;
}
.photoblocks-app .block .pb-block-filters li i {
    font-size: 12px;
    position: relative;
    top: 2px;
}
.photoblocks-app .block .pb-selector {
    position: absolute;
    top:10px;
    left: 10px;
    right:30px;
    bottom:30px;
    cursor: pointer;
    z-index: 2;
}
.field-code-mobile_layout label {
    margin-bottom: 20px;
}
.pb-dynamic-list .pb-list-item input[type="text"] {
    width: calc(100% - 40px);
    display: inline-block;
}
.mobile-layouts-list td a,
.pb-dynamic-list .pb-list-item a {
    text-decoration: none;
    color: #f00;
    font-size: 16px;
    margin-left: 10px;
}
.mobile-layouts-list {
    width: 100%;
}
.mobile-layouts-list td {
    text-align: center;
}
.mobile-layouts-list td.pb-icon-col {
    width: 30px;
}
.mobile-layouts-list span {
    display: block;
    font-size: 12px;
    text-transform: none;
    color:#666;
}
.pb-checkbox-list {
    margin-left: 20px;
}
.pb-checkbox-list label {
    display: inline-block;
    margin-right: 20px;
    text-transform: none;
}

.photoblocks-app .additional-data > div {
    display: none;
}

.pb-toast {
    position: fixed;
    z-index: 1000000;
    top: 60px;
    right: 40px;
    display: block;
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.3) 4px 4px 10px;
    opacity: 0;
}
.pb-toast-green {
    background: #cfffaf;
}
.pb-toast-red {
    background: #f00;
    color: #fff;
}
.chosen-container-single .chosen-single span {
    text-transform: none;
}
.chosen-container-single .chosen-single {
    border-radius: 0;
    background: #fff;
    box-shadow: 0;
}
.chosen-container-single .chosen-single input[type="text"] {
    height: auto;
    padding: 0;
}
.chosen-container .chosen-results li {
    text-transform: none;
}
#pb-header ul li a.pb-button.pb-menu-upgrade {
    color: #fff;
    line-height: 1;
    padding: 8px 16px;
    font-size: 14px;
    background-color:#3dc821;
    border-color:#30a11a;
}
#pb-header ul li a.pb-button.pb-menu-upgrade:hover {
    border-bottom:0;
}
.text-spot {
    display: inline-block;
    margin: 16px 0 0 20px;
    text-align: center;
    padding: 4px 10px;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
}
.text-spot p {
    margin:0;
    height: 20px;
}
#premium-facts i {
    position: relative;
    top:2px;
}
#premium-facts strong {
    color:#15bf27;
}
