/*********** 前後台編輯器區塊共用的CSS設定 ***********/

img {
    max-width: 100%;
    max-height: 100%;
    height: auto !important;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}


/* start commented backslash hack \*/

* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}

.col {
    box-sizing: border-box;
}

/*------------ about-editor ------------*/

.about-editor .text {
    width: 50%;
    margin: auto;
    text-align: center;
}


/*------------notice-editor ------------*/

h1.notice-title {
    padding-left: 50px;
    font-size: 25px;
    margin: 0px;
    color: #840000;
    position: relative;
}

h1.notice-title .icon {
    position: absolute;
    left: 0px;
    top: 6px;
    width: 30px;
    height: 30px;
    background: url('https://www.dnature.org.tw//images/common/notice-icon.png');
}

h1.notice-title .icon.add {
    background-position: 0px -30px;
}

h1.notice-title .icon.cart {
    background-position: 0px -60px;
}


/*------------terms-editor ------------*/

h2.terms-title {
    color: #068c4a;
    font-size: 16px;
    margin-bottom: 0;
}


/*------------ rwd ------------*/

@media screen and (max-width: 1024px) {
    .about-editor .text {
        width: 80%;
    }
}

@media screen and (max-width:600px) {
    .about-editor .text {
        width: 100%;
    }
}
