/*
Theme Name: Timothysite-V11.0
Author: Timothy Lennryd
Description: Home page theme for my blog
Version: 11.0
License: None yet
Tags: Maybe later
Text Domain: whut?
*/
/* box-sizing: border-box; For letting height and width be constant instead of messed up by the padding. Not tested enough, so still not in use. */
:root
{
  --ui: #96cd00; /*user interface*/
  --ui-marked: #c4fb43; /*chosen menu option*/
  --bg: #ffe373; /*background*/
  --filter: invert(57%) sepia(80%) saturate(429%) hue-rotate(35deg) brightness(109%) contrast(107%); /* for changing colour of the svg-object. */
}

body
{
  background-color: var(--bg);
  margin-left: 0px;
  width: 100%;
  font-family: 'BioRhyme', sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

#gdj-icon-outer-big
{
  position: fixed;
  top: 30px;
  left: 20px;
  width: calc(100% - 600px - 50%);
  min-width: 180px;
  opacity: 0.3;
}
.gdj-icon-outer-small
{
  position: fixed;
  top: 29px;
  left: 18px;
  width: calc(100% - 1159px);
  opacity: 0.5;
  filter: var(--filter);
}
#icon-outer-small-svg
{
  display: none;
}
#icon-outer-small-png
{
  display: none;
}
#container
{
  width: 1120px;
  margin: -19px auto;
}
#wrapper
{
  background-color: white;
  height: 100%;
  min-height: 100vh;
  float: right;
  background-position: 0% 121px;
}
.col-1
{
  width: 900px;
}
.header
{
  text-align: center;
  background-color: var(--ui);
}
.bar-1
{
  width: 100%;
}
#sitename_holder
{
  color: black;
  display: block;
  padding-top: 20px;
  padding-bottom: 12px;
  margin-bottom: 0%;
}
.sitename
{
  display: inline;
  font-size: 27px;
}
#icon-title-svg
{
  display: inline;
}
#icon-title-png
{
  display: none;
}
.gdj-icon-title
{
  position: absolute;
  width: 42px;
  top: 5px;
  margin-left: -55px;
}
.navbar_unit
{
  float: left;
  background-color: var(--ui);
  color: black;
  text-decoration: none;
  text-align: center;
  margin: 5px;
  padding-top: 3px;
  padding-bottom: 3px;
}
.bar-2
{
  width: calc(25% - 6.3px);
  font-size: 20px;
  margin-right: 0px;
}
/*#searchbar
{
  text-align: left;
  float: right;
}
#looking-glass
{
  float: left;
  margin-top: 1.5px;
  margin-bottom: 1.5px;
  margin-left: -3px;
  width: 20px;
  height: 20px;
}
#search-input
{
  float: left;
  width: 114px;
  background-color: var(--bg);
  margin-top: 1px;
  margin-left: 3px;
}
.bar-3
{
  width: 146px;
  font-size: 20px;
  margin-right: 5px;
  padding-left: 8px;
  padding-top: 3px;
  padding-bottom: 3px;
  cursor: pointer;
}*/

/* Dropdown Content (Hidden by Default) */
.dropdown-content
{
  display: none;
  position: absolute;
  font-size: 15px;
  background-color: var(--ui);
  width: 218.5px;
  box-shadow: 0px 20px 12px 5px rgba(0,0,0,0.4);
  z-index: 1;
}
#regularsize-dropdownmenubutton
{
  display: block;
}
#shrunk-dropdownmenubutton
{
  display: none;
}
#dropdown-info
{
  background-color: var(--ui-marked);
  font-size: 14px;
  padding: 4% 1.5%;
}

/* Links inside the dropdown */
.dropdown-content a
{
  color: black;
  padding: 6% 1.5%;
  text-decoration: none;
  display: block;
}

/* Change colour of dropdown links on hover */
.dropdown-content a:hover {background-color: var(--ui-marked);}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}

/* Change the background colour of the dropdown button when the dropdown content is shown */
.dropdown:hover {background-color: var(--ui-marked);}

.pullup
{
  display: none;
}
#pullup-start
{
  visibility: visible;
  display: none;
  position: fixed;
  width: 128px;
  right: 32px;
  bottom: 228px;
  background-color: var(--ui);
  font-size: 42px;
  text-align: center;
  padding-top: 18px;
  padding-bottom: 41px;
  cursor: pointer;
}
.navcol_unit
{
  display: none;
  position: fixed;
  width: 128px;
  right: 32px;
  bottom: 228px;
  padding-bottom: 12px;
  background-color: transparent;
  font-weight: bold;
}
.pullup-content
{
  display: none;
  position: fixed;
  font-size: 23px;
  font-weight: bold;
  /*background-color: white;*/
  width: 128px;
  height: 532px;
  right: 32px;
  bottom: 235px;
  z-index: 1;
}

/* Links inside the pullup */
.pullup-content a
{
  display: block;
  color: black;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
  background-color: var(--ui);
  margin-bottom: 15px;
  width: 128px;
  padding-top: 43.5px;
  padding-bottom: 44px;
}

/* Change color of pullup links on hover */
.pullup-content a:hover {background-color: var(--ui-marked);}

/* Show the pullup menu on hover */

/* .pullup:hover .pullup-content {display: block;}

.pullup:hover #pullup-start {visibility: hidden;} */

/* Change the background color of the pullup button when the pullup content is shown */
.pullup:hover {background-color: var(--ui-marked);}

#sidebar_group
{
  position: fixed;
  top: 62px;
  bottom: 0px;
  width: 200px;
  height: auto;
}
.aside
{
  background-color: white;
}
.col-2
{
  width: 100%;
}
.col-3
{
  height: 200px;
  padding-top: 6px;
}
.sidebar_button
{
  color: black;
  text-decoration: none;
  background-color: var(--ui);
  text-align: center;
  cursor: pointer;
}
.col-4
{
  font-size: 22px;
  display: block;
  margin-left: 6px;
  margin-bottom: 6px;
  width: 188px;
  padding-top: 5px;
  padding-bottom: 5px;
}
/*.col-5
{
  visibility: hidden;
  height: 59.8vh;
  margin-top: -14px;
}*/
/*.anchorlist_headline
{
  font-size: 20px;
  margin-left: 20px;
  padding-top: 12px;
}*/
/*.col-5 li
{
  font-size: 18px;
  display: block;
  margin-left: -20px;
  margin-bottom: 6.5px;
}*/
#totopbuttonimage
{
  background-color: var(--ui);
  z-index: 1;
  cursor: pointer;
}
.col-6
{
  position: absolute;
  width: 58px;
  height: 58px;
  bottom: 20px;
  right: 0px;
}

article
{
  font-size: 20px;
  line-height: 1.4;
  text-align: justify;
  padding: 40px;
  padding-top: 4%;
  padding-bottom: 0%;
}
article:first-child
{
  padding-top: 8%;
}
article:last-child
{
  padding-bottom: 8%;
}
article a:link
{
  color: teal;
  font-style: italic;
  text-decoration: none;
}
article a:visited
{
  color: teal;
  font-style: italic;
  text-decoration: none;
}
article a:hover
{
  color: teal;
  font-style: italic;
  text-decoration: underline;
}
article a:active
{
  color: green;
  font-style: italic;
  text-decoration: underline;
}

/* This one is used in many pages, but not on the main/start page. */
#article_title
{
  text-align: center;
  font-size: 38px;
  padding-top: 35px;
}

.post_header
{
  display: block;
  width: 100%;
  !height: 80px;
  padding-bottom: 10%;
}
.headline
{
  font-size: 23px;
  font-weight: bold;
  display: inline;
  float: left;
}
.publishingdate
{
  font-size: 20px;
  display: inline;
  float: right;
}
article li
{
  padding-bottom: 15px;
  padding-right: 40px;
}
a
{
  word-break: break-word;
}

.image-fullwidth
{
  width: 100%;
}
.image-halfwidth
{
  width: 75%;
}
.image-small
{
  width: 256px;
}

.footer
{
  position: fixed;
  bottom: 0px;
  background-color: var(--ui);
  color: black;
}
.footer a:link
{
  color: black;
  font-style: normal;
  text-decoration: none;
}
.footer a:visited{color: black;}

.footer a:hover{color: black;}

.footer a:active{color: black;}

.bar-4
{
  width: 900px;
  height: 32px;
}
.footer_unit
{
  display: block;
  float: left;
  width: 32.4%;
  font-size: 19px;
  text-align: center;
  margin: 0px;
  padding-left: 0px;
  padding-top: 2px;
  padding-bottom: 2px;
}
.footer_unit:first-child
{
  padding-left: 1.7%;
  text-align: left;
}
.footer_unit:last-child
{
  float: right;
  text-align: right;
  padding-right: 1.7%;
}
/*@media only screen and (min-width: 2560px)
{
  
}*/
/*@media only screen and (max-width: 1920px)
{
  Lägg in allt för den vanliga versionen här. Överst bör vara versionen för 3800px.
}*/
@media only screen and (max-width: 1574px)
{
  #container
  {
    margin: -19px 220px;
  }
}
@media only screen and (max-width: 1355px)
{
  #container
  {
    margin-left: calc(100% - 1120px);
  }
  #gdj-icon-outer-big
  {
    display: none;
    opacity: 0;
  }
  #icon-outer-small-svg
  {
    display: block;
  }
}
@media only screen and (max-width: 1225px)
{
  #container
  {
    margin: -19px auto;
    top: 0px;
    width: 96vw;
  }
  .gdj-icon-outer-small
  {
    top: 200px;
    left: auto;
    right: 32px;
    width: 220px;
    opacity: 0.25;
    filter: var(--filter);
  }
  .col-1
  {
    width: 100%;
    min-width: 320px;
  }
  .gdj-icon-title
  {
    top: 75px;
  }
  #sidebar_group
  {
    top: 0px;
    width: 96vw;
    height: 60px;
    z-index: 2;
  }
  .col-2
  {
    float: left;
    height: 54px;
  }
  .col-3
  {
    width: 100%;
    min-width: 250px;
  }
  .col-4
  {
    font-size: 25px;
    float: left;
    width: 24.3%;
    margin: 0%;
    margin-left: 0.53vw;
    margin-right: 0vw;
    padding-top: 5px;
    padding-bottom: 5px;
  }
  /*.col-5
  {
    visibility: visible;
    margin-top: 14px;
    width: 20%;
    height: 60px;
    min-width: 70px;
  }*/
  /*.col-5 ul
  {
    display: none;
  }*/
  /*.anchorlist_headline
  {
    display: block;
    background-color: var(--ui);
	color: transparent;
    font-size: 25px;
    text-align: center;
    margin-top: 6px;
    margin-right: 2.7%;
    margin-left: 0%;
    padding-top: 10px;
    padding-bottom: 10px;
    cursor: pointer;
  }*/
  .col-6
  {
    position: fixed;
    width: 64px;
    height: 64px;
    left: 25px;
    bottom: 50px;
  }
  .bar-1
  {
    margin-top: 71px;
  }
  #sitename_holder
  {
    padding-top: 19px;
    padding-bottom: 18px;
    margin-bottom: 0%;
  }
  .sitename
  {
    font-size: 32px;
  }
  .navbar_unit
  {
    margin-top: 6px;
  }
  .bar-2
  {
    font-size: 22px;
    width: 24.3%;
    margin-right: 0vw;
    margin-left: 0.53vw;
  }
  /*.bar-3
  {
    font-size: 20px;
    width: 18.8%;
    margin-right: 0.53vw;
    margin-left: 0vw;
  }*/
  .bar-4
  {
    width: 96vw;
    height: 40px;
  }
  .footer_unit
  {
    font-size: 21px;
    padding-top: 4px;
  }
  .dropdown-content
  {
    font-size: 20px;
    width: 23.33vw;
  }
  #dropdown-info
  {
    font-size: 15px;
  }
  .dropdown-content a
  {
    padding: 6% 2%;
  }
  
  #wrapper
  {
    background-position: 0% 209px;
  }
  
  .headline
  {
    font-size: 30px;
  }
  .publishingdate
  {
    font-size:23px;
    margin-top: 34px;
  }
  article
  {
    font-size:23px;
    line-height: 1.5;
    padding: 4vw;
	padding-top: 6%;
  }
  article:last-child
  {
    padding-bottom: 12%;
  }
}
@media only screen and (max-width: 1073px)
{
  .sitename
  {
    font-size: 26px;
  }
  #wrapper
  {
    background-position: 0% 200px;
  }
  .publishingdate
  {
    display: block;
	width: 100%;
    float: left;
    margin-top: -25px;
	margin-bottom: 35px;
  }
}
@media only screen and (max-width: 942px)
{
  .gdj-icon-title
  {
    top: 73px;
    margin-left: -52px;
  }
  .post_header
  {
    padding-bottom: 12%;
  }
  article:last-child
  {
    padding-bottom: 20%;
  }
}
@media only screen and (max-width: 900px)
{
  .dropdown-content
  {
    font-size: 18px;
  }
}
@media only screen and (max-width: 880px)
{
  .sitename
  {
    font-size: 22px;
  }
}
@media only screen and (max-width: 755px)
{
  .sitename
  {
    font-size: 22px;
  }
  .gdj-icon-title
  {
    top: 72px;
    margin-left: -50px;
  }
  .navbar_unit
  {
    padding-top: 4.5px;
    padding-bottom: 4.5px;
  }
  .bar-2
  {
    font-size: 20px;
  }
  .dropdown-content
  {
    font-size: 17px;
  }
  .post_header
  {
    padding-bottom: 0.1%;
  }
  .headline
  {
    display: block;
    float: none;
    margin-bottom: 0px;
  }
  .footer_unit
  {
    font-size: 20px;
    padding-top: 6px;
  }
}
@media only screen and (max-width: 693px)
{
  .header
  {
    text-align: left;
  }
  .gdj-icon-title
  {
    position: relative;
    float: left;
    top: -7px;
    margin-left: 17px;
    margin-right: 8px;
  }
  .dropdown-content
  {
    font-size: 16px;
  }
  #regularsize-dropdownmenubutton
  {
    display: none;
  }
  #shrunk-dropdownmenubutton
  {
    display: block;
  }
}
@media only screen and (max-width: 638px)
{
  .sitename
  {
    font-size: 20px;
  }
  .gdj-icon-title
  {
    top: -8px;
  }
  .navbar_unit
  {
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .bar-2
  {
    font-size: 19px;
  }
  #dropdown-info
  {
    font-size: 17px;
  }
  .footer_unit
  {
    width: 45%;
    font-size: 22px;
    margin-left: 2vw;
  }
  article:last-child
  {
    padding-bottom: 25%;
  }
}
@media only screen and (max-width: 614px)
{
  .col-4
  {
    font-size: 22px;
    padding-top: 11px;
    padding-bottom: 11px;
  }
  /*.anchorlist_headline
  {
    font-size: 22px;
    padding-top: 11px;
    padding-bottom: 11px;
  }*/
  #sitename_holder
  {
    padding-top: 0px;
    padding-bottom: 0px;
    margin-bottom: 0%;
  }
  .gdj-icon-title
  {
    position: absolute;
    top: 72px;
  }
  .sitename
  {
    display: block;
    text-align: center;
    font-size: 20px;
    padding-top: 7px;
    margin: 0px;
  }
  .hyphen
  {
    display: none;
  }
  .sitename:last-child
  {
    padding-top: 0px;
    padding-bottom: 7px;
  }
  .navbar_unit
  {
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .bar-2
  {
    font-size: 17px;
  }
  #dropdown-info
  {
    font-size: 15px;
  }
  .headline
  {
    font-size: 27px;
  }
  article
  {
    text-align: justify;
  }
}
@media only screen and (max-width: 560px)
{
  article
  {
    padding: 4.7vw;
  }
}
@media only screen and (orientation: portrait)
{
  .bar-1
  {
    margin-top: 11px;
  }
  #sitename_holder
  {
    padding-top: 19px;
    padding-bottom: 18px;
    margin-bottom: 0%;
  }
  #icon-title-svg
  {
    display: none;
  }
  #icon-title-png
  {
    display: inline;
  }
  .sitename
  {
    font-size: 27px;
  }
  #regularsize-dropdownmenubutton
  {
    display: none;
  }
  #shrunk-dropdownmenubutton
  {
    display: block;
	font-weight: bold;
  }
  
  .navbar_unit
  {
    margin-top: 6px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .bar-2
  {
    font-size: 28px;
	font-weight: bold;
  }
  .dropdown-content
  {
    font-size: 28px;
	font-weight: bold;
  }
  #dropdown-info
  {
    font-size: 25px;
	font-weight: bold;
  }
  .dropdown-content a
  {
    padding: 12% 4%;
  }
  
  /*#searchbar
  {
    font-size: 28px;
    padding-left: 0.7%;
    padding-top: 11px;
    padding-bottom: 12px;
  }
  #search-input
  {
    margin-right: 8px;
    font-size: 22px;
    width: calc(100% - 41px);
  }
  #looking-glass
  {
    padding-top: 4px;
  }*/
	
  .aside
  {
    display: none;
  }
  .pullup
  {
    display: block;
  }
  .navcol_unit
  {
    display: block;
  }
  #pullup-start
  {
    display: block;
  }
  
  #icon-outer-small-svg
  {
    display: none;
  }
  #icon-outer-small-png
  {
    display: inline;
  }
  .gdj-icon-title
  {
    top: 15px;
  }
  
  #wrapper
  {
    background-position: 0% 169px;
  }
	
  /* This one is used in many pages, but not on the main/start page. */
  #article_title
  {
    font-size: 42px;
  }
  .post_header
  {
    padding-bottom: 15%;
  }
  .headline
  {
    font-size: 33px;
  }
  .publishingdate
  {
    font-size: 32px;
  }
  article
  {
    font-size: 32px;
    line-height: 1.8;
    padding-top: 6%;
    padding-bottom: 0px;
  }
  article:last-child
  {
    padding-bottom: 350px;
  }
  .image-halfwidth
  {
    width: 100%;
  }
  .image-small
  {
    width: 50%;
  }
  
  .col-6
  {
    position: fixed;
    width: 128px;
    height: 128px;
    left: auto;
    right: 32px;
    bottom: 85px;
  }
  .bar-4
  {
    height: 70px;
  }
  .footer_unit
  {
    text-align: left;
    width: 45%;
    margin-left: 2vw;
    font-size: 32px;
	font-weight: bold;
    padding-top: 12px;
  }
  .footer_unit:last-child
  {
    float: right;
    margin-right: 2vw;
  }
}
@media only screen and (orientation: portrait) and (max-width: 831px)
{
  .sitename
  {
    font-size: 24px;
  }
  .gdj-icon-title
  {
    top: 12px;
    margin-left: -52px;
  }
}
@media only screen and (orientation: portrait) and (max-width: 755px)
{
  .sitename
  {
    font-size: 24px;
  }
  .gdj-icon-title
  {
	top: 10px;
    margin-left: -50px;
  }
}
@media only screen and (orientation: portrait) and (max-width: 693px)
{
  .gdj-icon-title
  {
    position: relative;
    float: left;
    top: -9px;
    margin-left: 17px;
    margin-right: 8px;
  }
  .bar-2
  {
    font-size: 24px;
  }
  .dropdown-content
  {
    font-size: 24px;
  }
  #dropdown-info
  {
    font-size: 22px;
  }
  
  /*#searchbar
  {
    font-size: 24px;
    padding-left: 0.7%;
    padding-top: 8px;
    padding-bottom: 10px;
  }*/
}
@media only screen and (orientation: portrait) and (max-width: 638px)
{
  .sitename
  {
    font-size: 23px;
  }
}
@media only screen and (orientation: portrait) and (max-width: 614px)
{
  .gdj-icon-title
  {
    width: 75px;
  }
  .bar-2
  {
    font-size: 22px;
  }
  .dropdown-content
  {
    font-size: 22px;
  }
  #dropdown-info
  {
    font-size: 20px;
  }
  /*#searchbar
  {
    font-size: 22px;
    padding-left: 0.7%;
    padding-top: 8px;
    padding-bottom: 9px;
  }*/
}
@media only screen and (orientation: portrait) and (max-width: 575px)
{
  .bar-2
  {
    font-size: 19px;
  }
  .dropdown-content
  {
    font-size: 19px;
  }
  #dropdown-info
  {
    font-size: 16px;
  }
  /*#searchbar
  {
    font-size: 19px;
    padding-left: 0.7%;
    padding-top: 6px;
    padding-bottom: 7px;
  }*/
}