/*
Theme Name:     Newspaper Child theme
Theme URI: 		http://themeforest.net/user/tagDiv/portfolio
Description:    Child theme made by tagDiv
Author:         tagDiv
Author URI: 	http://themeforest.net/user/tagDiv/portfolio
Template:       Newspaper
Version:        9.0c
*/


/*  ----------------------------------------------------------------------------
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
*/

@font-face {
    font-family: 'LINE Seed Sans TH';
    src: url('assets/fonts/LINESeedSansTH-Regular.eot');
    src: url('assets/fonts/LINESeedSansTH-Regular.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/LINESeedSansTH-Regular.woff2') format('woff2'),
        url('assets/fonts/LINESeedSansTH-Regular.woff') format('woff'),
        url('assets/fonts/LINESeedSansTH-Regular.ttf') format('truetype'),
        url('assets/fonts/LINESeedSansTH-Regular.svg#LINESeedSansTH-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LINE Seed Sans TH';
    src: url('assets/fonts/LINESeedSansTH-Bold.eot');
    src: url('assets/fonts/LINESeedSansTH-Bold.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/LINESeedSansTH-Bold.woff2') format('woff2'),
        url('assets/fonts/LINESeedSansTH-Bold.woff') format('woff'),
        url('assets/fonts/LINESeedSansTH-Bold.ttf') format('truetype'),
        url('assets/fonts/LINESeedSansTH-Bold.svg#LINESeedSansTH-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LINE Seed Sans';
    src: url('assets/fonts/LINESeedSans-Bold.eot');
    src: url('assets/fonts/LINESeedSans-Bold.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/LINESeedSans-Bold.woff2') format('woff2'),
        url('assets/fonts/LINESeedSans-Bold.woff') format('woff'),
        url('assets/fonts/LINESeedSans-Bold.ttf') format('truetype'),
        url('assets/fonts/LINESeedSans-Bold.svg#LINESeedSans-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LINE Seed Sans';
    src: url('assets/fonts/LINESeedSans-Regular.eot');
    src: url('assets/fonts/LINESeedSans-Regular.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/LINESeedSans-Regular.woff2') format('woff2'),
        url('assets/fonts/LINESeedSans-Regular.woff') format('woff'),
        url('assets/fonts/LINESeedSans-Regular.ttf') format('truetype'),
        url('assets/fonts/LINESeedSans-Regular.svg#LINESeedSans-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* disable wpml*/
.wpml-ls-statics-footer {
    display: none;
}
.center-nav-slide .td-next-prev-wrap {
    text-align: center !important;
}
body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, a {
    font-family: 'LINE Seed Sans TH', 'LINE Seed Sans' !important;
}
.tdb-drop-down-search{
    display: none !important;
}
.d-none-hide {
    opacity: 0;
    overflow: hidden;
    height: 0;
}
.d-none{
    display: none;
}
.social-footer a.tdm-social-item {
    margin: 5px 35px 5px 0 !important;
}
.h1-title-section h1.tdm-title.tdm-title-md {
    margin-bottom: 0;
}
.otgs-development-site-front-end{
    display: none !important;
}
.social-post-details .inerCnt a {
    border: 1px solid #DDDDDD !important;
    border-radius: 35px;
    font-family: 'newspaper' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    text-align: center;
    -webkit-font-smoothing: antialiased;
}
.social-post-details .inerCnt a.sficn > img {
    /* display: none !important; */
    opacity: 0 !important;
    margin-top: -40px;
}
.social-post-details .inerCnt #sfsiid_facebook_icon:before{
    content: "";
    font-size: 18px;
    display: inline-block;
    height: 100%;
    line-height: 39px;
    color: #000000;
    background: url("assets/images/ic-facebook.svg") no-repeat center center;
    vertical-align: middle;
    width: 100%;
    background-size: 10px;
}
.social-post-details .inerCnt #sfsiid_twitter_icon:before{
    content: "";
    font-size: 18px;
    display: inline-block;
    height: 100%;
    line-height: 39px;
    color: #000000;
    background: url("assets/images/ic-twister.svg") no-repeat center center;
    vertical-align: middle;
    width: 100%;
    background-size: 15px;
}
.social-post-details .inerCnt #sfsiid_youtube_icon:before{
    content: "";
    font-size: 18px;
    display: inline-block;
    height: 100%;
    line-height: 39px;
    color: #000000;
    background: url("assets/images/ic-youtube.svg") no-repeat center center;
    vertical-align: middle;
    width: 100%;
    background-size: 20px;
}
.social-post-details .inerCnt #sfsiid_instagram_icon:before{
    content: "";
    font-size: 18px;
    display: inline-block;
    height: 100%;
    line-height: 39px;
    color: #000000;
    background: url("assets/images/ic-instagram.svg") no-repeat center center;
    vertical-align: middle;
    width: 100%;
    background-size: 17px;
}
.social-post-details .inerCnt #sfsiid_tiktok_icon:before{
    content: "";
    font-size: 18px;
    display: inline-block;
    height: 100%;
    line-height: 39px;
    color: #000000;
    background: url("assets/images/ic-tiktok.svg") no-repeat center center;
    vertical-align: middle;
    width: 100%;
    background-size: 15px;
}
.tdb_header_menu .tdb-menu>li.menu-item a {
    font-weight: 400 !important;
}
.tdb_header_menu .tdb-menu>li.menu-item.current-menu-item a {
    font-weight: 700 !important;
}
.border-rt-footer:after {
    content: "|";
    font-size: 16px;
    position: absolute;
    color: #65489C;
    right: -10px;
    top: 3px;
}
.td-editor-date .td-post-author-name > span , .td-post-author-name span{
    display: none !important;
}
.td-editor-date .td-post-author-name:after {
    content: "\e90f";
    position: relative;
    display: inline-block;
    width: 13px;
    font-family: 'newspaper';
    color: #9CA3AF;
}
/* เรียงลำดับหมวดหมู่หลัก mind-manifest */
.category-mind-main .tdb-category-siblings.tdb-category-siblings-list ul.td-category {
    display: flex;
    flex-direction: column;
}
.category-mind-main .tdb-category-siblings.tdb-category-siblings-list ul.td-category li:nth-child(1) {
  order: 3;
}

.category-mind-main .tdb-category-siblings.tdb-category-siblings-list ul.td-category li:nth-child(2) {
  order: 1;
}

.category-mind-main .tdb-category-siblings.tdb-category-siblings-list ul.td-category li:nth-child(3) {
  order: 2;
}
/* เรียงลำดับหมวดหมู่หลัก horoscope */
.category-horoscope-main .tdb-category-siblings.tdb-category-siblings-list ul.td-category {
    display: flex;
    flex-direction: column;
}
.category-horoscope-main .tdb-category-siblings.tdb-category-siblings-list ul.td-category li:nth-child(1) {
  order: 2;
}

.category-horoscope-main .tdb-category-siblings.tdb-category-siblings-list ul.td-category li:nth-child(2) {
  order: 1;
}

.category-horoscope-main .tdb-category-siblings.tdb-category-siblings-list ul.td-category li:nth-child(3) {
  order: 3;
}
/* เรียงลำดับหมวดหมู่หลัก horoscope */
.category-community-main .tdb-category-siblings.tdb-category-siblings-list ul.td-category {
    display: flex;
    flex-direction: column;
}
.category-community-main .tdb-category-siblings.tdb-category-siblings-list ul.td-category li:nth-child(1) {
  order: 2;
}

.category-community-main .tdb-category-siblings.tdb-category-siblings-list ul.td-category li:nth-child(2) {
  order: 3;
}

.category-community-main .tdb-category-siblings.tdb-category-siblings-list ul.td-category li:nth-child(3) {
  order: 1;
}

.form-contact-about-us p{
    width: 98%;
    margin-bottom: 15px !important;
}
.form-contact-about-us p br, .form-contact-about-us label br {
    display: none;
}
.form-contact-about-us .col-50 {
    width: 50%;
    display: flex;
    float: left;
}
.form-contact-about-us .col-50 > p{
    width: 98%;
}


/* custom css grid*/
.custom-grid-block .td_module_wrap:nth-child(2n + 1) a.td-image-wrap {
    padding-bottom: 150%;
}
.custom-grid-block .td_module_wrap:nth-child(2n) .td-module-meta-info {
    margin: -50px 0 0 auto !important;
}

.td-post-author-name a ,
.td-module-meta-info a.td-post-category{
    pointer-events: none;
}


input[type=text], input[type=url], input[type=tel], input[type=email] {
    font-size: 16px;
    line-height: 24px;
    color: #6B7280;
    border: 1px solid #4B5563;
    width: 100%;
    max-width: 100%;
    height: 40px;
    padding: 5px 9px;
}
textarea {
    font-size: 16px;
    line-height: 24px;
    color: #6B7280;
    border: 1px solid #4B5563;
    width: 100%;
    max-width: 100%;
    height: 168px;
    min-height: 168px;
    padding: 6px 9px;
}
.btn-submit-form p {
    width: 99%;
}
.btn-submit-form input {
    background-color: #65489C;
    width: 100%;
    font-weight: 400;
    font-size: 18px;
    font-family: 'LINE Seed Sans TH', 'LINE Seed Sans' !important;
}
.td_block_image_box.logo-partner .td-custom-image a:before {
    background-color: transparent !important;
}
.content-join-us p {
    margin-bottom: 15px;
}
.f-join-us {
    display: inline-block;
    position: relative;
}
.form-join-us .submit {
    position: absolute;
    top: 5px;
    right: 0;
}
.f-join-us .f-email br {
    display: none;
}
.form-join-us .submit p {
    display: inline-block;
    margin: 0;
    position: relative;
}
.form-join-us .submit .wpcf7-spinner{
    position: absolute;
    right: 0
}
.f-join-us .f-email input[type="email"] {
    border-top-color: transparent;
    border-right-color: transparent;
    border-left-color: transparent;
    padding-left: 0;
    padding-right: 0;
    font-size: 14px;
    color: #000 !important;
}
.form-join-us .submit input {
    color: #000;
    background: #fff;
    padding-right: 0;
}

/* details */
span.tdb-author-by {
    display: none;
}
.tdb_single_author .tdb-author-name {
    pointer-events: none;
}
.tdb-category a.tdb-entry-category {
    pointer-events: none;
}

.social-post-details .sfsi_widget.sfsi_shortcode_container > div {
    width: 270px !important;
}
.social-post-details .sfsi_shortcode_container .sfsi_wicons {
    margin-right: 5px;
}

/* about us */
.about-daily-banner .wpb_column.vc_column_container {
    padding-top: 120px !important;
    padding-bottom: 120px !important;
}
.inner-column-text-banner .vc_column-inner {
    padding-left: 80px;
}

/* custom grid date */
.custom-date-grid {
    display: none;
}
.custom-date-event .td-image-container,
.custom-event-highlight-left .td-image-container {
    position: relative;
}
.custom-date-event .custom-date-grid,
.custom-event-highlight-left .custom-date-grid {
    display: inline-block;
    position: absolute;
    top: 10px;
    left: 10px;
    background: #fff;
    padding: 10px;
    text-align: center;
}
.custom-date-event .custom-date-grid span.date-day,
.custom-event-highlight-left .custom-date-grid span.date-day{
    font-size: 20px;
    font-weight: 700;
}

/* Event */
.p-no-margin p {
    margin: 0;
}
.custom-event-highlight-rigth .td-module-meta-info {
    display: flex;
    flex-direction: column;
}
.custom-event-highlight-rigth .td-module-meta-info h3.td-module-title {
    order: 1;
}
.custom-event-highlight-rigth .td-module-meta-info .td-excerpt {
    order: 2;
    margin-top: 5px;
    margin-bottom: 15px;
}
.custom-event-highlight-rigth .td-module-meta-info .td-editor-date {
    order: 3;
}
.custom-event-highlight-rigth .td-module-meta-info .td-editor-date span.td-author-date {
    display: flex;
    flex-direction: column;
}
.custom-event-highlight-rigth .td-module-meta-info .td-editor-date span.td-author-date span.td-post-author-name {
    margin-bottom: 15px;
}
.custom-event-highlight-rigth .td-module-meta-info .td-editor-date span.td-author-date span.td-post-author-name:after{
    content: none;
}
.custom-event-highlight-left .td-module-meta-info {
    display: none;
}

/* icon footer */
.social-footer .tdm-social-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.social-footer .tdm-social-wrapper .tdm-social-item-wrap:nth-child(1) {
    order: 1;
}
.social-footer .tdm-social-wrapper .tdm-social-item-wrap:nth-child(2) {
    order: 2;
}
.social-footer .tdm-social-wrapper .tdm-social-item-wrap:nth-child(3) {
    order: 4;
}
.social-footer .tdm-social-wrapper .tdm-social-item-wrap:nth-child(4) {
    order: 5;
}
.social-footer .tdm-social-wrapper .tdm-social-item-wrap:nth-child(5) {
    order: 3;
}
.social-footer .tdm-social-wrapper .tdm-social-item-wrap:nth-child(5) a.tdm-social-item {
    margin-right: 35px !important;
}
.social-footer .tdm-social-wrapper .tdm-social-item-wrap:nth-child(4) a.tdm-social-item {
    margin-right: 0 !important;
}
.tdb-block-inner span.tdb-header-search-button-mob {
    display: none !important;
}

@media (min-width: 320px) and (max-width: 767px) {
    .home-padding-mobile .wpb_column {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
}
@media (min-width: 1700px) and (max-width: 1710px) {
	.about-daily-banner .wpb_column.vc_column_container {
		padding-top: 140px !important;
		padding-bottom: 140px !important;
	}
}