/******************************* SVG ICONS */
.post-icon { display: inline-block; fill: currentColor; height: 1em; width: 1em; }

/******************************* ANIMATIONS */
@-webkit-keyframes slideDown { 0% { display: none;
    opacity: 0; }
  1% { display: block;
    opacity: 0;
    -webkit-transform: scale(0);
            transform: scale(0); }
  100% { opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1); } }
@keyframes slideDown { 0% { display: none;
    opacity: 0; }
  1% { display: block;
    opacity: 0;
    -webkit-transform: scale(0);
            transform: scale(0); }
  100% { opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1); } }

@-webkit-keyframes slideDownFlex { 0% { display: none;
    opacity: 0; }
  1% { display: -webkit-box; display: flex;
    opacity: 0;
    -webkit-transform: scale(0);
            transform: scale(0); }
  100% { opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1); } }

@keyframes slideDownFlex { 0% { display: none;
    opacity: 0; }
  1% { display: -webkit-box; display: flex;
    opacity: 0;
    -webkit-transform: scale(0);
            transform: scale(0); }
  100% { opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1); } }

@-webkit-keyframes slideUp { 0% { display: block;
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1); }
  99% { display: block;
    opacity: 0;
    -webkit-transform: scale(0);
            transform: scale(0); }
  100% { display: none;
    opacity: 0; } }

@keyframes slideUp { 0% { display: block;
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1); }
  99% { display: block;
    opacity: 0;
    -webkit-transform: scale(0);
            transform: scale(0); }
  100% { display: none;
    opacity: 0; } }

@-webkit-keyframes slideUpFlex { 0% { display: -webkit-box; display: flex;
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1); }
  99% { display: -webkit-box; display: flex;
    opacity: 0;
    -webkit-transform: scale(0);
            transform: scale(0); }
  100% { display: none;
    opacity: 0; } }

@keyframes slideUpFlex { 0% { display: -webkit-box; display: flex;
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1); }
  99% { display: -webkit-box; display: flex;
    opacity: 0;
    -webkit-transform: scale(0);
            transform: scale(0); }
  100% { display: none;
    opacity: 0; } }

@-webkit-keyframes spin-anim { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } }

@keyframes spin-anim { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } }

@-webkit-keyframes fade-anim { 0% { opacity: .2; }
  50% { opacity: 1; }
  100% { opacity: .2; } }

@keyframes fade-anim { 0% { opacity: .2; }
  50% { opacity: 1; }
  100% { opacity: .2; } }

/******************************* FEATURED */
.featured-post { margin-bottom: 1rem; }

.no-flexbox .featured-post { overflow: hidden; }

.featured-post__item { -webkit-box-align: center; align-items: center; display: -webkit-box; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; flex-direction: column; }

@media (min-width: 992px) { .featured-post__item { -webkit-box-orient: horizontal; -webkit-box-direction: normal; flex-direction: row; } }

.featured-post__image { margin-bottom: -2px; }

@media (min-width: 992px) { .featured-post__image { -webkit-box-flex: 0; flex: 0 1 64.3%; } }

@media (min-width: 992px) { .no-flexbox .featured-post__image { float: left; width: 64.3%; } }

.featured-post__info { padding: 3rem 5%; }

@media (min-width: 992px) { .featured-post__info { -webkit-box-flex: 1; flex: 1 0 30.7%; padding: 1rem 2.5%; } }

@media (min-width: 992px) { .no-flexbox .featured-post__info { float: right; padding: 1.5rem 2.5%; width: 30.7%; } }

.featured-post__description { margin-bottom: .25rem; }

.featured-post__copy p { font-size: 1rem; }

.featured-post__meta { font-size: .875rem; }

.featured-post__nav { -webkit-box-align: stretch; align-items: stretch; display: -webkit-box; display: flex; -webkit-box-pack: justify; justify-content: space-between; }

.no-flexbox .featured-post__nav { clear: both; float: left; width: 100%; }

.featured-post__btn { -webkit-box-align: center; align-items: center; border: 0; display: -webkit-box; display: flex; padding: 1rem .5rem; text-decoration: none !important; transition: background-color .2s ease; }

.featured-post__btn .post-icon { font-size: 1rem; margin: 0 .5rem; }

.no-flexbox .featured-post__btn { max-width: 42.5%; }

.no-flexbox .featured-post__btn .post-icon { vertical-align: text-bottom; }

.no-flexbox .featured-post__btn--prev { float: left; }

.no-flexbox .featured-post__btn--next { float: right; }

.featured-post__slide { width: 100%; }

/******************************* CATEGORY FILTERS */
.post-categories { display: -webkit-box; display: flex; flex-wrap: wrap; -webkit-box-pack: center; justify-content: center; padding: 1rem 0 0; }

.no-flexbox .post-categories { text-align: center; }

.post-categories__item.btn { display: block; margin: 0 10px 10px 10px; cursor: pointer; }

.post-categories__item--active { color: #ffffff; background-color: #252525; border-color: #252525; }

/******************************* LIST */
.post-list { text-align: center; }

.post-list__heading {margin-bottom: 2rem; margin-top: 2rem; text-transform: uppercase; }

.post-list__grid { display: -webkit-box; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; flex-direction: column; flex-wrap: wrap; justify-content: space-around; }

@media (min-width: 768px) { .post-list__grid { -webkit-box-orient: horizontal; -webkit-box-direction: normal; flex-direction: row; } }

@media (min-width: 992px) { .post-list__grid { -webkit-box-pack: justify; justify-content: space-between; } }

.no-flexbox .post-list__grid { overflow: hidden; }

.post-list__item { display: -webkit-box; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; flex-direction: column; -webkit-box-pack: center; justify-content: center; margin-bottom: 2rem; overflow: hidden; position: relative; }

@media (min-width: 768px) { .post-list__item { flex-basis: 48%; } }

@media (min-width: 992px) { .post-list__item { flex-basis: 31.2%; } }

.post-list__item img { display: block; opacity: 0.5; }

.post-list__item:hover img { opacity: 1; }

@media (min-width: 768px) { .no-flexbox .post-list__item { float: left; margin-left: 1%; margin-right: 1%; width: 48%; }
  .no-flexbox .post-list__item:nth-child(2n+1) { clear: both; } }

@media (min-width: 992px) { .no-flexbox .post-list__item { float: left; margin-left: 0; margin-right: 3.15%; width: 31.2%; }
  .no-flexbox .post-list__item:nth-child(3n) { margin-right: 0; }
  .no-flexbox .post-list__item:nth-child(2n+1) { clear: none; }
  .no-flexbox .post-list__item:nth-child(3n+1) { clear: both; } }

.post-list__item--padding { display: none; }

@media (min-width: 992px) { .post-list__item--padding { display: -webkit-box; display: flex; } }

.post-list__image { overflow: hidden; position: relative; background-color: #252525; }

.post-list__image img { position: relative; transition: .3s; z-index: 0; }

.post-list__info { padding: 1.25rem 1rem 2.5rem; }

.post-list__title { font-size: 1.15rem;margin-bottom: .25rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.post-list__date { margin-bottom: 0; }

.post-list__copy { font-size: 1rem; margin: 0; }

.post-list__item--has-image { -webkit-box-pack: start; justify-content: flex-start; }

.post-list__item--has-image .post-list__info { padding: .75rem 1rem 1rem; position: relative; }

/******************************* LOADING ICON */
.post-list__loading { display: none; }

.post-list__loading .post-icon { font-size: 2rem; }

.post-list__loading--spin { display: block; text-align: center; }

.post-list__loading--spin .post-icon { -webkit-animation: spin-anim 1s linear infinite, fade-anim 3s ease-in-out infinite; animation: spin-anim 1s linear infinite, fade-anim 3s ease-in-out infinite; }

.post-list__loading--spin .no-flexbox { clear: both; }

/******************************* NAV */
.post-nav { -webkit-box-align: center; align-items: center; display: -webkit-box; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; flex-direction: column; -webkit-box-pack: justify; justify-content: space-between; margin: 1rem 0; padding: .75rem; }

@media (min-width: 768px) { .post-nav { -webkit-box-align: stretch; align-items: stretch; -webkit-box-orient: horizontal; -webkit-box-direction: normal; flex-direction: row; padding: 1.25rem; } }

.no-flexbox .post-nav { clear: both; overflow: hidden; }

.post-nav--detail { -webkit-box-align: stretch; align-items: stretch; -webkit-box-orient: horizontal; -webkit-box-direction: normal; flex-direction: row; padding: 0; }

.post-nav__btn { -webkit-box-align: center; align-items: center; border: 0; display: -webkit-box; display: flex; padding: 1rem .5rem; transition: background-color .2s ease; }

.post-nav__btn .post-icon { font-size: 1rem; margin: 0 .5rem; }

.no-flexbox .post-nav__btn { max-width: 42.5%; }

.no-flexbox .post-nav__btn .post-icon { vertical-align: text-bottom; }

.no-flexbox .post-nav__btn--prev { float: left; }

.no-flexbox .post-nav__btn--next { float: right; }

.post-nav__more { background-color: transparent; border: 0; cursor: pointer; font-size: .875rem; padding: .75rem; }

.post-nav__more > div { -webkit-box-align: center; align-items: center; display: -webkit-box; display: flex; font-family: 'Roboto', sans-serif;font-weight: 300;font-size: 0.9375rem;}

.post-nav__more:disabled { cursor: no-drop; opacity: .2; }

.post-nav__more .post-icon { font-size: 1rem; margin-right: .5rem; }

@media (min-width: 768px) { .no-flexbox .post-nav__more { float: left; margin-top: .75rem; max-width: 42.5%; } }

.no-flexbox .post-nav__more .post-icon { vertical-align: text-bottom; }

.post-nav__search { padding: .75rem; position: relative; }

@media (min-width: 768px) { .post-nav__search { -webkit-box-flex: 0; flex: 0 1 16rem; } }

@media (min-width: 768px) { .no-flexbox .post-nav__search { float: right; max-width: 16rem; } }

.post-nav__search-input { border-style: solid; border-width: 1px; font-size: .875rem; padding: .75rem 1rem; width: 100%; font-family: 'Roboto', sans-serif;font-weight: 300;font-size: 0.9375rem;}

.post-nav__search-submit { background-color: transparent; border: 0; cursor: pointer; font-size: 1rem; position: absolute; right: 1rem; top: 1.5rem; }

/******************************* RECOMMENDED */
.recommended-posts { padding: 2rem 0; }

.recommended-posts__heading { margin-bottom: 1.5rem; text-align: center; text-transform: uppercase; }

.recommended-posts__grid { display: -webkit-box; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; flex-direction: column; -webkit-box-pack: justify; justify-content: space-between; }

@media (min-width: 768px) { .recommended-posts__grid { -webkit-box-orient: horizontal; -webkit-box-direction: normal; flex-direction: row; } }

.no-flexbox .recommended-posts__grid { overflow: hidden; }

.recommended-posts__item { display: -webkit-box; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; flex-direction: column; -webkit-box-pack: justify; justify-content: space-between; margin-bottom: 1rem; }

@media (min-width: 992px) { .recommended-posts__item { -webkit-box-flex: 0; flex: 0 0 31.2%; -webkit-box-orient: horizontal; -webkit-box-direction: normal; flex-direction: row; } }

.no-flexbox .recommended-posts__item { float: left; width: 100%; }

@media (min-width: 992px) { .no-flexbox .recommended-posts__item { margin-right: 3.15%; width: 31.2%; }
  .no-flexbox .recommended-posts__item:nth-child(3n) { margin-right: 0; } }

.recommended-posts__image, .recommended-posts__info { -webkit-box-flex: 0; flex: 0 0 49%; }

.no-flexbox .recommended-posts__image, .no-flexbox .recommended-posts__info { width: 49%; }

.no-flexbox .recommended-posts__image { float: left; }

.no-flexbox .recommended-posts__info { float: right; }

.recommended-posts__title { margin: .5em 0 0 0; }

@media (min-width: 992px) { .recommended-posts__title { margin: 0 0 .5em 0;  } }

.recommended-posts__date { font-size: .9125em; margin: 0; }

/******************************* DETAIL VIEW */
.post-header { position: relative; }

.post-header__image { max-width: none; width: 100%; }

.post-header__info { width: 100%; }

.post-header__info--image { margin-top: -3.125rem; }

@media (min-width: 768px) { .post-header__info--image { bottom: 0; left: 0; margin-top: 0; position: absolute; right: 0; } }

.post-header__title { font-size: 3.125rem; margin-bottom: 0; padding-top: 3rem; text-align: center; }

.no-flexbox .post-header__title { float: left; width: 100%; }

.post-header__btn { -webkit-box-align: center; align-items: center; border: 0; display: -webkit-box; display: flex; opacity: .5; padding: 1rem 0; transition: opacity .2s ease; }

.post-header__btn:hover { opacity: 1; }

.post-header__btn .post-icon { font-size: 1rem; margin: 0 .5rem; }

.no-flexbox .post-header__btn { float: left; }

.no-flexbox .post-header__btn .post-icon { vertical-align: text-bottom; }

.post-body__meta { margin-bottom: 2rem; margin-top: 2rem; text-align: center; }

.post-body__summary { font-size: 1.25rem; }

.post-body__author { margin-bottom: 0; }

.post-body__button { -webkit-box-align: center; align-items: center; border-radius: .375rem; display: -webkit-box; display: flex; font-size: .875rem; -webkit-box-pack: center; justify-content: center; margin-top: 1rem; padding: .75rem 1.5rem; text-align: center; transition: background-color .2s ease; width: calc(100% - 3rem); }

@media (min-width: 992px) { .post-body__button { margin-top: 0; width: auto; } }

.post-body__button .post-icon { margin-left: .5rem; }

.no-flexbox .post-body__button { float: left; }

@media (min-width: 992px) { .no-flexbox .post-body__button { margin-left: .25rem; margin-right: .25rem; } }

.post-body__content { margin-bottom: 2rem; }

.no-flexbox .post-body__content { clear: both; }

.post-body__tags a { font-size: .9125em; }

.post-author { -webkit-box-align: start; align-items: flex-start; display: -webkit-box; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; flex-direction: column; -webkit-box-pack: justify; justify-content: space-between; margin-bottom: 1.5rem; }

@media (min-width: 768px) { .post-author { -webkit-box-orient: horizontal; -webkit-box-direction: normal; flex-direction: row; } }

.no-flexbox .post-author { clear: both; overflow: hidden; }

.post-author__image { width: 50%; margin-bottom: 1rem; }

.no-flexbox .post-author__image { float: left; }

@media (min-width: 768px) { 
  .post-author__image { width: 22%;}
  .no-flexbox .post-author__image { width: 22%; }
}

.post-author__info { width: 100%; }

.no-flexbox .post-author__info { float: right; }

@media (min-width: 768px) { 
  .no-flexbox .post-author__info { width: 75%; }
  .post-author__info { width: 75%; }
}

.post-author__heading { margin-bottom: 0; }

.post-author__title { margin-bottom: 1rem; }

.post-author__social { margin-bottom: 1rem; }

.post-author__social-button { border-radius: 50%; margin-right: .5rem; padding: .25rem .33rem; transition: background-color .2s ease; vertical-align: top; }

/******************************* COMMENTS */
.comment-intro { padding: 1em 0; margin-bottom: 1em; }

.comment-intro h3 { line-height: 1.1; margin-top: 0; margin-bottom: 0; }

.comments h3, .comment-login { float: left; margin-right: 1em; }

.comment-item { clear: both; overflow: hidden; }

.comment-login { margin-top: 5px; }

.commenter-thumb { width: 64px; height: 64px; overflow: hidden; float: left; margin-right: -64px; }

.comment { margin-left: 74px; margin-bottom: 1em; }

.comment-login { font-size: .9125em; }

.comment-header { line-height: 1.3; font-size: .9125em; padding: .5em; }

.comment-body { padding: 5px; }

.comments form { margin-left: 74px; }

.comments form label { display: block; font-size: 1em; }

.comments form textarea#comment { width: 99%; }

.post-categories {display: flex;}  .filters {display: none;  }

@media screen and (max-width: 767px) {  .post-categories {display: none;  }  .filters {display: block;  }}

.post-header__video video{
    width: 100%;
    height: auto;
}

/*remove bg of post list item*/
.post-list__item.post-list__item--has-image {
  background-color: transparent;
} 
/*add dropdown mode: force showing dropdown (category filter) on desktop*/
.container-wide.dropdown-mode > .post-categories {
  display: none;
}
.container-wide.dropdown-mode > .filters {
  display: block !important;
}
.container-wide.dropdown-mode > .filters .ui-selectmenu-button {
      margin: 0 auto 1em auto;
      float: none;
}
/*update recommendation styles*/
.recommended-posts__grid.post-list__grid .post-list__item--has-image .post-list__info {
  padding: 1rem;
}
.recommended-posts__grid.post-list__grid .post-list__item--has-image .post-list__info {
  text-align: center;
}
.recommended-posts__grid.post-list__grid .post-list__item--has-image .post-list__info .post-list__title {
  margin-bottom: 0px;
}

/*update detail page header*/
.post-header__info--image > .container {
  background-color: white;
}
.post-body__meta > h6.description {
  line-height: 1.4;
}
.postDetail #content {
  padding-top: 0 !important;
} 
@media screen and (max-width: 767px) {
  .detail-page .content-main{
    padding-left: 15px;
    padding-right: 15px;
  }
}
/*update `more from blog` section*/
.recommended-posts__item:not(.has-image) .recommended-posts__info{
  flex: 0 0 100%;
}