/* ArtlogicCMS Admin UI version 1.2 - Responsive */


/* -------------------------------------------------------------------------------------
--------------------------------- Responsive enablers ----------------------------------
------------------------------------------------------------------------------------- */

body {
    -webkit-text-size-adjust: 100%;
}
#page_container {
    min-width: 320px;
    width: 100%;
}
#page_header {
    min-width: 320px;
}
#page_header .inner {
    min-width: 0;
}

@media screen and (max-width: 1266px) {
    #sales_hub_storestatus {
        float: none;
        margin: 10px auto 30px;
        display: block;
    }
}
/* ------------------------------------------------------------------------
--------------------------------- Size 3 ----------------------------------
------------------------------------------------------------------------ */

@media screen and (max-width: 1023px) {

    #page_header_tools_button {
        display: block;
        float: right;
        padding: 10px 0;
        font-family: 'ProximaNova', Sans-Serif;
        color: #888;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-weight: normal;
        -webkit-font-smoothing: antialiased;
        cursor: pointer;
    }

    #page_header_tools_header {
        height: 28px;
        position: relative;
        padding: 20px;
    }
    #page_header_tools_close {
        display: block;
        right: 15px;
    }

    #page_header_tools_wrapper {
        transition: transform 600ms cubic-bezier(.65,.06,.19,.96), opacity 600ms ease-in-out;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        overflow: auto;
        max-width: 320px;
        width: 100%;
        background: #fff;
        box-shadow: 0 0 15px rgba(0,0,0,0.2);
        opacity: 0;
        transform: translateX(102%);
    }
        #page_header.navigation-open #page_header_tools_wrapper {
            opacity: 1;
            transform: translateX(0%);
        }
        #navigation_container {
            padding: 0;
            width: 100%;
            position: absolute;
            top: 68px;
            left: 0;
            bottom: 68px;
            overflow: auto;
        }
        #navigation_container #navigation {
            width: 100%;
            height: auto;
        }
        ul#topnav {
            border-top: 1px solid #eee;
        }
        ul#topnav > li {
            width: 100%;
            clear: both;
            display: block;
            float: none;
            height: auto;
            border-bottom: 1px solid #eee;
            margin: 0;
        }
        ul#topnav > li a {
            width: 100%;
            clear: both;
            float: none;
            display: block;
            padding: 10px 20px;
            height: auto;
            box-sizing: border-box;
        }
        ul#topnav > li a,
        ul#topnav > li a:visited,
        ul#topnav > li a span {
            width: 100%;
            clear: both;
            float: none;
            display: block;

            font-size: 15px;
            line-height: 24px;
            text-transform: none;
            color: #111;
            letter-spacing: 0;
        }

            #topnav ul.topnav_nested_ul,
            #topnav li ul li ul {
                position: static;
                overflow: hidden;
                max-height: none;
                display: block;
                width: 100%;
                border: 0;
                background: transparent;
                max-height: 0;
                height: auto;
                -webkit-box-shadow: none;
                padding: 0;
                float: left;
                -moz-box-shadow: none;
                box-shadow: none;
                transition: max-height 600ms cubic-bezier(.65,.06,.19,.96), opacity 600ms ease-in-out;
            }
            #topnav li:hover ul ul, #topnav li.over ul ul,
            #topnav li:hover ul ul ul, #topnav li.over ul ul ul,
            #topnav li ul li:hover ul ul, #topnav li ul li.over ul ul {
                display: block;
            }   
            #topnav li .topnav_drop:after {
                margin-top: 5px;
                color: #aaa;
            }
            #topnav li ul li .topnav_drop:after {
                content: "\f0d7";
            }
            #topnav li ul li a {
                padding: 10px 20px;
                padding-left: 35px;
            }
                #topnav li ul li a:hover,
                #topnav li ul li:hover{
                    background: transparent;
                }
            #topnav li ul.topnav_nested_ul,
            #topnav li ul {
                background: #f6f6f6;
            }
            #topnav li ul li ul.topnav_nested_ul,
            #topnav li ul li ul {
                background: #eee;
            }
            #topnav li ul li ul li a {
                padding-left: 55px;
            }
            #topnav li ul li ul li ul.topnav_nested_ul,
            #topnav li ul li ul li ul {
                background: #e6e6e6;
            }
            #topnav li ul li ul li ul li a {
                padding-left: 65px;
            }
            #topnav li ul li a, #topnav li ul li a:visited, #topnav li ul li a span {
                font-size: 14px;
                line-height: 20px;
            }

            /* Hovers not active for mobile */
            #topnav > li:hover > ul, #topnav > li.over > ul, 
            #topnav li ul li:hover ul, #topnav li ul li.over ul,
            #topnav li ul li:hover ul ul, #topnav li ul li.over ul ul {

            }

            #topnav li.open > ul {
                max-height: 2000px;
                opacity: 1;
            }

    ul#topnav > li.nav-cmsbugreporter.squarebtn {
        position: static;
        padding: 20px !important;
        margin: 0 !important;
        box-sizing: border-box;
        border-bottom: 1px solid #eee !important;
    }
    #current_user {
        width: 100%;
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: 2;
        float: left;
        height: auto;
        padding: 10px 20px;
        clear: both;
        box-sizing: border-box;
        background: #f6f6f6;
        border-bottom: 1px solid #eee;
    }
        #current_user_icon {
            float: left;
            width: 10%;
            margin: 4px 5% 0 0;
        }
        #current_user_drop {
            float: left;
            width: 80%;
            opacity: 1;
            position: static;
            height: auto;
            text-align: left;
        }
        #current_user:hover #current_user_drop {
            border: 0;
            padding: 0;
            background: transparent;
        }


    .aol-dock-module {
        position: fixed;
        max-width: 100%;
        min-width: 320px;
        width: 100%;
    }

    /* Dashboard */

    .dashboard-alert__progress-tracker > header {
        flex-basis: calc(50% + 24px);
        border: none;
        flex-basis: 100%;
    }

    .dashboard-alert__icon-list {
        flex-basis: 100%;
        border-top: 1px solid #eaeaea;
    }


    .dashboard-alert__progress-tracker {
        flex-wrap: wrap;
    }

    .dashboard-section__icon-grid li {
        flex-basis: 50%;
    }
    
    #content.subsection-pages ~ #footer #right_of_buttons_below_1 .hide_disabled_rows_switch {
        display: none;
    }

    /* sales hub input fields */
    .online_sales_input_number{
        width: 100%;
        margin-bottom: 25px;
    }
    .online_sales_input_number_case {
        width:100%;
        float:none;
    }

}



/* ------------------------------------------------------------------------
--------------------------------- Size 2.5 ----------------------------------
------------------------------------------------------------------------ */

@media screen and (max-width: 830px) {

    /* Login -------------------------------- */

    .cms-login-page #page_container:before {
        display: none;
    }
    #container.subsection-login {
        padding: 50px 0 50px;
    }

    /* Preferences ------------------------------ */
    
    body.preferences_page #header {
        margin: 0 0 20px;
    }

    #preferences_fields {
        
    }
    #preferences_fields h3:nth-of-type(1) {
        /*margin-top: 0;*/
    }
    
    #preferences_fields .fieldrow .field_note {
        margin-left: 0;
        float: left;
        display: block;
        width: 100%;
        margin-top: 5px;
    }
    
    #preferences-sidebar {
        opacity: 0.5;
        transform: translate3D(100%,0,0);
        transition: transform 600ms cubic-bezier(.65,.06,.19,.96), opacity 600ms ease-in-out, box-shadow 600ms ease-in-out;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: auto;
        margin: 0;
        padding: 0 20px 70px;
        z-index: 19;
        background: #fff;
        overflow: auto;
        min-width: 300px;
        max-height: none
    }
        
        #preferences-sidebar.open {
            opacity: 1;
            transform: translate3D(0,0,0); 
            box-shadow: 0 0 15px rgba(0,0,0,0.2);
            transition: transform 600ms cubic-bezier(.65,.06,.19,.96), opacity 600ms ease-in-out;
        }
    
    #preferences_container,
    #preferences-sidebar + #preferences_container {
        margin-left: 0;
        width:100%;
    }
    
    .subsection-preferences #preferences-navigation-reveal {
        z-index: 19;
        position: fixed;
        top: 63px;
        background-color: #F9F9F9;
        padding: 12px 30px 9px;
        left: 0;
        right: 0;
        border-bottom: 1px solid #eee;
        pointer-events: auto;
    }
    
    #preferences-navigation-reveal {
        
    }
    
    #preferences_container .page-heading {
        font-size: 17px; 
        letter-spacing: 2px;
        float: left;
        padding: 0;
        width: calc(100% - 30px);
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        margin-bottom: 0;
    }
    
    .subsection-preferences #preferences_container #preferences-navigation-reveal .menu-icon {
        display: inline-block;
        float: right;    
    }

    /* General ------------------------------- */

    h1,
    body.page-pages h1,
    #header h1#heading,
    #header h2#subheading {
        font-size: 20px;
        line-height: 25px;
        margin-bottom: 20px;
        padding: 0 0 0;
    }
    #header h2#subheading {
    }

    #page_header {
        padding: 0;
    }
        body.docked_page #page_header .inner,
        #page_header .inner {
            padding: 20px 30px;
            left: 0;
            right: 0;
            min-height: 0;
            height: auto;
        }
        #page_header_tools_button {
            padding: 5px 0 0;
        }
    #page_container {
        padding: 100px 30px 59px 30px;
    }
    .layout-footer-inactive #page_container {
        padding-bottom: 30px;
    }

    /* Pages ------------------------------- */

    body.records_page.page-records #content.subsection-pages.preview-pane-active > div.left.pr20 {
        width: 100%;
        opacity: 0;
    }
    body.records_page.page-records #content.subsection-pages > div.pages-preview-pane-container  {
        position: fixed;
        background: #fff;
        bottom: 60px;
        overflow: auto;
        top: 90px;
        bottom: 50px;
        left: 0;
        right: 0;
        box-sizing: border-box;
        padding: 0 20px;
        transition: opacity 400ms ease-in-out;
        display: none;
    }
    body.records_page.page-records #content.subsection-pages.preview-pane-active > div.pages-preview-pane-container  {
        width: 100%;
        transition: opacity 400ms ease-in-out;
        display: block;
        padding: 0 20px;
    }
    body.records_page.page-records #content.subsection-pages ~ #footer {
        width: auto;
        bottom: 10px;
    }
    body.records_page.page-records #content.subsection-pages ~ #footer .inner {
        padding-left: 30px;
        padding-right: 0;
    }
    body.records_page.page-records #content.subsection-pages ~ #footer .inner .create_pages_buttons {
        padding-top: 0;
        padding-right: 0;
    }
    body.records_page.page-records #content.subsection-pages .ui-jqgrid .ui-pager-control {
        padding-top: 10px;
    }
    

    /* jqGrid ------------------------------- */

        /* Grid header ------------------------------- */

        .ui-jqgrid .ui-state-default.ui-jqgrid-hdiv {
            
        }
            .ui-jqgrid .ui-state-default.ui-jqgrid-hdiv .ui-jqgrid-hbox {
                display: none;
            }

        /* Grid content ------------------------------- */
        
        body.records_page #content > .left {
            overflow: visible;
        }
        .ui-widget {
            width: 100% !important;
            overflow: visible;
        }
        .subsection-pages .jqgrid-cell-label .pagebrowser-item {
            pointer-events: none;
        }
            .subsection-pages .jqgrid-cell-label .pagebrowser-item * {
                pointer-events: auto;
            }
        .ui-jqgrid .ui-jqgrid-bdiv {
            overflow-y: visible;
            overflow-x: hidden;
            height: auto !important;
            padding-bottom: 0px;
        }
            body #content .ui-jqgrid .jqgrow.ui-state-hover, 
            body #content .ui-jqgrid .jqgrow.ui-state-focus,
            body #content .ui-jqgrid .jqgrow.ui-state-highlight {
                border: 0 !important;
                border-bottom: 1px solid #eee !important;
            }
            .ui-jqgrid tr.jqgrow {
                float: left;
                width: 100% !important;
                display: block;
                border: 0 !important;
                border-bottom: 1px solid #eee !important;
                position: relative;
                -moz-box-sizing: border-box;
                -webkit-box-sizing: border-box;
                box-sizing: border-box;
                white-space: nowrap;
                padding-right: 40px;
            }
                .ui-jqgrid tr.jqgrow td {
                    width: auto !important;
                    float: none;
                    display: inline-block;
                    border: 0;
                    padding: 12px 10px 12px 0;
                    height: auto;
                }
                    .ui-jqgrid tr.jqgrow td.jqgrid-cell-content-empty {
                        display: none;
                    }
                .ui-state-highlight .pagebrowser-item {
                    font-weight: inherit !important;
                }
                .ui-jqgrid tr.ui-state-highlight td {
                    background: #fbfbfc !important;
                }
                .ui-jqgrid tr.alt.ui-state-highlight td {
                    background: #fff !important;
                }
            .ui-jqgrid tr.jqgrow td.jqgrid-td-move,
            .ui-jqgrid tr.jqgrow td.jqgrid-cell-locked {
                display: none;
            }
            .ui-jqgrid tr.jqgrow td.jqgrid-cell-edit_field {
                float: right;
                position: absolute;
                right: 0;
                top: 0;
                background: #fff;
                padding: 12px 10px 11px 0;
            }
            .ui-jqgrid tr.jqgrow td.jqgrid-cell-type-bool {
                display: none;
            }
            .ui-jqgrid tr.jqgrow td.jqgrid-cell-content_type,
            .ui-jqgrid tr.jqgrow td.jqgrid-cell-filepath {
                display: none;
            }

                .ui-jqgrid tr.jqgrow td.jqgrid-cell-type-bool .jqgrid-bool {
                    display: flex;
                    align-items: center;
                    border-radius: 2px;
                    border: 1px solid #ddd;
                    background: #fff; 
                    padding: 2px 2px;
                }
                .jqgrid-bool-false, .jqgrid-bool-true {
                    display: inline-block;
                    margin-right: 5px;
                }
                .ui-jqgrid tr.jqgrow td.jqgrid-cell-type-bool .jqgrid-bool .jqgrid-bool-label {
                    display: inline-block;
                    font-size: 9px;
                    color: #aaa;
                    text-transform: uppercase;
                    letter-spacing: 1px;
                }
                .ui-jqgrid tr.jqgrow td.jqgrid-cell-type-bool.jqgrid-cell-is_live {
                    display: block;
                    float: right;
                    background: #fff;
                    position: absolute;
                    right: 24px;
                    top: 0;
                    padding: 8px 16px 8px;
                }
                .ui-jqgrid .jqgrow, .ui-jqgrid .jqgrow td {
                    transition: none;
                }

            .ui-jqgrid tr.ui-row-ltr:nth-child(2n + 1),
            .ui-jqgrid tr.ui-row-ltr:nth-child(2n + 1).jqgrow td.jqgrid-cell-type-bool.jqgrid-cell-is_live,
            .ui-jqgrid tr.ui-row-ltr:nth-child(2n + 1).jqgrow td.jqgrid-cell-edit_field {
                background: #fbfbfc !important;
            }

        tr.jqgrow .jqgrid-editpencil {
            opacity: 1;
        }

        /* Grid footer ------------------------------- */

        body.standard_page #footer {
            left: 0;
            right: 0;
            padding: 0;
        }
            body.standard_page #footer .inner {
                padding-left: 20px;
                padding-right: 20px;
            }
        .ui-jqgrid .ui-jqgrid-pager {
            background: #fff;
            right: 0;
            bottom: 0;
            left: 0;
            position: fixed;
            padding: 10px 30px !important;
            box-sizing: border-box;
        }
        .ui-jqgrid .ui-pager-control {
            padding: 6px 0 0;
        }
        body.records_page #footer {
            bottom: 13px;
        }

        .jqgrid_record_count {
            display: none;
        }
        .ui-jqgrid .ui-pg-table td table.ui-pg-table td#first,
        .ui-jqgrid .ui-pg-table td table.ui-pg-table td#last {
            display: none;
        }
        /*.ui-jqgrid .ui-pg-table td table.ui-pg-table td:nth-of-type(4) {*/
        /*    padding-left: 6px !important;*/
        /*}*/

        .ui-jqgrid tr.jqgrow td.jqgrid-cell-image,
        .ui-jqgrid tr.jqgrow td.jqgrid-cell-main_image {
            padding: 0 10px 0 0;
        }
        .jqgrid-image-80 {
            width: 40px !important;
            height: 40px !important;
        }


    /* Edit screen ------------------------------- */


    .datasource_selector {
        width: 95%;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
        .datasource_selector .datasource-selector-tools-container {
            display: none;
        }
        .datasource_selector .pagination .pn_pagestats {
            display: block;
            clear: both;
        }
        .datasource_selector .row {
            min-height: 0;
        }
        .datasource_selector .objects_area .row .image_container {
            max-width: 40px !important;
            width: 20%;
            height: auto !important;
            padding-right: 10px;
            min-height: 0 !important;
            box-sizing: border-box;
        }
            .datasource_selector .objects_area .row .image_container img {
                width: 100% !important;
                height: auto !important;
            }
        .datasource_selector .row .label_container {
            padding: 0 10px 5px 0 !important;
            width: 70%;
            box-sizing: border-box;
        }
        .datasource_selector .row .preview_link_outer {
            display: none;
        }

    body#editwin_body #header {
        padding: 20px 30px;
        left: 0;
        right: 0;
        min-height: 62px;
        height: auto;
        transition: transform 600ms cubic-bezier(.65,.06,.19,.96), opacity 600ms ease-in-out;
    }
        #editwin_body .fields_focused #header,
        #editwin_body .scrolling-down #header {
            transform: translateY(-100%);
        }
        #editwin_body .page-top #header {
            transform: translateY(0%);
        }
        body#editwin_body #header:after {
            content: ".";
            clear: both;
            display: block;
            height: 0;
            line-height: 0;
            overflow: hidden;
            visibility: hidden;
        }
        #page_container #editwin_close, #editwin_body #editwin_close {
            right: 20px;
            margin-top: -15px;
        }
    #editwin_body #footer {
        left: 0;
        right: 0;
        padding: 0 30px;
    }
    #edit_screen_sidebar_pane {
        position: static;
        width: 100% !important;
        padding-bottom: 0;
        padding-top: 20px;
        box-sizing: border-box;
        margin: 0 0 25px;
        border-bottom: 1px solid #eee;
    }
        #edit_screen_sidebar_pane.edit_screen_sidebar_pane_type_visibility {
            padding: 0 30px 0;
            margin-bottom: 20px;
            border-bottom: 0;
        }
        #edit_screen_visibility_header {
            cursor: pointer;
            padding-bottom: 8px;
            padding-top: 22px;
        }
        #edit_screen_visibility_header_status {
            display: inline-block;
        }
        #edit_screen_visibility_header_button {
            display: block;
        }
        #edit_screen_visibility_content {
            max-height: 0;
            overflow: hidden;
            clear: both;
            transition: max-height 600ms cubic-bezier(.65,.06,.19,.96), opacity 600ms ease-in-out;
        }
        #edit_screen_sidebar_pane.panel-open #edit_screen_visibility_content {
            max-height: 600px;
        }
        .f2 #edit_screen_sidebar_pane .field_pane .fieldrow {
            margin-bottom: 6px;
        }
        #edit_screen_visibility_pane .edit_screen_visibility_field_inner .field > .left {
            max-width: 80% !important;
        }
        #edit_screen_visibility_pane .edit_screen_visibility_field_inner .field > .left.fl {
            width: auto !important;
        }
        .f2 #edit_screen_visibility_pane .edit_screen_visibility_field .fieldrow > div.field > .left,
        #edit_screen_visibility_pane .edit_screen_navigation_advanced_wrapper .fieldrow > div.field > .left {
            width: auto !important;
        }
        .f2 #edit_screen_visibility_pane.field_pane .edit_screen_visibility_field .fieldrow {
            margin-bottom: 15px;
        }
    body.edit_page_visibility_pane .f2 #fieldscontainer, body.edit_page_visibility_pane .f2 .fieldscontainer {
        padding-right: 0;
    }

    .f2 #fieldscontainer, .f2 .fieldscontainer, 
    body#editwin_body.docked_page #content-inner {
        margin-top: 0;
        padding-top: 0;
    }
    .f2 div.wide .fieldrow, .f2 div.spaced .fieldrow, .f2 .fieldrow {
        margin: 0 0 20px;
    }
    .f2 .fieldrow > label.left-column,
    #preferences_fields .fieldrow > label {
        width: 100% !important;
        margin: 0 0 10px;
        color: #888;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-weight: normal;
        -webkit-font-smoothing: antialiased;
    }
        #preferences_fields .fieldrow > label .fl,
        .f2 .fieldrow > label.left-column .fl {
            color: #888;
        }
        .f2 .fieldrow.fieldrow_type_bool > label.left-column {
            display: none;
        }
    .f2 .fieldrow label.left-column .fl {
        padding: 0;
    }
    .f2 .fieldrow > div.field {
        width: 100% !important;
    }
    .f2 .fieldrow > div.field > .left {
        width: 100% !important;
    }

    .f2 .fieldrow.fieldrow_type_subheading {
        margin: 5px 0 25px;
    } 
    .f2 .fieldrow.fieldrow_type_subheading .field {
        padding-top: 20px;
    }

    /* Images and objects */

    .images_and_objects_container .images_and_objects_container_inner .images_and_objects_table_wrapper {
        overflow: auto;
        width: 100%;
    }
    .images_and_objects_container table.jqrowscols {
        min-width: 500px;
    }
    .images_and_objects_container table.jqrowscols td img.img {
        max-width: 40px;
        max-height: 40px;
    }
    .images_and_objects_container table.jqrowscols th {
        width: auto !important;
    }
    .images_and_objects_container table.jqrowscols td.f, 
    .images_and_objects_container table.jqrowscols td {
        height: auto;
        width: auto !important;
        padding-bottom: ;
    }
    .images_and_objects_container table.jqrowscols td div.img-container, .images_and_objects_container table.jqrowscols td div.cb-container, .images_and_objects_container table.jqrowscols td div.select-container {
        height: 40px;
    }
    .images_and_objects_container table.jqrowscols td.dnd-handle span {
        height: 40px;
    }
    .images_and_objects_container table.jqrowscols td.dnd-handle span:after {
        line-height: 44px;
    }
    table.jqrowscols td.deletebtn {
        
    }
    .images_and_objects_container table.jqrowscols td .f,
    .images_and_objects_container .rowscols-rte-content {
        height: auto;
        overflow: hidden !important;
        display: block;
        border: 0 !important;
        background: none !important;
        padding: 0 !important;
    }
    .rowscols-rte-content, .rowscols-readonly-content {
        padding: 0;
    }
    .rowscols-rte-content .rowscols-rte-content-inner,
    .images_and_objects_container table.jqrowscols tr:hover .rowscols-rte-content-inner {
        max-width: 120px;
        height: auto;
        border: 0 !important;
        background: none !important;
        padding: 0;
    }
    .reset_styles h1, .reset_styles h2, .reset_styles h3, .reset_styles h4, .reset_styles h4 a, .reset_styles h4 a:visited, .reset_styles h5, .reset_styles h6, .reset_styles p, .reset_styles blockquote {
        display: inline !important;
        white-space: nowrap;
    }
    .images_and_objects_container table.jqrowscols td.deletebtn span {
        height: 40px;
    }
    .images_and_objects_container table.jqrowscols td.deletebtn span:after,
    table.jqrowscols td .rowscols_editbtn a:after {
        line-height: 40px;
    }
    .images_and_objects_container table.jqrowscols td .rowscols-livedata-content .description {
        display: none;
    }
    .images_and_objects_container .squarebtns ul li,
    .cmsuploader_button {
        margin: 0 10px 10px 0 !important;
    }
    .images_and_objects_container div.padded {
        padding-bottom: 3px;
    }

    /* TinyMCE */

    .mceToolbar .mceToolbarRow2 {
        display: none;
    }

    /* Rowscols */
    
    .rowscols_table_wrapper {
        overflow: auto;
        width: 100%;
    }
    .rowscols_table_wrapper table.jqrowscols {
        min-width: 500px;
    }

    /* Multisearch datasource selector */

    .multisearchable-field .multi-searchable-search-form .multi-searchable-search-form-label {
        padding: 0 0 8px;
    }

    /* Date fields */

    .f2 .fieldrow.fieldrow_type_date .field_type_date_container:nth-of-type(2) {
        margin-right: 0;
    }


    /* Page specific ------------------------------- */

    .subsection-artworks .ui-jqgrid tr.jqgrow td.jqgrid-cell-availability,
    .subsection-artworks .ui-jqgrid tr.jqgrow td.jqgrid-cell-creation_date {
        display: none !important;
    }
    
    /* Font records
    --------------------------------------------------- */
    
    

     /* Dashboard ------------------------------- */

    .dashboard-subsection.columns-8 {
        max-width: 58.3%;
        flex-basis: 50%;
        flex-grow: 1;
    }

    .dashboard-subsection.columns-4 {
        max-width: 41.6%;
        flex-basis: 41.6%;
        flex-grow: 1;
    }
    
    .dashboard-subsection.columns-6 {
        max-width: 100%;
        flex-basis: 100%;
    }


    /* -------------------------------------------------
    --------- Online sales hub -------------- */

    #sales_hub_navigation {
        float:none;
        display: block;
        width: 85%;
        margin-left:auto;
        margin-right:auto;
    }
    #sales_hub_navigation  ul li,
    #sales_hub_navigation  h4 {
        text-align: center;
    }
    .subsection-online-sales #home {
        display: block;
    }
    .online-sales-hub-body {
        width: 100%;
    }
    .sales-hub-step-start{
        display: block;
        margin: 20px auto 0 auto;
        position: relative;
        float: none;
        width: 55px;
        text-align: center;
    }
    .step-link-body {
        display: block;
        text-align: center;
    }
    .step-link-icon {
        display: block;
        margin: 20px auto 20px auto;
        position: relative;
        float: none;
    }
    .sales-hub-step-count-circle,
    .subsection-online-sales #home #preferences_container {
        display: table;
        margin: auto;
    }
    .sales-hub-step-count-circle {
        float: none;
        display: table;
        margin-bottom: 40px;
    }
    .online-sales-intro-text {
        text-align: center;
        height: 90px;
        margin: auto;
        width: 90%;
        display: block;
    }
    .online-sales-page-heading {
        font-weight: 300;
        font-size: 26px !important;
        margin-bottom: 14px !important;
        color: #111111;
    }
    .subsection-online-sales #preferences_container .page-heading {
        font-size: 20px;
    }
    .sales-hub-step-count {
        margin: auto;
        display: table-cell;
        vertical-align: middle;
    }
    .step-links-intro-text {
        width: 100%;
    }
    .online_sales_input_number_case {
        width:100%;
        float:none;
    }
    .online-sales-hub-body .page-heading {
        display: contents;
    }
    .subsection-online-sales #home #preferences_container {
        display: contents;
    }
}



/* ------------------------------------------------------------------------
--------------------------------- Size 2 ----------------------------------
------------------------------------------------------------------------ */

@media screen and (max-width: 767px) {

    /* General ------------------------------- */

    #header {
        margin: 0 0 20px;
    }
    h1,
    body.page-pages h1,
    #header h1#heading,
    #header h2#subheading {
        margin-bottom: 0;
        padding: 0 0 0;
    }
    #header h2#subheading:before {
        display: none;
    }
    #header h2#subheading {
        padding-left: 0;
        width: 100%;
        float: none;
        clear: both;
        margin-left: 0;
    }

    #page_header {
        
    }
        body.docked_page #page_header .inner,
        #page_header .inner {
            padding: 20px;
        }
    #page_container {
        padding-right: 20px;
        padding-left: 20px;
    }

    body.page-pages #content {
        margin-bottom: 0;
    }
    #content_module {
        width: 100%;
        padding: 0;
        margin: 0 0 30px;
        padding: 0 0 30px;
        border-bottom: 1px solid #eee;
    }
    #sidebar {
        float: left;
        width: 100%;
        padding: 0;
    }


    /* Edit screen ------------------------------- */

    .edit_screen_unsaved_prompt div.aolprompt .aolpromptbuttons button.aolpromptdefaultbutton {
        float: left;
        width: 100%;
        margin-left: 0 !important;
        margin-bottom: 10px !important
    }
        .edit_screen_unsaved_prompt div.aolprompt .aolpromptbuttons button.aolpromptdefaultbutton span {
            width: 100%;
        }

    .cmsuploader_queue_wrapper {
        width: 100%;
        box-sizing: border-box;
    }
    #editwin_body #content-outer {
        padding-top: 77px;
    }
    .f2 #fieldscontainer,
    .f2 .fieldscontainer,
    body#editwin_body.docked_page .fieldscontainer {
        padding-top: 30px;
    }
    body.edit_page_visibility_pane .f2 #fieldscontainer, 
    body.edit_page_visibility_pane .f2 .fieldscontainer,
    body#editwin_body.docked_page.edit_page_visibility_pane .fieldscontainer {
        padding-top: 0;
    }
    .f2 #edit_screen_visibility_header .fieldrow h3 {
        font-size: 13px;
        letter-spacing: 2px;
    }

    body#editwin_body #header {
        padding: 20px;
    }
    #page_container #editwin_close, #editwin_body #editwin_close {
        right: 15px;
    }
    .f2 .fieldrow {
        padding: 0 20px;
    }
    #editwin_body #footer {
        padding: 0 20px;
    }
    
    #edit_screen_sidebar_pane {
            padding-left: 0;
            padding-right: 0;
    } 
        #edit_screen_sidebar_pane.edit_screen_sidebar_pane_type_visibility {
            padding-left: 0;
            padding-right: 0
        }
        .f2 #edit_screen_sidebar_pane .field_pane {
            border-left: 0;
            border-right: 0;
            border-radius: 0;
        }
        .f2 #edit_screen_sidebar_pane .field_pane .fieldrow {
            padding-left: 20px;
        }
        #edit_screen_sidebar_pane #edit_screen_visibility_header {
            background: #f9f9f9;
        }
        #edit_screen_sidebar_pane #edit_screen_visibility_content {
            background: #f9f9f9;
        }

    .images_and_objects_container table.jqrowscols td.dnd-handle span {
        display: none;
    }

    .image-field-thumbnail-container {
        margin: 0 0 20px;
    }
    .fp_editor_launch_btn_wrapper .fp_editor_launch_btn_inner {
        padding: 30px;
    }

    /* jqGrid ------------------------------- */

        body.records_page #footer {
            width: 45%;
        }
        body.records_page #footer #buttons_below_container .left.pr10 {
            padding: 0;
        }
        /* Currently only the 'new records' button works on smaller mobile devices, we will add a menu for the other buttons later */
        body.records_page #footer #buttons_below_container .squarebtns li {
            display: none;
        }
        body.records_page #footer #buttons_below_container .squarebtns li:nth-of-type(1) {
            display: block;
            margin-right: 0 !important;
        }
        body.records_page #content.subsection-pages ~ #footer #buttons_below_container .squarebtns li {
            display: block;
        }
        body.records_page #content.subsection-pages ~ #footer #buttons_below_container .squarebtns li:nth-of-type(1) {
            margin-right: 15px !important;
        }
        #content.subsection-pages ~ #footer .inner {
            padding-left: 30px;
            padding-right: 30px;
        }
        #search_items {
        }

        body.records_page.page-records #content.subsection-pages {
            overflow: visible;
        }

        .ui-jqgrid .ui-jqgrid-view {
            margin-left: -20px;
            margin-right: -20px;
            width: auto !important;
        }
            .ui-jqgrid .ui-jqgrid-view tr.jqgrow {
                padding: 0 20px;
            }
            .ui-jqgrid tr.jqgrow td.jqgrid-cell-type-bool.jqgrid-cell-is_live {
                right: 39px;
            }
            .ui-jqgrid tr.jqgrow td.jqgrid-cell-edit_field {
                padding-right: 25px;
            }

        /* Grid footer ------------------------------- */
        
        body.records_page.page-records #content.subsection-pages ~ #footer {
            bottom: 13px;
        }
        body.records_page.page-records #content.subsection-pages ~ #footer .squarebtns a.create_new_page,
        body.records_page.page-records #content.subsection-pages ~ #footer .squarebtns a.create_new_folder {
            font-size: 10px;
            height: 35px;
            padding: 7px 12px !important;
        }
        body.records_page.page-records #content.subsection-pages ~ #footer .squarebtns a.create_new_page:before,
        body.records_page.page-records #content.subsection-pages ~ #footer .squarebtns a.create_new_folder:before {
            font-size: 12px;
        }

        .ui-jqgrid .ui-jqgrid-pager {
            padding: 10px 20px !important;
        }

        tr.jqgrow:hover .jqgrid-editpencil {
            animation: none;
        }


    .aolprompt {
        max-width: 90%;
    }
    div.aolprompt .aolpromptmessage {
        padding-right: 50px;
    }
    
    /* Preferences ------------------------------- */
    
    .subsection-preferences #preferences-navigation-reveal {
        padding: 12px 20px 9px;
    }
        
        #preferences-sidebar {
            left: 0;    
        }

    
    /* Dashboard ------------------------------- */
    
    .dashboard-section:last-of-type {
        margin-bottom: 30px;
    }
    
    .dashboard-section > header.dashboard-header-hidden {
        padding-top: 0;    
    }
    
    .dashboard-alert__icon-list,
    .dashboard-stats__stat-list {
        flex-wrap: wrap;
    }

    .dashboard-alert__icon-list > li,
    .dashboard-stats__stat-list > li {
        flex-basis: 50%;
        box-sizing: border-box;
    }

    .dashboard-alert__icon-list > li:first-child,
    .dashboard-alert__icon-list > li:nth-child(2),
    .dashboard-stats__stat-list > li:first-child,
    .dashboard-stats__stat-list > li:nth-child(2),
    .dashboard-stats__stat-list.stat-item-count-5 > li:nth-child(3),
    .dashboard-stats__stat-list.stat-item-count-5 > li:nth-child(4),
    .dashboard-stats__stat-list.stat-item-count-6 > li:nth-child(3),
    .dashboard-stats__stat-list.stat-item-count-6 > li:nth-child(4) {
        border-bottom: 1px solid #eaeaea;
    }

    .dashboard-alert__icon-list > li:nth-child(odd),
    .dashboard-stats__stat-list > li:nth-child(odd) {
        border-right: 1px solid #eaeaea;
    }

    .dashboard-alert__icon-list > li:nth-child(even),
    .dashboard-stats__stat-list > li:nth-child(even) {
        border-right: none;
    }

    .dashboard-subsection {
        margin-bottom: 50px;
        padding: 0;
    }

    .dashboard-subsection.columns-8 {
        flex-basis: 100%;
        max-width: 100%;
        flex-grow: 1;
    }

    .dashboard-subsection.columns-4 {
        flex-basis: 100%;
        max-width: 100%;
        flex-grow: 1;
    }
    
    .help_guide_navigation {
        width: 100%;
    }
    
    .help_guide_navigation ~ .help_guide {
        width: 100%;
        padding: 0;
    }
    
    .dashboard-stats__stat-list li .stat-figure {
        font-size: 45px;
        line-height: 45px;
        height: 45px;
        margin-bottom: 10px;
    }
    
    /* Alert boxes/banners ------------------------------- */
    .alert-box-container.alert-banner {
        position: relative;
    }
    .alert-box-container.alert-banner,
    .alert-box-container.alert-banner .alert-box-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .alert-box-container.alert-banner .alert-box-content {
        margin-bottom: 15px;
    }
    .alert-box-container.alert-banner .alert-box-header {
        margin-bottom: 10px;
    }
    .alert-box-container.alert-banner .alert-box-banner-message {
        margin-right: 0;
    }
    .alert-box-container.alert-banner .alert-box-close {
        position: absolute;
        margin: 0;
        top: 9px;
        right: 5px;
        height: 20px;
        width: 20px;
    }
    .alert-box-container.alert-banner.create-page-alert .alert-box-header:before,
    .alert-box-container.alert-banner.page-not-live-alert .alert-box-header:before {
        display: none;
    }
    .alert-box-container.alert-banner.create-page-alert .alert-box-header .banner-header:before,
    .alert-box-container.alert-banner.page-not-live-alert .alert-box-header .banner-header:before {
        display: block;
    }
    .alert-box-container.alert-banner.create-page-alert .alert-box-header .banner-header,
    .alert-box-container.alert-banner.page-not-live-alert .alert-box-header .banner-header {
        display: flex;
        line-height: 16px;
        margin-right: 12px;
    }
    
    .dashboard-alert__system-updates {
        display: flex;
        flex-direction: column;
        padding-bottom: 60px;
    }
    .dashboard-alert__system-updates aside,
    .dashboard-alert__system-updates main {
        width:100%;
    }
    .dashboard-alert__system-updates aside {
        border-right:none;
        border-bottom: 1px solid #eaeaea;
    }
    .dashboard-alert__system-updates aside .button-wrapper {
        position: absolute;
        bottom: 0;
        left: 0;
        padding: 14px;
        box-sizing: border-box;
    }
        .dashboard-section .system-update .system-update-label .system-update-view {
        display: block;
        margin-left: 0;
    }
    /* vat base rate styling */
    .online-sales-vat-row{
        text-align: center;
    }
    .online-sales-vat-input,
    .online_sales_vat_input_number {
        float:none !important;
        margin: 5px auto;
        display: block;
        text-align: center;
        height: 25px;
    }
}



/* ------------------------------------------------------------------------
--------------------------------- Size 1 ----------------------------------
------------------------------------------------------------------------ */

@media screen and (max-width: 459px) {

    #preferences_fields .fieldrow .field .multi_field div {
        width: 50%;
    }

    #editwin_body #footer .squarebtns li {
        margin: 0 10px 0 0 !important;
    }
    #editwin_body #footer .squarebtns li:last-child {
        margin-right: 0 !important;
    }
    #editwin_body #footer .squarebtns li a {
        font-size: 10px;
    }


    .dashboard__welcome-user {
        float: none;
        margin-top: 20px;
    }

    .dashboard__welcome-user div {
        order: 2;
    }

    .dashboard__welcome-user .user_initials,
    .dashboard__welcome-user .image {
        order: 1;
        margin-left: 0;
        margin-right: 16px;
    }

    .getting_started_preferences_grid li {
        flex-basis: 100%;
        padding-left: 0;
        padding-bottom: 0;
    }
    #content.subsection-pages .ui-jqgrid .ui-jqgrid-pager {
        padding: 10px 14px !important;
    }
    #content.subsection-pages .ui-jqgrid .ui-pg-table td table.ui-pg-table:before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 40px;
        background-color: white;
        display: block;
    }
    #content.subsection-pages .ui-jqgrid .ui-pg-table td table.ui-pg-table td#prev {
        position: absolute;
        left: 23px;
    }
    #content.subsection-pages .ui-jqgrid .ui-pg-table td table.ui-pg-table td:nth-of-type(4) {
        padding-right: 0!important;
    }
    #content.subsection-pages ~ #footer .inner {
        padding-left: 20px;
        padding-right: 20px;
    }
    #content.subsection-pages ~ #footer .inner .create_pages_buttons {
        width: 100%;
        padding-right: 0;
    }
    #content.subsection-pages ~ #footer .inner .create_pages_buttons .squarebtns {
        width: 100%;
    }
    #content.subsection-pages ~ #footer .inner .create_pages_buttons .squarebtns ul {
        display: flex;
        justify-content: flex-start;
        margin-right: 0!important;
    }
    body.records_page.page-records #content.subsection-pages .ui-jqgrid .ui-pager-control {
        padding-top: 7px;
    }
    body.records_page.page-records #content.subsection-pages ~ #footer .inner {
        padding-left: 10px;
    }
    body.records_page.page-records #content.subsection-pages ~ #footer .squarebtns {
        margin-right: 10px!important;
    }
    body.records_page.page-records #content.subsection-pages ~ #footer .squarebtns a.create_new_page,
    body.records_page.page-records #content.subsection-pages ~ #footer .squarebtns a.create_new_folder {
        font-size: 10px;
        height: 35px;
        padding: 7px 12px !important;
        letter-spacing: 1.1px
    }
    body.records_page.page-records #content.subsection-pages ~ #footer .squarebtns a.create_new_page:before,
    body.records_page.page-records #content.subsection-pages ~ #footer .squarebtns a.create_new_folder:before {
        font-size: 12px;
        margin-right: 5px;
    }
    
    /* Alert boxes/banners ------------------------------- */
    
    .alert-box-container.alert-popup .alert-box-ui {
        flex-direction: column;
    }
    .alert-box-container .alert-box-ui-item {
        margin-bottom: 15px;
        margin-left: 0;
        margin-right: 0;
    }
    .alert-box-container .alert-box-ui-item:last-child {
        margin-bottom: 0;
    }
    .field_type_content_alert_box .alert-box-links .alert-box-link-container {
        margin-right: 0;
        width: 100%;
    }
    .field_type_content_alert_box .alert-box-links .alert-box-link-container a {
        width: 100%;
        margin-right: 0;
    }



}

@media screen and (max-width: 350px) {
    body.records_page.page-records #content.subsection-pages ~ #footer .squarebtns a.create_new_page,
    body.records_page.page-records #content.subsection-pages ~ #footer .squarebtns a.create_new_folder {
        font-size: 8px;
        padding: 7px 10px !important;
        letter-spacing: 1px
    }
}

