html{
	/*font-family: arial;*/
    font-family: "Noto Sans";
	font-size: 11pt;
    background: #efefef;
}
html, body{
    border-radius: 5px;
}
body{
    margin: 10px;
    padding: 10px;
    background: rgba(255,255,255,0.9);
    border: solid 1px lightgray;
}
h1 {
    clear: both;
    padding: 3px;
    font-size: 24pt;
}
#container{
    border: solid 1px lightgray;
    padding: 10px;
}
#menu, #footer{
	width: calc(80% + 20px);
	margin: auto;
	text-align: center;
}
fieldset{ 
	margin-top: 10px;
	margin-bottom: 10px;
}
textarea{
	min-width: 400px;
	height: 50px;
}
div.category_container{
	max-height: 200px;
	overflow: auto;
	scroll: auto;
	border: solid 1px black;
	background: white;
}
.formError{
	border: dotted 2px red;
	background: MistyRose;
}
.error{
    margin-top: 10px;
    border: dotted 2px red;
    background: MistyRose;
    padding: 20px;
    border-radius: 5px;
}
.success{
    margin-top: 10px;
    border: dotted 2px green;
    background: #D3FCDD;
    padding: 20px;
    border-radius: 5px;
}
.notice{
    margin-top: 10px;
    border: dotted 2px gray;
    background: #efefef;
    padding: 20px;
    border-radius: 5px;
}
span.errorMessage{
	margin: 10px;
	color: darkred;
}
.addedScheduleDateTime, .addedScheduleRainDateTime{
	margin-top: 5px;
	border-top: solid 1px black;
	padding-top: 5px;
}

.menu{
    width: 50%;
    float: left;
}
.menu ul li{
    background: white;
}
.menu ul a{
    color: black;
}
.menu ul#left li{ 
    float: left; 
    list-style-type: none;
    margin: 0;
    margin-right: 5px;
    padding: 0;
    overflow: hidden;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    border: solid 1px lightgray;
    border-bottom: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.menu ul#left li#selected{
    border-bottom: none;
    font-weight: bold;
    background: #007aff;
    color: white;
    text-shadow: 1px 1px black;
}
.menu ul#left li:hover{
    background: #ffffef;
    text-decoration: underline;
    /*color: */
}
.menu ul#left li#selected:hover{
}
.menu ul#left{
    float: none;
    margin: 0;
    padding: 0;
    padding-bottom: 20px;
}
.menu#user ul li{
    float: right;
}
#footer{
    padding: 5px;
}
hr.singlePixelLine{
    color: #333;
    border: none; 
    background-color: lightgray; 
    margin-bottom: 10px;  
    margin-top: 10px; 
    height: 1px;
}
fieldset{    
    float: left;
    overflow: hidden;
    padding: 20px;
    margin: 20px;
    margin-bottom: 5px;
    border-radius: 5px;
    border: solid 1px gray;
    background: white;
    filter: drop-shadow(3px 3px 2px #cccccc);
    display: flow-root;
}
fieldset legend{
    background: #007aff;
    color: white;
    text-shadow: 1px 1px black;
    border-radius: 5px;
    padding: 10px;
    padding-top: 0px;
    padding-bottom: 0px;
    font-weight: bold;
    line-height: 30px;
}
fieldset h4{
    padding: 0;
    margin: 0;
}
input[type='submit'], button{
    margin-left: 20px; 
    margin-top: 20px; 
    font-size: 15pt; 
    padding: 10px; 
    border-radius: 5px;
    text-shadow: 1px 1px black;
    background: #007aff;
    color: white;
    cursor: pointer;
}
 .homepage select, .homepage input, .homepage input[type='submit']{
     font-size: 11pt;
     padding: 5px;
     margin: 5px;
 }
.marker {
    width:0; 
    height:0;
}

.marker  span {
  display:flex;
  justify-content:center;
  align-items:center;
  box-sizing:border-box;
  width: 25px;
  height: 25px;
  color:#fff;
  background: #693;
  border:solid 2px;
  border-radius: 0 70% 70%;
  box-shadow:0 0 2px #000;
  cursor: pointer;
  transform-origin:0 0;
  transform: rotateZ(-135deg);
  font-size: 0.75vw;
}

.marker b {
    transform: rotateZ(135deg)
}

.mapboxgl-popup {
  max-width: 200px;  
}

.mapboxgl-popup-content {
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  border: solid 1px black;
}

.mapboxgl-popup-close-button{
    display: none;
}

.mapboxgl-ctrl-attrib-button{
    margin: 0;
}

#listingPhotos{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: left;
}
#listingPhotos .img-single{
  width: 300px;
  height: 260px;
  overflow: hidden;
  padding: 6px; 
}
#listingPhotos .img-single img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid lightgray;
}

#container > fieldset > div.aboveDateBlock{
    float: left; 
    color: gray;
    text-align: center;
}
#container > fieldset > div.aboveDateBlock > div.dateBlock{
    width: 150px; 
    height: 120px; 
    background: #fefefe; 
    margin-right: 5px; 
    border-radius: 5px;
    color: black;
    border: solid 1px gray;    
}
#container > fieldset > div.aboveDateBlock > div.dateBlock > div.dayOfWeek{
    text-align: center;
    background: #007aff;
    color: white;
    font-weight: bold;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    padding: 6px;
    text-shadow: 1px 1px black;
}
#container > fieldset > div.aboveDateBlock > div.dateBlock > div.dayOfMonth{
    font-size: 14pt;
    text-align: center;
    margin-top: 12px; 
    margin-bottom: 10px;
}

input[name='zipcode']{
    width: 70px;
}

.addresses{
    column-count: 2; 
    column-gap: 50px;
}

.fullViewOnly{
    display: initial;
}

.mobileViewOnly{
    display: none;
}

/*@media (pointer:none), (pointer:coarse) {*/
@media only screen and (max-device-width: 500px) {
    html, body{
        width: 100vw;
    }
    
    select, input, input[type='submit']{
        font-size: 5vw !important;
        padding: 5px;
        margin: 5px;
    }
    
    input[name='zipcode']{
        width: 150px;
    }
    
    *, td, input, select, ol, li{
        font-size: 5vw;
        line-height: 6vw;
    }
    
    .marker span {
      display:flex;
      justify-content:center;
      align-items:center;
      box-sizing:border-box;
      width: 75px;
      height: 75px;
      color:#fff;
      background: #693;
      border:solid 2px;
      border-radius: 0 70% 70%;
      box-shadow:0 0 2px #000;
      cursor: pointer;
      transform-origin:0 0;
      transform: rotateZ(-135deg);
    }
    
    input{
        border: solid 1px lightgray;
        margin: 20px;
    }
    input[type="submit"]{
        width: 80vw;        
        margin: 20px;
        padding: 50px;
        font-size: 6vw;
    }
    input[type="checkbox"]{
        transform: scale(2);
        margin-right: 25px;
    }
    select{
        padding: 20px;
    }
    /*div {
      font-size: 10vw;
      padding: 20px;
      margin: 20px;
      margin-bottom: 7vw;
      text-align: center;
      text-decoration: underline;
    }

    div:after {
      content: "";
      display: inline-block;
      width: 100%;
    }*/
    fieldset{
        width: 93vw;        
        margin: auto;
        margin-bottom: 30px;
    }
    
    fieldset legend{
        width: 70vw;
        font-size: 5vw;
        padding: 25px;
        text-align: center;
    }
    
    label{
        font-weight: bold;
    }
    
    #container > fieldset > div.aboveDateBlock{
        padding: 8px;
    }
    #container > fieldset > div.aboveDateBlock > div.dateBlock{
        width: initial; 
        height: initial; 
        background: #fefefe; 
        margin-right: 5px; 
        border-radius: 5px;
        color: black;
        border: solid 1px gray;
        padding: 10px;    
    }
    
    #container > fieldset > div.aboveDateBlock > div.dateBlock > div.dayOfWeek{
        text-align: center;
        background: #007aff;
        color: white;
        font-weight: bold;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        padding: 6px;
        text-shadow: 1px 1px black;
    }
    #container > fieldset > div.aboveDateBlock > div.dateBlock > div.dayOfMonth{
        font-size: 6vw; 
        text-align: center;
        margin-top: 12px; 
        margin-bottom: 10px;
    }
    
    .addresses{
        column-count: initial; 
        column-gap: initial;
    }
    
    .fullViewOnly{
        display: none;
    }
    
    .mobileViewOnly{
        display: initial;
    }
    
    .notice, .error, .success, .login, .register{
        padding: 40px;
    }    
    
    .menu{
        width: 100%;
        float: none;
        text-align: center;
    }
    
    .menu ul#left li{
        float: initial;   
        padding: 20px;
        font-size: 5vw;
        line-height: 6vw;
    }
    
}