﻿@import url(menu.css);
@import url(photo.css);
@import url(businesscard.css);
@import url(arkivlinks.css);
@import url(coding.css);

*
{
  margin: 0;
  padding: 0; 
}

body
{
  font-family: Georgia, Georgia, Cambria, Serif;
  font-size: 24px;
  color: rgb(87, 83, 74);
  
  background: url(../images/backgrounds/2018/snekkersten.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  
}

div#slidecaption
{
  position: fixed; bottom: 1.2em; left: 60px;
  background: rgba(255,255,255,0.5);
  border: 1px;
  border-color: rgba(255,255,255,0.5);
  border-radius: 5px;
  padding: 0.5em;
  xwhite-space: pre;
  z-index: -999;
  width: 400px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 8pt;
}

a:link, a:visited, a:active
{
  background-color: transparent;
  text-decoration: none;
}
a:hover
{
  text-decoration: underline;
}


h1,h2,h3,h4,h5,h6
{
  font-family: Georgia, Cambria,serif ;
  color: rgb(66, 63, 55);
}

h1 a:visited, h1 a:hover, h1 a:active, h1 a:link
{
  color: black;  
}

article h2
{
  margin-bottom: 0.5em;;
}

div#page h2, div#page h3, div#page h4
{
  margin-bottom: 0.5em;
}

p
{
  xline-height: 160%;
  line-height: 36px;
  margin-bottom: 1em;
}


table
{
  margin-bottom: 1em;
} 

a img
{
  border: 0px;  
}

ul, ol, dl
{
  margin-left: 2em;
  margin-bottom: 1em;
  font-size: 24px;
}

li
{
  line-height: 34px;
  xline-height: 140%;
  margin-bottom: 0.5em;
}

/*** BLOCKQUOTE ***/

blockquote
{
  margin-top: 1.5em;
  margin-left: 3em;
  margin-right: 1em;
  margin-bottom: 1em;
  padding-left: 0em;
  padding-top: 0em;
  background-image: none;
  background-position: 0 0;
  background-repeat: no-repeat;
  position: relative;
  xline-height: 140%;

  color: #808080;
}

blockquote:before
{
  display: block;

  font-family: Georgia, serif;
  font-size: 5em;

  content: "\201C";

  position: absolute;
  left: -60px;
  top: -30px;
  left: -0.5em;
  top: -0.3em;
}

cite
{
  display: block; 
  margin-top: 0.5em;
  margin-left: 2em;
  margin-right: 1em;

  color: #808080;
  font-size: smaller;
}

cite:before
{
  content: "\2014 \2009"
}


/*** ARTICLE ***/

article
{
  margin-top: 1.5em;
  padding: 30px;
  padding: 50px;

  box-shadow: 3px 3px 10px rgba(0,0,0,0.3);
  -webkit-box-shadow: 3px 3px 10px rgba(0,0,0,0.3);
  -moz-box-shadow: 3px 3px 10px rgba(0,0,0,0.3);
  -o-box-shadow: 3px 3px 10px rgba(0,0,0,0.3);

  background-color: rgba(255,255,255,0.90);
}

article:first-child
{
  margin-top: 0em;
}


/*** SUPERSIZE BACKGROUND ***/

#supersize 
{
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}

#supersize img 
{
  height:100%;
  width:100%;
}

/*** HEADER ***/

div#maincontents
{
  margin-top: 1em;
  margin-bottom: 1em;
  padding-top: 1em;
  margin-left: 60px;
  xmargin-right: auto;
  width: 860px;

  background-color: #333333;
  background-color: rgba(51,51,51,0.95);
}

div#maincontents ul
{
  font-size: 20px;
}

.menu li ul
{
  background-color: #333333;
}

.menu li a:hover, .menu li ul a:hover, .menu li ul li:hover a
{
  background-color: black;
}


div#submain
{
  height: 145px;
  box-shadow: 3px 3px 10px rgba(0,0,0,0.3);
  -webkit-box-shadow: 3px 3px 10px rgba(0,0,0,0.3);
  -moz-box-shadow: 3px 3px 10px rgba(0,0,0,0.3);
  -o-box-shadow: 3px 3px 10px rgba(0,0,0,0.3);
}

div#logo
{
  padding-left: 30px;
  padding-right: 1em;
  display: table-cell;
  float: left;
}

div#logo div#bottomleft
{
  cursor: pointer;
}

div#sitename, div#sitetag
{
  display: none;
}

div#sitedesc
{
  width: 340px;
  font-size: 8pt;
  xtext-align: justify;
  vertical-align: top;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  line-height: 1.2em;
  color: white;
  margin-bottom: 2.5em;
}

div#sitedesc p
{
  line-height: 1.6em;
}


div#sitedesc a, div#sitedesc a:active, div#sitedesc a:hover, div#sitedesc a:visited
{
  color: white;
}

div#infobar
{
  margin-right: 30px;
  float: right;
}

div#infobar_top
{
  display: none;
}

form#search
{
  float: right;
}

input#search-text
{
  background-color: transparent;
  background-image: url(../images/search-box.png);
  background-repeat: no-repeat;
  background-position: right;
  border: 0px;
  padding: 2px;
  padding-left: 4px;

  background-color: white;
  border: 1px;
  x-moz-border-radius: 15px;
  xborder-radius: 15px;
  
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12pt;
  color: #bbb;
  
  vertical-align: middle;
  
  outline-style: none;

  transition-duration: 0.4s, 0.4s;
  transition-property: width;
  transition-timing-function: ease;
  width: 40%;
  float: right;
}

input#search-text:focus
{
  width: 100%;
  color: black;
}


ul.styleui
{
  display: none;
}

ul#contents, div.menu
{
  xdisplay: table-cell;
  xvertical-align: top;
  xbackground-color:red;
  margin-left: 30px;
  margin-right: 20px;
  padding-top: 0.5px;
  padding-bottom: 0.5em;
  list-style-type: none;
}

ul#contents li
{
  display: table-cell;
  padding-right: 1em;
}

ul#contents li ul
{
  display: none;
}

/*** PAGE ***/

div#page
{
  padding-top: 1.5em;
  padding-bottom: 1em;
  margin-left: auto;
  margin-left: 60px;
  margin-right: auto;
  width: 800px;

  padding-left: 30px;
  padding-right: 30px;

  box-shadow: 3px 3px 10px rgba(0,0,0,0.3);
  -webkit-box-shadow: 3px 3px 10px rgba(0,0,0,0.3);
  -moz-box-shadow: 3px 3px 10px rgba(0,0,0,0.3);
  -o-box-shadow: 3px 3px 10px rgba(0,0,0,0.3);

  background-color: rgba(255,255,255,0.90);
}

div#blogpage
{
  margin-left: 60px;

  width: 860px;

  padding-left: 0px;
  padding-right: 0px;
}

h2.postinfo, div#bul
{
  font-weight: normal;
  font-family: "Franklin Gothic Book",sans-serif;
  font-size: 12pt;

  color: #A9A9A9;
  
  margin-top: 0.2em;
  xmargin-left: 0.1em;
  margin-bottom: 1em;
}

hgroup h1
{
  margin-bottom: 0.2em;
}

hgroup h2
{
  font-weight: normal;
  font-family: "Franklin Gothic Book",sans-serif;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18pt;

  color: #A9A9A9;

  margin-left: 0em;
  margin-bottom: 1em;
}


div#bul p
{
  display: inline;
  line-height: 1.2em;
}

h1.title span.subhead
{
  display: block;
  font-size: 20pt;  
  color: #333333;
}


/*** FOOTER ***/

footer
{
  margin-left: 3em;
  width: 800px;
  
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  padding-left: 30px;
  padding-right: 30px;
  
  font-size: 14px;
  
  margin-left: 60px;

  background-color: white;
  background-color: rgba(255,255,255,0.90);
}


/*** RATING TABLE ***/

table.ratingtable
{
  margin-left: 2em; 
  width: 90%; 
  border-collapse: collapse;
  font-size: smaller;
}

table.ratingtable thead tr th
{
  border-bottom: 1px gray solid;
}

table.ratingtable tr.alt td
{
  background-color: rgba(55,55,55,0.1);
}

/*** YOUTUBE LITE EMBED ***/
/*
div.lite
{
  position: relative; left: 0; top: 0
}

img.lite:hover
{
  background:url(http://lh5.googleusercontent.com/-oBFjswrosz4/TuHqainRc3I/AAAAAAAAAbE/t3rMQuSJdLA/s800/youtube-play-button-hover.png)
}
*/

/***********************************************************

                       IPHONE 5 CSS

***********************************************************/

/* http://stackoverflow.com/questions/14741160/ipad-media-query */
/* , screen and (device-aspect-ratio: 3/4)*/
/*@media screen and (device-aspect-ratio: 40/71)*/
@media screen and (max-width: 759px), screen and (device-aspect-ratio: 40/71)
{
  *
  {
    margin: 0;
    padding: 0;
  }
    
  body
  {
    margin: 0;
    padding: 0;
    xfont-size: 200%;
    background-image: none;
    font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
    font-family: Arial, Helvetica, sans-serif;
    width: auto;
  }

  div#maincontents
  {
    width: auto;
    xdisplay: none;
    margin: 0;
    xpadding-left: 50px;
    xpadding-right: 50px;

    xbackground-color: white;
  }

  div#submain
  {
    padding-left: 50px;
    padding-right: 50px;

    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -o-box-shadow: none;
  }
  
  div#logo
  {
    margin-top: 0;
    xmargin-left: 0;
    padding-left: 0;
  }
 
  div#sitedesc, div#sitedesc a, div#sitedesc a:active, div#sitedesc a:hover, div#sitedesc a:visited
  {
    xcolor: black;
  }

  div#infobar
  {
    margin: 0;
  }
   
 
  input#search-text
  {
    border-width: 1px;
    border-style: solid;
    border-color: rgb(87, 83, 74);
  }
  
  input#search-text
  {
  }
  
  div.menu
  {
    xdisplay: none;
  }
  
  .menu li a
  {
    xcolor: rgb(87, 83, 74);
  }
  
  
 
  div#blogpage, div#page
  {
    margin: 0px;
    padding: 50px;
    width: auto;

    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -o-box-shadow: none;
  }
  
  article
  {
    background-color: white;

    margin: 0px;
    padding: 0px;
    xwidth: 100%;
    
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -o-box-shadow: none;
  }
  
  ul, ol, dl
  {
    margin-left: 2em;
    margin-bottom: 1em;
  }
  
  footer
  {
    width: auto;
    padding-left: 50px;
    padding-right: 50px;
    margin: 0;
    xdisplay: none;
  }
  
}

@media screen and (device-aspect-ratio: 40/71)
{
  body
  {
    font-size: 380%;
  }

  div#maincontents
  {
    xdisplay: none;
    
    xcontent: '☰';
  }

  hgroup h2
  {
    font-size: 100%;
  }
  
  div#blogpage p, div#blogpage li, div#page p, div#page li
  {
    line-height: 1.5em;
  }

  li
  {
    font-size: 250%;
  }

}

