.itopplus-background {

}
::selection {
    color: #fff;
    background: #ffce07;
}
body, html {
    overflow-x: hidden;
}
a{
    color: #333;
}
a:hover{
    color: #ffc307;
    transition: 0.32s;
}
.itopplus-footer a{
    color: #fff;
}
.itopplus-footer a:hover{
    color: #ffc307;
    transition: 0.32s;
}



/*------------------เมนู Fix------------------*/
#itopplus-sticky-nav-bar {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.33);
    background-color: #ffb607;
}
.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 {
    font-size: 18px;
}
.navbar-default {
    background: transparent;
}
.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover {
    color: #fff;
    background-color: #d3202f;
}
.navbar-default .navbar-toggle {
    border-color: transparent;
}
.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover {
    background-color: #d3202f;
}
.navbar-default .navbar-collapse,.navbar-default .navbar-form {
    border-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>li>a:focus,.navbar-default .navbar-nav>li>a:hover {
    color: #fff;
    background-color: #d3202f;
}
.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover {
    background-color: #d3202f!important;
    color: #fff;
}
.navbar-default .navbar-nav .open .dropdown-menu .menu-item a:hover {
    background: #d3202f!important;
}
.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover {
    background-color: #d3202f!important;
    background-image: none;
    color: #fff!important;
}
.dropdown-menu>li>a {
    font-size: 16px;
}

@media (max-width:768px) {
    .navbar-default .navbar-nav .open .dropdown-menu>li>a {
        color: #fff!important;
    }

    .navbar-default .navbar-nav .open>.dropdown-menu {
        background: 0 0;
    }
  
  	.navbar-default {
    	background: #ffb607;
}
  .navbar-default .navbar-brand {
    color: #fff;
    float: right;
}

}

/*เมนูมือถือ slidebar*/
@media (max-width:768px) {
/*เมนูหลักทั้งหมด*/
.itopplus-sidebar-menu-single a:link {
    color: #fff !important;
}
/*เมนูย่อยแรก*/
.itopplus-sidebar-menu-single a:active {
    background-color: #d3202f;
    color: #fff!important;
}
.itopplus-sidebar-menu-single {
    border-bottom: transparent;
}
/*เมนูย่อยถัดไป*/
.itopplus-sidebar-menu-parent a {
    color: #fff !important;
}
.itopplus-sidebar-menu-parent a:active {
    background-color: #d3202f;
    color: #fff!important;
}
}
/*เมนูมือถือ slidebar*/


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

}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1900px) {
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 ;
}
  
.pad-above-footer1 {
    padding: 22% 0 0 !important;
}  
  
.text-gel1 {
  font-size: 30px !important;
  }  
  
.text-bg-green1 {
    font-size: 44px !important;
  }
.text-bg-green2 {
    font-size: 30px !important;  
  }
  
.pad-cu1 {
    padding: 5% 0 0;
}  
}

/*------------------Effect------------------*/
.ef1{
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
}
.ef1:hover{
	-webkit-transform: scale(0.97);
    transform: scale(0.97);
}
.ef2{
    -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;
}
.ef2:hover{
	-webkit-transform: translateY(-8px);
    transform: translateY(-8px);
}



/*------------------Footer------------------*/
.text-footer1 {
    font-family: 'Pacifico', cursive;
    font-size: 40px;
    text-align: center;
}
.text-footer2 {
    text-align: center;
    font-size: 16px;
}
.bg-red-footer1 {
    color: #fff;
    background-color: #d2202f;
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    padding: 25px 10px;
    border-radius: 30px;
    width: 90%;
    display: block;
    margin: 0 auto;
}
.img-footer1 {
    width: 50%;
    display: block;
    margin: 0 auto;
}
.text-icon-footer1 {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
}
.text-icon-footer2 {
    text-align: center;
    font-size: 16px;
    padding-bottom: 10%;
}
.pad-above-footer1{
	padding: 16% 0 0;
}
#background5f696d952fd449001ac29336 {
    margin-bottom: 2%;
}
#background5fb37f4b52814c0019ad4951 {
    margin-bottom: 2%;
}
#background5fb37f41fd323400195e6f56 {
    margin-bottom: 2%;
}
#background5f6af67be15eb90019d9f63b {
    margin-bottom: 2%;
}


/*------------------Home------------------*/
.pad-home1 {
    margin-top: 25%;
    padding-left: 10%;
}
.text-activity1 {
    text-align: center;
    font-size: 46px;
    font-weight: 600;
    padding: 5% 0 2%;
    color: #fff;
}
.text-activity2 {
    color: #fff;
    text-align: center;
    font-size: 18px;
    font-weight: 300;
    padding-bottom: 2%;
}
.img-icon-ativity1 {
    width: 70%;
    display: block;
    margin: 0 auto 1%;
}
.texticon-ativity1 {
    text-align: center;
    color: #fff;
    font-size: 18px;
    height: 50px;
}
.text-bg-green1 {
    text-shadow: 1px 1px 5px #fff, 1px -1px 5px #fff, 0px 0px 3px #fff, -1px 1px 5px #fff, 0 0 0 #fff;
    font-size: 32px;
    color: #f12637;
    font-weight: 600;
    padding-top: 10%;
}
.text-bg-green2 {
    font-size: 21px;
    line-height: 1.2;
}
.text-gallery1 {
    color: #76be43;
    font-size: 50px;
    font-family: 'Pacifico', cursive;
    text-align: center;
    padding: 10% 0 1%;
}




/*------------------อัลบั้มภาพ------------------*/
figure.effect-honey {
    background: transparent;
}
figure.effect-selena {
    background: transparent;
}
figure.effect-honey figcaption::before {
    background: #ffce07;
}
figure.effect-honey p {
    position: absolute;
    width: 45%;
    left: 0;
}
figure.effect-honey img {
	max-width: none;
	-webkit-transition: opacity 0.32s, -webkit-transform 0.32s;
	transition: opacity 0.32s, transform 0.32s;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
figure.effect-honey:hover img {
	opacity: 0.4;
	-webkit-transform: scale3d(1.1,1.1,1);
	transform: scale3d(1.1,1.1,1);
}
figure.effect-jazz figcaption::after {
    border-top: 0px solid #fff;
    border-bottom: 0px solid #fff;
}
.text-gel-home1 {
    color: #fff;
    font-size: 18px;
    text-align: left;
    background-color: #ffb607;
    padding: 10px 0 10px 15px;
    border-radius: 0 35px 35px 0;
}
.text-gel1 {
    font-size: 24px;
    position: absolute;
    width: 60%;
    right: 0;
    color: #000;
    font-weight: 600;
    text-align: left;
    padding: 2% 0 1% 13%;
    text-shadow: 3px 0 5px #fff, -1px -1px 3px #fff, 1px 1px 3px #fff, -1px 1px 0 #fff, 0 0 0 #fff;
}
.border-red1 {
    border-bottom: 3px solid #eb1616;
    width: 30%;
    margin: 4% 0;
}
.img-logo-bg1 {
    width: 70%;
    display: block;
    margin: 5% auto -13%;
}


/*------------------หัวข้อ------------------*/
.bg-yellow-home {
    text-align: center;
    font-size: 28px;
    padding: 2% 0 0;
    color: #000;
}
.text-title1 {
    color: #ffce07;
    font-size: 24px;
    font-family: 'Pacifico', cursive;
    text-align: center;
    padding: 0 0 2%;
    letter-spacing: 2px;
}

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

.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>.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: #ffb607;
    border-color: #ffb607;
}

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

.pagination>li>a:hover, .pagination>li>span:hover, .pagination>li>a:focus, .pagination>li>span:focus {
    color: #ffffff;
    background-color: #d61d2f;
    border-color: #d61d2f;
}
.pagination-sm>li:last-child>a, .pagination-sm>li:last-child>span {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}


/*----------from Contact----------*/
.no-js #Component5f6b180275512c001a957727 label {
    display: none!important;
}
.no-js #Component5f6b180275512c001a957727 .col-md-6 {
    width: 100%;
    margin-left: auto;
    display: block;
    margin-right: auto;
    float: initial;
}
.no-js #Component5f6b180275512c001a957727 .form-control {
    border: 1px solid #f5f5f5;
    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: 20px 20px;
    background: #f5f5f5;
    color: #000;
}
.no-js #Component5f6b180275512c001a957727 .form-control:focus {
    border-color: #000;
    -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 #Component5f6b180275512c001a957727 .btn {
    background-image: -webkit-linear-gradient(top,#ffb607 0,#ffb607 100%);
    background-image: -o-linear-gradient(top,#ffb607 0,#ffb607 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#ffb607 ),to(#ffb607 ));
    background-image: linear-gradient(to right, #ffb607 0%,#ffb607 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffb607',endColorstr=#ffb607,GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    background-repeat: repeat-x;
    border-color: #0000;
    border-radius: 0px;
    padding: 10px 20px;
    font-size: 14px;
    border: 0px solid transparent;
    color: #fff;
}

.no-js #Component5f6b180275512c001a957727 .btn-default:active {
background-color: #ffb607;
}

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

.no-js #Component5f6b180275512c001a957727 .form-control:hover {
    border-color: #ffb607;
}


/*----------เนื้อหาระบบ----------*/
.Contentmanager .site .col-section .item.-micro a .caption .title {
    font-size: 20px;
    font-weight: 500;
  color: #000;
}
.Contentmanager .site .col-section .item.-micro a:hover .caption .title {
    color: #76be43;
}
.Contentmanager .site .col-section .item.-micro a .caption .time {
    margin-bottom: 10px;
    font-size: 16px;
    color: #5d5d5d;
}
.Contentmanager .site .col-section .item.-micro a .post {
    text-align: center;
    margin: 10px;
    font-size: 14px;
    color: #bbb;
}
.managerHeader {
    font-size: 24px;
    color: #000;
}
#Contentmanager .post-time {
    font-size: 14px;
    color: #666;
}
.page-header {
    padding-bottom: 9px;
    margin: 40px 0 40px;
    border-bottom: 0px solid #eee;
}
.Contentmanager .img-thumbnail, .thumbnail {
    -webkit-box-shadow: 0 1px 2px rgb(0 0 0 / 0%);
    box-shadow: 0 1px 2px rgb(0 0 0 / 0%);
}
.Contentmanager .img-thumbnail {
    border-radius: 0;
      padding: 0;
  border: 0px solid #ddd;
}
.fbcomments, .fb-comments{
    display: none;
}
.landingpagemanager{
    display: none;
}


/*------------------------------------------------------Mode ipad------------------------------------------------------*/
@media only screen and (max-width: 768px){
#background5f6ac64748efb6001aa98b6e .col-md-3.col-sm-6.col-xs-12.padding {
    width: 25%;
}
  
#background5fb37f41fd323400195e6f56 .col-md-3.col-sm-6.col-xs-12.padding {
    width: 25%;
}  
 .text-bg-green1 {
   font-size: 20px;
       padding-top: 2%;
  } 
.text-bg-green2 {
    font-size: 16px;
}  
  
.text-gel1 {
    font-size: 16px;
    padding: 0 0 1% 13%;
}  
  
figure.effect-honey p {
    width: 75%;
}  
  
.text-gallery1 {
  font-size: 28px;
  }  
  
#background5f696bf465bba60019b35520 .col-md-3.col-sm-6.col-xs-12.padding {
    width: 25%;
} 
  
#background5f6af67be15eb90019d9f62e .col-md-3.col-sm-6.col-xs-12.padding {
    width: 25%;
}    
  
#background5f6aecdfc8114500192a675f .col-md-3.col-sm-6.col-xs-12.padding {
    width: 25%;
}   
  
/*----------ค้นหา----------*/
 .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;
}    
  
  
  .btn-primary.active, .btn-primary:active {
    background-color: #ffb607;
    border-color: #ffb607;
}  
  
.btn-primary:focus, .btn-primary:hover {
    background-color: #ffb607;
    background-position: 0 -15px;
}  
.btn-primary.active, .btn-primary:active, .btn-primary:focus, .btn-primary:hover, .open>.dropdown-toggle.btn-primary {
    color: #fff;
    background-color: #ffb607;
    border-color: #ffb607;
}   
  
  
.text-footer1 {
    font-size: 22px;
}
.bg-red-footer1 {
    font-size: 14px;
  width: 100%;
  }  
  
  
 .pad-above-footer1{
	padding: 0;
} 
#background5f696d952fd449001ac29336 .col-md-4.col-sm-4.col-xs-12.padding {
    width: 50%;
}  
#background5f6af67be15eb90019d9f63b .col-md-4.col-sm-4.col-xs-12.padding {
    width: 50%;
}   
  
#background5fb37f4b52814c0019ad4951 .col-md-4.col-sm-4.col-xs-12.padding {
    width: 50%;
}   
}


/*------------------------------------------------------Mode Mobile------------------------------------------------------*/
@media only screen and (max-width: 414px){
  
.itopplus-bgmain {
  background-color: #b7cad9;
  }  
#background5f696d952fd449001ac29336 .col-md-4.col-sm-4.col-xs-12.padding {
    width: 100%;
} 
  
  #background5f6af67be15eb90019d9f63b .col-md-4.col-sm-4.col-xs-12.padding {
    width: 100%;
} 
#background5fb37f4b52814c0019ad4951 .col-md-4.col-sm-4.col-xs-12.padding {
    width: 100%;
}  
  
#background5f6ac64748efb6001aa98b6e .col-md-3.col-sm-6.col-xs-12.padding {
    width: 50%;
} 
#background5f6aecdfc8114500192a675f .col-md-3.col-sm-6.col-xs-12.padding {
    width: 50%;
}    
  
.texticon-ativity1 {
    font-size: 14px;
}
.pad-above-footer1{
	padding: 0;
}
#background5f696d952fd449001ac29336, #background5f6af67be15eb90019d9f63b, #background5fb37f41fd323400195e6f56, #background5fb37f4b52814c0019ad4951 {
    margin-bottom: 0;
  }
  
  
.pad-home1 {
    margin-top: 5%;
    padding-left: 0%;
}  
  
.text-gel-home1 {
    border-radius: 0;
}  
.text-gel-home1:hover {
	background-color: #d2202f;
    transition: 0.32s;
}    
  
  
.text-title1 {
    font-size: 22px;
    padding: 0 0 8%;

}  
  
.bg-red-footer1 {
    font-size: 16px;
  width: 100%;
  }  
  
/*----------ค้นหา----------*/
  .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;
  }     
      
}

