.itopplus-background {

}
a {
 color: #000;
}
a:hover {
   color: #00a850;
}


/*--------------------เมนู----------------------------*/

.dropdown-menu>li>a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
    font-size: 22px;
}

.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover {
    color: #fff;
    background-color: #18abe3;
    border-radius: 16px;
}

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

.navbar-default .navbar-toggle {
        border-color: #eeeeee;
}
.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover {
    background-color: #18abe3;
    border-radius: 16px;
}
.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: #18abe3;
    color: #fff!important;
    border-radius: 16px;
}
.navbar-default .navbar-nav .open .dropdown-menu .menu-item a:hover {
    background: #18abe3;
    border-radius: 16px;
}
.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover {
    background-color: #18abe3!important;
    border-radius: 16px;
    background-image: none;
    color: #fff!important;
}
@media (max-width:768px) {
    .navbar-default {
        background: #eeeeee;
    }
  .row-fluid [class*=col-sm-5fix] {
   width: 50%;
   float:left;  
 }
.itopplus-bg1 {
    background-repeat: no-repeat;
    background-size: 300% auto;
    background-position: center;
    color: #fff;
}
}

@media{
 ul.nav li.dropdown:hover > ul.dropdown-menu {
   display: block;
margin: 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 ;
}

}

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

}

/*----------------อัลบัม-----------------------*/

.thumbs {
    display: block;
    margin-bottom: 20px;
    line-height: 1.42857143;
    background-color: transparent;
    border: 0;
    box-shadow: none;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    color: #18abe3;
    font-size:24px;
}


/*----------effect steve---------*/

figure.effect-steve h2 {
    position: relative;
    margin-top: 1em;
    padding: .0em;
}

figure.effect-steve h2, figure.effect-steve p {
    background: #19abe3;
    color: #ffffff;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
    font-size:24px;
}


figure.effect-steve p {
    margin-top: 1.5em;
    padding: .5em;
    font-weight: 800;
    opacity: 0;
    -webkit-transition: opacity .35s,-webkit-transform .35s;
    transition: opacity .35s,transform .35s;
    -webkit-transform: scale3d(.9,.9,1);
    transform: scale3d(.9,.9,1);
    margin-right: -30px;
    margin-left: -30px;
}


/*----------effect ruby ---------*/

figure.effect-ruby p {
    margin: 1em 0 0;
    padding: 3em;
    border: 0px solid #fff;
    opacity: 0;
    -webkit-transition: opacity .35s,-webkit-transform .35s;
    transition: opacity .35s,transform .35s;
    -webkit-transform: translate3d(0,20px,0) scale(1.1);
    transform: translate3d(0,20px,0) scale(1.1);
}

/*----------effect ข้อความsarena---------*/

figure {
margin: 0;
padding: 0;
overflow: hidden;
}

figure:hover span {
bottom: -36px;
opacity: 1;
}

.hover01 figure img {
-webkit-transform: scale(1);
transform: scale(1);
-webkit-transition: .3s ease-in-out;
transition: .3s ease-in-out;
  border-radius: 50%;
}

.hover01 figure:hover img {
    -webkit-transform: scale3d(0.95,0.95,1);
    transform: scale3d(0.80,0.80,1);
    -moz-box-shadow: 0 0 10px #444;
    -webkit-box-shadow: 0 0 10px #444;
    box-shadow: 0 0 0px #444;
    border-radius: 50%;
}

/*----------------effect ข้อความ--------------------------------*/

[class^="hvr-"] {
    cursor: pointer;
    background: #e1e1e1;
    text-decoration: none;
    color: #0abaf8;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
   border:5px solid #00a75b;
   border-radius: 10px;
    padding:5px;
}

.hvr-shutter-in-horizontal {
    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);
    position: relative;
    background: #00a75b;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
      width: 100%;
}
.hvr-shutter-in-horizontal:hover:before, .hvr-shutter-in-horizontal:focus:before, .hvr-shutter-in-horizontal:active:before {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
  color: #ffffff;
}

.hvr-shutter-in-horizontal:hover, .hvr-shutter-in-horizontal:focus, .hvr-shutter-in-horizontal:active {
    color: white;
}

.hvr-shutter-in-horizontal:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
        border-radius: 10px;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    -webkit-transform-origin: 50%;
    transform-origin: 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;
}

.hvr-float-shadow {
    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);
    position: relative;
    background: #2098D1;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

/*ฟอร์มสร้างเอง*/
#capcha0{
        margin-left: -7px;
        margin-right: -45px;
}

@media (max-width:768px) {
#display1{
        margin-right: -20px;
  }
#display3{
        margin-right: -20px;
  }
}

.btn-info {
    background-image: -webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);
    background-image: -o-linear-gradient(top,#5bc0de 0,#2aabd2 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#2aabd2));
    background-image: linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de',endColorstr='#ff2aabd2',GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    background-repeat: repeat-x;
    border-color: #28a4c9;
    font-size: 20px;
}

/*--------------contant--------------------*/

.nav-template7 li a {
    color: #000;
    display: block;
    font-size: 20px !important;
}

.text-justify {
    text-align: left;
}


 /*ฟอร์มสร้างเอง*/
#capcha0{
        margin-left: -7px;
        margin-right: -45px;
}

@media (max-width:768px) {
#display1{
        margin-right: -20px;
  }
#display3{
        margin-right: -20px;
  }
}

@media (max-width:768px) {
/*Hide Menu Phone*/
         p.search_urlSearch {
              word-wrap: break-word;
         }
         .col-sm-12, .col-md-12, .col-lg-12 {
            padding-right: 2px;
           padding-left: 2px;
         }
      .ui.segment:last-child {
          word-break: break-all;
}
  
  .form-control {
    display: block;
    width: 90%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
}



@media (max-width:768px) {
label.col-xs-12.col-sm-3.col-md-3.control-label {
   width: 33%;
}

