
a {
    transition: color .25s ease;
    -o-transition: color .25s ease;
    -ms-transition: color .25s ease;
    -moz-transition: color .25s ease;
    -webkit-transition: color .25s ease;
}

#wrapper {
    margin: 0;
    padding: 0;
}

.indexpage-wrapper {
    visibility:hidden;
    opacity:0;
    transition:all 0.5s ease;
}

.sidebar {
    margin: 0;
    text-align: center;
    overflow: hidden;
}

@media only screen and (min-width: 1024px) {
    .sidebar {
        height: 100vh;
        width: 20%;
        vertical-align: top;
        float: none;
        text-align: left;
        position: fixed;
    }
}

.sidebar .social-link ul {
    font-size: .8em;
}

.sidebar .social-link ul li {
    display: inline-block;
    font-size: 1.2em;
    margin-right: 13px;
}

.sidebar .social-link ul li:last-child {
    margin-right: 0;
}

.sidebar .link {
    margin: 8px 0;
    padding-top: 8px;
    position: relative;
}

.sidebar .link:before {
    content: "";
    display: block;
    width: 8px;
    height: 1px;
    position: absolute;
    left: calc(50% - 4px);
    top: 0;
}

@media only screen and (min-width: 1024px) {
    .sidebar .link:before {
        left: 0;
    }
}

.sidebar .not-link {
    margin: 10px 0;
}

.sidebar .nav .menu li {
    display: inline-block;
    margin-right: 12px;
    padding: 4px 0;
    position: relative;
}

.sidebar .nav .menu li:last-child {
    margin-right: 0;
}

@media only screen and (min-width: 1024px) {
    .sidebar .nav .menu li {
        display: block;
    }
}

.sidebar .sub-menu li {
    display: inline-block;
    margin-right: 12px;
}

.sidebar .sub-menu li:last-child {
    margin-right: 0;
}

@media only screen and (min-width: 1024px) {
    .sidebar .sub-menu li {
        display: block;
    }
}

.header {
    padding: 40px 40px;
}

.header .site-title {
    margin-bottom: 20px;
}

@media only screen and (max-width: 1024px) {
    .search .input-search {
        text-align: center;
    }
}

.search .input-search {
    max-width: 88px;
    border-radius: 4px;
    background: transparent;
    padding: 10px 12px;
    letter-spacing: .5px;
    transition: all .25s ease;
    -o-transition: all .25s ease;
    -ms-transition: all .25s ease;
    -moz-transition: all .25s ease;
    -webkit-transition: all .25s ease;
}

.search .input-search::placeholder {
    transition: all .25s ease;
    -o-transition: all .25s ease;
    -ms-transition: all .25s ease;
    -moz-transition: all .25s ease;
    -webkit-transition: all .25s ease;
}

.sidebar .footer {
    display: none;
}

.footer a {
    text-decoration: underline;
}

@media only screen and (min-width: 1024px) {
    .sidebar .footer {
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        line-height: 1.1em;
        padding: 20px 0 20px 40px;
    }
}


/* main */

.container {
    padding: 0;
    margin: 0;
    height: 100%;
    overflow: hidden;
}

.container .description-wrapper {
    padding-bottom: 22px;
    padding-top: 22px;
    margin: 20px 32px;
}

.container .description-wrapper h3 {
    font-weight: 300;
}

@media only screen and (min-width: 1024px) {
    #posts {
        max-width: 1180px;
        padding: 22px 0;
    }

    .container {
        width: 80%;
        float: right;
        min-height: 100vh;
        margin-right: 24px;
    }

    .header {
        max-width: 280px;
    }
}

@media only screen and (min-width: 1625px) {
    #posts {
        max-width: 1400px;
    }
}

@media and screen and (min-width: 2000px) {
    #posts {
        max-width: 1700px;
    }
}

#posts {
    margin: 0;
    height: 100%;
    overflow: hidden;
}

article {
    width: 100%;
    height: auto;
    margin-bottom: 32px;
    overflow: hidden;
    position: relative;
}

.indexpage article .content {
    margin: 12px 0;
}

@media only screen and (min-width: 768px) {
    .indexpage article {
        width: 49.9%;
    }
}

@media only screen and (min-width: 1625px) {
    .indexpage article {
        width: 33.33%;
    }
}

article .post_inner {
    padding: 0 16px;
}

article .post__inner {
    margin: 0;
    padding: 16px;
    position: relative;
}

article.type_text embed,
article.type_text iframe,
article.type_text object,
article.type_text video {
    max-width: 100%;
}

.page-heading {
    padding: 0 20px;
    margin-bottom: 24px;
}

@media only screen and (min-width: 1024px) {
    .page-heading {
        padding: 0 30px;
        margin: 40px 0;
    }
}

article .content blockquote {
    padding: 6px 12px 6px;
    margin: 12px;
}

/* media */

.type_photo .post-figure {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

article.type_photo img,
article.type_link img,
article.type_text img,
article figure img,
article blockquote img{
        width: 100%;
        height: auto;
        vertical-align: bottom;
    }

.type_video .video-container {
    height: 0;
    padding-bottom: 67.5%;
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
}

.type_video .video-container embed,
.type_video .video-container iframe,
.type_video .video-container object,
.type_video .video-container video {
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    position: absolute;
}

.type_video.widescreen .video-container {
    padding-bottom: 56.25%;
}

.type_video.vimeo .video-container {
    padding-top: 0;
}

.type_audio embed {
    height: default;
}
.type_audio iframe {
    max-width: 100%;
}
.type_audio .tumblr_audio_player,
.type_audio .soundcloud_audio_player {
    width: 100%;
}

article.type_photo:not(.with-cap) .post__inner {
    margin: 0;
    padding: 16px;
}

.indexpage article.type_photo:not(.with-cap) .post-footer .tags {
    display: none;
}

.indexpage article.type_photo:not(.with-cap) .post__inner {
    margin: 16px;
    padding: 0;
    position: relative;
}

.indexpage article.type_photo:not(.with-cap) .post__inner:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 15%;
    left: 0;
    bottom: 0;
    opacity: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, .25));
    z-index: 1;
    transform-origin: bottom;
    transition: all .33s ease;
    -o-transition: all .33s ease;
    -ms-transition: all .33s ease;
    -moz-transition: all .33s ease;
    -webkit-transition: all .33s ease;
}

.indexpage article.type_photo:not(.with-cap) .post__inner:hover:after {
    opacity: 1;
    height: 20%;
}

.indexpage article.type_photo:not(.with-cap) .post-meta {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    margin: 16px 0;
    opacity: 0;
    z-index: 2;
    transform: translate3d(-10%, 0, 0);
    transition: all .25s ease;
    -o-transition: all .25s ease;
    -ms-transition: all .25s ease;
    -moz-transition: all .25s ease;
    -webkit-transition: all .25s ease;
}

.indexpage article.type_photo:not(.with-cap) .post__inner:hover .post-meta {
    opacity: 1;
    transform: translate3d(0%, 0, 0);
}

.indexpage article.type_photo:not(.with-cap) .post-meta .date {
    margin-left: 24px;
}

.indexpage article.type_photo:not(.with-cap) .post-meta .control {
    margin-right: 24px;
}

@media only screen and (max-width: 1024px) {
    .indexpage article.type_photo:not(.with-cap) .post-meta .date {
        float: left;
    }

    .indexpage article.type_photo:not(.with-cap) .post-meta .control {
        float: right;
    }
}

/* answer */

.type_answer .avatar {
    display: inline-block;
    padding: 12px 0;
    vertical-align: top;
    max-width: 24px;
}

.type_answer .note-item-asker .avatar {
     margin-right: 20px;
}

.type_answer .note-item-answerer .avatar {
    float: right;
    margin-left: 20px;
}

.type_answer .note-item .avatar img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    -o-border-radius: 50%;
    -ms-border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
}

.type_answer .asker-question-wrap {
    position: relative;
	background: #eee;
	border-radius: .4em;
	padding: 12px;
	display: inline-block;
	width: 75%;
	-o-border-radius: .4em;
	-ms-border-radius: .4em;
	-moz-border-radius: .4em;
	-webkit-border-radius: .4em;
}

.type_answer .asker-question-wrap:after {
    content: '';
	position: absolute;
	left: 0;
	top: 24px;
	width: 0;
	height: 0;
	border: 10px solid transparent;
	border-right-color: #eee;
	border-left: 0;
	margin-top: -10px;
	margin-left: -10px;
}

.type_answer .answerer-answer-wrap {
    position: relative;
	background: #eee;
	border-radius: .4em;
	padding: 12px;
	display: inline-block;
	width: 75%;
	-o-border-radius: .4em;
	-ms-border-radius: .4em;
	-moz-border-radius: .4em;
	-webkit-border-radius: .4em;
	float: right;
}

.type_answer .answerer-answer-wrap:after {
    content: '';
	position: absolute;
	right: 0;
	top: 24px;
	width: 0;
	height: 0;
	border: 10px solid transparent;
	border-left-color: #eee;
	border-right: 0;
	margin-top: -10px;
	margin-right: -10px;
}

.type_answer .asker,
.type_answer .answerer {
    display: inline-block;
    vertical-align: baseline;
}

.type_answer .note-item {
    margin-bottom: 24px;
}

.type_answer .replies {
    margin-top: 24px;
}

.type_answer a {
    color: {color:Body};
}

/* link post */

article.type_link .post__inner {
    margin: 16px;
    transition: background-color .33s ease;
}

article.type_link .like-control:hover i {
    color: #f5655e;
}

.permalinkpage article.type_link .control li {
    background: transparent;
}


/* chat post */

.chat-msg {
    margin-bottom: 20px;
}

/* post footer */


.post-footer .post-meta {
    margin: 0;
    position: relative;
}

.permalinkpage .post-footer .post-meta {
    margin: 15px 0;
}

@media only screen and (min-width: 768px) {
    .permalinkpage .post-footer .post-meta {
    margin: 28px 0;
}
}

@media only screen and (min-width: 480px) {
    .post-footer .post-meta .date {
    display: inline-block;
}

    ul.control {
        display: inline-block;
        float: right;
        text-align: right;
    }
}

@media only screen and (min-width: 768px) {
    .permalinkpage ul.control li a i,
    .permalinkpage .like-control i{
        padding: 12px;
    }

    .permalinkpage .like-control .like_button,
    .permalinkpage .reblog-control {
        padding: 6px 12px;
    }

    .permalinkpage ul.control li {
        margin-right: 16px;
        border-radius: 24px;
        -o-border-radius: 24px;
        -ms-border-radius: 24px;
        -moz-border-radius: 24px;
        -webkit-border-radius: 24px;
    }

    .permalinkpage .reblog-control {
        height: 26px;
    }
}

ul.control li {
    display: inline-block;
    margin-right: 14px;
    transition: all .25s ease;
    -o-transition: all .25s ease;
    -ms-transition: all .25s ease;
    -moz-transition: all .25s ease;
    -webkit-transition: all .25s ease;
}

ul.control li:last-child {
    margin-right: 0;
}

.reblog_button {
    visibility: hidden;
    position: relative;
}

.reblog_button:before {
    visibility: visible;
	position: absolute;
	top: 0;
	font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f079";
}

.like_button {
    cursor: pointer;
}

.like-control { /* Make a parent element */
    position: relative;
}

.like-control i {
    transition: color .25s ease;
    -o-transition: color .25s ease;
    -ms-transition: color .25s ease;
    -moz-transition: color .25s ease;
    -webkit-transition: color .25s ease;
}

.like-control:hover i { /* Select your color of choice */
    color: #f5655e;
}
.like-control .like_button { /* Position like button above your custom one */
    position: absolute;
    top: 0;
    opacity: 0;
    z-index: 1;
}

.like-control .like_button.liked { /* Keep the functionality active */
    opacity: 1;
}

.like-control .like_button.liked iframe { /* Keep the functionality active */
    opacity: 0 !important;
    z-index: 1;
}


.like-control .like_button.liked:before {
    visibility: visible;
	position: absolute;
	top: 0;
	font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f004";
    cursor: pointer;
    color: #f5655e;
}

@media only screen and (min-width: 768px) {
    .open-in-app {
        display: none;
        visibility: hidden;
    }
}

.type_{select:Date format} a:not(.{select:Date format}),
.type_{select:Date format} span:not(.{select:Date format}){
    display: none;
}

ul.tags {
    font-size: .85em;
    margin: 8px 0;
}

ul.tags li {
    display: inline-block;
    margin-right: 16px;
    padding: 0;
}

ul.tags li:last-child {
    margin-right: 0;
}


.permalinkpage .counts {
    padding-top: 12px;
    border-top: 1px solid #eee;
}

ol.notes {
    list-style-type: none;
}

ol.notes a {
    position: relative;
}

ol.notes .avatar {
    vertical-align: middle;
    margin-bottom: 2px;
    max-width: 18px;
    border-radius: 50%;
    -o-border-radius: 50%;
    -ms-border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
}

ol.notes .avatar_frame {
    padding-right: 12px;
}

ol.notes li {
    padding: 4px 0;
}

/* pagination */

.pagination {
    padding: 60px 32px;
    margin-top: 24px;
    display: none;
}

ul.pagination li {
    display: inline-block;
}

ul.pagination .previous-page {
    float: right;
}

.permal-pagination {
    padding-bottom: 22px;
    overflow: hidden;
}

ul.post-pagination li {
    display: inline-block;
}


ul.post-pagination .previous-post {
    float: right;
    text-align: right;
}

.load-more-btn {
    margin: 0;
    padding: 20px 0 40px;
    text-align: center;
}


/* footer */

.footer-bottom {
    text-align: center;
    margin: 20px 0;
    padding: 12px 0;
}

@media only screen and (min-width: 1024px) {
    .footer-bottom {
        display: none;
    }
}

/* extra */

#infscr-loading {
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 28px 0;
}

#infscr-loading img{
    display: none;
}

.about-wrap {
    overflow: hidden;
}

@media only screen and (min-width: 1024px) {
    .about-wrap {
        width: 50%;
        max-width: 375px;
    }
}

/* loader */

.loader{
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  margin:auto;
  width:100vw;
  height:100vh;
  background: #f9f9f9;
  visibility:hidden;
  opacity:0;
  transition:all 0.25s ease;
  z-index: 999;
  overflow: hidden;
}

.loader_inner {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 4em;
  height: 4em;
  line-height: 4em;
  text-align: center;
  font-size: 1.4em;
  font-family: "{text:Body text font}", Helvetica, Arial, sans-serif;
  font-weight: 300;
}

.show {
  visibility: visible !important;
  opacity: 1 !important;
  transition: opacity 0.5s ease;
}

.lock {
    overflow-y: hidden;
}
