body {
  font-family: Verdana, Helvetica, Arial;
  font-size: 12px;
  line-height: 15px;
  font-weight: 400;
  color: #3b3b3b;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  background: #2b2b2b;
}
@media screen and (max-width: 580px) {
  body {
    font-size: 16px;
    line-height: 22px;
  }
}

hr {
  color: #FEFCF6; /*milk white*/
  background-color: #FEFCF6;
  height: 5px;
}

a {
 color: black; 
 text-decoration:underline;
}

.wrapper {
  margin: 0 auto;
  padding: 40px;
  max-width: 800px;
}

@media screen and (max-width: 580px) {
  .wrapper {
    margin: 0 auto;
    padding: 0px;
  }
}

.text_nowrap {
    white-space: nowrap;
}

h1 {
  font-family: Verdana, Helvetica, Arial;
  padding-left:10px;
  color: black;
  -webkit-text-fill-color: darkgreen; /* Will override color (regardless of order) */
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: yellow;
}
.boxLogo {
    display:flex;
}
.boxLogo * {
    margin-top:auto;
    margin-bottom:auto;
}


.boxLinks_link {
  padding-right:8px;
  padding-left:10px;
}

.boxLinks {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
}
.boxLinks a {
 color: black; 
 text-decoration:underline;
}
@media screen and (max-width: 580px) {
  .boxLinks {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    flex-direction: column;
    align-items: stretch;
  }
}

/* Large screen: Show "Vecka 9"
   Small screen: Show "v9" */
@media only screen and (min-width : 580px) {

    .SmallScreenWeek{
        display:none;
    }
    .LargeScreenWeek{
        float: right;
    }
}
@media screen and (max-width: 580px) {

    .SmallScreenWeek{
        float: right;
        padding-right:10px;
    }
    .LargeScreenWeek{
        display:none;
    }
}

.boxOne {
  padding-top:10px;
  padding-bottom:10px;
  padding-right:10px;
  padding-left:10px;
  background: #e9e9e9;
  
  width: auto;
  margin:0px auto;
  text-align:left;

  border: none;
  border-radius:3px;
}
@media screen and (max-width: 580px) {
  .boxOne {
    padding-right:1px;
    padding-left:1px;
  }
}

.boxTwo {
  /*width: 600px;
  height: 100px;*/
  background: #00B752;
  border:1px solid #c5c5c5;
  height: auto;
  width: auto;
  padding-right:10px;
  padding-left:10px;
  padding-bottom:5px;
  padding-top:6px;
}
@media screen and (max-width: 580px) {
  .boxTwo {
    padding-right:1px;
    padding-left:1px;
  }
}

.boxThree {
  background: #FEFCF6; /*milk white*/
  border:2px solid #999999;
  padding-right:10px;
  padding-left:10px;
  height: auto;
  min-height:20px;
  width: auto;
  border-radius:5px;
}

.boxInput {
  padding-top: 5px;
  padding-bottom: 12px;
  background: none;
}


.boxInfo {
  background: lightsalmon; /* #FFC2B3;  light red */
  border:1px solid #999999;
  padding-right:10px;
  padding-left:10px;
  height: auto;
  min-height:10px;
  width: auto;
  border-radius:5px;
}

.boxCopyright {
  padding-top:5px;
  background: none;
  line-height: 20px;
  margin:0px auto;
  color: gray;

}
.boxCopyright a {
 color: gray; 
 text-decoration:none;
}


.boxBottom {
  padding-top:3px;
  background: none;
}

/* Large screen: number of participants will show at the bottom
   Small screen: number of participants will show at the top */
@media only screen and (min-width : 580px) {

    #SmallScreen{
        display:none;
    }
    #LargeScreen{
        display:block;
    }
}
@media screen and (max-width: 580px) {

    #SmallScreen{
        display:block;
    }
    #LargeScreen{
        display:none;
    }
}


.table {
  margin: 0 0 1px 0;
  width: 100%;
  /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); */
  display: table;
  border-collapse: collapse; /* needed to show the dashes in .row below*/
}

@media screen and (max-width: 580px) {
  .table {
    display: block;
  }
}

.row {
  display: table-row;
  background: #fefcf6;
  border-bottom:1px dashed #dddddd;
}

.row_input {
  display: table-row;
  background: none;
}
/*
.row:nth-of-type(odd) {
  background: #e9e9e9;
}
*/
.row.header {
  font-weight: 900;
  color: #000000;
  background: none;
}
@media screen and (max-width: 580px) {
  /* ----- START - added Magnus ------ */
  /* line break the row after the second column */
  *
  {
    box-sizing: border-box;
  }
  .row {
    padding: 7px 0 3px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .row > div
  {
    flex: 1 0 50%;
    /*text-align: center;*/
    padding: 2px;
  }
  .row > div:second-child
  {
    flex: 0 1 100%;
  }
  /* ----- END - added Magnus ------ */

/*
  .row.header {
    padding: 0;
    height: 6px;
  }
  */
  .row.header .cell {
    display: none;
  }
  .row .cell {
    margin-bottom: 10px;
  }
  .row .cell:before {
    margin-bottom: 3px;
    content: attr(data-title);
    min-width: 98px;
    font-size: 10px;
    line-height: 10px;
    font-weight: bold;
    text-transform: uppercase;
    color: #969696;
    display: block;
  }
}

.cell_hidden {
  padding: 4px 12px;
  display: table-cell;
}
/* make the last cell dissapear when portrait mode (mobile) */
@media screen and (max-width: 580px) {
  .cell_hidden {
    display: none;
  }
}


.cell {
  padding: 4px 12px;
  display: table-cell;
}

@media screen and (max-width: 580px) {
  .cell {
    padding: 2px 16px;
    display: block;
  }
}


/*
 Tab list
*/
.tablist {
  list-style:none; 
  height:25px;
  padding:0; 
  margin:0; 
  border: none;
}
.tablist li {
  float:left; 
  margin-right:0px; 
}
.tablist li a {
  display:block;
  padding:0 1em;
  text-decoration:none;
  border:1px solid #b5b5b5;
  /*border-bottom:0px;*/
  /*font:bold 1.00em/2em verdana;*/
  font:bold 12px/24px verdana;
  color:#000;
  background-color:#ccc;

  /* CSS 3 elements */
  webkit-border-top-right-radius:0.40em;
  -webkit-border-top-left-radius:0.40em;
  -moz-border-radius-topright:0.40em;
  -moz-border-radius-topleft:0.40em;
  border-top-right-radius:0.40em;
  border-top-left-radius:0.40em;
}
.tablist li a:hover {
  background:#d8d8d8; 
  color:#000000; /*set text color*/
  text-decoration:none;
}
.tablist li#current a {
  background-color: #00B752;
  /*color: #000000;*/
  /*border:1px solid #000000;*/
  border-bottom:1px solid #00B752;
}
.tablist li#current a:hover {
  background: #00B752;
}

@media screen and (max-width: 580px) {
  .tablist {
    list-style:none; 
    height:33px;
    padding:0; 
    margin:0; 
    border: none;

  }

  .tablist li a {
    font:bold 14px/32px verdana;
  }
}



.eventInfo {
  padding-top: 2px;
}

.infoPic {
  top: -8px;
  left: -170px;
  position: relative;
}
@media screen and (max-width: 580px) {
  .infoPic {
    top: -8px;
    left: -200px;
    position: relative;
  }
}

/* form */

.form-inline {  
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  padding-top: 5px;
  /*padding-bottom: 10px;*/
  /*border: 2px solid #aaa;*/
}

.form-inline label {
  margin: 0px 10px 0px 0px;
}

.form-inline input {
  vertical-align: middle;
  margin: 0px 11px 0px 0px;
  padding: 5px;
  background-color: #FEFCF6;
  border: 1px solid #aaa;
}

.form-inline select {
  vertical-align: middle;
  margin: 0px 0px 0px 0px;
  padding: 5px;
  background-color: #FEFCF6;
  border: 1px solid #aaa;
  width:181px;
}

.form-inline button {
  margin-left: auto; /* right align the button */
  padding: 5px 20px;
  /* background-color: dodgerblue; */
  background-color: #555555;
  border: 1px solid #ddd;
  /*margin: 0px 0px 0px 30px;*/
  color: white;
  cursor: pointer;
 }

.form-inline button:hover {
  /* background-color: royalblue; */
  background-color: #777777;
}

@media screen and (max-width: 580px) {
  .form-inline {  
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    flex-direction: column;
    align-items: stretch;
  }

  .form-inline label {
    margin: 5px 10px 5px 0;
  }

  .form-inline input {
    vertical-align: middle;
    margin: 10px 0px 0px 0px;
    padding: 10px;
    /*background-color: #fff;*/
    border: 1px solid #aaa;
    font-size: 16px;
  }

  .form-inline select {
    vertical-align: middle;
    margin: 0px 0px 0px 0px;
    padding: 10px;
    /*background-color: #fff;*/
    border: 1px solid #aaa;
    width: auto;
    font-size: 16px;
  }

  .form-inline button {
    padding: 10px 20px;
    /* background-color: dodgerblue;*/
    border: 1px solid #ddd;
    margin: 10px 0px 20px 0px;
    color: white;
    cursor: pointer;
    font-size: 16px;
   }

  .form-inline button:hover {
    /* background-color: royalblue; */
  }
}
