.btn-success {
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
}

.fileinput-button {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.fileinput-button input {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 0;
    -ms-filter: 'alpha(opacity=0)';
    font-size: 200px !important;
    direction: ltr;
    cursor: pointer;
}

.progress {
    display: none;
    height: 20px;
    margin: 20px 0;
    overflow: hidden;
    background-color: #f5f5f5;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
    box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
}

.progress-bar-success {
    background-color: #5cb85c;
}
.progress-bar {
    float: left;
    width: 0;
    height: 100%;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    background-color: #337ab7;
    -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
    -webkit-transition: width .6s ease;
    -o-transition: width .6s ease;
    transition: width .6s ease;
}

ul.sortable.galleries {
    list-style-type: none;
    display: block;
    padding: 0;
    margin-bottom: 10px;
    margin-top: 10px;
    display: inline-block;
}

ul.sortable.galleries>li {
    float: left;
    background: #ececec;
    width: 100px;
    margin: 5px;
    padding: 5px;
    height: 100px;
    text-align: center;
    position: relative;
    border: 1px solid #cac8c8;
}

ul.sortable.galleries>li .meta {
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    background-color: rgba(202, 202, 202, 0.58);
}

ul.sortable.galleries>li .meta .drag-handle {
    float: left;
    margin: 4px 5px;
    cursor: all-scroll;
}

ul.sortable.galleries>li .meta .remove {
    float: right;
    padding-right: 5px;
    margin-top: 5px;
}

ul.sortable.galleries>li .meta .info {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 3px;
}

ul.sortable.galleries>li.ui-state-highlight {
    background: #d2d2d2;
    border: 1px dashed grey;
}

#gallery_container {
    display: inline-block;
    width: 100%;
}


#gallery_forms_container {
    margin: 20px 0;
}

#gallery_forms_container li {
    border: 1px solid #dedede;
    margin: 10px 0;
    padding: 5px;
}

#gallery_forms_container li .row {
    margin: 0;
}

span.counter {
    background-color: grey;
    padding: 4px 10px;
    border-radius: 20px;
    color: #fff;
}

#html5box-html5-lightbox .html5-elem-data-box,
#html5-watermark {
    display: none !important;
    visibility: hidden !important;
}

.path_backbone {
    display: inline-block;
    width: 100%;
    margin: 0;
}

.path_backbone li {
    float: left;
    line-height: 2em;
}
.path_backbone li.path {
    background-color: #e0e0e4;
    margin: 0 5px;
    border: 1px solid #d0d0d0;
}

.path_backbone li.path a {
    margin: 10px;
}

.path_backbone li.path a:hover {
    text-decoration: underline;
}

button.new_folder {
    padding: 5px 10px;
    font-size: 13px;
    float:right;
}

button.new_folder:hover,
button.new_folder:active,
button.new_folder:focus {
    padding: 5px 10px;
    font-size: 13px;
}

.path_list {
    margin: 30px 0 10px 0;
    display: inline-block;
    width: 100%;
}

.path_list > li {
    float: left;
    margin: 5px;
    background-color: #e0e0e4;
    border: 1px solid #d0d0d0;
}

.path_list > li:hover {
    -webkit-box-shadow: 0 0 1px black;
    -moz-box-shadow: 0 0 1px black;
    box-shadow: 0 0 1px black;
}

.path_list > li > a {
    text-align: center;
    display: inline-block;
    padding: 5px;
    width: 98px;
    height: 98px;
}

.path_list > li > a:hover > span {
    text-decoration: underline;
}

.path_list > li > a > i {
    display: block;
    font-size: 60px;
    color: #56aadf;
}

.path_list > li > a > span {
    display: block;
    margin: 5px 0;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
