.itopplus-background {

}
.embed-responsive.embed-responsive-16by9 {
    padding-bottom: 0;
}
body {
    overflow-x: hidden;
}

@media only screen and (min-width: 992px){
.Contentmanager-template2-1 {
    min-height: 266px!important;
    max-height: 255px;
    overflow: hidden;
}
}
@media only screen and (min-width: 768px){
.Contentmanager-template2-1 {
    min-height: 266px!important;
    max-height: 255px;
    overflow: hidden;
}
}

/*ปุ่มฟอร์มติดต่อเรา*/
.btn-primary {
    background-image: linear-gradient(to bottom,#57a802 0,#57a803 100%);
    border-color: #55a800;
}
.btn-primary:hover, .btn-primary:focus {
    background-color: #5d4a38;
    background-position: 0 -31px;
}





/*อัลบั้ม*/
.thumbs img.imageGallery:hover{
   -webkit-filter: contrast(120%); /* Safari */
   filter: contrast(120%);
   box-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}


/*เนื้อหาระบบ*/
.Contentmanager-thumbnail {
     display: flex;
    border: 2px solid #ddd;
    border-radius: 0px;
    padding-right: 0px!important;
    padding-left: 0px!important;
    padding: 0px;
}
.Contentmanager-template2-1 .thumb>img {
    margin: auto;
    max-height: 210px;
}
.Contentmanager-template2-1 .thumb>img:hover{
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
     -webkit-filter: contrast(120%); /* Safari */
    filter: contrast(120%);
    padding: 0px;
    border-radius: 0px;
}
.Contentmanager-template2-1 .thumb {
    min-height: 190px !important;
    max-height: 215px;
}
.Contentmanager-template2-1 a{
    font-size: 22px;
    text-align: center;
    line-height: 1.0;
}
.text-center {
    padding: 0px 20px 0px 20px;
}
.col-md-3.col-sm-4.col-xs-12.padding-md.Contentmanager-template2-1 {
    margin-bottom: 20px;
}
.Contentmanager .caption {
    height: 75px;
    overflow: hidden;
    font-size: 22px;
    text-align: center;
    padding: 5px 20px 5px 20px;
    line-height: 1.0;
    color: #262626;
}
#table th, #table td {
    text-align: left;
    padding: 10px;
    border-style: solid;
    border-color: #ccc;
    border-width: 1px;
    font-size: 18px;
}
.btn-sm p {
    display: none;
}
.Contentmanager .caption:hover {
    height: 75px;
    overflow: hidden;
    font-size: 22px;
    text-align: center;
    padding: 5px 20px 5px 20px;
    line-height: 1.0;
    color: #7bc639;
}
.Contentmanager .template1 .template-panel {
    padding-bottom: 75%;
    border: solid 2px #7bc639;
}

.img-container .img:hover{
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
     -webkit-filter: contrast(120%); /* Safari */
   filter: contrast(120%);
}
#Contentmanager .thumbnail, .img-thumbnail {
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.075);
    box-shadow: 0 1px 2px rgba(0,0,0,.075);
    padding: 0px;
    border: solid 1px #75c330;
    border-radius: 0px;
}
#Contentmanager .thumbnail:hover, .img-thumbnail:hover {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
     -webkit-filter: contrast(120%); /* Safari */
   filter: contrast(120%);
    padding: 0px;
    border: solid 1px #75c330;
    border-radius: 0px;
}
#Contentmanager .post-time {
    display: none;
}
.nav-template li a {
    color: #333;
    text-decoration: underline !important;
    font-size: 18px!important;
}
.nav-template li a :hover{
    color: #8bcc50;
    font-size: 18px!important;
}








.navbar-default {
    background: #5d4a38;
    border-radius: 0
}
.navbar-default .navbar-nav>li>a {
    color: #fff;
    font-size: 22px;
}
.navbar-default .navbar-toggle {
    border-color: transparent;
}


@media only screen and (max-width : 768px) {
[class^="hvr-"] {
    font-size: 20px;
   }

}


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

}

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

}
.itopplus-bgmain2 a{
	color:#fff;
}
a:hover {
    color: #75c330;
    text-decoration: none;
}

footer a {
    color: #fff;
}



.hvr-float {
    display: inline-block;
    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;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
[class^="hvr-"] {
    cursor: pointer;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.hvr-float:hover, .hvr-float:focus, .hvr-float:active {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
}

  .zIndex-pos5 {
   z-index: 600;
 }

