@media (max-width: 1200px) {
    #builder-panel,
    #builder-panel-open-container {
        display: none;
    }
}

body.sidebar-hidden #builder-panel-open-container {
    display: none;
}

#page-blocks {
    position: relative;
}

#builder-panel {
    width: 240px;
    left: -240px;
    z-index: 75;
}

#builder-block-edit {
    display: none;
}

.builder-panel-bottom.side-menu-list .fm-icon {
    top: 3px;
}

.builder-panel-contents {
    text-align: center;
    padding-top: 1em;
}

.builder-panel-contents .side-menu-item {
    margin-bottom: 30px;
}

.builder-panel-contents .side-menu-item button {
    width: 80%;
    margin-bottom: 10px;
}

.builder-panel-contents .side-menu-item button.secondary:hover {
    background-image: linear-gradient(rgba(0,0,0,.1), rgba(0,0,0,.1));
}

.builder-panel-contents .side-menu-item .select-container {
    width: 80%;
    margin: 10px auto 0 auto;
}

.builder-panel-bottom {
    position: fixed;
    z-index: 65;
    bottom: 0;
    margin: 0;
    width: 240px;
    border-top: 1px solid #c5d6de;
    border-right: 1px solid #c5d6de;
    background-color: white;
}

.builder-panel-bottom:hover {
    border-right: 1px solid #c5d6de;
}

.page-builder .col-dashboard {
    margin-bottom: 0px;
}

.page-builder .row {
    margin-bottom: 30px;
}

.page-builder .dashboard-block,
.page-builder .row {
    position: relative;
}

.drop-target {
    position: absolute;
    width: 30px;
    height: 100%;
}

.drop-target.drop-placeholder {
    position: static;
    width: auto;
    height: auto;
}

.col-dashboard.col-placeholder {
    padding: 0px;
    flex: 0;
}

.drop-target.invalid-drop-target {
    width: 0px;
}

.page-builder .row.invalid-row {
    margin: 0;
}

.page-builder .row.invalid-row .row-drag {
    display: none;
}

.page-builder .row-drag {
    display: block;
    position: absolute;
    top: 10px;
    left: -20px;
    cursor: move;
    z-index: 50;
    font-size: 30px;
    height: 30px;
    left: -15px;
    color: #A6AEBB;
    top: 50%;
    transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

.page-builder .row-drag:hover {
    color: #213654;
}

.block-toolbar {
    z-index: 1020;
    height: 45px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: white;
    color: #818181;
    border-bottom: 1px solid #d8e2e7;
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px) calc(.25rem - 1px);
    opacity: 0;
    visibility: hidden;
    filter: alpha(opacity=0);
    -webkit-transition: all 0.2s ease-out-in;
    -moz-transition: all 0.2s ease-out-in;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    box-shadow: #818181 0px 3px 10px 1px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.block-toolbar .block-toolbar-left {
    float: left;
    margin-left: 10px;
    cursor: move;
}

.block-toolbar .block-toolbar-right {
    float: right;
    margin-right: 10px;
    cursor: pointer;
}

.block-toolbar .block-toolbar-right .edit-block {
    margin-right: 5px;
}

.block-toolbar .fm-icon {
    height: 2em;
}

.page-builder .dashboard-block:hover .block-toolbar {
    opacity: 1;
    visibility: visible;
    filter: alpha(opacity=100);
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.page-builder .row.dragged,
.dashboard-block.dragged {
    position: absolute;
    top: 0;
    opacity: 0.5;
    z-index: 2000;
    cursor: move !important;
}

.row.placeholder,
.dashboard-block.placeholder  {
    position: relative;
    background-color: white;
    color: #A6AEBB;
    border: 3px dashed;
    border-radius: 3px;
}

.row.placeholder {
    margin-left: 0px;
    margin-right: 0px;
}

.row.placeholder .col-dashboard,
.dashboard-block.placeholder .dashboard-block-container-placeholder {
    font-size: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.ui-resizable-handle {
    color: #A6AEBB;
    font-size: 16px;
    z-index: 50 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ui-resizable-handle:hover {
    color: #213654;
}

.ui-resizable-handle.ui-resizable-e {
    border-left: 2px solid;
    border-right: 2px solid;
    margin-top: 0px !important;
    height: 60px;
    top: 50%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 7px;
    right: -3px;
}

.ui-resizable-handle.ui-resizable-e:before {
    font-family: "FontAwesome";
    content: '\f060';
    margin-right: 2px;
    box-sizing: border-box;
}

.ui-resizable-handle.ui-resizable-e:after {
    font-family: "FontAwesome";
    content: '\f061';
    margin-left: 2px;
    box-sizing: border-box;
}

.ui-resizable-handle.ui-resizable-s {
border-top: 2px solid;
    border-bottom: 2px solid;
    width: 60px;
    left: 50%;
    -ms-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    height: 7px;
    bottom: -19px;
}

.ui-resizable-handle.ui-resizable-s:before {
    font-family: "FontAwesome";
    content: '\f062';
    position: absolute;
    bottom: 0;
}

.ui-resizable-handle.ui-resizable-s:after {
    font-family: "FontAwesome";
    content: '\f063';
    position: absolute;
    top: 0;
}

.invalid-row .ui-resizable-handle {
    display: none !important;
}

.block-edit-swal #swal2-content {
    padding: 20px 30px 0px 30px;
}

.block-edit-swal label {
    float: left;
}

.page-builder .invalid-row.ui-resizable [class*='col-'] {
    padding-right: 0px;
    padding-left: 0px;
}

.page-builder .dataTables_wrapper .row {
    margin-bottom: 0px
}

#page-blocks .card-block.foreman-table-wrapper {
    overflow-y: auto;
}

.foreman-body.foreman-body-dark .placeholder {
    background-color: var(--foreman-blue-700);
    border-color: var(--foreman-blue-500);
    color: var(--foreman-blue-200)
}