.gallary .flexslider img {
    margin: 0 !important;
}
.esp-idf-wrap h2 {
    margin-bottom: 50px;
    font-size: 30px;
}
.esp-idf-wrap h3 {
    font-size: 30px;
}
.esp-idf-wrap h2:after {
    display: block;
    width: 270px;
    height: 10px;
    margin: 15px auto 0;
    content: '';
    background: #EAEAEA;
}
.i18n-zh-hans .esp-idf-wrap h2:after {
    width: 180px;
}
.esp-idf-wrap .row .btn-wrap li {
    margin: 0 10px;
}
.esp-idf-wrap p {
    margin-top: 0;
}
.esp-idf-wrap .inside {
    padding-bottom: 0;
}
.esp-idf-wrap .esp-idf-overview .row {
    margin: 0 -20px;
}

.esp-idf-wrap .esp-idf-overview .col-sm-12:nth-child(1),
.esp-idf-wrap .esp-idf-overview .col-sm-12:nth-child(2){
    margin-top: 30px;
    margin-bottom: 150px;
}
.esp-idf-wrap .esp-idf-overview .item {
    position: relative;
    margin: 0 20px;
    padding: 70px 40px 20px;
    border: 1px solid #CAC9D0;
    height: 100%;
    border-radius: 8px;
    box-sizing: border-box;
}
.esp-idf-wrap .esp-idf-overview-header h2 {
    color: #1F80C0;
}
.esp-idf-wrap .esp-idf-overview .item.border-blue {
    border-color: #9BBDDC;
}
.esp-idf-wrap .esp-idf-overview .item .item-title {
    position: absolute;
    width: 80%;
    left: 50%;
    top: 0;
    -ms-transform: translate(-50%, -50%); /* IE 9 */
    -webkit-transform: translate(-50%, -50%);/* Safari and Chrome */
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 0 30px 0 45px;
    box-sizing: border-box;
}
.i18n-zh-hans .esp-idf-wrap .esp-idf-overview .item .item-title {
    padding: 0 40px 0 55px;
}
.esp-idf-wrap .esp-idf-overview .item .item-title h3 {
    display: inline-block;
    width: auto;
    vertical-align: middle;
    margin-left: 40px;
    line-height: 1.5;
    font-size: 20px;
}
.esp-idf-wrap .esp-idf-overview .item img {
    display: inline-block;
    vertical-align: middle;
    width: 80px;
    height: auto;
}
.esp-idf-wrap .esp-idf-software-features h2 {
    text-align: left;
}
.esp-idf-wrap .esp-idf-software-features h2 span {
    display: block;
}
.esp-idf-wrap .blue-color {
    color: #1F80C0;
}
.esp-idf-wrap .esp-idf-software-features h2:after {
    margin-left: 0;
    width: 190px;
}
.i18n-zh-hans .esp-idf-wrap .esp-idf-software-features h2:after {
    width: 150px;
}
.esp-idf-wrap .esp-idf-software-features .esp-idf-software-wrap {
    position: relative;
    border: 1px solid #BABABA;
    background: #F9F9F9;
    padding: 50px 20px 40px;
    border-radius: 8px;
}
.esp-idf-wrap .esp-idf-software-features .esp-idf-software-wrap h3 {
    position: absolute;
    right: 20px;
    top: 0;
    transform: translateY(-50%);
    width: auto;
    padding: 10px 18px;
    border: 1px solid #BABABA;
    /*box-shadow: 0 0 1px #3e3e3e;*/
    background: #F9F9F9;
    border-radius: 8px;
    font-size: 28px;
    color: #1F80C0;
}
.esp-idf-wrap .esp-idf-software-features .esp-idf-software-wrap span {
    display: inline-block;
    width: 15.6666%;
    height: 50px;
    padding: 4px 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5%;
    background: #E8F3F9;
    border: 1px solid #0271BB;
    text-align: center;
    border-radius: 8px;
    vertical-align: top;
    box-sizing: border-box;
    font-size: 14px;
    font-family: HelveticaNeueRegular, HelveticaNeue-Regular, "Helvetica Neue Regular", HelveticaNeue, "Helvetica Neue", Helvetica, Arial, PingFangSC-Regular, "PingFang SC Regular", 黑体, sans-serif !important;
}
.esp-idf-wrap .esp-idf-software-features .esp-idf-software-wrap span:nth-child(4),
.esp-idf-wrap .esp-idf-software-features .esp-idf-software-wrap span:nth-child(5) {
    width: 23.9999%;
    padding: 4px 30px;
}
.esp-idf-wrap .esp-idf-features-wrap {
    padding-bottom: 80px;
}
.esp-idf-wrap .esp-idf-features-wrap .item {
    position: relative;
    display: inline-block;
    width: 20%;
    float: left;
    text-align: center;
    padding: 20px 15px 15px;
    box-sizing: border-box;
}
.esp-idf-wrap .esp-idf-features-wrap .item p {
    text-align: center;
    font-size: 16px;
    font-size: var(--esp-font-size-h2);
    font-weight: bold;
    margin-bottom: 0;
    cursor: pointer;
    line-height: 1.3;
    /*padding: 0 10px;*/
}
.esp-idf-wrap .esp-idf-features-wrap .item.active p  {
    color: #0272B7;
}
.esp-idf-wrap .esp-idf-features-wrap .item p:before {
    content: '';
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 72px;
    width: 100%;
    height: 90px;
}
.esp-idf-wrap .esp-idf-features-wrap #item-row-01 p:before {
    background-image: url("../images/ESP-IDF/rtos-kernel.png");
}
.esp-idf-wrap .esp-idf-features-wrap #item-row-02 p:before {
    background-image: url("../images/ESP-IDF/standard-program.png");
}
.esp-idf-wrap .esp-idf-features-wrap #item-row-03 p:before {
    background-image: url("../images/ESP-IDF/peripherals-drivers.png");
}
.esp-idf-wrap .esp-idf-features-wrap #item-row-04 p:before {
    background-image: url("../images/ESP-IDF/wifi.png");
}
.esp-idf-wrap .esp-idf-features-wrap #item-row-05 p:before {
    background-image: url("../images/ESP-IDF/bluetooth.png");
}
.esp-idf-wrap .esp-idf-features-wrap #item-row-06 p:before {
    background-image: url("../images/ESP-IDF/network-protocol.png");
}
.esp-idf-wrap .esp-idf-features-wrap #item-row-07 p:before {
    background-image: url("../images/ESP-IDF/power-management.png");
}
.esp-idf-wrap .esp-idf-features-wrap #item-row-08 p:before {
    background-image: url("../images/ESP-IDF/storage.png");
}
.esp-idf-wrap .esp-idf-features-wrap #item-row-09 p:before {
    background-image: url("../images/ESP-IDF/security.png");
}
.esp-idf-wrap .esp-idf-features-wrap #item-row-10 p:before {
    background-image: url("../images/ESP-IDF/network-provision.png");
}
.esp-idf-wrap .esp-idf-features-wrap #item-row-11 p:before {
    background-image: url("../images/ESP-IDF/build-system.png");
}
.esp-idf-wrap .esp-idf-features-wrap #item-row-12 p:before {
    background-image: url("../images/ESP-IDF/developer-tools.png");
}
.esp-idf-wrap .esp-idf-features-wrap #item-row-13 p:before {
    background-image: url("../images/ESP-IDF/ide-support.png");
}
.esp-idf-wrap .esp-idf-features-wrap .item-content {
    display: none;
}
.esp-idf-wrap .esp-idf-features-wrap .item-row-accordion-wrap {
    position: relative;
    width: 100%;
    height: 0;
    background: #F9F9F9;
    overflow: hidden;
    transition: height .24s ease-out;
}
.esp-idf-wrap .esp-idf-features-wrap .item-row-accordion {
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px 15px;
    width: 100%;
    opacity: 0;
    border-top: 1px solid #DFE0DF;
    border-bottom: 1px solid #DFE0DF;
    /*transition: opacity .18s ease-out;*/
    box-sizing: border-box;
}
.esp-idf-wrap .esp-idf-features-wrap .item-row-accordion p {
    position: relative;
    width: 100%;
    max-width: 380px;
    margin: 0;
    font-size: 14px;
    padding-left: 15px;
    border-left: 2px solid #0272B7;
    box-sizing: border-box;
}
.esp-idf-wrap .esp-idf-features-wrap .item-row-accordion.active.last-item p  {
    float: right;
}
.esp-idf-wrap .esp-idf-features-wrap .item-row-accordion p a:first-of-type {
    display: inline-block;
    margin-top: 12px;
    color: #0272B7;
}
.esp-idf-wrap .esp-idf-features-wrap .item-row-accordion.active {
    opacity: 1;
    z-index: 2;
}
.esp-idf-wrap .esp-idf-features-wrap .item.active p:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-image: url("../images/ESP-IDF/up.png");
    background-size: auto 10px;
    background-position: center;
    background-repeat: no-repeat;
}
.esp-idf-wrap .esp-idf-features-wrap .item.active .item-triangle-inner-wrap,
.esp-idf-wrap .esp-idf-features-wrap .item.active .item-triangle-inner {
    position: absolute;
    width: 0;
    height: 8px;
    line-height: 0;
    font-size: 0;
    border-style: solid;
    border-width: 8px;
    border-color: transparent;
    border-top-width: 0;
    z-index: 3;
}
.esp-idf-wrap .esp-idf-features-wrap .item.active .item-triangle-inner-wrap {
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    border-bottom: 8px solid #e6e7e8;
}
.esp-idf-wrap .esp-idf-features-wrap .item.active .item-triangle-inner {
    top: 2px;
    left: -8px;
    border-bottom: 8px solid #fafafa;
}

.esp-idf-wrap .esp-id-resources {
    background: url("../images/ESP-IDF/resources-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.esp-idf-wrap .esp-id-resources h2 {
    text-align: left;
    position: relative;
}
.esp-idf-wrap .esp-id-resources h2:after {
    margin-left: 0;
    width: 105px;
    background: #fff;
}
.esp-idf-wrap .esp-id-resources h2:before {
    position: absolute;
    bottom: -20px;
    display: block;
    width: 210px;
    height: 10px;
    margin: 10px 0 0;
    content: '';
    background: #2280C0;
}
.i18n-zh-hans .esp-idf-wrap .esp-id-resources h2:after {
    width: 82px;
}
.i18n-zh-hans .esp-idf-wrap .esp-id-resources h2:before {
    width: 164px;
}
.esp-idf-wrap .esp-id-resources .resources-get-start h3 {
    text-align: center;
}
.esp-idf-wrap .esp-id-resources .resources-get-start {
    padding: 15px 0 80px;
    border-bottom: 1px solid #C0C9D1;
}
.esp-idf-wrap .esp-id-resources .frameworks-libraries {
    margin: 0 -8px;
}
.esp-idf-wrap .esp-id-resources .frameworks-libraries .col-sm-12 {
    padding: 8px;
    position: relative;
}
.esp-idf-wrap .esp-id-resources .frameworks-libraries .item {
    display: flex;
    justify-content: space-between;
    height: 100%;
    padding: 20px 6px 45px 20px;
    background: #fff;
    box-shadow: 0 1px 3px 0 #cacaca;
    border-radius: 6px;
    box-sizing: border-box;
    transition: all .2s ease-in-out;
}
.esp-idf-wrap .esp-id-resources .frameworks-libraries .item:hover {
    box-shadow: 0 2px 16px 0 #cacaca
}
.esp-idf-wrap .esp-id-resources .frameworks-libraries .item .item-content {
    display: inline-block;
    padding-right: 10px;
}
.esp-idf-wrap .esp-id-resources .frameworks-libraries .item .item-content p {
    line-height: 1.5;
}
.esp-idf-wrap .esp-id-resources .frameworks-libraries .item .item-img {
    display: inline-block;
    float: right;
}
.esp-idf-wrap .esp-id-resources .frameworks-libraries .item .item-img img {
    margin-top: 6px;
    width: 100px;
    height: auto;
}
.esp-idf-wrap .esp-id-resources .frameworks-libraries > h3 {
    text-align: center;
    margin: 80px 0 50px;
}
.esp-idf-wrap .esp-id-resources .frameworks-libraries-content h3 {
    font-size: 16px;
    margin-bottom: 10px;
}
.esp-idf-wrap .frameworks-libraries a,
.esp-idf-wrap .esp-idf-features-wrap .item-row-accordion p a  {
    position: absolute;
    left: 30px;
    bottom: 20px;
    border: 0;
    background-image: linear-gradient(#0272B7, #0272B7), linear-gradient(transparent, transparent);
    background-size: 0 1px, 100% 1px;
    background-repeat: no-repeat;
    background-position: center bottom, center calc(100% - 1px);
    background-color: transparent;
    transition: background 0s ease-out;
    padding-bottom: 4px;
    font-size: 14px;
    color: #0272B7;
    text-decoration: none !important;
}
.i18n-zh-hans .esp-idf-wrap .frameworks-libraries a {
    font-size: 16px;
}
.esp-idf-wrap .frameworks-libraries a:hover,
.esp-idf-wrap .esp-idf-features-wrap .item-row-accordion p a:hover {
    outline: none;
    background-image: linear-gradient(#0272B7, #0272B7), linear-gradient(transparent, transparent);
    background-size: 100% 1px, 100% 1px;
    box-shadow: none;
    transition-duration: 0.3s;
}
.esp-idf-wrap .esp-idf-features-wrap .item-row-accordion p span {
    display: block;
    font-weight: bold;
}
.esp-idf-wrap .esp-idf-features-wrap .item-row-accordion p a {
    position: static;
    font-weight: normal !important;
}
.esp-idf-wrap .esp-id-resources .resources-tool {
    padding: 80px 0;
}
.esp-idf-wrap .esp-id-resources .resources-tool h3 {
    text-align: center;
}
.esp-idf-wrap .learn-more-wrap  {
    position: absolute;
    left: 30px;
    bottom: 20px;
    max-width: 275px;
}
.esp-idf-wrap .learn-more-wrap a {
    position: relative;
    left: 0;
    bottom: 0;
    display: inline-block;
    margin-right: 15px;
}
@media (max-width: 1280px) and (min-width: 1170px){
    .intro-wrapper .inside {
        width: 1140px;
    }
    
}
@media screen and (max-width: 1170px){
    .esp-idf-wrap .esp-idf-features-wrap .item p {
        padding: 0;
    }
    .esp-idf-wrap .esp-idf-features-wrap .item {
        width: 25%;
    }
    .esp-idf-wrap h2 {
        font-size: 38px;
        margin-bottom: 50px;
    }
    .esp-idf-wrap .esp-idf-features-wrap {
        padding-bottom: 40px;
    }
    .esp-idf-wrap .esp-id-resources .frameworks-libraries > h3 {
        margin: 50px 0 40px;
    }
    .esp-idf-wrap .esp-id-resources .resources-get-start {
        padding: 15px 0 50px;
    }
    .esp-idf-wrap .esp-id-resources .resources-tool {
        padding: 50px 0;
    }
    .esp-idf-wrap .esp-idf-overview .col-sm-12:nth-child(1), 
    .esp-idf-wrap .esp-idf-overview .col-sm-12:nth-child(2) {
        margin-bottom: 100px;
    }
    .esp-idf-wrap .esp-idf-software-features .esp-idf-software-wrap h3 {
        font-size: 26px;
    }
    .esp-idf-wrap h3 {
        font-size: 28px;
    }
    .esp-idf-wrap .esp-id-resources h2:after {
        width: 95px;
    }
    .esp-idf-wrap .esp-id-resources h2:before {
        width: 190px;
    }
    .i18n-zh-hans .esp-idf-wrap .esp-id-resources h2:after {
        width: 75px;
    }
    .i18n-zh-hans .esp-idf-wrap .esp-id-resources h2:before {
        width: 150px;
    }
    .esp-idf-wrap h2:after {
        width: 250px;
    }
    .esp-idf-wrap .esp-idf-software-features h2:after {
        width: 160px;
    }
    .i18n-zh-hans .esp-idf-wrap .esp-idf-software-features h2:after {
        width: 120px;
    }
    .i18n-zh-hans .esp-idf-wrap h2:after {
        width: 140px;
    }
}
@media screen and (max-width: 900px) {
    .frameworks-libraries-content .col-md-4 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
    .esp-idf-wrap .esp-idf-software-features .esp-idf-software-wrap span {
        width: 19%;
    }
    .esp-idf-wrap .esp-idf-software-features .esp-idf-software-wrap span:nth-child(4), 
    .esp-idf-wrap .esp-idf-software-features .esp-idf-software-wrap span:nth-child(5) {
        width: 39%;
    }
    .esp-idf-wrap .esp-idf-overview .item .item-title {
        padding: 0 20px 0 30px;
    }
    .esp-idf-wrap .esp-idf-overview .item .item-title h3 {
        margin-left: 30px;
    }
}
@media screen and (max-width: 768px) {
    .row .btn-wrap {
        margin-top: 30px;
    }
    .frameworks-libraries-content .col-md-4 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }
    .esp-idf-wrap .esp-idf-features-wrap .item {
        width: 50%;
    }
    .esp-idf-wrap h2 {
        font-size: 32px;
        margin-bottom: 50px;
    }
    .esp-idf-wrap .esp-idf-software-features .esp-idf-software-wrap h3 {
        font-size: 20px;
    }
    .esp-idf-wrap h3 {
        font-size: 22px;
    }
    .esp-idf-wrap .esp-idf-overview .col-sm-12 {
        margin-top: 30px;
        margin-bottom: 60px !important;
    }
    .esp-idf-wrap .esp-idf-overview .col-sm-12:last-child {
        margin-bottom: 0 !important;
    }
    .esp-idf-wrap .esp-idf-software-features .esp-idf-software-wrap span {
        width: 32.3333%;
    }
    .esp-idf-wrap .esp-idf-software-features .esp-idf-software-wrap span:nth-child(4), 
    .esp-idf-wrap .esp-idf-software-features .esp-idf-software-wrap span:nth-child(5) {
        width: 49%;
    }
    .esp-idf-wrap .row .btn-wrap li {
        margin: 0 3px;
    }
    .row a.button {
        width: 180px;
    }
    .esp-idf-wrap .esp-id-resources h2:after {
        width: 80px;
    }
    .esp-idf-wrap .esp-id-resources h2:before {
        width: 160px;
    }
    .i18n-zh-hans .esp-idf-wrap .esp-id-resources h2:after {
        width: 61px;
    }
    .i18n-zh-hans .esp-idf-wrap .esp-id-resources h2:before {
        width: 122px;
    }
    .esp-idf-wrap .esp-idf-software-features h2:after {
        width: 140px;
    }
    .i18n-zh-hans .esp-idf-wrap .esp-idf-software-features h2:after {
        width: 100px;
    }
    .esp-idf-wrap h2:after {
        width: 200px;
    }
    .i18n-zh-hans .esp-idf-wrap h2:after {
        width: 110px;
    }
    .esp-idf-wrap .learn-more-wrap  {
        max-width: 70%;
    }
}
@media screen and (max-width: 500px) { 
    .esp-idf-wrap .esp-idf-software-features .esp-idf-software-wrap {
        padding: 40px 8px 30px;
    }
    .esp-idf-wrap .esp-idf-software-features .esp-idf-software-wrap span {
        font-size: 12px;
    }
}
