/*  tangerine · by saestrah · december 2020  */

/*  tooltips  */

#s-m-t-tooltip {
    color:var(--tooltiptext);
    background-color:var(--accent);
    font-size:calc(var(--bodyfontsize) - 4px);
    font-family:var(--bodyfont);
    letter-spacing:1.5px;
    font-weight:600;
    text-align:center;
    position:absolute;
    padding:6px;
    margin-top:25px;
    z-index:99999999;
}

/*  scrollbar  */

::-webkit-scrollbar { height:11px; width:11px; }

::-webkit-scrollbar-thumb {
    background:var(--scrollbar);
    border:4px solid transparent;
    background-clip:padding-box;
}

html { overflow-y:scroll; overflow-x: hidden; }

/*  tumblr controls  */

iframe.tmblr-iframe {
    position:fixed;
    display:inline-block;
    top:3%!important;
    right:10%!important;
    padding:0 2.5% 0 0;
    z-index:99999999999999!important;
    opacity:0;
    transition:.4s ease-in-out;
    transform:scale(0.75,0.75);
    transform-origin:right top;
}

iframe.tmblr-iframe:hover {
    opacity:1!important;
    cursor:pointer;
}

/*  selection  */

::-wewbkit-selection { background:var(--borders); }
::-moz-selection{ background:var(--borders); }
::selection { background:var(--borders); }

/*  lightboxes  */

.lightbox-image, #tumblr_lightbox img {
    max-width:none;
    padding:0px!important;
    border:0!important;
    opacity:1!important;
    box-shadow:none!important;
        -moz-box-shadow:none!important;
        -webkit-box-shadow:none!important;
    border-radius:0px!important;
        -moz-border-radius:0px!important;
        -webkit-border-radius:0px!important;
}

.tmblr-lightbox, #tumblr_lightbox { background:rgba(var(--rgbbackground), .95)!important; }
.vignette, #vignette { opacity:0; }

/*  typography  */

body {
    background:var(--background);
    color:var(--text);
    font-family:var(--bodyfont);
    font-size:var(--bodyfontsize);
    font-weight:var(--bodyfontweight);
    word-wrap:break-word;
    text-align:justify;
    letter-spacing:.15px;
    margin:0;
    width:100vw;
    overflow-x:hidden;
    -moz-osx-font-smoothing:grayscale;
    -webkit-font-smoothing:antialiased;
    font-smoothing:antialiased;
}

a { color:var(--links); text-decoration:none; }

a:hover {
    color:var(--accent);
    text-decoration:none;
    transition:all .3s linear;
        -webkit-transition:all .3s linear;
        -o-transition:all .3s linear;
        -moz-transition:all .3s linear;
}

blockquote {
    border-left:1px solid var(--borders);
    padding-left:10px;
    margin:.5em 0;
}

small, big, sub, {
    font-size:12px!important;
    vertical-align:baseline!important;
}

bold, b, strong {
    font-weight:bold;
}

pre {
    padding:0;
    margin:0;
    line-height:inherit!important;
    background:transparent;
    font-family:inherit!Important;
    font-size:inherit!important;
    white-space:pre-wrap;
    white-space:-moz-pre-wrap;
    white-space:-pre-wrap;
    white-space:-o-pre-wrap;
    word-wrap:break-word;
}

h1, h2, h3, h4 {
    margin:1em 0;
    font-size:1em;
    padding:0;
    font-weight:bold;
}

hr {
    border:none;
    margin:.5em auto;
    width:100%;
    border-top:1px solid var(--borders);
}

/*  buttons  */

#buttons {
    position:fixed;
    background:transparent;
    font-family:var(--bodyfont);
    font-size:20px;
    color:var(--links);
    z-index:99999;
}

#buttons:hover { color:var(--accent); cursor:pointer; }

.cc { top:4%; right:120px; }
.bfontbtn { top:4%; right:20px; }
.sfontbtn { top:4%; right:20px; }
.nightbtn { top:4%; right:70px; }
.daybtn { top:4%; right:70px; }
.top { display:none; bottom:7%; right:1.5%; }
.credit { bottom:3%; right:1.5%; }

/*  header  */

header {
    position:fixed;
    display:none;
    top:0;
    left:0;
    width:100%;
    padding:25px 0;
    background:var(--sidebar);
    text-align:center;
    z-index:9999;
}

mobilenav {
    position:fixed!important;
    z-index:9999;
    color:var(--title);
    text-align:right;
    top:2%;
    right:120px;
    width:auto;
    transition:max-height 1.5s ease-in-out;
        -webkit-transition:max-height 1.5s ease-in-out;
        -moz-transition:max-height 1.5s ease-in-out;
        -o-transition:max-height 1.5s ease-in-out;
}

ul.linksmenu {
    background:transparent;
    color:var(--title);
	list-style:none;
	text-align:right;
	height:auto;
	max-height:20px;
}

ul.linksmenu .linksbutton {
    cursor:pointer;
    position:relative;
    display:block;
    font-size:20px;
    transition:all 0.2s ease;
        -webkit-transition:all 0.2s ease;
        -o-transition:all 0.2s ease;
}

ul.linksmenu .open { color:var(--accent); }

ul.mobilelinksbox { list-style:none; display:none; margin-right:-1em; }

ul.mobilelinksbox li {
	background:var(--sidebar);
	list-style:none;
	padding:.5em 1em 1em 1em;
}

ul.mobilelinksbox li a { color:var(--title); }
ul.mobilelinksbox li a:hover { color:var(--accent); }

.mobilelinks { list-style:none; }
.mobilelinks li a { display:block; color:var(--title); }
.mobilelinks li a:hover { color:var(--accent); }

/*  left sidebar  */

sidebar {
    position:fixed;
    width:35%;
    height:100%;
    text-align:justify;
    color:var(--sidebartext);
    background:var(--sidebar);
}

sidebar img {
    display:block;
    max-width:100%;
    max-height:100%;
    cursor:pointer;
}

#sidebarcontent { padding:50% 25px; }

.maintitle {
    font-family:var(--titlefont);
    font-size:var(--titlefontsize);
    color:var(--title);
    font-weight:var(--titlefontweight);
    border:0;
    margin-bottom:25px;
}

.description { margin-top:15px; font-size:calc(var(--bodyfontsize) + 2px); }

/*  search  */

.search-wrapper {
    display:inline-block;
    color:var(--sidebartext);
    border:none;
    margin-bottom:0px;
    padding:50px 0;
    width:auto;
}

.query {
   color:var(--accent);
   border:0;
   outline:0;
   font:inherit;
   transition:0.25s ease-in-out;
   background:transparent;
}

::-webkit-input-placeholder { color:var(--sidebartext); }
:-moz-placeholder { color:var(--sidebartext); }
::-moz-placeholder { color:var(--sidebartext); }
:-ms-input-placeholder { color:var(--sidebartext); }

tabpanel {
    position:fixed;
    left:35%;
    width:50px;
    height:100%;
    background:var(--buttons);
}

#tabbtns {
    position:fixed;
    left:35%;
    background:transparent;
    font-family:"karla";
    font-size:20px;
    color:var(--title);
    background-color:var(--buttons);
    padding:25px 15px;
    z-index:9999;
}

#tabbtns:hover { color:var(--title); background-color:var(--accent); cursor:pointer; }

.homebtn { top:0%; }
.askbtn { top:10%; }
.archivebtn { top:20%; }
.tabbtn { top:30%; }
.link1 { top:40%; }
.link2 { top:50%; }
.link3 { top:60%; }
.link4 { top:70%; }
.link5 { top:80%; }
.link6 { top:90%; }

/*  tab  */

tab {
    display:none;
    position:fixed;
    width:35%;
    height:100%;
    bottom:0%;
    text-align:justify;
    color:var(--tabtext);
    background:var(--tab);
    z-index:99999;
}

tab img {
    display:block;
    max-width:100%;
    max-height:100%;
    cursor:pointer;
}

#tabcontent { padding:25px; }

.tabtitle {
    font-family:var(--titlefont);
    font-size:var(--titlefontsize);
    color:var(--title);
    font-weight:var(--titlefontweight);
    border:0;
}

.tabdescription { padding:25px 0; font-size:calc(var(--bodyfontsize) + 2px); }

/*  a note from saestrah:

to move the update title up or down, change the "padding-top" value  */

.updatetitle {
    font-family:var(--titlefont);
    font-size:var(--titlefontsize);
    color:var(--title);
    font-weight:var(--titlefontweight);
    border:0;
    margin-bottom:25px;
    padding-top:100px;
}

/*  posts  */

section { line-height:1.75em; width:45%; margin:100px 140px 0 auto; }

.posts { padding:0 10% 0; margin-bottom:25%; }

.ph { position:relative; overflow:hidden; }

.ph img {
    display:block;
    width:100%;
    cursor:pointer;
}

/*  photosets  */

[photoset-layout] { grid-gap:3px; }

[photoset-layout] div { cursor:pointer; }

/*  text  */

.title {
    color:var(--subtitle);
    font-family:var(--bodyfont);
    font-weight:bold;
    font-size:1.1em;
    line-height:1.75em;
}

.title a { color:var(--subtitle); }
.title a:hover { color:var(--accent); }

.ted { margin-top:10px; }

a.read_more, .label { letter-spacing:1.5px; font-weight:bold; }

/*  captions  */

.comment { list-style:none; }
.comment img { width:100%; height:auto; }
.comment video { width:100%; height:auto; }
.comment .embed_iframe { width:100%; }

.user {
    display:inline-block;
    color:var(--accent);
    font-weight:bold;
    line-height:1em;
    margin:1.5em 0 0;
}

.user:hover { color:var(--links); }

.deactivated:after {
    content:"― deactivated";
    position:absolute;
    padding-left:3px;
    opacity:0;
    transition:.4s ease;
    color:var(--text);
}

.deactivated:hover:after { opacity:1; }

.tex li { list-style-type:square; }

/*  quote  */

.quote {
    text-align:justify;
    font-family:var(--bodyfont);
    font-size:1em;
    margin-left:25px;
    padding-left:15px;
    position:relative;
    border-left:1px solid var(--borders);
}

.quote:before {
    content:"“";
    font-family:var(--titlefont);
    color:var(--text);
    font-weight:var(--titlefontweight);
    font-style:normal!important;
    font-size:2em;
    position:absolute;
    left:-25px;
    top:0;
}

.source {
    color:var(--subtitle);
    margin:15px 0 10px;
}

.source a { color:var(--links); }
.source a:hover { color:var(--accent); }

/*chat*/

.chat {
    text-align:left;
    margin:0;
    padding:0;
    list-style:none;
}

.chat li { list-style:none; }

.label {
    font-weight:bold;
    color:var(--subtitle);
    display:inline-block;
    text-transform:lowercase;
}

.l { padding:10px 0; }
.l:first-of-type {padding-top:0;}
.l:last-of-type { padding-bottom:10px; border:0; }

/* audio */

iframe.tumblr_audio_player { width:calc(500px + 90px); }

.soundcloud_audio_player { max-height:116px!important; width:100%!important; }

.spotify_audio_player { max-height:80px!important; width:100%!important; }

.player {
    width:27px;
    height:27px;
    position:absolute;
    left:17px;
    padding:5px;
    background:var(--base);
    display:block;
    overflow:hidden;
    top:calc(50% - 19px);
}

.play { margin-left:-2px; }

.hold {
    text-align:left;
    background:var(--base);
    position:relative;
    display:block;
    min-height:24px;
    padding:20px;
}

.audio_info {
    vertical-align:left;
    text-align:left;
    line-height:16px;
    margin-left:50px;
    max-width:calc(100% - 35px);
}

.audio_info span {
    white-space:nowrap;
    text-overflow:ellipsis;
    display:block;
}

.hold .artist {
    font-weight:bold;
    color:var(--subtitle);
}

.video * {
    cursor:pointer;
    max-width:100%;
}

/*  asks  */

.question {
    padding:15px 15px 5px 15px;
    margin-bottom:1em;
    background:var(--base);
    overflow: hidden;
}

.asker { text-transform:lowercase; font-weight:bold; }
.asker a {color:var(--links);}
.asker a:hover {color:var(--accent);}

.answer { display:inline-block; }

.answerer { font-weight:bold; }
.answerer a { color:var(--accent); }
.answerer a:hover { color:var(--links); }

/*  date, notes, and tags  */

.when { display:block; text-transform:lowercase; }

.notecount {
    text-transform:lowercase;
    color:var(--text);
    padding-left:5%;
}

.reblog { padding-right:50px; }

.like-b {
  position:relative;
  display:inline-block;
  height:1em;
  margin-bottom:-3px;
  line-height:1em;
  overflow:hidden;
}

.like-b .like_button iframe {
   position:absolute;
   top:0px;
   left:0;
   bottom:0;
   right:0;
   z-index:2;
   opacity:0;
}

.like-b .liked + .b {
  color:inherit;
}

.like-b .liked + .b:after {
   content:"d";
}

.tags {
    display:inline-block;
    font-family:var(--bodyfont);
    font-size:calc(var(--bodyfontsize) - 2px);
    font-weight:bold;
    text-align:left;
    line-height:1.5em;
	padding-top:8px;
    transition: all 0.5s ease-in-out;
        -webkit-transition: all 0.5s ease-in-out;
        -moz-transition: all 0.5s ease-in-out;
        -o-transition: all 0.5s ease-in-out;
}
.tags:before {
    content:"#";
    display:inline-block;
    margin:0 10px;
}
.tags a { margin-left:10px; }

.posts:hover .tags {
    opacity:1;
    transition: all 0.5s ease-in-out;
        -webkit-transition: all 0.5s ease-in-out;
        -moz-transition: all 0.5s ease-in-out;
        -o-transition: all 0.5s ease-in-out;
}

/*  permalink  */

.via {
    padding: 0 0 1em 2em;
    margin-bottom:2em;
    border-bottom:1px solid var(--borders);
}

ol.notes {
    list-style-type:none;
    text-align:justify;
    padding:0;
    margin:0;
}

ol.notes li.note { display:block; padding:10px 25px; }
ol.notes li.note img.avatar { display:none!important; }

ol.notes li.note:before {
    content:"";
    display:inline-block;
    width:20px;
    height:1px;
    background:var(--text);
    margin:2px 10px 2px 0;
}

a.more_notes_link {
    display:block;
    text-align:center;
    color:var(--links);
    margin-top:.5em;
}

a.more_notes_link:hover { color:var(--accent); }

/*  pagination  */

footer {
    text-align:center;
    bottom:10%;
    width:100%;
    padding:0 0 50px;
    z-index:99;
    font-size:20px;
}

footer span { padding:10px; }

.prev a:hover { cursor:pointer; }
.next a:hover { cursor:pointer; }

/*  nightmode  */

body.night { background:var(--nightbackground); color:var(--nighttext)!important; }
body.night sidebar, body.night header, body.night ul.mobilelinksbox li { background:var(--nightsidebar); }
body.night tab { background:var(--nighttab); color:var(--nighttabtext); }
body.night .notecount, body.night .deactivated:after { color:var(--nighttext)!important; }

body.night sidebar { color:var(--nightsidebartext); }
body.night .maintitle, body.night .tabtitle, body.night .updatetitle { color:var(--nighttitle); }

body.night header, body.night mobilenav, body.night ul.linksmenu li .las, body.night .search-wrapper, body.night #buttons, body.night a, body.night .asker a, body.night .answerer a:hover, body.night .user:hover, body.night .hold .artist, body.night .label, body.night #s-m-t-tooltip { color:var(--nightlinks); }

body.night a:hover, body.night .asker a:hover, body.night .answerer a, body.night .query, body.night .user, body.night #buttons:hover, body.night ul.mobilelinksbox li a:hover, body.night .mobilelinks li a:hover, body.night ul.linksmenu .open .las { color:var(--nightaccent); }

body.night #s-m-t-tooltip { background-color:var(--nightaccent); color:var(--nighttooltiptext); }

body.night .via { border-bottom:1px solid var(--nightborders); }
body.night hr { border-top:1px solid var(--nightborders); }
body.night blockquote, body.night .quote { border-left:1px solid var(--nightborders); }

body.night iframe.tmblr-iframe { white-space:nowrap; -webkit-filter: invert(0%); -moz-filter:invert(0%); -o-filter:invert(0%); -ms-filter:invert(0%); filter:invert(0%); }

body.night .question, body.night .player, body.night .hold { background:var(--nightbase); }
body.night tabpanel, body.night #tabbtns { background:var(--nightbuttons); }

body.night #tabbtns:hover { background:var(--nightaccent); }
body.night #tabbtns, body.night #tabbtns:hover { color:var(--nighttitle); }

body.night .title, body.night .title a, body.night .quote:before, body.night .source, body.night .label, body.night .hold .artist { color:var(--nightsubtitle); }

body.night ::-webkit-input-placeholder { color:var(--nightsidebartext); }
body.night :-moz-placeholder { color:var(--nightsidebartext); }
body.night ::-moz-placeholder { color:var(--nightsidebartext); }
body.night :-ms-input-placeholder { color:var(--nightsidebartext); }

body.night ::-wewbkit-selection { background:var(--nightbase)!important; }
body.night ::-moz-selection { background:var(--nightbase)!important; }
body.night ::selection { background:var(--nightbase)!important; }

body.night .tmblr-lightbox, body.night #tumblr_lightbox { background:rgba(var(--rgbnightbackground), .95)!important; }
body.night #ask_form { filter:invert(100%) grayscale(100%)!important; }

/*  increased font size  */

body.legible { font-size:18px; }
body.legible small { font-size:14px!important; }
body.legible mobilenav { font-size:16px; }
body.legible .tags { font-size:16px; }
body.legible .search-wrapper { font-size:var(--bodyfontsize) }
body.legible .query { font-size:var(--bodyfontsize) }

/*  responsivity  */

@media only screen and (max-width: 900px) {
    header { display:block; text-align:left; padding-left:25px; }
    sidebar { display:none; }
    tab { display:none; }
    tabpanel { display:none; }
    iframe.tmblr-iframe { display:none; }
    .cc { display:none; }
    #buttons { color:var(--title); }
    section { width:80%; margin:125px auto 25%; }
    .tags { opacity:1; }
}

@media only screen and (max-width:300px) {
  header { height:40px; }
  .maintitle { display:none; }
}
