.itopplus-background {

}


.itopplus-banner {
  /*
    background: linear-gradient(to right, #ead0d4 0, #bc6a73 33%, #981826 68%, #981826 100%);
  */
    background: #000;
}a {
  color:#0e0e0e;
}

a:hover {
  color:#ed2129;
}

.itopplus-footer {
  background: #000;
}


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

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

.navbar-default .navbar-nav>li>a {
    font-weight: 300;
}
.nav>li>a {
    padding: 10px 10px;
}
.dropdown-menu>li>a {
    font-size: 14px;
    font-weight: 300;
}

.navbar-default .navbar-toggle {
    border-color: transparent;
}

.navbar-default {
    background: transparent;
}
@media (max-width:768px) {
  	.navbar-default {
        background: #000;
    }
  .navbar-default .navbar-nav .open .dropdown-menu>li>a {
    color: #000!important;
        font-size: 14px;
}
}

/*เมนูชิดขวา*/
/* 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 ;
}
.navbar-default {
    margin-left: -15px;
    margin-right: -15px;
}
.navbar-default .navbar-nav>li>a {
    padding-left: 3px;
    padding-right: 3px;
}  
}

/* 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 ;
}
.navbar-default {
    margin-left: 12px;
    margin-right: 12px;
}
.navbar-default .navbar-nav>li>a {
    padding-left: 6px;
    padding-right: 7px;
}   
}


@media screen and (min-width: 1280px) {
    .itp-contentmanager-template5 {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    
    .itp-contentmanager-template5 > li {
        width: 100% !important;
    }
  
  .itp-contentmanager-template5 a {
    display: flex;
    flex-direction: column;
    align-items: center;
}
  
  
  .itp-contentmanager-template5 a .padding-col {
  	width: 100% !important;
  }
}




/*แถบเมนูเล็ก*/
/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {  
  #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;
    }        
  }


/******อัลบั้ม*****/
.thumbnail, .img-thumbnail {
   -webkit-box-shadow: 0 0px 0px rgba(0,0,0,.075);
   box-shadow: 0 0px 0px rgba(0,0,0,.075);
}

.thumbnail {
   padding:0px;
   padding-left: 0px!important;
   padding-right: 0px!important;
    background-color: #f7f7f7;
    border-radius: 0px!important;
   margin-bottom: 30px;
    border: 0px solid rgba(255,255,255,.15);
    transform: perspective(1px) translateZ(0);
    transition-duration: 0.3s;
    transition-property: transform;
    transition-timing-function: ease-out;
}
.thumbnail:hover{
    transform: translateY(-8px);
     box-shadow: 0 0 8px 0px #d0d0d0;
}

.thumbnail .imageWidth.imageGallery {
   border: 1px solid black;
}

.imgLightbox {
    position: relative!important;
    overflow: hidden!important;
    width: 100%!important;
}

figure.effect-jazz {
    background: transparent;
}
figure.effect-jazz figcaption::after {
    border-top: 0px solid #fff;
    border-bottom: 0px solid #fff;

}
.thumbs .imageWidth.imageGallery {
    transform: scale(1.0);
    transition: 0.32s;
}
.thumbs .imageWidth.imageGallery:hover {
    transform: scale(1.05);
    transition: 0.32s;
}
/******อัลบั้ม*****/



.hvr-grow {
    transform: perspective(1px) translateZ(0);
    transition-duration: 0.3s;
    transition-property: transform;
}

.hvr-grow:hover, .hvr-grow:focus, .hvr-grow:active {
    transform: scale(1.04);
}

.hvr-float {
    transform: perspective(1px) translateZ(0);
    transition-duration: 0.3s;
    transition-property: transform;
    transition-timing-function: ease-out;
}

.hvr-float:hover, .hvr-float:focus, .hvr-float:active {
    transform: translateY(-10px);
}

.bgabout {
   background: rgba(72, 72, 72, 0.5);
    color: #fff;
    padding: 20px;
    font-weight: 300;
    height: 160px;
}
.btp {
    background-color: #ed2129;
    border: none;
    color: white;
    padding: 10px 5px;
    text-align: center;
    font-size: 14px;
    margin: 0 auto;
    transition: 0.3s;
    width: 100%;
}
.btp:hover {
    background-color: #131313;
    color: white;
}
.btp1 {
    background-color: transparent;
    border: 2px solid #981826;
    color: #981826;
    padding: 6px 2px;
    text-align: center;
    font-size: 13px;
    margin: 0 auto;
    transition: 0.3s;
    width: 100%;
}
.btp1:hover {
    background-color: #981826;
    color: white;
}
.bpdf {
    background-color: #b42231;
    border: none;
    color: white;
    padding: 10px 10px;
    text-align: center;
    font-size: 16px;
    transition: 0.3s;
    width: 100%;
    margin-bottom: 10px;
    font-weight: 300;
}
.bpdf:hover {
    background-color: #80000d;
    color: white;
}

.textthum {
     text-align: center;
    padding: 15px 0px;
    height: 100px;
}
/*--------------------Content------------------------*/
/*เนื้อหาระบบ*/
.nav-template li{
    border: 0px solid #dcdee000;
    padding-left: 0px!important;
    padding-right: 0px!important;
    padding: 0px;
    transition: 0.3s;
    text-align: center;
    margin-bottom: 20px!important;
    transform: perspective(1px) translateZ(0);
    transition-duration: 0.3s;
    transition-property: transform;
    transition-timing-function: ease-out;
}
.nav-template li:hover {
        transform: translateY(-8px);
       box-shadow: 0 0 8px 0px #d0d0d0;
       padding-top: 0px;
      text-decoration: none !important;
}
.nav-template li:hover a {
    color: #f7f7f7;
    text-decoration: underline !important;
}


.nav-template .col-md-8.col-sm-8.col-xs-12.padding-col strong {
    font-weight: 400;
    font-size: 17px;
    color: #0e0e0e;
    text-align: center;
    padding: 10px 10px;
}
.nav-template .col-md-8.col-sm-8.col-xs-12.padding-col strong:hover{
    font-weight: 400;
    color:#0e0e0e;
}
.img-container {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
}
.nav-template .col-md-8.col-sm-8.col-xs-12.padding-col p {
    font-size: 16px;
    font-weight: 300;
      color: #0e0e0e;
} 
/*
.nav-template .col-md-6.col-sm-6.col-xs-12 a:after {
    content: "View more >"!important;
    background-color: transparent;
    border: none;
    color: red;
    padding: 7px 5px;
    text-align: center;
    font-size: 14px;
    margin: 0 auto;
    transition: 0.3s;
    font-weight: 300;
}

*/


.img-container .img {
    border: 1px solid #000000;
}

h3.managerHeader {
    text-align: center;
    font-size: 26px;
    color: #ed2129;
    font-weight: 400;
}
#Contentmanager .post-time {
    display:none;
}
.page-header {
    border-bottom: 0px solid #eee;
}

.landingpagemanager {
    display:none;
}

.col-md-6.pull-left img {
    border: 1px solid #000;
    width: 95%;
    margin-bottom: 5%;
}

.Contentmanager .site .col-section .item.-micro a .caption .title {
    font-size: 18px;
    font-weight: 500;
    color: #0e0e0e;
}
.Contentmanager .site .col-section .item.-micro a:hover .caption .title {
    color: #ed2129;
}
.Contentmanager .site .col-section .item.-micro a .caption .time {
    font-size: 15px;
    color: #484848;
    font-weight: 300;
    text-align: left;
}
.Contentmanager .site .col-section .item.-micro a .post {
    font-size: 12px;
    color: #ed2129;
}


/*อัลบั้มในเนื้อหาระบบ*/
.Contenemanager-gallery .col-xs-6.col-md-3 {
    padding-left: 8px;
    padding-right: 8px;
}


/*เรื่องน่าสนใจอื่นๆ*/
.col-md-6.col-sm-6.col-xs-12.maxHeight-TP5 {
    max-height: inherit;
}
.col-md-6.col-sm-6.col-xs-12.maxHeight-TP5 .col-md-4.col-sm-4.col-xs-4.padding {
    width: 100%;
}
.col-md-6.col-sm-6.col-xs-12.maxHeight-TP5 .col-md-8.col-sm-8.col-xs-12 {
    width: 100%;
    text-align: center;
}
.col-md-6.col-sm-6.col-xs-12.maxHeight-TP5 .col-md-8.col-sm-8.col-xs-12 {
    width: 100%;
    text-align: center!important;
    margin-bottom: 20px;
    font-size: 18px;
}
.col-md-6.col-sm-6.col-xs-12.maxHeight-TP5 .col-md-8.col-sm-8.col-xs-12 p {
    font-size: 18px;
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: none;
}
.col-md-6.col-sm-6.col-xs-12.maxHeight-TP5 .col-md-8.col-sm-8.col-xs-12 strong{
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: block;
      color:#d13bfc;
}





@media (max-width:768px) {
  .bgabout {
   background: rgba(72, 72, 72, 0.5);
    color: #fff;
    padding: 20px;
    font-weight: 300;
      height: 200px;
}
  .textthum {
     text-align: center;
    padding: 15px 0px;
    height: 120px;
}
  
  .nav-template .col-md-6.col-sm-6.col-xs-12 {
    width: 30.5%;
    text-align: center;
    padding-bottom: 20px;
    margin: 10px!important;
    border: none;
    background-color: #f7f7f7;
}
  .itopplus-search-image-flex-container {
   width: 100%!important;
   display: inline-block!important;
}
.itopplus-search-image-flex-item {
    background-color: #fff!important;
    display: inline;
    width: 60%!important;
}

.itopplus-search-shopcart-image {
    height: auto !important;
    overflow: hidden;
}  
.itopplus-search-shopcart-image img{
  width: 100% !important;
  }
  .search_text {
    text-align: center;
    font-weight: 400;
    padding: 5px 0px;
}
  .btn-primary {
    background-image: linear-gradient(to bottom,#ed2129 0,#ed2129 100%);
    border-color: #ed2129;
}
  .btn-primary:hover, .btn-primary:focus {
    background-color: #ed2129;
}
  .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open>.dropdown-toggle.btn-primary {
    border-color: #ed2129;
}
  .btn-primary:active, .btn-primary.active {
    background-color: #ed2129;
    border-color: #ed2129;
}
  .pagination>.active>a, .pagination>.active>span, .pagination>.active>a:hover, .pagination>.active>span:hover, .pagination>.active>a:focus, .pagination>.active>span:focus {
    background-color: #981826;
    border-color: #981826;
}
  .pagination>li>a, .pagination>li>span {
    color: #981826;
}
  .pagination>li>a:hover, .pagination>li>span:hover, .pagination>li>a:focus, .pagination>li>span:focus {
    color: #981826;
}
}


@media (max-width:414px) {
.Contenemanager-gallery .col-xs-6.col-md-3 {
    padding-left: 8px;
    padding-right: 8px;
    width: 100%;
}
  .nav-template .col-md-6.col-sm-6.col-xs-12 {
    width: 100%;
    text-align: center;
    padding-bottom: 20px;
    margin: 5px 0px!important;
    border: none;
    background-color: #f7f7f7;
}
  .textthum {
     text-align: center;
    padding: 15px 0px;
    height: 100px;
}
  .btp1 {
    background-color: transparent;
    border: 2px solid #981826;
    color: #981826;
    padding: 6px 1px;
    text-align: center;
    font-size: 12px;
    margin: 0 auto;
    transition: 0.3s;
    width: 100%;
    margin-bottom: 8px;
}
  
}





