/*
Author URI: http://webthemez.com/
Note: Licence under Creative Commons Attribution 3.0  
-------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css?family=Noto+Serif:400,400italic,700|Open+Sans:400,600,700'); 
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700,900');
/*@import url('font-awesome.css');  */
@import url('animate.css');

html, body {
	font-family: 'Kanit','Open Sans', Arial, sans-serif;
	font-weight:300;
	line-height:1.6em;
	color:#656565;
	font-size: 16px;
	overflow-x: hidden;
	width: 100%;
	max-width: 100vw;
}

.page-content {
  -webkit-filter: grayscale(0.4);
  filter: grayscale(0.4);
}

.resp-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
}

.resp-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 900px) {
	.desktop {
		display:none;
	}
}

a:active {
	outline:0;
}

.clear {
	clear:both;
}

h1,h2{
	font-weight: 600;
	line-height:1.1em;
	color: #002e5b;
	font-family: 'Kanit','Montserrat', sans-serif;
	margin-bottom: 20px;
	text-transform: uppercase;
}
.flex-caption h3{
	font-family: 'Montserrat', sans-serif;	
}
h3, h4, h5, h6 {
	line-height:1.1em;
	color: #002e5b;
	margin-bottom: 20px;
	font-family: 'Kanit','Montserrat', sans-serif;
	font-weight: 600;
}
input, button, select, textarea { 
    border-radius: 0px !important;
}
.timetable{background: #2ab975;padding: 5px 23px;}
.timetable hr{
	color:#fff;
	padding-top: 29px;
	margin-bottom: 20px !important;
}
.timetable dl{
	color:#fff; 
}
.timetable dt{
	color:#fff;
}
.timetable dd{
	color:#fff;
}
#wrapper{
	width:100%;
	margin:0;
	padding:0;
}
ul.withArrow{
	
}
ul.withArrow li{
	
}
ul.withArrow li span{
	
margin-right: 10px;
	
font-weight: 700;
	
color: #29448e;
	
border: 1px solid;
	
padding: 4px 8px;
	
font-size: 11px;
	
border-radius: 50%;
	
height: 20px;
	
width: 20px;
}
.widget {
    color: rgba(255, 255, 255, 0.77);
}
.row,.row-fluid {
	margin-bottom:30px;
}

.row .row,.row-fluid .row-fluid{
	margin-bottom:30px;
}

.row.nomargin,.row-fluid.nomargin {
	margin-bottom:0;
}
.about-image img {
    width: 100%;
}
img.img-polaroid {
	margin:0 0 20px 0;
}
.img-box {
	max-width:100%;
}
.navbar-default .navbar-toggle {
    border-color: #3e133b;
    margin-top: 10px;
}
/*  Header
==================================== */
.topbar{
	background-color: #3e133b;
	padding: 5px 0;
	/* color:#fff; */
	font-size: 11px !important;
}
.topbar .container .row {
    margin: 0;
	padding:0;
}
.topbar .container .row .col-md-12 { 
	padding:0;
}
.topbar p{
	margin:0;
	display:inline-block;
	font-size: 11px;
	color: #f1f6ff;
}
.topbar p > i{
	margin-right:5px;
	color: #fdd428;
}
.topbar p:last-child{
	text-align:right;
} 
/*  Header & Navbar Modern Styling
==================================== */
header .navbar {
    margin-bottom: 0;
    min-height: 80px;
    padding: 10px 0;
    background: #ffffff;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
    border: none;
    transition: all 0.3s ease;
}

.home-page header .navbar-default {
    background: #ffffff;
    width: 100%;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    padding: 10px 0;
    height: auto;
}

.navbar-brand img {
    max-height: 50px;
    object-fit: contain;
}

@media (min-width: 768px) {
    header .navbar-collapse {
        display: flex !important;
        justify-content: flex-end !important;
    }
    header .navbar-collapse ul.navbar-nav {
        float: right !important;
        margin-left: auto !important;
        margin-right: 0 !important;
    }
}

/* Nav Item Links */
header .navbar-nav > li {
    padding: 0 !important;
    position: relative;
}

header .navbar-nav > li > a {
    color: #555555 !important;
    font-size: 16px;
    font-weight: 600 !important;
    padding: 20px 18px !important;
    line-height: 24px;
    background: transparent !important;
    transition: color 0.3s ease;
}

/* Slide in bottom border on hover/active */
header .navbar-nav > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 3px;
    background-color: #3e133b; /* CMU Purple */
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header .navbar-nav > li > a:hover {
    color: #3e133b !important;
}

header .navbar-nav > li > a:hover::after,
header .navbar-nav > li.active > a::after,
header .navbar-nav > li.open > a::after {
    transform: scaleX(1);
}

header .navbar-nav > li.active > a,
header .navbar-nav > li.open > a {
    color: #3e133b !important;
}

/* Dropdown Caret Styling */
header .nav .caret {
    border-top-color: #555;
    border-bottom-color: #555;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

header .navbar-nav > li.open > a .caret {
    transform: rotate(180deg);
    border-top-color: #3e133b;
    border-bottom-color: #3e133b;
}

/* Dropdown Menu styling */
.dropdown-menu {
    border: none;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(62, 19, 59, 0.08) !important;
    padding: 10px 0 !important;
    margin-top: 5px !important;
    border: 1px solid rgba(62, 19, 59, 0.05);
    background-color: #ffffff;
    transition: opacity 0.3s, transform 0.3s;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu li a {
    color: #555555 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    padding: 10px 20px !important;
    line-height: 22px;
    transition: all 0.2s ease !important;
    background: transparent !important;
}

.dropdown-menu li a:hover {
    color: #3e133b !important;
    background-color: #fcf9fc !important;
    padding-left: 25px !important;
}

/* Mobile Responsive Styling */
@media (max-width: 991px) {
    header .navbar-nav > li > a {
        padding: 12px 15px !important;
        font-size: 15px;
    }
    header .navbar-nav > li > a::after {
        left: 15px;
        right: 15px;
    }
}

@media (max-width: 767px) {
    header .navbar {
        min-height: auto;
        padding: 10px 0;
    }
    
    .navbar-collapse {
        box-shadow: none;
        border-top: 1px solid #f0f0f0;
        margin-top: 10px;
        background: #ffffff;
    }
    
    header .navbar-nav {
        margin: 10px 0;
        float: none !important;
    }
    
    header .navbar-nav > li > a {
        padding: 10px 15px !important;
        border-left: 3px solid transparent;
    }
    
    header .navbar-nav > li > a::after {
        display: none;
    }
    
    header .navbar-nav > li > a:hover,
    header .navbar-nav > li.active > a {
        border-left-color: #3e133b;
        background-color: #fcf9fc !important;
    }
    
    .dropdown-menu {
        box-shadow: none !important;
        border: none;
        padding: 0 !important;
        margin: 0 !important;
        background-color: #fafafa;
    }
    
    .dropdown-menu li a {
        padding: 8px 30px !important;
        font-size: 14px !important;
    }
    
    .dropdown-menu li a:hover {
        padding-left: 35px !important;
        background-color: #f5f5f5 !important;
    }
}

/* Hamburger toggle button */
.navbar-default .navbar-toggle {
    border: none;
    background: transparent;
    padding: 10px;
    margin-top: 15px;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #fcf9fc;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #3e133b;
    height: 3px;
    width: 22px;
    border-radius: 2px;
    transition: all 0.3s;
}

.navbar-default .navbar-toggle .icon-bar + .icon-bar {
    margin-top: 4px;
}

/* --- menu --- */
.flex-caption p {
    line-height: 22px;
    font-weight: 300;
    color: #002e5b;
    text-transform: capitalize;
}
/* Overwritten legacy navigation styles */
.pageTitle{
color: #fff;
margin: 50px 0 3px;
display: inline-block;
}
 
#banner{
	width: 100%;
	background:#000;
	position:relative;
	margin:0;
	padding:0;
}

/*  Sliders
==================================== */
/* --- flexslider --- */
#main-slider:before {content: '';width: 100%;height: 100%;/* background: rgba(255, 255, 255, 0.37); */z-index: 1;position: absolute;}
.flex-direction-nav a{
display:none;
}
.flexslider {
	padding:0;
	/* background: #FFEB3B; */
	position: relative;
	zoom: 1;
}
.flex-direction-nav .flex-prev{
left:0px; 
}
.flex-direction-nav .flex-next{ 
right:0px;
}
.flex-caption {zoom: 1;bottom: 198px;background-color: transparent;color: #fff;margin: 0;padding: 2px 25px 0px 30px;/* position: absolute; */left: 0;text-align: left;margin: 0 auto;right: 0px;display: inline-block;bottom: 24%;width: 80%;right: 0 !important;border-radius: 15px 15px 0 0;}
.flex-caption h3 {color: #002e5b;letter-spacing: 0px;margin-bottom: 8px;text-transform: uppercase;font-size: 70px;font-weight: 700;}
.flex-caption p {margin: 12px 0 18px;font-size: 22px;font-weight: 400;}
.skill-home{
margin-bottom:50px;
}
.c1{
border: #ed5441 1px solid;
background:#ed5441;
}
.c2{
border: #24c4db 1px solid;
background:#24c4db;
}
.c3{
border: #1891EC 1px solid;
background:#1891EC;
}
.c4{
border: #609cec 1px solid;
background:#609cec;
}
.skill-home .icons {padding: 26px 0 0;width: 94px;height: 94px;color: #fff;font-size: 42px;font-size: 32px;text-align: center;-ms-border-radius: 50%;-moz-border-radius: 50%;-webkit-border-radius: 50%;border-radius: 0;display: inline-table;border: 4px solid #002e5b;color: #002e5b;background: transparent;border-radius: 50%;background: #ffffff;text-align: center;}
.skill-home h2 {
padding-top: 20px;
font-size: 36px;
font-weight: 700;
} 
.testimonial-solid {
padding: 50px 0 60px 0;
margin: 0 0 0 0;
background: #FFFFFF;
text-align: center;
}
.testi-icon-area {
text-align: center;
position: absolute;
top: -84px;
margin: 0 auto; 
width: 100%;
}
.testi-icon-area .quote {
padding: 15px 0 0 0;
margin: 0 0 0 0;
background: #ffffff;
text-align: center;
color: #1891EC;
display: inline-table;
width: 70px;
height: 70px;
-ms-border-radius: 50%;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
border-radius: 50%;
font-size: 42px; 
border: 1px solid #1891EC;
display: none;
}

.testi-icon-area .carousel-inner { 
margin: 20px 0;
}
.carousel-indicators {
bottom: -30px;
}
.text-center img {
margin: auto;
}
.aboutUs{
padding:40px 0;
background: #F2F2F2;
}
img.img-center {
margin: 0 auto;
display: block;
max-width: 100%;
}
.home-about{
	padding: 60px 0 0px;
}
.home-about hr{
	padding:0;
	margin:0;
}
.home-about .info-box{
	
}
/* Testimonial
----------------------------------*/
.testimonial-area {
padding: 0 0 0 0;
margin:0;
/*background: url(../../img/low-poly01.jpg) fixed center center;*/
background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
-ms-background-size: cover;
}
.testimonial-solid p {
color: #000000;
font-size: 16px;
line-height: 30px;
font-style: italic;
} 
section.hero-text {
	background: #F4783B;
	padding:50px 0 50px 0;
	color: #fff;
}
section.hero-text h1{ 
	color: #fff;
}

/* Clients
------------------------------------ */
#clients {
  padding: 60px 0;
  }
  #clients .client .img {
    height: 76px;
    width: 138px;
    cursor: pointer;
    -webkit-transition: box-shadow .1s linear;
    -moz-transition: box-shadow .1s linear;
    transition: box-shadow .1s linear; }
    #clients .client .img:hover {
      cursor: pointer;
      /*box-shadow: 0px 0px 2px 0px rgb(155, 155, 155);*/
      border-radius: 8px; }
/*  #clients .client .client1 {
    background: url("../../img/client1.png") 0 -75px; }
    #clients .client .client1:hover {
      background-position: 1px 0px; }
  #clients .client .client2 {
    background: url("../../img/client2.png") 0 -75px; }
    #clients .client .client2:hover {
      background-position: -1px 0px; }
  #clients .client .client3 {
    background: url("../../img/client3.png") 0 -76px; }*/
    #clients .client .client3:hover {
      background-position: 0px 0px; }


/* Content
==================================== */

#content {
	position:relative;
	background:#fff;
	padding:50px 0 0px 0;
}
 
.cta-text {
	text-align: center;
	margin-top:10px;
}


.big-cta .cta {
	margin-top:10px;
}
 
.box {
	width: 100%;
}
.box-gray  {
	background: #f8f8f8;
	padding: 20px 20px 30px;
}
.box-gray  h4,.box-gray  i {
	margin-bottom: 20px;
}
.box-bottom {
	padding: 20px 0;
	text-align: center;
}
.box-bottom a {
	color: #fff;
	font-weight: 700;
}
.box-bottom a:hover {
	color: #eee;
	text-decoration: none;
}


/* Bottom
==================================== */

#bottom {
	background:#fcfcfc;
	padding:50px 0 0;

}
/* twitter */
#twitter-wrapper {
    text-align: center;
    width: 70%;
    margin: 0 auto;
}
#twitter em {
    font-style: normal;
    font-size: 13px;
}

#twitter em.twitterTime a {
	font-weight:600;
}

#twitter ul {
    padding: 0;
	list-style:none;
}
#twitter ul li {
    font-size: 20px;
    line-height: 1.6em;
    font-weight: 300;
    margin-bottom: 20px;
    position: relative;
    word-break: break-word;
}


/* page headline
==================================== */

#inner-headline{
	/*background: #002e5b;*/
	position: relative;
	margin: 0;
	padding: 0;

	background-image: url("../../img/bgtitle3.jpg");
	background-repeat: repeat-x;
	}


#inner-headline h2.pageTitle{
	color: rgba(255, 255, 255, 0.84);
	padding: 5px 0;
	display:block;
	text-transform: capitalize;
	text-align: center;
}

/* --- breadcrumbs --- */
#inner-headline ul.breadcrumb {
	margin:40px 0;
	float:left;
}

#inner-headline ul.breadcrumb li {
	margin-bottom:0;
	padding-bottom:0;
}
#inner-headline ul.breadcrumb li {
	font-size:13px;
	color:#fff;
}

#inner-headline ul.breadcrumb li i{
	color:#dedede;
}

#inner-headline ul.breadcrumb li a {
	color:#fff;
}

ul.breadcrumb li a:hover {
	text-decoration:none;
}

/* Forms
============================= */

/* --- contact form  ---- */
form#contactform input[type="text"] {
  width: 100%;
  border: 1px solid #f5f5f5;
  min-height: 40px;
  padding-left:20px;
  font-size:13px;
  padding-right:20px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;

}

form#contactform textarea {
border: 1px solid #f5f5f5;
  width: 100%;
  padding-left:20px;
  padding-top:10px;
  font-size:13px;
  padding-right:20px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;

}

form#contactform .validation {
	font-size:11px;
}

#sendmessage {
	border:1px solid #e6e6e6;
	background:#f6f6f6;
	display:none;
	text-align:center;
	padding:15px 12px 15px 65px;
	margin:10px 0;
	font-weight:600;
	margin-bottom:30px;

}

#sendmessage.show,.show  {
	display:block;
}
 
form#commentform input[type="text"] {
  width: 100%;
  min-height: 40px;
  padding-left:20px;
  font-size:13px;
  padding-right:20px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
	-webkit-border-radius: 2px 2px 2px 2px;
		-moz-border-radius: 2px 2px 2px 2px;
			border-radius: 2px 2px 2px 2px;

}

form#commentform textarea {
  width: 100%;
  padding-left:20px;
  padding-top:10px;
  font-size:13px;
  padding-right:20px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
	-webkit-border-radius: 2px 2px 2px 2px;
		-moz-border-radius: 2px 2px 2px 2px;
			border-radius: 2px 2px 2px 2px;
}


/* --- search form --- */
.search{
	float:right;
	margin:35px 0 0;
	padding-bottom:0;
}

#inner-headline form.input-append {
	margin:0;
	padding:0;
}

.about-text h3 {
	font-size: 22px;
	padding-bottom: 20px;
}

.about-text .btn {
	margin-top: 20px;
	//font-size: 15px;
	//text-align: justify;
}

.about-image img {
}

.about-text ul {
	margin-top: 30px;
	padding: 0;
}

.about-text li {
	margin-bottom: 10px;
	//
	font-weight: bold;
	list-style: none;
}

 
.about-text-2 img {
	border: 5px solid #ddd;
	margin-bottom: 20px;
}

.about-text-2 p {
	margin-bottom: 20px;
}

#call-to-action {
	background-attachment: fixed;
	background-position: top center;
	padding: 100px 0;
	color: #fff;
}

.call-to-action h3 {
	font-size: 40px;
	letter-spacing: 15px;
	color: #fff;
	padding-bottom: 30px;
}

.call-to-action p {
	color: #999;
	padding-bottom: 20px;
}

.call-to-action .btn-primary {
	background-color: transparent;
	border-color: #999;
}

.call-to-action .btn-primary:hover {
	background-color: #151515;
	color: #999;
	border-color: #151515;
}

#call-to-action-2 {
	background-color: #002e5b;
	padding: 50px 0;
}
#call-to-action-2 h3 {
	color: #ffffff;
	font-size: 24px;
	font-weight: 600;
	text-transform: uppercase;
}
#call-to-action-2 p {
	color: rgba(255, 255, 255, 0.61);
	font-size: 15px;
}
#call-to-action-2 .btn-primary {
	border-color: #002e5b;
	/* background: transparent; */
	margin-top: 50px;
	color: #002e5b;
}
section.section-padding.gray-bg {
    background: #f6f6f6;
    padding: 60px;
    color: #484848;
}

section.section-padding.light_yl-bg {
    background: #fffef3;
    padding: 60px;
    color: #484848;
}
 
  #accordion-alt3 .panel-heading h4 {
font-size: 13px;
line-height: 28px;
}
.panel .panel-heading h4 {
font-weight: 400;
}
.panel-title {
margin-top: 0;
margin-bottom: 0;
font-size: 15px;
color: inherit;
}
.panel-group .panel {
margin-bottom: 0;
border-radius: 2px;
}
.panel {margin-bottom: 18px;background-color: #FFFFFF;border: 1px solid #f3f3f3;border-radius: 2px;-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.05);box-shadow: 0 1px 1px rgba(0,0,0,0.05);}
#accordion-alt3 .panel-heading h4 a i {font-size: 17px;line-height: 18px;width: 18px;height: 18px;margin-right: 8px;color: #A0A0A0;text-align: center;border-radius: 50%;margin-left: 6px;font-weight: bold;}  
.progress.pb-sm {
height: 6px!important;
}
.progress {
box-shadow: inset 0 0 2px rgba(0,0,0,.1);
}
.progress {
overflow: hidden;
height: 18px;
margin-bottom: 18px;
background-color: #f5f5f5;
border-radius: 2px;
-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}
.progress .progress-bar.progress-bar-red {/* background: #ed5441; */} 
.progress .progress-bar.progress-bar-green {/* background: #51d466; */}
.progress .progress-bar.progress-bar-lblue {/* background: #32c8de; */}
/* --- portfolio detail --- */
.top-wrapper {
	margin-bottom:20px;
}
.info-blocks {
	margin-bottom: 20px;
	padding: 18px 16px;
	background: #ffffff;
	border: 1px solid transparent;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
	transition: all 0.25s ease-in-out;
	display: flex;
	align-items: center;
	min-height: 100px;
}
.info-blocks:hover {
	border-color: #6940cc;
	box-shadow: 0 4px 16px rgba(105, 64, 204, 0.15);
	transform: translateY(-2px);
}
.info-blocks a {
	display: flex;
	align-items: center;
	width: 100%;
	text-decoration: none;
}
.info-blocks i.icon-info-blocks {
	flex-shrink: 0;
	color: #ffffff;
	font-size: 26px;
	text-align: center;
	background: linear-gradient(135deg, #6940cc, #8E54E9);
	width: 64px;
	height: 64px;
	line-height: 64px;
	border-radius: 14px;
	box-shadow: 0 3px 10px rgba(105, 64, 204, 0.25);
	margin-right: 16px;
	float: none;
	padding: 0;
	min-width: 64px;
	border: none;
}
.info-blocks .info-blocks-in {
	padding: 0;
	overflow: hidden;
	flex: 1;
}
.info-blocks .info-blocks-in h3 {
	color: #1a2a4a;
	font-size: 16px;
	line-height: 1.5;
	margin: 0;
	font-family: 'Kanit', 'Montserrat', sans-serif;
	font-weight: 500;
}
.info-blocks .info-blocks-in p {
	font-size: 14px;
	margin: 4px 0 0 0;
}
  
blockquote {
	font-size:16px;
	font-weight:400;
	font-family:'Noto Serif', serif;
	font-style:italic;
	padding-left:0;
	color:#a2a2a2;
	line-height:1.6em;
	border:none;
}

blockquote cite 							{ display:block; font-size:12px; color:#666; margin-top:10px; }
blockquote cite:before 					{ content:"\2014 \0020"; }
blockquote cite a,
blockquote cite a:visited,
blockquote cite a:visited 				{ color:#555; }

/* --- pullquotes --- */

.pullquote-left {
	display:block;
	color:#a2a2a2;
	font-family:'Noto Serif', serif;
	font-size:14px;
	line-height:1.6em;
	padding-left:20px;
}

.pullquote-right {
	display:block;
	color:#a2a2a2;
	font-family:'Noto Serif', serif;
	font-size:14px;
	line-height:1.6em;
	padding-right:20px;
}

/* --- button --- */
.btn{text-align: center;color: #fbf9f9;padding: 12px 25px;border-radius: 0;background: #b476f9;border-color: #561f56;}
.btn-theme {
	color: #fff;
	background: transparent;
	border: 1px solid #fff;
	padding: 12px 30px;
	font-weight: bold;
}
.btn-theme:hover {
	color: #eee;
}

/* --- list style --- */

ul.general {
	list-style:none;
	margin-left:0;
}

ul.link-list{
	margin:0;
	padding:0;
	list-style:none;
}

ul.link-list li{
	margin:0;
	padding:2px 0 2px 0;
	list-style:none;
}
footer{background: #3e133b;}
footer ul.link-list li a{
	color: rgba(255, 255, 255, 0.63);
}
footer ul.link-list li a:hover {
	color: #FFEB3B;
}
/* --- Heading style --- */

h4.heading {
	font-weight:700;
}

.heading { margin-bottom: 30px; }

.heading {
	position: relative;
	
}


.widgetheading {
	width:100%;
	padding:0;
	font-weight: bold;
}

#bottom .widgetheading {
	position: relative;
	border-bottom: #e6e6e6 1px solid;
	padding-bottom: 9px;
}

aside .widgetheading {
	position: relative;
	border-bottom: #e9e9e9 1px solid;
	padding-bottom: 9px;
}

footer .widgetheading {
	position: relative;
}

footer .widget .social-network {
	position:relative;
}

.team-member h4{
  text-align: center;
  margin-bottom: 5px;
}
.team-member .deg{
text-align:center;
display:block;
}
#bottom .widget .widgetheading span, aside .widget .widgetheading span, footer .widget .widgetheading span {	
	position: absolute;
	width: 60px;
	height: 1px;
	bottom: -1px;
	right:0;

}
.panel-title>a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}
.box-area{padding: 15px;background: #ececec;margin-top: -21px;border: 2px solid #f3f3f3;}
.box-area h3{font-size: 17px;font-weight: 600;}
/* --- Map --- */
.map{
	position:relative;
	margin-top:-50px;
	margin-bottom:40px;
}

.map iframe{
	width:100%;
	height:450px;
	border:none;
}

.map-grid iframe{
	width:100%;
	height:350px;
	border:none;
	margin:0 0 -5px 0;
	padding:0;
}

 
ul.team-detail{
	margin:-10px 0 0 0;
	padding:0;
	list-style:none;
}

ul.team-detail li{
	border-bottom:1px dotted #e9e9e9;
	margin:0 0 15px 0;
	padding:0 0 15px 0;
	list-style:none;
}

ul.team-detail li label {
	font-size:13px;
}

ul.team-detail li h4, ul.team-detail li label{
	margin-bottom:0;
}

ul.team-detail li ul.social-network {
	border:none;
	margin:0;
	padding:0;
}

ul.team-detail li ul.social-network li {
	border:none;	
	margin:0;
}
ul.team-detail li ul.social-network li i {
	margin:0;
}

 
.pricing-title{
	background:#fff;
	text-align:center;
	padding:10px 0 10px 0;
}

.pricing-title h3{
	font-weight:600;
	margin-bottom:0;
}

.pricing-offer{
	background: #fcfcfc;
	text-align: center;
	padding:40px 0 40px 0;
	font-size:18px;
	border-top:1px solid #e6e6e6;
	border-bottom:1px solid #e6e6e6;
}

.pricing-box.activeItem .pricing-offer{
	color:#fff;
}

.pricing-offer strong{
	font-size:78px;
	line-height:89px;
}

.pricing-offer sup{
	font-size:28px;
}

.pricing-container{
	background: #fff;
	text-align:center;
	font-size:14px;
}

.pricing-container strong{
color:#353535;
}

.pricing-container ul{
	list-style:none;
	padding:0;
	margin:0;
}

.pricing-container ul li{
	border-bottom: 1px solid #CFCFCF;
list-style: none;
padding: 15px 0 15px 0;
margin: 0 0 0 0;
color: #222;
}

.pricing-action{
	margin:0;
	background: #fcfcfc;
	text-align:center;
	padding:20px 0 30px 0;
}

.pricing-wrapp{
	margin:0 auto;
	width:100%;
	background:#fd0000;
}
 .pricing-box-item {border: 1px solid #e6e6e6;background:#fcfcfc;position:relative;margin:0 0 20px 0;padding:0;-webkit-box-shadow: 0 2px 0 rgba(0,0,0,0.03);-moz-box-shadow: 0 2px 0 rgba(0,0,0,0.03);box-shadow: 0 2px 0 rgba(0,0,0,0.03);-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;overflow: hidden;}

.pricing-box-item .pricing-heading {
	background: #002e5b;
	text-align: center;
	padding: 50px 0;
	display:block;
}
.pricing-box-item.activeItem .pricing-heading {
	background: #fdd428;
	text-align: center;
	border-bottom:none;
	display:block;
	color: #002e5b;
}
.pricing-box-item.activeItem .pricing-heading h3 strong {
	color: #002e5b;
}
.pricing-box-item.activeItem .pricing-heading h3 {
	 
color: #002e5b;
}

.pricing-box-item .pricing-heading h3 strong {
	font-size:28px;
	font-weight:700;
	letter-spacing:-1px;
	color: #fdd428;
}
.pricing-box-item .pricing-heading h3 {
	font-size:32px;
	font-weight:300;
	letter-spacing:-1px;
}

.pricing-box-item .pricing-terms {
	text-align: center;
	background: #fff;
	display: block;
	overflow: hidden;
	padding: 11px 0 5px;
	/* border-top: 2px solid #BBBBBB; */
	border-bottom: 2px dotted #CDCDCD;
}

.pricing-box-item .pricing-terms  h6 {
	margin-top: 16px;
	color: #002e5b;
	font-size: 22px;
}

.pricing-box-item .icon .price-circled {
    margin: 10px 10px 10px 0;
    display: inline-block !important;
    text-align: center !important;
    color: #fff;
    width: 68px;
    height: 68px;
	padding:12px;
    font-size: 16px;
	font-weight:700;
    line-height: 68px;
    text-shadow:none;
    cursor: pointer;
    background-color: #888;
    border-radius: 64px;
    -moz-border-radius: 64px;
    -webkit-border-radius: 64px;
}

.pricing-box-item  .pricing-action{
	margin:0;
	text-align:center;
	padding:30px 0 30px 0;
}
.pricing-action .btn{
	background: #fdd428;
	color: #002e5b;
} 

/* Testimonials */
.testimonials blockquote {
    background: #efefef none repeat scroll 0 0;
    border: medium none;
    color: #666;
    display: block;
    font-size: 14px;
    line-height: 20px;
    padding: 15px;
    position: relative;
}
.testimonials blockquote::before {
    width: 0; 
    height: 0;
	right: 0;
	bottom: 0;
	content: " "; 
	display: block; 
	position: absolute;
    border-bottom: 20px solid #fff;    
	border-right: 0 solid transparent;
	border-left: 15px solid transparent;
	border-left-style: inset; /*FF fixes*/
	border-bottom-style: inset; /*FF fixes*/
}
.testimonials blockquote::after {
    width: 0;
    height: 0;
    right: 0;
    bottom: 0;
    content: " ";
    display: block;
    position: absolute;
    border-style: solid;
    border-width: 20px 20px 0 0;
    border-color: #c5c5c5 transparent transparent transparent;
}
.testimonials .carousel-info img {
    border: 1px solid #cccccc;
    border-radius: 150px !important;
    height: 75px;
    padding: 3px;
    width: 75px;
}
.testimonials .carousel-info {
    overflow: hidden;
}
.testimonials .carousel-info img {
    margin-right: 15px;
}
.testimonials .carousel-info span {
    display: block;
}
.testimonials span.testimonials-name {
    color: #002e5b;
    font-size: 16px;
    font-weight: 300;
    margin: 23px 0 0;
}
.testimonials span.testimonials-post {
    color: #656565;
    font-size: 12px;
}
/* ===== Widgets ===== */

/* --- flickr --- */
.widget .flickr_badge {
	width:100%;
}
.widget .flickr_badge img { margin: 0 9px 20px 0; }

footer .widget .flickr_badge {
    width: 100%;
}
footer .widget .flickr_badge img {
    margin: 0 9px 20px 0;
}

.flickr_badge img {
    width: 50px;
    height: 50px;
    float: left;
	margin: 0 9px 20px 0;
}
 
/* --- Recent post widget --- */

.recent-post{
	margin:20px 0 0 0;
	padding:0;
	line-height:18px;
}

.recent-post h5 a:hover {
	text-decoration:none;
}

.recent-post .text h5 a {
	color:#353535;
}

  
footer{
	padding:50px 0 0 0;
	color:#f8f8f8;
}

footer a {
	color:#fff;
}

footer a:hover {
	color: #FFEB3B;
}

footer h1, footer h2, footer h3, footer h4, footer h5, footer h6{
	color: #fdd428;
}

footer address {
	line-height:1.6em;
	color: rgba(255, 255, 255, 0.78);
}

footer h5 a:hover, footer a:hover {
	text-decoration:none;
}

ul.social-network {
	list-style:none;
	margin:0;
}

ul.social-network li {
	display:inline;
	margin: 0 5px;
	border: 1px solid #FFEB3B;
	padding: 5px 0 0;
	width: 32px;
	display: inline-block;
	text-align: center;
	height: 32px;
	vertical-align: baseline;
}

#sub-footer{
	text-shadow:none;
	color:#3e133b;
	padding:0;
	padding-top:30px;
	margin:20px 0 0 0;
	background: #4f1253;
}

#sub-footer p{
	margin:0;
	padding:0;
}

#sub-footer span{
	color: rgba(255, 255, 255, 0.63);
}

.copyright {
	text-align:left;
	font-size:12px;
}

#sub-footer ul.social-network {
	float:right;
}

  

/* scroll to top */
.scrollup{
    position:fixed;
    width:32px;
    height:32px;
    bottom:0px;
    right:20px;
    background: #7741b3;
}

a.scrollup {
	outline:0;
	text-align: center;
}

a.scrollup:hover,a.scrollup:active,a.scrollup:focus {
	opacity:1;
	text-decoration:none;
}
a.scrollup i {
	margin-top: 10px;
	color: #fff;
}
a.scrollup i:hover {
	text-decoration:none;
}



 
.absolute{
	position:absolute;
}

.relative{
	position:relative;
}

.aligncenter{
	text-align:center;
}

.aligncenter span{
	margin-left:0;
}

.floatright {
	float:right;
}

.floatleft {
	float:left;
}

.floatnone {
	float:none;
}

.aligncenter {
	text-align:center;
}
 
img.pull-left, .align-left{
	float:left;
	margin:0 15px 15px 0;
}

.widget img.pull-left {
	float:left;
	margin:0 15px 15px 0;
}

img.pull-right, .align-right {
	float:right;
	margin:0 0 15px 15px;
}

article img.pull-left, article .align-left{
	float:left;
	margin:5px 15px 15px 0;
}

article img.pull-right, article .align-right{
	float:right;
	margin:5px 0 15px 15px;
}
 ============================= */

.clear-marginbot{
	margin-bottom:0;
}

.marginbot10{
	margin-bottom:10px;
}
.marginbot20{
	margin-bottom:20px;
}
.marginbot30{
	margin-bottom:30px;
}
.marginbot40{
	margin-bottom:40px;
}

.clear-margintop{
	margin-top:0;
}

.margintop10{
	margin-top:10px;
}

.margintop20{
	margin-top:20px;
}

.margintop30{
	margin-top:30px;
}

.margintop40{
	margin-top:40px;
}
.flex-control-paging li a {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  text-indent: 50px;
  overflow: hidden;
}
.btn:hover, .btn:focus {
  color: #002e5b;
  text-decoration: none;
  background: #fdd428;
  border-color: #fdd428;
}
/*  Media queries 
============================= */

@media (min-width: 768px) and (max-width: 979px) {

	a.detail{
		background:none;
		width:100%;
	}


	
	footer .widget form  input#appendedInputButton {
		  display: block;
		  width: 91%;
		  -webkit-border-radius: 4px 4px 4px 4px;
			 -moz-border-radius: 4px 4px 4px 4px;
				  border-radius: 4px 4px 4px 4px;
	}
	
	footer .widget form  .input-append .btn {
		  display: block;
		  width: 100%;
		  padding-right: 0;
		  padding-left: 0;
		  -webkit-box-sizing: border-box;
			 -moz-box-sizing: border-box;
				  box-sizing: border-box;
				  margin-top:10px;
	}

	ul.related-folio li{
		width:156px;
		margin:0 20px 0 0;
	}	
}

@media (max-width: 767px) {
.navbar-default .navbar-collapse{border-color: none;background: #ffffff;}
.navbar-default .navbar-toggle .icon-bar {background-color: #7741b3;border-radius: 0;}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
background-color: rgba(221, 221, 221, 0);
}
.navbar-default .navbar-collapse, .navbar-default .navbar-form {border-color: #7741b3;margin-top: 25px;}
  body {
    padding-right: 0;
    padding-left: 0;
  }
	.navbar-brand {
		margin-top: 10px;
		border-bottom: none;
	}
	.navbar-header {
		/* margin-top: 20px; */
		border-bottom: none;
	}
	
	.navbar-nav {
		border-top: none;
		float: none;
		width: 100%;
	}
.navbar .nav > .active > a, .navbar .nav > .active > a:hover {background: none;font-weight: 700;/* color: #FFFFFF; */}
	header .navbar-nav > li {
padding-bottom: 2px;
padding-top: 3px;
}
	header .nav li .dropdown-menu  {
		margin-top: 0;
	}

	.dropdown-menu {
	  position: absolute;
	  top: 0;
	  left: 40px;
	  z-index: 1000;
	  display: none;
	  float: left;
	  min-width: 160px;
	  padding: 5px 0;
	  margin: 2px 0 0;
	  font-size: 13px;
	  list-style: none;
	  background-color: #fff;
	  background-clip: padding-box;
	  border: 1px solid #f5f5f5;
	  border: 1px solid rgba(0, 0, 0, .15);
	  border-radius: 0;
	  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
			  box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
	}
	

	
	li.active  {
		border: none;
		overflow: hidden;
		/* background: #2e8eda; */
}

	
	.box {
		border-bottom:1px solid #e9e9e9;
		padding-bottom:20px;
	}

	.flexslider .slide-caption {
		width: 90%; 
		padding: 2%; 
		position: absolute; 
		left: 0; 
		bottom: -40px; 
	}


	#inner-headline .breadcrumb {
		float:left;
		clear:both;
		width:100%;
	}

	.breadcrumb > li {
		font-size:13px;
	}

	
	ul.portfolio li article a i.icon-48{
		width:20px;
		height:20px;
		font-size:16px;
		line-height:20px;
	}


	.left-sidebar{
		border-right:none;
		padding:0 0 0 0;
		border-bottom: 1px dotted #e6e6e6;
		padding-bottom:10px;
		margin-bottom:40px;
	}
	
	.right-sidebar{
		margin-top:30px;
		border-left:none;
		padding:0 0 0 0;
	}
	
	
	footer .col-lg-1, footer .col-lg-2, footer .col-lg-3, footer .col-lg-4, footer .col-lg-5, footer .col-lg-6, 
	footer .col-lg-7, footer .col-lg-8, footer .col-lg-9, footer .col-lg-10, footer .col-lg-11, footer .col-lg-12{
		margin-bottom:20px;
	}

	#sub-footer ul.social-network {
		float:left;
	}
	

	
  [class*="span"] {
		margin-bottom:20px;
  }

}

@media (max-width: 480px) {
	.bottom-article a.pull-right {
		float:left;
		margin-top:20px;
	}


	.search{
		float:left;
	}

	.flexslider .flex-caption {
		display:none;
	}


	.cta-text {
		margin:0 auto;
		text-align:center;	
	}
	
	ul.portfolio li article a i{
		width:20px;
		height:20px;
		font-size:14px;
	}


}

 
/*-------------------------------ADD for WEBSITE--------------------------------------*/

/* Tabs panel */
.tabbable-panel {
 /* border:1px solid #eee;*/
  padding: 10px;
}

/* Default mode */
.tabbable-line > .nav-tabs {
  border: none;
  margin: 0px;
}
.tabbable-line > .nav-tabs > li {
  margin-right: 2px;
}
.tabbable-line > .nav-tabs > li > a {
  border: 0;
  margin-right: 0;
  color: #737373;
}
.tabbable-line > .nav-tabs > li > a > i {
  color: #a6a6a6;
}
.tabbable-line > .nav-tabs > li.open, .tabbable-line > .nav-tabs > li:hover {
  border-bottom: 4px solid #fbcdcf;
}
.tabbable-line > .nav-tabs > li.open > a, .tabbable-line > .nav-tabs > li:hover > a {
  border: 0;
  background: none !important;
  color: #333333;
}
.tabbable-line > .nav-tabs > li.open > a > i, .tabbable-line > .nav-tabs > li:hover > a > i {
  color: #a6a6a6;
}
.tabbable-line > .nav-tabs > li.open .dropdown-menu, .tabbable-line > .nav-tabs > li:hover .dropdown-menu {
  margin-top: 0px;
}
.tabbable-line > .nav-tabs > li.active {
    border: 1px solid #f0f0f0;
  border-bottom: 4px solid #f3565d;
  position: relative;
}
.tabbable-line > .nav-tabs > li.active > a {
  border: 0;
  color: #333333;
}
.tabbable-line > .nav-tabs > li.active > a > i {
  color: #404040;
}
.tabbable-line > .tab-content {
  margin-top: -3px;
  background-color: #fff;
  border: 0;
  border-top: 1px solid #eee;
  padding: 15px 0;
}
.portlet .tabbable-line > .tab-content {
  padding-bottom: 0;
}

/* ^^panel*/


.news_box {
	padding:  20px;
	border: 1px solid #ddd;
}

.box {
	height:500px;

}


.pd10 {	padding:  10px; }
.fleft { float: left; }
.fright { float: right; }
.clear {clear: both;}
.lang {  font-size: 15px; color: #fff;}
.lang:hover { color: #eee; text-decoration: none;}


/*-------*/
.pad0{ padding: 0px;}

@media only screen and (min-width: 1200px) {
.col-item {
    border: 1px solid #ededed;
    background: #FFF;
    margin-bottom: 25px;
    position: relative;
	min-height: 515px;
}



.box{ 
    background: #FFF;
    margin-bottom: 20px;
    position: relative;
	min-height: 500px;
}




}
@media only screen and (min-width : 992px) and (max-width : 1200px) { 
.navbar-nav { 
    margin-top: 40px;
}
.col-item {
    border: 1px solid #ededed;
    background: #FFF;
    margin-bottom: 25px;
    position: relative;
	min-height: 550px;
}


}
@media only screen and (min-width : 768px) and (max-width : 992px) { 
.navbar-nav { 
	margin-top: 50px;
}

.col-item {
    border: 1px solid #ededed;
    background: #FFF;
    margin-bottom: 25px;
    position: relative;
	min-height: 480px;
}
.box{ 
    background: #FFF;
    margin-bottom: 25px;
    position: relative;
	min-height: 600px;
}


}

@media (max-width: 767px){
.navbar-brand {
    margin: 0;
}

.box{ 
    background: #FFF;
    margin-bottom: 25px;
    position: relative;
	min-height: 610px;
}

}

@media (max-width: 574px){

.navbar-header { 
	height: auto;
}

.box{ 
    background: #FFF;
    margin-bottom: 25px;
    position: relative;
	min-height: 520px;
}
}












.map-frame {
    width: 100%;
    height: 100%;
    position: relative;
}

.map-content {
    z-index: 10;
    position: absolute;
    top: 50px;
    left: 50px;
    width: 390px;
    background-color: black;
    color: #FFF;
}



/*-----------------ABOUT----------------*/

.design-process-section .text-align-center {
    line-height: 25px;
    margin-bottom: 12px;
}
.design-process-content {
    border: 1px solid #e9e9e9;
    position: relative;
    padding: 16px 30px 30px 30px;
}
.design-process-content img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    max-height: 100%;
}
.design-process-content h3 {
    margin-bottom: 16px;
}
.design-process-content p {
    line-height: 26px;
    margin-bottom: 12px;
}
.process-model {
    list-style: none;
    padding: 0;
    position: relative;
    max-width: 600px;
    margin: 20px auto 26px;
    border: none;
    z-index: 0;
}
.process-model li::after {
    background: #e5e5e5 none repeat scroll 0 0;
    bottom: 0;
    content: "";
    display: block;
    height: 4px;
    margin: 0 auto;
    position: absolute;
    right: -30px;
    top: 33px;
    width: 85%;
    z-index: -1;
}
.process-model li.visited::after {
    background: #002e5b;
}
.process-model li:last-child::after {
    width: 0;
}
.process-model li {
    display: inline-block;
    width: 18%;
    text-align: center;
    float: none;
}
.nav-tabs.process-model > li.active > a, .nav-tabs.process-model > li.active > a:hover, .nav-tabs.process-model > li.active > a:focus, .process-model li a:hover, .process-model li a:focus {
    border: none;
    background: transparent;

}
.process-model li a {
    padding: 0;
    border: none;
    color: #606060;
}
.process-model li.active,
.process-model li.visited {
    color: #002e5b;
}
.process-model li.active a,
.process-model li.active a:hover,
.process-model li.active a:focus,
.process-model li.visited a,
.process-model li.visited a:hover,
.process-model li.visited a:focus {
    color: #002e5b;
}
.process-model li.active p,
.process-model li.visited p {
    font-weight: 600;
}
.process-model li i {
    display: block;
    height: 68px;
    width: 68px;
    text-align: center;
    margin: 0 auto;
    background: #f5f6f7;
    border: 2px solid #e5e5e5;
    line-height: 65px;
    font-size: 30px;
    border-radius: 50%;
}
.process-model li.active i, .process-model li.visited i  {
    background: #fff;
    border-color: #002e5b;
}
.process-model li p {
    font-size: 14px;
    margin-top: 11px;
}
.process-model.contact-us-tab li.visited a, .process-model.contact-us-tab li.visited p {
    color: #606060!important;
    font-weight: normal
}
.process-model.contact-us-tab li::after  {
    display: none; 
}
.process-model.contact-us-tab li.visited i {
    border-color: #e5e5e5; 
}



@media screen and (max-width: 560px) {
  .more-icon-preocess.process-model li span {
        font-size: 23px;
        height: 50px;
        line-height: 46px;
        width: 50px;
    }
    .more-icon-preocess.process-model li::after {
        top: 24px;
    }
}
@media screen and (max-width: 380px) { 
    .process-model.more-icon-preocess li {
        width: 16%;
    }
    .more-icon-preocess.process-model li span {
        font-size: 16px;
        height: 35px;
        line-height: 32px;
        width: 35px;
    }
    .more-icon-preocess.process-model li p {
        font-size: 8px;
    }
    .more-icon-preocess.process-model li::after {
        top: 18px;
    }
    .process-model.more-icon-preocess {
        text-align: center;
    }
}

/*---------------Download------------*/
.no_color{
	color: #656565;
}

/*---------------Detail------------*/
.box_shadow {
    -webkit-box-shadow: 0px 0px 30px rgba(115, 128, 157, 0.1);
    box-shadow: 0px 0px 30px rgba(115, 128, 157, 0.1);
	padding: 20px;
}
.detail_title{
	line-height: 30px;
    color: #002e5b;
	font-size: 22px;
	font-weight: bold;
}

/*--------------Job-------------------*/
.box_right {
   /* -webkit-box-shadow: 0px 0px 30px rgba(115, 128, 157, 0.1);
    box-shadow: 0px 0px 30px rgba(115, 128, 157, 0.1);	
	border: 1px solid #dcdcdc;*/
	box-shadow: inset 0 0 0 1px #e0e5e9;
	border: 5px solid #fbfbfc;
	padding: 20px;
}

.square ul {
    margin: 0;
    padding: 0;
    list-style: square inside;
    color: #888;
}

/*--------------Activity-------------------*/

.news_box2 {
	padding:  0px;
	min-height: 350px;
}
@media (min-width: 993px){
.bottom {
    position: absolute;
    bottom: 0;
    text-align: right;
    width: 100%;
    margin-left: -5px;
    padding-right: 10px;
}
}
@media (max-width: 992px){
.news_box2 {
	padding:  20px;
	border: 1px solid #ddd;
}
}

@media (max-width: 767px){
.box2{ 
    background: #FFF;
    margin-bottom: 25px;
    position: relative;
	min-height: 350px;
}
}

@media (max-width: 574px){
.box2{ 
    background: #FFF;
    margin-bottom: 25px;
    position: relative;
	min-height: 300px;
}
}

/*----------------Design-----------------*/
.accordion {
    border-top: 1px solid #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
    font-weight: bold;
}




/*-------------content--------------------*/
.no_link {
	color: #002e5b;
}

/*------------- staff--------------------*/

@media only screen and (min-width: 1200px) {
/*.col-item {
    border: 1px solid #ededed;
    background: #FFF;
    margin-bottom: 25px;
    position: relative;
	min-height: 515px;
}
*/

.staff_box {
    /*border: 1px solid #ededed;*/
    background: #FFF;
    margin-bottom: 20px;
    position: relative;
	min-height: 455px;
}

}
@media only screen and (min-width : 992px) and (max-width : 1200px) { 
/*.col-item {
    border: 1px solid #ededed;
    background: #FFF;
    margin-bottom: 25px;
    position: relative;
	min-height: 550px;
}*/
.staff_box {
    
    background: #FFF;
    margin-bottom: 30px;
    position: relative;
	min-height: 460px;
}

}
@media only screen and (min-width : 768px) and (max-width : 992px) { 
/*.col-item {
    border: 1px solid #ededed;
    background: #FFF;
    margin-bottom: 25px;
    position: relative;
	min-height: 480px;
}*/
.staff_box {
    background: #FFF;
    margin-bottom: 30px;
    position: relative;
	min-height: 450px;
}


}
.staff_box {
    margin-bottom: 30px;
}


/*-profile-*/
@media (min-width:990px) {
    .all_profile_box{
	border: 1px solid #ccc;
	margin: 20px;
/*	height: 350px; /*áºè§ 4*/
/*	height: 400px; */
    }	
	 .all_profile_box2{
	border: 1px solid #ccc;
	margin: 20px;
/*	height: 350px; /*áºè§ 4*/
	height: 530px;
    }
}
@media (min-width:768px)  {
	.all_profile_box  {
	  min-height: 590px;
	}
}
@media (min-width:992px)  {
	.all_profile_box {
	  min-height: 270px;
	}
}

.hr_profile {
	margin: 10px 0;
}
.more_profile {
	float: right;
	margin: 0 5px 5px 0;
	font-weight: bold;
	font-size: 13px;
	padding-top:20px;
}
.all_profile_box{
	border: 1px solid #ccc;
	margin: 5px;
    min-height: 590px;
}
.all_profile_pic{
	width:100%;
/*	max-height: 250px; /*áºè§ 4*/ 
/*	max-height: 330px; /*áºè§ 3*/
	padding: 15px 10px;
}

.all_profile_pic2{
	width:100%;
/*	max-height: 250px; /*áºè§ 4*/ 
	max-height: 450px; /*áºè§ 3*/
	
}

.all_profile_name {
	font-weight: bold;
	font-size: 18px;
	/*margin: 3px; */
	color: #002e5b;
	padding-top: 10px;
	/*text-transform: lowercase;*/
	text-transform: capitalize;
}
.all_profile_position {
	font-size: 16px;
	color: #428bca;
	padding-top: 5px;
}

.all_profile_detail {
	line-height: 20px;
	font-size: 13px;
	margin: 3px;
}
.all_profile_tel {
	line-height: 20px;
	font-size: 13px;
	margin: 18px 3px 3px 3px;
}
.group_dep {
	width:100%;
	font-weight: bold;
    background-color: #ffd0ae;
	font-size: 16px;
	margin: 5px 0px;
	text-align: left;
}

.profile_name {
	font-weight: bold;
	font-size: 30px;
	margin: 20px 0px; 
	line-height: 30px;
	color: #002e5b;
}

.profile_position {
	font-weight: bold;
	font-size: 18px;
	color: #428bca;
	/*margin: 20px 0px 50px 0px; */
}
.profile_position2 {
	font-weight: bold;
	font-size: 16px;
	/*margin: 20px 0px 50px 0px; */
}

.profile_datail {
	font-size: 16px;
	/*margin: 20px 20px 50px 20px; */
	line-height: 20px;
	/*font-family: 'Raleway', Arial, Helvetica, sans-serif;
    font-size: 14px;*/
    
}

.profile_title {
	font-size: 16px;
	font-weight: bold;
	line-height: 20px;
	color: #002e5b;
}

.profile_pic {
	float: right;
	width: 300px;
}
@media (max-width:550px) {
	.profile_pic {
		float: right;
		width: 100%;
		padding: 30px;
	}
}

.unit{
	font-size: 14px;
	color: #a6a6a6;
}

/*.photo {
    margin: 0 auto;
    width: 100%;
}*/

/*--------------Index-------------------*/
@media only screen and (min-width : 992px) and (max-width : 1199px){
.newspic{
	height:200px; 
	width:100%
}  
.activitypic{
	height:150px; 
	width:100%
}
.prpic{
	height:120px; 
	width:100%
}



}
@media (min-width:1200px)  {
.newspic{
	height:220px; width:100%
}
.activitypic{
	height:180px; 
	width:100%
} 
.prpic{
	height:130px; 
	width:100%
}
.photo {
    margin: 0 auto;
    width: 100%;
	height: 220px;
}
.viewphoto {
    margin: 0 auto;
    width: 100%;
	
}


}

@media only screen and (min-width : 768px) and (max-width : 1199px){

.photo {
    margin: 0 auto;
    width: 100%;
	height: 200px;
}


}

@media (max-width:767px)  {

.photo {
    margin: 0 auto;
    width: 150px;
	height: 200px;
}

}
/*-- pic ---*/
.w100{
	width: 100%;
}
@media (min-width:992px)  {
.pic1{
	height:202px; 
}
.pic2{
	height:252px; 
}
.pic3{
	height:178px;
}

}

/*  Footer Modern & Dynamic Styling
==================================== */
footer {
    background: linear-gradient(135deg, #3e133b 0%, #20051e 100%);
    color: #f5f5f5;
    padding: 60px 0 0;
    font-size: 14px;
}

.footer-brand-col {
    margin-bottom: 30px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo img {
    max-height: 55px;
    object-fit: contain;
}

.footer-address {
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-address strong {
    color: #fdd428; /* CMU Gold */
    font-size: 15px;
    display: inline-block;
    margin-bottom: 5px;
}

.footer-social-links {
    display: flex;
    gap: 12px;
}

.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-links a:hover {
    background-color: #fdd428;
    color: #3e133b !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Responsive Directory Layout */
.footer-directory {
    margin-bottom: 30px;
}

.directory-group {
    margin-bottom: 10px;
}

/* List Formatting Strict Resets */
.footer-contact-list {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-contact-list li {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    list-style: none !important;
    list-style-type: none !important;
    background: none !important;
}

.footer-contact-list li::before {
    content: none !important; /* Strip standard bootstrap list indicators */
}

.footer-contact-list li:last-child {
    border-bottom: none !important;
}

.contact-name {
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    padding-right: 15px;
}

.contact-phone-link {
    color: #fdd428 !important;
    background-color: rgba(253, 212, 40, 0.08);
    border: 1px solid rgba(253, 212, 40, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.contact-phone-link i {
    font-size: 10px;
    opacity: 0.8;
}

.contact-phone-link:hover {
    background-color: #fdd428;
    color: #3e133b !important;
    border-color: #fdd428;
    box-shadow: 0 2px 8px rgba(253, 212, 40, 0.3);
    transform: scale(1.02);
}

/* Mobile Accordion Look (< 768px) */
@media (max-width: 767px) {
    .directory-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
        background-color: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 6px;
        cursor: pointer;
        font-weight: 600;
        color: #fdd428;
        font-size: 15px;
        transition: background-color 0.3s;
    }
    
    .directory-header:hover {
        background-color: rgba(255, 255, 255, 0.08);
    }
    
    .directory-header .toggle-icon {
        transition: transform 0.3s ease;
        font-size: 12px;
        color: rgba(255, 255, 255, 0.5);
    }
    
    /* When expanded */
    .directory-header[aria-expanded="true"] {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        background-color: rgba(253, 212, 40, 0.06);
        border-color: rgba(253, 212, 40, 0.2);
    }
    
    .directory-header[aria-expanded="true"] .toggle-icon {
        transform: rotate(180deg);
        color: #fdd428;
    }
    
    .directory-body {
        padding: 10px 16px;
        background-color: rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-top: none;
        border-radius: 0 0 6px 6px;
        margin-bottom: 12px;
    }
}

/* Desktop 3-Column Layout (>= 768px) */
@media (min-width: 768px) {
    .footer-directory {
        display: flex;
        margin-left: -15px;
        margin-right: -15px;
    }
    
    .directory-group {
        flex: 1;
        padding: 0 15px;
        margin-bottom: 0;
    }
    
    .directory-header {
        display: block !important;
        background: transparent !important;
        border: none !important;
        padding: 0 0 10px 0 !important;
        margin-bottom: 20px !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        border-bottom: 2px solid rgba(253, 212, 40, 0.2) !important;
        cursor: default !important;
        color: #fdd428 !important;
        border-radius: 0 !important;
    }
    
    .directory-header .toggle-icon {
        display: none !important;
    }
    
    /* Force show directory body on desktop regardless of Bootstrap collapse */
    .directory-body.collapse {
        display: block !important;
        height: auto !important;
        visibility: visible !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }
}

/* Sub-footer bottom bar */
#sub-footer {
    background-color: #2b0c29; /* Slightly darker purple */
    padding: 20px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

#sub-footer .copyright p {
    margin: 0;
    font-size: 13px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

#sub-footer .copyright a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

#sub-footer .copyright a:hover {
    color: #fdd428;
    text-decoration: none;
}

/* General responsive layout container tweaks */
@media (max-width: 767px) {
    footer {
        padding: 40px 0 0;
    }
    .footer-brand-col {
        text-align: center;
        margin-bottom: 40px;
    }
    .footer-social-links {
        justify-content: center;
    }
    footer .widget {
        margin-bottom: 0;
    }
}

/* ==========================================================================
   Dormitory Photo Gallery & Lightbox Styles
   ========================================================================== */

.dorm-gallery-section {
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.dorm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.dorm-gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
}

.dorm-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.dorm-gallery-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dorm-gallery-item:hover .dorm-gallery-thumb {
    transform: scale(1.08);
}

.dorm-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(62, 19, 59, 0.65); /* Elegant translucent CMU Purple overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
    font-size: 24px;
    border-radius: 8px;
}

.dorm-gallery-item:hover .dorm-gallery-overlay {
    opacity: 1;
}

/* Lightbox Modal */
.dorm-lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.dorm-lightbox-content {
    position: relative;
    width: 85%;
    max-width: 1000px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dorm-lightbox-slides {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dorm-lightbox-slides img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    display: block;
    margin: 0 auto;
}

.dorm-lightbox-close {
    position: fixed;
    top: 20px;
    right: 30px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 48px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    z-index: 100001;
    user-select: none;
    line-height: 1;
}

.dorm-lightbox-close:hover {
    color: #fff;
    transform: scale(1.15);
}

/* Prev/Next arrows — pinned to viewport edges, not to content */
.dorm-lightbox-prev,
.dorm-lightbox-next {
    cursor: pointer;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px 22px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    text-decoration: none;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.08);
    z-index: 100001;
}

.dorm-lightbox-prev {
    left: 15px;
}

.dorm-lightbox-next {
    right: 15px;
}

.dorm-lightbox-prev:hover,
.dorm-lightbox-next:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
}

.dorm-lightbox-caption {
    text-align: center;
    color: #bbb;
    margin-top: 15px;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

@media (max-width: 767px) {
    .dorm-lightbox-content {
        width: 95%;
    }
    .dorm-lightbox-prev,
    .dorm-lightbox-next {
        padding: 12px 16px;
        font-size: 24px;
    }
    .dorm-lightbox-close {
        top: 12px;
        right: 15px;
        font-size: 38px;
    }
}

/* Premium News Redesign
==================================== */
.premium-news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.premium-news-item {
    display: block;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
}

.premium-news-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transform: translateY(-2px);
    border-color: #3e133b;
}

.premium-news-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #3e133b;
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.premium-news-item:hover::before {
    transform: scaleY(1);
}

.premium-news-date {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.premium-news-date i {
    margin-right: 6px;
    color: #3e133b;
}

.premium-news-title {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
    transition: color 0.3s ease;
}

.premium-news-item:hover .premium-news-title {
    color: #3e133b;
}

/* Premium News Grid Card (Activity) */
.premium-news-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 30px;
}
.premium-news-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-4px);
    border-color: #3e133b;
}
.premium-news-card-img-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.premium-news-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.premium-news-card:hover .premium-news-card-img {
    transform: scale(1.05);
}
.premium-news-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.premium-news-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-top: 10px;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: color 0.3s;
}
.premium-news-card:hover .premium-news-card-title {
    color: #3e133b;
}
.premium-news-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f5f5f5;
    padding-top: 15px;
}
.premium-news-card-readmore {
    font-size: 14px;
    color: #3e133b;
    font-weight: 500;
}
.premium-news-card:hover .premium-news-card-readmore {
    text-decoration: underline;
}

/* Premium Horizontal Card (PR) */
.premium-horizontal-card {
    display: flex;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    text-decoration: none !important;
}
.premium-horizontal-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transform: translateY(-2px);
    border-color: #3e133b;
}
.premium-horizontal-card-img-wrap {
    width: 200px;
    flex-shrink: 0;
    overflow: hidden;
}
.premium-horizontal-card-img {
    width: 100%;
    height: 100%;
    min-height: 150px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.premium-horizontal-card:hover .premium-horizontal-card-img {
    transform: scale(1.05);
}
.premium-horizontal-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.premium-horizontal-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color 0.3s;
}
.premium-horizontal-card:hover .premium-horizontal-card-title {
    color: #3e133b;
}
.premium-horizontal-card-text {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}
@media (max-width: 767px) {
    .premium-horizontal-card {
        flex-direction: column;
    }
    .premium-horizontal-card-img-wrap {
        width: 100%;
        height: 200px;
    }
}

/* Sidebar Widget */
.premium-sidebar-box {
    background: #fafafa;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 25px 20px;
    margin-bottom: 30px;
}
.premium-sidebar-box h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3e133b;
    display: inline-block;
}
.premium-sidebar-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.premium-sidebar-box ul li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ddd;
}
.premium-sidebar-box ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.premium-sidebar-box ul li a {
    color: #555;
    font-size: 14px;
    transition: color 0.2s;
    display: block;
}
.premium-sidebar-box ul li a:hover {
    color: #3e133b;
    text-decoration: none;
}
.premium-sidebar-box .form-control {
    border-radius: 4px !important;
    border: 1px solid #ddd;
    box-shadow: none;
    padding: 10px 15px;
    height: auto;
}
.premium-sidebar-box .btn {
    border-radius: 4px !important;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s;
}
.premium-sidebar-box .btn-primary {
    background-color: #3e133b;
    border-color: #3e133b;
}
.premium-sidebar-box .btn-primary:hover {
    background-color: #2a0d28;
    border-color: #2a0d28;
}


.premium-card-row {
    display: flex;
    flex-wrap: wrap;
}
.premium-card-row::before,
.premium-card-row::after {
    display: none !important;
}


/* Fix unequal card heights */
.premium-card-row > div[class*="col-"] {
    display: flex;
}
.premium-news-card {
    width: 100%;
}

/* Fix long titles */
.premium-news-card-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Premium News Detail View */
.premium-detail-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid #f0f0f0;
}

.premium-detail-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f8f9fa;
}

.premium-detail-title {
    font-size: 28px;
    font-weight: 600;
    color: #3e133b;
    line-height: 1.5;
    margin-bottom: 15px;
}

.premium-detail-meta {
    color: #888;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.premium-detail-meta i {
    color: #3e133b;
}

.premium-detail-cover-container {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    background: #fdfdfd;
}

.premium-detail-cover-img {
    width: 100%;
    max-height: 600px;
    object-fit: contain;
    display: block;
    background: #f5f5f5;
}

.premium-detail-content-body {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

/* Premium Gallery */
.premium-gallery-title {
    font-size: 20px;
    font-weight: 600;
    color: #3e133b;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f8f9fa;
}

.premium-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.premium-gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    display: block;
}

.premium-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.premium-gallery-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #f0f0f0;
}

/* Premium Search Widget */
.premium-search-widget-title {
    font-size: 18px;
    font-weight: 600;
    color: #3e133b;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.premium-search-input-group {
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

.premium-search-input-group .form-control {
    border: 1px solid #e0e0e0;
    border-right: none;
    box-shadow: none;
    height: 46px;
    padding-left: 20px;
    border-radius: 8px 0 0 8px;
}

.premium-search-input-group .form-control:focus {
    border-color: #3e133b;
}

.premium-search-input-group .btn-primary {
    background: #3e133b;
    border-color: #3e133b;
    height: 46px;
    padding: 0 20px;
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
}

.premium-search-input-group .btn-primary:hover {
    background: #5a1d56;
    border-color: #5a1d56;
}

.premium-search-back-btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 10px 15px;
    border: 1px solid #ddd;
    color: #555;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.premium-search-back-btn:hover {
    background: #f8f9fa;
    color: #333;
    border-color: #ccc;
}

.premium-search-results-header {
    background: #fdfdfd;
    border-left: 4px solid #3e133b;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    font-size: 18px;
    color: #444;
}

/* Premium News Item (List View for Search Results) */
a.premium-news-item {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    margin-bottom: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

a.premium-news-item:hover {
    transform: translateX(5px);
    border-color: #3e133b;
    box-shadow: 0 5px 15px rgba(62,19,59,0.1);
}

a.premium-news-item .premium-news-date {
    flex: 0 0 140px;
    color: #888;
    font-size: 14px;
    border-right: 2px solid #f0f0f0;
    margin-right: 20px;
    padding-right: 20px;
}

a.premium-news-item .premium-news-date i {
    color: #3e133b;
    margin-right: 5px;
}

a.premium-news-item .premium-news-title {
    flex: 1;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
    transition: color 0.3s ease;
}

a.premium-news-item:hover .premium-news-title {
    color: #3e133b;
}

/* Premium Gallery Widget */
.premium-gallery-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a365d;
    margin-top: 40px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
}
.premium-gallery-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #3b82f6;
}
.premium-gallery-item {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background: #fff;
    margin-bottom: 30px;
    text-decoration: none;
    border: 1px solid #edf2f7;
}
.premium-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}
.premium-gallery-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.premium-gallery-item:hover .premium-gallery-img {
    transform: scale(1.05);
}
/* Detail Page Enhancements */
.detail_title {
    font-size: 26px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Premium Detail Page Enhancements */
.premium-article-wrapper {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid #edf2f7;
}

.premium-article-header {
    text-align: center;
    margin-bottom: 30px;
}

.premium-article-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.4;
    margin-bottom: 15px;
    font-family: 'Kanit', sans-serif;
}

.premium-article-meta {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: #718096;
    font-size: 15px;
    background: #f7fafc;
    padding: 8px 20px;
    border-radius: 30px;
}

.premium-article-meta i {
    color: #3b82f6;
}

.premium-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ebf4ff;
    color: #2563eb;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    margin-bottom: 20px;
}

.premium-lang-btn:hover {
    background: #dbf4ff;
    color: #1d4ed8;
    text-decoration: none;
}

.premium-article-cover {
    width: 100%;
    max-height: 550px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
    background-color: #f8fafc;
    padding: 10px;
}

.premium-article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #2d3748;
    margin-top: 30px;
}

.premium-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

.premium-attachment-card {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-top: 40px;
    transition: all 0.2s;
}

.premium-attachment-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.premium-attachment-icon {
    font-size: 40px;
    color: #ef4444;
    margin-right: 20px;
}

.premium-attachment-info {
    flex-grow: 1;
}

.premium-attachment-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 16px;
    margin-bottom: 5px;
}

.premium-attachment-action {
    background: #3b82f6;
    color: white;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.premium-attachment-action:hover {
    background: #2563eb;
    color: white;
    text-decoration: none;
}

.premium-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.premium-back-btn:hover {
    background: #e2e8f0;
    color: #1e293b;
    text-decoration: none;
}

.resp-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

/* Premium Sidebar Enhancements */
.premium-sidebar {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #edf2f7;
    overflow: hidden;
    margin-bottom: 30px;
}

.premium-sidebar-title {
    background: #6b21a8;
    color: #ffffff;
    margin: 0;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Kanit', sans-serif;
}

.premium-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.premium-sidebar-menu li {
    border-bottom: 1px solid #edf2f7;
}

.premium-sidebar-menu li:last-child {
    border-bottom: none;
}

.premium-sidebar-menu li a {
    display: block;
    padding: 12px 20px;
    color: #4a5568;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s ease;
}

.premium-sidebar-menu li a i {
    margin-right: 8px;
    color: #a0aec0;
    width: 16px;
    text-align: center;
}

.premium-sidebar-menu li a:hover {
    background-color: #f7fafc;
    color: #6b21a8;
    padding-left: 25px;
}

.premium-sidebar-menu li.active a {
    background-color: #faf5ff;
    color: #6b21a8;
    font-weight: 600;
    border-left: 4px solid #6b21a8;
}

.premium-sidebar-menu li.active a i {
    color: #6b21a8;
}

/* Premium Related Links Enhancements */
.premium-related-section {
    padding: 60px 0;
    background-color: #fcfdfd;
    border-top: 1px solid #f0f4f8;
}

.premium-related-title {
    font-size: 28px;
    font-weight: 700;
    color: #1c4e93;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.premium-related-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #1c4e93, #4fa3e3);
    border-radius: 2px;
}

/* Systems Grid Layout */
.premium-systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.premium-system-card {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(28, 78, 147, 0.05);
    border: 1px solid rgba(28, 78, 147, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    color: #333333;
}

.premium-system-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(28, 78, 147, 0.15);
    border-color: rgba(79, 163, 227, 0.4);
    text-decoration: none;
}

.premium-system-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #f0f7ff, #e1f0ff);
    color: #1c4e93;
    border-radius: 10px;
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.premium-system-card:hover .premium-system-icon {
    background: linear-gradient(135deg, #1c4e93, #4fa3e3);
    color: #ffffff;
}

.premium-system-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

/* Departments List Layout */
.premium-departments-wrapper {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: 100%;
}

.premium-departments-header {
    background: linear-gradient(to right, #f8fafc, #ffffff);
    padding: 15px 20px;
    border-bottom: 1px solid #f0f4f8;
    font-weight: 600;
    color: #455a64;
    display: flex;
    align-items: center;
}

.premium-departments-header i {
    color: #4fa3e3;
    margin-right: 10px;
}

.premium-departments-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Custom Scrollbar for list */
.premium-departments-list::-webkit-scrollbar {
    width: 6px;
}
.premium-departments-list::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
.premium-departments-list::-webkit-scrollbar-thumb {
    background: #c0cddb; 
    border-radius: 3px;
}
.premium-departments-list::-webkit-scrollbar-thumb:hover {
    background: #a0b4c8; 
}

.premium-departments-list li {
    border-bottom: 1px solid #f8f9fa;
}

.premium-departments-list li:last-child {
    border-bottom: none;
}

.premium-departments-list a {
    display: block;
    padding: 12px 20px;
    color: #546e7a;
    font-size: 14px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.premium-departments-list a:hover {
    background-color: #f8fbff;
    color: #1c4e93;
    padding-left: 25px;
}

.premium-departments-list a::before {
    content: '\f105'; /* FontAwesome angle-right */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 8px;
    color: #c0cddb;
    transition: color 0.2s ease;
}

.premium-departments-list a:hover::before {
    color: #4fa3e3;
}

/* Premium Announcement Cards */
.announcement-list { display: flex; flex-direction: column; gap: 12px; }
.announcement-card { display: block; background: #ffffff; border-radius: 10px; padding: 16px 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.04); border-left: 4px solid #612D91; transition: all 0.3s ease; text-decoration: none !important; }
.announcement-card:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(97,45,145,0.15); background: #faf8fc; }
.announcement-date { font-size: 13px; color: #888; margin-bottom: 6px; font-weight: 500; }
.announcement-date i { color: #612D91; }
.announcement-title { font-size: 15px; color: #333; line-height: 1.5; font-weight: 500; }
.new-badge { background: #e74c3c; color: white; font-size: 11px; padding: 2px 8px; border-radius: 12px; margin-left: 8px; vertical-align: middle; font-weight: bold; animation: pulse 2s infinite; }

/* Premium Video Container */
.video-container-premium { background: #fff; padding: 15px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: all 0.3s ease; border: 1px solid rgba(0,0,0,0.03); max-width: 800px; margin: 0 auto; }
.video-container-premium:hover { box-shadow: 0 15px 40px rgba(97,45,145,0.15); }
.video-container-premium .embed-responsive { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; padding-bottom: 56.25%; border-radius: 10px; }
.video-container-premium .embed-responsive .embed-responsive-item, .video-container-premium .embed-responsive iframe { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* Premium Button Outline */
.btn-outline-primary.premium-btn { border: 2px solid #612D91; color: #612D91; background: transparent; border-radius: 25px; padding: 8px 24px; font-weight: 600; transition: all 0.3s ease; display: inline-block; }
.btn-outline-primary.premium-btn:hover { background: #612D91; color: white; box-shadow: 0 5px 15px rgba(97,45,145,0.3); text-decoration: none; }

/* Premium Tabs */
.premium-tabs-container { background: #fff; padding: 20px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); margin-bottom: 30px; }
.premium-nav-tabs { border-bottom: 2px solid #f0f4f8; display: flex; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; margin-bottom: 25px; padding-bottom: 2px; }
.premium-nav-tabs::-webkit-scrollbar { height: 4px; }
.premium-nav-tabs::-webkit-scrollbar-thumb { background: #e0e6ed; border-radius: 4px; }
.premium-nav-tabs > li { float: none; margin-bottom: -2px; }
.premium-nav-tabs > li > a { border: none !important; background: transparent !important; color: #6c757d; font-weight: 500; font-size: 16px; padding: 12px 20px; white-space: nowrap; border-bottom: 3px solid transparent !important; transition: all 0.3s ease; }
.premium-nav-tabs > li > a:hover { background: transparent !important; color: #612D91; border-color: transparent !important; }
.premium-nav-tabs > li.active > a, .premium-nav-tabs > li.active > a:hover, .premium-nav-tabs > li.active > a:focus { color: #612D91 !important; background: transparent !important; border: none !important; border-bottom: 3px solid #612D91 !important; font-weight: 600; }
/* Premium News Card */
.premium-news-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.06); transition: transform 0.3s ease, box-shadow 0.3s ease; height: 100%; display: flex; flex-direction: column; border: 1px solid #f0f4f8; margin-bottom: 20px; text-decoration: none !important; }
.premium-news-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(97,45,145,0.15); }
.premium-news-card-img { width: 100%; height: 200px; object-fit: cover; }
.premium-news-card-body { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.premium-news-card-title { font-size: 18px; font-weight: 600; color: #333; margin-bottom: 10px; line-height: 1.4; }
.premium-news-card-text { color: #666; font-size: 14px; line-height: 1.6; margin-bottom: 15px; flex-grow: 1; }
.premium-news-card-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #f0f4f8; padding-top: 15px; color: #888; font-size: 13px; }
.premium-news-card-footer span.read-more { color: #612D91; font-weight: 600; }
.premium-news-card:hover .premium-news-card-footer span.read-more { color: #8E54E9; }
/* Simple List Item */
.premium-list-item { display: flex; padding: 15px; border-bottom: 1px solid #f0f4f8; transition: all 0.2s ease; text-decoration: none !important; align-items: center; }
.premium-list-item:hover { background: #faf8fc; padding-left: 25px; border-left: 4px solid #612D91; }
.premium-list-date { min-width: 100px; color: #888; font-size: 13px; padding-right: 15px; }
.premium-list-content { color: #333; font-weight: 500; font-size: 15px; flex-grow: 1; }
.premium-list-item:hover .premium-list-content { color: #612D91; }
