@import url('//fonts.googleapis.com/css?family=Source+Sans+Pro:200,200i,300,300i,400,400i,600,600i,700,700i,900,900i');


/*===========References Blog============*/
body.hs-references-page {}

body.hs-references-page.hs-blog-post .span8.blog-content {
    width: 59.3220338983%;
    margin-right: 1.6949152542%;
}
body.hs-references-page .span4.blog-sidebar {
    width: 32.2033898305%;
    margin-right: 0;
    float: right;
}
body.hs-references-page .span8.blog-content .post-header>h2 {
    font-size: 1.4444444444em;
    line-height: 1.1576923077em;
    padding: 1.8307692308em 0 0.8615384615em;
}
.hs-references-page.hs-blog-post .hs-breadcrumb-menu-wrapper-bg {
    padding-bottom: 0;
}
body.hs-references-page.hs-blog-post .span8.blog-content .post-header>h2 {
    padding-top: 40px;
}

body.hs-references-page img.left {
    float: left;
    margin: 0 0.7777777778em 0.7777777778em 0;
}



/*=======Blog Sidebar_____________*/
.hs-references-page .blog-sidebar .hs-sidebar--downloads {
    background-color: #5a5959;
}
.hs-sidebar--downloads .hs_cos_wrapper_type_rich_text {
    float: left;
    margin: 0;
    width: 100%;
}
.hs-references-page .blog-sidebar .hs-text-slider {
    text-align: center;
    background-color: #eee;
    padding: 1.5555555556em 1.5555555556em 2.3333333333em;
    margin: 0 0 21px;
}
.hs-references-page .blog-sidebar .hs-sidebar--downloads {
    margin-bottom: 21px;
}
.hs-references-page .blog-sidebar .hs-text-slider p.title {
    font-size: 1em;
    line-height: 1.5555555556em;
    font-weight: 900;
    padding: 3.1111111111em 0 1.5555555556em;
    background: url(//cdn2.hubspot.net/hubfs/2044671/Adifo_Nov2016/Images/quote.png) center center no-repeat;
    color: #5a5959;
    margin: 0;
    font-family: 'Lato',sans-serif;
}
.hs-references-page .blog-sidebar .hs-text-slider .description p {
    font-size: 18px;
    line-height: 28px;
    font-style: normal;
    font-family: 'Source Sans Pro',sans-serif;
}

a.hs-btn-red {
    font-size: 0.8888888889em;
    line-height: 1.75em;
    -webkit-transition: background 480ms cubic-bezier(.48,0.1,0.25,1) 0s;
    -moz-transition: background 480ms cubic-bezier(.48,0.1,0.25,1) 0s;
    transition: background 480ms cubic-bezier(.48,0.1,0.25,1) 0s;
    display: inline-block;
    background: #e80000;
    color: #fff;
    font-weight: 400;
    padding: 0.175em 0.9625em 0.175em;
    margin-top: 0.875em;
    text-decoration: none;
}
a.hs-btn-red:hover {
    background-color: #b10c10;
}

/*===========Blog Listing_________________*/
body.hs-references-page {}
.hs-references-page .hs-breadcrumb-menu-wrapper-bg {
    padding-bottom: 22px;
}

.hs-references-page .blog-content {
    padding: 7px 0 42px;
}
.hs-blog-post-item {
    width: 32.2033898305%;
    margin-right: 1.6949152542%;
    float: left;
    text-align: center;
    margin-bottom: 30px;
}
.hs-blog-post-item.hs-post-item {
    text-align: left;
}
.hs-blog-post-item:nth-child(3n+3) {
    margin-right: 0;
}
.hs-blog-post-item:nth-child(4),
.hs-blog-post-item:nth-child(7),
.hs-blog-post-item:nth-child(10){
    clear: both;
}

.hs-post-item  .hs-featured-image-wrapper {
    width: 100%;
    text-align: center;
    height: 13.3333333333em;
}
.hs-post-item .hs-featured-image-wrapper>a>img.hs-featured-image {
    float: none;
    max-width: 100%;
    margin: 0 auto;
    max-height: 100%;
}
.hs-post-item .post-header h2 {
    margin: 0 0 1px;
}
.hs-post-item .post-header h2 a {
    color: #5a5959;
    text-decoration: none;
    font-weight: 900;
    -webkit-transition: background 480ms cubic-bezier(.48,0.1,0.25,1) 0s;
    -moz-transition: background 480ms cubic-bezier(.48,0.1,0.25,1) 0s;
    transition: background 480ms cubic-bezier(.48,0.1,0.25,1) 0s;
    padding: 0.5727272727em 0.8909090909em;
    background-color: #eee;
}
.hs-post-item .post-header h2 a:hover {
    background-color: #e80000;
    color: #fff;
}
.hs-blog-post-item .post-body {
    padding: 0 1.225em;
    font-size: 16px;
    line-height: 26.6px;
    font-family: 'Source Sans Pro',sans-serif;
}
.hs-blog-post-item .post-body * {
    font-size: 16px;
    line-height: 26.6px;
    font-family: 'Source Sans Pro',sans-serif;
    font-weight: normal;
    color: #919191;
    margin: 0;
}
.hs-blog-post-item .post-body p {
    margin-bottom: 16.6px;
}
.hs-blog-post-item .post-body a {
    color: #919191;
    text-decoration: none;
}
.hs-blog-post-item a.more-link {
    margin: 1.1375em 0 0 1.225em;
    padding: .175em 15px;
}
.hs-blog-post-item .post-body iframe {
    max-width: 100%;
    width: 100%;
}
.hs-blog-post-item .post-body iframe {
    display: none;
}

/*_________________________*/
.hs-post-item-with-bg {
    background-color: #eee;
    padding: 1.5555555556em 1.5555555556em 2.3333333333em;
}
.hs-post-item-with-bg:nth-child(3n+3) {
    margin-right: 0;
}
.hs-blog-post-item.hs-post-item-with-bg .post-body * {
    font-size: 16px;
    line-height: 28px;
}

@media screen and (min-width: 40.75em) {
    .hs-post-item-with-bg {
        min-height: 27.7777777778em;
    }
}


.hs-post-item-with-bg .hs-featured-image-wrapper {
    display: block;
    margin: 0 auto;
    border-radius: 50%;
    border: 10px solid #fff;
    width: 9em;
    height: 9em;
    position: relative;
    overflow: hidden;
}
.hs-post-item-with-bg img.hs-featured-image {
    float: none;
    max-width: 100%;
    margin: 0;
}
.hs-post-item-with-bg .post-header h3 {
    font-size: 1em;
    line-height: 1.5555555556em;
    font-weight: 900;
    padding: 3.1111111111em 0 1.5555555556em;
    background: url(//cdn2.hubspot.net/hubfs/2044671/Adifo_Nov2016/Images/quote.png) center center no-repeat;
    margin: 0;
}
.hs-post-item-with-bg .post-body {
    font-size: 0.8888888889em;
    line-height: 1.75em;
    color: #919191;
    font-style: italic;
    padding: 0;
    font-family: 'Source Sans Pro',sans-serif;
}
.section.post-body iframe {
    max-width: 100%;
    width: 100%;
}




/*___________________________*/
.products-list {
    /*padding: 1.225em;*/
}
.products-list>ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.products-list a {
    font-size: 1em;
    line-height: 1.35625em;
    display: block;
    position: relative;
    padding: 0 0 0.525em 1.75em;
    color: #e80000;
    text-decoration: underline;
}
.products-list a:hover {
    text-decoration: none;
}
.products-list a:before {
    background-image: url(//cdn2.hubspot.net/hubfs/2044671/Adifo_Nov2016/Images/spritesheet-2.png);
    background-position: 0px -287px;
    width: 19px;
    height: 19px;
    content: '';
    display: block;
    position: absolute;
    top: 0.175em;
    left: 0;
}
.products-list a:hover:before {
    background-image: url(//cdn2.hubspot.net/hubfs/2044671/Adifo_Nov2016/Images/spritesheet-2.png);
    background-position: 0px -230px;
}





/*===========Blog Pagination________________111*/
.blog-pagination .blog-pagination-center {
    text-align: left;
    float: left;
}
.blog-pagination .blog-pagination-center>a {
    margin: 0 3.5px 0 7px;
    font-size: 18px;
    line-height: 28px;
    font-family: 'Lato',sans-serif;
}
.blog-pagination .blog-pagination-left a, 
.blog-pagination .blog-pagination-right a {
    font-family: 'Lato',sans-serif;
}
.blog-pagination .blog-pagination-left {
    margin-right: 4px;
}
.blog-pagination .blog-pagination-right {
    margin: 0 7px;
}
.blog-pagination a.active {
    cursor: default;
}
.blog-pagination a.disabled {
    color: #ddd;
    border-color: #ddd;
    background-color: transparent;
    cursor: default;
}

/*__________Chinese_____________*/

.hs-chinese-page .hs-sidebar--downloads {
    margin-bottom: 21px;
}

.hs-eventsection-post-body a {
    text-decoration: underline;
    font-style: normal;
    font-size: 18px;
    line-height: 28px;
}
.hs-eventsection-post-body a:hover {
    text-decoration: none;
}
.hs-contact-us-page ul.inputs-list li.hs-form-booleancheckbox label.hs-form-booleancheckbox-display,
.hs-chinese-page ul.inputs-list li.hs-form-booleancheckbox label.hs-form-booleancheckbox-display {
    color: #222;
}


/*====================German Header====================*/
@media(min-width: 972px) {
    .custom-bottom-bar.hs_german .custom-menu-primary .hs-menu-wrapper>ul>li {
        display: inline-block;
        float: none !important;
    }
    .custom-bottom-bar.hs_german .custom-menu-primary .hs-menu-wrapper>ul>li>a {
        padding: 2.489px 0 2.489px 29.5px;
    }
    
    .custom-languages ul li.active a {
        background-color: #e80000;
        color: #fff;
        padding: 11.9px 11.2px;
    }
    .custom-bottom-bar.hs_chinese .custom-menu-primary .hs-menu-wrapper>ul {
        width: 100%;
        max-width: 892px;
    }
    .custom-bottom-bar.hs_chinese .custom-menu-primary .hs-menu-wrapper>ul:after {
        content: "";
        display: inline-block;
        width: 100%;
    }
    .custom-bottom-bar.hs_chinese .custom-menu-primary .hs-menu-wrapper>ul>li {
        display: inline-block;
        float: none !important;
    }
    .custom-bottom-bar.hs_chinese .custom-menu-primary .hs-menu-wrapper>ul>li>a {
        padding: 0.1555555556em 0.3888888889em;
    }
    
    
}













/*===============Responsive=====================*/
@media(max-width: 1210px) {
    .custom-bottom-bar.hs_chinese .custom-menu-primary .hs-menu-wrapper>ul {
        width: 100%;
        max-width: 100%;
    }
}



@media(min-width: 972px) and (max-width: 988px) {
    .hs-references-page .span8.custom-top-menu ul {
        margin-right: -4px;
    }    
}

    
@media(max-width: 971px) {
    .hs-blog-post-item {
        width: 48.3870967742%;
        margin-right: 3.2258064516%;
    }
      
    .hs-blog-post-item:nth-child(3n+3) {
        margin-right: 3.2258064516%;
    }
    .hs-blog-post-item:nth-child(12)
    .hs-blog-post-item:nth-child(6),
    .hs-blog-post-item:nth-child(2n+2) {
        margin-right: 0;
    }  
    .hs-blog-post-item:nth-child(4),
    .hs-blog-post-item:nth-child(7),
    .hs-blog-post-item:nth-child(10) {
        clear: none;
    }
    
    .hs-industries-link, 
    .hs-products-link {
        margin: 0 auto 1.1666666667em !important;
        float: none !important;
    }
    .hs-references-page .blog-sidebar .hs-sidebar--downloads {
        background-color: #5a5959;
        margin: 0 auto 21px !important;
        float: none !important;
        width: 27.33em;
    }
   /* .blog .span4.blog-sidebar .widget-type-rich_text.hs-contact-us {
        width: 27.33em;
        margin: 0 auto !important;
        float: none;
    }*/
    
    
}





@media(min-width: 861px) and (max-width: 940px) {
    .hs-references-page .span8.custom-top-menu ul {
        margin-right: -18px !important;
    }
    .hs-references-page .custom-top-menu .hs-menu-wrapper>ul>li>a {
        font-size: 15px;
    }

}



@media(max-width: 767px) {
    .hs-references-page .hs-breadcrumb-menu-wrapper-bg {
        padding: 0 0 22px;
        display: block !important;
    }    
    .hs-references-page .hs-breadcrumb-menu-wrapper-bg ul.hs-breadcrumb-menu {
        display: none;
    }
    .hs-blog-post-item {
        width: 100%;
        margin: 0 0 30px;
        padding: 28px 28px 42px;
        min-height: 1px;
    }
    .hs-blog-post-item.hs-post-item {
        padding: 0;
    }
   .hs-references-page.hs-blog-post .section.post-body img {
        display: block !important;
        float: none !important;
        /*width: auto !important;*/
        height: auto !important;
        margin-top: 0 !important;
        margin: 0 auto 10px !important;
    }
    .custom-top-menu .hs-menu-wrapper>ul>li.active>a,
    .custom-top-menu .hs-menu-wrapper>ul>li.active-branch>a {
        background-color: #b10c10 !important;
        color: #fff !important;
    }
    
    
    
    
}

@media(max-width: 651px) {
    .blog-pagination {
        float: left;
        width: 100%;
    }
    .blog-pagination .blog-pagination-center {
        text-align: left;
        float: left;
        width: 100%;
        margin: 0 0 18px;
    }
    .blog-pagination .blog-pagination-center>a {
        width: auto;
    }
    .blog-pagination .blog-pagination-left,
    .blog-pagination .blog-pagination-right {
        width: 46.8%;
        float: left;
        margin: 0;
        text-align: left;
    }
    .blog-pagination .blog-pagination-right {
        float: right;
    }
    .blog-pagination .blog-pagination-left>a, 
    .blog-pagination .blog-pagination-right>a {
        width: 100%;
    }
    
    
    
    
    
}



@media(max-width: 540px) {
     .hs-references-page .blog-sidebar .hs-sidebar--downloads {
        width: 100%;
    }

}


@media(max-width: 479px) {
    .hs-products-link ul li a {
        padding-right: 8px;
    }    
    
}






