ul li {
    list-style-type: none;
}

.modal-meta-top .popover {
    left: 2px !important;
}

.modal-meta-top .popover-content {
    padding: 4px !important;
}

.albumBody .popover-content {
    padding: 4px !important;
}

.iml-album-list textarea,
.modal-image textarea,
.modal-meta textarea,
.albumBody textarea, .upload-modal textarea {
    width: 100% !important;
}

.iml-album-list input[type="text"],
.modal-image input[type="text"],
.modal-meta input[type="text"],
.albumBody input[type="text"], .upload-modal input[type="text"] {
    width: 100% !important;
}

.break-word {
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    -moz-word-break: normal;
    -o-word-break: normal;
    word-break: normal;
}

.ellipsis {
    overflow: hidden !important;
    white-space: nowrap !important;
    -moz-text-overflow: ellipsis !important;
    -ms-text-overflow: ellipsis !important;
    -o-text-overflow: ellipsis !important;
    text-overflow: ellipsis !important;
}

.mt20 {
    margin-top: 20px;
}

.ml5 {
    margin-left: 5px;
}


.photo-dis-location .twitter-typeahead {
    display: block !important;
}

.tt-query {
    -webkit-box-shadow: inset 0 1px 1px #000000;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px #000000;
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -ms-box-shadow: inset 0 1px 1px #000000;
    -ms-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px #000000;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
    color: #999;
    width: 250px;
}

.tt-dropdown-menu {
    width: 240px;
    max-width: 280px;
    margin-top: 4px;
    padding: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 5px 10px #000000;
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    -ms-box-shadow: 0 5px 10px #000000;
    -ms-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    box-shadow: 0 5px 10px #000000;
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

    .tt-dropdown-menu .tt-suggestions {
        max-height: 250px;
        overflow-y: auto;
        font-size: 12px;
    }

    .tt-dropdown-menu .tt-suggestion {
        padding: 3px 8px;
        font-size: 12px;
        line-height: 24px;
    }

        .tt-dropdown-menu .tt-suggestion.tt-cursor {
            color: #fff;
            background-color: #0097cf;
        }

        .tt-dropdown-menu .tt-suggestion p {
            margin: 0;
        }

.iml-album-list a.image-count:hover, .iml-album-list .thumbnail-content a:hover {
    text-decoration: none;
}

.albumBody {
    width: 679px;
    margin: 20px auto;
}

.iml-main-h {
    border-bottom: #ddd solid 1px;
    padding-bottom: 5px;
    color: #333;
    font-size: 16px;
    font-weight: 400;
}

    .iml-main-h > i {
        color: #ccc;
        margin-right: 10px;
        font-size: 18px;
    }

.iml-tablist ul {
    margin: 10px 0 10px 0;
}

.iml-album-list .thumbnail {
    position: relative;
}

    .iml-album-list .thumbnail:hover {
        border: #428bca solid 1px;
    }

        .iml-album-list .thumbnail:hover > .option-menu {
            display: block;
        }

    .iml-album-list .thumbnail .comment-popover {
        top: 160px;
        left: 0;
        display: block;
        width: 400px;
    }

        .iml-album-list .thumbnail .comment-popover .popover-content {
            max-height: 400px;
            overflow: auto;
        }

.iml-album-list .image-count {
    -ms-border-radius: 4px;
    border-radius: 4px;
    background-color: #000000;
    background-color: rgba(0,0,0,0.54);
    padding: 4px;
    font-size: 12px;
    width: 28px;
    position: absolute;
    right: 9px;
    top: 9px;
    display: block;
    color: #fff;
    text-align: center;
}

img.athumbnail {
    width: 100%;
    height: 160px!important;/*seems will override by bs style so add important here*/
}

.iml-album-list .thumbnail-content {
    /*position: absolute;
    line-height: 24px;
    bottom: 4px;
    right: 4px;
    left: 4px;
    color: #fff;
    padding: 0 6px;
    font-size: 12px;
    z-index: 3;*/
    bottom: 4px;
    right: 4px;
    left: 4px;
    padding: 0 6px;
    position: absolute;
    z-index: 1;
    background-image: -moz-linear-gradient(top, rgba(0,0,0,.6), rgba(0,0,0,.6));
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(0,0,0,.6)), to(rgba(0,0,0,.6)));
    background-image: -webkit-linear-gradient(top, rgba(0,0,0,.6), rgba(0,0,0,.6));
    background-image: -o-linear-gradient(top, rgba(0,0,0,.6), rgba(0,0,0,.6));
    background-image: linear-gradient(to bottom, rgba(0,0,0,.6), rgba(0,0,0,.6));
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#88000000', endColorstr='#88000000', GradientType=0);
}

    .iml-album-list .thumbnail-content a {
        color: #fff;
        margin-right: 8px;
    }

    .iml-album-list .thumbnail-content .thumbnail-table {
        width: 99%;
        position: relative;
        table-layout: fixed;
    }

    .iml-album-list .thumbnail-content .item-op {
        position: relative;
        height: 30px;
        padding-left: 10px;
        color: #dfdfdf;
    }

        .iml-album-list .thumbnail-content .item-op a {
            color: #dfdfdf;
            text-decoration: none;
            float: left;
            padding-top: 6px;
        }

            .iml-album-list .thumbnail-content .item-op a:hover {
                color: #fff;
            }

.item-op a.item-praise {
    margin-right: 10px;
}

.item-praised {
    color: #e9af3e;
}

.iml-album-list .option-menu {
    display: none;
    position: absolute;
    top: 4px;
    right: 4px;
    left: 4px;
}

    .iml-album-list .option-menu .dropdown-toggle {
        top: 7px;
        right: 7px;
        position: absolute;
    }

.iml-album-list .dropdown-menu {
    font-size: 12px;
    top: 26px;
    right: 9px;
    left: auto;
}

.iml-album-list .photogradient {
    bottom: 0;
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    z-index: -1;
}

.like-content {
    position: absolute;
    z-index: 200;
    background: #f00;
}

.album-info, .add-album-photos {
    padding: 15px;
    border-bottom: #ddd solid 1px;
}

    /*.album-info{background: #f2f2f2;}*/

    .add-album-photos .aa-thumbnail, .add-album-photos .aa-thumbnail-ing {
        -ms-border-radius: 5px;
        border-radius: 5px;
        background: #f2f2f2;
        border: #ddd solid 1px;
        position: relative;
        cursor: pointer;
    }

        .add-album-photos .aa-thumbnail .make-cover {
            position: absolute;
            left: 10px;
            bottom: 30px;
            font-size: 12px;
            color: #fff;
            padding: 5px;
            -ms-border-radius: 3px;
            border-radius: 3px;
            background-color: #000000;
            background-color: rgba(0, 0, 0, 0.6);
        }

        .add-album-photos .aa-thumbnail .del-photo {
            font-size: 14px;
            z-index: 10;
            right: 10px;
            top: 10px;
            position: absolute;
            color: #000;
        }

        .add-album-photos .aa-thumbnail .make-cover:hover {
            text-decoration: none;
            background-color: #000000;
            background-color: rgba(0, 0, 0, 1);
        }

        .add-album-photos .aa-thumbnail img, .add-album-photos .photo-loading {
            -ms-border-top-left-radius: 5px;
            border-top-left-radius: 5px;
            -ms-border-top-right-radius: 5px;
            border-top-right-radius: 5px;
        }


    .add-album-photos .photo-dis {
        padding: 5px 10px;
        font-size: 12px;
        height: 26px;
        position: absolute;
        -ms-border-bottom-left-radius: 5px;
        border-bottom-left-radius: 5px;
        -ms-border-bottom-right-radius: 5px;
        border-bottom-right-radius: 5px;
        bottom: 0;
        left: 0;
        right: 0;
        background-image: -moz-linear-gradient(top, rgba(0,0,0,.6), rgba(0,0,0,.6));
        background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(0,0,0,.6)), to(rgba(0,0,0,.6)));
        background-image: -webkit-linear-gradient(top, rgba(0,0,0,.6), rgba(0,0,0,.6));
        background-image: -o-linear-gradient(top, rgba(0,0,0,.6), rgba(0,0,0,.6));
        background-image: linear-gradient(to bottom, rgba(0,0,0,.6), rgba(0,0,0,.6));
        background-repeat: repeat-x;
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#88000000', endColorstr='#88000000', GradientType=0);
    }

    .add-album-photos .photo-txt {
        border: 0 none;
        background: none;
        outline: none;
        overflow: hidden;
        resize: none;
        height: 16px;
        color: #fff;
    }

    .add-album-photos a.add-location:hover {
        color: #fff;
    }


     .photo-plus {
        text-decoration: none !important;
        display: block;
        background: #f2f2f2;
        -ms-border-radius: 5px;
        border-radius: 5px;
        text-align: center;
        vertical-align: middle;
        border: #ddd solid 1px;
    }

         .photo-plus:hover {
            text-decoration: none;
            background: #f0f0f0;
        }

        .photo-plus i {
            margin-top: 50px;
            font-size: 64px;
            color: #ccc;
        }

        .photo-plus p {
            font-size: 16px;
            color: #ccc;
        }

    .add-album-photos a.add-location {
        color: #ccc;
        font-size: 14px;
    }

    /*.add-album-photos a.add-location:hover {
            color: #333;
        }*/

    .add-album-photos .photo-loading {
        width: 100%;
        height: 160px;
        background: #fff;
        position: relative;
    }

        .add-album-photos .photo-loading .progress {
            height: 8px;
            position: absolute;
            left: 10%;
            top: 80px;
            width: 80%;
            z-index: 100;
        }

        .add-album-photos .photo-loading img {
            width: 100%;
            height: 160px;
            position: absolute;
            left: 0;
            top: 0;
            z-index: 0;
            -ms-border-radius: 5px;
            border-radius: 5px;
        }


    .add-album-photos .term-conditions {
        font-size: 12px;
        padding-top: 10px;
    }

        .add-album-photos .term-conditions input[type=checkbox] {
            margin: 2px 2px 0 0;
        }

.album-detail-info {
    padding: 10px 0;
    border-bottom: #ddd solid 1px;
    margin-bottom: 10px;
}

    .album-detail-info h4 {
        margin: 0;
    }

    .album-detail-info .text-muted {
        font-size: 12px;
        margin-top: 5px;
    }

    .album-detail-info .album-toolbar, .photo-toolbar {
        overflow: hidden;
        width: 100%;
    }

        .album-detail-info .album-toolbar li {
            width: 40px;
            float: left;
            text-align: center;
            font-size: 12px;
            border: #fff solid 1px;
        }

            .album-detail-info .album-toolbar li:hover {
                border: #fff solid 1px;
                -ms-border-radius: 5px;
                border-radius: 5px;
                cursor: pointer;
                background: #f7f7f7;
            }

            .album-detail-info .album-toolbar li i, .photo-toolbar li i {
                color: #ccc;
            }

            .album-detail-info .album-toolbar li:hover i, .photo-toolbar li:hover i {
                color: #333;
            }

    .album-detail-info .album-dis {
        font-size: 12px;
    }


.add-comment p {
    margin-bottom: 0;
}

    .add-comment p.interactive {
        font-size: 12px;
    }

.add-comment .comment-date {
    position: absolute;
    right: 20px;
    top: 2px;
    color: #ccc;
    font-size: 12px;
}

.add-comment .media {
    padding: 10px 0;
    border-bottom: #ddd solid 1px;
}

    .add-comment .media:hover {
        background: #f7f7f7;
    }

.add-comment .user-avatar {
    margin-top: 3px;
}

#albumPostbox {
    padding: 10px;
    background: #f7f7f7;
    margin-bottom: 10px;
}

.photo-main {
    overflow: hidden;
}

.photo-dis {
    font-size: 12px;
}

.photo-toolbar {
    margin: 0;
    padding: 0;
}

    .photo-toolbar li {
        float: left;
        margin: 10px 5px 0 0;
        font-size: 12px;
        text-align: left;
        padding: 5px;
    }

        .photo-toolbar li.active {
            background: #f2f2f2;
            color: #333;
            -ms-border-top-right-radius: 4px;
            border-top-right-radius: 4px;
            -ms-border-top-left-radius: 4px;
            border-top-left-radius: 4px;
        }

        .photo-toolbar li:hover {
            cursor: pointer;
        }

.comment-list {
    font-size: 12px;
}

    .comment-list a, a.user-avatar, .photo-toolbar li.active i {
        color: #333;
    }

.share-friends {
    font-size: 12px;
    padding: 10px;
    background: #f2f2f2;
    -ms-border-radius: 4px;
    border-radius: 4px;
}

    .share-friends .input-group {
        margin-bottom: 10px;
    }



.img-comment-list {
    list-style: none;
    padding: 0;
    line-height: 18px;
}

    .img-comment-list li {
        margin: 0;
    }

.thumbnail-content .likes {
    color: #ccc;
    border-bottom: #ddd solid 1px;
}

.thumbnail-content .comment-text, .thumbnail-content .comment-text a {
    color: #333;
}

    .thumbnail-content .comment-text .reply a {
        margin-right: 0;
        color: #ccc;
    }

.thumbnail-content .likes a {
    margin-right: 0;
    color: #333;
}


.img-comment-list li > div {
    display: table-cell;
}

.img-comment-list img {
    -ms-border-radius: 10%;
    border-radius: 10%;
    width: 32px;
    height: 32px;
    margin-right: 10px;
    margin-top: 10px;
}

.img-comment-list p {
    margin: 0;
}

.img-comment-list .comment-content {
    width: 238px;
    max-width: 238px;
}

.img-comment-list .comment-text .btn-group .dropdown-menu {
    left: -80px;
}

.img-comment-list .sub-text, .img-comment-list .reply {
    font-size: 12px;
    color: #aaa;
    float: left;
}

.post-btn {
    background: #f2f2f2;
    padding: 10px 0;
}

div.tagName {
    top: 80px;
    left: 0;
    width: 80px;
    display: block;
    text-align: center !important;
}

/*photo modal*/

/* So that the modal is displayed in the preview.. You can probably remove this and the above rule */

.img-modal {
    display: block;
}

.modal-lg {
    width: 1000px;
}

.img-modal .modal-dialog {
    /* An arbitrary minimum height. Feel free to modify this one as well */
    min-height: 550px;
    height: 95%;
}

.img-modal .modal-content, .img-modal .modal-body, .img-modal .row, .img-modal .modal-image {
    height: 100%;
}

.modal-body {
    /*padding-top: 0;
    padding-bottom: 0;*/
    padding: 0 15px 0 0;
}

.modal-image {
    background: #000;
    padding: 0;
}

    .modal-image .mainImage {
        margin: 0 auto;
        max-height: 100%;
        max-width: 100%;
        position: relative;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
    }

.tag-logo {
    margin-right: 3px;
}

.img-modal .img-modal-btn {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    background: black;
    -ms-opacity: 0;
    opacity: 0;
    font-size: 1.5em;
    width: 45px;
    color: #fff;
    -webkit-transition: opacity 0.2s ease-in-out;
    -moz-transition: opacity 0.2s ease-in-out;
    -o-transition: opacity 0.2s ease-in-out;
    -ms-transition: opacity 0.2s ease-in-out;
    transition: opacity 0.2s ease-in-out;
}

.img-modal .tagContainer {
    height: 100%;
    left: 0;
    position: absolute;
    width: 100%;
    pointer-events: none;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.img-modal .tagWrapper {
    display: inline-block;
    height: 100%;
    width: 100%;
    position: relative;
    vertical-align: middle;
}

    .img-modal .tagWrapper .saved-Tagbox {
        -ms-opacity: 0.1 !important;
        opacity: 0.1 !important;
    }

        .img-modal .tagWrapper .saved-Tagbox:hover {
            -ms-opacity: 0.9 !important;
            opacity: 0.9 !important;
        }

.img-modal .tag-area {
    position: absolute;
    top: 200px;
    left: 150px;
}

.img-modal .tag-box {
    -ms-border-radius: 5px;
    border-radius: 5px;
    border: 3px solid #ccc;
    width: 80px;
    height: 80px;
    -ms-opacity: 0.8;
    opacity: 0.8;
    -webkit-border-radius: 3px;
    -webkit-box-shadow: 0 0 5px #000000, 0 0 4px #000000 inset;
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .75), 0 0 4px rgba(0, 0, 0, .5) inset;
}

.img-modal .modal-image:hover .img-modal-btn {
    -ms-opacity: 0.4;
    opacity: 0.4;
}

    .img-modal .modal-image:hover .img-modal-btn:hover {
        -ms-opacity: 0.75;
        opacity: 0.75;
    }

.img-modal .img-modal-btn.right {
    right: 0;
}

.modal-image, .img-modal .img-modal-btn.left {
    -ms-border-bottom-left-radius: 6px;
    border-bottom-left-radius: 6px;
    -ms-border-top-left-radius: 6px;
    border-top-left-radius: 6px;
}

.img-modal .img-modal-btn i {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    text-align: center;
    margin-top: -.75em;
}

.img-modal .modal-meta {
    position: relative;
    height: 100%;
}

.img-modal .modal-meta-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 300px;
    padding: 5px 10px;
    -ms-border-top-right-radius: 6px;
    border-top-right-radius: 6px;
    overflow-y: auto;
}

    .img-modal .modal-meta-top .img-poster img {
        height: 64px;
        width: 64px;
        float: left;
        margin-right: 15px;
        margin-bottom: 10px;
    }

    .img-modal .modal-meta-top .img-poster strong {
        display: block;
        padding-top: 15px;
    }

    .img-modal .modal-meta-top .img-poster span {
        display: block;
        color: #aaa;
        font-size: .9em;
    }

.img-modal .modal-meta-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 5px;
    border-top: solid 1px #ccc;
}
/*.img-modal .iml-ads {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}*/
.img-modal div.photo-comment-list {
    /*position: absolute;*/
    top: 0;
    left: 0;
    right: 0;
}

.img-modal div.photo-comment-box {
    /*position: absolute;*/
    top: 0;
    left: 0;
    bottom: 0;
    padding: 5px;
}

.img-modal img.in-tagging {
    cursor: crosshair;
}

.add-album-photos {
    position: relative;
}

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        -ms-border-radius: 6px;
        border-radius: 6px;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #cccccc;
        margin-top: 5px;
        margin-right: -10px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #ffffff;
    }

    .dropdown-submenu.pull-left {
        float: none;
    }

        .dropdown-submenu.pull-left > .dropdown-menu {
            left: -100%;
            margin-left: 10px;
            -webkit-border-radius: 6px;
            -moz-border-radius: 6px;
            -ms-border-radius: 6px;
            border-radius: 6px;
        }

.upload-modal .img-block {
    outline: 0;
    -webkit-user-select: none;
     -webkit-transition: all 0.45s;
    -moz-transition: all 0.45s;
    -o-transition: all 0.45s;
    -ms-transition: all 0.45s;
    transition: all 0.45s;
}

    .upload-modal .img-block .img-block-wrapper {
        border: 1px solid #dcdee3;
        -webkit-box-sizing: border-box;
        margin: 8px;
        position: relative;
        vertical-align: bottom;
    }

.upload-modal .img-container {
    background-color: #f6f7f8;
    height: 289px;
    margin: 0 auto;
    outline: none;
    position: relative;
}

.upload-modal .scaledImage {
    bottom: 0;
    display: block;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
}

.upload-modal .img-view {
    height: 100%;
    max-height: 290px;
    min-height: 100%;
    position: relative;
}

.upload-modal .tag-container {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 9;
}

    .upload-modal .img-view:hover {
        cursor: crosshair;
    }

.upload-modal .img-setting {
    bottom: 5px;
    display: none;
    outline: none;
    position: absolute;
    right: 5px;
    z-index: 10;
    color: black;
}

.img-block:hover .img-setting, .img-block:hover .img-icon-button {
    display: block;
}

.upload-modal .tag-notify {
    background-color: #fff;
    border: 1px solid #ccc;
    -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
    font-family: helvetica, arial, sans-serif;
    font-size: 12px;
    left: 50%;
    margin-left: -80px;
    position: absolute;
    text-align: center;
    top: 5px;
    width: 160px;
    opacity: 0.7
}

.upload-modal .tag-input-box {
    background-color: #fff;
    border-top: 1px solid #dcdee3;
    font-size: 12px;
    min-height: 40px;
    border: none;
}

.upload-modal .img-icon-button {
    display: none;
    position: absolute;
    top: 2px;
    z-index: 10;
    color: black;
}

.upload-modal .img-upload-plus {
    border: 1px dashed #679fe8;
    color: #679fe8;
    font-size: 18px;
    height: 361px;
    text-align: center;
    width: 100%;
    display: block;
    //overflow: hidden;
}

.upload-modal .img-upload-box {
    position: absolute;
    top: 120px;
    width:291px;
    left: 50%;
    margin-left: -145px;
}

.upload-modal .img-add-photo {
    display:block !important;
    margin: 8px;
}

.upload-modal .divUploadContainer {
    margin: 0;
    /*padding: 10px 0 10px 10px;*/
    font-size: 14px;
}

.upload-modal .button-area {
    /* background-color: #f6f7f8; */
    border-top: 1px solid #e5e5e5;
    bottom: 0;
    left: 0;
    padding: 8px 4px;
    position: absolute;
    /* right: 12px; */
    width: 100%;
}

.upload-modal .left-side {
    /*min-width: 200px;*/
    padding-top: 15px;
    background-color: #f5f6f7;
    -webkit-border-bottom-left-radius: 3px;
    border-right: 1px solid #e5e5e5;
    min-height: 350px;
    -webkit-transition: all 0.45s;
    -moz-transition: all 0.45s;
    -o-transition: all 0.45s;
    -ms-transition: all 0.45s;
    transition: all 0.45s;
}

.upload-modal .tag {
    bottom: -25px;
    -ms-opacity: 0.1;
    opacity: 0.1;
    font-size: 12px;
}

.upload-modal .tag-container:hover .tag {
    -ms-opacity: 0.9;
    opacity: 0.9;
}

.upload-modal .tag-arrow {
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid #fff;
    top: -9px;
    left: 35%;
    position: absolute;
}

.upload-modal .tag-name {
    -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, .25), 0 1px 5px 3px rgba(0, 0, 0, .05);
    -webkit-background-clip: padding-box;
    border: 1px solid #404040;
    border-color: rgba(0, 0, 0, .25);
    background: #fff;
    color: #404040;
    cursor: default;
    font-weight: normal;
    padding: 4px 6px 3px;
    top: 3px;
    white-space: nowrap;
}
.upload-modal .progress {
    height: 15px;
    position: absolute;
    left: 10%;
    top: 150px;
    width: 80%;
    z-index: 100;
}
.upload-modal .tag-area {
    position: absolute;
    top: 200px;
    left: 150px;
}
.upload-modal .tag-box {
    -ms-border-radius: 5px;
    border-radius: 5px;
    border: 3px solid #ccc;
    width: 40px;
    height: 40px;
    -ms-opacity: 0.8;
    opacity: 0.8;
    -webkit-border-radius: 3px;
    -webkit-box-shadow: 0 0 5px #000000, 0 0 4px #000000 inset;
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .75), 0 0 4px rgba(0, 0, 0, .5) inset;
}
.upload-modal .left-side .twitter-typeahead {
    width: 100%
}
.upload-modal .right-side .tokenfield {
    padding-top: 6px;
    padding-right: 4px;
    padding-left: 4px;
}

.add-tags{margin-top:10px;}
.add-tags .photo-toolbar{padding-left:20px; border-bottom:#dcdee3 solid 1px;}
.add-tags .photo-toolbar li{margin:0px 5px;}
.add-tags .tag-form{display: none;width: 100%; height: 32px!important; border: none; text-indent:10px;}
.upload-modal .add-tags .tag-input-box,.add-tags .tokenfield{min-height: auto !important;}
/*for baidu complete*/
.tangram-suggestion-main {
    z-index: 1060;
}


/*for add alburms area*/
@media (min-width: 1299px) {
    #divAddPhotoModal .modal-dialog {
        width: 1200px;
        max-width: 1200px!important;
    }

    #divAddPhotoModal .modal-body {
        /*padding-top: 0;
        padding-bottom: 0;*/
        padding: 0 15px 0 15px;
    }
    
    #divAddPhotoModal .scaledImage, #divAddPhotoModal .scaledImage img {
        width: 203px;
    }

    .upload-modal .img-block .img-block-wrapper {
        display: inline-block;
        width: 291px;
    }

    .upload-modal .img-container {
        width: 289px;
    }

    .upload-modal .img-upload-plus {
        width: 291px;
    }

    .upload-modal .img-block, .upload-container {
        display: inline-block;
        overflow:hidden;
    }

    .upload-modal .img-add-photo {
        display: inline-block !important;
    }
}

@media (min-width: 768px) and (max-width: 1300px) {
    #divAddPhotoModal .modal-dialog {
        width: 700px;
    }

    #divAddPhotoModal .scaledImage, #divAddPhotoModal .scaledImage img {
        width: 203px;
    }

    .upload-modal .img-block .img-block-wrapper {
        display: inline-block;
        width: 291px;
    }

    .upload-modal .img-container {
        width: 289px;
    }

    .upload-modal .img-upload-plus {
        width: 291px;
    }

    .upload-modal .img-block, .upload-container {
        display: inline-block;
        overflow:hidden;
    }

    .upload-modal .img-add-photo {
        display: inline-block !important;
    }
}
