.itopplus-background {

}
.navbar-default .navbar-nav>li>a {
    color: #000;
    font-size: 26px;
    padding-top: 10px !important;
    padding-bottom: 5px !important;
}

.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover {
    color: #fff;
    background-color: #004a80;
    border-radius: 20px
}
.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover {
    background-color: #004a80;
    border-radius: 20px
}
.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-color: #004a80;
    color: #fff!important;
    border-radius: 20px
}
.navbar-default .navbar-nav .open .dropdown-menu .menu-item a:hover {
    background: #004a80;
    border-radius: 20px;
}
.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover {
    background-color: #011d3b!important;
    border-radius: 20px;
}
.navbar-default .navbar-toggle {
    border-color: transparent;
}
.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover {
    border-color: transparent;
}

.dropdown-menu>li>a {
    font-size: 22px;
}



@media (max-width:768px) {
    .navbar-default {
        background: #9ec64c;
    }
    .navbar-default .navbar-nav .open>.dropdown-menu {
        background: 0 0!important
    }
    .navbar-default .navbar-nav .open .dropdown-menu>li>a {
        color: #000
    }
   .glyphicon-phone-alt:before {
     content: "\e182";
}
.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
    background-color: #004a80;
    border-radius: 0px;
}
  .navbar-default .navbar-brand {
    color: #fff;
}
  .text-bar {
    color: #fff!important;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}
  .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-color: #004a80;
    color: #fff!important;
    border-radius: 0px;
}
  .navbar-default .navbar-nav>li>a {
    color: #fff;
    font-size: 26px;
    padding-top: 10px !important;
    padding-bottom: 5px !important;
}
}

/*เมนูกึ่งกลาง*/
/* 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 ;
  margin-top: 25px;
    margin-bottom: 25px;
}

}

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

}




/*เครื่องหมายกากบาท*/

button.close {
    font-family: tahoma;
}





/*อัลบั้มภาพ*/
/*effect อัลบั้มภาพ*/

figure.effect-phoebe p {
    margin-top: 149px;
    padding: 12px 0px 7px;
    background: rgba(0, 0, 0, 0.62);
    margin-left: -45px;
    margin-right: -45px;
}


figure.effect-phoebe p:hover {
     background: rgba(157, 197, 74, 0.7215686274509804);
}

figure.effect-phoebe img {
		-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
}

figure.effect-phoebe:hover img {
	opacity: 0.9;
}



figure.effect-oscar figcaption {
   background: rgba(15,16,16,0);
background: -moz-linear-gradient(top, rgba(15,16,16,0) 68%, rgba(15,16,16,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(68%, rgba(15,16,16,0)), color-stop(100%, rgba(15,16,16,1)));
background: -webkit-linear-gradient(top, rgba(15,16,16,0) 68%, rgba(15,16,16,1) 100%);
background: -o-linear-gradient(top, rgba(15,16,16,0) 68%, rgba(15,16,16,1) 100%);
background: -ms-linear-gradient(top, rgba(15,16,16,0) 68%, rgba(15,16,16,1) 100%);
background: linear-gradient(to bottom, rgba(15,16,16,0) 68%, rgba(15,16,16,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0f1010', endColorstr='#0f1010', GradientType=0 );
}

figure.effect-oscar img {
    opacity: 1;
}

figure.effect-oscar:hover img {
    opacity: 1;
    
}

figure.effect-oscar figcaption::before {
	border: 0px solid #fff;

}

figure.effect-oscar h2 {
    margin: 30% 0px 10px -18px;
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
    -webkit-transform: translate3d(0,60%,0);
    transform: translate3d(0,60%,0);
}

figure.effect-oscar p{
 display:none;
}



/*เนื้อหาระบบ*/

.Contentmanager .template1 .template-panel {
    padding-bottom: 75%;
}

.Contentmanager .caption {
    height: 43px;
    overflow: hidden;
    font-size: 22px;
    background: #9ec64c;
    color: #fff;
    font-weight: 600;
    padding: 7px 0px 10px;
}

.template1 .col-md-4 {
    width: 32%;
    margin-right: 5px;
}

.template1 .col-md-4.col-sm-4.col-xs-12.padding-md.text-center {
    padding: 4px;
    margin-bottom: 20px;
    line-height: 1.42857143;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}


.Contentmanager .caption:hover {
    background: #376b3b;
}

.landingpagemanager {
    display: none;
}

.Contentmanager .img-thumbnail {
    display: inline-block;
    width: 100% !important;
    max-width: 80%;
    height: auto;
    padding: 4px;
    line-height: 1.42857143;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.managerHeader{
    font-size: 34px;
    color: #376b3b;
    font-weight: 600;
}
.page-header {
    padding-bottom: 9px;
    margin: 40px 0 40px;
    border-bottom: 1px solid #777;
}
#Contentmanager .post-time {
    font-size: 20px;
    color: #666;
}

.post-time .fa-clock{
    font-size: 16px;
}

.contenemanager-gallery a.thumbnail:hover, a.thumbnail:focus, a.thumbnail.active {
    border-color: #376b3b;
}


/*แถบเมนูเล็ก*/
/* 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;
  }

/*อัลบั้มภาพ*/
figure.effect-phoebe p {
      margin-top: 41%;
    padding: 6px 0px 5px;
    background: rgba(0, 0, 0, 0.5411764705882353);
    margin-left: -45px;
    margin-right: -45px;
}

figure.effect-oscar h2 {
    margin: -15% 0px 10px -18px;
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
    -webkit-transform: translate3d(0,60%,0);
    transform: translate3d(0,60%,0);
}
figure.effect-oscar:hover h2 {
	-webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
    -webkit-transform: translate3d(0,60%,0);
    transform: translate3d(0,60%,0);
}
.t2-1 .grid figure h2 span {
    font-weight: 800;
    font-size: 22px !important;
}

/*เนื้อหาระบบ*/
.template1 .col-md-4 {
    width: 32.3333%;

}
.row.contenemanager-gallery {
    width: 33.3%;
    display: -webkit-inline-box;
}
}

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

  @media(max-width: 500px){    
    #mobileonly{
  	visibility : visible;
      width:inherit;
      height:inherit;
  }    
    #popular{
    	display : none;
    }        
  }
  
  
/*------------เรียง 5 รูป-------------------*/
@media only screen and (max-width: 768px){
 .row-fluid [class*=col-sm-5fix] {
     width: 50%;
     float:left;
 }
}  
  
  @media only screen and (max-width : 414px) {  
   .row-fluid [class*=col-sm-5fix] {
     width: 100%;
     float:left;
 }
  /*เนื้อหาระบบ*/
.template1 .col-md-4 {
    width: 100%;

}
.Contentmanager .img-thumbnail {
    display: inline-block;
    width: 100% !important;
    max-width: 100%;

}
.row.contenemanager-gallery {
    width:100%;
     display: block;
        margin: 0px !important;

}
  }
    

