
/*************************MAIN CSS******************************/
/*css to position footer and page*/
html{
  height: 100%;
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  position: relative;
  margin: 0px;
  padding: 8px 0px 240px 0px; /*This offsets the rest from the footer creating a distance between them*/
  min-height: 100%;
}

@media screen and (max-width: 608px) { /*increase the offset if footer becomes twice as tall on small screens*/
    body {
      padding-bottom: 408px;
    }
}

/*General container div*/
div.container {
  /*Contains everything but the footer. Made to stop it from conflicting with the footer */
  margin: 0 auto;
}

/*Headers*/
H1  {
    text-align: center;
    font-family: 'Poiret One', serif;
    font-size: 80px;
    text-shadow: 4px 4px 4px #aaa;
    margin: 80px 20px 0px 20px;
}

H2  {
    text-align: center;
    font-family: 'Poiret One', serif;
    font-size: 40px;
    text-shadow: 2px 2px 2px #aaa;
    margin: 30px 20px 50px 20px;
}

/* "a"-type link general*/
a {
  color: black;
}

/* "p"-type warning texts from various pages*/
#browserWarning, #uploadWarning, #deleteWarning, #errorPage, #previewError, #loginError {
  text-align: center;
  margin: 50px;
  font-size: 20px;
}

p.languageAsk {
    background-color: #333333;
    color: white;
    display: inline-block;
    float: right;
    text-align: center;
    font-size: 20px;
    padding: 8px 0px 8px 8px;
    margin: -14px 8px 8px 8px;
}


p.languageAsk a {
    padding: 8px;
    color: white;
    text-decoration: none;
}
/*menu bar ul list with li elements*/
ul.menu {
  list-style-type: none;
  margin: 0px 8px 8px 8px;
  padding: 0;
  overflow: hidden;
  background-color: #333333;
}

li.menuItem {
  float:right;
}


li.logo {
  float: left;

}

li.logo img {
  height: 50px;
}

li.menuItem a {
  display: block;
  color: white;
  text-align: center;
  padding: 16px;
  text-decoration: none;
  font-size: 20px;
}


li a.logo {
  display: block;
  padding-bottom: 0px;
  padding-top: 0px;
  height: 55px;
}

li.menuItem a:hover, li.logo a:hover, p.languageAsk a:hover {
  background-color: #111111
}

/*remove blue borders when clicked*/
select:focus, input:focus {
  outline: 0;
}

/*general for footer*/
footer {
  background-color: #333333;
  position: absolute;
  left:0px;
  right: 0px;
  bottom: 0px;
  overflow: hidden;
}


footer p {
  color: white;
  margin-top: 10px;
  margin-bottom: 10px;
}

footer div.left {
  float:left;
  margin-left: 30px;
  margin-right: 10px;
}

footer div.right {
  float:right;
  margin-right: 30px;
}

footer div p a {
  color: white;
}

/*************************INDEX.HTML******************************/
/*file type header("Snow" or "Earthquake")*/
#typeOfFiles {
  margin-left: 15%;
  margin-top: 40px;
  margin-bottom: 10px;
  font-size: 20px;
}
/*languagepicker select*/
select.languagepicker{
  float: right;
  border: none;
  font-size: 20px;
  margin: 14.5px;
  color: #333333;
}
select.languagepicker:hover{
  background-color: #EEE;
}

/*tables and table elements*/
table {
  border-left: 1px solid black;
  border-right: 1px solid black;
  border-top: 1px solid black;
  border-spacing: 0px;
  font-size: 20px;
  margin:auto;
  width: 70%;
}
th {
  text-align: left;
  padding: 10px;
}

td {
  border-bottom: 1px solid black;
  padding: 10px;
}

/******************************************ADMIN.HTML****************************************/
/*Header*/
H2.loginHeader {
  margin-top: 100px;
}
/*Div's*/
div.blurView {
  position: absolute;
  top: 0px;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  filter: alpha(opacity=30); /* For IE8 and earlier */
  background-color: black;
}
div.login {
  border-radius: 10%;
  border: 0.5px solid #333333;
  background-color: white;
  /* center horizontally with dynamic width, vertically centered a bit, but if max-height is reached, more on the top side.*/
  position: absolute;
  top: 15%;
  bottom: 15%;
  max-height: 700px;

  width: 70%;
  right: 0;
  left: 0;
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
  min-width: 420px;
}

div.upload, div.delete, div.loginField {
  margin: auto;
  margin-top: 100px;
  width: 400px;
  text-align: center;
  font-size: 30px;
}

/*Input fields*/
input{
  font-size:20px;
  border: 0.5px solid black;
  margin: 0 auto;
  margin-top: 10px;
  width: 400px;
  line-height: 1ex;
  padding-bottom: 10px;
  padding-top: 10px;

}
div input[type="submit"] {
  color: white;
  background-color: #333333;
}
div input[type="submit"]:hover {
  background-color: #111111;
}

/*Languagepicker select for uploading and deleting*/
select.languagepickerAdmin {
  margin-top: 10px;
  border: none;
  font-size: 20px;
  color: white;
  width: 400px;
  background-color: #333333;
}
select.languagepickerAdmin:hover {
  background-color: #111111;
}

/******************************************ABOUT.HTML****************************************/
/*"p"-type text about website*/
#preText {
  margin: 0px 50px 50px 50px;
  font-size: 20px;
}
/*Header*/
H2.about {
  text-align: left;
  margin: 50px 0px 20px 50px;
}
/*Div's*/
div.img {
    margin: 5px;
    border: 1px solid #ccc;
    float: left;
    width: 23%;
    min-width: 200px;
}

div.img:hover {
    border: 1px solid #777;
}

div.img img {
    width: 100%;
    height: auto;
}
div.gallery {
  margin: 45px 0px 45px 45px;
  padding: 0px;
}

div.bugfixer {
  width: 100%;
  height: 0px;
  clear: both;
}

div.desc {
    padding: 8px;
    font-size: 12px;
    text-align: left;
}

/******************************************PREVIEW.HTML****************************************/
iframe {
  position: fixed;
  border: 0;
  width: 100%;
  height: 100%;
}
