/* For mobile phones: */
[class*="col-"] {
  width: 90%;
}

@media only screen and (min-width: 1000px) {
  /* For desktop: 768px*/
  .col-1 {width: 8.33%;}
  .col-2 {width: 16.66%;}
  .col-3 {width: 25%;}
  .col-4 {width: 33.33%;}
  .col-5 {width: 41.66%;}
  .col-6 {width: 50%;}
  .col-7 {width: 58.33%;}
  .col-8 {width: 66.66%;}
  .col-9 {width: 75%;}
  .col-10 {width: 83.33%;}
  .col-11 {width: 91.66%;}
  .col-12 {width: 100%;}
}

* {
  box-sizing: border-box;
}

body {
  background-color: white;
  font-family: Arial, Helvetica, sans-serif;
  margin:0px;
  margin-bottom:3em;
}

.NavBar {
  background-color: #D71E25;
  width:100%;
  box-shadow: 2px 2px 8px #9E0A1F;
  padding-top:1.5em;
  padding-bottom:1.5em;
  margin-bottom:1.5em;
}
.SiteTitle {
  text-shadow: 2px 2px 8px #9E0A1F;
  font-size:5em;
  font-weight: bold;
  color:white;
  padding-bottom:0.3em;
}

.ContentDiv {
  color: #9E0A1F;
  width: 100%;
  font-size: 1em;
  padding-top:0.5em;
  font-weight:bold;
  display:inline-block;
}
.HeadlineDiv {
  background-color:#E3D1C7;
  color: #9E0A1F;
  width: 100%;
  font-size: 4em;
  font-weight:bold;
  padding:10px;
  border: 1px solid #9E0A1F;
  text-align:center;
  #margin-bottom:0.7em;
  #text-shadow: 2px 2px 8px #FFFFFF;
    
}
.ContentText {
  color: #9E0A1F;
  width: 100%;
  font-size: 2.5em;
  padding-top:1em;
  padding-bottom:2em;
  font-weight:bold;
  text-align:center;
}

.InfoHead {
  text-align:left;
  font-size: 1em;
}
.InfoText {
  color:#D71E25;
  font-size:1.5em;
  text-align:left;
  margin-bottom:1em;
}

.ConfirmDiv {
  background-color:lightyellow;
  color:#D71E25;
  border:1px solid;
  font-style:italic;
  padding:0.3em;
  text-align:center;
  font-size:1em;
  margin-bottom:1em;
}

a.Meny:link, a.Meny:visited {
  background-color: #9E0A1F;
  color: white;
  font-weight:bold;
  font-size:2.5em;
  padding: 0.2em 0.4em;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border-radius:5px;
  border:2px solid  white;
  box-shadow: 2px 2px 8px #9E0A1F;
}

a.Meny:hover, a.Meny:active {
  background-color: #9E0A1F;
  color:white;

}


td.Calendar{
  background-color: #FFFFFF;
  color:#9E0A1F;
}

td.Calendar:hover{
  background-color: #9E0A1F;
  color:#FFFFFF;
}

td.CalendarActive{
  background-color: #9E0A1F;
  color:#FFFFFF;
}

CalendarInactive{
  background-color: #FFFFFF;
  color:Grey;
}

ChooseTime{
  font-size:2em;
  background-color: #FFFFFF;
  color:#9E0A1F;
}
ChooseTime:hover{
  background-color: #9E0A1F;
  color:#FFFFFF;
}

SublineDiv {
  background-color:#D71E25;
  color: white;
  width: 100%;
  height:44px;
  font-size: 24px;
  font-weight:bold;
  padding:10px;
  text-align:left;
  text-shadow: 2px 2px 8px #9E0A1F;
    
}

.Center {
  margin: auto;
}

.InputCheckbox {
  border-radius:5px;
  border:1px solid #9E0A1F;
  width:7em;
  height:7em;
  margin:0px;
}
.InputText {
  width:100%;
  color:#9E0A1F;
  border-radius:5px;
  border:1px solid #9E0A1F;
  font-family: Arial, Helvetica, sans-serif;
  font-size:1em;
}
.InputTextSmall {
  width:100%;
  height:25px;
  border-radius:4px;
  font-family: Arial, Helvetica, sans-serif;
  font-size:16px;
}

.InputSubmit {
  
  border-radius:4px;
  background-color:#D71E25;
  color:white;
  font-family: Arial, Helvetica, sans-serif;
  font-size:1em;
}
.InputSubmit:hover {
  background-color:#9E0A1F;
  cursor:pointer;
}
.InputSubmit:disabled {
  background-color:lightgrey;
  cursor:not-allowed;
}

.switch {
  position: relative;
  display: inline-block;
  width: 2em;
  height: 1em;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}



.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 0.9em;
  width: 0.9em;
  left: 0.05em;
  bottom: 0.05em;
  background-color: white;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

input:checked + .slider {
  background-color: #D71E25;
}


input:checked + .slider:before {
  -webkit-transform: translateX(110%);
  -ms-transform: translateX(110%);
  transform: translateX(110%);
}

/* Rounded sliders */
.slider.round {
  border-radius: 5px;
}

.slider.round:before {
  border-radius: 5px;
}
