.itopplus-background {

}


a {
    color: #055b91;
}
a:hover {
    color: #d3232d;
}

.pagination-sm>li>a, .pagination-sm>li>span {
    padding: 5px 10px;
    font-size: 16px;
    font-family: ThaiSansLite_r1;

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

/*เมนูกึ่งกลาง*/
/* 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 ;
}

}

/**/
.no-js .box {
position: relative;
   vertical-align: middle;
   display: inline-block;
   height: 100%;
   line-height: 40px;
   text-align: center;
   transition: 0.5s;
   padding: 0 30px;
   cursor: pointer;
   border: 2px solid #005baa;
   -webkit-transition: 0.5s;
    font-family: ThaiSansLite_r1;
    font-size: 24px;
  color: #005baa;
}
 
.no-js .box:hover {
    border: 2px solid rgba(208,32,42,2);
    color: #d0202a;
}

.no-js .box::before, .box::after {
   width: 100%;
   height:100%;
   z-index: 3;
   content:'';
   position: absolute;
   top:0;
   left:0;
   box-sizing: border-box;
   -webkit-transform: scale(0);
   transition: 0.5s;
}

.no-js .foo::before {
border-bottom: 2px solid #05d9cf;
border-left: 2px solid #05d9cf;
-webkit-transform-origin: 100% 0%;
}

.no-js .foo::after {
border-top: 2px solid #d0202a;
border-right: 2px solid #d0202a;
-webkit-transform-origin: 0% 100%;
}

.no-js .box:hover::after, .box:hover::before {
-webkit-transform: scale(1);
}

.box:hover {
    border: 2px solid rgba(208,32,42,2);
    color: #d0202a;
}

.box::before, .box::after {
width: 100%;
height:100%;
z-index: 3;
content:'';
position: absolute;
top:0;
left:0;
box-sizing: border-box;
-webkit-transform: scale(0);
transition: 0.5s;
}

.foo::before {
border-bottom: 3px solid #FFF;
border-left: 3px solid #FFF;
-webkit-transform-origin: 100% 0%;
}

.foo::after {
border-top: 3px solid #FFF;
border-right: 3px solid #FFF;
-webkit-transform-origin: 0% 100%;
}

.box:hover::after, .box:hover::before {
-webkit-transform: scale(1);
}

