.btn-form-search {
    display: block; text-align: left;
}
.btn-form-search>div { margin: 3px 0;}
.btn-form-search:after { content: ""; display: block; clear: both;}

.btn-group {
    display: block; text-align: right;
}
.btn-group:after { content: ""; display: block; clear: both;}

.btn-group .btn-item { display: inline-block;}

.btn-form-search input,
.btn-form-search select
{border: 1px solid #CCCCCC;}

.btn input, .btn button {
    -webkit-appearance: none;
    font-size: 12px;
    text-shadow: none;
    line-height: 120%;
    display: inline-block;
    outline: 0;
    padding: 3px 10px;
    margin: 0;
    position: relative;
    border-radius: 3px;
    border: 1px solid #CCCCCC;
    color: black;
    cursor: pointer;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-decoration: none !important;
    text-align: center;
    font-weight: normal !important;
    box-sizing: border-box;
}

.btn a.button {
    top: -1px;
    padding: 4px 10px 3px 10px;
}

.btn .dbutton {
    -webkit-appearance: none;
    font-size: 12px;
    text-shadow: none;
    line-height: 120%;
    display: inline-block;
    outline: 0;
    padding: 3px 10px;
    margin: 0;
    position: relative;
    border-radius: 3px;
    border: 1px solid #CCCCCC;
    color: black;
    cursor: pointer;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-decoration: none !important;
    text-align: center;
    font-weight: normal !important;

    background-color: ButtonFace;
    box-sizing: border-box;
}

.btn p.button {
    -webkit-appearance: none;
    font-size: 12px;
    text-shadow: none;
    line-height: 120%;
    display: inline-block;
    outline: 0;
    padding: 3px 10px;
    margin: 0;
    position: relative;
    border-radius: 3px;
    border: 1px solid #CCCCCC;
    color: black;
    cursor: pointer;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-decoration: none !important;
    text-align: center;
    font-weight: normal !important;

    background-color: ButtonFace;
    box-sizing: border-box;
}

#drj_reload_btn {
    z-index: 1000; display:none; position: fixed; right:10px; top:43px;
}

.btn.redo{
    -webkit-appearance: none;
    font-size: 12px;
    text-shadow: none;
    line-height: 100%;
    display: inline-block;
    outline: 0;
    padding: 6px;
    margin: 0;
    position: relative;
    border-radius: 3px;
    border: 1px solid #CCCCCC;
    color: #454545;
    cursor: pointer;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-decoration: none !important;
    text-align: center;
    font-weight: normal !important;
    background-color: ButtonFace;
    box-sizing: border-box;
    opacity: 0.3;
    transition-duration: 0.5s;
}

.btn.redo:hover{
    color: black;
    opacity: 1;
    transition-duration: 0.5s;
}


.btn.new input, .btn.new button, .btn.new .button, .btn.new a.button
{background-color: #51a9ff; color: white !important;border: 1px solid transparent; }

.btn.info input, .btn.info button, .btn.info .button, .btn.info a.button
{background-color: #00b347; color: white !important;border: 1px solid transparent; }

.btn.alert input, .btn.alert button, .btn.alert .button, .btn.alert a.button
{background-color: #e07424; color: white !important;border: 1px solid transparent; }

.btn.dark input, .btn.dark button, .btn.dark .button, .btn.dark a.button
{background-color: #333333; color: white !important;border: 1px solid transparent; }

.btn.white input, .btn.white button, .btn.white .button, .btn.white a.button
{background-color: #FFFFFF; color: black !important;border: 1px solid #AAAAAA; }

.btn input[type="submit"] { background-color: #00b347; color: white !important;border: 1px solid transparent;}

/* small */

.btn_s input, .btn_s button, .btn_s .button {
    -webkit-appearance: none;
    font-size: 12px;
    text-shadow: none;
    line-height: 100%;
    display: inline-block;
    outline: 0;
    padding: 2px 3px;
    margin: 0;
    position: relative;
    border-radius: 2px;
    border: 1px solid #CCCCCC;
    color: black;
    cursor: pointer;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-decoration: none !important;
    text-align: center;
    font-weight: normal !important;
    box-sizing: border-box;
}

.btn_s a.button {
    top: -1px;
    padding: 3px 5px 2px 5px;
}

.btn_s input[type="submit"] { background-color: #00b347; color: white;border: 1px solid transparent;}
.btn_s.new input, .btn_s.new button, .btn_s.new .button {background-color: #51a9ff; color: white;border: 1px solid transparent; }
.btn_s.info input, .btn_s.info button, .btn_s.info .button {background-color: #00b347; color: white;border: 1px solid transparent; }
.btn_s.alert input, .btn_s.alert button, .btn_s.alert .button {background-color: #e07424; color: white;border: 1px solid transparent; }
.btn_s.dark input, .btn_s.dark button, .btn_s.dark .button {background-color: #333333; color: white;border: 1px solid transparent; }
.btn_s.white input, .btn_s.white button, .btn_s.white .button {background-color: #FFFFFF; color: black;border: 1px solid #AAAAAA; }


/*badge style*/
.badge{ display: inline-block;
    background: #ff1313;
    /*background-image: -webkit-linear-gradient(top, #fa927f, #fc0d0d);
    background-image: -moz-linear-gradient(top, #fa927f, #fc0d0d);
    background-image: -ms-linear-gradient(top, #fa927f, #fc0d0d);
    background-image: -o-linear-gradient(top, #fa927f, #fc0d0d);
    background-image: linear-gradient(to bottom, #fa927f, #fc0d0d);*/
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    color: #ffffff;
    border: solid transparent 1px;
    font-size:10px !important;
    line-height: 170%;
}

.badge::before{ content: ''; padding-left: 7px; }
.badge::after{ content: ''; padding-right: 7px; }

*[data-drj-modify] { cursor: pointer; color: blue;}
*[data-drj-view] { cursor: pointer; color: green;}
