﻿
.ace-thumbnails > li > .in.tools.tools-top {
    bottom: auto;
    top: 0;
}

.ace-thumbnails > li > .in.tools {
    left: 0;
    right: 0;
}

.ace-thumbnails > li > .tools.tools-top {
    width: auto;
    height: 28px;
    left: 0;
    right: 0;
    top: -30px;
    bottom: auto;
}

.ace-thumbnails > li > .tools {
    top: 0;
    bottom: 0;
    left: -30px;
    width: 24px;
    vertical-align: middle;
    -webkit-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}

.ace-thumbnails > li > .tools, .ace-thumbnails > li > :first-child > .text {
    position: absolute;
    text-align: center;
    background-color: rgba(0,0,0,.55);
}

.dx-widget input {
    font-size: 1em;
}

.ace-thumbnails {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .ace-thumbnails > li {
        float: left;
        display: block;
        position: relative;
        overflow: hidden;
        margin: 2px;
        border: 2px solid #333;
    }

        .ace-thumbnails > li > :first-child {
            display: block;
            position: relative;
        }

            .ace-thumbnails > li > :first-child:focus {
                outline: 0;
            }

        .ace-thumbnails > li .tags {
            display: inline-block;
            position: absolute;
            bottom: 0;
            right: 0;
            overflow: visible;
            direction: rtl;
            padding: 0;
            margin: 0;
            height: auto;
            width: auto;
            background-color: transparent;
            border-width: 0;
            vertical-align: inherit;
        }

            .ace-thumbnails > li .tags > .label-holder {
                opacity: .92;
                filter: alpha(opacity=92);
                display: table;
                margin: 1px 0 0 0;
                direction: ltr;
                text-align: left;
            }

                .ace-thumbnails > li .tags > .label-holder:hover {
                    opacity: 1;
                    filter: alpha(opacity=100);
                }

        .ace-thumbnails > li > .tools {
            position: absolute;
            top: 0;
            bottom: 0;
            left: -30px;
            width: 24px;
            background-color: rgba(0,0,0,.55);
            text-align: center;
            vertical-align: middle;
            -webkit-transition: all .2s ease;
            -o-transition: all .2s ease;
            transition: all .2s ease;
        }

            .ace-thumbnails > li > .tools.tools-right {
                left: auto;
                right: -30px;
            }

            .ace-thumbnails > li > .tools.tools-bottom {
                width: auto;
                height: 28px;
                left: 0;
                right: 0;
                top: auto;
                bottom: -30px;
            }

            .ace-thumbnails > li > .tools.tools-top {
                width: auto;
                height: 28px;
                left: 0;
                right: 0;
                top: -30px;
                bottom: auto;
            }

        .ace-thumbnails > li:hover > .tools {
            left: 0;
            right: 0;
        }

            .ace-thumbnails > li:hover > .tools.tools-bottom {
                top: auto;
                bottom: 0;
            }

            .ace-thumbnails > li:hover > .tools.tools-top {
                bottom: auto;
                top: 0;
            }

            .ace-thumbnails > li:hover > .tools.tools-right {
                left: auto;
                right: 0;
            }

        .ace-thumbnails > li > .in.tools {
            left: 0;
            right: 0;
        }

            .ace-thumbnails > li > .in.tools.tools-bottom {
                top: auto;
                bottom: 0;
            }

            .ace-thumbnails > li > .in.tools.tools-top {
                bottom: auto;
                top: 0;
            }

            .ace-thumbnails > li > .in.tools.tools-right {
                left: auto;
                right: 0;
            }

        .ace-thumbnails > li > .tools > a, .ace-thumbnails > li > :first-child .inner a {
            display: inline-block;
            color: #FFF;
            font-size: 18px;
            font-weight: 400;
            padding: 0 4px;
        }

            .ace-thumbnails > li > .tools > a:hover, .ace-thumbnails > li > :first-child .inner a:hover {
                text-decoration: none;
                color: #C9E2EA;
            }

        .ace-thumbnails > li .tools.tools-bottom > a, .ace-thumbnails > li .tools.tools-top > a {
            display: inline-block;
        }

        .ace-thumbnails > li > :first-child > .text {
            position: absolute;
            right: 0;
            left: 0;
            bottom: 0;
            top: 0;
            text-align: center;
            color: #FFF;
            background-color: rgba(0,0,0,.55);
            opacity: 0;
            filter: alpha(opacity=0);
            -webkit-transition: all .2s ease;
            -o-transition: all .2s ease;
            transition: all .2s ease;
        }

            .ace-thumbnails > li > :first-child > .text:before {
                content: '';
                display: inline-block;
                height: 100%;
                vertical-align: middle;
                margin-right: 0;
            }

            .ace-thumbnails > li > :first-child > .text > .inner {
                padding: 4px 0;
                margin: 0;
                display: inline-block;
                vertical-align: middle;
                max-width: 90%;
            }

        .ace-thumbnails > li:hover > :first-child > .text {
            opacity: 1;
            filter: alpha(opacity=100);
        }

@media only screen and (max-width:480px) {
    .ace-thumbnails {
        text-align: center;
    }

        .ace-thumbnails > li {
            float: none;
            display: inline-block;
        }
}

.label-hinh {
    line-height: 1.15;
    height: 19px;
    color: #fff !important;
    display: inline-block;
    font-size: 12px;
    padding-top: 4px;
    padding-left: 7px;
}

    .label-hinh.arrowed, .label-hinh.arrowed-in {
        position: relative;
        z-index: 1;
    }

        .label-hinh.arrowed:before, .label-hinh.arrowed-in:before {
            display: inline-block;
            content: "";
            position: absolute;
            top: 0;
            z-index: -1;
            border: 1px solid transparent;
            border-right-color: #abbac3;
            -moz-border-right-colors: #abbac3;
        }

        .label-hinh.arrowed-in:before {
            border-color: #abbac3;
            border-left-color: transparent;
            -moz-border-left-colors: none;
        }

    .label-hinh.arrowed-right, .label-hinh.arrowed-in-right {
        position: relative;
        z-index: 1;
    }

        .label-hinh.arrowed-right:after, .label-hinh.arrowed-in-right:after {
            display: inline-block;
            content: "";
            position: absolute;
            top: 0;
            z-index: -1;
            border: 1px solid transparent;
            border-left-color: #abbac3;
            -moz-border-left-colors: #abbac3;
        }

        .label-hinh.arrowed-in-right:after {
            border-color: #abbac3;
            border-right-color: transparent;
            -moz-border-right-colors: none;
        }

.label-info.arrowed:before {
    border-right-color: #3a87ad;
    -moz-border-right-colors: #3a87ad;
}

.label-info.arrowed-in:before {
    border-color: #3a87ad #3a87ad #3a87ad transparent;
    -moz-border-right-colors: #3a87ad;
}

.label-info.arrowed-right:after {
    border-left-color: #3a87ad;
    -moz-border-left-colors: #3a87ad;
}

.label-info.arrowed-in-right:after {
    border-color: #3a87ad transparent #3a87ad #3a87ad;
    -moz-border-left-colors: #3a87ad;
}

.label-primary.arrowed:before {
    border-right-color: #428bca;
    -moz-border-right-colors: #428bca;
}

.label-primary.arrowed-in:before {
    border-color: #428bca #428bca #428bca transparent;
    -moz-border-right-colors: #428bca;
}

.label-primary.arrowed-right:after {
    border-left-color: #428bca;
    -moz-border-left-colors: #428bca;
}

.label-primary.arrowed-in-right:after {
    border-color: #428bca transparent #428bca #428bca;
    -moz-border-left-colors: #428bca;
}

.label-success.arrowed:before {
    border-right-color: #82af6f;
    -moz-border-right-colors: #82af6f;
}

.label-success.arrowed-in:before {
    border-color: #82af6f #82af6f #82af6f transparent;
    -moz-border-right-colors: #82af6f;
}

.label-success.arrowed-right:after {
    border-left-color: #82af6f;
    -moz-border-left-colors: #82af6f;
}

.label-success.arrowed-in-right:after {
    border-color: #82af6f transparent #82af6f #82af6f;
    -moz-border-left-colors: #82af6f;
}

.label-warning.arrowed:before {
    border-right-color: #f89406;
    -moz-border-right-colors: #f89406;
}

.label-warning.arrowed-in:before {
    border-color: #f89406 #f89406 #f89406 transparent;
    -moz-border-right-colors: #f89406;
}

.label-warning.arrowed-right:after {
    border-left-color: #f89406;
    -moz-border-left-colors: #f89406;
}

.label-warning.arrowed-in-right:after {
    border-color: #f89406 transparent #f89406 #f89406;
    -moz-border-left-colors: #f89406;
}

.label-important.arrowed:before {
    border-right-color: #d15b47;
    -moz-border-right-colors: #d15b47;
}

.label-important.arrowed-in:before {
    border-color: #d15b47 #d15b47 #d15b47 transparent;
    -moz-border-right-colors: #d15b47;
}

.label-important.arrowed-right:after {
    border-left-color: #d15b47;
    -moz-border-left-colors: #d15b47;
}

.label-important.arrowed-in-right:after {
    border-color: #d15b47 transparent #d15b47 #d15b47;
    -moz-border-left-colors: #d15b47;
}

.label-danger.arrowed:before {
    border-right-color: #d15b47;
    -moz-border-right-colors: #d15b47;
}

.label-danger.arrowed-in:before {
    border-color: #d15b47 #d15b47 #d15b47 transparent;
    -moz-border-right-colors: #d15b47;
}

.label-danger.arrowed-right:after {
    border-left-color: #d15b47;
    -moz-border-left-colors: #d15b47;
}

.label-danger.arrowed-in-right:after {
    border-color: #d15b47 transparent #d15b47 #d15b47;
    -moz-border-left-colors: #d15b47;
}

.label-inverse.arrowed:before {
    border-right-color: #333;
    -moz-border-right-colors: #333;
}

.label-inverse.arrowed-in:before {
    border-color: #333 #333 #333 transparent;
    -moz-border-right-colors: #333;
}

.label-inverse.arrowed-right:after {
    border-left-color: #333;
    -moz-border-left-colors: #333;
}

.label-inverse.arrowed-in-right:after {
    border-color: #333 transparent #333 #333;
    -moz-border-left-colors: #333;
}

.label-pink.arrowed:before {
    border-right-color: #d6487e;
    -moz-border-right-colors: #d6487e;
}

.label-pink.arrowed-in:before {
    border-color: #d6487e #d6487e #d6487e transparent;
    -moz-border-right-colors: #d6487e;
}

.label-pink.arrowed-right:after {
    border-left-color: #d6487e;
    -moz-border-left-colors: #d6487e;
}

.label-pink.arrowed-in-right:after {
    border-color: #d6487e transparent #d6487e #d6487e;
    -moz-border-left-colors: #d6487e;
}

.label-purple.arrowed:before {
    border-right-color: #9585bf;
    -moz-border-right-colors: #9585bf;
}

.label-purple.arrowed-in:before {
    border-color: #9585bf #9585bf #9585bf transparent;
    -moz-border-right-colors: #9585bf;
}

.label-purple.arrowed-right:after {
    border-left-color: #9585bf;
    -moz-border-left-colors: #9585bf;
}

.label-purple.arrowed-in-right:after {
    border-color: #9585bf transparent #9585bf #9585bf;
    -moz-border-left-colors: #9585bf;
}

.label-yellow.arrowed:before {
    border-right-color: #fee188;
    -moz-border-right-colors: #fee188;
}

.label-yellow.arrowed-in:before {
    border-color: #fee188 #fee188 #fee188 transparent;
    -moz-border-right-colors: #fee188;
}

.label-yellow.arrowed-right:after {
    border-left-color: #fee188;
    -moz-border-left-colors: #fee188;
}

.label-yellow.arrowed-in-right:after {
    border-color: #fee188 transparent #fee188 #fee188;
    -moz-border-left-colors: #fee188;
}

.label-light.arrowed:before {
    border-right-color: #e7e7e7;
    -moz-border-right-colors: #e7e7e7;
}

.label-light.arrowed-in:before {
    border-color: #e7e7e7 #e7e7e7 #e7e7e7 transparent;
    -moz-border-right-colors: #e7e7e7;
}

.label-light.arrowed-right:after {
    border-left-color: #e7e7e7;
    -moz-border-left-colors: #e7e7e7;
}

.label-light.arrowed-in-right:after {
    border-color: #e7e7e7 transparent #e7e7e7 #e7e7e7;
    -moz-border-left-colors: #e7e7e7;
}

.label-grey.arrowed:before {
    border-right-color: #a0a0a0;
    -moz-border-right-colors: #a0a0a0;
}

.label-grey.arrowed-in:before {
    border-color: #a0a0a0 #a0a0a0 #a0a0a0 transparent;
    -moz-border-right-colors: #a0a0a0;
}

.label-grey.arrowed-right:after {
    border-left-color: #a0a0a0;
    -moz-border-left-colors: #a0a0a0;
}

.label-grey.arrowed-in-right:after {
    border-color: #a0a0a0 transparent #a0a0a0 #a0a0a0;
    -moz-border-left-colors: #a0a0a0;
}



.label-hinh.arrowed {
    margin-left: 5px;
}

    .label-hinh.arrowed:before {
        left: -10px;
        border-width: 10px 5px;
    }

.label-hinh.arrowed-in {
    margin-left: 5px;
}

    .label-hinh.arrowed-in:before {
        left: -5px;
        border-width: 10px 5px;
    }

.label-hinh.arrowed-right {
    margin-right: 5px;
}

    .label-hinh.arrowed-right:after {
        right: -10px;
        border-width: 10px 5px;
    }

.label-hinh.arrowed-in-right {
    margin-right: 5px;
}

    .label-hinh.arrowed-in-right:after {
        right: -5px;
        border-width: 10px 5px;
    }

.label-hinh.label-white {
    color: #879da9;
    border: 1px solid #abbac3;
    background-color: #f2f5f6;
    border-right-width: 1px;
    border-left-width: 2px;
}

.label-hinh.label-info {
    background-color: #3A87AD;
}

.label-white.label-success {
    color: #7b9e6c;
    border-color: #9fbf92;
    background-color: #edf3ea;
}

.label-white.label-warning {
    color: #d9993e;
    border-color: #e4ae62;
    background-color: #fef6eb;
}

.label-warning {
    background-color: #F89406;
    line-height: 1.15;
}

.label-white.label-primary {
    color: #6688a6;
    border-color: #8aafce;
    background-color: #eaf2f8;
}

.label-white.label-danger {
    color: #bd7f75;
    border-color: #d28679;
    background-color: #fcf4f2;
}

.label-white.label-info {
    color: #4e7a8f;
    border-color: #7aa1b4;
    background-color: #eaf3f7;
}

.label-white.label-inverse {
    color: #404040;
    border-color: #737373;
    background-color: #ededed;
}

.label-white.label-pink {
    color: #af6f87;
    border-color: #d299ae;
    background-color: #fbeff4;
}

.label-white.label-purple {
    color: #7d6fa2;
    border-color: #b7b1c6;
    background-color: #efedf5;
}

.label-white.label-yellow {
    color: #cfa114;
    border-color: #ecd181;
    background-color: #fdf7e4;
}

.label-white.label-grey {
    color: #878787;
    border-color: #cecece;
    background-color: #ededed;
}