html {
    height: 100%;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}



#header {
    z-index: 1;
    width: 100%;
    height: 75px;
}

#overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #ffffffb7
}

#headercontent {
    display: table;
    margin: 0 auto;
    width: 60%;
    height: 75px;
    min-width: 650px;
    text-align: left;
}

#centerwrap {
    text-align: center;
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    min-width: 650px;
}

#centered {
    display: inline-block;
    margin-top: 2px;
    width: 70%;
    min-width: 650px;
    background-color: #ffffffb7;
    border-left: 2px solid #ffc800;
    border-right: 2px solid #ffc800;
}

#logo {
    width: auto;
    height: 50px;
    display: inline-block;
    padding-top: 12px;
}

.headertextbox {
    display: table-cell;
    vertical-align: middle;
    text-align: right;
    width: 180px;
}

.headertext {
    border-bottom: 2px solid #ffc800;
    cursor: pointer;
}

.adminheader{
    border-bottom: 2px solid #353535;
}

.element {
    width: 400px;
    display: inline-block;
    vertical-align: top;
}

.elementheader {
    padding: 10px;
    text-align: center;
}

.headlinewrapper{
    padding: 10px;
}
.headline{
    font-size: 50px;
    border-bottom: 5px solid #ffc800
}

.elementcontent {
    padding: 15px;
    text-align: left;
}

.preview {
    width: auto;
    max-width: 250px;
    height: auto;
}

.deleteform {
    float: right;
    width: 50%;
}

#addcarform {
    width: 100%;
}

#carcontent {
    max-height: 400px;
    overflow: auto
}

.checkbox {
    display: inline-block;
    width: 100%;
    vertical-align: top;
    text-align: left;
    padding-bottom: 10px;
    box-sizing: border-box;
}
select,
input[type=date] {
    padding: 10px;
    display: inline-block;
    background-color: rgb(240, 240, 240);
    border: 0;
}

select{
    width: 100%;
}
.car {
    margin-bottom: 20px;
    padding: 15px;
}

.spacer {
    width: 200px;
    border-bottom: 2px solid #ffc800;
    margin-bottom: 20px;
    display: inline-block;
}

h2,
h3 {
    display: inline-block;
    vertical-align: middle;
    border-bottom: 2px solid #ffc800;
}

h4 {
    display: inline;
}
.banner-success {
    background-color: rgba(56, 255, 56, 0.692);
    border-radius: 5px;
    padding: 5px;
    border: 2px solid black;
    display: inline-block;
}

.banner-error {
    background-color: rgba(255, 56, 56, 0.692);
}

a:link {
    color: darkgray;
    background-color: transparent;
    text-decoration: none;
}

a:visited {
    color: darkgray;
    background-color: transparent;
    text-decoration: none;
}

label {
    display: block;
}

input[type=text],
input[type=email],
input[type=number],
input[type=password] {
    width: 100%;
    padding: 15px;
    background-color: rgb(240, 240, 240);
    margin-top: 10px;
    margin-bottom: 10px;
    border: 0;
    box-sizing: border-box
}
input[type=number]{
    width: 49%;
    display: inline-block;
}
input {
    display: inline-block
}


form{
    display: block;
    float: left;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.buttonwrapper {
    display: block;
    float: left;
    width: 50%;
    padding: 10px;
    box-sizing: border-box;
}
#bannerwrapper {
    background-color: white;
    padding-top: 10px;
    text-align: center;
}

#banner {
    border-radius: 10px;
    display: inline-block;
    padding: 10px;
    text-align: center;
    border: 1px solid black;
}

.buttonwrapper {
    text-align: center;
}

.adminbutton{
    background-color: #353535 ;
    color: white
}
#editmapbutton{
    width: 30%;
    display: none;
}
input[type="checkbox"] {
    display: none;
}
#bottombar {
    position: fixed;
    width: 100%;
    bottom: 0;
    background-color: black;
    padding-top: 5px;
    padding-bottom: 5px;
    color: darkgrey;
    text-align: center;
}
input[type="checkbox"]+label::before {
    width: 15px;
    height: 15px;
    border-radius: 5px;
    border: 2px solid #ffc800;
    background-color: #fff;
    display: inline-block;
    content: "";
    margin-right: 5px;
  }

input[type="checkbox"]:checked+label::before {
    box-shadow: inset 0px 0px 0px 3px #fff;
    background-color: #ffc800;
}
#bookings {
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
  }
  
  #bookings td, #bookings th {
    border: 1px solid #ddd;
    padding: 8px;
  }
  
  #bookings tr:nth-child(even){background-color: #f2f2f2;}
  
  #bookings tr:hover {background-color: #ddd;}
  
  #bookings th {
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #ffc800;
    color: black;
  }

@media screen and (max-width:650px) {
    .element {
        width: 350px;
    }
    #centered, #centerwrap, #headercontent{
        min-width:350px;
        width:100%;
    }
    #canvasbg, #canvas{
        width: 100%;
        min-width:350px
    }

    .preview {
        max-width: 300px;
    }

}