
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
button,
textarea,
p,
blockquote {
	margin: 0;
	padding: 0;
}

html {
  height: 100%;
}

body {
    min-height: 100%;
    background-repeat: no-repeat;
    background-position: right top;
    margin: 0;
    padding: 0;
    border: 0;
    padding: 0;
    background: black;
    font-family: system-ui;
    /*
    display: flex;
    justify-content: center;
    align-items: center;
    */
}

h1 {
    margin-bottom: 20px;
}

label {
    
}

label.onelinerinput {
    font-size: small;
    display: inline-block;
    min-width: 78px;
    vertical-align: top;
}

label.onelinerinputlong {
    font-size: small;
    display: inline-block;
    min-width: 78px;
    vertical-align: top;
}

input {
    margin-right: 10px;
    margin-bottom: 2px;
}

input.onelinerinput {
    width: 132px;
}

input.onelinerinputlong {
    min-width: 420px;
}

table {
    width: 100%;
}

th {
    background-color: #202020;
    padding: 4px 0 6px 0;
}

#bokning {
    width: 610px;
    margin-left: auto;
    margin-right: auto;
}

#family_logo {
    width: 40px;
    height: 33px;
    background-image: url("../img/familj.png");
    background-size: contain;
    background-repeat: no-repeat;
    float: right;
    cursor: pointer;
    transition: width 200ms, height 200ms;
}
#family_logo:hover {
    width: 41px;
    height: 34px;
    border: gray solid 1px;
}
    
#activities_logo {
    width: 33px;
    height: 33px;
    background-image: url("../img/activities.png");
    background-size: contain;
    background-repeat: no-repeat;
    float: right;
    cursor: pointer;
    transition: width 200ms, height 200ms;
}
#activities_logo:hover {
    width: 34px;
    height: 34px;
    border: gray solid 1px;
}


.email {
    width: 400px;
}

.logo {
    width: 600px;
    height: 128px;
    background-image: url("../img/dhb_logo.jpg");
}

._box {
    margin: auto;
    padding: 8px;
    border: gray solid 2px;
    box-shadow: 10px 10px 5px grey;
    min-width: 600px;
    min-height: 100px;
    /* width: fit-content; */
    background-color: #f1f1f1;
    margin-bottom: 20px;
    transition: width 200ms, height 200ms;
}

._box_closed {
    margin: auto;
    padding: 8px;
    border: gray solid 2px;
    box-shadow: 5px 5px 2px grey;
    background-color: #f1f1f1;
    margin-bottom: 20px;
    width: fit-content;
    /* float: right; */
    min-height: 30px;
}

._bar {
    width: 100%;
    height: 20px;
}

._char {
    width: 55px;
    float: left;
}

._chartext {
    width: 45px;
    font-size: xx-large;
    padding: 2px;
    text-align: center; 
}

.popup-overlay {
  /*Hides pop-up when there is no "active" class*/
  visibility: hidden;
  position: absolute;
  background: #ffffff;
  border: 3px solid #666666;
  width: 50%;
  height: 50%;
  left: 25%;
}

.popup-overlay.active {
  /*displays pop-up when "active" class is present*/
  visibility: visible;
  text-align: center;
}

.popup-content {
  /*Hides pop-up content when there is no "active" class */
  visibility: hidden;
}

.popup-content.active {
  /*Shows pop-up content when "active" class is present */
  visibility: visible;
}

button {
    display: block;
    width: 50%;
    padding: 15px;
    margin: 20px auto 0 auto;
    background: white;
    color: black;
    border: 1px solid grey;
    border-radius: 4px;
    font-family: system-ui;
    font-weight: bold;
    font-size: large;
    cursor: pointer;
}

button:hover {
    border: 1px solid #666666;
    background: #666666;
    color: #ffffff;
    transition: background-color 500ms linear;
}

button.inverted {
    border: 1px solid #666666;
    background: #666666;
    color: #ffffff;
}

button.inverted:hover {
    border: 1px solid grey;
    background: white;
    color: black;
    transition: background-color 500ms linear;
}

button.green:hover {
  border: 1px solid #666666;
  background: green;
  color: #ffffff;
  transition: background-color 500ms linear;
}

button.red:hover {
  border: 1px solid #666666;
  background: red;
  color: #ffffff;
  transition: background-color 500ms linear;
}

button.blue:hover {
  border: 1px solid #666666;
  background: blue;
  color: #ffffff;
  transition: background-color 500ms linear;
}

button.bottomright {
    right: 1px;
    position: absolute;
    bottom: -5px;
}

.floatright {
    float: right;
}

.mw620 {
    min-width: 620px;
}

.mw420 {
    min-width: 422px;
}

.flashme {
    background-color: gold;
}

#main {
    width: 390px;
    height: 844px;
}

#background-video_old {
    position: relative;
    right: 0;
    bottom: 0;
    width: auto;
    height: 100%;
}

#background-video {
    position: absolute;
    height: 100%;
}

#btnBack {
    font-weight: bolder;
    float: left;
    width: 22px;
    height: 22px;
    background-image: url("../img/nav/back.png");
    background-repeat: no-repeat;
    cursor: pointer;
    color: white;
}

#btnSkip {
    font-weight: bolder;
    float: right;
    padding-left: 28px;
    height: 22px;
    background-image: url("../img/nav/skip.png");
    background-repeat: no-repeat;
    cursor: pointer;
    color: white;
}

.computer-screen {
    position: relative;
    /* width: 1600px;
    height: 1024px; */
    top: 20px;
    left: 20px;
    border: 12px black solid;
    border-radius: 36px;
    background: white;
    padding: 0px;
    box-sizing: border-box;
    box-shadow: 0 0 0 6px #999;
    overflow: auto;
    scrollbar-color: silver black;
    background-color: black;
    background-image: url("../img/gridit/logo.png");
    background-position: center;
    background-repeat: no-repeat;
}

.iphone-screen {
    position: relative;
    width: 529px;
    height: 923px;
    top: 20px;
    left: 20px;
    border: 12px black solid;
    border-radius: 36px;
    background: white;
    padding: 0;
    box-sizing: border-box;
    box-shadow: 0 0 0 6px #999;
    overflow: hidden;
    background-color: black;
    background-image: url("../img/gridit/logo.png");
    background-position: center;
    background-repeat: no-repeat;
}

.iphone-screen h1 {
    margin: 60px 0 0 0;
    color: white;
    font-size: 3em;
}

.iphone-screen p {
    margin: 50px 0 0 0;
    text-align: justify;
    color: white;
    font-size: 1.4em;
}

.content_main {
    /* border: #3593d2 solid thin; */
    position: absolute;
    background-size: cover;
    background-color: black;
    top: 0;
    width: 100%;
    height: 100%;
}

.content_top {
    /* border: #3593d2 solid thin; */
    position: relative;
    padding: 20px;
    width: auto;
    display: block;
    color: white;
}

.content {
    border: silver solid thin;
    border-radius: 10px;
    /* margin: auto; */    
    color: white;
    float: left;
    margin: 0 10px 10px 0;
    padding: 5px;
    min-width: fit-content;
}

.content_bottom {
    /* border: #3593d2 solid thin; */
    position: relative;
    padding: 20px;
    width: auto;
    display: block;
    color: white;
}

.logo {
    width: 100px;
    height: 100px;
    margin: auto;
    background-image: url("../img/gridit/logo_small.png");
    background-size: contain;
    background-repeat: no-repeat;
}

.login_frame {
    position: absolute;
    top: auto;
    width: 465px;
    height: 100%;
    border-radius: 36px;
    background-color: #423E44;    
    padding: 20px;
    z-index: 1;
}

.back_line {
    color: silver;
    font-size: large;
    font-weight: bolder;
    text-align: center;
    cursor: pointer;
}

.form-group {
    position: relative;
    margin: 50px 0 0 0;
}

.input {
    width: 100%;
    box-sizing: border-box;
    padding: 16px;
    border: 1px solid #ddd;
    color: white;
    background-color: transparent;
}

.placeholder {
    position: absolute;
    top: 14px;
    left: 15px;
    padding: 2px;
    transition: 0.3s;
    pointer-events: none;
    color: white;
}

.input:not(:placeholder-shown) + .placeholder, .input:focus + .placeholder {
    transform: translateY(-24px);
    background-color: #423E44;
    font-size: 12px;
}

.passwordEye {
    position: relative;
    top: -42px;
    left: 95%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    background-image: url("../img/components/eye1.png");
}

.passwordEye.closed {
    background-image: url("../img/components/eye2.png");
}

.link {
    color: white;
    text-decoration: underline;
    cursor: pointer;
}

.bottom {
    position: absolute;
    bottom: 0;
}

/* menu */

menu_ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #333;
}

menu_li {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 7px 16px;
  text-decoration: none;
}

menu_li:hover:not(.menu_active) {
  background-color: #303030;
  font-weight: bold;
}

.menu_active {
  background-color: #04AA6D;
}

.metervalue {
    text-align: right;
    width: 300px;
}
