#Main .overview {
    display: flex;
    margin: auto;
    max-width: 1200px;
    padding: 0px 10px;
}

#Main .overview .photos {
    width: 40%;
}

#Main .overview .photos dt {
    margin: auto;
    max-width: 400px;
    overflow: hidden;
    position: relative;
}
/*20210513 begin*/
#Main section h2{
    font-size: 28px;
    text-align: left;
    margin: 30px auto 30px auto;
    max-width: 1200px;
    padding-left: 10px;
}
#Main section .overview {
    display: flex;
    margin: auto;
    max-width: 1200px;
    padding: 25px 50px;
}

#Main section .overview .photos {
    width: 20%;
}

#Main section .overview .photos dt {
    margin: auto;
    max-width: 200px;
    overflow: hidden;
    position: relative;
}
/*20210513 end*/

#Main .overview .photos dt:before {
    content: "";
    display: block;
    padding-top: 100%;
}

#Main .overview .photos dt .photo {
    max-height: 400px;
    max-width: 100%;
}

#Main .overview .photos dt .photo.soldout::after {
    background: #db3919;
    color: #ffffff;
    content: "SOLDOUT";
    font-size: 20px;
    left: 50%;
    padding: 5px 20px;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
}

#Main .overview .photos dt .photo img {
    max-height: 400px;
    max-width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

#Main .overview .photos .thumnails {
    display: flex;
    justify-content: space-between;
}

#Main .overview .photos .thumnails li {
    margin: 5px 5px 0px 0px;
    width: 25%;
}

#Main .overview .photos .thumnails li:last-child {
    margin-right: 0px;
}

#Main .overview .photos .thumnails li img {
    opacity: 0.5;
    max-width: 100%;
}

#Main .overview .photos .thumnails li img.active {
    opacity: 1;
}

#Main .overview .photos .report {
    align-items: center;
    border: 1px solid #b3b3b3;
    border-radius: 6px;
    color: #b3b3b3;
    display: table;
    font-size: 12px;
    justify-content: center;
    margin: 20px auto 0px auto;
    padding: 0px 10px;
}

#Main .overview .detail {
    padding-left: 30px;
    width: 60%;
}
#Main .overview .detail h2 {
    font-weight: bolder;
    border-bottom: solid;
}
/*changed for items details 20210513*/
#Main .overview .detail .title {
    color: #766b66;
    font-size: 20px;
    text-align: left;
}
.danakalabel{
    font-size: 22px;
    text-align: left;
    margin: 30px auto 30px auto;
    max-width: 1200px;
    padding-left: 10px;
}
#Main .overview .detail .discription {
    padding: 30px 10px;
    line-height: 2em;
    min-height: 50%;
}

#Main .overview .detail .price {
    /*color: #004e2f;*//*20210513*/
    color: #e4322b;
    font-size: 28px;
    font-weight: 700;
}

#Main .overview .detail .price .unit {
    font-size: 12px;
}

#Main .overview .detail .buttons {
    display: flex;
    margin: 30px 0px;
}

#Main .overview .detail .buttons .cart {
    min-width: 50%;
}

#Main .overview .detail .buttons .cart .button {
    align-items: center;
    background: #00bfff;
    border-radius: 6px;
    color: #ffffff;
    display: flex;
    font-size: 16px;
    font-weight: 700;
    height: 100%;
    justify-content: center;
    margin: 0px 4px 0px 0px;
    padding: 0px 10px;
}

#Main .overview .detail .buttons .cart .soldout {
    background: #ffffff;
    border: 1px solid #db3919;
    color: #db3919;
    font-weight: 400;
}

#Main .overview .detail .buttons .favorite {
    min-width: 30%;
}

#Main .overview .detail .buttons .favorite .button {
    border: 1px solid #db3919;
    border-radius: 6px;
    color: #db3919;
    display: block;
    font-size: 12px;
    line-height: 200%;
    padding: 0px 10px;
    text-align: center;
    white-space: nowrap;
}

#Main .overview .detail .buttons .favorite .button:first-child {
    margin-bottom: 4px;
}

#Main .overview .detail .buttons .favorite .button.message {
    border: 1px solid #52bde2; /*#004e2f; 20210513 */
    color: #52bde2;    /*#004e2f; 20210513 */
}

#Main .overview .detail .seller {
    align-items: center;
    display: flex;
    font-size: 12px;
    padding: 5px;
}

#Main .overview .detail .seller > li {
    margin-right: 10px;
}

#Main .overview .detail .seller > li .follow {
    align-items: center;
    background: #eeedeb;
    border-radius: 6px;
    display: flex;
    height: 32px;
    padding: 0px 10px;
}

#Main .overview .detail .seller > li:nth-child(1) {
    color: #b3b3b3;
}

#Main .overview .detail .seller > li:nth-child(2) img {
    border-radius: 50%;
    height: 32px;
    width: 32px;
}

#Main .overview .detail .seller .review {
    display: flex;
}

#Main .overview .detail .seller .review li {
    align-items: flex-end;
    display: flex;
    margin-right: 10px;
}

#Main .overview .detail .seller .review li img {
    margin-right: 10px;
}

#Main .overview .detail .explain {
    font-size: 15px;
    margin: 20px 0px 0px 0px;
}

#Main .overview .detail .tags .tag {
    color: #b3b3b3;
    font-size: 15px;
}

#Main section .tags  {
    display: flex;
    font-size: 18px;
    font-weight: 700;
    margin: 30px auto 30px auto;
    max-width: 1200px;
    padding: 30px;
}


#Main section .tags span {
    border: solid 1px darkgray;
    padding: 15px;
    border-radius: 5px;
    margin-right: 20px;
}

@media screen and (max-width: 768px) {
    #Main section .tags {
        display: block;
        margin: 0;
        padding: 0 30px;
    }

    #Main section .tags span {
        margin-top: 15px; margin-bottom: 15px;
        display: block;
    }

}

#Main .item-detail-message .message-container .statuses {
    /*border-bottom: 1px solid #eeedeb;*/
    /*border-top: 1px solid #eeedeb;*/
    /*border-collapse: collapse;*/
    display: table;
    margin: 30px 0px;
    width: 100%;
}

#Main .item-detail-message .message-container .statuses table {
    width: 90%;
    border: solid 1px darkgray;
    border-collapse: collapse;
    margin: 0 auto;                                                                                        /* /// for item detail table 2021.05.17*/
}

#Main .item-detail-message .message-container .statuses table tr th {
    text-align: left;
    background: #f5f1f0;
    border: solid 1px #e3ddd9;
    padding: 14px;
}

#Main .item-detail-message .message-container .statuses table tr td {
    /*border-bottom: 1px solid #eeedeb;*/
    /*border-top: 1px solid #eeedeb;*/
    /*color: #b3b3b3;*/
    /*font-size: 12px;*/
    /*display: table-cell;*/
    /*padding: 20px 30px 20px 10px;*/
    /*white-space: nowrap;*/
    border: solid 1px #e3ddd9;
    padding: 14px;
}
#Main .item-detail-message .message-container .statuses table tr td a{
    color: -webkit-link;
    cursor: pointer;
}
#Main section .overview .photos a{
    /*color: -webkit-link;*/
    color: #615a55;
    text-decoration: underline;
    cursor: pointer;
    font-size: 16px;
}

#Main section .overview .detail ul li a{
    /*color: -webkit-link;*/
    color: #615a55;
    text-decoration: underline;
    cursor: pointer;
    font-size: 16px;
}

#Main section h3 {
    align-items: center;
    color: #766b66;
    display: flex;
    font-size: 18px;
    font-weight: 700;
    margin: 30px auto 30px auto;
    max-width: 1200px;
    padding-left: 10px;
    border-bottom: solid 1px darkgray;/*20210513 */
}

#Main section h3 img {
    border-radius: 50%;
    height: 32px;
    margin-right: 10px;
    width: 32px;
}

#Main .ranking {
    counter-reset: number;
}

#Main .ranking dt {
    position: relative;
}

#Main .ranking dt::before {
    align-items: center;
    background: #c71c1e;
    color: #ffffff;
    counter-increment: number;
    content: counter(number);
    display: flex;
    height: 50px;
    font-weight: 700;
    justify-content: center;
    position: absolute;
    right: 0px;
    width: 50px;
    z-index: 1;
}

#Main .ranking .item:nth-child(n+4) dt::before {
    background: #b3b3b3;
    height: 36px;
    width: 36px;
}

#Main .products.slim .item {
    width: 20%;
}

#Main #Password h2 {
    font-size: 30px;
    margin-bottom: 30px;
    text-align: center;
}

#Main #Password p {
    margin-bottom: 0px;
    text-align: center;
}

#Main #Password .contact {
    margin: 20px auto 30px auto;
    text-align: center;
}

#Main #Password .contact dd input {
    background: #766b66;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-size: 15px;
    padding: 2px 50px;
}

#Main #Password form dl {
    margin: 0px auto 50px auto;
    text-align: center;
}

#Main #Password form dl dd {
    display: flex;
    justify-content: center;
}

#Main #Password form dl dd input[type=password] {
    border: 1px solid #999999;
    border-radius: 6px;
    box-sizing: border-box;
    line-height: 42px;
    padding: 3px 20px;
    width: 300px;
}

#Main #Password form dl dd .control {
    margin: 0px 0px 0px 10px;
    text-align: center;
}

#Main #Password form dl dd .control input {
    background: #766b66;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-size: 20px;
    padding: 10px 50px;
}

#Main #Password form dl dd .error {
    color: #eb452f;
}

@media screen and (max-width: 768px) {
    #Main h2 {
        color: #766b66;
        font-size: 24px;
        font-weight: 700;
        margin: 0px 10px 30px 10px;
    }
    #Main .overview {
        display: block;
        margin: 0px 10px;
    }
    #Main .overview .photos {
        max-width: none;
        width: auto;
    }
    #Main .overview .detail {
        max-width: none;
        margin-top: 20px;
        padding-left: 0px;
        width: auto;
    }
    /*20210513*/
    #Main section .overview {
        display: block;
        margin: 0px 10px;
    }
    #Main section .overview .photos {
        max-width: none;
        width: auto;
    }
    #Main section .overview .detail {
        max-width: none;
        margin-top: 20px;
        padding-left: 0px;
        width: auto;
    }
    /*end*/
    #Main .overview .detail .price {
        color: #e4322b;
        font-size: 32px;
        font-weight: 700;
    }
    #Main .overview .detail .price .unit {
        font-size: 16px;
    }
    #Main .overview .detail .buttons {
        display: block;
        margin: 30px 0px;
    }
    #Main .overview .detail .buttons .cart .button {
        margin: 0px;
        padding: 20px 10px;
    }
    #Main .overview .detail .buttons .cart .soldout {
        padding: 20px 10px;
    }
    #Main .overview .detail .buttons .favorite {
        display: flex;
        margin-top: 4px;
    }
    #Main .overview .detail .buttons .favorite .button {
        padding: 10px 10px;
        width: 50%;
    }
    #Main .overview .detail .buttons .favorite .button:first-child {
        margin: 0px 4px 0px 0px;
    }
    #Main .products.slim .item {
        width: 33%;
    }
}
/*added  for evaluated 2021.05.13 */
.item-detail-message {
    margin: 8px auto;
    max-width: 1280px;
}
.line{
    display: flex;
}
.message-container{
    /*border-top: 1px solid #e9e9e9;
    border-bottom: 1px solid #e9e9e9;*/ /*deleted 20210513  for change item detail page*/
    padding-bottom:30px; 
}
.message-content {
    padding: 24px 7.5%;
    background: #fff;
    overflow: auto;
}
.message-items li {
    margin: 100px 0 0;
}
.message-items li:first-child {
    margin: 1.5em 0 0;
}
.message-user {
    /*float: left;*/
    position: relative;
    /*top: 30px;*/
    /*left: -60px;*/
    display: inline-block;
    color: #333;
}

.message-user figure > div {
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 50%;
}
.message-user img{
    width: 100%;
    vertical-align: middle;
}
.message-user figcaption {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 70px;
    max-width: 100%;
    min-width: 214px;
    height: 1.2em;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 600;
}
.message-body {
    float: right;
    position: relative;
    width: calc(100% - 70px);
    padding:16px;
    background: #eef0f4;
    border-radius: 12px;
    line-height: 1.5;
    word-break: break-all;
    margin-bottom: 10px;
}
@media screen and (max-width: 900px){
    .message-user{
        top: 0px;
        left: 0px;
    }
    .message-user figcaption {
        top: 20px;
    }
}
@media screen and (max-width: 325px){
    .message-body {
        font-size: 13px;
    }
}
.message-icons {
    margin: 8px 0 0;
}
.message-icon-left {
    float: left;
}
.message-icons time {
    display: block;
    color: #aaa;
    font-size: 13px;
}
i[class^="icon-"], i[class*="icon-"] {
    display: inline-block;
    font-family: 'icon-font';
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.message-icons i, .message-icons span {
    vertical-align: middle;
}
.message-body .icon-balloon {
    position: absolute;
    top: 8px;
    left: -9px;
    color: #eef0f4;
}
.icon-balloon:before {
    content: '\e009';
}
.icon-time:before {
    content: '\e02a';
}
.message-form .textarea-default {
    margin: 30px 0 0;
}
.textarea-default {
    display: block;
    width: calc(100% - 25px);
    max-width: 100%;
    min-height: 104px;
    padding: 10px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 16px;
    line-height: 1.5;
}
.message-form .form-group {
    margin: 40px 0 0;
    margin-top: 40px;
    margin-bottom: 0px;
}
.message-form .form-group label {
    font-weight: 600;
}
.message-form .select-default {
    position: relative;
    z-index: 2;
    height: 48px;
    padding: 0 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background: 0;
    font-size: 16px;
    line-height: 1.5;
    cursor: pointer;
}
.form-group select {
    width: 100%;
}
.btn-default {
    display: block;
    width: 100%;
    line-height: 48px;
    font-size: 14px;
    border: 1px solid transparent;
    -webkit-transition: all ease-out .3s;
    transition: all ease-out .3s;
    cursor: pointer;
    text-align: center;
}
.btn-gray {
    background: #aaa;
    border: 1px solid #aaa;
    color: #fff;
}
.message-submit {
    width: 100%;
    margin: 8px 0 0;
    font-size: 0;
    text-align: center;
}
.message-submit span {
    font-size: 16px;
    vertical-align: middle;
    font-weight: 600;
}
.message-content-duplicate {
    background-color: #fff;
    padding: 40px 24px 50px 80px;
}
.label_duplicate {
    font-weight: bold;
    padding: 15px;
    font-size: 16px;
}
/*end  for evaluated */
#Main #Password h2{font-size:30px;margin-bottom:30px;text-align:center;}
#Main #Password p{margin-bottom:0px;text-align:center;}
#Main #Password .contact{margin:20px auto 30px auto;text-align:center;}
#Main #Password .contact dd input{background:#766b66;border:none;border-radius:6px;color:#ffffff;font-size:15px;padding:2px 50px;}
#Main #Password form dl{margin:0px auto 50px auto;text-align:center;}
#Main #Password form dl dd{display:flex;justify-content:center;}
#Main #Password form dl dd input[type=password]{border:1px solid #999999;border-radius:6px;box-sizing:border-box;line-height:42px;padding:3px 20px;width:300px;}
#Main #Password form dl dd .control{margin:0px 0px 0px 10px;text-align:center;}
#Main #Password form dl dd .control input{background:#766b66;border:none;border-radius:6px;color:#ffffff;font-size:20px;padding:10px 50px;}
#Main #Password form dl dd .error{color:#eb452f;}
