body {
    margin: 0;
    background-color: #fafafa;
}

.icw.promotion-expired {
    position: relative;
}

.icw h1, .icw p {
    margin: 0 0 15px 0;
}

.icw h1 {
    font-family: 'Kanit', Helvetica, Arial, sans-serif;
    color: #333;
    font-size: 35px;
}

.icw h1 strong {
    font-weight: 600;
}

.icw p {
    font-family: 'Kanit', Helvetica, Arial, sans-serif;
    color: #333;
    font-size: 16px;
}

.c-green {
    color: #00A94F;
}

.box-content {
    padding-bottom: 58px;
    min-height: calc(100vh - 126px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-expired img {
    width: 174px;
    margin: 0 50px 0 106px;
}

.pt-relative {
    position: relative;
}

.txt-link {
    color: #00a950;
    font-family: 'Kanit', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 16px;
}

a.txt-link:after {
    content: '' !important;
    border-top: 2.5px solid #02A850;
    border-left: 2.5px solid #02A850;
    width: 6px;
    height: 6px;
    top: 9px;
    right: -12px;
    -webkit-transform: rotate(-135deg);
    -ms-transform: rotate(-135deg);
    transform: rotate(130deg);
    position: absolute;
}

.btn-green {
    font-family: 'Kanit', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 16px;
    background-color: #00a950;
    padding: 8px 27px;
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
}

.icw p.pd-txt {
    margin: 0 10px;
}

.d-md-flex {
    display: flex;
    align-items: center;
}

.box-content .container {
    margin: 40px 0;
}

.visible-w767 {
    display: none;
}

.hidden-w767 {
    display: block;
}

.error-header,
.error-footer {
    width: 100%;
    background-color: #fff;
    text-align: center;
    -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

.error-header {
    padding: 10px 0;
    border-top: 3px solid #00a950;
}

.error-header .img-logo {
    width: 160px;
}

.error-footer {
    position: absolute;
    bottom: 0; 
    left: 0;
    padding: 15px 0;
}

.error-footer .slogan img {
    width: 173px;
}

@media screen and (max-width: 1024px) {
    .logo-expired img {
        margin: 0 50px 0 0;
    }
}

@media screen and (max-width: 767px) {
    .visible-w767 {
        display: block;
    }

    .hidden-w767 {
        display: none;
    }

    .mb-center {
        text-align: center;
    }

    .logo-expired img {
        width: 164px;
        margin: 0 auto 20px;
    }

    .icw p.pd-txt {
        margin: 15px 0 5px 0;
    }

    .icw h1 {
        font-size: 24px;
    }

    .icw p.mb-text {
        margin-bottom: 20px;
    }

    .d-md-flex {
        display: block;
    }
}
