.itopplus-background {

}
ul.b {
    list-style-image: url(https://itp1.itopfile.com/ImageServer/bdba9fcd617084cd/20/0/iTopPlus1517573662356.webp);
    margin-left: -5px;
}

a {
 color: #444;
}
a:hover {
   color: #ed1c24;
}


figure.effect-oscar figcaption {
    padding: 3em;
    background-color: rgba(0, 0, 0, 0.7);
    -webkit-transition: background-color .35s;
    transition: background-color .35s;
}

/*----------------effect ข้อความ--------------------------------*/
[class^="hvr-"] {
    margin: .4em;
    cursor: pointer;
    text-decoration: none;
    color: #666;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hvr-grow:hover, .hvr-grow:focus, .hvr-grow:active {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}
.hvr-float-shadow:hover:before, .hvr-float-shadow:focus:before, .hvr-float-shadow:active:before {
   opacity: 1;
   -webkit-transform: translateY(5px);
   transform: translateY(5px);
}
.hvr-float-shadow:before {
   pointer-events: none;
   position: absolute;
   z-index: -1;
   content: '';
   top: 100%;
   left: -5%;
   height: 10px;
   width: 90%;
   opacity: 0;
   background: -webkit-radial-gradient(center, ellipse, rgba(0, 0, 0, 0.35) 0%, transparent 80%);
   background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, transparent 80%);
   -webkit-transition-duration: 0.3s;
   transition-duration: 0.3s;
   -webkit-transition-property: transform, opacity;
   transition-property: transform, opacity;
}

.hvr-grow {
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
}




/*---effect-steve ------*/

figure.effect-steve h2 {
    position: relative;
    margin-top: 2em;
    padding: 0em;
}

figure.effect-steve p {
    margin-top: 1em;
    padding: 0em;
    font-weight: 800;
    opacity: 0;
    -webkit-transition: opacity .35s,-webkit-transform .35s;
    transition: opacity .35s,transform .35s;
    -webkit-transform: scale3d(.9,.9,1);
    transform: scale3d(.9,.9,1);
}

figure.effect-steve:before {
    box-shadow: 0 3px 30px rgba(76, 74, 74, 0.14);
    opacity: 0;
}




/*-----------contant---------*/

.text-justify {
    text-align: left;
}

.nav-template li a {
    color: #333;
    font-size: 14px;
}

.btn-sm p {
    font-size: 14px;
    line-height: 1.5;
}

#Contentmanager .post-time {
    font-size: 12px;
    color: #666;
    display: none;
}


.page-header.font-inherit {
    padding-bottom: 9px;
    margin: 20px 0 20px;
    color: #000;
    font-size: 18px;
}

h3.managerHeader {
    margin-bottom: -20px;
    font-size: 24px;
    word-break: break-word;
}

/*ปิดเฟสบุ๊ค*/
.fbcomments, .fbcomments span[style], .fbcomments iframe[style] {
width: 100% !important;
height: 350px;
display: none;
}



/*------------เมนู-------------*/


.navbar-default {
    border: 0 solid;
    background: 0 0
}

.navbar-default .navbar-nav>li>a {
    color: #000;
    font-size: 18px;
}

.navbar-default .navbar-brand {
    color: #000
}

.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover {
    color: #fff;
    background: linear-gradient(to bottom, #1370bb 0%,#0b53a2 50%,#023388 100%);
    border-radius: 8px
}
.navbar-default .navbar-toggle {
    border-color: #eeeeee;
}


.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover {
    background: linear-gradient(to bottom, #1370bb 0%,#0b53a2 50%,#023388 100%);
    border-radius: 8px
}
.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover,.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover {
    background: linear-gradient(to bottom, #1370bb 0%,#0b53a2 50%,#023388 100%);
    color: #fff!important;
    border-radius: 8px
}
.navbar-default .navbar-nav .open .dropdown-menu .menu-item a:hover {
    background: linear-gradient(to bottom, #1370bb 0%,#0b53a2 50%,#023388 100%);
    border-radius: 8px
}
.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover {
    background: linear-gradient(to bottom, #1370bb 0%,#0b53a2 50%,#023388 100%)!important;
    border-radius: 8px;
    background-image: none;
    color: #fff!important;
}
@media (max-width:768px) {
    .navbar-default {
        background: #eeeeee;
    }
}

@media only screen and (min-width : 360px) {  
.CASS-B-border {
    position: relative;
    background: #fcfcfc;
    border: 1px solid #d4d4d4;
    border-radius: 0px;
  height: auto!important;
}

.CASS-B-border:hover {
    position: relative;
    background: #fcfcfc;
    border: 1px solid #d59d2f;
    border-radius: 0px;
    box-shadow: 0 0 8px rgba(106, 106, 106, 0.8);
   height: auto!important;
}
.navbar-default .navbar-nav>li>a {
    padding-left: 15px;
    padding-right: 15px;
}    



/*เมนูชิดขวา*/
/* 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: center;
}
  
 .navbar-default .navbar-nav>li>a {
    padding-left: 10px!important;
    padding-right: 10px!important;
}
  ul.c {
    list-style-image: url(https://itp1.itopfile.com/ImageServer/bdba9fcd617084cd/20/0/iTopPlus1517573662356.webp);
    margin-left: -5px;
}
  .col-md-6.pull-left img.img-responsive {
    border: solid 1px #ccc;
    width: 100%;
    margin-left: -25px;
    margin-bottom: 20px;
}
  /*อัลบั้มในเนื้อหาระบบ*/
.form-group .col-md-2 {
   padding: 5px;
}
.form-group .col-md-3 {
   padding: 5px;
  margin-bottom: -20px;
}
  

.CASS-B-border {
    position: relative;
    background: #fcfcfc;
    border: 1px solid #d4d4d4;
    border-radius: 0px;
}

.CASS-B-border:hover {
    position: relative;
    background: #fcfcfc;
    border: 1px solid #d59d2f;
    border-radius: 0px;
    box-shadow: 0 0 8px rgba(106, 106, 106, 0.8);
  color:#ed1c24;
}
.navbar-default .navbar-nav>li>a {
    padding-left: 7px;
    padding-right: 7px;
} 
}

/* 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 ;
}
  ul.c {
    list-style-image: url(https://itp1.itopfile.com/ImageServer/bdba9fcd617084cd/20/0/iTopPlus1517573662356.webp);
    margin-left: -5px;
}
  .col-md-6.pull-left img.img-responsive {
    border: solid 1px #ccc;
    width: 100%;
    margin-left: -25px;
    margin-bottom: 20px;
}
  /*อัลบั้มในเนื้อหาระบบ*/
.form-group .col-md-2 {
   padding: 5px;
}
.form-group .col-md-3 {
   padding: 5px;
  margin-bottom: -20px;
}
  /*-------------border----------*/


.CASS-B-border {
    position: relative;
    background: #fcfcfc;
    border: 1px solid #d4d4d4;
    border-radius: 0px;
}

.CASS-B-border:hover {
    position: relative;
    background: #fcfcfc;
    border: 1px solid #d59d2f;
    border-radius: 0px;
    box-shadow: 0 0 8px rgba(106, 106, 106, 0.8);
  color:#ed1c24;
}
}



@media only screen and (min-width : 414px) {  
.CASS-B-border {
    position: relative;
    background: #fcfcfc;
    border: 1px solid #d4d4d4;
    border-radius: 0px;
  height: auto;
}

.CASS-B-border:hover {
    position: relative;
    background: #fcfcfc;
    border: 1px solid #d59d2f;
    border-radius: 0px;
    box-shadow: 0 0 8px rgba(106, 106, 106, 0.8);
  height: auto;
}
.navbar-default .navbar-nav>li>a {
    padding-left: 15px;
    padding-right: 15px;
}    
}



/*แถบเมนูเล็ก*/
/* 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;
  }
  ul.c {
    list-style-image: url(https://itp1.itopfile.com/ImageServer/bdba9fcd617084cd/20/0/iTopPlus1517573662356.webp);
    margin-left: -40px;
}
  .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}
  .col-md-6.pull-left img.img-responsive {
    border: solid 1px #ccc;
    width: 100%;
    margin-left:-25px!important;
    margin-bottom: 20px;
}
  /*-------------border----------*/


.CASS-B-border {
    position: relative;
    background: #fcfcfc;
    border: 1px solid #d4d4d4;
    border-radius: 0px;
      height: 330px;
}

.CASS-B-border:hover {
    position: relative;
    background: #fcfcfc;
    border: 1px solid #d59d2f;
    border-radius: 0px;
    box-shadow: 0 0 8px rgba(106, 106, 106, 0.8);
    height: 330px;
}
  .col-md-6.pull-left {
    width: 45%;
}
  
 .contenemanager-gallery .col-xs-12 {
    width: 50%;
}
}

@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;
    }        
  }



.btn-primary {
    background-image: -webkit-linear-gradient(top,#428bca 0,#2d6ca2 100%);
    background-image: -o-linear-gradient(top,#428bca 0,#2d6ca2 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#428bca),to(#2d6ca2));
    background-image: linear-gradient(to bottom,#012e78 0,#012e78 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca',endColorstr='#ff2d6ca2',GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    background-repeat: repeat-x;
    border-color: #012e78;
}
.btn-primary:active, .btn-primary.active {
    background-color: #012e78;
    border-color: #012e78;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #022f79;
    background-position: 0 -15px;
}

