html {
    background: inherit;
}

body {
    padding-top: 50px;
    padding-bottom: 20px;
    margin-left: 200px;
    -webkit-transition: margin 500ms ease;
    -moz-transition: margin 500ms ease;
    -ms-transition: margin 500ms ease;
    -o-transition: margin 500ms ease;
    transition: margin 500ms ease;
}

form {
    margin: 0;
}

ul,li {
    list-style-type: none;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border: 1px solid #4d90fe !important;
    box-shadow: none!important;
}

input[readonly], select[readonly], textarea[readonly] {
    cursor: pointer;
    background-color: #F9F9F9 !important;
    box-shadow: none!important;
}

textarea[type="wui-select"] {
    width: 100%;
    height: 80px;
    resize: none;
}

input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
   /* WebKit browsers */
    color: #999;
}

input:-moz-placeholder, textarea:-moz-placeholder {
   /* Mozilla Firefox 4 to 18 */
    color: #999;
}

input::-moz-placeholder, textarea::-moz-placeholder {
   /* Mozilla Firefox 19+ */
    color: #999;
}

input:-ms-input-placeholder, textarea:-ms-input-placeholder {
   /* Internet Explorer 10+ */
    color: #999;
}

span[data-role="remove"] {
    color: #fff;
    padding: 0;
}

.white-space {
    overflow: hidden;
/*超出部分隐藏*/
    white-space: nowrap;
/*不换行*/
    text-overflow: ellipsis;
/*超出部分文字以...显示*/
}


/*滚动条样式*/
.scroll-bar::-webkit-scrollbar {
    width: 6px;
    border-radius: 4px;
    border: 0;
}

/* Track */
.scroll-bar::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 0 #fff;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    border: 0;
}
 
/* Handle */
.scroll-bar::-webkit-scrollbar-thumb {
    -webkit-border-radius: 4px;
    border-radius: 4px;
    border: 0;
    background-color: #ddd;
    -webkit-box-shadow: inset 0 0 0 #fff;
}

.scroll-bar::-webkit-scrollbar-thumb:window-inactive {
    background: #ddd;
    border: 0;
}

.wui-input {
    height: 30px !important;
    margin-bottom: 5px!important;
}

.navbar-inverse .brand {
    color: #fff;
    padding: 9px 20px;
}

.brand img {
    margin-right: 10px;
}

.brand .label {
    position: relative;
    left: 10px;
    top: -3px;
    font-weight: normal;
    font-size: 9px;
    background: #666;
    -webkit-box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.7);
    -moz-box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.7);
    box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.7);
}

body.edit {
    background: #fff!important;
    overflow-x: hidden;
}

.edit .lay-container {
    width: auto;
    margin-left: 0px;
    margin-top: 20px;
    padding: 30px 15px 15px;
    border: 1px solid #DDDDDD;
    border-radius: 4px;
    position: relative;
    word-wrap: break-word;
}

.edit .lay-container:after {
    background-color: #F5F5F5;
    border: 1px solid #DDDDDD;
    border-radius: 4px 0 4px 0;
    color: #9DA0A4;
    content: "Container";
    font-size: 12px;
    font-weight: bold;
    line-height: 2;
    left: -1px;
    padding: 3px 7px;
    position: absolute;
    top: -1px;
}

.edit .lay-container .lyrow .drag {
    top: 5px;
    right: 80px;
    z-index: 10;
}

.edit .lay-container .column .box .drag {
    top: 5px;
}

.edit .lay-container .column .box .configuration {
    position: absolute;
    top: 3px;
    right: 140px;
    z-index: 10;
    white-space: nowrap;

}

.edit .lay-container .remove {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 10;
}

.edit .lay-container .row-fluid:before {
    background-color: #F5F5F5;
    border: 1px solid #DDDDDD;
    border-radius: 4px 0 4px 0;
    color: #9DA0A4;
    content: "Row";
    font-size: 12px;
    font-weight: bold;
    left: -1px;
    line-height: 2;
    padding: 3px 7px;
    position: absolute;
    top: -1px;
}

.lay-container .preview {
    display: none;
}

.lay-container .box .view,.lay-container .box .codeArea {
    display: block;
    padding-top: 30px;
}

.lay-container .box .codeArea textarea {
    width: 100%;
    min-height: 200px;
    resize: none;
    box-shadow: none;
}

.lay-container .configuration {
    filter: alpha(opacity=0);
    opacity: 0;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

.lay-container .drag, .lay-container .remove {
    filter: alpha(opacity=20);
    opacity: 0.2;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

.lay-container .lyrow:hover > .drag, 
.lay-container .lyrow:hover > .configuration, 
.lay-container .lyrow:hover > .remove,
.lay-container .box:hover .drag, 
.lay-container .box:hover .configuration, 
.lay-container .box:hover .remove {
    filter: alpha(opacity=100);
    opacity: 1;
}

.lay-container .row-fluid {
    background-color: #F5F5F5;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-shadow: inset 0 1px 13px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset 0 1px 13px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 13px rgba(0, 0, 0, 0.1);
    border: 1px solid #DDDDDD;
    border-radius: 4px 4px 4px 4px;
    margin: 15px 0;
    position: relative;
    padding: 25px  14px 0;
}

.popover-info {
    position: relative;
}

.popover-info .popover {
    display: none;
    top: inherit;
    left: 185px;
    margin-top: -35px;
}

.popover-info:hover .popover {
    display: block;
    opacity: 1;
    width: 400px;
}

.popover-info:hover .popover .arrow {
    top: 23px;
}

.sidebar-nav {
    position: fixed;
    width: 200px;
    left: 0px;
    bottom: 0;
    top: 51px;
    height: 93%;
    background-color: #fff;
    padding: 9px 0;
    z-index: 999;
    border-right: 1px solid #eee;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

.sidebar-nav .nav-list{
    margin: 5px;
}

.sidebar-nav .nav-header {
    cursor: pointer;
    font-size: 14px;
    color: #333;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}

.sidebar-nav .nav-header span.label {
    font-size: 10px;
    position: relative;
    top: -1px;
}

.sidebar-nav .nav-header i.icon-plus {
    background-image: url(../../img/layout/icon/glyphicons-halflings.png)
}

.sidebar-nav .nav-header.checked i.icon-plus {
    background-position: -434px -96px;
}

.sidebar-nav .rows i.icon-move,.sidebar-nav .box i.icon-move,.lay-container .lyrow i.icon-move {
    background-image: url(../../img/layout/icon/glyphicons-halflings-white.png)
}

.sidebar-nav .nav-header .popover {
    position: fixed;
    color: #999;
    text-shadow: none;
}

.sidebar-nav .preview input {
    position: relative;
    width: 90px;
    height: 20px;
    line-height: 20px;
    font-size: 10px;
    color: #999;
    padding: 0 10px;
    background: #f1f1f1;
}

.sidebar-nav .view,.sidebar-nav .codeArea {
    display: none;
}

.sidebar-nav .remove,
.sidebar-nav .configuration {
    display: none;
}

.sidebar-nav .boxes {
    display: none;
}

[class^="icon-"],[class*=" icon-"] {
    background-image: url("../../img/layout/icon/glyphicons-halflings.png");
}

.icon-white,.nav-pills>.active>a>[class^="icon-"],
.nav-pills>.active>a>[class*=" icon-"],
.nav-list>.active>a>[class^="icon-"],
.nav-list>.active>a>[class*=" icon-"],
.navbar-inverse .nav>.active>a>[class^="icon-"],
.navbar-inverse .nav>.active>a>[class*=" icon-"],
.dropdown-menu>li>a:hover>[class^="icon-"],
.dropdown-menu>li>a:focus>[class^="icon-"],
.dropdown-menu>li>a:hover>[class*=" icon-"],
.dropdown-menu>li>a:focus>[class*=" icon-"],
.dropdown-menu>.active>a>[class^="icon-"],
.dropdown-menu>.active>a>[class*=" icon-"],
.dropdown-submenu:hover>a>[class^="icon-"],
.dropdown-submenu:focus>a>[class^="icon-"],
.dropdown-submenu:hover>a>[class*=" icon-"],
.dropdown-submenu:focus>a>[class*=" icon-"] {
    background-image: url("../../img/layout/icon/glyphicons-halflings-white.png");
}

.ui-draggable-dragging .view {
    display: block;
}
/*.container .ui-sortable-placeholder { outline: 5px dotted #ddd; visibility: visible!Important; border-radius: 4px; }*/
.ui-sortable-placeholder {
    outline: 1px dashed #ddd;
    visibility: visible!Important;
    border-radius: 4px;
}

.box,
.lyrow {
    position: relative;
}

.box.box-element{
    font-size: 12px;
    margin: 5px 0px;
}

.drag-box {
    /*right: 40px!important;
    left: auto!important;*/
    /*position: relative!important;
    float: right;*/
    /*height: 60px!important;
    width: 140px!important;*/
}

.drag-box .configuration,
.drag-box .view {
    display: none!important;
}

.edit .drag {
    position: absolute;
    top: 0;
    right: 0;
    cursor: move;
}

.edit .column:after {
    background-color: #F5F5F5;
    border: 1px solid #DDDDDD;
    border-radius: 4px 0 4px 0;
    color: #9DA0A4;
    content: "Column";
    font-size: 12px;
    font-weight: bold;
    left: -1px;
    padding: 3px 7px;
    position: absolute;
    top: -1px;
}

.column {
    background-color: #FFFFFF;
    border: 1px solid #DDDDDD;
    border-radius: 4px 4px 4px 4px;
    margin: 15px 0;
    padding: 39px 19px 24px;
    position: relative;
}

/* preview */
body.devpreview {
    margin-left: 0px;
}

.devpreview .sidebar-nav {
    left: -200px;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

.devpreview .drag, .devpreview .configuration, .devpreview .remove {
    display: none !important;
}

.devpreview .lay-container .box, .devpreview .lay-container .row-fluid {
    padding-top: 0;
    background: none;
}

.devpreview .lay-container .column {
    /*padding-top:19px; */
    /*padding-bottom:19px;*/
}

.sourcepreview {
    padding: 0;
    margin-top: 55px;
}

.sourcepreview .lyrow .box {
    margin-bottom: 20px!important;
}

.sourcepreview .container-fluid {
    padding-right: 0;
    padding-left: 0;
}

.sourcepreview .box .view,.sourcepreview .box .codeArea {
    padding-top: 0;
}

.sourcepreview .column, .sourcepreview .row-fluid, .sourcepreview .lay-container .box {
    margin: 0px 0;
    padding: 0px;
    background: none;
    border: none;
    -webkit-box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.00);
    -moz-box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.00);
    box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.00);
}

.sourcepreview .lay-container .column {
    margin-right: 20px;
}

.sourcepreview .lay-container .column:last-child {
    margin-right: 0;
}
/*#download-layout { display: none }
#editorModal textarea,
#downloadModal textarea { width:100%;height:280px;resize: none;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box; }
#editorModal {width:640px;}*/
a.language-selected {
    font-style: italic;
    font-weight: bold;
}

.navbar .btn, .navbar .btn-group {
    margin-top: 10px;
}

.navbar-inverse .navbar-inner {
    min-height: 50px;
    -webkit-box-shadow: 0 2px 10px rgba(70,160,252,.6);
    box-shadow: 0 2px 10px rgba(70,160,252,.6);
    padding: 0 10px;
    background-image: -webkit-gradient(linear,left top,right top,from(#1278f6),to(#00b4aa));
    background-image: linear-gradient(90deg,#1278f6,#00b4aa);
    border: none;
}

.navbar-inverse .divider-vertical,.navbar .divider-vertical {
    border: none;
}

.collapse {
    display: inline-block;
    height: auto!important;
}


/*布局、卡片锁定*/
.lockLayout .lyrow>a.label,.lockLayout .lyrow>span.label {
    display: none!important;
}

.lockCard .box>a.label,.lockCard .box>.configuration>button[data-target="#editorModal"] {
    display: none!important;
}

.lockCard .lyrow .drag {
    right: 0!important;
}

.lockCard .box .configuration {
    right: 60px!important;
}

/*加载*/
.lay-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    background-color: rgba(0,0,0,.2);
}

.lay-loading .loading-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 200px;
    height: 100px;
    font-size: 20px;
    color: #333;
    text-align: center;
    margin: auto;
}

.lay-loading .loading-content i {
    width: 38px;
    height: 38px;
    background-image: url(./../../img/layout/icon/loading.gif);
    display: inline-block;
}

.lay-loading .loading-content p {
    margin: 15px 0;
}

.row-fluid [class*="span"] {
    min-height: 100px;
}



/*媒体查询*/
@media (min-width: 768px) {
    .sourcepreview .lyrow .lyrow .lyrow .row-fluid .span6 {
        width: 48.00337948717948715%;
    }

    .sourcepreview .lyrow .lyrow .lyrow .row-fluid .span8 {
        width: 65.671196581196582%;
    }
}

@media (max-width: 980px) {
    /* Enable use of floated navbar text */
    .navbar-text.pull-right {
        float: none;
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media (max-width: 979px) {
    .navbar-fixed-top {
        position: fixed;
    }
}

