html { overflow-y: scroll !important;}::-webkit-scrollbar {display: none;}
.itopplus-background {

}

.itopplus-bgmain2 a{
    color: #333;
}

.itopplus-bgmain2 a:hover {
	color:#002186;
}

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

.itopplus-footer a:hover {
	color:#6cbaff;
}



/*----------เมนู----------*/
.navbar-default {
    background: #258beb;
    border-radius: 0
}

.navbar-default .navbar-nav>li>a {
    color: #fff;
    font-size: 18px;
}

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


@media (max-width: 768px){
.navbar-default .navbar-toggle {
    border-color: transparent;
}
  .navbar-default .navbar-nav .open .dropdown-menu>li>a:hover, .navbar-default .navbar-nav .open .dropdown-menu>li>a:focus {
    color: #ffffff !important;
    background-color: #0000a4;
}
}


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

  /*-----ดันสไลด์ขึ้นไปตรงเมนู-----*/
  #Component5d70c252efcbd5001226c4dd{
      margin-top: -2%;

  }
  
  #contentnewmode5d70cc4b20765a0012beeebe {
    margin-right: -5%;
    margin-top: 4%;
}
  
  /*#contentnewmode5d70cc4b20765a0012beeebe{
      margin-right: -32%;
          margin-top: 7%;
  }*/
  
  #contentnewmode5d7205b6060aec00134496e8{
      margin-left: 10%;
  }
  
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 ;
}

}


@media only screen and (min-width : 1900px) {
  
  
  /*ค้นหา*/
  .itopplus-search-image-flex-item {
    background-color: #e7f3ff!important;
    width: 23%!important;
    padding: 10px;
    text-align: left;
    display: inline-block;
    min-height: 480px!important;
    max-height: 480px!important;
    padding-top: 10px!important;
}
  
  
#contentnewmode5d7205b6060aec00134496e8 {
	margin-left: 19% !important;
}
  
#contentnewmode5d70cc4b20765a0012beeebe {
	margin-right: -45% !important;
	margin-top: 7% !important;
}
  #capcha5d720d16e8352b001396cdfd #capcha0{
	margin-left: -0.5%;
    margin-right: -3% !important;
}
}



/*-----อัลบั้มภาพ-----*/  

#Component5d70dbfd6bc64d001281711e .thumbs {
    margin-bottom: -1px !important;
}

#Component5d7201b8060aec00134495f6 .thumbs {
    margin-bottom: -1px !important;
}


figure.effect-phoebe img {
	max-width: none;
	-webkit-transition: opacity 032s, -webkit-transform 0.32s;
	transition: opacity 0.32s, transform 0.32s;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

figure.effect-phoebe:hover img {
	opacity: 0.4;
	-webkit-transform: scale3d(1.1,1.1,1);
	transform: scale3d(1.1,1.1,1);
}

figure.effect-phoebe figcaption {
    background-color: rgba(0, 21, 85, 0.6);
}

figure.effect-phoebe:hover figcaption {
    background-color: rgba(0, 21, 85, 0.29);
}

figure.effect-phoebe p {
    margin-top: 17%;
}


figure.effect-steve h2, figure.effect-steve p {
        display: none;
}

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

figure.effect-steve:before {
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.67);
    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;
}

.thumbnail, .img-thumbnail {
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0);
}

.thumbnail {
    display: block;
    line-height: 1.42857143;
    background-color: #fff;
    border: 1px solid #ebebeb;
    border-radius: 0px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    padding-left: 10px !important;
    padding-right: 10px !important;
      padding-bottom: 10px !important;
}

.thumbnail:hover {
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.41);
}


/*------------from Contact-------------------*/
 
.no-js #Component5d721037060aec0013449827 label {
    display: none!important;
}
.no-js #Component5d721037060aec0013449827 .col-md-6 {
    width: 100%;
    margin-left: auto;
    display: block;
    margin-right: auto;
    float: initial;
}
.no-js #Component5d721037060aec0013449827 .form-control {
    border: 1px solid #258beb;
    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: 13px!important;
    padding: 20px;
    background: white;
    color: #000;
}


.no-js #Component5d721037060aec0013449827 .form-control:focus {
    border-color: #71b2ee;
    -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 #Component5d721037060aec0013449827 .btn {
    background-image: -webkit-linear-gradient(top,#258beb 0,#258beb 100%);
    background-image: -o-linear-gradient(top,#404040 0,#404040 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#258beb ),to(#258beb ));
    background-image: linear-gradient(to right, #258beb 0%,#258beb 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: 10px 30px;
    font-size: 12px;
    border: 0px solid transparent;
    color: #fff;
}
.no-js #Component5d721037060aec0013449827 .btn-default:active {
background-color: #404040;
}

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

.form-group .label a {
    color: #000;
}
.btn-primary:active, .btn-primary.active {
    background-color: #258beb;
    border-color: #258beb;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #258beb;
    background-position: 0 -15px;
}  




 /*------------ค้นหา -------------------*/
  .itopplus-search-image-flex-container {
   width: 100%!important;
   display: block!important;
}

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

.itopplus-search-shopcart-image {
    height: auto !important;
    overflow: hidden;
}  

.itopplus-search-image-flex-item img {
    width: 100%!important;
    margin-bottom: 10px;
}

 /*------------ฟอร์มสร้างเอง---------------*/

#capcha5d720d16e8352b001396cdfd #capcha0{
	margin-left: -0.5%;
    margin-right: -4%;
}

#upload5d720d16e8352b001396cdfd0 .progress {
    height: 20px;
    width: 498%;
    margin-bottom: 20px;
    overflow: hidden;
    background-color: #f5f5f5;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
    box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
}


.no-js  #formdisplay5d720d16e8352b001396cdfd .has-error .form-control {
    border-color: #258beb;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}



.no-js  #formdisplay5d720d16e8352b001396cdfd .has-error .form-control:focus {
    border-color: #258beb;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px #98c3ea;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px #98c3ea;
}

.no-js  #formdisplay5d720d16e8352b001396cdfd .form-control {
    border: 1px solid #258beb;
    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: 13px!important;
    padding: 17px;
    background: white;
    color: #000;
}

.no-js  #formdisplay5d720d16e8352b001396cdfd .FormPreview{
    color: #000;
}


#capcha5d720d16e8352b001396cdfd #capcha0{
	margin-left: -0.5%;
    margin-right: -4%;
}

#upload5d720d16e8352b001396cdfd0 .progress {
    height: 20px;
    width: 498%;
    margin-bottom: 20px;
    overflow: hidden;
    background-color: #f5f5f5;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
    box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
}


.no-js   #formdisplay5d8c898471ee31001a71e71c .has-error .form-control {
    border-color: #258beb;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}



.no-js   #formdisplay5d8c898471ee31001a71e71c .has-error .form-control:focus {
    border-color: #258beb;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px #98c3ea;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px #98c3ea;
}

.no-js   #formdisplay5d8c898471ee31001a71e71c .form-control {
    border: 1px solid #258beb;
    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: 13px!important;
    padding: 17px;
    background: white;
    color: #000;
}

.no-js   #formdisplay5d8c898471ee31001a71e71c .FormPreview{
    color: #000;
}




@media only screen and (max-width : 768px) {
  
/*-----footer-----*/  
#mainmenu5d70cabbefcbd5001226c595 .col-md-4.col-sm-4.col-xs-12.padding {
    width: 50%;
}
  
/*-----layout4-----*/  
#background5d70e8281d24a20013709e12 .col-md-3.col-sm-4.col-xs-4{ 
    width: 50%;
}
  
#mainmenu5d7efb46025a2c0019204419 .col-md-3.col-sm-6.col-xs-12 {
    width: 25%;
}
  
  
/*------อัลบั้มภาพ-------*/  
  figure.effect-phoebe p {
    margin-top: 10%;
}

/*-------ติดต่อเรา-------*/  
.btn-primary:active, .btn-primary.active {
    background-color: #258beb;
    border-color: #258beb;
}
  
  
 /*------------ฟอร์มสร้างเอง---------------*/
  #display4{
      margin-right: -3% !important;
  }
  #upload5d720d16e8352b001396cdfd0 .progress {
    height: 20px;
    width: 363% !important;
  }
    #capcha5d720d16e8352b001396cdfd #capcha0 {
    margin-left: -1% !important;
    margin-right: -6.5% !important;
}
  #btnview5d720d16e8352b001396cdfd{
  text-align: center;
  }
}



@media only screen and (max-width : 414px) {
  
  
/*-----footer-----*/  
#mainmenu5d70cabbefcbd5001226c595 .col-md-4.col-sm-4.col-xs-12.padding {
    width: 100%;
}
  #background5d70cabbefcbd5001226c595{
      margin-top: -5%;
  }
  
  
/*-----layout4-----*/  
#background5d70e8281d24a20013709e12 .col-md-3.col-sm-4.col-xs-4{ 
    width: 100%;
}
 
#Component5d70dbfd6bc64d001281711e, .thumbs {
    margin-bottom: 20px !important;
}
#Component5d7201b8060aec00134495f6 .thumbs {
    margin-bottom: 20px !important;
}
  
  
/*-----ค้นหา-----*/  
    .itopplus-search-image-flex-item {
    width: 97%!important;
    background-color: #e7f3ff!important;
    padding: 10px;
    text-align: left;
    display: inline-block;
    min-height: 150px!important;
    max-height: 450px!important;
    padding-top: 10px!important;
}
  .itopplus-search-image-flex-item img {
    width: 100%!important;
    margin-bottom: 10px;
}
  
 /*------------ฟอร์มสร้างเอง---------------*/
#display4 {
    margin-right: -8% !important;
}
  #upload5d720d16e8352b001396cdfd0 .progress {
    height: 20px;
    width: 134% !important;
}
  #capcha5d720d16e8352b001396cdfd #capcha0 {
    margin-left: -3% !important;
    margin-right: -16.5% !important;
}
  
  
 /*------------layout 4-------------*/  
#mainmenu5d7efb46025a2c0019204419 .col-md-3.col-sm-6.col-xs-12 {
    width: 100%;
}
  
}

.Contentmanager-thumbnail {
    padding: 2px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    border: none;    
    font-size: 18px;
  -webkit-box-shadow: none;
}

.btn-sm .text-center  {
    color: #333;
    font-size: 16px;
}

.fb_iframe_widget_fluid_desktop, .fb_iframe_widget_fluid_desktop span, .fb_iframe_widget_fluid_desktop iframe {
    max-width: 100%;
    display: none;
}


#capcha5d8c898471ee31001a71e71c #capcha0 {
    margin-left: -0.5%;
    margin-right: -4%;
}

