
.flexslider {
    border-radius: 0;
}
@media (min-width: 1170px) {
   .gallary {
        margin-bottom: 0;
    }
}
.esp32-s3-wrap .inside {
    padding: 80px 0;
}
#esp32-s3-overview .esp32-s3-desc  p {
    margin-top: 0;
    margin-bottom: 0;
}
/*.esp32-s3-desc {
    background-image: url("../images/esp32-s3/esp32-s3-overview-bg.png");
    background-position: left center;
    background-size: 80% 220px;
    background-repeat: no-repeat;
    border: 1px solid #DFDFDF;
    border-radius: 6px;
    padding: 46px 30px 46px 230px;
    box-sizing: border-box;
}
.i18n-en .esp32-s3-desc {
    background-size: 80% 220px;
    padding: 35px 30px 35px 230px;
}
.esp32-s3-desc p {
    margin: 0;
}
#esp32-s3-products,
.nav-tabs-wrap .nav-tabs li:nth-child(2) {
    display: none !important;
}
.esp32-s3-desc strong {
    font-size: 20px;
}*/
.bg-gray {
    background: #F5F6F8;
}
.esp32-s3-overview-content > .d-flex:last-child {
    margin-top: 14px;
}
.esp32-s3-overview-content {
    margin: 0 -7px;
}
.esp32-s3-overview-content .d-flex > .col-md-6 {
    padding: 0 7px;
    box-sizing: border-box;
}
.esp32-s3-overview-content .item {
    background: #fff;
    padding: 30px 40px;
    border-radius: 6px;
    box-sizing: border-box;
}
.esp32-s3-overview-content .d-flex:last-child .item {
    height: 100%;
}
.esp32-s3-overview-content .item p {
    margin: 20px 0 0 !important;
}
.esp32-s3-overview-content .item.margin-bottom-20 {
    margin-bottom: 14px;
}
.esp32-s3-overview-content .item.ai-support {
    padding: 60px 40px 0;
    height: 100%;
    box-sizing: border-box;
}
.i18n-en .esp32-s3-overview-content .item.ai-support {
     padding: 40px 40px 0;
}
.esp32-s3-overview-content .item.ai-support h3 {
    margin-top: 40px;
}
.esp32-s3-overview-content .item img {
    width: 40% !important;
    max-width: 400px !important;
}
.i18n-en .esp32-s3-overview-content .item img {
    width: 45% !important;
}
.esp32-s3-overview-content .item:not(.ai-support) h3 {
    color: #1872BA;
}
.esp32-s3-products {
    margin: 0 -40px;
}
.products-wrap.customer-products-wrap {
  padding-top: 80px !important;
}
.esp32-s3-products .col-md-4 {
    padding: 0 40px;
}
.esp32-s3-products h2 {
    margin-bottom: 80px;
}
.esp32-s3-products .col-md-4 h3 {
    border-top: 3px solid #0274C7;
    padding: 25px 0 20px;
}
.esp32-s3-products .item-content {
    margin-bottom: 12px;
}
.esp32-s3-products .item-content img {
    width: 30px;
    height: auto;
}
.esp32-s3-products .item-content span {
    margin-left: 15px;
}
.esp32-s3-products-link {
    margin-top: 30px;
}
.esp32-s3-products-link a {
    font-family: HelveticaNeueRegular, HelveticaNeue-Regular, "Helvetica Neue Regular", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, PingFangSC-Regular, "PingFang SC Regular", 黑体, sans-serif !important;
    color: #0373C9;
    text-decoration: none;
}
.esp32-s3-products-link a:hover {
    text-decoration: underline !important;
}
.buy-now {
    background: transparent;
}
.buy-now .buy-now-bg {
    position: relative;
    background-image: url("../images/esp32-s3/esp32-s3-buy.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    text-align: right;
}
.buy-now-bg img {
    width: 100%;
    height: auto;
    max-height: 500px;
}
.buy-now-bg .inside {
    padding: 50px 0;
}
.esp32-s3-related-products h2 {
    text-align: center;
    margin-bottom: 30px;
    color:  #333;
    color: var(--esp-primary-color) !important;
}
.esp32-s3-related-products p {
    color: #fff;
    font-size: 20px;
    margin: 12px 0 18px;
}
.buy-now .buy-now-bg .button {
    color: #333 !important;
    color: var(--esp-primary-color) !important;
    border-color: #333 !important;
    border-color: var(--esp-primary-color) !important;
    background: transparent !important;
}
.buy-now .buy-now-bg .button:hover {
    border-color: #456689  !important;
    background: #456689 !important;
}
.row a.button {
    width: 160px;
    padding: 0;
    height: 38px;
    line-height: 36px;
    box-sizing: border-box;
}
.esp32-s3-wrap  .esp-product-selector-insert {
    max-width: 1140px;
}
.esp32-s3-wrap .esp-product-selector-insert .esp-product-selector-wrap {
    margin: 0;
}
.products-wrap.customer-products-wrap {
    padding-bottom: 0 !important;
}
@media (max-width: 1280px) and (min-width: 1170px) {
   .intro-wrapper .inside {
        width: 1140px;
    }
}

@media (max-width: 1170px){
    .esp32-s3-overview {
        margin-bottom: 30px;
    }
    .esp32-s3-products h2 {
        margin-bottom: 50px;
    }
    .esp32-s3-products {
        margin: 0 -20px;
    }
    .esp32-s3-products .col-md-4 {
        padding: 0 20px;
    }
    #esp32-s3-products.inside {
        padding-top: 10px !important;
    }
    .esp32-s3-wrap .esp-product-selector-insert {
        padding: 0;
    }
    .buy-now .buy-now-bg {
        background-position: 10% center;
    }
    .i18n-en .esp32-s3-desc,
    .esp32-s3-desc {
        background-size: contain;
    }
}
@media (max-width: 768px){
    .esp32-s3-wrap .inside {
        padding: 50px 0;
    }
    .esp32-s3-products > .d-flex {
        max-width: 320px;
        margin: 0 auto;
    }
    .esp32-s3-products-link {
        margin: 20px 0 6px;
    }
    .esp32-s3-products .col-md-4 h3 {
        padding: 20px 0;
    }
    .buy-now .buy-now-bg {
        background-position: 20% center;
    }
    .esp32-s3-products .col-md-4 {
        margin-bottom: 12px;
    }
    .products-wrap.customer-products-wrap {
      padding-top: 0 !important;
    }
   /* .esp32-s3-desc,
    .i18n-en .esp32-s3-desc {
        background-image: url("../images/esp32-s3/esp32-s3-overview.png");
        background-position: center top;
        background-size: auto 140px;
        background-repeat: no-repeat;
        border: none;
        border-radius: 6px;
        padding: 150px 20px 0 20px;
        box-sizing: border-box;
    }
    .esp32-s3-desc  p {
        margin-bottom: 0;
    }*/
    .esp32-s3-overview-content .item img,
    .i18n-en .esp32-s3-overview-content .item img {
        width: 140px !important;
    }
    .esp32-s3-overview-content .item.ai-support,
    .esp32-s3-overview-content .item {
        padding: 30px 20px 30px;
    }
    .esp32-s3-overview-content .d-flex:first-child .col-md-6 {
        margin-bottom: 14px;
    }
    .esp32-s3-overview-content .item.ai-support h3 {
        margin-top: 1.5em;
    }
    .esp32-s3-overview-content .item h3 {
        text-align: center;
    }
    .esp32-s3-overview-content > .d-flex:last-child {
        margin-top: 0;
    }
    .esp32-s3-overview-content > .d-flex:last-child .col-md-6:first-child {
        margin-bottom: 14px;
    }
    .esp32-s3-related-products p {
        font-size: 16px;
    }
    .products-wrap.customer-products-wrap {
        margin-top: 50px !important;
    }
    .custom-esp-product-selector-add {
        padding: 0 !important;
    }

}
@media (max-width: 600px){
    .esp32-s3-related-products {
        max-width: 320px;
        margin: 0 auto;
    }
}
@media (max-width: 500px){
    .buy-now .buy-now-bg a.button {
        width: 160px !important;
    }
}

