/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*    END OF RESET CSS

https://css-tricks.com/international-box-sizing-awareness-day/
added box-sizing to make selectbox same width as input field
*/

*, *:before, *:after {
  -webkit-box-sizing: border-box; 
  -moz-box-sizing: border-box; 
  box-sizing: border-box;
}


body {
  background-color: #1d1d1b;
  font-family: 'Oswald', 'Futura', sans-serif;
  margin: 0; 
  padding: 0;
}
#bggrd {
  position: absolute;
  top: 0;
  margin-left: auto;
  min-height: 667px;
  width: 2622px;
  background-image: url("images/bgbld.jpg");
  background-repeat: repeat;
  opacity: 0.5;
 }
#bggrd img {
  width: 300px;
  height: 300px;
}
#page {
  margin: auto;
  max-width: 622px;
  background-color: #c0cccb;
  background-color: #1d1d1b;
  background-color: #403c3b;
  position: relative;
}
  /* 
  text-align: center;
  Responsive page rules at bottom of style sheet */


.clear {
  clear: both;
  padding-top: .5em;
}

#roles {
    text-align: center;
  color: #dde;
}
header {
  height:80px;
  margin-bottom: .4em;
}


#runmessage {
  margin-top: 80px;
  height: 180px;

}


table.fixme {
 table-layout: fixed;  
}
table.fixme td { 
  width: 166px !important;
  border: 2px solid black;
  overflow: hidden; 
}


#velkomst {
  margin: 10%;
  background-color: white;
  color: black;
  padding: 5%;
  border-radius: 25px;
}
#velkomst h2,h1 {
  color:red;
}
#velkomst h1 {
  font-size: 2em;
}


/********   AI kode til misbrug popup    ************/


    #nytMisbrug {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: red;
      padding: 20px;
      border: 3px solid #000;
      z-index: 9999; /* Ensures it's on top of other elements */
    }
    #nytMisbrug button {
      margin: 3px;
      
    }



/********   AI kode til FAQ    ************/
.faq_question {
    margin: 4px;
    border:1px solid black;
    border-radius: 6px;
    padding: 2px;
    display: inline-block;
    cursor: pointer;
    font-weight: bold;
    background-color: #fcc; 
}

.faq_answer_container {
    margin: 5px;
    height: 0;
    overflow: hidden;  
    padding: 1px;
}

/********   AI kode til FAQ    ************/




em {
  color:red;
  font-size: .9 em;
/*    font-style: bold;*/
}

.error {
  color:red !important;
  background-color: #afa !important;
}


/*
hamburgermenu eller ej
*/

.burgericon{
  display: none;
  float:right;
}

.active {
  display: block;
}

nav {  
  display: flex;
  align-items: center;
  justify-content: space-around;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;    
}

nav ul li {
  float: left;
  color: #dde;
  color: #f5f1aa; /* logo gul 
  background-color: #333;
  */ 
  width:9em;
  margin:1px;
  padding:.4em;
  border:2px solid #dde;
  height: 3em;
}
nav ul li a{
  color: #dde;
  color: #f5f1aa; /* logo gul */ 
  font-size: 120%;
  padding: 22px 22px;
  text-decoration: none;
}
/*
hamburgermenu eller ej
*/



h2 {
  color: #fff;
  font-size: 1em;
  font-weight: bold;
  text-align: center;
  letter-spacing: .1em;
}

h2 span {
  background-color: #fff;
  color: #000;
  font-size: 12px;
  text-align: center;
  letter-spacing: 0;
  display: inline-block;
  position: relative;
  border-radius: 50%;
  top: -5px;
  height: 22px;
  width: 26px;
  padding: 4px 0 0 0;}

ul {
  border:none;
  padding: 0;
  margin: 0;}

form {
  color: #111;
  margin 5em;
  border 3px;
}

#regform {

  padding:1em;
}

#katvalg {
  color: #ddd;
}

.ui-btn{
  margin:auto;
}

form p{
  clear:both;
  margin:1em;
}
form p input {
  float: right;
  width: 80%;
  margin-bottom: 1em;
  background-color: #fff !important;
}
#postnr{
  float: right;
  width: 19%;
  margin-bottom: 1em;
  background-color: #fff !important;
}
#submitButton {
  width: 35% !important;
  background-color: #ddd !important;

}
form p label{
  float: left;
  width:30%;
  margin-left: 9% !important;
  background-color: #f5f1ab !important;
  color: #333 !important;
}
form p label[for="postnr"]{
   width:90%;
}

#huskmig{
  float:left !important;
  margin-top: .3em;
  margin-left: 0%;
}

li {
  position:relative;
}
li > img, a > img {
  position: absolute;
  left: 3px;
  top:3px;
  width:5em;
  height: 5em;
}
h3,h4 {
  position: relative;
}


.logo1 {
  float: left;
  height:80px;
}
.logo2 {
  float: right;
  height:80px;
}

#sete {
    opacity: .5;  
}  


#usete li, #sete li, .underlag {
  background-color: #ec8b68;
  background-color: #f5f1ab;
  color: #111;
  border-top: 1px solid #fe9772;
  border-bottom: 1px solid #9f593f;
  font-size: 1.1em;
  list-style-type: none;
  text-align: left;
  padding: 0em;
  /* height: 50px;  
  font-size: 24px;
  letter-spacing: .05em;
  text-shadow: 2px 2px 1px #9f593f;
  padding-left: 1em; 
  padding: 10px 0px 10px 1em;
*/
}

#show_image_popup{
  position: fixed; /*  so that not take place   */
  top: 50%;
  left: 50%;
  z-index: 1000; /*  adobe all elements   */
  transform: translate(-50%, -50%); /*  make center   */
  width:80%;

  display: none; /*  to hide first time   */
}
#show_image_popup img{
  max-width: 99%;
  height: auto;
}





.underlag p{

}


.underlag {
  clear:both;
  color: #222;
    padding:.5em;

/*  background-color: #ddd;*/
}

.button {
  color:#222;
}


.underlag li {
  clear: both;
}

.yes {
  float: left;
  background-color: green;
  padding:1em;
  width: 50%;
}

.kill {
  float: right;
  background-color: red;
  padding:1em;
  width: 50%;
  text-align: right;
}

.ui-listview > li h3  {
  font-size: 1em;
}
.ui-listview > li h4  {
  font-size: .85em;
}

.ui-page-theme-a .ui-btn {

  background-color:#f5f1ab; /* logo gul */
  color: black; 
  padding:0em 0em 0em .5em;
}


#logInd {
  border: 3px solid #222 ;
  border-radius: 8px;
  margin: 3px;
}
#logIndCon {
  border: 3px solid #222 ;
  border-radius: 8px;
  padding:1em;
   
}


.ui-page {
  text-shadow:none;
  color:#fff;
}
a.ui-link{  
  color:#fff;
    color: #f5f1ab; /* logo gul */ 
    line-height: 180%;
}
li a.ui-link{  
     line-height: 100%;
}
.ui-link{  
    color: #f5f1ab; /* logo gul */ 
    color: #f5f1ab; /* logo gul */ 
    background-color: #333;
    padding:3px;
    border-radius: 3px;
}

.my-menu .ui-link {
    background-color: transparent;  
    color: #f5f1ab;
}

.ui-listview>li>a.ui-btn {
  margin: 0 1em;
}    /* rød grøn kant   */

a.ui-btn-icon-right:after  
{
  display: none;     /* fjern lille pil */
}

p {
  padding: .5em;
}

.ui-listview > li p {

  white-space: normal;
  
}


li p {
  font-size: 11px;
  padding:0;
}

.st {
  letter-spacing: -0.1em;
}



.swipe-delete li{
  position: relative;
}
/*  Eksemplet fra 
    https://github.com/ksloan/jquery-mobile-swipe-list      */
    .behind {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        right: 0;
    }
    .behind a.ui-btn {
        width: 6em;
        height: 100%;
        margin: 0px;
        float: right;
        border: none;
        padding: 0em ;
    }
    .behind a.slet-btn, .behind a.delete-btn, .behind a.delete-btn:active, .behind a.delete-btn:visited, .behind a.delete-btn:focus, .behind a.delete-btn:hover {
        color: white;
        background-color: red;
        text-shadow: none;
        padding:1em 0 0 0;
    }
    .behind a.ui-btn.pull-left {
        float: left;
    }
    .behind a.edit-btn, .behind a.edit-btn:active, .behind a.edit-btn:visited, .behind a.edit-btn:focus, .behind a.edit-btn:hover {
        color: white;
        background-color: green;
        text-shadow: none;
        padding:1em 0 0 0;
    }

/*  Eksemplet fra 
    https://github.com/ksloan/jquery-mobile-swipe-list      */

/*  vis knapperne hvis ej mobil   */
@media only screen and (min-width: 700px) {
.ui-listview>li>a.ui-btn {
  margin: 0 8em;
}    /* rød grøn kant   */
}


/* Small screen:mobile */
@media only screen and (max-width: 500px) {
  body {
      background-color: #403c3b;
  }
  #page {
    max-width: 480px;
  }
  nav ul li {
    width:96%;
    margin: 0% 2% 0% 2%;
       line-height: 200%;
  }
 #baggr #page {
    width:96%;
    margin: 0% 2% 0% 2%;
  }
  .burgericon{
    display: block;
    float:right;
   text-decoration: none;
   color:#224ddd;
  }
  .my-menu {
    display: none;
  }
  .active {
    display: block;
  }
}
