/*@font-face {
    font-family: "RSU_Regular";
    src: url(../fonts/RSU_BOLD.woff),
        url(../fonts/RSU_Regular.ttf),
        url(../fonts/RSU_Regular.eot),
        url(../fonts/RSU_Regular.svg);
    font-weight: normal;
}

@font-face {
    font-family: "RSU_Regular";
    src: url(../fonts/RSU_BOLD.woff),
        url(../fonts/RSU_BOLD.ttf),
        url(../fonts/RSU_BOLD.eot),
        url(../fonts/RSU_BOLD.svg);
    font-weight: bold;
}*/

/*.panel-body img {*/
/*    max-width: 100%;*/
/*    height: auto;*/
/*    display: block;*/
/*}*/

body {
    font-family: "Lucida Grande", "Arial", "Helvetica";
	
}

.navbar-ncu {
    padding: 0;
    font-size: 12pt;
    background-color: rgb(255, 41, 164,1);
    transition: all linear .1s;
} 

.navbar-ncu .navbar-nav > li > a {
    color: #FFF;
	font-weight: bold;
}

.navbar-shrink {
    background-color: rgb(255, 41, 164,1);
}

#brand-logo {
    height: 40px;
    margin-top: -10px;
    transition: all .1s;
}

.navbar-shrink #brand-logo{
    height: 40px;
    margin-top: -10px;
}

#header {
    background-image: url(../images/bg_slider_ncu1.png);
    background-size: cover;
    background-position: center;
	
}

#header .container{
	padding: 51px 0 0 0;
	-moz-box-shadow:0px 10px 50px 5px #ccc;
	-webkit-box-shadow:0px 10px 50px 5px #ccc;
	box-shadow:0px 10px 50px 5px #ccc;
}

#header .owl-controls {
    display: none;
}

#banner .container{
	padding: 20px 15px;
	-moz-box-shadow:0px 10px 50px 5px #ccc;
	-webkit-box-shadow:0px 10px 50px 5px #ccc;
	box-shadow:0px 10px 50px 5px #ccc;
}

#banner img {
    width: 100%;
}

#news {
    /*background-image: url(../images/bg-news.png);*/
    background-position: right;
    background-repeat: no-repeat;
    background-attachment: fixed;
	
}

#news .container{
	padding: 20px 0 0 0;
    background-color: rgba(255,255,255,1);
	-moz-box-shadow:0px 10px 50px 5px #ccc;
	-webkit-box-shadow:0px 10px 50px 5px #ccc;
	box-shadow:0px 10px 50px 5px #ccc;
}

.nav-tabs li a {
    color: #da0861;
    font-size: 12pt;
}

.tab-content a {
    color: #da0861;
    text-decoration: none;
    transition: all linear .2s;
}

.tab-content a:hover {
    color: #fac028;
}

.tab-pane {
    padding-top: 10px;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    color: #fac028;
}

#about {
    background-image: url(../images/bg-about.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#about .container {
    background-color: rgba(255,255,255,0.7);
    padding: 70px 0;
	-moz-box-shadow:0px 10px 50px 5px #ccc;
	-webkit-box-shadow:0px 10px 50px 5px #ccc;
	box-shadow:0px 10px 50px 5px #ccc;
}

.title {
    color: #da0861;
    font-size: 16pt;
    text-decoration: underline;
}

.panel.panel-ncu {
    border: 2px solid #fac028;
}

.panel-ncu > .panel-heading {
    color: #da0861;
    background-color: #fbcde1;
    border-color: #ddd;
}

.panel-title {
    font-size: 14pt;
}

#faculty {
}

#faculty .container{
    background-color: rgba(255,255,255,1);
    padding: 20px 0;
	-moz-box-shadow:0px 10px 50px 5px #ccc;
	-webkit-box-shadow:0px 10px 50px 5px #ccc;
	box-shadow:0px 10px 50px 5px #ccc;
}

#faculty ul{
    padding: 0;
    list-style: none;
    color: #da0861;
}

#faculty ul li{
    font-size: 10pt;
}

/*#faculty ul .title-faculty {
    color: #da0861;
    font-size: 12pt;
    text-decoration: underline;
}*/

#faculty ul .title-faculty a{
    color: #da0861;
    font-size: 12pt;
    text-decoration: underline;
}

#faculty ul .title-faculty a:hover{
    color: #ff9f17;
    font-size: 12pt;
    text-decoration: underline;
}

#faculty ul .title-faculty2 {
    color: #da0861;
    font-size: 12pt;
    font-weight: 600;
    padding-left: 10px; 
}

#bannerLink {
    background-color: #faf0d3;
}

#bannerLink .container{
    background-color: rgba(255,255,255,1);
    padding: 70px 0;
	-moz-box-shadow:0px 10px 50px 5px #ccc;
	-webkit-box-shadow:0px 10px 50px 5px #ccc;
	box-shadow:0px 10px 50px 5px #ccc;
}

#bannerLink img {
    width: 100%;
    margin-bottom: 15px;
}

#contact {
    background-color: #f8c1d8;
}

#contact .container {
    background-color: rgba(255,255,255,1);
    padding: 20px 15px;
	-moz-box-shadow:0px 10px 50px 5px #ccc;
	-webkit-box-shadow:0px 10px 50px 5px #ccc;
	box-shadow:0px 10px 50px 5px #ccc;
}

#contact .title-contact p {
	font-size: 12pt;
    color: #666;
    /*line-height: 15px;*/
}

#contact .title-contact p:nth-child(1) {
	font-size: 20pt;
    color: #ed145b;
}

#linkFooter {
    background-color: #f6a2c2;
    padding-top: 50px;
    padding-bottom: 50px;
    color: #fff;
}

#linkFooter .container ul{
    list-style: none;
    padding: 0;
}

#linkFooter .container ul .linkFooter {
    padding-left: 10px;
}

#linkFooter .container ul .linkFooter a{
    text-decoration: none;
    color: #fff;
    transition: all linear 0.38s;
}

#linkFooter .container ul .linkFooter a:hover{
    text-decoration: none;
    color: #555;
}

#linkFooter .container ul .title-linkFooter {
    font-size: 12px;
}
#footer .container p {
    font-size: 12pt;
    color: #666;
    line-height: 15px;
}

#footer .container p:nth-child(1) {
    font-size: 20pt;
    color: #ed145b;
}

#footer .navbar {
    margin-bottom: 0;
}

#footer .navbar-default .navbar-nav > li > a {
    color: #ff29a4;
    font-size: 12px;
}

#lang {
    position: fixed;
    top: 10px;
    right: 50px;
    z-index: 1040;
}

.image-banner {
	margin-top: 6px;
	margin-bottom: 5px;
	border : 1px solid #999;
}

#myServiceLink ul{
    list-style: none;
    padding: 0;
}

#myServiceLink ul .linkFooter {
    padding-left: 10px;
}

#myServiceLink ul .linkFooter a{
    text-decoration: none;
    color: #ed145b;
    transition: all linear 0.38s;
}

#myServiceLink ul .linkFooter a:hover{
    text-decoration: none;
    color: #555;
}

#myServiceLink ul .title-linkFooter {
    font-size: 14px;
	font-weight: bold;
}

.modal.fade .modal-dialog {
    -webkit-transform: scale(0.1);
    -moz-transform: scale(0.1);
    -ms-transform: scale(0.1);
    transform: scale(0.1);
    top: 300px;
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.modal.fade.in .modal-dialog {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transform: translate3d(0, -300px, 0);
    transform: translate3d(0, -300px, 0);
    opacity: 1;
}

#list-news {
	background-image: url(../images/bg_slider_ncu1.png);
	background-repeat: no-repeat;
    background-size: 100%;
	background-attachment: fixed;
}

#list-news .container {
	background-color: rgba(255,255,255,1);
	-moz-box-shadow:0px 10px 50px 5px #ccc;
	-webkit-box-shadow:0px 10px 50px 5px #ccc;
	box-shadow:0px 10px 50px 5px #ccc;
}

#list-news .news-header{
    margin-top: 100px;
	background-color: rgba(255,255,255,0.7);
}

#list-news .news-header p {
    padding : 20px 20px 10px 20px;
	font-size : 20pt;
	color : #ed145b;
	text-decoration: underline;
}

#list-news .news-header ul{
    list-style : none;
	padding: 0;
}

#list-news .news-header ul li{
    border-bottom : 1px solid #999;
	padding : 15px 0px;
}

#list-news .news-header ul li a{
    text-decoration : none;
	color : #ed145b;
	font-size : 14pt;
}

#list-news .news-header ul li a:hover{
    text-decoration : none;
	color : #da0861;
	font-size : 14pt;
}

.nav-footer {
	padding-left : 15px;
	padding-right : 30px;
}

#map {
    width: 100%;
    height: 200px;
	padding: 0px;
	border : 1px solid #999;
}

.map-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.map-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

.image-gallery {
	cursor: pointer; 
	margin:20px 0; 
	height: 150px; 
	background-size: cover; 
	background-position: center;
}

#thailang, #englang, #chinalang {
	cursor: pointer;
}

#about_detail .container {
	padding: 0;
	background-color: rgba(255,255,255,1);
	-moz-box-shadow:0px 10px 50px 5px #ccc;
	-webkit-box-shadow:0px 10px 50px 5px #ccc;
	box-shadow:0px 10px 50px 5px #ccc;
}

.image-header {
	padding: 0;
	font-size: 30pt;
	color:#666
}
.image-header img {
    width: 100%;
    height: auto;       /* รักษาสัดส่วนรูป */
    display: block;
    object-fit: cover;  /* หากต้องการให้รูปเต็มกรอบ */
}


.image-header span{
	position: absolute;
	top: 60px;
	left: 40px;
}

.border-detail {
	border: 1px solid rgba(255,41,164,.4);
	margin: 0 -15px 15px -15px;
}

.ncu-brand {
	color: #FFF; 
	font-weight: bold;
}

.stick-top {
    top: 0;
}

.stick-left {
    left: 0;
}

.black-ribbon {
    position: fixed;
    z-index: 9999;
    width: 150px;
}



@media(max-width:1024px) {
    .navbar-ncu {
        padding: 5px 0;
        background-color: rgb(255, 41, 164);
    }

    .navbar-ncu #brand-logo{
        height: 40px;
        margin-top: -10px;
    }
	
	#lang {
		position: fixed;
		top: auto;
		bottom: 15px;
		right: 20px;
		z-index: 1040;
	}
	
	#header .container {
		padding: 61px 0 0 0;
	}
	
	.lang {
		bottom: 30px;
	}
	
	.black-ribbon {
		position: fixed;
		z-index: 9999;
		width: 100px;
	}
}

@media(max-width:991px) {
    .navbar-ncu {
        padding: 5px 0;
        background-color: rgb(255, 41, 164);
    }

    .navbar-ncu #brand-logo{
        height: 40px;
        margin-top: -10px;
    }
	
	#list-news .news-header{
		margin-top: 110px;
	}
	
}

@media(max-width:767px) {
	.image-header span {
		display: none;
	}
    .navbar-ncu {
        padding: 5px 0;
        background-color: rgb(255, 41, 164);
    }

    .navbar-ncu #brand-logo{
        height: 40px;
        margin-top: -10px;
    }
	
	#header .container {
		padding: 61px 0 0 0;
	}
	
	#list-news .news-header{
		margin-top: 61px;
	}
	
	#contact .title-contact p:nth-child(1) {
		font-size: 14pt;
		color: #ed145b;
	}
	
	.navbar-default .navbar-nav .open .dropdown-menu > li > a {
		color: #FFF;
	}
	
	.black-ribbon {
		position: fixed;
		z-index: 9999;
		width: 70px;
	}

    .grecaptcha-badge {
        visibility: hidden !important;
    }
}

.news-list-thumbnail {
    max-width: 120px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}

/* Custom Pagination */
.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
    background-color: #ed145b;
    border-color: #ed145b;
}

.pagination > li > a,
.pagination > li > span {
    color: #ed145b;
}

.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:focus,
.pagination > li > span:hover {
    color: #da0861;
}
