.itopplus-background {

}

::selection {
    color: #fff;
    background: #ffcd00;
}

 a{
    color: #333;
}

a:hover{
    color: #174e53;
   transition: 0.32s;
}


.itopplus-bgmain a{
    color: #fff;
}

.itopplus-bgmain a:hover{
    color: #ffcd00;
   transition: 0.32s;
}



/*----------------เมนู Fix------------------*/
#itopplus-sticky-nav-bar {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.33);
}

.itopplus-sticky-nav-bar-inside div {
    float: none!important;
    text-align: center;
}

#itopplus-nav-bar-sticky .itopplus-sidebar-menu-parent {
    border-bottom: 0px solid rgba(57,60,66,0.8) !important;
}






/*----------------เมนูหลัก------------------*/
.navbar-default .navbar-nav>li>a {
    color: #fff;
    font-size: 20px;
}

.navbar-default {
    background: #0f7a03;
}
.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover {
    color: #16504c;
    background-color: #fed117;
}
.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover {
    background-color: #fed117;
}
.navbar-default .navbar-collapse,.navbar-default .navbar-form {
    border-color: transparent;
}
.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover {
   color: #16504c;
    background-color: #fed117;
}
.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover {
  	color: #16504c!important;
    background-color: #fed117!important;
}
.navbar-default .navbar-nav .open .dropdown-menu .menu-item a:focus,.navbar-default .navbar-nav .open .dropdown-menu .menu-item a:hover {
    background: #fed117!important;
    color: #16504c!important;
}
.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover {
    background-color: #fed117!important;
    background-image: none;
    color: #16504c!important;
}

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

@media (max-width:768px) {
    .navbar-default .navbar-nav .open>.dropdown-menu {
        background: 0 0;
    }
  .navbar-default .navbar-toggle {
    border-color: transparent;
    background: 0 0;
}
}

/*เมนูชิดขวา*/
/* 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 ;
}
  
ul.nav li.dropdown:hover > ul.dropdown-menu {
    display: block;
	margin: 0;
}

}

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

}





@media only screen and (min-width : 1900px) {


}



/*----------ปุ่ม----------*/

.buttom1 {
    background: linear-gradient(to right, rgba(255,204,0,1) 0%, rgba(255,187,0,1) 52%, rgba(255,170,0,1) 100%);
    color: #174e53;
    text-align: center;
    font-size: 15px;
    padding: 8px 5px;
    border-radius: 25px;
    font-weight: 500;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

.buttom1:hover, .buttom1:focus, .buttom1:active {
    color: white;
}

.buttom1:hover:before, .buttom1:focus:before, .buttom1:active:before {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    border-radius: 25px;
}

.buttom1:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(255,170,0,1) 0%, rgba(255,187,0,1) 52%, rgba(255,204,0,1) 100%);
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}



/*-----------อัลบั้มภาพ----------*/
figure.effect-steve h2, figure.effect-steve p {
        display: none;
}

figure.effect-steve {
    box-shadow: 3px 4px 5px rgba(158, 158, 158, 0.68);
}

figure.effect-steve {
    z-index: auto;
    overflow: visible;
    background: transparent;
}

figure.effect-steve:before {
    box-shadow: 5px 5px 7px rgba(0, 0, 0, 0.83);
    opacity: 0;
}

figure.effect-steve h2:before, figure.effect-steve:before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: transparent;
    content: '';
    -webkit-transition: opacity .35s;
    transition: opacity .35s;
}

#mainmenu5e4cc088bfb40700122386f3 .imageGallery {
    border: 1px solid #fff;
}

#mainmenu5e4cc0df72863d001354926c .imageGallery {
    border: 1px solid #fff;
}

#mainmenu5e4cd2aaaa77d00012aa4ccf .imageGallery {
    border: 1px solid #fff;
}


#mainmenu5e4d1728bfb4070012238d02 .imageGallery {
    border: 1px solid #fff;
}

#background5e4cd5cb92a8460013edc0fb .thumbs {
    margin-bottom: 0;
}


figure.effect-jazz figcaption::after {
    border-top: 0px solid #fff;
    border-bottom: 0px solid #fff;
}





/*----------from Contact----------*/
.no-js #Component5e4e104e72863d0013549c67 label {
    display: none!important;
}
.no-js #Component5e4e104e72863d0013549c67 .col-md-6 {
    width: 60%;
    margin-left: auto;
    display: block;
    margin-right: auto;
    float: initial;
}

.no-js #Component5e4e104e72863d0013549c67 .form-control {
    border: 1px solid #ffcd00;
    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: 14px!important;
    padding: 14px;
    background: white;
    color: #000;
}


.no-js #Component5e4e104e72863d0013549c67 .form-control:focus {
    border-color: #1c7980;
    -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: #000!important;
}

.no-js #Component5e4e104e72863d0013549c67 .btn {
    background-image: -webkit-linear-gradient(top,#ffcd00 0,#ffcd00 100%);
    background-image: -o-linear-gradient(top,#404040 0,#404040 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#ffcd00 ),to(#ffcd00 ));
    background-image: linear-gradient(to right, #ffcd00 0%,#ffcd00 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#404040',endColorstr=#404040,GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    background-repeat: repeat-x;
    border-color: #0000;
    border-radius: 0px;
    padding: 7px 30px;
    font-size: 13px;
    border: 0px solid transparent;
    color: #fff;
}

.no-js #Component5e4e104e72863d0013549c67 .btn-default:active {
background-color: #ffcd00;
}

.no-js #Component5e4e104e72863d0013549c67 .btn-default:hover,
.no-js #Component5e4e104e72863d0013549c67 .btn-default:focus {
    background-position: 0 0px;
  background-color: #ffcd00;
}


/*----------ค้นหา----------*/

.itopplus-search-image-flex-item {
    background-color: #f9f9f9!important;
    width: 23%!important;
    padding: 10px;
    text-align: left;
    display: inline-block;
    min-height: 200px!important;
    max-height: 197px!important;
    padding-top: 10px!important;
}

.itopplus-search-image-flex-container {
  display:block!important;
  }

.itopplus-search-image-flex-container img {
    width: 100% !important;
}


/*----------------เลขหน้า-----------------*/
.pagination-sm>li>a, .pagination-sm>li>span {
    padding: 5px 10px;
    font-size: 14px;
}


.pagination>li>a, .pagination>li>span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #174e53;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}


.pagination>.active>a, .pagination>.active>span, .pagination>.active>a:hover, .pagination>.active>span:hover, .pagination>.active>a:focus, .pagination>.active>span:focus {
    z-index: 2;
    color: #fff;
    cursor: default;
    background-color: #174e53;
    border-color: #174e53;
}

.pagination>li>a:hover, .pagination>li>span:hover, .pagination>li>a:focus, .pagination>li>span:focus {
    color: #174e53;
    background-color: #eee;
    border-color: #ddd;
}



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


.Contentmanager .site .col-section .item.-micro a:hover .caption .title {
    color: #ffaa01;
}

.Contentmanager .site .col-section .item.-micro a .caption .title {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2em;
    color: #184f54;
    -webkit-transition: 300ms ease-in-out;
    -moz-transition: 300ms ease-in-out;
    -o-transition: 300ms ease-in-out;
    -ms-transition: 300ms ease-in-out;
    transition: 300ms ease-in-out;
}

.Contentmanager .site .col-section .item.-micro a .post {
    text-align: center;
    margin: 10px;
    font-size: 13px;
    color: #b1b1b1;
}

.Contentmanager .site .col-section .item.-micro a .caption .time {
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
}

.page-header {
    padding-bottom: 9px;
    margin: 40px 0 40px;
    border-bottom: 1px solid #b9b9b9;
}

.managerHeader{
    font-size: 26px;
    color: #174e53;
    font-weight: 600;
}

#Contentmanager .post-time {
    font-size: 14px;
    color: #666;
}


.Contentmanager .thumbnail, .img-thumbnail {
        box-shadow: 3px 4px 5px rgba(158, 158, 158, 0.68);
}

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



.fbcomments, .fb-comments{
    display: none;
}

.landingpagemanager {
    display: none;
}






/*------------------หน้าจอ Ipad------------------*/
@media only screen and (max-width: 768px){

#background5e4d1728bfb4070012238d02 .col-md-3.col-sm-4.col-xs-4 {
    width: 25%;
}
  
/*----------ติดต่อเรา----------*/  
.btn-primary:active, .btn-primary.active {
    background-color: #fecc00;
    border-color: #fecc00;
}  
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open>.dropdown-toggle.btn-primary {
    color: #fff;
    background-color: #fecc00;
    border-color: #fecc00;
} 
  
  .btn-primary:hover, .btn-primary:focus {
    background-color: #fdcb00;
    background-position: 0 -15px;
}
  
  
  /*----------ค้นหา----------*/
 .itopplus-search-image-flex-item {
    background-color: #f9f9f9 !important;
    width: 31%!important;
    padding: 10px;
    text-align: left;
    display: inline-block;
    min-height: 222px!important;
    max-height: 210px!important;
    padding-top: 10px!important;
}  
}






/*------------------หน้าจอ Mobile------------------*/
@media only screen and (max-width: 414px){

.col-md-3.col-sm-4.col-xs-12{
     width: 100%;
     float:left;
  }  
    
  
#background5e4cc0df72863d001354926c{
      margin-bottom: -10%;
  }
  
#background5e4cd2aaaa77d00012aa4ccf{
      margin: -10px;
  }
  
  
/*----------ติดต่อเรา----------*/
.no-js #Component5e4e104e72863d0013549c67 .col-md-6 {
    width: 100%;
    margin-left: auto;
    display: block;
    margin-right: auto;
    float: initial;
}
  
/*----------ค้นหา----------*/
  .itopplus-search-image-flex-item {
    background-color: #f9f9f9!important;
    width: 100%!important;
    padding: 10px;
    text-align: left;
    display: inline-block;
    min-height: 200px!important;
    max-height: 315px!important;
    padding-top: 10px!important;
}
  
.itopplus-search-image-flex-container {
  display:block!important;
  }
}

#controlBanner img {
width: 75% !important;
}

