.clear-avatar-button {
    position:absolute;
    right: 9px;
}

div.logo {
    min-height: 100%;
    box-sizing: border-box;
}

div.logo img {
    width: 500px;
    height: 500px;
    margin: 10% auto;
    display: block;
}

img.bar_code {
    height:42px;
}

.thumbnail video {
    width: 100%;
}

ul.filials {
    
    list-style-type: none;
    margin: 0;
    padding: 4px;
    overflow-x: hidden;

    height: 160px;
    overflow: auto;
    overflow-x: auto;
    display: block;
    border: 1px solid #d2d6de;
}

ul.filials input[type=checkbox] {

    margin: 0;
    padding: 0;
    width: auto;
    height: auto;

    margin-right:4px;
    display:inline-block;
}

/*  Группы товаров */
.treeview label {
    margin: 0;
    display: inline-block;
    font-size: 12px;
    font-weight: normal;
    line-height: 14px;
    vertical-align: middle;
    cursor: pointer;
}
.treeview input {
    margin: 0;
    padding: 0;
    vertical-align: top;
}
.btn-treeview {
    padding: 1px 3px;
    font-size: 9px;
    line-height: 1.5;
    border-radius: 3px;
}


.gallery .col-md-3 {
    padding-right: 0px;
}

.gallery .col-md-3:not(:first-child) {
    margin-left: -5px;
}

.thumbnail {
    position: relative;
}

.thumbnail .image-tool {

    opacity: 0;
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0px;
    top: 0px;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    line-height: 200px;
    
    /* Firefox */
    -moz-transition: all 0.2s ease-out;
    /* WebKit */
    -webkit-transition: all 0.2s ease-out;
    /* Opera */
    -o-transition: all 0.2s ease-out;
    /* Standard */
    transition: all 0.2s ease-out;
}


.thumbnail .image-tool:hover {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 4px;
    opacity: 1;
    
    /* Firefox */
    -moz-transition: all 0.2s ease-in;
    /* WebKit */
    -webkit-transition: all 0.2s ease-in;
    /* Opera */
    -o-transition: all 0.2s ease-in;
    /* Standard */
    transition: all 0.2s ease-in;
}

.form-control.error {
    border: 1px solid red;
}
