.itopplus-background {

}

.margin a {
    color: #444;
    font-family:rsu; 
}

.margin  a:hover {
   color: #0070c0;
   font-family:rsu; 
}

.fb_iframe_widget_fluid_desktop iframe {
    min-width: 220px;
    position: relative;
    display: none;
}

.fbcomments, .fbcomments span[style], .fbcomments iframe[style] {
    width: 100% !important;
    height: 350px;
    display: none;
}

@media only screen and (max-width : 768px) {
.social-share {
   top: 30px;
}
.btn-tw .social-icon {
    display: none;
}
}

.input-group .form-control:first-child, .input-group-addon:first-child, .input-group-btn:first-child>.btn, .input-group-btn:first-child>.btn-group>.btn, .input-group-btn:first-child>.dropdown-toggle, .input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle), .input-group-btn:last-child>.btn-group:not(:last-child)>.btn {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    font-family: rsu;
    font-size: 14px;
}

.input-group-btn {
    position: relative;
    font-size: 0;
    white-space: nowrap;
    font-family: rsu;
}

h3.managerHeader {
    margin-top: 0;
    border-bottom: 2px solid #c2c2c2;
    margin-bottom: 3px;
    padding-bottom: 9px;
}

.no-js .social-icon {
    color: #fff;
    width: 23px;
    height: 23px;
    font-size: 18px;
    margin: 2px;
    border-radius: 50px;
    margin-top: -20px;
}

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


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

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

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

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

.no-js .page-header {
    padding-bottom: 9px;
    margin: 40px 0 20px;
    border-bottom: 1px solid #fff;
    margin-top: 2px;
    font-family: rsu;
    color: #0168d4;
}

.no-js .menuVertical>.nav-pills>li>a {
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
}

.no-js .navbar-default .navbar-nav>li>a {
    color: #fff;
    font-family: rsu;
    font-size: 18px;
}

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

.no-js figure.effect-steve p {
    margin-top: 1em;
    padding: .0em;
}

.navbar-default {
    border: 2px solid #dbdbdb;
    background: linear-gradient(to bottom,#2c8bf0 0,#1376e0 50%,#0067d4 100%);
}

.menuVertical>ul {
    background: linear-gradient(to bottom,#2c8bf0 0,#1376e0 50%,#0067d4 100%);
    border: 0 solid #000;
    -moz-border-radius-topleft: 7px;
    -moz-border-radius-topright: 7px;
    -moz-border-radius-bottomleft: 7px;
    -moz-border-radius-bottomright: 7px;
    padding-top: 8px;
    padding-bottom: 8px;
    line-height: 15px;
    -webkit-border-radius: 7px;
    border-radius: 7px;
}
.navbar-default .navbar-brand {
    border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
}

.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover {
    border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
}

.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 {
    border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
}

/*เมนูกึ่งกลาง*/
/* 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 {    
  	padding-top:6px;
  	padding-bottom:6px;
  	border-radius: 0
}
  .template-panel.img-container .img {
    background-size: cover;
    background-position: center 50%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 70%;
    height: 100%;
}
  form.form-search, form.form-search .input-group {
    position: relative;
    margin-top: -28px;
}
}

.margin a {
    color: #444;
    font-family: rsu;
    font-size: 16px;
}

/* 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:center ;
}
  .navbar-default {    
  	padding-top:6px;
  	padding-bottom:6px;
  	border-radius: 0
}  
  .template-panel.img-container .img {
    background-size: cover;
    background-position: center 50%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 70%;
    height: 100%;
}
  form.form-search, form.form-search .input-group {
    position: relative;
    margin-top: 0;
}
}

/* 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;
    }        
  }

/*เพิ่มขนาดความยาวของเมนูย่อยในมือถือ*/
@media only screen and (min-width : 320px) {
.navbar-default.navbar-fixed .dropdown-menu {
    max-height: 1000px;
    overflow: scroll;
}
}

/*----------------effect ข้อความ--------------------------------*/
[class^="hvr-"] {
    display: block;
    margin: .4em;
    cursor: pointer;
    text-decoration: none;
    color: #254d0e;
    -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%;
   width: 100%;
   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;
}


