/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */



/*
Make a pretty datepicker
*/

.ui-widget-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.ui-datepicker {
	padding: .2em .2em 0;
	display: none;
    min-width: 300px;
    max-width: 400px;
    width: 100%;
}
.ui-datepicker .ui-datepicker-header {
	position: relative;
	padding: .2em 0;
}
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
	position: absolute;
	top: 2px;
	width: 1.8em;
	height: 1.8em;
}
.ui-datepicker .ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-next-hover {
	top: 1px;
}
.ui-datepicker .ui-datepicker-prev {
	left: 2px;
        
}
.ui-datepicker .ui-datepicker-next {
	right: 2px;
}
.ui-datepicker .ui-datepicker-prev-hover {
	left: 1px;
        cursor: pointer;
}
.ui-datepicker .ui-datepicker-next-hover {
	right: 1px;
        cursor: pointer;
}

.ui-datepicker .ui-datepicker-prev span {
display: block;
        position: absolute;
        left: 50%;
        margin-left: -8px;
        top: 50%;
        margin-top: -8px;
        text-decoration: underline;
}
.ui-datepicker .ui-datepicker-next span {
	display: block;
	position: absolute;
	left: 50%;
	margin-left: -50px;
	top: 50%;
	margin-top: -8px;
        text-decoration: underline;
}
.ui-datepicker .ui-datepicker-title {
	margin: 0 2.3em;
	line-height: 1.8em;
	text-align: center;
}
.ui-datepicker .ui-datepicker-title select {
	font-size: 1em;
	margin: 1px 0;
}
.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
	width: 45%;
}

.ui-datepicker table {
	width: 100%;
	font-size: .9em;
	/*border-collapse:separate;
	border:solid lightgrey 1px;
	border-radius:6px;
    	-moz-border-radius:6px;
	margin: 0 0 .4em;
	background-color: rgba(200, 200, 200, 0.5);*/
}
.ui-datepicker th {
	padding: .7em .3em;
	text-align: center;
	font-weight: bold;
	border: 0;
}
.ui-datepicker td {
	border: 0;
	padding: 1px;
}
.ui-datepicker td span,
.ui-datepicker td a {
        color: black;
	display: block;
	padding: .2em;
	text-align: right;
	text-decoration: none;
}


/* Colors for the datepicker */
.ui-state-default  {
    background: green;
}


.ui-state-disabled .ui-state-default {
    background: rgba(200, 200, 200, 0.5);
    color: dimgrey;
    border: 0;
}


/* Format yellow dates */
.yellowdate .ui-state-default  { background: yellow;
}

/* Format red dates */
.reddate .ui-state-default { background: #ff5811;
}

/* Format redgreen dates */
.redgreendate .ui-state-default {
  background: repeating-linear-gradient(
    45deg,
    red,
    red 5px,
    green 5px,
    green 15px
  );
}

.redgreendate .ui-state-active {
  background: repeating-linear-gradient(
    90deg,
    red,
    red 5px,
    green 5px,
    green 15px
  );
}
.redyellowdate .ui-state-default {
  background: repeating-linear-gradient(
    45deg,
    red,
    red 5px,
    yellow 5px,
    yellow 15px
  );
}

.redyellowdate .ui-state-active {
  background: repeating-linear-gradient(
    90deg,
    red,
    red 5px,
    yellow 5px,
    yellow 15px
  );
}


/* Mark the selected date */
.yellowdate .ui-state-active {
    background: #cf0;
}

.ui-state-active {
    background: #29CC00;
}

#datum {
    color: black;
    font-family: "Gill Sans", "Trebuchet MS", sans-serif;
    font-size: large;
    line-height: 1.3;
    letter-spacing: 0.2px;
    background:rgba(0,0,0,0);
    border:none;
}


.biljett {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
@media screen and (max-width: 500px) {
  .biljett {
    width: 100%;
  }
} 

/* Put the datepicker in center */

#datepicker-container {
  text-align:center;
}

#datepicker {
  display:inline-block;
  margin:0 auto;
  min-width: 300px;
  max-width: 400px;
  width: 100%;
}

 /* Style inputs, select elements and textareas */
input[type=text], select, textarea{
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
}

/* Style the label to display next to the inputs */
label {
  padding: 12px 12px 12px 0;
  display: inline-block;
}

/* Style the submit button */
input[type=submit] {
  background-color: #04AA6D;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
}

/* Style the container https://www.w3schools.com/howto/howto_css_responsive_form.asp */
.formulardiv {
    text-align: left;
    padding: 2px;
    width: 100%;
    max-width: 500px;
    margin: auto;
}

/* Floating column for labels: 25% width */
.col-25 {
  text-align: left;
  float: left;
  width: 35%;
  margin-top: 3px;
}

/* Floating column for inputs: 75% width */
.col-75 {
  text-align: left;
  float: left;
  width: 65%;
  margin-top: 3px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .col-25, .col-75, input[type=submit] {
    width: 100%;
    margin-top: 0;
  }
} 

/* Styling på eventlistan */
#eventlist{
  list-style-type: none;
  list-style: none;
  font-weight: bold;}

#eventlist li { background: #e1a478; }
#eventlist li:nth-child(odd) { background: #d99c6d; }
