.itopplus-background {

}

.k-event.k-event-inverse {
    height: 60px!important;
}



.navbar-default .navbar-nav>li>a {
    color: #fff;
    font-family: THSarabunPSKRegular;
    font-size: 24px;
}

.dropdown-menu>li>a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
    font-family: THSarabunPSKRegular;
    font-size: 22px;
}

/*เนื้อหาระบบ*/
.Contentmanager .template1 .template-panel {
    padding-bottom: 149%;
}
.Contentmanager .caption {
    height:45px;
    overflow: hidden;
    font-family: THSarabunPSKRegular;
    font-size: 24px;
    line-height: 2;
    background-color:#fff;
    color:#000;
    font-weight:bold;
   letter-spacing: .05em;

}
.Contentmanager .caption:hover{
    height:45px;
    overflow: hidden;
    font-family: THSarabunPSKRegular;
    font-size: 24px;
     line-height: 2;
    background-color:#e5bade;
    color:#000;
    font-weight:bold;
     letter-spacing: .1em;
}
.img-container .img {
    width: 100%;
    height: 100%;
    border: solid 0px #ffaf7e;
    border-radius: 0px;
    background-position : center 100%!important;

}

.img-container .img:hover {
    width: 100%;
    height: 100%;
    border: solid 0px #ffaf7e;
    border-radius: 0px;
     -webkit-filter: contrast(110%); /* Safari */
   filter: contrast(110%);
}
.page-header {
    font-family:THSarabunPSKRegular;
   font-size:26px;

}

#Contentmanager .post-time {
    display:none;
}

h3.managerHeader {
    font-family: THSarabunPSKRegular;
    font-size: 34px;
    margin-bottom: -40px;
    font-weight: bold;
}
.nav-template li a {
    color: #333;
    font-family: THSarabunPSKRegular;
    font-size: 22px;
}
.btn-sm p {
    font-size: 20px;
    line-height: 1;
}
.nav-template li:hover {
    background-color: #dbc169;
    text-decoration: underline !important;
}


/*อัลบั้มรูป*/
figure {
margin: 0;
padding: 0;
overflow: hidden;
}

figure:hover span {
bottom: -36px;
opacity: 1;
}

.hover01 figure img {
-webkit-transform: scale(1);
transform: scale(1);
-webkit-transition: .3s ease-in-out;
transition: .3s ease-in-out;
}

.hover01 figure:hover img {
-webkit-transform: scale3d(0.95,0.95,1);
transform: scale3d(0.95,0.95,1);
}

.thumbnail{
    border-radius: 0px;
}
.thumbnail:hover{
    border-radius: 0px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    background: #e5bade;
}
figure.effect-selena {
    background: none;
}
.eff1{
  border:solid 2px #fff;

}
.eff1:hover{
  border:solid 2px #dbc168;
  -webkit-filter: contrast(110%); /* Safari */
   filter: contrast(110%);
   box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}


/*แก้ไขเมนูด้านบน*/
.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover {
    color: #902e81;
    border-radius: 6px;
	background: linear-gradient(to bottom, #ffffff 0%,#eee9ee 100%);
}
.navbar-default .navbar-toggle:focus .icon-bar,.navbar-default .navbar-toggle:hover .icon-bar {
    background-color: #902e81;
}
.navbar-default .navbar-toggle:focus .text-bar,.navbar-default .navbar-toggle:hover .text-bar {
    color: #902e81!important
}
.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover {
    color: #902e81;
    background: linear-gradient(to bottom, #ffffff 0%,#eee9ee 100%);
    border-radius: 6px;
}
.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover {
    background: linear-gradient(to bottom, #ffffff 0%,#eee9ee 100%)!important;
    border-radius: 6px;
    color: #902e81!important
}
.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover {
    background: linear-gradient(to bottom, #ffffff 0%,#eee9ee 100%)!important;
    border-radius: 6px;
    color: #902e81!important
}
@media (max-width:768px) {
    .navbar-default {
        background: #6f1361;
    }
}
/*แก้ไขเมนูด้านบน*/
  
  .navbar-default .navbar-toggle {
    border-color: #6f1361;
}

/*เมนูกึ่งกลาง*/
/* Medium Devices, Desktops */
@media only screen and (min-width : 1024px) {
h1,.h1 { font-size: 2.250em;}
h2,.h2 { font-size: 1.875em;}
h3,.h3 { font-size: 1.500em;}
h4,.h4 { font-size: 1.125em;}
h5,.h5 { font-size: 0.875em;}
h6,.h6 { font-size: 0.750em;}
p { margin: 0 0 10px;}
.navbar .nav,
.navbar .nav > li {
    float:none;
    display:inline-block;
    *display:inline; /* ie7 fix */
    *zoom:1; /* hasLayout ie7 trigger */
    vertical-align: top;
}
#main-navbar-collapse{
  text-align:right ;
}

}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1366px) {
h1,.h1 { font-size: 2.250em;}
h2,.h2 { font-size: 1.875em;}
h3,.h3 { font-size: 1.500em;}
h4,.h4 { font-size: 1.125em;}
h5,.h5 { font-size: 0.875em;}
h6,.h6 { font-size: 0.750em;}
p { margin: 0 0 10px;}
.navbar .nav,
.navbar .nav > li {
    float:none;	
    display:inline-block;
    *display:inline; /* ie7 fix */
    *zoom:1; /* hasLayout ie7 trigger */
    vertical-align: top;
}
#main-navbar-collapse{
  text-align:right ;
}

}

/*แถบเมนูเล็ก*/
/* Medium Devices, Desktops */
@media only screen and (max-width : 768px) {  
  #mobileonly{
  	visibility : hidden;
    height:0px;
    width:0px;
  }  

  p#logowebsite{
  	font-size:10px;
  }

  #scrollTop{
    position: fixed;
    left: 10px;
    bottom: 5px;
    opacity: 0.5;
  }

  #scrollTop:hover{
    opacity: 1.5;
  }
  .zIndex-pos3 {
    z-index: 100;
  }
}

@media (min-width: 769px){  
  .navbar-nav>li>a {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }  
  .navbar {
    min-height: 0px !important;
}  
}

  @media(max-width: 500px){    
    #mobileonly{
  	visibility : visible;
      width:inherit;
      height:inherit;
  }    
    #popular{
    	display : none;
    }        
  }
/*แถบเมนูเล็ก*/

