@media (max-width:1350px) {
   /* @media (max-width: 1200px){ */

    table{
        border:none;
        max-width:95vw;
        box-shadow:none;
    }	
    table, tbody, td, tbody, tr {
        display:block;
        table-layout:fixed;
        word-wrap:break-word;
        
    }

    
    .locationLinks{
        text-align:left;
    }
    table thead {
        display:table-row;
        background-color:transparent;
        width:100%;
        padding: 0px 0px 10px 0px;
        margin: 0px 0px 5px 0px;
    }
    thead th {display:none;}
    
    thead th.mobileSort {
        display:inline-block;
        border:1px solid black;
        border-radius: 4px;
        margin: 0px 7vw;
        padding:2px 20px;
        background-color:var(--buttonColor);
    }
    
    thead:first-child::before{
        color:var(--dark);
        content:"Sort: ";
        display:table-cell;
        text-align:right;
        font-weight:bold;
        padding: 0px 0px 14px 0px;
    }
    tbody tr {
        margin-bottom:8px;
        border-radius:10px;
        box-shadow:0px 0px 10px black;
		padding:0px;
    }
    thead th, thead tr{
        background-color: transparent;
        color:var(--dark);
        box-shadow:none;
    }
	/*table tr {padding:0px;}*/
    td{ 
        word-wrap:break-word;
        overflow:none;
        position:relative;
        padding:2%;
        top:0px;
		box-shadow:inset 0px 0px 50px var(--bright);
        
    }
    /*td:before{
        display:inline-block;
        vertical-align: middle;
        position:absolute;
        white-space:nowrap;
        padding-right:4px;
        width:70px;
        left:0px;
        color:var(--bright);
        background-color:var(--mediumDark);
        height:100%;
        font-weight:bold;
        top:0px;	
        font-size:0.875em;
        text-align:right;
        
    }
   */
    td:nth-of-type(1) {
    /* content:" Location";*/
    border-top-left-radius:10px;
		border-top-right-radius:10px;
    }
   /* td:nth-of-type(2):before {content:" Info";}
    td:nth-of-type(3):before {content:" Notes: ";}*/
    table.cardtable td:nth-of-type(4):before {
    content:" Distance from search location: ";
    }
    td:last-of-type{
        border-bottom-right-radius: 10px;
        border-bottom-left-radius: 10px;
    }

	td:nth-of-type(odd){
		background-color:white;
	}
	
    td p{
        margin-block-start:0;
    }
    td > img {
        max-width:98%;
        max-height:75vw;
    }
    
    ul{
        margin:0;
    }
    
        .menu{
            display:block;
            position:fixed;
            bottom:0;
            z-index:999;
            width:100%;
            box-shadow:0px 0px 6px black;
            
        }
    
        .menu-item{
            font-size:1em;
            width:100vw;
            margin:0px;
            display:table-cell;
            padding:7px 2px;
            border-radius:0;
            text-align:center;            
	vertical-align: middle;
        }
        
        .maincontent{
            margin-top:9vw; 
/*           margin-bottom:50px;*/
            
        }
        .banner-container{
            position:absolute;
            top:0;
            z-index:999;
        }

   
.footer{
    background-color:var(--mediumDark);
    padding-bottom:100px;
}
form.table{
    display:block;
    max-width:90vw;
}
form.table .tr, form.table .tr .td{
    display:block;
    width:100%;
    text-align:left;
    padding:10px 0px;
    }

.td input{
max-width:100%;

}

.userLinks{
    text-align:center;
    margin-right:auto;
}
form.table .tr .td:first-of-type{
    padding-bottom:2px;
}
form.table .tr .td:last-of-type{
        padding-top:2px;
    } 
        
 
    
.cardsContainer{
	height: 70vw;
	
}
.card img{
	height:50vw;
}
.cardLabel{
	font-size:4vw;
	font-weight:bolder;
	color: var(--bright);
	padding:5px;
}

form.table{
	padding-right:10px;
	padding-left:10px;
}
form.table .td:not(.map){
	padding-right:10px;
	padding-left:10px;
}

form.table .td.input{
		padding-right:0px;
		padding-left:0px;
	}

   /* }  end of tiny screen, moving on to moderate screens: */

    .columncontainer{
        display:block;
    }
    .columncontainer >div{
        display:block;
        padding:0px;
    }
    .columncontainer .dbTableNav {
        display:none;
    }

    .mobilemenubtn{
        display:table-cell;
        cursor:pointer;
        background-color:var(--mediumDark);
        vertical-align:middle;

    }
    .menubar1, .menubar2, .menubar3 {
        width: 30px;
        height: 4px;
        background-color: var(--bright);
        margin:6px;
        transition: 0.4s;
      }
      .change .menubar1 {
        transform: translate(0, 11px) rotate(-45deg);
      }
      
      /* Fade out the second bar */
      .change .menubar2 {opacity: 0;}
      
      /* Rotate last bar */
      .change .menubar3 {
        transform: translate(0, -11px) rotate(45deg);
      }
      .tablecontainer{
        max-width:100vw;
      }
      
      table.compact tr{
        border:2px solid var(--mediumDark);
          }
        table.compact thead tr {
            border:none;
        }
        .compact thead th {display:none;}
        
        .compact thead th:nth-of-type(1),.compact thead th:nth-of-type(2),.compact thead th:nth-of-type(3) {
            display:inline-block;
            border:1px solid black;
            border-radius: 4px;
            margin: 0px 7vw;
            padding:2px 20px;
            background-color:var(--buttonColor);
        }
        
       .compact thead:first-child::before{
            color:var(--dark);
            content:"Sort By: ";
            display:table-cell;
            text-align:right;
            font-weight:bold;
            padding: 0px 0px 14px 0px;
        }
      
}  