/* ------------------------------------------------------------ *\
    Header
\* ------------------------------------------------------------ */

.header { background: #fff; }

.header__holder { position: relative; }

.header:not(.sticky) .nav--desktop .nav-menu > li.categories-link { opacity: 1; visibility: visible; }
.header:not(.sticky) .nav--desktop .nav-menu > li.categories-link > a { opacity: 0; visibility: hidden; }
.header:not(.sticky) .nav--desktop li.categories-link .nav-menu__holder { opacity: 1; visibility: visible; top: 100%; }

/* ------------------------------------------------------------ *\
    Intro Author
\* ------------------------------------------------------------ */

.intro-author { position: relative; background:#F4F4F4; overflow: hidden }
.intro-author h1 { margin-bottom: 30px; font-family: 'ralewaybold', sans-serif; font-size: 34px; line-height: 1.24; } 

.intro-author__inner { position: relative; }

.intro-author__content { position: relative; min-height: 300px; width: 55%; padding: 8.2% 0 40px 0; }
.intro-author__content .author-desc { padding-right: 16%; }

.intro-author__background { position: absolute; right: 0; top: 0; width: 46%; height: 100%; padding-right: calc(46% - 630px); }
.intro-author__background img { width: 100%; height: auto; max-height: 490px; }

.intro-author__background-frame { position: relative; }

.intro-author__background-frame .frame { position: relative; width: 100%; height: auto; z-index: 1; }
.intro-author__background-frame > img:not(.frame) { position: absolute; top: 0; left: 0; bottom: 0; right: 0; height: 100%; width: 100%; padding: 0 1px 1px 1px; z-index: 0; }

/* ------------------------------------------------------------ *\
    Sections
\* ------------------------------------------------------------ */

    .section--cta { padding: 3.8% 0; }
    .section--cta h2 { font-family: 'ralewayregular', sans-serif; font-size: 30px; font-weight: 400; text-align: center; }

    .section--cta .section__head { margin-bottom: 24px; justify-content: center; }

    .section--cta .btn { display: block; min-width: auto; max-width: 360px; margin: 0 auto; text-transform: inherit; }

/* ------------------------------------------------------------ *\
    Author Desc
\* ------------------------------------------------------------ */

.author-desc { margin-bottom: 45px; }

/* ------------------------------------------------------------ *\
    Author Contact
\* ------------------------------------------------------------ */

.author-contact h5 { margin-bottom: 20px; font-size: 16px; text-transform: uppercase; }

.author-contact__list { list-style-type: none; padding-left: 0; -webkit-column-count: 2; -moz-column-count: 2; column-count: 2; -webkit-column-gap: 30px; -moz-column-gap: 30px; column-gap: 30px; }

.author-contact__list > li { display: flex; align-items: center; margin-bottom: 10px; font-size: 16px; overflow-wrap: break-word; word-wrap: break-word; -ms-word-break: break-all; word-break: break-all; word-break: break-word; -ms-hyphens: auto; -moz-hyphens: auto; -webkit-hyphens: auto; hyphens: auto; }

.author-contact__list a { display: flex; width: 100%; border: none; outline: none; transition: .3s; }
.author-contact__list a:hover { color: #1155cc; }

.author-contact__list [class^= "icon-"] { display: inline-flex; }  

.author-contact__list .icon-holder { margin-right: 25px; font-size: 24px; color: #2e67cb; }

/* ------------------------------------------------------------ *\
    Video Gallery
\* ------------------------------------------------------------ */

/* Video Gallery Cols */
.video-gallery__cols { display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; margin-right: -15px; margin-left: -15px; margin-bottom: 30px; }

/* Video Gallery Accordion */
.video-gallery__accordion { max-height: 0; overflow: hidden; margin: 0; opacity: 0; -webkit-transition: .4s; -o-transition: .4s; transition: .4s;  }
.video-gallery.show-more .video-gallery__accordion { max-height: 2000px; opacity: 1; -webkit-transition: .7s; -o-transition: .7s; transition: .7s;}

/* Video Gallery View Btn */
.video-gallery__view-btn { display: flex; justify-content: center; font-size: 14px; font-family: 'ralewaybold', sans-serif; color: #1155cc; }

.video-gallery__view-btn .view-btn { cursor: pointer; }

.video-gallery__view-btn .less { display: none; }
.video-gallery.show-more .video-gallery__view-btn .less { display: inline-block; }
.video-gallery.show-more .video-gallery__view-btn .more { display: none; }

.video-gallery__view-btn .view-btn-arrow { position: relative; width: 18px; display: inline-block; height: 7px; margin-left: 8px; }

.video-gallery__view-btn .view-btn-arrow:after,
.video-gallery__view-btn .view-btn-arrow:before { content: ''; display: block; background: #1155cc; height: 7px; width: 2px; position: absolute; left: 0; top: 50%; margin-top: -4px; -webkit-transform: rotate(-45deg); transform: rotate(-45deg); -webkit-transition: all .3s ease-in-out; -moz-transition: all .3s ease-in-out; -o-transition: all .3s ease-in-out; transition: all .3s ease-in-out; }

.video-gallery__view-btn .view-btn-arrow:after { -webkit-transform: rotate(45deg); transform: rotate(45deg); left: 4px; }

.video-gallery.show-more .video-gallery__view-btn .view-btn-arrow:before { -webkit-transform: rotate(-135deg); transform: rotate(-135deg); }
.video-gallery.show-more .video-gallery__view-btn .view-btn-arrow:after { -webkit-transform: rotate(135deg); transform: rotate(135deg); }

/* ------------------------------------------------------------ *\
    Video Gallery Item
\* ------------------------------------------------------------ */

.video-gallery-item { display: flex; flex-direction: column; justify-content: center; max-width: 730px; margin: 0 auto 18px; }

.video-gallery-item h4 { margin-bottom: 12px; }

/* Video Gallery Item Body */
.video-gallery-item__body { position: relative; border-radius: 8px; overflow: hidden; }

.video-gallery-item__body > a { position: relative; display: block; border: none; }
.video-gallery-item__body > a:after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.4); z-index: 1; }

.video-gallery-item__body img { width: 100%; } 
.video-gallery-item__body .video-gallery-item__play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; }

/* Video Gallery Item Play Btn */
.video-gallery-item__play-btn { display: inline-flex; width: 65px; height: 65px; font-size: 65px; color: rgba(255, 255, 255, 0.5); }

/* Video Gallery Item Play Btn Info */
.video-gallery-item__info { list-style-type: none; position: absolute; bottom: 0; left: 0; display: flex; flex-wrap: wrap; justify-content: space-between; width: 100%; padding: 15px 20px; margin: 0; font-size: 14px; color: #fff; z-index: 2; }

.video-gallery-item__info:before { content: ''; display: block; width: 100%; height: 1px; padding-bottom: 15px; border-top: 1px solid #fff; }

/* ------ Video Gallery Item Large ------*/
	.video-gallery-item--large { max-width: 730px; margin-bottom: 33px; }
	.video-gallery-item--large h4 { margin-bottom: 20px; }

/* ------------------------------------------------------------ *\
    Mediabox Wrap
\* ------------------------------------------------------------ */

.mediabox-wrap { position: fixed; width: 100%; height: 100%; background-color: #000; background-color: rgba(0,0,0,0.8); top: 0; left: 0; opacity: 0; z-index: 9999999999; -webkit-animation-duration: 0.5s; animation-duration: 0.5s; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-name: mediabox; animation-name: mediabox; }

@-webkit-keyframes mediabox {
    0% { opacity: 0; }

    100% { opacity: 1; }
}

@keyframes mediabox {
    0% { opacity: 0; }

    100% { opacity: 1; }
}

.mediabox-content { max-width: 680px; display: block; margin: 0 auto; height: 100%; position: relative; }

.mediabox-content iframe { max-width: 100% !important; width: 100% !important; display: block !important; height: 480px !important; border: none !important; position: absolute; top: 0; bottom: 0; margin: auto 0; }

.mediabox-hide { -webkit-animation-duration: 0.5s; animation-duration: 0.5s; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-name: mediaboxhide; animation-name: mediaboxhide; }

@-webkit-keyframes mediaboxhide {
    0% { opacity: 1; }

    100% { opacity: 0; } 
}

@keyframes mediaboxhide {
    0% { opacity: 1; }

    100% { opacity: 0; } 
}

.mediabox-close { position: absolute; top: 0; cursor: pointer; bottom: 528px; right: 0px; margin: auto 0; width: 24px; height: 24px;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAMvSURBVHja7Js9aBRBFMd/d1lPY6FiJVjY+Fkoxl7wA1Q0prQRS6tgoZV2MWIRRVHUUq3U+JnESrS2sBXBzipREWMlATXwt8gFznC5nd15M7Nn8uC45nZnfr/dY96+N1uTxFKOOks8lgUU/H2t4tJqIQUcAiaBGeBymcECRgO4B/wBPgJ9zkdKcvkclfRL/8ZtSTXH40N+GpLGF8zth6Q9Lse7DHCsDXxVJLSDLyQhb4B+Sb/VOVJJ6ATfKqGvrIDjDvCpJLjAz8d0JwmLDTBQAD62hIakiYJzm5a021VAfwn4WBLKwLdK2JUnIJP0XX4RSoIP/Hy8W3jeepv1dL3nmjwI3DLOExrAU2DA8zwb8xKhGeCuwYQtJTSAZwbwAHdcEqFM0mPZhO/foSHppdFcrraby2IDV0FCcPi8PCClhCjwLplgCgkrDeGv5I3pcjViSogK7yogloTo8EUEhJaQBL6oAGsJ9yVtkrRD0qsU8JKolagKZ8AD4ETFymFXgPOAQpXE5mMWOAk86XZ4n6pwlSSUhvcti1dBghe8RV8gpYQRX3irxkgKCSPABV94y85QTAlm8NatsRgSTOGBUnmAS57w3KiA0Ro3gHOW8KEEAOwE3hvfXWubFauu6A6vCND07OmW9viq5vpsGT3AtRAN2XoA+BfAwQBiTweoNpMZw48BRwKuAoPN7zNVWwZjwAfpO9S7DN5cQmYAPw4cTvAsYPJ3qHcpvNmdUO9ieBMJZQT0AhMVgfeWUC8BP87cjjHfuA6sATY0c4c0EgpUUHslvTaq3l5aUL1N1oarAnxSCVWBTyYhJvyw41XJJI3GkpAH/yYyfHQJi01gdUL4qBKqCh9NQrtBx4wGvGi0XS6T9MhoTkN5AtZVDN5awlTePsGfwDfPjGwYGDKu3s4Cp4BRz/N8cskED0iaqciVt7wTvkra5roKlJEQGt5HwhdJ24vmAUUkDEV+VyCT9NBxbp/bXXnXTNBFQmz4IhI6wrs+C+zvICEVvIuEKUlbrZ4G97WRkBq+k4RJSVusd4ntlfSheVudrQh8q4SbmntH6K2kzSF3if1Xsfzq7LKAJR5/BwCdAQBJn4egPgAAAABJRU5ErkJggg==') no-repeat;  background-size: 24px 24px; -webkit-background-size: 24px 24px; -moz-background-size: 24px 24px; -o-background-size: 24px 24px; }

.mediabox-close:hover { opacity: 0.5; }

/* ------------------------------------------------------------ *\
    Heroes
\* ------------------------------------------------------------ */

.heroes { list-style-type: none; display: flex; padding-left: 0; padding-bottom: 10px; margin-bottom: 0; transition: .5s; }
.heroes > li { padding: 0 15px; min-width: 25%; }
.heroes > li:last-child { margin-right: 0; }

/* ------------------------------------------------------------ *\
    Author Post Container
\* ------------------------------------------------------------ */

.author-post-container__inner { position: relative; margin-bottom: 30px; }
.author-post-container__inner:after { visibility: hidden; opacity: 0; content: ''; position: absolute; top: 0; bottom: 0; left: 0; right: 0; background: rgba(255,255,255,.6); z-index: -1; transition: .3s; }

.author-post-container .archive-posts { padding-bottom: 30px; }
.author-post-container .pagination { position: relative; }
.author-post-container .pagination:after { content: ''; display: none; position: absolute; top: 0; bottom: 0; left: 0; right: 0; }

/* Load Post */
.author-post-container.load-post .post-loading { visibility: visible; transition: .3s; }
.author-post-container.load-post .author-post-container__inner:after { visibility: visible; opacity: 1; z-index: 1; transition: .3s; }

.author-post-container.load-post .pagination:after { display: block; }

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .intro-author__content { width: 60%; }
    .intro-author__background { width: 40%; padding-right: 0; }

	.heroes > li { padding: 0 8px; min-width: 33.33333333%; }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {

    /* --------- Intro --------- */

        /* Intro Background */
        .intro-author__background { position: relative; margin: 0 auto 30px; }

        /* Intro Content */
        .intro-author__content { display: flex; flex-direction: column; width: 100%; min-height: auto; padding-top: 0; text-align: center; }
        .intro-author__content .author-desc { padding: 0 6%; order: 9; }

    /* --------- Author Content List --------- */

    .author-contact__list { display: flex; justify-content: center; -webkit-column-count: auto; -moz-column-count: auto; column-count: auto; -webkit-column-gap: inherit; -moz-column-gap: inherit; column-gap: inherit; }

    .author-contact__list > li { margin-right: 10px; }
    .author-contact__list > li:last-child { margin-right: 0; }
    .author-contact__list .icon-holder { margin: 0; }
    .author-contact__list .text { display: none; }

    /* --------- Heroes --------- */

	.heroes > li { padding: 0 11px; }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {

    .main__inner { padding-top: 20px; }

    .intro-author__content .author-desc { padding: 0; margin: 0; text-align: left; }

    /* --------- Section --------- */

    /* Section Head */
    .section__head { margin-bottom: 30px; }
    .section__head h2 { font-size: 26px; text-align: left; }

        /* Section CTA */
        .section--cta { padding: 60px 0; }
        .section--cta .btn.btn-size-big { max-width: 250px; }


    /* --------- Badge Holder --------- */

    .badge-holder { line-height: 1; }

    /* --------- Post Info --------- */

    .post-info { justify-content: space-between; font-size: 12px; }
    .post-info > li { margin: 0; }

    /* --------- Pagination --------- */

    .pagination-arrows .page-numbers.prev { margin-right: 5px; }
    .pagination-arrows .page-numbers.next { margin-left: 0; }
    .pagination-arrows .page-numbers.dots:not(.prev):not(.next) { width: 16px; }

    /* --------- Video Gallery Item --------- */

    .video-gallery-item h4 { margin-bottom: 7px; }
    .video-gallery-item--large { margin-bottom: 26px; }

    /* --------- Heroes --------- */

	.heroes > li { min-width: 50%; }

    /* --------- Author Posts --------- */

    .author-posts { margin-bottom: 0; }
    .author-posts > li { padding-bottom: 17px; }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
	.intro-author__background { width: 100%; }

	.heroes > li { min-width: 100%; }

    .card--post { display: flex; align-items: center; padding: 12px; }

    .card--post .card__head { height: 2.66em; -webkit-line-clamp: 2; font-size: 16px; }
    .card--post .card__img { width: 90px; height: 90px; border-radius: 8px; }
    .card--post .card__inner { width: calc(100% - 90px); padding: 0 12px; }
}

@media (max-width: 320px) {

    /* --------- Pagination --------- */

    .pagination-arrows { font-size: 16px; }
    .pagination-arrows .btn-arrow { width: 34px; height: 34px; }

    .pagination-arrows .page-numbers:not(.prev):not(.next) { width: 30px; height: 30px; }

    /* --------- Post Info --------- */

    .post-info { font-size: 11px; }
}