.itopplus-background {

}
::selection {
    color: #fff;
    background-color: #7bd853;
}

a{
    color: #333;
}

a:hover{
    color: #42911f;
}

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

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



/*----------เมนู---------*/
.navbar-default {
    background: transparent;
}
.navbar-default .navbar-nav>li>a {
    color: #000;
    font-size: 17px;
}

.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover {
    color: #fff;
    background: linear-gradient(to bottom, #fb5c56 0%,#b5221c 50%,#fb5c56 100%);
}
.dropdown-menu>li>a:active,.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover {
    background: linear-gradient(to bottom, #fb5c56 0%,#b5221c 50%,#fb5c56 100%);
    background-image: none;
    color: #fff!important;
}
.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover {
    color: #fff!important;
    background: linear-gradient(to bottom, #fb5c56 0%,#b5221c 50%,#fb5c56 100%);
  	border-radius: 8px;
}
.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover {
    background: linear-gradient(to bottom, #fb5c56 0%,#b5221c 50%,#fb5c56 100%);
}
.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover {
    background: linear-gradient(to bottom, #fb5c56 0%,#b5221c 50%,#fb5c56 100%);
  	border-radius: 8px;
    color: #fff;
}
.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus{
	background: linear-gradient(to bottom, #fb5c56 0%,#b5221c 50%,#fb5c56 100%);
}


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


@media (max-width:768px) {
    .navbar-default .navbar-nav .open .dropdown-menu>li>a {
        color: #fff;
    }
    .navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover {
        color: #fff!important;
        background: linear-gradient(to bottom, #fb5c56 0%,#b5221c 50%,#fb5c56 100%);
    }
  .navbar-default {
    background: #ebebeb!important;
}
  .navbar-default .navbar-toggle {
    border-color: transparent;
}
  
}
.navbar-default .navbar-link,.navbar-default .navbar-link:hover,.navbar-inverse .navbar-brand {
    color: #fff;
}
.nav .open>a,.nav .open>a:focus,.nav .open>a:hover {
    background: linear-gradient(to bottom, #fb5c56 0%,#b5221c 50%,#fb5c56 100%);
    border-color: transparent;
    color: #fff!important;
}
@media (max-width:768px) {
    .navbar-default .navbar-nav .open>.dropdown-menu {
        background: 0 0;
    }
    .navbar-default .navbar-nav .open .dropdown-menu>li>a {
        color: #000!important;
    }
    .dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover {
        color: #fff!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:right ;
}

  ul.nav li.dropdown:hover > ul.dropdown-menu {
    display: block;
	margin: 0;
}
  
  
  
 /*---สไลด์---*/
#carousel5d8adae7bc434d00196386a9 .hidden {
display: block!important;
visibility: inherit!important;
pointer-events: none;
}
.carousel-indicators .active {
background-color: #fff;
border-color:#fff;
}
.glyphicon-chevron-left:before,
.glyphicon-chevron-right:before {
display: none;
}
  
  
  .shopcart {
    z-index: 888;
    border-radius: 0 800px 0 0;
    -moz-border-radius: 0 800px 0 0;
    -webkit-border-radius: 0 800px 0 0;
    border: 0 solid #000;
    width: 100px;
    height: 100px;
    background-image: url(https://itp1.itopfile.com/ImageServer/itp_100620190rdq/45/0/c-agrotech-shop1z-z839493966306.webp);
    background-color: #3e8d1c;
    background-repeat: no-repeat;
    background-position: 30% 70%;
    position: fixed;
    -webkit-transition: width .3s,height .3s;
    transition: width .3s,height .3s;
    cursor: pointer;
    bottom: 0;
    left: 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:right ;
}

}


/*----------หัวข้อสีเขียว----------*/
.he-bg1{
	background: linear-gradient(to bottom, rgb(117, 208, 78) 0%, rgba(81,163,46,1) 51%, rgba(62,142,28,1) 100%);
    clip-path: polygon(0 0, 93% 0, 100% 100%, 0% 100%);
    color:#fff;
    font-size:28px;
    padding:10px 5px 10px 15px;
    font-weight: 500;
}


.he-bg2{
	background: linear-gradient(to bottom, rgb(117, 208, 78) 0%, rgba(81,163,46,1) 51%, rgba(62,142,28,1) 100%);
    clip-path: polygon(0 0, 93% 0, 100% 100%, 0% 100%);
    color:#fff;
    font-size:24px;
    padding:10px 5px 10px 15px;
    font-weight: 500;
      margin-bottom: -0.5%;

}



/*----------อัลบั้มภาพ----------*/
figure.effect-selena {
    background: transparent;
}

figure.effect-oscar figcaption {
           background-color: rgba(0, 0, 0, 0.39);
}

figure.effect-oscar {
    padding: 0px;
    
}


figure.effect-oscar img {
    opacity: 1;
  -webkit-transition: opacity 1s, -webkit-transform 1s;
	transition: opacity 1s, transform 1s;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

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

figure.effect-oscar figcaption::before {
	border: 0px solid #fff;
}

figure.effect-oscar h2 {
    margin: 30% 0 10px 0;
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
    -webkit-transform: translate3d(0,60%,0);
    transform: translate3d(0,60%,0);
      text-shadow: 3px 3px 3px #313131;
  font-size: 22px;
}
figure.effect-oscar:hover h2 {
	-webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
    -webkit-transform: translate3d(0,60%,0);
    transform: translate3d(0,60%,0);
}
.grid figure h2 span {
    font-weight: 500;
}





/*----------ตระกร้าสินค้า----------*/




.Template-E-pic {
    position: relative;
    background-color: #fff;
    border: 4px solid #9ed103;
    padding: 2px;
    width: 100%;
    overflow: hidden;
    border-radius: 50%;
}


.Template-E-Name {
    color: #000;
    font-size: 16px;
    height: 75px;
    overflow: hidden;
    font-weight: normal;
    margin-top: 5%;
    text-align: center;
}

.priceNoPromotion {
    color: red;
    font-weight: bold;
    font-size: 14px;
}

.Template-E-Price {
    height: 45px;
    color: #f00;
    font-weight: bold;
    text-align: center;
      font-size: 14px;
}

.Template-E-Big {
    border: 0px solid #94bd03;
    width: 100%;
    overflow: hidden;
}


.Template-E-frame:hover {
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.21);
    cursor: pointer;
    background-color: #f5f5f5;
}

.Template-E-frame {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    margin-bottom: 5%;
    padding: 20px 20px 20px 20px;
}

.Template-E-Icon {
    width: 15%;
    padding: 0 5px 5px 0;
    display: none;
}


.Template-E-button {
    width: 90%;
    text-align: center;
    margin: 0 auto;
    padding: 8px 0 8px 3%;
    background-color: #555;
    color: white;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: normal;
}


.shopcart-Cate {
    width: 95%;
    margin: 2% auto;
    font-size: 24px;
}

.Template-E-ProName {
    color: #3e8d1c;
}



.shopcartID-Head-Default {
    font-size: 22px;
    color: black;
    border-bottom: solid 1px #d8d8d8;
    padding: 10px 0 10px 0;
    font-family: kanit;
}

.shopcartName-Head-Default {
    font-size: 22px;
    color: black;
    border-bottom: solid 1px #d8d8d8;
    padding: 10px 0 10px 0 !important;
    font-family: kanit;
}



label {
    font-family: kanit;
  font-weight: normal;
}


.shopcartlinePrice-Default select.input-sm {
    height: 30px;
    line-height: 30px;
    font-family: kanit;
    width: 241%;
}

.shopcartlinePrice-Default  .input-sm, .form-horizontal .form-group-sm .form-control {
    height: 30px;
    padding: 0px 10px;
    font-size: 14px;
    line-height: 1 !important;
    border-radius: 3px;
  font-family: kanit;
}

 .ITPquantityDetail .input-sm, .form-horizontal .form-group-sm .form-control {
    height: 30px;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
    font-family: kanit;
}


.shopcartID-Default {
    font-size: 18px;
    border-bottom: solid 1px #d8d8d8;
    padding: 10px 0 10px 0;
    font-family: kanit;
    color: #3e8d1c;
}


.shopcartName-Default {
    font-size: 18px;
    border-bottom: solid 1px #d8d8d8;
    padding: 10px 0 10px 0;
    font-family: kanit;
    color: #3e8d1c;
}


.Template-E-buttonDetail {
    cursor: pointer;
    width: 55%;
    margin: 5px 0 0 120px;
    padding: 8px 0 8px 0;
    background-color: #555;
    color: white;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-weight: 500;
    font-family: kanit;
    font-size: 18px;
}

.Template-E-buttonDetail:hover{
   background-color: #3e8d1c;
  transition: 0.32s;
}


.shopcartDetail-Default, .shopcartDetail{
    font-family: kanit;
    font-size: 22px;
    font-weight: 600;
    color: #3e8d1c;
    margin-left: -10px;
}

.shopcartRelated-Default, .shopcartRelated{
    font-family: kanit;
    font-size: 22px;
    font-weight: 600;
    color: #3e8d1c;
    margin-left: -10px;
    border-bottom: 1px solid #d8d8d8;
}

.shopcartlinePrice-Default, .shopcartSize-Default, .shopcartSize{
	font-size: 22px;
}


.ui.steps .step.active .title {
    color: #3e8d1c;
}

.ui.steps .step .title {
    font-family: kanit;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5;
    margin-top: 3%;
}



.ui.steps{
    margin-top: -1% !important;
}

.step1checkout {
    border-radius: 200px 200px 200px 200px;
    -moz-border-radius: 200px 200px 200px 200px;
    -webkit-border-radius: 200px 200px 200px 200px;
    background-color: #3e8d1c;
    border: 5px solid #c7e6d8;
    text-align: center;
    width: 70px;
    height: 70px;
    margin-top: 10%;
    margin-left: auto;
    margin-right: auto;
}


.iconstep1checkout {
    font-size: 20px;
    color: white;
    margin-top: 28%;
}

.Headcheckout {
    font-size: 20px;
    color: #046d3e;
}

.Bodycheckout {
    font-size: 18px;
    color: black;
    font-weight: normal;
}

.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {

  font-size: 16px;
}


.btnCheckoutprevious {
    cursor: pointer;
    width: 40%;
    background-color: #3f8d1d;
    color: white;
    margin: 5px 0 0 110px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 10px 0 10px 0;
    font-weight: 500;
    text-align: center;
    font-size: 18px;
}


.btnCheckoutprevious:hover{
    background-color: #347518;
  transition: 0.32s;
}

.step5checkout {
    border-radius: 200px 200px 200px 200px;
    -moz-border-radius: 200px 200px 200px 200px;
    -webkit-border-radius: 200px 200px 200px 200px;
    background-color: #295a13;
    border: 7px solid #c7e6d8;
    text-align: center;
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

.shopcart-paymentpage {
    font-size: 16px;
    color: white;
    background-color: #295a13;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    width: 25%;
    cursor: pointer;
    padding: 13px 5px 10px;
    margin: 0 auto;
}

.Template-E-Quantity {
    color: black;
    font-size: 18px !important;
}

.Template-E-Item {
    color: black;
    font-size: 18px !important;
}


/*------------ปิดคอมเม้นเฟส---------------*/
.fbcomments, .fb-comments, .fb_iframe_widget, .fb_iframe_widget_fluid_desktop{
    display: none;
}

  
/*------------เลขหน้าถัดไป---------------*/
.pagination-sm>li>a, .pagination-sm>li>span {
    padding: 5px 10px;
    font-size: 14px;
}

.pagination>li>a, .pagination>li>span {
    color: #3e8d1c;
}
.pagination>.active>a, .pagination>.active>span, .pagination>.active>a:hover, .pagination>.active>span:hover, .pagination>.active>a:focus, .pagination>.active>span:focus {
    z-index: 2;
    color: #fff;
    cursor: default;
    background-color: #3e8d1c;
    border-color: #3e8d1c;
}

.pagination>li>a:hover, .pagination>li>span:hover, .pagination>li>a:focus, .pagination>li>span:focus {
    color: #3e8d1c;
    background-color: #eee;
    border-color: #ddd;
}

/*------------เนื้อหาระบบ---------------*/
.Contentmanager .site .col-section .item.-micro a .caption .title {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2em;
    color: #444;
    -webkit-transition: 300ms ease-in-out;
    -moz-transition: 300ms ease-in-out;
    -o-transition: 300ms ease-in-out;
    -ms-transition: 300ms ease-in-out;
    transition: 300ms ease-in-out;
}


.managerHeader{
	font-size: 25px;
    color: #2b6313;
}

#Contentmanager .post-time {
    font-size: 15px;
    color: #666;
}
.page-header {
    padding-bottom: 9px;
    margin: 40px 0 40px;
    border-bottom: 1px solid #eee;
}

.landingpagemanager {
    padding: 10px;
    margin-top: 30px;
    border-radius: 5px;
    border: solid 1px #eee;
    display: none;
}

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

.Contentmanager .img-thumbnail {
    display: inline-block;
    width: 100% \9;
    max-width: 100%;
    height: auto;
    padding: 0px;
    line-height: 1.42857143;
    background-color: #fff0;
    border: 1px solid #ddd0;
    border-radius: 0px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;

}




.template1 .col-md-4.col-sm-4.col-xs-12.padding-md.text-center {
    width: 50%;
}

.Contentmanager .template1 .template-panel {
    padding-bottom: 70%;
}

.template1 .caption {
    height: 70px;
    overflow: hidden;
    font-size: 18px;
    color: #fff;
    background-color: #444;
    padding: 11px;
}


.template1 .caption:hover {
    background-color: #3e8d1c;
    transition: 0.32s;
}


a.thumbnail:hover, a.thumbnail:focus, a.thumbnail.active {
    border-color: #3e8d1c;
}

.contenemanager-gallery .thumbnail {
    display: block;
    padding: 3px;
    margin-bottom: 20px;
    line-height: 1.42857143;
    background-color: #69bd45;
    border: 0px solid #ddd;
    border-radius: 0px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.contenemanager-gallery .col-xs-12.col-md-3 {
    width: 33.3%;
}




/*แถบเมนูเล็ก*/
/* 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;
  }
  
/*----------อัลบั้มภาพ----------*/
  figure.effect-oscar h2 {
    margin: 25% 0 10px 0;
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
    -webkit-transform: translate3d(0,60%,0);
    transform: translate3d(0,60%,0);
    text-shadow: 3px 3px 3px #313131;
    font-size: 22px;
}
  
/*------------ตระกร้าสินค้า---------------*/
  #scrolltoshop5d8c35be366d35001a11da99 .col-xs-12.col-md-6 {
    width: 50%;
}
  .shopcartlinePrice-Default select.input-sm {
    height: 30px;
    line-height: 30px;
    font-family: kanit;
    width: 100%;
}
  
  /*-----ค้นหา-----*/  
  .itopplus-search-image-flex-item {
    background-color: #f5f5f5!important;
    width: 23%!important;
    padding: 10px;
    text-align: left;
    display: inline-block;
    min-height: 250px!important;
    max-height: 315px!important;
    padding-top: 10px!important;
}
  .itopplus-search-shopcart-image {
    height: inherit !important;
}
  img.itopplus-search-shopcart-image-position {
    transform: translateY(0px);
    max-height: inherit!important;
    width: 100%;
}
    /*----------ติดต่อเรา----------*/
  .btn-primary {
    background-image: -webkit-linear-gradient(top,#3e8d1c 0,#3e8d1c 100%);
    background-image: -o-linear-gradient(top,#428bca 0,#2d6ca2 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#3e8d1c),to(#3e8d1c));
    background-image: linear-gradient(to bottom,#3e8d1c 0,#3e8d1c 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca',endColorstr='#ff2d6ca2',GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    background-repeat: repeat-x;
    border-color: #3e8d1c;
}
  .btn-primary {
    color: #fff;
    background-color: #3f8d1d;
    border-color: #3f8d1d;
}
  .btn-primary:hover, .btn-primary:focus {
    background-color: #3f8d1f;
    background-position: 0 -15px;
}
  .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open>.dropdown-toggle.btn-primary {
    color: #fff;
    background-color: #3f8d1d;
    border-color: #3f8d1d;
}
  .btn-primary:active, .btn-primary.active {
    background-color: #3e8d1c;
    border-color: #3e8d1c;
}
  
  /*ตระกร้าสินค้า*/
.shopcart {
    z-index: 888;
    border-radius: 800px;
    -moz-border-radius: 800px;
    -webkit-border-radius: 800px;
    border: 0 solid #000;
    width: 80px !important;
    height: 80px !important;
    background-image: url(https://itp1.itopfile.com/ImageServer/itp_100620190rdq/45/0/c-agrotech-shop1z-z839493966306.webp);
    background-color: #3e8d1c;
    background-repeat: no-repeat;
    background-position: 43% 55%;
    position: fixed;
    -webkit-transition: width .3s,height .3s;
    transition: width .3s,height .3s;
    cursor: pointer;
    bottom: 10%;
    right: 0;
}
}

@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;
    }        
  }





@media only screen and (max-width : 414px) {  
/*------------ตระกร้าสินต้า -------------------*/
.Shopcart-Related-Main .col-xs-6.col-sm-12 {
width: 50%;
}  
  
  #scrolltoshop5d8c35be366d35001a11da99 .col-xs-12.col-md-6 {
    width: 100%;
}
  
    /*----------ค้นหา----------*/
.itopplus-search-image-flex-item p {
    padding-top: 25px;
}
.itopplus-search-image-flex-item {
    background-color: #fafafa !important;
  }

  .itopplus-search-image-flex-item {
    background-color: #f5f5f5!important;
    width: 100%!important;
    padding: 10px;
    text-align: left;
    display: inline-table;
    min-height: 250px!important;
    max-height: 315px!important;
    padding-top: 10px!important;
}
  
  .contenemanager-gallery .col-xs-12.col-md-3 {
    width: 100%;
}

  
}

