body {
    background: black;
}
.condolence {
    background-image: url('/condolence/img/bg.png');
    background-position: top center;
    background-size: 100%;
    background-repeat: no-repeat;
}
.text-small a {
    font-family: 'KingPowerHeadline-Regular',sans-serif;
    margin-top: -20px;
    color: #fff;
}
.text-small a {
    text-decoration: none !important;
}
.text-light {
    color: white !important;
}
.text-right {
    text-align: right !important;
}
.text-left {
    text-align: left !important;
}
.visible-sm { display: none; } 
.no-padding { padding: 0; }

.wrapper-text {
    margin-top: 5px;
}
.wrapper-img {
    margin-bottom: 50px;
}
.wrapper-text .wrapper-text-th h1 {
    margin-top: 0;
}
.wrapper-text .wrapper-text-th .name {
    margin-top: 0px;
}
.wrapper-text .wrapper-text-en h1 {
    margin-top: 10px;
}
.wrapper-text .wrapper-text-en .name-sub {
    font-family: 'KingPowerHeadline-Regular', sans-serif;
    font-size: 26px;
    margin-top: -5px;
}
.wrapper-text .divied-white {
    margin: 30px 0;
}
.wrapper-text .wrapper-text-th .position {
    font-size: 20px;
    line-height: 28px;
}
.wrapper-text .wrapper-text-en .name {
    margin-top: 0;
}

.wrapper-text .divied-white-second {
    margin: -5px 0 25px;
    width: 86px;
    height: 1px;
    background-color: #fff;
    display: none;
}

.m-t-45 { margin-top: -45px; }

/* form */
.condolence-form {
    margin-top: 35px;
}
.condolence-form.form-second {
    margin-top: 0;
}
.condolence-form .form-group {
    margin-bottom: 20px;
}
.condolence-form .form-control {
    background: transparent;
    border-radius: 0px;
    border: 1px solid #fff;
    padding: 10px 12px 12px;
    font-family: 'KingPowerText-Regular',sans-serif;
    font-size: 14px;
    line-height: 1.5;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0);
    min-height: 40px;
    color: #fff;
}
.condolence-form textarea.form-control {
    padding-top: 10px;
}
.condolence-form label {
    color: white;
}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: white !important;
    opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: white !important;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: white !important;
}


/* button */
.condolence-form .btn-primary {
    background-image: none;
    background: white;
    border-color: white;
    color: black !important;
    border-radius: 0;
    text-shadow: none;
    padding: 10px 15px;
    line-height: 1.5;
    font-family: 'KingPowerHeadline-Regular',sans-serif;
    font-weight: bold;
    height: 40px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0),0 1px 1px rgba(0,0,0,0);
}
.condolence-form .btn-primary:hover {
    background: transparent;
    border-color: 1px solid #fff;
    color: white !important;
    border-radius: 0;
    text-shadow: none;
    padding: 10px 15px;
    line-height: 1.5;
}
.condolence-form .btn-primary:active {
    -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,0);
    box-shadow: inset 0 3px 5px rgba(0,0,0,0);
}


/* responsive */
@media screen and (max-width: 1024px) { 

    .wrapper-text .wrapper-text-en .name { line-height: 1.25; } 

    .condolence-form textarea.form-control { min-height: 217px; }
}

@media screen and (max-width: 768px) {

    .wrapper-img .img-responsive { max-width: 100%; }
    .text-small { text-align: right !important; width: 100%; float: right; }
    .text-small.text-left { text-align: left !important; float: left; margin-bottom: 20px; }

    .hidden-sm { display: block !important; }
    .visible-sm { display: none !important; }

    .m-t-45 { margin-top: -25px; }
    .wrapper-text { margin-top: -5px; }
    .wrapper-text .divied-white-second { display: none; }

    .wrapper-text .wrapper-text-th h1 { line-height: 1.5; }
    .wrapper-text .wrapper-text-en h1 { font-size: 24px; line-height: 1.25; font-family: "KingPowerHeadline-Regular", sans-serif !important; }
    .wrapper-text .wrapper-text-en .name { font-size: 24px; }
    .wrapper-text .wrapper-text-en .name-sub { font-size: 18px; line-height: 1.25; }
}

@media screen and (max-width: 480px) {
    
    .condolence-form {
      margin-top: 30px;
    }

    .hidden-sm { display: none !important; }
    .visible-sm { display: block !important; margin: 20px 0 10px; text-align: center; }

    .wrapper-text { 
        margin-top: 20px; 
    }
    .wrapper-text .divied-white-second { display: block; }

    .wrapper-text .wrapper-text-en h1 { font-size: 24px; line-height: 1.25; font-family: "KingPowerHeadline-Regular", sans-serif !important; }
    .wrapper-text .wrapper-text-th h1 { line-height: 1.25; font-size: 24px; font-family: "KingPowerHeadline-Regular", sans-serif !important; }
    .wrapper-text .wrapper-text-th .position { font-size: 16px; }

    .text-small a { text-align: left !important; font-size: 12px; }
    .text-small.text-left { margin-top: -15px; }

    .wrapper-text .condolence-form .btn-primary { width: 100%; }
    .wrapper-text .divied-white { margin: 28px 0; }

    .clearfix { display: table; }
    .wrapper-text .divied-white-second { margin: 15px 0 25px; }
}

@media screen and (max-width: 320px) {
    .wrapper-text .wrapper-text-th h1 { font-size: 24px; line-height: 1.25; }
}