/* user-profile */

.user-frame {
    margin-top: 10rem;
}

.user-frame .nav-tabs {
    border-bottom: 17px solid rgba(0, 0, 0, .3);
}

.user-frame .nav-tabs .nav-item {
    margin-bottom: 0;
}

.user-frame .nav-tabs .nav-item:first-child {
    padding-left: 15px;
}

.user-frame .nav-tabs .nav-link {
    color: #000;
    font-size: 1.15rem;
    font-weight: bold;
    border: 0;
    border-radius: 0;
    padding: .85rem 2.25rem;
    transition: all .2s;
}

.user-frame .nav-tabs .nav-link.active {
    border: 0;
    background-color: rgba(0, 0, 0, .3);
}

.user-frame .nav-tabs .nav-link:hover {
    border: 0;
}

#user-profile,
#purchased-products {
    margin-top: 5rem;
}

#user-profile .basic-info {
    max-width: 37rem;
}

#purchased-products h5 {
    text-align: center;
    font-weight: bold;
    letter-spacing: .05rem;
    padding: .5rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, .3);
}


/* #purchased-products .product-table {
    position: relative;
    display: flex;
} */

#purchased-products .product-table:not(:first-child) {
    margin-top: 4.5rem;
}

#purchased-products .product-table {
    margin-left: 11.375rem;
    margin-right: 11.375rem;
}


/* #purchased-products .product-table.table-col-4 {
    margin-left: 11.375rem;
    margin-right: 11.375rem;
}

#purchased-products .product-table.table-col-5 {
    margin-left: 5.6rem;
    margin-right: 5.6rem;
} */

#purchased-products .product-table .product-item {
    display: flex;
    width: 100%;
    min-height: calc(100px + 1.5rem);
    margin: 0 .5rem;
    background-color: rgb(214, 214, 214);
    box-shadow: 1.5px 1.5px 5.5px 1px rgb(152 152 152)
}

#purchased-products .product-table .product-item:not(:first-of-type) {
    margin-top: 1.5rem;
}

#purchased-products .product-table .product-table-content {
    display: flex;
    justify-content: space-between;
}

#purchased-products .product-table .product-item .product-item-title {
    min-width: 125px;
    max-width: 125px;
    font-size: 1.5rem;
    font-family: 微軟正黑體;
    letter-spacing: .15rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: .5rem;
    padding: .45rem .5rem;
    margin: .75rem;
}

#purchased-products .product-table .product-item .product-item-content {
    width: 100%;
    font-size: 1rem;
    letter-spacing: .1rem;
    font-weight: bold;
    padding: 0 .5rem;
    margin: .75rem;
    margin-left: 0;
    padding-left: .25rem;
    text-align: left;
}

#purchased-products .product-table .product-item .product-item-content a {
    color: #000;
}

#download-log,
#download-records {
    margin-top: 2.5rem;
}

#download-log .advanced-info {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

#download-log .advanced-info-title {
    text-align: center;
    font-size: .85rem;
    font-weight: bold;
    padding-bottom: .5rem;
    border-bottom: 1px solid #000;
}

#download-log .advanced-info .advanced-info-item {
    height: 150px;
    padding: .75rem .5rem .5rem .5rem;
    font-weight: bold;
    white-space: nowrap;
    border: 1px solid #000;
    background-color: #e9ecef;
}

#download-log .advanced-info .advanced-info-item:first-child {
    border-right: 0;
}

#download-log .advanced-info .advanced-info-item:last-child {
    border-left: 0;
}

#download-log .advanced-info .advanced-info-item p {
    font-size: .85rem;
}

#download-log .advanced-info .advanced-info-item .limit-no {
    height: calc(100% - 2.5rem);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.75rem;
    margin-bottom: 0;
}

#download-log .table-panel {
    display: flex;
    justify-content: flex-end;
}

#download-log .table-panel .panel-item {
    display: flex;
    align-items: center;
    margin: 0 .3rem;
}

#download-log .table-panel .panel-item input,
#download-log .table-panel .panel-item .btn {
    min-height: 40px;
}

#download-log .panel-item .panel-label {
    font-size: .95rem;
    max-width: 2.5rem;
    padding-left: .05rem;
}

#download-log .btn {
    border-radius: 0;
}

#download-log .dataTables_length,
#download-log .dataTables_filter {
    display: none;
}

#download-records {
    border: 0;
    margin-bottom: 1.5rem;
}

#download-records tr th {
    font-size: 1.05rem;
    text-align: center;
    border: 0;
}

#download-records tr td {
    text-align: center;
    padding: 1rem .5rem;
}

#download-records tr:first-child td {
    padding-top: 2rem;
}

#download-records tr td:first-child,
#download-records tr td:nth-child(2) {
    max-width: 4rem;
}

#download-log .preview-thumb {
    width: 9rem;
    height: auto;
}

#download-log .auth-download-btn {
    width: 55px;
    max-width: 55px;
    height: auto;
}

#download-log .redownload-btn {
    width: 45px;
    max-width: 45px;
    height: auto;
}

#download-log .auth-download-btn {
    content: url('../img/element_s/download_auth.png');
}

#download-log .auth-download-btn:hover {
    content: url('../img/element_s/download_auth_hover.png');
}

#download-log .redownload-btn {
    content: url('../img/element_s/redownload_btn.png');
}

#download-log .redownload-btn:hover {
    content: url('../img/element_s/redownload_btn_hover.png')
}

#update-pwd {
    margin-top: 5rem;
    max-width: 35rem;
}

#user-profile .input-group-text,
#update-pwd .input-group-text {
    font-size: 1.05rem;
    font-weight: bold;
    letter-spacing: .05rem;
    width: 5.5rem;
    padding-right: 1rem;
    justify-content: flex-end;
    border: 0;
    background-color: #fff;
}

#user-profile input.form-control,
#update-pwd input.form-control {
    border-radius: 0;
    border-color: #000;
}

#user-profile input.form-control:focus,
#update-pwd input.form-control:focus {
    outline: 0;
}

#update-pwd .modal-btn {
    width: auto;
    padding: .35rem 2rem;
    color: #fff;
    font-size: 1.05rem;
    font-weight: bold;
    letter-spacing: .1rem;
}


/* user-favorite-list */

.favorite-classify {
    position: relative;
    width: 215px;
    height: 215px;
    margin: .4rem;
}

.favorite-classify .classify-name {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    font-size: .95rem;
    color: #fff;
    background-color: rgba(0, 0, 0, .7);
    transition: all .35s;
}

.favorite-classify .classify-name:hover {
    font-size: 1.05rem;
    background-color: rgba(0, 0, 0, .45);
}

.add-classify-btn .classify-name {
    color: #000;
    font-size: 2.5rem;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .4);
}

.add-classify-btn .classify-name:hover {
    font-size: 3rem;
}


/* user-favorite-items */

.classify-info-frame {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 12rem 7px 0 7px;
}

.classify-info-frame .classify-name,
.classify-info-frame .classify-total {
    color: rgb(48, 48, 48);
    font-family: '微軟正黑體';
    font-weight: bold;
}

.classify-info-frame .classify-name {
    font-size: 1.75rem;
}

.resources-gallery {
    margin-top: 2.25rem;
}

.resources-gallery .resource-info {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    color: #fff;
    background-color: rgba(0, 0, 0, .5);
}

.resources-gallery .resource-info .resource-id {
    position: absolute;
    bottom: 0.35rem;
    left: 0.8rem;
}

.resources-gallery .resource-info .font-name {
    position: absolute;
    bottom: 0.35rem;
    right: 0.8rem;
}

.resources-gallery a:hover .resource-info {
    display: block;
}


/* reset-pwd */

.reset-pwd-form {
    width: 500px;
    margin-top: 11rem;
}