.itopplus-background {

}
a {
 color:#282828;
}
a:hover {
 color:#903c5e;
}

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


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


.navbar-default .navbar-brand, .navbar-default .navbar-nav>li>a, .navbar-default .navbar-text {
    color: #4d4d4d;
      font-size: 16px;
}
.text-bar {
    color: #4d4d4d!important;
}
.navbar-default .navbar-toggle .icon-bar{
	background-color: #4d4d4d!important;
}

/*เมนูกึ่งกลาง*/
/* 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-default .navbar-brand, .navbar-default .navbar-nav>li>a, .navbar-default .navbar-text {
    padding-left: 9px;
    padding-right: 9px;
}
}

/* 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-default .navbar-brand, .navbar-default .navbar-nav>li>a, .navbar-default .navbar-text {
    padding-left: 10px;
    padding-right: 10px;
}
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1900px) {
  #Component5dda234edc159700127ad128 .col-md-12.col-sm-12.col-xs-12 {
    padding-left: 8px!important;
    padding-right: 8px!important;
}
  .textheight {
   height: 400px!important;
  }
  
}

/*แถบเมนูเล็ก*/
/* Medium Devices, Desktops */
@media only screen and (max-width : 768px) {  
  #mobileonly{
  	visibility : hidden;
    height:0px;
    width:0px;
  }  

  p#logowebsite{
  	font-size:10px;
  }

  #scrollTop{
    position: fixed;
    left: 10px;
    bottom: 5px;
    opacity: 0.5;
  }

  #scrollTop:hover{
    opacity: 1.5;
  }
  .zIndex-pos3 {
    z-index: 100;
  }
}

@media (min-width: 769px){
  .navbar-nav>li>a {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }  
  .navbar {
    min-height: 0px !important;
}  
}

  @media(max-width: 500px){    
    #mobileonly{
  	visibility : visible;
      width:inherit;
      height:inherit;
  }    
    #popular{
    	display : none;
    }        
  }



.effectimg {
    margin-bottom: 10px;
    transition: 0.5s;
}
.effectimg:hover {
    transition: 0.5s;
    transform: scale3d(1.03, 1.03, 1.03);
}
.effect1 {
    transition: 0.5s;
}
.effect1:hover {
    transform: translateY(-8px);
}

.bghead {
    background: #c8ca8a;
    color: black;
    padding: 15px 5px;
    font-size: 36px;
    text-align: center;
    font-weight: bold;
    text-shadow: 1px 1px 2px #ffffff, -2px 0px 0 #ffffff, -2px -3px 0 #ffffff, 0px 3px 0 #ffffff, 2px 2px 0 #ffffff;
    border-radius: 30px;
    box-shadow: 0 4px 9px #ddd;
}
.btnp2 {
    background-color: #b1b459;
    color: #fff;
    padding: 6px 5px;
    text-align: center;
    font-size: 12px;
    margin: 0 auto;
    width: 100%;
    transition: 0.3s;
    border: 0px solid #8b8b8b;
    border-radius: 5px;
}
.btnp2:hover {
    background-color: #4e2c82;
    color: white;
}

.btnp3 {
    background-color: #571320;
    color: #fff;
    padding: 10px 5px;
    text-align: center;
    font-size: 16px;
    margin: 0 auto;
    width: 100%;
    transition: 0.3s;
    border: 0px solid #8b8b8b;
    border-radius: 5px;
}
.btnp3:hover {
    background-color: #903c5e;
    color: white;
}
.effectdownload {
   transition: 0.3s;
}
.effectdownload:hover {
    transform: scale(1.07);
   transition: 0.3s;
}



figure.effect-jazz {
    background: transparent;
}
figure.effect-jazz figcaption::after {
    border-top: 0px solid #fff;
    border-bottom: 0px solid #fff;
}
.bgp1 {
    background-color: rgb(1, 2, 39);
    padding: 15px 5px;
    color: white;
    font-size: 18px;
    text-align: center;
    margin-top: 7px;
}
.bgppink {
    background-color: rgb(187, 93, 102);
    padding: 15px 5px;
    color: white;
    font-size: 18px;
    text-align: center;
    margin-top: 7px;
}
.bgpgreen {
    background-color: rgb(67, 105, 28);
    padding: 15px 5px;
    color: white;
    font-size: 18px;
    text-align: center;
    margin-top: 7px;
}
.bgpblue {
    background-color: rgb(70, 176, 201);
    padding: 15px 5px;
    color: white;
    font-size: 18px;
    text-align: center;
    margin-top: 7px;
}
.bgppurple {
    background-color: rgb(85, 36, 129);
    padding: 15px 5px;
    color: white;
    font-size: 18px;
    text-align: center;
    margin-top: 7px;
}

.textheight {
   height: 420px;
  }


/*ตาราง*/
#myTable1 {
  border-collapse: collapse;
  width: 100%;
  border: 1px solid #eee;
  font-size: 16px;
  font-family: Prompt;
  color:#323232;
}

#myTable1 th, #myTable1 td {
  text-align: center;
  padding: 8px;
  border: 1px solid #eee;
}

#myTable1 tr {
  border-bottom: 1px solid #eee;
}

#myTable1 tr.header{
  background-color: #fff;
  color:#eeb416;
  font-size:22px;
}
#myTable1 tr:hover {
  background: #d9e2f3;
}


/*ตาราง*/



/*เนื้อหาระบบ*/
.nav-template7 li:hover {
    background-color: #f9fbff;
}
.nav-template7 li a {
    color: #571320;
    font-size: 18px !important;
    text-align: left;
}
.nav-template7 .btn-sm, .btn-group-sm>.btn {
    font-size: 14px;
}
.nav-template7 .fa-plus:before {
    content: "\f101";
}
.nav-template7 .col-md-12 {
    padding-left: 5px;
    padding-right: 5px;
}

/*Contentmanager*/
h3.managerHeader {
    text-align: center;
    font-weight: 600;
    font-size: 30px;
    color: #50bfc7;
}
#Contentmanager .post-time {
   display:none;
}
.landingpagemanager {
    display: none;
}
.page-header {
    padding-bottom: 20px;
    margin: 50px 20px 20px;
    border-bottom: 0px solid #9c9c9c;
}
.Contentmanager .site .col-section .item.-micro a .caption .title {
    text-align: center;
    font-size: 18px;
    color: #282828;
    padding: 5% 5% 1% 5%;
    font-weight: 500;
    background: white;
    height: 100px;
}
.Contentmanager .site .col-section .item.-micro a:hover .caption .title {
    color: #50bfc7;
}

.Contentmanager .site .col-section .item.-micro a .caption .time {
   font-size: 16px;
    color: #333;
   text-align: center;
}

article.col-md-6.item.-micro {
    width: 33.33%;
}
.Contentmanager .site .col-section .item.-micro {
    padding: 20px 10px 0px 15px;
}
.Contentmanager .site .col-section .item.-micro a .image {
    width: 100%;
    margin-bottom: 0px;
}
.Contentmanager .site .col-section .item.-micro a .caption {
      width: 100%;
      background: transparent;
      padding-left: 0;
}
.Contentmanager .site .col-section .item.-micro:nth-child(odd) {
    border-right: none;
    border-bottom: none;
}
.Contentmanager .site .col-section .item.-micro:nth-child(even) {
    border-bottom: none;
}

.Contentmanager .site .col-section .item.-micro a .post {
    display: none;
}


.img-thumbnail {
    border: 0px solid #ddd;
}
.Contentmanager .thumbnail, .img-thumbnail {
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.075);
    box-shadow: 0 0 0 rgba(0,0,0,.075);
}
.contenemanager-gallery .thumbnail {
    border: 0px solid #ddd;
}
.contenemanager-gallery .col-xs-12.col-md-3 {
    padding-left: 5px;
    padding-right: 5px;
}



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

/*----------------------tap csss---------------------------*/
.no-js .nav-justified {
    width: 100%;
    border-bottom: solid 2px #50bfc7;
     display: -webkit-inline-box;
    overflow-x: auto;
     font-weight: 600;
      white-space: nowrap;
}

.nav-pills>li>a {
    border-radius: 0px;
}

.nav-pills>li.active>a, .nav-pills>li.active>a:hover, .nav-pills>li.active>a:focus {
    color: #d6c075;
    background-color: #f39d22;
    border-radius: 0px;
    
}
.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
    color: #333333;
    background-color: #d9e2f3;
    border-radius: 0px;
}

.nav-justified {
    width: 100%;
    border-bottom: solid 2px #50bfc7;
    display: -webkit-inline-box;
    overflow-x: auto;
}


/*timeline*/
.main-timeline{ }
.main-timeline:after{
    content: '';
    display: block;
    clear: both;
}
.main-timeline:before {
    content: '';
    height: 61%;
    width: 1px;
    border: 2px dashed #571320;
    transform: translateX(-50%);
    position: absolute;
    left: 50%;
    top: 16%;
}
.main-timeline .timeline{
    width: 50%;
    padding: 100px 70px 0 25px;
    margin: 0 50px 0 0;
    float: left;
    position: relative;
}
.main-timeline .timeline-content{
    padding: 15px 15px 15px 40px;
    border: 2px solid #bb5d66;
    border-radius: 15px 0 15px 15px;
    display: block;
    position: relative;
}
.main-timeline .timeline-content:hover{ text-decoration: none; }
.main-timeline .timeline-content:after{
    content: '';
    background-color: #bb5d66;
    height: 18px;
    width: 15px;
    position: absolute;
    right: -15px;
    top: -2px;
    clip-path: polygon(100% 0, 0 0, 0 100%);
}
.main-timeline .timeline-year{
    color: #fff;
    background-color: #bb5d66;
    font-size: 22px;
    font-weight: 900;
    text-align: center;
    line-height: 98px;
    height: 100px;
    width: 100px;
    border-radius: 50%;
    position: absolute;
    right: -120px;
    top:-85px;
}
.main-timeline .timeline-year:after{
    content: '';
    height: 130px;
    width: 130px;
    border: 8px solid #bb5d66;
    border-left-color: transparent;
    border-radius: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(-20deg);
    position: absolute;
    left: 50%;
    top: 50%;
}
.main-timeline .timeline-icon{
    color: #fff;
    background-color: #bb5d66;
    font-size: 35px;
    text-align: center;
    line-height: 50px;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    transform: translateY(-50%);
    position: absolute;
    top: 50%;
    left: -25px;
    transition: all 0.3s;
}
.main-timeline .title{
    color: #222;
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 7px 0;
}
.main-timeline .description{
    color: #111;
    font-size: 16px;
    letter-spacing: 0px;
    text-align: left;
    margin: 0 0 5px;
}
.main-timeline .timeline:nth-child(even){
    padding: 100px 25px 0 70px;
    margin: 0 0 0 50px;
    float: right;
}
.main-timeline .timeline:nth-child(even) .timeline-content{
    padding: 15px 30px 15px 15px;
    border-radius: 0 15px 15px 15px;
}
.main-timeline .timeline:nth-child(even) .timeline-content:after{
    transform: rotateY(180deg);
    right: auto;
    left: -15px;
}
.main-timeline .timeline:nth-child(even) .timeline-year{
    right: auto;
    left: -120px;
}
.main-timeline .timeline:nth-child(even) .timeline-year:after{
    transform: translateX(-50%) translateY(-50%) rotate(200deg);
}
.main-timeline .timeline:nth-child(even) .timeline-icon{
    left: auto;
    right: -25px;
}
.timeline:nth-child(4n+2) .timeline-content,
.timeline:nth-child(4n+2) .timeline-year:after{
    border-color: #446a1d;
}
.timeline:nth-child(4n+2) .timeline-year:after{ border-left-color: transparent; }
.timeline:nth-child(4n+2) .timeline-content:after,
.timeline:nth-child(4n+2) .timeline-icon,
.timeline:nth-child(4n+2) .timeline-year{
    background-color: #446a1d;
}
.timeline:nth-child(4n+3) .timeline-content,
.timeline:nth-child(4n+3) .timeline-year:after{
    border-color: #47b0c9;
}
.timeline:nth-child(4n+3) .timeline-year:after{ border-left-color: transparent; }
.timeline:nth-child(4n+3) .timeline-content:after,
.timeline:nth-child(4n+3) .timeline-icon,
.timeline:nth-child(4n+3) .timeline-year{
    background-color: #47b0c9;
}
.timeline:nth-child(4n+4) .timeline-content,
.timeline:nth-child(4n+4) .timeline-year:after{
    border-color: #562581;
}
.timeline:nth-child(4n+4) .timeline-year:after{ border-left-color: transparent; }
.timeline:nth-child(4n+4) .timeline-content:after,
.timeline:nth-child(4n+4) .timeline-icon,
.timeline:nth-child(4n+4) .timeline-year{
    background-color: #562581;
}

@media screen and (max-width:767px){
    .main-timeline:before{ display: none; }
    .main-timeline .timeline{
        width: 100%;
        padding-top: 80px;
        padding-right: 12px;
        margin-bottom: 20px;
    }
    .main-timeline .timeline:nth-child(even){
        padding-left: 10px;
        padding-top: 80px;
        margin-bottom: 20px;
    }
    .main-timeline .timeline-content,
    .main-timeline .main-timeline .timeline:nth-child(even) .timeline-content{
        background-color: #fff;
        padding-top: 25px;
    }
    .main-timeline .timeline-content:after{ display: none; }
    .main-timeline .timeline-year{
        font-size: 24px;
        line-height: 70px;
        height: 70px;
        width: 70px;
        right: 0;
        top: -65px;
    }
    .main-timeline .timeline-year:after{ display: none; }
    .main-timeline .timeline:nth-child(even) .timeline-year{ left: 3px; }
}
@media screen and (max-width:567px){
    .main-timeline .title{ font-size: 18px; }
}

/*search*/
 .itopplus-search-image-flex-item {
    width: 213px!important;
    min-height: 350px!important;
    max-height: 400px!important;
       background-color: #f9f9f9!important;
}
  .itopplus-search-image-flex-item img {
    width: 100%!important;
}
    .search_titleText {
    padding: 5px 0px;
    font-size: 16px;
}
    .search_text {
    padding: 5px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: block;
}
.pagination>.active>a, .pagination>.active>span, .pagination>.active>a:hover, .pagination>.active>span:hover, .pagination>.active>a:focus, .pagination>.active>span:focus {
    background-color: #903c5e;
    border-color: #903c5e;
}
.pagination>li>a, .pagination>li>span {
    color: #903c5e;
}
.pagination>li>a:hover, .pagination>li>span:hover, .pagination>li>a:focus, .pagination>li>span:focus {
    color: #903c5e;
}


@media only screen and (max-width : 768px) { 
  #myTable1 th, #myTable1 td {
    text-align: center;
    padding: 8px;
    border: 1px solid #eee;
    white-space: nowrap;
  } 
.main-timeline:before {
    content: '';
    height: 62%;
    width: 1px;
    border: 2px dashed #571320;
    transform: translateX(-50%);
    position: absolute;
    left: 50%;
    top: 10%;
}
    .btn-primary {
    background-image: linear-gradient(to bottom,#903c5e 0,#903c5e 100%);
    border-color: #903c5e;
}
  .btn-primary:hover, .btn-primary:focus {
    background-color: #903c5e;
}
  .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open>.dropdown-toggle.btn-primary {
    border-color: #903c5e;
}
  .btn-primary:active, .btn-primary.active {
    background-color: #903c5e;
    border-color: #903c5e;
}
  .textheight {
    height: 660px;
}
      .itopplus-search-image-flex-item {
    width: 227px!important;
    min-height: 300px!important;
    max-height: 400px!important;
}
  .search_titleText {
    padding: 5px 0px;
    font-size: 14px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: block;
}
}


@media only screen and (max-width : 414px) { 
.bghead {
    background: #c8ca8a;
    color: black;
    padding: 15px 5px;
    font-size: 30px;
    text-align: center;
    font-weight: bold;
    text-shadow: 1px 1px 2px #ffffff, -2px 0px 0 #ffffff, -2px -3px 0 #ffffff, 0px 3px 0 #ffffff, 2px 2px 0 #ffffff;
    border-radius: 30px;
    box-shadow: 0 4px 9px #ddd;
}
    article.col-md-6.item.-micro {
    width: 100%;
}
     .itopplus-search-image-flex-item {
    width: 100%!important;
    min-height: 210px!important;
    max-height: inherit!important;
}
  .itopplus-search-image-flex-item img {
    width: 100%!important;
}
  .search_titleText {
    padding: 5px 0px;
    font-size: 14px;
}
  .search_text {
    padding: 5px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: block;
}
}

