@import url('https://fonts.googleapis.com/css?family=Kanit:300,400,500,600,700|Roboto:300,400,500,700&display=swap&subset=thai');

body {
    font-family: 'Roboto', 'Kanit';
    font-size: 14px;
    letter-spacing: 0.027rem !important;
    /*color: #40444f;*/
    /* background: #e9ebee; */
    background: #fff !important;
    /*border-top: 5px #b66611 solid;  */
    font-weight: 300 !important;
}

.page-item .active {
    background-color: #4285f4 !important;
}

.icon_menu {
    display: none;
}

#social a {
    color: #444 !important;
}

a {
    color: #eb6408 !important;
    text-decoration: none !important;
}

a:link,
a:hover,
a:visited {
    color: #eb6408 !important;
    text-decoration: none !important;
}

.imp-img {
    width: 100%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    height: 500px;
    object-fit: cover;
    object-position: top;
}

.space {
    line-height: 5px;
}

.space_m,
.space_m2 {
    display: none;
}

.header_topic,
.header_topic2 {
    font-size: 32px;
    font-weight: 400;
}

.topic {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.03rem;
}

.topic2 {
    font-size: 16px;
    padding: 10px 0;
    font-weight: 500;
    letter-spacing: 0.03rem;
}

.detail {
    padding-top: 10px;
    font-size: 14px;
    color: #444;
    letter-spacing: 0.03rem;
}

.detail2 {
    font-size: 13px;
    color: #444;
    letter-spacing: 0.03rem;
}

.space_md_only {
    line-height: 25px;
}

.scrolltop {
    display: none;
    /*width:100%;*/
    margin: 0 auto;
    position: fixed;
    bottom: 20px;
    right: 10px;
}

.scroll {
    position: absolute;
    right: 20px;
    bottom: 20px;
    background: #b2b2b2;
    background: rgba(178, 178, 178, 0.7);
    padding: 15px 15px 10px 15px;
    text-align: center;
    margin: 0 0 0 0;
    cursor: pointer;
    transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
}

.scroll:hover {
    background: rgba(178, 178, 178, 1.0);
    transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
}

.scroll:hover .fa {
    padding-top: -10px;
}

.scroll .fa {
    font-size: 30px;
    margin-top: -5px;
    margin-left: 1px;
    transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
}

#footers .row {
    margin-left: 0 !important;
    margin-right: 0 !important;

}

.go2link {
    font-size: 18px;
    color: #eb6408 !important;
}

#_col_go2link {
    text-align: right;
    line-height: 72px;
    vertical-align: middle;
}

#txt_act_channel {
    font-size: 48px;
    color: #eb6408;
    font-weight: 700;
}

/* SLIDE */
.carousel .carousel-control-next-icon, .carousel .carousel-control-prev-icon {
    width: 60px !important;
    height: 60px !important;
}
.carousel-control-next, .carousel-control-next, .carousel-control-prev, .carousel-control-prev {
    opacity: .9;
}
.carousel-indicators {
    bottom: -40px;
}
.carousel-indicators li {
    background-color: #fff;
    border: 2px solid #eb6408;
}

@media (max-width: 975px) {
    #top_menu {
        display: none;
    }

    .navigation .nav-container .brand {
        display: inline-block;
    }
}

@media (max-width: 773px) {
    .header_topic {
        font-size: 18px !important;
    }

    .header_topic span {
        font-size: 38px !important;
    }

    .go2link {
        font-size: 14px !important;
    }

    #_col_go2link {
        text-align: right;
        line-height: 40px;
        vertical-align: middle;
    }

    #txt_act_channel {
        font-size: 26px;
        color: #eb6408;
        font-weight: 700;
    }
	
	#txt_activity {
        font-size: 26px !important;
        color: #eb6408;
        font-weight: 700;	
	}

    #ytlogo {
        display: none !important;
    }

    #main_c {
        padding: 0 !important;
    }
}

@media (max-width: 992px) {

    .container {
        clear: both !important;
    }

    /* .nav-container nav ul li a {
            display: block;
            padding: 0 24px !important;
            line-height: 90px;
            color: #444 !important;
            text-decoration: none;
            font-size: 14px !important;
            letter-spacing: 0.035rem;
            font-weight: 400;
        } */
    #logo {
        padding: 0 20px !important;
    }


    /*.navbar-brand img {
			width: 60%;
		}*/
    .imp-img {
        width: 100%;
        height: auto;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
        object-fit: contain;
    }

    #show_excerpt {
        display: none;
    }

    /*button.navbar-toggler {
			padding:0;
		}
		nav.navbar ul li a {
			font-size: 14px;
			border-bottom: 1px #f0f0f0 dotted;
		}
		.icon_menu{
			display: inline;
		}*/
    .space_m {
        line-height: 5px;
    }

    .space_m2 {
        line-height: 15px;
    }

    .header_topic2 {
        font-size: 14px;
        font-weight: 500;
    }

    .topic {
        font-size: 14px;
        padding: 10px 0 2px 0;
    }

    .topic2 {
        font-size: 14px;
        padding: 10px 0 2px 0;
    }

    .detail,
    .detail2 {
        /*display: none;*/
        font-size: 13px;
    }

    .detail {
        padding: 2px 0 15px 0;
    }

    .header_topic {
        font-size: 22px;
    }

    #impnews {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
    }

    .space_md_only {
        line-height: 15px;
    }

    .col-md-5.col-sm-12,
    .col-md-6.col-sm-12 {
        padding: 0 15px !important;
    }

    /* .block_content {
			padding: 0 15px 15px 15px !important;
		} */

    #footers {
        line-height: 70px !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow-x: hidden;
    }

    #copyright,
    #social,
    #footer_logo {
        text-align: center !important;
    }

    #footer_logo {
        padding: 0 30px !important;
    }


}
