.itopplus-background {

}
.itopplus-footer a {
    color: #fff;
}
.itopplus-footer a:hover {
    color: #f8ee01;
}

a {
   color:#111111;
}
a:hover {
   color:#0f79b6;
}
.itopplus-menu {
    padding-top: 10%!important;
}

.navbar-default .navbar-nav>li>a {
    font-size: 16px;
}
.itopplus-menu {
    padding-top: 20px;
    padding-bottom: 10px;
    margin-top: 0;
}
.navbar-default .navbar-toggle {
    border-color: transparent;
}
.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover {
    color: #fff;
    background-color: #0393cc;
}
.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover {
    background-color: #0393cc;
}
.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: #0393cc!important;
    color: #fff;
    border-radius: 20px;
}
.navbar-default .navbar-nav .open .dropdown-menu .menu-item a:hover {
    background: #0393cc;
}
.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover {
    background-color: #0393cc!important;
    background-image: none;
    color: #fff!important;
}
@media (max-width:768px) {
    .navbar-default {
        background: #fff;
        background: -moz-linear-gradient(top,#fff 36%,#fff 36%,#efefef 88%,#e0e0e0 100%);
        background: -webkit-linear-gradient(top,#fff 36%,#fff 36%,#efefef 88%,#e0e0e0 100%);
        background: linear-gradient(to bottom,#fff 36%,#fff 36%,#efefef 88%,#e0e0e0 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e0e0e0', GradientType=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: 3px !important;
        padding-bottom: 3px !important;
    }

    .navbar {
        min-height: 0px !important;
    }
}

@media(max-width: 500px) {
    
    #mobileonly {
        visibility: visible;
        width: inherit;
        height: inherit;
    }

    #popular {
        display: none;
    }
}

/*เมนูกึ่งกลาง*/
/* 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 ;
}
  .itopplus-search-image-flex-item {
    width: 213px!important;
    min-height: 265px!important;
    max-height: 300px!important;
}
  .itopplus-search-image-flex-item img {
    width: 100%!important;
}
    .search_titleText {
    padding: 5px 0px;
    font-size: 16px;
}
    .search_text {
    padding: 5px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: block;
}

}

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

}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1920px) {
  .pd1 {
    padding-top: 2%!important;
}
  .itopplus-search-image-flex-item {
    width: 219px!important;
    min-height: 265px!important;
    max-height: 300px!important;
}
  .itopplus-search-image-flex-item img {
    width: 100%!important;
}
    .search_titleText {
    padding: 5px 0px;
    font-size: 16px;
}
    .search_text {
    padding: 5px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: block;
}
}



/*อัลบั้มภาพ*/
.thumbs {
    padding-left: 0px!important;
    padding-right: 0px!important;
    padding: 0px;
    box-shadow: 0 0 5px #8a8a8a;
}

figure.effect-jazz {
    background: transparent;
}
figure.effect-jazz h2 {
    transition: transform .35s;
    top: 75%;
    padding: 10px 5px;
    width: 100%;
    left: 0;
    bottom: 0;
    position: absolute;
    transform: scale3d(1,1,1);
}
figure.effect-jazz figcaption::after {
    border-top: 0px solid #fff;
    border-bottom: 0px solid #fff;
}
.bgp1 {
    background-color: rgba(2, 84, 131, 0.80);
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    padding: 6%;
    color: #f8ee01;
    font-size: 17px;
    text-align: left;
    word-spacing: normal;
    text-transform: capitalize;
}
/*อัลบั้มภาพ*/


.effect1 {
    transition: 0.5s;
}
.effect1:hover {
     transform: translate(0px, -5px);
     transition: 0.5s;
}

/*****contenemanager******/
h3.managerHeader {
    text-align: center;
    font-weight: 600;
    font-size: 30px;
    color: #6ab158;
}
#Contentmanager .post-time {
     display:none;
}
.page-header {
    padding-bottom: 20px;
    margin: 50px 20px 20px;
    border-bottom: 0px solid #eee;
}
.Contentmanager .site .col-section .item.-micro a .caption .title {
    text-align: center;
    font-size: 20px;
    color: #0f79b6;
    padding: 20px 0px 0px 0px;
    font-weight: 600;
}
.Contentmanager .site .col-section .item.-micro a:hover .caption .title {
    color: #6ab158;
}

.Contentmanager .site .col-section .item.-micro a .caption .time {
    margin-bottom: 10px;
    font-size: 16px;
    color: #111111;
    text-align: center;
    display: grid;
}

article.col-md-6.item.-micro {
    width:33.33%;
}

.Contentmanager .site .col-section .item.-micro a .image {
    width: 100%;
    margin-bottom: 0px;
}
.Contentmanager .site .col-section .item.-micro a .caption {
      width: 100%;
      background: transparent;
      padding-left: 0;
}
.Contentmanager .site .col-section .item.-micro:nth-child(even) {
    border-bottom: none;
}
.Contentmanager .site .col-section .item.-micro:nth-child(odd) {
    border-right: none;
    border-bottom: none;
}

.Contentmanager .site .col-section .item.-micro a .post {
    display: none;
}
.Contentmanager .site .col-section .item.-micro a .caption .time:after {
    content: "รายละเอียดเพิ่มเติม »"!important;
    border: none;
    border-radius: 30px;
    padding: 9px 5px;
    text-align: center;
    font-size: 14px;
    margin: 5% auto;
    transition: 0.3s;
    font-weight: 500;
    width: 55%;
    background: linear-gradient(45deg,#0196ce 1%,#0195cd 42%,#1d589b 72%,#2a3c84 100%);
    color: white;
}
.Contentmanager .site .col-section .item.-micro a .caption .time:hover:after {
    content: "รายละเอียดเพิ่มเติม »"!important;
    border: none;
    border-radius: 30px;
    padding: 9px 5px;
    text-align: center;
    font-size: 14px;
    margin: 5% auto;
    transition: 0.3s;
    font-weight: 500;
    width: 55%;
    background: linear-gradient(45deg,#0196ce 1%,#0195cd 42%,#1d589b 72%,#2a3c84 100%);
    color: white;
}


.Contenemanager-gallery .thumbnail {
    padding: 0px;
    border: 0px solid #ddd;
    border-radius: 0px;
    box-shadow: 0 0 5px #8a8a8a;
}
.Contenemanager-gallery .col-xs-6.col-md-3 {
    width: 33.33%;
    padding-left: 5px;
    padding-right: 5px;
}

.landingpagemanager {
   display:none;
}

.pagination>.active>a, .pagination>.active>span, .pagination>.active>a:hover, .pagination>.active>span:hover, .pagination>.active>a:focus, .pagination>.active>span:focus {
    background-color: #0393cc;
    border-color: #0393cc;
}
.pagination>li>a, .pagination>li>span {
    color: #0393cc;
}

/*from Contact*/
.no-js #Component5db91291e867bd001220942b label {
    display: none!important;
}
.no-js #Component5db91291e867bd001220942b .col-md-6 {
    width: 60%;
    margin-left: auto;
    display: block;
    margin-right: auto;
    float: initial;
}
.no-js #Component5db91291e867bd001220942b .form-control {
    border: 1px solid #a8a8a8;
    border-radius: 0px!important;
    -webkit-box-shadow: inset 0 0px 0px rgba(0,0,0,.075);
    box-shadow: inset 0 0px 0px rgba(0,0,0,.075);
    font-size: 16px!important;
    padding: 20px;
    background: transparent;
    color: #111111;
}
.no-js #Component5db91291e867bd001220942b .form-control:focus {
    border-color: #111f39;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
    box-shadow: inset 0 0px 0px rgba(0,0,0,.075), 0 0 0px rgba(102, 175, 233, 0);
  color: #111111!important;
}
.no-js #Component5db91291e867bd001220942b .btn {
    background-image: -webkit-linear-gradient(top,#111f39 0,#111f39 100%);
    background-image: -o-linear-gradient(top,#111f39 0,#111f39 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#111f39 ),to(#111f39 ));
    background: linear-gradient(45deg,#0196ce 1%,#0195cd 42%,#1d589b 72%,#2a3c84 100%);
    background-repeat: repeat-x;
    border-color: #0000;
    border-radius: 0px;
    padding: 10px 30px;
    font-size: 16px;
    border: 0px solid transparent;
    color: #fff;
}
.no-js #Component5db91291e867bd001220942b .btn-default:active {
background-color: #111f39;
}
.no-js #Component5db91291e867bd001220942b .btn-default:hover,
.no-js #Component5db91291e867bd001220942b .btn-default:focus {
    background-position: 0 0px;
  background-color: #111f39;
}



@media only screen and (max-width : 768px) {

  .bgp1 {
    background-color: rgba(2, 84, 131, 0.80);
    position: inherit;
    width: inherit;
    left: 0;
    bottom: 0;
    padding: 6%;
    color: #f8ee01;
    font-size: 17px;
    text-align: left;
}
  article.col-md-6.item.-micro {
    width:32.5%;
}
  .Contentmanager .site .col-section .item.-micro a .caption .time:after {
    content: "รายละเอียดเพิ่มเติม »"!important;
    border: none;
    border-radius: 30px;
    padding: 9px 5px;
    text-align: center;
    font-size: 14px;
    margin: 5% auto;
    transition: 0.3s;
    font-weight: 500;
    width: 80%;
    background: linear-gradient(45deg,#0196ce 1%,#0195cd 42%,#1d589b 72%,#2a3c84 100%);
    color: white;
}
.Contentmanager .site .col-section .item.-micro a .caption .time:hover:after {
    content: "รายละเอียดเพิ่มเติม »"!important;
    border: none;
    border-radius: 30px;
    padding: 9px 5px;
    text-align: center;
    font-size: 14px;
    margin: 5% auto;
    transition: 0.3s;
    font-weight: 500;
    width: 80%;
    background: linear-gradient(45deg,#0196ce 1%,#0195cd 42%,#1d589b 72%,#2a3c84 100%);
    color: white;
}

  
.itopplus-search-image-flex-item {
    width: 130px!important;
    min-height: 170px!important;
    max-height: 417px!important;
}
  .itopplus-search-image-flex-item img {
    width: 100%!important;
}
  .search_titleText {
    padding: 5px 0px;
    font-size: 14px;
}
  .search_text {
    padding: 5px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: block;
}
.no-js #Component5db91291e867bd001220942b .col-md-6 {
    width: 100%;
    margin-left: auto;
    display: block;
    margin-right: auto;
    float: initial;
}

}

@media only screen and (max-width : 480px) {
 article.col-md-6.item.-micro {
    width: 100%;
}
  .Contentmanager .site .col-section .item.-micro a .caption .time:after {
    content: "รายละเอียดเพิ่มเติม »"!important;
    border: none;
    border-radius: 30px;
    padding: 9px 5px;
    text-align: center;
    font-size: 14px;
    margin: 5% auto;
    transition: 0.3s;
    font-weight: 500;
    width: 55%;
    background: linear-gradient(45deg,#0196ce 1%,#0195cd 42%,#1d589b 72%,#2a3c84 100%);
    color: white;
}
.Contentmanager .site .col-section .item.-micro a .caption .time:hover:after {
    content: "รายละเอียดเพิ่มเติม »"!important;
    border: none;
    border-radius: 30px;
    padding: 9px 5px;
    text-align: center;
    font-size: 14px;
    margin: 5% auto;
    transition: 0.3s;
    font-weight: 500;
    width: 55%;
    background: linear-gradient(45deg,#0196ce 1%,#0195cd 42%,#1d589b 72%,#2a3c84 100%);
    color: white;
}

  .Contenemanager-gallery .col-xs-6.col-md-3 {
    width: 100%;
    padding-left: 5px;
    padding-right: 5px;
}
   .itopplus-search-image-flex-container {
   width: 100%!important;
   display: block!important;
}
.itopplus-search-image-flex-item {
    height: auto!important;
    width:100%!important;
    padding: 20px 0px;
    background-color: #f9f9f9!important;
    margin: 0 auto!important;
}
  .itopplus-search-image-flex-item img {
    width: 100%!important;
}
  .search_text {
    padding: 5px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: inherit;
    display: block;
}
  
.itopplus-slide {
    padding-top: 200px;
}  
}


#languagebar img.img-circle {
width: 30px !important;
height: 30px !important;
}

