.container {
    max-width: 1400px;
}


@media screen and (min-width: 1400px) {
    .container {
        max-width: 95%;
    }
}


.btn-ic-13 {
    width: 20px;
    height: 20px;
    margin-bottom: 4px;
}
.btn-ic-14 {
    width: 35px;
    height: 35px;
    margin-bottom: 5px;
}
.btn-ic-13 { background-position: -160px -135px; }
.btn-ic-14 { background-position: -140px -100px; }


.ibtn:hover {
    opacity: 0.8;
}
.btn.bg1:hover {background: #ec8217;}
.btn.bg2:hover {background: #e03267;}
.btn.bg3:hover {
    background: #8c2c38; /* Old browsers */
    background: -moz-linear-gradient(top,  #8c2c38 0%, #be0000 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #8c2c38 0%,#be0000 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #8c2c38 0%,#be0000 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8c2c38', endColorstr='#be0000',GradientType=0 ); /* IE6-9 */
}
.btn.bg4:hover {
    background: #3098d6; /* Old browsers */
    background: -moz-linear-gradient(top,  #3098d6 0%, #62b0df 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #3098d6 0%,#62b0df 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #3098d6 0%,#62b0df 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3098d6', endColorstr='#62b0df',GradientType=0 ); /* IE6-9 */
}
.btn.bg5:hover { background: #0D874C; }
.btn.bg6:hover {
    background: #dddddd; /* Old browsers */
    background: -moz-linear-gradient(top,  #dddddd 0%, #ffffff 65%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #dddddd 0%,#ffffff 65%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #dddddd 0%,#ffffff 65%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dddddd', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}
/*.btn.bg7:hover {background: #525252;color: #fff;}*/
.btn.bg8:hover { background: #aaa; }
.btn.bg9:hover { background: #4F99D6; }
.btn.bg10:hover {
    background: #333333; /* Old browsers */
    background: -moz-linear-gradient(top,  #333333 0%, #666666 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #333333 0%,#666666 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #333333 0%,#666666 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#333333', endColorstr='#666666',GradientType=0 ); /* IE6-9 */
}
.btn.bg11:hover {
    background: #333333; /* Old browsers */
    background: -moz-linear-gradient(top,  #333333 0%, #555555 65%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #333333 0%,#555555 65%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #333333 0%,#555555 65%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#333333', endColorstr='#555555',GradientType=0 ); /* IE6-9 */
}
.btn.bg12 {
    color: #525252;
    font-size: 15px;
    border: 1px solid #ccc;
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top,  #ffffff 0%, #e3e3e3 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #ffffff 0%,#e3e3e3 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #ffffff 0%,#e3e3e3 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e3e3e3',GradientType=0 ); /* IE6-9 */
}
.btn.bg12:hover {
    background: #e3e3e3; /* Old browsers */
    background: -moz-linear-gradient(top,  #e3e3e3 0%, #ffffff 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #e3e3e3 0%,#ffffff 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #e3e3e3 0%,#ffffff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e3e3e3', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}
.btn.bg13 {
    border: 1px solid #00A3D9;
    line-height: 38px;
    height: 40px;
    color: #00A3D9;
    font-size: 14px;
    padding: 0 15px;
}
.btn.bg13:hover {
    color: #fff;
    background: #00A3D9;
}
.btn.delete {
    position: relative;
    padding-left: 45px;
}
.btn.delete .ic {
    position: absolute;
    left: -1px;
    top: -1px;
}
.btn-wrap {
    cursor: pointer;
}
.btn-wrap .sr-only {
    z-index: 10;
    border: 0;
    padding: 0;
    cursor: pointer;
}


.form-control4 {
    display: inline-block;
    vertical-align: middle;
    height: 35px;
    line-height: 33px;
    padding: 0 6px;
    margin: 3px 0;
    color: #525252;
    font-size: 15px;
    border: 1px solid #ccc;
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top,  #ffffff 0%, #e3e3e3 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #ffffff 0%,#e3e3e3 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #ffffff 0%,#e3e3e3 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e3e3e3',GradientType=0 ); /* IE6-9 */
    box-sizing: border-box;
    border-radius: 4px;
}
.form-control4:focus {
    background: #e3e3e3; /* Old browsers */
    background: -moz-linear-gradient(top,  #e3e3e3 0%, #ffffff 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #e3e3e3 0%,#ffffff 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #e3e3e3 0%,#ffffff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e3e3e3', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}
textarea.form-control {
    line-height: 1.5;
    padding: 4px 6px;
    resize: vertical;
}
.tips {
    color: #999;
    font-size: 12px;
    line-height: 1.5;
    margin-top: 8px;
    clear: none;
}

.pagination {
    text-align: center;
    border: 1px solid #ddd;
    overflow: hidden;
    color: #555;
    font-size: 13px;
    letter-spacing: 0;
    margin-bottom: 0;
    margin: 3px 0;
}
/*--*/

.album-list {
    margin: 0 -10px;
}

.album-list .item {
    width: 20%;
    padding: 0 10px;
}

.album-list .item:nth-child(5n+1) {
    clear: left;
}

.album-list .box-bg {
    color: #7E7E7E;
    font-size: 14px;
    max-width: 280px;
    margin: 0 auto 40px;
    padding: 10px;
    background: #F8F8F8;
    border: 1px solid #CCC;
    border-radius: 6px;
    position: relative;
    z-index: 15;
}

.album-list .box,
.album-list .box-has-bg {
    max-width: 280px;
    margin: 0 auto 40px;
    position: relative;
}

.album-list .box-has-bg:before,
.album-list .box-has-bg:after {
    content: "";
    background: #E4E4E4;
    border: 1px solid #CCC;
    position: absolute;
    top: 2px;
    left: 2px;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    z-index: 5;
    transition: all .2s;
}

.album-list .box-has-bg:after {
    top: 5px;
    left: 5px;
    z-index: 0;
}

.album-list .box.checked .box-has-bg:before,
.album-list .box.checked .box-has-bg:after,
.album-list li:hover .box-has-bg:before,
.album-list li:hover .box-has-bg:after {
    background: #42A1D9;
    border-color: #42A1D9;
    transition: all .2s;
}

.album-list .box.checked {
    border-color: #40A0D9;
}

.album-list .box.checked .box-bg {
    background: #FFFFEE;
}

.album-list .pic-box {
    position: relative;
}

.album-list .check-status {
    position: absolute;
    right: 0;
    top: 0;
}

.album-list .box.checked .check-status {
    width: 100%;
    height: 100%;
    z-index: 10;
}

.select-status {
    width: 100%;
    height: 100%;
    z-index: 10;
}

.album-list .check-status:before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    background: url('../../images/system/check_status.png') no-repeat;
    position: absolute;
    z-index: 10;
    right: 5px;
    top: 5px;
    overflow: hidden;
}

.album-list .box.checked .check-status:before {
    background-position: 0 100%;
}

.album-list .check-status input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    z-index: -1;
}

.album-list .box .pic {
    border: 1px solid #ddd;
    overflow: hidden;
    position: relative;
    opacity: 1;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.album-list .box:hover .pic {
    opacity: 0.8;
}

.album-list .box .pic img {
    position: absolute;
    top: 50%;
    left: 50%;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.album-list .box .pic .alt-pic {
    position: static;
    -moz-transform: none;
    -webkit-transform: none;
    -o-transform: none;
    -ms-transform: none;
    transform: none;
}

.album-list .box .name {
    color: #6894c1;
    font-size: 17px;
    display: block;
    margin: 6px 0 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 44px;
}

.album-list .box:hover .name {
    color: #6894c1;
    font-weight: bold;
}

.album-list .sort {
    margin-top: 5px;
}

.album-list .sort .form-control2 {
    height: 22px;
    line-height: 20px;
    width: 55px;
    text-align: left;
    margin: 0;
}

.album-list .sort .form-control2:focus {
    border-color: #2689c3;
}

.album-list .display-status {
    position: absolute;
    right: 10px;
    bottom: 3px;
}

.album-list .tag {
    white-space: nowrap;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 22px;
    margin-right: 40px;
}

.album-list .add-album,
.album-list .upload-album {
    background: #F8F8F8;
    border: 1px dashed #CCC;
    border-radius: 6px;
    transition: all .2s;
}

.album-list .add-album:hover,
.album-list .upload-album:hover {
    background: #eee;
    transition: all .2s;
}

.album-list .add-album .pic {
    margin: 16px 0;
    border-color: transparent;
}

.album-list .upload-album .pic {
    margin: 10px 0;
}

.album-list .add-album .pic {
    background: url('../../images/system/album_add.png') 50% 50% / 68% auto no-repeat;
}

.album-list .upload-album .pic {
    background: url('../../images/system/album_upload.png') 50% 50% / 68% auto no-repeat;
    border-color: transparent;
}

.album-list .add-album .name,
.album-list .upload-album .name {
    text-align: center;
    font-size: 20px;
    display: block;
    height: auto;
}

.album-list .add-album .name {
    margin: 10px 0 20px;
}

.album-list .upload-album .name {
    margin: 10px 0;
}

.album-detail {
    position: relative;
    background: #F8F8F8;
    border: 1px solid #DDD;
    margin-top: 10px;
    padding: 30px;
}

.album-detail .row {
    margin: 0;
}

.album-detail .col {
    padding: 0;
}

.album-detail .col1 {
    float: left;
    width: 205px;
}

.album-detail .col2 {
    float: right;
    width: calc(100% - 245px);
}

.album-detail .pic {
    background: #fff;
    max-width: 280px;
    padding: 5px;
    margin-bottom: 5px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.3);
}

.album-detail .col1 .btn {
    margin: 5px 0;
}

.album-detail .btn.delete {
    width: 100%;
}

.album-detail .required:before {
    content: '*';
    font-size: 18px;
    line-height: 1;
    color: #D80000;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
}

.album-detail .form-group {
    line-height: 35px;
    padding: 3px 0;
}

.album-detail .form-group:after {
    content: '';
    display: block;
    clear: both;
}

.album-detail .form-control {
    background: #fff;
}

.album-detail .control-label {
    clear: left;
    float: left;
    width: 85px;
    font-size: 15px;
    text-align: right;
    margin: 3px 0;
}

.album-detail .control-box {
    margin-left: 100px;
}

.album-detail.type2 .row {
    margin-right: 180px;
}

.album-detail.type2 .display {
    float: right;
}

.album-detail.type2 .classification {
    float: left;
    width: 360px;
}

.album-detail.type2 .btn.delete {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 180px;
    border-left: 1px solid #ddd;
    color: #B1B1B1;
    padding: 0;
    font-size: 14px;
}

.album-detail.type2 .btn.delete:hover {
    color: #1F1F1F;
}

.album-detail.type2 .btn.delete .txt {
    position: absolute;
    top: 50%;
    right: 50%;
    width: 88px;
    height: 74px;
    margin: -37px -44px 0 0;
}

.album-detail.type2 .btn.delete .icon {
    display: block;
    background-image: url('../../images/system/album_delete_ic.png');
    width: 50px;
    height: 50px;
    margin: 0 auto 5px;
}

.album-detail.type2 .btn.delete:hover .icon {
    background-position: 0 100%;
}

.album-upload-fancybox .fancybox-skin {
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.album-upload-fancybox .fancybox-close {
    background: url('../../images/system/album_upload_close.png') no-repeat;
    width: 40px;
    height: 40px;
    position: absolute;
    right: 22px;
    top: 22px;
}

.album-photo-list .item {
    width: calc(100% / 6);
}

.album-photo-list .item:nth-child(5n+1) {
    clear: none;
}

.album-photo-list .item:nth-child(6n+1) {
    clear: left;
}

.album-photo-list .box {
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
}

.album-photo-list .box:hover {
    background: transparent;
}

.album-photo-list .box.checked {
    box-shadow: none;
    border: 0;
}

.album-photo-list .box.checked .pic {
    border: 3px solid #40A0D9;
}

.album-photo-list .box .pic {
    border-radius: 6px;
}

.album-photo-list .box .name {
    font-size: 15px;
    color: #525252;
    height: 41px;
    margin: 12px 50px 10px 0;
}

.album-photo-list .display-status {
    bottom: 4px;
}

.album-photo-list .upload-album {
    background: #F8F8F8;
    border: 1px dashed #CCC;
    border-radius: 6px;
}

.album-list .upload-album .pic {
    margin: 0;
}

.album-photo-list .upload-album .name {
    font-size: 20px;
    line-height: 1.25;
    display: block;
    margin: 0;
}

.album-photo-list .upload-album:hover {
    background: #eee;
}

.lightbox-body {
    background: none;
}

.lightbox-header {
    color: #000;
    font-size: 25px;
    line-height: 1.3;
    border-bottom: 1px solid #ccc;
    padding: 45px 4% 10px;
}

.lightbox-content {
    padding: 30px 4%;
}

.lightbox-content .upload-box {
    border: 1px dashed #BBC6E6;
    background: #F2F4FA;
    padding: 100px 2%;
    text-align: center;
    color: #AAB3D0;
    font-size: 30px;
    margin-bottom: 30px;
}

.lightbox-content .upload-box .icon {
    background-image: url('../../images/system/album_upload_ic.png');
    width: 130px;
    height: 130px;
    display: block;
    margin: 0 auto 15px;
}

.lightbox-content .upload-box .btn {
    display: block;
    margin: 15px auto 0;
    max-width: 200px;
}

.lightbox-content .upload-list {
    margin: -10px;
}

.lightbox-content .upload-list .item {
    padding: 10px;
    width: 20%;
}

.lightbox-content .upload-list .box {
    display: block;
    max-width: 280px;
    position: relative;
}

.lightbox-content .upload-list .box.checked:before {
    content: '';
    border: 4px solid #5AACDD;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.lightbox-content .upload-list .check-status {
    display: block;
    position: absolute;
    background: url('../../images/system/album_cover_select.png') no-repeat;
    width: 30px;
    height: 30px;
    right: 10px;
    top: 10px;
}

.lightbox-content .upload-list .checked .check-status {
    background-position: 0 100%;
}

.lightbox-content .upload-list .check-status input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    z-index: -1;
}

.lightbox-footer {
    border-top: 1px solid #ccc;
    padding: 30px 4% 40px;
    text-align: center;
}

@media screen and (max-width: 1200px) {
    .album-list .item {
        width: 33.33%;
    }
    .album-list .item:nth-child(5n+1) {
        clear: none;
    }
    .album-list .item:nth-child(3n+1) {
        clear: left;
    }
    .album-detail.type2 .row {
        margin-right: 120px;
    }
    .album-detail.type2 .display,
    .album-detail.type2 .classification {
        float: none;
        width: auto;
    }
    .album-detail.type2 .btn.delete {
        width: 120px;
    }
    .lightbox-content .upload-list .item {
        width: 25%;
    }
}
@media screen and (max-width: 1000px) {
    .album-detail {
        padding: 15px 15px 10px;
    }
    .album-detail .col2 {
        width: calc(100% - 220px);
    }
    .album-detail.type2 .row {
        margin-right: 0;
    }
    .album-detail.type2 .btn.delete {
        right: 20px;
        top: 20px;
        bottom: auto;
        border: 0;
        width: auto;
    }
    .album-detail.type2 .btn.delete .txt {
        display: block;
        position: static;
        width: auto;
        height: auto;
        margin: 0;
    }
    .album-detail.type2 .btn.delete .icon {
        display: inline-block;
        width: 30px;
        height: 30px;
        -webkit-background-size: 30px auto;
        background-size: 30px auto;
        margin: 0 3px 2px 0;
    }
}
@media screen and (max-width: 900px) {
    .lightbox-content .upload-list .item {
        width: 33.33%;
    }
}

@media screen and (max-width: 767px) {
    .album-list {
        margin: 0 -7px;
    }
    .album-list .item {
        padding: 0 7px;
    }
}
@media screen and (max-width: 640px) {
    .album-list .item {
        width: 50%;
    }
    .album-list .item:nth-child(3n+1) {
        clear: none;
    }
    .album-list .item:nth-child(2n) {
        clear: left;
    }
    .album-list .item:first-child {
        margin: 0 25%;
    }
    .album-list .box {
        margin-bottom: 15px;
    }
    .album-detail .control-label {
        float: none;
        width: auto;
        margin: 0;
    }
    .album-detail .control-box {
        margin-left: 0;
    }
    .lightbox-content .upload-box {
        font-size: 24px;
    }
    .lightbox-content .upload-list {
        margin: -7px;
    }
    .lightbox-content .upload-list .item {
        width: 50%;
        padding: 7px;
    }
}
@media screen and (max-width: 600px) {
    .album-detail .col {
        width: 100%;
    }
    .album-detail .btn.delete {
        width: 204px;
    }
    .album-detail.type2 .pic {
        margin-right: 55px;
    }
    .album-detail.type2 .btn.delete {
        width: 40px;
        white-space: normal;
        right: 15px;
        top: 15px;
        font-size: 12px;
    }
    .album-detail.type2 .btn.delete .icon {
        display: block;
        margin: 0 auto;
    }
}
@media screen and (max-width: 500px) {
    .album-list .item {
        width: 100%;
    }
    .album-list .item:nth-child(n) {
        clear: none;
    }
    .album-list .item:first-child {
        margin: 0;
    }
}