html,
body {
    height: 100%;
}

body {
    background: #f9f9f9;
    color: #212529;
    font-family: 'Kanit', 'Roboto', Arial, sans-serif;
}

p {
    line-height: 1.5;
    margin: 30px 0;
}

p a {
    text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    font-family: 'Open Sans', 'Kanit', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a {
    color: #212529;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

.color-purple {
    color: #884785 !important;
}

.color-purple-ligth {
    color: #bb95b9 !important;
}

.color-green-ligth {
    color: #93ba11 !important
}

.color-red {
    color: #ff5353 !important;
}

.color-warning {
    color: #ff9820 !important;
}

.color-pink {
    color: #ff8aa5 !important;
}

.color-gray {
    color: #BCBCBC !important;
}

.bg-white {
    background: #fff;
}

.tx-norm {
    font-weight: normal !important;
}

a:focus,
a:hover {
    color: #0085A1;
}

.c-def {
    cursor: default !important;
}

blockquote {
    font-style: italic;
    color: #868e96;
}

.section-heading {
    font-size: 36px;
    font-weight: 700;
    margin-top: 60px;
}


/*.main-content .container {
    height: 100%;
    box-sizing: border-box;
}

@media only screen and (max-width: 768px) {
    .main-content .container.calheight {
        height: 100%;
    }
}*/

.caption {
    font-size: 14px;
    font-style: italic;
    display: block;
    margin: 0;
    padding: 10px;
    text-align: center;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

::-moz-selection {
    color: #fff;
    background: #0085A1;
    text-shadow: none;
}

::selection {
    color: #fff;
    background: #0085A1;
    text-shadow: none;
}

img::-moz-selection {
    color: #fff;
    background: transparent;
}

img::selection {
    color: #fff;
    background: transparent;
}

img::-moz-selection {
    color: #fff;
    background: transparent;
}

.middle-center {
    display: flex;
    /* align horizontal */
    align-items: center;
    /* align vertical */
}

.padding0 {
    padding: 0px !important;
}

.padding-left2r {
    padding-left: 2rem;
}

.height_60px {
    height: 60px;
}

#mainNav {
    min-height: 50px;
    background-color: #c58ec3;
    color: #fff;
    padding: 0px;
    z-index: 1;
}

#mainNav .navbar-brand.main {
    display: none;
}

#mainNav .navbar-brand>img {
    height: 2rem;
}

@media only screen and (max-width: 768px) {
    #mainNav .navbar-brand.main {
        display: inherit;
    }
}

#mainNav .navbar-toggler {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    border: none;
}

#mainNav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

#mainNav .navbar-nav>li.nav-item>a {
    font-size: 14px;
    /*font-weight: 800;*/
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
}

@media only screen and (min-width: 992px) {
    #mainNav.main {
        border-bottom: 1px solid transparent;
        background: transparent;
    }
    #mainNav .navbar-brand {
        /* padding: 10px 20px; */
        color: #fff;
    }
    #mainNav .navbar-brand:focus,
    #mainNav .navbar-brand:hover {
        color: rgba(255, 255, 255, 0.8);
    }
    #mainNav .navbar-nav>li.nav-item>a {
        padding: 10px 20px;
        color: #fff;
    }
    #mainNav .navbar-nav>li.nav-item>a:focus,
    #mainNav .navbar-nav>li.nav-item>a:hover {
        color: rgba(255, 255, 255, 0.8);
    }
}

@media only screen and (min-width: 992px) {
    #mainNav {
        -webkit-transition: background-color 0.2s;
        transition: background-color 0.2s;
        /* Force Hardware Acceleration in WebKit */
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        -webkit-backface-visibility: hidden;
    }
    #mainNav.is-fixed {
        /* when the user scrolls down, we hide the header right above the viewport */
        position: fixed;
        top: -67px;
        -webkit-transition: -webkit-transform 0.2s;
        transition: -webkit-transform 0.2s;
        transition: transform 0.2s;
        transition: transform 0.2s, -webkit-transform 0.2s;
        border-bottom: 1px solid white;
        background-color: #c58ec3;
    }
    #mainNav.is-fixed .navbar-brand {
        color: #212529;
    }
    #mainNav.is-fixed .navbar-brand:focus,
    #mainNav.is-fixed .navbar-brand:hover {
        color: #0085A1;
    }
    #mainNav.is-visible {
        /* if the user changes the scrolling direction, we show the header */
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
    }
}

header.masthead {
    background: no-repeat center center;
    background-color: #868e96;
    background-attachment: scroll;
    position: relative;
    background-size: cover;
}

header.masthead .cover {
    width: 100%;
}

@media only screen and (max-width: 768px) {
    header.masthead .cover {
        margin-top: 50px;
    }
}

header.masthead .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #212529;
    opacity: 0.2;
}

header.masthead .page-heading,
header.masthead .post-heading,
header.masthead .site-heading {
    padding: 150px 0 150px;
    color: white;
}

@media only screen and (min-width: 768px) {
    header.masthead .page-heading,
    header.masthead .post-heading,
    header.masthead .site-heading {
        padding: 150px 0;
    }
}

header.masthead .page-heading,
header.masthead .site-heading {
    text-align: center;
}

header.masthead .page-heading h1,
header.masthead .site-heading h1 {
    font-size: 50px;
    margin-top: 0;
}

header.masthead .page-heading .subheading,
header.masthead .site-heading .subheading {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.1;
    display: block;
    margin: 10px 0 0;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}


/*@media only screen and (min-width: 768px) {
  header.masthead .page-heading h1,
  header.masthead .site-heading h1 {
    font-size: 80px;
  }
}*/

header.masthead .post-heading h1 {
    font-size: 35px;
}

header.masthead .post-heading .meta,
header.masthead .post-heading .subheading {
    line-height: 1.1;
    display: block;
}

header.masthead .post-heading .subheading {
    font-size: 24px;
    font-weight: 600;
    margin: 10px 0 30px;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

header.masthead .post-heading .meta {
    font-size: 20px;
    font-weight: 300;
    font-style: italic;
    font-family: 'Lora', 'Times New Roman', serif;
}

header.masthead .post-heading .meta a {
    color: #fff;
}

@media only screen and (min-width: 768px) {
    header.masthead .post-heading h1 {
        font-size: 55px;
    }
    header.masthead .post-heading .subheading {
        font-size: 30px;
    }
}

.sub-heading {
    background: rgba(254, 138, 165, 1);
    background: -moz-linear-gradient(top, rgba(254, 138, 165, 1) 0%, rgba(197, 142, 195, 1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(254, 138, 165, 1)), color-stop(100%, rgba(197, 142, 195, 1)));
    background: -webkit-linear-gradient(top, rgba(254, 138, 165, 1) 0%, rgba(197, 142, 195, 1) 100%);
    background: -o-linear-gradient(top, rgba(254, 138, 165, 1) 0%, rgba(197, 142, 195, 1) 100%);
    background: -ms-linear-gradient(top, rgba(254, 138, 165, 1) 0%, rgba(197, 142, 195, 1) 100%);
    background: linear-gradient(to bottom, rgba(254, 138, 165, 1) 0%, rgba(197, 142, 195, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#fe8aa5', endColorstr='#c58ec3', GradientType=0);
    color: #fff;
}

.main-content {
    background: #f9f9f9;
    padding: 80px 0px 50px 0px;
    min-height: 900px;
    /*height: 100%;*/
}

.vcenter {
    display: flex;
    align-items: center;
}

.main-content.vcenter {
    height: calc(100vh) !important;
    display: flex;
    position: relative;
    align-items: center;
}

.main-content a:hover {
    text-decoration: none;
}

.main-content .btn-card {
    width: 18rem;
    margin: 0 auto;
    background: rgba(197, 142, 195, 1);
    background: -moz-linear-gradient(top, rgba(197, 142, 195, 1) 0%, rgba(251, 234, 233, 1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(197, 142, 195, 1)), color-stop(100%, rgba(251, 234, 233, 1)));
    background: -webkit-linear-gradient(top, rgba(197, 142, 195, 1) 0%, rgba(251, 234, 233, 1) 100%);
    background: -o-linear-gradient(top, rgba(197, 142, 195, 1) 0%, rgba(251, 234, 233, 1) 100%);
    background: -ms-linear-gradient(top, rgba(197, 142, 195, 1) 0%, rgba(251, 234, 233, 1) 100%);
    background: linear-gradient(to bottom, rgba(197, 142, 195, 1) 0%, rgba(251, 234, 233, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#c58ec3', endColorstr='#fbeae9', GradientType=0);
    color: #fff;
    text-align: center;
    border: none;
    border-radius: 1rem;
}


/*.main-content .btn-card .card-body {
    background-image: url('https://www.bnk48.com/static/img/bg-body-left.png')
}*/

@media only screen and (max-width: 768px) {
    .main-content .btn-card {
        width: auto;
    }
    .main-content {
        min-height: calc(100%);
        height: auto;
        padding: 40px 0px 50px 0px;
    }
}

.post-preview>a {
    color: #212529;
}

.post-preview>a:focus,
.post-preview>a:hover {
    text-decoration: none;
    color: #0085A1;
}

.post-preview>a>.post-title {
    font-size: 30px;
    margin-top: 30px;
    margin-bottom: 10px;
}

.post-preview>a>.post-subtitle {
    font-weight: 300;
    margin: 0 0 10px;
}

.post-preview>.post-meta {
    font-size: 18px;
    font-style: italic;
    margin-top: 0;
    color: #868e96;
}

.post-preview>.post-meta>a {
    text-decoration: none;
    color: #212529;
}

.post-preview>.post-meta>a:focus,
.post-preview>.post-meta>a:hover {
    text-decoration: underline;
    color: #0085A1;
}

@media only screen and (min-width: 768px) {
    .post-preview>a>.post-title {
        font-size: 36px;
    }
}

.floating-label-form-group {
    font-size: 14px;
    position: relative;
    margin-bottom: 0;
    padding-bottom: 0.5em;
    border-bottom: 1px solid #dee2e6;
}

.floating-label-form-group input,
.floating-label-form-group textarea {
    font-size: 1.5em;
    position: relative;
    z-index: 1;
    padding: 0;
    resize: none;
    border: none;
    border-radius: 0;
    background: none;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    font-family: 'Lora', 'Times New Roman', serif;
}

.floating-label-form-group input::-webkit-input-placeholder,
.floating-label-form-group textarea::-webkit-input-placeholder {
    color: #868e96;
    font-family: 'Lora', 'Times New Roman', serif;
}

.floating-label-form-group label {
    font-size: 0.85em;
    line-height: 1.764705882em;
    position: relative;
    z-index: 0;
    top: 2em;
    display: block;
    margin: 0;
    -webkit-transition: top 0.3s ease, opacity 0.3s ease;
    transition: top 0.3s ease, opacity 0.3s ease;
    /*vertical-align: middle;*/
    opacity: 0;
}

.floating-label-form-group .help-block {
    margin: 15px 0;
}

.floating-label-form-group-with-value label {
    top: 0;
    opacity: 1;
}

.floating-label-form-group-with-focus label {
    color: #0085A1;
}

form .form-group:first-child .floating-label-form-group {
    border-top: 1px solid #dee2e6;
}

footer {
    /*position: fixed;*/
    bottom: 0;
    width: 100%;
    margin-top: 100px;
    padding: 10px 0px;
    background: #f0f0f0;
}

footer .list-inline {
    margin: 0;
    padding: 0;
}

footer .copyright {
    font-size: 14px;
    margin-bottom: 0;
    text-align: center;
}

.btn {
    font-size: 14px;
    font-weight: 800;
    padding: 15px 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 0;
    font-family: 'Open Sans', 'Kanit', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.btn-pink {
    background-color: #ff8aa5;
    border: none;
    color: #fff;
}

.btn-pink:disabled {
    background-color: #c9c9c9;
}

.btn-white {
    background: #fff;
    border: #fe8aa5 1px solid;
    color: #fe8aa5;
}

.btn-pink-inverse {
    background: transparent;
    border: #fe8aa5 1px solid;
    color: #fe8aa5;
}

.btn-redius {
    border-radius: 2rem;
}

.btn-facebook {
    color: #ffffff;
    -webkit-text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #2b4b90;
    border-radius: 2rem;
    background-image: -moz-linear-gradient(top, #3b5998, #133783);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#3b5998), to(#133783));
    background-image: -webkit-linear-gradient(top, #3b5998, #133783);
    background-image: -o-linear-gradient(top, #3b5998, #133783);
    background-image: linear-gradient(to bottom, #3b5998, #133783);
    background-repeat: repeat-x;
    border-color: #133783 #133783 #091b40;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#ff3b5998', endColorstr='#ff133783', GradientType=0);
    filter: progid: DXImageTransform.Microsoft.gradient(enabled=false);
}

.modal {
    overflow-y: auto;
}

.modal-content:not(.default-ui) {
    background: rgba(197, 142, 195, 1);
    background: -moz-linear-gradient(top, rgba(197, 142, 195, 1) 0%, rgba(251, 234, 233, 1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(197, 142, 195, 1)), color-stop(100%, rgba(251, 234, 233, 1)));
    background: -webkit-linear-gradient(top, rgba(197, 142, 195, 1) 0%, rgba(251, 234, 233, 1) 100%);
    background: -o-linear-gradient(top, rgba(197, 142, 195, 1) 0%, rgba(251, 234, 233, 1) 100%);
    background: -ms-linear-gradient(top, rgba(197, 142, 195, 1) 0%, rgba(251, 234, 233, 1) 100%);
    background: linear-gradient(to bottom, rgba(197, 142, 195, 1) 0%, rgba(251, 234, 233, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#c58ec3', endColorstr='#fbeae9', GradientType=0);
    border-radius: 1rem;
}

.modal-content:not(.default-ui).bg-white {
    background: #fff !important;
}

.btn-channel:hover {
    border: 1px solid #dee2e6;
}

.btn-coin {
    padding: 15px 15px 0px 15px;
    text-align: center;
    cursor: pointer;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 15px;
    color: #884785;
    font-size: 14px;
    min-height: 160px;
    min-width: 160px;
}

.btn-coin:hover {
    border: 1px solid #dee2e6;
}


/*@media only screen and (max-width: 768px) {
    .btn-coin {
        min-width: 150px;
    }
}*/

@media only screen and (max-width: 768px) {
    .btn-channel {
        width: auto;
    }
    .btn-channel span {
        display: block
    }
    .btn-coin {
        width: auto;
    }
    .btn-coin span {
        display: block
    }
}

@media only screen and (max-width: 320px) {
    .btn-coin {
        min-width: 130px;
    }
}

.payment-channel {
    max-width: 100%;
    height: auto;
    padding-bottom: 15px;
}

.payment-cf-sec {
    left: 0;
    right: 0;
    position: absolute;
    margin: 0 auto;
    bottom: 0;
}

.btn-channel {
    padding: 15px 15px 0px 15px;
    text-align: center;
    cursor: pointer;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 15px;
    color: #884785;
    font-size: 14px;
    min-height: 160px;
    min-width: 160px;
}

.btn-channel:hover {
    border: 1px solid #dee2e6;
}

.channel-ckecked {
    border-color: #fe95ae;
    border-radius: 15px;
    outline: none !important;
    box-shadow: 0px 0px 10px 1px #fbc1ce;
}

.box {
    margin-bottom: 5px;
}

.nav-tabs .nav-link {
    border: none;
}

.nav-tabs .nav-link.active {
    border: none;
    background-color: transparent;
}

.img-check {
    display: block;
    margin: 0 auto;
}

.form-login .form-control {
    border-radius: 2rem;
    text-align: center;
}

.p-eye-icon {
    color: #a7a7a7;
    float: right;
    right: 5px;
    top: -2px;
    margin-left: -25px;
    margin-top: -25px;
    position: relative;
    z-index: 2;
}

.profile-thumbnail-wrapper {
    width: 32px;
    height: 32px;
}

.profile-thumbnail-wrapper.avatar {
    border-radius: 2rem;
}

.dropdown-item {
    font-size: 14px;
}

@keyframes fade {
    0%,
    100% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}

.tab-content>.active {
    animation: fade 2s;
}

@media (min-width: 992px) {
    .tabpanel .col-lg-2 {
        margin-right: 25px;
    }
}

@media (max-width: 480px) {
    .nav-res {
        padding: 0px !important;
    }
}

.navProfileMenu {
    position: absolute !important;
}

.navProfileMenu .dropdown-item {
    color: #884785;
    padding: .25rem 0.8rem !important;
}

.signup .error {
    color: #ff0000 !important;
    font-size: 14px;
}

.signup .form-control.error {
    border: 1px solid #ff0000;
}

#payment-menu li {
    margin-top: 5px;
}

.package .error {
    color: #ff0000 !important;
    font-size: 14px;
}

.package .form-control.error {
    border: 1px solid #ff0000;
}

.special {
    position: absolute;
    left: 11px;
    top: -3px;
    z-index: 1;
    overflow: hidden;
    width: 55px;
    height: 55px;
    text-align: right;
}

.special span {
    width: 55px;
    height: 55px;
    display: block;
    background-image: url(/images/package/badge.png);
    position: absolute;
}

.flexslider {
    border: none;
}

.flex-direction-nav a {
    color: #fff !important;
    height: 60px;
}

.flex-direction-nav a:before {
    color: #fff !important;
}

@media only screen and (max-width: 768px) {
    .silde-banner {
        max-width: 100% !important;
        padding: 0px;
    }
    .flex-direction-nav {
        display: none;
    }
}

.sub-package .card-title {
    min-height: 32px;
}

.sub-package .card-footer {
    background: none;
    border-top: none;
}

.sub-package-avg {
    font-size: 14px;
    font-weight: normal;
    color: #ff8aa5;
}

.tab-channel .nav-link {
    color: #8f608c;
}

.tab-channel .nav-link.active {
    background: #c58ec3;
    border-radius: 10px 10px 0px 0px;
    color: #fff;
}

.section-subscription {
    color: #fff;
}

.section-subscription h1 {
    letter-spacing: 6px;
    font-family: 'Helvetica';
}

.section-subscription p {
    font-weight: normal !important;
    font-family: Arial;
    font-size: 1.1rem;
}

@media only screen and (max-width: 600px) {
    #myPackage {
        font-size: 14px !important;
    }
    #subscription .col-6 {
        font-size: 14px !important;
        padding: .2rem 0.2rem !important
    }
    #subscription .card-footer {
        padding: .75rem 0.5rem;
    }
    .btn-subscription-package {
        padding: 10px 8px !important;
        font-size: 12px;
        font-weight: 600;
    }
    .btn-learn-more {
        padding: 10px 8px !important;
        font-size: 12px;
        font-weight: 600;
    }
    .section-subscription h1 {
        letter-spacing: 0px;
        font-size: 2rem;
    }
    .section-subscription p {
        font-size: 1rem;
    }
}

.billing-mobile {
    display: none;
}

@media only screen and (max-width: 768px) {
    .billing-web {
        display: none;
    }
    .billing-mobile {
        display: table-row-group !important;
    }
}

.ribbon {
    position: absolute;
    left: -6px;
    top: -7px;
    z-index: 1;
    overflow: hidden;
    width: 75px;
    height: 75px;
    text-align: right;
    margin-top: 0px;
    background-image: url('../images/ribbon.png');
    background-size: cover;
}

.fresh-pink {
    color: #ed018c;
}