.itopplus-background {
background-image:none;background-color :rgba(168, 25, 25, 1);
}
.itopplus-main {
    color: #000;
    background-color: #fff;
}
.itopplus-background {
    background-color: rgb(255 255 255);
}



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

a:hover {
    color: #e4be5b;
}

.modal-header {
    min-height: 16.42857143px;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    font-family: tahoma;
}

.navbar-default {
    background: 0 0;
    border-bottom: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none
}
.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover {
    color: #e4be5b;
    background-color: none;
    -webkit-box-shadow: 0 3px 0 0 #e4be5b;
    -moz-box-shadow: 0 3px 0 0 #e4be5b;
    box-shadow: 0 3px 0 0 #e4be5b;
}
.navbar-default .navbar-toggle:focus .icon-bar,.navbar-default .navbar-toggle:hover .icon-bar {
    background-color: #e4be5b;
}
.navbar-default .navbar-toggle:focus .text-bar,.navbar-default .navbar-toggle:hover .text-bar {
    color: #e4be5b!important;
}
@media only screen and (max-width :768px) {
    .navbar-default .navbar-brand {
        padding: 15px;
        color: #ffffff;
    }
}
@media (max-width:768px) {
    .navbar-default {
        background: #000
    }
    .navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover {
        color: #e4be5b;
        background-color: none;
    }
}
@media (max-width:768px) {
    .navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover {
        box-shadow: 0 3px 0 -1px #e4be5b;
    }
}
.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover {
    color: #e4be5b!important;
}
.navbar-default .navbar-nav .open>.dropdown-menu {
    background: #000000;
      color: #fff;
}
.dropdown-submenu:hover>.dropdown-menu {
    background-color: #000000;
      color: #fff;
}
.dropdown-menu, .dropdown-menu>li>a {
    background-color: #000000;
    color: #fff;
}

/*เมนูกึ่งกลาง*/
/* 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 ;
}
.navbar-nav>li>a {
    padding-top: 10px;
    padding-bottom: 6px;
}
  .nav>li>a {
    padding: 10px 10px;
}
}

/* 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 ;
}
.navbar-nav>li>a {
    padding-top: 10px;
    padding-bottom: 6px;
}
  .nav>li>a {
    padding: 10px 10px;
}
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1900px) {
.borderpic {
    border: 2px solid #dcb658;
    padding: 10px;
    height: 345px!important;
      transition: 0.5s;
  }
  .borderpic1 {
    border: 2px solid #dcb658;
    padding: 10px 0px;
    height: 450px!important;
    transition: 0.5s;
}
  #InmyDiv1574916780745 , #InmyDiv1574916713729 {
    margin-bottom: 4%;
}
  .padb {
    padding-top: 1%;
}
}



.texthead {
    text-align: center;
    font-family: ThaiSansNeue;
    font-size: 6em;
    color: #e4be5b;
    line-height: 1.1;
}
.borderpic {
   border: 2px solid #dcb658;
   color:#000;
    padding: 10px;
    height: 260px;
    font-size: 20px;
    transition: 0.5s;
}
.borderpic:hover {
    background: #dbb558;
    color: #220404;
}
.borderpic img {
    width: 90% !important;
    margin-top: -40% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.borderpic1 {
    border: 2px solid #dcb658;
     color:#000;
    padding: 10px 0px;
    height: 320px;
    font-size: 20px;
    transition: 0.5s;
}
.borderpic1:hover {
    background: #dbb558;
    color: #220404;
}
.borderpic1 img {
    width: 90% !important;
    margin-top: -12% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 10%;
}
figure.effect-sadie p {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 6em 0 2em 0 !important;
    width: 100%;
    opacity: 1;
    -webkit-transform: translate3d(0,10px,0);
    transform: translate3d(0,10px,0);
    background: linear-gradient(to bottom,rgba(0, 0, 0, 0) 0,rgba(62, 11, 11, 0.85) 50%);
}

figure.effect-sadie figcaption::before {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: -webkit-linear-gradient(top,rgba(72,76,97,0) 0,rgba(72, 76, 97, 0) 75%);
    background: linear-gradient(to bottom,rgba(72,76,97,0) 0,rgba(72, 76, 97, 0) 75%);
    content: '';
    opacity: 0;
    -webkit-transform: translate3d(0,50%,0);
    transform: translate3d(0,50%,0);
}

figure.effect-sadie:hover figcaption::before, figure.effect-sadie:hover p {
    opacity: 1;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

.textsadie {
      font-size: 20px;
}
.effect1 {
    transition: 0.5s;
     margin-bottom: 10%;
}
.effect1:hover {
    transform: translateY(-8px);
}

/**/
.itopplus-search-image-flex-item {
    background-color: #230404!important;
    margin: 5px;
    padding-top: 5px;
    width: 213px!important;
    min-height: 300px!important;
    max-height: 300px!important;
}
.pagination>.active>a, .pagination>.active>span, .pagination>.active>a:hover, .pagination>.active>span:hover, .pagination>.active>a:focus, .pagination>.active>span:focus {
    background-color: #230404;
    border-color: #230404;
}
.pagination>li>a:hover, .pagination>li>span:hover, .pagination>li>a:focus, .pagination>li>span:focus {
    color: #230404;
}
.pagination>li>a, .pagination>li>span {
    color: #230404;
}


@media only screen and (max-width :768px) {
.borderpic1 {
    border: 2px solid #dcb658;
    padding: 10px 0px;
    height: 410px;
    font-size: 20px;
    transition: 0.5s;
    margin-bottom: 5%;
}
  .itopplus-search-image-flex-item {
    width: 228px!important;
    min-height: 340px!important;
    max-height: 340px!important;
}
  .btn-primary {
    background-image: linear-gradient(to bottom,#e3bc5b 0,#e3bc5b 100%);
    border-color: #e3bc5b;
}
  .btn-primary:hover, .btn-primary:focus {
    background-color: #e3bc5b;
}
  .btn-primary:active, .btn-primary.active {
    background-color: #e3bc5b;
    border-color: #e3bc5b;
}
  div#contentnewmode5de9d351d0a5d2001256c3c2 {
    margin-top: -275%;
}
  div#contentnewmode5de9d59fec43680013286cbb {
    margin-top: -30%;
}
  
}

@media only screen and (max-width :414px) {
.texthead {
    text-align: center;
    font-family: ThaiSansNeue;
    font-size: 2.8em;
    color: #e4be5b;
    line-height: 1.1;
}
  .textsadie {
    font-size: 20px;
    text-align: center;
    padding: 10px 5px;
}
  .borderpic {
    border: 2px solid #dcb658;
    padding: 10px;
    height: 260px;
    font-size: 20px;
    transition: 0.5s;
    margin-bottom: 30%;
}
  .borderpic1 {
    border: 2px solid #dcb658;
    padding: 10px 0px;
    height: 370px;
    font-size: 20px;
    transition: 0.5s;
    margin-bottom: 5%;
}
  #contentnewmode5ddf4d9a9eeb6300128aab66 {
    padding: 10px 10px 0px 10px!important;
}
  .itopplus-search-image-flex-item {
    margin: 5px;
    padding-top: 5px;
    width: 100%!important;
    min-height: 290px!important;
    max-height: inherit!important;
    background-color: #230404!important;
}
    div#contentnewmode5de9d351d0a5d2001256c3c2 {
    margin-top: 0;
}
  div#contentnewmode5de9d59fec43680013286cbb {
    margin-top: 0;
}
}

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

.fancybox-skin{
  background: none!important;
}

