@import url(icons.css);

@import url(themes/qusion/qusion.ui.toolbox.css);

/* Helpers */

.ui-clear { clear: both; }

.ui-popup { position: absolute; }

.ui-helper-clearfix { display: block; }


/* Page wrapper */

.qusion-cms-wrapper {
    border-left: 1px solid #e7e6e6;
    bottom: 0;
    left: 0;
    overflow: auto;
    position: absolute;
    right: 70px;
    top: 0;
}

.toolbox-on .qusion-cms-wrapper { right: 250px; }

/* Page */

.qusion-cms-section {
    border-color: transparent;
    border-style: dashed;
    border-width: 1px;
    min-height: 50px;
}

.qusion-cms-section-hover { border-color: #BE4F3B; }

.qusion-cms-section-empty {
    border: 0;
    margin: 0;
}

.qusion-cms-section-empty.qusion-cms-section-hover {
    border: 0;
    margin: 0;
}

.qusion-cms-widget-header {
    background: #2D89EF;
    /*url('images/header_top_bg.jpg');*/
    
    color: #FFF;
    /*border: 1px solid #E7E7E7;*/
    /*margin-top: 25px;*/
    position: relative;
}

.qusion-cms-widget-header .qusion-cms-widget-header-title {
    display: inline-block;
    padding: 7px 4px;
    font-size: 12px;
    font-family: Arial;
    font-weight: bold;
}

.qusion-cms-widget-header .qusion-cms-widget-header-button {
    display: block;
    height: 24px;
    width: 24px;
}

.qusion-cms-widget-content { padding: 0 !important; }

.qusion-cms-widget-placeholder {
    /*background: #E59A1A url('images/placeholder_bg.png');
    border: 1px dashed #E59A1A;
    color: #AAAAAA;*/
    background-color: #FFFF99;
    border: 1px dashed #dfdf47;
    color: #9b9b27;
    font-family: Arial;
    font-size: 13px;
    font-weight: 700;
    padding: 23px 0;
    text-align: center;
    /*text-transform: uppercase;*/
}

.qusion-cms-widget-placeholder-empty {
    background-color: #f7f7f7;
    border: 1px dashed #cccccc;
    color: #BBBBBB;
    font-family: Arial;
    font-size: 13px;
    padding: 10px;
    /*min-height: 60px;*/
    text-align: center;
}

.qusion-cms-widget-placeholder-empty span {
    display: block;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 0;
}

.qusion-cms-widget-placeholder-empty:hover {
    border: 1px dashed #000000;
    color: #8b8a8a;
}

.qusion-cms-section-empty.qusion-cms-section-hover .qusion-cms-widget-placeholder-empty { display: none; }

.qusion-cms-widget-empty {
    font-weight: bold;
    text-align: center;
}

.qusion-cms-widget-error {
    background-color: #d61b1b;
    border-color: #FFFFFF;
    border-style: solid;
    border-width: 1px 0;
    color: #FFFFFF;
    font-size: 11px;
    padding: 6px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-family: Arial;
    /*font-size: 12px;*/
}

/* Toolbox */

.qusion-cms-toolbox {
    background: #111111;
    bottom: 0;
    font-family: 'Segoe UI';
    font-size: 12px;
    overflow-y: auto;
    color: #FFF;
    position: absolute;
    right: 0;
    top: 0;
    width: 50px;
}

.qusion-cms-toolbox.on { width: 250px; }

.qusion-cms-toolbox .pin {
    display: inline-block;
    padding: 2px 4px;
    cursor: pointer;
    margin: 0 6px 0 0;
}

.qusion-cms-toolbox .pin:hover { background-color: #666; }

.qusion-cms-toolbox.pinned .pin {
    background-color: #BBB;
    color: #444;
}

/* Toolbox header */

.qusion-cms-toolbox-header { padding: 14px 8px 15px; }

/* Toolbox navigation */

.qusion-cms-toolbox-navigation {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50px;
}

.qusion-cms-toolbox-navigation ul,
.qusion-cms-toolbox-navigation ul li {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.qusion-cms-toolbox-navigation ul li a {
    padding: 6px 6px 7px;
    display: block;
    color: #989797;
    font-size: 2Em;
    cursor: pointer;
}

.qusion-cms-toolbox-navigation ul li a:hover,
.qusion-cms-toolbox-navigation ul li.active a {
    color: #FFFFFF;
    background-color: #313030;
}

.qusion-cms-toolbox-navigation ul li.toggle a {
    background-color: #2d89ef;
    color: #FFFFFF;
}

/* Toolbox panels */

.qusion-cms-toolbox-panels {
    position: absolute;
    right: 50px;
    top: 0;
    bottom: 0;
    width: 200px;
    background-color: #313030;
    overflow: hidden;
}

/* Toolbox panel accordion */

.qusion-cms-toolbox-group {
    display: none;
    margin-top: 1px;
    padding: 0;
}

.qusion-cms-toolbox h3 {
    background-color: #181818;
    border-color: #333232;
    border-style: solid;
    border-width: 0 0 1px 0;
    cursor: pointer;
    font-size: 110%;
    font-weight: 600;
    margin: 0;
    padding: 13px 4px;
}

.qusion-cms-toolbox.first h3 { border-top-color: #f1f1f1; }

.qusion-cms-toolbox h3:hover {
    background-color: #2d89ef;
    color: #FFF !important;
}

.qusion-cms-toolbox h3.ui-state-active { background-color: #2d89ef; }

.qusion-cms-toolbox h3 i {
    font-size: 14px;
    margin-right: 4px;
    vertical-align: middle;
}

.qusion-cms-toolbox-widget {
    background-repeat: no-repeat;
    cursor: move;
    display: block;
    font-weight: 500;
    padding: 7px 4px 7px 24px;
}

.qusion-cms-toolbox-widget i {
    margin-right: 4px;
    font-size: 14px;
    vertical-align: middle;
}

.qusion-cms-toolbox-widget:hover {
    background-color: #FFFF99;
    color: #111111;
}

.ui-draggable-dragging {
    background-color: #111111;
    padding: 5px;
    width: 200px;
    display: inline-block;
}

/* jQuery accordion overrides for toolbox */

.qusion-cms-toolbox .ui-accordion .ui-accordion-header {
    margin: 0 5px;
    padding: 6px 4px;
    color: #989797;
}

.qusion-cms-toolbox .ui-accordion .ui-accordion-header.ui-state-active { color: #e2e2e2; }

.qusion-cms-toolbox .ui-accordion .ui-accordion-content { padding: 6px; }