﻿.layout_row_columns .form-group a.btn {
    padding: 0;
    margin-left: 5px;
    margin-right: 20px !important;
}

.example_wrapper {
    max-width: 1000px;
    margin: 10px auto;
}

.sortable_box {
    border: 1px solid #eaeaea;
}


.toggleswitch:checked + .toggleswitch_view {
    color: #ff0000;
}
.sectionIdentifire {
    position: absolute;
    right: 0;
    height: 24px;
    font-size: 12px;
    z-index:999;
}
.checklist-heading {
    border:0;
    width:100%;
    font-weight:600;
}

.layout_section_control {
    float: left;
    margin-left: 5px;
    text-align: center;
    font-size: 21px;
}

    .layout_section_control a {
        display: block;
        color: #aaa;
    }

        .layout_section_control a:hover {
            color: #999;
        }

        .layout_section_control a:active {
            color: #777;
        }

.layout_sections {
    padding: 0;
    margin: 0;
    list-style: none;
    padding-bottom:24px;
}

    .layout_sections > li { /*+ li {*/
        margin-top: 10px;
    }

        

.placeholder, .ui-sortable-placeholder {
    border: 1px dashed #0f54c2;
    height: 100px;
    background: #0f54c2;
    border-radius: 5px;
    opacity: 0.6;
    list-style-type:none;
    margin:10px 0;
}
.checklist-section {
    display:flex;
    flex-direction:column;
    margin-bottom:6px;
}

    .checklist-section .section-header {
        display: flex;
        align-items: center;
        margin-bottom: 4px;
    }
        .checklist-section .section-header .dropdown svg {
            padding:8px;
        }
        .checklist-section .section-header .icon {
            width: 32px;
            height: 32px;
            font-size: 32px;
            position:relative;
        }
        .checklist-section .section-header svg {
            width: 32px;
            height: 32px;
            font-size: 32px;
            padding: 4px;
            cursor: pointer;
            position:absolute;
            top:0;
            left:0;
            transition:all 0.240s ease-in-out;
        }

    .checklist-section.sort .section-header .icon .icon-section,
    .checklist-section.sort .section-header .icon .icon-collaps{
        display: none;
    }
    .checklist-section.sort .section-header .icon .layout_section_drag {
        opacity:1;
        pointer-events:all
    }
    .checklist-section .section-header .icon .icon-section {
        opacity: 1;
        pointer-events: none;
    }

        .checklist-section .section-header .icon.collaps .icon-section {
            opacity: 0;
            pointer-events: none;
        }

        .checklist-section .section-header .icon:hover .icon-section {
            opacity: 0;
        }

        .checklist-section .section-header .icon .icon-collaps {
            opacity:0;
        }

        .checklist-section .section-header .icon:hover .icon-collaps {
            opacity: 1;
        }
        .checklist-section .section-header .icon.collaps .icon-collaps {
            opacity: 1;
            transform:rotate(-90deg)
        }

        .checklist-section .section-header .icon .layout_section_drag {
            opacity:0;
            pointer-events:none;
        }
        
    .checklist-section .section-header input {
        margin:0;
        padding-left:2px;
        font-weight:600;
        font-size:16px;
        border:0;
        flex-grow:1;
    }
    .checklist-section .section-container {
        display: flex;
    }

        .checklist-section .section-container .section-indicator {
            width: 4px;
            background: #ff6600;
            margin: 0 16px;
        }

        .checklist-section .section-container .section-area {
            padding:12px 0;
            width:100%
        }

.layout_section {
    background-color: #f4f4f4;
    padding: 0;
    border-radius: 4px;
    display: flex;
    margin-bottom:8px;
}

.layout_section_drag {
    color: #ccc;
    font-size: 18px;
    cursor: grab !important;
}

svg.layout_section_drag{
    color:#222222;
}

.layout_section_drag:active {
    cursor: grabbing
}

    .layout_section_drag:hover {
        color: #0f54c2;
    }

.layout_section > .sortable_box_control {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 32px;
    flex-shrink: 0;
}


    .layout_section > .sortable_box_control > .dropdown {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        color: #232323;
        z-index: 999;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 4px;
    }

.sortable-field-option {
    width: 24px;
    height: 24px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-sizing: border-box;
}

    .sortable-field-option:hover {
        background-color: #fff;
        color: #0f54c2;
    }

.section_control {
    margin-left: 40px;
    margin-top: 10px;
    text-transform: uppercase;
    font-size: 12px;
}

    .section_control a {
        color: #999;
    }

.sections_control {
    margin-top: 10px;
    text-transform: uppercase;
    font-size: 12px;
}

    .sections_control a {
        color: #999;
    }


.layout_rows {
    list-style: none;
    padding: 0
}

    .layout_rows li.placeholder {
        background-color: #eeeeee;
        position: relative;
        border: 1px dashed #aaa;
        border-left: 3px solid #aaa;
        height: 50px;
    }

    .layout_rows > li + li {
        margin-top: 10px;
    }

.layout_row {
    border-radius: 0px;
    min-height: 50px;
    padding: 0;
    background-color: #fff;
}

    .layout_row > .sortable_box_control {
        font-size: 16px;
        margin-right: 10px;
        margin-top: 2px;
    }

.layout_row_columns {
    overflow: hidden;
    padding: 10px 0;
}

.layout_row_column {
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

.column_control {
    overflow: hidden;
    padding: 0;
}

    .column_control a {
        color: #909090;
        font-size: 11px;
        text-transform: uppercase;
    }

.layout_column_edit {
    float: left;
}

.layout_column_add_module {
    float: right;
}





.layout_modules {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .layout_modules > li.placeholder {
        height: 0px;
        background-color: #fafafa;
    }

.layout_module {
    background-color: #fafafa;
    padding: 5px 10px;
}

.layout_modules > li + li {
    margin-top: 5px;
}
/***********************/
body.dragging, body.dragging * {
    cursor: move !important;
}

.dragged,.ui-sortable-helper {
    position: absolute;
    opacity: 0.8 !important;
    z-index: 2000;
    box-shadow:0 0 10px rgba(0,0,0,0.4)
}

.switch-def {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

     /*Hide default HTML checkbox */
    .switch-def input {
        opacity: 0;
        width: 0;
        height: 0;
    }

    /*******************************/
    /* The slider */
    .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.three-dots:after {
    cursor: pointer;
    color: #FCC;
    content: '\2807';
    font-size: 20px;
    padding: 0 5px;
}

.dropbtn {
    background-color: #04AA6D;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    left: 12px;
    font-size: 13px;
    top: 24px
}

    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        .dropdown-content a:hover {
            background-color: #ddd;
        }

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #3e8e41;
}
