.grid-stack-item-content {
    text-align: center;
    background-color: #ffffff;
    right: 5px !important;
    left: 5px !important;
    box-shadow: 0px 0px 1px 1px #d6d4d4;
}

.ui-resizable-se {
    right: 5px !important;
    bottom: 2px !important;
}

body {
    background: #f0eeee;
}

.jdg-card-title {
    text-align: left;
    font-weight: bold;
}

.jdg-card {
    /*padding-left: 20px !important;*/
    /*padding-top: 10px !important;*/
    /*padding-right: 20px !important;*/
}

.jdg-card-content {
    display: flex;
    flex-wrap: wrap;
}

.jdg-edit-btn {
    width: 36px;
    height: 36px;
    position: fixed;
    border-radius: 100%;
    margin: 0 10px;
    margin-top: 10px;
    z-index: 99999;
    cursor: pointer;
}

.jdg-edit-btn:hover {
    background: lightgreen;
}

.jdg-edit-btn-icon-img {
    width: 36px;
    height: 36px;
}

.jdg-edit-ctrl {
    display: none;
    height: 60px;
    width: 100%;
    position: fixed;
    bottom: 14px;
    left: 0px;
    background: #565656;
    /*filter: alpha(Opacity=80);*/
    /*-moz-opacity: 0.8;*/
    /*opacity: 0.8;*/
}
.jdg-delete-element-img{
    width: 30px;
    height: 30px;
    background: url("/jd_dashboard/static/src/img/delete.png");
    background-size: 30px 30px;
    /*background-color: aliceblue;*/
    border-radius: 100%;
    cursor: pointer;
    position: relative;
    float: right;
    margin-top: -8px;
    display: none;
}

.jdg-change-element-data {
    width: 30px;
    height: 30px;
    float: left;
    background: url("/jd_dashboard/static/src/img/data.png");
    background-size: 30px 30px;
    /*background-color: aliceblue;*/
    border-radius: 100%;
    display: none;
    cursor: pointer;
    margin: 0 5px;
    margin-top: -8px;
    position: relative;
}

.jdg-change-size {
    width: 30px;
    height: 30px;
    float: left;
    background: url("/jd_dashboard/static/src/img/size.png");
    background-size: 30px 30px;
    /*background-color: aliceblue;*/
    border-radius: 100%;
    display: none;
    cursor: pointer;
    position: relative;
    margin-top: -8px;
}

.jdg-edit-add-card{
    display: none;
    height: 160px;
    width: 100%;
    position: fixed;
    bottom: 74px;
    left: 0px;
    background: #565656;
    /*filter: alpha(Opacity=80);*/
    /*-moz-opacity: 0.8;*/
    /*opacity: 0.8;*/
    overflow: scroll;
    cursor: pointer;
}

.jdg-edit-add-card-item{
    width: 140px;
    height: 140px;
    background: #ffffff;
    padding: 15px;
    margin: 10px;
}

/*
占位，流出空间给jdg-edit-ctrl
 */
.jdg-edit-ctrl-placeholder {
    height: 60px;
    width: 100%;
}

.jdg-edit-ctrl-btn-panel {
    float: right;
    margin: 15px;
}

.jdg-add-card-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: grey;
}

.jdg-edit-ctrl-btn {
    padding-left: 20px;
    padding-right: 20px;
    margin-left: 10px;
    margin-right: 10px;
}

.flex-center-column {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.flex-center-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.jdg-card-none-background {
    background: none;
    box-shadow: none;
}

.jdg-input-dashboard-data {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: medium;
}

.jdg-input-group .input-group-addon {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.jdg-input-group .form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.jdg-input-group .input-group-addon:first-child {
    border-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#jdg-dashboard {
    position: absolute;
    top: 0;
    width: 100%;
    min-height: 100%;
    padding-bottom: 220px;
}

#valueElement {
    color: white;
    font-size: 16px;
}

.jdg-editable-text {
    font-size: large;
}

.jdg-editable-text textarea {
    height: 30px;
}

.jdg-editable-text input {
    font-size: medium;
}

.jdg-editable-text.clicked {
    width: 80%;
}